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

Function migratedItemId

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

Source from the content-addressed store, hash-verified

936};
937
938export const migratedItemId = (scopeId: string, secretId: string): string =>
939 `secret_${stableMigrationHash(scopeId, secretId)}`;
940
941const fallbackPolicyId = (scopeId: string, pattern: string, action: string): string =>
942 `policy_${stableMigrationHash(scopeId, pattern, action)}`;

Callers 4

planMigrationFunction · 0.85

Calls 1

stableMigrationHashFunction · 0.85

Tested by 1