pushary 1.9.219 → 1.9.221

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 (141) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/{api-HLSVV37E.js → api-JTOIAJHT.js} +11 -11
  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 +12 -12
  6. package/dist/bin/pushary-calls.js +15 -15
  7. package/dist/bin/pushary-claude.js +26 -26
  8. package/dist/bin/pushary-clean.js +39 -39
  9. package/dist/bin/pushary-codex-bridge.js +23 -23
  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 +17 -11
  18. package/dist/bin/pushary-doctor.js +47 -47
  19. package/dist/bin/pushary-elicitation-hook.js +27 -27
  20. package/dist/bin/pushary-gemini-bridge.js +18 -18
  21. package/dist/bin/pushary-gemini-hook.js +31 -31
  22. package/dist/bin/pushary-hook.js +34 -34
  23. package/dist/bin/pushary-login.js +22 -22
  24. package/dist/bin/pushary-logout.js +30 -30
  25. package/dist/bin/pushary-mcp.js +12 -12
  26. package/dist/bin/pushary-mode.js +16 -16
  27. package/dist/bin/pushary-notification-hook.js +27 -27
  28. package/dist/bin/pushary-opencode-bridge.js +22 -22
  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 +34 -34
  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 +14 -14
  37. package/dist/bin/pushary-setup.js +57 -57
  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 +16 -16
  43. package/dist/bin/pushary-transcript-register.js +17 -17
  44. package/dist/bin/pushary-transcripts.js +25 -25
  45. package/dist/bin/pushary-upgrade.js +46 -46
  46. package/dist/bin/pushary-wait.js +16 -16
  47. package/dist/bin/pushary.js +7 -7
  48. package/dist/{chunk-YFYD7TZX.js → chunk-2PYVR6W4.js} +2 -2
  49. package/dist/{chunk-5T73V757.js → chunk-3JDBILMC.js} +1 -1
  50. package/dist/{chunk-WGOQNQAJ.js → chunk-3YBPITHZ.js} +1 -1
  51. package/dist/{chunk-BLE5VR4N.js → chunk-45RB4A5I.js} +3 -3
  52. package/dist/{chunk-KEG2RUV2.js → chunk-4JBJ47K7.js} +6 -6
  53. package/dist/{chunk-CZJZ4NTJ.js → chunk-5MTASFSB.js} +4 -4
  54. package/dist/{chunk-ANENQIII.js → chunk-624434K4.js} +12 -12
  55. package/dist/{chunk-P6GK3NJF.js → chunk-6HWIQEPF.js} +5 -5
  56. package/dist/{chunk-ALBZHD3K.js → chunk-6ML2JCSW.js} +4 -4
  57. package/dist/{chunk-V4STGM2V.js → chunk-7DSSWYIS.js} +5 -5
  58. package/dist/{chunk-63UN5EUK.js → chunk-7HMNT5DR.js} +7 -7
  59. package/dist/{chunk-AMVK36AI.js → chunk-7JNLUN65.js} +4 -4
  60. package/dist/{chunk-EYIV7NHX.js → chunk-A4WF3WDA.js} +5 -5
  61. package/dist/{chunk-OR6LG45T.js → chunk-A5MNFZL5.js} +9 -9
  62. package/dist/{chunk-N4GJSAVY.js → chunk-AN2EIWF3.js} +3 -3
  63. package/dist/{chunk-J355LTH7.js → chunk-BAH3WT7Z.js} +2 -2
  64. package/dist/{chunk-R7TYJMIX.js → chunk-CIETRIS6.js} +5 -5
  65. package/dist/{chunk-DG6YDFFC.js → chunk-DKDURRNS.js} +2 -2
  66. package/dist/{chunk-IBEX5YUN.js → chunk-DUDBTT3J.js} +4 -4
  67. package/dist/{chunk-XAAUGAEC.js → chunk-DVFQ2ILC.js} +3 -3
  68. package/dist/{chunk-5YKUH4IX.js → chunk-EBRDPALD.js} +1 -1
  69. package/dist/{chunk-LQ5W3PQI.js → chunk-GBQC3S6V.js} +1 -1
  70. package/dist/{chunk-T7ITVKNC.js → chunk-GL7RJODG.js} +1 -1
  71. package/dist/{chunk-NOA5325L.js → chunk-H5MSCUQW.js} +5 -5
  72. package/dist/{chunk-QP5K3VAU.js → chunk-HFS627UG.js} +6 -6
  73. package/dist/{chunk-FIRKU3MH.js → chunk-HQJPT5KI.js} +4 -4
  74. package/dist/{chunk-DNOOPEMW.js → chunk-HWGF3NYS.js} +1 -1
  75. package/dist/{chunk-O3VKOGTN.js → chunk-I6ODTB3M.js} +2 -2
  76. package/dist/{chunk-KLSNXMZT.js → chunk-IQ2HY4D5.js} +5 -5
  77. package/dist/{chunk-5ZGD6AZV.js → chunk-IV43BDFN.js} +1 -1
  78. package/dist/{chunk-I5ILQPMH.js → chunk-JEOQ4VXD.js} +8 -8
  79. package/dist/{chunk-R7L65RZQ.js → chunk-JGD7KVCM.js} +10 -10
  80. package/dist/{chunk-GPYHVSYW.js → chunk-JNNLSAS5.js} +1 -1
  81. package/dist/{chunk-33BJNS3C.js → chunk-JSEHZPLC.js} +4 -4
  82. package/dist/{chunk-PZZFRUGH.js → chunk-JX4AEMKB.js} +1 -1
  83. package/dist/{chunk-MTARW7ZM.js → chunk-KANE733H.js} +1 -1
  84. package/dist/{chunk-ZAJIKNSK.js → chunk-LTJI4SBZ.js} +2 -2
  85. package/dist/{chunk-6LRLLOK2.js → chunk-LV4G3THM.js} +3 -3
  86. package/dist/{chunk-QVPPK677.js → chunk-MLDI6AF3.js} +1 -1
  87. package/dist/{chunk-G6HBBR6G.js → chunk-NOXGXO2D.js} +2 -2
  88. package/dist/{chunk-A5HEOPN3.js → chunk-OLFIEDEY.js} +3 -3
  89. package/dist/{chunk-D67H74VR.js → chunk-PEVHQDEW.js} +1 -1
  90. package/dist/{chunk-QNN7PXJC.js → chunk-PKDV377M.js} +3 -3
  91. package/dist/{chunk-AALWOL35.js → chunk-PVMQE42Q.js} +7 -7
  92. package/dist/{chunk-VWIKYJMA.js → chunk-RCRNZ27Z.js} +16 -16
  93. package/dist/{chunk-W7HBQJBU.js → chunk-RETWX7MH.js} +6 -6
  94. package/dist/{chunk-DP6M4VNO.js → chunk-RI3JPM5A.js} +1 -1
  95. package/dist/{chunk-VY3WDMN5.js → chunk-RIXQJT7Y.js} +1 -1
  96. package/dist/{chunk-G2H3TZIT.js → chunk-RLYMOZFR.js} +1 -1
  97. package/dist/{chunk-VCNVOXSF.js → chunk-RX5U2GCR.js} +3 -3
  98. package/dist/{chunk-BX43EONR.js → chunk-RZYGO6AP.js} +5 -5
  99. package/dist/{chunk-ZDI5CXNP.js → chunk-SCJQGYE6.js} +2 -2
  100. package/dist/{chunk-HYTYYZCW.js → chunk-SHJMSG2V.js} +16 -10
  101. package/dist/{chunk-M5C6BAYU.js → chunk-SUNV63JU.js} +3 -3
  102. package/dist/{chunk-6HEYYF4M.js → chunk-SY7IDQEJ.js} +3 -3
  103. package/dist/{chunk-JWRV7KGV.js → chunk-TCZ46QAX.js} +5 -5
  104. package/dist/{chunk-4JC4KEAK.js → chunk-TXBAJEMC.js} +1 -1
  105. package/dist/{chunk-I5C5JTD7.js → chunk-U6O6UBGW.js} +1 -1
  106. package/dist/{chunk-3RON5GEL.js → chunk-UDKEHYEH.js} +5 -5
  107. package/dist/{chunk-MZEHIL5X.js → chunk-UIWTGSZP.js} +6 -6
  108. package/dist/{chunk-4OU6AMW2.js → chunk-UK66PEWW.js} +4 -4
  109. package/dist/{chunk-CXGE57RE.js → chunk-US6SM7WS.js} +1 -1
  110. package/dist/{chunk-3LJAZXQH.js → chunk-UW5STDS3.js} +1 -1
  111. package/dist/{chunk-4I2SNDAP.js → chunk-UWY2QJ6D.js} +2 -2
  112. package/dist/{chunk-LZU2OKF5.js → chunk-UXLGIXAW.js} +3 -3
  113. package/dist/{chunk-H3Q2UISR.js → chunk-UYW456YU.js} +1 -1
  114. package/dist/{chunk-43GTIQA6.js → chunk-VCN5MOSO.js} +6 -6
  115. package/dist/{chunk-KGSIBDQH.js → chunk-VFVLM6OC.js} +2 -2
  116. package/dist/{chunk-MMONXTP4.js → chunk-WZ3FGOGX.js} +2 -2
  117. package/dist/{chunk-EHMLODBU.js → chunk-X3DWEYLO.js} +3 -3
  118. package/dist/{chunk-2NIFT2XQ.js → chunk-XVH3M2LX.js} +1 -1
  119. package/dist/{chunk-TNFUBZZP.js → chunk-YEVBZVZH.js} +4 -4
  120. package/dist/{chunk-NJGZLUXW.js → chunk-YSJI3CNQ.js} +2 -2
  121. package/dist/{chunk-TPWFAGYZ.js → chunk-YW6TMH5Q.js} +2 -2
  122. package/dist/{chunk-OFJ63I2T.js → chunk-YYQHBOQB.js} +5 -5
  123. package/dist/{chunk-SSGEIHML.js → chunk-ZHF2HQAH.js} +4 -4
  124. package/dist/{chunk-SXB4UCSW.js → chunk-ZROUIAPA.js} +12 -12
  125. package/dist/{chunk-K26RWC2P.js → chunk-ZRYTUECR.js} +2 -2
  126. package/dist/{chunk-TOUN7PUZ.js → chunk-ZWMQR6TE.js} +1 -1
  127. package/dist/{codex-app-cards-switch-QX2IJVRJ.js → codex-app-cards-switch-2EVH7E5F.js} +11 -11
  128. package/dist/{codex-card-routing-UZ3MIVHK.js → codex-card-routing-GDVRWK2E.js} +2 -2
  129. package/dist/{codex-desktop-launch-YUJINX2O.js → codex-desktop-launch-ODHJNOKB.js} +1 -1
  130. package/dist/{codex-session-launch-MVWZBHWE.js → codex-session-launch-J2BVVYQN.js} +20 -20
  131. package/dist/{config-IUICQWNS.js → config-6EROWTFW.js} +3 -3
  132. package/dist/{global-upgrade-L2FBXTHX.js → global-upgrade-WTIVMPOJ.js} +9 -9
  133. package/dist/{identity-62FPQQZL.js → identity-BA4HGNJ5.js} +4 -4
  134. package/dist/{live-capabilities-4U3KT3GQ.js → live-capabilities-JLRZCD2P.js} +4 -4
  135. package/dist/{paths-S2NXPE7E.js → paths-LLHZWMPM.js} +3 -3
  136. package/dist/reapply-YAEKWAUL.js +74 -0
  137. package/dist/src/index.js +33 -33
  138. package/dist/{upgrade-lock-RE5DB37L.js → upgrade-lock-LVC72XIF.js} +4 -4
  139. package/dist/{usage-DZDCO7O2.js → usage-2WSXDV5P.js} +3 -3
  140. package/package.json +1 -1
  141. package/dist/reapply-M7YPZ5XG.js +0 -74
