codebuddy-stats 1.1.1 → 1.1.2

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +16 -4
package/dist/index.js CHANGED
@@ -423,7 +423,7 @@ async function main() {
423
423
  function updateContent() {
424
424
  const width = Number(screen.width) || 80;
425
425
  const note = currentSource === 'code'
426
- ? `针对 CodeBuddy Code 2.20.0 版本产生的数据,由于没有请求级别的 model ID,用量是基于当前 CodeBuddy Code 设置的 model ID(${data.defaultModelId})计算价格的`
426
+ ? `针对 CodeBuddy Code < 2.20.0 版本产生的数据,由于没有请求级别的 model ID,用量是基于当前 CodeBuddy Code 设置的 model ID(${data.defaultModelId})计算价格的`
427
427
  : 'IDE 的 usage 不包含缓存命中/写入 tokens,无法计算缓存相关价格与命中率;成本按 input/output tokens 估算';
428
428
  switch (currentTab) {
429
429
  case 0:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codebuddy-stats",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -22,10 +22,22 @@
22
22
  "pretext": "npm run build",
23
23
  "text": "node dist/index.js --no-tui"
24
24
  },
25
- "keywords": [],
26
- "author": "",
25
+ "keywords": [
26
+ "codebuddy",
27
+ "codebuddy-code",
28
+ "ai",
29
+ "cost",
30
+ "analyzer",
31
+ "statistics",
32
+ "tui",
33
+ "cli",
34
+ "token",
35
+ "usage"
36
+ ],
37
+ "author": "AnotiaWang",
27
38
  "license": "ISC",
28
- "description": "CodeBuddy AI cost analyzer with TUI",
39
+ "packageManager": "pnpm@9.15.1",
40
+ "description": "CodeBuddy AI cost analyzer with terminal UI",
29
41
  "dependencies": {
30
42
  "blessed": "^0.1.81"
31
43
  },