gm-skill 2.0.1247 → 2.0.1249

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
@@ -35,7 +35,7 @@ An earlier generation fanned out fifteen per-platform downstream repos (gm-cc, g
35
35
 
36
36
  ## Version
37
37
 
38
- `2.0.1247` — auto-bumped from the canonical `gm` repo. Every push to `AnEntrypoint/gm` (or any cascading sibling crate) republishes this package.
38
+ `2.0.1249` — auto-bumped from the canonical `gm` repo. Every push to `AnEntrypoint/gm` (or any cascading sibling crate) republishes this package.
39
39
 
40
40
  ## Source of truth
41
41
 
@@ -984,13 +984,31 @@ function createWasiShim(instanceRef) {
984
984
  },
985
985
  environ_get: () => 0,
986
986
  environ_sizes_get: () => 0,
987
+ fd_prestat_get: () => 8,
988
+ fd_prestat_dir_name: () => 8,
989
+ fd_close: () => 0,
990
+ fd_fdstat_get: () => 0,
991
+ fd_fdstat_set_flags: () => 0,
992
+ fd_filestat_get: () => 0,
993
+ fd_seek: (_fd, _offset_lo, _offset_hi, _whence, newoffset_ptr) => {
994
+ try { new DataView(getMemory()).setBigUint64(newoffset_ptr, 0n, true); } catch (_) {}
995
+ return 0;
996
+ },
997
+ fd_read: (_fd, _iovs_ptr, _iovs_len, nread_ptr) => {
998
+ try { new DataView(getMemory()).setUint32(nread_ptr, 0, true); } catch (_) {}
999
+ return 0;
1000
+ },
1001
+ path_open: () => 8,
1002
+ path_filestat_get: () => 8,
1003
+ poll_oneoff: () => 0,
1004
+ sched_yield: () => 0,
987
1005
  };
988
1006
  return new Proxy(shim, {
989
1007
  get(target, prop) {
990
1008
  if (prop in target) return target[prop];
991
1009
  return (...args) => {
992
1010
  console.error(`[plugkit-wasm] unimplemented WASI call: ${String(prop)} args=${args.length}`);
993
- return 52;
1011
+ return 8;
994
1012
  };
995
1013
  }
996
1014
  });
package/gm.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.1247",
3
+ "version": "2.0.1249",
4
4
  "description": "Spool-dispatch orchestration engine with unified state machine, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
@@ -172,12 +172,20 @@ function getManagedGitignoreEntries() {
172
172
  '.gm/gm-fired-*',
173
173
  '.gm/needs-gm',
174
174
  '.gm/lastskill',
175
+ '.gm/last-prompt.txt',
175
176
  '.gm/turn-state.json',
176
177
  '.gm/turn-state.json.corrupted-*',
177
178
  '.gm/residual-check-fired',
178
179
  '.gm/bootstrap-status.json',
179
180
  '.gm/bootstrap-error.json',
180
181
  '.gm/rslearn-counter.json',
182
+ '.gm/git-block-counter.json',
183
+ '.gm/no-memorize-this-turn',
184
+ '.gm/learning-state.md',
185
+ '.gm/prd.paused.yml',
186
+ '.gm/rs-learn.db-shm',
187
+ '.gm/rs-learn.db-wal',
188
+ '.gm/hooks/',
181
189
  '.gm/trajectory-drafts/',
182
190
  '.gm/ingest-drafts/',
183
191
  '.gm/prd-state.json',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-skill",
3
- "version": "2.0.1247",
3
+ "version": "2.0.1249",
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",
@@ -39,7 +39,7 @@
39
39
  "gm.json"
40
40
  ],
41
41
  "dependencies": {
42
- "gm-plugkit": "^2.0.1247"
42
+ "gm-plugkit": "^2.0.1249"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=16.0.0"