very-happy-cli 0.2.190 → 0.2.192
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-dkRv9QHm.cjs → AcpBackend-BQO4ShOy.cjs} +3 -3
- package/dist/{AcpBackend-Dd1h-Rgt.mjs → AcpBackend-CGHTDJd9.mjs} +3 -3
- package/dist/{AcpSessionManager-QBZ-CIf7.mjs → AcpSessionManager-G0xD6Jbq.mjs} +2 -2
- package/dist/{AcpSessionManager-AqWAqahm.cjs → AcpSessionManager-LlUMmcpB.cjs} +2 -2
- package/dist/{BasePermissionHandler-CLp1ge-4.mjs → BasePermissionHandler-BmTIg376.mjs} +1 -1
- package/dist/{BasePermissionHandler-CpSugp7Z.cjs → BasePermissionHandler-N6Ip3tFt.cjs} +1 -1
- package/dist/account-CCVT-HO_.mjs +240 -0
- package/dist/account-DtaouikP.cjs +245 -0
- package/dist/accountService-Bddy0zwL.cjs +571 -0
- package/dist/accountService-Dd9uqde2.mjs +566 -0
- package/dist/{acpSessionResume-CcpDuIO5.mjs → acpSessionResume-BWEUxNtC.mjs} +1 -1
- package/dist/{acpSessionResume-CZao6QEd.cjs → acpSessionResume-BnHDk5eD.cjs} +1 -1
- package/dist/{agentHome-BJGRA2Kx.mjs → agentHome-B0VnjkZW.mjs} +4 -4
- package/dist/{agentHome-fIUqT-pn.cjs → agentHome-CqQ29YY7.cjs} +4 -4
- package/dist/{api-Dw8gFsQi.mjs → api-_LeBScjg.mjs} +10 -10
- package/dist/{api-CXL6jp-p.cjs → api-hMDsC6Wg.cjs} +10 -10
- package/dist/{apiMachine-BBNEtjf7.mjs → apiMachine-CgRldeJ6.mjs} +76 -21
- package/dist/{apiMachine-C6UqHoPF.cjs → apiMachine-CqW2m6Zr.cjs} +81 -26
- package/dist/{attachmentContent-NmVfKp-B.cjs → attachmentContent-BEeT2J5n.cjs} +2 -2
- package/dist/{attachmentContent-CC4yIrSm.mjs → attachmentContent-CyptLIfq.mjs} +2 -2
- package/dist/{auth-Bb_SL2os.cjs → auth-C9NvNHhL.cjs} +5 -5
- package/dist/{auth-DKa4MsAi.cjs → auth-CA1OClsW.cjs} +8 -8
- package/dist/{auth-Bh6SUoGi.mjs → auth-CFQikywl.mjs} +8 -8
- package/dist/{auth-Bj0psrD2.mjs → auth-DL8_J9vu.mjs} +5 -5
- package/dist/{auto-DK7pbCnV.mjs → auto-CKI05w1D.mjs} +17 -17
- package/dist/{auto-C9Qohh0P.cjs → auto-uQOxlxLp.cjs} +17 -17
- package/dist/{bootstrap-Ct9Nb4sv.mjs → bootstrap-DaZ0Np7X.mjs} +2 -2
- package/dist/{bootstrap-DBJB0y-H.cjs → bootstrap-DsZGc69k.cjs} +2 -2
- package/dist/{browser-BGxDRhHy.mjs → browser-BUIaSHK2.mjs} +1 -1
- package/dist/{browser-CLJWcodR.cjs → browser-Ft0ASDm7.cjs} +1 -1
- package/dist/claudeAccountEnv-BOBpJ3k8.cjs +137 -0
- package/dist/claudeAccountEnv-ON24i0qv.mjs +132 -0
- package/dist/{claudeLocal-Ux31hZyC.mjs → claudeLocal-B1ZVtryl.mjs} +5 -5
- package/dist/{claudeLocal-B6YDYlnY.cjs → claudeLocal-BMf9t4Fa.cjs} +5 -5
- package/dist/{claudeLocalLauncher-D06QijMw.mjs → claudeLocalLauncher-Bp8bqF4y.mjs} +10 -10
- package/dist/{claudeLocalLauncher-DFvmF8rC.cjs → claudeLocalLauncher-C8TeJcfF.cjs} +10 -10
- package/dist/{claudeSessionFork-D2GI7P59.mjs → claudeSessionFork-8AA47z8Y.mjs} +1 -1
- package/dist/{claudeSessionFork-DTLZ2rek.cjs → claudeSessionFork-YiktY55n.cjs} +1 -1
- package/dist/{client-CnGNYidN.mjs → client-Bm4oKvW7.mjs} +2 -2
- package/dist/{client-CtL0Vtww.mjs → client-BmPaBnDK.mjs} +4 -4
- package/dist/{client-CARZ_lNS.cjs → client-CFHZfh9x.cjs} +4 -4
- package/dist/{client-Bffkrs5p.cjs → client-Crh8_cNx.cjs} +2 -2
- package/dist/{client-DZkBUoh9.mjs → client-Cxlp_D4I.mjs} +2 -2
- package/dist/{client-CMKGrnmT.cjs → client-D8XROyZc.cjs} +2 -2
- package/dist/codex/happyMcpStdioBridge.cjs +16 -16
- package/dist/codex/happyMcpStdioBridge.mjs +16 -16
- package/dist/{codexAppServerClient-CLc5nhLT.mjs → codexAppServerClient-BWJbLCQn.mjs} +3 -3
- package/dist/{codexAppServerClient-CpT9F6EM.cjs → codexAppServerClient-q8GHQhyC.cjs} +3 -3
- package/dist/{codexCommand-Dliq3EBv.mjs → codexCommand-BfXfRQr4.mjs} +121 -61
- package/dist/{codexCommand-39kH99SJ.cjs → codexCommand-BgpGg-Zy.cjs} +121 -61
- package/dist/{codexTermination-ByW7tRjr.cjs → codexTermination-CVUF0X75.cjs} +1 -1
- package/dist/{codexTermination-ORIw0gpU.mjs → codexTermination-s9fd1gkA.mjs} +1 -1
- package/dist/{config-CeIzCsfj.cjs → config-BAjyTyYp.cjs} +3 -3
- package/dist/{config-CxSsGO1Z.mjs → config-BF8XgLyc.mjs} +3 -3
- package/dist/{configuration-Dt5lKW3P.cjs → configuration-CXEVKAyF.cjs} +1 -1
- package/dist/{configuration-Dechcvd-.mjs → configuration-IhRiLDVe.mjs} +1 -1
- package/dist/{connect-UwQHvCpR.mjs → connect-LZh1gr08.mjs} +13 -13
- package/dist/{connect-NPDzIVC6.cjs → connect-rCS56arw.cjs} +13 -13
- package/dist/{context-BdZssgF0.cjs → context-3_S_mWz9.cjs} +1 -1
- package/dist/{context-C9JbJoNe.mjs → context-DO6F5YwH.mjs} +1 -1
- package/dist/{controlClient-D7NGfmtq.mjs → controlClient-8ILulwjc.mjs} +14 -5
- package/dist/{controlClient-BRk65BRO.cjs → controlClient-j7p5p3_7.cjs} +15 -4
- package/dist/{createSessionMetadata-B_HZCDj_.cjs → createSessionMetadata-DwdD_uVo.cjs} +2 -2
- package/dist/{createSessionMetadata-DyhFKAby.mjs → createSessionMetadata-oyaTZm1b.mjs} +2 -2
- package/dist/daemonAccounts-BCjDgoNt.cjs +51 -0
- package/dist/daemonAccounts-BJgt6IJe.mjs +27 -0
- package/dist/defaultPermissionMode-BFShzF55.cjs +49 -0
- package/dist/defaultPermissionMode-Lt3PUCwY.mjs +43 -0
- package/dist/{deterministicJson-BEygolBQ.cjs → deterministicJson-DUN0v3St.cjs} +13 -13
- package/dist/{deterministicJson-DNmMVhFu.mjs → deterministicJson-Dfp-7wUZ.mjs} +13 -13
- package/dist/{doctor-BdBi7TFZ.mjs → doctor-B_UwMcVT.mjs} +7 -7
- package/dist/{doctor-B9lW1WlG.cjs → doctor-FgUYTbAT.cjs} +7 -7
- package/dist/{downloadTarget-DS0zT2AU.cjs → downloadTarget-BrrQEDxg.cjs} +6 -6
- package/dist/{downloadTarget-CGojGjaN.mjs → downloadTarget-C0d6jRx-.mjs} +6 -6
- package/dist/{ensureDaemonRunning-Bibp6vhe.cjs → ensureDaemonRunning-Cq4FYI5Q.cjs} +5 -5
- package/dist/{ensureDaemonRunning-BOdbryDM.mjs → ensureDaemonRunning-KUMFfIil.mjs} +5 -5
- package/dist/{handleResumeCommand-CgLzBYne.mjs → handleResumeCommand-BGhVo3QH.mjs} +5 -5
- package/dist/{handleResumeCommand-DXOuWr4p.cjs → handleResumeCommand-Cl9GIL5F.cjs} +5 -5
- package/dist/{index-Db0HIC-k.mjs → index-BjXjMhGY.mjs} +4 -4
- package/dist/{index-BOe6dKnL.cjs → index-BzAYnYct.cjs} +186 -0
- package/dist/{index-CwRW11hT.cjs → index-CQ_hLLCj.cjs} +3 -3
- package/dist/{index-DXSIi6j_.cjs → index-CRipkiqo.cjs} +4 -4
- package/dist/{index-Bs5FD8JF.cjs → index-CZaLMmPC.cjs} +4 -4
- package/dist/{index-CBHfkQNY.mjs → index-Ca1Tt96A.mjs} +45 -41
- package/dist/{index-f8oDidjV.cjs → index-D8ODb0_U.cjs} +44 -40
- package/dist/{index-DmqsRnV7.mjs → index-DYD3GM1m.mjs} +168 -1
- package/dist/{index-rNTX33in.mjs → index-JQDyJ3Li.mjs} +3 -3
- package/dist/{index-DUByZsKe.mjs → index-v5EmjT8l.mjs} +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-CXIL_FYx.cjs → install-ClUA9tbC.cjs} +3 -3
- package/dist/{install-DfPrEWGG.mjs → install-D6EHRtAN.mjs} +3 -3
- package/dist/lib.cjs +12 -12
- package/dist/lib.d.cts +292 -0
- package/dist/lib.d.mts +292 -0
- package/dist/lib.mjs +12 -12
- package/dist/{lidState-D0DF20oG.mjs → lidState-CZOXXdzv.mjs} +1 -1
- package/dist/{lidState-q_XFYg33.cjs → lidState-DqoN7zH4.cjs} +1 -1
- package/dist/{localHappyAgentAuth-CKNW-MXw.cjs → localHappyAgentAuth-BnGCpHRX.cjs} +1 -1
- package/dist/{localHappyAgentAuth-BBhM4Qk1.mjs → localHappyAgentAuth-YHxDZ4x4.mjs} +1 -1
- package/dist/{logger-BBRTTVsQ.cjs → logger-8su64lqR.cjs} +2 -2
- package/dist/{logger-CL7pin9b.mjs → logger-Fd_rNvgd.mjs} +2 -2
- package/dist/{machineMetadata-DP06qdBk.mjs → machineMetadata-1HIIC7Bc.mjs} +3 -3
- package/dist/{machineMetadata-DnFNlrVK.cjs → machineMetadata-DYXt3p6u.cjs} +3 -3
- package/dist/{main-DO7nRvhf.mjs → main-BI6GIzUL.mjs} +92 -48
- package/dist/{main-DLOXykOR.cjs → main-C_GrcYkn.cjs} +92 -48
- package/dist/{mcp-Du0MgR7e.cjs → mcp-BycIv9oQ.cjs} +18 -15
- package/dist/{mcp-C-4sPTae.mjs → mcp-XGoxywno.mjs} +18 -15
- package/dist/{mirrorProtocol-GuWMxLkh.cjs → mirrorProtocol-DVnB8EO8.cjs} +3 -3
- package/dist/{mirrorProtocol-dkq2ZENA.mjs → mirrorProtocol-DXT3rv7T.mjs} +3 -3
- package/dist/{package-C6uiXULx.mjs → package-6KkRAops.mjs} +7 -7
- package/dist/{package-DrY090nZ.cjs → package-iuLlSiSF.cjs} +7 -7
- package/dist/{panels-4DRBKHZP.cjs → panels-0C89q0Tu.cjs} +5 -5
- package/dist/{panels-DXYdJA6n.mjs → panels-B5Di2zb2.mjs} +5 -5
- package/dist/{peerTools-5ZM4spcZ.cjs → peerTools-CANTX_mG.cjs} +5 -5
- package/dist/{peerTools-dY1aJez4.mjs → peerTools-CKJ-IDM4.mjs} +5 -5
- package/dist/{persistence-Bl5S3TLB.cjs → persistence-B4ttN-fR.cjs} +2 -2
- package/dist/{persistence-Dogj7JIp.mjs → persistence-DWcHe035.mjs} +2 -2
- package/dist/{piRunnerArgs-C3jZ1M6b.cjs → piRunnerArgs-BOkfxyak.cjs} +1 -1
- package/dist/{piRunnerArgs-D8nN_Iit.mjs → piRunnerArgs-Bl5GpBoN.mjs} +2 -2
- package/dist/{piRuntime-BoeMsAXK.mjs → piRuntime-BhwxzdQf.mjs} +1 -1
- package/dist/{piRuntime-Bd9-eq6M.cjs → piRuntime-DzrIiZU8.cjs} +1 -1
- package/dist/{piTerminal-C3j1ca3x.cjs → piTerminal-BdS7ol7v.cjs} +20 -17
- package/dist/{piTerminal-GEPkIGD4.mjs → piTerminal-DnA2CbGr.mjs} +20 -17
- package/dist/{pushNotifications-CfspRcl-.cjs → pushNotifications-BqFoLye2.cjs} +12 -3
- package/dist/{pushNotifications-dUceOIni.mjs → pushNotifications-DkQ0yvFs.mjs} +12 -3
- package/dist/{query-DjsVgG3E.cjs → query-BQ4br3yn.cjs} +1 -1
- package/dist/{query-iYH-tm7L.mjs → query-BRJYSkb1.mjs} +1 -1
- package/dist/{rateLimitReporter-jeVi-fym.mjs → rateLimitReporter-BRbYkmuP.mjs} +3 -3
- package/dist/{rateLimitReporter-DUu2KydZ.cjs → rateLimitReporter-DK5SQuCc.cjs} +3 -3
- package/dist/{rateLimitWindows-Bx3ROBP5.cjs → rateLimitWindows-DBfiuYeg.cjs} +1 -1
- package/dist/{rateLimitWindows-CEn0DXaX.mjs → rateLimitWindows-Da5AR-4u.mjs} +1 -1
- package/dist/reconnectEnv-B31lY4nR.cjs +27 -0
- package/dist/reconnectEnv-DeSvHl3q.mjs +24 -0
- package/dist/{registerCommonHandlers-Beun-cQv.cjs → registerCommonHandlers-m6pxxf2J.cjs} +2 -2
- package/dist/{registerCommonHandlers-DWZ7mfdt.mjs → registerCommonHandlers-yQ7Ru-l0.mjs} +2 -2
- package/dist/{registerKillSessionHandler-CA1FFr_F.cjs → registerKillSessionHandler-BAOIa_Fs.cjs} +6 -6
- package/dist/{registerKillSessionHandler-CzgklwLG.mjs → registerKillSessionHandler-BDNpi7YO.mjs} +6 -6
- package/dist/{remoteSessionClient-BiC2KDew.mjs → remoteSessionClient-CZ7aaNgj.mjs} +5 -5
- package/dist/{remoteSessionClient-DGFI__5Z.cjs → remoteSessionClient-iJMXRN_D.cjs} +5 -5
- package/dist/{reportProgressTool-CgPy6n_7.mjs → reportProgressTool-DfQhPu0s.mjs} +3 -3
- package/dist/{reportProgressTool-CvPGov1F.cjs → reportProgressTool-DpFs7pSe.cjs} +3 -3
- package/dist/{run-B_gFgJVB.mjs → run-CwN28mcj.mjs} +215 -52
- package/dist/{run-rPqQwDi_.cjs → run-p-xp1_HY.cjs} +214 -51
- package/dist/{runClaude-DM8gm8iu.cjs → runClaude-D6U1Z575.cjs} +83 -48
- package/dist/{runClaude-CykqeXK7.mjs → runClaude-DRKtAGTm.mjs} +83 -48
- package/dist/{runClaudeDeps-D2phXGut.mjs → runClaudeDeps-BheVcIlD.mjs} +147 -69
- package/dist/{runClaudeDeps-DGAomimZ.cjs → runClaudeDeps-Dkofokgb.cjs} +142 -64
- package/dist/{runGemini-CXTeSOZp.cjs → runGemini-C8q3YCc0.cjs} +33 -33
- package/dist/{runGemini-CtWCVkj5.mjs → runGemini-owbvhFbi.mjs} +33 -33
- package/dist/{runOpenClaw-CH_9_RyZ.cjs → runOpenClaw-DGeN66-t.cjs} +18 -18
- package/dist/{runOpenClaw-BBdjlViJ.mjs → runOpenClaw-Dky3-mjO.mjs} +18 -18
- package/dist/{sandbox-Bb5IMun3.cjs → sandbox-D2CPyoCA.cjs} +4 -4
- package/dist/{sandbox-DGmXZ6Zz.mjs → sandbox-sq_wy9Gl.mjs} +4 -4
- package/dist/{selfCheck-CccwNTTK.cjs → selfCheck-BgLvQKSt.cjs} +39 -37
- package/dist/selfCheck-vkfrgQ7X.mjs +88 -0
- package/dist/{send-BpiXPkDo.cjs → send-Cd10YhXh.cjs} +8 -8
- package/dist/{send-B6rHg8GT.mjs → send-K9vg-8t-.mjs} +8 -8
- package/dist/{server-DHUzjApC.cjs → server-DRrV64r0.cjs} +6 -6
- package/dist/{server-BkdAyHhC.mjs → server-De4W1zuK.mjs} +4 -4
- package/dist/{sessionLock-BFBReiKq.cjs → sessionLock-BDtSzzKS.cjs} +10 -3
- package/dist/{sessionLock-Ca_bIo50.mjs → sessionLock-Dl6i7IgA.mjs} +10 -4
- package/dist/{sessionOps-DeWVqpe4.cjs → sessionOps-DvnEH4PL.cjs} +6 -4
- package/dist/{sessionOps-CA2kpm66.mjs → sessionOps-gU88-W9F.mjs} +6 -4
- package/dist/sessionProvider-CKcIo7KO.mjs +108 -0
- package/dist/sessionProvider-CbSZeZrl.cjs +113 -0
- package/dist/{sessionScanner-CGzsN8V6.cjs → sessionScanner-7RtcCeyD.cjs} +3 -3
- package/dist/{sessionScanner-DDDud5re.mjs → sessionScanner-DR32uSby.mjs} +3 -3
- package/dist/{sessions-CKJPWFgu.cjs → sessions-BvuMjgvJ.cjs} +10 -10
- package/dist/{sessions-B4d50sCI.mjs → sessions-DTt2Eguk.mjs} +10 -10
- package/dist/{setupOfflineReconnection-CyPNgyCe.mjs → setupOfflineReconnection-BGnvhRfb.mjs} +2 -2
- package/dist/{setupOfflineReconnection-DPXRo_zf.cjs → setupOfflineReconnection-DduOsw6p.cjs} +2 -2
- package/dist/{spawn-CrYN_OOT.mjs → spawn-CL3cUc7b.mjs} +26 -17
- package/dist/{spawn-CgSJzzWS.cjs → spawn-DMB6rRPA.cjs} +26 -17
- package/dist/{spawnAgents-C1-4m7aN.cjs → spawnAgents-CClb7buD.cjs} +8 -2
- package/dist/{spawnAgents-DWCDYCQ1.mjs → spawnAgents-CRMfOJhh.mjs} +8 -2
- package/dist/{spawnHappyCLI-DjbkiSH1.mjs → spawnHappyCLI-Cj_6IICe.mjs} +1 -1
- package/dist/{spawnHappyCLI-CTy3p6V_.cjs → spawnHappyCLI-DJdhX_Qx.cjs} +1 -1
- package/dist/{startFileWatcher-Dedtu1vq.mjs → startFileWatcher-DikVa8kg.mjs} +1 -1
- package/dist/{startFileWatcher-BQs0cJA-.cjs → startFileWatcher-LnOmVW6H.cjs} +1 -1
- package/dist/{startupSessionCreate-Dxy3X4DG.cjs → startupSessionCreate-B3ND-917.cjs} +3 -3
- package/dist/{startupSessionCreate-BKFU4v_h.mjs → startupSessionCreate-CDdaLaMq.mjs} +3 -3
- package/dist/store--XN-7MS0.mjs +269 -0
- package/dist/store-DV__wCvP.cjs +289 -0
- package/dist/{streamRelay-D9a4cBEa.cjs → streamRelay-DFdOaLOn.cjs} +1 -1
- package/dist/{streamRelay-P9e7Sohm.mjs → streamRelay-sABnxEXq.mjs} +1 -1
- package/dist/{sync-eZkXnsW_.mjs → sync-JoEZKRo8.mjs} +1 -1
- package/dist/{sync-DtWB7RzA.cjs → sync-_2lsZ1U2.cjs} +1 -1
- package/dist/{systemPrompt-2XOpZ1j6.cjs → systemPrompt-CJEvNCuW.cjs} +2 -2
- package/dist/{systemPrompt-Bn6g6aCH.mjs → systemPrompt-Zq4HyrZ5.mjs} +2 -2
- package/dist/{teams-ecFay4Gn.cjs → teams-BNZafnrT.cjs} +7 -7
- package/dist/{teams-nadkqrbW.mjs → teams-qz4LqKJ2.mjs} +7 -7
- package/dist/{template-BiTD-jI9.mjs → template-CJ8BWSsc.mjs} +1 -1
- package/dist/{template-17HATY_Y.cjs → template-LgvBbOna.cjs} +1 -1
- package/dist/{time-gPD_EmA-.cjs → time-CaUlWSNJ.cjs} +1 -1
- package/dist/{time-CN3TuSVG.mjs → time-bzmet4s5.mjs} +1 -1
- package/dist/{titleGenerator-lT5ldPuN.cjs → titleGenerator-BuIIu_JP.cjs} +17 -13
- package/dist/{titleGenerator-DgzTQdn2.mjs → titleGenerator-CbTtJ_1D.mjs} +16 -12
- package/dist/{todo-B1VeMk5A.cjs → todo-CQ_BTf9C.cjs} +6 -6
- package/dist/{todo-BIxd7l2Q.mjs → todo-DIrVF_Ak.mjs} +6 -6
- package/dist/{tools-DvqbLsCF.cjs → tools-BnmmFZji.cjs} +1 -1
- package/dist/{tools-zXJpxiG_.mjs → tools-cLOjBvPn.mjs} +1 -1
- package/dist/{uninstall-9htK6mb7.mjs → uninstall-C5OuW6dE.mjs} +3 -3
- package/dist/{uninstall-CvIOpwB5.cjs → uninstall-uEEGKB84.cjs} +3 -3
- package/dist/wrapperAccount-DXlD3bsO.mjs +106 -0
- package/dist/wrapperAccount-DzoGqS2b.cjs +110 -0
- package/package.json +7 -7
- package/dist/defaultPermissionMode-BnxJPVHT.mjs +0 -4
- package/dist/defaultPermissionMode-CxmTXUQR.cjs +0 -7
- package/dist/providerBinding-B-Qbx9W2.cjs +0 -140
- package/dist/providerBinding-CYubGg-Z.mjs +0 -132
- package/dist/selfCheck-BfK945YQ.mjs +0 -86
- package/dist/sessionProvider-VFbtUmMR.cjs +0 -114
- package/dist/sessionProvider-g18IiK74.mjs +0 -109
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var persistence = require('./persistence-
|
|
5
|
-
var configuration = require('./configuration-
|
|
3
|
+
var logger = require('./logger-8su64lqR.cjs');
|
|
4
|
+
var persistence = require('./persistence-B4ttN-fR.cjs');
|
|
5
|
+
var configuration = require('./configuration-CXEVKAyF.cjs');
|
|
6
6
|
|
|
7
7
|
function daemonControlHeaders(controlToken) {
|
|
8
8
|
return {
|
|
@@ -78,6 +78,10 @@ async function listDaemonSessions() {
|
|
|
78
78
|
const result = await daemonPost("/list");
|
|
79
79
|
return result.children || [];
|
|
80
80
|
}
|
|
81
|
+
async function listDaemonSessionsWithInfo() {
|
|
82
|
+
const result = await daemonPost("/list");
|
|
83
|
+
return { children: result.children || [], ...result.daemon ? { daemon: result.daemon } : {} };
|
|
84
|
+
}
|
|
81
85
|
async function stopDaemonSession(sessionId) {
|
|
82
86
|
const result = await daemonPost("/stop-session", { sessionId });
|
|
83
87
|
return result.success || false;
|
|
@@ -92,7 +96,8 @@ async function spawnDaemonSession(directory, sessionId, opts) {
|
|
|
92
96
|
environmentVariables: opts?.environmentVariables,
|
|
93
97
|
resumeClaudeSessionId: opts?.resumeClaudeSessionId,
|
|
94
98
|
resumeCodexThreadId: opts?.resumeCodexThreadId,
|
|
95
|
-
parentSessionId: opts?.parentSessionId
|
|
99
|
+
parentSessionId: opts?.parentSessionId,
|
|
100
|
+
...opts?.agentProfileId !== void 0 ? { agentProfileId: opts.agentProfileId } : {}
|
|
96
101
|
});
|
|
97
102
|
return result;
|
|
98
103
|
}
|
|
@@ -113,6 +118,10 @@ async function resumeDaemonSession(sessionId, opts) {
|
|
|
113
118
|
}
|
|
114
119
|
return { success: false, error: typeof result?.error === "string" ? result.error : "unexpected daemon response" };
|
|
115
120
|
}
|
|
121
|
+
async function getDaemonAgentProfiles() {
|
|
122
|
+
const result = await daemonPost("/agent-profiles");
|
|
123
|
+
return result && Array.isArray(result.accounts) ? result : null;
|
|
124
|
+
}
|
|
116
125
|
async function restartDaemonSession(sessionId) {
|
|
117
126
|
const result = await daemonPost("/restart-session", { sessionId });
|
|
118
127
|
if (result?.error) {
|
|
@@ -293,9 +302,11 @@ async function checkDaemonHibernation(body) {
|
|
|
293
302
|
exports.checkDaemonHibernation = checkDaemonHibernation;
|
|
294
303
|
exports.checkIfDaemonRunningAndCleanupStaleState = checkIfDaemonRunningAndCleanupStaleState;
|
|
295
304
|
exports.cleanupDaemonState = cleanupDaemonState;
|
|
305
|
+
exports.getDaemonAgentProfiles = getDaemonAgentProfiles;
|
|
296
306
|
exports.isDaemonRunningCurrentlyInstalledHappyVersion = isDaemonRunningCurrentlyInstalledHappyVersion;
|
|
297
307
|
exports.listDaemonPeers = listDaemonPeers;
|
|
298
308
|
exports.listDaemonSessions = listDaemonSessions;
|
|
309
|
+
exports.listDaemonSessionsWithInfo = listDaemonSessionsWithInfo;
|
|
299
310
|
exports.notifyDaemonBackgroundTasks = notifyDaemonBackgroundTasks;
|
|
300
311
|
exports.notifyDaemonClaudeAuthFailed = notifyDaemonClaudeAuthFailed;
|
|
301
312
|
exports.notifyDaemonSessionEvent = notifyDaemonSessionEvent;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var os = require('node:os');
|
|
4
4
|
var path = require('node:path');
|
|
5
|
-
var configuration = require('./configuration-
|
|
5
|
+
var configuration = require('./configuration-CXEVKAyF.cjs');
|
|
6
6
|
var projectPath = require('./projectPath-C3ioB4Bu.cjs');
|
|
7
|
-
var _package = require('./package-
|
|
7
|
+
var _package = require('./package-iuLlSiSF.cjs');
|
|
8
8
|
var node_fs = require('node:fs');
|
|
9
9
|
|
|
10
10
|
const realFs = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import os from 'node:os';
|
|
2
2
|
import { resolve, isAbsolute, dirname } from 'node:path';
|
|
3
|
-
import { c as configuration } from './configuration-
|
|
3
|
+
import { c as configuration } from './configuration-IhRiLDVe.mjs';
|
|
4
4
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
5
|
-
import { p as packageJson } from './package-
|
|
5
|
+
import { p as packageJson } from './package-6KkRAops.mjs';
|
|
6
6
|
import { existsSync, readFileSync, statSync } from 'node:fs';
|
|
7
7
|
|
|
8
8
|
const realFs = {
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var node_fs = require('node:fs');
|
|
4
|
+
var pty = require('node-pty');
|
|
5
|
+
var store = require('./store-DV__wCvP.cjs');
|
|
6
|
+
require('node:os');
|
|
7
|
+
require('node:path');
|
|
8
|
+
|
|
9
|
+
function _interopNamespaceDefault(e) {
|
|
10
|
+
var n = Object.create(null);
|
|
11
|
+
if (e) {
|
|
12
|
+
Object.keys(e).forEach(function (k) {
|
|
13
|
+
if (k !== 'default') {
|
|
14
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
15
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return e[k]; }
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
n.default = e;
|
|
23
|
+
return Object.freeze(n);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
var pty__namespace = /*#__PURE__*/_interopNamespaceDefault(pty);
|
|
27
|
+
|
|
28
|
+
function spawnSetupTokenPty(cwd, env) {
|
|
29
|
+
return pty__namespace.spawn("claude", ["setup-token"], { name: "xterm-256color", cols: 1e3, rows: 50, cwd, env });
|
|
30
|
+
}
|
|
31
|
+
const ACCOUNT_WATCH_INTERVAL_MS = 5e3;
|
|
32
|
+
const ACCOUNT_REPUBLISH_INTERVAL_MS = 60 * 6e4;
|
|
33
|
+
function watchAccountFiles(home, onChange) {
|
|
34
|
+
const paths = [store.accountsPath(home), store.providersPath(home)];
|
|
35
|
+
const listener = (curr, prev) => {
|
|
36
|
+
if (curr.mtimeMs !== prev.mtimeMs) onChange();
|
|
37
|
+
};
|
|
38
|
+
for (const path of paths) node_fs.watchFile(path, { interval: ACCOUNT_WATCH_INTERVAL_MS, persistent: false }, listener);
|
|
39
|
+
const timer = setInterval(onChange, ACCOUNT_REPUBLISH_INTERVAL_MS);
|
|
40
|
+
timer.unref?.();
|
|
41
|
+
return () => {
|
|
42
|
+
for (const path of paths) node_fs.unwatchFile(path, listener);
|
|
43
|
+
clearInterval(timer);
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
exports.SPAWN_ACCOUNT_ENV = store.SPAWN_ACCOUNT_ENV;
|
|
48
|
+
exports.ACCOUNT_REPUBLISH_INTERVAL_MS = ACCOUNT_REPUBLISH_INTERVAL_MS;
|
|
49
|
+
exports.ACCOUNT_WATCH_INTERVAL_MS = ACCOUNT_WATCH_INTERVAL_MS;
|
|
50
|
+
exports.spawnSetupTokenPty = spawnSetupTokenPty;
|
|
51
|
+
exports.watchAccountFiles = watchAccountFiles;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { watchFile, unwatchFile } from 'node:fs';
|
|
2
|
+
import * as pty from 'node-pty';
|
|
3
|
+
import { g as accountsPath, p as providersPath } from './store--XN-7MS0.mjs';
|
|
4
|
+
export { S as SPAWN_ACCOUNT_ENV } from './store--XN-7MS0.mjs';
|
|
5
|
+
import 'node:os';
|
|
6
|
+
import 'node:path';
|
|
7
|
+
|
|
8
|
+
function spawnSetupTokenPty(cwd, env) {
|
|
9
|
+
return pty.spawn("claude", ["setup-token"], { name: "xterm-256color", cols: 1e3, rows: 50, cwd, env });
|
|
10
|
+
}
|
|
11
|
+
const ACCOUNT_WATCH_INTERVAL_MS = 5e3;
|
|
12
|
+
const ACCOUNT_REPUBLISH_INTERVAL_MS = 60 * 6e4;
|
|
13
|
+
function watchAccountFiles(home, onChange) {
|
|
14
|
+
const paths = [accountsPath(home), providersPath(home)];
|
|
15
|
+
const listener = (curr, prev) => {
|
|
16
|
+
if (curr.mtimeMs !== prev.mtimeMs) onChange();
|
|
17
|
+
};
|
|
18
|
+
for (const path of paths) watchFile(path, { interval: ACCOUNT_WATCH_INTERVAL_MS, persistent: false }, listener);
|
|
19
|
+
const timer = setInterval(onChange, ACCOUNT_REPUBLISH_INTERVAL_MS);
|
|
20
|
+
timer.unref?.();
|
|
21
|
+
return () => {
|
|
22
|
+
for (const path of paths) unwatchFile(path, listener);
|
|
23
|
+
clearInterval(timer);
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { ACCOUNT_REPUBLISH_INTERVAL_MS, ACCOUNT_WATCH_INTERVAL_MS, spawnSetupTokenPty, watchAccountFiles };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BzAYnYct.cjs');
|
|
4
|
+
|
|
5
|
+
function currentRunIntents(metadata) {
|
|
6
|
+
return {
|
|
7
|
+
modelIntent: index.readModelIntent(metadata?.modelIntent) ?? null,
|
|
8
|
+
effortIntent: index.readEffortIntent(metadata?.effortIntent) ?? null
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
function withRunIntents(metadata, input, extra = {}) {
|
|
12
|
+
const before = currentRunIntents(metadata);
|
|
13
|
+
const after = index.nextRunIntents(before, input);
|
|
14
|
+
const changedIntent = after.modelIntent !== before.modelIntent || after.effortIntent !== before.effortIntent || metadata.modelIntent === void 0 || metadata.effortIntent === void 0;
|
|
15
|
+
const changedExtra = Object.entries(extra).some(([key, value]) => metadata[key] !== value);
|
|
16
|
+
if (!changedIntent && !changedExtra) return metadata;
|
|
17
|
+
return { ...metadata, ...extra, modelIntent: after.modelIntent, effortIntent: after.effortIntent };
|
|
18
|
+
}
|
|
19
|
+
function recordRunIntents(session, input, extra = {}) {
|
|
20
|
+
const current = session.getMetadata();
|
|
21
|
+
if (current && withRunIntents(current, input, extra) === current) return currentRunIntents(current);
|
|
22
|
+
session.updateMetadata((metadata) => withRunIntents(metadata, input, extra));
|
|
23
|
+
return index.nextRunIntents(currentRunIntents(current), input);
|
|
24
|
+
}
|
|
25
|
+
function withoutEffort(input) {
|
|
26
|
+
if (!input) return input;
|
|
27
|
+
const { effort: _effort, effortIntent: _effortIntent, ...rest } = input;
|
|
28
|
+
return rest;
|
|
29
|
+
}
|
|
30
|
+
function registerRunIntentRpc(rpc, session, apply) {
|
|
31
|
+
rpc.registerHandler(index.RUN_INTENT_RPC, async (params) => {
|
|
32
|
+
const parsed = index.RunIntentRequestSchema.safeParse(params ?? {});
|
|
33
|
+
if (!parsed.success) return { ok: false, error: "invalid-request" };
|
|
34
|
+
const applied = apply(parsed.data);
|
|
35
|
+
const accepted = applied.effortRefused ? withoutEffort(parsed.data) : parsed.data;
|
|
36
|
+
const intents = recordRunIntents(session, accepted, applied.facts ?? {});
|
|
37
|
+
if (applied.effortRefused) return { ok: false, error: "unsupported-effort" };
|
|
38
|
+
return { ok: true, ...intents };
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
const DEFAULT_CLAUDE_PERMISSION_MODE = "default";
|
|
43
|
+
const DEFAULT_CODEX_PERMISSION_MODE = "default";
|
|
44
|
+
|
|
45
|
+
exports.DEFAULT_CLAUDE_PERMISSION_MODE = DEFAULT_CLAUDE_PERMISSION_MODE;
|
|
46
|
+
exports.DEFAULT_CODEX_PERMISSION_MODE = DEFAULT_CODEX_PERMISSION_MODE;
|
|
47
|
+
exports.recordRunIntents = recordRunIntents;
|
|
48
|
+
exports.registerRunIntentRpc = registerRunIntentRpc;
|
|
49
|
+
exports.withoutEffort = withoutEffort;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { l as RUN_INTENT_RPC, m as RunIntentRequestSchema, n as nextRunIntents, o as readEffortIntent, p as readModelIntent } from './index-DYD3GM1m.mjs';
|
|
2
|
+
|
|
3
|
+
function currentRunIntents(metadata) {
|
|
4
|
+
return {
|
|
5
|
+
modelIntent: readModelIntent(metadata?.modelIntent) ?? null,
|
|
6
|
+
effortIntent: readEffortIntent(metadata?.effortIntent) ?? null
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
function withRunIntents(metadata, input, extra = {}) {
|
|
10
|
+
const before = currentRunIntents(metadata);
|
|
11
|
+
const after = nextRunIntents(before, input);
|
|
12
|
+
const changedIntent = after.modelIntent !== before.modelIntent || after.effortIntent !== before.effortIntent || metadata.modelIntent === void 0 || metadata.effortIntent === void 0;
|
|
13
|
+
const changedExtra = Object.entries(extra).some(([key, value]) => metadata[key] !== value);
|
|
14
|
+
if (!changedIntent && !changedExtra) return metadata;
|
|
15
|
+
return { ...metadata, ...extra, modelIntent: after.modelIntent, effortIntent: after.effortIntent };
|
|
16
|
+
}
|
|
17
|
+
function recordRunIntents(session, input, extra = {}) {
|
|
18
|
+
const current = session.getMetadata();
|
|
19
|
+
if (current && withRunIntents(current, input, extra) === current) return currentRunIntents(current);
|
|
20
|
+
session.updateMetadata((metadata) => withRunIntents(metadata, input, extra));
|
|
21
|
+
return nextRunIntents(currentRunIntents(current), input);
|
|
22
|
+
}
|
|
23
|
+
function withoutEffort(input) {
|
|
24
|
+
if (!input) return input;
|
|
25
|
+
const { effort: _effort, effortIntent: _effortIntent, ...rest } = input;
|
|
26
|
+
return rest;
|
|
27
|
+
}
|
|
28
|
+
function registerRunIntentRpc(rpc, session, apply) {
|
|
29
|
+
rpc.registerHandler(RUN_INTENT_RPC, async (params) => {
|
|
30
|
+
const parsed = RunIntentRequestSchema.safeParse(params ?? {});
|
|
31
|
+
if (!parsed.success) return { ok: false, error: "invalid-request" };
|
|
32
|
+
const applied = apply(parsed.data);
|
|
33
|
+
const accepted = applied.effortRefused ? withoutEffort(parsed.data) : parsed.data;
|
|
34
|
+
const intents = recordRunIntents(session, accepted, applied.facts ?? {});
|
|
35
|
+
if (applied.effortRefused) return { ok: false, error: "unsupported-effort" };
|
|
36
|
+
return { ok: true, ...intents };
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
const DEFAULT_CLAUDE_PERMISSION_MODE = "default";
|
|
41
|
+
const DEFAULT_CODEX_PERMISSION_MODE = "default";
|
|
42
|
+
|
|
43
|
+
export { DEFAULT_CLAUDE_PERMISSION_MODE as D, recordRunIntents as a, DEFAULT_CODEX_PERMISSION_MODE as b, registerRunIntentRpc as r, withoutEffort as w };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
3
|
+
var logger = require('./logger-8su64lqR.cjs');
|
|
4
4
|
var prompt = require('./prompt-Bof2aQkI.cjs');
|
|
5
|
-
var client = require('./client-
|
|
6
|
-
var reportProgressTool = require('./reportProgressTool-
|
|
5
|
+
var client = require('./client-D8XROyZc.cjs');
|
|
6
|
+
var reportProgressTool = require('./reportProgressTool-DpFs7pSe.cjs');
|
|
7
7
|
var node_fs = require('node:fs');
|
|
8
8
|
var os = require('node:os');
|
|
9
9
|
var path = require('node:path');
|
|
@@ -11,24 +11,24 @@ 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-CFHZfh9x.cjs');
|
|
15
|
+
var context = require('./context-3_S_mWz9.cjs');
|
|
16
|
+
var sessionOps = require('./sessionOps-DvnEH4PL.cjs');
|
|
17
17
|
var resources = require('./resources-BZ_Be0qM.cjs');
|
|
18
|
-
var tools = require('./tools-
|
|
19
|
-
var peerTools = require('./peerTools-
|
|
18
|
+
var tools = require('./tools-BnmmFZji.cjs');
|
|
19
|
+
var peerTools = require('./peerTools-CANTX_mG.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-BrrQEDxg.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-B4ttN-fR.cjs');
|
|
28
|
+
var pushNotifications = require('./pushNotifications-BqFoLye2.cjs');
|
|
29
29
|
var previewPath = require('./previewPath-B0rBdhy1.cjs');
|
|
30
|
-
var index = require('./index-
|
|
31
|
-
var configuration = require('./configuration-
|
|
30
|
+
var index = require('./index-BzAYnYct.cjs');
|
|
31
|
+
var configuration = require('./configuration-CXEVKAyF.cjs');
|
|
32
32
|
var require$$3 = require('crypto');
|
|
33
33
|
|
|
34
34
|
function createProjectInjector(deps) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
1
|
+
import { l as logger } from './logger-Fd_rNvgd.mjs';
|
|
2
2
|
import { p as prependToMessage, b as buildDigestLine, a as buildFirstTurnPrefix } from './prompt-QHuFx9j6.mjs';
|
|
3
|
-
import { P as ProjectsUnsupportedError } from './client-
|
|
4
|
-
import { c as createSelfReportState, A as AUTOMATION_TOOL_NAMES, P as PROJECT_TOOL_NAMES, r as registerAutomationTools, a as registerProjectTools, d as createProjectToolExecutor, b as registerReportProgressTool, n as normalizeAttention, e as normalizePhase, f as normalizeProgress, s as shouldAcceptSelfReport } from './reportProgressTool-
|
|
3
|
+
import { P as ProjectsUnsupportedError } from './client-Bm4oKvW7.mjs';
|
|
4
|
+
import { c as createSelfReportState, A as AUTOMATION_TOOL_NAMES, P as PROJECT_TOOL_NAMES, r as registerAutomationTools, a as registerProjectTools, d as createProjectToolExecutor, b as registerReportProgressTool, n as normalizeAttention, e as normalizePhase, f as normalizeProgress, s as shouldAcceptSelfReport } from './reportProgressTool-DfQhPu0s.mjs';
|
|
5
5
|
import { readFileSync, constants } from 'node:fs';
|
|
6
6
|
import { homedir } from 'node:os';
|
|
7
7
|
import { join, dirname } from 'node:path';
|
|
@@ -9,24 +9,24 @@ import { z } from 'zod';
|
|
|
9
9
|
import { p as piAgentDir } from './pi-CqyoZMjI.mjs';
|
|
10
10
|
import { unlink, mkdir, open, rename } from 'node:fs/promises';
|
|
11
11
|
import { randomUUID, createHash } from 'node:crypto';
|
|
12
|
-
import { T as TeamConnectionPreflightError, S as SessionInOtherTeamError, c as createTeamsClient, t as teamRequest } from './client-
|
|
13
|
-
import { t as teamScopePath, r as readTeamScope } from './context-
|
|
14
|
-
import { g as waitForSessionKey, e as sendUserMessage } from './sessionOps-
|
|
12
|
+
import { T as TeamConnectionPreflightError, S as SessionInOtherTeamError, c as createTeamsClient, t as teamRequest } from './client-BmPaBnDK.mjs';
|
|
13
|
+
import { t as teamScopePath, r as readTeamScope } from './context-DO6F5YwH.mjs';
|
|
14
|
+
import { g as waitForSessionKey, e as sendUserMessage } from './sessionOps-gU88-W9F.mjs';
|
|
15
15
|
import { T as TEAM_SKILL, a as TEAM_LEAD_PLAYBOOK } from './resources-CLP_MpK4.mjs';
|
|
16
|
-
import { T as TEAM_TOOL_NAMES, r as registerTeamsTools } from './tools-
|
|
17
|
-
import { S as SESSION_PEER_TOOL_NAMES, r as registerSessionPeerTools, a as createSessionPeerToolExecutor } from './peerTools-
|
|
16
|
+
import { T as TEAM_TOOL_NAMES, r as registerTeamsTools } from './tools-cLOjBvPn.mjs';
|
|
17
|
+
import { S as SESSION_PEER_TOOL_NAMES, r as registerSessionPeerTools, a as createSessionPeerToolExecutor } from './peerTools-CKJ-IDM4.mjs';
|
|
18
18
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
19
19
|
import { createServer } from 'node:http';
|
|
20
20
|
import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js';
|
|
21
21
|
import { C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION, c as CLIPBOARD_MAX_BYTES } from './limits-DIo7rEBR.mjs';
|
|
22
|
-
import { A as ASSISTANT_TOOL_NAMES, a as registerAssistantTools, c as checkDownloadTarget } from './downloadTarget-
|
|
22
|
+
import { A as ASSISTANT_TOOL_NAMES, a as registerAssistantTools, c as checkDownloadTarget } from './downloadTarget-C0d6jRx-.mjs';
|
|
23
23
|
import { P as PREVIEW_TOOL_NAME, R as REPORT_PROGRESS_TOOL_NAME, a as PREVIEW_TOOL_TITLE, b as PREVIEW_TOOL_DESCRIPTION, c as PREVIEW_DOWNLOAD_PARAM_DESCRIPTION } from './agentGuidance-BDYt2Qy2.mjs';
|
|
24
24
|
import { n as normalizeWebPanels, w as webPanelPath } from './webPanels-B2_C2-3g.mjs';
|
|
25
|
-
import { b as readCredentialsForConfiguredRelay, r as readSettings } from './persistence-
|
|
26
|
-
import { g as getSessionNotificationBody } from './pushNotifications-
|
|
25
|
+
import { b as readCredentialsForConfiguredRelay, r as readSettings } from './persistence-DWcHe035.mjs';
|
|
26
|
+
import { g as getSessionNotificationBody } from './pushNotifications-DkQ0yvFs.mjs';
|
|
27
27
|
import { c as checkPreviewPath } from './previewPath-CXN4Vag0.mjs';
|
|
28
|
-
import {
|
|
29
|
-
import { c as configuration } from './configuration-
|
|
28
|
+
import { Q as ATTENTION_DISABLED_ERROR, T as ATTENTION_LIMITS, U as ownerBoardPostToRest, V as isAttentionBoardLocalId, W as OwnerBoardPostInputSchema, X as OwnerBoardUpdateInputSchema, Y as OwnerBoardResolveInputSchema, Z as OwnerBoardListInputSchema, _ as ATTENTION_SESSION_CAPABILITY } from './index-DYD3GM1m.mjs';
|
|
29
|
+
import { c as configuration } from './configuration-IhRiLDVe.mjs';
|
|
30
30
|
import { createHash as createHash$1 } from 'crypto';
|
|
31
31
|
|
|
32
32
|
function createProjectInjector(deps) {
|
|
@@ -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 { b as checkIfDaemonRunningAndCleanupStaleState } from './controlClient-
|
|
2
|
+
import { c as configuration } from './configuration-IhRiLDVe.mjs';
|
|
3
|
+
import { r as readSettings, g as readCredentials, d as readDaemonState } from './persistence-DWcHe035.mjs';
|
|
4
|
+
import { b as checkIfDaemonRunningAndCleanupStaleState } from './controlClient-8ILulwjc.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-6KkRAops.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 {
|
|
14
|
+
import { p as piInstallCommand } from './piRunnerArgs-Bl5GpBoN.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-B0VnjkZW.mjs');
|
|
315
|
+
const { describeAgentHome } = await import('./index-v5EmjT8l.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)}`));
|
|
@@ -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-CXEVKAyF.cjs');
|
|
5
|
+
var persistence = require('./persistence-B4ttN-fR.cjs');
|
|
6
|
+
var controlClient = require('./controlClient-j7p5p3_7.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-iuLlSiSF.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-BOkfxyak.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-CqQ29YY7.cjs'); });
|
|
317
|
+
const { describeAgentHome } = await Promise.resolve().then(function () { return require('./index-CZaLMmPC.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)}`));
|
|
@@ -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-8su64lqR.cjs');
|
|
7
|
+
var persistence = require('./persistence-B4ttN-fR.cjs');
|
|
8
|
+
var controlClient = require('./controlClient-j7p5p3_7.cjs');
|
|
9
|
+
var sessionOps = require('./sessionOps-DvnEH4PL.cjs');
|
|
10
|
+
var remoteSessionClient = require('./remoteSessionClient-iJMXRN_D.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-DsZGc69k.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 {
|
|
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-Fd_rNvgd.mjs';
|
|
5
|
+
import { c as readPersistedSessions } from './persistence-DWcHe035.mjs';
|
|
6
|
+
import { f as spawnDaemonSession } from './controlClient-8ILulwjc.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-gU88-W9F.mjs';
|
|
8
|
+
import { r as readRemoteTranscript, s as sendRemoteMessage, d as deliverToSession, R as RemoteSessionOpsError } from './remoteSessionClient-CZ7aaNgj.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-DaZ0Np7X.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-8su64lqR.cjs');
|
|
4
|
+
var controlClient = require('./controlClient-j7p5p3_7.cjs');
|
|
5
|
+
var spawnHappyCLI = require('./spawnHappyCLI-DJdhX_Qx.cjs');
|
|
6
|
+
var persistence = require('./persistence-B4ttN-fR.cjs');
|
|
7
|
+
var configuration = require('./configuration-CXEVKAyF.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, b 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-Fd_rNvgd.mjs';
|
|
2
|
+
import { i as isDaemonRunningCurrentlyInstalledHappyVersion, b as checkIfDaemonRunningAndCleanupStaleState, s as stopDaemon } from './controlClient-8ILulwjc.mjs';
|
|
3
|
+
import { s as spawnHappyCLI } from './spawnHappyCLI-Cj_6IICe.mjs';
|
|
4
|
+
import { d as readDaemonState } from './persistence-DWcHe035.mjs';
|
|
5
|
+
import { c as configuration } from './configuration-IhRiLDVe.mjs';
|
|
6
6
|
import { d as daemonEndpointsMatch } from './doctorReadiness-C208SMN9.mjs';
|
|
7
7
|
|
|
8
8
|
function extractNoSandboxFlag(args) {
|
|
@@ -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-Cj_6IICe.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-IhRiLDVe.mjs';
|
|
8
|
+
import { g as getLocalHappyAgentCredentialPath, r as readLocalHappyAgentCredentials } from './localHappyAgentAuth-YHxDZ4x4.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-Fd_rNvgd.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-6KkRAops.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-DJdhX_Qx.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-CXEVKAyF.cjs');
|
|
10
|
+
var localHappyAgentAuth = require('./localHappyAgentAuth-BnGCpHRX.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-8su64lqR.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-iuLlSiSF.cjs');
|
|
22
22
|
require('node:fs/promises');
|
|
23
23
|
|
|
24
24
|
const ResumableMetadataSchema = z.z.object({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { q as query } from './query-
|
|
1
|
+
import { q as query } from './query-BRJYSkb1.mjs';
|
|
2
2
|
export { AbortError } from '@anthropic-ai/claude-agent-sdk';
|
|
3
3
|
import './promptCacheTtl-Ce0TVbrx.mjs';
|
|
4
4
|
import 'node:fs';
|
|
5
5
|
import 'node:os';
|
|
6
6
|
import 'node:path';
|
|
7
|
-
import './logger-
|
|
7
|
+
import './logger-Fd_rNvgd.mjs';
|
|
8
8
|
import 'chalk';
|
|
9
9
|
import 'node:util';
|
|
10
|
-
import './configuration-
|
|
11
|
-
import './package-
|
|
10
|
+
import './configuration-IhRiLDVe.mjs';
|
|
11
|
+
import './package-6KkRAops.mjs';
|
|
12
12
|
import 'node:fs/promises';
|
|
13
13
|
import './processTreeSnapshot-CuLJDNC-.mjs';
|
|
14
14
|
import 'node:child_process';
|