pushary 1.9.75 → 1.9.76

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 (126) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/{api-L3BIISGS.js → api-YDCHRRA4.js} +10 -10
  3. package/dist/bin/pushary-bell-hook.js +26 -25
  4. package/dist/bin/pushary-bell.js +10 -10
  5. package/dist/bin/pushary-claude.js +27 -26
  6. package/dist/bin/pushary-clean.js +33 -33
  7. package/dist/bin/pushary-codex-bridge.js +21 -21
  8. package/dist/bin/pushary-codex-hook.js +31 -30
  9. package/dist/bin/pushary-codex-session.js +8 -8
  10. package/dist/bin/pushary-codex.js +13 -13
  11. package/dist/bin/pushary-connect.js +26 -26
  12. package/dist/bin/pushary-cowork.js +5 -5
  13. package/dist/bin/pushary-daemon.js +39 -38
  14. package/dist/bin/pushary-disconnect.js +25 -25
  15. package/dist/bin/pushary-display-hook.js +17 -16
  16. package/dist/bin/pushary-doctor.js +41 -41
  17. package/dist/bin/pushary-elicitation-hook.js +26 -25
  18. package/dist/bin/pushary-gemini-bridge.js +15 -15
  19. package/dist/bin/pushary-gemini-hook.js +28 -27
  20. package/dist/bin/pushary-hook.js +30 -29
  21. package/dist/bin/pushary-login.js +20 -20
  22. package/dist/bin/pushary-logout.js +24 -24
  23. package/dist/bin/pushary-mcp.js +11 -11
  24. package/dist/bin/pushary-mode.js +15 -15
  25. package/dist/bin/pushary-notification-hook.js +25 -24
  26. package/dist/bin/pushary-opencode-hook.js +27 -26
  27. package/dist/bin/pushary-permission-denied-hook.js +30 -29
  28. package/dist/bin/pushary-permission-hook.js +30 -29
  29. package/dist/bin/pushary-post-hook.js +25 -24
  30. package/dist/bin/pushary-prompt-hook.js +25 -24
  31. package/dist/bin/pushary-session-end-hook.js +27 -26
  32. package/dist/bin/pushary-session-start-hook.js +35 -34
  33. package/dist/bin/pushary-setup.js +50 -267
  34. package/dist/bin/pushary-stats.js +5 -5
  35. package/dist/bin/pushary-status.js +31 -31
  36. package/dist/bin/pushary-stop-hook.js +25 -24
  37. package/dist/bin/pushary-stopfailure-hook.js +25 -24
  38. package/dist/bin/pushary-suggestions.js +15 -15
  39. package/dist/bin/pushary-transcript-register.js +17 -16
  40. package/dist/bin/pushary-transcripts.js +19 -19
  41. package/dist/bin/pushary-upgrade.js +39 -39
  42. package/dist/bin/pushary-wait.js +15 -15
  43. package/dist/bin/pushary.js +7 -7
  44. package/dist/{chunk-CI6MDBQB.js → chunk-2BK2EQOB.js} +7 -7
  45. package/dist/{chunk-JCZWWBBA.js → chunk-2QFYEB3P.js} +5 -5
  46. package/dist/{chunk-3SAF4QXU.js → chunk-3YU6NIIL.js} +4 -4
  47. package/dist/{chunk-L2FQBHIR.js → chunk-47TIRGS5.js} +2 -2
  48. package/dist/{chunk-I73UQU7K.js → chunk-4LX5QUFV.js} +1 -1
  49. package/dist/{chunk-LRYZXY4V.js → chunk-57MQNSM5.js} +1 -1
  50. package/dist/{chunk-4DH54LS7.js → chunk-5FV472Q2.js} +1 -1
  51. package/dist/{chunk-HRRGIVIL.js → chunk-5KPMDLXB.js} +3 -3
  52. package/dist/{chunk-RPKFXNOJ.js → chunk-5M5F4IWR.js} +2 -2
  53. package/dist/{chunk-DARPCQPY.js → chunk-5NW7VM35.js} +2 -2
  54. package/dist/{chunk-KDUWFGY2.js → chunk-74ONBRPF.js} +4 -4
  55. package/dist/{chunk-2J4IVUEA.js → chunk-7KYQ24FI.js} +2 -2
  56. package/dist/{chunk-LIDUPDEY.js → chunk-7LLC4R66.js} +4 -4
  57. package/dist/{chunk-ZX3KEXO3.js → chunk-7SFP6Y5U.js} +45 -24
  58. package/dist/{chunk-EOGVWCLF.js → chunk-7ZOWQBHQ.js} +5 -5
  59. package/dist/{chunk-HXV2SY2V.js → chunk-B2PFCS72.js} +2 -2
  60. package/dist/{chunk-BGEUAJYL.js → chunk-BUR2LYQI.js} +2 -2
  61. package/dist/{chunk-UU3CDLIX.js → chunk-C2AR7QXU.js} +2 -2
  62. package/dist/{chunk-UBANQ4EZ.js → chunk-CHIOUBPB.js} +13 -13
  63. package/dist/{chunk-M7BXAWUC.js → chunk-CMNB4IZO.js} +3 -3
  64. package/dist/{chunk-BRG4XS2H.js → chunk-CUD6SYDG.js} +1 -1
  65. package/dist/{chunk-DCHZ5JOI.js → chunk-DB3NOEDW.js} +6 -6
  66. package/dist/{chunk-P4TWTQ6V.js → chunk-DZF2M3LM.js} +6 -6
  67. package/dist/{chunk-PV5XEBFI.js → chunk-E2VJ7B7D.js} +6 -6
  68. package/dist/{chunk-SIJHPGUW.js → chunk-E7U4YM4A.js} +3 -3
  69. package/dist/{chunk-PGLNE556.js → chunk-F7R7M5MG.js} +1 -1
  70. package/dist/{chunk-VGHWK5Z2.js → chunk-FAGQAR6I.js} +3 -3
  71. package/dist/{chunk-GAAN3Y7V.js → chunk-GII565PB.js} +1 -1
  72. package/dist/{chunk-6BFLDHPM.js → chunk-GJVV2EUC.js} +3 -3
  73. package/dist/{chunk-EH5OLIP2.js → chunk-IRLHN5UP.js} +236 -20
  74. package/dist/{chunk-7FNSQMQ2.js → chunk-IRN6JLSM.js} +4 -4
  75. package/dist/{chunk-SONZCJY5.js → chunk-ITLWEGLE.js} +11 -4
  76. package/dist/{chunk-32JJ5KV3.js → chunk-JNV5LOZH.js} +4 -4
  77. package/dist/{chunk-EM2RSWDA.js → chunk-JZ5KV2FK.js} +5 -5
  78. package/dist/{chunk-TPYZFYQ5.js → chunk-KGWLDNNT.js} +4 -4
  79. package/dist/{chunk-SOHJ37NA.js → chunk-KWGOKO4E.js} +3 -3
  80. package/dist/{chunk-DOG3BQFO.js → chunk-M5VJ3HXB.js} +6 -6
  81. package/dist/{chunk-53D6FFVE.js → chunk-M7JFGDGP.js} +1 -1
  82. package/dist/{chunk-4GWKKUQ5.js → chunk-MAWC4PJV.js} +5 -5
  83. package/dist/chunk-MHUKYYYR.js +239 -0
  84. package/dist/{chunk-SFJOGZQV.js → chunk-MMVIKXCP.js} +3 -3
  85. package/dist/{chunk-EVBG5YUO.js → chunk-MTRZQR2R.js} +3 -3
  86. package/dist/{chunk-QDUDXJAF.js → chunk-NFUV25JZ.js} +3 -3
  87. package/dist/{chunk-UEJTWQVF.js → chunk-NJTAUEW6.js} +1 -1
  88. package/dist/{chunk-WL3V2UV4.js → chunk-NQA56AMZ.js} +6 -6
  89. package/dist/{chunk-JFVLMWKY.js → chunk-NVLKH5FS.js} +9 -9
  90. package/dist/{chunk-NCTABQMC.js → chunk-PPD64MZW.js} +1 -1
  91. package/dist/{chunk-E5XYFIYL.js → chunk-QUGP76DQ.js} +6 -6
  92. package/dist/{chunk-UIS332AZ.js → chunk-R3HXGHRQ.js} +1 -1
  93. package/dist/{chunk-DX65IDBI.js → chunk-S7C5NY4R.js} +1 -1
  94. package/dist/{chunk-7O54GE5C.js → chunk-SWRNJ3BP.js} +3 -3
  95. package/dist/{chunk-AUDYAVNM.js → chunk-T2EJ3H6Y.js} +3 -3
  96. package/dist/{chunk-Z7ORL6SC.js → chunk-TFYFQM5C.js} +2 -2
  97. package/dist/{chunk-JOMG6J64.js → chunk-UEY4SHY2.js} +1 -1
  98. package/dist/{chunk-R7V6BPEV.js → chunk-UMBVIFP5.js} +1 -1
  99. package/dist/{chunk-2DB7TBA7.js → chunk-USMUW3LI.js} +2 -2
  100. package/dist/{chunk-SHW6KK2K.js → chunk-USZJJWZL.js} +2 -2
  101. package/dist/{chunk-4T25BBBO.js → chunk-VELPOV2F.js} +4 -4
  102. package/dist/{chunk-D4X4BQVQ.js → chunk-VZSSL6US.js} +10 -10
  103. package/dist/{chunk-MD4UJICD.js → chunk-W5AUTVVL.js} +5 -5
  104. package/dist/{chunk-XO7LP3JC.js → chunk-WK2L3XVQ.js} +1 -1
  105. package/dist/{chunk-3PPL64AG.js → chunk-WLHHDDVA.js} +9 -4
  106. package/dist/{chunk-5EQOUZYE.js → chunk-WRCM4XGY.js} +2 -2
  107. package/dist/{chunk-CLHRSK5L.js → chunk-XJ5DYPTM.js} +4 -4
  108. package/dist/{chunk-FEC3JUIH.js → chunk-XLGD5LDG.js} +3 -3
  109. package/dist/{chunk-SNUHX5GQ.js → chunk-Y2CYSVWU.js} +6 -6
  110. package/dist/{chunk-QRS7FQHE.js → chunk-Y4OBAK4I.js} +4 -0
  111. package/dist/{chunk-I6TIZMM3.js → chunk-YDPGBBV7.js} +5 -5
  112. package/dist/{chunk-T6RWREWU.js → chunk-YLB4AGZJ.js} +1 -1
  113. package/dist/{chunk-DUOBFECC.js → chunk-ZY25SNFQ.js} +1 -1
  114. package/dist/{codex-app-cards-switch-CN3G7GZW.js → codex-app-cards-switch-3OUTABVU.js} +11 -11
  115. package/dist/{codex-desktop-launch-GFZXCDSL.js → codex-desktop-launch-JH3E2CIA.js} +1 -1
  116. package/dist/{codex-session-launch-4F2UGQYE.js → codex-session-launch-GR363OQN.js} +18 -18
  117. package/dist/{config-BLHDUDCS.js → config-R43UFHX7.js} +3 -3
  118. package/dist/{global-upgrade-IZEC22BQ.js → global-upgrade-73GP4MZM.js} +10 -10
  119. package/dist/{identity-3HGTEP5Q.js → identity-CA7CZGDL.js} +4 -4
  120. package/dist/{live-capabilities-AZK664T7.js → live-capabilities-RCGMQIIZ.js} +5 -5
  121. package/dist/{paths-ROMZUSEX.js → paths-H7VNNB46.js} +3 -3
  122. package/dist/{reapply-IJYRR4YK.js → reapply-3UIA3CUO.js} +27 -27
  123. package/dist/src/index.js +29 -28
  124. package/dist/{upgrade-lock-FGEZPX56.js → upgrade-lock-ZTLX5PDF.js} +4 -4
  125. package/dist/{usage-HCURE44F.js → usage-C53NVWC2.js} +3 -3
  126. package/package.json +1 -1
