Files
jetbrains-cc-gui/webview/tsconfig.json
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

33 lines
880 B
JSON

{
"compilerOptions": {
"target": "ES2022",
"useDefineForClassFields": true,
"module": "ESNext",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"types": ["vite/client"],
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
// The vendored tokentracker-dashboard tree is plain JS/JSX: resolve its
// modules without type-checking them.
"allowJs": true,
"checkJs": false,
"verbatimModuleSyntax": true,
"moduleDetection": "force",
"jsx": "react-jsx",
"noEmit": true,
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"erasableSyntaxOnly": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
"include": ["src"],
"exclude": ["src/**/*.test.ts", "src/**/*.test.tsx"]
}