Daemon heartbeat and cron tasks called agent::run() which hardcoded channel_name as "cli" and always created an ApprovalManager, causing [Y]es / [N]o / [A]lways stdin prompts on the unattended daemon terminal. Add interactive parameter to agent::run(): CLI passes true (preserving approval flow), daemon/cron pass false (no ApprovalManager, channel marked as "daemon"). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| mod.rs | ||
| schedule.rs | ||
| scheduler.rs | ||
| store.rs | ||
| types.rs | ||