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
@@ -6,10 +6,13 @@ import {
6
6
  } from "./chunk-CINBAX5G.js";
7
7
  import {
8
8
  SETUP_AGENT_CHOICES,
9
+ SETUP_CODE_ENV,
10
+ SETUP_CODE_FLAG,
11
+ SETUP_CODE_SHAPE,
9
12
  isSetupConnectMode,
10
13
  isValidApiKey,
11
14
  normalizeAgentId
12
- } from "./chunk-GYLIVREZ.js";
15
+ } from "./chunk-AY37CFHF.js";
13
16
 
14
17
  // src/setup/options.ts
15
18
  var AGENT_CHOICES = SETUP_AGENT_CHOICES;
@@ -40,7 +43,23 @@ var effectiveVerify = (options, context) => {
40
43
  var effectiveAgentSelection = (selection, context) => selection.kind === "ask" && !context.someoneCanAnswer ? { kind: "auto" } : selection;
41
44
  var SETUP_FLAGS = {
42
45
  bools: ["key-stdin", "skip-phone", "yes", "y", "json", "dry-run", "take-over-hooks", "hermes-gate-terminal", "verbose", "help", "h"],
43
- values: ["key", "connect", "agents", "verify", "control", "transcripts"]
46
+ values: ["key", "connect", "agents", "verify", "control", "transcripts", SETUP_CODE_FLAG]
47
+ };
48
+ var parseSetupCode = (raw) => {
49
+ if (raw === void 0) return null;
50
+ const code = raw.trim();
51
+ if (!SETUP_CODE_SHAPE.test(code)) {
52
+ throw new UsageError(`--${SETUP_CODE_FLAG} takes the eight character code from your phone, like K7P4-2QXM`);
53
+ }
54
+ return code.toUpperCase();
55
+ };
56
+ var setupCodeOf = (fromFlag, fromEnvironment) => {
57
+ if (fromFlag !== null) return { setupCode: fromFlag, setupCodeSource: "flag" };
58
+ return fromEnvironment === null ? { setupCode: null, setupCodeSource: null } : { setupCode: fromEnvironment, setupCodeSource: "environment" };
59
+ };
60
+ var setupCodeFromEnvironment = (env) => {
61
+ const code = env[SETUP_CODE_ENV]?.trim();
62
+ return code !== void 0 && SETUP_CODE_SHAPE.test(code) ? code.toUpperCase() : null;
44
63
  };
45
64
  var effectiveControlMode = (options, stored) => options.controlExplicit ? options.control : stored ?? options.control;
46
65
  var parseAgentSelection = (raw, yes) => {
@@ -126,7 +145,8 @@ var parseSetupOptions = (input) => {
126
145
  transcripts: transcriptsRaw === void 0 ? null : transcriptsRaw === "on",
127
146
  takeOverHooks: flags.bools.has("take-over-hooks"),
128
147
  hermesGateTerminal: flags.bools.has("hermes-gate-terminal"),
129
- verbose: flags.bools.has("verbose")
148
+ verbose: flags.bools.has("verbose"),
149
+ ...setupCodeOf(parseSetupCode(flags.values.get(SETUP_CODE_FLAG)), setupCodeFromEnvironment(input.env ?? {}))
130
150
  };
131
151
  };
132
152
 
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  openClawLauncherCandidates
3
- } from "./chunk-UQB4MAA6.js";
3
+ } from "./chunk-JGMEZV2Q.js";
4
4
  import {
5
5
  openCodeConfigDirFrom
6
- } from "./chunk-UVO56TVL.js";
6
+ } from "./chunk-GFX5AAWT.js";
7
7
  import {
8
8
  nativeClaudeInstallPath
9
9
  } from "./chunk-TCE3J44Z.js";
10
10
  import {
11
11
  grokHome
12
- } from "./chunk-X5R55HMM.js";
12
+ } from "./chunk-43EYM5PY.js";
13
13
  import {
14
14
  claudeConfigDir,
15
15
  clineDataDirectory,
16
16
  codexHomeFrom,
17
17
  openClawEnvironmentOf,
18
18
  openClawPathsFrom
19
- } from "./chunk-WHFXXV2A.js";
19
+ } from "./chunk-O54TEHYJ.js";
20
20
  import {
21
21
  HOOK_COMPATIBLE_PROFILES
22
- } from "./chunk-GYLIVREZ.js";
22
+ } from "./chunk-AY37CFHF.js";
23
23
 
24
24
  // src/vscode-config.ts
25
25
  import { homedir } from "os";
@@ -6,7 +6,7 @@ import {
6
6
  OPENCODE_PLUGIN_PLACEHOLDER,
7
7
  OPENCODE_PLUGIN_SIBLING,
8
8
  OPENCODE_PLUGIN_SIBLING_CONTENTS
9
- } from "./chunk-XIEYX4TJ.js";
9
+ } from "./chunk-EPQDQGVZ.js";
10
10
 
11
11
  // src/opencode-runtime-bundle.ts
12
12
  var openCodeRuntimeSource = `import { spawn } from 'child_process';
@@ -29,7 +29,7 @@ import {
29
29
  reportableSessionId,
30
30
  toToolLookup,
31
31
  truncateLine
32
- } from "./chunk-GYLIVREZ.js";
32
+ } from "./chunk-AY37CFHF.js";
33
33
 
34
34
  // ../hook-mapping/src/commit-receipt.ts
35
35
  var COMMIT_OUTPUT_MAX_LENGTH = 65536;
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  compatibleConfigFile,
3
3
  hasCompatibleHooks
4
- } from "./chunk-X5R55HMM.js";
4
+ } from "./chunk-43EYM5PY.js";
5
5
  import {
6
6
  pusharyHookExecutable
7
- } from "./chunk-2EHLFIVK.js";
7
+ } from "./chunk-Z32D32PL.js";
8
8
  import {
9
9
  isProtectedByScope,
10
10
  registerHookEntry
11
- } from "./chunk-WHFXXV2A.js";
11
+ } from "./chunk-O54TEHYJ.js";
12
12
  import {
13
13
  isRecord
14
- } from "./chunk-GYLIVREZ.js";
14
+ } from "./chunk-AY37CFHF.js";
15
15
 
16
16
  // src/cursor-config.ts
17
17
  var hookCommandOf = (entry) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HOOK_BUDGETS
3
- } from "./chunk-GYLIVREZ.js";
3
+ } from "./chunk-AY37CFHF.js";
4
4
 
5
5
  // src/opencode-protocol.ts
6
6
  var OPENCODE_PLUGIN_MARKER = "pushary-opencode-plugin w1";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pusharyFetch
3
- } from "./chunk-S4AQUVX3.js";
3
+ } from "./chunk-3QOTNFNM.js";
4
4
  import {
5
5
  getBaseUrl
6
- } from "./chunk-5LE7C6Q2.js";
6
+ } from "./chunk-U7WPURWA.js";
7
7
  import {
8
8
  NetworkError
9
9
  } from "./chunk-CINBAX5G.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  isValidApiKey,
15
15
  normalizeKeyScope
16
- } from "./chunk-GYLIVREZ.js";
16
+ } from "./chunk-AY37CFHF.js";
17
17
 
18
18
  // src/session.ts
19
19
  var samePusharyAccount = (left, right) => left.kind === "ok" && right.kind === "ok" && left.identity.workspaceId !== "" && left.identity.workspaceId === right.identity.workspaceId && left.identity.siteId === right.identity.siteId;
@@ -3,24 +3,24 @@ import {
3
3
  expectedLaunchCapabilities,
4
4
  hasSpawnProvider,
5
5
  resolveControlPolicy
6
- } from "./chunk-YGCU6KMO.js";
6
+ } from "./chunk-PAKMLOFV.js";
7
7
  import {
8
8
  daemonHasRemoteProof,
9
9
  daemonServiceManagerAvailable,
10
10
  hasDaemonServiceDefinition,
11
11
  readDaemonNeedsLogin,
12
12
  readDaemonStatus
13
- } from "./chunk-IR342JX3.js";
13
+ } from "./chunk-MPXY3I3M.js";
14
14
  import {
15
15
  getMachineId
16
- } from "./chunk-4ZSC56SL.js";
16
+ } from "./chunk-UXRP56HU.js";
17
17
  import {
18
18
  readControlMode,
19
19
  readKeyInForce
20
- } from "./chunk-47NWTV5K.js";
20
+ } from "./chunk-ZNQ5YZ2L.js";
21
21
  import {
22
22
  getBaseUrl
23
- } from "./chunk-5LE7C6Q2.js";
23
+ } from "./chunk-U7WPURWA.js";
24
24
  import {
25
25
  getPackageVersion
26
26
  } from "./chunk-CXQWDQCJ.js";
@@ -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
  readRegularJsonFile,
6
6
  writeFileAtomic
@@ -13,7 +13,7 @@ import {
13
13
  serializeDeclinedAgents,
14
14
  withDeclinedAgent,
15
15
  withoutDeclinedAgent
16
- } from "./chunk-GYLIVREZ.js";
16
+ } from "./chunk-AY37CFHF.js";
17
17
 
18
18
  // src/declined-agents-file.ts
19
19
  import { join } from "path";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  callDecisionStore
3
- } from "./chunk-N6ARPVSQ.js";
3
+ } from "./chunk-3D6EDVCE.js";
4
4
  import {
5
5
  claudePromptMayFollowPreToolUseAllow,
6
6
  promptedCallIdentityText
7
- } from "./chunk-YZRUE46K.js";
7
+ } from "./chunk-DLMR45RP.js";
8
8
 
9
9
  // src/phone-approval.ts
10
10
  import { createHash as createHash2 } from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  questionWindowOf
3
- } from "./chunk-N6ARPVSQ.js";
3
+ } from "./chunk-3D6EDVCE.js";
4
4
  import {
5
5
  UNNAMED_ACTION
6
- } from "./chunk-YZRUE46K.js";
6
+ } from "./chunk-DLMR45RP.js";
7
7
  import {
8
8
  ASK_USER_TIMEOUT_MS,
9
9
  WAIT_END_TIMEOUT_MS,
@@ -11,10 +11,10 @@ import {
11
11
  askUser,
12
12
  unavailableQuestionUnlessRefused,
13
13
  waitForQuestion
14
- } from "./chunk-4LRWEHQT.js";
14
+ } from "./chunk-TZ32ZFFG.js";
15
15
  import {
16
16
  getMachineId
17
- } from "./chunk-4ZSC56SL.js";
17
+ } from "./chunk-UXRP56HU.js";
18
18
  import {
19
19
  hookMaxWaitSeconds,
20
20
  hookWaitClamped,
@@ -24,7 +24,7 @@ import {
24
24
  refusesWhenUnanswered,
25
25
  ruleApprovesAfterItsFullWindow,
26
26
  scopeBreachReasonOf
27
- } from "./chunk-GYLIVREZ.js";
27
+ } from "./chunk-AY37CFHF.js";
28
28
 
29
29
  // src/pushed-question.ts
30
30
  var scopeQuestionOf = (verdict) => {
@@ -3,7 +3,7 @@ import {
3
3
  openCodePluginArgv,
4
4
  openCodePluginModule,
5
5
  renderOpenCodePlugin
6
- } from "./chunk-EKU4KLON.js";
6
+ } from "./chunk-DBYHLVQ2.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-XIEYX4TJ.js";
15
+ } from "./chunk-EPQDQGVZ.js";
16
16
  import {
17
17
  compatibleConfigFile
18
- } from "./chunk-X5R55HMM.js";
18
+ } from "./chunk-43EYM5PY.js";
19
19
  import {
20
20
  hookOwnerOf,
21
21
  hookOwnerOfCommands
22
- } from "./chunk-2EHLFIVK.js";
22
+ } from "./chunk-Z32D32PL.js";
23
23
  import {
24
24
  AGENT_CHOICES
25
- } from "./chunk-NA5EQTCV.js";
25
+ } from "./chunk-D57LIC6X.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-WHFXXV2A.js";
39
+ } from "./chunk-O54TEHYJ.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-GYLIVREZ.js";
49
+ } from "./chunk-AY37CFHF.js";
50
50
 
51
51
  // src/opencode-config.ts
52
52
  import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "fs";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  fetchAsCredential
3
- } from "./chunk-SYCNMJ3Z.js";
3
+ } from "./chunk-AVST42GD.js";
4
4
  import {
5
5
  keyCheckFromResponse
6
- } from "./chunk-NOWWUX5V.js";
6
+ } from "./chunk-ESH2IFRQ.js";
7
7
  import {
8
8
  installNetworkDefaults
9
- } from "./chunk-S4AQUVX3.js";
9
+ } from "./chunk-3QOTNFNM.js";
10
10
  import {
11
11
  getBaseUrl
12
- } from "./chunk-5LE7C6Q2.js";
12
+ } from "./chunk-U7WPURWA.js";
13
13
  import {
14
14
  isRecord,
15
15
  isToolErrorResult,
16
16
  toolFailureCodeOfResult
17
- } from "./chunk-GYLIVREZ.js";
17
+ } from "./chunk-AY37CFHF.js";
18
18
 
19
19
  // src/retry.ts
20
20
  var isRetryable = (err) => {
@@ -4,13 +4,13 @@ import {
4
4
  configFailureKind,
5
5
  retryAgentCommand,
6
6
  writeSetupConfigFile
7
- } from "./chunk-SYEUQH6Z.js";
7
+ } from "./chunk-KGZSVBUD.js";
8
8
  import {
9
9
  MCP_BRIDGE_BINARY
10
- } from "./chunk-O2X6KT7P.js";
10
+ } from "./chunk-MFQNYRKP.js";
11
11
  import {
12
12
  KEY_FILE_MODE
13
- } from "./chunk-47NWTV5K.js";
13
+ } from "./chunk-ZNQ5YZ2L.js";
14
14
  import {
15
15
  CLINE_SERVER_NAME_TAKEN,
16
16
  CLINE_SETTINGS_REFUSALS,
@@ -32,10 +32,10 @@ import {
32
32
  withClinePusharyServer,
33
33
  withRefreshedClineKey,
34
34
  withoutClinePusharyServer
35
- } from "./chunk-WHFXXV2A.js";
35
+ } from "./chunk-O54TEHYJ.js";
36
36
  import {
37
37
  resolveGlobalBinary
38
- } from "./chunk-IQBJD5ZB.js";
38
+ } from "./chunk-3K2HA65U.js";
39
39
  import {
40
40
  readJsonSafe,
41
41
  writeFileAtomic,
@@ -5,13 +5,13 @@ import {
5
5
  OPENCLAW_ENVIRONMENT_KEYS,
6
6
  openClawEnvironmentOf,
7
7
  openClawPathsFrom
8
- } from "./chunk-WHFXXV2A.js";
8
+ } from "./chunk-O54TEHYJ.js";
9
9
  import {
10
10
  resolvePathBinary
11
- } from "./chunk-IQBJD5ZB.js";
11
+ } from "./chunk-3K2HA65U.js";
12
12
  import {
13
13
  isRecord
14
- } from "./chunk-GYLIVREZ.js";
14
+ } from "./chunk-AY37CFHF.js";
15
15
 
16
16
  // src/openclaw/wiring-state.ts
17
17
  var OPENCLAW_PLUGIN_ID = "pushary";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isFinalCommandAckRefusal
3
- } from "./chunk-GYLIVREZ.js";
3
+ } from "./chunk-AY37CFHF.js";
4
4
 
5
5
  // src/command-ack-outcome.ts
6
6
  var SETTLED_ACK = { outcome: "settled" };
@@ -2,7 +2,7 @@ import {
2
2
  isApprovalMode,
3
3
  isRecord,
4
4
  isTimeoutAction
5
- } from "./chunk-GYLIVREZ.js";
5
+ } from "./chunk-AY37CFHF.js";
6
6
 
7
7
  // src/cli/settings-response.ts
8
8
  var isFiniteNumber = (value) => typeof value === "number" && Number.isFinite(value);
@@ -4,16 +4,16 @@ import {
4
4
  NpmMissingError,
5
5
  NpmPermissionError,
6
6
  NpmReleaseAgeError
7
- } from "./chunk-IQBJD5ZB.js";
7
+ } from "./chunk-3K2HA65U.js";
8
8
  import {
9
9
  writeFileAtomic
10
10
  } from "./chunk-PM2NRK6Y.js";
11
11
  import {
12
12
  NPX_LATEST_COMMAND
13
- } from "./chunk-WZM7Y5HM.js";
13
+ } from "./chunk-ULOJDRKP.js";
14
14
  import {
15
15
  readSetupAgentFailures
16
- } from "./chunk-GYLIVREZ.js";
16
+ } from "./chunk-AY37CFHF.js";
17
17
 
18
18
  // src/setup/config-write.ts
19
19
  var AgentConfigWriteError = class extends Error {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteUrl
3
- } from "./chunk-NOWWUX5V.js";
3
+ } from "./chunk-ESH2IFRQ.js";
4
4
  import {
5
5
  KEY_SCOPE
6
- } from "./chunk-GYLIVREZ.js";
6
+ } from "./chunk-AY37CFHF.js";
7
7
 
8
8
  // src/cli/approval-settings-pages.ts
9
9
  var API_KEYS_PATH = "/dashboard/agent/settings";
@@ -4,10 +4,10 @@ import {
4
4
  keyPrefix,
5
5
  readConfigFileKey,
6
6
  readMacAppKeyPrefix
7
- } from "./chunk-47NWTV5K.js";
7
+ } from "./chunk-ZNQ5YZ2L.js";
8
8
  import {
9
9
  NPX_LATEST_COMMAND
10
- } from "./chunk-WZM7Y5HM.js";
10
+ } from "./chunk-ULOJDRKP.js";
11
11
 
12
12
  // src/key-signed-out.ts
13
13
  var VERDICT_BY_CHECK = {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-WHFXXV2A.js";
3
+ } from "./chunk-O54TEHYJ.js";
4
4
  import {
5
5
  readJsonSafe
6
6
  } from "./chunk-PM2NRK6Y.js";
7
7
  import {
8
8
  isRecord
9
- } from "./chunk-GYLIVREZ.js";
9
+ } from "./chunk-AY37CFHF.js";
10
10
 
11
11
  // src/process-ownership.ts
12
12
  import { createHash, randomUUID } from "crypto";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  autoUpdateLock
3
- } from "./chunk-WHFXXV2A.js";
3
+ } from "./chunk-O54TEHYJ.js";
4
4
  import {
5
5
  installPackageGlobally,
6
6
  npmErrorMessage,
7
7
  throwIfNpmRefusesInstall
8
- } from "./chunk-IQBJD5ZB.js";
8
+ } from "./chunk-3K2HA65U.js";
9
9
  import {
10
10
  writeJsonAtomic
11
11
  } from "./chunk-PM2NRK6Y.js";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  parseSseMessages
3
- } from "./chunk-ZYQHIMZU.js";
3
+ } from "./chunk-HV2DBLA2.js";
4
4
  import {
5
5
  fetchAsCredential
6
- } from "./chunk-SYCNMJ3Z.js";
6
+ } from "./chunk-AVST42GD.js";
7
7
  import {
8
8
  malformedApiKeyMessage
9
- } from "./chunk-5LE7C6Q2.js";
9
+ } from "./chunk-U7WPURWA.js";
10
10
  import {
11
11
  NPX_LATEST_COMMAND
12
- } from "./chunk-WZM7Y5HM.js";
12
+ } from "./chunk-ULOJDRKP.js";
13
13
 
14
14
  // src/mcp-stdio-bridge.ts
15
15
  var MCP_BRIDGE_BINARY = "pushary-mcp";
@@ -4,20 +4,20 @@ import {
4
4
  } from "./chunk-3PSNUHC5.js";
5
5
  import {
6
6
  getMachineId
7
- } from "./chunk-4ZSC56SL.js";
7
+ } from "./chunk-UXRP56HU.js";
8
8
  import {
9
9
  readControlMode
10
- } from "./chunk-47NWTV5K.js";
10
+ } from "./chunk-ZNQ5YZ2L.js";
11
11
  import {
12
12
  pusharyDir
13
- } from "./chunk-WHFXXV2A.js";
13
+ } from "./chunk-O54TEHYJ.js";
14
14
  import {
15
15
  resolveGlobalBinary,
16
16
  withoutNpmInstallConsent
17
- } from "./chunk-IQBJD5ZB.js";
17
+ } from "./chunk-3K2HA65U.js";
18
18
  import {
19
19
  getApiKey
20
- } from "./chunk-5LE7C6Q2.js";
20
+ } from "./chunk-U7WPURWA.js";
21
21
  import {
22
22
  readJsonSafe,
23
23
  writeFileAtomic,
@@ -33,7 +33,7 @@ import {
33
33
  } from "./chunk-CXQWDQCJ.js";
34
34
  import {
35
35
  isRecord
36
- } from "./chunk-GYLIVREZ.js";
36
+ } from "./chunk-AY37CFHF.js";
37
37
 
38
38
  // src/daemon-entry-guard.ts
39
39
  import { mkdirSync, readFileSync } from "fs";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-POFBE6ZY.js";
4
4
  import {
5
5
  autoUpdateState
6
- } from "./chunk-WHFXXV2A.js";
6
+ } from "./chunk-O54TEHYJ.js";
7
7
  import {
8
8
  readJsonSafe,
9
9
  writeJsonAtomic
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-CXQWDQCJ.js";
18
18
  import {
19
19
  isAutoUpdateResult
20
- } from "./chunk-GYLIVREZ.js";
20
+ } from "./chunk-AY37CFHF.js";
21
21
 
22
22
  // src/auto-update.ts
23
23
  import { spawn } from "child_process";
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  quoteIfNeeded,
7
7
  shellDoubleQuoted
8
- } from "./chunk-IQBJD5ZB.js";
8
+ } from "./chunk-3K2HA65U.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-GYLIVREZ.js";
27
+ } from "./chunk-AY37CFHF.js";
28
28
 
29
29
  // src/setup/paths.ts
30
30
  import { createHash as createHash2 } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SETUP_FLAGS
3
- } from "./chunk-NA5EQTCV.js";
3
+ } from "./chunk-D57LIC6X.js";
4
4
  import {
5
5
  parseFlags
6
6
  } from "./chunk-BZIBNSQE.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-CINBAX5G.js";
10
10
  import {
11
11
  NPX_LATEST_COMMAND
12
- } from "./chunk-WZM7Y5HM.js";
12
+ } from "./chunk-ULOJDRKP.js";
13
13
  import {
14
14
  CLAUDE_CONNECTOR_GUIDE,
15
15
  CLAUDE_CONNECTOR_STEPS,
@@ -17,7 +17,7 @@ import {
17
17
  CLAUDE_CONNECTOR_URL,
18
18
  COWORK_CONNECTOR_LIMIT,
19
19
  COWORK_STANDING_INSTRUCTIONS
20
- } from "./chunk-GYLIVREZ.js";
20
+ } from "./chunk-AY37CFHF.js";
21
21
 
22
22
  // src/cli/cowork.ts
23
23
  import { readFileSync } from "fs";
@@ -2,31 +2,31 @@ import {
2
2
  SIGNED_OUT_ON_MAC_MESSAGE,
3
3
  describeSignedOutKey,
4
4
  readSignedOutDiagnosis
5
- } from "./chunk-YBAU5TAV.js";
5
+ } from "./chunk-L7GL5TJY.js";
6
6
  import {
7
7
  APPROVAL_RULES_PATH
8
- } from "./chunk-WYYZ2UFX.js";
8
+ } from "./chunk-KYCPYOKD.js";
9
9
  import {
10
10
  createIo
11
- } from "./chunk-TEFLCQO4.js";
11
+ } from "./chunk-XNYZBQCJ.js";
12
12
  import {
13
13
  absoluteUrl,
14
14
  checkApiKey,
15
15
  describeKeyCheck,
16
16
  keyCheckFromResponse
17
- } from "./chunk-NOWWUX5V.js";
17
+ } from "./chunk-ESH2IFRQ.js";
18
18
  import {
19
19
  readKeySource
20
- } from "./chunk-47NWTV5K.js";
20
+ } from "./chunk-ZNQ5YZ2L.js";
21
21
  import {
22
22
  getBaseUrl
23
- } from "./chunk-5LE7C6Q2.js";
23
+ } from "./chunk-U7WPURWA.js";
24
24
  import {
25
25
  EXIT
26
26
  } from "./chunk-BG4HHB7E.js";
27
27
  import {
28
28
  KEY_SCOPE
29
- } from "./chunk-GYLIVREZ.js";
29
+ } from "./chunk-AY37CFHF.js";
30
30
 
31
31
  // src/cli/report-key.ts
32
32
  var { dim, yellow } = createIo();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  realpath
3
- } from "./chunk-DVAXZOTR.js";
3
+ } from "./chunk-ARWKVVKB.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-IQBJD5ZB.js";
15
+ } from "./chunk-3K2HA65U.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-GYLIVREZ.js";
28
+ } from "./chunk-AY37CFHF.js";
29
29
 
30
30
  // src/live-capabilities.ts
31
31
  import { execFileSync } from "child_process";