mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-01 10:03:25 +08:00
fix(cli): fix codex review command argument handling
- Fix prompt incorrectly passed to codex review with target flags (--uncommitted/--base/--commit) - Remove unsupported --skip-git-repo-check flag from codex review command - Fix TypeScript type error in codex-lens.ts (missing 'installed' property) Codex CLI constraint: --uncommitted/--base/--commit and [PROMPT] are mutually exclusive.
This commit is contained in:
@@ -702,7 +702,9 @@ async function execAction(positionalPrompt: string | undefined, options: CliExec
|
||||
|
||||
// Handle cache option: pack @patterns and/or content
|
||||
let cacheSessionId: string | undefined;
|
||||
let actualPrompt = prompt_to_use;
|
||||
// When skipTemplates is true (review mode with target flags), don't pass prompt to codex CLI
|
||||
// because --uncommitted/--base/--commit and [PROMPT] are mutually exclusive
|
||||
let actualPrompt = skipTemplates ? '' : prompt_to_use;
|
||||
|
||||
if (cache) {
|
||||
const { handler: contextCacheHandler } = await import('../tools/context-cache.js');
|
||||
|
||||
Reference in New Issue
Block a user