/** * agenthood goal * * Goals persist across CLI invocations via GoalChain over a JSON-file * LongTermMemory adapter (`.agenthood/goals.json`). Subcommands map 1:1 * onto GoalChain methods; goal-level completion is derived (all sub-goals * completed) rather than set directly. */ import type { CommandDescriptor } from './types.ts'; import type { LongTermMemory } from '../core/types.ts'; import { GoalChain } from '../workflows/GoalChain.ts'; /** File-backed LongTermMemory: one JSON object mapping keys to values. */ export declare class FileGoalMemory implements LongTermMemory { private readonly filePath; constructor(filePath: string); private readAll; store(key: string, value: unknown): Promise; retrieve(key: string): Promise; } export declare function goalChain(cwd?: string): GoalChain; export declare function goal(args: string[], cwd?: string): Promise; export declare const command: CommandDescriptor; //# sourceMappingURL=goal.d.ts.map