@pushary/agent-hooks 1.9.148 → 1.9.150
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/cursor-plugin/.cursor-plugin/plugin.json +1 -1
- package/data/cursor-plugin/CHANGELOG.md +7 -0
- package/data/cursor-plugin/scripts/redaction.mjs +6 -1
- package/data/openclaw-plugin/dist/redaction.js +6 -1
- package/data/openclaw-plugin/package.json +8 -2
- package/data/vscode-plugin/.claude-plugin/plugin.json +1 -1
- package/data/vscode-plugin/CHANGELOG.md +9 -0
- package/data/vscode-plugin/scripts/redaction.mjs +6 -1
- package/dist/{api-H7H75ARS.js → api-GHPLREAU.js} +11 -11
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +29 -30
- package/dist/bin/pushary-bell.js +10 -10
- package/dist/bin/pushary-claude.js +28 -29
- package/dist/bin/pushary-clean.js +36 -36
- package/dist/bin/pushary-codex-bridge.js +24 -24
- package/dist/bin/pushary-codex-hook.js +36 -37
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +16 -16
- package/dist/bin/pushary-connect.js +32 -32
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +45 -46
- package/dist/bin/pushary-disconnect.js +28 -28
- package/dist/bin/pushary-display-hook.js +33 -21
- package/dist/bin/pushary-doctor.js +44 -44
- package/dist/bin/pushary-elicitation-hook.js +29 -30
- package/dist/bin/pushary-gemini-bridge.js +18 -18
- package/dist/bin/pushary-gemini-hook.js +33 -34
- package/dist/bin/pushary-hook.js +36 -37
- package/dist/bin/pushary-login.js +21 -21
- package/dist/bin/pushary-logout.js +27 -27
- package/dist/bin/pushary-mcp.js +12 -12
- package/dist/bin/pushary-mode.js +15 -15
- package/dist/bin/pushary-notification-hook.js +28 -29
- package/dist/bin/pushary-opencode-hook.js +32 -33
- package/dist/bin/pushary-permission-denied-hook.js +36 -37
- package/dist/bin/pushary-permission-hook.js +36 -37
- package/dist/bin/pushary-post-hook.js +29 -30
- package/dist/bin/pushary-prompt-hook.js +28 -29
- package/dist/bin/pushary-session-end-hook.js +28 -29
- package/dist/bin/pushary-session-start-hook.js +38 -39
- package/dist/bin/pushary-setup.js +56 -56
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +33 -33
- package/dist/bin/pushary-stop-hook.js +28 -29
- package/dist/bin/pushary-stopfailure-hook.js +28 -29
- package/dist/bin/pushary-suggestions.js +15 -15
- package/dist/bin/pushary-transcript-register.js +19 -20
- package/dist/bin/pushary-transcripts.js +35 -36
- package/dist/bin/pushary-upgrade.js +42 -42
- package/dist/bin/pushary-wait.js +15 -15
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-XMSDA5WA.js → chunk-352FIVVH.js} +41 -1
- package/dist/{chunk-D3QT4S7U.js → chunk-3MXI37MS.js} +4 -4
- package/dist/{chunk-FQLS37AX.js → chunk-3TUSMGHE.js} +1 -1
- package/dist/{chunk-5IG3VPHT.js → chunk-3XIHKIDX.js} +4 -4
- package/dist/{chunk-4L2IYNLC.js → chunk-46IYOPZH.js} +1 -1
- package/dist/{chunk-NLED3JGR.js → chunk-4UDGVO6A.js} +1 -1
- package/dist/{chunk-UFGFO7QB.js → chunk-4ZH2PXDA.js} +2 -2
- package/dist/{chunk-JSZ6LKX5.js → chunk-53URUFUJ.js} +13 -12
- package/dist/{chunk-3AAQJ75F.js → chunk-53Y4QQNF.js} +5 -5
- package/dist/{chunk-RYDDLS62.js → chunk-5D57GAKF.js} +3 -3
- package/dist/{chunk-RMBY7JGO.js → chunk-5TMW2X5I.js} +1 -1
- package/dist/{chunk-X4OEGFOG.js → chunk-6RMBTFDF.js} +3 -3
- package/dist/{chunk-T3CMGGNW.js → chunk-7357Q746.js} +1 -1
- package/dist/{chunk-UJUGFLVF.js → chunk-7FPKT5QJ.js} +5 -5
- package/dist/{chunk-KXNAB76Z.js → chunk-7L6IP3JA.js} +2 -2
- package/dist/{chunk-3OPXQK4D.js → chunk-7XFEV7ML.js} +5 -5
- package/dist/{chunk-3WD3BEPB.js → chunk-A3EV4C34.js} +2 -2
- package/dist/{chunk-6HO36P3A.js → chunk-ACC4YXJS.js} +1 -1
- package/dist/{chunk-PH3MVQCQ.js → chunk-AIKQFV6C.js} +4 -4
- package/dist/{chunk-6YX3VB5P.js → chunk-AWC7MXLX.js} +6 -6
- package/dist/{chunk-WQJ5NJ35.js → chunk-AYFOZBTD.js} +1 -1
- package/dist/{chunk-VPMSV35B.js → chunk-BAH4LZL3.js} +5 -5
- package/dist/{chunk-JUEQUYAT.js → chunk-BANZ4GGS.js} +2 -2
- package/dist/{chunk-KWJJYZ3T.js → chunk-BDF74W2U.js} +4 -4
- package/dist/{chunk-DHCJDYBT.js → chunk-BPSQLKTG.js} +6 -6
- package/dist/{chunk-RWTH5RYA.js → chunk-BRXPFM3U.js} +2 -2
- package/dist/{chunk-WQEJCDMR.js → chunk-C2JMTH45.js} +2 -2
- package/dist/{chunk-R2JRRCZK.js → chunk-CVQTLCVS.js} +1 -1
- package/dist/{chunk-M7HJZ7HO.js → chunk-DHP6SWVH.js} +3 -3
- package/dist/{chunk-QTQRQZIU.js → chunk-DQKT5KK5.js} +4 -4
- package/dist/{chunk-YWSIN7IH.js → chunk-DYUK6HYH.js} +1 -1
- package/dist/{chunk-ABTQG6XU.js → chunk-E5YEKJOM.js} +1 -1
- package/dist/{chunk-LC53HRZ6.js → chunk-E75OHUWM.js} +1 -1
- package/dist/{chunk-Q7GZKNMH.js → chunk-FHPLLUAZ.js} +1 -1
- package/dist/{chunk-HEOBF5H6.js → chunk-H4MHGLEB.js} +3 -3
- package/dist/{chunk-ZCB5SCYM.js → chunk-HQ3RFANL.js} +2 -2
- package/dist/{chunk-AQ7L2E2U.js → chunk-HY4GEW3T.js} +28 -21
- package/dist/{chunk-3T7RA7WJ.js → chunk-I3CN7BGN.js} +2 -2
- package/dist/{chunk-ENRL4WFD.js → chunk-I6DLNMUM.js} +4 -4
- package/dist/{chunk-NHZV2H63.js → chunk-ILEO4YWM.js} +1 -1
- package/dist/{chunk-A3URJPYH.js → chunk-IPRQFNPG.js} +1 -1
- package/dist/{chunk-UAHBSOO4.js → chunk-J6LZ4G5G.js} +2 -2
- package/dist/{chunk-ZOATPL53.js → chunk-JGYQ72A7.js} +4 -4
- package/dist/{chunk-QSZYHL7Z.js → chunk-JJKPQSEE.js} +2 -2
- package/dist/{chunk-O5ARO3JM.js → chunk-K3ORQ3KY.js} +13 -4
- package/dist/{chunk-CBIS7IYQ.js → chunk-KACTUGKV.js} +5 -5
- package/dist/{chunk-S3MEI2D2.js → chunk-KAZ37TWD.js} +5 -5
- package/dist/{chunk-YOP7LFHW.js → chunk-LRK2F63A.js} +8 -8
- package/dist/{chunk-X4OQ5UMH.js → chunk-NP6QILOY.js} +5 -5
- package/dist/{chunk-6RYJ3XCD.js → chunk-NPNBR4FS.js} +5 -5
- package/dist/{chunk-T4PX3DRF.js → chunk-NQUE54GA.js} +1 -1
- package/dist/{chunk-CMTDMZPV.js → chunk-NRMMXX62.js} +2 -2
- package/dist/{chunk-XSBW6TUH.js → chunk-OBIUHAXG.js} +2 -2
- package/dist/{chunk-BPKB7BI4.js → chunk-ODYF7VZZ.js} +17 -2
- package/dist/{chunk-S4HS6VTI.js → chunk-OJUW7QW2.js} +2 -4
- package/dist/{chunk-YTD7RV6F.js → chunk-OZD5FIFS.js} +3 -3
- package/dist/{chunk-XZGQZDFP.js → chunk-P3E26UO5.js} +6 -6
- package/dist/{chunk-CABBLJD5.js → chunk-P3RRAH6J.js} +3 -3
- package/dist/{chunk-43NHQUCY.js → chunk-P6GCPJDQ.js} +3 -3
- package/dist/{chunk-H6FFNTSR.js → chunk-PS3O6LS2.js} +6 -6
- package/dist/{chunk-BP5HLKR6.js → chunk-PYH3KFLI.js} +12 -12
- package/dist/{chunk-MT4GBXLM.js → chunk-R2VVMSGM.js} +5 -5
- package/dist/{chunk-NRPQUU3D.js → chunk-S263JK6K.js} +2 -2
- package/dist/{chunk-KP6ERYOA.js → chunk-TQXKJX7X.js} +8 -8
- package/dist/{chunk-CIRTRWHM.js → chunk-TR35RG7D.js} +4 -4
- package/dist/{chunk-ZX2O66NS.js → chunk-TRDJICC7.js} +3 -3
- package/dist/{chunk-B6RTPP3X.js → chunk-USN3OOHD.js} +19 -18
- package/dist/{chunk-CDQOARIF.js → chunk-WQVRDVMJ.js} +3 -3
- package/dist/{chunk-CU5SYUMK.js → chunk-WY4CM6TO.js} +3 -3
- package/dist/{chunk-CAHULQIO.js → chunk-XJLCZ24Y.js} +1 -1
- package/dist/{chunk-5ZIYTFPW.js → chunk-XU45NUAV.js} +68 -186
- package/dist/{chunk-TXXAQRX4.js → chunk-XWMVKK54.js} +1 -1
- package/dist/{chunk-UL2NNDKD.js → chunk-YUYBMCKF.js} +131 -5
- package/dist/{chunk-2VPRLAKF.js → chunk-YYEYPA3S.js} +4 -4
- package/dist/{chunk-VPADWVYD.js → chunk-ZBZ7CRGD.js} +1 -1
- package/dist/{chunk-MUSINFEU.js → chunk-ZLHPTXWU.js} +5 -5
- package/dist/{chunk-PUTX5BBE.js → chunk-ZMEI3EG4.js} +3 -3
- package/dist/{chunk-PVBDITRS.js → chunk-ZSX4XN6C.js} +5 -5
- package/dist/{chunk-DLPI45DF.js → chunk-ZUN37EG2.js} +6 -6
- package/dist/{codex-app-cards-switch-BCM547E6.js → codex-app-cards-switch-U77ZM22P.js} +11 -11
- package/dist/{codex-card-routing-222EKZJR.js → codex-card-routing-3L4XXUCK.js} +2 -2
- package/dist/{codex-desktop-launch-6AFOLMZ7.js → codex-desktop-launch-KRLBST55.js} +1 -1
- package/dist/{codex-session-launch-4YJR4ZGN.js → codex-session-launch-6LMMSNLA.js} +21 -21
- package/dist/{config-GWNPGS47.js → config-5YEZFF26.js} +3 -3
- package/dist/{global-upgrade-VRF6OSSU.js → global-upgrade-EWBY6BD5.js} +9 -9
- package/dist/{identity-PQIM7R2N.js → identity-D3SYIS5Z.js} +4 -4
- package/dist/{live-capabilities-G3LMKZUB.js → live-capabilities-QUNHPUFR.js} +4 -4
- package/dist/{paths-TFGIP5PU.js → paths-VI5KNBOY.js} +3 -3
- package/dist/{reapply-3IRAI6JF.js → reapply-UKREFK55.js} +30 -30
- package/dist/src/index.js +35 -36
- package/dist/{upgrade-lock-2G7ANYYO.js → upgrade-lock-COPTGES4.js} +4 -4
- package/dist/{usage-K3EGYCSU.js → usage-4367CHW4.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-VAE5JBR5.js +0 -46
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.9.150
|
|
4
|
+
|
|
5
|
+
- Claude Code: the `PermissionRequest` hook allows Pushary's own tools, under `mcp__pushary__`, the claude.ai Pushary connector (`mcp__claude_ai_Pushary__`) and the Pushary plugin (`mcp__plugin_pushary_pushary__`), without a key and without asking pushary.com. Before, it left `mcp__pushary__` to Claude Code's own prompt and judged the other two like any tool. Claude Code adds your claude.ai connectors to every session, so with this CLI's hooks installed and the connector enabled, its prompt for the connector's `ask_user` could push an approval for Pushary's own question to your phone, and a standing `*` deny refused it. A plugin user, who has no allow rule from setup, would have had the prompt for the agent's own question wait in the terminal while they were away. The `PermissionDenied` hook leaves all three alone. `PreToolUse` is unchanged.
|
|
6
|
+
- Setup and `pushary upgrade` add `mcp__claude_ai_Pushary__*` and `mcp__plugin_pushary_pushary__*` to Claude Code's allowed tools beside `mcp__pushary__*`, so Claude Code does not ask before it calls Pushary under those names either. `pushary clean` and disconnect remove them, and keep a narrower rule of your own such as `mcp__claude_ai_Pushary__ask_user`. Other agents get only `mcp__pushary__*`, as before.
|
|
7
|
+
- Claude Code: an approval route that names one of Pushary's own tools on the claude.ai connector or the plugin exactly, such as `mcp__plugin_pushary_pushary__send_notification`, no longer holds that call in auto mode. Before, `PreToolUse` held it for someone else's answer, and when nobody answered it went back to the terminal prompt. A route that names any other MCP tool holds it as before.
|
|
8
|
+
- Claude Code: the `PreToolUse` entry setup and `pushary upgrade` write for `WebFetch`, `Task` and `Agent` has a 30 second timeout instead of 600. That entry applies only the kill switch and standing denies and never waits for an answer, so a hook that hangs can no longer hold those calls for up to 10 minutes. 30 seconds still covers the Claude Code plugin's cold `npx` start, about 8 seconds, plus the check itself. The `mcp__.*` entry keeps 600 seconds, because an approval route can hold an MCP call. The Mac app's spec and the Claude Code plugin carry the same timeout.
|
|
9
|
+
|
|
10
|
+
## 1.9.149
|
|
11
|
+
|
|
12
|
+
- Codex and Gemini sessions started from your phone now check the keys they encrypt transcripts for against the keys this computer already trusts, as every other transcript upload does. Before, they encrypted for whatever keys the server returned. Now, if those keys change, these sessions upload nothing, print the same "Transcript sync stopped" message with the `pushary transcripts trust` step, and resume once the keys match again.
|
|
13
|
+
|
|
3
14
|
## 1.9.148
|
|
4
15
|
|
|
5
16
|
- Setup no longer prints your API key. If your shell profile already sets `PUSHARY_API_KEY` in a line Pushary did not write, setup used to print `export PUSHARY_API_KEY='<your full key>'` for you to paste. Now it says where the key is saved and tells you to delete that line or set it to the same key.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "pushary",
|
|
3
3
|
"displayName": "Pushary — Control Panel for AI Agents",
|
|
4
4
|
"description": "Push notifications, human-in-the-loop questions, and permission gating for your AI coding agent. Get a push when a task finishes, answer the agent from your phone, and approve risky commands before they run.",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.12",
|
|
6
6
|
"minClientVersions": {
|
|
7
7
|
"grokbot": "never",
|
|
8
8
|
"sand": "never"
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.12
|
|
4
|
+
|
|
5
|
+
- The bundled Pushary skill is 0.13.4, from 0.13.2. When you ask the agent to call, phone or ring you if it gets stuck, it asks with `ask_user`. Pushary phones only when the reply includes `phoneCall`, and the agent does not promise a call otherwise. It tells you when the call rings in your own time (`ringsAtLocal`), not the UTC `ringsAt`. While the question is pending it keeps waiting with the same `correlationId`, so a spoken answer arrives like any other.
|
|
6
|
+
- A computer whose key works but has no phone connected pairs one with `npx pushary@latest pair`, which keeps this computer's key. The agent runs it in the background and shows you the link, the QR code and the fingerprint while it waits up to 15 minutes for your phone. The skill used to send it to setup with `--connect app`, which makes a new key.
|
|
7
|
+
- The skill's description is shorter and names "call me if you get stuck" among its triggers.
|
|
8
|
+
- The gate's redaction also hides the credential after `Authorization: Basic`, `Token`, `Negotiate` or `NTLM`, not only the scheme word, so a command that carries one shows `authorization: [redacted]`.
|
|
9
|
+
|
|
3
10
|
## 0.2.11
|
|
4
11
|
|
|
5
12
|
- The gate runs on Windows and from a plugin folder whose path has a space or a symlink. Before, it printed nothing there, so Cursor blocked every shell command, MCP call and file edit the gate covers.
|
|
@@ -25,7 +25,7 @@ const CUT_OFF_SECRET_SHAPES = {
|
|
|
25
25
|
authorizationValue: String.raw `\S+`,
|
|
26
26
|
credentialAssignment: credentialAssignmentRule(CREDENTIAL_KEY, String.raw `(?:\\[\s\S]|[^"\\])*(?:"|\\?$)`, "[^']*(?:'|$)", String.raw `\S+`),
|
|
27
27
|
};
|
|
28
|
-
const
|
|
28
|
+
const credentialTokenRules = (shapes) => [
|
|
29
29
|
{ pattern: /\bpk_[A-Za-z0-9_]+\.[A-Za-z0-9_]+/g, replacement: '[redacted]' },
|
|
30
30
|
{ pattern: new RegExp(String.raw `-----BEGIN[A-Z0-9 ]*PRIVATE KEY-----${shapes.privateKeyBody}-----END[A-Z0-9 ]*PRIVATE KEY-----`, 'g'), replacement: '[redacted key]' },
|
|
31
31
|
{ pattern: /\bsk-[A-Za-z0-9_-]{16,}\b/g, replacement: '[redacted]' },
|
|
@@ -41,14 +41,19 @@ const secretRedactionRules = (shapes) => [
|
|
|
41
41
|
{ pattern: /\bxai-[A-Za-z0-9]{16,}\b/g, replacement: '[redacted]' },
|
|
42
42
|
{ pattern: /\beyJ[A-Za-z0-9_-]{8,}\.[A-Za-z0-9_-]{8,}\.[A-Za-z0-9_-]{8,}\b/g, replacement: '[redacted]' },
|
|
43
43
|
{ pattern: new RegExp(String.raw `\b([a-z][a-z0-9+.-]*:\/\/[^\s:/@]+:)${shapes.urlPassword}@`, 'gi'), replacement: '$1[redacted]@' },
|
|
44
|
+
];
|
|
45
|
+
const secretRedactionRules = (shapes) => [
|
|
46
|
+
...credentialTokenRules(shapes),
|
|
44
47
|
{ pattern: new RegExp(String.raw `\bbearer${shapes.separator}+[A-Za-z0-9._~+/=-]+`, 'gi'), replacement: 'bearer [redacted]' },
|
|
45
48
|
{ pattern: new RegExp(String.raw `\bauthorization:${shapes.separator}*(?:${AUTHORIZATION_SCHEME}${shapes.separator}+)?${shapes.authorizationValue}`, 'gi'), replacement: 'authorization: [redacted]' },
|
|
46
49
|
shapes.credentialAssignment,
|
|
47
50
|
];
|
|
48
51
|
export const SECRET_REDACTION_RULES = secretRedactionRules(DISPLAYED_SECRET_SHAPES);
|
|
52
|
+
const CREDENTIAL_TOKEN_RULES = credentialTokenRules(DISPLAYED_SECRET_SHAPES);
|
|
49
53
|
const CUT_OFF_TEXT_REDACTION_RULES = secretRedactionRules(CUT_OFF_SECRET_SHAPES);
|
|
50
54
|
const HIGH_ENTROPY_RULE = { pattern: /[A-Za-z0-9+/]{40,}={0,2}/g, replacement: '[redacted]' };
|
|
51
55
|
const applyRedactionRules = (rules, text) => rules.reduce((acc, rule) => acc.replace(rule.pattern, rule.replacement), text);
|
|
52
56
|
export const redactSecrets = (text) => applyRedactionRules(SECRET_REDACTION_RULES, text);
|
|
57
|
+
export const containsCredentialToken = (text) => applyRedactionRules(CREDENTIAL_TOKEN_RULES, text) !== text;
|
|
53
58
|
export const redactSecretsFromContent = (text) => applyRedactionRules(CUT_OFF_TEXT_REDACTION_RULES, text);
|
|
54
59
|
export const redactSecretsDeep = (text) => redactSecrets(text).replace(HIGH_ENTROPY_RULE.pattern, HIGH_ENTROPY_RULE.replacement);
|
|
@@ -24,7 +24,7 @@ const CUT_OFF_SECRET_SHAPES = {
|
|
|
24
24
|
authorizationValue: String.raw `\S+`,
|
|
25
25
|
credentialAssignment: credentialAssignmentRule(CREDENTIAL_KEY, String.raw `(?:\\[\s\S]|[^"\\])*(?:"|\\?$)`, "[^']*(?:'|$)", String.raw `\S+`),
|
|
26
26
|
};
|
|
27
|
-
const
|
|
27
|
+
const credentialTokenRules = (shapes) => [
|
|
28
28
|
{ pattern: /\bpk_[A-Za-z0-9_]+\.[A-Za-z0-9_]+/g, replacement: '[redacted]' },
|
|
29
29
|
{ pattern: new RegExp(String.raw `-----BEGIN[A-Z0-9 ]*PRIVATE KEY-----${shapes.privateKeyBody}-----END[A-Z0-9 ]*PRIVATE KEY-----`, 'g'), replacement: '[redacted key]' },
|
|
30
30
|
{ pattern: /\bsk-[A-Za-z0-9_-]{16,}\b/g, replacement: '[redacted]' },
|
|
@@ -40,14 +40,19 @@ const secretRedactionRules = (shapes) => [
|
|
|
40
40
|
{ pattern: /\bxai-[A-Za-z0-9]{16,}\b/g, replacement: '[redacted]' },
|
|
41
41
|
{ pattern: /\beyJ[A-Za-z0-9_-]{8,}\.[A-Za-z0-9_-]{8,}\.[A-Za-z0-9_-]{8,}\b/g, replacement: '[redacted]' },
|
|
42
42
|
{ pattern: new RegExp(String.raw `\b([a-z][a-z0-9+.-]*:\/\/[^\s:/@]+:)${shapes.urlPassword}@`, 'gi'), replacement: '$1[redacted]@' },
|
|
43
|
+
];
|
|
44
|
+
const secretRedactionRules = (shapes) => [
|
|
45
|
+
...credentialTokenRules(shapes),
|
|
43
46
|
{ pattern: new RegExp(String.raw `\bbearer${shapes.separator}+[A-Za-z0-9._~+/=-]+`, 'gi'), replacement: 'bearer [redacted]' },
|
|
44
47
|
{ pattern: new RegExp(String.raw `\bauthorization:${shapes.separator}*(?:${AUTHORIZATION_SCHEME}${shapes.separator}+)?${shapes.authorizationValue}`, 'gi'), replacement: 'authorization: [redacted]' },
|
|
45
48
|
shapes.credentialAssignment,
|
|
46
49
|
];
|
|
47
50
|
export const SECRET_REDACTION_RULES = secretRedactionRules(DISPLAYED_SECRET_SHAPES);
|
|
51
|
+
const CREDENTIAL_TOKEN_RULES = credentialTokenRules(DISPLAYED_SECRET_SHAPES);
|
|
48
52
|
const CUT_OFF_TEXT_REDACTION_RULES = secretRedactionRules(CUT_OFF_SECRET_SHAPES);
|
|
49
53
|
const HIGH_ENTROPY_RULE = { pattern: /[A-Za-z0-9+/]{40,}={0,2}/g, replacement: '[redacted]' };
|
|
50
54
|
const applyRedactionRules = (rules, text) => rules.reduce((acc, rule) => acc.replace(rule.pattern, rule.replacement), text);
|
|
51
55
|
export const redactSecrets = (text) => applyRedactionRules(SECRET_REDACTION_RULES, text);
|
|
56
|
+
export const containsCredentialToken = (text) => applyRedactionRules(CREDENTIAL_TOKEN_RULES, text) !== text;
|
|
52
57
|
export const redactSecretsFromContent = (text) => applyRedactionRules(CUT_OFF_TEXT_REDACTION_RULES, text);
|
|
53
58
|
export const redactSecretsDeep = (text) => redactSecrets(text).replace(HIGH_ENTROPY_RULE.pattern, HIGH_ENTROPY_RULE.replacement);
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pushary/openclaw",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Phone approvals for OpenClaw. Pushary asks you before your AI agent runs a gated tool call, and blocks the call unless you approve it.",
|
|
5
5
|
"author": "Pushary <business@pushary.com>",
|
|
6
6
|
"homepage": "https://pushary.com/human-in-the-loop-openclaw",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/Pushary/pushary-openclaw.git"
|
|
10
|
+
},
|
|
7
11
|
"bugs": {
|
|
8
12
|
"url": "https://pushary.com/support"
|
|
9
13
|
},
|
|
@@ -14,12 +18,14 @@
|
|
|
14
18
|
"exports": {
|
|
15
19
|
".": {
|
|
16
20
|
"types": "./dist/index.d.ts",
|
|
17
|
-
"import": "./dist/index.js"
|
|
21
|
+
"import": "./dist/index.js",
|
|
22
|
+
"default": "./dist/index.js"
|
|
18
23
|
},
|
|
19
24
|
"./openclaw.plugin.json": "./openclaw.plugin.json"
|
|
20
25
|
},
|
|
21
26
|
"files": [
|
|
22
27
|
"dist",
|
|
28
|
+
"assets",
|
|
23
29
|
"openclaw.plugin.json",
|
|
24
30
|
"README.md",
|
|
25
31
|
"LICENSE"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pushary",
|
|
3
3
|
"description": "Push notifications, human-in-the-loop questions, and permission gating for your AI agent. Get a push when a task finishes, answer the agent from your phone, and approve risky commands before they run.",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.7",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Pushary",
|
|
7
7
|
"email": "business@pushary.com",
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.7
|
|
4
|
+
|
|
5
|
+
- The bundled Pushary skill is 0.13.4, from 0.13.1. One `ask_user` or `wait_for_answer` call waits at most 48 seconds, the server's real limit; it said 55. A question still pending keeps waiting with the same `correlationId`.
|
|
6
|
+
- When you ask the agent to call, phone or ring you if it gets stuck, it asks with `ask_user`. Pushary phones only when the reply includes `phoneCall`, and the agent does not promise a call otherwise. It tells you when the call rings in your own time (`ringsAtLocal`), not the UTC `ringsAt`.
|
|
7
|
+
- A computer whose key works but has no phone connected pairs one with `npx pushary@latest pair`, which keeps this computer's key. The agent runs it in the background and shows you the link, the QR code and the fingerprint while it waits up to 15 minutes for your phone.
|
|
8
|
+
- The gate uses the computer's id from `~/.pushary/machine-id` when it holds a valid UUID, the id the CLI and the Mac app use, so one computer no longer shows up as two. It only reads that file.
|
|
9
|
+
- The gate sends a git worktree's main checkout as the repository too, so a rule saved for a repository, a deny included, also applies in its linked worktrees. A rule saved for one worktree still applies there. On Windows the gate recognises the worktrees Git for Windows creates by default.
|
|
10
|
+
- The gate's redaction also hides the credential after `Authorization: Basic`, `Token`, `Negotiate` or `NTLM`, not only the scheme word, so a command that carries one shows `authorization: [redacted]`.
|
|
11
|
+
|
|
3
12
|
## 0.2.6
|
|
4
13
|
|
|
5
14
|
- The bundled Pushary skill is 0.13.1. It gives the next step for each `status --json` exit code, lists every agent id setup accepts, and keeps the Mac app in charge of the agents it connected.
|
|
@@ -25,7 +25,7 @@ const CUT_OFF_SECRET_SHAPES = {
|
|
|
25
25
|
authorizationValue: String.raw `\S+`,
|
|
26
26
|
credentialAssignment: credentialAssignmentRule(CREDENTIAL_KEY, String.raw `(?:\\[\s\S]|[^"\\])*(?:"|\\?$)`, "[^']*(?:'|$)", String.raw `\S+`),
|
|
27
27
|
};
|
|
28
|
-
const
|
|
28
|
+
const credentialTokenRules = (shapes) => [
|
|
29
29
|
{ pattern: /\bpk_[A-Za-z0-9_]+\.[A-Za-z0-9_]+/g, replacement: '[redacted]' },
|
|
30
30
|
{ pattern: new RegExp(String.raw `-----BEGIN[A-Z0-9 ]*PRIVATE KEY-----${shapes.privateKeyBody}-----END[A-Z0-9 ]*PRIVATE KEY-----`, 'g'), replacement: '[redacted key]' },
|
|
31
31
|
{ pattern: /\bsk-[A-Za-z0-9_-]{16,}\b/g, replacement: '[redacted]' },
|
|
@@ -41,14 +41,19 @@ const secretRedactionRules = (shapes) => [
|
|
|
41
41
|
{ pattern: /\bxai-[A-Za-z0-9]{16,}\b/g, replacement: '[redacted]' },
|
|
42
42
|
{ pattern: /\beyJ[A-Za-z0-9_-]{8,}\.[A-Za-z0-9_-]{8,}\.[A-Za-z0-9_-]{8,}\b/g, replacement: '[redacted]' },
|
|
43
43
|
{ pattern: new RegExp(String.raw `\b([a-z][a-z0-9+.-]*:\/\/[^\s:/@]+:)${shapes.urlPassword}@`, 'gi'), replacement: '$1[redacted]@' },
|
|
44
|
+
];
|
|
45
|
+
const secretRedactionRules = (shapes) => [
|
|
46
|
+
...credentialTokenRules(shapes),
|
|
44
47
|
{ pattern: new RegExp(String.raw `\bbearer${shapes.separator}+[A-Za-z0-9._~+/=-]+`, 'gi'), replacement: 'bearer [redacted]' },
|
|
45
48
|
{ pattern: new RegExp(String.raw `\bauthorization:${shapes.separator}*(?:${AUTHORIZATION_SCHEME}${shapes.separator}+)?${shapes.authorizationValue}`, 'gi'), replacement: 'authorization: [redacted]' },
|
|
46
49
|
shapes.credentialAssignment,
|
|
47
50
|
];
|
|
48
51
|
export const SECRET_REDACTION_RULES = secretRedactionRules(DISPLAYED_SECRET_SHAPES);
|
|
52
|
+
const CREDENTIAL_TOKEN_RULES = credentialTokenRules(DISPLAYED_SECRET_SHAPES);
|
|
49
53
|
const CUT_OFF_TEXT_REDACTION_RULES = secretRedactionRules(CUT_OFF_SECRET_SHAPES);
|
|
50
54
|
const HIGH_ENTROPY_RULE = { pattern: /[A-Za-z0-9+/]{40,}={0,2}/g, replacement: '[redacted]' };
|
|
51
55
|
const applyRedactionRules = (rules, text) => rules.reduce((acc, rule) => acc.replace(rule.pattern, rule.replacement), text);
|
|
52
56
|
export const redactSecrets = (text) => applyRedactionRules(SECRET_REDACTION_RULES, text);
|
|
57
|
+
export const containsCredentialToken = (text) => applyRedactionRules(CREDENTIAL_TOKEN_RULES, text) !== text;
|
|
53
58
|
export const redactSecretsFromContent = (text) => applyRedactionRules(CUT_OFF_TEXT_REDACTION_RULES, text);
|
|
54
59
|
export const redactSecretsDeep = (text) => redactSecrets(text).replace(HIGH_ENTROPY_RULE.pattern, HIGH_ENTROPY_RULE.replacement);
|
|
@@ -19,25 +19,25 @@ import {
|
|
|
19
19
|
waitRetryPauseMs,
|
|
20
20
|
waitsForThePhone,
|
|
21
21
|
withdrawQuestion
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BPSQLKTG.js";
|
|
23
23
|
import "./chunk-POFBE6ZY.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-ZLHPTXWU.js";
|
|
25
|
+
import "./chunk-P3RRAH6J.js";
|
|
26
|
+
import "./chunk-WQVRDVMJ.js";
|
|
27
|
+
import "./chunk-46IYOPZH.js";
|
|
28
|
+
import "./chunk-E5YEKJOM.js";
|
|
29
29
|
import "./chunk-YU2EUD7O.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-HY4GEW3T.js";
|
|
31
|
+
import "./chunk-P6GCPJDQ.js";
|
|
32
|
+
import "./chunk-ZBZ7CRGD.js";
|
|
33
33
|
import "./chunk-BG4HHB7E.js";
|
|
34
34
|
import "./chunk-TODDEIYG.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-XWMVKK54.js";
|
|
36
36
|
import "./chunk-WIIMW5YO.js";
|
|
37
37
|
import {
|
|
38
38
|
DECISION_STOP_REASON,
|
|
39
39
|
UNVERIFIABLE_APPROVAL_REASON
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-K3ORQ3KY.js";
|
|
41
41
|
import "./chunk-MLKGABMK.js";
|
|
42
42
|
export {
|
|
43
43
|
ABANDONED_WAIT,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
exitOnHelpFlag
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-ACC4YXJS.js";
|
|
5
5
|
import {
|
|
6
6
|
EXIT
|
|
7
7
|
} from "../chunk-BG4HHB7E.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
readJsonSafe,
|
|
10
10
|
writeJsonAtomic
|
|
11
11
|
} from "../chunk-TODDEIYG.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-XWMVKK54.js";
|
|
13
13
|
import "../chunk-WIIMW5YO.js";
|
|
14
14
|
import {
|
|
15
15
|
AUDIT_CHAIN_FINDING_SEVERITY,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
parseAuditChainExport,
|
|
23
23
|
parseAuditKnownHead,
|
|
24
24
|
verifyAuditChainSite
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-K3ORQ3KY.js";
|
|
26
26
|
import "../chunk-MLKGABMK.js";
|
|
27
27
|
|
|
28
28
|
// src/audit-verify.ts
|
|
@@ -1,46 +1,45 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
handleBell
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-NQUE54GA.js";
|
|
5
5
|
import {
|
|
6
6
|
readHookInput
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-VAE5JBR5.js";
|
|
7
|
+
} from "../chunk-BAH4LZL3.js";
|
|
8
|
+
import "../chunk-3MXI37MS.js";
|
|
9
|
+
import "../chunk-XU45NUAV.js";
|
|
11
10
|
import "../chunk-G66WIAST.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-ZSX4XN6C.js";
|
|
12
|
+
import "../chunk-P3E26UO5.js";
|
|
13
|
+
import "../chunk-DQKT5KK5.js";
|
|
14
|
+
import "../chunk-PYH3KFLI.js";
|
|
15
|
+
import "../chunk-AYFOZBTD.js";
|
|
16
|
+
import "../chunk-XJLCZ24Y.js";
|
|
17
|
+
import "../chunk-CVQTLCVS.js";
|
|
19
18
|
import "../chunk-YPY4YCIZ.js";
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-YUYBMCKF.js";
|
|
20
|
+
import "../chunk-352FIVVH.js";
|
|
21
|
+
import "../chunk-7357Q746.js";
|
|
22
|
+
import "../chunk-3TUSMGHE.js";
|
|
23
|
+
import "../chunk-BPSQLKTG.js";
|
|
25
24
|
import "../chunk-POFBE6ZY.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-ZLHPTXWU.js";
|
|
26
|
+
import "../chunk-P3RRAH6J.js";
|
|
27
|
+
import "../chunk-WQVRDVMJ.js";
|
|
29
28
|
import "../chunk-H6CL3T2S.js";
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-IPRQFNPG.js";
|
|
30
|
+
import "../chunk-46IYOPZH.js";
|
|
31
|
+
import "../chunk-E5YEKJOM.js";
|
|
33
32
|
import "../chunk-YU2EUD7O.js";
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-WY4CM6TO.js";
|
|
34
|
+
import "../chunk-OBIUHAXG.js";
|
|
35
|
+
import "../chunk-HY4GEW3T.js";
|
|
36
|
+
import "../chunk-P6GCPJDQ.js";
|
|
37
|
+
import "../chunk-ZBZ7CRGD.js";
|
|
39
38
|
import "../chunk-BG4HHB7E.js";
|
|
40
39
|
import "../chunk-TODDEIYG.js";
|
|
41
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-XWMVKK54.js";
|
|
42
41
|
import "../chunk-WIIMW5YO.js";
|
|
43
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-K3ORQ3KY.js";
|
|
44
43
|
import "../chunk-MLKGABMK.js";
|
|
45
44
|
|
|
46
45
|
// bin/pushary-bell-hook.ts
|
package/dist/bin/pushary-bell.js
CHANGED
|
@@ -5,29 +5,29 @@ import {
|
|
|
5
5
|
liveAgentCount,
|
|
6
6
|
ring,
|
|
7
7
|
upgradeThreshold
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-NQUE54GA.js";
|
|
9
9
|
import {
|
|
10
10
|
createIo
|
|
11
11
|
} from "../chunk-YM2T76UM.js";
|
|
12
12
|
import {
|
|
13
13
|
exitOnHelpFlag
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-ACC4YXJS.js";
|
|
15
15
|
import {
|
|
16
16
|
addBellHooks,
|
|
17
17
|
bellInstalled,
|
|
18
18
|
removeBellHooks
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-CVQTLCVS.js";
|
|
20
20
|
import {
|
|
21
21
|
parseFlags
|
|
22
22
|
} from "../chunk-YPY4YCIZ.js";
|
|
23
23
|
import "../chunk-YU2EUD7O.js";
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-WY4CM6TO.js";
|
|
25
|
+
import "../chunk-OBIUHAXG.js";
|
|
26
26
|
import {
|
|
27
27
|
claudeSettings
|
|
28
|
-
} from "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
28
|
+
} from "../chunk-HY4GEW3T.js";
|
|
29
|
+
import "../chunk-P6GCPJDQ.js";
|
|
30
|
+
import "../chunk-ZBZ7CRGD.js";
|
|
31
31
|
import {
|
|
32
32
|
EXIT
|
|
33
33
|
} from "../chunk-BG4HHB7E.js";
|
|
@@ -35,11 +35,11 @@ import {
|
|
|
35
35
|
readJsonSafe,
|
|
36
36
|
writeJsonAtomic
|
|
37
37
|
} from "../chunk-TODDEIYG.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-XWMVKK54.js";
|
|
39
39
|
import "../chunk-WIIMW5YO.js";
|
|
40
40
|
import {
|
|
41
41
|
isRecord
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-K3ORQ3KY.js";
|
|
43
43
|
import "../chunk-MLKGABMK.js";
|
|
44
44
|
|
|
45
45
|
// bin/pushary-bell.ts
|
|
@@ -6,31 +6,30 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
CommandReceipts,
|
|
8
8
|
controllerCommandSchema
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-4ZH2PXDA.js";
|
|
10
10
|
import {
|
|
11
11
|
SESSION_IDLE_TIMEOUT_MS,
|
|
12
12
|
describeIdleWindow,
|
|
13
13
|
startProcessOwnership,
|
|
14
14
|
withSpawnProcessOwnership
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-A3EV4C34.js";
|
|
16
16
|
import "../chunk-CYTPQDQY.js";
|
|
17
17
|
import {
|
|
18
18
|
announceSubscriptionRequired,
|
|
19
19
|
isDeferAnswer
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-4UDGVO6A.js";
|
|
21
21
|
import {
|
|
22
22
|
claudeTranscriptPath,
|
|
23
23
|
redactDraft,
|
|
24
24
|
registerTranscript,
|
|
25
25
|
registeredTranscriptEnabled,
|
|
26
26
|
startDraftPublisher
|
|
27
|
-
} from "../chunk-
|
|
28
|
-
import "../chunk-VAE5JBR5.js";
|
|
27
|
+
} from "../chunk-XU45NUAV.js";
|
|
29
28
|
import "../chunk-G66WIAST.js";
|
|
30
29
|
import {
|
|
31
30
|
ensureDaemonRunning
|
|
32
|
-
} from "../chunk-
|
|
33
|
-
import "../chunk-
|
|
31
|
+
} from "../chunk-P3E26UO5.js";
|
|
32
|
+
import "../chunk-DQKT5KK5.js";
|
|
34
33
|
import {
|
|
35
34
|
DEFAULT_SESSION,
|
|
36
35
|
PHONE_DRIVER,
|
|
@@ -45,28 +44,28 @@ import {
|
|
|
45
44
|
removePendingCommand,
|
|
46
45
|
reportEvent,
|
|
47
46
|
savePendingCommand
|
|
48
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-PYH3KFLI.js";
|
|
49
48
|
import {
|
|
50
49
|
UNNAMED_ACTION,
|
|
51
50
|
deriveToolTarget,
|
|
52
51
|
describeStopFailure,
|
|
53
52
|
describeToolCall,
|
|
54
53
|
scopePathFor
|
|
55
|
-
} from "../chunk-
|
|
56
|
-
import "../chunk-
|
|
57
|
-
import "../chunk-
|
|
54
|
+
} from "../chunk-AYFOZBTD.js";
|
|
55
|
+
import "../chunk-XJLCZ24Y.js";
|
|
56
|
+
import "../chunk-CVQTLCVS.js";
|
|
58
57
|
import "../chunk-YPY4YCIZ.js";
|
|
59
|
-
import "../chunk-
|
|
58
|
+
import "../chunk-YUYBMCKF.js";
|
|
60
59
|
import {
|
|
61
60
|
external_exports
|
|
62
|
-
} from "../chunk-
|
|
61
|
+
} from "../chunk-352FIVVH.js";
|
|
63
62
|
import {
|
|
64
63
|
transcriptsEnabled
|
|
65
|
-
} from "../chunk-
|
|
64
|
+
} from "../chunk-7357Q746.js";
|
|
66
65
|
import {
|
|
67
66
|
repoKeyFor,
|
|
68
67
|
repositoryScopeFor
|
|
69
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-3TUSMGHE.js";
|
|
70
69
|
import {
|
|
71
70
|
askUser,
|
|
72
71
|
cancelQuestion,
|
|
@@ -80,13 +79,13 @@ import {
|
|
|
80
79
|
waitRetryPauseMs,
|
|
81
80
|
waitsForThePhone,
|
|
82
81
|
withdrawQuestion
|
|
83
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-BPSQLKTG.js";
|
|
84
83
|
import "../chunk-POFBE6ZY.js";
|
|
85
84
|
import {
|
|
86
85
|
SubscriptionRequiredError
|
|
87
|
-
} from "../chunk-
|
|
88
|
-
import "../chunk-
|
|
89
|
-
import "../chunk-
|
|
86
|
+
} from "../chunk-ZLHPTXWU.js";
|
|
87
|
+
import "../chunk-P3RRAH6J.js";
|
|
88
|
+
import "../chunk-WQVRDVMJ.js";
|
|
90
89
|
import {
|
|
91
90
|
needsShell,
|
|
92
91
|
spawnClaude
|
|
@@ -96,27 +95,27 @@ import {
|
|
|
96
95
|
commandAckIsFinal,
|
|
97
96
|
readCommandAck,
|
|
98
97
|
refusedReceiptMessage
|
|
99
|
-
} from "../chunk-
|
|
100
|
-
import "../chunk-
|
|
98
|
+
} from "../chunk-IPRQFNPG.js";
|
|
99
|
+
import "../chunk-46IYOPZH.js";
|
|
101
100
|
import {
|
|
102
101
|
getMachineId
|
|
103
|
-
} from "../chunk-
|
|
102
|
+
} from "../chunk-E5YEKJOM.js";
|
|
104
103
|
import "../chunk-YU2EUD7O.js";
|
|
105
|
-
import "../chunk-
|
|
106
|
-
import "../chunk-
|
|
104
|
+
import "../chunk-WY4CM6TO.js";
|
|
105
|
+
import "../chunk-OBIUHAXG.js";
|
|
107
106
|
import {
|
|
108
107
|
claudeConfigDir
|
|
109
|
-
} from "../chunk-
|
|
110
|
-
import "../chunk-
|
|
108
|
+
} from "../chunk-HY4GEW3T.js";
|
|
109
|
+
import "../chunk-P6GCPJDQ.js";
|
|
111
110
|
import {
|
|
112
111
|
getApiKey,
|
|
113
112
|
getBaseUrl
|
|
114
|
-
} from "../chunk-
|
|
113
|
+
} from "../chunk-ZBZ7CRGD.js";
|
|
115
114
|
import "../chunk-BG4HHB7E.js";
|
|
116
115
|
import "../chunk-TODDEIYG.js";
|
|
117
116
|
import {
|
|
118
117
|
NPX_LATEST_COMMAND
|
|
119
|
-
} from "../chunk-
|
|
118
|
+
} from "../chunk-XWMVKK54.js";
|
|
120
119
|
import "../chunk-WIIMW5YO.js";
|
|
121
120
|
import {
|
|
122
121
|
DECISION_STOP_REASON,
|
|
@@ -129,7 +128,7 @@ import {
|
|
|
129
128
|
refusesWhenUnanswered,
|
|
130
129
|
resolveGate,
|
|
131
130
|
timeoutActionWithoutLocalPrompt
|
|
132
|
-
} from "../chunk-
|
|
131
|
+
} from "../chunk-K3ORQ3KY.js";
|
|
133
132
|
import "../chunk-MLKGABMK.js";
|
|
134
133
|
|
|
135
134
|
// src/wrapper/localPassthrough.ts
|