gm-plugkit 2.0.2021 → 2.0.2023

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.
Files changed (3) hide show
  1. package/cli.js +16 -18
  2. package/package.json +1 -1
  3. package/plugkit.version +1 -1
package/cli.js CHANGED
@@ -230,27 +230,25 @@ function writeCliError(phase, err) {
230
230
  } catch (_) {}
231
231
  }
232
232
 
233
- // gm-runner is a genuine, sha256-verified drop-in replacement for this
234
- // entire bun/node boot path -- when it's installed, delegate to it
235
- // immediately and exit, before any bun/node-specific bootstrap logic runs.
236
- // This is the actual code-level enforcement of what was previously only a
237
- // documented convention (SKILL.md telling an LLM agent to manually prefer
238
- // gm-runner) -- with this in place bun/node are only ever exercised on a
239
- // platform neither runner has a published binary for, or during the
240
- // one-time install before either runner lands on disk.
241
- //
242
- // agentplug-runner is tried FIRST, gm-runner second -- agentplug-runner
243
- // serves the identical spool ABI (same in/out layout, same verb names;
244
- // gm.wasm is just one of its loadable plugins now) so it's a strict
245
- // superset, not an alternative; gm-runner stays as the fallback for any
246
- // install that has it but hasn't picked up agentplug-runner yet (installer
247
- // re-run pending, or a platform agentplug-bin hasn't published for yet
248
- // while gm-runner-bin already has).
233
+ // agentplug-runner is the sole native host and a sha256-verified drop-in
234
+ // replacement for this entire bun/node boot path -- when it's installed,
235
+ // delegate to it immediately and exit, before any bun/node bootstrap runs.
236
+ // It serves the identical spool ABI (same in/out layout, same verb names;
237
+ // gm.wasm is one of its loadable plugins alongside libsql/bert/treesitter),
238
+ // so bun/node are only ever exercised as the pure-JS fallback on a platform
239
+ // agentplug-bin has no published binary for, or during the one-time install
240
+ // before the runner lands on disk. (gm-runner, a strictly-inferior
241
+ // single-module duplicate, was retired once agentplug-runner reached full
242
+ // 6-platform parity.)
249
243
  function tryDelegateToRunner(args) {
250
244
  if (process.env.GM_PLUGKIT_NO_RUNNER_DELEGATE === '1') return false;
245
+ // agentplug-runner is the sole native host now -- gm-runner (a strictly
246
+ // inferior single-module duplicate) was retired once agentplug-runner had
247
+ // full 6-platform parity published to agentplug-bin. The JS wasm-host below
248
+ // is the only fallback, for a platform with no published native binary.
251
249
  const candidates = process.platform === 'win32'
252
- ? ['agentplug-runner.exe', 'gm-runner.exe']
253
- : ['agentplug-runner', 'gm-runner'];
250
+ ? ['agentplug-runner.exe']
251
+ : ['agentplug-runner'];
254
252
  for (const exeName of candidates) {
255
253
  const runnerPath = path.join(gmToolsDir(), exeName);
256
254
  if (!fs.existsSync(runnerPath)) continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-plugkit",
3
- "version": "2.0.2021",
3
+ "version": "2.0.2023",
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.version CHANGED
@@ -1 +1 @@
1
- 0.1.934
1
+ 0.1.935