@pugi/cli 0.1.0-beta.98 → 0.1.0-beta.99

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.
@@ -75,18 +75,21 @@ export const beta1DefaultBudgets = {
75
75
  // real per-call token use is ~30-40% lower than legacy. Bump headroom
76
76
  // so multi-file refactors no longer trip the cap. Anvil clamps per-call
77
77
  // max_tokens to 128k (PR) so the engine envelope still safe.
78
- // CEO escalation 2026-06-05: REPL React tic-tac-toe blew budget at
79
- // 120214 > 120000 mid-build. the upstream customer expectation = 200K+
80
- // context per session с recharge. Bump к 400K for code/fix + raise
81
- // tool-call ceilings so multi-file front-end builds (React + tests +
82
- // index.css + index.html + main.jsx) fit without forcing the operator
83
- // to escalate к `--intensity=deep`.
84
- fix: { maxTokens: 250_000, maxToolCalls: 40 },
85
- code: { maxTokens: 400_000, maxToolCalls: 50 },
86
- build: { maxTokens: 500_000, maxToolCalls: 60 },
87
- plan: { maxTokens: 200_000, maxToolCalls: 8 },
88
- explain: { maxTokens: 60_000, maxToolCalls: 10 },
89
- review_triple: { maxTokens: 100_000, maxToolCalls: 10 },
78
+ // CEO escalation 2026-06-05 round 2: "почему другие модели пишут
79
+ // днями? ты ограничиваешь токены?" the upstream / Codex / Aider have
80
+ // NO per-task budget cap. They auto-compact at ~75% threshold and
81
+ // continue indefinitely. Pugi's 400K cap was still a regression vs
82
+ // industry expectation. Raise к the HARD_MAX_TOKENS ceiling (5M) for
83
+ // code/fix/build so the engine loop effectively runs until completion
84
+ // or until the operator aborts. Auto-compact (#14, shipped) reclaims
85
+ // headroom mid-loop. Token cost still tracked + tier-gated upstream;
86
+ // this lifts only the in-process loop ceiling.
87
+ fix: { maxTokens: 2_000_000, maxToolCalls: 200 },
88
+ code: { maxTokens: 5_000_000, maxToolCalls: 500 },
89
+ build: { maxTokens: 5_000_000, maxToolCalls: 500 },
90
+ plan: { maxTokens: 500_000, maxToolCalls: 30 },
91
+ explain: { maxTokens: 200_000, maxToolCalls: 20 },
92
+ review_triple: { maxTokens: 300_000, maxToolCalls: 20 },
90
93
  };
91
94
  /**
92
95
  * Hard upper bounds. Anything above this is treated as user error
@@ -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.98');
47
+ export const PUGI_CLI_VERSION = sanitizeSemver('0.1.0-beta.99');
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.98",
3
+ "version": "0.1.0-beta.99",
4
4
  "description": "Pugi CLI - terminal-native software execution system",
5
5
  "homepage": "https://pugi.io",
6
6
  "repository": {
@@ -62,8 +62,8 @@
62
62
  "undici": "^8.3.0",
63
63
  "which": "^6.0.0",
64
64
  "zod": "^3.23.0",
65
- "@pugi/personas": "0.1.2",
66
- "@pugi/sdk": "0.1.0-beta.98"
65
+ "@pugi/sdk": "0.1.0-beta.99",
66
+ "@pugi/personas": "0.1.2"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@types/node": "^22.0.0",