pushary 1.9.268 → 1.9.269

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 (143) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/dist/{api-2PD4GLZO.js → api-ILQDGJL4.js} +12 -12
  3. package/dist/bin/pushary-audit.js +3 -3
  4. package/dist/bin/pushary-bell-hook.js +28 -28
  5. package/dist/bin/pushary-bell.js +11 -11
  6. package/dist/bin/pushary-calls.js +14 -14
  7. package/dist/bin/pushary-claude.js +25 -25
  8. package/dist/bin/pushary-clean.js +39 -39
  9. package/dist/bin/pushary-codex-bridge.js +22 -22
  10. package/dist/bin/pushary-codex-hook.js +34 -34
  11. package/dist/bin/pushary-codex-session.js +8 -8
  12. package/dist/bin/pushary-codex.js +16 -16
  13. package/dist/bin/pushary-connect.js +35 -35
  14. package/dist/bin/pushary-cowork.js +5 -5
  15. package/dist/bin/pushary-daemon.js +46 -46
  16. package/dist/bin/pushary-disconnect.js +30 -30
  17. package/dist/bin/pushary-display-hook.js +2 -0
  18. package/dist/bin/pushary-doctor.js +48 -48
  19. package/dist/bin/pushary-elicitation-hook.js +27 -27
  20. package/dist/bin/pushary-gemini-bridge.js +17 -17
  21. package/dist/bin/pushary-gemini-hook.js +31 -31
  22. package/dist/bin/pushary-hook.js +35 -35
  23. package/dist/bin/pushary-login.js +42 -42
  24. package/dist/bin/pushary-logout.js +31 -31
  25. package/dist/bin/pushary-mcp.js +12 -12
  26. package/dist/bin/pushary-mode.js +15 -15
  27. package/dist/bin/pushary-notification-hook.js +27 -27
  28. package/dist/bin/pushary-opencode-bridge.js +21 -21
  29. package/dist/bin/pushary-opencode-hook.js +32 -32
  30. package/dist/bin/pushary-permission-denied-hook.js +34 -34
  31. package/dist/bin/pushary-permission-hook.js +35 -35
  32. package/dist/bin/pushary-post-hook.js +28 -28
  33. package/dist/bin/pushary-prompt-hook.js +27 -27
  34. package/dist/bin/pushary-session-end-hook.js +27 -27
  35. package/dist/bin/pushary-session-start-hook.js +39 -39
  36. package/dist/bin/pushary-sessions.js +12 -12
  37. package/dist/bin/pushary-setup.js +95 -63
  38. package/dist/bin/pushary-stats.js +5 -5
  39. package/dist/bin/pushary-status.js +36 -36
  40. package/dist/bin/pushary-stop-hook.js +27 -27
  41. package/dist/bin/pushary-stopfailure-hook.js +27 -27
  42. package/dist/bin/pushary-suggestions.js +15 -15
  43. package/dist/bin/pushary-transcript-register.js +16 -16
  44. package/dist/bin/pushary-transcripts.js +25 -25
  45. package/dist/bin/pushary-upgrade.js +47 -47
  46. package/dist/bin/pushary-wait.js +16 -16
  47. package/dist/bin/pushary.js +7 -7
  48. package/dist/{chunk-N6ARPVSQ.js → chunk-3D6EDVCE.js} +11 -11
  49. package/dist/{chunk-IQBJD5ZB.js → chunk-3K2HA65U.js} +4 -4
  50. package/dist/{chunk-S4AQUVX3.js → chunk-3QOTNFNM.js} +3 -3
  51. package/dist/{chunk-JXWWWVGR.js → chunk-3YU4M3H6.js} +10 -10
  52. package/dist/{chunk-X5R55HMM.js → chunk-43EYM5PY.js} +6 -6
  53. package/dist/{chunk-HPLG5D6Y.js → chunk-4JO5JG2P.js} +5 -5
  54. package/dist/{chunk-GCDVD242.js → chunk-4NBFRTVM.js} +6 -6
  55. package/dist/{chunk-NAVHNIM4.js → chunk-4R2BZ7ZV.js} +1 -1
  56. package/dist/{chunk-2FI62SKT.js → chunk-4VUQPSEP.js} +1 -1
  57. package/dist/{chunk-P6AKOYLZ.js → chunk-5EQYWIQ2.js} +4 -4
  58. package/dist/{chunk-UNF23P35.js → chunk-66EWTFIK.js} +1 -1
  59. package/dist/{chunk-U2OB44U5.js → chunk-6LRUCUBE.js} +5 -5
  60. package/dist/{chunk-JQCF2IYA.js → chunk-7CBU5D6G.js} +1 -1
  61. package/dist/{chunk-GMQ73QWC.js → chunk-7GFQHVKY.js} +16 -16
  62. package/dist/{chunk-Z5KP6GBC.js → chunk-7O2OZQ6L.js} +4 -4
  63. package/dist/{chunk-CIO6FAIU.js → chunk-AHYV7ZQE.js} +1 -1
  64. package/dist/{chunk-XPS36L6H.js → chunk-ALWSX6SA.js} +3 -3
  65. package/dist/{chunk-DVAXZOTR.js → chunk-ARWKVVKB.js} +1 -1
  66. package/dist/{chunk-SYCNMJ3Z.js → chunk-AVST42GD.js} +1 -1
  67. package/dist/{chunk-GYLIVREZ.js → chunk-AY37CFHF.js} +8 -0
  68. package/dist/{chunk-KQZQ55CO.js → chunk-CNNEMTRD.js} +4 -4
  69. package/dist/{chunk-NA5EQTCV.js → chunk-D57LIC6X.js} +23 -3
  70. package/dist/{chunk-GEBRKBLB.js → chunk-D6OF2TD3.js} +5 -5
  71. package/dist/{chunk-EKU4KLON.js → chunk-DBYHLVQ2.js} +1 -1
  72. package/dist/{chunk-YZRUE46K.js → chunk-DLMR45RP.js} +1 -1
  73. package/dist/{chunk-FF2LDPB2.js → chunk-E274RVGY.js} +4 -4
  74. package/dist/{chunk-XIEYX4TJ.js → chunk-EPQDQGVZ.js} +1 -1
  75. package/dist/{chunk-NOWWUX5V.js → chunk-ESH2IFRQ.js} +3 -3
  76. package/dist/{chunk-FHCXJ2HZ.js → chunk-ESMAFA2J.js} +5 -5
  77. package/dist/{chunk-IEQDAZDB.js → chunk-EY4XHT6G.js} +2 -2
  78. package/dist/{chunk-L6CWEU5C.js → chunk-FM73BOSO.js} +2 -2
  79. package/dist/{chunk-BQ23UZJY.js → chunk-GCWAQMHF.js} +5 -5
  80. package/dist/{chunk-UVO56TVL.js → chunk-GFX5AAWT.js} +7 -7
  81. package/dist/{chunk-ZYQHIMZU.js → chunk-HV2DBLA2.js} +5 -5
  82. package/dist/{chunk-GP5UGODT.js → chunk-J2PCHNZO.js} +5 -5
  83. package/dist/{chunk-UQB4MAA6.js → chunk-JGMEZV2Q.js} +3 -3
  84. package/dist/{chunk-NYP2NRV3.js → chunk-JYUIHUMK.js} +1 -1
  85. package/dist/{chunk-26K5VC53.js → chunk-KARQYZR3.js} +1 -1
  86. package/dist/{chunk-SYEUQH6Z.js → chunk-KGZSVBUD.js} +3 -3
  87. package/dist/{chunk-WYYZ2UFX.js → chunk-KYCPYOKD.js} +2 -2
  88. package/dist/{chunk-YBAU5TAV.js → chunk-L7GL5TJY.js} +2 -2
  89. package/dist/{chunk-LF5OEQNP.js → chunk-LKKOKKUX.js} +2 -2
  90. package/dist/{chunk-AQP5SMAF.js → chunk-M3VS3PEK.js} +2 -2
  91. package/dist/{chunk-O2X6KT7P.js → chunk-MFQNYRKP.js} +4 -4
  92. package/dist/{chunk-IR342JX3.js → chunk-MPXY3I3M.js} +6 -6
  93. package/dist/{chunk-HSX5EVPH.js → chunk-NCHOWL5Y.js} +2 -2
  94. package/dist/{chunk-WHFXXV2A.js → chunk-O54TEHYJ.js} +2 -2
  95. package/dist/{chunk-TKMOPFZS.js → chunk-P2OVSHIW.js} +3 -3
  96. package/dist/{chunk-AT3C3Z3M.js → chunk-P3DV5JOE.js} +7 -7
  97. package/dist/{chunk-YGCU6KMO.js → chunk-PAKMLOFV.js} +3 -3
  98. package/dist/{chunk-5WSFZXR6.js → chunk-PWP6NIWM.js} +2 -2
  99. package/dist/{chunk-ERE3R6SS.js → chunk-Q7VXJ634.js} +4 -4
  100. package/dist/{chunk-AXVLRYIK.js → chunk-QFOMZSIU.js} +1 -1
  101. package/dist/{chunk-LYBX463S.js → chunk-QICIMORB.js} +2 -2
  102. package/dist/{chunk-AQPA4YIB.js → chunk-RBZCLXTE.js} +1 -1
  103. package/dist/{chunk-GPEGT2EP.js → chunk-RQCVHU7Q.js} +1 -1
  104. package/dist/{chunk-KVCWPOF6.js → chunk-TDV2RONN.js} +10 -5
  105. package/dist/{chunk-HEAJBTIG.js → chunk-THDJL37Z.js} +1 -1
  106. package/dist/{chunk-DC35GPRY.js → chunk-TOHXHAFM.js} +8 -8
  107. package/dist/{chunk-4LRWEHQT.js → chunk-TZ32ZFFG.js} +7 -7
  108. package/dist/{chunk-5LE7C6Q2.js → chunk-U7WPURWA.js} +2 -2
  109. package/dist/{chunk-WZM7Y5HM.js → chunk-ULOJDRKP.js} +2 -1
  110. package/dist/{chunk-FFWESSEY.js → chunk-UT7O4WQ6.js} +4 -4
  111. package/dist/{chunk-XUJBTEUC.js → chunk-UVWYN2UR.js} +4 -4
  112. package/dist/{chunk-4ZSC56SL.js → chunk-UXRP56HU.js} +1 -1
  113. package/dist/{chunk-NRTSHLZQ.js → chunk-VIMAUIPP.js} +6 -6
  114. package/dist/{chunk-TOELRIWR.js → chunk-WAZZ2JJ3.js} +12 -12
  115. package/dist/{chunk-DPOLLK6I.js → chunk-WQVKU4BI.js} +3 -3
  116. package/dist/{chunk-DJYBACUW.js → chunk-WT2RG7RS.js} +1 -1
  117. package/dist/{chunk-AOCTHK4E.js → chunk-WUUVZEKA.js} +3 -3
  118. package/dist/{chunk-S2DKGGEL.js → chunk-XIWZX5YY.js} +5 -5
  119. package/dist/{chunk-V2UGSM45.js → chunk-XLJTD3PP.js} +6 -6
  120. package/dist/{chunk-TEFLCQO4.js → chunk-XNYZBQCJ.js} +1 -1
  121. package/dist/{chunk-S55XHTYZ.js → chunk-Y2DBHR2N.js} +1 -1
  122. package/dist/{chunk-FK4BFIFR.js → chunk-Z26E6HSF.js} +5 -5
  123. package/dist/{chunk-2EHLFIVK.js → chunk-Z32D32PL.js} +4 -4
  124. package/dist/{chunk-JSE7T4JL.js → chunk-Z4XTXCRP.js} +1 -1
  125. package/dist/{chunk-TZO67S4V.js → chunk-Z7ZBH7RU.js} +10 -10
  126. package/dist/{chunk-WCEP3U7C.js → chunk-ZG6QJH5C.js} +1 -1
  127. package/dist/{chunk-47NWTV5K.js → chunk-ZNQ5YZ2L.js} +2 -2
  128. package/dist/{chunk-M2ETE6JQ.js → chunk-ZTQS2ZVJ.js} +1 -1
  129. package/dist/{chunk-QJHOS33W.js → chunk-ZVSSHI6H.js} +5 -5
  130. package/dist/{codex-app-cards-switch-TSHQTVOY.js → codex-app-cards-switch-ROGUHXKQ.js} +11 -11
  131. package/dist/{codex-card-routing-EZFQRLL5.js → codex-card-routing-CQX3C552.js} +2 -2
  132. package/dist/{codex-desktop-launch-RBW6N6HI.js → codex-desktop-launch-U6XMY4AD.js} +3 -3
  133. package/dist/{codex-session-launch-TERIKZPR.js → codex-session-launch-FFF7HWWT.js} +21 -21
  134. package/dist/{config-2AGEPXWU.js → config-J6IB5GWC.js} +3 -3
  135. package/dist/{global-upgrade-67DCWAOQ.js → global-upgrade-W6O44GGK.js} +9 -9
  136. package/dist/{identity-QETOMF2L.js → identity-6W3NU4R3.js} +4 -4
  137. package/dist/{live-capabilities-5UIO6P52.js → live-capabilities-XGYRPZB3.js} +4 -4
  138. package/dist/{paths-IRWDFERG.js → paths-BK42XGTR.js} +3 -3
  139. package/dist/{reapply-BBNONPII.js → reapply-WEEWFQOE.js} +34 -34
  140. package/dist/src/index.js +33 -33
  141. package/dist/{upgrade-lock-LICESK4W.js → upgrade-lock-AOHJCJIT.js} +4 -4
  142. package/dist/{usage-CNCT5BGJ.js → usage-AG2GXZV6.js} +3 -3
  143. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  projectNameFor
