pushary 1.9.233 → 1.9.235

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 (147) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +29 -3
  3. package/data/cursor-plugin/README.md +30 -3
  4. package/data/openclaw-plugin/README.md +26 -0
  5. package/data/openclaw-plugin/package.json +1 -1
  6. package/data/vscode-plugin/README.md +30 -3
  7. package/dist/{api-OGSNXX5I.js → api-UVFEVNJD.js} +11 -11
  8. package/dist/bin/pushary-audit.js +3 -3
  9. package/dist/bin/pushary-bell-hook.js +28 -28
  10. package/dist/bin/pushary-bell.js +12 -12
  11. package/dist/bin/pushary-calls.js +15 -15
  12. package/dist/bin/pushary-claude.js +26 -26
  13. package/dist/bin/pushary-clean.js +39 -39
  14. package/dist/bin/pushary-codex-bridge.js +23 -23
  15. package/dist/bin/pushary-codex-hook.js +34 -34
  16. package/dist/bin/pushary-codex-session.js +8 -8
  17. package/dist/bin/pushary-codex.js +16 -16
  18. package/dist/bin/pushary-connect.js +35 -35
  19. package/dist/bin/pushary-cowork.js +5 -5
  20. package/dist/bin/pushary-daemon.js +46 -46
  21. package/dist/bin/pushary-disconnect.js +30 -30
  22. package/dist/bin/pushary-display-hook.js +8 -5
  23. package/dist/bin/pushary-doctor.js +47 -47
  24. package/dist/bin/pushary-elicitation-hook.js +27 -27
  25. package/dist/bin/pushary-gemini-bridge.js +18 -18
  26. package/dist/bin/pushary-gemini-hook.js +31 -31
  27. package/dist/bin/pushary-hook.js +35 -35
  28. package/dist/bin/pushary-login.js +23 -23
  29. package/dist/bin/pushary-logout.js +31 -31
  30. package/dist/bin/pushary-mcp.js +12 -12
  31. package/dist/bin/pushary-mode.js +16 -16
  32. package/dist/bin/pushary-notification-hook.js +27 -27
  33. package/dist/bin/pushary-opencode-bridge.js +22 -22
  34. package/dist/bin/pushary-opencode-hook.js +32 -32
  35. package/dist/bin/pushary-permission-denied-hook.js +34 -34
  36. package/dist/bin/pushary-permission-hook.js +35 -35
  37. package/dist/bin/pushary-post-hook.js +28 -28
  38. package/dist/bin/pushary-prompt-hook.js +27 -27
  39. package/dist/bin/pushary-session-end-hook.js +27 -27
  40. package/dist/bin/pushary-session-start-hook.js +39 -39
  41. package/dist/bin/pushary-sessions.js +12 -12
  42. package/dist/bin/pushary-setup.js +367 -109
  43. package/dist/bin/pushary-stats.js +5 -5
  44. package/dist/bin/pushary-status.js +36 -36
  45. package/dist/bin/pushary-stop-hook.js +27 -27
  46. package/dist/bin/pushary-stopfailure-hook.js +27 -27
  47. package/dist/bin/pushary-suggestions.js +16 -16
  48. package/dist/bin/pushary-transcript-register.js +17 -17
  49. package/dist/bin/pushary-transcripts.js +26 -26
  50. package/dist/bin/pushary-upgrade.js +47 -47
  51. package/dist/bin/pushary-wait.js +16 -16
  52. package/dist/bin/pushary.js +7 -7
  53. package/dist/{chunk-3DME4GIN.js → chunk-2QUYUFYQ.js} +7 -7
  54. package/dist/{chunk-LFJOCVHG.js → chunk-3B5FQ542.js} +2 -2
  55. package/dist/{chunk-22N3UUS4.js → chunk-3C2XMGXE.js} +3 -3
  56. package/dist/{chunk-TAXD56ZD.js → chunk-3K2S4OW7.js} +10 -33
  57. package/dist/{chunk-XO64RMVL.js → chunk-3QQY5USW.js} +4 -4
  58. package/dist/{chunk-A6VE7WBN.js → chunk-4CEGJAEB.js} +1 -1
  59. package/dist/{chunk-GA4IZMXT.js → chunk-4QQ3HXGR.js} +3 -3
  60. package/dist/{chunk-KVLYD2EE.js → chunk-4UIVOCDT.js} +1 -1
  61. package/dist/{chunk-FFMM7VZH.js → chunk-52PIW2SN.js} +3 -3
  62. package/dist/{chunk-KGMSC4Y4.js → chunk-5DRTR5FC.js} +5 -5
  63. package/dist/{chunk-DOC3PQTD.js → chunk-5QLIXOVT.js} +1 -1
  64. package/dist/{chunk-RXLKOYN3.js → chunk-6H3RBEHP.js} +1 -1
  65. package/dist/{chunk-X6GHL4KM.js → chunk-7B2DHU32.js} +16 -16
  66. package/dist/{chunk-LYO34MJ4.js → chunk-7MRK2WXT.js} +4 -3
  67. package/dist/{chunk-KHL6NLZN.js → chunk-7XCL66ON.js} +2 -2
  68. package/dist/{chunk-WNZR4KFV.js → chunk-A2GO3G2I.js} +6 -6
  69. package/dist/{chunk-UKBHJNN4.js → chunk-AA54OZM2.js} +5 -5
  70. package/dist/{chunk-Q473YQNT.js → chunk-BBZ3BBZC.js} +4 -4
  71. package/dist/{chunk-GIF3SFYU.js → chunk-BJRPBKE7.js} +12 -4
  72. package/dist/{chunk-WHMZT7EG.js → chunk-CSXA4HMV.js} +2 -2
  73. package/dist/{chunk-SOIG3VQU.js → chunk-DN6HPGCI.js} +5 -5
  74. package/dist/{chunk-2SHF7DI5.js → chunk-DW7ZQX7L.js} +1 -1
  75. package/dist/{chunk-PKENJCUM.js → chunk-E6IFBGZF.js} +2 -2
  76. package/dist/{chunk-HWQFHEHX.js → chunk-EINN22XV.js} +2 -2
  77. package/dist/{chunk-MHGXV2UI.js → chunk-ELP65DFC.js} +1 -1
  78. package/dist/{chunk-3ZDGQGBL.js → chunk-FCQ52N4E.js} +8 -8
  79. package/dist/{chunk-SHAZ6DT6.js → chunk-FEVQDABQ.js} +2 -2
  80. package/dist/{chunk-XT7RG6WO.js → chunk-FKX7SWNT.js} +7 -7
  81. package/dist/{chunk-TM5LRIUB.js → chunk-FMWG4X3D.js} +5 -5
  82. package/dist/{chunk-KAO2GIZQ.js → chunk-FUJZW3R5.js} +1 -1
  83. package/dist/{chunk-AX6S5V22.js → chunk-FZN7TKSM.js} +1 -1
  84. package/dist/{chunk-G6ZSGVZL.js → chunk-G5EKU4RB.js} +3 -3
  85. package/dist/{chunk-4UKOA6F5.js → chunk-G5OTSL26.js} +3 -3
  86. package/dist/{chunk-HCKJEXJJ.js → chunk-GPD4BB76.js} +1 -1
  87. package/dist/{chunk-546OR2Y5.js → chunk-GSB62GNT.js} +4 -4
  88. package/dist/{chunk-X5M3LLDZ.js → chunk-H4364HR3.js} +5 -5
  89. package/dist/{chunk-X275KIXO.js → chunk-H5TBR4BB.js} +5 -5
  90. package/dist/{chunk-CIT3XX7B.js → chunk-HDD23XYP.js} +11 -11
  91. package/dist/{chunk-JGEIHCPR.js → chunk-HI3LOBT5.js} +9 -7
  92. package/dist/{chunk-4PWUPWPY.js → chunk-HJSW3MH2.js} +2 -2
  93. package/dist/{chunk-KBZJUOJJ.js → chunk-HPFGXE6Y.js} +6 -6
  94. package/dist/{chunk-5JB4JJF5.js → chunk-ICLT2KA5.js} +1 -1
  95. package/dist/{chunk-UDPXFSUQ.js → chunk-JF3ONE4H.js} +2 -2
  96. package/dist/{chunk-WNSBSSTB.js → chunk-JF4VX754.js} +1 -1
  97. package/dist/{chunk-FG2EF7PP.js → chunk-JFXYGMV5.js} +4 -4
  98. package/dist/{chunk-OC5SCORI.js → chunk-JM6EAV42.js} +5 -5
  99. package/dist/{chunk-V6YWRP4V.js → chunk-JPKOYDQJ.js} +6 -6
  100. package/dist/{chunk-RXXHQXMO.js → chunk-JYFMVOML.js} +1 -1
  101. package/dist/{chunk-JZZ62IV5.js → chunk-K6PBTBLO.js} +4 -4
  102. package/dist/{chunk-ARBMPOYR.js → chunk-KTJHZVCD.js} +3 -3
  103. package/dist/{chunk-5F2FKQQ6.js → chunk-LDX3KQMJ.js} +2 -2
  104. package/dist/{chunk-FZMLD3MF.js → chunk-LIYQSMYK.js} +4 -4
  105. package/dist/{chunk-ETIAYTAI.js → chunk-M64A2Z2F.js} +1 -1
  106. package/dist/{chunk-2UUCN62T.js → chunk-MHZSIN5K.js} +3 -3
  107. package/dist/{chunk-LW4AG6EP.js → chunk-MN6DXDJR.js} +6 -6
  108. package/dist/{chunk-WNWN4U2V.js → chunk-MQSO2S3H.js} +1 -1
  109. package/dist/{chunk-A54UFNGF.js → chunk-NDXTGRZG.js} +1 -1
  110. package/dist/{chunk-KABI55PA.js → chunk-OSDIFFSP.js} +3 -3
  111. package/dist/{chunk-32ZIGQNS.js → chunk-OV2XD2UY.js} +1 -1
  112. package/dist/{chunk-EVGZE3TK.js → chunk-Q5SVRCFU.js} +1 -1
  113. package/dist/{chunk-JGVXURHK.js → chunk-RV5LIW3K.js} +12 -12
  114. package/dist/{chunk-ML6AWSKK.js → chunk-SFIYMKWT.js} +5 -5
  115. package/dist/{chunk-PYMLNBAY.js → chunk-TAXOI6AK.js} +4 -4
  116. package/dist/{chunk-URMAZGQN.js → chunk-TGM2WHUG.js} +2 -2
  117. package/dist/{chunk-GKWFLK7K.js → chunk-TMN7LKDC.js} +7 -7
  118. package/dist/{chunk-2R5HU7EL.js → chunk-TWACA7ER.js} +9 -9
  119. package/dist/{chunk-TAW3Z5NA.js → chunk-UIBQDALO.js} +3 -3
  120. package/dist/{chunk-J2GQIBMK.js → chunk-ULDUDSTW.js} +6 -2
  121. package/dist/{chunk-W7HK5KMH.js → chunk-URDT623B.js} +1 -1
  122. package/dist/{chunk-E6XGP76X.js → chunk-V4ZQBKI6.js} +1 -1
  123. package/dist/{chunk-KJMIFUE2.js → chunk-V7ULGI7U.js} +4 -4
  124. package/dist/{chunk-QHR2T5EW.js → chunk-VPG6QENY.js} +10 -10
  125. package/dist/{chunk-HU5IFHHG.js → chunk-WMCF6PR5.js} +3 -3
  126. package/dist/{chunk-J4X5T5DO.js → chunk-WVJFHP75.js} +1 -1
  127. package/dist/{chunk-MBYHALGD.js → chunk-WY2UKKLD.js} +1 -1
  128. package/dist/{chunk-C4SPXQAE.js → chunk-X4G5G2ZN.js} +2 -2
  129. package/dist/{chunk-TJYY2ZNV.js → chunk-XGW4PJPO.js} +2 -2
  130. package/dist/{chunk-W6N2MU2G.js → chunk-XYRXKL3V.js} +1 -1
  131. package/dist/{chunk-X2BMTMY2.js → chunk-Z5EWWGD2.js} +5 -5
  132. package/dist/{chunk-AAP2HENZ.js → chunk-Z7LAWFZ7.js} +4 -3
  133. package/dist/{chunk-C4PGW3PU.js → chunk-ZPQPTIIY.js} +2 -2
  134. package/dist/{codex-app-cards-switch-MBJFUQBT.js → codex-app-cards-switch-DBFQJU3Y.js} +11 -11
  135. package/dist/{codex-card-routing-LAM2ADY2.js → codex-card-routing-TKG7LOP4.js} +2 -2
  136. package/dist/{codex-desktop-launch-LB4RWOSI.js → codex-desktop-launch-UXMYKS5C.js} +3 -3
  137. package/dist/{codex-session-launch-PRWQGIGE.js → codex-session-launch-5NOJKDWN.js} +20 -20
  138. package/dist/{config-BBTWVECF.js → config-HHUSXJZE.js} +3 -3
  139. package/dist/{global-upgrade-C6HNF5OW.js → global-upgrade-J2NB62DV.js} +9 -9
  140. package/dist/{identity-7PUBPQNU.js → identity-7O3ZBVUY.js} +4 -4
  141. package/dist/{live-capabilities-ZAQZQQR4.js → live-capabilities-773SVQWH.js} +4 -4
  142. package/dist/{paths-ZALQKETP.js → paths-VZXMX35O.js} +3 -3
  143. package/dist/{reapply-JWQ5H3RL.js → reapply-7MIBK2WB.js} +34 -34
  144. package/dist/src/index.js +33 -33
  145. package/dist/{upgrade-lock-UWYE4CPX.js → upgrade-lock-WWTTPOIZ.js} +4 -4
  146. package/dist/{usage-BR4DQNAS.js → usage-PHTLHFL2.js} +3 -3
  147. package/package.json +1 -1
@@ -4,10 +4,10 @@ import {
4
4
  } from "./chunk-P6DUWKAO.js";
5
5
  import {
6
6
  fetchAsCredential
7
- } from "./chunk-A54UFNGF.js";
7
+ } from "./chunk-NDXTGRZG.js";
8
8
  import {
9
9
  getBaseUrl
10
- } from "./chunk-TJYY2ZNV.js";
10
+ } from "./chunk-XGW4PJPO.js";
11
11
  import {
12
12
  writeJsonAtomicDurable
13
13
  } from "./chunk-PM2NRK6Y.js";
@@ -15,7 +15,7 @@ import {
15
15
  compressTranscriptRecord,
16
16
  redactSecretsFromContent,
17
17
  transcriptRecordPlaintext
18
- } from "./chunk-J2GQIBMK.js";
18
+ } from "./chunk-ULDUDSTW.js";
19
19
 
20
20
  // src/transcript-recipient-pin.ts
21
21
  import { createHash } from "crypto";
@@ -3,24 +3,24 @@ import {
3
3
  expectedLaunchCapabilities,
4
4
  hasSpawnProvider,
5
5
  resolveControlPolicy
6
- } from "./chunk-G6ZSGVZL.js";
6
+ } from "./chunk-G5EKU4RB.js";
7
7
  import {
8
8
  daemonHasRemoteProof,
9
9
  daemonServiceManagerAvailable,
10
10
  hasDaemonServiceDefinition,
11
11
  readDaemonNeedsLogin,
12
12
  readDaemonStatus
13
- } from "./chunk-V6YWRP4V.js";
13
+ } from "./chunk-JPKOYDQJ.js";
14
14
  import {
15
15
  getMachineId
16
- } from "./chunk-32ZIGQNS.js";
16
+ } from "./chunk-OV2XD2UY.js";
17
17
  import {
18
18
  readControlMode,
19
19
  readKeyInForce
20
- } from "./chunk-HU5IFHHG.js";
20
+ } from "./chunk-WMCF6PR5.js";
21
21
  import {
22
22
  getBaseUrl
23
- } from "./chunk-TJYY2ZNV.js";
23
+ } from "./chunk-XGW4PJPO.js";
24
24
  import {
25
25
  getPackageVersion
26
26
  } from "./chunk-CXQWDQCJ.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  guardBinary
3
- } from "./chunk-SHAZ6DT6.js";
3
+ } from "./chunk-FEVQDABQ.js";
4
4
 
5
5
  // src/bell/install.ts
6
6
  import { join } from "path";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  RETRY_ACK,
6
6
  refusedReceiptMessage
7
- } from "./chunk-ETIAYTAI.js";
7
+ } from "./chunk-M64A2Z2F.js";
8
8
 
9
9
  // src/command-receipts.ts
10
10
  import { randomUUID } from "crypto";
@@ -2,30 +2,30 @@ import {
2
2
  forgetPhoneApproval,
3
3
  rememberPhoneApproval,
4
4
  takePhoneApproval
5
- } from "./chunk-4PWUPWPY.js";
5
+ } from "./chunk-HJSW3MH2.js";
6
6
  import {
7
7
  claudeSettingsLocationFor,
8
8
  readClaudePermissionRules
9
- } from "./chunk-5F2FKQQ6.js";
9
+ } from "./chunk-LDX3KQMJ.js";
10
10
  import {
11
11
  defersToNativeMode
12
- } from "./chunk-E6XGP76X.js";
12
+ } from "./chunk-V4ZQBKI6.js";
13
13
  import {
14
14
  reportMachineDenial
15
- } from "./chunk-KJMIFUE2.js";
15
+ } from "./chunk-V7ULGI7U.js";
16
16
  import {
17
17
  isGatingMoment,
18
18
  recordKeylessMoment
19
- } from "./chunk-W7HK5KMH.js";
19
+ } from "./chunk-URDT623B.js";
20
20
  import {
21
21
  isAdmitted,
22
22
  readAdmissionRules
23
- } from "./chunk-SOIG3VQU.js";
23
+ } from "./chunk-DN6HPGCI.js";
24
24
  import {
25
25
  activeHookSource,
26
26
  activeIdentity,
27
27
  namedSource
28
- } from "./chunk-TM5LRIUB.js";
28
+ } from "./chunk-FMWG4X3D.js";
29
29
  import {
30
30
  DEFAULT_SESSION,
31
31
  allow,
@@ -66,7 +66,7 @@ import {
66
66
  storedWaitDeadline,
67
67
  sweepFilesOlderThan,
68
68
  userScope
69
- } from "./chunk-CIT3XX7B.js";
69
+ } from "./chunk-HDD23XYP.js";
70
70
  import {
71
71
  UNNAMED_ACTION,
72
72
  deriveAction,
@@ -77,7 +77,7 @@ import {
77
77
  patchDeletesFiles,
78
78
  permissionDeniedAction,
79
79
  scopePathFor
80
- } from "./chunk-J4X5T5DO.js";
80
+ } from "./chunk-WVJFHP75.js";
81
81
  import {
82
82
  askUser,
83
83
  cancelQuestion,
@@ -92,30 +92,30 @@ import {
92
92
  sendNotification,
93
93
  waitForQuestion,
94
94
  withdrawQuestion
95
- } from "./chunk-WNZR4KFV.js";
95
+ } from "./chunk-A2GO3G2I.js";
96
96
  import {
97
97
  branchFor,
98
98
  projectNameFor,
99
99
  repoKeyFor,
100
100
  repositoryScopeFor
101
- } from "./chunk-KVLYD2EE.js";
101
+ } from "./chunk-4UIVOCDT.js";
102
102
  import {
103
103
  getMachineId
104
- } from "./chunk-32ZIGQNS.js";
104
+ } from "./chunk-OV2XD2UY.js";
105
105
  import {
106
106
  POSTTOOLUSE_MIRRORED_TOOLS
107
- } from "./chunk-SHAZ6DT6.js";
107
+ } from "./chunk-FEVQDABQ.js";
108
108
  import {
109
109
  getApiKey,
110
110
  getBaseUrl,
111
111
  isMalformedApiKeyError
112
- } from "./chunk-TJYY2ZNV.js";
112
+ } from "./chunk-XGW4PJPO.js";
113
113
  import {
114
114
  writeFileAtomic
115
115
  } from "./chunk-PM2NRK6Y.js";