@@ -8886,27 +8886,33 @@ var ASK_QUESTION_MAX = 8e3;
8886
8886
  var ASK_CONTEXT_MAX = 500;
8887
8887
  var ASK_AGENT_NAME_MAX = 100;
8888
8888
  var GIT_GLOBAL_OPTION = String.raw`(?:\s+-\S*(?:\s+[^\s-]\S*)?)`;
8889
- var sameCommandBeforeAnother = (program) => String.raw`(?:(?!\b${program}\b)[^\n;&|])*?`;
8889
+ var MOST_GIT_GLOBAL_OPTIONS_BEFORE_THE_SUBCOMMAND = 16;
8890
+ var SOME_GIT_GLOBAL_OPTIONS = String.raw`${GIT_GLOBAL_OPTION}{1,${MOST_GIT_GLOBAL_OPTIONS_BEFORE_THE_SUBCOMMAND}}`;
8891
+ var ANY_GIT_GLOBAL_OPTIONS = String.raw`${GIT_GLOBAL_OPTION}{0,${MOST_GIT_GLOBAL_OPTIONS_BEFORE_THE_SUBCOMMAND}}`;
8892
+ var AMPERSAND_OR_BAR_OF_A_REDIRECT = String.raw`(?<=[<>])&|(?<=>)\||(?<=>&)\||(?<![<>])&(?=>)`;
8893
+ var SAME_COMMAND_CHARACTER = String.raw`(?:[^\n;&|]|${AMPERSAND_OR_BAR_OF_A_REDIRECT})`;
8894
+ var sameCommandBeforeAnother = (program) => String.raw`(?:(?!\b${program}\b)${SAME_COMMAND_CHARACTER})*?`;
8890
8895
  var RM_AS_A_PROGRAM = String.raw`(?:^|[^\w-])rm\b`;
