Download packages/agent-core-v2/src/features/plan/plan.ts from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 592 Bytes
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/features/plan/plan.ts
- Command line
-
hf download hf://SaylorTwift/kimi-code/packages/agent-core-v2/src/features/plan/plan.ts
-
curl -L -o plan.ts https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/features/plan/plan.ts
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'); | |