gm-cc 2.0.87 → 2.0.89
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.
|
|
7
|
+
"version": "2.0.89",
|
|
8
8
|
"metadata": {
|
|
9
9
|
"description": "State machine agent with hooks, skills, and automated git enforcement"
|
|
10
10
|
},
|
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
|
-
//
|
|
168
|
-
const
|
|
169
|
-
if (fs.existsSync(
|
|
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
|
-
//
|
|
215
|
-
const
|
|
216
|
-
if (fs.existsSync(
|
|
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'] = [{
|