(path: string)
| 293 | * for the span attribute so it's always populated without a catalog read. |
| 294 | */ |
| 295 | const extractNamespace = (path: string): string => { |
| 296 | const normalized = addressToPath(path); |
| 297 | const idx = normalized.indexOf("."); |
| 298 | return idx === -1 ? normalized : normalized.slice(0, idx); |
| 299 | }; |
| 300 | |
| 301 | /** |
| 302 | * Bridges QuickJS `tools.<integration>.<owner>.<connection>.<tool>(args)` calls |
no test coverage detected