very-happy-cli 0.2.183 → 0.2.185
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-B-aMuEzO.cjs → AcpBackend-CCqL9mP1.cjs} +3 -3
- package/dist/{AcpBackend-9c-Jeaxd.mjs → AcpBackend-DkoqWhTa.mjs} +3 -3
- package/dist/{AcpSessionManager-CS0FOSQk.mjs → AcpSessionManager-BNPex8tJ.mjs} +2 -2
- package/dist/{AcpSessionManager-BxXe24AV.cjs → AcpSessionManager-DrtAJQUH.cjs} +2 -2
- package/dist/{BasePermissionHandler-BREjppjP.cjs → BasePermissionHandler-DJZITwmL.cjs} +1 -1
- package/dist/{BasePermissionHandler-BJ1ID_Br.mjs → BasePermissionHandler-Dd4oGPDg.mjs} +1 -1
- package/dist/{acpSessionResume-BKtI9Jq_.mjs → acpSessionResume-_2NtETqb.mjs} +1 -1
- package/dist/{acpSessionResume-mVoJ75vI.cjs → acpSessionResume-umHzSMbQ.cjs} +1 -1
- package/dist/{agentHome-rzjm56o4.cjs → agentHome-CmIMqMWy.cjs} +4 -4
- package/dist/{agentHome-B8Ctr_Nu.mjs → agentHome-Dv_hRIt7.mjs} +4 -4
- package/dist/{api-xZiqVynF.cjs → api-BSz8MYte.cjs} +67 -17
- package/dist/{api-C29WLYkW.mjs → api-BTS8mqLy.mjs} +67 -17
- package/dist/{apiMachine-Dz6Yfk0m.mjs → apiMachine-BcjccOmd.mjs} +14 -14
- package/dist/{apiMachine-B-FNBIYG.cjs → apiMachine-utCDabnO.cjs} +14 -14
- package/dist/{attachmentContent-DwY0uIg6.mjs → attachmentContent-DpOzgDTw.mjs} +2 -2
- package/dist/{attachmentContent-COV4LF8k.cjs → attachmentContent-hkdGP2NV.cjs} +2 -2
- package/dist/{auth-CYtk9_ga.cjs → auth-B8nCUEiK.cjs} +5 -5
- package/dist/{auth-xT70IYMx.mjs → auth-BKD2U9S2.mjs} +5 -5
- package/dist/{auth-DvbSDalm.mjs → auth-CpbTj74y.mjs} +8 -8
- package/dist/{auth-D_qsnVr3.cjs → auth-DzXdF08E.cjs} +8 -8
- package/dist/{auto-IiPqvIsN.mjs → auto-C-NK2JS8.mjs} +17 -17
- package/dist/{auto-DT_PfpCx.cjs → auto-E3ouHO37.cjs} +17 -17
- package/dist/{bootstrap-C50NkfPx.cjs → bootstrap-DIMkxIbR.cjs} +2 -2
- package/dist/{bootstrap-DS8Acdhm.mjs → bootstrap-DV4dqeCe.mjs} +2 -2
- package/dist/{browser-1j9gdZoD.mjs → browser-C0xt1NE-.mjs} +1 -1
- package/dist/{browser-CxKZLd2T.cjs → browser-Ch50ZchJ.cjs} +1 -1
- package/dist/{claudeLocal-CgNWpepB.cjs → claudeLocal-Curd8-dn.cjs} +5 -5
- package/dist/{claudeLocal-U1Fa9sJo.mjs → claudeLocal-D-U3fIdS.mjs} +5 -5
- package/dist/{claudeLocalLauncher-IyFm0D6a.cjs → claudeLocalLauncher-BEJ9Wad_.cjs} +10 -10
- package/dist/{claudeLocalLauncher-BjCsfZUE.mjs → claudeLocalLauncher-BTNUVzRK.mjs} +10 -10
- package/dist/{claudeSessionFork-BUO1XdSm.cjs → claudeSessionFork-DMdeScGk.cjs} +1 -1
- package/dist/{claudeSessionFork-6-1vKISn.mjs → claudeSessionFork-JPEHVbfR.mjs} +1 -1
- package/dist/{client-DcKJ0ul_.cjs → client-C54hMWx6.cjs} +2 -2
- package/dist/{client-BgHvK7lo.mjs → client-Ct1rnpJw.mjs} +2 -2
- package/dist/{client-DfDyE322.mjs → client-D1rJt15-.mjs} +18 -5
- package/dist/{client-5_zDNdOh.mjs → client-D2lOnvzs.mjs} +2 -2
- package/dist/{client--vZueZYF.cjs → client-dpo5EbS9.cjs} +18 -5
- package/dist/{client-DYGDBD0M.cjs → client-qgKef7S6.cjs} +2 -2
- package/dist/codex/happyMcpStdioBridge.cjs +16 -16
- package/dist/codex/happyMcpStdioBridge.mjs +16 -16
- package/dist/{codexAppServerClient-DvBg4hGc.mjs → codexAppServerClient-CM3O0zHW.mjs} +3 -3
- package/dist/{codexAppServerClient-C3nrTfwY.cjs → codexAppServerClient-DGeqZViU.cjs} +3 -3
- package/dist/{codexCommand-Bqp2--g_.mjs → codexCommand-CkdopWS7.mjs} +42 -42
- package/dist/{codexCommand-DSiU6MNt.cjs → codexCommand-D_8fbJEk.cjs} +42 -42
- package/dist/{codexTermination-DsliWl_s.mjs → codexTermination-FO52Ahcx.mjs} +1 -1
- package/dist/{codexTermination-D9TRTglF.cjs → codexTermination-MG2j2DDX.cjs} +1 -1
- package/dist/{config-DeaqRn3o.mjs → config-CppOKnWe.mjs} +3 -3
- package/dist/{config-CRhWiOwi.cjs → config-IDbpY1Am.cjs} +3 -3
- package/dist/{configuration-K3I6yOjZ.cjs → configuration-CwfmwaLU.cjs} +1 -1
- package/dist/{configuration-elzht62L.mjs → configuration-HPdj5Til.mjs} +1 -1
- package/dist/{connect-CT5cOlnC.mjs → connect-1YK7vPbW.mjs} +13 -13
- package/dist/{connect-B5UbfmO3.cjs → connect-BNlBIAM8.cjs} +13 -13
- package/dist/{context-DNKNF8Yh.cjs → context-D3vDWjiI.cjs} +1 -1
- package/dist/{context-CLj1_RYF.mjs → context-DetK5c-x.mjs} +1 -1
- package/dist/{controlClient-CuYQs2aZ.mjs → controlClient-DBylxaEh.mjs} +14 -4
- package/dist/{controlClient-ChqmxgbB.cjs → controlClient-DTMI1aTp.cjs} +14 -3
- package/dist/{createSessionMetadata-QfiRx4Tf.cjs → createSessionMetadata-D2Ll7PlQ.cjs} +2 -2
- package/dist/{createSessionMetadata-C1MbLQnh.mjs → createSessionMetadata-D8pfpX4V.mjs} +2 -2
- package/dist/{defaultPermissionMode-U9LuUeQh.mjs → defaultPermissionMode-Bkhj_DwT.mjs} +2 -2
- package/dist/{defaultPermissionMode-DQmdZZIg.cjs → defaultPermissionMode-DVXkcryy.cjs} +2 -2
- package/dist/{deterministicJson-BBRUcB8i.cjs → deterministicJson-DUCYjhHe.cjs} +13 -13
- package/dist/{deterministicJson-BixlyPWV.mjs → deterministicJson-cEWItQun.mjs} +13 -13
- package/dist/{doctor-Dban2oE2.mjs → doctor-DpWtxNeT.mjs} +7 -7
- package/dist/{doctor-CKgHUV4W.cjs → doctor-tLRILlmz.cjs} +7 -7
- package/dist/{downloadTarget-VUTd9lEO.mjs → downloadTarget-B5b5BHb2.mjs} +6 -6
- package/dist/{downloadTarget-CmC11Y7E.cjs → downloadTarget-Ci5wcYC2.cjs} +6 -6
- package/dist/{ensureDaemonRunning-L0fl0cLE.cjs → ensureDaemonRunning-Dsv8UPwx.cjs} +5 -5
- package/dist/{ensureDaemonRunning-khb8Nr1n.mjs → ensureDaemonRunning-GDGwNDGF.mjs} +5 -5
- package/dist/{handleResumeCommand-D9myBN2N.cjs → handleResumeCommand-CncudrQd.cjs} +5 -5
- package/dist/{handleResumeCommand-CLDGWpTJ.mjs → handleResumeCommand-DW7Ml1u5.mjs} +5 -5
- package/dist/{index-DgA79dVw.cjs → index-BEHzEYP0.cjs} +39 -39
- package/dist/{index-BdJs0465.cjs → index-Bh806Q-1.cjs} +3 -3
- package/dist/{index-IRI8s8kz.mjs → index-C1qLnBOk.mjs} +40 -40
- package/dist/{index-CtwqBeH6.mjs → index-DRWlaLbe.mjs} +3 -3
- package/dist/{index-BptfFoXM.mjs → index-DisBaRvM.mjs} +10 -1
- package/dist/{index-y4JNyz9H.cjs → index-Dzb_Bsfu.cjs} +4 -4
- package/dist/{index-Fq-jxjsB.cjs → index-Ub-5xbcU.cjs} +10 -1
- package/dist/{index-COSjJPIv.cjs → index-Vx4EQ6wI.cjs} +4 -4
- package/dist/{index-GkkbUZX-.mjs → index-Wf6mKJq9.mjs} +4 -4
- package/dist/{index-BMZx-699.mjs → index-bT1X9Brv.mjs} +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-cn98bTCs.cjs → install-CRs4tGBa.cjs} +3 -3
- package/dist/{install-JvCk2PJV.mjs → install-DmF9wfwV.mjs} +3 -3
- package/dist/lib.cjs +12 -12
- package/dist/lib.d.cts +11 -0
- package/dist/lib.d.mts +11 -0
- package/dist/lib.mjs +12 -12
- package/dist/{lidState-DXeYTsrm.mjs → lidState-CG9jFcML.mjs} +1 -1
- package/dist/{lidState-Bcs5kRHi.cjs → lidState-wwiu6M3p.cjs} +1 -1
- package/dist/{localHappyAgentAuth-C1A4ChCR.mjs → localHappyAgentAuth-CWha8BiX.mjs} +1 -1
- package/dist/{localHappyAgentAuth-CypTSe42.cjs → localHappyAgentAuth-UoytSUX0.cjs} +1 -1
- package/dist/{logger-RMPh5aqe.mjs → logger-BjXkscIr.mjs} +2 -2
- package/dist/{logger-Cgwz30rK.cjs → logger-CIUMiSLo.cjs} +2 -2
- package/dist/{machineMetadata-BSOGMNRi.cjs → machineMetadata-BPlyxzxb.cjs} +3 -3
- package/dist/{machineMetadata-BTUtPRth.mjs → machineMetadata-Ca4Dpy6s.mjs} +3 -3
- package/dist/{main-DNDL6t8z.mjs → main-CS1U9i4s.mjs} +53 -45
- package/dist/{main-4iiwYpCR.cjs → main-FD8mmcsK.cjs} +53 -45
- package/dist/{mcp-DXYDPOpJ.mjs → mcp-BS6rdR8p.mjs} +15 -15
- package/dist/{mcp-C7eEoGhz.cjs → mcp-C7Rm1dTM.cjs} +15 -15
- package/dist/{mirrorProtocol-DQRy5PaT.mjs → mirrorProtocol-C3Anki4S.mjs} +3 -3
- package/dist/{mirrorProtocol-c5g5MgNc.cjs → mirrorProtocol-CMJ2HOZF.cjs} +3 -3
- package/dist/{package-3aPiSpZj.cjs → package-CRDjc5vK.cjs} +7 -7
- package/dist/{package-CTrz6U3C.mjs → package-Do0Y9bGA.mjs} +7 -7
- package/dist/{panels-B5sZ84vA.mjs → panels-C-jss7nF.mjs} +5 -5
- package/dist/{panels-BmsmKHbw.cjs → panels-DwTHrZuo.cjs} +5 -5
- package/dist/{peerTools-DIPOX033.mjs → peerTools-CL7zBxlC.mjs} +5 -5
- package/dist/{peerTools-Dxe7iCi_.cjs → peerTools-SLRntgX6.cjs} +5 -5
- package/dist/{persistence-DZRMUZZS.cjs → persistence-CNWBdUH2.cjs} +2 -2
- package/dist/{persistence-zJo4r7YI.mjs → persistence-CmVwM5uq.mjs} +2 -2
- package/dist/{piRunnerArgs-BSPiS6tZ.cjs → piRunnerArgs-CXJx3PPx.cjs} +1 -1
- package/dist/{piRunnerArgs-IVdoHUB6.mjs → piRunnerArgs-K0K9Y0Yq.mjs} +1 -1
- package/dist/{piRuntime-BvHO3vgO.mjs → piRuntime-BSoHy-QJ.mjs} +1 -1
- package/dist/{piRuntime-BJzjlMcN.cjs → piRuntime-Bv41vG05.cjs} +1 -1
- package/dist/{piTerminal-D7vBOpkE.mjs → piTerminal-B8acGxsm.mjs} +17 -17
- package/dist/{piTerminal-Cz4pW55d.cjs → piTerminal-DSs-fnps.cjs} +17 -17
- package/dist/providerBinding-B-Qbx9W2.cjs +140 -0
- package/dist/providerBinding-CYubGg-Z.mjs +132 -0
- package/dist/{pushNotifications-CgIrYml3.cjs → pushNotifications-C651e0ZZ.cjs} +3 -3
- package/dist/{pushNotifications-C4R9-1hU.mjs → pushNotifications-DnpJJ7VR.mjs} +3 -3
- package/dist/{query-CZQG1PdU.cjs → query-DXFx2VZY.cjs} +1 -1
- package/dist/{query-DKPmDsHS.mjs → query-rxLftxvh.mjs} +1 -1
- package/dist/{rateLimitWindows-CPV0nLeq.cjs → rateLimitWindows-1WoBs8ln.cjs} +1 -1
- package/dist/{rateLimitWindows-HlHATOQ0.mjs → rateLimitWindows-D9mQRGHv.mjs} +1 -1
- package/dist/{registerCommonHandlers-a9lHojSV.mjs → registerCommonHandlers-DpBxSCBi.mjs} +2 -2
- package/dist/{registerCommonHandlers-D1pC83Op.cjs → registerCommonHandlers-K-BTp2iR.cjs} +2 -2
- package/dist/{registerKillSessionHandler-Bp-fuH-w.mjs → registerKillSessionHandler-BDxd20fg.mjs} +6 -6
- package/dist/{registerKillSessionHandler-nTi2vVJy.cjs → registerKillSessionHandler-DwPEAS2G.cjs} +6 -6
- package/dist/{remoteSessionClient-Cwrddscy.mjs → remoteSessionClient-DHWfDMHA.mjs} +5 -5
- package/dist/{remoteSessionClient-HQAKAvVd.cjs → remoteSessionClient-DnFblfFz.cjs} +5 -5
- package/dist/{reportProgressTool-Be-8ADI4.cjs → reportProgressTool-CYgnezAO.cjs} +3 -3
- package/dist/{reportProgressTool-CcZ32nrd.mjs → reportProgressTool-DJXfK6rp.mjs} +3 -3
- package/dist/{run-CxRJk9qq.cjs → run-BChqUxs6.cjs} +77 -40
- package/dist/{run-BBU8GyxE.mjs → run-BkixRBWm.mjs} +77 -40
- package/dist/{runClaude-Dd5zJaUZ.cjs → runClaude-Bdw9vTgv.cjs} +39 -24
- package/dist/{runClaude-DR6pEQwd.mjs → runClaude-FWTCLnVq.mjs} +39 -24
- package/dist/{runClaudeDeps-COgZaUZm.mjs → runClaudeDeps-C6mCzhtO.mjs} +47 -43
- package/dist/{runClaudeDeps-CTtZ_1mC.cjs → runClaudeDeps-CN_moqup.cjs} +42 -38
- package/dist/{runGemini-DVoVUfPp.mjs → runGemini-CI7ut_ng.mjs} +33 -33
- package/dist/{runGemini-DX72qB92.cjs → runGemini-CzPwEltY.cjs} +33 -33
- package/dist/{runOpenClaw-BHjzmzeC.mjs → runOpenClaw-8V2K_-lg.mjs} +18 -18
- package/dist/{runOpenClaw-BSg4hFVt.cjs → runOpenClaw-CLw64Nmq.cjs} +18 -18
- package/dist/{sandbox-CWR9EqoN.mjs → sandbox-BMkBdvHW.mjs} +4 -4
- package/dist/{sandbox-D1T_hmgZ.cjs → sandbox-DD2oQTt3.cjs} +4 -4
- package/dist/{selfCheck-CE7vlnNS.cjs → selfCheck-0jELpLE9.cjs} +37 -36
- package/dist/selfCheck-DgWZfw5E.mjs +86 -0
- package/dist/{send-BDF0Zvxo.mjs → send-BNjwFaVp.mjs} +8 -8
- package/dist/{send-BxZqRCcG.cjs → send-BoLglO1t.cjs} +8 -8
- package/dist/{server-B4JtnDLF.mjs → server-C5wOp8jw.mjs} +4 -4
- package/dist/{server-DB7_70Mi.cjs → server-Uw82k7zD.cjs} +6 -6
- package/dist/{sessionLock-BXvFN6uw.cjs → sessionLock-BTo7Cdbi.cjs} +3 -3
- package/dist/{sessionLock-CXOOX-VD.mjs → sessionLock-YMRCi-Ec.mjs} +3 -3
- package/dist/{sessionOps-BWlDlFYP.cjs → sessionOps-BDHEzyAY.cjs} +4 -4
- package/dist/{sessionOps-ByVggB_q.mjs → sessionOps-BO6AesNJ.mjs} +4 -4
- package/dist/sessionProvider-CB9lGJdF.mjs +109 -0
- package/dist/sessionProvider-DLdJJV6A.cjs +114 -0
- package/dist/{sessionScanner-DkxPB5VA.cjs → sessionScanner-3TevonZd.cjs} +3 -3
- package/dist/{sessionScanner-r66RtF95.mjs → sessionScanner-BkukogZy.mjs} +3 -3
- package/dist/{sessions-BiJTxFy9.cjs → sessions-BkBcZSj7.cjs} +10 -10
- package/dist/{sessions-C1lLK_a9.mjs → sessions-Bx-6fXTL.mjs} +10 -10
- package/dist/{setupOfflineReconnection-CecTiFZ-.cjs → setupOfflineReconnection-DMfoVL-0.cjs} +2 -2
- package/dist/{setupOfflineReconnection-Bl3DuakT.mjs → setupOfflineReconnection-DYzysFFJ.mjs} +2 -2
- package/dist/{spawn-D-8MlEM6.mjs → spawn-CHC32rLr.mjs} +14 -14
- package/dist/{spawn-D79mVa3h.cjs → spawn-DvyBhowH.cjs} +14 -14
- package/dist/{spawnAgents-Sfnf-4pN.cjs → spawnAgents-D15n6tAj.cjs} +1 -1
- package/dist/{spawnAgents-DJHjq01u.mjs → spawnAgents-jXo9jIYo.mjs} +1 -1
- package/dist/{spawnHappyCLI-CQwQs9G5.cjs → spawnHappyCLI-WYJCvAWD.cjs} +1 -1
- package/dist/{spawnHappyCLI-v_bJwZ4Z.mjs → spawnHappyCLI-e9MaJWB0.mjs} +1 -1
- package/dist/{specialCommands-yMnFvS-W.mjs → specialCommands-D00VrQ09.mjs} +3 -3
- package/dist/{specialCommands-CWMVfT5s.cjs → specialCommands-DqrQnKHC.cjs} +3 -3
- package/dist/{startFileWatcher-BCDkT_tr.mjs → startFileWatcher-CvUUesns.mjs} +1 -1
- package/dist/{startFileWatcher-GW4_E7dV.cjs → startFileWatcher-VFZ-Bpwa.cjs} +1 -1
- package/dist/{startupSessionCreate-tBRa_ze8.cjs → startupSessionCreate-B25xTUJ4.cjs} +1 -1
- package/dist/{startupSessionCreate-BcAGYo51.mjs → startupSessionCreate-B6HNLg0g.mjs} +1 -1
- package/dist/{streamRelay-BZ8drtof.cjs → streamRelay-CtTpf-Li.cjs} +1 -1
- package/dist/{streamRelay-BEDiy6_b.mjs → streamRelay-GzHxvMem.mjs} +1 -1
- package/dist/{sync-BMDkyo75.cjs → sync-DliZ1zZh.cjs} +1 -1
- package/dist/{sync--QUIOuf8.mjs → sync-HPnxI4fz.mjs} +1 -1
- package/dist/{systemPrompt-DoHSXrH0.cjs → systemPrompt-CYvRvanR.cjs} +2 -2
- package/dist/{systemPrompt-O0Kd6vbA.mjs → systemPrompt-D9JJpzl_.mjs} +2 -2
- package/dist/{teams-CTF1gT48.mjs → teams-C0PJlIMz.mjs} +7 -7
- package/dist/{teams-BkZop-sP.cjs → teams-D7Ad6YSf.cjs} +7 -7
- package/dist/{template-CeC1dYe-.cjs → template-BLJxflCH.cjs} +1 -1
- package/dist/{template-D1fm22em.mjs → template-YlpbYGeQ.mjs} +1 -1
- package/dist/{time-CdCotzKU.cjs → time-BCGGrWp4.cjs} +1 -1
- package/dist/{time-B2KKdAym.mjs → time-BbJ-NWcl.mjs} +1 -1
- package/dist/{titleGenerator-BFDczskR.mjs → titleGenerator-03Y2uoZW.mjs} +1 -1
- package/dist/{titleGenerator-DZH1XqAf.cjs → titleGenerator-IrI84kqh.cjs} +2 -2
- package/dist/{todo-C2gyOUom.mjs → todo-DOh8KaxD.mjs} +6 -6
- package/dist/{todo-DnTFTHmV.cjs → todo-DdV9_uEu.cjs} +6 -6
- package/dist/{tools-C8rpwyIl.cjs → tools-DeoxWyQ0.cjs} +1 -1
- package/dist/{tools-DUjkqSQL.mjs → tools-WXF7ApAe.mjs} +1 -1
- package/dist/{uninstall-B5Ew50mZ.mjs → uninstall-BVYlC0jw.mjs} +3 -3
- package/dist/{uninstall-CKMPWTMv.cjs → uninstall-oGvAKOlN.cjs} +3 -3
- package/package.json +7 -7
- package/dist/selfCheck-ZGgBtxFQ.mjs +0 -85
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import os from 'node:os';
|
|
2
|
-
import { c as claimSessionOrExit, a as applyServerSnapshot, b as applyReconnectReplay, w as withoutServerSnapshot, m as mergeReconnectMetadata, e as exitCursorStamp } from './sessionLock-
|
|
3
|
-
import { r as readSettings, H as HIBERNATION_CAPABILITY, a as resolveCheckMs, l as latchKeepAwake, e as evaluateWrapperIdle } from './persistence-
|
|
4
|
-
import { D as DEFAULT_CLAUDE_PERMISSION_MODE, H as HibernationProbe, c as commitHibernation } from './defaultPermissionMode-
|
|
2
|
+
import { c as claimSessionOrExit, a as applyServerSnapshot, b as applyReconnectReplay, w as withoutServerSnapshot, m as mergeReconnectMetadata, e as exitCursorStamp } from './sessionLock-YMRCi-Ec.mjs';
|
|
3
|
+
import { r as readSettings, H as HIBERNATION_CAPABILITY, a as resolveCheckMs, l as latchKeepAwake, e as evaluateWrapperIdle } from './persistence-CmVwM5uq.mjs';
|
|
4
|
+
import { D as DEFAULT_CLAUDE_PERMISSION_MODE, H as HibernationProbe, c as commitHibernation } from './defaultPermissionMode-Bkhj_DwT.mjs';
|
|
5
5
|
import { randomUUID } from 'node:crypto';
|
|
6
|
-
import { c as connectionState, A as ApiClient, s as startOfflineReconnection } from './api-
|
|
7
|
-
import { l as logger } from './logger-
|
|
8
|
-
import { s as spawnOriginTags, a as sessionWorktreeMetadata } from './createSessionMetadata-
|
|
9
|
-
import { p as packageJson } from './package-
|
|
10
|
-
import { P as PROMPT_QUEUE_CAPABILITY, a as PROJECT_SESSION_CAPABILITY } from './index-
|
|
6
|
+
import { c as connectionState, A as ApiClient, s as startOfflineReconnection } from './api-BTS8mqLy.mjs';
|
|
7
|
+
import { l as logger } from './logger-BjXkscIr.mjs';
|
|
8
|
+
import { s as spawnOriginTags, a as sessionWorktreeMetadata } from './createSessionMetadata-D8pfpX4V.mjs';
|
|
9
|
+
import { p as packageJson } from './package-Do0Y9bGA.mjs';
|
|
10
|
+
import { P as PROMPT_QUEUE_CAPABILITY, a as PROJECT_SESSION_CAPABILITY } from './index-DisBaRvM.mjs';
|
|
11
11
|
import { F as FORK_BACKFILL_CAPABILITY, p as publishForkBackfillWhenCommitted } from './forkBackfill-DYIjlN1Z.mjs';
|
|
12
|
-
import { c as configuration } from './configuration-
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
12
|
+
import { c as configuration } from './configuration-HPdj5Til.mjs';
|
|
13
|
+
import { l as loadSessionProvider, a as applyProviderEnv } from './providerBinding-CYubGg-Z.mjs';
|
|
14
|
+
import { n as notifyDaemonSessionStarted, c as checkDaemonHibernation } from './controlClient-DBylxaEh.mjs';
|
|
15
|
+
import { g as getInitialMachineMetadata } from './machineMetadata-Ca4Dpy6s.mjs';
|
|
15
16
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
16
17
|
import { resolve, join } from 'node:path';
|
|
17
|
-
import { c as createSessionForStartup } from './startupSessionCreate-
|
|
18
|
+
import { c as createSessionForStartup } from './startupSessionCreate-B6HNLg0g.mjs';
|
|
18
19
|
import { a as applySandboxPermissionPolicy, r as resolveInitialClaudePermissionMode, m as mapToClaudeMode, b as reconcilePublishedPermissionMode } from './permissionMode-CH4FoZfU.mjs';
|
|
19
20
|
import { d as decodeBase64, e as encodeBase64 } from './authRelay-DhQhkBvX.mjs';
|
|
20
21
|
import { readFile } from 'node:fs/promises';
|
|
21
|
-
import { C as CLAUDE_ATTACHMENT_KINDS, s as stripAttachmentManifest } from './attachmentContent-
|
|
22
|
+
import { C as CLAUDE_ATTACHMENT_KINDS, s as stripAttachmentManifest } from './attachmentContent-DpOzgDTw.mjs';
|
|
22
23
|
import { T as TranscriptPathHints } from './transcriptCursor-B7T_gkQ0.mjs';
|
|
23
24
|
import { p as planClaudeStartup } from './startupPlan-DFMyNgAs.mjs';
|
|
24
25
|
import 'node:fs';
|
|
@@ -26,36 +27,36 @@ import './processTreeSnapshot-CuLJDNC-.mjs';
|
|
|
26
27
|
import 'node:child_process';
|
|
27
28
|
import 'zod';
|
|
28
29
|
import 'axios';
|
|
29
|
-
import './lidState-
|
|
30
|
+
import './lidState-CG9jFcML.mjs';
|
|
30
31
|
import 'os';
|
|
31
32
|
import 'child_process';
|
|
32
33
|
import 'node:events';
|
|
33
34
|
import 'socket.io-client';
|
|
34
|
-
import './pushNotifications-
|
|
35
|
+
import './pushNotifications-DnpJJ7VR.mjs';
|
|
35
36
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
36
37
|
import './limits-DIo7rEBR.mjs';
|
|
37
|
-
import './time-
|
|
38
|
-
import './registerCommonHandlers-
|
|
38
|
+
import './time-BbJ-NWcl.mjs';
|
|
39
|
+
import './registerCommonHandlers-DpBxSCBi.mjs';
|
|
39
40
|
import 'util';
|
|
40
41
|
import 'fs/promises';
|
|
41
42
|
import 'crypto';
|
|
42
43
|
import 'path';
|
|
43
44
|
import 'cross-spawn';
|
|
44
45
|
import '@paralleldrive/cuid2';
|
|
45
|
-
import './sync
|
|
46
|
+
import './sync-HPnxI4fz.mjs';
|
|
46
47
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
47
48
|
import 'chalk';
|
|
48
49
|
import 'node:util';
|
|
49
50
|
import './detectCLI-CSGMlV51.mjs';
|
|
50
51
|
import 'fs';
|
|
51
|
-
import './localHappyAgentAuth-
|
|
52
|
+
import './localHappyAgentAuth-CWha8BiX.mjs';
|
|
52
53
|
import 'tweetnacl';
|
|
53
54
|
import './fsMkdir-DumgLTzR.mjs';
|
|
54
55
|
import 'url';
|
|
55
56
|
|
|
56
57
|
const DEFAULT_CLAUDE_MODEL = void 0;
|
|
57
58
|
const DEFAULT_CLAUDE_EFFORT = void 0;
|
|
58
|
-
const importRunClaudeDeps = () => import('./runClaudeDeps-
|
|
59
|
+
const importRunClaudeDeps = () => import('./runClaudeDeps-C6mCzhtO.mjs');
|
|
59
60
|
async function runClaude(credentials, options = {}) {
|
|
60
61
|
logger.debug(`[CLAUDE] ===== CLAUDE MODE STARTING =====`);
|
|
61
62
|
logger.debug(`[CLAUDE] This is the Claude agent, NOT Gemini`);
|
|
@@ -69,7 +70,7 @@ async function runClaude(credentials, options = {}) {
|
|
|
69
70
|
const isAssistantVariant = process.env.HAPPY_SESSION_VARIANT === "assistant";
|
|
70
71
|
if (isAssistantVariant) {
|
|
71
72
|
try {
|
|
72
|
-
const { bootstrapAssistantHome } = await import('./bootstrap-
|
|
73
|
+
const { bootstrapAssistantHome } = await import('./bootstrap-DV4dqeCe.mjs');
|
|
73
74
|
await bootstrapAssistantHome();
|
|
74
75
|
} catch (error) {
|
|
75
76
|
logger.debug("[START] Assistant home bootstrap failed:", error);
|
|
@@ -189,7 +190,7 @@ async function runClaude(credentials, options = {}) {
|
|
|
189
190
|
}
|
|
190
191
|
if (!response) {
|
|
191
192
|
let offlineSessionId = null;
|
|
192
|
-
const { claudeLocal } = await import('./claudeLocal-
|
|
193
|
+
const { claudeLocal } = await import('./claudeLocal-D-U3fIdS.mjs');
|
|
193
194
|
const { createSessionScanner: createSessionScanner2 } = await loadDeps();
|
|
194
195
|
const reconnection = startOfflineReconnection({
|
|
195
196
|
serverUrl: configuration.serverUrl,
|
|
@@ -425,6 +426,20 @@ async function runClaude(credentials, options = {}) {
|
|
|
425
426
|
}
|
|
426
427
|
});
|
|
427
428
|
options = { ...options, claudeEnvVars: { ...options.claudeEnvVars, VH_PEER_SESSION_ID: response.id } };
|
|
429
|
+
let providerPinnedModel;
|
|
430
|
+
try {
|
|
431
|
+
const provider = loadSessionProvider(configuration.happyHomeDir, response.id);
|
|
432
|
+
if (provider) {
|
|
433
|
+
applyProviderEnv(process.env, provider);
|
|
434
|
+
options = { ...options, model: provider.model };
|
|
435
|
+
providerPinnedModel = provider.model;
|
|
436
|
+
logger.debug(`[START] B-794 provider binding: profile=${provider.profile} model=${provider.model} baseUrl=${provider.baseUrl}`);
|
|
437
|
+
}
|
|
438
|
+
} catch (error) {
|
|
439
|
+
const reason = error instanceof Error ? error.message : String(error);
|
|
440
|
+
logger.debug(`[START] B-794 provider binding failed: ${reason}`);
|
|
441
|
+
session.sendSessionEvent({ type: "message", message: `Provider binding ignored: ${reason}` });
|
|
442
|
+
}
|
|
428
443
|
const initialScannerSessionId = forkClaudeSessionId ?? (metadata.claudeSessionId ?? null);
|
|
429
444
|
const transcriptPathHints = new TranscriptPathHints();
|
|
430
445
|
const remoteScanner = await createSessionScanner({
|
|
@@ -577,7 +592,7 @@ async function runClaude(credentials, options = {}) {
|
|
|
577
592
|
claudeArgs: options.claudeArgs,
|
|
578
593
|
setting: settings?.claudePrewarm
|
|
579
594
|
};
|
|
580
|
-
const prewarmCtx = () => ({ sandboxEnabled, isAssistantVariant, staleModeSnapshot: false });
|
|
595
|
+
const prewarmCtx = () => ({ sandboxEnabled, isAssistantVariant, staleModeSnapshot: false, pinnedModel: providerPinnedModel });
|
|
581
596
|
const predictFirstMessageMode = () => prewarmCache ? resolveMessageMode(currentModeState(), prewarmPredictionMeta(prewarmCache), prewarmCtx()).mode : null;
|
|
582
597
|
let firstMessageScored = false;
|
|
583
598
|
const scoreFirstMessage = (meta, predicted, actual) => {
|
|
@@ -679,7 +694,7 @@ async function runClaude(credentials, options = {}) {
|
|
|
679
694
|
}
|
|
680
695
|
const previousPermissionMode = currentPermissionMode;
|
|
681
696
|
const predictedFirstMode = firstMessageScored ? null : predictFirstMessageMode();
|
|
682
|
-
const resolved = resolveMessageMode(currentModeState(), message.meta, { sandboxEnabled, isAssistantVariant, staleModeSnapshot });
|
|
697
|
+
const resolved = resolveMessageMode(currentModeState(), message.meta, { sandboxEnabled, isAssistantVariant, staleModeSnapshot, pinnedModel: providerPinnedModel });
|
|
683
698
|
if ("publishPermissionMode" in resolved) {
|
|
684
699
|
publishPermissionMode(resolved.publishPermissionMode);
|
|
685
700
|
const ignoredDefaultDowngrade = (previousPermissionMode === "bypassPermissions" || previousPermissionMode === "yolo") && message.meta?.permissionMode === "default" && currentPermissionMode === previousPermissionMode;
|
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
1
|
+
import { l as logger } from './logger-BjXkscIr.mjs';
|
|
2
|
+
import { q as notifyDaemonSessionEvent, t as notifyDaemonClaudeAuthFailed } from './controlClient-DBylxaEh.mjs';
|
|
3
|
+
export { k as reportSessionEditToDaemon } from './controlClient-DBylxaEh.mjs';
|
|
4
4
|
import { s as sameBackgroundTasks, c as createBackgroundTaskTracker } from './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
5
|
-
import { c as createProjectInjector, h as hashObject, l as leadBoardFor } from './deterministicJson-
|
|
6
|
-
export { s as startHappyServer } from './deterministicJson-
|
|
7
|
-
import { s as sharedProjectsClient } from './client-
|
|
5
|
+
import { c as createProjectInjector, h as hashObject, l as leadBoardFor } from './deterministicJson-cEWItQun.mjs';
|
|
6
|
+
export { s as startHappyServer } from './deterministicJson-cEWItQun.mjs';
|
|
7
|
+
import { s as sharedProjectsClient } from './client-D2lOnvzs.mjs';
|
|
8
8
|
import { randomInt, randomUUID, createHash } from 'node:crypto';
|
|
9
9
|
import { M as MessageBuffer } from './sessionExitLifecycle-CzkLIgNZ.mjs';
|
|
10
10
|
export { S as SessionExitGate, e as exitIntentFromArchiveFlag, s as settleSessionOnExit } from './sessionExitLifecycle-CzkLIgNZ.mjs';
|
|
11
|
-
import { q as query } from './query-
|
|
11
|
+
import { q as query } from './query-rxLftxvh.mjs';
|
|
12
12
|
import { AbortError } from '@anthropic-ai/claude-agent-sdk';
|
|
13
13
|
import { m as mapToClaudeMode, p as parseClaudePermissionMode, c as resolveRemoteClaudePermissionMode } from './permissionMode-CH4FoZfU.mjs';
|
|
14
|
-
import { c as claudeCheckSession, s as systemPrompt } from './systemPrompt-
|
|
14
|
+
import { c as claudeCheckSession, s as systemPrompt } from './systemPrompt-D9JJpzl_.mjs';
|
|
15
15
|
import { join, resolve, dirname } from 'node:path';
|
|
16
|
-
import { p as parseSpecialCommand, w as wrapperRateLimitReporter } from './specialCommands-
|
|
16
|
+
import { p as parseSpecialCommand, w as wrapperRateLimitReporter } from './specialCommands-D00VrQ09.mjs';
|
|
17
17
|
import 'axios';
|
|
18
18
|
import 'node:events';
|
|
19
19
|
import 'socket.io-client';
|
|
20
|
-
import { A as AsyncLock } from './pushNotifications-
|
|
20
|
+
import { A as AsyncLock } from './pushNotifications-DnpJJ7VR.mjs';
|
|
21
21
|
import 'tweetnacl';
|
|
22
|
-
import { c as configuration, e as ensurePrivateDirectory } from './configuration-
|
|
23
|
-
import './index-
|
|
24
|
-
import './registerCommonHandlers-
|
|
22
|
+
import { c as configuration, e as ensurePrivateDirectory } from './configuration-HPdj5Til.mjs';
|
|
23
|
+
import './index-DisBaRvM.mjs';
|
|
24
|
+
import './registerCommonHandlers-DpBxSCBi.mjs';
|
|
25
25
|
import 'os';
|
|
26
26
|
import 'child_process';
|
|
27
27
|
import '@paralleldrive/cuid2';
|
|
28
|
-
import './persistence-
|
|
28
|
+
import './persistence-CmVwM5uq.mjs';
|
|
29
29
|
import { c as contentLogMetadata } from './contentLogMetadata-BlWI0egu.mjs';
|
|
30
30
|
import 'chalk';
|
|
31
31
|
import { R as RawJSONLinesSchema } from './types-CkqAACXx.mjs';
|
|
32
32
|
import { g as getProjectPath } from './path-D2wdaNSk.mjs';
|
|
33
33
|
import { access } from 'fs/promises';
|
|
34
|
-
import { d as delay } from './time-
|
|
34
|
+
import { d as delay } from './time-BbJ-NWcl.mjs';
|
|
35
35
|
import { mkdirSync, writeFileSync, readFileSync, unlinkSync, renameSync, statSync, existsSync } from 'node:fs';
|
|
36
|
-
import { F as Future, d as describeClaudeProcessExit } from './sessionScanner-
|
|
37
|
-
export { c as createSessionScanner } from './sessionScanner-
|
|
36
|
+
import { F as Future, d as describeClaudeProcessExit } from './sessionScanner-BkukogZy.mjs';
|
|
37
|
+
export { c as createSessionScanner } from './sessionScanner-BkukogZy.mjs';
|
|
38
38
|
import { execSync } from 'node:child_process';
|
|
39
|
-
import { S as StreamRelay } from './streamRelay-
|
|
40
|
-
import { C as CLAUDE_ATTACHMENT_KINDS, c as chatAttachmentDirectory, a as stageClaudeAttachments, b as appendStagedAttachmentsToPrompt } from './attachmentContent-
|
|
39
|
+
import { S as StreamRelay } from './streamRelay-GzHxvMem.mjs';
|
|
40
|
+
import { C as CLAUDE_ATTACHMENT_KINDS, c as chatAttachmentDirectory, a as stageClaudeAttachments, b as appendStagedAttachmentsToPrompt } from './attachmentContent-DpOzgDTw.mjs';
|
|
41
41
|
import { writeFile, rename, unlink, readFile } from 'node:fs/promises';
|
|
42
|
-
import { F as ForkSourceMissingError } from './claudeSessionFork-
|
|
43
|
-
export { M as MessageQueue2, r as registerKillSessionHandler } from './registerKillSessionHandler-
|
|
44
|
-
export { g as getEnvironmentInfo } from './doctor-
|
|
42
|
+
import { F as ForkSourceMissingError } from './claudeSessionFork-JPEHVbfR.mjs';
|
|
43
|
+
export { M as MessageQueue2, r as registerKillSessionHandler } from './registerKillSessionHandler-BDxd20fg.mjs';
|
|
44
|
+
export { g as getEnvironmentInfo } from './doctor-DpWtxNeT.mjs';
|
|
45
45
|
import { createServer } from 'node:http';
|
|
46
46
|
export { E as EditReportThrottle, b as extractClaudeEditPaths } from './editPaths-BVfS_FFL.mjs';
|
|
47
47
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
48
48
|
export { s as snapshotTree, t as terminateSurvivors } from './processTreeSnapshot-CuLJDNC-.mjs';
|
|
49
|
-
import { r as resolveClaudeBinary, a as runClaudeOneShot } from './titleGenerator-
|
|
50
|
-
export { T as TitleGenerator } from './titleGenerator-
|
|
49
|
+
import { r as resolveClaudeBinary, a as runClaudeOneShot } from './titleGenerator-03Y2uoZW.mjs';
|
|
50
|
+
export { T as TitleGenerator } from './titleGenerator-03Y2uoZW.mjs';
|
|
51
51
|
import { B as BOARD_ANALYZER_PROMPT_PREFIX } from './oneShotPrompts-DT4p6RNd.mjs';
|
|
52
|
-
import { i as isSelfReportFresh } from './reportProgressTool-
|
|
53
|
-
export { c as createSelfReportState } from './reportProgressTool-
|
|
52
|
+
import { i as isSelfReportFresh } from './reportProgressTool-DJXfK6rp.mjs';
|
|
53
|
+
export { c as createSelfReportState } from './reportProgressTool-DJXfK6rp.mjs';
|
|
54
54
|
import 'node:util';
|
|
55
55
|
import './prompt-QHuFx9j6.mjs';
|
|
56
56
|
import 'node:os';
|
|
57
57
|
import 'zod';
|
|
58
58
|
import './pi-CqyoZMjI.mjs';
|
|
59
59
|
import './fileStore-5qpetZS0.mjs';
|
|
60
|
-
import './client-
|
|
61
|
-
import './context-
|
|
62
|
-
import './sessionOps-
|
|
60
|
+
import './client-D1rJt15-.mjs';
|
|
61
|
+
import './context-DetK5c-x.mjs';
|
|
62
|
+
import './sessionOps-BO6AesNJ.mjs';
|
|
63
63
|
import './authRelay-DhQhkBvX.mjs';
|
|
64
64
|
import './resources-CLdQfe3b.mjs';
|
|
65
|
-
import './tools-
|
|
66
|
-
import './peerTools-
|
|
65
|
+
import './tools-WXF7ApAe.mjs';
|
|
66
|
+
import './peerTools-CL7zBxlC.mjs';
|
|
67
67
|
import './ids-DU6sLx4C.mjs';
|
|
68
|
-
import './remoteSessionClient-
|
|
68
|
+
import './remoteSessionClient-DHWfDMHA.mjs';
|
|
69
69
|
import '@modelcontextprotocol/sdk/server/mcp.js';
|
|
70
70
|
import '@modelcontextprotocol/sdk/server/streamableHttp.js';
|
|
71
71
|
import './limits-DIo7rEBR.mjs';
|
|
72
|
-
import './downloadTarget-
|
|
72
|
+
import './downloadTarget-B5b5BHb2.mjs';
|
|
73
73
|
import './terminals-Dlg0x3nY.mjs';
|
|
74
74
|
import './terminalTitleSuggest-CeKsX_V6.mjs';
|
|
75
75
|
import './tmuxSocket-B8Yx20sT.mjs';
|
|
76
|
-
import './bootstrap-
|
|
77
|
-
import './package-
|
|
76
|
+
import './bootstrap-DV4dqeCe.mjs';
|
|
77
|
+
import './package-Do0Y9bGA.mjs';
|
|
78
78
|
import './agentGuidance-BDYt2Qy2.mjs';
|
|
79
79
|
import './trimIdent-BAjmv_TG.mjs';
|
|
80
80
|
import './webPanels-B2_C2-3g.mjs';
|
|
81
81
|
import './previewPath-CXN4Vag0.mjs';
|
|
82
82
|
import 'crypto';
|
|
83
83
|
import './smallFastModel-BLNgMrwR.mjs';
|
|
84
|
-
import './rateLimitWindows-
|
|
84
|
+
import './rateLimitWindows-D9mQRGHv.mjs';
|
|
85
85
|
import 'util';
|
|
86
86
|
import 'path';
|
|
87
87
|
import 'cross-spawn';
|
|
88
|
-
import './sync
|
|
88
|
+
import './sync-HPnxI4fz.mjs';
|
|
89
89
|
import './transcriptCursor-B7T_gkQ0.mjs';
|
|
90
|
-
import './startFileWatcher-
|
|
90
|
+
import './startFileWatcher-CvUUesns.mjs';
|
|
91
91
|
import 'node:readline';
|
|
92
92
|
import './doctor-BPkYWSuq.mjs';
|
|
93
93
|
import 'ps-list';
|
|
@@ -95,11 +95,11 @@ import './doctorReadiness-C208SMN9.mjs';
|
|
|
95
95
|
import './detectCLI-CSGMlV51.mjs';
|
|
96
96
|
import 'fs';
|
|
97
97
|
import './cliUpdate-Y34VGe9Y.mjs';
|
|
98
|
-
import './piRunnerArgs-
|
|
99
|
-
import './acpSessionResume-
|
|
98
|
+
import './piRunnerArgs-K0K9Y0Yq.mjs';
|
|
99
|
+
import './acpSessionResume-_2NtETqb.mjs';
|
|
100
100
|
import 'url';
|
|
101
101
|
import 'node:module';
|
|
102
|
-
import './client-
|
|
102
|
+
import './client-Ct1rnpJw.mjs';
|
|
103
103
|
import './precheckCompat-DeEbilbr.mjs';
|
|
104
104
|
|
|
105
105
|
const SCHEDULE_WAKEUP_GRACE_MS = 6e4;
|
|
@@ -4390,7 +4390,7 @@ async function loop(opts) {
|
|
|
4390
4390
|
logger.debug(`[loop] Iteration with mode: ${mode}`);
|
|
4391
4391
|
switch (mode) {
|
|
4392
4392
|
case "local": {
|
|
4393
|
-
const { claudeLocalLauncher } = await import('./claudeLocalLauncher-
|
|
4393
|
+
const { claudeLocalLauncher } = await import('./claudeLocalLauncher-BTNUVzRK.mjs');
|
|
4394
4394
|
const result = await claudeLocalLauncher(session);
|
|
4395
4395
|
switch (result.type) {
|
|
4396
4396
|
case "switch":
|
|
@@ -4731,7 +4731,7 @@ function registerSideQuestionHandler(rpc, deps) {
|
|
|
4731
4731
|
const retainMs = deps.retainMs ?? SIDE_QUESTION_RETAIN_MS;
|
|
4732
4732
|
const maxRunMs = deps.maxRunMs ?? SIDE_QUESTION_MAX_RUN_MS;
|
|
4733
4733
|
const fork = deps.run ?? (async (input) => {
|
|
4734
|
-
const { query } = await import('./index-
|
|
4734
|
+
const { query } = await import('./index-bT1X9Brv.mjs');
|
|
4735
4735
|
return runSideQuestion(query, input);
|
|
4736
4736
|
});
|
|
4737
4737
|
const run = async (input, live) => {
|
|
@@ -5123,6 +5123,10 @@ function resolveMessageMode(current, meta, ctx) {
|
|
|
5123
5123
|
if (has(meta, "fallbackModel")) next.fallbackModel = meta.fallbackModel || void 0;
|
|
5124
5124
|
if (has(meta, "appendSystemPrompt")) next.appendSystemPrompt = meta.appendSystemPrompt || void 0;
|
|
5125
5125
|
if (has(meta, "allowedTools")) next.allowedTools = meta.allowedTools || void 0;
|
|
5126
|
+
if (ctx.pinnedModel) {
|
|
5127
|
+
next.model = ctx.pinnedModel;
|
|
5128
|
+
next.fallbackModel = void 0;
|
|
5129
|
+
}
|
|
5126
5130
|
if (has(meta, "disallowedTools")) {
|
|
5127
5131
|
next.disallowedTools = withAssistantDenylist(meta.disallowedTools || void 0, ctx.isAssistantVariant);
|
|
5128
5132
|
}
|
|
@@ -1,89 +1,89 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var controlClient = require('./controlClient-
|
|
3
|
+
var logger = require('./logger-CIUMiSLo.cjs');
|
|
4
|
+
var controlClient = require('./controlClient-DTMI1aTp.cjs');
|
|
5
5
|
var backgroundTaskActivity = require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
6
|
-
var deterministicJson = require('./deterministicJson-
|
|
7
|
-
var client = require('./client-
|
|
6
|
+
var deterministicJson = require('./deterministicJson-DUCYjhHe.cjs');
|
|
7
|
+
var client = require('./client-C54hMWx6.cjs');
|
|
8
8
|
var node_crypto = require('node:crypto');
|
|
9
9
|
var sessionExitLifecycle = require('./sessionExitLifecycle-DFltxXU8.cjs');
|
|
10
|
-
var query = require('./query-
|
|
10
|
+
var query = require('./query-DXFx2VZY.cjs');
|
|
11
11
|
var claudeAgentSdk = require('@anthropic-ai/claude-agent-sdk');
|
|
12
12
|
var permissionMode = require('./permissionMode-CrV-XuMs.cjs');
|
|
13
|
-
var systemPrompt = require('./systemPrompt-
|
|
13
|
+
var systemPrompt = require('./systemPrompt-CYvRvanR.cjs');
|
|
14
14
|
var path$1 = require('node:path');
|
|
15
|
-
var specialCommands = require('./specialCommands-
|
|
15
|
+
var specialCommands = require('./specialCommands-DqrQnKHC.cjs');
|
|
16
16
|
require('axios');
|
|
17
17
|
require('node:events');
|
|
18
18
|
require('socket.io-client');
|
|
19
|
-
var pushNotifications = require('./pushNotifications-
|
|
19
|
+
var pushNotifications = require('./pushNotifications-C651e0ZZ.cjs');
|
|
20
20
|
require('tweetnacl');
|
|
21
|
-
var configuration = require('./configuration-
|
|
22
|
-
require('./index-
|
|
23
|
-
require('./registerCommonHandlers-
|
|
21
|
+
var configuration = require('./configuration-CwfmwaLU.cjs');
|
|
22
|
+
require('./index-Ub-5xbcU.cjs');
|
|
23
|
+
require('./registerCommonHandlers-K-BTp2iR.cjs');
|
|
24
24
|
require('os');
|
|
25
25
|
require('child_process');
|
|
26
26
|
require('@paralleldrive/cuid2');
|
|
27
|
-
require('./persistence-
|
|
27
|
+
require('./persistence-CNWBdUH2.cjs');
|
|
28
28
|
var contentLogMetadata = require('./contentLogMetadata-ZSFk_NjQ.cjs');
|
|
29
29
|
require('chalk');
|
|
30
30
|
var types = require('./types-CRS-srZK.cjs');
|
|
31
31
|
var path = require('./path-B7zW-WwE.cjs');
|
|
32
32
|
var fs = require('fs/promises');
|
|
33
|
-
var time = require('./time-
|
|
33
|
+
var time = require('./time-BCGGrWp4.cjs');
|
|
34
34
|
var node_fs = require('node:fs');
|
|
35
|
-
var sessionScanner = require('./sessionScanner-
|
|
35
|
+
var sessionScanner = require('./sessionScanner-3TevonZd.cjs');
|
|
36
36
|
var node_child_process = require('node:child_process');
|
|
37
|
-
var streamRelay = require('./streamRelay-
|
|
38
|
-
var attachmentContent = require('./attachmentContent-
|
|
37
|
+
var streamRelay = require('./streamRelay-CtTpf-Li.cjs');
|
|
38
|
+
var attachmentContent = require('./attachmentContent-hkdGP2NV.cjs');
|
|
39
39
|
var promises = require('node:fs/promises');
|
|
40
|
-
var claudeSessionFork = require('./claudeSessionFork-
|
|
41
|
-
var registerKillSessionHandler = require('./registerKillSessionHandler-
|
|
42
|
-
var doctor = require('./doctor-
|
|
40
|
+
var claudeSessionFork = require('./claudeSessionFork-DMdeScGk.cjs');
|
|
41
|
+
var registerKillSessionHandler = require('./registerKillSessionHandler-DwPEAS2G.cjs');
|
|
42
|
+
var doctor = require('./doctor-tLRILlmz.cjs');
|
|
43
43
|
var node_http = require('node:http');
|
|
44
44
|
var editPaths = require('./editPaths-Bqp4OFPw.cjs');
|
|
45
45
|
var projectPath = require('./projectPath-C3ioB4Bu.cjs');
|
|
46
46
|
var processTreeSnapshot = require('./processTreeSnapshot-mDbnuojn.cjs');
|
|
47
|
-
var titleGenerator = require('./titleGenerator-
|
|
47
|
+
var titleGenerator = require('./titleGenerator-IrI84kqh.cjs');
|
|
48
48
|
var oneShotPrompts = require('./oneShotPrompts-CL0dip9C.cjs');
|
|
49
|
-
var reportProgressTool = require('./reportProgressTool-
|
|
49
|
+
var reportProgressTool = require('./reportProgressTool-CYgnezAO.cjs');
|
|
50
50
|
require('node:util');
|
|
51
51
|
require('./prompt-Bof2aQkI.cjs');
|
|
52
52
|
require('node:os');
|
|
53
53
|
require('zod');
|
|
54
54
|
require('./pi-DlsrPCTa.cjs');
|
|
55
55
|
require('./fileStore-7qhnbs6N.cjs');
|
|
56
|
-
require('./client
|
|
57
|
-
require('./context-
|
|
58
|
-
require('./sessionOps-
|
|
56
|
+
require('./client-dpo5EbS9.cjs');
|
|
57
|
+
require('./context-D3vDWjiI.cjs');
|
|
58
|
+
require('./sessionOps-BDHEzyAY.cjs');
|
|
59
59
|
require('./authRelay-Dy1qU9td.cjs');
|
|
60
60
|
require('./resources-CqwHPhdK.cjs');
|
|
61
|
-
require('./tools-
|
|
62
|
-
require('./peerTools-
|
|
61
|
+
require('./tools-DeoxWyQ0.cjs');
|
|
62
|
+
require('./peerTools-SLRntgX6.cjs');
|
|
63
63
|
require('./ids-B6ZC0HGt.cjs');
|
|
64
|
-
require('./remoteSessionClient-
|
|
64
|
+
require('./remoteSessionClient-DnFblfFz.cjs');
|
|
65
65
|
require('@modelcontextprotocol/sdk/server/mcp.js');
|
|
66
66
|
require('@modelcontextprotocol/sdk/server/streamableHttp.js');
|
|
67
67
|
require('./limits-C-a7gr04.cjs');
|
|
68
|
-
require('./downloadTarget-
|
|
68
|
+
require('./downloadTarget-Ci5wcYC2.cjs');
|
|
69
69
|
require('./terminals-B_bfC9c2.cjs');
|
|
70
70
|
require('./terminalTitleSuggest-DhvRFX3H.cjs');
|
|
71
71
|
require('./tmuxSocket-D-Xt6Vn-.cjs');
|
|
72
|
-
require('./bootstrap-
|
|
73
|
-
require('./package-
|
|
72
|
+
require('./bootstrap-DIMkxIbR.cjs');
|
|
73
|
+
require('./package-CRDjc5vK.cjs');
|
|
74
74
|
require('./agentGuidance-BtBx2xxE.cjs');
|
|
75
75
|
require('./trimIdent-4gvk9Wk6.cjs');
|
|
76
76
|
require('./webPanels-FCgFKvVe.cjs');
|
|
77
77
|
require('./previewPath-B0rBdhy1.cjs');
|
|
78
78
|
require('crypto');
|
|
79
79
|
require('./smallFastModel-D_uxGMo3.cjs');
|
|
80
|
-
require('./rateLimitWindows-
|
|
80
|
+
require('./rateLimitWindows-1WoBs8ln.cjs');
|
|
81
81
|
require('util');
|
|
82
82
|
require('path');
|
|
83
83
|
require('cross-spawn');
|
|
84
|
-
require('./sync-
|
|
84
|
+
require('./sync-DliZ1zZh.cjs');
|
|
85
85
|
require('./transcriptCursor-DcXGLeSc.cjs');
|
|
86
|
-
require('./startFileWatcher-
|
|
86
|
+
require('./startFileWatcher-VFZ-Bpwa.cjs');
|
|
87
87
|
require('node:readline');
|
|
88
88
|
require('./doctor-u46qYYKX.cjs');
|
|
89
89
|
require('ps-list');
|
|
@@ -91,11 +91,11 @@ require('./doctorReadiness-Dl6yRQCy.cjs');
|
|
|
91
91
|
require('./detectCLI-BuYR_Qxe.cjs');
|
|
92
92
|
require('fs');
|
|
93
93
|
require('./cliUpdate-DsKXPFYp.cjs');
|
|
94
|
-
require('./piRunnerArgs-
|
|
95
|
-
require('./acpSessionResume-
|
|
94
|
+
require('./piRunnerArgs-CXJx3PPx.cjs');
|
|
95
|
+
require('./acpSessionResume-umHzSMbQ.cjs');
|
|
96
96
|
require('url');
|
|
97
97
|
require('node:module');
|
|
98
|
-
require('./client-
|
|
98
|
+
require('./client-qgKef7S6.cjs');
|
|
99
99
|
require('./precheckCompat-CWOi5c9L.cjs');
|
|
100
100
|
|
|
101
101
|
const SCHEDULE_WAKEUP_GRACE_MS = 6e4;
|
|
@@ -4386,7 +4386,7 @@ async function loop(opts) {
|
|
|
4386
4386
|
logger.logger.debug(`[loop] Iteration with mode: ${mode}`);
|
|
4387
4387
|
switch (mode) {
|
|
4388
4388
|
case "local": {
|
|
4389
|
-
const { claudeLocalLauncher } = await Promise.resolve().then(function () { return require('./claudeLocalLauncher-
|
|
4389
|
+
const { claudeLocalLauncher } = await Promise.resolve().then(function () { return require('./claudeLocalLauncher-BEJ9Wad_.cjs'); });
|
|
4390
4390
|
const result = await claudeLocalLauncher(session);
|
|
4391
4391
|
switch (result.type) {
|
|
4392
4392
|
case "switch":
|
|
@@ -4727,7 +4727,7 @@ function registerSideQuestionHandler(rpc, deps) {
|
|
|
4727
4727
|
const retainMs = deps.retainMs ?? SIDE_QUESTION_RETAIN_MS;
|
|
4728
4728
|
const maxRunMs = deps.maxRunMs ?? SIDE_QUESTION_MAX_RUN_MS;
|
|
4729
4729
|
const fork = deps.run ?? (async (input) => {
|
|
4730
|
-
const { query } = await Promise.resolve().then(function () { return require('./index-
|
|
4730
|
+
const { query } = await Promise.resolve().then(function () { return require('./index-Vx4EQ6wI.cjs'); });
|
|
4731
4731
|
return runSideQuestion(query, input);
|
|
4732
4732
|
});
|
|
4733
4733
|
const run = async (input, live) => {
|
|
@@ -5119,6 +5119,10 @@ function resolveMessageMode(current, meta, ctx) {
|
|
|
5119
5119
|
if (has(meta, "fallbackModel")) next.fallbackModel = meta.fallbackModel || void 0;
|
|
5120
5120
|
if (has(meta, "appendSystemPrompt")) next.appendSystemPrompt = meta.appendSystemPrompt || void 0;
|
|
5121
5121
|
if (has(meta, "allowedTools")) next.allowedTools = meta.allowedTools || void 0;
|
|
5122
|
+
if (ctx.pinnedModel) {
|
|
5123
|
+
next.model = ctx.pinnedModel;
|
|
5124
|
+
next.fallbackModel = void 0;
|
|
5125
|
+
}
|
|
5122
5126
|
if (has(meta, "disallowedTools")) {
|
|
5123
5127
|
next.disallowedTools = withAssistantDenylist(meta.disallowedTools || void 0, ctx.isAssistantVariant);
|
|
5124
5128
|
}
|
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
import { useStdout, useInput, Box, Text, render } from 'ink';
|
|
2
2
|
import React, { useState, useRef, useEffect, useCallback } from 'react';
|
|
3
3
|
import { randomUUID } from 'node:crypto';
|
|
4
|
-
import { a as PROJECT_SESSION_CAPABILITY } from './index-
|
|
5
|
-
import { h as hashObject, s as startHappyServer, c as createProjectInjector } from './deterministicJson-
|
|
6
|
-
import { s as sharedProjectsClient } from './client-
|
|
4
|
+
import { a as PROJECT_SESSION_CAPABILITY } from './index-DisBaRvM.mjs';
|
|
5
|
+
import { h as hashObject, s as startHappyServer, c as createProjectInjector } from './deterministicJson-cEWItQun.mjs';
|
|
6
|
+
import { s as sharedProjectsClient } from './client-D2lOnvzs.mjs';
|
|
7
7
|
import { join } from 'node:path';
|
|
8
|
-
import { c as connectionState, A as ApiClient } from './api-
|
|
9
|
-
import { l as logger } from './logger-
|
|
10
|
-
import { r as readSettings } from './persistence-
|
|
11
|
-
import { c as createSessionMetadata } from './createSessionMetadata-
|
|
8
|
+
import { c as connectionState, A as ApiClient } from './api-BTS8mqLy.mjs';
|
|
9
|
+
import { l as logger } from './logger-BjXkscIr.mjs';
|
|
10
|
+
import { r as readSettings } from './persistence-CmVwM5uq.mjs';
|
|
11
|
+
import { c as createSessionMetadata } from './createSessionMetadata-D8pfpX4V.mjs';
|
|
12
12
|
import { e as errorLogMetadata, c as contentLogMetadata } from './contentLogMetadata-BlWI0egu.mjs';
|
|
13
|
-
import { g as getInitialMachineMetadata } from './machineMetadata-
|
|
14
|
-
import { M as MessageQueue2, r as registerKillSessionHandler } from './registerKillSessionHandler-
|
|
13
|
+
import { g as getInitialMachineMetadata } from './machineMetadata-Ca4Dpy6s.mjs';
|
|
14
|
+
import { M as MessageQueue2, r as registerKillSessionHandler } from './registerKillSessionHandler-BDxd20fg.mjs';
|
|
15
15
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
16
16
|
import { M as MessageBuffer } from './sessionExitLifecycle-CzkLIgNZ.mjs';
|
|
17
|
-
import { n as notifyDaemonSessionStarted } from './controlClient-
|
|
17
|
+
import { n as notifyDaemonSessionStarted } from './controlClient-DBylxaEh.mjs';
|
|
18
18
|
import { e as encodeBase64 } from './authRelay-DhQhkBvX.mjs';
|
|
19
|
-
import { s as setupOfflineReconnection } from './setupOfflineReconnection-
|
|
20
|
-
import { A as AcpBackend, i as isAgentExitError } from './AcpBackend-
|
|
19
|
+
import { s as setupOfflineReconnection } from './setupOfflineReconnection-DYzysFFJ.mjs';
|
|
20
|
+
import { A as AcpBackend, i as isAgentExitError } from './AcpBackend-DkoqWhTa.mjs';
|
|
21
21
|
import { a as GEMINI_API_KEY_ENV, b as GOOGLE_API_KEY_ENV, G as GEMINI_MODEL_ENV, C as CHANGE_TITLE_INSTRUCTION } from './constants-BC4St0xd.mjs';
|
|
22
|
-
import { readGeminiLocalConfig, determineGeminiModel, getGeminiModelSource, getInitialGeminiModel, saveGeminiModelToConfig } from './config-
|
|
23
|
-
import { B as BasePermissionHandler } from './BasePermissionHandler-
|
|
24
|
-
import { B as BaseReasoningProcessor, s as settleCodexSession } from './codexTermination-
|
|
22
|
+
import { readGeminiLocalConfig, determineGeminiModel, getGeminiModelSource, getInitialGeminiModel, saveGeminiModelToConfig } from './config-CppOKnWe.mjs';
|
|
23
|
+
import { B as BasePermissionHandler } from './BasePermissionHandler-Dd4oGPDg.mjs';
|
|
24
|
+
import { B as BaseReasoningProcessor, s as settleCodexSession } from './codexTermination-FO52Ahcx.mjs';
|
|
25
25
|
import 'zod';
|
|
26
26
|
import '@paralleldrive/cuid2';
|
|
27
27
|
import './prompt-QHuFx9j6.mjs';
|
|
28
|
-
import './reportProgressTool-
|
|
29
|
-
import './client-
|
|
30
|
-
import './configuration-
|
|
28
|
+
import './reportProgressTool-DJXfK6rp.mjs';
|
|
29
|
+
import './client-Ct1rnpJw.mjs';
|
|
30
|
+
import './configuration-HPdj5Til.mjs';
|
|
31
31
|
import 'node:fs';
|
|
32
32
|
import 'node:os';
|
|
33
|
-
import './package-
|
|
33
|
+
import './package-Do0Y9bGA.mjs';
|
|
34
34
|
import 'node:fs/promises';
|
|
35
35
|
import './precheckCompat-DeEbilbr.mjs';
|
|
36
36
|
import './agentGuidance-BDYt2Qy2.mjs';
|
|
37
37
|
import './trimIdent-BAjmv_TG.mjs';
|
|
38
38
|
import './pi-CqyoZMjI.mjs';
|
|
39
39
|
import './fileStore-5qpetZS0.mjs';
|
|
40
|
-
import './client-
|
|
40
|
+
import './client-D1rJt15-.mjs';
|
|
41
41
|
import 'node:child_process';
|
|
42
42
|
import 'node:util';
|
|
43
|
-
import './context-
|
|
44
|
-
import './sessionOps-
|
|
43
|
+
import './context-DetK5c-x.mjs';
|
|
44
|
+
import './sessionOps-BO6AesNJ.mjs';
|
|
45
45
|
import 'axios';
|
|
46
|
-
import './time-
|
|
46
|
+
import './time-BbJ-NWcl.mjs';
|
|
47
47
|
import 'socket.io-client';
|
|
48
48
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
49
49
|
import './resources-CLdQfe3b.mjs';
|
|
50
|
-
import './tools-
|
|
51
|
-
import './peerTools-
|
|
50
|
+
import './tools-WXF7ApAe.mjs';
|
|
51
|
+
import './peerTools-CL7zBxlC.mjs';
|
|
52
52
|
import './ids-DU6sLx4C.mjs';
|
|
53
|
-
import './remoteSessionClient-
|
|
53
|
+
import './remoteSessionClient-DHWfDMHA.mjs';
|
|
54
54
|
import '@modelcontextprotocol/sdk/server/mcp.js';
|
|
55
55
|
import 'node:http';
|
|
56
56
|
import '@modelcontextprotocol/sdk/server/streamableHttp.js';
|
|
57
57
|
import './limits-DIo7rEBR.mjs';
|
|
58
|
-
import './downloadTarget-
|
|
58
|
+
import './downloadTarget-B5b5BHb2.mjs';
|
|
59
59
|
import './terminals-Dlg0x3nY.mjs';
|
|
60
60
|
import './terminalTitleSuggest-CeKsX_V6.mjs';
|
|
61
61
|
import './tmuxSocket-B8Yx20sT.mjs';
|
|
62
|
-
import './bootstrap-
|
|
62
|
+
import './bootstrap-DV4dqeCe.mjs';
|
|
63
63
|
import './webPanels-B2_C2-3g.mjs';
|
|
64
|
-
import './pushNotifications-
|
|
64
|
+
import './pushNotifications-DnpJJ7VR.mjs';
|
|
65
65
|
import './previewPath-CXN4Vag0.mjs';
|
|
66
66
|
import 'crypto';
|
|
67
|
-
import './lidState-
|
|
67
|
+
import './lidState-CG9jFcML.mjs';
|
|
68
68
|
import 'os';
|
|
69
69
|
import 'child_process';
|
|
70
70
|
import 'node:events';
|
|
71
|
-
import './registerCommonHandlers-
|
|
71
|
+
import './registerCommonHandlers-DpBxSCBi.mjs';
|
|
72
72
|
import 'util';
|
|
73
73
|
import 'fs/promises';
|
|
74
74
|
import 'path';
|
|
75
75
|
import 'cross-spawn';
|
|
76
|
-
import './sync
|
|
76
|
+
import './sync-HPnxI4fz.mjs';
|
|
77
77
|
import 'chalk';
|
|
78
78
|
import './detectCLI-CSGMlV51.mjs';
|
|
79
79
|
import 'fs';
|
|
80
|
-
import './localHappyAgentAuth-
|
|
80
|
+
import './localHappyAgentAuth-CWha8BiX.mjs';
|
|
81
81
|
import 'tweetnacl';
|
|
82
82
|
import './fsMkdir-DumgLTzR.mjs';
|
|
83
83
|
import './types-CkqAACXx.mjs';
|