diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-19 00:23:20 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-19 00:26:05 +0300 |
| commit | e7f94a3f359fe1be94a0863b731d94d245093848 (patch) | |
| tree | f89459235e9a163bbafc68fb485d9355b6fd1e3f /src/terminal | |
| parent | 19295b85e5d6c2c7a9bce5d52343d89749d9f628 (diff) | |
feat: support hermes agent integration
refs #144
Diffstat (limited to 'src/terminal')
| -rw-r--r-- | src/terminal/state.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/terminal/state.rs b/src/terminal/state.rs index 8c27f1a5..5b2d956d 100644 --- a/src/terminal/state.rs +++ b/src/terminal/state.rs @@ -428,14 +428,14 @@ mod tests { terminal.set_detected_state(Some(Agent::Pi), AgentState::Idle); terminal.set_hook_authority( "herdr:custom".into(), - "hermes".into(), + "custom-agent".into(), AgentState::Working, None, None, ); assert_eq!(terminal.detected_agent, Some(Agent::Pi)); - assert_eq!(terminal.effective_agent_label(), Some("hermes")); + assert_eq!(terminal.effective_agent_label(), Some("custom-agent")); assert_eq!(terminal.effective_known_agent(), None); assert_eq!(terminal.state, AgentState::Working); } @@ -504,7 +504,7 @@ mod tests { terminal.set_detected_state(Some(Agent::Pi), AgentState::Idle); terminal.set_hook_authority( "herdr:custom".into(), - "hermes".into(), + "custom-agent".into(), AgentState::Working, None, None, @@ -514,7 +514,7 @@ mod tests { assert!(terminal.hook_authority.is_some()); assert_eq!(terminal.detected_agent, None); - assert_eq!(terminal.effective_agent_label(), Some("hermes")); + assert_eq!(terminal.effective_agent_label(), Some("custom-agent")); assert_eq!(terminal.state, AgentState::Working); } |
