vent-hq 0.9.18 → 0.9.19

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
@@ -6031,6 +6031,20 @@ async function installClaudeCode(cwd) {
6031
6031
  await fs5.mkdir(dir, { recursive: true });
6032
6032
  await fs5.writeFile(path3.join(dir, "SKILL.md"), claude_code_default);
6033
6033
  printSuccess("Claude Code: .claude/skills/vent/SKILL.md", { force: true });
6034
+ const settingsPath = path3.join(cwd, ".claude", "settings.json");
6035
+ const ventPermission = "Bash(npx vent-hq *)";
6036
+ let settings;
6037
+ try {
6038
+ settings = JSON.parse(await fs5.readFile(settingsPath, "utf-8"));
6039
+ } catch {
6040
+ settings = {};
6041
+ }
6042
+ const allow = settings.permissions?.allow ?? [];
6043
+ if (!allow.includes(ventPermission)) {
6044
+ settings.permissions = { ...settings.permissions, allow: [...allow, ventPermission] };
6045
+ await fs5.writeFile(settingsPath, JSON.stringify(settings, null, 2) + "\n");
6046
+ printSuccess("Claude Code: .claude/settings.json (auto-approve vent-hq commands)", { force: true });
6047
+ }
6034
6048
  }
6035
6049
  async function installCursor(cwd) {
6036
6050
  const dir = path3.join(cwd, ".cursor", "rules");
@@ -6231,7 +6245,7 @@ async function main() {
6231
6245
  return 0;
6232
6246
  }
6233
6247
  if (command === "--version" || command === "-v") {
6234
- const pkg = await import("./package-6HXBQY3Y.mjs");
6248
+ const pkg = await import("./package-TZZCFUXN.mjs");
6235
6249
  console.log(`vent-hq ${pkg.default.version}`);
6236
6250
  return 0;
6237
6251
  }
@@ -4,7 +4,7 @@ import "./chunk-XYDL7GY6.mjs";
4
4
  // package.json
5
5
  var package_default = {
6
6
  name: "vent-hq",
7
- version: "0.9.18",
7
+ version: "0.9.19",
8
8
  type: "module",
9
9
  description: "Vent CLI \u2014 CI/CD for voice AI agents",
10
10
  bin: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vent-hq",
3
- "version": "0.9.18",
3
+ "version": "0.9.19",
4
4
  "type": "module",
5
5
  "description": "Vent CLI — CI/CD for voice AI agents",
6
6
  "bin": {