gm-cc 2.0.125 → 2.0.126
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.
- package/.claude-plugin/marketplace.json +1 -1
- package/cli.js +4 -1
- package/package.json +1 -1
- package/plugin.json +1 -1
|
@@ -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.126",
|
|
8
8
|
"metadata": {
|
|
9
9
|
"description": "State machine agent with hooks, skills, and automated git enforcement"
|
|
10
10
|
},
|
package/cli.js
CHANGED
|
@@ -14,7 +14,7 @@ console.log(isUpgrade ? 'Upgrading gm-cc...' : 'Installing gm-cc...');
|
|
|
14
14
|
try {
|
|
15
15
|
fs.mkdirSync(destDir, { recursive: true });
|
|
16
16
|
|
|
17
|
-
const filesToCopy = [
|
|
17
|
+
const filesToCopy = [];
|
|
18
18
|
|
|
19
19
|
function copyRecursive(src, dst) {
|
|
20
20
|
if (!fs.existsSync(src)) return;
|
|
@@ -31,6 +31,9 @@ try {
|
|
|
31
31
|
const { execSync: exec } = require('child_process');
|
|
32
32
|
const run = (cmd) => { try { return exec(cmd, { stdio: 'inherit', env: { ...process.env, CLAUDECODE: '' } }); } catch (e) { console.warn('Warning:', e.message); } };
|
|
33
33
|
|
|
34
|
+
const pluginCacheDir = path.join(homeDir, '.claude', 'plugins', 'cache', 'gm-cc');
|
|
35
|
+
copyRecursive(srcDir, pluginCacheDir);
|
|
36
|
+
|
|
34
37
|
run('claude plugin marketplace add AnEntrypoint/gm-cc');
|
|
35
38
|
run('claude plugin install gm@gm-cc --scope user');
|
|
36
39
|
|
package/package.json
CHANGED