(slug: string)
| 31 | const EMULATOR_SPEC_URL = `${EMULATOR_BASE}/openapi.json`; |
| 32 | |
| 33 | const addSpecCode = (slug: string) => ` |
| 34 | const added = await tools.executor.openapi.addSpec({ |
| 35 | spec: { kind: "url", url: ${JSON.stringify(EMULATOR_SPEC_URL)} }, |
| 36 | slug: ${JSON.stringify(slug)}, |
| 37 | }); |
| 38 | return added.ok ? { ok: true, slug: added.data.slug, toolCount: added.data.toolCount } : { ok: false, error: added.error }; |
| 39 | `; |
| 40 | |
| 41 | const createHandoffCode = (slug: string) => ` |
| 42 | const handoff = await tools.executor.coreTools.connections.createHandoff({ |
no outgoing calls
no test coverage detected