mirror of
https://github.com/obra/superpowers.git
synced 2026-04-23 18:09:05 +08:00
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"
This commit is contained in:
@@ -77,6 +77,7 @@ claude -p "$PROMPT" \
|
|||||||
--plugin-dir "$PLUGIN_DIR" \
|
--plugin-dir "$PLUGIN_DIR" \
|
||||||
--dangerously-skip-permissions \
|
--dangerously-skip-permissions \
|
||||||
--output-format stream-json \
|
--output-format stream-json \
|
||||||
|
--verbose \
|
||||||
> "$LOG_FILE" 2>&1 || true
|
> "$LOG_FILE" 2>&1 || true
|
||||||
|
|
||||||
# Extract final stats
|
# Extract final stats
|
||||||
|
|||||||
Reference in New Issue
Block a user