gm-cc 2.0.87 → 2.0.88

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.87",
7
+ "version": "2.0.88",
8
8
  "metadata": {
9
9
  "description": "State machine agent with hooks, skills, and automated git enforcement"
10
10
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.87",
3
+ "version": "2.0.88",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": {
6
6
  "name": "AnEntrypoint",
package/cli.js CHANGED
@@ -164,11 +164,9 @@ function installGlobally() {
164
164
 
165
165
  filesToCopy.forEach(name => copyRecursive(path.join(srcDir, name), path.join(destDir, name)));
166
166
 
167
- // Remove stale root-level plugin.json (moved to .claude-plugin/plugin.json)
168
- const stalePluginJson = path.join(destDir, 'plugin.json');
169
- if (fs.existsSync(stalePluginJson)) fs.unlinkSync(stalePluginJson);
170
-
171
- // Copy marketplace.json to root so extraKnownMarketplaces directory lookup finds it
167
+ // Copy plugin.json and marketplace.json to root so marketplace source lookup finds them
168
+ const pluginJsonSrc = path.join(destDir, '.claude-plugin', 'plugin.json');
169
+ if (fs.existsSync(pluginJsonSrc)) fs.copyFileSync(pluginJsonSrc, path.join(destDir, 'plugin.json'));
172
170
  const mktSrc = path.join(destDir, '.claude-plugin', 'marketplace.json');
173
171
  if (fs.existsSync(mktSrc)) fs.copyFileSync(mktSrc, path.join(destDir, 'marketplace.json'));
174
172
 
@@ -211,10 +209,9 @@ function installGlobally() {
211
209
  }
212
210
  fs.mkdirSync(cacheDir, { recursive: true });
213
211
  filesToCache.forEach(name => copyRecursiveCache(path.join(destDir, name), path.join(cacheDir, name)));
214
- // Remove stale root-level plugin.json from cache (moved to .claude-plugin/plugin.json)
215
- const staleCachePluginJson = path.join(cacheDir, 'plugin.json');
216
- if (fs.existsSync(staleCachePluginJson)) fs.unlinkSync(staleCachePluginJson);
217
- // Copy marketplace.json to cache root too
212
+ // Copy plugin.json and marketplace.json to cache root too
213
+ const cachePluginJsonSrc = path.join(cacheDir, '.claude-plugin', 'plugin.json');
214
+ if (fs.existsSync(cachePluginJsonSrc)) fs.copyFileSync(cachePluginJsonSrc, path.join(cacheDir, 'plugin.json'));
218
215
  const mktCacheSrc = path.join(cacheDir, '.claude-plugin', 'marketplace.json');
219
216
  if (fs.existsSync(mktCacheSrc)) fs.copyFileSync(mktCacheSrc, path.join(cacheDir, 'marketplace.json'));
220
217
  installedPlugins.plugins['gm@gm-cc'] = [{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-cc",
3
- "version": "2.0.87",
3
+ "version": "2.0.88",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",