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; cancel(id?: string): void; clear(): Promise; exit(id?: string): void; recordRevision(): Promise; status(): Promise; } export const IAgentPlanService = createDecorator('agentPlanService');