vent-hq 0.3.2 → 0.3.3

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
@@ -6094,6 +6094,13 @@ function findBinary(name) {
6094
6094
  return false;
6095
6095
  }
6096
6096
  }
6097
+ function detectActiveEditor() {
6098
+ if (process.env.CLAUDECODE) return "claude-code";
6099
+ if (process.env.CURSOR_TRACE_ID) return "cursor";
6100
+ if (process.env.CODEX) return "codex";
6101
+ if (process.env.TERM_PROGRAM === "vscode") return "cursor";
6102
+ return null;
6103
+ }
6097
6104
  var home = homedir2();
6098
6105
  var allEditors = [
6099
6106
  {
@@ -6166,8 +6173,12 @@ async function initCommand(args) {
6166
6173
  }
6167
6174
  selected = result;
6168
6175
  } else {
6169
- selected = detectedIds.length > 0 ? detectedIds : allEditors.map((e) => e.id);
6170
- printInfo(`Auto-selecting ${selected.length} coding agent(s).`);
6176
+ const activeId = detectActiveEditor();
6177
+ if (activeId) {
6178
+ selected = [activeId];
6179
+ } else {
6180
+ selected = detectedIds.length > 0 ? detectedIds : allEditors.map((e) => e.id);
6181
+ }
6171
6182
  }
6172
6183
  for (const id of selected) {
6173
6184
  const editor = allEditors.find((e) => e.id === id);
@@ -6585,7 +6596,7 @@ async function main() {
6585
6596
  process.exit(0);
6586
6597
  }
6587
6598
  if (command === "--version" || command === "-v") {
6588
- const pkg = await import("./package-EJBYITGH.mjs");
6599
+ const pkg = await import("./package-D5HVLPN5.mjs");
6589
6600
  process.stdout.write(`vent-hq ${pkg.default.version}
6590
6601
  `);
6591
6602
  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.3",
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.2",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "description": "Vent CLI — CI/CD for voice AI agents",
6
6
  "bin": {