3
- } from "./chunk-S55XHTYZ.js";
3
+ } from "./chunk-Y2DBHR2N.js";
4
4
  import {
5
5
  readConfigFileKey
6
- } from "./chunk-47NWTV5K.js";
6
+ } from "./chunk-ZNQ5YZ2L.js";
7
7
 
8
8
  // src/bell/fleet.ts
9
9
  import { closeSync, constants, futimesSync, lstatSync, mkdirSync, openSync, readdirSync, unlinkSync } from "fs";
@@ -4,16 +4,16 @@ import {
4
4
  } from "./chunk-WHB622LP.js";
5
5
  import {
6
6
  keyPrefix
7
- } from "./chunk-47NWTV5K.js";
7
+ } from "./chunk-ZNQ5YZ2L.js";
8
8
  import {
9
9
  keyPrefixToShow
10
- } from "./chunk-5LE7C6Q2.js";
10
+ } from "./chunk-U7WPURWA.js";
11
11
  import {
12
12
  NPX_LATEST_COMMAND
13
- } from "./chunk-WZM7Y5HM.js";
13
+ } from "./chunk-ULOJDRKP.js";
14
14
  import {
15
15
  isValidApiKey
16
- } from "./chunk-GYLIVREZ.js";
16
+ } from "./chunk-AY37CFHF.js";
17
17
 
