diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-22 20:00:54 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-22 20:00:54 +0300 |
| commit | 08ca79851809bc31dc699ecb159526fd280cb1b5 (patch) | |
| tree | a45a7e39551399cf400d6e34db950ffa3ef9e765 /src/integration/tests.rs | |
| parent | d3b4d5b0e1a0859969e709b9d47fb2d1d4a1524c (diff) | |
refactor: simplify kimi lifecycle reporting
replaces contributions from wbxl2000
Diffstat (limited to 'src/integration/tests.rs')
| -rw-r--r-- | src/integration/tests.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/integration/tests.rs b/src/integration/tests.rs index d3e8d6c2..fc332a84 100644 --- a/src/integration/tests.rs +++ b/src/integration/tests.rs @@ -2689,10 +2689,11 @@ fn bundled_integration_assets_report_session_refs() { ); assert!(!CODEX_HOOK_ASSET.contains("\"state\": action")); assert!(!CODEX_HOOK_ASSET.contains("pane.release_agent")); - assert!(KIMI_HOOK_ASSET.contains("source = \"herdr:kimi\"")); + assert!(KIMI_HOOK_ASSET.contains("source\": \"herdr:kimi")); assert!(KIMI_HOOK_ASSET.contains("agent_session_id")); - assert!(KIMI_HOOK_ASSET.contains("pane.report_agent_session")); - assert!(KIMI_HOOK_ASSET.contains("\"state\": action")); + assert!(KIMI_HOOK_ASSET.contains("method = \"pane.report_agent_session\"")); + assert!(KIMI_HOOK_ASSET.contains("method = \"pane.report_agent\"")); + assert!(KIMI_HOOK_ASSET.contains("params[\"state\"] = action")); assert!(!KIMI_HOOK_ASSET.contains("pane.release_agent")); assert!(COPILOT_HOOK_ASSET.contains("agent_session_id")); assert!(COPILOT_HOOK_ASSET.contains("pane.report_agent_session")); |