@@ -4,7 +4,7 @@ import {
4
4
  postLiveSession,
5
5
  postLiveSessionUntilAccepted,
6
6
  startLiveSessionHeartbeat
7
- } from "./chunk-JOMG6J64.js";
7
+ } from "./chunk-UEY4SHY2.js";
8
8
  import {
9
9
  CommandReceipts,
10
10
  controllerCommandSchema
@@ -14,24 +14,24 @@ import {
14
14
  describeIdleWindow,
15
15
  idleDeadlinePassed,
16
16
  startProcessOwnership
17
- } from "./chunk-FEC3JUIH.js";
17
+ } from "./chunk-XLGD5LDG.js";
18
18
  import {
19
19
  spawnClaude
20
20
  } from "./chunk-XHKBHWLX.js";
21
21
  import {
22
22
  repoKeyFor
23
- } from "./chunk-DUOBFECC.js";
23
+ } from "./chunk-ZY25SNFQ.js";
24
24
  import {
25
25
  isAskUserResponse,
26
26
  isDecisionStopped,
27
27
  isWaitForAnswerResponse,
28
28
  withdrawQuestion,
29
29
  writeDegraded
30
- } from "./chunk-EOGVWCLF.js";
30
+ } from "./chunk-7ZOWQBHQ.js";
31
31
  import {
32
32
  callMcpTool,
33
33
  isRetryable
34
- } from "./chunk-32JJ5KV3.js";
34
+ } from "./chunk-JNV5LOZH.js";
35
35
  import {
36
36
  AGENT_QUESTION_DESCRIPTION_MAX,
37
37
  AGENT_QUESTION_HEADER_MAX,
@@ -52,7 +52,7 @@ import {
52
52
  parseCodexQuestions,
53
53
  planElicitationAsk,
54
54
  readElicitationFields
55
- } from "./chunk-QRS7FQHE.js";
55
+ } from "./chunk-Y4OBAK4I.js";
56
56
 
57
57
  // src/codex-question-owner.ts
58
58
  import { createHash } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  NPX_LATEST_COMMAND
3
- } from "./chunk-UIS332AZ.js";
3
+ } from "./chunk-R3HXGHRQ.js";
4
4
 
5
5
  // src/config.ts
6
6
  import { readFileSync } from "fs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  readMacAppAgentKey
3
- } from "./chunk-I6TIZMM3.js";
3
+ } from "./chunk-YDPGBBV7.js";
4
4
  import {
5
5
  API_KEYS_PATH
6
- } from "./chunk-2DB7TBA7.js";
6
+ } from "./chunk-USMUW3LI.js";
7
7
  import {
8
8
  findExportedKeyLines,
9
9
  isAdoptedMacAppKey,
@@ -13,13 +13,13 @@ import {
13
13
  readConfigFileKey,
14
14
  readKeySource,
15
15
  readMacAppKeyPrefix
16
- } from "./chunk-LIDUPDEY.js";
16
+ } from "./chunk-7LLC4R66.js";
17
17
  import {
18
18
  absoluteUrl
19
- } from "./chunk-SIJHPGUW.js";
19
+ } from "./chunk-E7U4YM4A.js";
20
20
  import {
21
21
  isValidApiKey
22
- } from "./chunk-QRS7FQHE.js";
22
+ } from "./chunk-Y4OBAK4I.js";
23
23
 
24
24
  // src/key-revocation.ts
25
25
  var SELF_REVOKE_PATH = "/api/v1/server/keys/self/revoke";
@@ -0,0 +1,239 @@
1
+ // ../contracts/src/billing.ts
2
+ var PARTNER_SELF_SERVE_PLANS = ["partner_launch", "partner_growth", "partner_scale"];
3
+ var PARTNER_PLAN_TYPES = ["partner", ...PARTNER_SELF_SERVE_PLANS];
4
+ var PLAN_TYPES = ["free", "agent", "agent_pro", "team", "partner", "starter", "growth", "pro", "enterprise", ...PARTNER_SELF_SERVE_PLANS];
5
+ var PAID_PLAN_TYPES = ["agent", "agent_pro", "team", "partner", "starter", "growth", "pro", ...PARTNER_SELF_SERVE_PLANS];
6
+ var SESSION_HISTORY_RETENTION_DAYS = { standard: 14, pro: 30 };
7
+ var PLAN_CONFIGS = {
8
+ free: {
9
+ name: "Free",
10
+ price: 0,
11
+ priceId: null,
12
+ limits: {
13
+ subscribers: 100,
14
+ notifications: 500,
15
+ sites: 1,
16
+ members: 1,
17
+ campaigns: 25,
18
+ dataRetentionDays: 7,
19
+ sessionHistoryRetentionDays: SESSION_HISTORY_RETENTION_DAYS.standard
20
+ },
21
+ features: {
22
+ abTesting: false,
23
+ apiAccess: false,
24
+ prioritySupport: false
25
+ }
26
+ },
27
+ agent: {
28
+ name: "Agent",
29
+ price: 9.99,
30
+ priceId: null,
31
+ limits: {
32
+ subscribers: 3,
33
+ notifications: 5e3,
34
+ sites: 1,
35
+ members: 1,
36
+ campaigns: 0,
37
+ dataRetentionDays: 30,
38
+ sessionHistoryRetentionDays: SESSION_HISTORY_RETENTION_DAYS.standard
39
+ },
40
+ features: {
41
+ abTesting: false,
42
+ apiAccess: true,
43
+ prioritySupport: false
44
+ }
45
+ },
46
+ agent_pro: {
47
+ name: "Agent Pro",
48
+ price: 19.99,
49
+ priceId: null,
50
+ limits: {
51
+ subscribers: 5,
52
+ notifications: Infinity,
53
+ sites: 1,
54
+ members: 5,
55
+ campaigns: 0,
56
+ dataRetentionDays: 90,
57
+ sessionHistoryRetentionDays: SESSION_HISTORY_RETENTION_DAYS.pro
58
+ },
59
+ features: {
60
+ abTesting: false,
61
+ apiAccess: true,
62
+ prioritySupport: true
63
+ }
64
+ },
65
+ team: {
66
+ name: "Team",
67
+ price: 59.99,
68
+ priceId: null,
69
+ limits: {
70
+ subscribers: 25,
71
+ notifications: Infinity,
72
+ sites: 1,
73
+ members: 10,
74
+ campaigns: 0,
75
+ dataRetentionDays: 365,
76
+ sessionHistoryRetentionDays: SESSION_HISTORY_RETENTION_DAYS.pro
77
+ },
78
+ features: {
79
+ abTesting: false,
80
+ apiAccess: true,
81
+ prioritySupport: true
82
+ }
83
+ },
84
+ partner: {
85
+ name: "Partner",
86
+ price: 99,
87
+ priceId: null,
88
+ limits: {
89
+ subscribers: 25e3,
90
+ notifications: 1e5,
91
+ sites: 1,
92
+ members: 10,
93
+ campaigns: 0,
94
+ dataRetentionDays: 365,
95
+ sessionHistoryRetentionDays: SESSION_HISTORY_RETENTION_DAYS.pro
96
+ },
97
+ features: {
98
+ abTesting: false,
99
+ apiAccess: true,
100
+ prioritySupport: true
101
+ }
102
+ },
103
+ partner_launch: {
104
+ name: "Partner Launch",
105
+ price: 99,
106
+ priceId: null,
107
+ limits: {
108
+ subscribers: 5e3,
109
+ // Closed until request admission and fan-out accounting ship. Never sell
110
+ // human requests against the legacy notification-delivery counter.
111
+ notifications: 0,
112
+ humanDecisionRequests: 25e3,
113
+ sites: 1,
114
+ members: 3,
115
+ campaigns: 0,
116
+ dataRetentionDays: 90,
117
+ sessionHistoryRetentionDays: SESSION_HISTORY_RETENTION_DAYS.pro
118
+ },
119
+ features: { abTesting: false, apiAccess: true, prioritySupport: false }
120
+ },
121
+ partner_growth: {
122
+ name: "Partner Growth",
123
+ price: 299,
124
+ priceId: null,
125
+ limits: {
126
+ subscribers: 25e3,
127
+ // Closed until request admission and fan-out accounting ship. Never sell
128
+ // human requests against the legacy notification-delivery counter.
129
+ notifications: 0,
130
+ humanDecisionRequests: 1e5,
131
+ sites: 1,
132
+ members: 10,
133
+ campaigns: 0,
134
+ dataRetentionDays: 365,
135
+ sessionHistoryRetentionDays: SESSION_HISTORY_RETENTION_DAYS.pro
136
+ },
137
+ features: { abTesting: false, apiAccess: true, prioritySupport: true }
138
+ },
139
+ partner_scale: {
140
+ name: "Partner Scale",
141
+ price: 799,
142
+ priceId: null,
143
+ limits: {
144
+ subscribers: 1e5,
145
+ // Closed until request admission and fan-out accounting ship. Never sell
146
+ // human requests against the legacy notification-delivery counter.
147
+ notifications: 0,
148
+ humanDecisionRequests: 5e5,
149
+ sites: 1,
150
+ members: 25,
151
+ campaigns: 0,
152
+ dataRetentionDays: 730,
153
+ sessionHistoryRetentionDays: SESSION_HISTORY_RETENTION_DAYS.pro
154
+ },
155
+ features: { abTesting: false, apiAccess: true, prioritySupport: true }
156
+ },
157
+ starter: {
158
+ name: "Starter",
159
+ price: 29,
160
+ priceId: null,
161
+ limits: {
162
+ subscribers: 5e3,
163
+ notifications: 25e3,
164
+ sites: 3,
165
+ members: 5,
166
+ campaigns: 250,
167
+ dataRetentionDays: 30,
168
+ sessionHistoryRetentionDays: SESSION_HISTORY_RETENTION_DAYS.standard
169
+ },
170
+ features: {
171
+ abTesting: true,
172
+ apiAccess: true,
173
+ prioritySupport: false
174
+ }
175
+ },
176
+ growth: {
177
+ name: "Growth",
178
+ price: 99,
179
+ priceId: null,
180
+ limits: {
181
+ subscribers: 25e3,
182
+ notifications: 1e5,
183
+ sites: 10,
184
+ members: 15,
185
+ campaigns: Infinity,
186
+ dataRetentionDays: 90,
187
+ sessionHistoryRetentionDays: SESSION_HISTORY_RETENTION_DAYS.standard
188
+ },
189
+ features: {
190
+ abTesting: true,
191
+ apiAccess: true,
192
+ prioritySupport: true
193
+ }
194
+ },
195
+ pro: {
196
+ name: "Pro",
197
+ price: 149,
198
+ priceId: null,
199
+ limits: {
200
+ subscribers: 1e5,
201
+ notifications: 5e5,
202
+ sites: 25,
203
+ members: 50,
204
+ campaigns: Infinity,
205
+ dataRetentionDays: 180,
206
+ sessionHistoryRetentionDays: SESSION_HISTORY_RETENTION_DAYS.standard
207
+ },
208
+ features: {
209
+ abTesting: true,
210
+ apiAccess: true,
211
+ prioritySupport: true
212
+ }
213
+ },
214
+ enterprise: {
215
+ name: "Enterprise",
216
+ price: -1,
217
+ priceId: null,
218
+ limits: {
219
+ subscribers: Infinity,
220
+ notifications: Infinity,
221
+ sites: Infinity,
222
+ members: Infinity,
223
+ campaigns: Infinity,
224
+ dataRetentionDays: Infinity,
225
+ sessionHistoryRetentionDays: SESSION_HISTORY_RETENTION_DAYS.pro
226
+ },
227
+ features: {
228
+ abTesting: true,
229
+ apiAccess: true,
230
+ prioritySupport: true
231
+ }
232
+ }
233
+ };
234
+
235
+ export {
236
+ PLAN_TYPES,
237
+ SESSION_HISTORY_RETENTION_DAYS,
238
+ PLAN_CONFIGS
239
+ };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-2J4IVUEA.js";
3
+ } from "./chunk-7KYQ24FI.js";
4
4
  import {
5
5
  readJsonSafe,
6
6
  writeFileAtomic
7
- } from "./chunk-AUDYAVNM.js";
7
+ } from "./chunk-T2EJ3H6Y.js";
8
8
  import {
9
9
  DECLINED_AGENTS_FILE,
10
10
  DISCONNECT_AGENT_IDS,
@@ -13,7 +13,7 @@ import {
13
13
  serializeDeclinedAgents,
14
14
  withDeclinedAgent,
15
15
  withoutDeclinedAgent
16
- } from "./chunk-QRS7FQHE.js";
16
+ } from "./chunk-Y4OBAK4I.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
  SETUP_FLAGS