18
18
  // src/setup/key-account.ts
19
19
  var isKeyHeldByMacApp = (key, holder) => holder.macAppInstalled && holder.macAppKey === key;
@@ -2,7 +2,7 @@ import {
2
2
  MCP_TOOLS_THAT_SEND_SOMETHING_OUT_LABEL,
3
3
  MCP_TOOLS_THAT_SEND_SOMETHING_OUT_PATTERN,
4
4
  WILDCARD_TOOL_PATTERN
5
- } from "./chunk-GYLIVREZ.js";
5
+ } from "./chunk-AY37CFHF.js";
6
6
 
7
7
  // src/wait-ladder.ts
8
8
  var WAIT_RULE_LABELS = {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  claudeConfigDir
3
- } from "./chunk-WHFXXV2A.js";
3
+ } from "./chunk-O54TEHYJ.js";
4
4
  import {
5
5
  claudePermissionRulesFromSettings
6
- } from "./chunk-GYLIVREZ.js";
6
+ } from "./chunk-AY37CFHF.js";
7
7
 
8
8
  // src/claude-permission-rules.ts
9
9
  import { readFileSync, statSync } from "fs";
@@ -10,7 +10,7 @@ import {
10
10
  uploadTranscriptRecords,
11
11
  verifyAnchoredRecipients,
12
12
  wrapSessionKey
13
- } from "./chunk-DPOLLK6I.js";
13
+ } from "./chunk-WQVKU4BI.js";
14
14
 
15
15
  // src/live-session.ts
16
16
  var LIVE_TRANSCRIPT_LIMITS = { queuedRecords: 100, recordCharacters: 32 * 1024 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  canonicalGateInputs,
3
3
  patchDeletesFiles
4
- } from "./chunk-YZRUE46K.js";
4
+ } from "./chunk-DLMR45RP.js";
5
5
 
6
6
  // src/gate-call-reading.ts
7
7
  var gateCallReadingOf = (profile, raw) => {
@@ -9,10 +9,10 @@ import {
9
9
  } from "./chunk-3EGEA4KH.js";
10
10
  import {
11
11
  testTrafficHeaders
12
- } from "./chunk-4LRWEHQT.js";
12
+ } from "./chunk-TZ32ZFFG.js";
13
13
  import {
14
14
  getBaseUrl
15
- } from "./chunk-5LE7C6Q2.js";
15
+ } from "./chunk-U7WPURWA.js";
16
16
  import {
17
17
  CLI_LOCAL_BIND_PATH,
18
18
  LOCAL_CONFIRM_HOST,
@@ -23,7 +23,7 @@ import {
23
23
  isLocalConfirmToken,
24
24
  isPhonePass,
25
25
  localTerminalEntryUrl
26
- } from "./chunk-GYLIVREZ.js";
26
+ } from "./chunk-AY37CFHF.js";
27
27
 
28
28
  // src/cli/login-ui.ts
29
29
  import { hostname } from "os";
@@ -102,6 +102,7 @@ var listenForLocalConfirm = (options) => new Promise((resolve) => {
102
102
  // src/cli/login.ts
103
103
  var START_PATH = "/api/cli/auth/start";
104
104
  var CLAIM_PATH = "/api/cli/auth/claim";
105
+ var setupLinkBindingOf = (value) => value === "bound" || value === "expired" ? value : void 0;
105
106
  var LOGIN_COMMAND_REQUEST = { command: "login" };
106
107
  var DEFAULT_TIMEOUT_MS = 1e4;
107
108
  var post = async (url, body, fetchImpl) => fetchImpl(url, {
@@ -125,7 +126,8 @@ var startLogin = async (machineLabel, cliVersion, deps = {}, request = LOGIN_COM
125
126
  machineLabel,
126
127
  cliVersion,
127
128
  command: request.command,
128
- ...request.localConfirmStateHash === void 0 ? {} : { localConfirmStateHash: request.localConfirmStateHash }
129
+ ...request.localConfirmStateHash === void 0 ? {} : { localConfirmStateHash: request.localConfirmStateHash },
130
+ ...request.setupCode ? { setupCode: request.setupCode } : {}
129
131
  },
130
132
  fetchImpl
131
133
  );
@@ -156,10 +158,12 @@ var startLogin = async (machineLabel, cliVersion, deps = {}, request = LOGIN_COM
156
158
  expiresInSeconds: Math.max(1, asNumber(body.expiresInSeconds, 900)),
157
159
  fingerprint: asString(body.fingerprint) ?? publicKeyFingerprint(keypair.publicKeyB64),
158
160
  keypair,
159
- localConfirm: request.localConfirmStateHash !== void 0 && body.localConfirm === true
161
+ localConfirm: request.localConfirmStateHash !== void 0 && body.localConfirm === true,
162
+ ...withSetupLink(setupLinkBindingOf(body.setupLink))
160
163
  }
161
164
  };
162
165
  };
166
+ var withSetupLink = (binding) => binding === void 0 ? {} : { setupLink: binding };
163
167
  var phonePassFrom = (sealed, keypair) => {
164
168
  if (typeof sealed !== "string" || sealed === "") return null;
165
169
  try {
@@ -313,6 +317,7 @@ var runBrowserLogin = async (ui, options, deps = {}) => {
313
317
  const localState = newLocalConfirmState();
314
318
  const started = await startLogin(hostname(), options.cliVersion, deps, {
315
319
  command: options.command ?? "login",
320
+ setupCode: options.setupCode ?? null,
316
321
  ...mayOpenBrowser ? { localConfirmStateHash: localConfirmStateHash(localState) } : {}
317
322
  });
318
323
  if (started.kind === "rate-limited") {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  renderCommandHelp
3
- } from "./chunk-WZM7Y5HM.js";
3
+ } from "./chunk-ULOJDRKP.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-AQPA4YIB.js";
9
+ } from "./chunk-RBZCLXTE.js";
10
10
  import {
11
11
  CommandReceipts,
12
12
  controllerCommandSchema
13
- } from "./chunk-JQCF2IYA.js";
13
+ } from "./chunk-7CBU5D6G.js";
14
14
  import {
15
15
  SESSION_IDLE_TIMEOUT_MS,
16
16
  describeIdleWindow,
17
17
  idleDeadlinePassed,
18
18
  startProcessOwnership
19
- } from "./chunk-LF5OEQNP.js";
19
+ } from "./chunk-LKKOKKUX.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-4LRWEHQT.js";
28
+ } from "./chunk-TZ32ZFFG.js";
29
29
  import {
30
30
  readCommandAck
31
- } from "./chunk-NYP2NRV3.js";
31
+ } from "./chunk-JYUIHUMK.js";
32
32
  import {
33
33
  callMcpTool,
34
34
  isRetryable
35
- } from "./chunk-ZYQHIMZU.js";
35
+ } from "./chunk-HV2DBLA2.js";
36
36
  import {
37
37
  projectNameFor,
38
38
  repositoryScopeFor
39
- } from "./chunk-S55XHTYZ.js";
39
+ } from "./chunk-Y2DBHR2N.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-GYLIVREZ.js";
61
+ } from "./chunk-AY37CFHF.js";
62
62
 
63
63
  // src/codex-question-owner.ts
64
64
  import { createHash } from "crypto";
@@ -8,24 +8,24 @@ import {
8
8
  SubscriptionRequiredError,
9
9
  callMcpTool,
10
10
  isRetryable
11
- } from "./chunk-ZYQHIMZU.js";
11
+ } from "./chunk-HV2DBLA2.js";
12
12
  import {
13
13
  fetchAsCredential
14
- } from "./chunk-SYCNMJ3Z.js";
14
+ } from "./chunk-AVST42GD.js";
15
15
  import {
16
16
  installNetworkDefaults,
17
17
  isNetworkFailure
18
- } from "./chunk-S4AQUVX3.js";
18
+ } from "./chunk-3QOTNFNM.js";
19
19
  import {
20
20
  keyPrefix
21
- } from "./chunk-47NWTV5K.js";
21
+ } from "./chunk-ZNQ5YZ2L.js";
22
22
  import {
23
23
  clientReportClaims
24
- } from "./chunk-WHFXXV2A.js";
24
+ } from "./chunk-O54TEHYJ.js";
25
25
  import {
26
26
  getApiKey,
27
27
  getBaseUrl
28
- } from "./chunk-5LE7C6Q2.js";
28
+ } from "./chunk-U7WPURWA.js";
29
29
  import {
30
30
  getPackageVersion
31
31
  } from "./chunk-CXQWDQCJ.js";
@@ -55,7 +55,7 @@ import {
55
55
  responseRejectsCredential,
56
56
  truncateLine,
57
57
  waitEndAnswered
58
- } from "./chunk-GYLIVREZ.js";
58
+ } from "./chunk-AY37CFHF.js";
59
59
 
60
60
  // src/api.ts
61
61
  import { randomUUID } from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  NPX_LATEST_COMMAND
3
- } from "./chunk-WZM7Y5HM.js";
3
+ } from "./chunk-ULOJDRKP.js";
4
4
  import {
5
5
  isValidApiKey
6
- } from "./chunk-GYLIVREZ.js";
6
+ } from "./chunk-AY37CFHF.js";
7
7
 
8
8
  // src/config.ts
9
9
  import { readFileSync } 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-GYLIVREZ.js";
11
+ } from "./chunk-AY37CFHF.js";
12
12
 
13
13
  // src/cli/mode-request.ts
14
14
  var parseDuration = (value) => {
@@ -263,6 +263,7 @@ var SETUP_OPTIONS = [
263
263
  ["--yes, -y", "Accept every default and ask nothing. Implies --agents auto unless --agents is given"],
264
264
  ["--connect app", "Only pair the native Pushary app with a QR. By default setup offers browser sign-in first, with the QR below it"],
265
265
  ["--connect none", "Skip pairing a phone, same as --skip-phone"],
266
+ ["--code <XXXX-XXXX>", "The code from your phone, also read from PUSHARY_SETUP_CODE. Browser sign-in then only accepts the account and workspace that phone uses"],
266
267
  ["--control auto|on|off", "Manage phone-start automatically (default), require it, or disable its background service"],
267
268
  ["--transcripts on|off", "Enable or disable encrypted transcript sync on this machine"],
268
269
  ["--skip-phone", "Skip pairing a phone"],
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  CODEX_HOOK_STATUS,
3
3
  HERMES_HISTORY_HELPER_COMMAND
4
- } from "./chunk-XPS36L6H.js";
4
+ } from "./chunk-ALWSX6SA.js";
5
5
  import {
6
6
  HERMES_ALWAYS_ALLOWED_SHELL_RULE,
7
7
  HERMES_COMMAND_ALLOWLIST_KEY,
8
8
  HERMES_GATE_TOOLS_KEY,
9
9
  HERMES_SHELL_TOOL
10
- } from "./chunk-XUJBTEUC.js";
10
+ } from "./chunk-UVWYN2UR.js";
11
11
  import {
12
12
  retryAgentCommand
13
- } from "./chunk-SYEUQH6Z.js";
13
+ } from "./chunk-KGZSVBUD.js";
14
14
  import {
15
15
  NPX_LATEST_COMMAND
16
- } from "./chunk-WZM7Y5HM.js";
16
+ } from "./chunk-ULOJDRKP.js";
17
17
 
18
18
  // src/setup/codex-trust.ts
19
19
  var CODEX_TRUST_TELEMETRY = {
@@ -16,7 +16,7 @@ import {
16
16
  uninstallOpenClawPlugin,
17
17
  unsetOpenClawEntry,
18
18
  writeOpenClawEntry
19
- } from "./chunk-UQB4MAA6.js";
19
+ } from "./chunk-JGMEZV2Q.js";
20
20
  import {
21
21
  needsShell
22
22
  } from "./chunk-3PSNUHC5.js";
@@ -28,10 +28,10 @@ import {
28
28
  openClawDirectoriesToLookIn,
29
29
  openClawPluginFolder,
30
30
  openClawSetupReceiptDirectory
31
- } from "./chunk-WHFXXV2A.js";
31
+ } from "./chunk-O54TEHYJ.js";
32
32
  import {
33
33
  resolvePathBinary
34
- } from "./chunk-IQBJD5ZB.js";
34
+ } from "./chunk-3K2HA65U.js";
35
35
  import {
36
36
  readJsonSafe,
37
37
  writeJsonAtomic
@@ -42,7 +42,7 @@ import {
42
42
  } from "./chunk-CXQWDQCJ.js";
43
43
  import {
44
44
  isRecord
45
- } from "./chunk-GYLIVREZ.js";
45
+ } from "./chunk-AY37CFHF.js";
46
46
 
47
47
  // src/hermes/plugin-payload.ts
48
48
  import { createHash } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-WHFXXV2A.js";
3
+ } from "./chunk-O54TEHYJ.js";
4
4
  import {
5
5
  writeFileAtomic
6
6
  } from "./chunk-PM2NRK6Y.js";
@@ -14,7 +14,7 @@ import {
14
14
  reachVerdict,
15
15
  reachesYou,
16
16
  verifyDelivery
17
- } from "./chunk-V2UGSM45.js";
17
+ } from "./chunk-XLJTD3PP.js";
18
18
  import {
19
19
  describeRevokeAttempt,
20
20
  keyNoLongerAccepted,
@@ -29,20 +29,20 @@ import {
29
29
  isCI,
30
30
  terminalColumns,
31
31
  useColor
32
- } from "./chunk-TEFLCQO4.js";
32
+ } from "./chunk-XNYZBQCJ.js";
33
33
  import {
34
34
  checkApiKey
35
- } from "./chunk-NOWWUX5V.js";
35
+ } from "./chunk-ESH2IFRQ.js";
36
36
  import {
37
37
  reportedInstallSource
38
- } from "./chunk-47NWTV5K.js";
38
+ } from "./chunk-ZNQ5YZ2L.js";
39
39
  import {
40
40
  NPX_LATEST_COMMAND
41
- } from "./chunk-WZM7Y5HM.js";
41
+ } from "./chunk-ULOJDRKP.js";
42
42
  import {
43
43
  NO_PAIRING_COMPUTER,
44
44
  PAIR_TTL_SECONDS
45
- } from "./chunk-GYLIVREZ.js";
45
+ } from "./chunk-AY37CFHF.js";
46
46
 
47
47
  // src/onboarding.ts
48
48
  import qrcodeTerminal from "qrcode-terminal";
@@ -5,7 +5,7 @@ import {
5
5
  ensureCodexTrustsPusharyHooks,
6
6
  hermesHistoryNeedsTheCliHelper,
7
7
  recordInstalledHermesHistoryHelper
8
- } from "./chunk-XPS36L6H.js";
8
+ } from "./chunk-ALWSX6SA.js";
9
9
  import {
10
10
  hermesReceiptPaths,
11
11
  hermesSetupPredatesThePluginFolder,
@@ -14,7 +14,7 @@ import {
14
14
  refreshHermesPluginFiles,
15
15
  refreshOpenClawPlugin,
16
16
  shippedHermesPlugin
17
- } from "./chunk-XUJBTEUC.js";
17
+ } from "./chunk-UVWYN2UR.js";
18
18
  import {
19
19
  fxIgnoresInstructionsFile,
20
20
  fxInstructionsBody,
@@ -23,7 +23,7 @@ import {
23
23
  macAppFxBridge,
24
24
  refreshClineKey,
25
25
  switchFxHttpEntryToBridge
26
- } from "./chunk-GP5UGODT.js";
26
+ } from "./chunk-J2PCHNZO.js";
27
27
  import {
28
28
  OPENCODE_HOOK_BINARY,
29
29
  agentHookOwner,
@@ -36,16 +36,16 @@ import {
36
36
  openCodePluginDir,
37
37
  openCodeWired,
38
38
  withOpenCodeAskRules
39
- } from "./chunk-UVO56TVL.js";
39
+ } from "./chunk-GFX5AAWT.js";
40
40
  import {
41
41
  detectClaudeVersion
42
- } from "./chunk-DVAXZOTR.js";
42
+ } from "./chunk-ARWKVVKB.js";
43
43
  import {
44
44
  addCompatibleHooks,
45
45
  compatibleConfigFile,
46
46
  compatibleInstructionsFile,
47
47
  hasCompatibleHooks
48
- } from "./chunk-X5R55HMM.js";
48
+ } from "./chunk-43EYM5PY.js";
49
49
  import {
50
50
  GEMINI_HOOK_BINARY,
51
51
  addGeminiHooks,
@@ -57,13 +57,13 @@ import {
57
57
  geminiWired,
58
58
  hasGeminiHooks,
59
59
  planHooks
60
- } from "./chunk-2EHLFIVK.js";
60
+ } from "./chunk-Z32D32PL.js";
61
61
  import {
62
62
  transcriptsEnabled
63
- } from "./chunk-UNF23P35.js";
63
+ } from "./chunk-66EWTFIK.js";
64
64
  import {
65
65
  KEY_FILE_MODE
66
- } from "./chunk-47NWTV5K.js";
66
+ } from "./chunk-ZNQ5YZ2L.js";
67
67
  import {
68
68
  CLAUDE_CODE_PUSHARY_PERMISSION_RULES,
69
69
  CLAUDE_HOOK_BINARY,
@@ -113,7 +113,7 @@ import {
113
113
  replaceCodexMcpEmbeddedKey,
114
114
  supportedClaudeEvents,
115
115
  vscodePluginMcp
116
- } from "./chunk-WHFXXV2A.js";
116
+ } from "./chunk-O54TEHYJ.js";
117
117
  import {
118
118
  formatVersion
119
119
  } from "./chunk-6ICPEJY5.js";
@@ -121,7 +121,7 @@ import {
121
121
  hookCommandsUseBareNames,
122
122
  resolveGlobalBinDir,
123
123
  resolveGlobalBinary
124
- } from "./chunk-IQBJD5ZB.js";
124
+ } from "./chunk-3K2HA65U.js";
125
125
  import {
126
126
  readJsonSafe,
127
127
  writeFileAtomic,
@@ -131,7 +131,7 @@ import {
131
131
  HOOK_COMPATIBLE_PROFILES,
132
132
  isCompatibleAgentType,
133
133
  isRecord
134
- } from "./chunk-GYLIVREZ.js";
134
+ } from "./chunk-AY37CFHF.js";
135
135
 
136
136
  // src/reapply.ts
137
137
  import { dirname, join } from "path";
@@ -4,10 +4,10 @@ import {
4
4
  } from "./chunk-P6DUWKAO.js";
5
5
  import {
6
6
  fetchAsCredential
7
- } from "./chunk-SYCNMJ3Z.js";
7
+ } from "./chunk-AVST42GD.js";
8
8
  import {
9
9
  getBaseUrl
10
- } from "./chunk-5LE7C6Q2.js";
10
+ } from "./chunk-U7WPURWA.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-GYLIVREZ.js";
18
+ } from "./chunk-AY37CFHF.js";
19
19
 
20
20
  // src/transcript-recipient-pin.ts
21
21
  import { createHash } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  guardBinary
3
- } from "./chunk-WHFXXV2A.js";
3
+ } from "./chunk-O54TEHYJ.js";
4
4
 
5
5
  // src/bell/install.ts
6
6
  import { join } from "path";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  pusharyHookExecutable
3
- } from "./chunk-2EHLFIVK.js";
3
+ } from "./chunk-Z32D32PL.js";
4
4
  import {
5
5
  bridgeResolvesToApp,
6
6
  cursorUserHooks,
7
7
  executableFileName,
8
8
  isBridgeLocator,
9
9
  liveBridgeProbe
10
- } from "./chunk-WHFXXV2A.js";
10
+ } from "./chunk-O54TEHYJ.js";
11
11
  import {
12
12
  atLeast,
13
13
  parseVersion
@@ -21,7 +21,7 @@ import {
21
21
  isCursorHookPayload,
22
22
  isRecord,
23
23
  toolsCoveredByGateEntry
24
- } from "./chunk-GYLIVREZ.js";
24
+ } from "./chunk-AY37CFHF.js";
25
25
 
26
26
  // src/cursor-gate-registration.ts
27
27
  import { dirname, isAbsolute, join, resolve } from "path";
