Skip to content

Add daemon plan mode support#125

Merged
0xAWM merged 2 commits into
masterfrom
feat/managed-agent-plan-mode
May 21, 2026
Merged

Add daemon plan mode support#125
0xAWM merged 2 commits into
masterfrom
feat/managed-agent-plan-mode

Conversation

@0xAWM
Copy link
Copy Markdown
Collaborator

@0xAWM 0xAWM commented May 21, 2026

Summary

  • Add mode: "plan" support to daemon run_agent_turn
  • Enter and persist plan mode state before the turn starts
  • Emit plan-updated and plan-completed stream events from core when the active plan file changes or ExitPlanMode completes
  • Wire plan events through daemon, Tauri bridge, desktop session event types, and UI status handling
  • Keep TUI exhaustive over the new stream event variants

Testing

  • cargo test -p puffer-core plan_events
  • cargo check -p puffer-cli
  • cargo check -p puffer-tui
  • apps/puffer-desktop/node_modules/.bin/svelte-check --tsconfig apps/puffer-desktop/tsconfig.json

@0xAWM 0xAWM requested a review from n-WN May 21, 2026 05:41
# Conflicts:
#	crates/puffer-cli/src/daemon.rs
#	crates/puffer-core/lib.rs
@0xAWM 0xAWM merged commit 22c41e1 into master May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants