pushary 1.9.244 → 1.9.246
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 +13 -0
- package/README.md +2 -2
- package/data/cursor-plugin/README.md +1 -1
- package/data/vscode-plugin/README.md +1 -1
- package/dist/{api-6L636FFI.js → api-HA57S6PN.js} +11 -11
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +28 -28
- 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 +39 -39
- package/dist/bin/pushary-codex-bridge.js +23 -23
- package/dist/bin/pushary-codex-hook.js +34 -34
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +16 -16
- package/dist/bin/pushary-connect.js +35 -35
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +46 -46
- package/dist/bin/pushary-disconnect.js +33 -31
- package/dist/bin/pushary-display-hook.js +73 -4
- package/dist/bin/pushary-doctor.js +47 -47
- package/dist/bin/pushary-elicitation-hook.js +27 -27
- package/dist/bin/pushary-gemini-bridge.js +18 -18
- package/dist/bin/pushary-gemini-hook.js +31 -31
- package/dist/bin/pushary-hook.js +35 -35
- package/dist/bin/pushary-login.js +23 -23
- package/dist/bin/pushary-logout.js +31 -31
- package/dist/bin/pushary-mcp.js +12 -12
- package/dist/bin/pushary-mode.js +16 -16
- package/dist/bin/pushary-notification-hook.js +27 -27
- package/dist/bin/pushary-opencode-bridge.js +22 -22
- package/dist/bin/pushary-opencode-hook.js +32 -32
- package/dist/bin/pushary-permission-denied-hook.js +34 -34
- package/dist/bin/pushary-permission-hook.js +35 -35
- package/dist/bin/pushary-post-hook.js +28 -28
- package/dist/bin/pushary-prompt-hook.js +27 -27
- package/dist/bin/pushary-session-end-hook.js +27 -27
- package/dist/bin/pushary-session-start-hook.js +39 -39
- package/dist/bin/pushary-sessions.js +12 -12
- package/dist/bin/pushary-setup.js +69 -80
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +36 -36
- package/dist/bin/pushary-stop-hook.js +27 -27
- package/dist/bin/pushary-stopfailure-hook.js +27 -27
- 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 +47 -47
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-3DW6IVG5.js → chunk-2DPOXTSE.js} +2 -2
- package/dist/{chunk-M3EGOLWI.js → chunk-2TTBUGSV.js} +2 -2
- package/dist/{chunk-NSRARU4G.js → chunk-47FNCTRG.js} +4 -4
- package/dist/{chunk-AXBIUN5S.js → chunk-4EM6W75L.js} +7 -7
- package/dist/{chunk-BNB7VOJE.js → chunk-5ANGJL2J.js} +2 -2
- package/dist/{chunk-XCR3IXKE.js → chunk-5TZKOUQR.js} +1 -1
- package/dist/{chunk-QZQHAFSP.js → chunk-5XGF64U5.js} +5 -5
- package/dist/{chunk-IR67OATS.js → chunk-75F4L2W2.js} +6 -6
- package/dist/{chunk-HHY574OJ.js → chunk-AEAH6FCM.js} +6 -6
- package/dist/{chunk-F7MIUZU5.js → chunk-AIWP5HX6.js} +2 -2
- package/dist/{chunk-XWL4ZWTC.js → chunk-BC5BDWY3.js} +1 -1
- package/dist/{chunk-R5LKQNBS.js → chunk-BJ73ZDMN.js} +4 -4
- package/dist/{chunk-2KJUGUYQ.js → chunk-CTXXTEFA.js} +6 -6
- package/dist/{chunk-6TJOEVKA.js → chunk-CTZIFG53.js} +4 -4
- package/dist/{chunk-BK7EZIAG.js → chunk-CV6NQKHB.js} +2 -2
- package/dist/{chunk-G57SFOGM.js → chunk-DJGQ3Z22.js} +1 -1
- package/dist/{chunk-RL6SYK6P.js → chunk-DNP3YB3F.js} +5 -5
- package/dist/{chunk-THBEXOTL.js → chunk-DPKVOWMU.js} +1 -1
- package/dist/{chunk-J2FYEMDA.js → chunk-DQ4BN64G.js} +7 -7
- package/dist/{chunk-DY45DRQQ.js → chunk-E6HGFGDF.js} +2 -2
- package/dist/{chunk-S2TIA67T.js → chunk-EIVPCAFX.js} +12 -12
- package/dist/{chunk-QRUVYQM5.js → chunk-EUXMTG2Z.js} +1 -1
- package/dist/{chunk-GTSVMILT.js → chunk-EWLN4HBC.js} +2 -2
- package/dist/{chunk-JAXA5POJ.js → chunk-F7S7BZXK.js} +4 -4
- package/dist/{chunk-RAK5AKBH.js → chunk-FNUBR5NL.js} +1 -1
- package/dist/{chunk-3C3U43UY.js → chunk-FV5TLWQS.js} +1 -1
- package/dist/{chunk-G2QR2OOD.js → chunk-GWWVEBLW.js} +2 -2
- package/dist/{chunk-JXH56OQJ.js → chunk-H5OVGHDY.js} +1 -1
- package/dist/{chunk-ZELRSKRA.js → chunk-HC67BBDW.js} +2 -2
- package/dist/{chunk-PHJS5IAO.js → chunk-HX7H3SCP.js} +10 -10
- package/dist/{chunk-5LAKBLOK.js → chunk-IB7RICIP.js} +6 -6
- package/dist/{chunk-ZICVRFNH.js → chunk-IQ5YFQY6.js} +1 -1
- package/dist/{chunk-NEKEDV5H.js → chunk-JUEVORTN.js} +2 -2
- package/dist/{chunk-B2UMHA24.js → chunk-KJWNXL6M.js} +5 -5
- package/dist/{chunk-LWAMSBU5.js → chunk-KRFL2TTE.js} +16 -16
- package/dist/{chunk-BATXVYBR.js → chunk-KSIDZDZP.js} +1 -1
- package/dist/{chunk-VJGNKY3G.js → chunk-KXN3XO67.js} +4 -4
- package/dist/{chunk-JOOLRMRT.js → chunk-KY2NAAX7.js} +1 -1
- package/dist/{chunk-7T5IXYCJ.js → chunk-LFNIBQHE.js} +6 -14
- package/dist/{chunk-VNUBOY2Z.js → chunk-LHARTJ7Y.js} +1 -1
- package/dist/{chunk-CA2BNB66.js → chunk-LIA6KTRT.js} +11 -11
- package/dist/{chunk-PGWUHKNZ.js → chunk-LZV3SN2U.js} +6 -6
- package/dist/{chunk-ZB25WE2K.js → chunk-M64BUY66.js} +15 -13
- package/dist/{chunk-KVMPB3X4.js → chunk-MVMPHFB4.js} +49 -6
- package/dist/{chunk-HZSTXGMB.js → chunk-NNG74VEC.js} +3 -3
- package/dist/{chunk-CKCDYRLT.js → chunk-O57ADP6V.js} +1 -1
- package/dist/{chunk-UYCL6GGF.js → chunk-PN2KZ4GT.js} +7 -5
- package/dist/{chunk-6KRO6DQC.js → chunk-QAWEMILZ.js} +1 -1
- package/dist/{chunk-WMDZB37J.js → chunk-QNKWX26I.js} +1 -1
- package/dist/{chunk-JEEYHFFF.js → chunk-RF4RU7HT.js} +1 -1
- package/dist/{chunk-KS4N7MUS.js → chunk-RGGOB2KA.js} +6 -6
- package/dist/{chunk-7WIYDCUB.js → chunk-RRL7CNHL.js} +1 -1
- package/dist/{chunk-PEQ3TYLP.js → chunk-RY6WEXPX.js} +3 -3
- package/dist/{chunk-INLOMDYZ.js → chunk-S2FFK25V.js} +8 -8
- package/dist/{chunk-RBQWVGEX.js → chunk-SDE3MQZD.js} +3 -3
- package/dist/{chunk-6BWATFAV.js → chunk-SLU2SBAL.js} +2 -2
- package/dist/{chunk-73I733XY.js → chunk-SO63LVC3.js} +3 -3
- package/dist/{chunk-H75XNDPU.js → chunk-UERY25QK.js} +2 -2
- package/dist/{chunk-IU5EUBFI.js → chunk-UFFEQEVI.js} +4 -4
- package/dist/{chunk-B62INGJG.js → chunk-VQHI6O7A.js} +3 -3
- package/dist/{chunk-O2HFH6CO.js → chunk-VR6GDL6U.js} +1 -1
- package/dist/{chunk-CIS77AVL.js → chunk-VYXBYJPZ.js} +4 -4
- package/dist/{chunk-ZQYH7EKR.js → chunk-W66JA2VL.js} +3 -3
- package/dist/{chunk-RX4VUNYO.js → chunk-WDMIWOGT.js} +3 -3
- package/dist/{chunk-RHCDB25U.js → chunk-WQQHFYJA.js} +3 -3
- package/dist/{chunk-NQU5VPJ2.js → chunk-WRJ4VUXO.js} +1 -1
- package/dist/{chunk-GFNMWJXO.js → chunk-WYZH35RZ.js} +1 -1
- package/dist/{chunk-6EIVM3CN.js → chunk-XCYZTFVX.js} +1 -1
- package/dist/{chunk-4H6DCMIK.js → chunk-XDRXEBEC.js} +4 -2
- package/dist/{chunk-WAUNJPDC.js → chunk-XIK6UKVW.js} +1 -1
- package/dist/{chunk-DZS3JN6U.js → chunk-XJMH75YS.js} +3 -3
- package/dist/{chunk-PCCNXWVD.js → chunk-XMI2NTQV.js} +3 -3
- package/dist/{chunk-IHJ37K7X.js → chunk-XSKZLSDU.js} +5 -5
- package/dist/{chunk-JK2NYF6W.js → chunk-YFO7NG2J.js} +4 -4
- package/dist/{chunk-NGABIHSJ.js → chunk-YN34CTII.js} +2 -2
- package/dist/{chunk-CFPHF7TJ.js → chunk-Z36DLCV3.js} +5 -5
- package/dist/{chunk-ZGDTT3LR.js → chunk-Z7EYIVEE.js} +9 -9
- package/dist/{chunk-CDVHWJPI.js → chunk-ZJRMS7X2.js} +132 -14
- package/dist/{chunk-GZ2EWBNW.js → chunk-ZPLSKFWN.js} +5 -5
- package/dist/{chunk-GHZ6CTB3.js → chunk-ZQEGK23B.js} +5 -5
- package/dist/{chunk-332UCKZR.js → chunk-ZYM6WR3X.js} +4 -4
- package/dist/{codex-app-cards-switch-I6WJCVY4.js → codex-app-cards-switch-QXZWLSWG.js} +11 -11
- package/dist/{codex-card-routing-L4TL5YB4.js → codex-card-routing-4RGETOB7.js} +2 -2
- package/dist/{codex-desktop-launch-Y4ODCUFU.js → codex-desktop-launch-46NG7HNC.js} +3 -3
- package/dist/{codex-session-launch-7CS4XAD3.js → codex-session-launch-ZIH4MWQH.js} +20 -20
- package/dist/{config-77UADC3N.js → config-XUMBVT44.js} +3 -3
- package/dist/{global-upgrade-Q2QSVP7H.js → global-upgrade-QG2USMDX.js} +9 -9
- package/dist/{identity-5EC2OOW7.js → identity-WT3MS5KR.js} +4 -4
- package/dist/{live-capabilities-E23EJXRF.js → live-capabilities-LPQAHE3K.js} +4 -4
- package/dist/{paths-TTYM7HYI.js → paths-QHT5KEQU.js} +3 -3
- package/dist/{reapply-OAY3SRY5.js → reapply-3YU6SKMB.js} +34 -34
- package/dist/src/index.js +33 -33
- package/dist/{upgrade-lock-PH5LW5VB.js → upgrade-lock-BOMZVT63.js} +4 -4
- package/dist/{usage-QZ2S5AGT.js → usage-ZE4CQY6C.js} +3 -3
- package/package.json +1 -1
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MANAGED_CLAUDE_SETTINGS_BY_PLATFORM
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2DPOXTSE.js";
|
|
4
4
|
import {
|
|
5
5
|
declinedAgentsFile,
|
|
6
6
|
readDeclinedAgents
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GWWVEBLW.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENCODE_HOOK_BINARY,
|
|
10
10
|
openCodeConfigDir,
|
|
11
11
|
openCodePluginFile
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4EM6W75L.js";
|
|
13
13
|
import {
|
|
14
14
|
openCodePluginArgv
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KSIDZDZP.js";
|
|
16
16
|
import {
|
|
17
17
|
liveCursorGateCoverage
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XMI2NTQV.js";
|
|
19
19
|
import {
|
|
20
20
|
compatibleConfigFile,
|
|
21
21
|
compatibleHookEvents,
|
|
22
22
|
grokHome,
|
|
23
23
|
parseConfigDocument
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-MVMPHFB4.js";
|
|
25
25
|
import {
|
|
26
26
|
DEFAULT_HOOKS_KEY_PATH,
|
|
27
27
|
GEMINI_HOOK_BINARY,
|
|
28
28
|
GEMINI_HOOK_EVENTS,
|
|
29
29
|
hooksAt
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-LFNIBQHE.js";
|
|
31
31
|
import {
|
|
32
32
|
CODEX_EARLIER_APPROVAL_MATCHERS,
|
|
33
33
|
CODEX_HOOK_BINARY,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
parseHookArgv,
|
|
56
56
|
parseHookCommand,
|
|
57
57
|
supportedClaudeEvents
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-YN34CTII.js";
|
|
59
59
|
import {
|
|
60
60
|
readRegularJsonFile,
|
|
61
61
|
readRegularTextFile
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
OPENCODE_APPROVAL_EVENT,
|
|
70
70
|
isRecord,
|
|
71
71
|
matcherMatchesEveryCall
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-ZJRMS7X2.js";
|
|
73
73
|
|
|
74
74
|
// src/hook-wiring.ts
|
|
75
75
|
import { createHash } from "crypto";
|
|
@@ -21,6 +21,7 @@ var HOOK_BUDGETS = {
|
|
|
21
21
|
qoder: { budgetSeconds: 600, guardSeconds: 10 },
|
|
22
22
|
droid: { budgetSeconds: 600, guardSeconds: 10 },
|
|
23
23
|
devin: { budgetSeconds: 600, guardSeconds: 10 },
|
|
24
|
+
openhands: { budgetSeconds: 600, guardSeconds: 10 },
|
|
24
25
|
antigravity: { budgetSeconds: 600, guardSeconds: 10 },
|
|
25
26
|
grok: { budgetSeconds: 600, guardSeconds: 10 }
|
|
26
27
|
};
|
|
@@ -598,6 +599,22 @@ var AGENTS = {
|
|
|
598
599
|
enforcementDetail: "Shell, edits and MCP calls through native PreToolUse hooks. Grok's own permission checks still apply after a phone approval.",
|
|
599
600
|
capabilityNote: "Grok's read-only tools (`grep`, `list_dir`, `glob`, `read_file`, `todo_write`, `search_tool`) are never asked about, as Claude Code's reads are not; a rule that denies one still blocks it. Grok fails open if it kills a hook or cannot run it. Setup leaves Grok's permission mode unchanged. Native question and plan dialogs stay in Grok; proactive phone questions use Pushary MCP."
|
|
600
601
|
},
|
|
602
|
+
openhands: {
|
|
603
|
+
...defaults,
|
|
604
|
+
label: "OpenHands",
|
|
605
|
+
activationGuide: "/docs/agents/guides/openhands#check-that-it-works",
|
|
606
|
+
hookSource: "openhands",
|
|
607
|
+
bridged: true,
|
|
608
|
+
policyAgent: "openhands",
|
|
609
|
+
repoAware: true,
|
|
610
|
+
disconnectable: true,
|
|
611
|
+
enforcement: "enforced",
|
|
612
|
+
connectVia: "Native hooks + MCP",
|
|
613
|
+
setupCommand: PUSHARY_SETUP_COMMAND,
|
|
614
|
+
setupGuide: "[OpenHands setup](/docs/agents/guides/openhands)",
|
|
615
|
+
enforcementDetail: "terminal, file_editor, apply_patch and the Gemini write_file and edit tools through native PreToolUse hooks in ~/.openhands/hooks.json, answered allow or deny.",
|
|
616
|
+
capabilityNote: "OpenHands hooks answer allow or deny, never ask, so an approval nobody answers is refused with a reason instead of running. Agent Canvas keeps MCP servers in its own encrypted settings, so add Pushary under Customize > MCP Servers, or install the Pushary plugin, to let the agent ask questions and send notifications. OpenHands Cloud reads hooks from the repository, so use the plugin or a .openhands/hooks.json in the repo there."
|
|
617
|
+
},
|
|
601
618
|
grok_bot: {
|
|
602
619
|
...defaults,
|
|
603
620
|
label: "Grok Bot",
|
|
@@ -720,6 +737,53 @@ var grokHookInput = (event, payload) => {
|
|
|
720
737
|
return shaped;
|
|
721
738
|
};
|
|
722
739
|
|
|
740
|
+
// ../contracts/src/openhands.ts
|
|
741
|
+
var OPENHANDS_FILE_EDITOR_TOOLS = /* @__PURE__ */ new Set(["file_editor", "planning_file_editor"]);
|
|
742
|
+
var OPENHANDS_ACTION_KIND_KEY = "kind";
|
|
743
|
+
var OPENHANDS_EDITOR_TOOL_BY_COMMAND = {
|
|
744
|
+
view: "Read",
|
|
745
|
+
create: "Write",
|
|
746
|
+
str_replace: "Edit",
|
|
747
|
+
insert: "Edit",
|
|
748
|
+
undo_edit: "Edit"
|
|
749
|
+
};
|
|
750
|
+
var OPENHANDS_EDITOR_FALLBACK_TOOL = "Edit";
|
|
751
|
+
var PROMPT_EVENT = "UserPromptSubmit";
|
|
752
|
+
var nonEmptyString = (value) => typeof value === "string" && value.length > 0 ? value : void 0;
|
|
753
|
+
var isSetActionField = ([key, value]) => key !== OPENHANDS_ACTION_KIND_KEY && value !== null;
|
|
754
|
+
var withSetActionFields = (toolInput) => isRecord(toolInput) ? Object.fromEntries(Object.entries(toolInput).filter(isSetActionField)) : toolInput;
|
|
755
|
+
var OPENHANDS_EVENT_FIELDS = /* @__PURE__ */ new Set(["tool_name", "tool_input", "tool_response", "message"]);
|
|
756
|
+
var isSetEventField = ([key, value]) => value !== null || !OPENHANDS_EVENT_FIELDS.has(key);
|
|
757
|
+
var withoutUnsetEventFields = (payload) => Object.fromEntries(Object.entries(payload).filter(isSetEventField));
|
|
758
|
+
var OPENHANDS_TOOL_ERROR = "OpenHands reported a tool error.";
|
|
759
|
+
var openHandsExitFailure = (exitCode) => typeof exitCode === "number" && exitCode !== 0 ? `Command exited with code ${exitCode}.` : void 0;
|
|
760
|
+
var openHandsToolResult = (value) => {
|
|
761
|
+
if (!isRecord(value) || !("is_error" in value)) return value;
|
|
762
|
+
const { is_error, ...result } = value;
|
|
763
|
+
const failure = is_error === true ? OPENHANDS_TOOL_ERROR : openHandsExitFailure(value.exit_code);
|
|
764
|
+
return failure ? { ...result, error: failure } : result;
|
|
765
|
+
};
|
|
766
|
+
var openHandsEditorTool = (toolInput) => {
|
|
767
|
+
const command = isRecord(toolInput) ? toolInput.command : void 0;
|
|
768
|
+
return typeof command === "string" ? OPENHANDS_EDITOR_TOOL_BY_COMMAND[command] ?? OPENHANDS_EDITOR_FALLBACK_TOOL : OPENHANDS_EDITOR_FALLBACK_TOOL;
|
|
769
|
+
};
|
|
770
|
+
var openHandsToolName = (toolName, toolInput) => typeof toolName === "string" && OPENHANDS_FILE_EDITOR_TOOLS.has(toolName) ? openHandsEditorTool(toolInput) : toolName;
|
|
771
|
+
var openHandsHookInput = (event, payload) => {
|
|
772
|
+
const name = nonEmptyString(payload.event_type) ?? nonEmptyString(payload.hook_event_name) ?? event;
|
|
773
|
+
const cwd = nonEmptyString(payload.working_dir) ?? nonEmptyString(payload.cwd);
|
|
774
|
+
const prompt = name === PROMPT_EVENT ? nonEmptyString(payload.message) : void 0;
|
|
775
|
+
const toolInput = withSetActionFields(payload.tool_input);
|
|
776
|
+
return {
|
|
777
|
+
...withoutUnsetEventFields(payload),
|
|
778
|
+
...name ? { hook_event_name: name } : {},
|
|
779
|
+
...cwd ? { cwd } : {},
|
|
780
|
+
...prompt ? { prompt } : {},
|
|
781
|
+
...typeof payload.tool_name === "string" ? { tool_name: openHandsToolName(payload.tool_name, toolInput) } : {},
|
|
782
|
+
...isRecord(toolInput) ? { tool_input: toolInput } : {},
|
|
783
|
+
...isRecord(payload.tool_response) ? { tool_response: openHandsToolResult(payload.tool_response) } : {}
|
|
784
|
+
};
|
|
785
|
+
};
|
|
786
|
+
|
|
723
787
|
// ../contracts/src/shell-tools.ts
|
|
724
788
|
var SHELL_TOOL = "Bash";
|
|
725
789
|
var POWERSHELL_TOOL = "PowerShell";
|
|
@@ -740,7 +804,7 @@ var ESCAPED_SINGLE_QUOTE = `'\\''`;
|
|
|
740
804
|
var asOneShellWord = (text3) => SHELL_METACHARACTER.test(text3) ? `${SINGLE_QUOTE}${text3.replaceAll(SINGLE_QUOTE, ESCAPED_SINGLE_QUOTE)}${SINGLE_QUOTE}` : text3;
|
|
741
805
|
|
|
742
806
|
// ../contracts/src/agent-wiring.ts
|
|
743
|
-
var COMPATIBLE_AGENT_TYPES = ["qwen_code", "codebuddy", "qoder", "droid", "devin", "antigravity_cli", "grok"];
|
|
807
|
+
var COMPATIBLE_AGENT_TYPES = ["qwen_code", "codebuddy", "qoder", "droid", "devin", "antigravity_cli", "grok", "openhands"];
|
|
744
808
|
var isCompatibleAgentType = (value) => typeof value === "string" && COMPATIBLE_AGENT_TYPES.includes(value);
|
|
745
809
|
var homeJson = (...path) => ({ root: "home", path, format: "json" });
|
|
746
810
|
var homeFile = (...path) => ({ root: "home", path });
|
|
@@ -861,28 +925,28 @@ var refusalOutput = (profile, reason) => JSON.stringify(renderPreToolUseVerdict(
|
|
|
861
925
|
}));
|
|
862
926
|
var ANTIGRAVITY_MCP_TOOL = "call_mcp_tool";
|
|
863
927
|
var isPayloadRecord = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
|
|
864
|
-
var
|
|
928
|
+
var nonEmptyString2 = (value) => typeof value === "string" && value.length > 0 ? value : void 0;
|
|
865
929
|
var mcpToolCall = (args) => {
|
|
866
|
-
const server =
|
|
867
|
-
const tool =
|
|
930
|
+
const server = nonEmptyString2(args.ServerName);
|
|
931
|
+
const tool = nonEmptyString2(args.ToolName);
|
|
868
932
|
if (!server || !tool) return void 0;
|
|
869
933
|
return { tool_name: `mcp__${server}__${tool}`, tool_input: isPayloadRecord(args.Arguments) ? args.Arguments : {} };
|
|
870
934
|
};
|
|
871
935
|
var antigravityToolCall = (toolCall) => {
|
|
872
936
|
if (!isPayloadRecord(toolCall)) return void 0;
|
|
873
|
-
const name =
|
|
937
|
+
const name = nonEmptyString2(toolCall.name);
|
|
874
938
|
if (!name) return void 0;
|
|
875
939
|
const args = isPayloadRecord(toolCall.args) ? toolCall.args : {};
|
|
876
940
|
return (name === ANTIGRAVITY_MCP_TOOL ? mcpToolCall(args) : void 0) ?? { tool_name: name, tool_input: args };
|
|
877
941
|
};
|
|
878
|
-
var firstWorkspace = (payload) => Array.isArray(payload.workspacePaths) ? payload.workspacePaths.map(
|
|
942
|
+
var firstWorkspace = (payload) => Array.isArray(payload.workspacePaths) ? payload.workspacePaths.map(nonEmptyString2).find(Boolean) : void 0;
|
|
879
943
|
var fromAntigravity = (event, payload) => {
|
|
880
944
|
const { toolCall, ...rest } = payload;
|
|
881
945
|
const call = antigravityToolCall(toolCall);
|
|
882
|
-
const cwd = firstWorkspace(payload) ??
|
|
883
|
-
const sessionId =
|
|
884
|
-
const transcriptPath =
|
|
885
|
-
const error = event === "PostToolUse" ?
|
|
946
|
+
const cwd = firstWorkspace(payload) ?? nonEmptyString2(call?.tool_input.Cwd);
|
|
947
|
+
const sessionId = nonEmptyString2(payload.conversationId);
|
|
948
|
+
const transcriptPath = nonEmptyString2(payload.transcriptPath);
|
|
949
|
+
const error = event === "PostToolUse" ? nonEmptyString2(payload.error) : void 0;
|
|
886
950
|
return {
|
|
887
951
|
...rest,
|
|
888
952
|
...event ? { hook_event_name: event } : {},
|
|
@@ -895,6 +959,7 @@ var fromAntigravity = (event, payload) => {
|
|
|
895
959
|
};
|
|
896
960
|
var claudeShapedHookInput = (dialect, event, payload) => {
|
|
897
961
|
if (dialect === "grok") return grokHookInput(event, payload);
|
|
962
|
+
if (dialect === "openhands") return openHandsHookInput(event, payload);
|
|
898
963
|
return dialect === "antigravity" ? fromAntigravity(event, payload) : payload;
|
|
899
964
|
};
|
|
900
965
|
var CLAUDE_SHAPED_EVENTS = [
|
|
@@ -1182,7 +1247,41 @@ var GROK = {
|
|
|
1182
1247
|
promptFollowsPreToolUseAllow: false,
|
|
1183
1248
|
permissionRequestPaths: "as_pre_tool_use"
|
|
1184
1249
|
};
|
|
1185
|
-
var
|
|
1250
|
+
var OPENHANDS = {
|
|
1251
|
+
agentType: "openhands",
|
|
1252
|
+
source: "openhands",
|
|
1253
|
+
label: "OpenHands",
|
|
1254
|
+
binary: "agent-canvas",
|
|
1255
|
+
configFile: homeJson(".openhands", "hooks.json"),
|
|
1256
|
+
hooksKeyPath: ["hooks"],
|
|
1257
|
+
toolAliases: {
|
|
1258
|
+
terminal: "Bash",
|
|
1259
|
+
file_editor: "Edit",
|
|
1260
|
+
planning_file_editor: "Edit",
|
|
1261
|
+
apply_patch: "Edit",
|
|
1262
|
+
write_file: "Write",
|
|
1263
|
+
edit: "Edit"
|
|
1264
|
+
},
|
|
1265
|
+
inputKeyAliases: { file_text: "content", old_str: "old_string", new_str: "new_string" },
|
|
1266
|
+
extraMatchers: [],
|
|
1267
|
+
pathInputKeys: [],
|
|
1268
|
+
shellCommandKeys: [],
|
|
1269
|
+
shellContextKeys: [],
|
|
1270
|
+
events: ["PreToolUse", "PostToolUse", "UserPromptSubmit", "Stop", "SessionStart", "SessionEnd"],
|
|
1271
|
+
wire: "allow_deny_decision",
|
|
1272
|
+
payload: "openhands",
|
|
1273
|
+
nonToolEntries: "nested",
|
|
1274
|
+
mcp: null,
|
|
1275
|
+
instructions: null,
|
|
1276
|
+
permissionRuleFile: null,
|
|
1277
|
+
configDirIsShared: false,
|
|
1278
|
+
soleGate: null,
|
|
1279
|
+
taskControl: null,
|
|
1280
|
+
inlineScript: null,
|
|
1281
|
+
promptFollowsPreToolUseAllow: false,
|
|
1282
|
+
permissionRequestPaths: "as_pre_tool_use"
|
|
1283
|
+
};
|
|
1284
|
+
var HOOK_COMPATIBLE_PROFILES = Object.freeze([QWEN_CODE, CODEBUDDY, QODER, DROID, DEVIN, ANTIGRAVITY_CLI, GROK, OPENHANDS]);
|
|
1186
1285
|
var hookCompatibleProfile = (agentType) => HOOK_COMPATIBLE_PROFILES.find((profile) => profile.agentType === agentType);
|
|
1187
1286
|
var hookCompatibleProfileBySource = (source) => HOOK_COMPATIBLE_PROFILES.find((profile) => profile.source === source);
|
|
1188
1287
|
var compatibleProfileFor = (agentType) => HOOK_COMPATIBLE_PROFILES.find((profile) => profile.agentType === agentType);
|
|
@@ -3245,6 +3344,12 @@ var AGENT_ENFORCEMENT = {
|
|
|
3245
3344
|
gatedTools: [...CLAUDE_SHAPED_GATED_TOOLS, "mcp_call_tool", "write_to_process"],
|
|
3246
3345
|
notGated: "Any tool outside the matcher, such as reads, searches and web fetches. Devin registers no PermissionRequest, so those never reach a person through Pushary. Its wire turns an ask into a block."
|
|
3247
3346
|
},
|
|
3347
|
+
openhands: {
|
|
3348
|
+
...COMPATIBLE_HOOK_AGENT,
|
|
3349
|
+
localPrompt: LOCAL_PROMPT.refusalInstead,
|
|
3350
|
+
gatedTools: ["Bash", "Write", "Edit", "MultiEdit", "NotebookEdit", "PowerShell", "Monitor", "terminal", "file_editor", "planning_file_editor", "apply_patch", "write_file", "edit"],
|
|
3351
|
+
notGated: "Reads (a file_editor view, read_file), browser tools, task_tracker and MCP tools. OpenHands has no ask answer, so an approval nobody answers is refused with a reason. A hook that crashes or times out does not block in OpenHands, so the call goes on to OpenHands' own confirmation step, and runs when confirmation mode is off."
|
|
3352
|
+
},
|
|
3248
3353
|
antigravity_cli: {
|
|
3249
3354
|
...HOOK_DECIDES_BEFORE_THE_CALL,
|
|
3250
3355
|
localPrompt: LOCAL_PROMPT.refusalInstead,
|
|
@@ -5599,7 +5704,8 @@ var hookWaitDeadline = (startMs, policyWaitSeconds, agent, nowMs) => {
|
|
|
5599
5704
|
var hookWaitClamped = (startMs, policyWaitSeconds, agent, nowMs) => startMs + hookMaxWaitSeconds(agent) * 1e3 < nowMs + Math.max(policyWaitSeconds, 0) * 1e3;
|
|
5600
5705
|
var effectiveWaitSeconds = (timeoutAction, policySeconds, agent) => timeoutAction === "wait" ? hookMaxWaitSeconds(agent) : policySeconds;
|
|
5601
5706
|
var isHookSource = (value) => typeof value === "string" && HOOK_SOURCES.includes(value);
|
|
5602
|
-
var
|
|
5707
|
+
var SOURCES_WITHOUT_A_PRE_TOOL_USE_PROMPT = /* @__PURE__ */ new Set(["antigravity", "openhands"]);
|
|
5708
|
+
var hasNativeApprovalPrompt = (source, event) => !(source === "cursor" && event === "preToolUse") && !(SOURCES_WITHOUT_A_PRE_TOOL_USE_PROMPT.has(source) && event === "PreToolUse");
|
|
5603
5709
|
var SUPPORT_EMAIL = "business@pushary.com";
|
|
5604
5710
|
var SUPPORT_DISCORD = "https://discord.gg/9v3VvUByrr";
|
|
5605
5711
|
var HOOK_VERSION_PATTERN = /^\d+\.\d+\.\d+$/;
|
|
@@ -10630,9 +10736,20 @@ var bypassModeCovers = (toolName, toolInput, cwd) => {
|
|
|
10630
10736
|
var aChosenRuleGovernsInEitherRepository = (input, counts = everyRule) => aChosenRuleGoverns(input, counts) || input.sharedRepoKey !== void 0 && input.sharedRepoKey !== input.repoKey && aChosenRuleGoverns({ ...input, repoKey: input.sharedRepoKey }, counts);
|
|
10631
10737
|
var ruleAsksOrRefuses = (rule) => !isAutoApprove(rule);
|
|
10632
10738
|
var bypassModeCoversEveryInput = (input) => input.deletesFiles !== true && input.toolInputs.every((toolInput) => bypassModeCovers(input.toolName, toolInput, input.cwd)) && !aChosenRuleGovernsInEitherRepository(input);
|
|
10633
|
-
var
|
|
10739
|
+
var editsAFileThatNeedsAPersonEvenWhenAllowed = (input) => input.toolInputs.some((toolInput) => editTargetNeedsAPersonEvenWhenAllowed(input.toolName, toolInput, input.cwd));
|
|
10740
|
+
var aRouteMayHoldAPushOfAnUnreportedBranch = (input) => {
|
|
10741
|
+
if (input.currentBranch !== void 0 || !callMayPushTheCurrentBranch(input.toolName, input.toolInputs)) return false;
|
|
10742
|
+
const routes = approvalRoutesOf(input.config);
|
|
10743
|
+
return routes === null || routes.length > 0;
|
|
10744
|
+
};
|
|
10745
|
+
var cursorKeepsTheStepForAPerson = (input) => editsAFileThatNeedsAPersonEvenWhenAllowed(input) || aRouteMayHoldAPushOfAnUnreportedBranch(input);
|
|
10746
|
+
var cursorRunModeTakesTheStep = (input) => input.cursorRunModeDecides === true && !cursorKeepsTheStepForAPerson(input);
|
|
10747
|
+
var theAgentRunsStepsWithoutAsking = (input) => isBypassPermissionMode(input.permissionMode) || cursorRunModeTakesTheStep(input);
|
|
10748
|
+
var bypassModeApplies = (input) => theAgentRunsStepsWithoutAsking(input) && !isModeStateDegraded(input.modeState) && noModeOverrideIsActive(input) && input.toolInputs.length > 0;
|
|
10634
10749
|
var bypassModeAllows = (input) => bypassModeApplies(input) && (bypassStopsOf(input.config) === "nothing" ? !aChosenRuleGovernsInEitherRepository(input, ruleAsksOrRefuses) : bypassModeCoversEveryInput(input));
|
|
10635
10750
|
var PERMISSIONS_OFF_ASK_REASON = "Permissions are off in your agent, so Pushary only stops for risky steps like this one. You can change this in Settings on pushary.com.";
|
|
10751
|
+
var CURSOR_RUN_MODE_ASK_REASON = "Cursor runs routine steps under its own Run Mode, so Pushary only stops for risky steps like this one. You can change this in Settings on pushary.com.";
|
|
10752
|
+
var stopsForRiskyStepsReasonOf = (input) => input.cursorRunModeDecides === true ? CURSOR_RUN_MODE_ASK_REASON : PERMISSIONS_OFF_ASK_REASON;
|
|
10636
10753
|
var AGENTS_WHOSE_BYPASS_MODE_THE_PERSON_CHOSE = /* @__PURE__ */ new Set(["claude_code", "grok"]);
|
|
10637
10754
|
var permissionsOffLineAppliesTo = (agentType) => typeof agentType === "string" && AGENTS_WHOSE_BYPASS_MODE_THE_PERSON_CHOSE.has(agentType);
|
|
10638
10755
|
var PATTERN_PREFIX_WILDCARD = /(?::\*|\*)?\)$/;
|
|
@@ -10661,7 +10778,7 @@ var askAtTheRouteOfAPush = (input, repoKey, allowedBy) => {
|
|
|
10661
10778
|
}
|
|
10662
10779
|
return void 0;
|
|
10663
10780
|
};
|
|
10664
|
-
var permissionsOffAskReason = (input, verdict) => verdict.kind === "gate" && !verdict.scopeReason && !isAskedInEveryMode(input.toolName) && bypassModeApplies(input) && bypassStopsOf(input.config) === "consequences" && !aChosenRuleGovernsInEitherRepository(input) ?
|
|
10781
|
+
var permissionsOffAskReason = (input, verdict) => verdict.kind === "gate" && !verdict.scopeReason && !isAskedInEveryMode(input.toolName) && bypassModeApplies(input) && bypassStopsOf(input.config) === "consequences" && !aChosenRuleGovernsInEitherRepository(input) ? stopsForRiskyStepsReasonOf(input) : void 0;
|
|
10665
10782
|
var SCOPE_QUESTION_FIRST_WAIT_SECONDS = 30;
|
|
10666
10783
|
var policyForScopeQuestion = (policy) => policy.timeoutAction === "approve" ? {
|
|
10667
10784
|
...policy,
|
|
@@ -11253,6 +11370,7 @@ var pendingCommandEvents = (source) => {
|
|
|
11253
11370
|
case "droid":
|
|
11254
11371
|
case "devin":
|
|
11255
11372
|
case "antigravity":
|
|
11373
|
+
case "openhands":
|
|
11256
11374
|
return compatiblePendingCommandEvents(source);
|
|
11257
11375
|
}
|
|
11258
11376
|
};
|
|
@@ -3,24 +3,24 @@ import {
|
|
|
3
3
|
expectedLaunchCapabilities,
|
|
4
4
|
hasSpawnProvider,
|
|
5
5
|
resolveControlPolicy
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WDMIWOGT.js";
|
|
7
7
|
import {
|
|
8
8
|
daemonHasRemoteProof,
|
|
9
9
|
daemonServiceManagerAvailable,
|
|
10
10
|
hasDaemonServiceDefinition,
|
|
11
11
|
readDaemonNeedsLogin,
|
|
12
12
|
readDaemonStatus
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CTXXTEFA.js";
|
|
14
14
|
import {
|
|
15
15
|
getMachineId
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RF4RU7HT.js";
|
|
17
17
|
import {
|
|
18
18
|
readControlMode,
|
|
19
19
|
readKeyInForce
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NNG74VEC.js";
|
|
21
21
|
import {
|
|
22
22
|
getBaseUrl
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-CV6NQKHB.js";
|
|
24
24
|
import {
|
|
25
25
|
getPackageVersion
|
|
26
26
|
} from "./chunk-CXQWDQCJ.js";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./chunk-OYIN77HO.js";
|
|
6
6
|
import {
|
|
7
7
|
readMacAppAgentKey
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CTZIFG53.js";
|
|
9
9
|
import {
|
|
10
10
|
API_KEYS_PATH
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EWLN4HBC.js";
|
|
12
12
|
import {
|
|
13
13
|
absoluteUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SDE3MQZD.js";
|
|
15
15
|
import {
|
|
16
16
|
findExportedKeyLines,
|
|
17
17
|
isAdoptedMacAppKey,
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
readConfigFileKey,
|
|
22
22
|
readKeySource,
|
|
23
23
|
readMacAppKeyPrefix
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NNG74VEC.js";
|
|
25
25
|
import {
|
|
26
26
|
isValidApiKey
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZJRMS7X2.js";
|
|
28
28
|
|
|
29
29
|
// src/cli/held-key-revocation.ts
|
|
30
30
|
var readCliHeldKeys = (profiles) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseSseMessages
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XSKZLSDU.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchAsCredential
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RRL7CNHL.js";
|
|
7
7
|
import {
|
|
8
8
|
malformedApiKeyMessage
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CV6NQKHB.js";
|
|
10
10
|
import {
|
|
11
11
|
NPX_LATEST_COMMAND
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KY2NAAX7.js";
|
|
13
13
|
|
|
14
14
|
// src/mcp-stdio-bridge.ts
|
|
15
15
|
var MCP_BRIDGE_BINARY = "pushary-mcp";
|
|
@@ -22,25 +22,25 @@ import {
|
|
|
22
22
|
turnCodexAppCardsOff,
|
|
23
23
|
turnCodexAppCardsOn,
|
|
24
24
|
whyLaunchctlFailed
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-5ANGJL2J.js";
|
|
26
|
+
import "./chunk-BJ73ZDMN.js";
|
|
27
27
|
import "./chunk-XCEN33UP.js";
|
|
28
28
|
import "./chunk-U4P4NDVB.js";
|
|
29
29
|
import "./chunk-QCGNGEGE.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-CTXXTEFA.js";
|
|
31
31
|
import "./chunk-3PSNUHC5.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-RF4RU7HT.js";
|
|
33
|
+
import "./chunk-NNG74VEC.js";
|
|
34
|
+
import "./chunk-SLU2SBAL.js";
|
|
35
|
+
import "./chunk-YN34CTII.js";
|
|
36
36
|
import "./chunk-6ICPEJY5.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-UFFEQEVI.js";
|
|
38
|
+
import "./chunk-CV6NQKHB.js";
|
|
39
39
|
import "./chunk-PM2NRK6Y.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-KY2NAAX7.js";
|
|
41
41
|
import "./chunk-BG4HHB7E.js";
|
|
42
42
|
import "./chunk-CXQWDQCJ.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-ZJRMS7X2.js";
|
|
44
44
|
import "./chunk-MLKGABMK.js";
|
|
45
45
|
export {
|
|
46
46
|
CODEX_APP_CARDS_DIRECTORY,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deriveToolTarget
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XDRXEBEC.js";
|
|
4
4
|
import {
|
|
5
5
|
TOOL_NAME_MAX_LENGTH,
|
|
6
6
|
codexElicitationToolName
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZJRMS7X2.js";
|
|
8
8
|
import "./chunk-MLKGABMK.js";
|
|
9
9
|
|
|
10
10
|
// src/codex-card-routing.ts
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
installedCodexApp,
|
|
13
13
|
shellQuoted,
|
|
14
14
|
writeDesktopProxy
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BJ73ZDMN.js";
|
|
16
16
|
import "./chunk-XCEN33UP.js";
|
|
17
17
|
import {
|
|
18
18
|
CODEX_APP_LAUNCH_VARIABLE
|
|
19
19
|
} from "./chunk-U4P4NDVB.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-UFFEQEVI.js";
|
|
21
21
|
import "./chunk-BG4HHB7E.js";
|
|
22
22
|
import "./chunk-CXQWDQCJ.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-ZJRMS7X2.js";
|
|
24
24
|
import "./chunk-MLKGABMK.js";
|
|
25
25
|
export {
|
|
26
26
|
CODEX_APP_LAUNCH_VARIABLE,
|
|
@@ -11,39 +11,39 @@ import {
|
|
|
11
11
|
isCodexQuestionLeftWithTheLocalClient,
|
|
12
12
|
planCodexElicitation,
|
|
13
13
|
reportOwnedQuestion
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-S2FFK25V.js";
|
|
15
|
+
import "./chunk-XIK6UKVW.js";
|
|
16
|
+
import "./chunk-WDMIWOGT.js";
|
|
17
|
+
import "./chunk-VR6GDL6U.js";
|
|
18
|
+
import "./chunk-WYZH35RZ.js";
|
|
19
|
+
import "./chunk-2TTBUGSV.js";
|
|
20
20
|
import "./chunk-TCE3J44Z.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-WQQHFYJA.js";
|
|
22
22
|
import "./chunk-P6DUWKAO.js";
|
|
23
23
|
import "./chunk-3PSNUHC5.js";
|
|
24
24
|
import {
|
|
25
25
|
writeDegraded
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-LZV3SN2U.js";
|
|
27
|
+
import "./chunk-IQ5YFQY6.js";
|
|
28
28
|
import "./chunk-POFBE6ZY.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-XSKZLSDU.js";
|
|
30
|
+
import "./chunk-RRL7CNHL.js";
|
|
31
|
+
import "./chunk-O57ADP6V.js";
|
|
32
|
+
import "./chunk-SDE3MQZD.js";
|
|
33
|
+
import "./chunk-RY6WEXPX.js";
|
|
34
|
+
import "./chunk-RF4RU7HT.js";
|
|
35
|
+
import "./chunk-YN34CTII.js";
|
|
36
36
|
import "./chunk-6ICPEJY5.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-UFFEQEVI.js";
|
|
38
|
+
import "./chunk-CV6NQKHB.js";
|
|
39
39
|
import "./chunk-CINBAX5G.js";
|
|
40
40
|
import "./chunk-PM2NRK6Y.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-KY2NAAX7.js";
|
|
42
42
|
import "./chunk-BG4HHB7E.js";
|
|
43
43
|
import "./chunk-CXQWDQCJ.js";
|
|
44
44
|
import {
|
|
45
45
|
canonicalJsonText
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-ZJRMS7X2.js";
|
|
47
47
|
import "./chunk-MLKGABMK.js";
|
|
48
48
|
|
|
49
49
|
// src/codex-session-launch.ts
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
malformedApiKeyMessage,
|
|
10
10
|
readApiKey,
|
|
11
11
|
resetKeyDriftWarning
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-CV6NQKHB.js";
|
|
13
|
+
import "./chunk-KY2NAAX7.js";
|
|
14
14
|
import "./chunk-CXQWDQCJ.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-ZJRMS7X2.js";
|
|
16
16
|
import "./chunk-MLKGABMK.js";
|
|
17
17
|
export {
|
|
18
18
|
MalformedApiKeyError,
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
recordUnfinishedUpgrade,
|
|
8
8
|
upgradeInstalledPackage,
|
|
9
9
|
withUpgradeLock
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-RGGOB2KA.js";
|
|
11
|
+
import "./chunk-JUEVORTN.js";
|
|
12
|
+
import "./chunk-WDMIWOGT.js";
|
|
13
|
+
import "./chunk-VR6GDL6U.js";
|
|
14
14
|
import "./chunk-TCE3J44Z.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-AIWP5HX6.js";
|
|
16
16
|
import "./chunk-POFBE6ZY.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-YN34CTII.js";
|
|
18
18
|
import "./chunk-6ICPEJY5.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-UFFEQEVI.js";
|
|
20
20
|
import "./chunk-PM2NRK6Y.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-KY2NAAX7.js";
|
|
22
22
|
import "./chunk-BG4HHB7E.js";
|
|
23
23
|
import "./chunk-CXQWDQCJ.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-ZJRMS7X2.js";
|
|
25
25
|
import "./chunk-MLKGABMK.js";
|
|
26
26
|
export {
|
|
27
27
|
finishGlobalUpgrade,
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
getMachineId,
|
|
3
3
|
getOrCreateMachineId,
|
|
4
4
|
readExistingMachineId
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-RF4RU7HT.js";
|
|
6
|
+
import "./chunk-YN34CTII.js";
|
|
7
7
|
import "./chunk-6ICPEJY5.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-UFFEQEVI.js";
|
|
9
9
|
import "./chunk-PM2NRK6Y.js";
|
|
10
10
|
import "./chunk-BG4HHB7E.js";
|
|
11
11
|
import "./chunk-CXQWDQCJ.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-ZJRMS7X2.js";
|
|
13
13
|
import "./chunk-MLKGABMK.js";
|
|
14
14
|
export {
|
|
15
15
|
getMachineId,
|
|
@@ -27,11 +27,11 @@ import {
|
|
|
27
27
|
resolveControlPolicy,
|
|
28
28
|
resolveProviderBinary,
|
|
29
29
|
trackProviderInventory
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-WDMIWOGT.js";
|
|
31
|
+
import "./chunk-VR6GDL6U.js";
|
|
32
32
|
import "./chunk-TCE3J44Z.js";
|
|
33
33
|
import "./chunk-6ICPEJY5.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-UFFEQEVI.js";
|
|
35
35
|
import "./chunk-PM2NRK6Y.js";
|
|
36
36
|
import "./chunk-BG4HHB7E.js";
|
|
37
37
|
import "./chunk-CXQWDQCJ.js";
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
GEMINI_RESUME_CAPABILITY,
|
|
45
45
|
OPENCODE_BRIDGE_CAPABILITY,
|
|
46
46
|
SPAWN_CAPABILITY
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-ZJRMS7X2.js";
|
|
48
48
|
import "./chunk-MLKGABMK.js";
|
|
49
49
|
export {
|
|
50
50
|
CLAUDE_BRIDGE_CAPABILITY,
|
|
@@ -41,13 +41,13 @@ import {
|
|
|
41
41
|
serviceOwedBackMark,
|
|
42
42
|
vscodePluginDir,
|
|
43
43
|
vscodePluginMcp
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-YN34CTII.js";
|
|
45
45
|
import "./chunk-6ICPEJY5.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-UFFEQEVI.js";
|
|
47
47
|
import "./chunk-PM2NRK6Y.js";
|
|
48
48
|
import "./chunk-BG4HHB7E.js";
|
|
49
49
|
import "./chunk-CXQWDQCJ.js";
|
|
50
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-ZJRMS7X2.js";
|
|
51
51
|
import "./chunk-MLKGABMK.js";
|
|
52
52
|
export {
|
|
53
53
|
autoUpdateLock,
|