tokscale 1.0.9
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.
- package/bin.js +15 -0
- package/index.js +0 -0
- package/package.json +40 -0
package/bin.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
|
+
/**
|
|
3
|
+
* Alias package for @tokscale/cli.
|
|
4
|
+
* Requires Bun runtime for OpenTUI's native Zig modules.
|
|
5
|
+
*
|
|
6
|
+
* IMPORTANT: Load OpenTUI preload BEFORE importing CLI.
|
|
7
|
+
* This registers the Bun plugin for TSX transformation before
|
|
8
|
+
* any module resolution that might encounter jsx-runtime imports.
|
|
9
|
+
*/
|
|
10
|
+
try {
|
|
11
|
+
await import('@opentui/solid/preload');
|
|
12
|
+
} catch {
|
|
13
|
+
// Preload may fail in non-Bun environments or if deps not installed
|
|
14
|
+
}
|
|
15
|
+
await import('@tokscale/cli');
|
package/index.js
ADDED
|
File without changes
|
package/package.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tokscale",
|
|
3
|
+
"version": "1.0.9",
|
|
4
|
+
"description": "Alias for @tokscale/cli — A high-performance CLI tool and visualization dashboard for tracking AI coding assistant token usage and costs across multiple platforms.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"tokscale": "./bin.js"
|
|
9
|
+
},
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/junhoyeo/tokscale.git"
|
|
14
|
+
},
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/junhoyeo/tokscale/issues"
|
|
17
|
+
},
|
|
18
|
+
"homepage": "https://github.com/junhoyeo/tokscale#readme",
|
|
19
|
+
"keywords": [
|
|
20
|
+
"token",
|
|
21
|
+
"tracker",
|
|
22
|
+
"ai",
|
|
23
|
+
"claude",
|
|
24
|
+
"openai",
|
|
25
|
+
"gemini",
|
|
26
|
+
"cursor",
|
|
27
|
+
"cli"
|
|
28
|
+
],
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@tokscale/cli": "1.0.9"
|
|
31
|
+
},
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"registry": "https://registry.npmjs.org/",
|
|
34
|
+
"access": "public"
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
"index.js",
|
|
38
|
+
"bin.js"
|
|
39
|
+
]
|
|
40
|
+
}
|