@yanzc/claude-pro 0.7.6 → 0.7.7

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/package.json +2 -6
  2. package/src/ui/repl.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yanzc/claude-pro",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "description": "claude-pro: a command line coding agent for the codex-gateway. Full access with no permission prompts; file edits are checkpointed and can be rewound.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -27,8 +27,7 @@
27
27
  ],
28
28
  "scripts": {
29
29
  "start": "node bin/claude-pro.js",
30
- "check": "node bin/claude-pro.js --self-check",
31
- "test": "node --test --test-force-exit --test-timeout=60000 --test-reporter=dot \"test/**/*.test.js\""
30
+ "check": "node bin/claude-pro.js --self-check"
32
31
  },
33
32
  "engines": {
34
33
  "node": ">=22"
@@ -39,8 +38,5 @@
39
38
  },
40
39
  "dependencies": {
41
40
  "@anthropic-ai/sdk": "^0.128.0"
42
- },
43
- "devDependencies": {
44
- "@xterm/headless": "^6.0.0"
45
41
  }
46
42
  }
package/src/ui/repl.js CHANGED
@@ -2413,7 +2413,7 @@ export class App {
2413
2413
  const { model, effort } = modelInfo(cfg);
2414
2414
  // An effort that is not set is not sent: the API then uses the model's default, which is shown instead.
2415
2415
  const level = effort || defaultEffort(cfg.model.id, cfg);
2416
- const info = c.dim(level ? `${model} · effort ${level}` : model);
2416
+ const info = c.dim(level ? `${model} · ${level}` : model);
2417
2417
  const version = c.dim(`v${VERSION}`);
2418
2418
  const compactTokens = (n) => formatTokens(n).replace(/\.0([kM])$/, '$1');
2419
2419
  const context = c.dim(`ctx ${compactTokens(used)}/${compactTokens(cfg.model.contextWindow)}`);