gm-plugkit 2.0.1721 → 2.0.1722
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/SKILL.md +1 -1
- package/package.json +1 -1
- package/plugkit-wasm-wrapper.js +1 -1
package/SKILL.md
CHANGED
|
@@ -38,7 +38,7 @@ Every turn: `instruction`, read, follow imperative, dispatch named verb. Re-disp
|
|
|
38
38
|
cat .gm/exec-spool/.status.json 2>/dev/null; echo ---; cat .gm/exec-spool/.turn-summary.json 2>/dev/null; echo ---; date +%s%3N
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
`.turn-summary.json`: `phase`, `last_skill`, `prd_pending`, `last_instruction_ts`, `last_instruction_age_ms`, `long_gap_threshold_ms`, `browser_sessions_alive`, `update_available`, `deviations_30m`, `watcher_uptime_ms`. Age over threshold -> next non-orienting verb gated, dispatch `instruction` first.
|
|
41
|
+
`.turn-summary.json`: `phase`, `last_skill`, `prd_pending`, `last_instruction_ts`, `last_instruction_age_ms`, `long_gap_threshold_ms`, `browser_sessions_alive`, `update_available`, `deviations_30m`, `watcher_uptime_ms`. Age over threshold -> next non-orienting verb gated, dispatch `instruction` first. **`update_available` non-null (this turn's `.turn-summary.json` or any `instruction` response): FIRST action, before any other work this turn, is `bun x gm-plugkit@latest spool` (idempotent, safe already-serving) -- never "keep working, it clears on its own."** `--kill-stale-watchers` only if stuck across several turns after forcing. `PLUGKIT_NO_AUTO_UPDATE=1` pins version. `deviations_30m` non-zero = active drift to investigate first.
|
|
42
42
|
|
|
43
43
|
Compare `.status.json` `ts` to printed epoch: gap > 15000 = dead, boot it. Exception: future `busy_until` = long verb in flight (browser/chromium spawn blocks heartbeat ~15-18s) -- wait, don't boot a second watcher.
|
|
44
44
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-plugkit",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1722",
|
|
4
4
|
"description": "Bootstrap and daemon-spawn tool for gm plugkit binary. Downloads the correct platform binary, verifies SHA256, and starts the spool watcher daemon. Includes plugkit-wasm-wrapper for WASM-based spool watching.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
package/plugkit-wasm-wrapper.js
CHANGED
|
@@ -308,7 +308,7 @@ function injectUpdateWarning(parsed) {
|
|
|
308
308
|
if (!upd || !upd.installed || !upd.latest || upd.installed === upd.latest) return;
|
|
309
309
|
const target = (parsed.data && typeof parsed.data === 'object') ? parsed.data : parsed;
|
|
310
310
|
target.update_available = { installed: upd.installed, latest: upd.latest, update_url: upd.update_url || null };
|
|
311
|
-
target.update_warning = `STALE RUNTIME: running plugkit ${upd.installed} but ${upd.latest} is published.
|
|
311
|
+
target.update_warning = `STALE RUNTIME: running plugkit ${upd.installed} but ${upd.latest} is published. FIRST ACTION THIS TURN, before any other work: dispatch bun x gm-plugkit@latest spool (idempotent, safe even if already serving) to force the update through now. Add --kill-stale-watchers only if it stays stuck across several turns after forcing. Set PLUGKIT_NO_AUTO_UPDATE=1 to pin. This warning repeats until the running version catches up.`;
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
function mergeAutoRecallIntoInstructionResponse(resultStr, autoRecall) {
|