8891
- var RM_COMMAND_BEFORE_ANOTHER_RM = String.raw`(?:(?![^\w-]rm\b)[^\n;&|])*?`;
8892
- var REDIRECTS_THEN_AN_ARGUMENT = String.raw`(?:\d*[<>]+[&|]?\s*[^\s;&|<>]+(?:[<>]+[&|]?[^\s;&|<>]+)*\s+)*(?!\d*[<>])[^\s;&|<>]`;
8896
+ var RM_COMMAND_BEFORE_ANOTHER_RM = String.raw`(?:(?![^\w-]rm\b)${SAME_COMMAND_CHARACTER})*?`;
8897
+ var REDIRECTS_THEN_AN_ARGUMENT = String.raw`(?:(?:&(?=>)|\d*)[<>]+[&|]?[ \t]*[^\s;&|<>]+(?:[<>]+[&|]?[^\s;&|<>]+)*[ \t]+)*(?!\d*[<>])[^\s;&|<>]`;
8898
+ var NOT_A_REDIRECT_TARGET = String.raw`(?<![<>]|[<>][&|]|[ \t])`;
8893
8899
  var sameLineBeforeAnother = (program) => String.raw`(?:(?!\b${program}\b)[^\n])*?`;
8894
8900
  var DESTRUCTIVE_ACTION_RISK_PATTERNS = [
8895
8901
  { pattern: /\brm\s+-[a-z]*r/i, reason: RISK_REASON.deletesFiles },
8896
8902
  { pattern: new RegExp(String.raw`${RM_AS_A_PROGRAM}${RM_COMMAND_BEFORE_ANOTHER_RM}\s(?:-[a-z]*r[a-z]*|--recursive)\b`, "i"), reason: RISK_REASON.deletesFiles },
8897
- { pattern: new RegExp(String.raw`${RM_AS_A_PROGRAM}${RM_COMMAND_BEFORE_ANOTHER_RM}\s\$\{?[A-Za-z_][A-Za-z0-9_]*\}?\s+${REDIRECTS_THEN_AN_ARGUMENT}`), reason: RISK_REASON.deletesFiles },
8903
+ { pattern: new RegExp(String.raw`${RM_AS_A_PROGRAM}${RM_COMMAND_BEFORE_ANOTHER_RM}${NOT_A_REDIRECT_TARGET}[ \t]+\$\{?[A-Za-z_][A-Za-z0-9_]*\}?[ \t]+${REDIRECTS_THEN_AN_ARGUMENT}`), reason: RISK_REASON.deletesFiles },
8898
8904
  { pattern: /\brmdir\b/i, reason: RISK_REASON.deletesFiles },
8899
8905
  { pattern: new RegExp(String.raw`\bfind\b${sameCommandBeforeAnother("find")}\s-delete\b`, "i"), reason: RISK_REASON.deletesFiles },
8900
8906
  { pattern: new RegExp(String.raw`\bfind\b${sameCommandBeforeAnother("find")}\s-(?:exec|execdir|ok|okdir)\s+(?:\S*\/)?rm\b`, "i"), reason: RISK_REASON.deletesFiles },
8901
8907
  { pattern: /git\s+push[^\n]*(--force|--force-with-lease|\s-f\b)/i, reason: RISK_REASON.forcePushes },
8902
- { pattern: new RegExp(String.raw`\bgit${GIT_GLOBAL_OPTION}+\s+push${sameLineBeforeAnother("git")}(?:--force|--force-with-lease|\s-f\b)`, "i"), reason: RISK_REASON.forcePushes },
8908
+ { pattern: new RegExp(String.raw`\bgit${SOME_GIT_GLOBAL_OPTIONS}\s+push${sameLineBeforeAnother("git")}(?:--force|--force-with-lease|\s-f\b)`, "i"), reason: RISK_REASON.forcePushes },
8903
8909
  { pattern: /git\s+reset\s+--hard/i, reason: RISK_REASON.discardsLocalChanges },
8904
- { pattern: new RegExp(String.raw`\bgit${GIT_GLOBAL_OPTION}+\s+reset\s+--hard`, "i"), reason: RISK_REASON.discardsLocalChanges },
8910
+ { pattern: new RegExp(String.raw`\bgit${SOME_GIT_GLOBAL_OPTIONS}\s+reset\s+--hard`, "i"), reason: RISK_REASON.discardsLocalChanges },
8905
8911
  { pattern: /git\s+clean\s+-[a-z]*f/i, reason: RISK_REASON.deletesUntrackedFiles },
8906
- { pattern: new RegExp(String.raw`\bgit${GIT_GLOBAL_OPTION}+\s+clean\s+-[a-z]*f`, "i"), reason: RISK_REASON.deletesUntrackedFiles },
8907
- { pattern: new RegExp(String.raw`\bgit${GIT_GLOBAL_OPTION}*\s+branch\b${sameCommandBeforeAnother("git")}\s-[a-zA-Z]*D`), reason: RISK_REASON.deletesABranch },
8908
- { pattern: new RegExp(String.raw`\bgit${GIT_GLOBAL_OPTION}*\s+branch\b(?=${sameCommandBeforeAnother("git")}\s(?:--delete|-[a-z]*d[a-z]*)\b)(?=${sameCommandBeforeAnother("git")}\s(?:--force|-[a-z]*f[a-z]*)\b)`), reason: RISK_REASON.deletesABranch },
8909
- { pattern: new RegExp(String.raw`\bgit${GIT_GLOBAL_OPTION}*\s+push\b${sameCommandBeforeAnother("git")}\s(?:--delete\b|-d\b|:[^\s:])`), reason: RISK_REASON.deletesABranch },
8912
+ { pattern: new RegExp(String.raw`\bgit${SOME_GIT_GLOBAL_OPTIONS}\s+clean\s+-[a-z]*f`, "i"), reason: RISK_REASON.deletesUntrackedFiles },
8913
+ { pattern: new RegExp(String.raw`\bgit${ANY_GIT_GLOBAL_OPTIONS}\s+branch\b${sameCommandBeforeAnother("git")}\s-[a-zA-Z]*D`), reason: RISK_REASON.deletesABranch },
8914
+ { pattern: new RegExp(String.raw`\bgit${ANY_GIT_GLOBAL_OPTIONS}\s+branch\b(?=${sameCommandBeforeAnother("git")}\s(?:--delete|-[a-z]*d[a-z]*)\b)(?=${sameCommandBeforeAnother("git")}\s(?:--force|-[a-z]*f[a-z]*)\b)`), reason: RISK_REASON.deletesABranch },
8915
+ { pattern: new RegExp(String.raw`\bgit${ANY_GIT_GLOBAL_OPTIONS}\s+push\b${sameCommandBeforeAnother("git")}\s(?:--delete\b|-d\b|:[^\s:])`), reason: RISK_REASON.deletesABranch },
8910
8916
  { pattern: /\bdrop\s+(table|database|schema)\b/i, reason: RISK_REASON.dropsATableOrDatabase },
8911
8917
  { pattern: /\bdelete\s+from\b/i, reason: RISK_REASON.deletesRows },
8912
8918
  { pattern: /\btruncate\b/i, reason: RISK_REASON.truncates },
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SETUP_FLAGS
3
- } from "./chunk-LQ5W3PQI.js";
3
+ } from "./chunk-GBQC3S6V.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-PZZFRUGH.js";
12
+ } from "./chunk-JX4AEMKB.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-HYTYYZCW.js";
20
+ } from "./chunk-SHJMSG2V.js";
21
21
 
