@pugi/cli 0.1.0-beta.52 → 0.1.0-beta.53

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.
@@ -70,11 +70,16 @@ export function resolveAutoCompactConfig(settings) {
70
70
  * them. Claude Code's `code` default is ~80k; matching that restores headroom.
71
71
  */
72
72
  export const beta1DefaultBudgets = {
73
- fix: { maxTokens: 50_000, maxToolCalls: 20 },
74
- code: { maxTokens: 80_000, maxToolCalls: 20 },
73
+ // 2026-05-29 bump (CEO #44, post-auto-compact #14 + prompt-cache #15):
74
+ // auto-compact at 75% threshold + cache_control on stable prefix mean
75
+ // real per-call token use is ~30-40% lower than legacy. Bump headroom
76
+ // so multi-file refactors no longer trip the cap. Anvil clamps per-call
77
+ // max_tokens to 128k (PR #710) so the engine envelope still safe.
78
+ fix: { maxTokens: 80_000, maxToolCalls: 20 },
79
+ code: { maxTokens: 120_000, maxToolCalls: 25 },
75
80
  build: { maxTokens: 200_000, maxToolCalls: 30 },
76
81
  plan: { maxTokens: 200_000, maxToolCalls: 8 },
77
- explain: { maxTokens: 40_000, maxToolCalls: 10 },
82
+ explain: { maxTokens: 60_000, maxToolCalls: 10 },
78
83
  review_triple: { maxTokens: 100_000, maxToolCalls: 10 },
79
84
  };
80
85
  /**
@@ -44,7 +44,7 @@ export function sanitizeSemver(raw) {
44
44
  * during import). When bumping the CLI version BOTH literals must be
45
45
  * updated; the release smoke-test (`pack:smoke`) verifies they agree.
46
46
  */
47
- export const PUGI_CLI_VERSION = sanitizeSemver('0.1.0-beta.52');
47
+ export const PUGI_CLI_VERSION = sanitizeSemver('0.1.0-beta.53');
48
48
  /**
49
49
  * Outbound: the CLI's installed semver. Read at request time by
50
50
  * `version-interceptor.ts` and injected on every `fetch` call.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pugi/cli",
3
- "version": "0.1.0-beta.52",
3
+ "version": "0.1.0-beta.53",
4
4
  "description": "Pugi CLI - terminal-native software execution system",
5
5
  "homepage": "https://pugi.io",
6
6
  "repository": {
@@ -54,8 +54,8 @@
54
54
  "turndown": "^7.2.4",
55
55
  "undici": "^8.3.0",
56
56
  "zod": "^3.23.0",
57
- "@pugi/sdk": "0.1.0-beta.52",
58
- "@pugi/personas": "0.1.2"
57
+ "@pugi/personas": "0.1.2",
58
+ "@pugi/sdk": "0.1.0-beta.53"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@types/node": "^22.0.0",