@pushary/agent-hooks 1.9.155 → 1.9.157

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 (64) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/data/openclaw-plugin/README.md +1 -1
  3. package/data/openclaw-plugin/dist/approval-question.js +5 -5
  4. package/data/openclaw-plugin/dist/file-change-preview.js +67 -23
  5. package/data/openclaw-plugin/package.json +1 -1
  6. package/dist/bin/pushary-bell-hook.js +6 -6
  7. package/dist/bin/pushary-claude.js +5 -5
  8. package/dist/bin/pushary-clean.js +10 -10
  9. package/dist/bin/pushary-codex-hook.js +11 -11
  10. package/dist/bin/pushary-codex-session.js +2 -2
  11. package/dist/bin/pushary-codex.js +2 -2
  12. package/dist/bin/pushary-connect.js +6 -6
  13. package/dist/bin/pushary-daemon.js +8 -8
  14. package/dist/bin/pushary-disconnect.js +5 -5
  15. package/dist/bin/pushary-display-hook.js +1 -1
  16. package/dist/bin/pushary-doctor.js +6 -6
  17. package/dist/bin/pushary-elicitation-hook.js +7 -7
  18. package/dist/bin/pushary-gemini-hook.js +9 -9
  19. package/dist/bin/pushary-hook.js +11 -11
  20. package/dist/bin/pushary-login.js +2 -2
  21. package/dist/bin/pushary-logout.js +6 -6
  22. package/dist/bin/pushary-notification-hook.js +6 -6
  23. package/dist/bin/pushary-opencode-hook.js +9 -9
  24. package/dist/bin/pushary-permission-denied-hook.js +11 -11
  25. package/dist/bin/pushary-permission-hook.js +11 -11
  26. package/dist/bin/pushary-post-hook.js +7 -7
  27. package/dist/bin/pushary-prompt-hook.js +6 -6
  28. package/dist/bin/pushary-session-end-hook.js +6 -6
  29. package/dist/bin/pushary-session-start-hook.js +8 -8
  30. package/dist/bin/pushary-setup.js +13 -13
  31. package/dist/bin/pushary-status.js +5 -5
  32. package/dist/bin/pushary-stop-hook.js +6 -6
  33. package/dist/bin/pushary-stopfailure-hook.js +6 -6
  34. package/dist/bin/pushary-transcript-register.js +3 -3
  35. package/dist/bin/pushary-transcripts.js +3 -3
  36. package/dist/bin/pushary-upgrade.js +6 -6
  37. package/dist/{chunk-B2SZN2C7.js → chunk-2NSPZZBJ.js} +1 -1
  38. package/dist/{chunk-JIH55UHZ.js → chunk-2SHPCEH6.js} +7 -4
  39. package/dist/{chunk-EPYNFHCW.js → chunk-3XTH6EKH.js} +2 -2
  40. package/dist/{chunk-OGB4QCB3.js → chunk-4I4HAPT5.js} +2 -2
  41. package/dist/{chunk-DMWKPUAI.js → chunk-5HMVXNFU.js} +1 -1
  42. package/dist/{chunk-KWHADNCV.js → chunk-5MWNWCCI.js} +1 -1
  43. package/dist/{chunk-HNESCLUJ.js → chunk-6W6MZ53D.js} +1 -1
  44. package/dist/{chunk-FLY6YDPE.js → chunk-7JAEIKBV.js} +2 -2
  45. package/dist/{chunk-5Y5ZB5GG.js → chunk-BO4HRAY7.js} +9 -1
  46. package/dist/{chunk-XZ7AZOUT.js → chunk-C74JHUD3.js} +4 -4
  47. package/dist/{chunk-5C7TFCQH.js → chunk-GA5T3WEB.js} +2 -2
  48. package/dist/{chunk-M2WLCRMX.js → chunk-IQWMRFKD.js} +1 -1
  49. package/dist/{chunk-Y6OGY2G4.js → chunk-KRI7BOND.js} +2 -2
  50. package/dist/{chunk-YPSP7NZI.js → chunk-KURQ4KMV.js} +1 -1
  51. package/dist/{chunk-RALCZD2Z.js → chunk-O2DJWDVK.js} +2 -2
  52. package/dist/{chunk-ALRANF2G.js → chunk-QBDCKECQ.js} +1 -1
  53. package/dist/{chunk-PBKYOLKX.js → chunk-REUFDG7O.js} +1 -1
  54. package/dist/{chunk-XOZ2IFFU.js → chunk-UH5NAPWL.js} +2 -2
  55. package/dist/{chunk-QEKKOZS3.js → chunk-VRLYEBDN.js} +8 -8
  56. package/dist/{chunk-P2OC7VZZ.js → chunk-W2GOSAFI.js} +1 -1
  57. package/dist/{chunk-Q242EVCI.js → chunk-WDU4LEEW.js} +1 -1
  58. package/dist/{chunk-G66WIAST.js → chunk-WHB622LP.js} +1 -1
  59. package/dist/{codex-app-cards-switch-B7GY2ONI.js → codex-app-cards-switch-MQIEZLSU.js} +2 -2
  60. package/dist/{codex-card-routing-6RN4N266.js → codex-card-routing-UTWTJ6YQ.js} +1 -1
  61. package/dist/{codex-desktop-launch-K4GU2NFZ.js → codex-desktop-launch-A6GX6F54.js} +1 -1
  62. package/dist/{reapply-L7QUIQXK.js → reapply-5ZNMLEKV.js} +5 -5
  63. package/dist/src/index.js +11 -11
  64. package/package.json +1 -1