3
- } from "./chunk-NCTABQMC.js";
3
+ } from "./chunk-PPD64MZW.js";
4
4
  import {
5
5
  parseFlags
6
6
  } from "./chunk-NMUI3ZWG.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-PPY5N2E6.js";
10
10
  import {
11
11
  NPX_LATEST_COMMAND
12
- } from "./chunk-UIS332AZ.js";
12
+ } from "./chunk-R3HXGHRQ.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-QRS7FQHE.js";
20
+ } from "./chunk-Y4OBAK4I.js";
21
21
 
22
22
  // src/cli/cowork.ts
23
23
  import { readFileSync } from "fs";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  findNativeClaudeInstall
3
- } from "./chunk-R7V6BPEV.js";
3
+ } from "./chunk-UMBVIFP5.js";
4
4
  import {
5
5
  parseVersion
6
- } from "./chunk-AUDYAVNM.js";
6
+ } from "./chunk-T2EJ3H6Y.js";
7
7
  import {
8
8
  isRecord
9
- } from "./chunk-QRS7FQHE.js";
9
+ } from "./chunk-Y4OBAK4I.js";
10
10
 
11
11
  // src/setup/agent-probe.ts
12
12
  import { execSync } from "child_process";
@@ -2,7 +2,7 @@ import {
2
2
  isApprovalMode,
3
3
  isRecord,
4
4
  isTimeoutAction
5
- } from "./chunk-QRS7FQHE.js";
5
+ } from "./chunk-Y4OBAK4I.js";
6
6
 
