(path: string)
| 236 | * for the span attribute so it's always populated without a catalog read. |
| 237 | */ |
| 238 | const extractNamespace = (path: string): string => { |
| 239 | const normalized = addressToPath(path); |
| 240 | const idx = normalized.indexOf("."); |
| 241 | return idx === -1 ? normalized : normalized.slice(0, idx); |
| 242 | }; |
| 243 | |
| 244 | /** |
| 245 | * Bridges QuickJS `tools.<integration>.<owner>.<connection>.<tool>(args)` calls |
no test coverage detected