Download packages/agent-core-v2/src/features/plan/configSection.ts from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 402 Bytes
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/features/plan/configSection.ts
- Command line
-
hf download hf://SaylorTwift/kimi-code/packages/agent-core-v2/src/features/plan/configSection.ts
-
curl -L -o configSection.ts https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/features/plan/configSection.ts
402 Bytes
| import { z } from 'zod'; | |
| import { registerConfigSection } from '#/app/config/configSectionContributions'; | |
| export const DEFAULT_PLAN_MODE_SECTION = 'defaultPlanMode'; | |
| export const DefaultPlanModeSchema = z.boolean().optional(); | |
| export type DefaultPlanMode = z.infer<typeof DefaultPlanModeSchema>; | |
| registerConfigSection(DEFAULT_PLAN_MODE_SECTION, DefaultPlanModeSchema, { | |
| defaultValue: false, | |
| }); | |