@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.
- package/dist/core/engine/budgets.js +15 -12
- package/dist/runtime/version.js +1 -1
- package/package.json +3 -3
|
@@ -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
|
|
79
|
-
//
|
|
80
|
-
//
|
|
81
|
-
//
|
|
82
|
-
//
|
|
83
|
-
//
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
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
|
package/dist/runtime/version.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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/
|
|
66
|
-
"@pugi/
|
|
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",
|