Files
jetbrains-cc-gui/webview/tt-preview.html
T
zhukunpenglinyutong c1c302785b feat(usage): replace built-in usage statistics with vendored TokenTracker dashboard
- Embed tokentracker-dashboard (usage overview, trends, activity heatmap,
  model breakdown) into the usage statistics section behind a server gate
- Add TokenTrackerHandler: detect/install pinned tokentracker-cli, ensure
  local server (serialized against concurrent spawns), whitelist-proxied
  requests to 127.0.0.1 with auth-token retry on 401/403
- Remove self-built aggregators (ClaudeUsageAggregator,
  CodexUsageAggregator) and legacy usage tabs/hooks/types
- Bridge locale/theme from host app into the vendored dashboard and
  remount on change
- Harden transport: dev-fetch timeout, in-flight GET dedup, LRU-bounded
  localStorage caches, unmount cleanups for timers and window listeners
2026-07-28 22:34:40 +08:00

13 lines
323 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>TokenTracker Dashboard Preview</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/tt-preview.tsx"></script>
</body>
</html>