@@ -14,11 +14,11 @@ import {
14
14
  import {
15
15
  clearSnapshotRecipientPins,
16
16
  snapshotRecipientPinFile
17
- } from "../chunk-XOZ2IFFU.js";
18
- import "../chunk-G66WIAST.js";
17
+ } from "../chunk-UH5NAPWL.js";
18
+ import "../chunk-WHB622LP.js";
19
19
  import "../chunk-5TCLBCUO.js";
20
20
  import "../chunk-BMR66K6T.js";
21
- import "../chunk-JIH55UHZ.js";
21
+ import "../chunk-2SHPCEH6.js";
22
22
  import "../chunk-6UGVZTRA.js";
23
23
  import "../chunk-6NRFAP45.js";
24
24
  import {
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  ensureCodexTrustAfterReapply,
30
30
  reapplyAllAgents
31
- } from "../chunk-XZ7AZOUT.js";
31
+ } from "../chunk-C74JHUD3.js";
32
32
  import {
33
33
  HERMES_RESTART_COMMAND,
34
34
  describeCodexTrustConfirmation
@@ -44,7 +44,7 @@ import {
44
44
  import "../chunk-T3LSBTWU.js";
45
45
  import {
46
46
  readMacAppAgentKey
47
- } from "../chunk-HNESCLUJ.js";
47
+ } from "../chunk-6W6MZ53D.js";
48
48
  import "../chunk-EQF6SSQL.js";
49
49
  import "../chunk-UAYNQ2IG.js";
50
50
  import "../chunk-HXX4EFK3.js";
@@ -60,7 +60,7 @@ import {
60
60
  retryAgentCommand
61
61
  } from "../chunk-2N23JFER.js";
62
62
  import "../chunk-DDSMTD4W.js";
63
- import "../chunk-5Y5ZB5GG.js";
63
+ import "../chunk-BO4HRAY7.js";
64
64
  import {
65
65
  exitOnHelpFlag
66
66
  } from "../chunk-MGT2V2AB.js";
@@ -82,7 +82,7 @@ import {
82
82
  readAutoUpdateState,
83
83
  updateAutoUpdateState
84
84
  } from "../chunk-RF7HGOBC.js";
85
- import "../chunk-OGB4QCB3.js";
85
+ import "../chunk-4I4HAPT5.js";
86
86
  import {
87
87
  DAEMON_COLD_START_TIMEOUT_MS,
88
88
  daemonHasRemoteProof,
@@ -97,8 +97,8 @@ import {
97
97
  waitForDaemonRemoteProof
98
98
  } from "../chunk-5TCLBCUO.js";
99
99
  import "../chunk-BMR66K6T.js";
100
- import "../chunk-ALRANF2G.js";
101
- import "../chunk-JIH55UHZ.js";
100
+ import "../chunk-QBDCKECQ.js";
101
+ import "../chunk-2SHPCEH6.js";
102
102
  import "../chunk-6UGVZTRA.js";
103
103
  import "../chunk-6NRFAP45.js";
104
104
  import "../chunk-YPY4YCIZ.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  announceSubscriptionRequired,
3
3
  isDeferAnswer
4
- } from "./chunk-M2WLCRMX.js";
4
+ } from "./chunk-IQWMRFKD.js";
5
5
  import {
6
6
  askUser,
7
7
  isDecisionStopped,
@@ -202,7 +202,9 @@ var parseApplyPatchOps = (command) => {
202
202
  return ops;
203
203
  };
204
204
  var parseApplyPatchFiles = (command) => [...new Set(parseApplyPatchOps(command).map((entry) => entry.path))];
205
- var patchDeletesFiles = (toolName, toolInput) => toolName === "apply_patch" && parseApplyPatchOps(toolInput.command).some((entry) => entry.op === "delete");
205
+ var APPLY_PATCH_TOOL_NAMES = /* @__PURE__ */ new Set(["apply_patch", "applyPatch", "copilot_applyPatch"]);
206
+ var applyPatchTextOf = (input) => firstString(input.command, input.input, input.patch);
207
+ var patchDeletesFiles = (toolName, toolInput) => APPLY_PATCH_TOOL_NAMES.has(toolName) && parseApplyPatchOps(applyPatchTextOf(toolInput)).some((entry) => entry.op === "delete");
206
208
  var OPENCODE_TOOL_NAMES = {
207
209
  bash: "Bash",
208
210
  shell: "Bash",
@@ -255,8 +257,8 @@ var compatibleGateInputs = (profile, toolName, toolInputs, cwd) => {
255
257
  };
256
258
  };
257
259
  var canonicalGateInputs = (source, toolName, toolInputs, cwd) => {
258
- if (source === "codex" && toolName === "apply_patch" || source === "vscode" && ["apply_patch", "applyPatch", "copilot_applyPatch"].includes(toolName)) {
259
- const paths = [...new Set(toolInputs.flatMap((input) => parseApplyPatchFiles(input.command ?? input.input ?? input.patch)))];
260
+ if (source === "codex" && toolName === "apply_patch" || source === "vscode" && APPLY_PATCH_TOOL_NAMES.has(toolName)) {
261
+ const paths = [...new Set(toolInputs.flatMap((input) => parseApplyPatchFiles(applyPatchTextOf(input))))];
260
262
  if (paths.length > GATE_MAX_TOOL_INPUTS) return null;
261
263
  return {
262
264
  toolName: "Edit",
@@ -445,7 +447,8 @@ var rawActionBody = (toolName, toolInput) => {
445
447
  return firstString(toolInput.content) ?? firstString(toolInput.diff);
446
448
  }
447
449
  if (toolName === "ExitPlanMode") return firstString(toolInput.plan);
448
- if (toolName === "Bash" || toolName === "PowerShell" || toolName === "Monitor" || toolName === "run_shell_command" || toolName === "shell" || toolName === "apply_patch") {
450
+ if (APPLY_PATCH_TOOL_NAMES.has(toolName)) return applyPatchTextOf(toolInput);
451
+ if (toolName === "Bash" || toolName === "PowerShell" || toolName === "Monitor" || toolName === "run_shell_command" || toolName === "shell") {
449
452
  return firstString(toolInput.command);
450
453
  }
451
454
  if (toolName === "write_stdin" || toolName === "request_permissions") return JSON.stringify(toolInput, null, 2);
@@ -4,11 +4,11 @@ import {
4
4
  claimThrottle,
5
5
  releaseThrottle,
6
6
  reportEvent
7
- } from "./chunk-ALRANF2G.js";
7
+ } from "./chunk-QBDCKECQ.js";
8
8
  import {
9
9
  deriveToolTarget,
10
10
  permissionDeniedAction
11
- } from "./chunk-JIH55UHZ.js";
11
+ } from "./chunk-2SHPCEH6.js";
12
12
  import {
13
13
  machineDecisionFor,
14
14
  wireVerdictFor
@@ -4,10 +4,10 @@ import {
4
4
  } from "./chunk-BMR66K6T.js";
5
5
  import {
6
6
  CLAUDE_CODE_AGENT
7
- } from "./chunk-ALRANF2G.js";
7
+ } from "./chunk-QBDCKECQ.js";
8
8
  import {
9
9
  compatibleToolLookup
10
- } from "./chunk-JIH55UHZ.js";
10
+ } from "./chunk-2SHPCEH6.js";
11
11
  import {
12
12
  CLAUDE_HOOK_EVENTS,
13
13
  PUSHARY_MCP_URL,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  callDecisionStore,
3
3
  identifyingToolInput
4
- } from "./chunk-ALRANF2G.js";
4
+ } from "./chunk-QBDCKECQ.js";
5
5
  import {
6
6
  canonicalJson
7
7
  } from "./chunk-MH4O453X.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  UNNAMED_ACTION
3
- } from "./chunk-JIH55UHZ.js";
3
+ } from "./chunk-2SHPCEH6.js";
4
4
  import {
5
5
  askUser,
6
6
  isAwayPaused,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  macAppBridgeAvailable
3
- } from "./chunk-5Y5ZB5GG.js";
3
+ } from "./chunk-BO4HRAY7.js";
4
4
  import {
5
5
  keyPrefix
6
6
  } from "./chunk-2LTRA6NA.js";