116
116
  import {
117
117
  NPX_LATEST_COMMAND
118
- } from "./chunk-LYO34MJ4.js";
118
+ } from "./chunk-7MRK2WXT.js";
119
119
  import {
120
120
  AGENT_QUESTION_STRATEGY,
121
121
  AGENT_QUESTION_TOOL,
@@ -183,7 +183,7 @@ import {
183
183
  terminalStaysLiveForTheCall,
184
184
  timeoutActionWithoutLocalPrompt,
185
185
  unapprovedScopeReason
186
- } from "./chunk-J2GQIBMK.js";
186
+ } from "./chunk-ULDUDSTW.js";
187
187
 
188
188
  // src/terminal-answer-watch.ts
189
189
  import { closeSync, openSync, readSync, statSync } from "fs";
@@ -8,7 +8,7 @@ import {
8
8
  PUSHARY_CLI_LATEST_FOR_POWERSHELL,
9
9
  SETUP_AGENT_CHOICES,
10
10
  isApprovalMode
11
- } from "./chunk-J2GQIBMK.js";
11
+ } from "./chunk-ULDUDSTW.js";
12
12
 
13
13
  // src/cli/mode-request.ts
14
14
  var parseDuration = (value) => {
@@ -111,7 +111,7 @@ var COMMAND_LIST = [
111
111
  name: "pair",
112
112
  module: "pushary-connect",
113
113
  aliases: ["connect"],
114
- summary: "Pair a phone without re-running setup: the Pushary app, or --browser for web push (also: connect)"
114
+ summary: "Pair a phone without re-running setup: the Pushary app, or --browser for push notifications in the browser (also: connect)"
115
115
  },
116
116
  {
117
117
  name: "bell",
@@ -177,7 +177,7 @@ var COMMAND_OPTIONS = {
177
177
  ],
178
178
  pair: [
179
179
  ["--app", "Pair the Pushary app (default)"],
180
- ["--browser", "Use browser web push instead of the app"]
180
+ ["--browser", "Use push notifications in the browser instead of the app"]
181
181
  ],
182
182
  cowork: [
183
183
  ["--open", "Also open the setup guide in your browser"],
@@ -272,6 +272,7 @@ var SETUP_OPTIONS = [
272
272
  ["--verify push", "Only prove a notification was delivered. Automatic when nobody is at the terminal"],
273
273
  ["--verify none", "Skip the final check entirely"],
274
274
  ["--dry-run", "Print what would be written and change nothing"],
275
+ ["--verbose", "Print every step setup takes for each agent, not one line per agent"],
275
276
  ["--json", "Emit one machine-readable object instead of the human report"]
276
277
  ];
277
278
  var AGENT_IDS = SETUP_AGENT_CHOICES.join(", ");
@@ -4,10 +4,10 @@ import {
4
4
  keyPrefix,
5
5
  readConfigFileKey,
6
6
  readMacAppKeyPrefix
7
- } from "./chunk-HU5IFHHG.js";
7
+ } from "./chunk-WMCF6PR5.js";
8
8
  import {
9
9
  NPX_LATEST_COMMAND
10
- } from "./chunk-LYO34MJ4.js";
10
+ } from "./chunk-7MRK2WXT.js";
11
11
 
12
12
  // src/key-signed-out.ts
13
13
  var VERDICT_BY_CHECK = {
@@ -8,21 +8,21 @@ import {
8
8
  SubscriptionRequiredError,
9
9
  callMcpTool,
10
10
  isRetryable
11
- } from "./chunk-X5M3LLDZ.js";
11
+ } from "./chunk-H4364HR3.js";
12
12
  import {
13
13
  fetchAsCredential
14
- } from "./chunk-A54UFNGF.js";
14
+ } from "./chunk-NDXTGRZG.js";
15
15
  import {
16
16
  installNetworkDefaults,
17
17
  isNetworkFailure
18
- } from "./chunk-KABI55PA.js";
18
+ } from "./chunk-OSDIFFSP.js";
19
19
  import {
20
20
  clientReportClaims
21
- } from "./chunk-SHAZ6DT6.js";
21
+ } from "./chunk-FEVQDABQ.js";
22
22
  import {
23
23
  getApiKey,
24
24
  getBaseUrl
25
- } from "./chunk-TJYY2ZNV.js";
25
+ } from "./chunk-XGW4PJPO.js";
26
26
  import {
27
27
  ASK_AGENT_NAME_MAX,
28
28
  CLIENT_REPORT_PATH,
@@ -38,7 +38,7 @@ import {
38
38
  isRecord,
39
39
  truncateLine,
40
40
  waitEndAnswered
41
- } from "./chunk-J2GQIBMK.js";
41
+ } from "./chunk-ULDUDSTW.js";
42
42
 
