gm-kilo 2.0.7 → 2.0.8
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/README.md +11 -1
- package/{cli.mjs → cli.js} +5 -8
- package/{gm.mjs → gm.js} +7 -6
- package/index.js +1 -1
- package/{install.mjs → install.js} +2 -5
- package/package.json +7 -8
package/README.md
CHANGED
|
@@ -2,7 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
## Installation
|
|
4
4
|
|
|
5
|
-
###
|
|
5
|
+
### One-liner (recommended)
|
|
6
|
+
|
|
7
|
+
Install directly from npm using bunx:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
bunx gm-kilo@latest
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
This command will automatically install gm-kilo to the correct location for your platform and restart Kilo to activate.
|
|
14
|
+
|
|
15
|
+
### Manual installation
|
|
6
16
|
|
|
7
17
|
**Windows and Unix:**
|
|
8
18
|
```bash
|
package/{cli.mjs → cli.js}
RENAMED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { execSync } from 'child_process';
|
|
7
|
-
|
|
8
|
-
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
2
|
+
const fs = require('fs');
|
|
3
|
+
const path = require('path');
|
|
4
|
+
const os = require('os');
|
|
5
|
+
const { execSync } = require('child_process');
|
|
9
6
|
|
|
10
7
|
const homeDir = process.env.HOME || process.env.USERPROFILE || os.homedir();
|
|
11
8
|
const destDir = process.platform === 'win32'
|
|
@@ -23,7 +20,7 @@ try {
|
|
|
23
20
|
const filesToCopy = [
|
|
24
21
|
['agents', 'agents'],
|
|
25
22
|
['index.js', 'index.js'],
|
|
26
|
-
['gm.
|
|
23
|
+
['gm.js', 'gm.js'],
|
|
27
24
|
['kilocode.json', 'kilocode.json'],
|
|
28
25
|
['.mcp.json', '.mcp.json'],
|
|
29
26
|
['README.md', 'README.md']
|
package/{gm.mjs → gm.js}
RENAMED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { analyze } from 'mcp-thorns';
|
|
1
|
+
const fs = require('fs');
|
|
2
|
+
const path = require('path');
|
|
3
|
+
const { analyze } = require('mcp-thorns');
|
|
5
4
|
|
|
6
5
|
const SHELL_TOOLS = ['bash'];
|
|
7
6
|
const SEARCH_TOOLS = ['glob', 'grep', 'list'];
|
|
8
7
|
|
|
9
8
|
let thornsOutput = '';
|
|
10
9
|
|
|
11
|
-
|
|
12
|
-
const pluginDir =
|
|
10
|
+
const GmPlugin = async ({ project, client, $, directory, worktree }) => {
|
|
11
|
+
const pluginDir = __dirname;
|
|
13
12
|
let agentRules = '';
|
|
14
13
|
|
|
15
14
|
const loadAgentRules = () => {
|
|
@@ -105,3 +104,5 @@ export const GmPlugin = async ({ project, client, $, directory, worktree }) => {
|
|
|
105
104
|
}
|
|
106
105
|
};
|
|
107
106
|
};
|
|
107
|
+
|
|
108
|
+
module.exports = { GmPlugin };
|
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
module.exports = { GmPlugin: require('./gm.js').GmPlugin };
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { fileURLToPath } from 'url';
|
|
5
|
-
|
|
6
|
-
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
2
|
+
const fs = require('fs');
|
|
3
|
+
const path = require('path');
|
|
7
4
|
|
|
8
5
|
function isInsideNodeModules() {
|
|
9
6
|
return __dirname.includes(path.sep + 'node_modules' + path.sep);
|
package/package.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-kilo",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
4
4
|
"description": "Advanced Claude Code plugin with WFGY integration, MCP tools, and automated hooks",
|
|
5
5
|
"author": "AnEntrypoint",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"
|
|
8
|
-
"main": "gm.mjs",
|
|
7
|
+
"main": "gm.js",
|
|
9
8
|
"bin": {
|
|
10
|
-
"gm-kilo": "./cli.
|
|
11
|
-
"gm-kilo-install": "./install.
|
|
9
|
+
"gm-kilo": "./cli.js",
|
|
10
|
+
"gm-kilo-install": "./install.js"
|
|
12
11
|
},
|
|
13
12
|
"keywords": [
|
|
14
13
|
"kilo",
|
|
@@ -36,13 +35,13 @@
|
|
|
36
35
|
},
|
|
37
36
|
"files": [
|
|
38
37
|
"agents/",
|
|
39
|
-
"gm.
|
|
38
|
+
"gm.js",
|
|
40
39
|
"index.js",
|
|
41
40
|
"kilocode.json",
|
|
42
41
|
".github/",
|
|
43
42
|
".mcp.json",
|
|
44
43
|
"README.md",
|
|
45
|
-
"cli.
|
|
46
|
-
"install.
|
|
44
|
+
"cli.js",
|
|
45
|
+
"install.js"
|
|
47
46
|
]
|
|
48
47
|
}
|