@@ -4,10 +4,10 @@ import {
4
4
  } from "./chunk-3EF7G5EV.js";
5
5
  import {
6
6
  registerTranscript
7
- } from "./chunk-XOZ2IFFU.js";
7
+ } from "./chunk-UH5NAPWL.js";
8
8
  import {
9
9
  namedEvent
10
- } from "./chunk-OGB4QCB3.js";
10
+ } from "./chunk-4I4HAPT5.js";
11
11
  import {
12
12
  writeDegraded
13
13
  } from "./chunk-ICHKAH5Q.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  compatibleConfigFile
3
- } from "./chunk-OGB4QCB3.js";
3
+ } from "./chunk-4I4HAPT5.js";
4
4
  import {
5
5
  hookOwnerOf,
6
6
  hookOwnerOfCommands
@@ -9,6 +9,7 @@ import {
9
9
  AGENT_CHOICES
10
10
  } from "./chunk-6UGVZTRA.js";
11
11
  import {
12
+ OPENCODE_INSTRUCTIONS_LABEL,
12
13
  bridgeStub,
13
14
  claudeSettings,
14
15
  codexHooksJson,
@@ -16,6 +17,7 @@ import {
16
17
  geminiSettings,
17
18
  guardedArgv,
18
19
  liveBridgeProbe,
20
+ renderAgentInstructions,
19
21
  resolveBridgeStub,
20
22
  vscodePluginDir,
21
23
  windowsNodeLauncherFor
@@ -445,6 +447,11 @@ var OPENCODE_CONFIG_FILE = "opencode.json";
445
447
  var openCodeConfigFile = () => join(openCodeConfigDir(), OPENCODE_CONFIG_FILE);
446
448
  var OPENCODE_INSTRUCTIONS_FILE = "AGENTS.md";
447
449
  var openCodeInstructionsFile = () => join(openCodeConfigDir(), OPENCODE_INSTRUCTIONS_FILE);
450
+ var OPENCODE_QUESTION_TOOL = "question";
451
+ var OPENCODE_QUESTION_NOTE = `In OpenCode, this replaces the guidance above to ask in the terminal while the user is there: ask every question through the Pushary \`ask_user\` tool, even while the user is at this terminal, and not through OpenCode's own \`${OPENCODE_QUESTION_TOOL}\` tool. When Pushary's tools are listed under Code Mode, call them inside \`execute\`, for example \`await tools.pushary.ask_user({ ... })\` and \`await tools.pushary.wait_for_answer({ ... })\`. Otherwise OpenCode lists them as direct tools such as \`pushary_ask_user\`. That includes a question the user asks you to put to them, such as "ask me a multiple choice question": use \`ask_user\` with type "select". Ask one question at a time and wait for its answer before asking the next. OpenCode's question prompt cannot reach the phone or the Mac notch, so a question asked there waits unseen once the user steps away. Ask in your reply or with the \`${OPENCODE_QUESTION_TOOL}\` tool instead only when a Pushary handoffAction tells you to ask here, or when Pushary's tools are listed under neither name or \`ask_user\` fails without a handoffAction.`;
452
+ var openCodeInstructionsBody = () => `${renderAgentInstructions(OPENCODE_INSTRUCTIONS_LABEL)}
453
+
454
+ ${OPENCODE_QUESTION_NOTE}`;
448
455
  var asRecord = (value) => value && typeof value === "object" && !Array.isArray(value) ? value : void 0;
449
456
  var addOpenCodeMcpServer = (config, apiKey) => {
450
457
  const servers = asRecord(config.mcp) ?? {};
@@ -571,6 +578,7 @@ export {
571
578
  openCodeWired,
572
579
  openCodeConfigFile,
573
580
  openCodeInstructionsFile,
581
+ openCodeInstructionsBody,
574
582
  addOpenCodeMcpServer,
575
583
  OPENCODE_ASKED_PERMISSIONS,
576
584
  withOpenCodeAskRules,
@@ -26,11 +26,12 @@ import {
26
26
  macAppBridgeAvailable,
27
27
  openCodeConfigFile,
28
28
  openCodeHookArgv,
29
+ openCodeInstructionsBody,
29
30
  openCodeInstructionsFile,
30
31
  openCodePluginDir,
31
32
  openCodeWired,
32
33
  withOpenCodeAskRules
33
- } from "./chunk-5Y5ZB5GG.js";
34
+ } from "./chunk-BO4HRAY7.js";
34
35
  import {
35
36
  detectClaudeVersion
36
37
  } from "./chunk-MEUAK5BK.js";
@@ -39,7 +40,7 @@ import {
39
40
  compatibleConfigFile,
40
41
  compatibleInstructionsFile,
41
42
  hasCompatibleHooks
42
- } from "./chunk-OGB4QCB3.js";
43
+ } from "./chunk-4I4HAPT5.js";
43
44
  import {
44
45
  GEMINI_HOOK_BINARY,
45
46
  addGeminiHooks,
@@ -63,7 +64,6 @@ import {
63
64
  CODEX_HOOK_BINARY,
64
65
  CODEX_INSTRUCTIONS_LABEL,
65
66
  GEMINI_INSTRUCTIONS_LABEL,
66
- OPENCODE_INSTRUCTIONS_LABEL,
67
67
  addClaudeMcpServer,
68
68
  addCodexHookTrust,
69
69
  addCodexHooks,
@@ -532,7 +532,7 @@ var reapplyAllAgents = async (apiKey, options = {}) => {
532
532
  id: "opencode",
533
533
  label: "OpenCode",
534
534
  run: () => reapplyOpenCodePlugin(),
535
- instructions: () => ({ file: openCodeInstructionsFile(), body: renderAgentInstructions(OPENCODE_INSTRUCTIONS_LABEL) })
535
+ instructions: () => ({ file: openCodeInstructionsFile(), body: openCodeInstructionsBody() })
536
536
  },
537
537
  { id: "fx", label: "fx", run: () => reapplyFxWiring(apiKey), instructions: fxInstructionTarget },
538
538
  { id: "cline", label: CLINE_LABEL, run: () => reapplyClineSettings(apiKey), instructions: clineInstructionTarget },
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-HXX4EFK3.js";
4
4
  import {
5
5
  openCodeConfigDirFrom
6
- } from "./chunk-5Y5ZB5GG.js";
6
+ } from "./chunk-BO4HRAY7.js";
7
7
  import {
8
8
  nativeClaudeInstallPath
9
9
  } from "./chunk-CYTPQDQY.js";
10
10
  import {
11
11
  grokHome
12
- } from "./chunk-OGB4QCB3.js";
12
+ } from "./chunk-4I4HAPT5.js";
13
13
  import {
14
14
  claudeConfigDir,
15
15
  clineDataDirectory,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DEFAULT_SESSION
3
- } from "./chunk-ALRANF2G.js";
3
+ } from "./chunk-QBDCKECQ.js";
4
4
 
5
5
  // src/answer.ts
6
6
  var isDeferAnswer = (value) => value === "defer";
@@ -537,7 +537,7 @@ var loadedOnce = (load) => {
537
537
 
538
538
  // src/codex-desktop-proxy.ts
539
539
  var loadThePhone = () => import("./api-3C62HQDC.js");
540
- var loadTheCardRouting = () => import("./codex-card-routing-6RN4N266.js");
540
+ var loadTheCardRouting = () => import("./codex-card-routing-UTWTJ6YQ.js");
541
541
  var theFirstCardLoadsAgain = () => {
542
542
  };
543
543
  var ASKS_WITHOUT_ROUTING = {};
@@ -1097,7 +1097,7 @@ var codexDesktopCommand = async (args, entry, readAccount) => {
1097
1097
  return runCodexDesktopProxy(engine2, args.slice(3), readAccount, { watchesForCards: layoutIsKnown });
1098
1098
  }
1099
1099
  if (args[0] === APP_CARDS_FLAG) {
1100
- const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-B7GY2ONI.js");
1100
+ const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-MQIEZLSU.js");
1101
1101
  return codexAppCardsCommandOnThisMac(args.slice(1), entry, readAccount);
1102
1102
  }
1103
1103
  if (args.length > 2) throw new Error("Usage: pushary codex --desktop [path/to/Codex.app]");
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  compatibleConfigFile,
3
3
  hasCompatibleHooks
4
- } from "./chunk-OGB4QCB3.js";
4
+ } from "./chunk-4I4HAPT5.js";
5
5
  import {
6
6
  pusharyHookExecutable
7
7
  } from "./chunk-BMR66K6T.js";
@@ -10,7 +10,7 @@ import {
10
10
  openCodeConfigDir,
11
11
  openCodePluginArgv,
12
12
  openCodePluginFile
13
- } from "./chunk-5Y5ZB5GG.js";
13
+ } from "./chunk-BO4HRAY7.js";
14
14
  import {
15
15
  liveCursorGateCoverage
16
16
  } from "./chunk-3EF7G5EV.js";