22
22
  // src/cli/cowork.ts
23
23
  import { readFileSync } from "fs";
@@ -5,13 +5,13 @@ import {
5
5
  OPENCLAW_ENVIRONMENT_KEYS,
6
6
  openClawEnvironmentOf,
7
7
  openClawPathsFrom
8
- } from "./chunk-NJGZLUXW.js";
8
+ } from "./chunk-YSJI3CNQ.js";
9
9
  import {
10
10
  resolvePathBinary
11
- } from "./chunk-4OU6AMW2.js";
11
+ } from "./chunk-UK66PEWW.js";
12
12
  import {
13
13
  isRecord
14
- } from "./chunk-HYTYYZCW.js";
14
+ } from "./chunk-SHJMSG2V.js";
15
15
 
16
16
  // src/openclaw/wiring-state.ts
17
17
  var OPENCLAW_PLUGIN_ID = "pushary";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  addGeminiMcpServer,
3
3
  removeGeminiMcpServer
4
- } from "./chunk-FIRKU3MH.js";
4
+ } from "./chunk-HQJPT5KI.js";
5
5
  import {
6
6
  CLAUDE_CODE_AGENT
7
- } from "./chunk-ANENQIII.js";
7
+ } from "./chunk-624434K4.js";
8
8
  import {
9
9
  compatibleToolLookup
10
- } from "./chunk-2NIFT2XQ.js";
10
+ } from "./chunk-XVH3M2LX.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-NJGZLUXW.js";
22
+ } from "./chunk-YSJI3CNQ.js";
23
23
  import {
24
24
  HOOK_COMPATIBLE_PROFILES,
25
25
  PHONE_ANSWERED_TOOLS,
@@ -30,7 +30,7 @@ import {
30
30
  pusharyMissingReason,
31
31
  refusalOutput,
32
32
  withHookHoldBudget
33
- } from "./chunk-HYTYYZCW.js";
33
+ } from "./chunk-SHJMSG2V.js";
34
34
 