7
7
  // src/cli/settings-response.ts
8
8
  var isFiniteNumber = (value) => typeof value === "number" && Number.isFinite(value);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  announceSubscriptionRequired,
3
3
  isDeferAnswer
4
- } from "./chunk-I73UQU7K.js";
4
+ } from "./chunk-4LX5QUFV.js";
5
5
  import {
6
6
  AUTO_DECISION_WINDOW_MS,
7
7
  DEFAULT_SESSION,
@@ -10,19 +10,19 @@ import {
10
10
  permissionDeniedAction,
11
11
  releaseThrottle,
12
12
  reportEvent
13
- } from "./chunk-JFVLMWKY.js";
13
+ } from "./chunk-NVLKH5FS.js";
14
14
  import {
15
15
  askUser,
16
16
  isDecisionStopped,
17
17
  isQuestionLimitRefusal,
18
18
  waitForQuestion
19
- } from "./chunk-EOGVWCLF.js";
19
+ } from "./chunk-7ZOWQBHQ.js";
20
20
  import {
21
21
  SubscriptionRequiredError
22
- } from "./chunk-32JJ5KV3.js";
22
+ } from "./chunk-JNV5LOZH.js";
23
23
  import {
24
24
  getMachineId
25
- } from "./chunk-BGEUAJYL.js";
25
+ } from "./chunk-BUR2LYQI.js";
26
26
  import {
27
27
  ASK_CONTEXT_MAX,
28
28
  agentQuestionContext,
@@ -34,7 +34,7 @@ import {
34
34
  questionsShownAsASet,
35
35
  shouldDeferToNativeMode,
36
36
  wireVerdictFor
37
- } from "./chunk-QRS7FQHE.js";
37
+ } from "./chunk-Y4OBAK4I.js";
38
38
 
39
39
  // src/machine-decision-audit.ts
40
40
  import { basename } from "path";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  repoKeyFor