@@ -19,7 +19,7 @@ import {
19
19
  compatibleHookEvents,
20
20
  grokHome,
21
21
  parseConfigDocument
22
- } from "./chunk-OGB4QCB3.js";
22
+ } from "./chunk-4I4HAPT5.js";
23
23
  import {
24
24
  DEFAULT_HOOKS_KEY_PATH,
25
25
  GEMINI_HOOK_BINARY,
@@ -27,7 +27,7 @@ import {
27
27
  toolResultErrorText,
28
28
  transcriptTokensIn,
29
29
  transcriptUsageRequest
30
- } from "./chunk-JIH55UHZ.js";
30
+ } from "./chunk-2SHPCEH6.js";
31
31
  import {
32
32
  branchFor,
33
33
  repoKeyFor
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-OYIN77HO.js";
6
6
  import {
7
7
  readMacAppAgentKey
8
- } from "./chunk-HNESCLUJ.js";
8
+ } from "./chunk-6W6MZ53D.js";
9
9
  import {
10
10
  API_KEYS_PATH
11
11
  } from "./chunk-EQF6SSQL.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SESSION_HISTORY_RETENTION_DAYS
3
- } from "./chunk-G66WIAST.js";
3
+ } from "./chunk-WHB622LP.js";
4
4
  import {
5
5
  ensureDaemonRunning
6
6
  } from "./chunk-5TCLBCUO.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-BMR66K6T.js";
