feat(vscode): codex 命令统一组装,模型/思考级别可在设置面板配置

新增 cc/codexCommand.ts 作为 codex 调用的唯一出口(buildCodexArgs /
buildCodexCommandString),把 exec-review / resume / interactive 三种形态
的 flag 拼装收敛到一处;模型与思考级别作为自由文本项写入全局设置并贯穿
webview 消息通道,空值则不传 -c,沿用 codex config.toml 默认。
This commit is contained in:
2026-07-13 06:43:58 +08:00
parent aff99c57f3
commit 5188c23765
11 changed files with 225 additions and 12 deletions
+4
View File
@@ -67,6 +67,8 @@ export type ExtensionToWebview
implTabPreCreateScript: string
implTabPostCloseScript: string
conflictResolutionProfilePath: string
codexModel: string
codexReasoningEffort: string
youtrackBaseUrl?: string
youtrackProjectShortName?: string
youtrackCloseCommand?: string
@@ -129,6 +131,8 @@ export type WebviewToExtension
implTabPreCreateScript: string
implTabPostCloseScript: string
conflictResolutionProfilePath: string
codexModel: string
codexReasoningEffort: string
youtrackBaseUrl: string
youtrackProjectShortName: string
youtrackCloseCommand: string