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