10
10
  import {
11
11
  hookMeaning
12
- } from "./chunk-JIH55UHZ.js";
12
+ } from "./chunk-2SHPCEH6.js";
13
13
  import {
14
14
  buildTranscriptRecords,
15
15
  changedRecipientsMessage,
@@ -2,7 +2,7 @@ import {
2
2
  forgetPhoneApproval,
3
3
  rememberPhoneApproval,
4
4
  takePhoneApproval
5
- } from "./chunk-DMWKPUAI.js";
5
+ } from "./chunk-5HMVXNFU.js";
6
6
  import {
7
7
  claudeSettingsLocationFor,
8
8
  readClaudePermissionRules
@@ -12,10 +12,10 @@ import {
12
12
  defersToNativeMode,
13
13
  outcomeOfFailedAsk,
14
14
  storedWaitDeadline
15
- } from "./chunk-B2SZN2C7.js";
15
+ } from "./chunk-2NSPZZBJ.js";
16
16
  import {
17
17
  reportMachineDenial
18
- } from "./chunk-EPYNFHCW.js";
18
+ } from "./chunk-3XTH6EKH.js";
19
19
  import {
20
20
  isGatingMoment,
21
21
  recordKeylessMoment
@@ -23,16 +23,16 @@ import {
23
23
  import {
24
24
  isAdmitted,
25
25
  readAdmissionRules
26
- } from "./chunk-FLY6YDPE.js";
26
+ } from "./chunk-7JAEIKBV.js";
27
27
  import {
28
28
  isDeferAnswer,
29
29
  oncePerSession
30
- } from "./chunk-M2WLCRMX.js";
30
+ } from "./chunk-IQWMRFKD.js";
31
31
  import {
32
32
  activeHookSource,
33
33
  activeIdentity,
34
34
  namedSource
35
- } from "./chunk-OGB4QCB3.js";
35
+ } from "./chunk-4I4HAPT5.js";
36
36
  import {
37
37
  DEFAULT_SESSION,
38
38
  approvalAwaitingRetry,
@@ -53,7 +53,7 @@ import {
53
53
  settleQuestionsForToolUse,
54
54
  sweepFilesOlderThan,
55
55
  userScope
56
- } from "./chunk-ALRANF2G.js";
56
+ } from "./chunk-QBDCKECQ.js";
57
57
  import {
58
58
  UNNAMED_ACTION,
59
59
  deriveAction,
@@ -64,7 +64,7 @@ import {
64
64
  patchDeletesFiles,
65
65
  permissionDeniedAction,
66
66
  scopePathFor
67
- } from "./chunk-JIH55UHZ.js";
67
+ } from "./chunk-2SHPCEH6.js";
68
68
  import {
69
69
  branchFor,
70
70
  repoKeyFor,
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  PLAN_CONFIGS,
12
12
  PLAN_TYPES
13
- } from "./chunk-G66WIAST.js";
13
+ } from "./chunk-WHB622LP.js";
14
14
  import {
15
15
  keyPrefix
16
16
  } from "./chunk-2LTRA6NA.js";
