@pushary/agent-hooks 1.9.170 → 1.9.171
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 +8 -0
- package/dist/{api-3KBPIGV4.js → api-WOLCBFMV.js} +8 -8
- package/dist/bin/pushary-audit.js +1 -1
- package/dist/bin/pushary-bell-hook.js +22 -22
- package/dist/bin/pushary-bell.js +6 -6
- package/dist/bin/pushary-calls.js +10 -10
- package/dist/bin/pushary-claude.js +23 -23
- package/dist/bin/pushary-clean.js +37 -35
- package/dist/bin/pushary-codex-bridge.js +20 -20
- package/dist/bin/pushary-codex-hook.js +27 -27
- package/dist/bin/pushary-codex-session.js +6 -6
- package/dist/bin/pushary-codex.js +9 -9
- package/dist/bin/pushary-connect.js +24 -24
- package/dist/bin/pushary-daemon.js +38 -38
- package/dist/bin/pushary-disconnect.js +19 -19
- package/dist/bin/pushary-display-hook.js +26 -26
- package/dist/bin/pushary-doctor.js +40 -39
- package/dist/bin/pushary-elicitation-hook.js +22 -22
- package/dist/bin/pushary-gemini-bridge.js +15 -15
- package/dist/bin/pushary-gemini-hook.js +25 -25
- package/dist/bin/pushary-hook.js +27 -27
- package/dist/bin/pushary-login.js +24 -18
- package/dist/bin/pushary-logout.js +28 -20
- package/dist/bin/pushary-mcp.js +9 -9
- package/dist/bin/pushary-mode.js +10 -10
- package/dist/bin/pushary-notification-hook.js +21 -21
- package/dist/bin/pushary-opencode-hook.js +25 -25
- package/dist/bin/pushary-permission-denied-hook.js +27 -27
- package/dist/bin/pushary-permission-hook.js +27 -27
- package/dist/bin/pushary-post-hook.js +22 -22
- package/dist/bin/pushary-prompt-hook.js +21 -21
- package/dist/bin/pushary-session-end-hook.js +23 -23
- package/dist/bin/pushary-session-start-hook.js +32 -32
- package/dist/bin/pushary-sessions.js +8 -8
- package/dist/bin/pushary-setup.js +58 -49
- package/dist/bin/pushary-status.js +25 -25
- package/dist/bin/pushary-stop-hook.js +21 -21
- package/dist/bin/pushary-stopfailure-hook.js +21 -21
- package/dist/bin/pushary-suggestions.js +10 -10
- package/dist/bin/pushary-transcript-register.js +14 -14
- package/dist/bin/pushary-transcripts.js +21 -21
- package/dist/bin/pushary-upgrade.js +35 -35
- package/dist/bin/pushary-wait.js +10 -10
- package/dist/bin/pushary.js +5 -5
- package/dist/{chunk-GFWQNXX7.js → chunk-2RN7D6VI.js} +4 -4
- package/dist/{chunk-MPCJB6I7.js → chunk-2XEZJK7G.js} +5 -5
- package/dist/{chunk-EBHIVYSD.js → chunk-3GIVPZIS.js} +2 -2
- package/dist/{chunk-6KL27ETS.js → chunk-3PQWVDW5.js} +8 -8
- package/dist/{chunk-352FIVVH.js → chunk-55L4JSPA.js} +1 -1
- package/dist/{chunk-65U6TH6P.js → chunk-5EU7V5CT.js} +2 -2
- package/dist/{chunk-5TNFIUN3.js → chunk-5GUZJIEL.js} +3 -3
- package/dist/{chunk-2OMWK322.js → chunk-5HT352IV.js} +4 -4
- package/dist/{chunk-RSVW634O.js → chunk-7L3MVK44.js} +4 -4
- package/dist/{chunk-HP5RU3OU.js → chunk-7ODDR6FA.js} +2 -2
- package/dist/{chunk-JTFD3KQ6.js → chunk-7XSZK4DH.js} +221 -72
- package/dist/{chunk-TGYM6UQJ.js → chunk-A3JTWB74.js} +2 -2
- package/dist/{chunk-FD7JHIET.js → chunk-AUF4BMGA.js} +8 -8
- package/dist/{chunk-ZA7N6SUH.js → chunk-BKVQKWLY.js} +4 -4
- package/dist/{chunk-BX45H3DU.js → chunk-CJODSIXH.js} +2 -2
- package/dist/{chunk-NJSBHEEW.js → chunk-CUWHBFBB.js} +1 -1
- package/dist/{chunk-LILP3T24.js → chunk-D3TNLVVL.js} +3 -3
- package/dist/{chunk-LML7I4FY.js → chunk-D6OCHPLT.js} +1 -1
- package/dist/{chunk-CNPTWWKJ.js → chunk-DCYRV2BJ.js} +3 -3
- package/dist/{chunk-SDLL4YPS.js → chunk-DRRFOQGF.js} +2 -2
- package/dist/{chunk-FTE5ECGI.js → chunk-E7ATFUXV.js} +3 -3
- package/dist/{chunk-5OI4EW6G.js → chunk-EGDFXMFK.js} +2 -2
- package/dist/{chunk-MPJAXUN2.js → chunk-EQQOEDQZ.js} +6 -6
- package/dist/{chunk-OJUW7QW2.js → chunk-FAMKGTCF.js} +1 -1
- package/dist/{chunk-DVBRMNFM.js → chunk-FCNYCY6G.js} +2 -2
- package/dist/{chunk-TTTMOX73.js → chunk-FFJX6YOQ.js} +1 -1
- package/dist/{chunk-XI7MSL4R.js → chunk-FIJPDZIR.js} +6 -6
- package/dist/{chunk-TIRZZCS4.js → chunk-FJF2D32S.js} +2 -2
- package/dist/{chunk-W4TTC7MU.js → chunk-FP4W2EI6.js} +11 -11
- package/dist/{chunk-BZILLAPJ.js → chunk-G7U5TFPY.js} +1 -1
- package/dist/{chunk-EPBS4KJR.js → chunk-GTB4MBMU.js} +5 -5
- package/dist/{chunk-TNYOSIAY.js → chunk-HBJLJHZF.js} +2 -2
- package/dist/{chunk-DXHRKDP7.js → chunk-HRUKMGRH.js} +2 -2
- package/dist/{chunk-K5HACZJ3.js → chunk-I72TVBOG.js} +3 -3
- package/dist/{chunk-OHVQ75S7.js → chunk-IYTTLDB5.js} +1 -1
- package/dist/{chunk-JNUZYDUC.js → chunk-J2CRP5GN.js} +3 -3
- package/dist/{chunk-IWKEIVDF.js → chunk-JE6NVEOE.js} +1 -1
- package/dist/{chunk-LEXVQXZU.js → chunk-JNVUOEKM.js} +3 -3
- package/dist/{chunk-VX6ZYAOA.js → chunk-JUE347Z7.js} +6 -6
- package/dist/{chunk-UDPXX6YR.js → chunk-KMKU2INV.js} +1 -1
- package/dist/{chunk-OKM76UDB.js → chunk-KNFZORNH.js} +1 -1
- package/dist/{chunk-SADLXUUA.js → chunk-KQXKDF4N.js} +4 -4
- package/dist/{chunk-TBH5WLIA.js → chunk-LABBFTYJ.js} +4 -4
- package/dist/{chunk-NWKXT7LC.js → chunk-LEAACRFN.js} +1 -1
- package/dist/{chunk-IGKHWARK.js → chunk-MJMRJ5ZF.js} +2 -2
- package/dist/{chunk-YEZL4T4K.js → chunk-MV7NJYJX.js} +3 -3
- package/dist/{chunk-7RNLPI6H.js → chunk-NJNK3ZUC.js} +2 -2
- package/dist/{chunk-HZANYISD.js → chunk-NWHMER6L.js} +1 -1
- package/dist/{chunk-TODDEIYG.js → chunk-PM2NRK6Y.js} +12 -2
- package/dist/{chunk-7E4OSMST.js → chunk-PQEX64YL.js} +3 -3
- package/dist/{chunk-RGE64J2V.js → chunk-RPMVO2RJ.js} +1 -1
- package/dist/{chunk-T33PQ3TE.js → chunk-SJDYK47V.js} +6 -6
- package/dist/{chunk-HXVCULWA.js → chunk-SM65Z6CM.js} +3 -3
- package/dist/{chunk-NYDJHJIJ.js → chunk-SQCW64C2.js} +5 -5
- package/dist/{chunk-CYTPQDQY.js → chunk-TCE3J44Z.js} +1 -1
- package/dist/{chunk-SKDSU735.js → chunk-U2XCKXBH.js} +4 -4
- package/dist/{chunk-BFZHRQJU.js → chunk-UB5G7ZZN.js} +1 -1
- package/dist/{chunk-3UNQJ6AO.js → chunk-UHKYKZQ5.js} +12 -12
- package/dist/{chunk-XR27HPYC.js → chunk-UOPOVQ2P.js} +2 -1
- package/dist/{chunk-LT3B5432.js → chunk-V762IZHX.js} +1 -1
- package/dist/{chunk-Y6ILCLKE.js → chunk-VRNGMRJA.js} +1 -1
- package/dist/{chunk-CXKAP6DR.js → chunk-W46HI6T3.js} +3 -3
- package/dist/{chunk-QJNI6MPV.js → chunk-WKRKTQLA.js} +2 -2
- package/dist/{chunk-3ZO7WCMV.js → chunk-XHUR62AQ.js} +1 -1
- package/dist/{chunk-MVWWEQQG.js → chunk-Y54VMOE5.js} +2 -2
- package/dist/{chunk-57MF5I5V.js → chunk-YG3KWXGC.js} +4 -4
- package/dist/{chunk-L6UCFQKZ.js → chunk-ZHO263F6.js} +3 -3
- package/dist/{chunk-KE5ED475.js → chunk-ZLMWP6X4.js} +3 -3
- package/dist/{codex-app-cards-switch-AKCQRBUP.js → codex-app-cards-switch-TRZKDOVK.js} +9 -9
- package/dist/{codex-desktop-launch-SCQW4KAV.js → codex-desktop-launch-AI5J526F.js} +1 -1
- package/dist/{codex-session-launch-4EVYIYEQ.js → codex-session-launch-UWD7U2LW.js} +18 -18
- package/dist/{global-upgrade-WHSNOE3E.js → global-upgrade-4K5SGI7Q.js} +9 -9
- package/dist/{identity-NEXDWMLO.js → identity-MRXHTKAC.js} +4 -4
- package/dist/{live-capabilities-CC7L4VDX.js → live-capabilities-PO5JOGZJ.js} +5 -5
- package/dist/{paths-J3MVJDQI.js → paths-AXIBD5XG.js} +3 -3
- package/dist/{reapply-6FNUVXCL.js → reapply-7FJNSGUM.js} +24 -24
- package/dist/src/index.js +27 -27
- package/dist/{upgrade-lock-7PPYIRBP.js → upgrade-lock-G3RQPHYM.js} +4 -4
- package/package.json +1 -1
|
@@ -2649,8 +2649,8 @@ var init_claude_config_paths = __esm({
|
|
|
2649
2649
|
});
|
|
2650
2650
|
|
|
2651
2651
|
// src/cli/fsx.ts
|
|
2652
|
-
import { constants as fsConstants, copyFileSync, fstatSync, lstatSync, realpathSync, existsSync, fchmodSync, fsyncSync, mkdirSync, openSync, closeSync, readFileSync as readFileSync4, renameSync as renameSync2, statSync, unlinkSync as unlinkSync2, writeFileSync as writeFileSync2 } from "fs";
|
|
2653
|
-
import { dirname as dirname2, join as join5 } from "path";
|
|
2652
|
+
import { constants as fsConstants, chmodSync, copyFileSync, fstatSync, lstatSync, realpathSync, existsSync, fchmodSync, fsyncSync, mkdirSync, openSync, closeSync, readFileSync as readFileSync4, renameSync as renameSync2, statSync, unlinkSync as unlinkSync2, writeFileSync as writeFileSync2 } from "fs";
|
|
2653
|
+
import { basename, dirname as dirname2, join as join5 } from "path";
|
|
2654
2654
|
var readJsonSafe, READ_WITHOUT_WAITING, stamp, replaceThroughTempFile, jsonFileContents, writeJsonAtomicWithoutFsync;
|
|
2655
2655
|
var init_fsx = __esm({
|
|
2656
2656
|
"src/cli/fsx.ts"() {
|
|
@@ -3128,8 +3128,8 @@ import { join as join4 } from "path";
|
|
|
3128
3128
|
init_fsx();
|
|
3129
3129
|
init_paths();
|
|
3130
3130
|
import { createHash as createHash10 } from "crypto";
|
|
3131
|
-
import { lstatSync as
|
|
3132
|
-
import { basename as
|
|
3131
|
+
import { lstatSync as lstatSync6, readFileSync as readFileSync19, readdirSync as readdirSync3, realpathSync as realpathSync4, statSync as statSync6, unlinkSync as unlinkSync5 } from "fs";
|
|
3132
|
+
import { basename as basename5, dirname as dirname10, isAbsolute as isAbsolute2, join as join22, relative as relative2, resolve as resolve4, sep } from "path";
|
|
3133
3133
|
|
|
3134
3134
|
// src/transcript-phone-trust.ts
|
|
3135
3135
|
import { createHash as createHash5 } from "crypto";
|
|
@@ -7406,9 +7406,9 @@ init_claude_config_paths();
|
|
|
7406
7406
|
// src/keystore.ts
|
|
7407
7407
|
init_src();
|
|
7408
7408
|
init_fsx();
|
|
7409
|
-
import { chmodSync, existsSync as existsSync5, readFileSync as readFileSync11, realpathSync as realpathSync2, writeFileSync as writeFileSync3 } from "fs";
|
|
7409
|
+
import { chmodSync as chmodSync2, constants as fsConstants2, copyFileSync as copyFileSync2, existsSync as existsSync5, lstatSync as lstatSync4, mkdirSync as mkdirSync4, readdirSync as readdirSync2, readFileSync as readFileSync11, realpathSync as realpathSync2, rmSync as rmSync2, statSync as statSync3, writeFileSync as writeFileSync3 } from "fs";
|
|
7410
7410
|
import { homedir as homedir7 } from "os";
|
|
7411
|
-
import { join as join14 } from "path";
|
|
7411
|
+
import { basename as basename2, dirname as dirname5, isAbsolute, join as join14, relative } from "path";
|
|
7412
7412
|
|
|
7413
7413
|
// src/install-source.ts
|
|
7414
7414
|
init_src();
|
|
@@ -7427,7 +7427,7 @@ var readTranscriptPreference = () => {
|
|
|
7427
7427
|
// src/transcript-reader.ts
|
|
7428
7428
|
import { createHash as createHash8 } from "crypto";
|
|
7429
7429
|
import { join as join15 } from "path";
|
|
7430
|
-
import { closeSync as closeSync4, fstatSync as fstatSync4, openSync as openSync4, readFileSync as readFileSync14, readSync as readSync2, statSync as
|
|
7430
|
+
import { closeSync as closeSync4, fstatSync as fstatSync4, openSync as openSync4, readFileSync as readFileSync14, readSync as readSync2, statSync as statSync4 } from "fs";
|
|
7431
7431
|
|
|
7432
7432
|
// src/transcript-source.ts
|
|
7433
7433
|
init_src();
|
|
@@ -7474,8 +7474,8 @@ var hermesSnapshot = external_exports.object({
|
|
|
7474
7474
|
|
|
7475
7475
|
// src/transcript-snapshot-journal.ts
|
|
7476
7476
|
init_src();
|
|
7477
|
-
import { lstatSync as
|
|
7478
|
-
import { dirname as
|
|
7477
|
+
import { lstatSync as lstatSync5, mkdirSync as mkdirSync5, readFileSync as readFileSync13 } from "fs";
|
|
7478
|
+
import { dirname as dirname6 } from "path";
|
|
7479
7479
|
init_fsx();
|
|
7480
7480
|
|
|
7481
7481
|
// src/transcript-projection.ts
|
|
@@ -7840,8 +7840,8 @@ var hookOwnerOfCommands = (commands, appAvailable = true) => {
|
|
|
7840
7840
|
|
|
7841
7841
|
// src/daemon-lifecycle.ts
|
|
7842
7842
|
init_src();
|
|
7843
|
-
import { dirname as
|
|
7844
|
-
import { existsSync as existsSync6, mkdirSync as
|
|
7843
|
+
import { dirname as dirname9, join as join21, win32 as win32Path } from "path";
|
|
7844
|
+
import { existsSync as existsSync6, mkdirSync as mkdirSync8, readFileSync as readFileSync18, realpathSync as realpathSync3, renameSync as renameSync3, statSync as statSync5, unlinkSync as unlinkSync4, writeFileSync as writeFileSync5 } from "fs";
|
|
7845
7845
|
import { createHash as createHash9, randomUUID as randomUUID3 } from "crypto";
|
|
7846
7846
|
import { homedir as homedir8, uptime, userInfo } from "os";
|
|
7847
7847
|
|
|
@@ -7849,8 +7849,8 @@ import { homedir as homedir8, uptime, userInfo } from "os";
|
|
|
7849
7849
|
init_fsx();
|
|
7850
7850
|
init_paths();
|
|
7851
7851
|
import { randomUUID as randomUUID2 } from "crypto";
|
|
7852
|
-
import { linkSync, mkdirSync as
|
|
7853
|
-
import { dirname as
|
|
7852
|
+
import { linkSync, mkdirSync as mkdirSync6, readFileSync as readFileSync15, rmSync as rmSync3, writeFileSync as writeFileSync4 } from "fs";
|
|
7853
|
+
import { dirname as dirname7, join as join18 } from "path";
|
|
7854
7854
|
|
|
7855
7855
|
// src/daemon-lifecycle.ts
|
|
7856
7856
|
init_version();
|
|
@@ -7870,8 +7870,8 @@ import { execFileSync as execFileSync3 } from "child_process";
|
|
|
7870
7870
|
|
|
7871
7871
|
// src/daemon-entry-guard.ts
|
|
7872
7872
|
init_fsx();
|
|
7873
|
-
import { mkdirSync as
|
|
7874
|
-
import { basename, dirname as
|
|
7873
|
+
import { mkdirSync as mkdirSync7, readFileSync as readFileSync17 } from "fs";
|
|
7874
|
+
import { basename as basename3, dirname as dirname8, join as join19 } from "path";
|
|
7875
7875
|
var DAEMON_ENTRY_GUARD_SOURCE = [
|
|
7876
7876
|
"const { existsSync } = require('node:fs')",
|
|
7877
7877
|
"if (process.argv[1] && !existsSync(process.argv[1])) process.exit(0)",
|
|
@@ -7939,7 +7939,7 @@ var firstString = (...values) => values.find((v) => typeof v === "string" && v.l
|
|
|
7939
7939
|
// ../hook-mapping/src/map.ts
|
|
7940
7940
|
init_src();
|
|
7941
7941
|
init_src();
|
|
7942
|
-
import { basename as
|
|
7942
|
+
import { basename as basename4 } from "path";
|
|
7943
7943
|
var AGENT_IDENTITIES = {
|
|
7944
7944
|
claude: { type: "claude_code", label: AGENT_LABELS_BY_TYPE.claude_code },
|
|
7945
7945
|
codex: { type: "codex", label: AGENT_LABELS_BY_TYPE.codex },
|
|
@@ -8069,7 +8069,7 @@ var cliRegistry = (apiKey = getApiKey()) => ({ apiKey, baseUrl: getBaseUrl(), di
|
|
|
8069
8069
|
var accountFor = (registry) => createHash10("sha256").update(`${registry.baseUrl}\0${registry.apiKey}`).digest("hex");
|
|
8070
8070
|
var TTL = 48 * 60 * 60 * 1e3;
|
|
8071
8071
|
var read = (path) => {
|
|
8072
|
-
if (
|
|
8072
|
+
if (statSync6(path).size > 16384) throw new Error("History registration exceeds its size limit");
|
|
8073
8073
|
return storedRegistrationSchema.parse(JSON.parse(readFileSync19(path, "utf8")));
|
|
8074
8074
|
};
|
|
8075
8075
|
var consent = (record) => record.consentOverride ?? readTranscriptPreference() ?? true;
|
|
@@ -8105,15 +8105,15 @@ var transcriptRoots = (source) => {
|
|
|
8105
8105
|
const configured = process.env.CLAUDE_CONFIG_DIR;
|
|
8106
8106
|
return [join22(configured || join22(home, ".claude"), TRANSCRIPT_ROOT_NAME.claude), join22(home, ".claude", TRANSCRIPT_ROOT_NAME.claude)];
|
|
8107
8107
|
};
|
|
8108
|
-
var isAgentTranscriptRoot = (root, source) =>
|
|
8108
|
+
var isAgentTranscriptRoot = (root, source) => isAbsolute2(root) && resolve4(root) === root && basename5(root) === TRANSCRIPT_ROOT_NAME[source];
|
|
8109
8109
|
var acceptedTranscriptRoots = (source, registeredRoot) => typeof registeredRoot === "string" && isAgentTranscriptRoot(registeredRoot, source) ? [...transcriptRoots(source), registeredRoot] : transcriptRoots(source);
|
|
8110
8110
|
var resolvedSourcePath = (path) => {
|
|
8111
8111
|
const absolute = resolve4(path);
|
|
8112
8112
|
try {
|
|
8113
8113
|
return realpathSync4(absolute);
|
|
8114
8114
|
} catch {
|
|
8115
|
-
const parent =
|
|
8116
|
-
return parent === absolute ? absolute : join22(resolvedSourcePath(parent),
|
|
8115
|
+
const parent = dirname10(absolute);
|
|
8116
|
+
return parent === absolute ? absolute : join22(resolvedSourcePath(parent), basename5(absolute));
|
|
8117
8117
|
}
|
|
8118
8118
|
};
|
|
8119
8119
|
var transcriptRootContaining = (candidate, roots) => {
|
|
@@ -8125,15 +8125,15 @@ var captureRegistration = (source, value, registeredRoot) => {
|
|
|
8125
8125
|
if (source !== "claude" && source !== "codex" && source !== "gemini" && source !== "cursor" && source !== "hermes") return null;
|
|
8126
8126
|
const sessionId = input.session_id ?? input.conversation_id;
|
|
8127
8127
|
if (input.agent_id || typeof sessionId !== "string" || !/^[\w-]{1,128}$/.test(sessionId)) return null;
|
|
8128
|
-
if (typeof input.cwd !== "string" || !
|
|
8128
|
+
if (typeof input.cwd !== "string" || !isAbsolute2(input.cwd)) return null;
|
|
8129
8129
|
const path = input.transcript_path ?? input.agent_transcript_path ?? (source === "claude" ? claudeTranscriptPath(input.cwd, sessionId) : null);
|
|
8130
|
-
if (typeof path !== "string" || !
|
|
8130
|
+
if (typeof path !== "string" || !isAbsolute2(path) || !(path.endsWith(".jsonl") || (source === "gemini" || source === "hermes") && path.endsWith(".json"))) return null;
|
|
8131
8131
|
const root = transcriptRootContaining(path, acceptedTranscriptRoots(source, registeredRoot));
|
|
8132
8132
|
if (root === null) return null;
|
|
8133
|
-
const segments =
|
|
8134
|
-
if (source === "hermes" && (segments.length !== 2 || !/^[a-f0-9]{64}$/.test(segments[0] ?? "") ||
|
|
8135
|
-
if (source === "gemini" && (segments.length !== 3 || segments[1] !== "chats" || !
|
|
8136
|
-
if (source === "cursor" && (segments[1] !== "agent-transcripts" ||
|
|
8133
|
+
const segments = relative2(root, path).split(sep);
|
|
8134
|
+
if (source === "hermes" && (segments.length !== 2 || !/^[a-f0-9]{64}$/.test(segments[0] ?? "") || basename5(path) !== `${sessionId}.json`)) return null;
|
|
8135
|
+
if (source === "gemini" && (segments.length !== 3 || segments[1] !== "chats" || !basename5(path).startsWith("session-"))) return null;
|
|
8136
|
+
if (source === "cursor" && (segments[1] !== "agent-transcripts" || basename5(path) !== `${sessionId}.jsonl` || !(segments.length === 3 || segments.length === 4 && basename5(dirname10(path)) === sessionId))) return null;
|
|
8137
8137
|
return { sessionId, cwd: input.cwd, path, source, root };
|
|
8138
8138
|
};
|
|
8139
8139
|
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
openClawRepairStep,
|
|
5
5
|
readHermesShellGate,
|
|
6
6
|
readSetupFailure
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-7L3MVK44.js";
|
|
8
8
|
import {
|
|
9
9
|
CODEX_HOOK_REMEDY,
|
|
10
10
|
HERMES_RESTART_COMMAND,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
describeHermesShellGate,
|
|
13
13
|
describeHermesState,
|
|
14
14
|
hermesRepairStep
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-5GUZJIEL.js";
|
|
16
16
|
import {
|
|
17
17
|
describeWaitLadder
|
|
18
18
|
} from "../chunk-CVWG2N3Y.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "../chunk-GZZ7XGL5.js";
|
|
23
23
|
import {
|
|
24
24
|
fetchChannels
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-CJODSIXH.js";
|
|
26
26
|
import "../chunk-3EGEA4KH.js";
|
|
27
27
|
import {
|
|
28
28
|
GET_THE_APP_STEP,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
reachVerdict,
|
|
34
34
|
roundTripEvidence,
|
|
35
35
|
verifyRoundTrip
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-SM65Z6CM.js";
|
|
37
37
|
import {
|
|
38
38
|
daemonStopsAtLogout,
|
|
39
39
|
lingerDoctorDetail,
|
|
@@ -42,17 +42,17 @@ import {
|
|
|
42
42
|
import {
|
|
43
43
|
readMachineReadiness,
|
|
44
44
|
readManagedControlEvidence
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-U2XCKXBH.js";
|
|
46
46
|
import {
|
|
47
47
|
assessCodexHookTrust,
|
|
48
48
|
readCodexTrustForPusharyHooks
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-DCYRV2BJ.js";
|
|
50
50
|
import {
|
|
51
51
|
SIGNED_OUT_ON_MAC_MESSAGE,
|
|
52
52
|
activeKeyVerdictOf,
|
|
53
53
|
describeSignedOutKey,
|
|
54
54
|
readSignedOutDiagnosis
|
|
55
|
-
} from "../chunk-
|
|
55
|
+
} from "../chunk-LEAACRFN.js";
|
|
56
56
|
import {
|
|
57
57
|
agentProbes,
|
|
58
58
|
detectAgent,
|
|
@@ -61,13 +61,13 @@ import {
|
|
|
61
61
|
isPluginRegistered,
|
|
62
62
|
shortenHome,
|
|
63
63
|
vscodeSettingsTargets
|
|
64
|
-
} from "../chunk-
|
|
64
|
+
} from "../chunk-2XEZJK7G.js";
|
|
65
65
|
import "../chunk-OYIN77HO.js";
|
|
66
66
|
import {
|
|
67
67
|
CONNECTED_THROUGH_MAC_APP,
|
|
68
68
|
keyWrittenByMacApp,
|
|
69
69
|
readMacAppConnectionWhenKeyless
|
|
70
|
-
} from "../chunk-
|
|
70
|
+
} from "../chunk-2RN7D6VI.js";
|
|
71
71
|
import {
|
|
72
72
|
findHermesLauncher,
|
|
73
73
|
hasUpdateFrom,
|
|
@@ -81,13 +81,13 @@ import {
|
|
|
81
81
|
routesHermesQuestions,
|
|
82
82
|
runsAnOlderPlugin,
|
|
83
83
|
shippedHermesPlugin
|
|
84
|
-
} from "../chunk-
|
|
84
|
+
} from "../chunk-SQCW64C2.js";
|
|
85
85
|
import "../chunk-QCGNGEGE.js";
|
|
86
86
|
import {
|
|
87
87
|
findOpenClawLauncher,
|
|
88
88
|
isOpenClawWired,
|
|
89
89
|
openClawPathsNow
|
|
90
|
-
} from "../chunk-
|
|
90
|
+
} from "../chunk-MV7NJYJX.js";
|
|
91
91
|
import {
|
|
92
92
|
FX_PROFILE_REFUSALS,
|
|
93
93
|
FX_PUSHARY_TOOLS_RULE,
|
|
@@ -97,11 +97,11 @@ import {
|
|
|
97
97
|
inspectClineInstallation,
|
|
98
98
|
inspectFxInstallation,
|
|
99
99
|
inspectFxPusharyHttpWiring
|
|
100
|
-
} from "../chunk-
|
|
100
|
+
} from "../chunk-SJDYK47V.js";
|
|
101
101
|
import {
|
|
102
102
|
retryAgentCommand
|
|
103
|
-
} from "../chunk-
|
|
104
|
-
import "../chunk-
|
|
103
|
+
} from "../chunk-FJF2D32S.js";
|
|
104
|
+
import "../chunk-XHUR62AQ.js";
|
|
105
105
|
import {
|
|
106
106
|
cliOwnsAnyAgentHooks,
|
|
107
107
|
macAppBridgeAvailable,
|
|
@@ -110,14 +110,14 @@ import {
|
|
|
110
110
|
openCodePluginDir,
|
|
111
111
|
openCodePluginFile,
|
|
112
112
|
openCodeWired
|
|
113
|
-
} from "../chunk-
|
|
113
|
+
} from "../chunk-KQXKDF4N.js";
|
|
114
114
|
import {
|
|
115
115
|
OPENCODE_PLUGIN_PLACEHOLDER
|
|
116
116
|
} from "../chunk-UCND4JHN.js";
|
|
117
117
|
import {
|
|
118
118
|
keyScopeOf,
|
|
119
119
|
pushWindowChangeStep
|
|
120
|
-
} from "../chunk-
|
|
120
|
+
} from "../chunk-D6OCHPLT.js";
|
|
121
121
|
import {
|
|
122
122
|
createIo
|
|
123
123
|
} from "../chunk-DXUPOVJP.js";
|
|
@@ -130,9 +130,9 @@ import {
|
|
|
130
130
|
expectedLaunchCapabilities,
|
|
131
131
|
hasSpawnProvider,
|
|
132
132
|
resolveControlPolicy
|
|
133
|
-
} from "../chunk-
|
|
134
|
-
import "../chunk-
|
|
135
|
-
import "../chunk-
|
|
133
|
+
} from "../chunk-E7ATFUXV.js";
|
|
134
|
+
import "../chunk-7ODDR6FA.js";
|
|
135
|
+
import "../chunk-TCE3J44Z.js";
|
|
136
136
|
import {
|
|
137
137
|
readLedgerSummary
|
|
138
138
|
} from "../chunk-2SMEEXDR.js";
|
|
@@ -143,7 +143,7 @@ import {
|
|
|
143
143
|
describeAutoUpdateCheck,
|
|
144
144
|
readAutoUpdateState,
|
|
145
145
|
takeAutoUpdateAnnouncement
|
|
146
|
-
} from "../chunk-
|
|
146
|
+
} from "../chunk-HBJLJHZF.js";
|
|
147
147
|
import {
|
|
148
148
|
compatibleConfigFile,
|
|
149
149
|
compatibleInstructionsFile,
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
hasCompatibleHooks,
|
|
152
152
|
hasCompatibleMcpServer,
|
|
153
153
|
missingCompatibleHookEvents
|
|
154
|
-
} from "../chunk-
|
|
154
|
+
} from "../chunk-W46HI6T3.js";
|
|
155
155
|
import {
|
|
156
156
|
daemonHasRemoteProof,
|
|
157
157
|
daemonServiceManagerAvailable,
|
|
@@ -164,7 +164,7 @@ import {
|
|
|
164
164
|
readServiceExecPath,
|
|
165
165
|
serviceStartFileChecks,
|
|
166
166
|
versionManagerOf
|
|
167
|
-
} from "../chunk-
|
|
167
|
+
} from "../chunk-JUE347Z7.js";
|
|
168
168
|
import {
|
|
169
169
|
GEMINI_HOOK_BINARY,
|
|
170
170
|
claudeOtherHolders,
|
|
@@ -184,38 +184,39 @@ import {
|
|
|
184
184
|
holdsLong,
|
|
185
185
|
missingGeminiHookEvents,
|
|
186
186
|
pusharyHookExecutable
|
|
187
|
-
} from "../chunk-
|
|
188
|
-
import "../chunk-
|
|
187
|
+
} from "../chunk-5EU7V5CT.js";
|
|
188
|
+
import "../chunk-FIJPDZIR.js";
|
|
189
189
|
import "../chunk-CFZUESTS.js";
|
|
190
190
|
import "../chunk-CLT4J5N5.js";
|
|
191
|
-
import "../chunk-
|
|
191
|
+
import "../chunk-G7U5TFPY.js";
|
|
192
192
|
import {
|
|
193
193
|
parseFlags
|
|
194
194
|
} from "../chunk-BZIBNSQE.js";
|
|
195
|
-
import "../chunk-
|
|
195
|
+
import "../chunk-VRNGMRJA.js";
|
|
196
196
|
import "../chunk-2TRYSF64.js";
|
|
197
|
-
import "../chunk-
|
|
197
|
+
import "../chunk-PQEX64YL.js";
|
|
198
198
|
import "../chunk-GVIKF73A.js";
|
|
199
199
|
import "../chunk-POFBE6ZY.js";
|
|
200
200
|
import {
|
|
201
201
|
callMcpTool,
|
|
202
202
|
sendMcpRequest
|
|
203
|
-
} from "../chunk-
|
|
203
|
+
} from "../chunk-EGDFXMFK.js";
|
|
204
204
|
import "../chunk-SSKNRWWS.js";
|
|
205
205
|
import {
|
|
206
206
|
checkApiKey,
|
|
207
207
|
describeKeyCheck
|
|
208
|
-
} from "../chunk-
|
|
209
|
-
import "../chunk-
|
|
208
|
+
} from "../chunk-IYTTLDB5.js";
|
|
209
|
+
import "../chunk-KNFZORNH.js";
|
|
210
210
|
import {
|
|
211
211
|
getMachineId
|
|
212
|
-
} from "../chunk-
|
|
212
|
+
} from "../chunk-MJMRJ5ZF.js";
|
|
213
213
|
import {
|
|
214
|
+
keyEnvFilePath,
|
|
214
215
|
keyPrefix,
|
|
215
216
|
readConfigFileKey,
|
|
216
217
|
readControlMode,
|
|
217
218
|
readKeySource
|
|
218
|
-
} from "../chunk-
|
|
219
|
+
} from "../chunk-7XSZK4DH.js";
|
|
219
220
|
import "../chunk-3I3RUJRD.js";
|
|
220
221
|
import {
|
|
221
222
|
CLINE_AUTO_APPROVE_STEP,
|
|
@@ -254,12 +255,12 @@ import {
|
|
|
254
255
|
readCodexMcpAuth,
|
|
255
256
|
resolveBridgeStub,
|
|
256
257
|
vscodePluginDir
|
|
257
|
-
} from "../chunk-
|
|
258
|
+
} from "../chunk-DRRFOQGF.js";
|
|
258
259
|
import {
|
|
259
260
|
fetchLatestPublishedVersion,
|
|
260
261
|
readGlobalCliInstall,
|
|
261
262
|
resolvePathBinary
|
|
262
|
-
} from "../chunk-
|
|
263
|
+
} from "../chunk-D3TNLVVL.js";
|
|
263
264
|
import {
|
|
264
265
|
getBaseUrl
|
|
265
266
|
} from "../chunk-A2DVMIX4.js";
|
|
@@ -268,7 +269,7 @@ import {
|
|
|
268
269
|
} from "../chunk-CINBAX5G.js";
|
|
269
270
|
import {
|
|
270
271
|
readJsonSafe
|
|
271
|
-
} from "../chunk-
|
|
272
|
+
} from "../chunk-PM2NRK6Y.js";
|
|
272
273
|
import {
|
|
273
274
|
EXIT
|
|
274
275
|
} from "../chunk-BG4HHB7E.js";
|
|
@@ -896,7 +897,7 @@ var main = async () => {
|
|
|
896
897
|
let apiKey = source.key ?? void 0;
|
|
897
898
|
let keySource = source.kind === "env" ? "env" : source.kind === "config" ? "config-file" : null;
|
|
898
899
|
if (!apiKey) {
|
|
899
|
-
for (const f of SHELL_FILES) {
|
|
900
|
+
for (const f of [keyEnvFilePath(), ...SHELL_FILES]) {
|
|
900
901
|
try {
|
|
901
902
|
const content = readFileSync2(f, "utf-8");
|
|
902
903
|
const match = content.match(/export\s+PUSHARY_API_KEY=['"](pk_[a-f0-9]+\.[a-f0-9]+)['"]/);
|
|
@@ -917,7 +918,7 @@ var main = async () => {
|
|
|
917
918
|
check(
|
|
918
919
|
false,
|
|
919
920
|
"API key readable by hooks",
|
|
920
|
-
`found only in a shell profile (${maskKey(apiKey)}), which hooks do not read \u2014 re-run setup, or open a new terminal`
|
|
921
|
+
`found only in a shell profile or ${keyEnvFilePath()} (${maskKey(apiKey)}), which hooks do not read \u2014 re-run setup, or open a new terminal`
|
|
921
922
|
);
|
|
922
923
|
console.log(` ${dim("Hooks read $PUSHARY_API_KEY, then")} ${dim(pusharyConfigFile())}`);
|
|
923
924
|
} else if (macApp.kind === "connected") {
|
|
@@ -1070,14 +1071,14 @@ var main = async () => {
|
|
|
1070
1071
|
check(keyMatches, "Codex: MCP key embedded (config.toml)", keyMatches ? "no shell export needed" : "differs from your active key \u2014 re-run setup");
|
|
1071
1072
|
} else if (codexAuth?.method === "env") {
|
|
1072
1073
|
const envValue = process.env[codexAuth.envVar]?.trim();
|
|
1073
|
-
const exportedInProfile = SHELL_FILES.some((f) => {
|
|
1074
|
+
const exportedInProfile = [keyEnvFilePath(), ...SHELL_FILES].some((f) => {
|
|
1074
1075
|
try {
|
|
1075
1076
|
return readFileSync2(f, "utf-8").includes(`export ${codexAuth.envVar}=`);
|
|
1076
1077
|
} catch {
|
|
1077
1078
|
return false;
|
|
1078
1079
|
}
|
|
1079
1080
|
});
|
|
1080
|
-
check(!!envValue, `Codex: MCP key available in shell ($${codexAuth.envVar})`, envValue ? "set \u2014 re-run setup to embed the key and drop the shell dependency" : exportedInProfile ?
|
|
1081
|
+
check(!!envValue, `Codex: MCP key available in shell ($${codexAuth.envVar})`, envValue ? "set \u2014 re-run setup to embed the key and drop the shell dependency" : exportedInProfile ? `exported in your profile or ${keyEnvFilePath()} but not in this shell \u2014 restart the terminal, or re-run setup to embed the key in config.toml` : "not set \u2014 Codex reads its key from your shell; re-run setup to embed the key in config.toml");
|
|
1081
1082
|
if (envValue && apiKey && envValue !== apiKey) {
|
|
1082
1083
|
console.log(` ${warn} Codex: $${codexAuth.envVar} differs from your active key ${dim("(rotate or re-run setup so hooks and MCP match)")}`);
|
|
1083
1084
|
}
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readHookInput
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-5HT352IV.js";
|
|
5
|
+
import "../chunk-I72TVBOG.js";
|
|
6
6
|
import {
|
|
7
7
|
announceSubscriptionRequired,
|
|
8
8
|
isDeferAnswer
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-CUWHBFBB.js";
|
|
10
|
+
import "../chunk-AUF4BMGA.js";
|
|
11
11
|
import "../chunk-WHB622LP.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-W46HI6T3.js";
|
|
13
|
+
import "../chunk-JUE347Z7.js";
|
|
14
|
+
import "../chunk-5EU7V5CT.js";
|
|
15
|
+
import "../chunk-FIJPDZIR.js";
|
|
16
16
|
import "../chunk-CFZUESTS.js";
|
|
17
17
|
import "../chunk-CLT4J5N5.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-G7U5TFPY.js";
|
|
19
19
|
import "../chunk-BZIBNSQE.js";
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-HRUKMGRH.js";
|
|
21
|
+
import "../chunk-55L4JSPA.js";
|
|
22
|
+
import "../chunk-UB5G7ZZN.js";
|
|
23
|
+
import "../chunk-VRNGMRJA.js";
|
|
24
24
|
import "../chunk-2TRYSF64.js";
|
|
25
25
|
import {
|
|
26
26
|
askUser,
|
|
27
27
|
isDecisionStopped,
|
|
28
28
|
isQuestionLimitRefusal,
|
|
29
29
|
waitForQuestion
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-PQEX64YL.js";
|
|
31
31
|
import "../chunk-GVIKF73A.js";
|
|
32
32
|
import "../chunk-POFBE6ZY.js";
|
|
33
33
|
import {
|
|
34
34
|
SubscriptionRequiredError
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-EGDFXMFK.js";
|
|
36
36
|
import "../chunk-SSKNRWWS.js";
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-IYTTLDB5.js";
|
|
38
|
+
import "../chunk-KNFZORNH.js";
|
|
39
39
|
import {
|
|
40
40
|
getMachineId
|
|
41
|
-
} from "../chunk-
|
|
42
|
-
import "../chunk-
|
|
41
|
+
} from "../chunk-MJMRJ5ZF.js";
|
|
42
|
+
import "../chunk-7XSZK4DH.js";
|
|
43
43
|
import "../chunk-3I3RUJRD.js";
|
|
44
|
-
import "../chunk-
|
|
45
|
-
import "../chunk-
|
|
44
|
+
import "../chunk-DRRFOQGF.js";
|
|
45
|
+
import "../chunk-D3TNLVVL.js";
|
|
46
46
|
import {
|
|
47
47
|
getApiKey
|
|
48
48
|
} from "../chunk-A2DVMIX4.js";
|
|
49
49
|
import "../chunk-CINBAX5G.js";
|
|
50
|
-
import "../chunk-
|
|
50
|
+
import "../chunk-PM2NRK6Y.js";
|
|
51
51
|
import "../chunk-BG4HHB7E.js";
|
|
52
52
|
import "../chunk-IV7WDCKS.js";
|
|
53
53
|
import "../chunk-UQTQ6HPO.js";
|
|
@@ -5,47 +5,47 @@ import {
|
|
|
5
5
|
postLiveSession,
|
|
6
6
|
postLiveSessionUntilAccepted,
|
|
7
7
|
startLiveSessionHeartbeat
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-KMKU2INV.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveProviderBinary
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-E7ATFUXV.js";
|
|
12
|
+
import "../chunk-7ODDR6FA.js";
|
|
13
13
|
import {
|
|
14
14
|
CommandReceipts,
|
|
15
15
|
controllerCommandSchema
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-FFJX6YOQ.js";
|
|
17
17
|
import {
|
|
18
18
|
SESSION_IDLE_TIMEOUT_MS,
|
|
19
19
|
describeIdleWindow,
|
|
20
20
|
idleDeadlinePassed,
|
|
21
21
|
startProcessOwnership,
|
|
22
22
|
withSpawnProcessOwnership
|
|
23
|
-
} from "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
23
|
+
} from "../chunk-NJNK3ZUC.js";
|
|
24
|
+
import "../chunk-TCE3J44Z.js";
|
|
25
|
+
import "../chunk-HRUKMGRH.js";
|
|
26
|
+
import "../chunk-55L4JSPA.js";
|
|
27
27
|
import {
|
|
28
28
|
transcriptsEnabled
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-UB5G7ZZN.js";
|
|
30
30
|
import {
|
|
31
31
|
spawnClaude
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-VRNGMRJA.js";
|
|
33
33
|
import {
|
|
34
34
|
readCommandAck
|
|
35
35
|
} from "../chunk-GVIKF73A.js";
|
|
36
36
|
import "../chunk-SSKNRWWS.js";
|
|
37
37
|
import {
|
|
38
38
|
getMachineId
|
|
39
|
-
} from "../chunk-
|
|
40
|
-
import "../chunk-
|
|
39
|
+
} from "../chunk-MJMRJ5ZF.js";
|
|
40
|
+
import "../chunk-7XSZK4DH.js";
|
|
41
41
|
import "../chunk-3I3RUJRD.js";
|
|
42
|
-
import "../chunk-
|
|
43
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-DRRFOQGF.js";
|
|
43
|
+
import "../chunk-D3TNLVVL.js";
|
|
44
44
|
import {
|
|
45
45
|
getApiKey,
|
|
46
46
|
getBaseUrl
|
|
47
47
|
} from "../chunk-A2DVMIX4.js";
|
|
48
|
-
import "../chunk-
|
|
48
|
+
import "../chunk-PM2NRK6Y.js";
|
|
49
49
|
import "../chunk-IV7WDCKS.js";
|
|
50
50
|
import "../chunk-UQTQ6HPO.js";
|
|
51
51
|
import "../chunk-L77OIGRB.js";
|
|
@@ -3,30 +3,30 @@ import {
|
|
|
3
3
|
parseGeminiHookInput,
|
|
4
4
|
pushQuestionAndWait,
|
|
5
5
|
scopeQuestionOf
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-WKRKTQLA.js";
|
|
7
7
|
import {
|
|
8
8
|
reportMachineDenial
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-JE6NVEOE.js";
|
|
10
10
|
import {
|
|
11
11
|
isGatingMoment,
|
|
12
12
|
recordKeylessMoment
|
|
13
13
|
} from "../chunk-2SMEEXDR.js";
|
|
14
14
|
import {
|
|
15
15
|
triggerAutoUpdate
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-HBJLJHZF.js";
|
|
17
17
|
import {
|
|
18
18
|
readHookInput
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-5HT352IV.js";
|
|
20
|
+
import "../chunk-I72TVBOG.js";
|
|
21
21
|
import {
|
|
22
22
|
announceSubscriptionRequired,
|
|
23
23
|
isDeferAnswer
|
|
24
|
-
} from "../chunk-
|
|
25
|
-
import "../chunk-
|
|
24
|
+
} from "../chunk-CUWHBFBB.js";
|
|
25
|
+
import "../chunk-AUF4BMGA.js";
|
|
26
26
|
import "../chunk-WHB622LP.js";
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-W46HI6T3.js";
|
|
28
|
+
import "../chunk-JUE347Z7.js";
|
|
29
|
+
import "../chunk-5EU7V5CT.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_SESSION,
|
|
32
32
|
fetchModeState,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
readLastPrompt,
|
|
40
40
|
readLastUserPrompt,
|
|
41
41
|
reportEvent
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-FIJPDZIR.js";
|
|
43
43
|
import {
|
|
44
44
|
deriveActionBody,
|
|
45
45
|
deriveBlocker,
|
|
@@ -48,12 +48,12 @@ import {
|
|
|
48
48
|
scopePathFor
|
|
49
49
|
} from "../chunk-CFZUESTS.js";
|
|
50
50
|
import "../chunk-CLT4J5N5.js";
|
|
51
|
-
import "../chunk-
|
|
51
|
+
import "../chunk-G7U5TFPY.js";
|
|
52
52
|
import "../chunk-BZIBNSQE.js";
|
|
53
|
-
import "../chunk-
|
|
54
|
-
import "../chunk-
|
|
55
|
-
import "../chunk-
|
|
56
|
-
import "../chunk-
|
|
53
|
+
import "../chunk-HRUKMGRH.js";
|
|
54
|
+
import "../chunk-55L4JSPA.js";
|
|
55
|
+
import "../chunk-UB5G7ZZN.js";
|
|
56
|
+
import "../chunk-VRNGMRJA.js";
|
|
57
57
|
import {
|
|
58
58
|
repoKeyFor
|
|
59
59
|
} from "../chunk-2TRYSF64.js";
|
|
@@ -62,27 +62,27 @@ import {
|
|
|
62
62
|
isDecisionStopped,
|
|
63
63
|
isQuestionLimitRefusal,
|
|
64
64
|
sendNotification
|
|
65
|
-
} from "../chunk-
|
|
65
|
+
} from "../chunk-PQEX64YL.js";
|
|
66
66
|
import "../chunk-GVIKF73A.js";
|
|
67
67
|
import "../chunk-POFBE6ZY.js";
|
|
68
68
|
import {
|
|
69
69
|
SubscriptionRequiredError
|
|
70
|
-
} from "../chunk-
|
|
70
|
+
} from "../chunk-EGDFXMFK.js";
|
|
71
71
|
import "../chunk-SSKNRWWS.js";
|
|
72
|
-
import "../chunk-
|
|
73
|
-
import "../chunk-
|
|
72
|
+
import "../chunk-IYTTLDB5.js";
|
|
73
|
+
import "../chunk-KNFZORNH.js";
|
|
74
74
|
import {
|
|
75
75
|
getMachineId
|
|
76
|
-
} from "../chunk-
|
|
77
|
-
import "../chunk-
|
|
76
|
+
} from "../chunk-MJMRJ5ZF.js";
|
|
77
|
+
import "../chunk-7XSZK4DH.js";
|
|
78
78
|
import "../chunk-3I3RUJRD.js";
|
|
79
|
-
import "../chunk-
|
|
80
|
-
import "../chunk-
|
|
79
|
+
import "../chunk-DRRFOQGF.js";
|
|
80
|
+
import "../chunk-D3TNLVVL.js";
|
|
81
81
|
import {
|
|
82
82
|
getApiKey
|
|
83
83
|
} from "../chunk-A2DVMIX4.js";
|
|
84
84
|
import "../chunk-CINBAX5G.js";
|
|
85
|
-
import "../chunk-
|
|
85
|
+
import "../chunk-PM2NRK6Y.js";
|
|
86
86
|
import {
|
|
87
87
|
EXIT
|
|
88
88
|
} from "../chunk-BG4HHB7E.js";
|