(path: string)
| 274 | * for the span attribute so it's always populated without a catalog read. |
| 275 | */ |
| 276 | const extractNamespace = (path: string): string => { |
| 277 | const normalized = addressToPath(path); |
| 278 | const idx = normalized.indexOf("."); |
| 279 | return idx === -1 ? normalized : normalized.slice(0, idx); |
| 280 | }; |
| 281 | |
| 282 | /** |
| 283 | * Bridges QuickJS `tools.<integration>.<owner>.<connection>.<tool>(args)` calls |
no test coverage detected