File size: 592 Bytes
68d7816 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | import { createDecorator } from "#/_base/di/instantiation";
export type PlanData = null | {
readonly id: string;
readonly content: string;
readonly path: string;
};
export type PlanFilePath = string | null;
export interface IAgentPlanService {
readonly _serviceBrand: undefined;
enter(id?: string, createFile?: boolean): Promise<void>;
cancel(id?: string): void;
clear(): Promise<void>;
exit(id?: string): void;
recordRevision(): Promise<void>;
status(): Promise<PlanData>;
}
export const IAgentPlanService =
createDecorator<IAgentPlanService>('agentPlanService');
|