infinicode 2.8.62 → 2.8.63

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.
@@ -116,7 +116,11 @@ function stopAllUnix() {
116
116
  // against a supervised process whose command line didn't match a pattern.
117
117
  for (const port of [47913, 47921, 47922, 8080, 5000, 5057, 8000]) {
118
118
  const lsof = spawnSync('lsof', ['-t', `-i:${port}`], { encoding: 'utf8' });
119
- const pids = (lsof.stdout ?? '').split('\n').map(s => s.trim()).filter(Boolean).map(Number);
119
+ const fuser = spawnSync('fuser', ['-n', 'tcp', String(port)], { encoding: 'utf8' });
120
+ const pids = [...new Set(`${lsof.stdout ?? ''} ${fuser.stdout ?? ''}`
121
+ .split(/\s+/)
122
+ .map(s => Number(s.trim()))
123
+ .filter(Number.isFinite))];
120
124
  for (const pid of pids) {
121
125
  if (pid === self || killedPids.includes(pid))
122
126
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infinicode",
3
- "version": "2.8.62",
3
+ "version": "2.8.63",
4
4
  "description": "OpenKernel — provider-agnostic AI execution kernel. Native coding agent + mission-driven execution runtime.",
5
5
  "type": "module",
6
6
  "main": "./dist/kernel/index.js",