diff --git a/fastdeploy/golang_router/.claude/skills/stat-cache-hitrate/scripts/stat_cache_hitrate.py b/fastdeploy/golang_router/.claude/skills/stat-cache-hitrate/scripts/stat_cache_hitrate.py index 066c15330d7..7adc0b97d02 100644 --- a/fastdeploy/golang_router/.claude/skills/stat-cache-hitrate/scripts/stat_cache_hitrate.py +++ b/fastdeploy/golang_router/.claude/skills/stat-cache-hitrate/scripts/stat_cache_hitrate.py @@ -898,6 +898,11 @@ def main(): details_abs, details_uri = _build_path_links(details_path) print(f" - 窗口明细: {details_abs}") print(f" URI: {details_uri}") + session_detail_path = os.path.join(os.path.dirname(report_path), "details", "session_hit_details.md") + if os.path.exists(session_detail_path): + session_abs, session_uri = _build_path_links(session_detail_path) + print(f" - Session 明细: {session_abs}") + print(f" URI: {session_uri}") if args.watch: print("\n\U0001f4a1 持续跟踪: /loop 30s /stat-cache-hitrate --tail") diff --git a/fastdeploy/golang_router/.claude/skills/stat-cache-hitrate/scripts/window_utils.py b/fastdeploy/golang_router/.claude/skills/stat-cache-hitrate/scripts/window_utils.py index 526fe2382ce..4ff6aa666d5 100644 --- a/fastdeploy/golang_router/.claude/skills/stat-cache-hitrate/scripts/window_utils.py +++ b/fastdeploy/golang_router/.claude/skills/stat-cache-hitrate/scripts/window_utils.py @@ -57,9 +57,9 @@ def merge_blank_window_rows(rows, min_merge_len=5): ) merged.append( { - "Time": f"... {start_t} ~ {end_t} merged ({seg_len} windows) ...", + "Time": "|", "Prefix HR": "-", - "Session HR": "-", + "Session HR": f"merged {seg_len} windows", "Scoring": "0", "Fallback": "0", "Total Running": "-",