vent-hq 0.3.8 → 0.3.9

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/dist/index.mjs CHANGED
@@ -5264,8 +5264,18 @@ async function streamStatus(runId, apiKey, json) {
5264
5264
  // src/lib/browser.ts
5265
5265
  import { exec } from "node:child_process";
5266
5266
  function openBrowser(url) {
5267
- const cmd = process.platform === "darwin" ? `open -g "${url}"` : process.platform === "win32" ? `start "" "${url}"` : `xdg-open "${url}"`;
5268
- exec(cmd);
5267
+ if (process.platform === "darwin") {
5268
+ exec(`osascript -e '
5269
+ tell application "System Events" to set frontApp to name of first process whose frontmost is true
5270
+ do shell script "open " & quoted form of "${url}"
5271
+ delay 0.5
5272
+ tell application frontApp to activate
5273
+ '`);
5274
+ } else if (process.platform === "win32") {
5275
+ exec(`start "" "${url}"`);
5276
+ } else {
5277
+ exec(`xdg-open "${url}"`);
5278
+ }
5269
5279
  }
5270
5280
 
5271
5281
  // src/lib/auth.ts
@@ -6593,7 +6603,7 @@ async function main() {
6593
6603
  process.exit(0);
6594
6604
  }
6595
6605
  if (command === "--version" || command === "-v") {
6596
- const pkg = await import("./package-2YEWDPZ4.mjs");
6606
+ const pkg = await import("./package-7I4SIVQD.mjs");
6597
6607
  process.stdout.write(`vent-hq ${pkg.default.version}
6598
6608
  `);
6599
6609
  process.exit(0);
@@ -0,0 +1,51 @@
1
+ #!/usr/bin/env node
2
+ import "./chunk-U4M3XDTH.mjs";
3
+
4
+ // package.json
5
+ var package_default = {
6
+ name: "vent-hq",
7
+ version: "0.3.9",
8
+ type: "module",
9
+ description: "Vent CLI \u2014 CI/CD for voice AI agents",
10
+ bin: {
11
+ "vent-hq": "dist/index.mjs"
12
+ },
13
+ files: [
14
+ "dist"
15
+ ],
16
+ scripts: {
17
+ build: "node scripts/bundle.mjs",
18
+ clean: "rm -rf dist"
19
+ },
20
+ keywords: [
21
+ "vent",
22
+ "cli",
23
+ "voice",
24
+ "agent",
25
+ "testing",
26
+ "ci-cd"
27
+ ],
28
+ license: "MIT",
29
+ publishConfig: {
30
+ access: "public"
31
+ },
32
+ repository: {
33
+ type: "git",
34
+ url: "https://github.com/vent-hq/vent",
35
+ directory: "packages/cli"
36
+ },
37
+ homepage: "https://ventmcp.dev",
38
+ dependencies: {
39
+ "@clack/prompts": "^1.1.0",
40
+ ws: "^8.18.0"
41
+ },
42
+ devDependencies: {
43
+ "@types/ws": "^8.5.0",
44
+ "@vent/relay-client": "workspace:*",
45
+ "@vent/shared": "workspace:*",
46
+ esbuild: "^0.24.0"
47
+ }
48
+ };
49
+ export {
50
+ package_default as default
51
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vent-hq",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "type": "module",
5
5
  "description": "Vent CLI — CI/CD for voice AI agents",
6
6
  "bin": {