35
35
  // src/config-document.ts
36
36
  import { parse, stringify } from "smol-toml";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  renderCommandHelp
3
- } from "./chunk-PZZFRUGH.js";
3
+ } from "./chunk-JX4AEMKB.js";
4
4
  import {
5
5
  EXIT
6
6
  } from "./chunk-BG4HHB7E.js";
@@ -2,7 +2,7 @@ import {
2
2
  localRepoKey,
3
3
  normalizeRepoRemote,
4
4
  parseGitBranch
5
- } from "./chunk-HYTYYZCW.js";
5
+ } from "./chunk-SHJMSG2V.js";
6
6
 
7
7
  // src/repo.ts
8
8
  import { existsSync, readFileSync, statSync } from "fs";
@@ -3,24 +3,24 @@ import {
3
3
  expectedLaunchCapabilities,
4
4
  hasSpawnProvider,
5
5
  resolveControlPolicy
6
- } from "./chunk-6LRLLOK2.js";
6
+ } from "./chunk-LV4G3THM.js";
7
7
  import {
8
8
  daemonHasRemoteProof,
9
9
  daemonServiceManagerAvailable,
10
10
  hasDaemonServiceDefinition,
11
11
  readDaemonNeedsLogin,
12
12
  readDaemonStatus
13
- } from "./chunk-W7HBQJBU.js";
13
+ } from "./chunk-RETWX7MH.js";
14
14
  import {
15
15
  getMachineId
16
- } from "./chunk-CXGE57RE.js";
16
+ } from "./chunk-US6SM7WS.js";
17
17
  import {
18
18
  readControlMode,
19
19
  readKeySource
20
- } from "./chunk-A5HEOPN3.js";
20
+ } from "./chunk-OLFIEDEY.js";
21
21
  import {
22
22
  getBaseUrl
23
- } from "./chunk-MTARW7ZM.js";
23
+ } from "./chunk-KANE733H.js";
24
24
  import {
25
25
  getPackageVersion
26
26
  } from "./chunk-CXQWDQCJ.js";
@@ -8,21 +8,21 @@ import {
8
8
  SubscriptionRequiredError,
9
9
  callMcpTool,
10
10
  isRetryable
11
- } from "./chunk-BX43EONR.js";
11
+ } from "./chunk-RZYGO6AP.js";
12
12
  import {
13
13
  fetchAsCredential
14
- } from "./chunk-DNOOPEMW.js";
14
+ } from "./chunk-HWGF3NYS.js";
15
15
  import {
16
16
  installNetworkDefaults,
17
17
  isNetworkFailure
18
- } from "./chunk-BLE5VR4N.js";
18
+ } from "./chunk-45RB4A5I.js";
19
19
  import {
20
20
  clientReportClaims
21
- } from "./chunk-NJGZLUXW.js";
21
+ } from "./chunk-YSJI3CNQ.js";
22
22
  import {
23
23
  getApiKey,
24
24
  getBaseUrl
25
- } from "./chunk-MTARW7ZM.js";
25
+ } from "./chunk-KANE733H.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-HYTYYZCW.js";
41
+ } from "./chunk-SHJMSG2V.js";
42
42
 
