Commit Graph

9 Commits (4329d94de3a71803db177ee50af68eb75d7ea06b)

Author SHA1 Message Date
Peter Steinberger ef923805f5
Revert "refactor(cli): remove custom cli backends"
This reverts commit 6243806f7b.
8 months ago
Peter Steinberger 2d7157b424
refactor(cli): delete removed backend files 8 months ago
Vincent Koc 7b05253bed fix(anthropic): strip host otel env from claude cli 8 months ago
Vincent Koc 9efc033434 fix(anthropic): seed claude-cli model switches 8 months ago
Vincent Koc 3b84884793
fix(agents): harden host-managed claude-cli auth path (#61276) 8 months ago
Peter Steinberger 1fb0b4f557 fix: avoid stale claude-cli auth fallback (#61234) (thanks @darkamenosa) 8 months ago
Tuyen 7e724c6140 Anthropic: seed claude-cli runtime auth on setup 8 months ago
Cathryn Lavery 7587e4cac3
fix: ensure bypassPermissions when custom CLI backend args override defaults (#61114)
* fix: ensure bypassPermissions on custom CLI backend args

When users override cliBackends.claude-cli.args (e.g. to add --verbose
or change --output-format), the override array replaces the default
entirely. The normalization step only re-added --permission-mode
bypassPermissions when the legacy --dangerously-skip-permissions flag
was present — if neither flag existed, it did nothing.

This causes cron and heartbeat runs to silently fail with "exec denied:
Cron runs cannot wait for interactive exec approval" because the CLI
subprocess launches in interactive permission mode.

Fix: always inject --permission-mode bypassPermissions when no explicit
permission-mode flag is found in the resolved args, regardless of
whether the legacy flag was present.

* test(anthropic): add claude-cli permission normalization coverage

* fix(test-utils): include video generation providers

* fix: preserve claude-cli bypassPermissions on custom args (#61114) (thanks @cathrynlavery)

---------

Co-authored-by: Shadow <hi@shadowing.dev>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
8 months ago
Peter Steinberger 48ae976333
refactor: split cli runner pipeline 8 months ago