feat: Add command field to terminal agent templates#88
Conversation
Add a `command` field across agent defs, templates, protocol, engine, CLI, and macOS app so terminal-type agents can specify a shell command to run. Includes code review fixes: whitespace trimming on command input, extracted shared variable substitution helper in Rust, and deduplicated agent type lists into AgentTypes enum in Swift. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (21)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Add #[allow] attributes to resolve_prompt (complex return type) and handle_save_template (8 params) to pass CI clippy with -D warnings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
DaemonClientParseTests was pattern-matching templateDetail with 6 fields but the enum now has 7 (command added). Fixes macOS build CI failure. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary
commandfield to agent defs, templates, protocol, engine, CLI, and macOS app so terminal-type agents can specify a shell command to runsubstitute_varshelper in Rust template module to deduplicate render/render_commandAgentTypesenum in SwiftTest plan
cargo test -p pu-core— all 28 template tests pass🤖 Generated with Claude Code