vent-hq 0.2.4 → 0.2.6
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 +4 -15
- package/dist/package-6FHUK5HG.mjs +51 -0
- package/dist/package-HFLRO6PN.mjs +51 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -372,7 +372,6 @@ var bold = (s) => isTTY ? `\x1B[1m${s}\x1B[0m` : s;
|
|
|
372
372
|
var dim = (s) => isTTY ? `\x1B[2m${s}\x1B[0m` : s;
|
|
373
373
|
var green = (s) => isTTY ? `\x1B[32m${s}\x1B[0m` : s;
|
|
374
374
|
var red = (s) => isTTY ? `\x1B[31m${s}\x1B[0m` : s;
|
|
375
|
-
var yellow = (s) => isTTY ? `\x1B[33m${s}\x1B[0m` : s;
|
|
376
375
|
var blue = (s) => isTTY ? `\x1B[34m${s}\x1B[0m` : s;
|
|
377
376
|
function printEvent(event, jsonMode) {
|
|
378
377
|
if (jsonMode) {
|
|
@@ -496,10 +495,6 @@ function printSuccess(message) {
|
|
|
496
495
|
process.stderr.write(green("\u2714") + ` ${message}
|
|
497
496
|
`);
|
|
498
497
|
}
|
|
499
|
-
function printWarn(message) {
|
|
500
|
-
process.stderr.write(yellow("\u26A0") + ` ${message}
|
|
501
|
-
`);
|
|
502
|
-
}
|
|
503
498
|
|
|
504
499
|
// src/commands/run.ts
|
|
505
500
|
async function runCommand(args) {
|
|
@@ -6173,7 +6168,7 @@ async function initCommand(args) {
|
|
|
6173
6168
|
await saveApiKey(args.apiKey);
|
|
6174
6169
|
printSuccess("API key saved to ~/.vent/credentials");
|
|
6175
6170
|
} else if (key) {
|
|
6176
|
-
|
|
6171
|
+
printSuccess("Authenticated.");
|
|
6177
6172
|
} else {
|
|
6178
6173
|
if (!process.stdin.isTTY) {
|
|
6179
6174
|
printError("No API key found. Pass --api-key or set VENT_API_KEY.");
|
|
@@ -6188,7 +6183,7 @@ async function initCommand(args) {
|
|
|
6188
6183
|
}
|
|
6189
6184
|
const detectedIds = allEditors.filter((e) => e.detect()).map((e) => e.id);
|
|
6190
6185
|
const selected = await Lt2({
|
|
6191
|
-
message: "Which
|
|
6186
|
+
message: "Which coding agent do you use?",
|
|
6192
6187
|
options: allEditors.map((e) => ({
|
|
6193
6188
|
value: e.id,
|
|
6194
6189
|
label: e.name,
|
|
@@ -6214,22 +6209,16 @@ async function initCommand(args) {
|
|
|
6214
6209
|
if (!suiteExists) {
|
|
6215
6210
|
await fs3.mkdir(path2.dirname(suitePath), { recursive: true });
|
|
6216
6211
|
await fs3.writeFile(suitePath, SUITE_SCAFFOLD + "\n");
|
|
6217
|
-
printSuccess(".vent/suite.json created \u2014 edit connection and tests for your agent");
|
|
6218
|
-
} else {
|
|
6219
|
-
printInfo(".vent/suite.json already exists, skipping.");
|
|
6220
6212
|
}
|
|
6221
6213
|
if (existsSync(path2.join(cwd, "package.json"))) {
|
|
6222
6214
|
const pm = detectPackageManager(cwd);
|
|
6223
6215
|
const installCmd = pm === "npm" ? "npm install vent-hq --save-dev" : `${pm} add -D vent-hq`;
|
|
6224
|
-
printInfo(`Installing vent-hq as dev dependency (${pm})...`);
|
|
6225
6216
|
try {
|
|
6226
6217
|
execSync(installCmd, { cwd, stdio: "pipe" });
|
|
6227
|
-
printSuccess("vent-hq added to devDependencies");
|
|
6228
6218
|
} catch {
|
|
6229
|
-
printWarn("Could not install vent-hq as dev dependency. Install manually: npm install vent-hq --save-dev");
|
|
6230
6219
|
}
|
|
6231
6220
|
}
|
|
6232
|
-
printSuccess("
|
|
6221
|
+
printSuccess("Ready \u2014 your coding agent can now make test calls with `npx vent-hq run`.");
|
|
6233
6222
|
return 0;
|
|
6234
6223
|
}
|
|
6235
6224
|
|
|
@@ -6281,7 +6270,7 @@ async function main() {
|
|
|
6281
6270
|
process.exit(0);
|
|
6282
6271
|
}
|
|
6283
6272
|
if (command === "--version" || command === "-v") {
|
|
6284
|
-
const pkg = await import("./package-
|
|
6273
|
+
const pkg = await import("./package-HFLRO6PN.mjs");
|
|
6285
6274
|
process.stdout.write(`vent-hq ${pkg.default.version}
|
|
6286
6275
|
`);
|
|
6287
6276
|
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.2.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
|
+
};
|
|
@@ -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.2.6",
|
|
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
|
+
};
|