43
43
  // src/api.ts
44
44
  import { randomUUID } from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  questionWindowOf
3
- } from "./chunk-CIT3XX7B.js";
3
+ } from "./chunk-HDD23XYP.js";
4
4
  import {
5
5
  UNNAMED_ACTION
6
- } from "./chunk-J4X5T5DO.js";
6
+ } from "./chunk-WVJFHP75.js";
7
7
  import {
8
8
  ASK_USER_TIMEOUT_MS,
9
9
  WAIT_END_TIMEOUT_MS,
@@ -12,10 +12,10 @@ import {
12
12
  isLocalQuestionHandoff,
13
13
  unavailableQuestionUnlessRefused,
14
14
  waitForQuestion
15
- } from "./chunk-WNZR4KFV.js";
15
+ } from "./chunk-A2GO3G2I.js";
16
16
  import {
17
17
  getMachineId
18
- } from "./chunk-32ZIGQNS.js";
18
+ } from "./chunk-OV2XD2UY.js";
19
19
  import {
20
20
  hookMaxWaitSeconds,
21
21
  hookWaitClamped,
@@ -24,7 +24,7 @@ import {
24
24
  refusesWhenUnanswered,
25
25
  ruleApprovesAfterItsFullWindow,
26
26
  scopeBreachReasonOf
27
- } from "./chunk-J2GQIBMK.js";
27
+ } from "./chunk-ULDUDSTW.js";
28
28
 
