pushary 1.9.261 → 1.9.262
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 +9 -0
- package/README.md +6 -0
- package/dist/{api-LAG3VCHN.js → api-TGVE6ZKD.js} +11 -11
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +29 -29
- package/dist/bin/pushary-bell.js +12 -12
- package/dist/bin/pushary-calls.js +15 -15
- package/dist/bin/pushary-claude.js +26 -26
- package/dist/bin/pushary-clean.js +40 -40
- package/dist/bin/pushary-codex-bridge.js +23 -23
- package/dist/bin/pushary-codex-hook.js +35 -35
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +16 -16
- package/dist/bin/pushary-connect.js +36 -36
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +47 -47
- package/dist/bin/pushary-disconnect.js +31 -31
- package/dist/bin/pushary-display-hook.js +60 -2
- package/dist/bin/pushary-doctor.js +143 -48
- package/dist/bin/pushary-elicitation-hook.js +28 -28
- package/dist/bin/pushary-gemini-bridge.js +18 -18
- package/dist/bin/pushary-gemini-hook.js +32 -32
- package/dist/bin/pushary-hook.js +36 -36
- package/dist/bin/pushary-login.js +41 -23
- package/dist/bin/pushary-logout.js +32 -32
- package/dist/bin/pushary-mcp.js +12 -12
- package/dist/bin/pushary-mode.js +16 -16
- package/dist/bin/pushary-notification-hook.js +28 -28
- package/dist/bin/pushary-opencode-bridge.js +22 -22
- package/dist/bin/pushary-opencode-hook.js +33 -33
- package/dist/bin/pushary-permission-denied-hook.js +35 -35
- package/dist/bin/pushary-permission-hook.js +36 -36
- package/dist/bin/pushary-post-hook.js +29 -29
- package/dist/bin/pushary-prompt-hook.js +28 -28
- package/dist/bin/pushary-session-end-hook.js +28 -28
- package/dist/bin/pushary-session-start-hook.js +40 -40
- package/dist/bin/pushary-sessions.js +12 -12
- package/dist/bin/pushary-setup.js +174 -82
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +37 -37
- package/dist/bin/pushary-stop-hook.js +28 -28
- package/dist/bin/pushary-stopfailure-hook.js +28 -28
- package/dist/bin/pushary-suggestions.js +16 -16
- package/dist/bin/pushary-transcript-register.js +17 -17
- package/dist/bin/pushary-transcripts.js +26 -26
- package/dist/bin/pushary-upgrade.js +48 -48
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-NKSOSZZU.js → chunk-23ELMB2F.js} +2 -2
- package/dist/{chunk-YHA5L6D3.js → chunk-2DYJTOOU.js} +3 -3
- package/dist/{chunk-QQ4U4NST.js → chunk-2Q3ZTT57.js} +7 -7
- package/dist/{chunk-NLG5BY2M.js → chunk-43DXK6WE.js} +1 -1
- package/dist/{chunk-T6ZGTBHT.js → chunk-5K5MT22J.js} +4 -4
- package/dist/{chunk-53LLER7E.js → chunk-5SVZXCAJ.js} +1 -1
- package/dist/{chunk-TUBI75B7.js → chunk-67UJTXRZ.js} +1 -1
- package/dist/{chunk-L6IKTYMZ.js → chunk-73ROMTIN.js} +6 -6
- package/dist/{chunk-3DW5OCS2.js → chunk-APTFA4KF.js} +1 -1
- package/dist/{chunk-ZGPUVZZ6.js → chunk-AURPPDRZ.js} +2 -2
- package/dist/{chunk-NTTHRLDQ.js → chunk-BTSJ2W7I.js} +1 -1
- package/dist/{chunk-GIK5P25V.js → chunk-BZ2V2ES3.js} +5 -5
- package/dist/{chunk-3PAM7BQJ.js → chunk-C4D6R27P.js} +5 -5
- package/dist/{chunk-YBVDF4NV.js → chunk-CAOMKUSR.js} +4 -4
- package/dist/{chunk-TW6BQOPH.js → chunk-CC6BYFNM.js} +6 -6
- package/dist/{chunk-VVDJCJ3P.js → chunk-CTTIW2A3.js} +2 -2
- package/dist/{chunk-KUVXFNHY.js → chunk-CXGRUUUM.js} +10 -10
- package/dist/{chunk-BBE7UITT.js → chunk-D2666AVW.js} +6 -6
- package/dist/{chunk-H6FDFP6W.js → chunk-DIHUVYT2.js} +81 -29
- package/dist/{chunk-ZVIF4O6V.js → chunk-DOMSM62I.js} +2 -2
- package/dist/{chunk-SFZWZHZB.js → chunk-DS3C4SRR.js} +2 -2
- package/dist/{chunk-ZSJDCRBA.js → chunk-DU2YTOTA.js} +1 -1
- package/dist/{chunk-X7BHVGGH.js → chunk-DU5MLJQL.js} +1 -1
- package/dist/{chunk-WUZM74HI.js → chunk-EHH4PQG7.js} +4 -4
- package/dist/{chunk-6LJVKWV7.js → chunk-EPT6MZBG.js} +5 -5
- package/dist/{chunk-I2DSQVSB.js → chunk-EVJ5DPRU.js} +1 -1
- package/dist/{chunk-GAKYGHUR.js → chunk-F6LNIS2Y.js} +1 -1
- package/dist/{chunk-HAOO2MNV.js → chunk-FKYZEIH7.js} +10 -10
- package/dist/{chunk-6RD6RNJY.js → chunk-FNDKQEJP.js} +4 -4
- package/dist/{chunk-IXXH6ZDQ.js → chunk-FURJQUDT.js} +2 -2
- package/dist/{chunk-LIZZSMUD.js → chunk-H4DPB3LK.js} +8 -8
- package/dist/{chunk-EYQZC5IV.js → chunk-H4XEEC4I.js} +2 -2
- package/dist/{chunk-RSV25NAF.js → chunk-HB3S3KDX.js} +1 -1
- package/dist/{chunk-WCSSU6QW.js → chunk-HMN4XEJE.js} +4 -4
- package/dist/{chunk-LH7NQSUC.js → chunk-HSVVH7K2.js} +1 -1
- package/dist/{chunk-N2IP7IDG.js → chunk-HVY3YUJU.js} +1 -1
- package/dist/{chunk-DN7PXEXE.js → chunk-HZ76NLD2.js} +6 -6
- package/dist/{chunk-FUXTIM33.js → chunk-I4D4XEIJ.js} +5 -5
- package/dist/{chunk-4SKEGBFV.js → chunk-IHH3HGQQ.js} +3 -3
- package/dist/{chunk-YHHQICQD.js → chunk-IK4MIPI2.js} +3 -3
- package/dist/{chunk-SSW4SERP.js → chunk-IMSFJFN6.js} +1 -1
- package/dist/{chunk-LRF4XS6M.js → chunk-IS5WMKN2.js} +3 -3
- package/dist/{chunk-ZNDLGXKO.js → chunk-J7V5ZFZC.js} +6 -6
- package/dist/{chunk-TDYAVCJ3.js → chunk-JG4JGAI2.js} +4 -4
- package/dist/{chunk-GQHIUZRG.js → chunk-JOQAW5BM.js} +12 -12
- package/dist/{chunk-5G55TWT5.js → chunk-JUCN4TV4.js} +5 -5
- package/dist/{chunk-GC75Q5P2.js → chunk-JVZCCUN4.js} +5 -5
- package/dist/{chunk-BLSGQHGW.js → chunk-K5ZEJCJO.js} +3 -3
- package/dist/{chunk-PX2MOPB2.js → chunk-KEC73KH6.js} +1 -1
- package/dist/{chunk-JC2E7D2W.js → chunk-LE6VFEJU.js} +1 -1
- package/dist/{chunk-FJMZDIKP.js → chunk-LZRXFGEP.js} +49 -3
- package/dist/{chunk-GETSAD5F.js → chunk-MJW6P7A6.js} +2 -2
- package/dist/{chunk-KMADAVW6.js → chunk-NHLCREFU.js} +1 -1
- package/dist/{chunk-IC6ARAAT.js → chunk-NLW2YDL5.js} +5 -5
- package/dist/{chunk-QAS67ZJH.js → chunk-OAE54AV7.js} +1 -1
- package/dist/{chunk-65MRCZGE.js → chunk-Q54QQO5E.js} +5 -5
- package/dist/{chunk-4ARB3SYI.js → chunk-QGYVOSDC.js} +1 -1
- package/dist/{chunk-CHKSE6TO.js → chunk-QIOPWRBQ.js} +1 -1
- package/dist/{chunk-5AL5W2HQ.js → chunk-QWSXLYTX.js} +3 -3
- package/dist/{chunk-TMJRKWWK.js → chunk-R33I7ZNR.js} +5 -5
- package/dist/{chunk-WFE4RAWD.js → chunk-RA4RSVVJ.js} +1 -1
- package/dist/{chunk-TX3IJUL7.js → chunk-RX75OG6S.js} +6 -6
- package/dist/{chunk-NBEFOUMK.js → chunk-SCXUTDQM.js} +3 -3
- package/dist/{chunk-Q3JHO3EJ.js → chunk-SG4IFPJP.js} +1 -1
- package/dist/{chunk-GAO33I7L.js → chunk-SLD22IUB.js} +4 -4
- package/dist/{chunk-QWIWACGD.js → chunk-SOJPAKCB.js} +1 -1
- package/dist/{chunk-JOABO2PX.js → chunk-T4EVAVKF.js} +5 -5
- package/dist/{chunk-SO5DEUCS.js → chunk-V6MQUYE2.js} +7 -7
- package/dist/{chunk-NVYEQLD5.js → chunk-VDPUBIL2.js} +2 -2
- package/dist/{chunk-VWJ5KDMM.js → chunk-VL4AJPCE.js} +4 -4
- package/dist/{chunk-B4MK2ZX2.js → chunk-VSW5ZMPX.js} +3 -3
- package/dist/{chunk-MGGN37IW.js → chunk-VZVKJP3Q.js} +72 -1
- package/dist/{chunk-YINXG75Q.js → chunk-W7QW3XFQ.js} +4 -4
- package/dist/{chunk-5UHGILNO.js → chunk-WCOI5PQU.js} +1 -1
- package/dist/{chunk-H4O3CV5W.js → chunk-WFUVBCKK.js} +4 -4
- package/dist/{chunk-2VTIVLLK.js → chunk-WOEMRT24.js} +3 -3
- package/dist/{chunk-RXGEWDA2.js → chunk-WTFR2OK4.js} +16 -16
- package/dist/{chunk-AKGNLKZP.js → chunk-WV7OME3F.js} +2 -2
- package/dist/{chunk-QRPHWWHI.js → chunk-WYYHSHBO.js} +2 -2
- package/dist/{chunk-HJOXLNYN.js → chunk-YEIHJAE6.js} +3 -3
- package/dist/{chunk-ATHP6SIZ.js → chunk-YQTU6V4X.js} +2 -2
- package/dist/{chunk-K4PJXC32.js → chunk-ZPM6H6GM.js} +1 -1
- package/dist/{codex-app-cards-switch-325EWQUA.js → codex-app-cards-switch-CQZL4XI6.js} +12 -12
- package/dist/{codex-card-routing-NXI4P7PB.js → codex-card-routing-VV2HQAGX.js} +2 -2
- package/dist/{codex-desktop-launch-3OAHHDWE.js → codex-desktop-launch-FYXOQGBR.js} +3 -3
- package/dist/{codex-session-launch-YB4LGTG2.js → codex-session-launch-A4LDZ4GU.js} +20 -20
- package/dist/{config-4FJ7KK75.js → config-EHAN6BUF.js} +3 -3
- package/dist/{global-upgrade-E4UKP2KG.js → global-upgrade-EJZ2EX7R.js} +9 -9
- package/dist/{identity-VQNJSXZO.js → identity-L7SFKUOG.js} +4 -4
- package/dist/{live-capabilities-YJW4CU7J.js → live-capabilities-QAVKVTKD.js} +4 -4
- package/dist/{paths-FOJGTYX4.js → paths-BD7XIUNJ.js} +3 -3
- package/dist/reapply-QFSUMRID.js +76 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +34 -34
- package/dist/{upgrade-lock-MGX4PJQZ.js → upgrade-lock-Y35PJNJT.js} +4 -4
- package/dist/{usage-24DU5SWS.js → usage-E5Z3XUTZ.js} +3 -3
- package/package.json +1 -1
- package/dist/reapply-Q2MIQ4A7.js +0 -76
|
@@ -8,21 +8,21 @@ import {
|
|
|
8
8
|
SubscriptionRequiredError,
|
|
9
9
|
callMcpTool,
|
|
10
10
|
isRetryable
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-C4D6R27P.js";
|
|
12
12
|
import {
|
|
13
13
|
fetchAsCredential
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LE6VFEJU.js";
|
|
15
15
|
import {
|
|
16
16
|
installNetworkDefaults,
|
|
17
17
|
isNetworkFailure
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IK4MIPI2.js";
|
|
19
19
|
import {
|
|
20
20
|
clientReportClaims
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AURPPDRZ.js";
|
|
22
22
|
import {
|
|
23
23
|
getApiKey,
|
|
24
24
|
getBaseUrl
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-WV7OME3F.js";
|
|
26
26
|
import {
|
|
27
27
|
ASK_AGENT_NAME_MAX,
|
|
28
28
|
CLIENT_REPORT_PATH,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
isRecord,
|
|
41
41
|
truncateLine,
|
|
42
42
|
waitEndAnswered
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-VZVKJP3Q.js";
|
|
44
44
|
|
|
45
45
|
// src/api.ts
|
|
46
46
|
import { randomUUID } from "crypto";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SETUP_FLAGS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NHLCREFU.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-
|
|
12
|
+
} from "./chunk-APTFA4KF.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-
|
|
20
|
+
} from "./chunk-VZVKJP3Q.js";
|
|
21
21
|
|
|
22
22
|
// src/cli/cowork.ts
|
|
23
23
|
import { readFileSync } from "fs";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-CXQWDQCJ.js";
|
|
20
20
|
import {
|
|
21
21
|
redactSecretsFromContent
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-VZVKJP3Q.js";
|
|
23
23
|
|
|
24
24
|
// src/shell-quote.ts
|
|
25
25
|
var shellDoubleQuoted = (text) => `"${text.replace(/(["\\$`])/g, "\\$1")}"`;
|
|
@@ -610,9 +610,9 @@ var installGlobally = (options) => {
|
|
|
610
610
|
}
|
|
611
611
|
const started = (async () => {
|
|
612
612
|
if (!npmIsOnPath()) throw new NpmMissingError();
|
|
613
|
-
const { withUpgradeLock } = await import("./global-upgrade-
|
|
614
|
-
const { canonicalLockPath, installWithUpgradeLock, leftAnUnfinishedInstallHere, ownsUpgradeLock } = await import("./upgrade-lock-
|
|
615
|
-
const { autoUpdateLock } = await import("./paths-
|
|
613
|
+
const { withUpgradeLock } = await import("./global-upgrade-EJZ2EX7R.js");
|
|
614
|
+
const { canonicalLockPath, installWithUpgradeLock, leftAnUnfinishedInstallHere, ownsUpgradeLock } = await import("./upgrade-lock-Y35PJNJT.js");
|
|
615
|
+
const { autoUpdateLock } = await import("./paths-BD7XIUNJ.js");
|
|
616
616
|
const lockPath = options.lockPath ?? autoUpdateLock();
|
|
617
617
|
const lockFile = canonicalLockPath(lockPath);
|
|
618
618
|
const unfinishedHere = failuresThisProcessLeftUnfinished.get(lockFile);
|
|
@@ -18,18 +18,18 @@ import {
|
|
|
18
18
|
settingSnapshot,
|
|
19
19
|
writeHermesSetting,
|
|
20
20
|
writeSetupReceipt
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CAOMKUSR.js";
|
|
22
22
|
import {
|
|
23
23
|
OPENCLAW_MIN_VERSION,
|
|
24
24
|
OPENCLAW_PLUGIN_ID,
|
|
25
25
|
OPENCLAW_PLUGIN_PACKAGE
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-IS5WMKN2.js";
|
|
27
27
|
import {
|
|
28
28
|
retryAgentCommand
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-IHH3HGQQ.js";
|
|
30
30
|
import {
|
|
31
31
|
configFilePath
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-WV7OME3F.js";
|
|
33
33
|
import {
|
|
34
34
|
readJsonSafe,
|
|
35
35
|
writeJsonAtomic
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
readSetupOutcomeProperties,
|
|
39
39
|
redactSecretsFromContent
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-VZVKJP3Q.js";
|
|
41
41
|
|
|
42
42
|
// src/hermes/shell-gate.ts
|
|
43
43
|
var readHermesShellGate = async (launcher) => {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
openCodePluginArgv,
|
|
4
4
|
openCodePluginModule,
|
|
5
5
|
renderOpenCodePlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IMSFJFN6.js";
|
|
7
7
|
import {
|
|
8
8
|
OPENCODE_FAILED_EVENT,
|
|
9
9
|
OPENCODE_IDLE_EVENT,
|
|
@@ -12,17 +12,17 @@ import {
|
|
|
12
12
|
OPENCODE_PLUGIN_SIBLING,
|
|
13
13
|
OPENCODE_PLUGIN_SIBLING_CONTENTS,
|
|
14
14
|
OPENCODE_SUBAGENT_IDLE_EVENT
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QIOPWRBQ.js";
|
|
16
16
|
import {
|
|
17
17
|
compatibleConfigFile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HZ76NLD2.js";
|
|
19
19
|
import {
|
|
20
20
|
hookOwnerOf,
|
|
21
21
|
hookOwnerOfCommands
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5K5MT22J.js";
|
|
23
23
|
import {
|
|
24
24
|
AGENT_CHOICES
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-NHLCREFU.js";
|
|
26
26
|
import {
|
|
27
27
|
OPENCODE_INSTRUCTIONS_LABEL,
|
|
28
28
|
bridgeStub,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
resolveBridgeStub,
|
|
37
37
|
vscodePluginDir,
|
|
38
38
|
windowsNodeLauncherFor
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-AURPPDRZ.js";
|
|
40
40
|
import {
|
|
41
41
|
readJsonSafe
|
|
42
42
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
OPENCODE_APPROVAL_EVENT,
|
|
47
47
|
hookCompatibleProfile,
|
|
48
48
|
isRecord
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-VZVKJP3Q.js";
|
|
50
50
|
|
|
51
51
|
// src/opencode-config.ts
|
|
52
52
|
import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "fs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AURPPDRZ.js";
|
|
4
4
|
import {
|
|
5
5
|
readJsonSafe
|
|
6
6
|
} from "./chunk-PM2NRK6Y.js";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VZVKJP3Q.js";
|
|
10
10
|
|
|
11
11
|
// src/process-ownership.ts
|
|
12
12
|
import { createHash, randomUUID } from "crypto";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
macAppBridgeAvailable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-V6MQUYE2.js";
|
|
4
4
|
import {
|
|
5
5
|
keyPrefix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-K5ZEJCJO.js";
|
|
7
7
|
import {
|
|
8
8
|
bridgeAgentKey
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AURPPDRZ.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-VZVKJP3Q.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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
realpath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZPM6H6GM.js";
|
|
4
4
|
import {
|
|
5
5
|
findNativeClaudeInstall
|
|
6
6
|
} from "./chunk-TCE3J44Z.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolvePackageVersionFromBinary,
|
|
13
13
|
resolvePathBinary,
|
|
14
14
|
resolvePathBinaryAsync
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SLD22IUB.js";
|
|
16
16
|
import {
|
|
17
17
|
AGENTS,
|
|
18
18
|
CLAUDE_BRIDGE_CAPABILITY,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
OPENCODE_BRIDGE_CAPABILITY,
|
|
26
26
|
SPAWN_CAPABILITY,
|
|
27
27
|
sessionProvidersAdvertisedBy
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VZVKJP3Q.js";
|
|
29
29
|
|
|
30
30
|
// src/live-capabilities.ts
|
|
31
31
|
import { execFileSync } from "child_process";
|
|
@@ -4704,6 +4704,8 @@ var toolFailureCodeOfResult = (result) => {
|
|
|
4704
4704
|
const code = toolFailureMetaOf(result);
|
|
4705
4705
|
return isToolFailureCode(code) ? code : null;
|
|
4706
4706
|
};
|
|
4707
|
+
var CLIENT_ERROR_MESSAGE_MAX_LENGTH = 300;
|
|
4708
|
+
var REDACTION_INPUT_MAX_LENGTH = 4 * CLIENT_ERROR_MESSAGE_MAX_LENGTH;
|
|
4707
4709
|
|
|
4708
4710
|
// ../contracts/src/setup-wire.ts
|
|
4709
4711
|
var PAIR_TTL_SECONDS = 900;
|
|
@@ -4829,6 +4831,44 @@ var SETUP_CONNECT_MODES = ["app", "browser", "web", "none"];
|
|
|
4829
4831
|
var isSetupConnectMode = (value) => typeof value === "string" && SETUP_CONNECT_MODES.includes(value);
|
|
4830
4832
|
var SETUP_KEY_CHECKS = ["ok", "malformed", "rejected", "locked", "unreachable", "skipped", "unknown"];
|
|
4831
4833
|
var isSetupKeyCheck = (value) => typeof value === "string" && SETUP_KEY_CHECKS.includes(value);
|
|
4834
|
+
var SETUP_CRASH_ERROR_CLASSES = [
|
|
4835
|
+
"Error",
|
|
4836
|
+
"TypeError",
|
|
4837
|
+
"RangeError",
|
|
4838
|
+
"ReferenceError",
|
|
4839
|
+
"SyntaxError",
|
|
4840
|
+
"AbortError",
|
|
4841
|
+
"TimeoutError"
|
|
4842
|
+
];
|
|
4843
|
+
var SETUP_CRASH_ERRNO_CODES = [
|
|
4844
|
+
"ENOENT",
|
|
4845
|
+
"EACCES",
|
|
4846
|
+
"EPERM",
|
|
4847
|
+
"ENOSPC",
|
|
4848
|
+
"EEXIST",
|
|
4849
|
+
"EISDIR",
|
|
4850
|
+
"ENOTDIR",
|
|
4851
|
+
"EBUSY",
|
|
4852
|
+
"EMFILE",
|
|
4853
|
+
"EROFS",
|
|
4854
|
+
"EPIPE",
|
|
4855
|
+
"ECONNREFUSED",
|
|
4856
|
+
"ECONNRESET",
|
|
4857
|
+
"ENOTFOUND",
|
|
4858
|
+
"ETIMEDOUT",
|
|
4859
|
+
"EAI_AGAIN"
|
|
4860
|
+
];
|
|
4861
|
+
var OTHER_SETUP_CRASH_KIND = "other";
|
|
4862
|
+
var SETUP_CRASH_KINDS = [...SETUP_CRASH_ERRNO_CODES, ...SETUP_CRASH_ERROR_CLASSES, OTHER_SETUP_CRASH_KIND];
|
|
4863
|
+
var isSetupCrashKind = (value) => typeof value === "string" && SETUP_CRASH_KINDS.includes(value);
|
|
4864
|
+
var isSetupCrashErrnoCode = (value) => typeof value === "string" && SETUP_CRASH_ERRNO_CODES.includes(value);
|
|
4865
|
+
var isSetupCrashErrorClass = (value) => typeof value === "string" && SETUP_CRASH_ERROR_CLASSES.includes(value);
|
|
4866
|
+
var setupCrashKindOf = (error) => {
|
|
4867
|
+
if (!isRecord(error)) return OTHER_SETUP_CRASH_KIND;
|
|
4868
|
+
if (isSetupCrashErrnoCode(error.code)) return error.code;
|
|
4869
|
+
if (isSetupCrashErrorClass(error.name)) return error.name;
|
|
4870
|
+
return OTHER_SETUP_CRASH_KIND;
|
|
4871
|
+
};
|
|
4832
4872
|
var readOptional = (value, isValid) => isValid(value) ? value : null;
|
|
4833
4873
|
var isBoolean = (value) => typeof value === "boolean";
|
|
4834
4874
|
var readSetupOutcomeProperties = (body) => {
|
|
@@ -4851,10 +4891,37 @@ var readSetupOutcomeProperties = (body) => {
|
|
|
4851
4891
|
keyCheck: readOptional(body.keyCheck, isSetupKeyCheck),
|
|
4852
4892
|
nonInteractive: readOptional(body.nonInteractive, isBoolean),
|
|
4853
4893
|
cliVersion: readOptional(body.cliVersion, isCliVersion),
|
|
4854
|
-
os: readOptional(body.os, isComputerOs)
|
|
4894
|
+
os: readOptional(body.os, isComputerOs),
|
|
4895
|
+
crashKind: readOptional(body.crashKind, isSetupCrashKind),
|
|
4896
|
+
runId: readOptional(body.runId, isSetupRunId)
|
|
4855
4897
|
};
|
|
4856
4898
|
};
|
|
4857
4899
|
var SETUP_STOPPED_PATH = "/api/agent/setup-stopped";
|
|
4900
|
+
var SETUP_RUN_ID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/;
|
|
4901
|
+
var isSetupRunId = (value) => typeof value === "string" && SETUP_RUN_ID_PATTERN.test(value);
|
|
4902
|
+
var SETUP_STARTED_PHASE = "started";
|
|
4903
|
+
|
|
4904
|
+
// ../contracts/src/doctor-wire.ts
|
|
4905
|
+
var DOCTOR_RAN_EVENT = "agent_doctor_ran";
|
|
4906
|
+
var DOCTOR_CHECK_AREAS = [
|
|
4907
|
+
"api-key",
|
|
4908
|
+
"mcp",
|
|
4909
|
+
"phone",
|
|
4910
|
+
"package",
|
|
4911
|
+
"control",
|
|
4912
|
+
"skill",
|
|
4913
|
+
"claude_code",
|
|
4914
|
+
"codex",
|
|
4915
|
+
"gemini_cli",
|
|
4916
|
+
"cursor",
|
|
4917
|
+
"vscode",
|
|
4918
|
+
"cline",
|
|
4919
|
+
"hermes",
|
|
4920
|
+
"openclaw",
|
|
4921
|
+
"opencode",
|
|
4922
|
+
"fx",
|
|
4923
|
+
"other"
|
|
4924
|
+
];
|
|
4858
4925
|
|
|
4859
4926
|
// ../contracts/src/cli-local-confirm.ts
|
|
4860
4927
|
var CLI_LOCAL_TERMINAL_PATH = "/api/cli/auth/local";
|
|
@@ -12568,8 +12635,12 @@ export {
|
|
|
12568
12635
|
NO_PAIRING_COMPUTER,
|
|
12569
12636
|
readSetupAgentFailures,
|
|
12570
12637
|
isSetupConnectMode,
|
|
12638
|
+
setupCrashKindOf,
|
|
12571
12639
|
readSetupOutcomeProperties,
|
|
12572
12640
|
SETUP_STOPPED_PATH,
|
|
12641
|
+
SETUP_STARTED_PHASE,
|
|
12642
|
+
DOCTOR_RAN_EVENT,
|
|
12643
|
+
DOCTOR_CHECK_AREAS,
|
|
12573
12644
|
CLI_LOCAL_BIND_PATH,
|
|
12574
12645
|
LOCAL_CONFIRM_HOST,
|
|
12575
12646
|
LOCAL_CONFIRM_PATH,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseSseMessages
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C4D6R27P.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchAsCredential
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LE6VFEJU.js";
|
|
7
7
|
import {
|
|
8
8
|
malformedApiKeyMessage
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WV7OME3F.js";
|
|
10
10
|
import {
|
|
11
11
|
NPX_LATEST_COMMAND
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-APTFA4KF.js";
|
|
13
13
|
|
|
14
14
|
// src/mcp-stdio-bridge.ts
|
|
15
15
|
var MCP_BRIDGE_BINARY = "pushary-mcp";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-U4P4NDVB.js";
|
|
17
17
|
import {
|
|
18
18
|
withoutNpmInstallConsent
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SLD22IUB.js";
|
|
20
20
|
|
|
21
21
|
// src/codex-desktop-launch.ts
|
|
22
22
|
import { spawn as spawn2, execFileSync as execFileSync2 } from "child_process";
|
|
@@ -539,8 +539,8 @@ var loadedOnce = (load) => {
|
|
|
539
539
|
};
|
|
540
540
|
|
|
541
541
|
// src/codex-desktop-proxy.ts
|
|
542
|
-
var loadThePhone = () => import("./api-
|
|
543
|
-
var loadTheCardRouting = () => import("./codex-card-routing-
|
|
542
|
+
var loadThePhone = () => import("./api-TGVE6ZKD.js");
|
|
543
|
+
var loadTheCardRouting = () => import("./codex-card-routing-VV2HQAGX.js");
|
|
544
544
|
var theFirstCardLoadsAgain = () => {
|
|
545
545
|
};
|
|
546
546
|
var ASKS_WITHOUT_ROUTING = {};
|
|
@@ -1101,7 +1101,7 @@ var codexDesktopCommand = async (args, entry, readAccount) => {
|
|
|
1101
1101
|
return runCodexDesktopProxy(engine2, args.slice(3), readAccount, { watchesForCards: layoutIsKnown });
|
|
1102
1102
|
}
|
|
1103
1103
|
if (args[0] === APP_CARDS_FLAG) {
|
|
1104
|
-
const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-
|
|
1104
|
+
const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-CQZL4XI6.js");
|
|
1105
1105
|
return codexAppCardsCommandOnThisMac(args.slice(1), entry, readAccount);
|
|
1106
1106
|
}
|
|
1107
1107
|
if (args.length > 2) throw new Error("Usage: pushary codex --desktop [path/to/Codex.app]");
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-P6DUWKAO.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchAsCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LE6VFEJU.js";
|
|
8
8
|
import {
|
|
9
9
|
getBaseUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WV7OME3F.js";
|
|
11
11
|
import {
|
|
12
12
|
writeJsonAtomicDurable
|
|
13
13
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
compressTranscriptRecord,
|
|
16
16
|
redactSecretsFromContent,
|
|
17
17
|
transcriptRecordPlaintext
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VZVKJP3Q.js";
|
|
19
19
|
|
|
20
20
|
// src/transcript-recipient-pin.ts
|
|
21
21
|
import { createHash } from "crypto";
|
|
@@ -7,30 +7,30 @@ import {
|
|
|
7
7
|
restorePhoneApprovals,
|
|
8
8
|
setAsidePhoneApprovalsOfOtherCalls,
|
|
9
9
|
takePhoneApproval
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MJW6P7A6.js";
|
|
11
11
|
import {
|
|
12
12
|
claudeSettingsLocationFor,
|
|
13
13
|
readClaudePermissionRules
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-23ELMB2F.js";
|
|
15
15
|
import {
|
|
16
16
|
defersToNativeMode
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WCOI5PQU.js";
|
|
18
18
|
import {
|
|
19
19
|
reportMachineDenial
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HMN4XEJE.js";
|
|
21
21
|
import {
|
|
22
22
|
isGatingMoment,
|
|
23
23
|
recordKeylessMoment
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DU5MLJQL.js";
|
|
25
25
|
import {
|
|
26
26
|
isAdmitted,
|
|
27
27
|
readAdmissionRules
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-R33I7ZNR.js";
|
|
29
29
|
import {
|
|
30
30
|
activeHookSource,
|
|
31
31
|
activeIdentity,
|
|
32
32
|
namedSource
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-HZ76NLD2.js";
|
|
34
34
|
import {
|
|
35
35
|
DEFAULT_SESSION,
|
|
36
36
|
allow,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
storedWaitDeadline,
|
|
73
73
|
sweepFilesOlderThan,
|
|
74
74
|
userScope
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-DIHUVYT2.js";
|
|
76
76
|
import {
|
|
77
77
|
UNNAMED_ACTION,
|
|
78
78
|
deriveAction,
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
patchDeletesFiles,
|
|
84
84
|
permissionDeniedAction,
|
|
85
85
|
scopePathFor
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-HVY3YUJU.js";
|
|
87
87
|
import {
|
|
88
88
|
askUser,
|
|
89
89
|
cancelQuestion,
|
|
@@ -97,30 +97,30 @@ import {
|
|
|
97
97
|
sendNotification,
|
|
98
98
|
waitForQuestion,
|
|
99
99
|
withdrawQuestion
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-RX75OG6S.js";
|
|
101
101
|
import {
|
|
102
102
|
branchFor,
|
|
103
103
|
projectNameFor,
|
|
104
104
|
repoKeyFor,
|
|
105
105
|
repositoryScopeFor
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-EVJ5DPRU.js";
|
|
107
107
|
import {
|
|
108
108
|
getMachineId
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-HSVVH7K2.js";
|
|
110
110
|
import {
|
|
111
111
|
POSTTOOLUSE_MIRRORED_TOOLS
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-AURPPDRZ.js";
|
|
113
113
|
import {
|
|
114
114
|
getApiKey,
|
|
115
115
|
getBaseUrl,
|
|
116
116
|
isMalformedApiKeyError
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-WV7OME3F.js";
|
|
118
118
|
import {
|
|
119
119
|
writeFileAtomic
|
|
120
120
|
} from "./chunk-PM2NRK6Y.js";
|
|
121
121
|
import {
|
|
122
122
|
NPX_LATEST_COMMAND
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-APTFA4KF.js";
|
|
124
124
|
import {
|
|
125
125
|
AGENT_QUESTION_STRATEGY,
|
|
126
126
|
AGENT_QUESTION_TOOL,
|
|
@@ -189,7 +189,7 @@ import {
|
|
|
189
189
|
terminalStaysLiveForTheCall,
|
|
190
190
|
timeoutActionWithoutLocalPrompt,
|
|
191
191
|
unapprovedScopeReason
|
|
192
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-VZVKJP3Q.js";
|
|
193
193
|
|
|
194
194
|
// src/terminal-answer-watch.ts
|
|
195
195
|
import { closeSync, openSync, readSync, statSync } from "fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AURPPDRZ.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-
|
|
16
|
+
} from "./chunk-VZVKJP3Q.js";
|
|
17
17
|
|
|
18
18
|
// src/declined-agents-file.ts
|
|
19
19
|
import { join } from "path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyFetch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IK4MIPI2.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WV7OME3F.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-
|
|
16
|
+
} from "./chunk-VZVKJP3Q.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;
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
keyPrefix,
|
|
5
5
|
readConfigFileKey,
|
|
6
6
|
readMacAppKeyPrefix
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-K5ZEJCJO.js";
|
|
8
8
|
import {
|
|
9
9
|
NPX_LATEST_COMMAND
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-APTFA4KF.js";
|
|
11
11
|
|
|
12
12
|
// src/key-signed-out.ts
|
|
13
13
|
var VERDICT_BY_CHECK = {
|
|
@@ -24,26 +24,26 @@ import {
|
|
|
24
24
|
turnCodexAppCardsOff,
|
|
25
25
|
turnCodexAppCardsOn,
|
|
26
26
|
whyLaunchctlFailed
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-BZ2V2ES3.js";
|
|
28
|
+
import "./chunk-WFUVBCKK.js";
|
|
29
29
|
import "./chunk-XCEN33UP.js";
|
|
30
30
|
import "./chunk-U4P4NDVB.js";
|
|
31
31
|
import "./chunk-QCGNGEGE.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-RA4RSVVJ.js";
|
|
33
|
+
import "./chunk-J7V5ZFZC.js";
|
|
34
34
|
import "./chunk-3PSNUHC5.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-HSVVH7K2.js";
|
|
36
|
+
import "./chunk-K5ZEJCJO.js";
|
|
37
|
+
import "./chunk-CTTIW2A3.js";
|
|
38
|
+
import "./chunk-AURPPDRZ.js";
|
|
39
39
|
import "./chunk-6ICPEJY5.js";
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-SLD22IUB.js";
|
|
41
|
+
import "./chunk-WV7OME3F.js";
|
|
42
42
|
import "./chunk-PM2NRK6Y.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-APTFA4KF.js";
|
|
44
44
|
import "./chunk-BG4HHB7E.js";
|
|
45
45
|
import "./chunk-CXQWDQCJ.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-VZVKJP3Q.js";
|
|
47
47
|
import "./chunk-MLKGABMK.js";
|
|
48
48
|
export {
|
|
49
49
|
CODEX_APP_CARDS_DIRECTORY,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deriveToolTarget
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HVY3YUJU.js";
|
|
4
4
|
import {
|
|
5
5
|
TOOL_NAME_MAX_LENGTH,
|
|
6
6
|
codexElicitationToolName
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VZVKJP3Q.js";
|
|
8
8
|
import "./chunk-MLKGABMK.js";
|
|
9
9
|
|
|
10
10
|
// src/codex-card-routing.ts
|