gm-cc 2.0.85 → 2.0.87

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.
@@ -4,7 +4,7 @@
4
4
  "name": "AnEntrypoint"
5
5
  },
6
6
  "description": "State machine agent with hooks, skills, and automated git enforcement",
7
- "version": "2.0.85",
7
+ "version": "2.0.87",
8
8
  "metadata": {
9
9
  "description": "State machine agent with hooks, skills, and automated git enforcement"
10
10
  },
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.85",
3
+ "version": "2.0.87",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": {
6
6
  "name": "AnEntrypoint",
7
7
  "url": "https://github.com/AnEntrypoint"
8
8
  },
9
- "homepage": "https://github.com/AnEntrypoint/gm",
10
- "hooks": "./hooks/hooks.json"
9
+ "homepage": "https://github.com/AnEntrypoint/gm"
11
10
  }
package/cli.js CHANGED
@@ -168,6 +168,10 @@ function installGlobally() {
168
168
  const stalePluginJson = path.join(destDir, 'plugin.json');
169
169
  if (fs.existsSync(stalePluginJson)) fs.unlinkSync(stalePluginJson);
170
170
 
171
+ // Copy marketplace.json to root so extraKnownMarketplaces directory lookup finds it
172
+ const mktSrc = path.join(destDir, '.claude-plugin', 'marketplace.json');
173
+ if (fs.existsSync(mktSrc)) fs.copyFileSync(mktSrc, path.join(destDir, 'marketplace.json'));
174
+
171
175
  // Register in settings.json (enabledPlugins only, no hook injection)
172
176
  const settingsPath = path.join(claudeDir, 'settings.json');
173
177
  let settings = {};
@@ -210,6 +214,9 @@ function installGlobally() {
210
214
  // Remove stale root-level plugin.json from cache (moved to .claude-plugin/plugin.json)
211
215
  const staleCachePluginJson = path.join(cacheDir, 'plugin.json');
212
216
  if (fs.existsSync(staleCachePluginJson)) fs.unlinkSync(staleCachePluginJson);
217
+ // Copy marketplace.json to cache root too
218
+ const mktCacheSrc = path.join(cacheDir, '.claude-plugin', 'marketplace.json');
219
+ if (fs.existsSync(mktCacheSrc)) fs.copyFileSync(mktCacheSrc, path.join(cacheDir, 'marketplace.json'));
213
220
  installedPlugins.plugins['gm@gm-cc'] = [{
214
221
  scope: 'user',
215
222
  installPath: cacheDir,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-cc",
3
- "version": "2.0.85",
3
+ "version": "2.0.87",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
@@ -50,10 +50,6 @@
50
50
  "peerDependencies": {
51
51
  "@anthropic-ai/claude-code": "*"
52
52
  },
53
- "dependencies": {
54
- "mcp-thorns": "latest",
55
- "codebasesearch": "latest"
56
- },
57
53
  "scripts": {
58
54
  "postinstall": "node scripts/postinstall.js"
59
55
  }