@@ -18,18 +18,18 @@ import {
18
18
  settingSnapshot,
19
19
  writeHermesSetting,
20
20
  writeSetupReceipt
21
- } from "./chunk-XUJBTEUC.js";
21
+ } from "./chunk-UVWYN2UR.js";
22
22
  import {
23
23
  OPENCLAW_MIN_VERSION,
24
24
  OPENCLAW_PLUGIN_ID,
25
25
  OPENCLAW_PLUGIN_PACKAGE
26
- } from "./chunk-UQB4MAA6.js";
26
+ } from "./chunk-JGMEZV2Q.js";
27
27
  import {
28
28
  retryAgentCommand
29
- } from "./chunk-SYEUQH6Z.js";
29
+ } from "./chunk-KGZSVBUD.js";
30
30
  import {
31
31
  configFilePath
32
- } from "./chunk-5LE7C6Q2.js";
32
+ } from "./chunk-U7WPURWA.js";
33
33
  import {
34
34
  readJsonSafe,
35
35
  writeJsonAtomic
@@ -37,7 +37,7 @@ import {
37
37
  import {
38
38
  readSetupOutcomeProperties,
39
39
  redactSecretsFromContent
40
- } from "./chunk-GYLIVREZ.js";
40
+ } from "./chunk-AY37CFHF.js";
41
41
 
42
42
  // src/hermes/shell-gate.ts
43
43
  var readHermesShellGate = async (launcher) => {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  APPROVAL_RULES_PATH,
3
3
  canChangeApprovalSettings
4
- } from "./chunk-WYYZ2UFX.js";
4
+ } from "./chunk-KYCPYOKD.js";
5
5
  import {
6
6
  callMcpTool
7
- } from "./chunk-ZYQHIMZU.js";
7
+ } from "./chunk-HV2DBLA2.js";
8
8
  import {
9
9
  absoluteUrl
10
- } from "./chunk-NOWWUX5V.js";
10
+ } from "./chunk-ESH2IFRQ.js";
11
11
  import {
12
12
  getBaseUrl
13
- } from "./chunk-5LE7C6Q2.js";
13
+ } from "./chunk-U7WPURWA.js";
14
14
  import {
15
15
  NPX_LATEST_COMMAND
16
- } from "./chunk-WZM7Y5HM.js";
16
+ } from "./chunk-ULOJDRKP.js";
17
17
  import {
18
18
  AGENT_STOP_DEFAULT_SECONDS,
19
19
  APPROVAL_MODE_META,
@@ -21,7 +21,7 @@ import {
21
21
  classifyConfirmResponse,
22
22
  isAnswerSource,
23
23
  roundTripAsk
24
- } from "./chunk-GYLIVREZ.js";
24
+ } from "./chunk-AY37CFHF.js";
25
25
 
26
26
  // src/reach.ts
27
27
  var PUSHARY_APP_DOWNLOAD_URL = "https://pushary.com/download";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  redactSecretsFromContent
3
- } from "./chunk-GYLIVREZ.js";
3
+ } from "./chunk-AY37CFHF.js";
4
4
 
5
5
  // src/cli/terminal-row.ts
6
6
  var visibleLength = (text) => text.replace(/\x1b\[[0-9;]*m/g, "").length;
@@ -2,7 +2,7 @@ import {
2
2
  localRepoKey,
3
3
  normalizeRepoRemote,
4
4
  parseGitBranch
5
- } from "./chunk-GYLIVREZ.js";
5
+ } from "./chunk-AY37CFHF.js";
6
6
 
7
7
  // src/repo.ts
8
8
  import { existsSync, readFileSync, statSync } from "fs";
@@ -5,13 +5,13 @@ import {
5
5
  } from "./chunk-OYIN77HO.js";
6
6
  import {
7
7
  readMacAppAgentKey
8
- } from "./chunk-P6AKOYLZ.js";
8
+ } from "./chunk-5EQYWIQ2.js";
9
9
  import {
10
10
  API_KEYS_PATH
11
- } from "./chunk-WYYZ2UFX.js";
11
+ } from "./chunk-KYCPYOKD.js";
12
12
  import {
13
13
  absoluteUrl
14
- } from "./chunk-NOWWUX5V.js";
14
+ } from "./chunk-ESH2IFRQ.js";
15
15
  import {
16
16
  findExportedKeyLines,
17
17
  isAdoptedMacAppKey,
@@ -21,10 +21,10 @@ import {
21
21
  readConfigFileKey,
22
22
  readKeySource,
23
23
  readMacAppKeyPrefix
24
- } from "./chunk-47NWTV5K.js";
24
+ } from "./chunk-ZNQ5YZ2L.js";
25
25
  import {
26
26
  isValidApiKey
27
- } from "./chunk-GYLIVREZ.js";
27
+ } from "./chunk-AY37CFHF.js";
28
28
 
29
29
  // src/cli/held-key-revocation.ts
30
30
  var readCliHeldKeys = (profiles) => {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AGENT_CHOICES
3
- } from "./chunk-NA5EQTCV.js";
3
+ } from "./chunk-D57LIC6X.js";
4
4
  import {
5
5
  BELL_HOOK_BINARY
6
- } from "./chunk-DJYBACUW.js";
6
+ } from "./chunk-WT2RG7RS.js";
7
7
  import {
8
8
  CLAUDE_HOOK_EVENTS,
9
9
  CODEX_HOOK_EVENTS,
@@ -16,13 +16,13 @@ import {
16
16
  isBridgeLocator,
17
17
  isProtectedByScope,
18
18
  registerHookEntry
19
- } from "./chunk-WHFXXV2A.js";
19
+ } from "./chunk-O54TEHYJ.js";
20
20
  import {
21
21
  CURSOR_GATE_EVENTS,
22
22
  HOOK_BUDGETS,
23
23
  HOOK_LOCATOR_BINARY,
24
24
  hookCommandHoldBudget
25
- } from "./chunk-GYLIVREZ.js";
25
+ } from "./chunk-AY37CFHF.js";
26
26
 
27
27
  // src/gemini-config.ts
28
28
  var GEMINI_HOOK_BINARY = "pushary-gemini-hook";