SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
68d7816 verified
Raw History Blame Contribute Delete
592 Bytes
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');