pushary 1.9.142 → 1.9.143
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 +5 -0
- package/dist/{api-JR3YAO4I.js → api-2YC2KSIM.js} +6 -2
- package/dist/bin/pushary-bell-hook.js +5 -5
- package/dist/bin/pushary-claude.js +20 -9
- package/dist/bin/pushary-clean.js +13 -13
- package/dist/bin/pushary-codex-bridge.js +3 -3
- package/dist/bin/pushary-codex-hook.js +10 -10
- package/dist/bin/pushary-codex-session.js +3 -3
- package/dist/bin/pushary-codex.js +3 -3
- package/dist/bin/pushary-connect.js +8 -8
- package/dist/bin/pushary-daemon.js +9 -9
- package/dist/bin/pushary-disconnect.js +8 -8
- package/dist/bin/pushary-doctor.js +11 -11
- package/dist/bin/pushary-elicitation-hook.js +6 -6
- package/dist/bin/pushary-gemini-hook.js +8 -8
- package/dist/bin/pushary-hook.js +10 -10
- package/dist/bin/pushary-login.js +3 -3
- package/dist/bin/pushary-logout.js +7 -7
- package/dist/bin/pushary-mcp.js +2 -2
- package/dist/bin/pushary-notification-hook.js +5 -5
- package/dist/bin/pushary-opencode-hook.js +8 -8
- package/dist/bin/pushary-permission-denied-hook.js +10 -10
- package/dist/bin/pushary-permission-hook.js +10 -10
- package/dist/bin/pushary-post-hook.js +6 -6
- package/dist/bin/pushary-prompt-hook.js +5 -5
- package/dist/bin/pushary-session-end-hook.js +5 -5
- package/dist/bin/pushary-session-start-hook.js +9 -9
- package/dist/bin/pushary-setup.js +15 -15
- package/dist/bin/pushary-status.js +8 -8
- package/dist/bin/pushary-stop-hook.js +5 -5
- package/dist/bin/pushary-stopfailure-hook.js +5 -5
- package/dist/bin/pushary-transcripts.js +3 -3
- package/dist/bin/pushary-upgrade.js +11 -11
- package/dist/{chunk-XIU5ER6S.js → chunk-3WZMIDGX.js} +1 -1
- package/dist/{chunk-TKYGEPBH.js → chunk-42DRRA6N.js} +1 -1
- package/dist/{chunk-5N6Q5XGF.js → chunk-44Z6MQZ2.js} +2 -2
- package/dist/{chunk-CZCLJXUA.js → chunk-5RSM5DRT.js} +1 -1
- package/dist/{chunk-3KW7WC4L.js → chunk-CNURORKI.js} +41 -6
- package/dist/{chunk-A3DVD55C.js → chunk-DOXH5BV4.js} +1 -1
- package/dist/{chunk-POXASZR6.js → chunk-DU4KCXC2.js} +1 -1
- package/dist/{chunk-TYQITMXN.js → chunk-EGUT2MWV.js} +1 -1
- package/dist/{chunk-7K3KDCOX.js → chunk-FYB6HBHQ.js} +1 -1
- package/dist/{chunk-5GE7PKK4.js → chunk-G3G7DWR3.js} +3 -3
- package/dist/{chunk-DV4ZWKI6.js → chunk-G7G2ZPT4.js} +2 -2
- package/dist/{chunk-EECOWW5X.js → chunk-K7MVCPH5.js} +1 -1
- package/dist/{chunk-UPI4IIX3.js → chunk-LWQLM3AO.js} +1 -1
- package/dist/{chunk-7PJLQRRM.js → chunk-MLOYBLO4.js} +1 -1
- package/dist/{chunk-76N6DCSP.js → chunk-MMS7R3VO.js} +1 -1
- package/dist/{chunk-ZGYVUZEZ.js → chunk-MQF6MQMR.js} +3 -3
- package/dist/{chunk-77ZUOR3U.js → chunk-NZHRH4RR.js} +2 -2
- package/dist/{chunk-KY6AHZ2P.js → chunk-QGJK3NAR.js} +2 -2
- package/dist/{chunk-G562FBHB.js → chunk-SYZF5SDG.js} +1 -1
- package/dist/{chunk-ZJHZICA4.js → chunk-UJETZZG5.js} +2 -2
- package/dist/{chunk-FFAVOHI5.js → chunk-USNGPJXF.js} +2 -2
- package/dist/{chunk-34JVH6VP.js → chunk-V53QYJNY.js} +10 -1
- package/dist/{chunk-MDIBO7U7.js → chunk-V7CS72Q5.js} +1 -1
- package/dist/{chunk-4KVGNCMN.js → chunk-WSKBXADV.js} +1 -1
- package/dist/{chunk-TPQDOZGK.js → chunk-X2MC2CF3.js} +8 -8
- package/dist/{chunk-Z5OFTJGZ.js → chunk-ZDOTNMGL.js} +1 -1
- package/dist/{codex-app-cards-switch-FAWUGM7P.js → codex-app-cards-switch-EGUHSLTG.js} +2 -2
- package/dist/{codex-desktop-launch-WPN7UNS7.js → codex-desktop-launch-6UN5CWCX.js} +1 -1
- package/dist/{codex-session-launch-YPPBWBBH.js → codex-session-launch-7R3HNIDJ.js} +3 -3
- package/dist/{reapply-4PUJZT73.js → reapply-W6AIK5PH.js} +8 -8
- package/dist/src/index.js +10 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.9.143
|
|
4
|
+
|
|
5
|
+
- A hook waiting on your answer no longer cancels the question when one poll fails. A network blip, a dropped connection, a server error or a rate limit while the hook waits for `wait_for_answer` used to withdraw the question at once, so a phone call or a late tap had nothing left to answer. The hook now keeps polling with growing pauses (2, 4, 8, then 15 seconds) until its own deadline. A failure that will not pass, such as a refused request, a tool error or a reply the hook cannot read, still withdraws the question right away. The `pushary claude` wrapper waits the same way, and a session cancelled during a pause stops at once.
|
|
6
|
+
- A wait that saw a failed poll ends as a stop, as a failed poll did before, never as a timeout, even when the server is back before the deadline. A timeout rule that approves cannot fire because the network was down.
|
|
7
|
+
|
|
3
8
|
## 1.9.142
|
|
4
9
|
|
|
5
10
|
- Keep a routed approval waiting long enough for the selected teammate's phone call, even when the requester has calls disabled. The extra wait applies only to matching human-approval routes; kill, deny, automatic decisions and native handoffs keep their precedence.
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
isDecisionStopped,
|
|
9
9
|
isLocalQuestionHandoff,
|
|
10
10
|
isQuestionLimitRefusal,
|
|
11
|
+
isTransientWaitFailure,
|
|
11
12
|
nextLongPollMs,
|
|
12
13
|
pollForAnswer,
|
|
13
14
|
requestGate,
|
|
@@ -15,11 +16,12 @@ import {
|
|
|
15
16
|
unavailableQuestionUnlessRefused,
|
|
16
17
|
waitForAnswer,
|
|
17
18
|
waitForQuestion,
|
|
19
|
+
waitRetryPauseMs,
|
|
18
20
|
waitsForThePhone,
|
|
19
21
|
withdrawQuestion
|
|
20
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-CNURORKI.js";
|
|
21
23
|
import "./chunk-POFBE6ZY.js";
|
|
22
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-V53QYJNY.js";
|
|
23
25
|
import "./chunk-DZLLKJJT.js";
|
|
24
26
|
import "./chunk-4OX4SJGA.js";
|
|
25
27
|
import "./chunk-YCU7Y77H.js";
|
|
@@ -49,6 +51,7 @@ export {
|
|
|
49
51
|
isDecisionStopped,
|
|
50
52
|
isLocalQuestionHandoff,
|
|
51
53
|
isQuestionLimitRefusal,
|
|
54
|
+
isTransientWaitFailure,
|
|
52
55
|
nextLongPollMs,
|
|
53
56
|
pollForAnswer,
|
|
54
57
|
requestGate,
|
|
@@ -56,6 +59,7 @@ export {
|
|
|
56
59
|
unavailableQuestionUnlessRefused,
|
|
57
60
|
waitForAnswer,
|
|
58
61
|
waitForQuestion,
|
|
62
|
+
waitRetryPauseMs,
|
|
59
63
|
waitsForThePhone,
|
|
60
64
|
withdrawQuestion
|
|
61
65
|
};
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
} from "../chunk-P5QXH5QI.js";
|
|
5
5
|
import {
|
|
6
6
|
readHookInput
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-NZHRH4RR.js";
|
|
8
8
|
import "../chunk-6JLANX5L.js";
|
|
9
9
|
import "../chunk-LTPKSJWY.js";
|
|
10
10
|
import "../chunk-VAE5JBR5.js";
|
|
11
11
|
import "../chunk-G66WIAST.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-5RSM5DRT.js";
|
|
13
13
|
import "../chunk-ZF4CPOO7.js";
|
|
14
14
|
import "../chunk-3VOUWGFF.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-QGJK3NAR.js";
|
|
16
16
|
import "../chunk-7QWH257P.js";
|
|
17
17
|
import "../chunk-53KLGXFL.js";
|
|
18
18
|
import "../chunk-MH5BRZOQ.js";
|
|
@@ -21,9 +21,9 @@ import "../chunk-22CXL7YI.js";
|
|
|
21
21
|
import "../chunk-XMSDA5WA.js";
|
|
22
22
|
import "../chunk-7VMVMC4H.js";
|
|
23
23
|
import "../chunk-EMODTMHE.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-CNURORKI.js";
|
|
25
25
|
import "../chunk-POFBE6ZY.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-V53QYJNY.js";
|
|
27
27
|
import "../chunk-DZLLKJJT.js";
|
|
28
28
|
import "../chunk-4OX4SJGA.js";
|
|
29
29
|
import "../chunk-H6CL3T2S.js";
|
|
@@ -17,7 +17,7 @@ import "../chunk-CYTPQDQY.js";
|
|
|
17
17
|
import {
|
|
18
18
|
announceSubscriptionRequired,
|
|
19
19
|
isDeferAnswer
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-42DRRA6N.js";
|
|
21
21
|
import {
|
|
22
22
|
claudeTranscriptPath,
|
|
23
23
|
redactDraft,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
removePendingCommand,
|
|
46
46
|
reportEvent,
|
|
47
47
|
savePendingCommand
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-QGJK3NAR.js";
|
|
49
49
|
import {
|
|
50
50
|
UNNAMED_ACTION,
|
|
51
51
|
deriveToolTarget,
|
|
@@ -74,15 +74,17 @@ import {
|
|
|
74
74
|
isDecisionStopped,
|
|
75
75
|
isLocalQuestionHandoff,
|
|
76
76
|
isQuestionLimitRefusal,
|
|
77
|
+
isTransientWaitFailure,
|
|
77
78
|
nextLongPollMs,
|
|
78
79
|
waitForAnswer,
|
|
80
|
+
waitRetryPauseMs,
|
|
79
81
|
waitsForThePhone,
|
|
80
82
|
withdrawQuestion
|
|
81
|
-
} from "../chunk-
|
|
83
|
+
} from "../chunk-CNURORKI.js";
|
|
82
84
|
import "../chunk-POFBE6ZY.js";
|
|
83
85
|
import {
|
|
84
86
|
SubscriptionRequiredError
|
|
85
|
-
} from "../chunk-
|
|
87
|
+
} from "../chunk-V53QYJNY.js";
|
|
86
88
|
import "../chunk-DZLLKJJT.js";
|
|
87
89
|
import "../chunk-4OX4SJGA.js";
|
|
88
90
|
import {
|
|
@@ -487,6 +489,7 @@ var BoundedInputQueue = class {
|
|
|
487
489
|
};
|
|
488
490
|
|
|
489
491
|
// src/wrapper/approver.ts
|
|
492
|
+
var PAUSE_BETWEEN_POLLS_MS = 500;
|
|
490
493
|
var DEFAULT_MAX_CONCURRENT = 16;
|
|
491
494
|
var NO_APPROVAL_IN_TIME = "No approval received in time";
|
|
492
495
|
var NO_LOCAL_APPROVAL_UI = "This remote session has no local approval UI. Continue in an interactive session or choose a mode that permits remote approval.";
|
|
@@ -518,10 +521,12 @@ var createRemoteApprover = (deps) => {
|
|
|
518
521
|
const applyTimeout = (policy, input, paused) => timeoutActionWithoutLocalPrompt(policy) === "approve" ? allow(input) : deny(paused ? SESSION_PAUSED_REASON : NO_APPROVAL_IN_TIME);
|
|
519
522
|
const waitForPhone = async (entry, correlationId, windowMs) => {
|
|
520
523
|
const deadline = now() + windowMs;
|
|
524
|
+
let failures = 0;
|
|
525
|
+
let waitedThroughAnOutage = false;
|
|
521
526
|
while (now() < deadline && !entry.controller.signal.aborted) {
|
|
522
527
|
const hold = nextLongPollMs(deadline, now());
|
|
523
528
|
if (hold === null) {
|
|
524
|
-
await sleep(Math.min(
|
|
529
|
+
await sleep(Math.min(PAUSE_BETWEEN_POLLS_MS, Math.max(0, deadline - now())));
|
|
525
530
|
continue;
|
|
526
531
|
}
|
|
527
532
|
const abortPromise = new Promise((resolve) => {
|
|
@@ -535,14 +540,20 @@ var createRemoteApprover = (deps) => {
|
|
|
535
540
|
waitForAnswer2(deps.apiKey, correlationId, hold, AbortSignal.any([entry.controller.signal, AbortSignal.timeout(Math.max(1, deadline - now()))])),
|
|
536
541
|
abortPromise
|
|
537
542
|
]);
|
|
538
|
-
} catch {
|
|
539
|
-
return { answered: false, status: "unavailable" };
|
|
543
|
+
} catch (error) {
|
|
544
|
+
if (!isTransientWaitFailure(error)) return { answered: false, status: "unavailable" };
|
|
545
|
+
failures += 1;
|
|
546
|
+
waitedThroughAnOutage = true;
|
|
547
|
+
await Promise.race([sleep(Math.min(waitRetryPauseMs(failures, PAUSE_BETWEEN_POLLS_MS), Math.max(0, deadline - now()))), abortPromise]);
|
|
548
|
+
if (entry.controller.signal.aborted) return { answered: false, status: "cancelled" };
|
|
549
|
+
continue;
|
|
540
550
|
}
|
|
551
|
+
failures = 0;
|
|
541
552
|
if ("aborted" in outcome) return { answered: false, status: "cancelled" };
|
|
542
553
|
if (isDecisionStopped(outcome) || outcome.answered) return outcome;
|
|
543
|
-
await sleep(Math.min(
|
|
554
|
+
await sleep(Math.min(PAUSE_BETWEEN_POLLS_MS, Math.max(0, deadline - now())));
|
|
544
555
|
}
|
|
545
|
-
return { answered: false };
|
|
556
|
+
return waitedThroughAnOutage ? { answered: false, status: "unavailable" } : { answered: false };
|
|
546
557
|
};
|
|
547
558
|
const canUseTool = async (toolName, input, options) => {
|
|
548
559
|
if (toolName.startsWith("mcp__pushary__")) return allow(input);
|
|
@@ -15,30 +15,30 @@ import {
|
|
|
15
15
|
storedMacAppState,
|
|
16
16
|
storedPusharyKeychainServices,
|
|
17
17
|
waitForMacAppExit
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-FYB6HBHQ.js";
|
|
19
19
|
import {
|
|
20
20
|
PUSHARY_SKILL_NAME,
|
|
21
21
|
PUSHARY_SKILL_SOURCE,
|
|
22
22
|
createGuards
|
|
23
23
|
} from "../chunk-XR27HPYC.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-44Z6MQZ2.js";
|
|
25
25
|
import "../chunk-XCEN33UP.js";
|
|
26
26
|
import {
|
|
27
27
|
describeCliKeyRevocation,
|
|
28
28
|
planCliKeyRevocations,
|
|
29
29
|
readCliHeldKeys,
|
|
30
30
|
revokeCliKeys
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-3WZMIDGX.js";
|
|
32
32
|
import {
|
|
33
33
|
isCursorPluginLeftover,
|
|
34
34
|
releaseSoleGate,
|
|
35
35
|
withoutPusharyCursorHooks
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-DOXH5BV4.js";
|
|
37
37
|
import {
|
|
38
38
|
shortenHome,
|
|
39
39
|
unregisterPluginLocation,
|
|
40
40
|
vscodeSettingsTargets
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-G7G2ZPT4.js";
|
|
42
42
|
import {
|
|
43
43
|
configFileHoldsMacAppKey,
|
|
44
44
|
macAppKeepsMcpEntry,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
pusharyKey,
|
|
47
47
|
readMacAppAgentKey,
|
|
48
48
|
setupReceiptKey
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-K7MVCPH5.js";
|
|
50
50
|
import "../chunk-TKFNIDZK.js";
|
|
51
51
|
import {
|
|
52
52
|
HERMES_CONFIG_FILE,
|
|
@@ -59,9 +59,9 @@ import {
|
|
|
59
59
|
planClineRemoval,
|
|
60
60
|
planFxRemoval,
|
|
61
61
|
removeClineServer
|
|
62
|
-
} from "../chunk-
|
|
62
|
+
} from "../chunk-ZDOTNMGL.js";
|
|
63
63
|
import "../chunk-XWYCFODT.js";
|
|
64
|
-
import "../chunk-
|
|
64
|
+
import "../chunk-EGUT2MWV.js";
|
|
65
65
|
import {
|
|
66
66
|
OPENCODE_ASKED_PERMISSIONS,
|
|
67
67
|
OPENCODE_PLUGIN_SIBLING,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
openCodePluginDir,
|
|
76
76
|
openCodePluginFile,
|
|
77
77
|
removeOpenCodeMcpServer
|
|
78
|
-
} from "../chunk-
|
|
78
|
+
} from "../chunk-SYZF5SDG.js";
|
|
79
79
|
import {
|
|
80
80
|
ansiPainter,
|
|
81
81
|
useColor
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
removeCompatibleHooks,
|
|
96
96
|
removeCompatibleMcpServer,
|
|
97
97
|
serializeConfigDocument
|
|
98
|
-
} from "../chunk-
|
|
98
|
+
} from "../chunk-5RSM5DRT.js";
|
|
99
99
|
import {
|
|
100
100
|
disableDaemonService
|
|
101
101
|
} from "../chunk-ZF4CPOO7.js";
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
restoreHookTakeover,
|
|
107
107
|
restoreMcpServer
|
|
108
108
|
} from "../chunk-3VOUWGFF.js";
|
|
109
|
-
import "../chunk-
|
|
109
|
+
import "../chunk-QGJK3NAR.js";
|
|
110
110
|
import "../chunk-7QWH257P.js";
|
|
111
111
|
import "../chunk-53KLGXFL.js";
|
|
112
112
|
import "../chunk-MH5BRZOQ.js";
|
|
@@ -114,9 +114,9 @@ import {
|
|
|
114
114
|
parseFlags
|
|
115
115
|
} from "../chunk-YPY4YCIZ.js";
|
|
116
116
|
import "../chunk-EMODTMHE.js";
|
|
117
|
-
import "../chunk-
|
|
117
|
+
import "../chunk-CNURORKI.js";
|
|
118
118
|
import "../chunk-POFBE6ZY.js";
|
|
119
|
-
import "../chunk-
|
|
119
|
+
import "../chunk-V53QYJNY.js";
|
|
120
120
|
import "../chunk-DZLLKJJT.js";
|
|
121
121
|
import "../chunk-4OX4SJGA.js";
|
|
122
122
|
import "../chunk-H6CL3T2S.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
runCodexBridge
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-USNGPJXF.js";
|
|
5
5
|
import "../chunk-B4VIT5N3.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveProviderBinary
|
|
@@ -18,9 +18,9 @@ import {
|
|
|
18
18
|
transcriptsEnabled
|
|
19
19
|
} from "../chunk-7VMVMC4H.js";
|
|
20
20
|
import "../chunk-EMODTMHE.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-CNURORKI.js";
|
|
22
22
|
import "../chunk-POFBE6ZY.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-V53QYJNY.js";
|
|
24
24
|
import "../chunk-DZLLKJJT.js";
|
|
25
25
|
import "../chunk-4OX4SJGA.js";
|
|
26
26
|
import "../chunk-H6CL3T2S.js";
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
askAgentQuestions,
|
|
7
7
|
defersToNativeMode
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-MQF6MQMR.js";
|
|
9
9
|
import {
|
|
10
10
|
parseCodexHookInput,
|
|
11
11
|
pushQuestionAndWait,
|
|
12
12
|
scopeQuestionOf
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-WSKBXADV.js";
|
|
14
14
|
import {
|
|
15
15
|
reportMachineDenial
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-DU4KCXC2.js";
|
|
17
17
|
import {
|
|
18
18
|
isGatingMoment,
|
|
19
19
|
recordKeylessMoment
|
|
@@ -23,16 +23,16 @@ import {
|
|
|
23
23
|
} from "../chunk-MOYEHNFP.js";
|
|
24
24
|
import {
|
|
25
25
|
readHookInput
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-NZHRH4RR.js";
|
|
27
27
|
import "../chunk-6JLANX5L.js";
|
|
28
28
|
import {
|
|
29
29
|
announceSubscriptionRequired,
|
|
30
30
|
isDeferAnswer
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-42DRRA6N.js";
|
|
32
32
|
import "../chunk-LTPKSJWY.js";
|
|
33
33
|
import "../chunk-VAE5JBR5.js";
|
|
34
34
|
import "../chunk-G66WIAST.js";
|
|
35
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-5RSM5DRT.js";
|
|
36
36
|
import "../chunk-ZF4CPOO7.js";
|
|
37
37
|
import "../chunk-3VOUWGFF.js";
|
|
38
38
|
import {
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
toPolicyLookup,
|
|
66
66
|
toPolicyLookups,
|
|
67
67
|
userScope
|
|
68
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-QGJK3NAR.js";
|
|
69
69
|
import {
|
|
70
70
|
codexReviewerDenialsSince,
|
|
71
71
|
deriveActionBody,
|
|
@@ -98,11 +98,11 @@ import {
|
|
|
98
98
|
pollForAnswer,
|
|
99
99
|
requestGate,
|
|
100
100
|
sendNotification
|
|
101
|
-
} from "../chunk-
|
|
101
|
+
} from "../chunk-CNURORKI.js";
|
|
102
102
|
import "../chunk-POFBE6ZY.js";
|
|
103
103
|
import {
|
|
104
104
|
SubscriptionRequiredError
|
|
105
|
-
} from "../chunk-
|
|
105
|
+
} from "../chunk-V53QYJNY.js";
|
|
106
106
|
import "../chunk-DZLLKJJT.js";
|
|
107
107
|
import "../chunk-4OX4SJGA.js";
|
|
108
108
|
import "../chunk-H6CL3T2S.js";
|
|
@@ -823,7 +823,7 @@ var decidePreToolUse = async (input) => {
|
|
|
823
823
|
};
|
|
824
824
|
var repairCodexHoldsQuietly = async () => {
|
|
825
825
|
try {
|
|
826
|
-
const { repairCodexHolds } = await import("../reapply-
|
|
826
|
+
const { repairCodexHolds } = await import("../reapply-W6AIK5PH.js");
|
|
827
827
|
repairCodexHolds();
|
|
828
828
|
} catch {
|
|
829
829
|
return;
|
|
@@ -19,7 +19,7 @@ var desktopAccount = async () => {
|
|
|
19
19
|
return null;
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
|
-
var desktopLaunch = await import("../codex-desktop-launch-
|
|
22
|
+
var desktopLaunch = await import("../codex-desktop-launch-6UN5CWCX.js").catch(() => null);
|
|
23
23
|
if (desktopLaunch === null && appBehindTheProxy !== void 0) {
|
|
24
24
|
process.exitCode = await letCodexRunWithoutPushary(appBehindTheProxy, args.slice(3));
|
|
25
25
|
} else {
|
|
@@ -27,7 +27,7 @@ if (desktopLaunch === null && appBehindTheProxy !== void 0) {
|
|
|
27
27
|
const stop = () => abort.abort();
|
|
28
28
|
if (!args[0]?.startsWith("--desktop")) for (const signal of ["SIGINT", "SIGTERM", "SIGHUP"]) process.on(signal, stop);
|
|
29
29
|
try {
|
|
30
|
-
const { codexDesktopCommand } = desktopLaunch ?? await import("../codex-desktop-launch-
|
|
30
|
+
const { codexDesktopCommand } = desktopLaunch ?? await import("../codex-desktop-launch-6UN5CWCX.js");
|
|
31
31
|
const desktop = await codexDesktopCommand(args, [process.execPath, ...process.execArgv, process.argv[1], "codex"], desktopAccount);
|
|
32
32
|
if (desktop !== null) process.exitCode = desktop;
|
|
33
33
|
else {
|
|
@@ -35,7 +35,7 @@ if (desktopLaunch === null && appBehindTheProxy !== void 0) {
|
|
|
35
35
|
import("../config-2CHOLFNB.js"),
|
|
36
36
|
import("../identity-7QA3EDOM.js"),
|
|
37
37
|
import("../live-capabilities-SDMX6CPZ.js"),
|
|
38
|
-
import("../codex-session-launch-
|
|
38
|
+
import("../codex-session-launch-7R3HNIDJ.js")
|
|
39
39
|
]);
|
|
40
40
|
const binary = resolveProviderBinary("codex");
|
|
41
41
|
if (!binary) throw new Error("Install Codex first, then run pushary codex");
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
reportEvent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-QGJK3NAR.js";
|
|
5
5
|
import "../chunk-7QWH257P.js";
|
|
6
6
|
import "../chunk-EMODTMHE.js";
|
|
7
7
|
import {
|
|
8
8
|
askUser,
|
|
9
9
|
isDecisionStopped,
|
|
10
10
|
waitForAnswer
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-CNURORKI.js";
|
|
12
12
|
import "../chunk-POFBE6ZY.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-V53QYJNY.js";
|
|
14
14
|
import "../chunk-DZLLKJJT.js";
|
|
15
15
|
import "../chunk-4OX4SJGA.js";
|
|
16
16
|
import "../chunk-ZVJIJPQY.js";
|
|
@@ -6,27 +6,27 @@ import {
|
|
|
6
6
|
connectDevice,
|
|
7
7
|
connectExistingApp,
|
|
8
8
|
printConnectInstructions
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-LWQLM3AO.js";
|
|
10
10
|
import "../chunk-3EGEA4KH.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-V7CS72Q5.js";
|
|
12
12
|
import "../chunk-ZKKZEVNI.js";
|
|
13
13
|
import {
|
|
14
14
|
CONNECTED_THROUGH_MAC_APP,
|
|
15
15
|
PAIR_FROM_MAC_APP,
|
|
16
16
|
readMacAppConnection
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-K7MVCPH5.js";
|
|
18
18
|
import "../chunk-TKFNIDZK.js";
|
|
19
19
|
import "../chunk-QCGNGEGE.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-SYZF5SDG.js";
|
|
21
21
|
import {
|
|
22
22
|
createIo
|
|
23
23
|
} from "../chunk-FO3MDD26.js";
|
|
24
24
|
import {
|
|
25
25
|
exitOnHelpFlag
|
|
26
26
|
} from "../chunk-QESEICW4.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-5RSM5DRT.js";
|
|
28
28
|
import "../chunk-3VOUWGFF.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-QGJK3NAR.js";
|
|
30
30
|
import "../chunk-7QWH257P.js";
|
|
31
31
|
import "../chunk-53KLGXFL.js";
|
|
32
32
|
import "../chunk-MH5BRZOQ.js";
|
|
@@ -34,9 +34,9 @@ import {
|
|
|
34
34
|
parseFlags
|
|
35
35
|
} from "../chunk-YPY4YCIZ.js";
|
|
36
36
|
import "../chunk-EMODTMHE.js";
|
|
37
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-CNURORKI.js";
|
|
38
38
|
import "../chunk-POFBE6ZY.js";
|
|
39
|
-
import "../chunk-
|
|
39
|
+
import "../chunk-V53QYJNY.js";
|
|
40
40
|
import {
|
|
41
41
|
checkApiKey
|
|
42
42
|
} from "../chunk-DZLLKJJT.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
inspectConfiguredManagedProviders
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-G3G7DWR3.js";
|
|
5
5
|
import {
|
|
6
6
|
readHookWiring,
|
|
7
7
|
readHookWiringSafely
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-UJETZZG5.js";
|
|
9
9
|
import "../chunk-FS47XZCE.js";
|
|
10
10
|
import "../chunk-NOTW7GOC.js";
|
|
11
11
|
import {
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
writeHuman
|
|
30
30
|
} from "../chunk-QCGNGEGE.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-ZDOTNMGL.js";
|
|
32
32
|
import "../chunk-XWYCFODT.js";
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-EGUT2MWV.js";
|
|
34
|
+
import "../chunk-SYZF5SDG.js";
|
|
35
35
|
import {
|
|
36
36
|
exitOnHelpFlag
|
|
37
37
|
} from "../chunk-QESEICW4.js";
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
} from "../chunk-LTPKSJWY.js";
|
|
64
64
|
import "../chunk-VAE5JBR5.js";
|
|
65
65
|
import "../chunk-G66WIAST.js";
|
|
66
|
-
import "../chunk-
|
|
66
|
+
import "../chunk-5RSM5DRT.js";
|
|
67
67
|
import {
|
|
68
68
|
DAEMON_LEASE_RENEW_INTERVAL_MS,
|
|
69
69
|
DAEMON_YIELD_CHECK_INTERVAL_MS,
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
markPendingCommandRefused,
|
|
90
90
|
pendingCommandReceipts,
|
|
91
91
|
removePendingCommand
|
|
92
|
-
} from "../chunk-
|
|
92
|
+
} from "../chunk-QGJK3NAR.js";
|
|
93
93
|
import "../chunk-7QWH257P.js";
|
|
94
94
|
import "../chunk-53KLGXFL.js";
|
|
95
95
|
import "../chunk-MH5BRZOQ.js";
|
|
@@ -98,9 +98,9 @@ import "../chunk-22CXL7YI.js";
|
|
|
98
98
|
import "../chunk-XMSDA5WA.js";
|
|
99
99
|
import "../chunk-7VMVMC4H.js";
|
|
100
100
|
import "../chunk-EMODTMHE.js";
|
|
101
|
-
import "../chunk-
|
|
101
|
+
import "../chunk-CNURORKI.js";
|
|
102
102
|
import "../chunk-POFBE6ZY.js";
|
|
103
|
-
import "../chunk-
|
|
103
|
+
import "../chunk-V53QYJNY.js";
|
|
104
104
|
import "../chunk-DZLLKJJT.js";
|
|
105
105
|
import "../chunk-4OX4SJGA.js";
|
|
106
106
|
import {
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
isCursorPluginLeftover,
|
|
8
8
|
isPusharyCursorPluginManifest,
|
|
9
9
|
releaseSoleGate
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-DOXH5BV4.js";
|
|
11
11
|
import {
|
|
12
12
|
planFxRemoval,
|
|
13
13
|
removeClineServer
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-ZDOTNMGL.js";
|
|
15
15
|
import "../chunk-XWYCFODT.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-EGUT2MWV.js";
|
|
17
17
|
import {
|
|
18
18
|
OPENCODE_PLUGIN_SIBLING,
|
|
19
19
|
OPENCODE_PLUGIN_SIBLING_CONTENTS,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
openCodePluginDir,
|
|
26
26
|
openCodePluginFile,
|
|
27
27
|
removeOpenCodeMcpServer
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-SYZF5SDG.js";
|
|
29
29
|
import {
|
|
30
30
|
exitOnHelpFlag
|
|
31
31
|
} from "../chunk-QESEICW4.js";
|
|
@@ -38,11 +38,11 @@ import {
|
|
|
38
38
|
isEmptiedPusharyOwnedDocument,
|
|
39
39
|
removeCompatibleHooks,
|
|
40
40
|
removeCompatibleMcpServer
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-5RSM5DRT.js";
|
|
42
42
|
import {
|
|
43
43
|
removeGeminiSettings
|
|
44
44
|
} from "../chunk-3VOUWGFF.js";
|
|
45
|
-
import "../chunk-
|
|
45
|
+
import "../chunk-QGJK3NAR.js";
|
|
46
46
|
import "../chunk-7QWH257P.js";
|
|
47
47
|
import "../chunk-53KLGXFL.js";
|
|
48
48
|
import "../chunk-MH5BRZOQ.js";
|
|
@@ -50,9 +50,9 @@ import {
|
|
|
50
50
|
parseFlags
|
|
51
51
|
} from "../chunk-YPY4YCIZ.js";
|
|
52
52
|
import "../chunk-EMODTMHE.js";
|
|
53
|
-
import "../chunk-
|
|
53
|
+
import "../chunk-CNURORKI.js";
|
|
54
54
|
import "../chunk-POFBE6ZY.js";
|
|
55
|
-
import "../chunk-
|
|
55
|
+
import "../chunk-V53QYJNY.js";
|
|
56
56
|
import "../chunk-DZLLKJJT.js";
|
|
57
57
|
import "../chunk-4OX4SJGA.js";
|
|
58
58
|
import "../chunk-ZVJIJPQY.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "../chunk-QLGLUUOP.js";
|
|
19
19
|
import {
|
|
20
20
|
fetchChannels
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-LWQLM3AO.js";
|
|
22
22
|
import "../chunk-3EGEA4KH.js";
|
|
23
23
|
import {
|
|
24
24
|
describeAnswerTestPrompt,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
reachVerdict,
|
|
29
29
|
roundTripEvidence,
|
|
30
30
|
verifyRoundTrip
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-V7CS72Q5.js";
|
|
32
32
|
import {
|
|
33
33
|
daemonStopsAtLogout,
|
|
34
34
|
lingerDoctorDetail,
|
|
@@ -56,12 +56,12 @@ import {
|
|
|
56
56
|
isPluginRegistered,
|
|
57
57
|
shortenHome,
|
|
58
58
|
vscodeSettingsTargets
|
|
59
|
-
} from "../chunk-
|
|
59
|
+
} from "../chunk-G7G2ZPT4.js";
|
|
60
60
|
import {
|
|
61
61
|
CONNECTED_THROUGH_MAC_APP,
|
|
62
62
|
keyWrittenByMacApp,
|
|
63
63
|
readMacAppConnectionWhenKeyless
|
|
64
|
-
} from "../chunk-
|
|
64
|
+
} from "../chunk-K7MVCPH5.js";
|
|
65
65
|
import {
|
|
66
66
|
keyScopeOf,
|
|
67
67
|
pushWindowChangeStep
|
|
@@ -88,11 +88,11 @@ import {
|
|
|
88
88
|
inspectClineInstallation,
|
|
89
89
|
inspectFxInstallation,
|
|
90
90
|
inspectFxPusharyHttpWiring
|
|
91
|
-
} from "../chunk-
|
|
91
|
+
} from "../chunk-ZDOTNMGL.js";
|
|
92
92
|
import {
|
|
93
93
|
retryAgentCommand
|
|
94
94
|
} from "../chunk-XWYCFODT.js";
|
|
95
|
-
import "../chunk-
|
|
95
|
+
import "../chunk-EGUT2MWV.js";
|
|
96
96
|
import {
|
|
97
97
|
OPENCODE_PLUGIN_PLACEHOLDER,
|
|
98
98
|
cliOwnsAnyAgentHooks,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
openCodePluginDir,
|
|
103
103
|
openCodePluginFile,
|
|
104
104
|
openCodeWired
|
|
105
|
-
} from "../chunk-
|
|
105
|
+
} from "../chunk-SYZF5SDG.js";
|
|
106
106
|
import {
|
|
107
107
|
createIo
|
|
108
108
|
} from "../chunk-FO3MDD26.js";
|
|
@@ -136,7 +136,7 @@ import {
|
|
|
136
136
|
hasCompatibleHooks,
|
|
137
137
|
hasCompatibleMcpServer,
|
|
138
138
|
missingCompatibleHookEvents
|
|
139
|
-
} from "../chunk-
|
|
139
|
+
} from "../chunk-5RSM5DRT.js";
|
|
140
140
|
import {
|
|
141
141
|
daemonHasRemoteProof,
|
|
142
142
|
daemonServiceManagerAvailable,
|
|
@@ -170,7 +170,7 @@ import {
|
|
|
170
170
|
missingGeminiHookEvents,
|
|
171
171
|
pusharyHookExecutable
|
|
172
172
|
} from "../chunk-3VOUWGFF.js";
|
|
173
|
-
import "../chunk-
|
|
173
|
+
import "../chunk-QGJK3NAR.js";
|
|
174
174
|
import "../chunk-7QWH257P.js";
|
|
175
175
|
import "../chunk-53KLGXFL.js";
|
|
176
176
|
import "../chunk-MH5BRZOQ.js";
|
|
@@ -178,12 +178,12 @@ import {
|
|
|
178
178
|
parseFlags
|
|
179
179
|
} from "../chunk-YPY4YCIZ.js";
|
|
180
180
|
import "../chunk-EMODTMHE.js";
|
|
181
|
-
import "../chunk-
|
|
181
|
+
import "../chunk-CNURORKI.js";
|
|
182
182
|
import "../chunk-POFBE6ZY.js";
|
|
183
183
|
import {
|
|
184
184
|
callMcpTool,
|
|
185
185
|
sendMcpRequest
|
|
186
|
-
} from "../chunk-
|
|
186
|
+
} from "../chunk-V53QYJNY.js";
|
|
187
187
|
import {
|
|
188
188
|
checkApiKey,
|
|
189
189
|
describeKeyCheck
|