vent-hq 0.3.4 → 0.3.5

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
@@ -5285,9 +5285,11 @@ async function deviceAuthFlow() {
5285
5285
  return { ok: false, error: "Could not reach Vent API. Check your connection." };
5286
5286
  }
5287
5287
  printInfo(`Your authorization code: ${startData.user_code}`);
5288
- printInfo(`Opening browser to log in...`);
5288
+ if (process.stdin.isTTY) {
5289
+ printInfo(`Opening browser to log in...`);
5290
+ openBrowser(startData.verification_url);
5291
+ }
5289
5292
  printInfo(`If the browser doesn't open, visit: ${startData.verification_url}`);
5290
- openBrowser(startData.verification_url);
5291
5293
  const deadline = new Date(startData.expires_at).getTime();
5292
5294
  while (Date.now() < deadline) {
5293
5295
  await sleep(POLL_INTERVAL_MS);
@@ -6593,7 +6595,7 @@ async function main() {
6593
6595
  process.exit(0);
6594
6596
  }
6595
6597
  if (command === "--version" || command === "-v") {
6596
- const pkg = await import("./package-HS3NCXYG.mjs");
6598
+ const pkg = await import("./package-FQFVV2WF.mjs");
6597
6599
  process.stdout.write(`vent-hq ${pkg.default.version}
6598
6600
  `);
6599
6601
  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.5",
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.4",
3
+ "version": "0.3.5",
4
4
  "type": "module",
5
5
  "description": "Vent CLI — CI/CD for voice AI agents",
6
6
  "bin": {