diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-22 19:36:40 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-22 19:36:40 +0300 |
| commit | d3b4d5b0e1a0859969e709b9d47fb2d1d4a1524c (patch) | |
| tree | 508e45e11ad2e2a10437bbd02a626381d680db67 /src/integration/tests.rs | |
| parent | 1d238bc9a365d9dd1297b4e11fe775cd656aebd0 (diff) | |
refactor: simplify qoder session reporting
replaces contributions from wayneleelwc
Diffstat (limited to 'src/integration/tests.rs')
| -rw-r--r-- | src/integration/tests.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/integration/tests.rs b/src/integration/tests.rs index e2cde978..d3e8d6c2 100644 --- a/src/integration/tests.rs +++ b/src/integration/tests.rs @@ -2724,12 +2724,12 @@ fn bundled_integration_assets_report_session_refs() { assert!(HERMES_PLUGIN_INIT_ASSET.contains("on_session_end")); assert!(!HERMES_PLUGIN_INIT_ASSET.contains("on_session_finalize")); assert!(!HERMES_PLUGIN_INIT_ASSET.contains("pane.release_agent")); - assert!(QODERCLI_HOOK_ASSET.contains("HERDR_HOOK_INPUT_FILE")); - assert!(QODERCLI_HOOK_ASSET.contains("agent_session_id")); - assert!(QODERCLI_HOOK_ASSET.contains("pane.report_agent_session")); - assert!(!QODERCLI_HOOK_ASSET.contains("\"state\": action")); - assert!(!QODERCLI_HOOK_ASSET.contains("pane.release_agent")); - assert!(!QODERCLI_HOOK_ASSET.contains("QODER_HOOK_EVENT")); + assert!(QODERCLI_HOOK_ASSET.contains("HERDR_PANE_ID")); + assert!(QODERCLI_HOOK_ASSET.contains("session_id")); + assert!(QODERCLI_HOOK_ASSET.contains("report-agent-session")); + assert!(QODERCLI_HOOK_ASSET.contains("--agent-session-id")); + assert!(!QODERCLI_HOOK_ASSET.contains("report-agent\"")); + assert!(!QODERCLI_HOOK_ASSET.contains("release-agent")); assert!(CURSOR_HOOK_ASSET.contains("HERDR_INTEGRATION_ID=cursor")); assert!(CURSOR_HOOK_ASSET.contains("conversation_id")); assert!(CURSOR_HOOK_ASSET.contains("conversationId")); |
