@celljs/ta-usage 0.0.0-stage → 4.18.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.
package/package.json CHANGED
@@ -1,6 +1,61 @@
1
1
  {
2
2
  "name": "@celljs/ta-usage",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "4.18.0",
4
+ "description": "A pi package for Ta: the Usage page, the tokens and the cost of the conversations of Ta by day, by model and by conversation",
5
+ "keywords": [
6
+ "pi-package"
7
+ ],
8
+ "homepage": "https://github.com/cellbang/ta",
9
+ "bugs": {
10
+ "url": "https://github.com/cellbang/ta/issues"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/cellbang/cell.git"
15
+ },
16
+ "license": "MIT",
17
+ "files": [
18
+ "web",
19
+ "host",
20
+ "!**/*.map"
21
+ ],
22
+ "scripts": {
23
+ "build": "tsc -b && bun build web-src/index.tsx --format esm --target browser --outfile web/index.js && bun build web-src/host.ts --format esm --target node --outfile host/index.mjs",
24
+ "clean": "rm -rf lib web host *.tsbuildinfo",
25
+ "test": "bun test ./lib",
26
+ "watch": "tsc -b -w --preserveWatchOutput"
27
+ },
28
+ "devDependencies": {
29
+ "@celljs/ta-protocol": "4.18.0",
30
+ "@celljs/ta-web": "4.18.0",
31
+ "@types/react": "^19.3.0"
32
+ },
33
+ "publishConfig": {
34
+ "access": "public"
35
+ },
36
+ "pi": {
37
+ "title": {
38
+ "en": "Usage",
39
+ "zh-CN": "用量",
40
+ "zh-TW": "用量",
41
+ "ja-JP": "使用量"
42
+ },
43
+ "summary": {
44
+ "en": "The Usage page under Discover: the tokens and the cost of your conversations by day, by model and by conversation, read from the conversations on this computer.",
45
+ "zh-CN": "\"用量\"页,在\"发现\"里:按天、按模型、按对话看 tokens 和花费,从这台电脑上的对话记录统计。",
46
+ "zh-TW": "「用量」頁,在「發現」裡:按天、按模型、按對話看 tokens 和花費,從這台電腦上的對話紀錄統計。",
47
+ "ja-JP": "「見つける」の「使用量」ページ:日別・モデル別・会話別のトークン数と費用を、このコンピューターの会話記録から集計します。"
48
+ },
49
+ "icon": "Gauge",
50
+ "webActivation": "open",
51
+ "web": [
52
+ "./web/index.js"
53
+ ],
54
+ "host": "./host/index.mjs",
55
+ "permissions": {
56
+ "host": {
57
+ "*": "chat.view"
58
+ }
59
+ }
60
+ }
61
+ }