feat(claude): add effort setting parity with model across stack (#353)

Co-authored-by: Xiaoyi <xiaoyizhang@microsoft.com>
This commit is contained in:
xyzhang626
2026-03-24 21:15:48 +08:00
committed by GitHub
co-authored by Xiaoyi
parent 30265fdc25
commit a200fe9628
50 changed files with 715 additions and 52 deletions
+7
View File
@@ -49,6 +49,13 @@ export const claudeCommand: CommandDefinition = {
}
options.model = model
unknownArgs.push('--model', model)
} else if (arg === '--effort') {
const effort = args[++i]
if (!effort) {
throw new Error('Missing --effort value')
}
options.effort = effort
unknownArgs.push('--effort', effort)
} else if (arg === '--started-by') {
options.startedBy = args[++i] as 'runner' | 'terminal'
} else {