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

Method constructor

src/app/repo/agent_task.ts:6–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5export class AgentTaskRepo extends Repo<AgentTask> {
6 constructor() {
7 super("agent_task:");
8 this.enableCache();
9 }
10
11 async listTasks(): Promise<AgentTask[]> {
12 return this.find();

Callers

nothing calls this directly

Calls 1

enableCacheMethod · 0.80

Tested by

no test coverage detected