clavue 8.8.81 → 8.8.83

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Clavue v8.8.81
1
+ # Clavue v8.8.83
2
2
 
3
3
  ![Clavue cover](https://unpkg.com/clavue/image.png)
4
4
 
@@ -85,7 +85,7 @@ curl -fsSL https://unpkg.com/clavue/install.sh | bash
85
85
  Install a specific version:
86
86
 
87
87
  ```bash
88
- curl -fsSL https://unpkg.com/clavue@8.8.81/install.sh | bash -s -- 8.8.81
88
+ curl -fsSL https://unpkg.com/clavue@8.8.83/install.sh | bash -s -- 8.8.83
89
89
  ```
90
90
 
91
91
  ## Quick Start: Custom API
@@ -114,6 +114,7 @@ Useful recovery commands:
114
114
  clavue provider # reopen the same API setup manager
115
115
  clavue provider list # list saved profiles without opening the UI
116
116
  clavue provider current
117
+ clavue provider doctor # diagnose source-of-truth, drift, validation, and next repair action
117
118
  clavue provider validate
118
119
  ```
119
120
 
@@ -142,6 +143,20 @@ This package is intended for users who want an execution-first coding CLI with e
142
143
 
143
144
  On macOS, `clavue` avoids Keychain by default and stores local credentials in `~/.clavue/.credentials.json` so startup does not trigger system Keychain prompts. If you explicitly want the old Keychain behavior back, launch with `CLAVUE_USE_KEYCHAIN=1 clavue`.
144
145
 
146
+ ## Long-Running Session Memory
147
+
148
+ Clavue automatically restarts normal long-running sessions with `--max-old-space-size=8192` before loading the full CLI. This prevents the common Node default ~4GB heap limit from killing large coding sessions with `Reached heap limit Allocation failed - JavaScript heap out of memory`.
149
+
150
+ Useful controls:
151
+
152
+ ```bash
153
+ CLAVUE_MAX_OLD_SPACE_SIZE_MB=12288 clavue
154
+ CLAVUE_DISABLE_HEAP_REEXEC=1 clavue
155
+ NODE_OPTIONS="--max-old-space-size=12288" clavue
156
+ ```
157
+
158
+ `clavue --version` stays on the zero-load fast path and does not restart.
159
+
145
160
  ## CLI Entry Points
146
161
 
147
162
  Version check:
@@ -176,6 +191,7 @@ clavue setup-token
176
191
  /provider
177
192
  /provider list
178
193
  /provider current
194
+ /provider doctor
179
195
  /provider save-current kimi-main
180
196
  /provider adopt-current kimi-main
181
197
  /provider validate
@@ -264,6 +280,7 @@ Companion commands are still available and can either follow the current app pro
264
280
  ```bash
265
281
  npm run validate:repo
266
282
  npm run verify:dist
283
+ node scripts/verify-provider-command-sidecar.mjs
267
284
  npm run verify:source-build
268
285
  npm run check:source-purity
269
286
  npm test
@@ -273,7 +290,8 @@ npm run package:release
273
290
  ```
274
291
 
275
292
  - `npm run validate:repo`: checks package metadata, required tracked files, workflow presence, and tag/version consistency
276
- - `npm run verify:dist`: smoke-tests `dist/cli.js` and `dist/provider-setup.js`
293
+ - `npm run verify:dist`: smoke-tests `dist/cli.js`, provider setup, provider command, and release-critical sidecars
294
+ - `node scripts/verify-provider-command-sidecar.mjs`: focused guard that fails if `dist/provider-command.js` drifts from the authored provider command source
277
295
  - `npm run verify:source-build`: rebuilds from `src/` into `experimental-dist/` and requires `--version` plus `--help` to boot under Node
278
296
  - `npm run check:source-purity`: fails on inline source maps, compiler-transformed React output, generated stubs, or generated types inside `src/`
279
297
  - `npm test`: runs packaging and release regression tests with Node's built-in test runner