29
29
  // src/pushed-question.ts
30
30
  var scopeQuestionOf = (verdict) => {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  macAppBridgeAvailable
3
- } from "./chunk-XT7RG6WO.js";
3
+ } from "./chunk-FKX7SWNT.js";
4
4
  import {
5
5
  keyPrefix
6
- } from "./chunk-HU5IFHHG.js";
6
+ } from "./chunk-WMCF6PR5.js";
7
7
  import {
8
8
  bridgeAgentKey
9
- } from "./chunk-SHAZ6DT6.js";
9
+ } from "./chunk-FEVQDABQ.js";
10
10
  import {
11
11
  readJsonSafe
12
12
  } from "./chunk-PM2NRK6Y.js";
13
13
  import {
14
14
  isRecord,
15
15
  isValidApiKey
16
- } from "./chunk-J2GQIBMK.js";
16
+ } from "./chunk-ULDUDSTW.js";
17
17
 
18
18
  // src/shared-mcp-key.ts
19
19
  var asRecord = (value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0;
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  compatibleConfigFile,
3
3
  hasCompatibleHooks
4
- } from "./chunk-TM5LRIUB.js";
4
+ } from "./chunk-FMWG4X3D.js";
5
5
  import {
6
6
  pusharyHookExecutable
7
- } from "./chunk-JZZ62IV5.js";
7
+ } from "./chunk-K6PBTBLO.js";
8
8
  import {
9
9
  isProtectedByScope,
10
10
  registerHookEntry
11
- } from "./chunk-SHAZ6DT6.js";
11
+ } from "./chunk-FEVQDABQ.js";
12
12
  import {
13
13
  isRecord
14
- } from "./chunk-J2GQIBMK.js";
14
+ } from "./chunk-ULDUDSTW.js";
15
15
 
16
16
  // src/cursor-config.ts
17
17
  var hookCommandOf = (entry) => {
@@ -72,6 +72,13 @@ var claimSoleGate = (settings, gate) => {
72
72
  }
73
73
  return current === gate.value ? { kind: "already_sole_gate" } : { kind: "agent_prompt_chosen", current: String(current) };
74
74
  };
75
+ var decideSoleGate = (settings, gate, chosenByPerson) => !chosenByPerson && settings[gate.key] === void 0 ? { kind: "left_for_a_person" } : claimSoleGate(settings, gate);
76
+ var soleGateLeftAloneFor = (settings, gate, chosenByPerson) => {
77
+ if (chosenByPerson) return null;
78
+ if (settings.kind === "unreadable") return { kind: "settings_unreadable" };
79
+ const saved = settings.kind === "record" ? settings.value : {};
80
+ return decideSoleGate(saved, gate, chosenByPerson).kind === "left_for_a_person" ? { kind: "left_for_a_person" } : null;
81
+ };
75
82
  var releaseSoleGateSetting = (settings, gate) => {
76
83
  if (settings[gate.key] !== gate.value) return false;
77
84
  delete settings[gate.key];
@@ -110,5 +117,6 @@ export {
110
117
  soleGateReceiptFile,
111
118
  soleGateReceipt,
112
119
  claimSoleGate,
120
+ soleGateLeftAloneFor,
113
121
  releaseSoleGate
114
122
  };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  projectNameFor
3
- } from "./chunk-KVLYD2EE.js";
3
+ } from "./chunk-4UIVOCDT.js";
4
4
  import {
5
5
  readConfigFileKey
6
- } from "./chunk-HU5IFHHG.js";
6
+ } from "./chunk-WMCF6PR5.js";
7
7
 
8
8
  // src/bell/fleet.ts
9
9
  import { closeSync, constants, futimesSync, lstatSync, mkdirSync, openSync, readdirSync, unlinkSync } from "fs";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  cursorGateOwnsClaudeCall,
3
3
  readCursorGateRegistration
4
- } from "./chunk-TAW3Z5NA.js";
4
+ } from "./chunk-UIBQDALO.js";
5
5
  import {
6
6
  registerTranscript
7
- } from "./chunk-QHR2T5EW.js";
7
+ } from "./chunk-VPG6QENY.js";
8
8
  import {
9
9
  namedEvent
10
- } from "./chunk-TM5LRIUB.js";
10
+ } from "./chunk-FMWG4X3D.js";
11
11
  import {
12
12
  writeDegraded
13
- } from "./chunk-WNZR4KFV.js";
13
+ } from "./chunk-A2GO3G2I.js";
14
14
  import {
15
15
  claudeShapedHookInput,
16
16
  hookCompatibleProfileBySource,
17
17
  isGrokHookPayload,
18
18
  isGrokSessionEndStop
19
- } from "./chunk-J2GQIBMK.js";
19
+ } from "./chunk-ULDUDSTW.js";
20
20
 
21
21
  // src/tool-hook-input.ts
