pushary 1.9.230 → 1.9.232
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.
- package/CHANGELOG.md +11 -0
- package/README.md +20 -18
- package/data/SKILL.md +8 -8
- package/data/cursor-plugin/.cursor-plugin/plugin.json +1 -1
- package/data/cursor-plugin/CHANGELOG.md +4 -0
- package/data/cursor-plugin/README.md +1 -1
- package/data/cursor-plugin/skills/pushary/SKILL.md +7 -7
- package/data/openclaw-plugin/README.md +3 -3
- package/data/openclaw-plugin/dist/gate-result.js +1 -1
- package/data/vscode-plugin/.claude-plugin/plugin.json +1 -1
- package/data/vscode-plugin/CHANGELOG.md +5 -0
- package/data/vscode-plugin/README.md +3 -3
- package/data/vscode-plugin/scripts/pushary-gate.mjs +2 -2
- package/data/vscode-plugin/skills/pushary/SKILL.md +7 -7
- package/dist/{api-VFQNIMMQ.js → api-OGSNXX5I.js} +12 -11
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +31 -30
- package/dist/bin/pushary-bell.js +13 -12
- package/dist/bin/pushary-calls.js +21 -19
- package/dist/bin/pushary-claude.js +36 -35
- package/dist/bin/pushary-clean.js +47 -46
- package/dist/bin/pushary-codex-bridge.js +25 -24
- package/dist/bin/pushary-codex-hook.js +37 -36
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +17 -16
- package/dist/bin/pushary-connect.js +37 -36
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +71 -70
- package/dist/bin/pushary-disconnect.js +33 -32
- package/dist/bin/pushary-display-hook.js +20 -3
- package/dist/bin/pushary-doctor.js +78 -77
- package/dist/bin/pushary-elicitation-hook.js +28 -27
- package/dist/bin/pushary-gemini-bridge.js +20 -19
- package/dist/bin/pushary-gemini-hook.js +34 -33
- package/dist/bin/pushary-hook.js +38 -37
- package/dist/bin/pushary-login.js +24 -23
- package/dist/bin/pushary-logout.js +31 -30
- package/dist/bin/pushary-mcp.js +15 -14
- package/dist/bin/pushary-mode.js +17 -16
- package/dist/bin/pushary-notification-hook.js +28 -27
- package/dist/bin/pushary-opencode-bridge.js +27 -26
- package/dist/bin/pushary-opencode-hook.js +45 -44
- package/dist/bin/pushary-permission-denied-hook.js +37 -36
- package/dist/bin/pushary-permission-hook.js +38 -37
- package/dist/bin/pushary-post-hook.js +29 -28
- package/dist/bin/pushary-prompt-hook.js +28 -27
- package/dist/bin/pushary-session-end-hook.js +31 -30
- package/dist/bin/pushary-session-start-hook.js +41 -40
- package/dist/bin/pushary-sessions.js +13 -12
- package/dist/bin/pushary-setup.js +96 -94
- package/dist/bin/pushary-stats.js +7 -7
- package/dist/bin/pushary-status.js +38 -37
- package/dist/bin/pushary-stop-hook.js +28 -27
- package/dist/bin/pushary-stopfailure-hook.js +28 -27
- package/dist/bin/pushary-suggestions.js +17 -16
- package/dist/bin/pushary-transcript-register.js +18 -17
- package/dist/bin/pushary-transcripts.js +28 -27
- package/dist/bin/pushary-upgrade.js +65 -64
- package/dist/bin/pushary-wait.js +17 -16
- package/dist/bin/pushary.js +8 -7
- package/dist/{chunk-AHFVMYLC.js → chunk-22N3UUS4.js} +3 -3
- package/dist/{chunk-SYBYJBIC.js → chunk-2R5HU7EL.js} +13 -13
- package/dist/{chunk-NTXYJQMD.js → chunk-2SHF7DI5.js} +5 -3
- package/dist/{chunk-BQAAS4P4.js → chunk-2UUCN62T.js} +3 -3
- package/dist/{chunk-BVLYIGHM.js → chunk-32ZIGQNS.js} +1 -1
- package/dist/{chunk-45YY6DBO.js → chunk-3DME4GIN.js} +8 -8
- package/dist/{chunk-ZPHONVJD.js → chunk-3ZDGQGBL.js} +8 -8
- package/dist/{chunk-YQMZ4VE7.js → chunk-4PWUPWPY.js} +2 -2
- package/dist/{chunk-PL2EJ55K.js → chunk-4UKOA6F5.js} +3 -3
- package/dist/{chunk-TJYUSDL5.js → chunk-546OR2Y5.js} +4 -4
- package/dist/{chunk-NNBCKQC6.js → chunk-5F2FKQQ6.js} +2 -2
- package/dist/{chunk-J3GMEUVP.js → chunk-5JB4JJF5.js} +1 -1
- package/dist/chunk-6ICPEJY5.js +20 -0
- package/dist/{chunk-2ZLMVIB5.js → chunk-A54UFNGF.js} +1 -1
- package/dist/{chunk-NPCYWBY5.js → chunk-AAP2HENZ.js} +1 -1
- package/dist/{chunk-I3MD3R2D.js → chunk-ARBMPOYR.js} +3 -3
- package/dist/{chunk-7W6GRR6B.js → chunk-AX6S5V22.js} +1 -1
- package/dist/{chunk-MJIMTNKY.js → chunk-C4PGW3PU.js} +2 -2
- package/dist/{chunk-YEBUFSBO.js → chunk-C4SPXQAE.js} +2 -2
- package/dist/{chunk-QTJWBUA4.js → chunk-CIT3XX7B.js} +12 -12
- package/dist/{chunk-5GEKKXQK.js → chunk-DOC3PQTD.js} +1 -1
- package/dist/{chunk-ASAT72UO.js → chunk-E6XGP76X.js} +1 -1
- package/dist/{chunk-B2TX7FE7.js → chunk-ETIAYTAI.js} +1 -1
- package/dist/{chunk-B7NX5VK4.js → chunk-EVGZE3TK.js} +2 -2
- package/dist/{chunk-WKSI54F2.js → chunk-FFMM7VZH.js} +3 -3
- package/dist/{chunk-E4HPZ6G5.js → chunk-FG2EF7PP.js} +12 -30
- package/dist/{chunk-X7YGD2Y6.js → chunk-FZMLD3MF.js} +9 -4
- package/dist/{chunk-TCYIDR7T.js → chunk-G6ZSGVZL.js} +3 -3
- package/dist/{chunk-VLPIMIYD.js → chunk-GA4IZMXT.js} +3 -3
- package/dist/{chunk-YRV2GA2V.js → chunk-GIF3SFYU.js} +4 -4
- package/dist/{chunk-NTMFDJKD.js → chunk-GKWFLK7K.js} +7 -7
- package/dist/{chunk-YY2EAK3H.js → chunk-HCKJEXJJ.js} +1 -1
- package/dist/{chunk-XFWZ3WAD.js → chunk-HU5IFHHG.js} +3 -3
- package/dist/{chunk-MVIQ4BNA.js → chunk-HWQFHEHX.js} +2 -2
- package/dist/{chunk-7LP4B5KW.js → chunk-J2GQIBMK.js} +14 -2
- package/dist/{chunk-UCWQPCIX.js → chunk-J4X5T5DO.js} +25 -17
- package/dist/{chunk-TYOPOA3Q.js → chunk-JGEIHCPR.js} +6 -6
- package/dist/{chunk-VKYZ4YUV.js → chunk-JGVXURHK.js} +17 -15
- package/dist/{chunk-OUTUSZGR.js → chunk-JZZ62IV5.js} +4 -4
- package/dist/{chunk-JIQIHE3T.js → chunk-KABI55PA.js} +3 -3
- package/dist/{chunk-CA6V2O4P.js → chunk-KAO2GIZQ.js} +1 -1
- package/dist/{chunk-URDLHUQI.js → chunk-KBZJUOJJ.js} +8 -8
- package/dist/{chunk-ENOOKJOY.js → chunk-KGMSC4Y4.js} +10 -10
- package/dist/{chunk-XUT7PHS4.js → chunk-KHL6NLZN.js} +2 -2
- package/dist/{chunk-JTLRN6MU.js → chunk-KJMIFUE2.js} +4 -4
- package/dist/{chunk-E5T75JWL.js → chunk-KVLYD2EE.js} +1 -1
- package/dist/{chunk-WD7Q3TT5.js → chunk-LFJOCVHG.js} +2 -2
- package/dist/{chunk-TTJA2HH2.js → chunk-LW4AG6EP.js} +6 -6
- package/dist/{chunk-5QKFTPXC.js → chunk-LYO34MJ4.js} +7 -2
- package/dist/{chunk-3CM4LQEB.js → chunk-MBYHALGD.js} +1 -1
- package/dist/{chunk-M7QDLSPI.js → chunk-MHGXV2UI.js} +1 -1
- package/dist/{chunk-KMGLYAGI.js → chunk-ML6AWSKK.js} +5 -5
- package/dist/{chunk-COODHOGD.js → chunk-O2MMXX6P.js} +5 -5
- package/dist/{chunk-5W5R5XEI.js → chunk-OC5SCORI.js} +7 -7
- package/dist/{chunk-FR5PATBB.js → chunk-PKENJCUM.js} +2 -2
- package/dist/{chunk-3MRMHSJM.js → chunk-Q473YQNT.js} +4 -4
- package/dist/{chunk-WTOOX47X.js → chunk-QHR2T5EW.js} +10 -10
- package/dist/{chunk-W2J5RMI4.js → chunk-R24OYTI5.js} +4 -4
- package/dist/{chunk-DKH755WW.js → chunk-RXLKOYN3.js} +1 -1
- package/dist/{chunk-E3YL3XXV.js → chunk-RXXHQXMO.js} +1 -1
- package/dist/{chunk-33HUKRXZ.js → chunk-SHAZ6DT6.js} +5 -3
- package/dist/{chunk-LSBIDOLC.js → chunk-SOIG3VQU.js} +5 -5
- package/dist/{chunk-XDYSADIA.js → chunk-TAW3Z5NA.js} +4 -4
- package/dist/{chunk-77UIFRGZ.js → chunk-TJYY2ZNV.js} +2 -2
- package/dist/{chunk-BHOENP7P.js → chunk-TM5LRIUB.js} +5 -5
- package/dist/{chunk-EL4TJTOU.js → chunk-UDPXFSUQ.js} +2 -2
- package/dist/{chunk-Q7L4H2A3.js → chunk-UKBHJNN4.js} +5 -5
- package/dist/{chunk-P4P6M45X.js → chunk-URMAZGQN.js} +2 -2
- package/dist/{chunk-XFFPBUYX.js → chunk-V6YWRP4V.js} +10 -8
- package/dist/{chunk-UP6UNLLL.js → chunk-W6N2MU2G.js} +1 -1
- package/dist/{chunk-363PPP66.js → chunk-W7HK5KMH.js} +1 -1
- package/dist/{chunk-MMDZKAM2.js → chunk-WHMZT7EG.js} +2 -2
- package/dist/{chunk-AT65NHK5.js → chunk-WNSBSSTB.js} +1 -1
- package/dist/{chunk-5PPXE3SI.js → chunk-WNWN4U2V.js} +1 -1
- package/dist/{chunk-CW6LDFLM.js → chunk-WNZR4KFV.js} +10 -10
- package/dist/{chunk-RPPSP7JL.js → chunk-X275KIXO.js} +5 -5
- package/dist/{chunk-HKOJCK27.js → chunk-X2BMTMY2.js} +5 -5
- package/dist/{chunk-5IFPQWQS.js → chunk-X5M3LLDZ.js} +5 -5
- package/dist/{chunk-SLY7LXA7.js → chunk-X6GHL4KM.js} +25 -20
- package/dist/{chunk-ZVTROPFZ.js → chunk-XO64RMVL.js} +4 -4
- package/dist/{chunk-NNLYSNO2.js → chunk-XT7RG6WO.js} +7 -7
- package/dist/{codex-app-cards-switch-T7BFX3RY.js → codex-app-cards-switch-MBJFUQBT.js} +12 -11
- package/dist/{codex-card-routing-IU2IEJIJ.js → codex-card-routing-LAM2ADY2.js} +2 -2
- package/dist/{codex-desktop-launch-HHMQ66PO.js → codex-desktop-launch-LB4RWOSI.js} +7 -1
- package/dist/{codex-session-launch-6552APX5.js → codex-session-launch-PRWQGIGE.js} +22 -21
- package/dist/{config-SXJJPTEN.js → config-BBTWVECF.js} +3 -3
- package/dist/{global-upgrade-YTCJ6ASA.js → global-upgrade-C6HNF5OW.js} +10 -9
- package/dist/{identity-7SBDT3ZC.js → identity-7PUBPQNU.js} +5 -4
- package/dist/{live-capabilities-7CVCKDTW.js → live-capabilities-ZAQZQQR4.js} +5 -4
- package/dist/{paths-EHAWEAVV.js → paths-ZALQKETP.js} +4 -3
- package/dist/reapply-JWQ5H3RL.js +75 -0
- package/dist/src/index.d.ts +9 -10
- package/dist/src/index.js +34 -33
- package/dist/{upgrade-lock-GKQRE565.js → upgrade-lock-UWYE4CPX.js} +5 -4
- package/dist/{usage-5NEPL3OS.js → usage-BR4DQNAS.js} +3 -3
- package/package.json +1 -1
- package/dist/reapply-VF3F42SI.js +0 -74
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
reportableSessionId,
|
|
28
28
|
toToolLookup,
|
|
29
29
|
truncateLine
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-J2GQIBMK.js";
|
|
31
31
|
|
|
32
32
|
// ../hook-mapping/src/commit-receipt.ts
|
|
33
33
|
var COMMIT_OUTPUT_MAX_LENGTH = 65536;
|
|
@@ -192,24 +192,33 @@ var deriveReceiptCommandHead = (command) => {
|
|
|
192
192
|
const head = tokens.slice(0, keep).join(" ");
|
|
193
193
|
return head ? redactSecrets(head).slice(0, TOOL_TARGET_MAX_LENGTH) : void 0;
|
|
194
194
|
};
|
|
195
|
-
var
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
195
|
+
var APPLY_PATCH_FILE_LINE = /^\s*\*\*\*\s+(Add|Update|Delete) File:(\s[^\n]*)$/;
|
|
196
|
+
var APPLY_PATCH_MOVE_LINE = /^\s*\*\*\*\s+Move to:(\s[^\n]*)$/;
|
|
197
|
+
var PATH_OF_ONLY_SPACES = " ";
|
|
198
|
+
var applyPatchPathOf = (afterTheColon) => {
|
|
199
|
+
const path = afterTheColon.trim();
|
|
200
|
+
if (path.length > 0) return path;
|
|
201
|
+
return afterTheColon.length > 1 ? PATH_OF_ONLY_SPACES : null;
|
|
202
|
+
};
|
|
203
|
+
var applyPatchEntryOf = (op, afterTheColon) => {
|
|
204
|
+
const path = applyPatchPathOf(afterTheColon);
|
|
205
|
+
return path === null ? null : { op, path };
|
|
206
|
+
};
|
|
207
|
+
var applyPatchEntryOfLine = (line) => {
|
|
208
|
+
const file = APPLY_PATCH_FILE_LINE.exec(line);
|
|
209
|
+
if (file) return applyPatchEntryOf(file[1].toLowerCase(), file[2]);
|
|
210
|
+
const move = APPLY_PATCH_MOVE_LINE.exec(line);
|
|
211
|
+
return move ? applyPatchEntryOf("move", move[1]) : null;
|
|
212
|
+
};
|
|
213
|
+
var isApplyPatchEntry = (entry) => entry !== null;
|
|
214
|
+
var parseApplyPatchOps = (command) => typeof command === "string" ? command.split("\n").map(applyPatchEntryOfLine).filter(isApplyPatchEntry) : [];
|
|
209
215
|
var parseApplyPatchFiles = (command) => [...new Set(parseApplyPatchOps(command).map((entry) => entry.path))];
|
|
210
216
|
var APPLY_PATCH_TOOL_NAMES = /* @__PURE__ */ new Set(["apply_patch", "applyPatch", "copilot_applyPatch"]);
|
|
211
217
|
var applyPatchTextOf = (input) => firstString(input.command, input.input, input.patch);
|
|
212
|
-
var
|
|
218
|
+
var PATCH_ARG_KEYS = ["command", "patch", "input"];
|
|
219
|
+
var deletesAFile = (entry) => entry.op === "delete";
|
|
220
|
+
var anyPatchKeyDeletesAFile = (toolInput) => PATCH_ARG_KEYS.some((key) => parseApplyPatchOps(toolInput[key]).some(deletesAFile));
|
|
221
|
+
var patchDeletesFiles = (toolName, toolInput) => APPLY_PATCH_TOOL_NAMES.has(toolName) && anyPatchKeyDeletesAFile(toolInput);
|
|
213
222
|
var OPENCODE_TOOL_NAMES = {
|
|
214
223
|
bash: "Bash",
|
|
215
224
|
shell: "Bash",
|
|
@@ -229,7 +238,6 @@ var OPENCODE_TOOL_NAMES = {
|
|
|
229
238
|
task: "Task",
|
|
230
239
|
subagent: "Task"
|
|
231
240
|
};
|
|
232
|
-
var PATCH_ARG_KEYS = ["command", "patch", "input"];
|
|
233
241
|
var HOST_PATH_RULES = { isAbsolute, relative, resolve };
|
|
234
242
|
var pathRulesForCwd = (cwd) => isWindowsRootedPath(cwd) ? win32 : HOST_PATH_RULES;
|
|
235
243
|
var absolutePathOf = (path, cwd) => {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
reachVerdict,
|
|
15
15
|
reachesYou,
|
|
16
16
|
verifyDelivery
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LW4AG6EP.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-
|
|
32
|
+
} from "./chunk-AX6S5V22.js";
|
|
33
33
|
import {
|
|
34
34
|
checkApiKey
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4UKOA6F5.js";
|
|
36
36
|
import {
|
|
37
37
|
reportedInstallSource
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-C4SPXQAE.js";
|
|
39
39
|
import {
|
|
40
40
|
NPX_LATEST_COMMAND
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-LYO34MJ4.js";
|
|
42
42
|
import {
|
|
43
43
|
NO_PAIRING_COMPUTER,
|
|
44
44
|
PAIR_TTL_SECONDS
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-J2GQIBMK.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-
|
|
8
|
+
} from "./chunk-ARBMPOYR.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-
|
|
17
|
+
} from "./chunk-3DME4GIN.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-
|
|
26
|
+
} from "./chunk-ML6AWSKK.js";
|
|
27
27
|
import {
|
|
28
28
|
OPENCODE_HOOK_BINARY,
|
|
29
29
|
agentHookOwner,
|
|
@@ -36,13 +36,16 @@ import {
|
|
|
36
36
|
openCodePluginDir,
|
|
37
37
|
openCodeWired,
|
|
38
38
|
withOpenCodeAskRules
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-XT7RG6WO.js";
|
|
40
|
+
import {
|
|
41
|
+
detectClaudeVersion
|
|
42
|
+
} from "./chunk-EVGZE3TK.js";
|
|
40
43
|
import {
|
|
41
44
|
addCompatibleHooks,
|
|
42
45
|
compatibleConfigFile,
|
|
43
46
|
compatibleInstructionsFile,
|
|
44
47
|
hasCompatibleHooks
|
|
45
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-TM5LRIUB.js";
|
|
46
49
|
import {
|
|
47
50
|
GEMINI_HOOK_BINARY,
|
|
48
51
|
addGeminiHooks,
|
|
@@ -54,16 +57,13 @@ import {
|
|
|
54
57
|
geminiWired,
|
|
55
58
|
hasGeminiHooks,
|
|
56
59
|
planHooks
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import {
|
|
59
|
-
detectClaudeVersion
|
|
60
|
-
} from "./chunk-B7NX5VK4.js";
|
|
60
|
+
} from "./chunk-JZZ62IV5.js";
|
|
61
61
|
import {
|
|
62
62
|
transcriptsEnabled
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-W6N2MU2G.js";
|
|
64
64
|
import {
|
|
65
65
|
KEY_FILE_MODE
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-HU5IFHHG.js";
|
|
67
67
|
import {
|
|
68
68
|
CLAUDE_CODE_PUSHARY_PERMISSION_RULES,
|
|
69
69
|
CLAUDE_HOOK_BINARY,
|
|
@@ -110,13 +110,15 @@ import {
|
|
|
110
110
|
renderAgentInstructions,
|
|
111
111
|
supportedClaudeEvents,
|
|
112
112
|
vscodePluginMcp
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-SHAZ6DT6.js";
|
|
114
|
+
import {
|
|
115
|
+
formatVersion
|
|
116
|
+
} from "./chunk-6ICPEJY5.js";
|
|
114
117
|
import {
|
|
115
|
-
formatVersion,
|
|
116
118
|
hookCommandsUseBareNames,
|
|
117
119
|
resolveGlobalBinDir,
|
|
118
120
|
resolveGlobalBinary
|
|
119
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-FG2EF7PP.js";
|
|
120
122
|
import {
|
|
121
123
|
readJsonSafe,
|
|
122
124
|
writeFileAtomic,
|
|
@@ -126,7 +128,7 @@ import {
|
|
|
126
128
|
HOOK_COMPATIBLE_PROFILES,
|
|
127
129
|
isCompatibleAgentType,
|
|
128
130
|
isRecord
|
|
129
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-J2GQIBMK.js";
|
|
130
132
|
|
|
131
133
|
// src/reapply.ts
|
|
132
134
|
import { dirname, join } from "path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_CHOICES
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AAP2HENZ.js";
|
|
4
4
|
import {
|
|
5
5
|
BELL_HOOK_BINARY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DOC3PQTD.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-
|
|
19
|
+
} from "./chunk-SHAZ6DT6.js";
|
|
20
20
|
import {
|
|
21
21
|
CURSOR_GATE_EVENTS,
|
|
22
22
|
HOOK_BUDGETS,
|
|
23
23
|
HOOK_LOCATOR_BINARY,
|
|
24
24
|
hookCommandHoldBudget
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-J2GQIBMK.js";
|
|
26
26
|
|
|
27
27
|
// src/gemini-config.ts
|
|
28
28
|
var GEMINI_HOOK_BINARY = "pushary-gemini-hook";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readExistingMachineId
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-32ZIGQNS.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TJYY2ZNV.js";
|
|
7
7
|
import {
|
|
8
8
|
NetworkError
|
|
9
9
|
} from "./chunk-CINBAX5G.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
clientContextHeaders,
|
|
15
15
|
redactSecretsFromContent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-J2GQIBMK.js";
|
|
17
17
|
|
|
18
18
|
// src/cli/net.ts
|
|
19
19
|
import { createRequire } from "module";
|
|
@@ -3,7 +3,10 @@ import {
|
|
|
3
3
|
forkFinishWithUpgradeLock,
|
|
4
4
|
installWithUpgradeLock,
|
|
5
5
|
releaseAutoUpdateLock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PKENJCUM.js";
|
|
7
|
+
import {
|
|
8
|
+
phoneStartIsRequired
|
|
9
|
+
} from "./chunk-G6ZSGVZL.js";
|
|
7
10
|
import {
|
|
8
11
|
describeAutoUpdateCheck,
|
|
9
12
|
globalInstallLocation,
|
|
@@ -15,15 +18,12 @@ import {
|
|
|
15
18
|
readAutoUpdateState,
|
|
16
19
|
updateAutoUpdateState,
|
|
17
20
|
upgradeEntryFor
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import {
|
|
20
|
-
phoneStartIsRequired
|
|
21
|
-
} from "./chunk-TCYIDR7T.js";
|
|
21
|
+
} from "./chunk-UDPXFSUQ.js";
|
|
22
22
|
import {
|
|
23
23
|
autoUpdateLock,
|
|
24
24
|
autoUpdateLog,
|
|
25
25
|
autoUpdateState
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-SHAZ6DT6.js";
|
|
27
27
|
import {
|
|
28
28
|
describeReleaseNpmHolds,
|
|
29
29
|
execNpm,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
npmExitedOnReleaseAge,
|
|
34
34
|
readGlobalCliInstallAt,
|
|
35
35
|
readGlobalPrefix
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-FG2EF7PP.js";
|
|
37
37
|
import {
|
|
38
38
|
NPX_LATEST_COMMAND
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-LYO34MJ4.js";
|
|
40
40
|
import {
|
|
41
41
|
EXIT
|
|
42
42
|
} from "./chunk-BG4HHB7E.js";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
detectProviderLiveCapabilities,
|
|
3
|
+
expectedLaunchCapabilities,
|
|
4
|
+
hasSpawnProvider,
|
|
5
|
+
resolveControlPolicy
|
|
6
|
+
} from "./chunk-G6ZSGVZL.js";
|
|
1
7
|
import {
|
|
2
8
|
daemonHasRemoteProof,
|
|
3
9
|
daemonServiceManagerAvailable,
|
|
4
10
|
hasDaemonServiceDefinition,
|
|
5
11
|
readDaemonNeedsLogin,
|
|
6
12
|
readDaemonStatus
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
detectProviderLiveCapabilities,
|
|
10
|
-
expectedLaunchCapabilities,
|
|
11
|
-
hasSpawnProvider,
|
|
12
|
-
resolveControlPolicy
|
|
13
|
-
} from "./chunk-TCYIDR7T.js";
|
|
13
|
+
} from "./chunk-V6YWRP4V.js";
|
|
14
14
|
import {
|
|
15
15
|
getMachineId
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-32ZIGQNS.js";
|
|
17
17
|
import {
|
|
18
18
|
readControlMode,
|
|
19
19
|
readKeyInForce
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HU5IFHHG.js";
|
|
21
21
|
import {
|
|
22
22
|
getBaseUrl
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-TJYY2ZNV.js";
|
|
24
24
|
import {
|
|
25
25
|
getPackageVersion
|
|
26
26
|
} from "./chunk-CXQWDQCJ.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
keyPrefix,
|
|
5
5
|
readConfigFileKey,
|
|
6
6
|
readMacAppKeyPrefix
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HU5IFHHG.js";
|
|
8
8
|
import {
|
|
9
9
|
NPX_LATEST_COMMAND
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LYO34MJ4.js";
|
|
11
11
|
|
|
12
12
|
// src/key-signed-out.ts
|
|
13
13
|
var VERDICT_BY_CHECK = {
|
|
@@ -4,21 +4,21 @@ import {
|
|
|
4
4
|
claimThrottle,
|
|
5
5
|
releaseThrottle,
|
|
6
6
|
reportEvent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CIT3XX7B.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveToolTarget,
|
|
10
10
|
permissionDeniedAction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-J4X5T5DO.js";
|
|
12
12
|
import {
|
|
13
13
|
projectNameFor
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KVLYD2EE.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-
|
|
21
|
+
} from "./chunk-J2GQIBMK.js";
|
|
22
22
|
|
|
23
23
|
// src/machine-decision-audit.ts
|
|
24
24
|
var MACHINE_DECISION_REPORT_TIMEOUT_MS = 800;
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
installedCodexApp,
|
|
10
10
|
readCodexAppRuntime,
|
|
11
11
|
shellQuoted
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FZMLD3MF.js";
|
|
13
13
|
import {
|
|
14
14
|
CODEX_APP_LAUNCH_AT_LOGIN_VERB,
|
|
15
15
|
CODEX_APP_LAUNCH_VARIABLE
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-QCGNGEGE.js";
|
|
20
20
|
import {
|
|
21
21
|
xml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-V6YWRP4V.js";
|
|
23
23
|
import {
|
|
24
24
|
writeFileAtomic
|
|
25
25
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
APPROVAL_RULES_PATH,
|
|
3
3
|
canChangeApprovalSettings
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-C4PGW3PU.js";
|
|
5
5
|
import {
|
|
6
6
|
callMcpTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-X5M3LLDZ.js";
|
|
8
8
|
import {
|
|
9
9
|
absoluteUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4UKOA6F5.js";
|
|
11
11
|
import {
|
|
12
12
|
getBaseUrl
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TJYY2ZNV.js";
|
|
14
14
|
import {
|
|
15
15
|
NPX_LATEST_COMMAND
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LYO34MJ4.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-
|
|
24
|
+
} from "./chunk-J2GQIBMK.js";
|
|
25
25
|
|
|
26
26
|
// src/reach.ts
|
|
27
27
|
var PUSHARY_APP_DOWNLOAD_URL = "https://pushary.com/download";
|
|
@@ -4,9 +4,11 @@ import {
|
|
|
4
4
|
} from "./chunk-CXQWDQCJ.js";
|
|
5
5
|
import {
|
|
6
6
|
DISCONNECT_AGENT_IDS,
|
|
7
|
+
PUSHARY_CLI_LATEST,
|
|
8
|
+
PUSHARY_CLI_LATEST_FOR_POWERSHELL,
|
|
7
9
|
SETUP_AGENT_CHOICES,
|
|
8
10
|
isApprovalMode
|
|
9
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-J2GQIBMK.js";
|
|
10
12
|
|
|
11
13
|
// src/cli/mode-request.ts
|
|
12
14
|
var parseDuration = (value) => {
|
|
@@ -37,7 +39,7 @@ var describeMode = (mode) => {
|
|
|
37
39
|
};
|
|
38
40
|
|
|
39
41
|
// src/cli/commands.ts
|
|
40
|
-
var npxLatestCommandFor = (platform) =>
|
|
42
|
+
var npxLatestCommandFor = (platform) => platform === "win32" ? PUSHARY_CLI_LATEST_FOR_POWERSHELL : PUSHARY_CLI_LATEST;
|
|
41
43
|
var NPX_LATEST_COMMAND = npxLatestCommandFor(process.platform);
|
|
42
44
|
var isRecoveryVersion = (version) => version === LATEST_DIST_TAG || isReleaseVersion(version) && version !== "0.0.0";
|
|
43
45
|
var npmExecSetupCommandFor = (platform, agents, version) => {
|
|
@@ -283,6 +285,7 @@ var USAGE_EXAMPLES = [
|
|
|
283
285
|
'pushary claude --remote -p "start the refactor" # start headless, drive from your phone',
|
|
284
286
|
"pushary daemon # keep this machine ready to spawn a session"
|
|
285
287
|
];
|
|
288
|
+
var NPX_YES_NOTE = "The -y before pushary@latest is npm's own: it only skips npm's install question, and the Pushary command never sees it.";
|
|
286
289
|
var pad = (text, width) => text + " ".repeat(Math.max(0, width - text.length));
|
|
287
290
|
var renderHelp = (version) => {
|
|
288
291
|
const width = Math.max(...LISTED_COMMANDS.map((command) => command.name.length)) + 2;
|
|
@@ -309,6 +312,8 @@ var renderHelp = (version) => {
|
|
|
309
312
|
"Examples:",
|
|
310
313
|
...USAGE_EXAMPLES.map((line) => ` ${line}`),
|
|
311
314
|
"",
|
|
315
|
+
NPX_YES_NOTE,
|
|
316
|
+
"",
|
|
312
317
|
"Run `pushary <command> --help` for a single command.",
|
|
313
318
|
""
|
|
314
319
|
].join("\n");
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
configFailureKind,
|
|
5
5
|
retryAgentCommand,
|
|
6
6
|
writeSetupConfigFile
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2UUCN62T.js";
|
|
8
8
|
import {
|
|
9
9
|
MCP_BRIDGE_BINARY
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-546OR2Y5.js";
|
|
11
11
|
import {
|
|
12
12
|
KEY_FILE_MODE
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HU5IFHHG.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-
|
|
35
|
+
} from "./chunk-SHAZ6DT6.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveGlobalBinary
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-FG2EF7PP.js";
|
|
39
39
|
import {
|
|
40
40
|
readJsonSafe,
|
|
41
41
|
writeFileAtomic,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
notificationAnswerStep
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LW4AG6EP.js";
|
|
4
4
|
import {
|
|
5
5
|
matchMacAccountStep,
|
|
6
6
|
retryAgentCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2UUCN62T.js";
|
|
8
8
|
import {
|
|
9
9
|
canChangeApprovalSettings
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-C4PGW3PU.js";
|
|
11
11
|
import {
|
|
12
12
|
NPX_LATEST_COMMAND,
|
|
13
13
|
npmExecSetupCommandFor
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LYO34MJ4.js";
|
|
15
15
|
import {
|
|
16
16
|
EXIT
|
|
17
17
|
} from "./chunk-BG4HHB7E.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
compatibleProfileFor,
|
|
23
23
|
isCompatibleAgentType
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-J2GQIBMK.js";
|
|
25
25
|
|
|
26
26
|
// src/setup/closing.ts
|
|
27
27
|
var ACTIVITY_URL = "pushary.com/dashboard/agent/activity";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openClawLauncherCandidates
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GA4IZMXT.js";
|
|
4
4
|
import {
|
|
5
5
|
openCodeConfigDirFrom
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
grokHome
|
|
9
|
-
} from "./chunk-BHOENP7P.js";
|
|
6
|
+
} from "./chunk-XT7RG6WO.js";
|
|
10
7
|
import {
|
|
11
8
|
nativeClaudeInstallPath
|
|
12
9
|
} from "./chunk-TCE3J44Z.js";
|
|
10
|
+
import {
|
|
11
|
+
grokHome
|
|
12
|
+
} from "./chunk-TM5LRIUB.js";
|
|
13
13
|
import {
|
|
14
14
|
claudeConfigDir,
|
|
15
15
|
clineDataDirectory,
|
|
16
16
|
codexHomeFrom,
|
|
17
17
|
openClawEnvironmentOf,
|
|
18
18
|
openClawPathsFrom
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SHAZ6DT6.js";
|
|
20
20
|
import {
|
|
21
21
|
HOOK_COMPATIBLE_PROFILES
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-J2GQIBMK.js";
|
|
23
23
|
|
|
24
24
|
// src/vscode-config.ts
|
|
25
25
|
import { homedir } from "os";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoUpdateLock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SHAZ6DT6.js";
|
|
4
4
|
import {
|
|
5
5
|
installPackageGlobally,
|
|
6
6
|
npmErrorMessage,
|
|
7
7
|
throwIfNpmRefusesInstall
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FG2EF7PP.js";
|
|
9
9
|
import {
|
|
10
10
|
writeJsonAtomic
|
|
11
11
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
macAppBridgeAvailable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XT7RG6WO.js";
|
|
4
4
|
import {
|
|
5
5
|
keyPrefix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HU5IFHHG.js";
|
|
7
7
|
import {
|
|
8
8
|
bridgeAgentKey
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SHAZ6DT6.js";
|
|
10
10
|
import {
|
|
11
11
|
readJsonSafe
|
|
12
12
|
} from "./chunk-PM2NRK6Y.js";
|
|
13
13
|
import {
|
|
14
14
|
isRecord,
|
|
15
15
|
isValidApiKey
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-J2GQIBMK.js";
|
|
17
17
|
|
|
18
18
|
// src/shared-mcp-key.ts
|
|
19
19
|
var asRecord = (value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0;
|