Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions cmux-tui/crates/acpmux/tests/hub_integration/usage_stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ async fn the_session_list_and_info_carry_what_the_chats_transcript_says() {
assert_eq!(stats["contextTokens"], 201_003, "{stats}");
assert_eq!(stats["tokens24h"], 201_053, "{stats}");
assert_eq!(stats["launcher"], "python3", "{stats}");
// This daemon started it with no cap, and its Claude home has no settings: known uncapped.
assert_eq!(stats["autocompact"], "none", "{stats}");
assert_eq!(stats["autocompactCap"], Value::Null, "{stats}");
// Its Claude home has no settings, so acpmux started it with the default 400K window
// (harness_limits::CLAUDE_AUTOCOMPACT_WINDOW, #31936).
assert_eq!(stats["autocompact"], "capped", "{stats}");
assert_eq!(stats["autocompactCap"], 400_000, "{stats}");
assert_eq!(stats["subagents24h"], 0, "{stats}");
assert!(stats["costUsd24h"].as_f64().is_some_and(|c| c > 0.0), "{stats}");

Expand Down
Loading