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

Function consume

packages/core/sdk/src/migration-spec.ts:1361–1363  ·  view source on GitHub ↗
(scopeId: string, secretId: string)

Source from the content-addressed store, hash-verified

1359 // the orphans (migrate-all). Keyed `${scopeId} ${secretId}`.
1360 const consumed = new Set<string>();
1361 const consume = (scopeId: string, secretId: string): void => {
1362 consumed.add(`${scopeId} ${secretId}`);
1363 };
1364 // Connection rows actually bound to a source (and thus migrated). v1 leaves
1365 // stale, unbound connection rows behind (disconnect/re-auth residue); they have
1366 // no source to attach to in v2, so they're not migrated — their tokens fall to

Callers 1

planMigrationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected