@pushary/agent-hooks 1.9.155 → 1.9.157
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/data/openclaw-plugin/README.md +1 -1
- package/data/openclaw-plugin/dist/approval-question.js +5 -5
- package/data/openclaw-plugin/dist/file-change-preview.js +67 -23
- package/data/openclaw-plugin/package.json +1 -1
- package/dist/bin/pushary-bell-hook.js +6 -6
- package/dist/bin/pushary-claude.js +5 -5
- package/dist/bin/pushary-clean.js +10 -10
- package/dist/bin/pushary-codex-hook.js +11 -11
- package/dist/bin/pushary-codex-session.js +2 -2
- package/dist/bin/pushary-codex.js +2 -2
- package/dist/bin/pushary-connect.js +6 -6
- package/dist/bin/pushary-daemon.js +8 -8
- package/dist/bin/pushary-disconnect.js +5 -5
- package/dist/bin/pushary-display-hook.js +1 -1
- package/dist/bin/pushary-doctor.js +6 -6
- package/dist/bin/pushary-elicitation-hook.js +7 -7
- package/dist/bin/pushary-gemini-hook.js +9 -9
- package/dist/bin/pushary-hook.js +11 -11
- package/dist/bin/pushary-login.js +2 -2
- package/dist/bin/pushary-logout.js +6 -6
- package/dist/bin/pushary-notification-hook.js +6 -6
- package/dist/bin/pushary-opencode-hook.js +9 -9
- package/dist/bin/pushary-permission-denied-hook.js +11 -11
- package/dist/bin/pushary-permission-hook.js +11 -11
- package/dist/bin/pushary-post-hook.js +7 -7
- package/dist/bin/pushary-prompt-hook.js +6 -6
- package/dist/bin/pushary-session-end-hook.js +6 -6
- package/dist/bin/pushary-session-start-hook.js +8 -8
- package/dist/bin/pushary-setup.js +13 -13
- package/dist/bin/pushary-status.js +5 -5
- package/dist/bin/pushary-stop-hook.js +6 -6
- package/dist/bin/pushary-stopfailure-hook.js +6 -6
- package/dist/bin/pushary-transcript-register.js +3 -3
- package/dist/bin/pushary-transcripts.js +3 -3
- package/dist/bin/pushary-upgrade.js +6 -6
- package/dist/{chunk-B2SZN2C7.js → chunk-2NSPZZBJ.js} +1 -1
- package/dist/{chunk-JIH55UHZ.js → chunk-2SHPCEH6.js} +7 -4
- package/dist/{chunk-EPYNFHCW.js → chunk-3XTH6EKH.js} +2 -2
- package/dist/{chunk-OGB4QCB3.js → chunk-4I4HAPT5.js} +2 -2
- package/dist/{chunk-DMWKPUAI.js → chunk-5HMVXNFU.js} +1 -1
- package/dist/{chunk-KWHADNCV.js → chunk-5MWNWCCI.js} +1 -1
- package/dist/{chunk-HNESCLUJ.js → chunk-6W6MZ53D.js} +1 -1
- package/dist/{chunk-FLY6YDPE.js → chunk-7JAEIKBV.js} +2 -2
- package/dist/{chunk-5Y5ZB5GG.js → chunk-BO4HRAY7.js} +9 -1
- package/dist/{chunk-XZ7AZOUT.js → chunk-C74JHUD3.js} +4 -4
- package/dist/{chunk-5C7TFCQH.js → chunk-GA5T3WEB.js} +2 -2
- package/dist/{chunk-M2WLCRMX.js → chunk-IQWMRFKD.js} +1 -1
- package/dist/{chunk-Y6OGY2G4.js → chunk-KRI7BOND.js} +2 -2
- package/dist/{chunk-YPSP7NZI.js → chunk-KURQ4KMV.js} +1 -1
- package/dist/{chunk-RALCZD2Z.js → chunk-O2DJWDVK.js} +2 -2
- package/dist/{chunk-ALRANF2G.js → chunk-QBDCKECQ.js} +1 -1
- package/dist/{chunk-PBKYOLKX.js → chunk-REUFDG7O.js} +1 -1
- package/dist/{chunk-XOZ2IFFU.js → chunk-UH5NAPWL.js} +2 -2
- package/dist/{chunk-QEKKOZS3.js → chunk-VRLYEBDN.js} +8 -8
- package/dist/{chunk-P2OC7VZZ.js → chunk-W2GOSAFI.js} +1 -1
- package/dist/{chunk-Q242EVCI.js → chunk-WDU4LEEW.js} +1 -1
- package/dist/{chunk-G66WIAST.js → chunk-WHB622LP.js} +1 -1
- package/dist/{codex-app-cards-switch-B7GY2ONI.js → codex-app-cards-switch-MQIEZLSU.js} +2 -2
- package/dist/{codex-card-routing-6RN4N266.js → codex-card-routing-UTWTJ6YQ.js} +1 -1
- package/dist/{codex-desktop-launch-K4GU2NFZ.js → codex-desktop-launch-A6GX6F54.js} +1 -1
- package/dist/{reapply-L7QUIQXK.js → reapply-5ZNMLEKV.js} +5 -5
- package/dist/src/index.js +11 -11
- package/package.json +1 -1
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
clearSnapshotRecipientPins,
|
|
16
16
|
snapshotRecipientPinFile
|
|
17
|
-
} from "../chunk-
|
|
18
|
-
import "../chunk-
|
|
17
|
+
} from "../chunk-UH5NAPWL.js";
|
|
18
|
+
import "../chunk-WHB622LP.js";
|
|
19
19
|
import "../chunk-5TCLBCUO.js";
|
|
20
20
|
import "../chunk-BMR66K6T.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-2SHPCEH6.js";
|
|
22
22
|
import "../chunk-6UGVZTRA.js";
|
|
23
23
|
import "../chunk-6NRFAP45.js";
|
|
24
24
|
import {
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
ensureCodexTrustAfterReapply,
|
|
30
30
|
reapplyAllAgents
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-C74JHUD3.js";
|
|
32
32
|
import {
|
|
33
33
|
HERMES_RESTART_COMMAND,
|
|
34
34
|
describeCodexTrustConfirmation
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
import "../chunk-T3LSBTWU.js";
|
|
45
45
|
import {
|
|
46
46
|
readMacAppAgentKey
|
|
47
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-6W6MZ53D.js";
|
|
48
48
|
import "../chunk-EQF6SSQL.js";
|
|
49
49
|
import "../chunk-UAYNQ2IG.js";
|
|
50
50
|
import "../chunk-HXX4EFK3.js";
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
retryAgentCommand
|
|
61
61
|
} from "../chunk-2N23JFER.js";
|
|
62
62
|
import "../chunk-DDSMTD4W.js";
|
|
63
|
-
import "../chunk-
|
|
63
|
+
import "../chunk-BO4HRAY7.js";
|
|
64
64
|
import {
|
|
65
65
|
exitOnHelpFlag
|
|
66
66
|
} from "../chunk-MGT2V2AB.js";
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
readAutoUpdateState,
|
|
83
83
|
updateAutoUpdateState
|
|
84
84
|
} from "../chunk-RF7HGOBC.js";
|
|
85
|
-
import "../chunk-
|
|
85
|
+
import "../chunk-4I4HAPT5.js";
|
|
86
86
|
import {
|
|
87
87
|
DAEMON_COLD_START_TIMEOUT_MS,
|
|
88
88
|
daemonHasRemoteProof,
|
|
@@ -97,8 +97,8 @@ import {
|
|
|
97
97
|
waitForDaemonRemoteProof
|
|
98
98
|
} from "../chunk-5TCLBCUO.js";
|
|
99
99
|
import "../chunk-BMR66K6T.js";
|
|
100
|
-
import "../chunk-
|
|
101
|
-
import "../chunk-
|
|
100
|
+
import "../chunk-QBDCKECQ.js";
|
|
101
|
+
import "../chunk-2SHPCEH6.js";
|
|
102
102
|
import "../chunk-6UGVZTRA.js";
|
|
103
103
|
import "../chunk-6NRFAP45.js";
|
|
104
104
|
import "../chunk-YPY4YCIZ.js";
|
|
@@ -202,7 +202,9 @@ var parseApplyPatchOps = (command) => {
|
|
|
202
202
|
return ops;
|
|
203
203
|
};
|
|
204
204
|
var parseApplyPatchFiles = (command) => [...new Set(parseApplyPatchOps(command).map((entry) => entry.path))];
|
|
205
|
-
var
|
|
205
|
+
var APPLY_PATCH_TOOL_NAMES = /* @__PURE__ */ new Set(["apply_patch", "applyPatch", "copilot_applyPatch"]);
|
|
206
|
+
var applyPatchTextOf = (input) => firstString(input.command, input.input, input.patch);
|
|
207
|
+
var patchDeletesFiles = (toolName, toolInput) => APPLY_PATCH_TOOL_NAMES.has(toolName) && parseApplyPatchOps(applyPatchTextOf(toolInput)).some((entry) => entry.op === "delete");
|
|
206
208
|
var OPENCODE_TOOL_NAMES = {
|
|
207
209
|
bash: "Bash",
|
|
208
210
|
shell: "Bash",
|
|
@@ -255,8 +257,8 @@ var compatibleGateInputs = (profile, toolName, toolInputs, cwd) => {
|
|
|
255
257
|
};
|
|
256
258
|
};
|
|
257
259
|
var canonicalGateInputs = (source, toolName, toolInputs, cwd) => {
|
|
258
|
-
if (source === "codex" && toolName === "apply_patch" || source === "vscode" &&
|
|
259
|
-
const paths = [...new Set(toolInputs.flatMap((input) => parseApplyPatchFiles(input
|
|
260
|
+
if (source === "codex" && toolName === "apply_patch" || source === "vscode" && APPLY_PATCH_TOOL_NAMES.has(toolName)) {
|
|
261
|
+
const paths = [...new Set(toolInputs.flatMap((input) => parseApplyPatchFiles(applyPatchTextOf(input))))];
|
|
260
262
|
if (paths.length > GATE_MAX_TOOL_INPUTS) return null;
|
|
261
263
|
return {
|
|
262
264
|
toolName: "Edit",
|
|
@@ -445,7 +447,8 @@ var rawActionBody = (toolName, toolInput) => {
|
|
|
445
447
|
return firstString(toolInput.content) ?? firstString(toolInput.diff);
|
|
446
448
|
}
|
|
447
449
|
if (toolName === "ExitPlanMode") return firstString(toolInput.plan);
|
|
448
|
-
if (toolName
|
|
450
|
+
if (APPLY_PATCH_TOOL_NAMES.has(toolName)) return applyPatchTextOf(toolInput);
|
|
451
|
+
if (toolName === "Bash" || toolName === "PowerShell" || toolName === "Monitor" || toolName === "run_shell_command" || toolName === "shell") {
|
|
449
452
|
return firstString(toolInput.command);
|
|
450
453
|
}
|
|
451
454
|
if (toolName === "write_stdin" || toolName === "request_permissions") return JSON.stringify(toolInput, null, 2);
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
claimThrottle,
|
|
5
5
|
releaseThrottle,
|
|
6
6
|
reportEvent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QBDCKECQ.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveToolTarget,
|
|
10
10
|
permissionDeniedAction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2SHPCEH6.js";
|
|
12
12
|
import {
|
|
13
13
|
machineDecisionFor,
|
|
14
14
|
wireVerdictFor
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-BMR66K6T.js";
|
|
5
5
|
import {
|
|
6
6
|
CLAUDE_CODE_AGENT
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QBDCKECQ.js";
|
|
8
8
|
import {
|
|
9
9
|
compatibleToolLookup
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2SHPCEH6.js";
|
|
11
11
|
import {
|
|
12
12
|
CLAUDE_HOOK_EVENTS,
|
|
13
13
|
PUSHARY_MCP_URL,
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-3EF7G5EV.js";
|
|
5
5
|
import {
|
|
6
6
|
registerTranscript
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UH5NAPWL.js";
|
|
8
8
|
import {
|
|
9
9
|
namedEvent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4I4HAPT5.js";
|
|
11
11
|
import {
|
|
12
12
|
writeDegraded
|
|
13
13
|
} from "./chunk-ICHKAH5Q.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compatibleConfigFile
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4I4HAPT5.js";
|
|
4
4
|
import {
|
|
5
5
|
hookOwnerOf,
|
|
6
6
|
hookOwnerOfCommands
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
AGENT_CHOICES
|
|
10
10
|
} from "./chunk-6UGVZTRA.js";
|
|
11
11
|
import {
|
|
12
|
+
OPENCODE_INSTRUCTIONS_LABEL,
|
|
12
13
|
bridgeStub,
|
|
13
14
|
claudeSettings,
|
|
14
15
|
codexHooksJson,
|
|
@@ -16,6 +17,7 @@ import {
|
|
|
16
17
|
geminiSettings,
|
|
17
18
|
guardedArgv,
|
|
18
19
|
liveBridgeProbe,
|
|
20
|
+
renderAgentInstructions,
|
|
19
21
|
resolveBridgeStub,
|
|
20
22
|
vscodePluginDir,
|
|
21
23
|
windowsNodeLauncherFor
|
|
@@ -445,6 +447,11 @@ var OPENCODE_CONFIG_FILE = "opencode.json";
|
|
|
445
447
|
var openCodeConfigFile = () => join(openCodeConfigDir(), OPENCODE_CONFIG_FILE);
|
|
446
448
|
var OPENCODE_INSTRUCTIONS_FILE = "AGENTS.md";
|
|
447
449
|
var openCodeInstructionsFile = () => join(openCodeConfigDir(), OPENCODE_INSTRUCTIONS_FILE);
|
|
450
|
+
var OPENCODE_QUESTION_TOOL = "question";
|
|
451
|
+
var OPENCODE_QUESTION_NOTE = `In OpenCode, this replaces the guidance above to ask in the terminal while the user is there: ask every question through the Pushary \`ask_user\` tool, even while the user is at this terminal, and not through OpenCode's own \`${OPENCODE_QUESTION_TOOL}\` tool. When Pushary's tools are listed under Code Mode, call them inside \`execute\`, for example \`await tools.pushary.ask_user({ ... })\` and \`await tools.pushary.wait_for_answer({ ... })\`. Otherwise OpenCode lists them as direct tools such as \`pushary_ask_user\`. That includes a question the user asks you to put to them, such as "ask me a multiple choice question": use \`ask_user\` with type "select". Ask one question at a time and wait for its answer before asking the next. OpenCode's question prompt cannot reach the phone or the Mac notch, so a question asked there waits unseen once the user steps away. Ask in your reply or with the \`${OPENCODE_QUESTION_TOOL}\` tool instead only when a Pushary handoffAction tells you to ask here, or when Pushary's tools are listed under neither name or \`ask_user\` fails without a handoffAction.`;
|
|
452
|
+
var openCodeInstructionsBody = () => `${renderAgentInstructions(OPENCODE_INSTRUCTIONS_LABEL)}
|
|
453
|
+
|
|
454
|
+
${OPENCODE_QUESTION_NOTE}`;
|
|
448
455
|
var asRecord = (value) => value && typeof value === "object" && !Array.isArray(value) ? value : void 0;
|
|
449
456
|
var addOpenCodeMcpServer = (config, apiKey) => {
|
|
450
457
|
const servers = asRecord(config.mcp) ?? {};
|
|
@@ -571,6 +578,7 @@ export {
|
|
|
571
578
|
openCodeWired,
|
|
572
579
|
openCodeConfigFile,
|
|
573
580
|
openCodeInstructionsFile,
|
|
581
|
+
openCodeInstructionsBody,
|
|
574
582
|
addOpenCodeMcpServer,
|
|
575
583
|
OPENCODE_ASKED_PERMISSIONS,
|
|
576
584
|
withOpenCodeAskRules,
|
|
@@ -26,11 +26,12 @@ import {
|
|
|
26
26
|
macAppBridgeAvailable,
|
|
27
27
|
openCodeConfigFile,
|
|
28
28
|
openCodeHookArgv,
|
|
29
|
+
openCodeInstructionsBody,
|
|
29
30
|
openCodeInstructionsFile,
|
|
30
31
|
openCodePluginDir,
|
|
31
32
|
openCodeWired,
|
|
32
33
|
withOpenCodeAskRules
|
|
33
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-BO4HRAY7.js";
|
|
34
35
|
import {
|
|
35
36
|
detectClaudeVersion
|
|
36
37
|
} from "./chunk-MEUAK5BK.js";
|
|
@@ -39,7 +40,7 @@ import {
|
|
|
39
40
|
compatibleConfigFile,
|
|
40
41
|
compatibleInstructionsFile,
|
|
41
42
|
hasCompatibleHooks
|
|
42
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-4I4HAPT5.js";
|
|
43
44
|
import {
|
|
44
45
|
GEMINI_HOOK_BINARY,
|
|
45
46
|
addGeminiHooks,
|
|
@@ -63,7 +64,6 @@ import {
|
|
|
63
64
|
CODEX_HOOK_BINARY,
|
|
64
65
|
CODEX_INSTRUCTIONS_LABEL,
|
|
65
66
|
GEMINI_INSTRUCTIONS_LABEL,
|
|
66
|
-
OPENCODE_INSTRUCTIONS_LABEL,
|
|
67
67
|
addClaudeMcpServer,
|
|
68
68
|
addCodexHookTrust,
|
|
69
69
|
addCodexHooks,
|
|
@@ -532,7 +532,7 @@ var reapplyAllAgents = async (apiKey, options = {}) => {
|
|
|
532
532
|
id: "opencode",
|
|
533
533
|
label: "OpenCode",
|
|
534
534
|
run: () => reapplyOpenCodePlugin(),
|
|
535
|
-
instructions: () => ({ file: openCodeInstructionsFile(), body:
|
|
535
|
+
instructions: () => ({ file: openCodeInstructionsFile(), body: openCodeInstructionsBody() })
|
|
536
536
|
},
|
|
537
537
|
{ id: "fx", label: "fx", run: () => reapplyFxWiring(apiKey), instructions: fxInstructionTarget },
|
|
538
538
|
{ id: "cline", label: CLINE_LABEL, run: () => reapplyClineSettings(apiKey), instructions: clineInstructionTarget },
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-HXX4EFK3.js";
|
|
4
4
|
import {
|
|
5
5
|
openCodeConfigDirFrom
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BO4HRAY7.js";
|
|
7
7
|
import {
|
|
8
8
|
nativeClaudeInstallPath
|
|
9
9
|
} from "./chunk-CYTPQDQY.js";
|
|
10
10
|
import {
|
|
11
11
|
grokHome
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4I4HAPT5.js";
|
|
13
13
|
import {
|
|
14
14
|
claudeConfigDir,
|
|
15
15
|
clineDataDirectory,
|
|
@@ -537,7 +537,7 @@ var loadedOnce = (load) => {
|
|
|
537
537
|
|
|
538
538
|
// src/codex-desktop-proxy.ts
|
|
539
539
|
var loadThePhone = () => import("./api-3C62HQDC.js");
|
|
540
|
-
var loadTheCardRouting = () => import("./codex-card-routing-
|
|
540
|
+
var loadTheCardRouting = () => import("./codex-card-routing-UTWTJ6YQ.js");
|
|
541
541
|
var theFirstCardLoadsAgain = () => {
|
|
542
542
|
};
|
|
543
543
|
var ASKS_WITHOUT_ROUTING = {};
|
|
@@ -1097,7 +1097,7 @@ var codexDesktopCommand = async (args, entry, readAccount) => {
|
|
|
1097
1097
|
return runCodexDesktopProxy(engine2, args.slice(3), readAccount, { watchesForCards: layoutIsKnown });
|
|
1098
1098
|
}
|
|
1099
1099
|
if (args[0] === APP_CARDS_FLAG) {
|
|
1100
|
-
const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-
|
|
1100
|
+
const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-MQIEZLSU.js");
|
|
1101
1101
|
return codexAppCardsCommandOnThisMac(args.slice(1), entry, readAccount);
|
|
1102
1102
|
}
|
|
1103
1103
|
if (args.length > 2) throw new Error("Usage: pushary codex --desktop [path/to/Codex.app]");
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
openCodeConfigDir,
|
|
11
11
|
openCodePluginArgv,
|
|
12
12
|
openCodePluginFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BO4HRAY7.js";
|
|
14
14
|
import {
|
|
15
15
|
liveCursorGateCoverage
|
|
16
16
|
} from "./chunk-3EF7G5EV.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
compatibleHookEvents,
|
|
20
20
|
grokHome,
|
|
21
21
|
parseConfigDocument
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4I4HAPT5.js";
|
|
23
23
|
import {
|
|
24
24
|
DEFAULT_HOOKS_KEY_PATH,
|
|
25
25
|
GEMINI_HOOK_BINARY,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SESSION_HISTORY_RETENTION_DAYS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WHB622LP.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureDaemonRunning
|
|
6
6
|
} from "./chunk-5TCLBCUO.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-BMR66K6T.js";
|
|
10
10
|
import {
|
|
11
11
|
hookMeaning
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2SHPCEH6.js";
|
|
13
13
|
import {
|
|
14
14
|
buildTranscriptRecords,
|
|
15
15
|
changedRecipientsMessage,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
forgetPhoneApproval,
|
|
3
3
|
rememberPhoneApproval,
|
|
4
4
|
takePhoneApproval
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5HMVXNFU.js";
|
|
6
6
|
import {
|
|
7
7
|
claudeSettingsLocationFor,
|
|
8
8
|
readClaudePermissionRules
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
defersToNativeMode,
|
|
13
13
|
outcomeOfFailedAsk,
|
|
14
14
|
storedWaitDeadline
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2NSPZZBJ.js";
|
|
16
16
|
import {
|
|
17
17
|
reportMachineDenial
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3XTH6EKH.js";
|
|
19
19
|
import {
|
|
20
20
|
isGatingMoment,
|
|
21
21
|
recordKeylessMoment
|
|
@@ -23,16 +23,16 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
isAdmitted,
|
|
25
25
|
readAdmissionRules
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7JAEIKBV.js";
|
|
27
27
|
import {
|
|
28
28
|
isDeferAnswer,
|
|
29
29
|
oncePerSession
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-IQWMRFKD.js";
|
|
31
31
|
import {
|
|
32
32
|
activeHookSource,
|
|
33
33
|
activeIdentity,
|
|
34
34
|
namedSource
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4I4HAPT5.js";
|
|
36
36
|
import {
|
|
37
37
|
DEFAULT_SESSION,
|
|
38
38
|
approvalAwaitingRetry,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
settleQuestionsForToolUse,
|
|
54
54
|
sweepFilesOlderThan,
|
|
55
55
|
userScope
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-QBDCKECQ.js";
|
|
57
57
|
import {
|
|
58
58
|
UNNAMED_ACTION,
|
|
59
59
|
deriveAction,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
patchDeletesFiles,
|
|
65
65
|
permissionDeniedAction,
|
|
66
66
|
scopePathFor
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-2SHPCEH6.js";
|
|
68
68
|
import {
|
|
69
69
|
branchFor,
|
|
70
70
|
repoKeyFor,
|
|
@@ -22,8 +22,8 @@ import {
|
|
|
22
22
|
turnCodexAppCardsOff,
|
|
23
23
|
turnCodexAppCardsOn,
|
|
24
24
|
whyLaunchctlFailed
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-WDU4LEEW.js";
|
|
26
|
+
import "./chunk-KRI7BOND.js";
|
|
27
27
|
import "./chunk-XCEN33UP.js";
|
|
28
28
|
import "./chunk-QCGNGEGE.js";
|
|
29
29
|
import "./chunk-5TCLBCUO.js";
|
|
@@ -12,20 +12,20 @@ import {
|
|
|
12
12
|
reapplyOpenCodePlugin,
|
|
13
13
|
reapplyVsCodePlugin,
|
|
14
14
|
repairCodexHolds
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-C74JHUD3.js";
|
|
16
16
|
import "./chunk-T3LSBTWU.js";
|
|
17
17
|
import "./chunk-UAYNQ2IG.js";
|
|
18
18
|
import "./chunk-HXX4EFK3.js";
|
|
19
19
|
import "./chunk-S6DJAYQW.js";
|
|
20
20
|
import "./chunk-2N23JFER.js";
|
|
21
21
|
import "./chunk-DDSMTD4W.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-BO4HRAY7.js";
|
|
23
23
|
import "./chunk-MEUAK5BK.js";
|
|
24
24
|
import "./chunk-CYTPQDQY.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-4I4HAPT5.js";
|
|
26
26
|
import "./chunk-BMR66K6T.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-QBDCKECQ.js";
|
|
28
|
+
import "./chunk-2SHPCEH6.js";
|
|
29
29
|
import "./chunk-6UGVZTRA.js";
|
|
30
30
|
import "./chunk-6NRFAP45.js";
|
|
31
31
|
import "./chunk-YPY4YCIZ.js";
|
package/dist/src/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handlePreToolUse
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-VRLYEBDN.js";
|
|
4
|
+
import "../chunk-5HMVXNFU.js";
|
|
5
5
|
import "../chunk-WSPDIT2B.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-2NSPZZBJ.js";
|
|
7
|
+
import "../chunk-3XTH6EKH.js";
|
|
8
8
|
import "../chunk-C3HYWUZE.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-7JAEIKBV.js";
|
|
10
10
|
import "../chunk-3EF7G5EV.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-IQWMRFKD.js";
|
|
12
|
+
import "../chunk-UH5NAPWL.js";
|
|
13
|
+
import "../chunk-WHB622LP.js";
|
|
14
|
+
import "../chunk-4I4HAPT5.js";
|
|
15
15
|
import "../chunk-5TCLBCUO.js";
|
|
16
16
|
import "../chunk-BMR66K6T.js";
|
|
17
17
|
import {
|
|
@@ -22,8 +22,8 @@ import {
|
|
|
22
22
|
handlePostToolUse,
|
|
23
23
|
handleStop,
|
|
24
24
|
reportEvent
|
|
25
|
-
} from "../chunk-
|
|
26
|
-
import "../chunk-
|
|
25
|
+
} from "../chunk-QBDCKECQ.js";
|
|
26
|
+
import "../chunk-2SHPCEH6.js";
|
|
27
27
|
import "../chunk-6UGVZTRA.js";
|
|
28
28
|
import "../chunk-6NRFAP45.js";
|
|
29
29
|
import "../chunk-YPY4YCIZ.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pushary/agent-hooks",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.157",
|
|
4
4
|
"description": "Human-in-the-loop (HITL) for AI agents: ask a person for approvals or answers by push notification. One command connects Claude Code, Codex, Cursor, Gemini CLI and more.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pushary",
|