pushary 1.9.31 → 1.9.34

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 (105) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/data/SKILL.md +6 -7
  3. package/data/cowork/SKILL.md +2 -2
  4. package/data/cursor-plugin/rules/pushary.mdc +1 -1
  5. package/data/cursor-plugin/skills/pushary/SKILL.md +6 -7
  6. package/data/vscode-plugin/skills/pushary/SKILL.md +6 -7
  7. package/dist/bin/pushary-bell-hook.js +25 -25
  8. package/dist/bin/pushary-bell.js +9 -9
  9. package/dist/bin/pushary-claude.js +24 -24
  10. package/dist/bin/pushary-clean.js +29 -29
  11. package/dist/bin/pushary-codex-bridge.js +17 -17
  12. package/dist/bin/pushary-codex-hook.js +30 -30
  13. package/dist/bin/pushary-codex.js +12 -12
  14. package/dist/bin/pushary-connect.js +24 -24
  15. package/dist/bin/pushary-cowork.js +5 -5
  16. package/dist/bin/pushary-daemon.js +32 -32
  17. package/dist/bin/pushary-disconnect.js +24 -24
  18. package/dist/bin/pushary-doctor.js +33 -33
  19. package/dist/bin/pushary-elicitation-hook.js +25 -25
  20. package/dist/bin/pushary-gemini-bridge.js +13 -13
  21. package/dist/bin/pushary-gemini-hook.js +27 -27
  22. package/dist/bin/pushary-hook.js +29 -29
  23. package/dist/bin/pushary-login.js +12 -12
  24. package/dist/bin/pushary-logout.js +24 -24
  25. package/dist/bin/pushary-mcp.js +9 -9
  26. package/dist/bin/pushary-mode.js +12 -12
  27. package/dist/bin/pushary-notification-hook.js +24 -24
  28. package/dist/bin/pushary-opencode-hook.js +26 -26
  29. package/dist/bin/pushary-permission-denied-hook.js +29 -29
  30. package/dist/bin/pushary-permission-hook.js +28 -28
  31. package/dist/bin/pushary-post-hook.js +24 -24
  32. package/dist/bin/pushary-prompt-hook.js +24 -24
  33. package/dist/bin/pushary-session-end-hook.js +24 -24
  34. package/dist/bin/pushary-session-start-hook.js +28 -28
  35. package/dist/bin/pushary-setup.js +35 -35
  36. package/dist/bin/pushary-stats.js +5 -5
  37. package/dist/bin/pushary-status.js +26 -26
  38. package/dist/bin/pushary-stop-hook.js +24 -24
  39. package/dist/bin/pushary-stopfailure-hook.js +24 -24
  40. package/dist/bin/pushary-suggestions.js +12 -12
  41. package/dist/bin/pushary-transcript-register.js +17 -17
  42. package/dist/bin/pushary-transcripts.js +7 -7
  43. package/dist/bin/pushary-upgrade.js +30 -30
  44. package/dist/bin/pushary-wait.js +12 -12
  45. package/dist/bin/pushary.js +6 -6
  46. package/dist/{chunk-4WGKAGIU.js → chunk-22YSHBTI.js} +3 -3
  47. package/dist/{chunk-IDGESFKZ.js → chunk-36ZCFJUI.js} +1 -1
  48. package/dist/{chunk-GROYT52D.js → chunk-3FOPVVNO.js} +4 -4
  49. package/dist/{chunk-5EX2SD5N.js → chunk-3LS3GFJW.js} +1 -1
  50. package/dist/{chunk-2ROXUEZV.js → chunk-45OXG3VR.js} +1 -1
  51. package/dist/{chunk-EPVY3JU3.js → chunk-4PIAOJAW.js} +1 -1
  52. package/dist/{chunk-AXANUGOV.js → chunk-4TFD3WAA.js} +2 -2
  53. package/dist/{chunk-35RJKPIC.js → chunk-57FFQR46.js} +1 -1
  54. package/dist/{chunk-FXJ5SEQT.js → chunk-6OGDGQTT.js} +5 -5
  55. package/dist/{chunk-TDLEFGAM.js → chunk-7FQL5NWJ.js} +117 -99
  56. package/dist/{chunk-SYUHM6V3.js → chunk-7IVV4LLF.js} +3 -3
  57. package/dist/{chunk-SAHD5DYW.js → chunk-7S7H7V5V.js} +4 -4
  58. package/dist/{chunk-SJJA2GPD.js → chunk-7UGGCTTW.js} +2 -2
  59. package/dist/{chunk-Q2GSTQ3R.js → chunk-A455TSHF.js} +2 -2
  60. package/dist/{chunk-CJCVPCOB.js → chunk-A5FFSXZE.js} +2 -2
  61. package/dist/{chunk-ALSIMOFS.js → chunk-B5RLJ6QD.js} +4 -4
  62. package/dist/{chunk-7447DYNW.js → chunk-CK3W7Q5S.js} +1 -1
  63. package/dist/{chunk-GSBOLJZ4.js → chunk-CPYOJRDN.js} +85 -48
  64. package/dist/{chunk-IKJJB4QG.js → chunk-DCBSD22V.js} +3 -3
  65. package/dist/{chunk-4JOWKPUF.js → chunk-DQKEGNTI.js} +1 -1
  66. package/dist/{chunk-D3TVRNZC.js → chunk-E2OZZZKP.js} +2 -2
  67. package/dist/{chunk-QGCEQGH6.js → chunk-EGTRIM74.js} +4 -4
  68. package/dist/{chunk-X5HK4XUN.js → chunk-EJWSE7S7.js} +5 -5
  69. package/dist/{chunk-N4LLBUU2.js → chunk-FDNMQEU6.js} +2 -2
  70. package/dist/{chunk-VFNYTVTJ.js → chunk-FPYBX36E.js} +5 -5
  71. package/dist/{chunk-OSUAY4SA.js → chunk-FQQSW7MD.js} +1 -1
  72. package/dist/{chunk-5F32ZTWD.js → chunk-FYQG2UTK.js} +2 -2
  73. package/dist/{chunk-QCOE42GO.js → chunk-GC3SUMYD.js} +4 -4
  74. package/dist/{chunk-FEICGRNI.js → chunk-H52HBSOD.js} +3 -3
  75. package/dist/{chunk-IIP4LEO3.js → chunk-HJNCVY5F.js} +7 -7
  76. package/dist/{chunk-H2PQXK26.js → chunk-HQKYWUBF.js} +2 -2
  77. package/dist/{chunk-BMUTA66M.js → chunk-HVUBWLER.js} +11 -11
  78. package/dist/{chunk-7S4Z36H7.js → chunk-IRU7DKJW.js} +3 -3
  79. package/dist/{chunk-3EIJDBVB.js → chunk-LOYSI2CZ.js} +5 -5
  80. package/dist/{chunk-MG523AVN.js → chunk-NKAMF2YJ.js} +1 -1
  81. package/dist/{chunk-KBRKQMCI.js → chunk-NMQLY4PE.js} +2 -2
  82. package/dist/{chunk-464FX6W5.js → chunk-OZMGO4WF.js} +6 -7
  83. package/dist/{chunk-77J4RVB2.js → chunk-PEEJP4HN.js} +4 -4
  84. package/dist/{chunk-OS6AE2MR.js → chunk-QJ3ENGBT.js} +3 -3
  85. package/dist/{chunk-X427XA76.js → chunk-SMRMWDFE.js} +8 -8
  86. package/dist/{chunk-MRR4NQ3H.js → chunk-SMSX4TCC.js} +1 -1
  87. package/dist/{chunk-SQIZGUAN.js → chunk-U7CN5HG2.js} +5 -5
  88. package/dist/{chunk-5FNE6ZVV.js → chunk-UDECNZYI.js} +2 -2
  89. package/dist/{chunk-NTWTU6FA.js → chunk-ULJFIF5N.js} +1 -1
  90. package/dist/{chunk-SRRJLA24.js → chunk-UPRNSD2T.js} +4 -4
  91. package/dist/{chunk-OTDRNEED.js → chunk-V4ZIG66K.js} +1 -1
  92. package/dist/{chunk-DP2FAIW6.js → chunk-VTAC5FBZ.js} +1 -1
  93. package/dist/{chunk-OULHOX5C.js → chunk-WFPXKCN4.js} +5 -5
  94. package/dist/{chunk-RN3KZDWP.js → chunk-WMB3OCI4.js} +2 -2
  95. package/dist/{chunk-75UCMLT5.js → chunk-WPSI4246.js} +1 -1
  96. package/dist/{chunk-ZYDSHR5P.js → chunk-XLXG6MA5.js} +3 -3
  97. package/dist/{chunk-5GDNIEL5.js → chunk-YABMIGR3.js} +1 -1
  98. package/dist/{chunk-FGFFUCEL.js → chunk-YRDNKY77.js} +6 -6
  99. package/dist/{chunk-Q7H2IMJQ.js → chunk-Z6HDYK2A.js} +2 -2
  100. package/dist/{global-upgrade-YMBTZHDP.js → global-upgrade-IZCB4WIE.js} +6 -6
  101. package/dist/{paths-BPFRUWMB.js → paths-4WAA57P5.js} +2 -2
  102. package/dist/{reapply-ZC2LSUVZ.js → reapply-GJ73ZHDD.js} +20 -20
  103. package/dist/src/index.js +19 -19
  104. package/dist/{upgrade-lock-TTZMLZPB.js → upgrade-lock-J5PIKSYV.js} +3 -3
  105. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveInstallSourceFor
3
- } from "./chunk-KBRKQMCI.js";
3
+ } from "./chunk-NMQLY4PE.js";
4
4
  import {
5
5
  backupFile,
6
6
  readJsonSafe,
@@ -9,11 +9,11 @@ import {
9
9
  } from "./chunk-AQFEP65J.js";
10
10
  import {
11
11
  configFilePath
12
- } from "./chunk-5EX2SD5N.js";
12
+ } from "./chunk-3LS3GFJW.js";
13
13
  import {
14
14
  API_KEY_PREFIX_PATTERN,
15
15
  isRecord
16
- } from "./chunk-TDLEFGAM.js";
16
+ } from "./chunk-7FQL5NWJ.js";
17
17
 
18
18
  // src/shell-alias.ts
19
19
  import { homedir } from "os";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PRETOOLUSE_GATED_TOOLS
3
- } from "./chunk-TDLEFGAM.js";
3
+ } from "./chunk-7FQL5NWJ.js";
4
4
 
5
5
  // src/claude-tools.ts
6
6
  var POSTTOOLUSE_MIRROR_ONLY_TOOLS = ["TodoWrite", "Task", "WebFetch", "WebSearch"];
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-SRRJLA24.js";
3
+ } from "./chunk-UPRNSD2T.js";
4
4
  import {
5
5
  readJsonSafe
6
6
  } from "./chunk-AQFEP65J.js";
