MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / execute

Method execute

src/tools/project/project-tools.ts:49–58  ·  view source on GitHub ↗
(a: z.infer<typeof RecallArgs>, ctx: ToolContext)

Source from the content-addressed store, hash-verified

47 argsSchema = RecallArgs;
48
49 async execute(a: z.infer<typeof RecallArgs>, ctx: ToolContext): Promise<ToolResult> {
50 const brief = getSessionStore().getProjectBriefingFact(ctx.cwd, a.limit ?? 20);
51 if (!brief) {
52 return {
53 content:
54 'No project memory yet for this directory. Define a project with the /project command, and record work with project_log as you go — it will be here next session.',
55 };
56 }
57 return { content: brief };
58 }
59}

Callers

nothing calls this directly

Calls 2

getSessionStoreFunction · 0.85

Tested by

no test coverage detected