@@ -9,7 +9,7 @@ import {
9
9
  installedCodexApp,
10
10
  readCodexAppRuntime,
11
11
  shellQuoted
12
- } from "./chunk-Y6OGY2G4.js";
12
+ } from "./chunk-KRI7BOND.js";
13
13
  import {
14
14
  writeHuman
15
15
  } from "./chunk-QCGNGEGE.js";
@@ -51,7 +51,7 @@ var PLAN_CONFIGS = {
51
51
  subscribers: 5,
52
52
  notifications: Infinity,
53
53
  sites: 1,
54
- members: 5,
54
+ members: 1,
55
55
  campaigns: 0,
56
56
  dataRetentionDays: 90,
57
57
  sessionHistoryRetentionDays: SESSION_HISTORY_RETENTION_DAYS.pro
@@ -22,8 +22,8 @@ import {
22
22
  turnCodexAppCardsOff,
23
23
  turnCodexAppCardsOn,
24
24
  whyLaunchctlFailed
25
- } from "./chunk-Q242EVCI.js";
26
- import "./chunk-Y6OGY2G4.js";
25
+ } from "./chunk-WDU4LEEW.js";
26
+ import "./chunk-KRI7BOND.js";
27
27
  import "./chunk-XCEN33UP.js";
28
28
  import "./chunk-QCGNGEGE.js";
