Skip to content

Commit 4d084eb

Browse files
committed
fix(node): add missing EventType variants to ahp_types.rs
- Add ContextPerception, Success, MemoryRecall, Planning, Reasoning, RateLimit, Confirmation, IntentDetection to the match statement
1 parent 58deeb6 commit 4d084eb

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

sdk/node/src/ahp_types.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ impl From<RustEventType> for AhpEventType {
3636
RustEventType::Query => "query".to_string(),
3737
RustEventType::Heartbeat => "heartbeat".to_string(),
3838
RustEventType::Idle => "idle".to_string(),
39+
RustEventType::ContextPerception => "context_perception".to_string(),
40+
RustEventType::Success => "success".to_string(),
41+
RustEventType::MemoryRecall => "memory_recall".to_string(),
42+
RustEventType::Planning => "planning".to_string(),
43+
RustEventType::Reasoning => "reasoning".to_string(),
44+
RustEventType::RateLimit => "rate_limit".to_string(),
45+
RustEventType::Confirmation => "confirmation".to_string(),
46+
RustEventType::IntentDetection => "intent_detection".to_string(),
3947
},
4048
}
4149
}

0 commit comments

Comments
 (0)