gm-gc 2.0.246 → 2.0.247

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.246",
3
+ "version": "2.0.247",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "homepage": "https://github.com/AnEntrypoint/gm",
@@ -41,11 +41,10 @@ const MANAGED_PKGS = ['agent-browser'];
41
41
  const PKG_JSON = path.join(TOOLS_DIR, 'package.json');
42
42
 
43
43
  const PLUGKIT_REPO = 'AnEntrypoint/rs-plugkit';
44
- const archMap = { x64: 'x86_64', arm64: 'aarch64', ia32: 'x86_64' };
45
44
  const plugkitTargets = {
46
- win32: a => `plugkit-x86_64-pc-windows-msvc/plugkit.exe`,
47
- darwin: a => `plugkit-x86_64-unknown-linux-gnu/plugkit`,
48
- linux: a => `plugkit-x86_64-unknown-linux-gnu/plugkit`,
45
+ win32: () => `plugkit.exe`,
46
+ darwin: () => `plugkit`,
47
+ linux: () => `plugkit`,
49
48
  };
50
49
 
51
50
  function plugkitBin() { return path.join(TOOLS_DIR, IS_WIN ? 'plugkit.exe' : 'plugkit'); }
@@ -67,7 +66,7 @@ function downloadBin(assetPath, dest) {
67
66
  async function ensurePlugkit() {
68
67
  const bin = plugkitBin();
69
68
  if (!fs.existsSync(bin)) {
70
- const assetPath = plugkitTargets[process.platform]?.(archMap[process.arch] || 'x86_64') || plugkitTargets.linux('x86_64');
69
+ const assetPath = plugkitTargets[process.platform]?.() || plugkitTargets.linux();
71
70
  await downloadBin(assetPath, bin);
72
71
  }
73
72
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-gc",
3
- "version": "2.0.246",
3
+ "version": "2.0.247",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",