feat: Created a CodeRabbit-style code-reviewer agent

This commit is contained in:
2026-02-18 12:16:59 -07:00
parent 812a8e101c
commit c1902a69d1
5 changed files with 749 additions and 2 deletions
+2 -2
View File
@@ -640,13 +640,13 @@ fn handle_send_message(config: &GlobalConfig, args: &Value) -> Result<Value> {
.or_else(|| cfg.agent.as_ref().map(|a| a.name().to_string()))
.unwrap_or_else(|| "parent".to_string());
// Try local supervisor first (parent child routing)
// Try local supervisor first (parent -> child routing)
let inbox = cfg
.supervisor
.as_ref()
.and_then(|sup| sup.read().inbox(id).cloned());
// Fall back to parent_supervisor (sibling sibling routing)
// Fall back to parent_supervisor (sibling -> sibling routing)
let inbox = inbox.or_else(|| {
cfg.parent_supervisor
.as_ref()