pushary 1.9.235 → 1.9.237
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 +12 -0
- package/data/cursor-plugin/.cursor-plugin/plugin.json +1 -1
- package/data/cursor-plugin/CHANGELOG.md +4 -0
- package/data/cursor-plugin/scripts/redaction.mjs +2 -0
- package/data/openclaw-plugin/dist/redaction.js +2 -0
- package/data/vscode-plugin/.claude-plugin/plugin.json +1 -1
- package/data/vscode-plugin/CHANGELOG.md +4 -0
- package/data/vscode-plugin/scripts/redaction.mjs +2 -0
- package/dist/{api-UVFEVNJD.js → api-HJSGVYQY.js} +11 -11
- package/dist/bin/pushary-audit.js +3 -3
- package/dist/bin/pushary-bell-hook.js +28 -28
- package/dist/bin/pushary-bell.js +12 -12
- package/dist/bin/pushary-calls.js +15 -15
- package/dist/bin/pushary-claude.js +26 -26
- package/dist/bin/pushary-clean.js +39 -39
- package/dist/bin/pushary-codex-bridge.js +23 -23
- package/dist/bin/pushary-codex-hook.js +34 -34
- package/dist/bin/pushary-codex-session.js +8 -8
- package/dist/bin/pushary-codex.js +16 -16
- package/dist/bin/pushary-connect.js +35 -35
- package/dist/bin/pushary-cowork.js +5 -5
- package/dist/bin/pushary-daemon.js +46 -46
- package/dist/bin/pushary-disconnect.js +30 -30
- package/dist/bin/pushary-display-hook.js +16 -0
- package/dist/bin/pushary-doctor.js +47 -47
- package/dist/bin/pushary-elicitation-hook.js +27 -27
- package/dist/bin/pushary-gemini-bridge.js +18 -18
- package/dist/bin/pushary-gemini-hook.js +31 -31
- package/dist/bin/pushary-hook.js +35 -35
- package/dist/bin/pushary-login.js +23 -23
- package/dist/bin/pushary-logout.js +31 -31
- package/dist/bin/pushary-mcp.js +12 -12
- package/dist/bin/pushary-mode.js +16 -16
- package/dist/bin/pushary-notification-hook.js +27 -27
- package/dist/bin/pushary-opencode-bridge.js +22 -22
- package/dist/bin/pushary-opencode-hook.js +32 -32
- package/dist/bin/pushary-permission-denied-hook.js +34 -34
- package/dist/bin/pushary-permission-hook.js +35 -35
- package/dist/bin/pushary-post-hook.js +28 -28
- package/dist/bin/pushary-prompt-hook.js +27 -27
- package/dist/bin/pushary-session-end-hook.js +27 -27
- package/dist/bin/pushary-session-start-hook.js +39 -39
- package/dist/bin/pushary-sessions.js +12 -12
- package/dist/bin/pushary-setup.js +555 -70
- package/dist/bin/pushary-stats.js +5 -5
- package/dist/bin/pushary-status.js +36 -36
- package/dist/bin/pushary-stop-hook.js +27 -27
- package/dist/bin/pushary-stopfailure-hook.js +27 -27
- package/dist/bin/pushary-suggestions.js +16 -16
- package/dist/bin/pushary-transcript-register.js +17 -17
- package/dist/bin/pushary-transcripts.js +26 -26
- package/dist/bin/pushary-upgrade.js +47 -47
- package/dist/bin/pushary-wait.js +16 -16
- package/dist/bin/pushary.js +7 -7
- package/dist/{chunk-7MRK2WXT.js → chunk-3BNYU7LA.js} +2 -2
- package/dist/{chunk-4UIVOCDT.js → chunk-3XEOKKCT.js} +1 -1
- package/dist/{chunk-WY2UKKLD.js → chunk-47UJLOWC.js} +1 -1
- package/dist/{chunk-DW7ZQX7L.js → chunk-4QFQH4DE.js} +1 -1
- package/dist/{chunk-NDXTGRZG.js → chunk-56ZVNO4C.js} +1 -1
- package/dist/{chunk-HPFGXE6Y.js → chunk-5V2X63OJ.js} +6 -6
- package/dist/{chunk-XGW4PJPO.js → chunk-5Y5FFPNI.js} +2 -2
- package/dist/{chunk-3C2XMGXE.js → chunk-66KEOAAB.js} +3 -3
- package/dist/{chunk-BBZ3BBZC.js → chunk-6SSWRXJ3.js} +4 -4
- package/dist/{chunk-XYRXKL3V.js → chunk-74Z7L2LQ.js} +1 -1
- package/dist/{chunk-MHZSIN5K.js → chunk-77FFXRKW.js} +3 -3
- package/dist/{chunk-JF4VX754.js → chunk-7BRTSKYT.js} +1 -1
- package/dist/{chunk-FKX7SWNT.js → chunk-7RMOKXHS.js} +7 -7
- package/dist/{chunk-7B2DHU32.js → chunk-A636SGRV.js} +16 -16
- package/dist/{chunk-LDX3KQMJ.js → chunk-BQS4RV3T.js} +2 -2
- package/dist/{chunk-3B5FQ542.js → chunk-BUFXSMY6.js} +2 -2
- package/dist/{chunk-X4G5G2ZN.js → chunk-BWYM4X2Z.js} +2 -2
- package/dist/{chunk-HI3LOBT5.js → chunk-BZ2LBE2K.js} +116 -49
- package/dist/{chunk-A2GO3G2I.js → chunk-CKBAQUE3.js} +6 -6
- package/dist/{chunk-E6IFBGZF.js → chunk-CLDEQACG.js} +2 -2
- package/dist/{chunk-MQSO2S3H.js → chunk-CWZCWIQT.js} +1 -1
- package/dist/{chunk-H5TBR4BB.js → chunk-DF6TLBHZ.js} +5 -5
- package/dist/{chunk-2QUYUFYQ.js → chunk-DFHMD7G7.js} +4 -4
- package/dist/{chunk-V7ULGI7U.js → chunk-DHU22BBS.js} +4 -4
- package/dist/{chunk-TAXOI6AK.js → chunk-DJ67SBPF.js} +4 -4
- package/dist/{chunk-DN6HPGCI.js → chunk-DK4BKL43.js} +5 -5
- package/dist/{chunk-Z7LAWFZ7.js → chunk-DZJ4WO7T.js} +1 -1
- package/dist/{chunk-52PIW2SN.js → chunk-E7RUE3HG.js} +3 -3
- package/dist/{chunk-OSDIFFSP.js → chunk-EFYTCLOR.js} +3 -3
- package/dist/{chunk-ZPQPTIIY.js → chunk-FMU5CMVS.js} +2 -2
- package/dist/{chunk-JPKOYDQJ.js → chunk-GEEQ5JLH.js} +6 -6
- package/dist/{chunk-WMCF6PR5.js → chunk-GM4YH5PP.js} +3 -3
- package/dist/{chunk-5QLIXOVT.js → chunk-HBB2B6YX.js} +1 -1
- package/dist/{chunk-KTJHZVCD.js → chunk-HMIFIDPC.js} +3 -3
- package/dist/{chunk-JYFMVOML.js → chunk-HSLZ2ZJI.js} +1 -1
- package/dist/{chunk-3QQY5USW.js → chunk-HYE5ARRS.js} +4 -4
- package/dist/{chunk-FMWG4X3D.js → chunk-I3OCBCNT.js} +5 -5
- package/dist/{chunk-7XCL66ON.js → chunk-I4RKTMEX.js} +2 -2
- package/dist/{chunk-TWACA7ER.js → chunk-IBIKEGDF.js} +9 -9
- package/dist/{chunk-WVJFHP75.js → chunk-ITDN4EH5.js} +1 -1
- package/dist/{chunk-JM6EAV42.js → chunk-JN23XJFF.js} +5 -5
- package/dist/{chunk-5DRTR5FC.js → chunk-JOQ4H6NH.js} +5 -5
- package/dist/{chunk-EINN22XV.js → chunk-JVAMUEHS.js} +2 -2
- package/dist/{chunk-TGM2WHUG.js → chunk-JWRCNFPM.js} +2 -2
- package/dist/{chunk-FZN7TKSM.js → chunk-JX5R7WCL.js} +1 -1
- package/dist/{chunk-G5OTSL26.js → chunk-KJ2WZOHD.js} +3 -3
- package/dist/{chunk-ICLT2KA5.js → chunk-KJJTE4HC.js} +1 -1
- package/dist/{chunk-GPD4BB76.js → chunk-LVSQJNUN.js} +1 -1
- package/dist/{chunk-UIBQDALO.js → chunk-M6CLKAF6.js} +3 -3
- package/dist/{chunk-GSB62GNT.js → chunk-MODLPJPU.js} +4 -4
- package/dist/{chunk-4CEGJAEB.js → chunk-MSTQIKS4.js} +176 -23
- package/dist/{chunk-HJSW3MH2.js → chunk-N3IM3JEH.js} +2 -2
- package/dist/{chunk-6H3RBEHP.js → chunk-NBTUSWX2.js} +1 -1
- package/dist/{chunk-OV2XD2UY.js → chunk-OOPL7BL2.js} +1 -1
- package/dist/{chunk-VPG6QENY.js → chunk-ORCSR77N.js} +10 -10
- package/dist/{chunk-URDT623B.js → chunk-OTRVJVKS.js} +1 -1
- package/dist/{chunk-4QQ3HXGR.js → chunk-PJHG34QL.js} +3 -3
- package/dist/{chunk-FEVQDABQ.js → chunk-PMJKR7WR.js} +2 -2
- package/dist/{chunk-CSXA4HMV.js → chunk-PNLG2FXX.js} +2 -2
- package/dist/{chunk-JFXYGMV5.js → chunk-Q43WP2LP.js} +4 -4
- package/dist/{chunk-ELP65DFC.js → chunk-Q6F3FM5A.js} +1 -1
- package/dist/{chunk-K6PBTBLO.js → chunk-Q6KONQHQ.js} +4 -4
- package/dist/{chunk-FCQ52N4E.js → chunk-QIWVSIK2.js} +8 -8
- package/dist/{chunk-ULDUDSTW.js → chunk-QXIDU6YJ.js} +33 -0
- package/dist/{chunk-JF3ONE4H.js → chunk-RZANH42A.js} +2 -2
- package/dist/{chunk-3K2S4OW7.js → chunk-T5WMBVKG.js} +7 -6
- package/dist/{chunk-LIYQSMYK.js → chunk-TOAPYOT6.js} +4 -4
- package/dist/{chunk-HDD23XYP.js → chunk-U7HEUEZQ.js} +11 -11
- package/dist/{chunk-RV5LIW3K.js → chunk-UEZLE5S5.js} +12 -12
- package/dist/{chunk-BJRPBKE7.js → chunk-UN7PMXBY.js} +4 -4
- package/dist/{chunk-TMN7LKDC.js → chunk-US4WGPDI.js} +7 -7
- package/dist/{chunk-V4ZQBKI6.js → chunk-USOOH77B.js} +1 -1
- package/dist/{chunk-MN6DXDJR.js → chunk-UX62CHEU.js} +6 -6
- package/dist/{chunk-G5EKU4RB.js → chunk-V2P2NUCI.js} +3 -3
- package/dist/{chunk-AA54OZM2.js → chunk-VC4EBXGF.js} +5 -5
- package/dist/{chunk-H4364HR3.js → chunk-VJTMLOV4.js} +5 -5
- package/dist/{chunk-M64A2Z2F.js → chunk-VO4VXPCH.js} +1 -1
- package/dist/{chunk-Q5SVRCFU.js → chunk-XIMXQ4OB.js} +1 -1
- package/dist/{chunk-SFIYMKWT.js → chunk-XKWYE3ZY.js} +5 -5
- package/dist/{chunk-Z5EWWGD2.js → chunk-XWL2QPIG.js} +5 -5
- package/dist/{chunk-FUJZW3R5.js → chunk-Z5SJDN5J.js} +1 -1
- package/dist/{codex-app-cards-switch-DBFQJU3Y.js → codex-app-cards-switch-FY5HJYZR.js} +11 -11
- package/dist/{codex-card-routing-TKG7LOP4.js → codex-card-routing-3TVI3V2W.js} +2 -2
- package/dist/{codex-desktop-launch-UXMYKS5C.js → codex-desktop-launch-OOSA2UHI.js} +3 -3
- package/dist/{codex-session-launch-5NOJKDWN.js → codex-session-launch-6BNQDMCH.js} +20 -20
- package/dist/{config-HHUSXJZE.js → config-WOG7M4P2.js} +3 -3
- package/dist/{global-upgrade-J2NB62DV.js → global-upgrade-QGWLB3XX.js} +9 -9
- package/dist/{identity-7O3ZBVUY.js → identity-DSZ5C7LA.js} +4 -4
- package/dist/{live-capabilities-773SVQWH.js → live-capabilities-ARZLZCZC.js} +4 -4
- package/dist/{paths-VZXMX35O.js → paths-6QS77FBA.js} +3 -3
- package/dist/{reapply-7MIBK2WB.js → reapply-TXPOSMJF.js} +34 -34
- package/dist/src/index.js +33 -33
- package/dist/{upgrade-lock-WWTTPOIZ.js → upgrade-lock-6777RDS5.js} +4 -4
- package/dist/{usage-PHTLHFL2.js → usage-4EOFN3X4.js} +3 -3
- package/package.json +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CODEX_HOOK_STATUS,
|
|
3
3
|
HERMES_HISTORY_HELPER_COMMAND
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HMIFIDPC.js";
|
|
5
5
|
import {
|
|
6
6
|
HERMES_ALWAYS_ALLOWED_SHELL_RULE,
|
|
7
7
|
HERMES_COMMAND_ALLOWLIST_KEY,
|
|
8
8
|
HERMES_GATE_TOOLS_KEY,
|
|
9
9
|
HERMES_SHELL_TOOL
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DFHMD7G7.js";
|
|
11
11
|
import {
|
|
12
12
|
retryAgentCommand
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-77FFXRKW.js";
|
|
14
14
|
import {
|
|
15
15
|
NPX_LATEST_COMMAND
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3BNYU7LA.js";
|
|
17
17
|
|
|
18
18
|
// src/setup/codex-trust.ts
|
|
19
19
|
var CODEX_TRUST_TELEMETRY = {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addGeminiMcpServer,
|
|
3
3
|
removeGeminiMcpServer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Q6KONQHQ.js";
|
|
5
5
|
import {
|
|
6
6
|
CLAUDE_CODE_AGENT
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-U7HEUEZQ.js";
|
|
8
8
|
import {
|
|
9
9
|
compatibleToolLookup
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ITDN4EH5.js";
|
|
11
11
|
import {
|
|
12
12
|
CLAUDE_HOOK_EVENTS,
|
|
13
13
|
PUSHARY_MCP_URL,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
isPusharyHook,
|
|
20
20
|
registerHookEntry,
|
|
21
21
|
removeClaudeMcpServers
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PMJKR7WR.js";
|
|
23
23
|
import {
|
|
24
24
|
AGENT_ENFORCEMENT,
|
|
25
25
|
HOOK_COMPATIBLE_PROFILES,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
pusharyMissingReason,
|
|
33
33
|
refusalOutput,
|
|
34
34
|
withHookHoldBudget
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-QXIDU6YJ.js";
|
|
36
36
|
|
|
37
37
|
// src/config-document.ts
|
|
38
38
|
import { parse, stringify } from "smol-toml";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
keyPrefix,
|
|
5
5
|
readConfigFileKey,
|
|
6
6
|
readMacAppKeyPrefix
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GM4YH5PP.js";
|
|
8
8
|
import {
|
|
9
9
|
NPX_LATEST_COMMAND
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3BNYU7LA.js";
|
|
11
11
|
|
|
12
12
|
// src/key-signed-out.ts
|
|
13
13
|
var VERDICT_BY_CHECK = {
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MANAGED_CLAUDE_SETTINGS_BY_PLATFORM
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BQS4RV3T.js";
|
|
4
4
|
import {
|
|
5
5
|
declinedAgentsFile,
|
|
6
6
|
readDeclinedAgents
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JVAMUEHS.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENCODE_HOOK_BINARY,
|
|
10
10
|
openCodeConfigDir,
|
|
11
11
|
openCodePluginFile
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7RMOKXHS.js";
|
|
13
13
|
import {
|
|
14
14
|
openCodePluginArgv
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LVSQJNUN.js";
|
|
16
16
|
import {
|
|
17
17
|
liveCursorGateCoverage
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-M6CLKAF6.js";
|
|
19
19
|
import {
|
|
20
20
|
compatibleConfigFile,
|
|
21
21
|
compatibleHookEvents,
|
|
22
22
|
grokHome,
|
|
23
23
|
parseConfigDocument
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-I3OCBCNT.js";
|
|
25
25
|
import {
|
|
26
26
|
DEFAULT_HOOKS_KEY_PATH,
|
|
27
27
|
GEMINI_HOOK_BINARY,
|
|
28
28
|
GEMINI_HOOK_EVENTS,
|
|
29
29
|
hooksAt
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-Q6KONQHQ.js";
|
|
31
31
|
import {
|
|
32
32
|
CODEX_EARLIER_APPROVAL_MATCHERS,
|
|
33
33
|
CODEX_HOOK_BINARY,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
parseHookArgv,
|
|
56
56
|
parseHookCommand,
|
|
57
57
|
supportedClaudeEvents
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-PMJKR7WR.js";
|
|
59
59
|
import {
|
|
60
60
|
readRegularJsonFile,
|
|
61
61
|
readRegularTextFile
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
OPENCODE_APPROVAL_EVENT,
|
|
70
70
|
isRecord,
|
|
71
71
|
matcherMatchesEveryCall
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-QXIDU6YJ.js";
|
|
73
73
|
|
|
74
74
|
// src/hook-wiring.ts
|
|
75
75
|
import { createHash } from "crypto";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openClawLauncherCandidates
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PJHG34QL.js";
|
|
4
4
|
import {
|
|
5
5
|
openCodeConfigDirFrom
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7RMOKXHS.js";
|
|
7
7
|
import {
|
|
8
8
|
nativeClaudeInstallPath
|
|
9
9
|
} from "./chunk-TCE3J44Z.js";
|
|
10
10
|
import {
|
|
11
11
|
grokHome
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-I3OCBCNT.js";
|
|
13
13
|
import {
|
|
14
14
|
claudeConfigDir,
|
|
15
15
|
clineDataDirectory,
|
|
16
16
|
codexHomeFrom,
|
|
17
17
|
openClawEnvironmentOf,
|
|
18
18
|
openClawPathsFrom
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PMJKR7WR.js";
|
|
20
20
|
import {
|
|
21
21
|
HOOK_COMPATIBLE_PROFILES
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QXIDU6YJ.js";
|
|
23
23
|
|
|
24
24
|
// src/vscode-config.ts
|
|
25
25
|
import { homedir } from "os";
|
|
@@ -3,24 +3,24 @@ import {
|
|
|
3
3
|
expectedLaunchCapabilities,
|
|
4
4
|
hasSpawnProvider,
|
|
5
5
|
resolveControlPolicy
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-V2P2NUCI.js";
|
|
7
7
|
import {
|
|
8
8
|
daemonHasRemoteProof,
|
|
9
9
|
daemonServiceManagerAvailable,
|
|
10
10
|
hasDaemonServiceDefinition,
|
|
11
11
|
readDaemonNeedsLogin,
|
|
12
12
|
readDaemonStatus
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GEEQ5JLH.js";
|
|
14
14
|
import {
|
|
15
15
|
getMachineId
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OOPL7BL2.js";
|
|
17
17
|
import {
|
|
18
18
|
readControlMode,
|
|
19
19
|
readKeyInForce
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GM4YH5PP.js";
|
|
21
21
|
import {
|
|
22
22
|
getBaseUrl
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5Y5FFPNI.js";
|
|
24
24
|
import {
|
|
25
25
|
getPackageVersion
|
|
26
26
|
} from "./chunk-CXQWDQCJ.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PMJKR7WR.js";
|
|
4
4
|
import {
|
|
5
5
|
readRegularJsonFile,
|
|
6
6
|
writeFileAtomic
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
serializeDeclinedAgents,
|
|
14
14
|
withDeclinedAgent,
|
|
15
15
|
withoutDeclinedAgent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QXIDU6YJ.js";
|
|
17
17
|
|
|
18
18
|
// src/declined-agents-file.ts
|
|
19
19
|
import { join } from "path";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PMJKR7WR.js";
|
|
4
4
|
import {
|
|
5
5
|
readJsonSafe
|
|
6
6
|
} from "./chunk-PM2NRK6Y.js";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QXIDU6YJ.js";
|
|
10
10
|
|
|
11
11
|
// src/process-ownership.ts
|
|
12
12
|
import { createHash, randomUUID } from "crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyFetch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EFYTCLOR.js";
|
|
4
4
|
import {
|
|
5
5
|
getBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5Y5FFPNI.js";
|
|
7
7
|
import {
|
|
8
8
|
NetworkError
|
|
9
9
|
} from "./chunk-CINBAX5G.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
isValidApiKey,
|
|
15
15
|
normalizeKeyScope
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QXIDU6YJ.js";
|
|
17
17
|
|
|
18
18
|
// src/session.ts
|
|
19
19
|
var samePusharyAccount = (left, right) => left.kind === "ok" && right.kind === "ok" && left.identity.workspaceId !== "" && left.identity.workspaceId === right.identity.workspaceId && left.identity.siteId === right.identity.siteId;
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
uploadTranscriptRecords,
|
|
11
11
|
verifyAnchoredRecipients,
|
|
12
12
|
wrapSessionKey
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-E7RUE3HG.js";
|
|
14
14
|
|
|
15
15
|
// src/live-session.ts
|
|
16
16
|
var LIVE_TRANSCRIPT_LIMITS = { queuedRecords: 100, recordCharacters: 32 * 1024 };
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
OPENCODE_PLUGIN_PLACEHOLDER,
|
|
7
7
|
OPENCODE_PLUGIN_SIBLING,
|
|
8
8
|
OPENCODE_PLUGIN_SIBLING_CONTENTS
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HSLZ2ZJI.js";
|
|
10
10
|
|
|
11
11
|
// src/opencode-runtime-bundle.ts
|
|
12
12
|
var openCodeRuntimeSource = `import { spawn } from 'child_process';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pusharyHookExecutable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q6KONQHQ.js";
|
|
4
4
|
import {
|
|
5
5
|
bridgeResolvesToApp,
|
|
6
6
|
cursorUserHooks,
|
|
7
7
|
executableFileName,
|
|
8
8
|
isBridgeLocator,
|
|
9
9
|
liveBridgeProbe
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PMJKR7WR.js";
|
|
11
11
|
import {
|
|
12
12
|
atLeast,
|
|
13
13
|
parseVersion
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
isCursorHookPayload,
|
|
22
22
|
isRecord,
|
|
23
23
|
toolsCoveredByGateEntry
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-QXIDU6YJ.js";
|
|
25
25
|
|
|
26
26
|
// src/cursor-gate-registration.ts
|
|
27
27
|
import { dirname, isAbsolute, join, resolve } from "path";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseSseMessages
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VJTMLOV4.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchAsCredential
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-56ZVNO4C.js";
|
|
7
7
|
import {
|
|
8
8
|
malformedApiKeyMessage
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5Y5FFPNI.js";
|
|
10
10
|
import {
|
|
11
11
|
NPX_LATEST_COMMAND
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3BNYU7LA.js";
|
|
13
13
|
|
|
14
14
|
// src/mcp-stdio-bridge.ts
|
|
15
15
|
var MCP_BRIDGE_BINARY = "pushary-mcp";
|
|
@@ -9,14 +9,97 @@ import {
|
|
|
9
9
|
} from "./chunk-3EGEA4KH.js";
|
|
10
10
|
import {
|
|
11
11
|
getBaseUrl
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5Y5FFPNI.js";
|
|
13
|
+
import {
|
|
14
|
+
CLI_LOCAL_BIND_PATH,
|
|
15
|
+
LOCAL_CONFIRM_HOST,
|
|
16
|
+
LOCAL_CONFIRM_NONCE_PARAM,
|
|
17
|
+
LOCAL_CONFIRM_PATH,
|
|
18
|
+
LOCAL_CONFIRM_STATE_PARAM,
|
|
19
|
+
confirmedTerminalUrl,
|
|
20
|
+
isLocalConfirmToken,
|
|
21
|
+
isPhonePass,
|
|
22
|
+
localTerminalEntryUrl
|
|
23
|
+
} from "./chunk-QXIDU6YJ.js";
|
|
13
24
|
|
|
14
25
|
// src/cli/login-ui.ts
|
|
15
26
|
import { hostname } from "os";
|
|
16
27
|
|
|
28
|
+
// src/cli/local-confirm.ts
|
|
29
|
+
import { createHash, randomBytes, timingSafeEqual } from "crypto";
|
|
30
|
+
import { createServer } from "http";
|
|
31
|
+
var STATE_BYTES = 24;
|
|
32
|
+
var ANY_FREE_PORT = 0;
|
|
33
|
+
var newLocalConfirmState = () => randomBytes(STATE_BYTES).toString("base64url");
|
|
34
|
+
var localConfirmStateHash = (state) => createHash("sha256").update(state).digest("hex");
|
|
35
|
+
var sameState = (expected, given) => {
|
|
36
|
+
const expectedBytes = Buffer.from(expected);
|
|
37
|
+
const givenBytes = Buffer.from(given);
|
|
38
|
+
return expectedBytes.length === givenBytes.length && timingSafeEqual(expectedBytes, givenBytes);
|
|
39
|
+
};
|
|
40
|
+
var redirectTo = (response, location) => {
|
|
41
|
+
response.writeHead(302, { Location: location, "Cache-Control": "no-store", "Referrer-Policy": "no-referrer" });
|
|
42
|
+
response.end();
|
|
43
|
+
};
|
|
44
|
+
var confirmUrlOf = (request) => {
|
|
45
|
+
try {
|
|
46
|
+
return new URL(request.url ?? "/", `http://${LOCAL_CONFIRM_HOST}`);
|
|
47
|
+
} catch {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
var notFound = (response) => {
|
|
52
|
+
response.writeHead(404, { "Cache-Control": "no-store" });
|
|
53
|
+
response.end();
|
|
54
|
+
};
|
|
55
|
+
var listenForLocalConfirm = (options) => new Promise((resolve) => {
|
|
56
|
+
const state = options.state;
|
|
57
|
+
let confirmed = false;
|
|
58
|
+
let binding = false;
|
|
59
|
+
let listeningOn = "";
|
|
60
|
+
const answer = async (request, response) => {
|
|
61
|
+
const url = confirmUrlOf(request);
|
|
62
|
+
if (url === null) return notFound(response);
|
|
63
|
+
if (request.method !== "GET" || url.pathname !== LOCAL_CONFIRM_PATH || request.headers.host !== listeningOn) return notFound(response);
|
|
64
|
+
const nonce = url.searchParams.get(LOCAL_CONFIRM_NONCE_PARAM);
|
|
65
|
+
if (!sameState(state, url.searchParams.get(LOCAL_CONFIRM_STATE_PARAM) ?? "")) return notFound(response);
|
|
66
|
+
if (confirmed || binding || !isLocalConfirmToken(nonce)) return redirectTo(response, options.authorizeUrl);
|
|
67
|
+
binding = true;
|
|
68
|
+
const bound = await options.bind(nonce).catch(() => false);
|
|
69
|
+
binding = false;
|
|
70
|
+
if (bound) confirmed = true;
|
|
71
|
+
redirectTo(response, bound ? confirmedTerminalUrl(options.authorizeUrl, nonce) : options.authorizeUrl);
|
|
72
|
+
};
|
|
73
|
+
const server = createServer((request, response) => {
|
|
74
|
+
answer(request, response).catch(() => {
|
|
75
|
+
if (!response.headersSent) notFound(response);
|
|
76
|
+
else response.end();
|
|
77
|
+
});
|
|
78
|
+
});
|
|
79
|
+
server.once("error", () => resolve(null));
|
|
80
|
+
server.listen(ANY_FREE_PORT, LOCAL_CONFIRM_HOST, () => {
|
|
81
|
+
const address = server.address();
|
|
82
|
+
if (address === null || typeof address === "string") {
|
|
83
|
+
server.close();
|
|
84
|
+
return resolve(null);
|
|
85
|
+
}
|
|
86
|
+
listeningOn = `${LOCAL_CONFIRM_HOST}:${address.port}`;
|
|
87
|
+
server.unref();
|
|
88
|
+
resolve({
|
|
89
|
+
terminal: { port: address.port, state },
|
|
90
|
+
confirmed: () => confirmed,
|
|
91
|
+
close: () => {
|
|
92
|
+
server.close();
|
|
93
|
+
server.closeAllConnections();
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
|
|
17
99
|
// src/cli/login.ts
|
|
18
100
|
var START_PATH = "/api/cli/auth/start";
|
|
19
101
|
var CLAIM_PATH = "/api/cli/auth/claim";
|
|
102
|
+
var LOGIN_COMMAND_REQUEST = { command: "login" };
|
|
20
103
|
var DEFAULT_TIMEOUT_MS = 1e4;
|
|
21
104
|
var post = async (url, body, fetchImpl) => fetchImpl(url, {
|
|
22
105
|
method: "POST",
|
|
@@ -26,15 +109,21 @@ var post = async (url, body, fetchImpl) => fetchImpl(url, {
|
|
|
26
109
|
});
|
|
27
110
|
var asString = (value) => typeof value === "string" && value ? value : null;
|
|
28
111
|
var asNumber = (value, fallback) => typeof value === "number" && Number.isFinite(value) ? value : fallback;
|
|
29
|
-
var startLogin = async (machineLabel, cliVersion, deps = {}) => {
|
|
112
|
+
var startLogin = async (machineLabel, cliVersion, deps = {}, request = LOGIN_COMMAND_REQUEST) => {
|
|
30
113
|
const fetchImpl = deps.fetchImpl ?? fetch;
|
|
31
114
|
const baseUrl = deps.baseUrl ?? getBaseUrl();
|
|
32
|
-
const keypair = generateKeypair();
|
|
115
|
+
const keypair = request.keypair ?? generateKeypair();
|
|
33
116
|
let response;
|
|
34
117
|
try {
|
|
35
118
|
response = await post(
|
|
36
119
|
`${baseUrl}${START_PATH}`,
|
|
37
|
-
{
|
|
120
|
+
{
|
|
121
|
+
cliPublicKey: keypair.publicKeyB64,
|
|
122
|
+
machineLabel,
|
|
123
|
+
cliVersion,
|
|
124
|
+
command: request.command,
|
|
125
|
+
...request.localConfirmStateHash === void 0 ? {} : { localConfirmStateHash: request.localConfirmStateHash }
|
|
126
|
+
},
|
|
38
127
|
fetchImpl
|
|
39
128
|
);
|
|
40
129
|
} catch (err) {
|
|
@@ -63,10 +152,20 @@ var startLogin = async (machineLabel, cliVersion, deps = {}) => {
|
|
|
63
152
|
intervalMs: Math.max(1, asNumber(body.interval, 2)) * 1e3,
|
|
64
153
|
expiresInSeconds: Math.max(1, asNumber(body.expiresInSeconds, 900)),
|
|
65
154
|
fingerprint: asString(body.fingerprint) ?? publicKeyFingerprint(keypair.publicKeyB64),
|
|
66
|
-
keypair
|
|
155
|
+
keypair,
|
|
156
|
+
localConfirm: request.localConfirmStateHash !== void 0 && body.localConfirm === true
|
|
67
157
|
}
|
|
68
158
|
};
|
|
69
159
|
};
|
|
160
|
+
var phonePassFrom = (sealed, keypair) => {
|
|
161
|
+
if (typeof sealed !== "string" || sealed === "") return null;
|
|
162
|
+
try {
|
|
163
|
+
const pass = openSealedKey(sealed, keypair);
|
|
164
|
+
return isPhonePass(pass) ? pass : null;
|
|
165
|
+
} catch {
|
|
166
|
+
return null;
|
|
167
|
+
}
|
|
168
|
+
};
|
|
70
169
|
var pollOnce = async (start, deps = {}) => {
|
|
71
170
|
const fetchImpl = deps.fetchImpl ?? fetch;
|
|
72
171
|
const baseUrl = deps.baseUrl ?? getBaseUrl();
|
|
@@ -90,7 +189,8 @@ var pollOnce = async (start, deps = {}) => {
|
|
|
90
189
|
kind: "authorized",
|
|
91
190
|
apiKey: openSealedKey(sealed, start.keypair),
|
|
92
191
|
siteSlug: asString(body.siteSlug) ?? "",
|
|
93
|
-
keyName: asString(body.keyName) ?? "CLI"
|
|
192
|
+
keyName: asString(body.keyName) ?? "CLI",
|
|
193
|
+
phonePass: phonePassFrom(body.sealedPhonePass, start.keypair)
|
|
94
194
|
};
|
|
95
195
|
} catch {
|
|
96
196
|
return { kind: "unreachable", detail: "the key did not decrypt" };
|
|
@@ -112,6 +212,11 @@ var pollOnce = async (start, deps = {}) => {
|
|
|
112
212
|
return { kind: "pending", expiresInSeconds: asNumber(body.expiresInSeconds, 0) };
|
|
113
213
|
}
|
|
114
214
|
};
|
|
215
|
+
var settlesWhenAborted = (signal) => new Promise((resolve) => {
|
|
216
|
+
if (signal === void 0) return;
|
|
217
|
+
if (signal.aborted) return resolve();
|
|
218
|
+
signal.addEventListener("abort", () => resolve(), { once: true });
|
|
219
|
+
});
|
|
115
220
|
var waitForLogin = async (start, handlers = {}, deps = {}) => {
|
|
116
221
|
const now = deps.now ?? Date.now;
|
|
117
222
|
const sleep = deps.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms)));
|
|
@@ -119,7 +224,10 @@ var waitForLogin = async (start, handlers = {}, deps = {}) => {
|
|
|
119
224
|
let polls = 0;
|
|
120
225
|
let consecutiveFailures = 0;
|
|
121
226
|
const noticed = /* @__PURE__ */ new Set();
|
|
227
|
+
const aborted = settlesWhenAborted(handlers.signal);
|
|
228
|
+
const stopped = () => handlers.signal?.aborted === true;
|
|
122
229
|
while (now() < deadline) {
|
|
230
|
+
if (stopped()) return { state: { kind: "stopped" }, polls };
|
|
123
231
|
const state = await pollOnce(start, deps);
|
|
124
232
|
polls += 1;
|
|
125
233
|
if (state.kind === "authorized" || state.kind === "rejected" || state.kind === "expired") {
|
|
@@ -139,10 +247,24 @@ var waitForLogin = async (start, handlers = {}, deps = {}) => {
|
|
|
139
247
|
}
|
|
140
248
|
}
|
|
141
249
|
handlers.onTick?.(state, Math.max(0, Math.ceil((deadline - now()) / 1e3)));
|
|
142
|
-
await sleep(start.intervalMs);
|
|
250
|
+
await Promise.race([sleep(start.intervalMs), aborted]);
|
|
143
251
|
}
|
|
144
252
|
return { state: { kind: "expired" }, polls };
|
|
145
253
|
};
|
|
254
|
+
var bindLocalTerminal = async (start, nonce, deps = {}) => {
|
|
255
|
+
const fetchImpl = deps.fetchImpl ?? fetch;
|
|
256
|
+
const baseUrl = deps.baseUrl ?? getBaseUrl();
|
|
257
|
+
try {
|
|
258
|
+
const response = await post(
|
|
259
|
+
`${baseUrl}${CLI_LOCAL_BIND_PATH}`,
|
|
260
|
+
{ loginId: start.loginId, cliPublicKey: start.keypair.publicKeyB64, nonce },
|
|
261
|
+
fetchImpl
|
|
262
|
+
);
|
|
263
|
+
return response.ok;
|
|
264
|
+
} catch {
|
|
265
|
+
return false;
|
|
266
|
+
}
|
|
267
|
+
};
|
|
146
268
|
var cancelLogin = async (start, deps = {}) => {
|
|
147
269
|
const fetchImpl = deps.fetchImpl ?? fetch;
|
|
148
270
|
const baseUrl = deps.baseUrl ?? getBaseUrl();
|
|
@@ -158,8 +280,38 @@ var cancelLogin = async (start, deps = {}) => {
|
|
|
158
280
|
};
|
|
159
281
|
|
|
160
282
|
// src/cli/login-ui.ts
|
|
283
|
+
var printLoginNotice = (ui, state, mayOpenBrowser) => {
|
|
284
|
+
if (state.kind === "needs-workspace") {
|
|
285
|
+
ui.say(` ${ui.yellow("!")} Waiting on a workspace. Finish creating one in the browser and this continues on its own.`);
|
|
286
|
+
} else if (state.kind === "payment-required") {
|
|
287
|
+
ui.say(` ${ui.yellow("!")} A plan is needed before a key can be issued. Nothing was created yet.`);
|
|
288
|
+
ui.say(` ${ui.dim("Choose one at")} ${ui.cyan(state.checkoutUrl)}`);
|
|
289
|
+
ui.say(` ${ui.dim("Keep the browser tab open and this finishes on its own once the plan is active.")}`);
|
|
290
|
+
ui.say(` ${ui.dim("If you closed it, reopen the page and enter the same code again.")}`);
|
|
291
|
+
if (mayOpenBrowser) openInBrowser(state.checkoutUrl);
|
|
292
|
+
} else if (state.kind === "unreachable") {
|
|
293
|
+
ui.say(` ${ui.yellow("!")} Still trying. pushary.com is not answering ${ui.dim(`(${state.detail})`)}`);
|
|
294
|
+
}
|
|
295
|
+
};
|
|
296
|
+
var originOf = (url) => {
|
|
297
|
+
try {
|
|
298
|
+
return new URL(url).origin;
|
|
299
|
+
} catch {
|
|
300
|
+
return null;
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
var browserEntryUrl = (start, listener) => {
|
|
304
|
+
const origin = originOf(start.verificationUrl);
|
|
305
|
+
return listener === null || origin === null ? start.verificationUrl : localTerminalEntryUrl(origin, listener.terminal);
|
|
306
|
+
};
|
|
307
|
+
var listenForThisTerminal = async (start, state, deps) => start.localConfirm ? listenForLocalConfirm({ authorizeUrl: start.verificationUrl, state, bind: (nonce) => bindLocalTerminal(start, nonce, deps) }) : null;
|
|
161
308
|
var runBrowserLogin = async (ui, options, deps = {}) => {
|
|
162
|
-
const
|
|
309
|
+
const mayOpenBrowser = !options.noBrowser && canOpenBrowser();
|
|
310
|
+
const localState = newLocalConfirmState();
|
|
311
|
+
const started = await startLogin(hostname(), options.cliVersion, deps, {
|
|
312
|
+
command: options.command ?? "login",
|
|
313
|
+
...mayOpenBrowser ? { localConfirmStateHash: localConfirmStateHash(localState) } : {}
|
|
314
|
+
});
|
|
163
315
|
if (started.kind === "rate-limited") {
|
|
164
316
|
return { kind: "unavailable", detail: `too many attempts, retry in ${started.retryAfterSeconds}s` };
|
|
165
317
|
}
|
|
@@ -179,6 +331,7 @@ var runBrowserLogin = async (ui, options, deps = {}) => {
|
|
|
179
331
|
};
|
|
180
332
|
process.on("SIGINT", onSignal);
|
|
181
333
|
process.on("SIGHUP", onSignal);
|
|
334
|
+
let listener = null;
|
|
182
335
|
try {
|
|
183
336
|
ui.say("");
|
|
184
337
|
ui.say(` ${ui.bold("Sign in to Pushary")}`);
|
|
@@ -189,39 +342,39 @@ var runBrowserLogin = async (ui, options, deps = {}) => {
|
|
|
189
342
|
ui.say(` ${ui.dim(`This terminal shows fingerprint ${start.fingerprint}. The page shows the same one.`)}`);
|
|
190
343
|
ui.say(` ${ui.dim("The code is only on your screen. Nobody can send you a link that fills it in.")}`);
|
|
191
344
|
ui.say("");
|
|
192
|
-
|
|
345
|
+
listener = mayOpenBrowser ? await listenForThisTerminal(start, localState, deps) : null;
|
|
346
|
+
if (mayOpenBrowser && openInBrowser(browserEntryUrl(start, listener))) {
|
|
193
347
|
ui.say(` ${ui.dim("Opened your browser.")}`);
|
|
194
348
|
}
|
|
195
|
-
const notice = (state2) =>
|
|
196
|
-
if (state2.kind === "needs-workspace") {
|
|
197
|
-
ui.say(` ${ui.yellow("!")} Waiting on a workspace. Finish creating one in the browser and this continues on its own.`);
|
|
198
|
-
} else if (state2.kind === "payment-required") {
|
|
199
|
-
ui.say(` ${ui.yellow("!")} A plan is needed before a key can be issued. Nothing was created yet.`);
|
|
200
|
-
ui.say(` ${ui.dim("Choose one at")} ${ui.cyan(state2.checkoutUrl)}`);
|
|
201
|
-
ui.say(` ${ui.dim("Keep the browser tab open and this finishes on its own once the plan is active.")}`);
|
|
202
|
-
ui.say(` ${ui.dim("If you closed it, reopen the page and enter the same code again.")}`);
|
|
203
|
-
if (!options.noBrowser && canOpenBrowser()) openInBrowser(state2.checkoutUrl);
|
|
204
|
-
} else if (state2.kind === "unreachable") {
|
|
205
|
-
ui.say(` ${ui.yellow("!")} Still trying. pushary.com is not answering ${ui.dim(`(${state2.detail})`)}`);
|
|
206
|
-
}
|
|
207
|
-
};
|
|
349
|
+
const notice = (state2) => printLoginNotice(ui, state2, mayOpenBrowser);
|
|
208
350
|
const { state } = await waitForLogin(start, { onNotice: notice }, deps);
|
|
209
351
|
if (state.kind === "authorized") {
|
|
210
352
|
return {
|
|
211
353
|
kind: "ok",
|
|
212
354
|
apiKey: state.apiKey,
|
|
213
355
|
siteSlug: state.siteSlug,
|
|
214
|
-
keyName: state.keyName
|
|
356
|
+
keyName: state.keyName,
|
|
357
|
+
phonePass: state.phonePass
|
|
215
358
|
};
|
|
216
359
|
}
|
|
217
360
|
if (state.kind === "rejected") return { kind: "rejected" };
|
|
218
361
|
return { kind: "expired" };
|
|
219
362
|
} finally {
|
|
363
|
+
listener?.close();
|
|
220
364
|
process.off("SIGINT", onSignal);
|
|
221
365
|
process.off("SIGHUP", onSignal);
|
|
222
366
|
}
|
|
223
367
|
};
|
|
224
368
|
|
|
225
369
|
export {
|
|
370
|
+
newLocalConfirmState,
|
|
371
|
+
localConfirmStateHash,
|
|
372
|
+
startLogin,
|
|
373
|
+
pollOnce,
|
|
374
|
+
waitForLogin,
|
|
375
|
+
cancelLogin,
|
|
376
|
+
printLoginNotice,
|
|
377
|
+
browserEntryUrl,
|
|
378
|
+
listenForThisTerminal,
|
|
226
379
|
runBrowserLogin
|
|
227
380
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
callDecisionStore,
|
|
3
3
|
identifyingToolInput
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-U7HEUEZQ.js";
|
|
5
5
|
import {
|
|
6
6
|
canonicalJson
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PMJKR7WR.js";
|
|
8
8
|
|
|
9
9
|
// src/phone-approval.ts
|
|
10
10
|
import { createHash } from "crypto";
|