7
7
  import {
8
8
  isRecord
9
- } from "./chunk-TDLEFGAM.js";
9
+ } from "./chunk-7FQL5NWJ.js";
10
10
 
11
11
  // src/process-ownership.ts
12
12
  import { createHash, randomUUID } from "crypto";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  macAppBridgeAvailable
3
- } from "./chunk-OULHOX5C.js";
3
+ } from "./chunk-WFPXKCN4.js";
4
4
  import {
5
5
  keyPrefix
6
- } from "./chunk-IKJJB4QG.js";
6
+ } from "./chunk-DCBSD22V.js";
7
7
  import {
8
8
  bridgeAgentKey
9
- } from "./chunk-SRRJLA24.js";
9
+ } from "./chunk-UPRNSD2T.js";
10
10
  import {
11
11
  readJsonSafe
12
12
  } from "./chunk-AQFEP65J.js";
13
13
  import {
14
14
  isValidApiKey
15
- } from "./chunk-TDLEFGAM.js";
15
+ } from "./chunk-7FQL5NWJ.js";
16
16
 
17
17
  // src/shared-mcp-key.ts
18
18
  var asRecord = (value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0;
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  MCP_BRIDGE_BINARY
3
- } from "./chunk-5FNE6ZVV.js";
3
+ } from "./chunk-UDECNZYI.js";
4
4
  import {
5
5
  KEY_FILE_MODE
6
- } from "./chunk-IKJJB4QG.js";
6
+ } from "./chunk-DCBSD22V.js";
7
7
  import {
8
8
  NpmMissingError,
9
9
  NpmPermissionError
10
- } from "./chunk-SRRJLA24.js";
10
+ } from "./chunk-UPRNSD2T.js";
11
11
  import {
12
12
  readJsonSafe,
13
13
  writeFileAtomic,
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-AQFEP65J.js";
16
16
  import {
17
17
  NPX_LATEST_COMMAND
18
- } from "./chunk-2ROXUEZV.js";
18
+ } from "./chunk-45OXG3VR.js";
19
19
 
20
20
  // src/instruction-file.ts
21
21
  import { existsSync, readFileSync, writeFileSync, mkdirSync, rmSync } from "fs";
@@ -37,7 +37,7 @@ You have Pushary MCP tools that reach the user on their phone. Use them proactiv
37
37
  - Use \`cancel_question\` to retract a pending question once it is no longer needed.
38
38
  - Respect the user's Pushary delivery mode: it decides where an approval is surfaced (phone, terminal, or awareness only), not whether it is required. In Terminal mode do not expect a phone answer; the approval waits in the terminal. If the Pushary hook already gated an action, a single approval is enough, do not ask again.
39
39
 
40
- Pass \`agentName\` as "${label} - <project folder name>" so the user knows which session is asking. If a question times out, follow \`handoffAction\` when present, otherwise \`nextAction\`: poll once, then cancel a live phone question before asking in the current client. If cancellation returns \`handoffAction: "stop"\`, stop. Otherwise, if cancellation returns false, poll once for 1 second and honor the answer that won the race.`;
40
+ Pass \`agentName\` as "${label} - <project folder name>" so the user knows which session is asking. If a question times out, follow \`handoffAction\` when present, otherwise \`nextAction\`: keep waiting with the same correlationId while pending. A poll ending is not question expiry. Cancel only for an explicit handoff or when the answer is no longer needed. If cancellation returns \`handoffAction: "stop"\`, stop. Otherwise, if cancellation returns false, poll once for 1 second and honor the answer that won the race.`;
41
41
  var SHARED_AGENTS_MD_LABEL = "<your agent's name, such as Codex or Hermes>";
