very-happy-cli 0.2.181 → 0.2.182
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-DZGCSuXF.mjs → AcpBackend-DLk3gMYH.mjs} +3 -3
- package/dist/{AcpBackend-CgHb_ya5.cjs → AcpBackend-JA5eu8Y0.cjs} +3 -3
- package/dist/{AcpSessionManager-CacC2EVn.cjs → AcpSessionManager-DjYidq4C.cjs} +1 -1
- package/dist/{AcpSessionManager-DwuPzWBh.mjs → AcpSessionManager-OrCww-Qv.mjs} +1 -1
- package/dist/{BasePermissionHandler-DCP8ZEB4.cjs → BasePermissionHandler-D3PMKLBS.cjs} +1 -1
- package/dist/{BasePermissionHandler-Uo-GUjbb.mjs → BasePermissionHandler-u-neo-iN.mjs} +1 -1
- package/dist/{acpSessionResume-BaVMD80f.cjs → acpSessionResume-Dxo8222T.cjs} +1 -1
- package/dist/{acpSessionResume-9OLTD6kT.mjs → acpSessionResume-u2TwX5Jd.mjs} +1 -1
- package/dist/{agentHome-BtUmGcPX.cjs → agentHome-CP1tCBXz.cjs} +4 -4
- package/dist/{agentHome-B1BsKeqD.mjs → agentHome-D3hNrnoA.mjs} +4 -4
- package/dist/{api-COHFAkb_.cjs → api-CZWcG7uh.cjs} +10 -10
- package/dist/{api-Dr3wXL_7.mjs → api-C_YSQnsi.mjs} +10 -10
- package/dist/{apiMachine-CHEzPQdS.mjs → apiMachine-C_GA5Bm-.mjs} +19 -14
- package/dist/{apiMachine-D8H7CXaz.cjs → apiMachine-DPGrED5C.cjs} +19 -14
- package/dist/{attachmentContent-1YwtKgWl.mjs → attachmentContent-Ckzyb1Uy.mjs} +2 -2
- package/dist/{attachmentContent-mIhbtRKl.cjs → attachmentContent-I_dJIevE.cjs} +2 -2
- package/dist/{auth-Fg8fLadK.cjs → auth-BKnE7uv7.cjs} +8 -8
- package/dist/{auth-DZsthtSk.mjs → auth-CGgpiJ5-.mjs} +5 -5
- package/dist/{auth-CbZkcMAb.mjs → auth-DOXMI-xp.mjs} +8 -8
- package/dist/{auth-CgQP7d0q.cjs → auth-Lw_utSMV.cjs} +5 -5
- package/dist/{auto-BB7kqSh5.cjs → auto-CIgFHIyQ.cjs} +16 -16
- package/dist/{auto-_T-Ud-z5.mjs → auto-Z56mMZnH.mjs} +16 -16
- package/dist/{bootstrap-B6EkZh4u.mjs → bootstrap-D3vlOROj.mjs} +2 -2
- package/dist/{bootstrap-CYtOtbi7.cjs → bootstrap-DsXp74wv.cjs} +2 -2
- package/dist/{browser-C2qhUHSE.mjs → browser-CUxGoATV.mjs} +1 -1
- package/dist/{browser-DjNNQQk2.cjs → browser-CZlA9AkO.cjs} +1 -1
- package/dist/{claudeLocal-BAFjWhZ8.mjs → claudeLocal-FnTUgwCi.mjs} +5 -5
- package/dist/{claudeLocal-O_w7-fBh.cjs → claudeLocal-oELvwiZL.cjs} +5 -5
- package/dist/{claudeLocalLauncher-CWn30LZR.mjs → claudeLocalLauncher-CO5YHCzi.mjs} +10 -10
- package/dist/{claudeLocalLauncher-Df3zg1q0.cjs → claudeLocalLauncher-QsVXEVdE.cjs} +10 -10
- package/dist/{claudeSessionFork-pwcKqB-e.cjs → claudeSessionFork-BA4GE5AL.cjs} +1 -1
- package/dist/{claudeSessionFork-2ZkSTOGn.mjs → claudeSessionFork-Cspr6QW0.mjs} +1 -1
- package/dist/{client-DsQcxVUV.mjs → client-BGfmSbWc.mjs} +14 -4
- package/dist/{client-D_U2VjO3.cjs → client-CDuW4MS9.cjs} +2 -2
- package/dist/{client-CXOnzuOy.mjs → client-Ctbw05Xj.mjs} +2 -2
- package/dist/{client-DWs6k041.cjs → client-DK8CzUry.cjs} +2 -2
- package/dist/{client-BKyU66lg.mjs → client-o-meK7-a.mjs} +2 -2
- package/dist/{client-CUO3ItoB.cjs → client-xnWiHqdb.cjs} +14 -4
- package/dist/codex/happyMcpStdioBridge.cjs +20 -19
- package/dist/codex/happyMcpStdioBridge.mjs +20 -19
- package/dist/{codexAppServerClient-C3JO3pwM.mjs → codexAppServerClient-BlsOZLul.mjs} +3 -3
- package/dist/{codexAppServerClient-BRX3JZ_5.cjs → codexAppServerClient-DhNDTU_i.cjs} +3 -3
- package/dist/{codexCommand-BZIAAqKS.mjs → codexCommand-BGx5NMQR.mjs} +44 -43
- package/dist/{codexCommand-dKOc5iQl.cjs → codexCommand-DJDPfpIs.cjs} +44 -43
- package/dist/{codexTermination-ztFkwHrG.mjs → codexTermination-CVhhwHZU.mjs} +1 -1
- package/dist/{codexTermination-BVR9HeVI.cjs → codexTermination-CqPMuokw.cjs} +1 -1
- package/dist/{config-cftYxLC7.cjs → config-CHpxzXBL.cjs} +3 -3
- package/dist/{config-NbHjx8ge.mjs → config-CWAe08-Q.mjs} +3 -3
- package/dist/{configuration-C8JgseHy.cjs → configuration-B-CugKJ3.cjs} +1 -1
- package/dist/{configuration-BPrfb17M.mjs → configuration-YXw_Dcsb.mjs} +1 -1
- package/dist/{connect-Br8VMrK1.cjs → connect-BmHvMXH2.cjs} +13 -13
- package/dist/{connect-CLD1ai0k.mjs → connect-CPeJXHha.mjs} +13 -13
- package/dist/{context-D1lgQTJC.cjs → context-BtIVqHI5.cjs} +1 -1
- package/dist/{context-_YGq8xdH.mjs → context-Drzs_Z38.mjs} +1 -1
- package/dist/{controlClient-CkNpT5zS.mjs → controlClient-BL4hb4l3.mjs} +3 -3
- package/dist/{controlClient-D68Zj7Q-.cjs → controlClient-D0kGwKYx.cjs} +3 -3
- package/dist/{createSessionMetadata-3WAj3_xl.mjs → createSessionMetadata-DvGDsnsn.mjs} +2 -2
- package/dist/{createSessionMetadata-DNIbKLHg.cjs → createSessionMetadata-L499emJn.cjs} +2 -2
- package/dist/{defaultPermissionMode-DXMznl8v.mjs → defaultPermissionMode-BLfxu-Yz.mjs} +2 -2
- package/dist/{defaultPermissionMode-BmvjP32v.cjs → defaultPermissionMode-MXpZlXud.cjs} +2 -2
- package/dist/{deterministicJson-BcBIKKf1.mjs → deterministicJson-B_UAbmQ4.mjs} +11 -11
- package/dist/{deterministicJson-BS7D7URE.cjs → deterministicJson-CfLkBRvU.cjs} +11 -11
- package/dist/{doctor-Be7zC0AF.cjs → doctor-DMvlzmnE.cjs} +7 -7
- package/dist/{doctor-CoOaPq6w.mjs → doctor-bKScPtZu.mjs} +7 -7
- package/dist/{downloadTarget-LyOiucn_.cjs → downloadTarget-D33BFvew.cjs} +6 -6
- package/dist/{downloadTarget-CeaAXdJj.mjs → downloadTarget-J9j37eFG.mjs} +6 -6
- package/dist/{ensureDaemonRunning-B8z37VKD.cjs → ensureDaemonRunning-2IqWROJp.cjs} +5 -5
- package/dist/{ensureDaemonRunning--98j7-17.mjs → ensureDaemonRunning-DLvwhpNg.mjs} +5 -5
- package/dist/fsMkdir-0K3yENml.cjs +56 -0
- package/dist/fsMkdir-DumgLTzR.mjs +53 -0
- package/dist/{handleResumeCommand-gO8I4keP.mjs → handleResumeCommand-CjtjQ_I7.mjs} +5 -5
- package/dist/{handleResumeCommand-BFZlrFVH.cjs → handleResumeCommand-Dp2Y-p6V.cjs} +5 -5
- package/dist/{index-CeRXrGnH.mjs → index-BI0h2Zks.mjs} +16 -1
- package/dist/{index-WUj3954m.mjs → index-BOT0Tg5E.mjs} +4 -4
- package/dist/{index-BkluinoS.cjs → index-B_aNaW9w.cjs} +4 -4
- package/dist/{index-BRMq9gOe.cjs → index-CZC7egJA.cjs} +3 -3
- package/dist/{index-CO0n9ue6.mjs → index-Cllzqoes.mjs} +4 -4
- package/dist/{index-B5PXbZjW.cjs → index-DYVIbhAJ.cjs} +40 -39
- package/dist/{index-hQ8LP1C2.mjs → index-D_LvOWUN.mjs} +3 -3
- package/dist/{index-jF2t3ACW.cjs → index-DymOv3kK.cjs} +4 -4
- package/dist/{index-DneHoQXf.mjs → index-kA46KMxN.mjs} +41 -40
- package/dist/{index-Df2eHm3O.cjs → index-oh8XEozJ.cjs} +17 -0
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-FqkSUjPC.cjs → install-BAa_Xmof.cjs} +3 -3
- package/dist/{install-DkYFiVK4.mjs → install-C46mkr9a.mjs} +3 -3
- package/dist/lib.cjs +12 -12
- package/dist/lib.d.cts +1 -0
- package/dist/lib.d.mts +1 -0
- package/dist/lib.mjs +12 -12
- package/dist/{lidState-DghbfRbr.mjs → lidState-D8Iuvjgl.mjs} +1 -1
- package/dist/{lidState-x8cJ8J_9.cjs → lidState-DcPvwniz.cjs} +1 -1
- package/dist/{localHappyAgentAuth-IKmeRpuQ.mjs → localHappyAgentAuth-D3rQDRd9.mjs} +1 -1
- package/dist/{localHappyAgentAuth-DZ2kb9uq.cjs → localHappyAgentAuth-SD6GM97y.cjs} +1 -1
- package/dist/{logger-DgBwUSgS.cjs → logger-DK1ytCz6.cjs} +2 -2
- package/dist/{logger-LFr8iPgl.mjs → logger-DpqihN1f.mjs} +2 -2
- package/dist/{machineMetadata-BglCsfvf.mjs → machineMetadata-D4E3qoIG.mjs} +5 -3
- package/dist/{machineMetadata-DB03ez4K.cjs → machineMetadata-IJc6_iyx.cjs} +5 -3
- package/dist/{main-_1LSzlLv.mjs → main-CpUmw7hm.mjs} +45 -45
- package/dist/{main-YQ-Vkakw.cjs → main-DUXh2rgW.cjs} +45 -45
- package/dist/{mcp-Csj-mT5Y.mjs → mcp-66g1TJ8P.mjs} +17 -15
- package/dist/{mcp-BIY80jSc.cjs → mcp-D5f3Vd-z.cjs} +17 -15
- package/dist/{mirrorProtocol-BphKIAK9.cjs → mirrorProtocol-DkWOcZh9.cjs} +3 -3
- package/dist/{mirrorProtocol-CAxOMBkb.mjs → mirrorProtocol-bsCUcaCY.mjs} +3 -3
- package/dist/{package-NoD8QOOM.cjs → package-BfeqAzyJ.cjs} +7 -7
- package/dist/{package-DYGwlmXl.mjs → package-CKj8zndE.mjs} +7 -7
- package/dist/{panels-DYEc1NyQ.cjs → panels-2PXsw9-d.cjs} +5 -5
- package/dist/{panels-B8zRm7_d.mjs → panels-r8LmaBs6.mjs} +5 -5
- package/dist/{peerTools-CP-x-Peu.cjs → peerTools-BVp1z0T_.cjs} +5 -5
- package/dist/{peerTools-CK3JYu1k.mjs → peerTools-D_id4d41.mjs} +5 -5
- package/dist/{persistence-BY-D00wT.cjs → persistence-BdpwWXKh.cjs} +2 -2
- package/dist/{persistence-D2Djrf7t.mjs → persistence-jOEuAFTS.mjs} +2 -2
- package/dist/{piRunnerArgs-IZLoL7TG.mjs → piRunnerArgs-68I5F_M1.mjs} +1 -1
- package/dist/{piRunnerArgs-gxLYIZH4.cjs → piRunnerArgs-vxCHKnSA.cjs} +1 -1
- package/dist/{piRuntime-o5L8uX-W.cjs → piRuntime-C3Dg5uni.cjs} +1 -1
- package/dist/{piRuntime-D7Y4oHVL.mjs → piRuntime-DgLIard1.mjs} +1 -1
- package/dist/{piTerminal-C_-JDkLN.cjs → piTerminal-C135BcLP.cjs} +19 -17
- package/dist/{piTerminal-Kphx8Uhw.mjs → piTerminal-DJL0w-uA.mjs} +19 -17
- package/dist/{pushNotifications-DXGIhE-A.mjs → pushNotifications-CMmRsbKv.mjs} +5 -3
- package/dist/{pushNotifications-BXoOSq_G.cjs → pushNotifications-CyQVDThC.cjs} +5 -3
- package/dist/{query-CdCxzuaB.cjs → query-CK--1fbL.cjs} +1 -1
- package/dist/{query-CcA6DVZK.mjs → query-CPXnDURZ.mjs} +1 -1
- package/dist/{rateLimitWindows-ZtHZHe-l.mjs → rateLimitWindows-Cqa4AGaB.mjs} +1 -1
- package/dist/{rateLimitWindows-OpAmdOtC.cjs → rateLimitWindows-DJxnNw-X.cjs} +1 -1
- package/dist/{registerCommonHandlers-CRjBoJLK.cjs → registerCommonHandlers-DbNoM39q.cjs} +2 -2
- package/dist/{registerCommonHandlers-DF6bdDtd.mjs → registerCommonHandlers-K8dICQO2.mjs} +2 -2
- package/dist/{registerKillSessionHandler-7fOm6ooh.cjs → registerKillSessionHandler-DiS_go8d.cjs} +6 -6
- package/dist/{registerKillSessionHandler-DDCKL3wf.mjs → registerKillSessionHandler-O1iriOMO.mjs} +6 -6
- package/dist/{remoteSessionClient-B2POSKFT.mjs → remoteSessionClient-BlURPulk.mjs} +5 -5
- package/dist/{remoteSessionClient-CFCn42bs.cjs → remoteSessionClient-CtV9mDko.cjs} +5 -5
- package/dist/{reportProgressTool-th4trcET.cjs → reportProgressTool-DlD_xjzU.cjs} +3 -3
- package/dist/{reportProgressTool-tPxEvh6x.mjs → reportProgressTool-nCExrHZH.mjs} +3 -3
- package/dist/{run-C_FumCQk.cjs → run-BBNrcCfI.cjs} +39 -36
- package/dist/{run-cKQBbVi4.mjs → run-drtwHYkO.mjs} +38 -35
- package/dist/{runClaude-z_2YC_aa.cjs → runClaude-B3KSeby4.cjs} +23 -22
- package/dist/{runClaude-CYnM6krL.mjs → runClaude-CFp27Tyi.mjs} +23 -22
- package/dist/{runClaudeDeps-CLubzWnA.cjs → runClaudeDeps-C_C9TCI0.cjs} +38 -38
- package/dist/{runClaudeDeps-duS06Pb4.mjs → runClaudeDeps-DMcv93lA.mjs} +43 -43
- package/dist/{runGemini-C_Pc2EhH.mjs → runGemini-Bc6SY-hd.mjs} +36 -35
- package/dist/{runGemini-vEoXV6qT.cjs → runGemini-DzdSBAr9.cjs} +36 -35
- package/dist/{runOpenClaw-Cxun1qLC.mjs → runOpenClaw-DI0qMlgF.mjs} +19 -18
- package/dist/{runOpenClaw-CXJCtMgB.cjs → runOpenClaw-DN6rEVqC.cjs} +19 -18
- package/dist/{sandbox-CO46H2tK.cjs → sandbox-DtttPBMA.cjs} +4 -4
- package/dist/{sandbox-CsvPnTmz.mjs → sandbox-v-ffe8LR.mjs} +4 -4
- package/dist/{selfCheck-DIr7Gc0i.cjs → selfCheck-B-yy6bW3.cjs} +36 -36
- package/dist/selfCheck-BDfTwxqB.mjs +85 -0
- package/dist/{send-DMoFg6F1.mjs → send-DpBwSZuj.mjs} +8 -8
- package/dist/{send-X2mfVEyr.cjs → send-ShzXYPRu.cjs} +8 -8
- package/dist/{server-BwTEdbkr.cjs → server-CEzKrfKj.cjs} +6 -6
- package/dist/{server-CkqQ0sRH.mjs → server-DScgJXxa.mjs} +4 -4
- package/dist/{sessionLock-JIfwCqMk.mjs → sessionLock-B6K4SBZD.mjs} +3 -3
- package/dist/{sessionLock-CdIRJlHH.cjs → sessionLock-Dc0fadGG.cjs} +3 -3
- package/dist/{sessionOps-DqlftXxe.mjs → sessionOps-D0BPWPoh.mjs} +4 -4
- package/dist/{sessionOps-DVA-00nR.cjs → sessionOps-Dx7wARjI.cjs} +4 -4
- package/dist/{sessionScanner-BI0Vo1xT.mjs → sessionScanner-9Fpgaxtf.mjs} +3 -3
- package/dist/{sessionScanner-BMwgGAhY.cjs → sessionScanner-BJ35TVG6.cjs} +3 -3
- package/dist/{sessions-D6IimX7b.mjs → sessions-CFtDlyZd.mjs} +10 -10
- package/dist/{sessions-DjgEcHaT.cjs → sessions-TZGGAry1.cjs} +10 -10
- package/dist/{setupOfflineReconnection-CjuCiKY3.cjs → setupOfflineReconnection-B1GsVA8P.cjs} +2 -2
- package/dist/{setupOfflineReconnection-DgJK_4m1.mjs → setupOfflineReconnection-Biaus-0T.mjs} +2 -2
- package/dist/{spawn-rhF28shY.cjs → spawn-BRTuypQ2.cjs} +14 -14
- package/dist/{spawn-Dvzy-tzc.mjs → spawn-CsoQ-Ecz.mjs} +14 -14
- package/dist/{spawnAgents-iwuqrgR9.cjs → spawnAgents-CG211IW7.cjs} +1 -1
- package/dist/{spawnAgents-CCnlq-FI.mjs → spawnAgents-Co-SLcx-.mjs} +1 -1
- package/dist/{spawnHappyCLI-Dq3LLXLb.mjs → spawnHappyCLI-D1doCjkZ.mjs} +1 -1
- package/dist/{spawnHappyCLI-DnKmIsEt.cjs → spawnHappyCLI-D47kX6jg.cjs} +1 -1
- package/dist/{specialCommands-Zwr2C6A2.cjs → specialCommands-Ch-Gvy-i.cjs} +3 -3
- package/dist/{specialCommands-CcyZ1hGA.mjs → specialCommands-xSmqT_Fu.mjs} +3 -3
- package/dist/{startFileWatcher-4thXDK9d.mjs → startFileWatcher-CCl2fFxT.mjs} +1 -1
- package/dist/{startFileWatcher-K6hJSyiR.cjs → startFileWatcher-gKQTstR6.cjs} +1 -1
- package/dist/{startupSessionCreate-CKEbq0tL.cjs → startupSessionCreate-BXqoUX30.cjs} +1 -1
- package/dist/{startupSessionCreate-BfByJ16A.mjs → startupSessionCreate-DlZc8yPl.mjs} +1 -1
- package/dist/{streamRelay-Gy8Xfnon.cjs → streamRelay-B-J-4St1.cjs} +1 -1
- package/dist/{streamRelay-LcDvyEjK.mjs → streamRelay-DnJXsi36.mjs} +1 -1
- package/dist/{sync-DO-2PU45.mjs → sync-BbjMC3sR.mjs} +1 -1
- package/dist/{sync-1hQ5KHpL.cjs → sync-BxMdnZzz.cjs} +1 -1
- package/dist/{systemPrompt-Dj7pgkMK.cjs → systemPrompt-C2KojRmK.cjs} +2 -2
- package/dist/{systemPrompt-BctLfMZs.mjs → systemPrompt-CmSDAoIx.mjs} +2 -2
- package/dist/{teams-uQxUlyyz.cjs → teams-DESdalox.cjs} +11 -8
- package/dist/{teams-Bu8YeOoF.mjs → teams-lRy1MS0Z.mjs} +11 -8
- package/dist/{time-BcoJaG8E.mjs → time-Cfknl7xG.mjs} +1 -1
- package/dist/{time-nqa9shu8.cjs → time-DNLeIRgR.cjs} +1 -1
- package/dist/{titleGenerator-D5r06bhf.mjs → titleGenerator-ClnMSzwC.mjs} +1 -1
- package/dist/{titleGenerator-D09XyYYG.cjs → titleGenerator-YNutaU88.cjs} +2 -2
- package/dist/{todo-CCOnL7pT.cjs → todo-DS75Mboz.cjs} +6 -6
- package/dist/{todo-D1q8146q.mjs → todo-DZbK5POc.mjs} +6 -6
- package/dist/{tools-D2E--n1x.mjs → tools-BgdU0dWp.mjs} +1 -1
- package/dist/{tools-DiCXnAC5.cjs → tools-ClYcb1YQ.cjs} +1 -1
- package/dist/{uninstall-BrNwwwSD.cjs → uninstall-Di1vPBLV.cjs} +3 -3
- package/dist/{uninstall-CtwXi1Rt.mjs → uninstall-bXenFevR.mjs} +3 -3
- package/package.json +7 -7
- package/dist/selfCheck-NamtBHVB.mjs +0 -85
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
3
|
+
var logger = require('./logger-DK1ytCz6.cjs');
|
|
4
4
|
var prompt = require('./prompt-Bof2aQkI.cjs');
|
|
5
|
-
var client = require('./client-
|
|
6
|
-
var reportProgressTool = require('./reportProgressTool-
|
|
5
|
+
var client = require('./client-DK8CzUry.cjs');
|
|
6
|
+
var reportProgressTool = require('./reportProgressTool-DlD_xjzU.cjs');
|
|
7
7
|
var node_fs = require('node:fs');
|
|
8
8
|
var os = require('node:os');
|
|
9
9
|
var path = require('node:path');
|
|
@@ -11,21 +11,21 @@ var z = require('zod');
|
|
|
11
11
|
var pi = require('./pi-DlsrPCTa.cjs');
|
|
12
12
|
var promises = require('node:fs/promises');
|
|
13
13
|
var node_crypto = require('node:crypto');
|
|
14
|
-
var client$1 = require('./client-
|
|
15
|
-
var context = require('./context-
|
|
16
|
-
var sessionOps = require('./sessionOps-
|
|
14
|
+
var client$1 = require('./client-xnWiHqdb.cjs');
|
|
15
|
+
var context = require('./context-BtIVqHI5.cjs');
|
|
16
|
+
var sessionOps = require('./sessionOps-Dx7wARjI.cjs');
|
|
17
17
|
var resources = require('./resources-BPyN59Iv.cjs');
|
|
18
|
-
var tools = require('./tools-
|
|
19
|
-
var peerTools = require('./peerTools-
|
|
18
|
+
var tools = require('./tools-ClYcb1YQ.cjs');
|
|
19
|
+
var peerTools = require('./peerTools-BVp1z0T_.cjs');
|
|
20
20
|
var mcp_js = require('@modelcontextprotocol/sdk/server/mcp.js');
|
|
21
21
|
var node_http = require('node:http');
|
|
22
22
|
var streamableHttp_js = require('@modelcontextprotocol/sdk/server/streamableHttp.js');
|
|
23
23
|
var limits = require('./limits-C-a7gr04.cjs');
|
|
24
|
-
var downloadTarget = require('./downloadTarget-
|
|
24
|
+
var downloadTarget = require('./downloadTarget-D33BFvew.cjs');
|
|
25
25
|
var agentGuidance = require('./agentGuidance-BtBx2xxE.cjs');
|
|
26
26
|
var webPanels = require('./webPanels-FCgFKvVe.cjs');
|
|
27
|
-
var persistence = require('./persistence-
|
|
28
|
-
var pushNotifications = require('./pushNotifications-
|
|
27
|
+
var persistence = require('./persistence-BdpwWXKh.cjs');
|
|
28
|
+
var pushNotifications = require('./pushNotifications-CyQVDThC.cjs');
|
|
29
29
|
var previewPath = require('./previewPath-B0rBdhy1.cjs');
|
|
30
30
|
var require$$3 = require('crypto');
|
|
31
31
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
|
-
var configuration = require('./configuration-
|
|
5
|
-
var persistence = require('./persistence-
|
|
6
|
-
var controlClient = require('./controlClient-
|
|
4
|
+
var configuration = require('./configuration-B-CugKJ3.cjs');
|
|
5
|
+
var persistence = require('./persistence-BdpwWXKh.cjs');
|
|
6
|
+
var controlClient = require('./controlClient-D0kGwKYx.cjs');
|
|
7
7
|
var doctor$1 = require('./doctor-u46qYYKX.cjs');
|
|
8
8
|
var node_fs = require('node:fs');
|
|
9
9
|
var path = require('node:path');
|
|
10
10
|
var projectPath = require('./projectPath-C3ioB4Bu.cjs');
|
|
11
|
-
var _package = require('./package-
|
|
11
|
+
var _package = require('./package-BfeqAzyJ.cjs');
|
|
12
12
|
var doctorReadiness = require('./doctorReadiness-Dl6yRQCy.cjs');
|
|
13
13
|
var authRelay = require('./authRelay-Dy1qU9td.cjs');
|
|
14
14
|
var cliUpdate = require('./cliUpdate-DsKXPFYp.cjs');
|
|
15
15
|
var node_child_process = require('node:child_process');
|
|
16
|
-
var piRunnerArgs = require('./piRunnerArgs-
|
|
16
|
+
var piRunnerArgs = require('./piRunnerArgs-vxCHKnSA.cjs');
|
|
17
17
|
|
|
18
18
|
function shareSafeProcessLine(process2) {
|
|
19
19
|
return `PID ${process2.pid}: command arguments hidden for privacy`;
|
|
@@ -313,8 +313,8 @@ ${typeLabels[type] || type}:`));
|
|
|
313
313
|
}
|
|
314
314
|
console.log(chalk.gray(" An external claude command is only needed for native terminal/mirror use."));
|
|
315
315
|
try {
|
|
316
|
-
const { resolveAgentHomesForCli } = await Promise.resolve().then(function () { return require('./agentHome-
|
|
317
|
-
const { describeAgentHome } = await Promise.resolve().then(function () { return require('./index-
|
|
316
|
+
const { resolveAgentHomesForCli } = await Promise.resolve().then(function () { return require('./agentHome-CP1tCBXz.cjs'); });
|
|
317
|
+
const { describeAgentHome } = await Promise.resolve().then(function () { return require('./index-B_aNaW9w.cjs'); });
|
|
318
318
|
const homes = await resolveAgentHomesForCli();
|
|
319
319
|
console.log(chalk.green(`\u2713 Claude config dir: ${describeAgentHome(homes.claudeConfigDir)}`));
|
|
320
320
|
console.log(chalk.green(`\u2713 Codex home: ${describeAgentHome(homes.codexHome)}`));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { c as configuration } from './configuration-
|
|
3
|
-
import { r as readSettings, g as readCredentials, d as readDaemonState } from './persistence-
|
|
4
|
-
import { a as checkIfDaemonRunningAndCleanupStaleState } from './controlClient-
|
|
2
|
+
import { c as configuration } from './configuration-YXw_Dcsb.mjs';
|
|
3
|
+
import { r as readSettings, g as readCredentials, d as readDaemonState } from './persistence-jOEuAFTS.mjs';
|
|
4
|
+
import { a as checkIfDaemonRunningAndCleanupStaleState } from './controlClient-BL4hb4l3.mjs';
|
|
5
5
|
import { findAllHappyProcesses } from './doctor-BPkYWSuq.mjs';
|
|
6
6
|
import { statSync, realpathSync, existsSync, readdirSync } from 'node:fs';
|
|
7
7
|
import { isAbsolute, resolve, dirname, basename, delimiter, join } from 'node:path';
|
|
8
8
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
9
|
-
import { p as packageJson } from './package-
|
|
9
|
+
import { p as packageJson } from './package-CKj8zndE.mjs';
|
|
10
10
|
import { s as shareableSettingsSummary, c as collectRuntimeReadiness, S as SUPPORTED_NODE_LABEL, r as resolveClaudeCredentialReadiness, a as toolProbeLabel, b as daemonReadiness, d as daemonEndpointsMatch } from './doctorReadiness-C208SMN9.mjs';
|
|
11
11
|
import { c as credentialRelayProblem } from './authRelay-DhQhkBvX.mjs';
|
|
12
12
|
import { d as deriveLocalCliUpdateSummary } from './cliUpdate-Y34VGe9Y.mjs';
|
|
13
13
|
import { spawnSync } from 'node:child_process';
|
|
14
|
-
import { c as piInstallCommand } from './piRunnerArgs-
|
|
14
|
+
import { c as piInstallCommand } from './piRunnerArgs-68I5F_M1.mjs';
|
|
15
15
|
|
|
16
16
|
function shareSafeProcessLine(process2) {
|
|
17
17
|
return `PID ${process2.pid}: command arguments hidden for privacy`;
|
|
@@ -311,8 +311,8 @@ ${typeLabels[type] || type}:`));
|
|
|
311
311
|
}
|
|
312
312
|
console.log(chalk.gray(" An external claude command is only needed for native terminal/mirror use."));
|
|
313
313
|
try {
|
|
314
|
-
const { resolveAgentHomesForCli } = await import('./agentHome-
|
|
315
|
-
const { describeAgentHome } = await import('./index-
|
|
314
|
+
const { resolveAgentHomesForCli } = await import('./agentHome-D3hNrnoA.mjs');
|
|
315
|
+
const { describeAgentHome } = await import('./index-Cllzqoes.mjs');
|
|
316
316
|
const homes = await resolveAgentHomesForCli();
|
|
317
317
|
console.log(chalk.green(`\u2713 Claude config dir: ${describeAgentHome(homes.claudeConfigDir)}`));
|
|
318
318
|
console.log(chalk.green(`\u2713 Codex home: ${describeAgentHome(homes.codexHome)}`));
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
var promises = require('node:fs/promises');
|
|
4
4
|
var os = require('node:os');
|
|
5
5
|
var z = require('zod');
|
|
6
|
-
var logger = require('./logger-
|
|
7
|
-
var persistence = require('./persistence-
|
|
8
|
-
var controlClient = require('./controlClient-
|
|
9
|
-
var sessionOps = require('./sessionOps-
|
|
10
|
-
var remoteSessionClient = require('./remoteSessionClient-
|
|
6
|
+
var logger = require('./logger-DK1ytCz6.cjs');
|
|
7
|
+
var persistence = require('./persistence-BdpwWXKh.cjs');
|
|
8
|
+
var controlClient = require('./controlClient-D0kGwKYx.cjs');
|
|
9
|
+
var sessionOps = require('./sessionOps-Dx7wARjI.cjs');
|
|
10
|
+
var remoteSessionClient = require('./remoteSessionClient-CtV9mDko.cjs');
|
|
11
11
|
var ids = require('./ids-B6ZC0HGt.cjs');
|
|
12
12
|
var terminals = require('./terminals-B_bfC9c2.cjs');
|
|
13
|
-
var bootstrap = require('./bootstrap-
|
|
13
|
+
var bootstrap = require('./bootstrap-DsXp74wv.cjs');
|
|
14
14
|
var path = require('node:path');
|
|
15
15
|
|
|
16
16
|
const PERSONAL_MEMORY_SOFT_LIMIT_CHARS = 2e3;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { readFile, writeFile, appendFile, stat } from 'node:fs/promises';
|
|
2
2
|
import os from 'node:os';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { l as logger } from './logger-
|
|
5
|
-
import { c as readPersistedSessions } from './persistence-
|
|
6
|
-
import { e as spawnDaemonSession } from './controlClient-
|
|
7
|
-
import { a as listSessions, r as readSessionTranscript, s as sessionWebUrl, g as waitForSessionKey, e as sendUserMessage, b as stopSession, d as archiveSession } from './sessionOps-
|
|
8
|
-
import { r as readRemoteTranscript, s as sendRemoteMessage, d as deliverToSession, R as RemoteSessionOpsError } from './remoteSessionClient-
|
|
4
|
+
import { l as logger } from './logger-DpqihN1f.mjs';
|
|
5
|
+
import { c as readPersistedSessions } from './persistence-jOEuAFTS.mjs';
|
|
6
|
+
import { e as spawnDaemonSession } from './controlClient-BL4hb4l3.mjs';
|
|
7
|
+
import { a as listSessions, r as readSessionTranscript, s as sessionWebUrl, g as waitForSessionKey, e as sendUserMessage, b as stopSession, d as archiveSession } from './sessionOps-D0BPWPoh.mjs';
|
|
8
|
+
import { r as readRemoteTranscript, s as sendRemoteMessage, d as deliverToSession, R as RemoteSessionOpsError } from './remoteSessionClient-BlURPulk.mjs';
|
|
9
9
|
import { i as isValidSessionId, a as isValidTerminalId } from './ids-DU6sLx4C.mjs';
|
|
10
10
|
import { l as listVhTerminals, r as readVhTerminal, s as sendToVhTerminal } from './terminals-Dlg0x3nY.mjs';
|
|
11
|
-
import { bootstrapAssistantHome, assistantPersonalMemoryPath } from './bootstrap-
|
|
11
|
+
import { bootstrapAssistantHome, assistantPersonalMemoryPath } from './bootstrap-D3vlOROj.mjs';
|
|
12
12
|
import { join, isAbsolute, normalize } from 'node:path';
|
|
13
13
|
|
|
14
14
|
const PERSONAL_MEMORY_SOFT_LIMIT_CHARS = 2e3;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var controlClient = require('./controlClient-
|
|
5
|
-
var spawnHappyCLI = require('./spawnHappyCLI-
|
|
6
|
-
var persistence = require('./persistence-
|
|
7
|
-
var configuration = require('./configuration-
|
|
3
|
+
var logger = require('./logger-DK1ytCz6.cjs');
|
|
4
|
+
var controlClient = require('./controlClient-D0kGwKYx.cjs');
|
|
5
|
+
var spawnHappyCLI = require('./spawnHappyCLI-D47kX6jg.cjs');
|
|
6
|
+
var persistence = require('./persistence-BdpwWXKh.cjs');
|
|
7
|
+
var configuration = require('./configuration-B-CugKJ3.cjs');
|
|
8
8
|
var doctorReadiness = require('./doctorReadiness-Dl6yRQCy.cjs');
|
|
9
9
|
|
|
10
10
|
function extractNoSandboxFlag(args) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import { i as isDaemonRunningCurrentlyInstalledHappyVersion, a as checkIfDaemonRunningAndCleanupStaleState, s as stopDaemon } from './controlClient-
|
|
3
|
-
import { s as spawnHappyCLI } from './spawnHappyCLI-
|
|
4
|
-
import { d as readDaemonState } from './persistence-
|
|
5
|
-
import { c as configuration } from './configuration-
|
|
1
|
+
import { l as logger } from './logger-DpqihN1f.mjs';
|
|
2
|
+
import { i as isDaemonRunningCurrentlyInstalledHappyVersion, a as checkIfDaemonRunningAndCleanupStaleState, s as stopDaemon } from './controlClient-BL4hb4l3.mjs';
|
|
3
|
+
import { s as spawnHappyCLI } from './spawnHappyCLI-D1doCjkZ.mjs';
|
|
4
|
+
import { d as readDaemonState } from './persistence-jOEuAFTS.mjs';
|
|
5
|
+
import { c as configuration } from './configuration-YXw_Dcsb.mjs';
|
|
6
6
|
import { d as daemonEndpointsMatch } from './doctorReadiness-C208SMN9.mjs';
|
|
7
7
|
|
|
8
8
|
function extractNoSandboxFlag(args) {
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var node_child_process = require('node:child_process');
|
|
4
|
+
var node_util = require('node:util');
|
|
5
|
+
var promises = require('node:fs/promises');
|
|
6
|
+
var path = require('node:path');
|
|
7
|
+
var os = require('node:os');
|
|
8
|
+
|
|
9
|
+
const FS_MKDIR_CAPABILITY_VERSION = 1;
|
|
10
|
+
const within = (root, path$1) => {
|
|
11
|
+
const rel = path.relative(root, path$1);
|
|
12
|
+
return rel !== "" && !rel.startsWith("..") && !path.isAbsolute(rel);
|
|
13
|
+
};
|
|
14
|
+
function mkdirTarget(input, homeDir) {
|
|
15
|
+
if (typeof input !== "string" || !input.trim() || input.includes("\0")) throw new Error("invalid-path");
|
|
16
|
+
const raw = input.trim();
|
|
17
|
+
if (raw.split(/[\\/]+/).includes("..")) throw new Error("invalid-path");
|
|
18
|
+
const path$1 = raw === "~" ? homeDir : raw.startsWith("~/") ? path.join(homeDir, raw.slice(2)) : raw;
|
|
19
|
+
if (!path.isAbsolute(path$1)) throw new Error("invalid-path");
|
|
20
|
+
const normalized = path.join(path$1, ".").replace(new RegExp(`\\${path.sep}+$`), "") || path.sep;
|
|
21
|
+
if (!within(homeDir, normalized)) throw new Error("outside-home");
|
|
22
|
+
return normalized;
|
|
23
|
+
}
|
|
24
|
+
async function closestExisting(path$1) {
|
|
25
|
+
for (let current = path$1; ; current = path.dirname(current)) {
|
|
26
|
+
try {
|
|
27
|
+
await promises.stat(current);
|
|
28
|
+
return current;
|
|
29
|
+
} catch (error) {
|
|
30
|
+
if (error.code !== "ENOENT" || path.dirname(current) === current) throw error;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
async function fsMkdir(input, options = {}, homeDir = os.homedir(), gitInit = (directory) => node_util.promisify(node_child_process.execFile)("git", ["init", "-q", directory], { timeout: 2e4 })) {
|
|
35
|
+
const path = mkdirTarget(input, homeDir);
|
|
36
|
+
const realHome = await promises.realpath(homeDir).catch(() => homeDir);
|
|
37
|
+
try {
|
|
38
|
+
const anchor = await closestExisting(path);
|
|
39
|
+
if (anchor === path) throw new Error("exists");
|
|
40
|
+
const realAnchor = await promises.realpath(anchor);
|
|
41
|
+
if (realAnchor !== realHome && !within(realHome, realAnchor)) throw new Error("outside-home");
|
|
42
|
+
if (!(await promises.stat(anchor)).isDirectory()) throw new Error("not-a-directory");
|
|
43
|
+
await promises.mkdir(path, { recursive: true });
|
|
44
|
+
} catch (error) {
|
|
45
|
+
const code = error?.code;
|
|
46
|
+
if (code === "EACCES" || code === "EPERM" || code === "EROFS") throw new Error("permission-denied");
|
|
47
|
+
if (code === "EEXIST") throw new Error("exists");
|
|
48
|
+
if (code === "ENOTDIR") throw new Error("not-a-directory");
|
|
49
|
+
throw error instanceof Error ? error : new Error("fs-failed");
|
|
50
|
+
}
|
|
51
|
+
const git = options.gitInit === true ? await gitInit(path).then(() => true, () => false) : false;
|
|
52
|
+
return { path, created: true, git };
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
exports.FS_MKDIR_CAPABILITY_VERSION = FS_MKDIR_CAPABILITY_VERSION;
|
|
56
|
+
exports.fsMkdir = fsMkdir;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { execFile } from 'node:child_process';
|
|
2
|
+
import { promisify } from 'node:util';
|
|
3
|
+
import { realpath, stat, mkdir } from 'node:fs/promises';
|
|
4
|
+
import { join, isAbsolute, sep, dirname, relative } from 'node:path';
|
|
5
|
+
import { homedir } from 'node:os';
|
|
6
|
+
|
|
7
|
+
const FS_MKDIR_CAPABILITY_VERSION = 1;
|
|
8
|
+
const within = (root, path) => {
|
|
9
|
+
const rel = relative(root, path);
|
|
10
|
+
return rel !== "" && !rel.startsWith("..") && !isAbsolute(rel);
|
|
11
|
+
};
|
|
12
|
+
function mkdirTarget(input, homeDir) {
|
|
13
|
+
if (typeof input !== "string" || !input.trim() || input.includes("\0")) throw new Error("invalid-path");
|
|
14
|
+
const raw = input.trim();
|
|
15
|
+
if (raw.split(/[\\/]+/).includes("..")) throw new Error("invalid-path");
|
|
16
|
+
const path = raw === "~" ? homeDir : raw.startsWith("~/") ? join(homeDir, raw.slice(2)) : raw;
|
|
17
|
+
if (!isAbsolute(path)) throw new Error("invalid-path");
|
|
18
|
+
const normalized = join(path, ".").replace(new RegExp(`\\${sep}+$`), "") || sep;
|
|
19
|
+
if (!within(homeDir, normalized)) throw new Error("outside-home");
|
|
20
|
+
return normalized;
|
|
21
|
+
}
|
|
22
|
+
async function closestExisting(path) {
|
|
23
|
+
for (let current = path; ; current = dirname(current)) {
|
|
24
|
+
try {
|
|
25
|
+
await stat(current);
|
|
26
|
+
return current;
|
|
27
|
+
} catch (error) {
|
|
28
|
+
if (error.code !== "ENOENT" || dirname(current) === current) throw error;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
async function fsMkdir(input, options = {}, homeDir = homedir(), gitInit = (directory) => promisify(execFile)("git", ["init", "-q", directory], { timeout: 2e4 })) {
|
|
33
|
+
const path = mkdirTarget(input, homeDir);
|
|
34
|
+
const realHome = await realpath(homeDir).catch(() => homeDir);
|
|
35
|
+
try {
|
|
36
|
+
const anchor = await closestExisting(path);
|
|
37
|
+
if (anchor === path) throw new Error("exists");
|
|
38
|
+
const realAnchor = await realpath(anchor);
|
|
39
|
+
if (realAnchor !== realHome && !within(realHome, realAnchor)) throw new Error("outside-home");
|
|
40
|
+
if (!(await stat(anchor)).isDirectory()) throw new Error("not-a-directory");
|
|
41
|
+
await mkdir(path, { recursive: true });
|
|
42
|
+
} catch (error) {
|
|
43
|
+
const code = error?.code;
|
|
44
|
+
if (code === "EACCES" || code === "EPERM" || code === "EROFS") throw new Error("permission-denied");
|
|
45
|
+
if (code === "EEXIST") throw new Error("exists");
|
|
46
|
+
if (code === "ENOTDIR") throw new Error("not-a-directory");
|
|
47
|
+
throw error instanceof Error ? error : new Error("fs-failed");
|
|
48
|
+
}
|
|
49
|
+
const git = options.gitInit === true ? await gitInit(path).then(() => true, () => false) : false;
|
|
50
|
+
return { path, created: true, git };
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export { FS_MKDIR_CAPABILITY_VERSION as F, fsMkdir as f };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { existsSync } from 'node:fs';
|
|
2
|
-
import { s as spawnHappyCLI } from './spawnHappyCLI-
|
|
2
|
+
import { s as spawnHappyCLI } from './spawnHappyCLI-D1doCjkZ.mjs';
|
|
3
3
|
import axios, { AxiosError } from 'axios';
|
|
4
4
|
import tweetnacl from 'tweetnacl';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { d as decodeBase64, a as decryptWithDataKey, b as decryptLegacy } from './authRelay-DhQhkBvX.mjs';
|
|
7
|
-
import { c as configuration } from './configuration-
|
|
8
|
-
import { g as getLocalHappyAgentCredentialPath, r as readLocalHappyAgentCredentials } from './localHappyAgentAuth-
|
|
7
|
+
import { c as configuration } from './configuration-YXw_Dcsb.mjs';
|
|
8
|
+
import { g as getLocalHappyAgentCredentialPath, r as readLocalHappyAgentCredentials } from './localHappyAgentAuth-D3rQDRd9.mjs';
|
|
9
9
|
import 'cross-spawn';
|
|
10
10
|
import 'node:path';
|
|
11
11
|
import './projectPath-BTBIMB57.mjs';
|
|
12
12
|
import 'path';
|
|
13
13
|
import 'url';
|
|
14
|
-
import './logger-
|
|
14
|
+
import './logger-DpqihN1f.mjs';
|
|
15
15
|
import 'chalk';
|
|
16
16
|
import 'node:util';
|
|
17
17
|
import 'node:crypto';
|
|
18
18
|
import 'node:os';
|
|
19
|
-
import './package-
|
|
19
|
+
import './package-CKj8zndE.mjs';
|
|
20
20
|
import 'node:fs/promises';
|
|
21
21
|
|
|
22
22
|
const ResumableMetadataSchema = z.object({
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var node_fs = require('node:fs');
|
|
4
|
-
var spawnHappyCLI = require('./spawnHappyCLI-
|
|
4
|
+
var spawnHappyCLI = require('./spawnHappyCLI-D47kX6jg.cjs');
|
|
5
5
|
var axios = require('axios');
|
|
6
6
|
var tweetnacl = require('tweetnacl');
|
|
7
7
|
var z = require('zod');
|
|
8
8
|
var authRelay = require('./authRelay-Dy1qU9td.cjs');
|
|
9
|
-
var configuration = require('./configuration-
|
|
10
|
-
var localHappyAgentAuth = require('./localHappyAgentAuth-
|
|
9
|
+
var configuration = require('./configuration-B-CugKJ3.cjs');
|
|
10
|
+
var localHappyAgentAuth = require('./localHappyAgentAuth-SD6GM97y.cjs');
|
|
11
11
|
require('cross-spawn');
|
|
12
12
|
require('node:path');
|
|
13
13
|
require('./projectPath-C3ioB4Bu.cjs');
|
|
14
14
|
require('path');
|
|
15
15
|
require('url');
|
|
16
|
-
require('./logger-
|
|
16
|
+
require('./logger-DK1ytCz6.cjs');
|
|
17
17
|
require('chalk');
|
|
18
18
|
require('node:util');
|
|
19
19
|
require('node:crypto');
|
|
20
20
|
require('node:os');
|
|
21
|
-
require('./package-
|
|
21
|
+
require('./package-BfeqAzyJ.cjs');
|
|
22
22
|
require('node:fs/promises');
|
|
23
23
|
|
|
24
24
|
const ResumableMetadataSchema = z.z.object({
|
|
@@ -473,6 +473,21 @@ z$1.object({
|
|
|
473
473
|
create: z$1.boolean().optional(),
|
|
474
474
|
requestId: id$2.optional()
|
|
475
475
|
}).refine((v) => v.projectId !== void 0 !== (v.create === true), "exactly one of projectId / create");
|
|
476
|
+
const TEAM_WORKTREE = /\/teams\/worktrees\/([^/]+)(?:\/|$)/;
|
|
477
|
+
function teamWorktreeId(path) {
|
|
478
|
+
if (!path) return null;
|
|
479
|
+
return path.replace(/\\/g, "/").match(TEAM_WORKTREE)?.[1] ?? null;
|
|
480
|
+
}
|
|
481
|
+
function isInsideTeamWorktree(path) {
|
|
482
|
+
return teamWorktreeId(path) !== null;
|
|
483
|
+
}
|
|
484
|
+
function rebaseTeamWorktreePath(path, repository) {
|
|
485
|
+
const normalized = path.replace(/\\/g, "/");
|
|
486
|
+
const match = normalized.match(TEAM_WORKTREE);
|
|
487
|
+
if (!match || match.index === void 0) return path;
|
|
488
|
+
const rest = normalized.slice(match.index + match[0].length).replace(/\/+$/, "");
|
|
489
|
+
return rest ? `${repository.replace(/\/+$/, "")}/${rest}` : repository;
|
|
490
|
+
}
|
|
476
491
|
const id$1 = z$1.string().min(1).max(128);
|
|
477
492
|
const text = z$1.string().min(1).max(32e3);
|
|
478
493
|
const AUTOMATION_NAME_PATTERN = /^[a-z0-9][a-z0-9-_.]{0,63}$/;
|
|
@@ -1138,4 +1153,4 @@ const ServerMigrateNoticeSchema = z$1.object({
|
|
|
1138
1153
|
issuedAt: z$1.number().int().positive()
|
|
1139
1154
|
});
|
|
1140
1155
|
|
|
1141
|
-
export { AUTOMATION_NAME_PATTERN as A, BUILTIN_TODO_SKILL as B, CODEX_STEER_CAPABILITY as C,
|
|
1156
|
+
export { AUTOMATION_NAME_PATTERN as A, BUILTIN_TODO_SKILL as B, CODEX_STEER_CAPABILITY as C, AUTOMATION_PRECHECK_OUTPUT_MAX_CHARS as D, AUTOMATION_PRECHECK_DEFAULT_TIMEOUT_MS as E, AUTOMATION_CLAIM_MAX_RUNS as F, AUTOMATION_DAEMON_CAPABILITY_PRECHECK as G, AUTOMATION_DEFAULT_LEASE_MS as H, HARNESS_INSTALL_CAPABILITY_VERSION as I, PROMPT_QUEUE_CAPABILITY as P, ReleaseDrainNoticeSchema as R, STREAM_DELTA_MAX_CHARS as S, PROJECT_SESSION_CAPABILITY as a, AUTOMATION_PRECHECK_MAX_TIMEOUT_MS as b, AutomationPrecheckSchema as c, isInsideTeamWorktree as d, createEnvelope as e, createBuiltinTodoClient as f, BUILTIN_TODO_DISCOVERY as g, getAgentCodeDefaults as h, isAutomationRunTerminal as i, isClaudeOpus55Model as j, supportsClaudeOpus55 as k, AutomationNameSchema as l, AutomationConcurrencySchema as m, normalizeAgentKey as n, AutomationActionSchema as o, AutomationTriggerSchema as p, AgentVersionsSchema as q, rebaseTeamWorktreePath as r, streamKeyOf as s, PI_STEER_CAPABILITY as t, AGENT_VERSION_SOURCES as u, RelayAssignmentResponseSchema as v, RelayCandidatesResponseSchema as w, ServerMigrateNoticeSchema as x, isHarnessInstallId as y, AUTOMATION_SUMMARY_MAX_CHARS as z };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { q as query } from './query-
|
|
1
|
+
import { q as query } from './query-CPXnDURZ.mjs';
|
|
2
2
|
export { AbortError } from '@anthropic-ai/claude-agent-sdk';
|
|
3
3
|
import './smallFastModel-BLNgMrwR.mjs';
|
|
4
|
-
import './logger-
|
|
4
|
+
import './logger-DpqihN1f.mjs';
|
|
5
5
|
import 'chalk';
|
|
6
6
|
import 'node:util';
|
|
7
|
-
import './configuration-
|
|
7
|
+
import './configuration-YXw_Dcsb.mjs';
|
|
8
8
|
import 'node:fs';
|
|
9
9
|
import 'node:os';
|
|
10
10
|
import 'node:path';
|
|
11
|
-
import './package-
|
|
11
|
+
import './package-CKj8zndE.mjs';
|
|
12
12
|
import 'node:fs/promises';
|
|
13
13
|
import './processTreeSnapshot-CuLJDNC-.mjs';
|
|
14
14
|
import 'node:child_process';
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
var node_fs = require('node:fs');
|
|
4
4
|
var os = require('node:os');
|
|
5
|
-
var logger = require('./logger-
|
|
6
|
-
var persistence = require('./persistence-
|
|
5
|
+
var logger = require('./logger-DK1ytCz6.cjs');
|
|
6
|
+
var persistence = require('./persistence-BdpwWXKh.cjs');
|
|
7
7
|
var loginShellEnv = require('./loginShellEnv-BkuYtExZ.cjs');
|
|
8
8
|
require('chalk');
|
|
9
9
|
require('node:util');
|
|
10
|
-
require('./configuration-
|
|
10
|
+
require('./configuration-B-CugKJ3.cjs');
|
|
11
11
|
require('node:path');
|
|
12
|
-
require('./package-
|
|
12
|
+
require('./package-BfeqAzyJ.cjs');
|
|
13
13
|
require('node:fs/promises');
|
|
14
14
|
require('zod');
|
|
15
15
|
require('./authRelay-Dy1qU9td.cjs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _package = require('./package-
|
|
3
|
+
var _package = require('./package-BfeqAzyJ.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-B-yy6bW3.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-DUXh2rgW.cjs'); });
|
|
66
66
|
await main();
|
|
67
67
|
}
|
|
68
68
|
void run(process.argv.slice(2));
|
|
@@ -1,14 +1,14 @@
|
|
|
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-DpqihN1f.mjs';
|
|
4
|
+
import { r as readSettings } from './persistence-jOEuAFTS.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-YXw_Dcsb.mjs';
|
|
10
10
|
import 'node:path';
|
|
11
|
-
import './package-
|
|
11
|
+
import './package-CKj8zndE.mjs';
|
|
12
12
|
import 'node:fs/promises';
|
|
13
13
|
import 'zod';
|
|
14
14
|
import './authRelay-DhQhkBvX.mjs';
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var AcpBackend = require('./AcpBackend-
|
|
4
|
-
var logger = require('./logger-
|
|
5
|
-
var AcpSessionManager = require('./AcpSessionManager-
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var deterministicJson = require('./deterministicJson-
|
|
3
|
+
var AcpBackend = require('./AcpBackend-JA5eu8Y0.cjs');
|
|
4
|
+
var logger = require('./logger-DK1ytCz6.cjs');
|
|
5
|
+
var AcpSessionManager = require('./AcpSessionManager-DjYidq4C.cjs');
|
|
6
|
+
var index = require('./index-oh8XEozJ.cjs');
|
|
7
|
+
var deterministicJson = require('./deterministicJson-CfLkBRvU.cjs');
|
|
8
8
|
var agentAttachments = require('./agentAttachments-Dbw8iMCZ.cjs');
|
|
9
|
-
var configuration = require('./configuration-
|
|
10
|
-
var attachmentContent = require('./attachmentContent-
|
|
11
|
-
var piRuntime = require('./piRuntime-
|
|
9
|
+
var configuration = require('./configuration-B-CugKJ3.cjs');
|
|
10
|
+
var attachmentContent = require('./attachmentContent-I_dJIevE.cjs');
|
|
11
|
+
var piRuntime = require('./piRuntime-C3Dg5uni.cjs');
|
|
12
12
|
var node_crypto = require('node:crypto');
|
|
13
13
|
var path = require('node:path');
|
|
14
|
-
var api = require('./api-
|
|
15
|
-
var client = require('./client-
|
|
16
|
-
var registerKillSessionHandler = require('./registerKillSessionHandler-
|
|
17
|
-
var persistence = require('./persistence-
|
|
18
|
-
var machineMetadata = require('./machineMetadata-
|
|
19
|
-
var createSessionMetadata = require('./createSessionMetadata-
|
|
20
|
-
var setupOfflineReconnection = require('./setupOfflineReconnection-
|
|
21
|
-
var startupSessionCreate = require('./startupSessionCreate-
|
|
22
|
-
var controlClient = require('./controlClient-
|
|
14
|
+
var api = require('./api-CZWcG7uh.cjs');
|
|
15
|
+
var client = require('./client-DK8CzUry.cjs');
|
|
16
|
+
var registerKillSessionHandler = require('./registerKillSessionHandler-DiS_go8d.cjs');
|
|
17
|
+
var persistence = require('./persistence-BdpwWXKh.cjs');
|
|
18
|
+
var machineMetadata = require('./machineMetadata-IJc6_iyx.cjs');
|
|
19
|
+
var createSessionMetadata = require('./createSessionMetadata-L499emJn.cjs');
|
|
20
|
+
var setupOfflineReconnection = require('./setupOfflineReconnection-B1GsVA8P.cjs');
|
|
21
|
+
var startupSessionCreate = require('./startupSessionCreate-BXqoUX30.cjs');
|
|
22
|
+
var controlClient = require('./controlClient-D0kGwKYx.cjs');
|
|
23
23
|
var authRelay = require('./authRelay-Dy1qU9td.cjs');
|
|
24
|
-
var sessionLock = require('./sessionLock-
|
|
25
|
-
var acpSessionResume = require('./acpSessionResume-
|
|
26
|
-
var streamRelay = require('./streamRelay-
|
|
24
|
+
var sessionLock = require('./sessionLock-Dc0fadGG.cjs');
|
|
25
|
+
var acpSessionResume = require('./acpSessionResume-Dxo8222T.cjs');
|
|
26
|
+
var streamRelay = require('./streamRelay-B-J-4St1.cjs');
|
|
27
27
|
var projectPath = require('./projectPath-C3ioB4Bu.cjs');
|
|
28
|
-
var BasePermissionHandler = require('./BasePermissionHandler-
|
|
29
|
-
var titleGenerator = require('./titleGenerator-
|
|
28
|
+
var BasePermissionHandler = require('./BasePermissionHandler-D3PMKLBS.cjs');
|
|
29
|
+
var titleGenerator = require('./titleGenerator-YNutaU88.cjs');
|
|
30
30
|
var editPaths = require('./editPaths-Bqp4OFPw.cjs');
|
|
31
31
|
require('node:child_process');
|
|
32
32
|
require('@agentclientprotocol/sdk');
|
|
33
|
-
require('./time-
|
|
33
|
+
require('./time-DNLeIRgR.cjs');
|
|
34
34
|
require('./contentLogMetadata-ZSFk_NjQ.cjs');
|
|
35
35
|
require('./processTree-CMHWlVse.cjs');
|
|
36
|
-
require('./package-
|
|
36
|
+
require('./package-BfeqAzyJ.cjs');
|
|
37
37
|
require('chalk');
|
|
38
38
|
require('node:util');
|
|
39
39
|
require('node:fs');
|
|
40
40
|
require('@paralleldrive/cuid2');
|
|
41
41
|
require('zod');
|
|
42
42
|
require('./prompt-Bof2aQkI.cjs');
|
|
43
|
-
require('./reportProgressTool-
|
|
44
|
-
require('./client-
|
|
43
|
+
require('./reportProgressTool-DlD_xjzU.cjs');
|
|
44
|
+
require('./client-CDuW4MS9.cjs');
|
|
45
45
|
require('./precheckCompat-CWOi5c9L.cjs');
|
|
46
46
|
require('./agentGuidance-BtBx2xxE.cjs');
|
|
47
47
|
require('./trimIdent-4gvk9Wk6.cjs');
|
|
@@ -49,45 +49,46 @@ require('node:os');
|
|
|
49
49
|
require('./pi-DlsrPCTa.cjs');
|
|
50
50
|
require('./fileStore-7qhnbs6N.cjs');
|
|
51
51
|
require('node:fs/promises');
|
|
52
|
-
require('./client-
|
|
53
|
-
require('./context-
|
|
54
|
-
require('./sessionOps-
|
|
52
|
+
require('./client-xnWiHqdb.cjs');
|
|
53
|
+
require('./context-BtIVqHI5.cjs');
|
|
54
|
+
require('./sessionOps-Dx7wARjI.cjs');
|
|
55
55
|
require('axios');
|
|
56
56
|
require('socket.io-client');
|
|
57
57
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
58
58
|
require('./resources-BPyN59Iv.cjs');
|
|
59
|
-
require('./tools-
|
|
60
|
-
require('./peerTools-
|
|
59
|
+
require('./tools-ClYcb1YQ.cjs');
|
|
60
|
+
require('./peerTools-BVp1z0T_.cjs');
|
|
61
61
|
require('./ids-B6ZC0HGt.cjs');
|
|
62
|
-
require('./remoteSessionClient-
|
|
62
|
+
require('./remoteSessionClient-CtV9mDko.cjs');
|
|
63
63
|
require('@modelcontextprotocol/sdk/server/mcp.js');
|
|
64
64
|
require('node:http');
|
|
65
65
|
require('@modelcontextprotocol/sdk/server/streamableHttp.js');
|
|
66
66
|
require('./limits-C-a7gr04.cjs');
|
|
67
|
-
require('./downloadTarget-
|
|
67
|
+
require('./downloadTarget-D33BFvew.cjs');
|
|
68
68
|
require('./terminals-B_bfC9c2.cjs');
|
|
69
69
|
require('./terminalTitleSuggest-DhvRFX3H.cjs');
|
|
70
70
|
require('./tmuxSocket-D-Xt6Vn-.cjs');
|
|
71
|
-
require('./bootstrap-
|
|
71
|
+
require('./bootstrap-DsXp74wv.cjs');
|
|
72
72
|
require('./webPanels-FCgFKvVe.cjs');
|
|
73
|
-
require('./pushNotifications-
|
|
73
|
+
require('./pushNotifications-CyQVDThC.cjs');
|
|
74
74
|
require('./previewPath-B0rBdhy1.cjs');
|
|
75
75
|
require('crypto');
|
|
76
|
-
require('./lidState-
|
|
76
|
+
require('./lidState-DcPvwniz.cjs');
|
|
77
77
|
require('os');
|
|
78
78
|
require('child_process');
|
|
79
79
|
require('node:events');
|
|
80
|
-
require('./registerCommonHandlers-
|
|
80
|
+
require('./registerCommonHandlers-DbNoM39q.cjs');
|
|
81
81
|
require('util');
|
|
82
82
|
require('fs/promises');
|
|
83
83
|
require('path');
|
|
84
84
|
require('cross-spawn');
|
|
85
|
-
require('./sync-
|
|
85
|
+
require('./sync-BxMdnZzz.cjs');
|
|
86
86
|
require('tweetnacl');
|
|
87
87
|
require('./types-CRS-srZK.cjs');
|
|
88
88
|
require('./detectCLI-BuYR_Qxe.cjs');
|
|
89
89
|
require('fs');
|
|
90
|
-
require('./localHappyAgentAuth-
|
|
90
|
+
require('./localHappyAgentAuth-SD6GM97y.cjs');
|
|
91
|
+
require('./fsMkdir-0K3yENml.cjs');
|
|
91
92
|
require('./processTreeSnapshot-mDbnuojn.cjs');
|
|
92
93
|
require('url');
|
|
93
94
|
require('node:module');
|