Skip to content

[feat] --trace flag and /subagent slash command#216

Merged
brandonkachen merged 18 commits intomainfrom
brandon/agent-traces
Jul 23, 2025
Merged

[feat] --trace flag and /subagent slash command#216
brandonkachen merged 18 commits intomainfrom
brandon/agent-traces

Conversation

@brandonkachen
Copy link
Collaborator

No description provided.

brandonkachen and others added 9 commits July 21, 2025 16:45
Adds /altbuffer (alias /alt) slash command that demonstrates alternate screen buffer functionality:

- Full scrolling support with arrow keys, Page Up/Down, Home/End
- Rich demo content with 50+ lines and status indicators
- Overscroll flash fix that prevents unnecessary re-renders
- Proper cleanup and terminal restoration
- ESC key to exit back to normal CLI mode

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Ensures subagent history is properly cleared when users reset their context,
providing a clean slate along with other reset operations like clearing
checkpoints, messages, and cached file context.
- Truncate subagent prompts to 3 lines with ellipsis in history menu
- Handle markdown code blocks properly to prevent awkward line breaks
- Fix scroll position isolation between list and individual subagent views
- Use pluralize utility for consistent text formatting

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
- Replace 150+ lines of brittle custom line wrapping with wrap-ansi and string-width packages
- Fix scrolling issues where users couldn't reach the beginning of subagent messages
- Add proper ANSI escape code handling and terminal resize support
- Simplify implementation while improving reliability and maintainability

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
brandonkachen and others added 9 commits July 22, 2025 17:46
- Add QuickJS sandbox for executing string-based agent generators
- Implement tool executor for reusable tool call handling
- Add comprehensive test coverage for programmatic step execution
- Create file-explorer agent for parallel codebase exploration
- Refactor agent system to support both native and sandbox generators
- Fix merge conflict in stream-parser.ts imports
- Update dependencies for QuickJS and zod schema validation

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@brandonkachen brandonkachen merged commit 453963c into main Jul 23, 2025
12 checks passed
@brandonkachen brandonkachen deleted the brandon/agent-traces branch July 23, 2025 23:37
jahooma pushed a commit that referenced this pull request Jul 23, 2025
Co-authored-by: Codebuff <noreply@codebuff.com>
Co-authored-by: Charles Lien <charleslien97@gmail.com>
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