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

Function joinKeyAttributes

packages/hosts/mcp/src/tool-server.ts:857–860  ·  view source on GitHub ↗
(joinKeys: McpRequestJoinKeys)

Source from the content-addressed store, hash-verified

855// producer: JSON-RPC ids are small per-session integers, so a row without the
856// session key would make `mcp.rpc.id` globally ambiguous.
857const joinKeyAttributes = (joinKeys: McpRequestJoinKeys): Record<string, unknown> => ({
858 "mcp.rpc.id": String(joinKeys.requestId),
859 "mcp.request.session_id": joinKeys.sessionId ?? "",
860});
861
862const startMarker = (name: string, attributes: Record<string, unknown>): Effect.Effect<void> =>
863 Effect.void.pipe(Effect.withSpan(name, { attributes }));

Callers 3

executeCodeFunction · 0.85
resumeExecutionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected