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

Function call

packages/core/sdk/src/plugin-storage.test.ts:98–114  ·  view source on GitHub ↗
(input: {
  readonly runId: string;
  readonly toolId: string;
  readonly status: ToolCall["status"];
  readonly startedAt: string;
  readonly clientName?: string | null;
  readonly userId?: string | null;
  readonly durationMs?: number;
})

Source from the content-addressed store, hash-verified

96}))();
97
98const call = (input: {
99 readonly runId: string;
100 readonly toolId: string;
101 readonly status: ToolCall["status"];
102 readonly startedAt: string;
103 readonly clientName?: string | null;
104 readonly userId?: string | null;
105 readonly durationMs?: number;
106}): ToolCall => ({
107 runId: input.runId,
108 toolId: input.toolId,
109 userId: input.userId ?? null,
110 clientName: input.clientName ?? null,
111 status: input.status,
112 startedAt: input.startedAt,
113 durationMs: input.durationMs ?? 0,
114});
115
116describe("plugin storage collections", () => {
117 it.effect("queries declared indexes through the executor's SQLite FumaDB target", () =>

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected