mirror of
https://github.com/zhukunpenglinyutong/jetbrains-cc-gui.git
synced 2026-11-03 14:30:42 +08:00
- 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
33 lines
880 B
JSON
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"]
|
|
}
|