Skip to content

feat: fix streaming hang and integrate missing slash commands - #260

Merged
laynepenney merged 1 commit into
mainfrom
fix/streaming-and-commands
Feb 3, 2026
Merged

feat: fix streaming hang and integrate missing slash commands#260
laynepenney merged 1 commit into
mainfrom
fix/streaming-and-commands

Conversation

@laynepenney

Copy link
Copy Markdown
Member

No description provided.

Streaming fix:
- Agent callbacks changed from Box to Arc for clonability
- agent.chat() now uses provider.stream_chat() for incremental text
- Agent spawned on background tokio task so TUI event loop stays responsive
- Added pending_agent oneshot channel to poll for task completion
- Text deltas now stream to the UI as they arrive from the provider

Slash command integration:
- Fixed CommandResult::Prompt being silently ignored (now sends to AI)
- Added /git subcommands: commit, branch, diff, pr, stash, log, merge, rebase
- Added /code subcommands: refactor, fix, test, doc, optimize
- Added prompt commands: /explain, /review, /analyze, /summarize
- Added /memory and /profile command stubs
- All prompt-based commands generate contextual prompts for the AI agent

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@laynepenney
laynepenney merged commit 70fd558 into main Feb 3, 2026
3 checks passed
@laynepenney
laynepenney deleted the fix/streaming-and-commands branch February 3, 2026 05:20
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.

1 participant