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

Function entryFor

e2e/selfhost/mcp-enterprise-managed-auth.test.ts:149–150  ·  view source on GitHub ↗
(entries: readonly LedgerEntry[], operationId: string)

Source from the content-addressed store, hash-verified

147const ledger = (instance: Emulator) => Effect.promise(() => instance.ledger.list());
148
149const entryFor = (entries: readonly LedgerEntry[], operationId: string): LedgerEntry | undefined =>
150 entries.find((entry) => entry.operationId === operationId);
151
152// Sandbox code for the agent path: one addressed MCP tool call, with the
153// ToolResult envelope returned as a value (tool failures are values here).

Calls

no outgoing calls

Tested by

no test coverage detected