3
- } from "./chunk-DUOBFECC.js";
3
+ } from "./chunk-ZY25SNFQ.js";
4
4
  import {
5
5
  cancelQuestion,
6
6
  clientErrorKindOf,
@@ -8,33 +8,33 @@ import {
8
8
  reportClientError,
9
9
  sendNotification,
10
10
  waitForAnswer
11
- } from "./chunk-EOGVWCLF.js";
11
+ } from "./chunk-7ZOWQBHQ.js";
12
12
  import {
13
13
  withRetry
14
- } from "./chunk-32JJ5KV3.js";
14
+ } from "./chunk-JNV5LOZH.js";
15
15
  import {
16
16
  getMachineId
17
- } from "./chunk-BGEUAJYL.js";
17
+ } from "./chunk-BUR2LYQI.js";
18
18
  import {
19
19
  reportedInstallSource
20
- } from "./chunk-DARPCQPY.js";
20
+ } from "./chunk-5NW7VM35.js";
21
21
  import {
22
22
  IDLE_PROMPT_NOTIFICATION,
23
23
  NOTIFICATION_PUSH_TYPES,
24
24
  POSTTOOLUSE_MIRROR_ONLY_TOOLS,
25
25
  canonicalJson,
26
26
  claudeConfigDir
27
- } from "./chunk-2J4IVUEA.js";
27
+ } from "./chunk-7KYQ24FI.js";
28
28
  import {
29
29
  compareVersion,
30
30
  parseVersion,
31
31
  writeFileAtomic,
32
32
  writeJsonAtomicDurable
33
- } from "./chunk-AUDYAVNM.js";
33
+ } from "./chunk-T2EJ3H6Y.js";
34
34
  import {
35
35
  getApiKey,
36
36
  getBaseUrl
37
- } from "./chunk-53D6FFVE.js";
37
+ } from "./chunk-M7JFGDGP.js";
38
38
  import {
39
39
  ACTION_BODY_MAX,
40
40
  AGENTS,
@@ -75,7 +75,7 @@ import {
75
75
  toToolLookup,
76
76
  truncateLine,
77
77
  unansweredRefusalReason
78
- } from "./chunk-QRS7FQHE.js";
78
+ } from "./chunk-Y4OBAK4I.js";
79
79
 
80
80
  // ../hook-mapping/src/describe.ts
81
81
  import { isAbsolute, relative, resolve } from "path";
@@ -10,7 +10,7 @@ import {
10
10
  isSetupConnectMode,
11
11
  isValidApiKey,
12
12
  normalizeAgentId
13
- } from "./chunk-QRS7FQHE.js";
13
+ } from "./chunk-Y4OBAK4I.js";
14
14
 
15
15
  // src/setup/options.ts
16
16
  var AGENT_CHOICES = SETUP_AGENT_CHOICES;
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  compatibleConfigFile
3
- } from "./chunk-3SAF4QXU.js";
3
+ } from "./chunk-3YU6NIIL.js";
4
4
  import {
5
5
  hookOwnerOf,
6
6
  hookOwnerOfCommands,
7
7
  liveBridgeProbe,
8
8
  resolveBridgeStub
9
- } from "./chunk-TPYZFYQ5.js";
9
+ } from "./chunk-KGWLDNNT.js";
10
10
  import {
11
11
  AGENT_CHOICES
12
- } from "./chunk-NCTABQMC.js";
12
+ } from "./chunk-PPD64MZW.js";
13
13
  import {
14
14
  claudeSettings,
15
15
  codexHooksJson,
@@ -18,10 +18,10 @@ import {
18
18
  guardedArgv,
19
19
  pusharyDir,
20
20
  vscodePluginDir
21
- } from "./chunk-2J4IVUEA.js";
21
+ } from "./chunk-7KYQ24FI.js";
22
22
  import {
23
23
  readJsonSafe
24
- } from "./chunk-AUDYAVNM.js";
24
+ } from "./chunk-T2EJ3H6Y.js";
25
25
  import {
26
26
  HOOK_BUDGETS,
27
27
  HOOK_COMPATIBLE_PROFILES,
@@ -29,7 +29,7 @@ import {
29
29
  OPENCODE_APPROVAL_EVENT,
30
30
  hookCompatibleProfile,
31
31
  isRecord
32
- } from "./chunk-QRS7FQHE.js";
32
+ } from "./chunk-Y4OBAK4I.js";
33
33
 
34
34
  // src/opencode-plugin.ts
35
35
  var OPENCODE_PLUGIN_MARKER = "pushary-opencode-plugin w1";
@@ -2,7 +2,7 @@ import {
2
2
  DISCONNECT_AGENT_IDS,
3
3
  SETUP_AGENT_CHOICES,
4
4
  isApprovalMode
5
- } from "./chunk-QRS7FQHE.js";
5
+ } from "./chunk-Y4OBAK4I.js";
6
6
 
7
7
  // src/cli/mode-request.ts
8
8
  var parseDuration = (value) => {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HOOK_HOLD_BUDGET_ENV,
3
3
  hookHoldBudgetProof
4
- } from "./chunk-QRS7FQHE.js";
4
+ } from "./chunk-Y4OBAK4I.js";
5
5
 
