(a: z.infer<typeof RecallArgs>, ctx: ToolContext)
| 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 | } |
nothing calls this directly
no test coverage detected