43
43
  // src/api.ts
44
44
  import { randomUUID } from "crypto";
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-CXQWDQCJ.js";
20
20
  import {
21
21
  redactSecretsFromContent
22
- } from "./chunk-HYTYYZCW.js";
22
+ } from "./chunk-SHJMSG2V.js";
23
23
 
24
24
  // src/shell-quote.ts
25
25
  var shellDoubleQuoted = (text) => `"${text.replace(/(["\\$`])/g, "\\$1")}"`;
@@ -600,9 +600,9 @@ var installGlobally = (options) => {
600
600
  }
601
601
  const started = (async () => {
602
602
  if (!npmIsOnPath()) throw new NpmMissingError();
603
- const { withUpgradeLock } = await import("./global-upgrade-L2FBXTHX.js");
604
- const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-RE5DB37L.js");
605
- const { autoUpdateLock } = await import("./paths-S2NXPE7E.js");
603
+ const { withUpgradeLock } = await import("./global-upgrade-WTIVMPOJ.js");
604
+ const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-LVC72XIF.js");
605
+ const { autoUpdateLock } = await import("./paths-LLHZWMPM.js");
606
606
  let result = "skipped";
607
607
  const install = async () => {
608
608
  const planned = readPlannedSetupInstall(process.platform);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-NJGZLUXW.js";
3
+ } from "./chunk-YSJI3CNQ.js";
4
4
  import {
5
5
  writeFileAtomic
6
6
  } from "./chunk-PM2NRK6Y.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HOOK_BUDGETS
3
- } from "./chunk-HYTYYZCW.js";
3
+ } from "./chunk-SHJMSG2V.js";
4
4
 
5
5
  // src/opencode-protocol.ts
6
6
  var OPENCODE_PLUGIN_MARKER = "pushary-opencode-plugin w1";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  autoUpdateLock
3
- } from "./chunk-NJGZLUXW.js";
3
+ } from "./chunk-YSJI3CNQ.js";
4
4
  import {
5
5
  installPackageGlobally,
6
6
  npmErrorMessage,
7
7
  throwIfNpmRefusesInstall
8
- } from "./chunk-4OU6AMW2.js";
8
+ } from "./chunk-UK66PEWW.js";
9
9
  import {
10
10
  writeJsonAtomic
11
11
  } from "./chunk-PM2NRK6Y.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  parseSseMessages
3
- } from "./chunk-BX43EONR.js";
3
+ } from "./chunk-RZYGO6AP.js";
4
4
  import {
5
5
  fetchAsCredential
6
- } from "./chunk-DNOOPEMW.js";
6
+ } from "./chunk-HWGF3NYS.js";
7
7
  import {
8
8
  NPX_LATEST_COMMAND
9
- } from "./chunk-PZZFRUGH.js";
9
+ } from "./chunk-JX4AEMKB.js";
10
10
 
11
11
  // src/mcp-stdio-bridge.ts
12
12
  var MCP_BRIDGE_BINARY = "pushary-mcp";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  computerOsOfPlatform,
3
3
  isComputerAgent
4
- } from "./chunk-HYTYYZCW.js";
4
+ } from "./chunk-SHJMSG2V.js";
5
5
 
6
6
  // src/setup/phone-check.ts
7
7
  var planPhoneCheck = (context) => {
@@ -14,7 +14,7 @@ import {
14
14
  reachVerdict,
15
15
  reachesYou,
16
16
  verifyDelivery
17
- } from "./chunk-KEG2RUV2.js";
17
+ } from "./chunk-4JBJ47K7.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-DP6M4VNO.js";
32
+ } from "./chunk-RI3JPM5A.js";
33
33
  import {
34
34
  checkApiKey
35
- } from "./chunk-EHMLODBU.js";
35
+ } from "./chunk-X3DWEYLO.js";
36
36
  import {
37
37
  reportedInstallSource
38
- } from "./chunk-TPWFAGYZ.js";
38
+ } from "./chunk-YW6TMH5Q.js";
39
39
  import {
40
40
  NPX_LATEST_COMMAND
41
- } from "./chunk-PZZFRUGH.js";
41
+ } from "./chunk-JX4AEMKB.js";
42
42
  import {
43
43
  NO_PAIRING_COMPUTER,
44
44
  PAIR_TTL_SECONDS
45
- } from "./chunk-HYTYYZCW.js";
45
+ } from "./chunk-SHJMSG2V.js";
46
46
 
47
47
  // src/onboarding.ts
48
48
  import qrcodeTerminal from "qrcode-terminal";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  projectNameFor
3
- } from "./chunk-I5C5JTD7.js";
3
+ } from "./chunk-U6O6UBGW.js";
4
4
  import {
5
5
  readConfigFileKey
6
- } from "./chunk-A5HEOPN3.js";
6
+ } from "./chunk-OLFIEDEY.js";
7
7
 
8
8
  // src/bell/fleet.ts
9
9
  import { closeSync, constants, futimesSync, lstatSync, mkdirSync, openSync, readdirSync, unlinkSync } from "fs";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-NJGZLUXW.js";
3
+ } from "./chunk-YSJI3CNQ.js";
4
4
  import {
5
5
  readJsonSafe
6
6
  } from "./chunk-PM2NRK6Y.js";
7
7
  import {
8
8
  isRecord
9
- } from "./chunk-HYTYYZCW.js";
9
+ } from "./chunk-SHJMSG2V.js";
10
10
 
11
11
  // src/process-ownership.ts
12
12
  import { createHash, randomUUID } from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pusharyFetch
3
- } from "./chunk-BLE5VR4N.js";
3
+ } from "./chunk-45RB4A5I.js";
4
4
  import {
5
5
  getBaseUrl
6
- } from "./chunk-MTARW7ZM.js";
6
+ } from "./chunk-KANE733H.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-HYTYYZCW.js";
16
+ } from "./chunk-SHJMSG2V.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;
@@ -26,7 +26,7 @@ import {
26
26
  reportableSessionId,
27
27
  toToolLookup,
28
28
  truncateLine
29
- } from "./chunk-HYTYYZCW.js";
29
+ } from "./chunk-SHJMSG2V.js";
30
30
 
31
31
  // ../hook-mapping/src/commit-receipt.ts
32
32
  var COMMIT_OUTPUT_MAX_LENGTH = 65536;
@@ -4,21 +4,21 @@ import {
4
4
  claimThrottle,
5
5
  releaseThrottle,
6
6
  reportEvent
7
- } from "./chunk-ANENQIII.js";
7
+ } from "./chunk-624434K4.js";
8
8
  import {
9
9
  deriveToolTarget,
10
10
  permissionDeniedAction
11
- } from "./chunk-2NIFT2XQ.js";
11
+ } from "./chunk-XVH3M2LX.js";
12
12
  import {
13
13
  projectNameFor
14
- } from "./chunk-I5C5JTD7.js";
14
+ } from "./chunk-U6O6UBGW.js";
15
15
  import {
16
16
  PERMISSION_ALLOWED_EVENT,
17
17
  PERMISSION_DENIED_EVENT,
18
18
  machineApprovalFor,
19
19
  machineDecisionFor,
20
20
  wireVerdictFor
21
- } from "./chunk-HYTYYZCW.js";
21
+ } from "./chunk-SHJMSG2V.js";
22
22
 
23
23
  // src/machine-decision-audit.ts
24
24
  var MACHINE_DECISION_REPORT_TIMEOUT_MS = 800;
@@ -3,7 +3,7 @@ import {
3
3
  formatVersion,
4
4
  quoteIfNeeded,
5
5
  shellDoubleQuoted
6
- } from "./chunk-4OU6AMW2.js";
6
+ } from "./chunk-UK66PEWW.js";
7
7
  import {
8
8
  writeFileAtomic
9
9
  } from "./chunk-PM2NRK6Y.js";
@@ -22,7 +22,7 @@ import {
22
22
  PUSHARY_HOSTS,
23
23
  PUSHARY_TOOL_PREFIX,
24
24
  withHookHoldBudget
25
- } from "./chunk-HYTYYZCW.js";
25
+ } from "./chunk-SHJMSG2V.js";
26
26
 
27
27
  // src/setup/paths.ts
28
28
  import { createHash as createHash2 } from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  configFilePath
3
- } from "./chunk-MTARW7ZM.js";
3
+ } from "./chunk-KANE733H.js";
4
4
  import {
5
5
  normalizeInstallSource
6
- } from "./chunk-HYTYYZCW.js";
6
+ } from "./chunk-SHJMSG2V.js";
7
7
 
8
8
  // src/install-source.ts
9
9
  import { readFileSync } from "fs";
@@ -5,13 +5,13 @@ import {
5
5
  } from "./chunk-OYIN77HO.js";
6
6
  import {
7
7
  readMacAppAgentKey
8
- } from "./chunk-CZJZ4NTJ.js";
8
+ } from "./chunk-5MTASFSB.js";
9
9
  import {
10
10
  API_KEYS_PATH
11
- } from "./chunk-YFYD7TZX.js";
11
+ } from "./chunk-2PYVR6W4.js";
12
12
  import {
13
13
  absoluteUrl
14
- } from "./chunk-EHMLODBU.js";
14
+ } from "./chunk-X3DWEYLO.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-A5HEOPN3.js";
24
+ } from "./chunk-OLFIEDEY.js";
25
25
  import {
26
26
  isValidApiKey
27
- } from "./chunk-HYTYYZCW.js";
27
+ } from "./chunk-SHJMSG2V.js";
28
28
 
29
29
  // src/cli/held-key-revocation.ts
30
30
  var readCliHeldKeys = (profiles) => {
@@ -13,16 +13,16 @@ import {
13
13
  } from "./chunk-WHB622LP.js";
14
14
  import {
15
15
  keyPrefix
16
- } from "./chunk-A5HEOPN3.js";
16
+ } from "./chunk-OLFIEDEY.js";
17
17
  import {
18
18
  getBaseUrl
19
- } from "./chunk-MTARW7ZM.js";
19
+ } from "./chunk-KANE733H.js";
20
20
  import {
21
21
  NPX_LATEST_COMMAND
22
- } from "./chunk-PZZFRUGH.js";
22
+ } from "./chunk-JX4AEMKB.js";
23
23
  import {
24
24
  isValidApiKey
25
- } from "./chunk-HYTYYZCW.js";
25
+ } from "./chunk-SHJMSG2V.js";
26
26
 