6
6
  // src/hold-budget.ts
7
7
  var takeHookHoldBudget = (args = process.argv.slice(2), env = process.env) => {
@@ -3,13 +3,13 @@ import {
3
3
  NpmMissingError,
4
4
  NpmPermissionError,
5
5
  writeFileAtomic
6
- } from "./chunk-AUDYAVNM.js";
6
+ } from "./chunk-T2EJ3H6Y.js";
7
7
  import {
8
8
  NPX_LATEST_COMMAND
9
- } from "./chunk-UIS332AZ.js";
9
+ } from "./chunk-R3HXGHRQ.js";
10
10
  import {
11
11
  readSetupAgentFailures
12
- } from "./chunk-QRS7FQHE.js";
12
+ } from "./chunk-Y4OBAK4I.js";
13
13
 
14
14
  // src/setup/config-write.ts
15
15
  var AgentConfigWriteError = class extends Error {
@@ -443,9 +443,9 @@ var installGlobally = (options) => {
443
443
  }
444
444
  const started = (async () => {
445
445
  if (!npmIsOnPath()) throw new NpmMissingError();
446
- const { withUpgradeLock } = await import("./global-upgrade-IZEC22BQ.js");
447
- const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-FGEZPX56.js");
448
- const { autoUpdateLock } = await import("./paths-ROMZUSEX.js");
446
+ const { withUpgradeLock } = await import("./global-upgrade-73GP4MZM.js");
447
+ const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-ZTLX5PDF.js");
448
+ const { autoUpdateLock } = await import("./paths-H7VNNB46.js");
449
449
  let result = "skipped";
450
450
  const install = async () => {
451
451
  const platform = process.platform;
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  autoUpdateLock
3
- } from "./chunk-2J4IVUEA.js";
3
+ } from "./chunk-7KYQ24FI.js";
4
4
  import {
5
5
  installPackageGlobally,
6
6
  npmErrorMessage,
7
7
  writeJsonAtomic
8
- } from "./chunk-AUDYAVNM.js";
8
+ } from "./chunk-T2EJ3H6Y.js";
9
9
 
10
10
  // src/upgrade-lock.ts
11
11
  import { fork } from "child_process";
@@ -7,7 +7,7 @@ import {
7
7
  recordSealerFor,
8
8
  uploadTranscriptRecords,
9
9
  wrapSessionKey
10
- } from "./chunk-SONZCJY5.js";
10
+ } from "./chunk-ITLWEGLE.js";
11
11
 
12
12
  // src/live-session.ts
13
13
  var MAX_TRANSCRIPT_QUEUE = 100;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isFile
3
- } from "./chunk-AUDYAVNM.js";
3
+ } from "./chunk-T2EJ3H6Y.js";
4
4
 
5
5
  // src/claude-native-install.ts
6
6
  import { accessSync, constants } from "fs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteUrl
3
- } from "./chunk-SIJHPGUW.js";
3
+ } from "./chunk-E7U4YM4A.js";
4
4
  import {
5
5
  KEY_SCOPE
6
- } from "./chunk-QRS7FQHE.js";
6
+ } from "./chunk-Y4OBAK4I.js";
7
7
 
8
8
  // src/cli/approval-settings-pages.ts
9
9
  var API_KEYS_PATH = "/dashboard/agent/settings";
@@ -7,10 +7,10 @@ import {
7
7
  codexHome,
8
8
  codexHooksJsonIn,
9
9
  isPusharyCodexCommand
10
- } from "./chunk-2J4IVUEA.js";
10
+ } from "./chunk-7KYQ24FI.js";
11
11
  import {
12
12
  resolvePathBinary
13
- } from "./chunk-AUDYAVNM.js";
13
+ } from "./chunk-T2EJ3H6Y.js";
14
14
  import {
15
15
  getPackageVersion
16
16
  } from "./chunk-QTOLNRET.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  compatibleConfigFile,
3
3
  hasCompatibleHooks
4
- } from "./chunk-3SAF4QXU.js";
4
+ } from "./chunk-3YU6NIIL.js";
5
5
  import {
6
6
  pusharyHookExecutable
7
- } from "./chunk-TPYZFYQ5.js";
7
+ } from "./chunk-KGWLDNNT.js";
8
8
  import {
9
9
  isProtectedByScope,
10
10
  registerHookEntry
11
- } from "./chunk-2J4IVUEA.js";
11
+ } from "./chunk-7KYQ24FI.js";
12
12
  import {
13
13
  isRecord
14
- } from "./chunk-QRS7FQHE.js";
14
+ } from "./chunk-Y4OBAK4I.js";
15
15
 
16
16
  // src/cursor-config.ts
17
17
  var hookCommandOf = (entry) => {