42
42
  var renderAgentInstructions = (label) => instructionBody(label);
43
43
  var KEYLESS_FALLBACK_LINE = "This repo uses Pushary phone approvals. Your teammates get agent questions on their lock screens; you do not have a key yet, so questions will fall back to the terminal. Get your own key (3-day trial): https://pushary.com/sign-up?utm_source=agents-md&utm_medium=teammate";
@@ -4,10 +4,10 @@ import {
4
4
  keyPrefix,
5
5
  readConfigFileKey,
6
6
  readMacAppKeyPrefix
7
- } from "./chunk-IKJJB4QG.js";
7
+ } from "./chunk-DCBSD22V.js";
8
8
  import {
9
9
  NPX_LATEST_COMMAND
10
- } from "./chunk-2ROXUEZV.js";
10
+ } from "./chunk-45OXG3VR.js";
11
11
 
12
12
  // src/key-signed-out.ts
13
13
  var VERDICT_BY_CHECK = {
@@ -4,14 +4,14 @@ import {
4
4
  } from "./chunk-XHKBHWLX.js";
5
5
  import {
6
6
  readControlMode
7
- } from "./chunk-IKJJB4QG.js";
7
+ } from "./chunk-DCBSD22V.js";
8
8
  import {
9
9
  getMachineId
10
- } from "./chunk-NTWTU6FA.js";
10
+ } from "./chunk-ULJFIF5N.js";
11
11
  import {
12
12
  pusharyDir,
13
13
  resolveGlobalBinary
14
- } from "./chunk-SRRJLA24.js";
14
+ } from "./chunk-UPRNSD2T.js";
15
15
  import {
16
16
  readJsonSafe,
17
17
  writeFileAtomic,
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-AQFEP65J.js";
21
21
  import {
22
22
  getApiKey
23
- } from "./chunk-5EX2SD5N.js";
23
+ } from "./chunk-3LS3GFJW.js";
24
24
  import {
25
25
  CLI_PACKAGE_NAMES,
26
26
  cmdShimTarget,
@@ -28,7 +28,7 @@ import {
28
28
  globalPackageFolder,
29
29
  globalRootFor,
30
30
  isRecord
31
- } from "./chunk-TDLEFGAM.js";
31
+ } from "./chunk-7FQL5NWJ.js";
32
32
 
33
33
  // src/daemon-lifecycle.ts
34
34
  import { dirname, join, win32 as win32Path } from "path";
@@ -2,7 +2,7 @@ import {
2
2
  autoUpdateLock,
3
3
  installPackageGlobally,
4
4
  npmErrorMessage
5
- } from "./chunk-SRRJLA24.js";
5
+ } from "./chunk-UPRNSD2T.js";
6
6
  import {
7
7
  writeJsonAtomic
8
8
  } from "./chunk-AQFEP65J.js";
@@ -6,12 +6,12 @@ import {
6
6
  permissionDeniedAction,
7
7
  releaseThrottle,
8
8
  reportEvent
9
- } from "./chunk-X427XA76.js";
9
+ } from "./chunk-SMRMWDFE.js";
10
10
  import {
11
11
  machineDecisionFor,
12
12
  shouldDeferToNativeMode,
13
13
  wireVerdictFor
14
- } from "./chunk-TDLEFGAM.js";
14
+ } from "./chunk-7FQL5NWJ.js";
15
15
 
16
16
  // src/machine-decision-audit.ts
17
17
  import { basename } from "path";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  compatibleConfigFile,
3
3
  hasCompatibleHooks
4
- } from "./chunk-SAHD5DYW.js";
4
+ } from "./chunk-7S7H7V5V.js";
5
5
  import {
6
6
  pusharyHookExecutable
7
- } from "./chunk-FXJ5SEQT.js";
7
+ } from "./chunk-6OGDGQTT.js";
8
8
  import {
9
9
  isProtectedByScope,
10
10
  registerHookEntry
11
- } from "./chunk-SRRJLA24.js";
11
+ } from "./chunk-UPRNSD2T.js";
12
12
  import {
13
13
  isRecord
14
- } from "./chunk-TDLEFGAM.js";
14
+ } from "./chunk-7FQL5NWJ.js";
15
15
 