22
22
  var OPTIONAL_TEXT_FIELDS = ["hook_event_name", "session_id", "cwd", "transcript_path", "tool_use_id", "permission_mode", "cursor_version"];
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  canonicalGateInputs,
3
3
  patchDeletesFiles
4
- } from "./chunk-J4X5T5DO.js";
4
+ } from "./chunk-WVJFHP75.js";
5
5
 
6
6
  // src/gate-call-reading.ts
7
7
  var gateCallReadingOf = (profile, raw) => {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  autoUpdateLock
3
- } from "./chunk-SHAZ6DT6.js";
3
+ } from "./chunk-FEVQDABQ.js";
4
4
  import {
5
5
  installPackageGlobally,
6
6
  npmErrorMessage,
7
7
  throwIfNpmRefusesInstall
8
- } from "./chunk-FG2EF7PP.js";
8
+ } from "./chunk-JFXYGMV5.js";
9
9
  import {
10
10
  writeJsonAtomic
11
11
  } from "./chunk-PM2NRK6Y.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-SHAZ6DT6.js";
3
+ } from "./chunk-FEVQDABQ.js";
4
4
  import {
5
5
  readRegularJsonFile,
6
6
  writeFileAtomic
@@ -13,7 +13,7 @@ import {
13
13
  serializeDeclinedAgents,
14
14
  withDeclinedAgent,
15
15
  withoutDeclinedAgent
16
- } from "./chunk-J2GQIBMK.js";
16
+ } from "./chunk-ULDUDSTW.js";
17
17
 
18
18
  // src/declined-agents-file.ts
19
19
  import { join } from "path";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  renderCommandHelp
3
- } from "./chunk-LYO34MJ4.js";
3
+ } from "./chunk-7MRK2WXT.js";
4
4
  import {
5
5
  EXIT
6
6
  } from "./chunk-BG4HHB7E.js";
@@ -6,17 +6,17 @@ import {
6
6
  postLiveSession,
7
7
  postLiveSessionUntilAccepted,
8
8
  startLiveSessionHeartbeat
9
- } from "./chunk-5JB4JJF5.js";
9
+ } from "./chunk-ICLT2KA5.js";
10
10
  import {
11
11
  CommandReceipts,
12
12
  controllerCommandSchema
13
- } from "./chunk-RXLKOYN3.js";
13
+ } from "./chunk-6H3RBEHP.js";
14
14
  import {
15
15
  SESSION_IDLE_TIMEOUT_MS,
16
16
  describeIdleWindow,
17
17
  idleDeadlinePassed,
18
18
  startProcessOwnership
19
- } from "./chunk-URMAZGQN.js";
19
+ } from "./chunk-TGM2WHUG.js";
20
20
  import {
21
21
  spawnClaude
22
22
  } from "./chunk-3PSNUHC5.js";
@@ -25,18 +25,18 @@ import {
25
25
  isWaitForAnswerResponse,
26
26
  withdrawQuestion,
27
27
  writeDegraded
28
- } from "./chunk-WNZR4KFV.js";
28
+ } from "./chunk-A2GO3G2I.js";
29
29
  import {
30
30
  readCommandAck
31
- } from "./chunk-ETIAYTAI.js";
31
+ } from "./chunk-M64A2Z2F.js";
32
32
  import {
33
33
  callMcpTool,
34
34
  isRetryable
35
- } from "./chunk-X5M3LLDZ.js";
35
+ } from "./chunk-H4364HR3.js";
36
36
  import {
37
37
  projectNameFor,
38
38
  repositoryScopeFor
39
- } from "./chunk-KVLYD2EE.js";
39
+ } from "./chunk-4UIVOCDT.js";
40
40
  import {
41
41
  AGENT_QUESTION_DESCRIPTION_MAX,
42
42
  AGENT_QUESTION_HEADER_MAX,
@@ -58,7 +58,7 @@ import {
58
58
  parseCodexQuestions,
59
59
  planElicitationAsk,
60
60
  readElicitationFields
61
- } from "./chunk-J2GQIBMK.js";
61
+ } from "./chunk-ULDUDSTW.js";
62
62
 
63
63
  // src/codex-question-owner.ts
64
64
  import { createHash } from "crypto";
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  quoteIfNeeded,
7
7
  shellDoubleQuoted
8
- } from "./chunk-FG2EF7PP.js";
8
+ } from "./chunk-JFXYGMV5.js";
9
9
  import {
10
10
  writeFileAtomic
11
11
  } from "./chunk-PM2NRK6Y.js";
@@ -24,7 +24,7 @@ import {
24
24
  PUSHARY_HOSTS,
25
25
  PUSHARY_TOOL_PREFIX,
26
26
  withHookHoldBudget
27
- } from "./chunk-J2GQIBMK.js";
27
+ } from "./chunk-ULDUDSTW.js";
28
28
 
29
29
  // src/setup/paths.ts
30
30
  import { createHash as createHash2 } from "crypto";
