MCPcopy Create free account
hub / github.com/scriptscat/scriptcat / filename

Method filename

src/app/repo/agent_task.ts:38–40  ·  view source on GitHub ↗
(taskId: string)

Source from the content-addressed store, hash-verified

36 }
37
38 private filename(taskId: string): string {
39 return `${taskId}.json`;
40 }
41
42 async appendRun(run: AgentTaskRun): Promise<void> {
43 const runs = await this.readJsonFile<AgentTaskRun[]>(this.filename(run.taskId), []);

Callers 4

appendRunMethod · 0.95
updateRunMethod · 0.95
listRunsMethod · 0.95
clearRunsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected