pushary 1.9.180 → 1.9.181
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 +4 -0
- package/dist/bin/pushary-bell-hook.js +6 -6
- package/dist/bin/pushary-bell.js +2 -2
- package/dist/bin/pushary-calls.js +3 -3
- package/dist/bin/pushary-claude.js +4 -4
- package/dist/bin/pushary-clean.js +7 -7
- package/dist/bin/pushary-codex-bridge.js +2 -2
- package/dist/bin/pushary-codex-hook.js +6 -6
- package/dist/bin/pushary-codex-session.js +2 -2
- package/dist/bin/pushary-connect.js +4 -4
- package/dist/bin/pushary-daemon.js +8 -8
- package/dist/bin/pushary-disconnect.js +2 -2
- package/dist/bin/pushary-doctor.js +6 -6
- package/dist/bin/pushary-elicitation-hook.js +5 -5
- package/dist/bin/pushary-gemini-bridge.js +2 -2
- package/dist/bin/pushary-gemini-hook.js +5 -5
- package/dist/bin/pushary-hook.js +6 -6
- package/dist/bin/pushary-login.js +4 -4
- package/dist/bin/pushary-logout.js +3 -3
- package/dist/bin/pushary-mode.js +3 -3
- package/dist/bin/pushary-notification-hook.js +5 -5
- package/dist/bin/pushary-opencode-bridge.js +2 -2
- package/dist/bin/pushary-opencode-hook.js +5 -5
- package/dist/bin/pushary-permission-denied-hook.js +6 -6
- package/dist/bin/pushary-permission-hook.js +6 -6
- package/dist/bin/pushary-post-hook.js +5 -5
- package/dist/bin/pushary-prompt-hook.js +5 -5
- package/dist/bin/pushary-session-end-hook.js +5 -5
- package/dist/bin/pushary-session-start-hook.js +7 -7
- package/dist/bin/pushary-sessions.js +1 -1
- package/dist/bin/pushary-setup.js +8 -8
- package/dist/bin/pushary-status.js +5 -5
- package/dist/bin/pushary-stop-hook.js +5 -5
- package/dist/bin/pushary-stopfailure-hook.js +5 -5
- package/dist/bin/pushary-suggestions.js +3 -3
- package/dist/bin/pushary-transcript-register.js +4 -4
- package/dist/bin/pushary-transcripts.js +4 -4
- package/dist/bin/pushary-upgrade.js +6 -6
- package/dist/bin/pushary-wait.js +3 -3
- package/dist/{chunk-XID6PO4T.js → chunk-4W4J74GE.js} +1 -1
- package/dist/{chunk-D5WXTN2C.js → chunk-5LRVMXIZ.js} +1 -2
- package/dist/{chunk-2EWBZQHF.js → chunk-5ZGWUKIO.js} +1 -1
- package/dist/{chunk-VOONPEA7.js → chunk-AC6Q7DEQ.js} +1 -1
- package/dist/{chunk-ZFF4UNXN.js → chunk-E3XXZPPH.js} +3 -3
- package/dist/{chunk-EOGOZ6XB.js → chunk-EJ6HBNXC.js} +1 -1
- package/dist/{chunk-CGVQC5EF.js → chunk-IIW2LAPX.js} +2 -2
- package/dist/{chunk-RKYKCR22.js → chunk-J5GK6IVD.js} +1 -1
- package/dist/{chunk-A7MLOLAM.js → chunk-JMRXABTK.js} +2 -2
- package/dist/{chunk-IQJL5HY5.js → chunk-LX37P6WT.js} +2 -2
- package/dist/{chunk-DULV2NZK.js → chunk-ME4RYRDR.js} +1 -1
- package/dist/{chunk-MQKEYMX4.js → chunk-MLFPZDKD.js} +2 -2
- package/dist/{chunk-UXPO3OEC.js → chunk-O6PJFSWQ.js} +1 -1
- package/dist/{chunk-76AS4CFU.js → chunk-R3Y7S22X.js} +2 -2
- package/dist/{chunk-IEWZ4O74.js → chunk-RWEKNWOJ.js} +1 -1
- package/dist/{chunk-INTSTZH4.js → chunk-TC5H6AI3.js} +1 -1
- package/dist/{chunk-OOA65NQG.js → chunk-WYF7R57R.js} +1 -1
- package/dist/{codex-app-cards-switch-NWDQLOTK.js → codex-app-cards-switch-B3FSCCCU.js} +4 -4
- package/dist/{codex-desktop-launch-FH6RY46X.js → codex-desktop-launch-U3PPGTWK.js} +1 -1
- package/dist/{reapply-DLMD74WK.js → reapply-GVNOR5EJ.js} +3 -3
- package/dist/src/index.js +6 -6
- package/package.json +1 -1
package/dist/bin/pushary-wait.js
CHANGED
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
} from "../chunk-CVWG2N3Y.js";
|
|
9
9
|
import {
|
|
10
10
|
exitOnFailedSettingsRequest
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-IIW2LAPX.js";
|
|
12
|
+
import "../chunk-ME4RYRDR.js";
|
|
13
13
|
import {
|
|
14
14
|
APPROVAL_RULES_PATH,
|
|
15
15
|
PUSH_WINDOW_COMMAND,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
pusharyFetch
|
|
32
32
|
} from "../chunk-KFAYDRWP.js";
|
|
33
33
|
import "../chunk-OTY6O2LK.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-5LRVMXIZ.js";
|
|
35
35
|
import "../chunk-2C5DS3GU.js";
|
|
36
36
|
import "../chunk-O4IYGRNI.js";
|
|
37
37
|
import "../chunk-OJWADO7D.js";
|
|
@@ -117,7 +117,6 @@ var isDisabledExport = (line) => {
|
|
|
117
117
|
var KEY_ENV_FILE_NAME = "env";
|
|
118
118
|
var RC_BACKUP_DIRECTORY_NAME = "backups";
|
|
119
119
|
var PATH_SAFE_IN_DOUBLE_QUOTES = /^[A-Za-z0-9._\/-]+$/;
|
|
120
|
-
var OUR_KEY_LOADER = /^[ \t]*if \[ -f ("\$HOME\/[A-Za-z0-9._\/-]+"|'(?:[^']|'\\'')+') \]; then \. \1; fi[ \t]*$/;
|
|
121
120
|
var OLD_RC_BACKUP_MARK = ".pushary-backup-";
|
|
122
121
|
var INDENTATION = /^[ \t]*/;
|
|
123
122
|
var BLOCK_OPENER = /(?:^|[\s;])(?:then|else|do|\{|\()$/;
|
|
@@ -139,7 +138,7 @@ var keyLoaderLine = (envFile = keyEnvFilePath(), home = homedir2()) => {
|
|
|
139
138
|
const path = shellPathOf(envFile, home);
|
|
140
139
|
return `if [ -f ${path} ]; then . ${path}; fi`;
|
|
141
140
|
};
|
|
142
|
-
var isKeyLoaderLine = (line) =>
|
|
141
|
+
var isKeyLoaderLine = (line) => line.trim() === keyLoaderLine();
|
|
143
142
|
var isActiveKeyExport = (line) => OUR_EXPORT.test(line);
|
|
144
143
|
var isPusharyKeyLine = (line) => isActiveKeyExport(line) || isDisabledExport(line);
|
|
145
144
|
var indentationOf = (line) => INDENTATION.exec(line)?.[0] ?? "";
|
|
@@ -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-B3FSCCCU.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]");
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-WHB622LP.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureDaemonRunning
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-J5GK6IVD.js";
|
|
7
7
|
import {
|
|
8
8
|
hookOwnerOf
|
|
9
9
|
} from "./chunk-YQMNDBJD.js";
|
|
@@ -33,13 +33,13 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
transcriptEnvironmentPreference,
|
|
35
35
|
transcriptsEnabled
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-TC5H6AI3.js";
|
|
37
37
|
import {
|
|
38
38
|
fetchAsCredential
|
|
39
39
|
} from "./chunk-BRFHSICQ.js";
|
|
40
40
|
import {
|
|
41
41
|
readTranscriptPreference
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-5LRVMXIZ.js";
|
|
43
43
|
import {
|
|
44
44
|
claudeConfigDir,
|
|
45
45
|
codexHome,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
SIGNED_OUT_ON_MAC_MESSAGE,
|
|
3
3
|
describeSignedOutKey,
|
|
4
4
|
readSignedOutDiagnosis
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ME4RYRDR.js";
|
|
6
6
|
import {
|
|
7
7
|
APPROVAL_RULES_PATH
|
|
8
8
|
} from "./chunk-ITLAO546.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-RE3TYSP7.js";
|
|
18
18
|
import {
|
|
19
19
|
readKeySource
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5LRVMXIZ.js";
|
|
21
21
|
import {
|
|
22
22
|
getBaseUrl
|
|
23
23
|
} from "./chunk-O4IWURQP.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-OYIN77HO.js";
|
|
6
6
|
import {
|
|
7
7
|
readMacAppAgentKey
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4W4J74GE.js";
|
|
9
9
|
import {
|
|
10
10
|
API_KEYS_PATH
|
|
11
11
|
} from "./chunk-ITLAO546.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
readConfigFileKey,
|
|
22
22
|
readKeySource,
|
|
23
23
|
readMacAppKeyPrefix
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5LRVMXIZ.js";
|
|
25
25
|
import {
|
|
26
26
|
isValidApiKey
|
|
27
27
|
} from "./chunk-CXBOEYV6.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
installedCodexApp,
|
|
10
10
|
readCodexAppRuntime,
|
|
11
11
|
shellQuoted
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5ZGWUKIO.js";
|
|
13
13
|
import {
|
|
14
14
|
CODEX_APP_LAUNCH_AT_LOGIN_VERB,
|
|
15
15
|
CODEX_APP_LAUNCH_VARIABLE
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-QCGNGEGE.js";
|
|
20
20
|
import {
|
|
21
21
|
xml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-J5GK6IVD.js";
|
|
23
23
|
import {
|
|
24
24
|
writeFileAtomic
|
|
25
25
|
} from "./chunk-PM2NRK6Y.js";
|
|
@@ -10,14 +10,14 @@ import {
|
|
|
10
10
|
hasDaemonServiceDefinition,
|
|
11
11
|
readDaemonNeedsLogin,
|
|
12
12
|
readDaemonStatus
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-J5GK6IVD.js";
|
|
14
14
|
import {
|
|
15
15
|
getMachineId
|
|
16
16
|
} from "./chunk-OTY6O2LK.js";
|
|
17
17
|
import {
|
|
18
18
|
readControlMode,
|
|
19
19
|
readKeySource
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5LRVMXIZ.js";
|
|
21
21
|
import {
|
|
22
22
|
getBaseUrl
|
|
23
23
|
} from "./chunk-O4IWURQP.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-VRPVNOHT.js";
|
|
4
4
|
import {
|
|
5
5
|
readConfigFileKey
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5LRVMXIZ.js";
|
|
7
7
|
|
|
8
8
|
// src/bell/fleet.ts
|
|
9
9
|
import { closeSync, constants, futimesSync, lstatSync, mkdirSync, openSync, readdirSync, unlinkSync } from "fs";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
macAppFxBridge,
|
|
19
19
|
refreshClineKey,
|
|
20
20
|
switchFxHttpEntryToBridge
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AC6Q7DEQ.js";
|
|
22
22
|
import {
|
|
23
23
|
OPENCODE_HOOK_BINARY,
|
|
24
24
|
agentHookOwner,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
} from "./chunk-YQMNDBJD.js";
|
|
56
56
|
import {
|
|
57
57
|
KEY_FILE_MODE
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-5LRVMXIZ.js";
|
|
59
59
|
import {
|
|
60
60
|
CLAUDE_CODE_PUSHARY_PERMISSION_RULES,
|
|
61
61
|
CLAUDE_HOOK_BINARY,
|
|
@@ -22,15 +22,15 @@ import {
|
|
|
22
22
|
turnCodexAppCardsOff,
|
|
23
23
|
turnCodexAppCardsOn,
|
|
24
24
|
whyLaunchctlFailed
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-LX37P6WT.js";
|
|
26
|
+
import "./chunk-5ZGWUKIO.js";
|
|
27
27
|
import "./chunk-XCEN33UP.js";
|
|
28
28
|
import "./chunk-U4P4NDVB.js";
|
|
29
29
|
import "./chunk-QCGNGEGE.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-J5GK6IVD.js";
|
|
31
31
|
import "./chunk-VRNGMRJA.js";
|
|
32
32
|
import "./chunk-OTY6O2LK.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-5LRVMXIZ.js";
|
|
34
34
|
import "./chunk-2C5DS3GU.js";
|
|
35
35
|
import "./chunk-O4IYGRNI.js";
|
|
36
36
|
import "./chunk-OJWADO7D.js";
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
reapplyOpenCodePlugin,
|
|
13
13
|
reapplyVsCodePlugin,
|
|
14
14
|
repairCodexHolds
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-R3Y7S22X.js";
|
|
16
16
|
import "./chunk-IMGGR66U.js";
|
|
17
17
|
import "./chunk-VTWMIYBM.js";
|
|
18
18
|
import "./chunk-4XNQOTVR.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-AC6Q7DEQ.js";
|
|
20
20
|
import "./chunk-JQCAB544.js";
|
|
21
21
|
import "./chunk-JJNBX3SP.js";
|
|
22
22
|
import "./chunk-UZMMHZHU.js";
|
|
@@ -41,7 +41,7 @@ import "./chunk-VRPVNOHT.js";
|
|
|
41
41
|
import "./chunk-RE3TYSP7.js";
|
|
42
42
|
import "./chunk-KFAYDRWP.js";
|
|
43
43
|
import "./chunk-OTY6O2LK.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-5LRVMXIZ.js";
|
|
45
45
|
import "./chunk-2C5DS3GU.js";
|
|
46
46
|
import "./chunk-O4IYGRNI.js";
|
|
47
47
|
import "./chunk-OJWADO7D.js";
|
package/dist/src/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handlePreToolUse
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-WYF7R57R.js";
|
|
4
4
|
import "../chunk-CEHLYLLC.js";
|
|
5
5
|
import "../chunk-E3TGXTDU.js";
|
|
6
6
|
import "../chunk-4XQN44EO.js";
|
|
7
7
|
import "../chunk-J45L73O6.js";
|
|
8
8
|
import "../chunk-2RG454N6.js";
|
|
9
9
|
import "../chunk-VD3Q2A5J.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-RWEKNWOJ.js";
|
|
11
11
|
import "../chunk-255TJOUT.js";
|
|
12
12
|
import "../chunk-Z7DDOLAZ.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-E3XXZPPH.js";
|
|
14
14
|
import "../chunk-WHB622LP.js";
|
|
15
15
|
import "../chunk-67IYCZY2.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-J5GK6IVD.js";
|
|
17
17
|
import "../chunk-YQMNDBJD.js";
|
|
18
18
|
import {
|
|
19
19
|
fetchModeOverride,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
fetchAccountPublicKey
|
|
33
33
|
} from "../chunk-B4K5OVOE.js";
|
|
34
34
|
import "../chunk-55L4JSPA.js";
|
|
35
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-TC5H6AI3.js";
|
|
36
36
|
import "../chunk-VRNGMRJA.js";
|
|
37
37
|
import {
|
|
38
38
|
askUser,
|
|
@@ -47,7 +47,7 @@ import "../chunk-VRPVNOHT.js";
|
|
|
47
47
|
import "../chunk-RE3TYSP7.js";
|
|
48
48
|
import "../chunk-KFAYDRWP.js";
|
|
49
49
|
import "../chunk-OTY6O2LK.js";
|
|
50
|
-
import "../chunk-
|
|
50
|
+
import "../chunk-5LRVMXIZ.js";
|
|
51
51
|
import "../chunk-2C5DS3GU.js";
|
|
52
52
|
import "../chunk-O4IYGRNI.js";
|
|
53
53
|
import "../chunk-OJWADO7D.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pushary",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.181",
|
|
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",
|