create-walle 0.6.2 → 0.6.3

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.
@@ -287,11 +287,14 @@ function stopQuiet(dir, port) {
287
287
  if (process.platform === 'darwin' && fs.existsSync(plist)) {
288
288
  try { execFileSync('launchctl', ['unload', plist], { stdio: 'ignore' }); } catch {}
289
289
  }
290
- // Kill process on the port directly
291
- try {
292
- const pids = execFileSync('lsof', ['-ti', ':' + port], { encoding: 'utf8', timeout: 3000 }).trim().split('\n').filter(Boolean);
293
- for (const pid of pids) { try { process.kill(parseInt(pid), 'SIGTERM'); } catch {} }
294
- } catch {}
290
+ // Kill CTM and Wall-E processes
291
+ const wallePort = String(parseInt(port) + 1);
292
+ for (const p of [port, wallePort]) {
293
+ try {
294
+ const pids = execFileSync('lsof', ['-ti', ':' + p], { encoding: 'utf8', timeout: 3000 }).trim().split('\n').filter(Boolean);
295
+ for (const pid of pids) { try { process.kill(parseInt(pid), 'SIGTERM'); } catch {} }
296
+ } catch {}
297
+ }
295
298
  // Brief wait for port to free
296
299
  const deadline = Date.now() + 5000;
297
300
  while (Date.now() < deadline) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-walle",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Wall-E — your personal digital twin. AI agent that learns from Slack, email & calendar. Includes dashboard, chat, and 7 bundled skills.",
5
5
  "bin": {
6
6
  "create-walle": "bin/create-walle.js"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "walle",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "private": true,
5
5
  "description": "Wall-E — your personal digital twin",
6
6
  "scripts": {