tinker-token-usage 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,13 @@
1
+ <!doctype html>
2
+ <html lang="en" spellcheck="false">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <title>Tinker Plugin</title>
7
+ <script type="module" crossorigin src="./assets/app-DSiLpGyo.js"></script>
8
+ <link rel="stylesheet" crossorigin href="./assets/app-BiKz3HuU.css">
9
+ </head>
10
+ <body>
11
+ <div id="app"></div>
12
+ </body>
13
+ </html>
package/icon.png ADDED
Binary file
package/package.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "tinker-token-usage",
3
+ "version": "0.1.0",
4
+ "description": "Token Usage Statistics Plugin for Tinker",
5
+ "files": [
6
+ "dist/",
7
+ "icon.png"
8
+ ],
9
+ "scripts": {
10
+ "dev": "concurrently \"npm run dev:renderer\" \"npm run dev:preload\"",
11
+ "dev:renderer": "vite",
12
+ "dev:preload": "vite build --watch --config vite.preload.ts",
13
+ "build": "concurrently \"npm run build:renderer\" \"npm run build:preload\"",
14
+ "build:renderer": "vite build",
15
+ "build:preload": "vite build --config vite.preload.ts",
16
+ "format": "prettier \"src/**/*.{ts,tsx,scss}\" \"*.{html,json,js,ts}\" --write"
17
+ },
18
+ "keywords": [
19
+ "tinker",
20
+ "token-usage",
21
+ "claude",
22
+ "codex"
23
+ ],
24
+ "tinker": {
25
+ "name": "Token Usage",
26
+ "main": "dist/renderer/index.html",
27
+ "preload": "dist/preload/index.mjs",
28
+ "icon": "icon.png",
29
+ "locales": {
30
+ "zh-CN": {
31
+ "name": "Token 统计"
32
+ }
33
+ }
34
+ },
35
+ "dependencies": {
36
+ "ccusage": "^18.0.5"
37
+ },
38
+ "devDependencies": {
39
+ "@radix-ui/react-select": "^2.2.6",
40
+ "@tailwindcss/postcss": "^4.1.17",
41
+ "@types/node": "^24.0.0",
42
+ "@types/react": "^19.1.9",
43
+ "@types/react-dom": "^19.1.7",
44
+ "@vitejs/plugin-react": "^4.7.0",
45
+ "autoprefixer": "^10.4.22",
46
+ "concurrently": "^9.2.0",
47
+ "echarts": "^6.0.0",
48
+ "echarts-for-react": "^3.0.6",
49
+ "electron": "^30.5.1",
50
+ "i18next": "^25.8.4",
51
+ "licia": "^1.48.0",
52
+ "lucide-react": "^0.564.0",
53
+ "mobx": "^6.15.0",
54
+ "mobx-react-lite": "^4.1.1",
55
+ "postcss": "^8.5.6",
56
+ "prettier": "^3.8.1",
57
+ "react": "^19.1.1",
58
+ "react-dom": "^19.1.1",
59
+ "react-i18next": "^16.5.4",
60
+ "tailwindcss": "^4.1.17",
61
+ "tinyglobby": "^0.2.15",
62
+ "typescript": "^5.8.3",
63
+ "vite": "^5.4.19"
64
+ }
65
+ }