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

Function opts

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

Source from the content-addressed store, hash-verified

127}));
128
129function opts(overrides: Partial<Parameters<typeof runPrompt>[0]> = {}) {
130 return {
131 session: undefined,
132 continue: false,
133 yolo: false,
134 auto: false,
135 plan: false,
136 model: undefined,
137 outputFormat: undefined,
138 prompt: 'say hello',
139 skillsDirs: [],
140 addDirs: [],
141 ...overrides,
142 };
143}
144
145function writer(columns?: number) {
146 let text = '';

Callers 1

run-prompt.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected