gm-skill 2.0.1562 → 2.0.1563
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/AGENTS.md +1 -1
- package/gm-plugkit/package.json +1 -1
- package/gm-plugkit/plugkit-wasm-wrapper.js +18 -3
- package/gm.json +1 -1
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -22,7 +22,7 @@ Skills encode environment-specific constraints that override general knowledge.
|
|
|
22
22
|
|
|
23
23
|
# Architecture & Philosophy
|
|
24
24
|
|
|
25
|
-
This repo IS the published `gm-skill` npm package: repo root = package root, no factory, no build step generating a separate output dir. `skills/gm-skill/SKILL.md` is the entry point; orchestration logic lives in rs-plugkit, served on demand via the `instruction` verb. Agent-facing prose (phase instruction
|
|
25
|
+
This repo IS the published `gm-skill` npm package: repo root = package root, no factory, no build step generating a separate output dir. `skills/gm-skill/SKILL.md` is the entry point; orchestration logic lives in rs-plugkit, served on demand via the `instruction` verb. Agent-facing prose (phase instruction + gate/residual text) is externalized to an editable `gm-plugkit/instructions/` bundle, so editing prose is a gm-plugkit republish with no Rust rebuild. Mechanism (prose.rs per-key fallback to compiled const; sync-instruction-consts.mjs byte-aligns the .md and the rs-plugkit consts) in rs-learn (`recall: string-externalization project`).
|
|
26
26
|
|
|
27
27
|
## WASM-only
|
|
28
28
|
|
package/gm-plugkit/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-plugkit",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1563",
|
|
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": {
|
|
@@ -411,6 +411,17 @@ function scanStalledTurns() {
|
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
413
|
|
|
414
|
+
// Every spool dispatch is the agent actively driving the chain, including wasm-direct verbs
|
|
415
|
+
// (recall/codesearch/exec_js/git/fetch) that never reach turnTick. Refresh the open turn's stall
|
|
416
|
+
// clock so a Bash-free stretch of pure wasm-direct verbs does not trip a false mid-chain-stall
|
|
417
|
+
// (the recurring audit-fire own-defect). Never create or split a turn -- that stays turnTick's job.
|
|
418
|
+
function touchActiveTurn(sess) {
|
|
419
|
+
const t = _turns.get(sess || '(no-session)');
|
|
420
|
+
if (!t) return;
|
|
421
|
+
t.lastTs = Date.now();
|
|
422
|
+
t.stallEmitted = false;
|
|
423
|
+
}
|
|
424
|
+
|
|
414
425
|
let __sessCache = { value: '', mtimeMs: 0, readAt: 0, srcMtimeMs: 0 };
|
|
415
426
|
function readCurrentSess() {
|
|
416
427
|
const now = Date.now();
|
|
@@ -479,10 +490,14 @@ function logEvent(sub, event, fields) {
|
|
|
479
490
|
}
|
|
480
491
|
|
|
481
492
|
function emitOrchestratorEvents(verb, taskBase, resultStr) {
|
|
482
|
-
if (!ORCHESTRATOR_VERBS.has(verb)) return;
|
|
483
493
|
let parsed;
|
|
484
|
-
try { parsed = JSON.parse(resultStr); } catch (_) {
|
|
485
|
-
if (!
|
|
494
|
+
try { parsed = JSON.parse(resultStr); } catch (_) { parsed = null; }
|
|
495
|
+
if (!ORCHESTRATOR_VERBS.has(verb)) {
|
|
496
|
+
if (parsed && parsed.ok === true) { try { touchActiveTurn(readCurrentSess()); } catch (_) {} }
|
|
497
|
+
return;
|
|
498
|
+
}
|
|
499
|
+
if (!parsed) return;
|
|
500
|
+
if (parsed.ok !== true) {
|
|
486
501
|
let errData = null;
|
|
487
502
|
if (parsed && typeof parsed.stdout === 'string' && parsed.stdout.length > 0) {
|
|
488
503
|
try { errData = JSON.parse(parsed.stdout); } catch (_) {}
|
package/gm.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-skill",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1563",
|
|
4
4
|
"description": "Canonical universal harness — AI-native software engineering via skill-driven orchestration; bootstraps plugkit for task execution and session isolation. Install in any AI coding agent host.",
|
|
5
5
|
"author": "AnEntrypoint",
|
|
6
6
|
"license": "MIT",
|