@vellumai/cli 0.4.16 → 0.4.17
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/package.json +1 -1
- package/src/lib/process.ts +5 -2
package/package.json
CHANGED
package/src/lib/process.ts
CHANGED
|
@@ -13,8 +13,11 @@ function isVellumProcess(pid: number): boolean {
|
|
|
13
13
|
timeout: 3000,
|
|
14
14
|
stdio: ["ignore", "pipe", "ignore"],
|
|
15
15
|
}).trim();
|
|
16
|
-
// Match daemon
|
|
17
|
-
|
|
16
|
+
// Match daemon/gateway binaries (vellum-daemon, vellum-gateway), npm
|
|
17
|
+
// package names (@vellumai/*), or bun-run source invocations where the
|
|
18
|
+
// command line may only show "bun run src/index.ts" without any
|
|
19
|
+
// vellum-specific path component (e.g. gateway launched from its cwd).
|
|
20
|
+
return /vellum|@vellumai|bun\s+(run\s+)?src\/index\.ts/.test(output);
|
|
18
21
|
} catch {
|
|
19
22
|
return false;
|
|
20
23
|
}
|