MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / createHandoffCode

Function createHandoffCode

e2e/scenarios/connect-handoff.test.ts:54–61  ·  view source on GitHub ↗
(slug: string)

Source from the content-addressed store, hash-verified

52`;
53
54const createHandoffCode = (slug: string) => `
55const handoff = await tools.executor.coreTools.connections.createHandoff({
56 integration: ${JSON.stringify(slug)},
57 owner: "org",
58 label: "Resend (emulated)",
59});
60return handoff.ok ? { ok: true, url: handoff.data.url } : { ok: false, error: handoff.error };
61`;
62
63// Selfhost scenarios share one workspace identity — leaked connections fail
64// other scenarios' zero-state assertions, so remove everything this one made.

Callers 1

runScenarioFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected