vent-hq 0.3.1 → 0.3.2

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
@@ -5317,6 +5317,15 @@ async function deviceAuthFlow() {
5317
5317
 
5318
5318
  // src/commands/login.ts
5319
5319
  async function loginCommand(args) {
5320
+ if (args.status) {
5321
+ const key = await loadApiKey();
5322
+ if (key) {
5323
+ printSuccess(`Logged in (${key.slice(0, 12)}...)`);
5324
+ return 0;
5325
+ }
5326
+ printInfo("Not logged in. Run `npx vent-hq login`.");
5327
+ return 1;
5328
+ }
5320
5329
  if (args.apiKey) {
5321
5330
  if (!validateApiKeyFormat(args.apiKey)) {
5322
5331
  printError("Invalid API key. Keys start with 'vent_'.");
@@ -6576,7 +6585,7 @@ async function main() {
6576
6585
  process.exit(0);
6577
6586
  }
6578
6587
  if (command === "--version" || command === "-v") {
6579
- const pkg = await import("./package-ZOYF7B4B.mjs");
6588
+ const pkg = await import("./package-EJBYITGH.mjs");
6580
6589
  process.stdout.write(`vent-hq ${pkg.default.version}
6581
6590
  `);
6582
6591
  process.exit(0);
@@ -6674,11 +6683,12 @@ async function main() {
6674
6683
  const { values } = parseArgs({
6675
6684
  args: commandArgs,
6676
6685
  options: {
6677
- "api-key": { type: "string" }
6686
+ "api-key": { type: "string" },
6687
+ status: { type: "boolean", default: false }
6678
6688
  },
6679
6689
  strict: true
6680
6690
  });
6681
- exitCode = await loginCommand({ apiKey: values["api-key"] });
6691
+ exitCode = await loginCommand({ apiKey: values["api-key"], status: values.status });
6682
6692
  break;
6683
6693
  }
6684
6694
  case "logout": {
@@ -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.2",
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.1",
3
+ "version": "0.3.2",
4
4
  "type": "module",
5
5
  "description": "Vent CLI — CI/CD for voice AI agents",
6
6
  "bin": {