diff options
| author | chengfei.jin <chengfei.jin@infaith.com.cn> | 2026-02-11 15:34:35 +0800 |
|---|---|---|
| committer | chengfei.jin <chengfei.jin@infaith.com.cn> | 2026-02-11 15:34:35 +0800 |
| commit | f8cf545bc560b5f0dee535c0e6251e96cf704ba1 (patch) | |
| tree | a294e798ef4b1ca0abae46626758676805dd4a01 /tests/subagent-driven-dev | |
| parent | a98c5dfc9de0df5318f4980d91d24780a566ee60 (diff) | |
Fix stream-json output requiring --verbose flag
Claude CLI now requires --verbose when using --output-format stream-json
with -p (print mode). Without it, the test fails with:
"Error: When using --print, --output-format=stream-json requires --verbose"
Diffstat (limited to 'tests/subagent-driven-dev')
| -rwxr-xr-x | tests/subagent-driven-dev/run-test.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/subagent-driven-dev/run-test.sh b/tests/subagent-driven-dev/run-test.sh index b4fcc93..02f4aca 100755 --- a/tests/subagent-driven-dev/run-test.sh +++ b/tests/subagent-driven-dev/run-test.sh @@ -77,6 +77,7 @@ claude -p "$PROMPT" \ --plugin-dir "$PLUGIN_DIR" \ --dangerously-skip-permissions \ --output-format stream-json \ + --verbose \ > "$LOG_FILE" 2>&1 || true # Extract final stats |