16
16
  // src/cursor-config.ts
17
17
  var hookCommandOf = (entry) => {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  keyCheckFromResponse
3
- } from "./chunk-SYUHM6V3.js";
3
+ } from "./chunk-7IVV4LLF.js";
4
4
  import {
5
5
  installNetworkDefaults
6
- } from "./chunk-4WGKAGIU.js";
6
+ } from "./chunk-22YSHBTI.js";
7
7
  import {
8
8
  getBaseUrl
9
- } from "./chunk-5EX2SD5N.js";
9
+ } from "./chunk-3LS3GFJW.js";
10
10
 
11
11
  // src/retry.ts
12
12
  var isRetryable = (err) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ensureCodexTrustsPusharyHooks
3
- } from "./chunk-Q2GSTQ3R.js";
3
+ } from "./chunk-A455TSHF.js";
4
4
  import {
5
5
  detectClaudeVersion
6
6
  } from "./chunk-RIVNNBEK.js";
@@ -12,7 +12,7 @@ import {
12
12
  openCodeHookArgv,
13
13
  openCodePluginDir,
14
14
  openCodeWired
15
- } from "./chunk-OULHOX5C.js";
15
+ } from "./chunk-WFPXKCN4.js";
16
16
  import {
17
17
  addClaudeMcpServer,
18
18
  addCompatibleHooks,
@@ -20,7 +20,7 @@ import {
20
20
  addPusharyToolPermissions,
21
21
  compatibleConfigFile,
22
22
  hasCompatibleHooks
23
- } from "./chunk-SAHD5DYW.js";
23
+ } from "./chunk-7S7H7V5V.js";
24
24
  import {
25
25
  claudeUnprovenHolds,
26
26
  claudeWired,
@@ -28,7 +28,7 @@ import {
28
28
  codexWired,
29
29
  geminiWired,
30
30
  planHooks
31
- } from "./chunk-FXJ5SEQT.js";
31
+ } from "./chunk-6OGDGQTT.js";
32
32
  import {
33
33
  CLAUDE_HOOK_BINARY,
34
34
  CLAUDE_HOOK_EVENTS,
@@ -39,7 +39,7 @@ import {
39
39
  needsReregistration,
40
40
  registrationSignatures,
41
41
  supportedClaudeEvents
42
- } from "./chunk-OS6AE2MR.js";
42
+ } from "./chunk-QJ3ENGBT.js";
43
43
  import {
44
44
  formatVersion
45
45
  } from "./chunk-6ICPEJY5.js";
@@ -63,7 +63,7 @@ import {
63
63
  resolveGlobalBinDir,
64
64
  resolveGlobalBinary,
65
65
  vscodePluginMcp
66
- } from "./chunk-SRRJLA24.js";
66
+ } from "./chunk-UPRNSD2T.js";
67
67
  import {
68
68
  readJsonSafe,
69
69
  writeFileAtomic,
@@ -73,7 +73,7 @@ import {
73
73
  HOOK_COMPATIBLE_PROFILES,
74
74
  isCompatibleAgentType,
75
75
  isRecord
76
- } from "./chunk-TDLEFGAM.js";
76
+ } from "./chunk-7FQL5NWJ.js";
77
77
 
78
78
  // src/reapply.ts
79
79
  import { dirname, join } from "path";
@@ -3,11 +3,11 @@ import {
3
3
  decodePublicKey,
4
4
  generateSessionKey,
5
5
  wrapSessionKey
6
- } from "./chunk-7447DYNW.js";
6
+ } from "./chunk-CK3W7Q5S.js";
7
7
  import {
8
8
  fetchTranscriptRecipients,
9
9
  uploadTranscriptRecords
10
- } from "./chunk-EPVY3JU3.js";
10
+ } from "./chunk-4PIAOJAW.js";
11
11
 
12
12
  // src/live-session.ts
13
13
  var MAX_TRANSCRIPT_QUEUE = 100;
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  defersToNativeMode,
3
3
  reportMachineDenial
