very-happy-cli 0.2.177 → 0.2.179
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/dist/{AcpBackend-B0K0WrtW.mjs → AcpBackend-CHp3y7cb.mjs} +135 -16
- package/dist/{AcpBackend-B-ny68XM.cjs → AcpBackend-DFipFF7-.cjs} +135 -16
- package/dist/{AcpSessionManager-CjdJLofq.cjs → AcpSessionManager-0zpvRJXc.cjs} +38 -4
- package/dist/{AcpSessionManager-DykjzBM4.mjs → AcpSessionManager-d2-rKWWa.mjs} +38 -4
- package/dist/{BasePermissionHandler-DR6nxuEn.cjs → BasePermissionHandler-CH3zuEkA.cjs} +5 -2
- package/dist/{BasePermissionHandler-hdY7kTqX.mjs → BasePermissionHandler-DdZBYIR4.mjs} +5 -2
- package/dist/acpSessionResume-DTGmAPLt.mjs +67 -0
- package/dist/acpSessionResume-oiCBnAVA.cjs +74 -0
- package/dist/{agentHome-BdTXEUPe.cjs → agentHome-BWcz8mz0.cjs} +5 -5
- package/dist/{agentHome-GRN2VfHv.mjs → agentHome-CghLvL_1.mjs} +5 -5
- package/dist/{api-BWX10o97.cjs → api-Cmjfr8Z7.cjs} +29 -261
- package/dist/{api-CKBViqI3.mjs → api-CzwFpJQc.mjs} +22 -254
- package/dist/{apiMachine-DttO4UFj.mjs → apiMachine-DJkTEiqy.mjs} +53 -16
- package/dist/{apiMachine-BYYFGgFs.cjs → apiMachine-G6OogT08.cjs} +53 -16
- package/dist/{attachmentContent-cPVF463_.mjs → attachmentContent-B2os4HbA.mjs} +2 -2
- package/dist/{attachmentContent-kJKXpkMX.cjs → attachmentContent-Bo0UAsSu.cjs} +4 -4
- package/dist/{auth-BmESeKuM.mjs → auth-BS6PaOOG.mjs} +6 -6
- package/dist/{auth-CTECt2Oz.cjs → auth-D6bBUwZa.cjs} +6 -6
- package/dist/{auth-CKdXb9zp.mjs → auth-DMX0xPNK.mjs} +9 -9
- package/dist/{auth-DNxVmVbn.cjs → auth-HEhRaNgL.cjs} +9 -9
- package/dist/{authRelay-DSAvg1uv.mjs → authRelay-DhQhkBvX.mjs} +1 -1
- package/dist/{authRelay-BdYkC1Po.cjs → authRelay-Dy1qU9td.cjs} +1 -0
- package/dist/{auto-D1ypjjfx.cjs → auto-C6I55iOh.cjs} +19 -18
- package/dist/{auto-Ch3203qd.mjs → auto-Cl1SEDcD.mjs} +19 -18
- package/dist/{bootstrap-6OI698q9.cjs → bootstrap-exVucYav.cjs} +2 -2
- package/dist/{bootstrap-C0s2bPFQ.mjs → bootstrap-iuyufnp3.mjs} +2 -2
- package/dist/{browser-DG6Uof5O.cjs → browser-BohJK12g.cjs} +1 -1
- package/dist/{browser-BlLWZUMx.mjs → browser-CSYum7xH.mjs} +1 -1
- package/dist/{claudeLocal-CcWcKnoo.mjs → claudeLocal-Dq_R3Ax_.mjs} +6 -5
- package/dist/{claudeLocal-CemsIArT.cjs → claudeLocal-re4yjSTx.cjs} +6 -5
- package/dist/{claudeLocalLauncher-A4VuevIi.cjs → claudeLocalLauncher-B4hJHpCA.cjs} +11 -10
- package/dist/{claudeLocalLauncher-7p6y88nj.mjs → claudeLocalLauncher-CN67lN7-.mjs} +11 -10
- package/dist/{claudeSessionFork-BtROOjqf.mjs → claudeSessionFork-BihfD0Ik.mjs} +1 -1
- package/dist/{claudeSessionFork-CbDfm8Fz.cjs → claudeSessionFork-DiSMYerV.cjs} +1 -1
- package/dist/{client-DyvBTYee.cjs → client-BKcK1Bi-.cjs} +3 -3
- package/dist/client-BhoEBnuN.mjs +71 -0
- package/dist/{client-COmgDDy0.cjs → client-CuVdN6PP.cjs} +2 -2
- package/dist/{client-BPMWutfs.mjs → client-DuTDwWSQ.mjs} +3 -3
- package/dist/client-ZjOsn6nZ.cjs +76 -0
- package/dist/{client-DG5ndWLw.mjs → client-wo9nbxuf.mjs} +2 -2
- package/dist/codex/happyMcpStdioBridge.cjs +25 -16
- package/dist/codex/happyMcpStdioBridge.mjs +25 -16
- package/dist/{codexAppServerClient-D-Z8qSfI.mjs → codexAppServerClient-BK3zra_1.mjs} +3 -3
- package/dist/{codexAppServerClient-R24WZZfg.cjs → codexAppServerClient-Dt5zxrun.cjs} +3 -3
- package/dist/{codexCommand-CVTkZJ1o.mjs → codexCommand-B6pY7CMh.mjs} +66 -61
- package/dist/{codexCommand-6hW19gsq.cjs → codexCommand-CAZ1SLjg.cjs} +89 -84
- package/dist/{codexTermination-CCIfwzcx.mjs → codexTermination-Cd1Eon_4.mjs} +1 -1
- package/dist/{codexTermination-BBU7e92y.cjs → codexTermination-DmGbHxcD.cjs} +1 -1
- package/dist/{config-CvsNChKX.mjs → config-2oMG_fEI.mjs} +3 -3
- package/dist/{config-DhdrvOLV.cjs → config-B0uK6K7n.cjs} +3 -3
- package/dist/{configuration-DZPy0T9Z.cjs → configuration-CMHZnp6G.cjs} +1 -1
- package/dist/{configuration-D55F0t16.mjs → configuration-WMi4idBB.mjs} +1 -1
- package/dist/{connect-CwCXMRmD.mjs → connect-BLVHhHzA.mjs} +15 -15
- package/dist/{connect-Wz-XZYXW.cjs → connect-uaglGrde.cjs} +15 -15
- package/dist/{context-BKbrZ55r.cjs → context-DXzU5bFM.cjs} +1 -1
- package/dist/{context-CCRpVXFo.mjs → context-DploEcoN.mjs} +1 -1
- package/dist/{controlClient-C4xB5J6O.mjs → controlClient-BWUJrj3t.mjs} +3 -3
- package/dist/{controlClient-SX8gSza2.cjs → controlClient-C-5qCt8W.cjs} +3 -3
- package/dist/{createSessionMetadata-Bi-m0Y_O.mjs → createSessionMetadata-3uXrJgOW.mjs} +2 -2
- package/dist/{createSessionMetadata-BCFmYlBo.cjs → createSessionMetadata-BkIzHALd.cjs} +2 -2
- package/dist/{defaultPermissionMode-wBcbBezm.mjs → defaultPermissionMode-BzxLh20a.mjs} +2 -2
- package/dist/{defaultPermissionMode-DMBEnXll.cjs → defaultPermissionMode-pS3vmiSg.cjs} +2 -2
- package/dist/{deterministicJson-ChGfQEF6.cjs → deterministicJson-B8z2GPi9.cjs} +220 -14
- package/dist/{deterministicJson-BkQETt8_.mjs → deterministicJson-D_whDMFd.mjs} +217 -12
- package/dist/{doctor-BsN3JZJn.cjs → doctor-Br1Kcy2J.cjs} +8 -8
- package/dist/{doctor-B9c2C9dF.mjs → doctor-CmtSsR2-.mjs} +8 -8
- package/dist/{downloadTarget-Dj3WoVJa.cjs → downloadTarget-BQJK_6oH.cjs} +6 -6
- package/dist/{downloadTarget-ByXzbDK4.mjs → downloadTarget-BoNwTIH_.mjs} +6 -6
- package/dist/{ensureDaemonRunning-7Wb8M7Lv.cjs → ensureDaemonRunning-BRUmsq6J.cjs} +5 -5
- package/dist/{ensureDaemonRunning--HYzs5Ce.mjs → ensureDaemonRunning-Czo9IHJQ.mjs} +5 -5
- package/dist/{handleResumeCommand-DHddBkNJ.mjs → handleResumeCommand-C8thKjqf.mjs} +22 -6
- package/dist/{handleResumeCommand-OmuUGYjQ.cjs → handleResumeCommand-tKD_Hpxc.cjs} +22 -6
- package/dist/{index-CrR4JISa.cjs → index-B0UjHlAe.cjs} +5 -5
- package/dist/{index-BzJNDsJq.mjs → index-BTxHphpV.mjs} +254 -49
- package/dist/index-BiyC7cZ3.mjs +18 -0
- package/dist/{index-De8L5lFK.cjs → index-C6O2vVjm.cjs} +156 -34
- package/dist/index-CUuc6iCn.cjs +24 -0
- package/dist/{index-Dhl6_bw7.mjs → index-CdQI0C9p.mjs} +5 -5
- package/dist/{index-D9NoYc5I.cjs → index-D09T1m8Y.cjs} +3 -3
- package/dist/{index-CEm0MYiS.mjs → index-D3bidoG8.mjs} +3 -3
- package/dist/{index-BRJzH4sc.cjs → index-DMqDMT1Q.cjs} +257 -52
- package/dist/{index-DMy3OCBe.mjs → index-DPOa4NhL.mjs} +154 -35
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-BdvKiOQw.mjs → install-BX3lv3NO.mjs} +1 -1
- package/dist/{install-Cf6AFSWC.cjs → install-BXvf2E3o.cjs} +1 -1
- package/dist/{install-1qn-D9FS.cjs → install-CYRZxS87.cjs} +3 -3
- package/dist/{install-BDIUtPXi.mjs → install-hnve_9vq.mjs} +3 -3
- package/dist/lib.cjs +14 -14
- package/dist/lib.d.cts +65 -1
- package/dist/lib.d.mts +65 -1
- package/dist/lib.mjs +14 -14
- package/dist/{lidState-BqVsw7H1.mjs → lidState-Bb8fgXg3.mjs} +2 -2
- package/dist/{lidState-DxbK0qfu.cjs → lidState-Dv2wwFTj.cjs} +2 -2
- package/dist/{localHappyAgentAuth-D5tANdRD.cjs → localHappyAgentAuth-DjYvkXvV.cjs} +2 -2
- package/dist/{localHappyAgentAuth-Ce8kO2yc.mjs → localHappyAgentAuth-NEU7fax7.mjs} +2 -2
- package/dist/{logger-13cBr_ew.mjs → logger-BtVhHnD8.mjs} +2 -2
- package/dist/{logger-LvwVeATU.cjs → logger-C1GWx3gi.cjs} +2 -2
- package/dist/{machineMetadata-29h7vgf4.cjs → machineMetadata-CLHS9sv_.cjs} +3 -3
- package/dist/{machineMetadata-dMida2qq.mjs → machineMetadata-D-g--oU_.mjs} +3 -3
- package/dist/{main-x4nAhdH5.mjs → main-B2LWV8DI.mjs} +59 -46
- package/dist/{main-DpM5jaFH.cjs → main-CWhSsbtU.cjs} +59 -46
- package/dist/{mcp-DQv3caXs.cjs → mcp-CARUsXHV.cjs} +15 -15
- package/dist/{mcp-DMiFGYMT.mjs → mcp-ext92q3Y.mjs} +15 -15
- package/dist/{mirrorProtocol-Bz8tEabR.mjs → mirrorProtocol-BwYibqry.mjs} +3 -3
- package/dist/{mirrorProtocol-BfrERW7Z.cjs → mirrorProtocol-DEy2g1CB.cjs} +3 -3
- package/dist/{package-CjlsAaRe.mjs → package-BPPebGQF.mjs} +7 -7
- package/dist/{package-Ch9WGDV_.cjs → package-SgqTYsjn.cjs} +7 -7
- package/dist/panels-BZ0_Tt7B.mjs +137 -0
- package/dist/panels-D1c7q2dD.cjs +142 -0
- package/dist/{peerTools-CxmrKnfV.mjs → peerTools-CWKzcQ7u.mjs} +60 -10
- package/dist/{peerTools-DtGKWli5.cjs → peerTools-DRQETXaz.cjs} +60 -9
- package/dist/{persistence-DXbKOHxl.cjs → persistence-BegE7NPa.cjs} +14 -3
- package/dist/{persistence-C_tYtOqK.mjs → persistence-Cr-wutZ4.mjs} +14 -4
- package/dist/{piRunnerArgs-BVRZe2AR.cjs → piRunnerArgs-Cs-378Vz.cjs} +8 -2
- package/dist/{piRunnerArgs-BpHc-JZl.mjs → piRunnerArgs-DwvM_yWA.mjs} +7 -1
- package/dist/{piRuntime-D7eio8Ix.cjs → piRuntime-BG-1td_n.cjs} +2 -2
- package/dist/{piRuntime-DOdGF395.mjs → piRuntime-Bue5mnlc.mjs} +2 -2
- package/dist/{piTerminal-dpxz4Q8D.mjs → piTerminal-B5x9X5yV.mjs} +18 -18
- package/dist/{piTerminal-y_PRo2NY.cjs → piTerminal-G4z-xVyy.cjs} +18 -18
- package/dist/processTreeSnapshot-CuLJDNC-.mjs +101 -0
- package/dist/processTreeSnapshot-mDbnuojn.cjs +105 -0
- package/dist/prompt-BOouDaTM.mjs +99 -0
- package/dist/prompt-lgF9IE82.cjs +105 -0
- package/dist/{attachmentLimits-Di1Z93lN.mjs → pushNotifications-BdFjDjQe.mjs} +303 -3
- package/dist/{attachmentLimits-DtFqqiwR.cjs → pushNotifications-DaLQUyi0.cjs} +304 -2
- package/dist/{index-DFPT4HOO.cjs → query-Ctfg-5gy.cjs} +25 -5
- package/dist/{index-CEjJnq05.mjs → query-DYP_W1wp.mjs} +26 -3
- package/dist/{rateLimitWindows-DYHDGuzQ.mjs → rateLimitWindows-CuEqk_0g.mjs} +1 -1
- package/dist/{rateLimitWindows-DFnMU2Vt.cjs → rateLimitWindows-Dj_8voBK.cjs} +1 -1
- package/dist/{registerCommonHandlers-D8OMpBbQ.mjs → registerCommonHandlers-BAlP7SGc.mjs} +2 -2
- package/dist/{registerCommonHandlers-60VuTkdg.cjs → registerCommonHandlers-Cj084Sg7.cjs} +2 -2
- package/dist/{registerKillSessionHandler-Drhf7-Vz.mjs → registerKillSessionHandler-PD0jWtQo.mjs} +6 -6
- package/dist/{registerKillSessionHandler-pqChBKwO.cjs → registerKillSessionHandler-qMju0ZfF.cjs} +6 -6
- package/dist/{remoteSessionClient-B7NvjHD3.cjs → remoteSessionClient-B7i7MkYV.cjs} +5 -5
- package/dist/{remoteSessionClient-D01Hso2-.mjs → remoteSessionClient-Bn2qu5C5.mjs} +5 -5
- package/dist/{reportProgressTool-Du_zAK4h.cjs → reportProgressTool-CM1JFAHg.cjs} +84 -2
- package/dist/{reportProgressTool-B203EZCR.mjs → reportProgressTool-gHItlSzz.mjs} +82 -3
- package/dist/{resources-JDPugcDq.cjs → resources-CvIlkzpP.cjs} +30 -0
- package/dist/{resources-BdFBQi8r.mjs → resources-y9jfyO-_.mjs} +30 -0
- package/dist/{run-DX4Zs3Ug.mjs → run-BM4TxiyN.mjs} +249 -45
- package/dist/{run-DZ5jU53c.cjs → run-CNXwIe0A.cjs} +263 -59
- package/dist/{runClaude-ClRhHpwR.cjs → runClaude-CWhj2V4Q.cjs} +37 -41
- package/dist/{runClaude-CgPHXP0L.mjs → runClaude-C_3I8hvR.mjs} +37 -41
- package/dist/{runClaudeDeps-D2v_WDSL.cjs → runClaudeDeps-B81cOKnH.cjs} +295 -157
- package/dist/{runClaudeDeps-Dz2iydq4.mjs → runClaudeDeps-QGrOeDe2.mjs} +295 -160
- package/dist/{runGemini-DBXxpoY8.mjs → runGemini-BEdWEZLR.mjs} +61 -55
- package/dist/{runGemini-BtZqGFkp.cjs → runGemini-CgRLYbt5.cjs} +61 -55
- package/dist/{runOpenClaw-D8q8G57u.cjs → runOpenClaw-C1NVmzOL.cjs} +19 -19
- package/dist/{runOpenClaw-BOHpzCEU.mjs → runOpenClaw-DdQZAYj1.mjs} +19 -19
- package/dist/{sandbox-C452Vrsc.mjs → sandbox-DjQUdCMG.mjs} +5 -5
- package/dist/{sandbox-Cu9mMzjx.cjs → sandbox-nocIjliq.cjs} +5 -5
- package/dist/selfCheck-CjCF4C3v.mjs +85 -0
- package/dist/{selfCheck-gKa3uVr1.cjs → selfCheck-DCt4Uzbq.cjs} +36 -35
- package/dist/{send-B8HARi7x.mjs → send-Ct7X4pPU.mjs} +9 -9
- package/dist/{send-2Vb5eppI.cjs → send-Dydf_hwZ.cjs} +9 -9
- package/dist/{server-Db9Wuam3.cjs → server-CosABFbd.cjs} +7 -7
- package/dist/{server-BBWCIZyS.mjs → server-DTQGZMxh.mjs} +5 -5
- package/dist/{sessionLock-6qL_N6Rn.cjs → sessionLock-DokGab2R.cjs} +16 -3
- package/dist/{sessionLock-ZfvFVdUi.mjs → sessionLock-WYIyaVO4.mjs} +16 -4
- package/dist/{sessionOps-CdgbEJgf.mjs → sessionOps-BIGgRube.mjs} +11 -6
- package/dist/{sessionOps-Dmt7WUUs.cjs → sessionOps-S-qPBLFf.cjs} +11 -6
- package/dist/{sessionScanner-CQL_WSaC.cjs → sessionScanner-CIMM2hvZ.cjs} +3 -3
- package/dist/{sessionScanner-CNVaSNOn.mjs → sessionScanner-o5hnMi5e.mjs} +3 -3
- package/dist/{sessions-DTomHfFg.mjs → sessions-BJHEZpi2.mjs} +40 -18
- package/dist/{sessions-BJblG_Hx.cjs → sessions-JchI1w3z.cjs} +40 -17
- package/dist/{setupOfflineReconnection-DVA0VpQL.cjs → setupOfflineReconnection-CNiAt5ZP.cjs} +2 -2
- package/dist/{setupOfflineReconnection-C5trsV-j.mjs → setupOfflineReconnection-DMiBO2y9.mjs} +2 -2
- package/dist/{spawn-DRyNAqD8.cjs → spawn-6PD7nnoC.cjs} +49 -18
- package/dist/{spawn-CQJFgoOq.mjs → spawn-DgvUNYEo.mjs} +49 -18
- package/dist/{spawnAgents-CCjJifAW.cjs → spawnAgents-DsXgegHM.cjs} +37 -1
- package/dist/spawnAgents-P006Hqio.mjs +79 -0
- package/dist/{spawnHappyCLI-B_0RWxD4.mjs → spawnHappyCLI-CCOrEtf9.mjs} +1 -1
- package/dist/{spawnHappyCLI-ChniczJ5.cjs → spawnHappyCLI-Dywezwk6.cjs} +1 -1
- package/dist/{specialCommands-DkdFJi4N.mjs → specialCommands-DPcd9edP.mjs} +3 -3
- package/dist/{specialCommands-DbntVs0d.cjs → specialCommands-QxPpkGKf.cjs} +3 -3
- package/dist/{startFileWatcher-UQyTSRAP.mjs → startFileWatcher-DghDOCO4.mjs} +1 -1
- package/dist/{startFileWatcher-C292fhra.cjs → startFileWatcher-RECH5qY8.cjs} +1 -1
- package/dist/{streamRelay-_qCd873P.mjs → streamRelay-DMV_TXfS.mjs} +1 -1
- package/dist/{streamRelay-Cx01enfe.cjs → streamRelay-DlUWKUpo.cjs} +1 -1
- package/dist/{sync-C3p7-KLn.mjs → sync-CSe0Rf45.mjs} +1 -1
- package/dist/{sync-C7sxoUYG.cjs → sync-D23jbqVa.cjs} +1 -1
- package/dist/{systemPrompt-DtibzbRU.cjs → systemPrompt-BOy4kU4P.cjs} +4 -3
- package/dist/{systemPrompt-CdHOlyVW.mjs → systemPrompt-CFNKnh65.mjs} +4 -3
- package/dist/{teams-ujXr3AFn.mjs → teams-DyY669f0.mjs} +9 -9
- package/dist/{teams-D7O7TpVU.cjs → teams-Ov2BDT-A.cjs} +9 -9
- package/dist/{time-yEL6wHUF.mjs → time-65DcU6Jx.mjs} +1 -1
- package/dist/{time-Dg5tVB8S.cjs → time-CrwIMHta.cjs} +1 -1
- package/dist/{titleGenerator-BMEaDTwU.cjs → titleGenerator-CS_rh2_J.cjs} +9 -8
- package/dist/{titleGenerator-Dr-BtjzO.mjs → titleGenerator-CiAMxf7s.mjs} +9 -8
- package/dist/{todo-CvJe4M2C.mjs → todo-BDONw0sK.mjs} +7 -7
- package/dist/{todo-CUcFamGs.cjs → todo-KY-okGii.cjs} +7 -7
- package/dist/{tools-BrM3bZW5.mjs → tools-D8-PnZEG.mjs} +1 -1
- package/dist/{tools-DDKTB5aQ.cjs → tools-_w52DZG6.cjs} +1 -1
- package/dist/{uninstall-7oLuhYIu.cjs → uninstall-8vnLN-IE.cjs} +3 -3
- package/dist/{uninstall-CEcMMQGz.mjs → uninstall-_fjGRP9b.mjs} +3 -3
- package/dist/webPanels-B2_C2-3g.mjs +49 -0
- package/dist/webPanels-FCgFKvVe.cjs +53 -0
- package/package.json +7 -7
- package/dist/selfCheck-BAvqBwBR.mjs +0 -84
- package/dist/sessionModeFile-CWVq8AT9.mjs +0 -32
- package/dist/sessionModeFile-CsLtn_PL.cjs +0 -36
- package/dist/spawnAgents-BjtmjBvP.mjs +0 -45
|
@@ -23,6 +23,7 @@ function _interopNamespaceDefault(e) {
|
|
|
23
23
|
var z__namespace = /*#__PURE__*/_interopNamespaceDefault(z);
|
|
24
24
|
|
|
25
25
|
const CODEX_STEER_CAPABILITY = "codex-steer-v1";
|
|
26
|
+
const PI_STEER_CAPABILITY = "pi-steer-v1";
|
|
26
27
|
const sessionRoleSchema = z__namespace.enum(["user", "agent"]);
|
|
27
28
|
const sessionTextEventSchema = z__namespace.object({
|
|
28
29
|
t: z__namespace.literal("text"),
|
|
@@ -446,7 +447,7 @@ z.z.object({
|
|
|
446
447
|
events: z.z.array(ConnectionDiagnosticEventSchema).min(1).max(32)
|
|
447
448
|
}).strict();
|
|
448
449
|
const TeamPermissionModeSchema = z.z.enum(["default", "bypassPermissions"]);
|
|
449
|
-
const id$
|
|
450
|
+
const id$2 = z.z.string().min(1).max(128);
|
|
450
451
|
const text$1 = z.z.string().min(1).max(32e3);
|
|
451
452
|
const TeamAssistantSchema = z.z.enum(["claude", "codex", "pi-acp"]);
|
|
452
453
|
const TeamModelSchema = z.z.string().trim().min(1).max(256);
|
|
@@ -457,28 +458,28 @@ const TeamActionSchema = z.z.discriminatedUnion("type", [
|
|
|
457
458
|
z.z.object({ type: z.z.literal("start"), launch: TeamLaunchSchema }),
|
|
458
459
|
z.z.object({ type: z.z.literal("set-defaults"), defaults: TeamDefaultsSchema }),
|
|
459
460
|
z.z.object({ type: z.z.literal("set-permission-mode"), permissionMode: TeamPermissionModeSchema }),
|
|
460
|
-
z.z.object({ type: z.z.literal("schedule-create"), name: id$
|
|
461
|
-
z.z.object({ type: z.z.literal("schedule-pause"), scheduleId: id$
|
|
462
|
-
z.z.object({ type: z.z.literal("schedule-resume"), scheduleId: id$
|
|
463
|
-
z.z.object({ type: z.z.literal("schedule-cancel"), scheduleId: id$
|
|
464
|
-
z.z.object({ type: z.z.literal("reconcile-operation"), operationId: id$
|
|
465
|
-
z.z.object({ type: z.z.literal("join"), name: id$
|
|
466
|
-
z.z.object({ type: z.z.literal("delegate"), goal: text$1, acceptance: z.z.array(text$1).min(1).max(32), parentTaskId: id$
|
|
467
|
-
z.z.object({ type: z.z.literal("message"), taskId: id$
|
|
468
|
-
z.z.object({ type: z.z.literal("submit"), taskId: id$
|
|
469
|
-
z.z.object({ type: z.z.literal("accept"), taskId: id$
|
|
470
|
-
z.z.object({ type: z.z.literal("return"), taskId: id$
|
|
471
|
-
z.z.object({ type: z.z.literal("cancel"), taskId: id$
|
|
472
|
-
z.z.object({ type: z.z.literal("handoff"), taskId: id$
|
|
473
|
-
z.z.object({ type: z.z.literal("claim-operation"), operationId: id$
|
|
474
|
-
z.z.object({ type: z.z.literal("complete-operation"), operationId: id$
|
|
475
|
-
z.z.object({ type: z.z.literal("fail-operation"), operationId: id$
|
|
476
|
-
z.z.object({ type: z.z.literal("session-event"), sessionId: id$
|
|
477
|
-
z.z.object({ type: z.z.literal("message-delivered"), messageId: id$
|
|
461
|
+
z.z.object({ type: z.z.literal("schedule-create"), name: id$2, botId: id$2, body: text$1, runAt: z.z.number().int().positive().max(864e13), intervalMs: z.z.number().int().min(6e4).max(366 * 864e5).optional() }),
|
|
462
|
+
z.z.object({ type: z.z.literal("schedule-pause"), scheduleId: id$2, version: z.z.number().int().positive() }),
|
|
463
|
+
z.z.object({ type: z.z.literal("schedule-resume"), scheduleId: id$2, version: z.z.number().int().positive() }),
|
|
464
|
+
z.z.object({ type: z.z.literal("schedule-cancel"), scheduleId: id$2, version: z.z.number().int().positive() }),
|
|
465
|
+
z.z.object({ type: z.z.literal("reconcile-operation"), operationId: id$2, claimId: id$2, note: z.z.string().trim().min(1).max(4e3) }),
|
|
466
|
+
z.z.object({ type: z.z.literal("join"), name: id$2, sessionId: id$2, botId: id$2.optional() }),
|
|
467
|
+
z.z.object({ type: z.z.literal("delegate"), goal: text$1, acceptance: z.z.array(text$1).min(1).max(32), parentTaskId: id$2.optional(), assigneeBotId: id$2.optional(), botName: id$2.optional(), directory: z.z.string().min(1).max(4096).optional(), assistant: TeamAssistantSchema.optional(), model: TeamModelSchema.optional() }),
|
|
468
|
+
z.z.object({ type: z.z.literal("message"), taskId: id$2, body: text$1, recipientBotId: id$2.optional() }),
|
|
469
|
+
z.z.object({ type: z.z.literal("submit"), taskId: id$2, attemptId: id$2, goalVersion: z.z.number().int().positive(), result: text$1 }),
|
|
470
|
+
z.z.object({ type: z.z.literal("accept"), taskId: id$2, attemptId: id$2, goalVersion: z.z.number().int().positive() }),
|
|
471
|
+
z.z.object({ type: z.z.literal("return"), taskId: id$2, attemptId: id$2, goalVersion: z.z.number().int().positive(), reason: text$1 }),
|
|
472
|
+
z.z.object({ type: z.z.literal("cancel"), taskId: id$2, attemptId: id$2, goalVersion: z.z.number().int().positive(), reason: text$1 }),
|
|
473
|
+
z.z.object({ type: z.z.literal("handoff"), taskId: id$2, attemptId: id$2, goalVersion: z.z.number().int().positive(), assigneeBotId: id$2 }),
|
|
474
|
+
z.z.object({ type: z.z.literal("claim-operation"), operationId: id$2, machineId: id$2, teamLaunchVersion: z.z.literal(1).optional() }),
|
|
475
|
+
z.z.object({ type: z.z.literal("complete-operation"), operationId: id$2, machineId: id$2, claimId: id$2, sessionId: id$2.optional(), workingDirectory: z.z.string().min(1).max(4096).optional() }),
|
|
476
|
+
z.z.object({ type: z.z.literal("fail-operation"), operationId: id$2, machineId: id$2, claimId: id$2, error: text$1, unknown: z.z.boolean().optional() }),
|
|
477
|
+
z.z.object({ type: z.z.literal("session-event"), sessionId: id$2, event: z.z.enum(["idle", "blocked", "exited"]) }),
|
|
478
|
+
z.z.object({ type: z.z.literal("message-delivered"), messageId: id$2, recipientBotId: id$2, generation: z.z.number().int().positive(), sessionId: id$2 })
|
|
478
479
|
]);
|
|
479
|
-
z.z.object({ requestId: id$
|
|
480
|
-
z.z.object({ name: id$
|
|
481
|
-
const id = z.z.string().min(1).max(128);
|
|
480
|
+
z.z.object({ requestId: id$2, action: TeamActionSchema });
|
|
481
|
+
z.z.object({ name: id$2, machineId: id$2, requestId: id$2.optional(), launch: TeamLaunchSchema.optional() });
|
|
482
|
+
const id$1 = z.z.string().min(1).max(128);
|
|
482
483
|
const text = z.z.string().min(1).max(32e3);
|
|
483
484
|
const AUTOMATION_NAME_PATTERN = /^[a-z0-9][a-z0-9-_.]{0,63}$/;
|
|
484
485
|
const AutomationNameSchema = z.z.string().regex(AUTOMATION_NAME_PATTERN, "automation name must match [a-z0-9][a-z0-9-_.]{0,63}");
|
|
@@ -517,7 +518,7 @@ const AutomationActionSchema = z.z.discriminatedUnion("kind", [
|
|
|
517
518
|
worktree: z.z.boolean().optional(),
|
|
518
519
|
sticky: AutomationStickySchema.optional()
|
|
519
520
|
}),
|
|
520
|
-
z.z.object({ kind: z.z.literal("send"), sessionId: id, prompt: text }),
|
|
521
|
+
z.z.object({ kind: z.z.literal("send"), sessionId: id$1, prompt: text }),
|
|
521
522
|
z.z.object({
|
|
522
523
|
kind: z.z.literal("script"),
|
|
523
524
|
command: z.z.array(z.z.string().min(1).max(4096)).min(1).max(256),
|
|
@@ -543,41 +544,45 @@ const maxRuntimeMs = z.z.number().int().min(6e4).max(7 * 864e5);
|
|
|
543
544
|
z.z.object({
|
|
544
545
|
name: AutomationNameSchema,
|
|
545
546
|
description: z.z.string().max(4e3).nullable().optional(),
|
|
546
|
-
machineId: id,
|
|
547
|
+
machineId: id$1,
|
|
547
548
|
trigger: AutomationTriggerSchema,
|
|
548
549
|
action: AutomationActionSchema,
|
|
549
550
|
concurrency: AutomationConcurrencySchema.optional(),
|
|
550
551
|
maxRuntimeMs: maxRuntimeMs.optional(),
|
|
551
552
|
status: z.z.enum(AUTOMATION_STATUSES).optional(),
|
|
552
553
|
/** B-548. Older servers strip it silently — clients must check the response echoes `precheck`. */
|
|
553
|
-
precheck: AutomationPrecheckSchema.nullable().optional()
|
|
554
|
+
precheck: AutomationPrecheckSchema.nullable().optional(),
|
|
555
|
+
/** B-644: sessions this automation spawns join this project (quiet variant). Older servers strip it — check the echo. */
|
|
556
|
+
projectId: id$1.nullable().optional()
|
|
554
557
|
});
|
|
555
558
|
z.z.object({
|
|
556
559
|
version: z.z.number().int().positive(),
|
|
557
560
|
name: AutomationNameSchema.optional(),
|
|
558
561
|
description: z.z.string().max(4e3).nullable().optional(),
|
|
559
|
-
machineId: id.optional(),
|
|
562
|
+
machineId: id$1.optional(),
|
|
560
563
|
trigger: AutomationTriggerSchema.optional(),
|
|
561
564
|
action: AutomationActionSchema.optional(),
|
|
562
565
|
concurrency: AutomationConcurrencySchema.optional(),
|
|
563
566
|
maxRuntimeMs: maxRuntimeMs.optional(),
|
|
564
567
|
/** B-548: omitted keeps the current precheck, `null` removes it. Changing `action` alone keeps it too. */
|
|
565
|
-
precheck: AutomationPrecheckSchema.nullable().optional()
|
|
568
|
+
precheck: AutomationPrecheckSchema.nullable().optional(),
|
|
569
|
+
/** B-644: omitted keeps the current project, `null` detaches. */
|
|
570
|
+
projectId: id$1.nullable().optional()
|
|
566
571
|
});
|
|
567
572
|
const payload = z.z.string().max(AUTOMATION_PAYLOAD_MAX_BYTES).refine((v) => new TextEncoder().encode(v).length <= AUTOMATION_PAYLOAD_MAX_BYTES, "payload exceeds 64KB");
|
|
568
573
|
z.z.object({ payload: payload.optional(), dedupeKey: z.z.string().min(1).max(256).optional() });
|
|
569
574
|
z.z.object({ payload: payload.optional() });
|
|
570
575
|
z.z.object({
|
|
571
|
-
machineId: id,
|
|
576
|
+
machineId: id$1,
|
|
572
577
|
limit: z.z.number().int().min(1).max(AUTOMATION_CLAIM_MAX_RUNS).optional(),
|
|
573
578
|
leaseMs: z.z.number().int().min(5e3).max(36e5).optional(),
|
|
574
579
|
/** B-548: what this daemon can execute (e.g. `precheck`). Older daemons send nothing; older servers strip it. */
|
|
575
580
|
capabilities: z.z.array(z.z.string().min(1).max(64)).max(32).optional()
|
|
576
581
|
});
|
|
577
582
|
z.z.object({
|
|
578
|
-
claimId: id.optional(),
|
|
583
|
+
claimId: id$1.optional(),
|
|
579
584
|
status: z.z.enum(["running", "done", "failed", "skipped"]).optional(),
|
|
580
|
-
sessionId: id.nullable().optional(),
|
|
585
|
+
sessionId: id$1.nullable().optional(),
|
|
581
586
|
stickyKey: z.z.string().min(1).max(512).optional(),
|
|
582
587
|
summary: z.z.string().max(AUTOMATION_SUMMARY_MAX_CHARS).nullable().optional(),
|
|
583
588
|
error: z.z.string().max(AUTOMATION_SUMMARY_MAX_CHARS).nullable().optional(),
|
|
@@ -587,16 +592,130 @@ z.z.object({
|
|
|
587
592
|
leaseMs: z.z.number().int().min(5e3).max(36e5).optional()
|
|
588
593
|
});
|
|
589
594
|
z.z.object({ by: z.z.string().min(1).max(64).optional() });
|
|
590
|
-
z.z.object({ key: z.z.string().min(1).max(512), sessionId: id });
|
|
595
|
+
z.z.object({ key: z.z.string().min(1).max(512), sessionId: id$1 });
|
|
591
596
|
z.z.object({ key: z.z.string().min(1).max(512) });
|
|
592
597
|
z.z.object({
|
|
593
|
-
automationId: id.optional(),
|
|
598
|
+
automationId: id$1.optional(),
|
|
594
599
|
name: AutomationNameSchema.optional(),
|
|
595
600
|
status: z.z.string().min(1).max(64).optional(),
|
|
596
601
|
attention: z.z.enum(["1", "true", "0", "false"]).optional(),
|
|
597
602
|
limit: z.z.coerce.number().int().min(1).max(200).optional()
|
|
598
603
|
});
|
|
599
|
-
z.z.object({ machineId: id.optional() });
|
|
604
|
+
z.z.object({ machineId: id$1.optional() });
|
|
605
|
+
const PROJECT_SESSION_CAPABILITY = "project-v1";
|
|
606
|
+
const PROJECT_LIMITS = {
|
|
607
|
+
nameChars: 120,
|
|
608
|
+
goalChars: 2e3,
|
|
609
|
+
instructionsBytes: 8 * 1024,
|
|
610
|
+
folders: 20,
|
|
611
|
+
logTitleChars: 200,
|
|
612
|
+
logBodyBytes: 4 * 1024,
|
|
613
|
+
messageBytes: 64 * 1024,
|
|
614
|
+
presenceBatch: 200,
|
|
615
|
+
memberBatch: 200};
|
|
616
|
+
const id = z.z.string().min(1).max(128);
|
|
617
|
+
const utf8Bytes = (value) => new TextEncoder().encode(value).length;
|
|
618
|
+
const boundedText = (maxBytes) => z.z.string().max(maxBytes).refine((v) => utf8Bytes(v) <= maxBytes, `exceeds ${maxBytes} bytes`);
|
|
619
|
+
const ProjectFolderSchema = z.z.object({
|
|
620
|
+
machineId: id,
|
|
621
|
+
path: z.z.string().min(1).max(4096),
|
|
622
|
+
primary: z.z.boolean().optional()
|
|
623
|
+
});
|
|
624
|
+
const ProjectDefaultsSchema = z.z.object({
|
|
625
|
+
agent: z.z.string().max(64).nullable().optional(),
|
|
626
|
+
model: z.z.string().max(256).nullable().optional(),
|
|
627
|
+
permissionMode: z.z.string().max(64).nullable().optional(),
|
|
628
|
+
worktree: z.z.boolean().nullable().optional()
|
|
629
|
+
});
|
|
630
|
+
const PROJECT_LOG_KINDS = ["decision", "finding", "handoff"];
|
|
631
|
+
const ProjectLogKindSchema = z.z.enum(PROJECT_LOG_KINDS);
|
|
632
|
+
const ProjectMemberViaInputSchema = z.z.enum(["explicit", "lineage", "suggested-accepted", "automation"]);
|
|
633
|
+
z.z.object({
|
|
634
|
+
name: z.z.string().trim().min(1).max(PROJECT_LIMITS.nameChars),
|
|
635
|
+
goal: z.z.string().max(PROJECT_LIMITS.goalChars).nullable().optional(),
|
|
636
|
+
instructions: boundedText(PROJECT_LIMITS.instructionsBytes).optional(),
|
|
637
|
+
folders: z.z.array(ProjectFolderSchema).max(PROJECT_LIMITS.folders).optional(),
|
|
638
|
+
defaults: ProjectDefaultsSchema.optional(),
|
|
639
|
+
/** Idempotency: the same requestId returns the project it created. */
|
|
640
|
+
requestId: id.optional(),
|
|
641
|
+
/** Optional initial members (e.g. "设为项目" moves a folder's sessions in one step). */
|
|
642
|
+
sessionIds: z.z.array(id).max(PROJECT_LIMITS.memberBatch).optional()
|
|
643
|
+
});
|
|
644
|
+
z.z.object({
|
|
645
|
+
name: z.z.string().trim().min(1).max(PROJECT_LIMITS.nameChars).optional(),
|
|
646
|
+
goal: z.z.string().max(PROJECT_LIMITS.goalChars).nullable().optional(),
|
|
647
|
+
folders: z.z.array(ProjectFolderSchema).max(PROJECT_LIMITS.folders).optional(),
|
|
648
|
+
defaults: ProjectDefaultsSchema.optional(),
|
|
649
|
+
archived: z.z.boolean().optional()
|
|
650
|
+
});
|
|
651
|
+
z.z.object({
|
|
652
|
+
instructions: boundedText(PROJECT_LIMITS.instructionsBytes),
|
|
653
|
+
ifVersion: z.z.number().int().min(0),
|
|
654
|
+
/** One-line summary shown in the next-turn digest ("instructions now v8 — …"). */
|
|
655
|
+
summary: z.z.string().max(200).optional()
|
|
656
|
+
});
|
|
657
|
+
z.z.object({
|
|
658
|
+
sessionIds: z.z.array(id).min(1).max(PROJECT_LIMITS.memberBatch),
|
|
659
|
+
via: ProjectMemberViaInputSchema.optional()
|
|
660
|
+
});
|
|
661
|
+
z.z.object({
|
|
662
|
+
kind: ProjectLogKindSchema,
|
|
663
|
+
title: z.z.string().trim().min(1).max(PROJECT_LIMITS.logTitleChars),
|
|
664
|
+
body: boundedText(PROJECT_LIMITS.logBodyBytes).optional(),
|
|
665
|
+
/** Entry id (or `#seq`) this entry replaces. */
|
|
666
|
+
supersedes: z.z.string().min(1).max(128).optional(),
|
|
667
|
+
/** Stamped by the wrapper (the agent cannot fill it). Absent = written by the user. */
|
|
668
|
+
authorSessionId: id.optional()
|
|
669
|
+
});
|
|
670
|
+
z.z.object({
|
|
671
|
+
/** When set, only entries this session authored may be revoked. Absent = the owner. */
|
|
672
|
+
bySessionId: id.optional()
|
|
673
|
+
});
|
|
674
|
+
z.z.object({ teamId: id });
|
|
675
|
+
const ProjectPresenceEntrySchema = z.z.object({
|
|
676
|
+
sessionId: id,
|
|
677
|
+
title: z.z.string().max(200).nullable().optional(),
|
|
678
|
+
agent: z.z.string().max(64).nullable().optional(),
|
|
679
|
+
machine: z.z.string().max(200).nullable().optional(),
|
|
680
|
+
branch: z.z.string().max(200).nullable().optional(),
|
|
681
|
+
state: z.z.string().max(32).nullable().optional(),
|
|
682
|
+
doing: z.z.string().max(200).nullable().optional(),
|
|
683
|
+
injectedInstructionsVersion: z.z.number().int().min(0).nullable().optional(),
|
|
684
|
+
/** Session capabilities the wrapper advertised (e.g. `project-v1`); drives the "未注入" badge. */
|
|
685
|
+
capabilities: z.z.array(z.z.string().max(64)).max(32).optional()
|
|
686
|
+
});
|
|
687
|
+
z.z.object({
|
|
688
|
+
machineId: id,
|
|
689
|
+
sessions: z.z.array(ProjectPresenceEntrySchema).max(PROJECT_LIMITS.presenceBatch),
|
|
690
|
+
/** Sessions of this machine that stopped; their presence rows are marked `offline`. */
|
|
691
|
+
gone: z.z.array(id).max(PROJECT_LIMITS.presenceBatch).optional()
|
|
692
|
+
});
|
|
693
|
+
z.z.object({
|
|
694
|
+
fromSessionId: id,
|
|
695
|
+
toSessionId: id,
|
|
696
|
+
body: boundedText(PROJECT_LIMITS.messageBytes).pipe(z.z.string().min(1))
|
|
697
|
+
});
|
|
698
|
+
z.z.object({
|
|
699
|
+
sessionId: id,
|
|
700
|
+
messageIds: z.z.array(id).min(1).max(100)
|
|
701
|
+
});
|
|
702
|
+
z.z.object({
|
|
703
|
+
full: z.z.enum(["0", "1", "true", "false"]).optional(),
|
|
704
|
+
section: z.z.enum(["instructions", "log", "sessions", "messages"]).optional(),
|
|
705
|
+
/** Read without moving the "since last read" cursor (used by the first-turn prefix). */
|
|
706
|
+
peek: z.z.enum(["0", "1", "true", "false"]).optional()
|
|
707
|
+
});
|
|
708
|
+
z.z.object({
|
|
709
|
+
since: z.z.coerce.number().int().min(0)
|
|
710
|
+
});
|
|
711
|
+
const PROJECT_UX_DISPATCH_ENTRIES = ["quick", "dialog", "project", "sidebar_group", "move", "other"];
|
|
712
|
+
const ProjectUxEventSchema = z.z.discriminatedUnion("kind", [
|
|
713
|
+
/** A session was created (or moved) — where from, and whether it landed in a project. */
|
|
714
|
+
z.z.object({ kind: z.z.literal("dispatch"), entry: z.z.enum(PROJECT_UX_DISPATCH_ENTRIES), inProject: z.z.boolean() }),
|
|
715
|
+
/** The owner opened a session that was waiting for them: how long it had been waiting. */
|
|
716
|
+
z.z.object({ kind: z.z.literal("attention_open"), latencyMs: z.z.number().int().min(0).max(7 * 864e5), inProject: z.z.boolean() })
|
|
717
|
+
]);
|
|
718
|
+
z.z.object({ events: z.z.array(ProjectUxEventSchema).min(1).max(20) });
|
|
600
719
|
const BUILTIN_TODO_PREFIX = "vh.todo.v1.";
|
|
601
720
|
const TITLE_MAX_LENGTH = 500;
|
|
602
721
|
const NOTE_MAX_LENGTH = 8e3;
|
|
@@ -997,7 +1116,7 @@ z.z.object({
|
|
|
997
1116
|
sid: z.z.string(),
|
|
998
1117
|
items: z.z.array(PromptQueueItemSchema)
|
|
999
1118
|
});
|
|
1000
|
-
z.z.object({
|
|
1119
|
+
const ServerMigrateNoticeSchema = z.z.object({
|
|
1001
1120
|
url: z.z.string().url().max(512),
|
|
1002
1121
|
webappUrl: z.z.string().url().max(512),
|
|
1003
1122
|
handoff: z.z.string().regex(/^vh1\.[A-Za-z0-9_-]{16,2048}\.[A-Za-z0-9_-]{43}$/),
|
|
@@ -1023,11 +1142,14 @@ exports.BUILTIN_TODO_DISCOVERY = BUILTIN_TODO_DISCOVERY;
|
|
|
1023
1142
|
exports.BUILTIN_TODO_SKILL = BUILTIN_TODO_SKILL;
|
|
1024
1143
|
exports.CODEX_STEER_CAPABILITY = CODEX_STEER_CAPABILITY;
|
|
1025
1144
|
exports.ContextUsageSchema = ContextUsageSchema;
|
|
1145
|
+
exports.PI_STEER_CAPABILITY = PI_STEER_CAPABILITY;
|
|
1146
|
+
exports.PROJECT_SESSION_CAPABILITY = PROJECT_SESSION_CAPABILITY;
|
|
1026
1147
|
exports.PROMPT_QUEUE_CAPABILITY = PROMPT_QUEUE_CAPABILITY;
|
|
1027
1148
|
exports.RelayAssignmentResponseSchema = RelayAssignmentResponseSchema;
|
|
1028
1149
|
exports.RelayCandidatesResponseSchema = RelayCandidatesResponseSchema;
|
|
1029
1150
|
exports.ReleaseDrainNoticeSchema = ReleaseDrainNoticeSchema;
|
|
1030
1151
|
exports.STREAM_DELTA_MAX_CHARS = STREAM_DELTA_MAX_CHARS;
|
|
1152
|
+
exports.ServerMigrateNoticeSchema = ServerMigrateNoticeSchema;
|
|
1031
1153
|
exports.createBuiltinTodoClient = createBuiltinTodoClient;
|
|
1032
1154
|
exports.createEnvelope = createEnvelope;
|
|
1033
1155
|
exports.getAgentCodeDefaults = getAgentCodeDefaults;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var query = require('./query-Ctfg-5gy.cjs');
|
|
4
|
+
var claudeAgentSdk = require('@anthropic-ai/claude-agent-sdk');
|
|
5
|
+
require('./smallFastModel-D_uxGMo3.cjs');
|
|
6
|
+
require('./logger-C1GWx3gi.cjs');
|
|
7
|
+
require('chalk');
|
|
8
|
+
require('node:util');
|
|
9
|
+
require('./configuration-CMHZnp6G.cjs');
|
|
10
|
+
require('node:fs');
|
|
11
|
+
require('node:os');
|
|
12
|
+
require('node:path');
|
|
13
|
+
require('./package-SgqTYsjn.cjs');
|
|
14
|
+
require('node:fs/promises');
|
|
15
|
+
require('./processTreeSnapshot-mDbnuojn.cjs');
|
|
16
|
+
require('node:child_process');
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
exports.query = query.query;
|
|
21
|
+
Object.defineProperty(exports, "AbortError", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return claudeAgentSdk.AbortError; }
|
|
24
|
+
});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { statSync, readdirSync } from 'node:fs';
|
|
2
2
|
import { homedir } from 'node:os';
|
|
3
|
-
import { l as logger } from './logger-
|
|
4
|
-
import { r as readSettings } from './persistence-
|
|
3
|
+
import { l as logger } from './logger-BtVhHnD8.mjs';
|
|
4
|
+
import { r as readSettings } from './persistence-Cr-wutZ4.mjs';
|
|
5
5
|
import { d as describeAgentHome, C as CLAUDE_CONFIG_DIR_ENV, a as CODEX_HOME_ENV, f as findClaudeConversation, b as agentHomeCandidates, c as findCodexThread, r as resolveAgentHomes, A as AGENT_HOME_ENV_NAMES, g as agentHomeEnv, p as probeLoginShellEnv } from './loginShellEnv-Dw8M7tkI.mjs';
|
|
6
6
|
export { h as claudeConversationPath, i as claudeProjectDirName, j as codexRolloutFileMatches, e as expandHomePath } from './loginShellEnv-Dw8M7tkI.mjs';
|
|
7
7
|
import 'chalk';
|
|
8
8
|
import 'node:util';
|
|
9
|
-
import './configuration-
|
|
9
|
+
import './configuration-WMi4idBB.mjs';
|
|
10
10
|
import 'node:path';
|
|
11
|
-
import './package-
|
|
11
|
+
import './package-BPPebGQF.mjs';
|
|
12
12
|
import 'node:fs/promises';
|
|
13
13
|
import 'zod';
|
|
14
|
-
import './authRelay-
|
|
14
|
+
import './authRelay-DhQhkBvX.mjs';
|
|
15
15
|
import 'node:crypto';
|
|
16
16
|
import 'tweetnacl';
|
|
17
17
|
import 'node:child_process';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _package = require('./package-
|
|
3
|
+
var _package = require('./package-SgqTYsjn.cjs');
|
|
4
4
|
var module$1 = require('node:module');
|
|
5
5
|
var node_fs = require('node:fs');
|
|
6
6
|
var promises = require('node:fs/promises');
|
|
@@ -59,10 +59,10 @@ async function pruneStaleCompileCaches(happyHomeDir, cliVersion) {
|
|
|
59
59
|
async function run(args) {
|
|
60
60
|
enableCompileCacheIfPossible(_package.packageJson.version);
|
|
61
61
|
if (isStandaloneVersionRequest(args) || isSelfCheckRequest(args)) {
|
|
62
|
-
const { selfCheckMain } = await Promise.resolve().then(function () { return require('./selfCheck-
|
|
62
|
+
const { selfCheckMain } = await Promise.resolve().then(function () { return require('./selfCheck-DCt4Uzbq.cjs'); });
|
|
63
63
|
process.exit(await selfCheckMain({ verbose: isSelfCheckRequest(args) }));
|
|
64
64
|
}
|
|
65
|
-
const { main } = await Promise.resolve().then(function () { return require('./main-
|
|
65
|
+
const { main } = await Promise.resolve().then(function () { return require('./main-CWhSsbtU.cjs'); });
|
|
66
66
|
await main();
|
|
67
67
|
}
|
|
68
68
|
void run(process.argv.slice(2));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as packageJson } from './package-
|
|
1
|
+
import { p as packageJson } from './package-BPPebGQF.mjs';
|
|
2
2
|
import module$1 from 'node:module';
|
|
3
3
|
import { existsSync } from 'node:fs';
|
|
4
4
|
import { readdir, rm } from 'node:fs/promises';
|
|
@@ -57,10 +57,10 @@ async function pruneStaleCompileCaches(happyHomeDir, cliVersion) {
|
|
|
57
57
|
async function run(args) {
|
|
58
58
|
enableCompileCacheIfPossible(packageJson.version);
|
|
59
59
|
if (isStandaloneVersionRequest(args) || isSelfCheckRequest(args)) {
|
|
60
|
-
const { selfCheckMain } = await import('./selfCheck-
|
|
60
|
+
const { selfCheckMain } = await import('./selfCheck-CjCF4C3v.mjs');
|
|
61
61
|
process.exit(await selfCheckMain({ verbose: isSelfCheckRequest(args) }));
|
|
62
62
|
}
|
|
63
|
-
const { main } = await import('./main-
|
|
63
|
+
const { main } = await import('./main-B2LWV8DI.mjs');
|
|
64
64
|
await main();
|
|
65
65
|
}
|
|
66
66
|
void run(process.argv.slice(2));
|