29
29
  import "./chunk-5TCLBCUO.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  deriveToolTarget
3
- } from "./chunk-JIH55UHZ.js";
3
+ } from "./chunk-2SHPCEH6.js";
4
4
  import {
5
5
  TOOL_NAME_MAX_LENGTH,
6
6
  codexElicitationToolName
@@ -11,7 +11,7 @@ import {
11
11
  installedCodexApp,
12
12
  shellQuoted,
13
13
  writeDesktopProxy
14
- } from "./chunk-Y6OGY2G4.js";
14
+ } from "./chunk-KRI7BOND.js";
15
15
  import "./chunk-XCEN33UP.js";
16
16
  import {
17
17
  CODEX_APP_LAUNCH_VARIABLE
@@ -12,20 +12,20 @@ import {
12
12
  reapplyOpenCodePlugin,
13
13
  reapplyVsCodePlugin,
14
14
  repairCodexHolds
15
- } from "./chunk-XZ7AZOUT.js";
15
+ } from "./chunk-C74JHUD3.js";
16
16
  import "./chunk-T3LSBTWU.js";
17
17
  import "./chunk-UAYNQ2IG.js";
18
18
  import "./chunk-HXX4EFK3.js";
19
19
  import "./chunk-S6DJAYQW.js";
20
20
  import "./chunk-2N23JFER.js";
