agentapprove 0.1.6 → 0.1.7

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.
Files changed (2) hide show
  1. package/dist/cli.js +3 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -2318,7 +2318,7 @@ import { homedir, hostname, platform } from "os";
2318
2318
  import { join, dirname, basename } from "path";
2319
2319
  import { execSync, spawnSync } from "child_process";
2320
2320
  import { randomBytes, createHash } from "crypto";
2321
- var VERSION = "0.1.4";
2321
+ var VERSION = "0.1.7";
2322
2322
  function getApiUrl() {
2323
2323
  return process.env.AGENTAPPROVE_API || "https://api.agentapprove.com";
2324
2324
  }
@@ -2372,10 +2372,10 @@ var AGENTS = {
2372
2372
  configPath: join(homedir(), ".claude", "settings.json"),
2373
2373
  hooksKey: "hooks",
2374
2374
  hooks: [
2375
- { name: "PreToolUse", file: "claude-pre-tool.sh", description: "Before tool execution (approval)", hasMatcher: true, isApprovalHook: true },
2375
+ { name: "PreToolUse", file: "claude-pre-tool.sh", description: "Before tool execution (approval)", hasMatcher: true, isApprovalHook: true, timeout: 300 },
2376
2376
  { name: "PostToolUse", file: "claude-post-tool.sh", description: "After tool execution (logging)", hasMatcher: true },
2377
2377
  { name: "PostToolUseFailure", file: "claude-post-tool-failure.sh", description: "Tool execution failed", hasMatcher: true },
2378
- { name: "PermissionRequest", file: "notify-hook.sh", description: "Permission requests", hasMatcher: true, isApprovalHook: true },
2378
+ { name: "PermissionRequest", file: "notify-hook.sh", description: "Permission requests", hasMatcher: true, isApprovalHook: true, timeout: 300 },
2379
2379
  { name: "UserPromptSubmit", file: "claude-user-prompt.sh", description: "User prompt submitted", hasMatcher: false },
2380
2380
  { name: "Stop", file: "claude-stop.sh", description: "Session/task completed", hasMatcher: false, timeout: 600 },
2381
2381
  { name: "SessionStart", file: "claude-session-start.sh", description: "Session started", hasMatcher: false },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentapprove",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Approve AI agent actions from your iPhone or Apple Watch",
5
5
  "type": "module",
6
6
  "bin": {