@@ -3,7 +3,7 @@ import {
3
3
  openCodePluginArgv,
4
4
  openCodePluginModule,
5
5
  renderOpenCodePlugin
6
- } from "./chunk-HCKJEXJJ.js";
6
+ } from "./chunk-GPD4BB76.js";
7
7
  import {
8
8
  OPENCODE_FAILED_EVENT,
9
9
  OPENCODE_IDLE_EVENT,
@@ -12,17 +12,17 @@ import {
12
12
  OPENCODE_PLUGIN_SIBLING,
13
13
  OPENCODE_PLUGIN_SIBLING_CONTENTS,
14
14
  OPENCODE_SUBAGENT_IDLE_EVENT
15
- } from "./chunk-RXXHQXMO.js";
15
+ } from "./chunk-JYFMVOML.js";
16
16
  import {
17
17
  compatibleConfigFile
18
- } from "./chunk-TM5LRIUB.js";
18
+ } from "./chunk-FMWG4X3D.js";
19
19
  import {
20
20
  hookOwnerOf,
21
21
  hookOwnerOfCommands
22
- } from "./chunk-JZZ62IV5.js";
22
+ } from "./chunk-K6PBTBLO.js";
23
23
  import {
24
24
  AGENT_CHOICES
25
- } from "./chunk-AAP2HENZ.js";
25
+ } from "./chunk-Z7LAWFZ7.js";
26
26
  import {
27
27
  OPENCODE_INSTRUCTIONS_LABEL,
28
28
  bridgeStub,
@@ -36,7 +36,7 @@ import {
36
36
  resolveBridgeStub,
37
37
  vscodePluginDir,
38
38
  windowsNodeLauncherFor
39
- } from "./chunk-SHAZ6DT6.js";
39
+ } from "./chunk-FEVQDABQ.js";
40
40
  import {
41
41
  readJsonSafe
42
42
  } from "./chunk-PM2NRK6Y.js";
@@ -46,7 +46,7 @@ import {
46
46
  OPENCODE_APPROVAL_EVENT,
47
47
  hookCompatibleProfile,
48
48
  isRecord
49
- } from "./chunk-J2GQIBMK.js";
49
+ } from "./chunk-ULDUDSTW.js";
50
50
 
51
51
  // src/opencode-config.ts
52
52
  import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "fs";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  addGeminiMcpServer,
3
3
  removeGeminiMcpServer
4
- } from "./chunk-JZZ62IV5.js";
4
+ } from "./chunk-K6PBTBLO.js";
5
5
  import {
6
6
  CLAUDE_CODE_AGENT
7
- } from "./chunk-CIT3XX7B.js";
7
+ } from "./chunk-HDD23XYP.js";
8
8
  import {
9
9
  compatibleToolLookup
10
- } from "./chunk-J4X5T5DO.js";
10
+ } from "./chunk-WVJFHP75.js";
11
11
  import {
12
12
  CLAUDE_HOOK_EVENTS,
13
13
  PUSHARY_MCP_URL,
@@ -19,7 +19,7 @@ import {
19
19
  isPusharyHook,
20
20
  registerHookEntry,
21
21
  removeClaudeMcpServers
22
- } from "./chunk-SHAZ6DT6.js";
22
+ } from "./chunk-FEVQDABQ.js";
23
23
  import {
24
24
  AGENT_ENFORCEMENT,
25
25
  HOOK_COMPATIBLE_PROFILES,
@@ -32,7 +32,7 @@ import {
32
32
  pusharyMissingReason,
33
33
  refusalOutput,
34
34
  withHookHoldBudget
35
- } from "./chunk-J2GQIBMK.js";
35
+ } from "./chunk-ULDUDSTW.js";
36
36
 
37
37
  // src/config-document.ts
38
38
  import { parse, stringify } from "smol-toml";
@@ -2,7 +2,7 @@ import {
2
2
  isApprovalMode,
3
3
  isRecord,
4
4
  isTimeoutAction
5
- } from "./chunk-J2GQIBMK.js";
5
+ } from "./chunk-ULDUDSTW.js";
6
6
 
7
7
  // src/cli/settings-response.ts
8
8
  var isFiniteNumber = (value) => typeof value === "number" && Number.isFinite(value);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  redactSecretsFromContent
3
- } from "./chunk-J2GQIBMK.js";
3
+ } from "./chunk-ULDUDSTW.js";
4
4
 
5
5
  // src/cli/terminal-row.ts
6
6
  var visibleLength = (text) => text.replace(/\x1b\[[0-9;]*m/g, "").length;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  realpath
3
- } from "./chunk-EVGZE3TK.js";
3
+ } from "./chunk-Q5SVRCFU.js";
4
4
  import {
5
5
  findNativeClaudeInstall
6
6
  } from "./chunk-TCE3J44Z.js";
@@ -12,7 +12,7 @@ import {
12
12
  resolvePackageVersionFromBinary,
13
13
  resolvePathBinary,
14
14
  resolvePathBinaryAsync
15
- } from "./chunk-FG2EF7PP.js";
15
+ } from "./chunk-JFXYGMV5.js";
16
16
  import {
17
17
  AGENTS,
18
18
  CLAUDE_BRIDGE_CAPABILITY,
@@ -25,7 +25,7 @@ import {
25
25
  OPENCODE_BRIDGE_CAPABILITY,
26
26
  SPAWN_CAPABILITY,
27
27
  sessionProvidersAdvertisedBy
28
- } from "./chunk-J2GQIBMK.js";
28
+ } from "./chunk-ULDUDSTW.js";
29
29
 
30
30
  // src/live-capabilities.ts
31
31
  import { execFileSync } from "child_process";