@pugi/cli 0.1.0-beta.37 → 0.1.0-beta.38
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.
|
@@ -2,10 +2,19 @@
|
|
|
2
2
|
* β1 defaults. Source of truth for the per-command budget envelope.
|
|
3
3
|
* The runtime is allowed to look these up directly (no need to round
|
|
4
4
|
* trip through settings.json when no override is in play).
|
|
5
|
+
*
|
|
6
|
+
* 2026-05-28 bump (post-Wave-7 hooks-v2 + 6-perm-modes + auto-classifier
|
|
7
|
+
* added ~12K tokens of system-prompt + tools-schema overhead per turn):
|
|
8
|
+
* `code` 30k → 80k и `fix` 30k → 50k so a single-file refactor on a
|
|
9
|
+
* 1000-line source file no longer exhausts the budget on turn 2.
|
|
10
|
+
* Empirical: smoke `pugi code "сделай snake.html"` on beta.37 burned
|
|
11
|
+
* 36k/30k after 2 tool calls; beta.36 same task closed in 8k. The Wave-7
|
|
12
|
+
* additions are good (Claude Code parity), but the budget cap did not move with
|
|
13
|
+
* them. Claude Code's `code` default is ~80k; matching that restores headroom.
|
|
5
14
|
*/
|
|
6
15
|
export const beta1DefaultBudgets = {
|
|
7
|
-
fix: { maxTokens:
|
|
8
|
-
code: { maxTokens:
|
|
16
|
+
fix: { maxTokens: 50_000, maxToolCalls: 20 },
|
|
17
|
+
code: { maxTokens: 80_000, maxToolCalls: 20 },
|
|
9
18
|
build: { maxTokens: 200_000, maxToolCalls: 30 },
|
|
10
19
|
plan: { maxTokens: 200_000, maxToolCalls: 8 },
|
|
11
20
|
explain: { maxTokens: 20_000, maxToolCalls: 5 },
|
package/dist/runtime/cli.js
CHANGED
|
@@ -1669,12 +1669,12 @@ const COMMAND_HELP_BODIES = {
|
|
|
1669
1669
|
' pugi explain "trace the auth flow in src/auth/"',
|
|
1670
1670
|
],
|
|
1671
1671
|
code: [
|
|
1672
|
-
'pugi code "<brief>" — engineering-mode write loop (
|
|
1672
|
+
'pugi code "<brief>" — engineering-mode write loop (80k token budget).',
|
|
1673
1673
|
'',
|
|
1674
1674
|
'Writes files in the current workspace. Use --no-tty in CI / pipes.',
|
|
1675
1675
|
],
|
|
1676
1676
|
fix: [
|
|
1677
|
-
'pugi fix "<brief>" — minimal-diff bugfix loop (
|
|
1677
|
+
'pugi fix "<brief>" — minimal-diff bugfix loop (50k token budget).',
|
|
1678
1678
|
'',
|
|
1679
1679
|
'Same as `pugi code` but the prompt biases toward the smallest patch',
|
|
1680
1680
|
'that closes the brief — refuses scope creep / refactor invitations.',
|
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.38');
|
|
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.38",
|
|
4
4
|
"description": "Pugi CLI - terminal-native software execution system",
|
|
5
5
|
"homepage": "https://pugi.io",
|
|
6
6
|
"repository": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"undici": "^8.3.0",
|
|
56
56
|
"zod": "^3.23.0",
|
|
57
57
|
"@pugi/personas": "0.1.2",
|
|
58
|
-
"@pugi/sdk": "0.1.0-beta.
|
|
58
|
+
"@pugi/sdk": "0.1.0-beta.38"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/node": "^22.0.0",
|