27
27
  // src/cli/login-ui.ts
28
28
  import { hostname } from "os";
@@ -5,7 +5,7 @@ import {
5
5
  ensureCodexTrustsPusharyHooks,
6
6
  hermesHistoryNeedsTheCliHelper,
7
7
  recordInstalledHermesHistoryHelper
8
- } from "./chunk-N4GJSAVY.js";
8
+ } from "./chunk-AN2EIWF3.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-ALBZHD3K.js";
17
+ } from "./chunk-6ML2JCSW.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-EYIV7NHX.js";
26
+ } from "./chunk-A4WF3WDA.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-AALWOL35.js";
39
+ } from "./chunk-PVMQE42Q.js";
40
40
  import {
41
41
  detectClaudeVersion
42
- } from "./chunk-DG6YDFFC.js";
42
+ } from "./chunk-DKDURRNS.js";
43
43
  import {
44
44
  addCompatibleHooks,
45
45
  compatibleConfigFile,
46
46
  compatibleInstructionsFile,
47
47
  hasCompatibleHooks
48
- } from "./chunk-JWRV7KGV.js";
48
+ } from "./chunk-TCZ46QAX.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-FIRKU3MH.js";
60
+ } from "./chunk-HQJPT5KI.js";
61
61
  import {
62
62
  transcriptsEnabled
63
- } from "./chunk-5YKUH4IX.js";
63
+ } from "./chunk-EBRDPALD.js";
64
64
  import {
65
65
  KEY_FILE_MODE
66
- } from "./chunk-A5HEOPN3.js";
66
+ } from "./chunk-OLFIEDEY.js";
67
67
  import {
68
68
  CLAUDE_CODE_PUSHARY_PERMISSION_RULES,
69
69
  CLAUDE_HOOK_BINARY,
@@ -110,13 +110,13 @@ import {
110
110
  renderAgentInstructions,
111
111
  supportedClaudeEvents,
112
112
  vscodePluginMcp
113
- } from "./chunk-NJGZLUXW.js";
113
+ } from "./chunk-YSJI3CNQ.js";
114
114
  import {
115
115
  formatVersion,
116
116
  hookCommandsUseBareNames,
117
117
  resolveGlobalBinDir,
118
118
  resolveGlobalBinary
119
- } from "./chunk-4OU6AMW2.js";
119
+ } from "./chunk-UK66PEWW.js";
120
120
  import {
121
121
  readJsonSafe,
122
122
  writeFileAtomic,
@@ -126,7 +126,7 @@ import {
126
126
  HOOK_COMPATIBLE_PROFILES,
127
127
  isCompatibleAgentType,
128
128
  isRecord
129
- } from "./chunk-HYTYYZCW.js";
129
+ } from "./chunk-SHJMSG2V.js";
130
130
 
131
131
  // src/reapply.ts
132
132
  import { dirname, join } from "path";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-NJGZLUXW.js";
3
+ } from "./chunk-YSJI3CNQ.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-HYTYYZCW.js";
16
+ } from "./chunk-SHJMSG2V.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
  shouldDeferToNativeMode
3
- } from "./chunk-HYTYYZCW.js";
3
+ } from "./chunk-SHJMSG2V.js";
4
4
 
5
5
  // src/native-defer.ts
6
6
  var nativeDeferOptions = () => {
@@ -22,24 +22,24 @@ import {
22
22
  turnCodexAppCardsOff,
23
23
  turnCodexAppCardsOn,
24
24
  whyLaunchctlFailed
25
- } from "./chunk-ZAJIKNSK.js";
26
- import "./chunk-QNN7PXJC.js";
25
+ } from "./chunk-LTJI4SBZ.js";
26
+ import "./chunk-PKDV377M.js";
27
27
  import "./chunk-XCEN33UP.js";
28
28
  import "./chunk-U4P4NDVB.js";
29
29
  import "./chunk-QCGNGEGE.js";
30
- import "./chunk-W7HBQJBU.js";
30
+ import "./chunk-RETWX7MH.js";
31
31
  import "./chunk-3PSNUHC5.js";
32
- import "./chunk-CXGE57RE.js";
33
- import "./chunk-A5HEOPN3.js";
34
- import "./chunk-TPWFAGYZ.js";
35
- import "./chunk-NJGZLUXW.js";
36
- import "./chunk-4OU6AMW2.js";
37
- import "./chunk-MTARW7ZM.js";
32
+ import "./chunk-US6SM7WS.js";
33
+ import "./chunk-OLFIEDEY.js";
34
+ import "./chunk-YW6TMH5Q.js";
35
+ import "./chunk-YSJI3CNQ.js";
36
+ import "./chunk-UK66PEWW.js";
37
+ import "./chunk-KANE733H.js";
38
38
  import "./chunk-PM2NRK6Y.js";
39
- import "./chunk-PZZFRUGH.js";
39
+ import "./chunk-JX4AEMKB.js";
40
40
  import "./chunk-BG4HHB7E.js";
41
41
  import "./chunk-CXQWDQCJ.js";
42
- import "./chunk-HYTYYZCW.js";
42
+ import "./chunk-SHJMSG2V.js";
43
43
  import "./chunk-MLKGABMK.js";
44
44
  export {
45
45
  CODEX_APP_CARDS_DIRECTORY,