4
- } from "./chunk-5F32ZTWD.js";
4
+ } from "./chunk-FYQG2UTK.js";
5
5
  import {
6
6
  isGatingMoment,
7
7
  recordKeylessMoment
8
- } from "./chunk-DP2FAIW6.js";
8
+ } from "./chunk-VTAC5FBZ.js";
9
9
  import {
10
10
  announceSubscriptionRequired,
11
11
  isDeferAnswer,
12
12
  oncePerSession
13
- } from "./chunk-MG523AVN.js";
13
+ } from "./chunk-NKAMF2YJ.js";
14
14
  import {
15
15
  activeHookSource,
16
16
  activeIdentity
17
- } from "./chunk-SAHD5DYW.js";
17
+ } from "./chunk-7S7H7V5V.js";
18
18
  import {
19
19
  DEFAULT_SESSION,
20
20
  UNNAMED_ACTION,
@@ -39,7 +39,7 @@ import {
39
39
  reportEvent,
40
40
  scopePathFor,
41
41
  settleQuestionsForToolUse
42
- } from "./chunk-X427XA76.js";
42
+ } from "./chunk-SMRMWDFE.js";
43
43
  import {
44
44
  askUser,
45
45
  cancelQuestion,
@@ -52,20 +52,20 @@ import {
52
52
  sendNotification,
53
53
  waitForQuestion,
54
54
  waitsForThePhone
55
- } from "./chunk-464FX6W5.js";
55
+ } from "./chunk-OZMGO4WF.js";
56
56
  import {
57
57
  SubscriptionRequiredError
58
- } from "./chunk-FEICGRNI.js";
58
+ } from "./chunk-H52HBSOD.js";
59
59
  import {
60
60
  getMachineId
61
- } from "./chunk-NTWTU6FA.js";
61
+ } from "./chunk-ULJFIF5N.js";
62
62
  import {
63
63
  getApiKey,
64
64
  getBaseUrl
65
- } from "./chunk-5EX2SD5N.js";
65
+ } from "./chunk-3LS3GFJW.js";
66
66
  import {
67
67
  NPX_LATEST_COMMAND
68
- } from "./chunk-2ROXUEZV.js";
68
+ } from "./chunk-45OXG3VR.js";
69
69
  import {
70
70
  AGENT_QUESTION_STRATEGY,
71
71
  DECISION_STOP_REASON,
@@ -110,7 +110,7 @@ import {
110
110
  resolveGate,
111
111
  timeoutActionWithoutLocalPrompt,
112
112
  unansweredRefusalReason
113
- } from "./chunk-TDLEFGAM.js";
113
+ } from "./chunk-7FQL5NWJ.js";
114
114
 
115
115
  // src/claude-permission-rules.ts
116
116
  import { readFileSync, statSync } from "fs";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  openCodeConfigDirFrom
3
- } from "./chunk-OULHOX5C.js";
3
+ } from "./chunk-WFPXKCN4.js";
4
4
  import {
5
5
  codexHomeFrom,
6
6
  resolvePathBinary
7
- } from "./chunk-SRRJLA24.js";
7
+ } from "./chunk-UPRNSD2T.js";
8
8
  import {
9
9
  HOOK_COMPATIBLE_PROFILES
10
- } from "./chunk-TDLEFGAM.js";
10
+ } from "./chunk-7FQL5NWJ.js";
11
11
 
12
12
  // src/hermes-config.ts
13
13
  import { execFileSync } from "child_process";
@@ -4,7 +4,7 @@ import {
4
4
  forkFinishWithUpgradeLock,
5
5
  installWithUpgradeLock,
6
6
  releaseAutoUpdateLock
7
- } from "./chunk-OSUAY4SA.js";
7
+ } from "./chunk-FQQSW7MD.js";
8
8
  import {
9
9
  describeAutoUpdateCheck,
10
10
  globalInstallLocation,
@@ -14,7 +14,7 @@ import {
14
14
  readAutoUpdateState,
15
15
  updateAutoUpdateState,
16
16
  upgradeEntryFor
17
- } from "./chunk-SJJA2GPD.js";
17
+ } from "./chunk-7UGGCTTW.js";
18
18
  import {
19
19
  EXIT
20
20
  } from "./chunk-KZERVKTD.js";
@@ -27,10 +27,10 @@ import {
27
27
  npmErrorMessage,
28
28
  readGlobalCliInstallAt,
29
29
  readGlobalPrefix
30
- } from "./chunk-SRRJLA24.js";
30
+ } from "./chunk-UPRNSD2T.js";
31
31
  import {
32
32
  NPX_LATEST_COMMAND
33
- } from "./chunk-2ROXUEZV.js";
33
+ } from "./chunk-45OXG3VR.js";
34
34
  import {
35
35
  commandsPackage,
36
36
  globalUpgradeEntry,
@@ -39,7 +39,7 @@ import {
39
39
  isSameMajorVersion,
40
40
  ownPackageRoot,
41
41
  packageVersionAt
42
- } from "./chunk-TDLEFGAM.js";
42
+ } from "./chunk-7FQL5NWJ.js";
43
43
 
44
44
  // src/global-upgrade.ts
45
45
  import { existsSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DEFAULT_SESSION
3
- } from "./chunk-X427XA76.js";
3
+ } from "./chunk-SMRMWDFE.js";
4
4
 
5
5
  // src/answer.ts
6
6
  var isDeferAnswer = (value) => value === "defer";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  configFilePath
3
- } from "./chunk-5EX2SD5N.js";
3
+ } from "./chunk-3LS3GFJW.js";
4
4
  import {
5
5
  normalizeInstallSource
6
- } from "./chunk-TDLEFGAM.js";
6
+ } from "./chunk-7FQL5NWJ.js";
7
7
 
8
8
  // src/install-source.ts
9
9
  import { readFileSync } from "fs";
@@ -5,27 +5,26 @@ import {
5
5
  import {
6
6
  SubscriptionRequiredError,
7
7
  callMcpTool
8
- } from "./chunk-FEICGRNI.js";
8
+ } from "./chunk-H52HBSOD.js";
9
9
  import {
10
10
  installNetworkDefaults,
11
11
  isNetworkFailure
12
- } from "./chunk-4WGKAGIU.js";
12
+ } from "./chunk-22YSHBTI.js";
13
13
  import {
14
14
  clientReportClaims
15
- } from "./chunk-SRRJLA24.js";
15
+ } from "./chunk-UPRNSD2T.js";
16
16
  import {
17
17
  getApiKey,
18
18
  getBaseUrl
19
- } from "./chunk-5EX2SD5N.js";
19
+ } from "./chunk-3LS3GFJW.js";
20
20
  import {
21
21
  ASK_AGENT_NAME_MAX,
22
- ASK_QUESTION_MAX,
23
22
  CLIENT_REPORT_PATH,
24
23
  DECISION_LINE_MAX,
25
24
  GATE_PERMISSION_MODE_MAX_LENGTH,
26
25
  degradedLine,
27
26
  truncateLine
28
- } from "./chunk-TDLEFGAM.js";
27
+ } from "./chunk-7FQL5NWJ.js";
29
28
 
30
29
  // src/client-report-claim.ts
31
30
  import { createHash } from "crypto";
@@ -194,7 +193,7 @@ var truncateOptional = (text, max) => text === void 0 ? void 0 : truncateLine(te
194
193
  var boundedPermissionMode = (value) => typeof value === "string" && value.length > 0 ? value.slice(0, GATE_PERMISSION_MODE_MAX_LENGTH) : void 0;
195
194
  var withinAskUserLimits = (params) => ({
196
195
  ...params,
197
- question: truncateLine(params.question, ASK_QUESTION_MAX),
196
+ question: params.question,
198
197
  agentName: truncateOptional(params.agentName, ASK_AGENT_NAME_MAX),
199
198
  intent: truncateOptional(params.intent, DECISION_LINE_MAX),
200
199
  action: truncateOptional(params.action, DECISION_LINE_MAX),
@@ -2,25 +2,25 @@ import {
2
2
  SIGNED_OUT_ON_MAC_MESSAGE,
3
3
  describeSignedOutKey,
4
4
  readSignedOutDiagnosis
5
- } from "./chunk-N4LLBUU2.js";
5
+ } from "./chunk-FDNMQEU6.js";
6
6
  import {
7
7
  createIo
8
8
  } from "./chunk-FO3MDD26.js";
9
9
  import {
10
10
  readKeySource
11
- } from "./chunk-IKJJB4QG.js";
11
+ } from "./chunk-DCBSD22V.js";
12
12
  import {
13
13
  absoluteUrl,
14
14
  checkApiKey,
15
15
  describeKeyCheck,
16
16
  keyCheckFromResponse
17
- } from "./chunk-SYUHM6V3.js";
17
+ } from "./chunk-7IVV4LLF.js";
18
18
  import {
19
19
  EXIT
20
20
  } from "./chunk-KZERVKTD.js";
21
21
  import {
22
22
  getBaseUrl
23
- } from "./chunk-5EX2SD5N.js";
23
+ } from "./chunk-3LS3GFJW.js";
24
24
 
25
25
  // src/cli/report-key.ts
26
26
  var { dim, yellow } = createIo();
@@ -5,16 +5,16 @@ import {
5
5
  import {
6
6
  NOTIFICATION_MATCHED_TYPES,
7
7
  POSTTOOLUSE_MIRRORED_TOOLS
8
- } from "./chunk-4JOWKPUF.js";
8
+ } from "./chunk-DQKEGNTI.js";
9
9
  import {
10
10
  isProtectedByScope,
11
11
  registerHookEntry
12
- } from "./chunk-SRRJLA24.js";
12
+ } from "./chunk-UPRNSD2T.js";
13
13
  import {
14
14
  CLAUDE_PRETOOLUSE_MATCHER,
15
15
  HOOK_BUDGETS,
16
16
  HOOK_LOCATOR_BINARY
17
- } from "./chunk-TDLEFGAM.js";
17
+ } from "./chunk-7FQL5NWJ.js";
18
18
 
19
19
  // src/gemini-config.ts
20
20
  var GEMINI_HOOK_BINARY = "pushary-gemini-hook";
@@ -2,7 +2,7 @@ import {
2
2
  IDLE_PROMPT_NOTIFICATION,
3
3
  NOTIFICATION_PUSH_TYPES,
4
4
  POSTTOOLUSE_MIRROR_ONLY_TOOLS
5
- } from "./chunk-4JOWKPUF.js";
5
+ } from "./chunk-DQKEGNTI.js";
6
6
  import {
7
7
  cancelQuestion,
8
8
  clientErrorKindOf,
@@ -10,26 +10,26 @@ import {
10
10
  reportClientError,
11
11
  sendNotification,
12
12
  waitForAnswer
13
- } from "./chunk-464FX6W5.js";
13
+ } from "./chunk-OZMGO4WF.js";
14
14
  import {
15
15
  withRetry
16
- } from "./chunk-FEICGRNI.js";
16
+ } from "./chunk-H52HBSOD.js";
17
17
  import {
18
18
  getMachineId
19
- } from "./chunk-NTWTU6FA.js";
19
+ } from "./chunk-ULJFIF5N.js";
20
20
  import {
21
21
  reportedInstallSource
22
- } from "./chunk-KBRKQMCI.js";
22
+ } from "./chunk-NMQLY4PE.js";
23
23
  import {
24
24
  canonicalJson
25
- } from "./chunk-SRRJLA24.js";
25
+ } from "./chunk-UPRNSD2T.js";
26
26
  import {
27
27
  writeFileAtomic
28
28
  } from "./chunk-AQFEP65J.js";
29
29
  import {
30
30
  getApiKey,
31
31
  getBaseUrl
32
- } from "./chunk-5EX2SD5N.js";
32
+ } from "./chunk-3LS3GFJW.js";
33
33
  import {
34
34
  ACTION_BODY_MAX,
35
35
  AGENT_LABELS_BY_TYPE,
@@ -63,7 +63,7 @@ import {
63
63
  toToolLookup,
64
64
  truncateLine,
65
65
  unansweredRefusalReason
66
- } from "./chunk-TDLEFGAM.js";
66
+ } from "./chunk-7FQL5NWJ.js";
67
67
 
68
68
  // ../hook-mapping/src/describe.ts
69
69
  import { isAbsolute, relative, resolve } from "path";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readTranscriptPreference
3
- } from "./chunk-IKJJB4QG.js";
3
+ } from "./chunk-DCBSD22V.js";
4
4
 
5
5
  // src/transcript-setting.ts
6
6
  var transcriptEnvironmentPreference = () => {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  APPROVAL_SETTINGS_PATH
3
- } from "./chunk-77J4RVB2.js";
3
+ } from "./chunk-PEEJP4HN.js";
4
4
  import {
5
5
  readMacAppAgentKey
6
- } from "./chunk-QGCEQGH6.js";
6
+ } from "./chunk-EGTRIM74.js";
7
7
  import {
8
8
  findExportedKeyLines,
9
9
  isAdoptedMacAppKey,
@@ -13,13 +13,13 @@ import {
13
13
  readConfigFileKey,
14
14
  readKeySource,
15
15
  readMacAppKeyPrefix
16
- } from "./chunk-IKJJB4QG.js";
16
+ } from "./chunk-DCBSD22V.js";
17
17
  import {
18
18
  absoluteUrl
19
- } from "./chunk-SYUHM6V3.js";
19
+ } from "./chunk-7IVV4LLF.js";
20
20
  import {
21
21
  isValidApiKey
22
- } from "./chunk-TDLEFGAM.js";
22
+ } from "./chunk-7FQL5NWJ.js";
23
23
 
24
24
  // src/key-revocation.ts
25
25
  var SELF_REVOKE_PATH = "/api/v1/server/keys/self/revoke";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  parseSseMessages
3
- } from "./chunk-FEICGRNI.js";
3
+ } from "./chunk-H52HBSOD.js";
4
4
  import {
5
5
  NPX_LATEST_COMMAND
6
- } from "./chunk-2ROXUEZV.js";
6
+ } from "./chunk-45OXG3VR.js";
7
7
 
8
8
  // src/mcp-stdio-bridge.ts
9
9
  var MCP_BRIDGE_BINARY = "pushary-mcp";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-SRRJLA24.js";
3
+ } from "./chunk-UPRNSD2T.js";
4
4
  import {
5
5
  writeFileAtomic
6
6
  } from "./chunk-AQFEP65J.js";