21
21
  import "./chunk-DDSMTD4W.js";
22
- import "./chunk-5Y5ZB5GG.js";
22
+ import "./chunk-BO4HRAY7.js";
23
23
  import "./chunk-MEUAK5BK.js";
24
24
  import "./chunk-CYTPQDQY.js";
25
- import "./chunk-OGB4QCB3.js";
25
+ import "./chunk-4I4HAPT5.js";
26
26
  import "./chunk-BMR66K6T.js";
27
- import "./chunk-ALRANF2G.js";
28
- import "./chunk-JIH55UHZ.js";
27
+ import "./chunk-QBDCKECQ.js";
28
+ import "./chunk-2SHPCEH6.js";
29
29
  import "./chunk-6UGVZTRA.js";
30
30
  import "./chunk-6NRFAP45.js";
31
31
  import "./chunk-YPY4YCIZ.js";
package/dist/src/index.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  handlePreToolUse
3
- } from "../chunk-QEKKOZS3.js";
4
- import "../chunk-DMWKPUAI.js";
3
+ } from "../chunk-VRLYEBDN.js";
4
+ import "../chunk-5HMVXNFU.js";
5
5
  import "../chunk-WSPDIT2B.js";
6
- import "../chunk-B2SZN2C7.js";
7
- import "../chunk-EPYNFHCW.js";
6
+ import "../chunk-2NSPZZBJ.js";
7
+ import "../chunk-3XTH6EKH.js";
8
8
  import "../chunk-C3HYWUZE.js";
9
- import "../chunk-FLY6YDPE.js";
9
+ import "../chunk-7JAEIKBV.js";
10
10
  import "../chunk-3EF7G5EV.js";
11
- import "../chunk-M2WLCRMX.js";
12
- import "../chunk-XOZ2IFFU.js";
13
- import "../chunk-G66WIAST.js";
14
- import "../chunk-OGB4QCB3.js";
11
+ import "../chunk-IQWMRFKD.js";
12
+ import "../chunk-UH5NAPWL.js";
13
+ import "../chunk-WHB622LP.js";
14
+ import "../chunk-4I4HAPT5.js";
15
15
  import "../chunk-5TCLBCUO.js";
16
16
  import "../chunk-BMR66K6T.js";
17
17
  import {
@@ -22,8 +22,8 @@ import {
22
22
  handlePostToolUse,
23
23
  handleStop,
24
24
  reportEvent
25
- } from "../chunk-ALRANF2G.js";
26
- import "../chunk-JIH55UHZ.js";
25
+ } from "../chunk-QBDCKECQ.js";
26
+ import "../chunk-2SHPCEH6.js";
27
27
  import "../chunk-6UGVZTRA.js";
28
28
  import "../chunk-6NRFAP45.js";
29
29
  import "../chunk-YPY4YCIZ.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushary/agent-hooks",
3
- "version": "1.9.155",
3
+ "version": "1.9.157",
4
4
  "description": "Human-in-the-loop (HITL) for AI agents: ask a person for approvals or answers by push notification. One command connects Claude Code, Codex, Cursor, Gemini CLI and more.",
5
5
  "keywords": [
6
6
  "pushary",