MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / opts

Function opts

apps/kimi-code/test/cli/goal-prompt.test.ts:139–152  ·  view source on GitHub ↗
(overrides: Partial<Parameters<typeof runPrompt>[0]> = {})

Source from the content-addressed store, hash-verified

137}));
138
139function opts(overrides: Partial<Parameters<typeof runPrompt>[0]> = {}) {
140 return {
141 session: undefined,
142 continue: false,
143 yolo: false,
144 auto: false,
145 plan: false,
146 model: undefined,
147 outputFormat: undefined,
148 prompt: '/goal Ship feature X',
149 skillsDirs: [],
150 ...overrides,
151 } as Parameters<typeof runPrompt>[0];
152}
153
154function writer() {
155 let text = '';

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected