gm-kilo 1.0.0 → 1.0.1
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/bin/gm-kilo.js +2 -15
- package/package.json +1 -1
package/bin/gm-kilo.js
CHANGED
|
@@ -11,21 +11,8 @@ const kiloConfigPath = path.join(homeDir, '.kilo', 'config.yml');
|
|
|
11
11
|
async function setup() {
|
|
12
12
|
console.log('🚀 Setting up gm-kilo (Kilo CLI)...\n');
|
|
13
13
|
|
|
14
|
-
//
|
|
15
|
-
console.log('
|
|
16
|
-
try {
|
|
17
|
-
const plugkitCmd = process.platform === 'win32'
|
|
18
|
-
? `bun x gm-plugkit@latest spool > /dev/null 2>&1 &`
|
|
19
|
-
: `bun x gm-plugkit@latest spool > /dev/null 2>&1 &`;
|
|
20
|
-
execSync(plugkitCmd, { stdio: 'inherit' });
|
|
21
|
-
await new Promise(r => setTimeout(r, 2000));
|
|
22
|
-
console.log('✅ plugkit started\n');
|
|
23
|
-
} catch (e) {
|
|
24
|
-
console.log('⚠️ plugkit may already be running\n');
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// Step 2: Create Kilo config if needed
|
|
28
|
-
console.log('2️⃣ Configuring Kilo CLI...');
|
|
14
|
+
// Configure Kilo CLI
|
|
15
|
+
console.log('Configuring Kilo CLI...');
|
|
29
16
|
try {
|
|
30
17
|
const configDir = path.dirname(kiloConfigPath);
|
|
31
18
|
if (!fs.existsSync(configDir)) {
|