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,46 +1,46 @@
|
|
|
1
|
-
import { D as DefaultTransport, A as AcpBackend, i as isAgentExitError, a as acpNoticeMessage } from './AcpBackend-
|
|
2
|
-
export { b as DEFAULT_IDLE_TIMEOUT_MS, c as DEFAULT_TOOL_CALL_TIMEOUT_MS, e as extractErrorDetail, f as formatDuration, d as formatDurationMinutes, h as handleAgentMessageChunk, g as handleAgentThoughtChunk, j as handleLegacyMessageChunk, k as handlePlanUpdate, l as handleThinkingUpdate, m as handleToolCall, n as handleToolCallUpdate, p as parseArgsFromContent } from './AcpBackend-
|
|
3
|
-
import { l as logger } from './logger-
|
|
4
|
-
import { A as AcpSessionManager } from './AcpSessionManager-
|
|
5
|
-
import { v as PI_STEER_CAPABILITY, j as BUILTIN_TODO_DISCOVERY, P as PROMPT_QUEUE_CAPABILITY, a as PROJECT_SESSION_CAPABILITY } from './index-
|
|
6
|
-
import { h as hashObject, s as startHappyServer, r as readPiModelsJson, a as resolvePiContextUsage, c as createProjectInjector } from './deterministicJson-
|
|
1
|
+
import { D as DefaultTransport, A as AcpBackend, i as isAgentExitError, a as acpNoticeMessage } from './AcpBackend-DkoqWhTa.mjs';
|
|
2
|
+
export { b as DEFAULT_IDLE_TIMEOUT_MS, c as DEFAULT_TOOL_CALL_TIMEOUT_MS, e as extractErrorDetail, f as formatDuration, d as formatDurationMinutes, h as handleAgentMessageChunk, g as handleAgentThoughtChunk, j as handleLegacyMessageChunk, k as handlePlanUpdate, l as handleThinkingUpdate, m as handleToolCall, n as handleToolCallUpdate, p as parseArgsFromContent } from './AcpBackend-DkoqWhTa.mjs';
|
|
3
|
+
import { l as logger } from './logger-BjXkscIr.mjs';
|
|
4
|
+
import { A as AcpSessionManager } from './AcpSessionManager-BNPex8tJ.mjs';
|
|
5
|
+
import { v as PI_STEER_CAPABILITY, j as BUILTIN_TODO_DISCOVERY, P as PROMPT_QUEUE_CAPABILITY, a as PROJECT_SESSION_CAPABILITY } from './index-DisBaRvM.mjs';
|
|
6
|
+
import { h as hashObject, s as startHappyServer, r as readPiModelsJson, a as resolvePiContextUsage, c as createProjectInjector } from './deterministicJson-cEWItQun.mjs';
|
|
7
7
|
import { r as registerAgentAttachmentDownloads } from './agentAttachments-M_B5qEF2.mjs';
|
|
8
|
-
import { c as configuration } from './configuration-
|
|
9
|
-
import { a as stageClaudeAttachments, b as appendStagedAttachmentsToPrompt, C as CLAUDE_ATTACHMENT_KINDS } from './attachmentContent-
|
|
10
|
-
import { p as preparePiTeamsRuntime } from './piRuntime-
|
|
8
|
+
import { c as configuration } from './configuration-HPdj5Til.mjs';
|
|
9
|
+
import { a as stageClaudeAttachments, b as appendStagedAttachmentsToPrompt, C as CLAUDE_ATTACHMENT_KINDS } from './attachmentContent-DpOzgDTw.mjs';
|
|
10
|
+
import { p as preparePiTeamsRuntime } from './piRuntime-BSoHy-QJ.mjs';
|
|
11
11
|
import { randomUUID } from 'node:crypto';
|
|
12
12
|
import { join } from 'node:path';
|
|
13
|
-
import { c as connectionState, A as ApiClient } from './api-
|
|
14
|
-
import { s as sharedProjectsClient } from './client-
|
|
15
|
-
import { M as MessageQueue2, r as registerKillSessionHandler } from './registerKillSessionHandler-
|
|
16
|
-
import { r as readSettings } from './persistence-
|
|
17
|
-
import { g as getInitialMachineMetadata } from './machineMetadata-
|
|
18
|
-
import { c as createSessionMetadata } from './createSessionMetadata-
|
|
19
|
-
import { s as setupOfflineReconnection } from './setupOfflineReconnection-
|
|
20
|
-
import { c as createSessionForStartup } from './startupSessionCreate-
|
|
21
|
-
import { n as notifyDaemonSessionStarted,
|
|
13
|
+
import { c as connectionState, A as ApiClient } from './api-BTS8mqLy.mjs';
|
|
14
|
+
import { s as sharedProjectsClient } from './client-D2lOnvzs.mjs';
|
|
15
|
+
import { M as MessageQueue2, r as registerKillSessionHandler } from './registerKillSessionHandler-BDxd20fg.mjs';
|
|
16
|
+
import { r as readSettings } from './persistence-CmVwM5uq.mjs';
|
|
17
|
+
import { g as getInitialMachineMetadata } from './machineMetadata-Ca4Dpy6s.mjs';
|
|
18
|
+
import { c as createSessionMetadata } from './createSessionMetadata-D8pfpX4V.mjs';
|
|
19
|
+
import { s as setupOfflineReconnection } from './setupOfflineReconnection-DYzysFFJ.mjs';
|
|
20
|
+
import { c as createSessionForStartup } from './startupSessionCreate-B6HNLg0g.mjs';
|
|
21
|
+
import { n as notifyDaemonSessionStarted, k as reportSessionEditToDaemon } from './controlClient-DBylxaEh.mjs';
|
|
22
22
|
import { d as decodeBase64, e as encodeBase64 } from './authRelay-DhQhkBvX.mjs';
|
|
23
|
-
import { c as claimSessionOrExit, a as applyServerSnapshot, w as withoutServerSnapshot, m as mergeReconnectMetadata } from './sessionLock-
|
|
24
|
-
import { r as readAcpReconnectEnv, n as normalizeAcpPermissionMode, p as piRestartNotice, w as writeSessionModeFile, a as removeSessionModeFile } from './acpSessionResume-
|
|
25
|
-
import { S as StreamRelay } from './streamRelay-
|
|
23
|
+
import { c as claimSessionOrExit, a as applyServerSnapshot, w as withoutServerSnapshot, m as mergeReconnectMetadata } from './sessionLock-YMRCi-Ec.mjs';
|
|
24
|
+
import { r as readAcpReconnectEnv, n as normalizeAcpPermissionMode, p as piRestartNotice, w as writeSessionModeFile, a as removeSessionModeFile } from './acpSessionResume-_2NtETqb.mjs';
|
|
25
|
+
import { S as StreamRelay } from './streamRelay-GzHxvMem.mjs';
|
|
26
26
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
27
|
-
import { B as BasePermissionHandler } from './BasePermissionHandler-
|
|
28
|
-
import { T as TitleGenerator } from './titleGenerator-
|
|
27
|
+
import { B as BasePermissionHandler } from './BasePermissionHandler-Dd4oGPDg.mjs';
|
|
28
|
+
import { T as TitleGenerator } from './titleGenerator-03Y2uoZW.mjs';
|
|
29
29
|
import { E as EditReportThrottle, e as extractAcpEditPaths } from './editPaths-BVfS_FFL.mjs';
|
|
30
30
|
import 'node:child_process';
|
|
31
31
|
import '@agentclientprotocol/sdk';
|
|
32
|
-
import './time-
|
|
32
|
+
import './time-BbJ-NWcl.mjs';
|
|
33
33
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
34
34
|
import './processTree-CP5IvQ2Z.mjs';
|
|
35
|
-
import './package-
|
|
35
|
+
import './package-Do0Y9bGA.mjs';
|
|
36
36
|
import 'chalk';
|
|
37
37
|
import 'node:util';
|
|
38
38
|
import 'node:fs';
|
|
39
39
|
import '@paralleldrive/cuid2';
|
|
40
40
|
import 'zod';
|
|
41
41
|
import './prompt-QHuFx9j6.mjs';
|
|
42
|
-
import './reportProgressTool-
|
|
43
|
-
import './client-
|
|
42
|
+
import './reportProgressTool-DJXfK6rp.mjs';
|
|
43
|
+
import './client-Ct1rnpJw.mjs';
|
|
44
44
|
import './precheckCompat-DeEbilbr.mjs';
|
|
45
45
|
import './agentGuidance-BDYt2Qy2.mjs';
|
|
46
46
|
import './trimIdent-BAjmv_TG.mjs';
|
|
@@ -48,45 +48,45 @@ import 'node:os';
|
|
|
48
48
|
import './pi-CqyoZMjI.mjs';
|
|
49
49
|
import './fileStore-5qpetZS0.mjs';
|
|
50
50
|
import 'node:fs/promises';
|
|
51
|
-
import './client-
|
|
52
|
-
import './context-
|
|
53
|
-
import './sessionOps-
|
|
51
|
+
import './client-D1rJt15-.mjs';
|
|
52
|
+
import './context-DetK5c-x.mjs';
|
|
53
|
+
import './sessionOps-BO6AesNJ.mjs';
|
|
54
54
|
import 'axios';
|
|
55
55
|
import 'socket.io-client';
|
|
56
56
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
57
57
|
import './resources-CLdQfe3b.mjs';
|
|
58
|
-
import './tools-
|
|
59
|
-
import './peerTools-
|
|
58
|
+
import './tools-WXF7ApAe.mjs';
|
|
59
|
+
import './peerTools-CL7zBxlC.mjs';
|
|
60
60
|
import './ids-DU6sLx4C.mjs';
|
|
61
|
-
import './remoteSessionClient-
|
|
61
|
+
import './remoteSessionClient-DHWfDMHA.mjs';
|
|
62
62
|
import '@modelcontextprotocol/sdk/server/mcp.js';
|
|
63
63
|
import 'node:http';
|
|
64
64
|
import '@modelcontextprotocol/sdk/server/streamableHttp.js';
|
|
65
65
|
import './limits-DIo7rEBR.mjs';
|
|
66
|
-
import './downloadTarget-
|
|
66
|
+
import './downloadTarget-B5b5BHb2.mjs';
|
|
67
67
|
import './terminals-Dlg0x3nY.mjs';
|
|
68
68
|
import './terminalTitleSuggest-CeKsX_V6.mjs';
|
|
69
69
|
import './tmuxSocket-B8Yx20sT.mjs';
|
|
70
|
-
import './bootstrap-
|
|
70
|
+
import './bootstrap-DV4dqeCe.mjs';
|
|
71
71
|
import './webPanels-B2_C2-3g.mjs';
|
|
72
|
-
import './pushNotifications-
|
|
72
|
+
import './pushNotifications-DnpJJ7VR.mjs';
|
|
73
73
|
import './previewPath-CXN4Vag0.mjs';
|
|
74
74
|
import 'crypto';
|
|
75
|
-
import './lidState-
|
|
75
|
+
import './lidState-CG9jFcML.mjs';
|
|
76
76
|
import 'os';
|
|
77
77
|
import 'child_process';
|
|
78
78
|
import 'node:events';
|
|
79
|
-
import './registerCommonHandlers-
|
|
79
|
+
import './registerCommonHandlers-DpBxSCBi.mjs';
|
|
80
80
|
import 'util';
|
|
81
81
|
import 'fs/promises';
|
|
82
82
|
import 'path';
|
|
83
83
|
import 'cross-spawn';
|
|
84
|
-
import './sync
|
|
84
|
+
import './sync-HPnxI4fz.mjs';
|
|
85
85
|
import 'tweetnacl';
|
|
86
86
|
import './types-CkqAACXx.mjs';
|
|
87
87
|
import './detectCLI-CSGMlV51.mjs';
|
|
88
88
|
import 'fs';
|
|
89
|
-
import './localHappyAgentAuth-
|
|
89
|
+
import './localHappyAgentAuth-CWha8BiX.mjs';
|
|
90
90
|
import './fsMkdir-DumgLTzR.mjs';
|
|
91
91
|
import './processTreeSnapshot-CuLJDNC-.mjs';
|
|
92
92
|
import 'url';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as packageJson } from './package-
|
|
1
|
+
import { p as packageJson } from './package-Do0Y9bGA.mjs';
|
|
2
2
|
import module$1 from 'node:module';
|
|
3
3
|
import { existsSync } from 'node:fs';
|
|
4
4
|
import { readdir, rm } from 'node:fs/promises';
|
|
@@ -57,10 +57,10 @@ async function pruneStaleCompileCaches(happyHomeDir, cliVersion) {
|
|
|
57
57
|
async function run(args) {
|
|
58
58
|
enableCompileCacheIfPossible(packageJson.version);
|
|
59
59
|
if (isStandaloneVersionRequest(args) || isSelfCheckRequest(args)) {
|
|
60
|
-
const { selfCheckMain } = await import('./selfCheck-
|
|
60
|
+
const { selfCheckMain } = await import('./selfCheck-DgWZfw5E.mjs');
|
|
61
61
|
process.exit(await selfCheckMain({ verbose: isSelfCheckRequest(args) }));
|
|
62
62
|
}
|
|
63
|
-
const { main } = await import('./main-
|
|
63
|
+
const { main } = await import('./main-CS1U9i4s.mjs');
|
|
64
64
|
await main();
|
|
65
65
|
}
|
|
66
66
|
void run(process.argv.slice(2));
|
|
@@ -456,7 +456,16 @@ const TeamActionSchema = z$1.discriminatedUnion("type", [
|
|
|
456
456
|
z$1.object({ type: z$1.literal("handoff"), taskId: id$3, attemptId: id$3, goalVersion: z$1.number().int().positive(), assigneeBotId: id$3 }),
|
|
457
457
|
z$1.object({ type: z$1.literal("claim-operation"), operationId: id$3, machineId: id$3, teamLaunchVersion: z$1.literal(1).optional() }),
|
|
458
458
|
z$1.object({ type: z$1.literal("complete-operation"), operationId: id$3, machineId: id$3, claimId: id$3, sessionId: id$3.optional(), workingDirectory: z$1.string().min(1).max(4096).optional() }),
|
|
459
|
-
z$1.object({
|
|
459
|
+
z$1.object({
|
|
460
|
+
type: z$1.literal("fail-operation"),
|
|
461
|
+
operationId: id$3,
|
|
462
|
+
machineId: id$3,
|
|
463
|
+
claimId: id$3,
|
|
464
|
+
error: text$1,
|
|
465
|
+
unknown: z$1.boolean().optional(),
|
|
466
|
+
/** B-775: a failed cleanup whose wrapper was already stopped (only resources retained). */
|
|
467
|
+
sessionStopped: z$1.boolean().optional()
|
|
468
|
+
}),
|
|
460
469
|
z$1.object({ type: z$1.literal("session-event"), sessionId: id$3, event: z$1.enum(["idle", "blocked", "exited"]) }),
|
|
461
470
|
z$1.object({ type: z$1.literal("message-delivered"), messageId: id$3, recipientBotId: id$3, generation: z$1.number().int().positive(), sessionId: id$3 })
|
|
462
471
|
]);
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
var node_fs = require('node:fs');
|
|
4
4
|
var os = require('node:os');
|
|
5
|
-
var logger = require('./logger-
|
|
6
|
-
var persistence = require('./persistence-
|
|
5
|
+
var logger = require('./logger-CIUMiSLo.cjs');
|
|
6
|
+
var persistence = require('./persistence-CNWBdUH2.cjs');
|
|
7
7
|
var loginShellEnv = require('./loginShellEnv-BkuYtExZ.cjs');
|
|
8
8
|
require('chalk');
|
|
9
9
|
require('node:util');
|
|
10
|
-
require('./configuration-
|
|
10
|
+
require('./configuration-CwfmwaLU.cjs');
|
|
11
11
|
require('node:path');
|
|
12
|
-
require('./package-
|
|
12
|
+
require('./package-CRDjc5vK.cjs');
|
|
13
13
|
require('node:fs/promises');
|
|
14
14
|
require('zod');
|
|
15
15
|
require('./authRelay-Dy1qU9td.cjs');
|
|
@@ -476,7 +476,16 @@ const TeamActionSchema = z.z.discriminatedUnion("type", [
|
|
|
476
476
|
z.z.object({ type: z.z.literal("handoff"), taskId: id$3, attemptId: id$3, goalVersion: z.z.number().int().positive(), assigneeBotId: id$3 }),
|
|
477
477
|
z.z.object({ type: z.z.literal("claim-operation"), operationId: id$3, machineId: id$3, teamLaunchVersion: z.z.literal(1).optional() }),
|
|
478
478
|
z.z.object({ type: z.z.literal("complete-operation"), operationId: id$3, machineId: id$3, claimId: id$3, sessionId: id$3.optional(), workingDirectory: z.z.string().min(1).max(4096).optional() }),
|
|
479
|
-
z.z.object({
|
|
479
|
+
z.z.object({
|
|
480
|
+
type: z.z.literal("fail-operation"),
|
|
481
|
+
operationId: id$3,
|
|
482
|
+
machineId: id$3,
|
|
483
|
+
claimId: id$3,
|
|
484
|
+
error: text$1,
|
|
485
|
+
unknown: z.z.boolean().optional(),
|
|
486
|
+
/** B-775: a failed cleanup whose wrapper was already stopped (only resources retained). */
|
|
487
|
+
sessionStopped: z.z.boolean().optional()
|
|
488
|
+
}),
|
|
480
489
|
z.z.object({ type: z.z.literal("session-event"), sessionId: id$3, event: z.z.enum(["idle", "blocked", "exited"]) }),
|
|
481
490
|
z.z.object({ type: z.z.literal("message-delivered"), messageId: id$3, recipientBotId: id$3, generation: z.z.number().int().positive(), sessionId: id$3 })
|
|
482
491
|
]);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var query = require('./query-
|
|
3
|
+
var query = require('./query-DXFx2VZY.cjs');
|
|
4
4
|
var claudeAgentSdk = require('@anthropic-ai/claude-agent-sdk');
|
|
5
5
|
require('./smallFastModel-D_uxGMo3.cjs');
|
|
6
|
-
require('./logger-
|
|
6
|
+
require('./logger-CIUMiSLo.cjs');
|
|
7
7
|
require('chalk');
|
|
8
8
|
require('node:util');
|
|
9
|
-
require('./configuration-
|
|
9
|
+
require('./configuration-CwfmwaLU.cjs');
|
|
10
10
|
require('node:fs');
|
|
11
11
|
require('node:os');
|
|
12
12
|
require('node:path');
|
|
13
|
-
require('./package-
|
|
13
|
+
require('./package-CRDjc5vK.cjs');
|
|
14
14
|
require('node:fs/promises');
|
|
15
15
|
require('./processTreeSnapshot-mDbnuojn.cjs');
|
|
16
16
|
require('node:child_process');
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { statSync, readdirSync } from 'node:fs';
|
|
2
2
|
import { homedir } from 'node:os';
|
|
3
|
-
import { l as logger } from './logger-
|
|
4
|
-
import { r as readSettings } from './persistence-
|
|
3
|
+
import { l as logger } from './logger-BjXkscIr.mjs';
|
|
4
|
+
import { r as readSettings } from './persistence-CmVwM5uq.mjs';
|
|
5
5
|
import { d as describeAgentHome, C as CLAUDE_CONFIG_DIR_ENV, a as CODEX_HOME_ENV, f as findClaudeConversation, b as agentHomeCandidates, c as findCodexThread, r as resolveAgentHomes, A as AGENT_HOME_ENV_NAMES, g as agentHomeEnv, p as probeLoginShellEnv } from './loginShellEnv-Dw8M7tkI.mjs';
|
|
6
6
|
export { h as claudeConversationPath, i as claudeProjectDirName, j as codexRolloutFileMatches, e as expandHomePath } from './loginShellEnv-Dw8M7tkI.mjs';
|
|
7
7
|
import 'chalk';
|
|
8
8
|
import 'node:util';
|
|
9
|
-
import './configuration-
|
|
9
|
+
import './configuration-HPdj5Til.mjs';
|
|
10
10
|
import 'node:path';
|
|
11
|
-
import './package-
|
|
11
|
+
import './package-Do0Y9bGA.mjs';
|
|
12
12
|
import 'node:fs/promises';
|
|
13
13
|
import 'zod';
|
|
14
14
|
import './authRelay-DhQhkBvX.mjs';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { q as query } from './query-
|
|
1
|
+
import { q as query } from './query-rxLftxvh.mjs';
|
|
2
2
|
export { AbortError } from '@anthropic-ai/claude-agent-sdk';
|
|
3
3
|
import './smallFastModel-BLNgMrwR.mjs';
|
|
4
|
-
import './logger-
|
|
4
|
+
import './logger-BjXkscIr.mjs';
|
|
5
5
|
import 'chalk';
|
|
6
6
|
import 'node:util';
|
|
7
|
-
import './configuration-
|
|
7
|
+
import './configuration-HPdj5Til.mjs';
|
|
8
8
|
import 'node:fs';
|
|
9
9
|
import 'node:os';
|
|
10
10
|
import 'node:path';
|
|
11
|
-
import './package-
|
|
11
|
+
import './package-Do0Y9bGA.mjs';
|
|
12
12
|
import 'node:fs/promises';
|
|
13
13
|
import './processTreeSnapshot-CuLJDNC-.mjs';
|
|
14
14
|
import 'node:child_process';
|
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
3
|
+
var logger = require('./logger-CIUMiSLo.cjs');
|
|
4
4
|
var require$$0 = require('fs');
|
|
5
5
|
var child_process = require('child_process');
|
|
6
6
|
var trimIdent = require('./trimIdent-4gvk9Wk6.cjs');
|
|
7
7
|
var os = require('os');
|
|
8
8
|
require('chalk');
|
|
9
9
|
require('node:util');
|
|
10
|
-
require('./configuration-
|
|
10
|
+
require('./configuration-CwfmwaLU.cjs');
|
|
11
11
|
require('node:fs');
|
|
12
12
|
require('node:os');
|
|
13
13
|
require('node:path');
|
|
14
|
-
require('./package-
|
|
14
|
+
require('./package-CRDjc5vK.cjs');
|
|
15
15
|
require('node:fs/promises');
|
|
16
16
|
|
|
17
17
|
const PLIST_LABEL = "com.happy-cli.daemon";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
1
|
+
import { l as logger } from './logger-BjXkscIr.mjs';
|
|
2
2
|
import { existsSync, writeFileSync, chmodSync } from 'fs';
|
|
3
3
|
import { execSync } from 'child_process';
|
|
4
4
|
import { t as trimIdent } from './trimIdent-BAjmv_TG.mjs';
|
|
5
5
|
import os from 'os';
|
|
6
6
|
import 'chalk';
|
|
7
7
|
import 'node:util';
|
|
8
|
-
import './configuration-
|
|
8
|
+
import './configuration-HPdj5Til.mjs';
|
|
9
9
|
import 'node:fs';
|
|
10
10
|
import 'node:os';
|
|
11
11
|
import 'node:path';
|
|
12
|
-
import './package-
|
|
12
|
+
import './package-Do0Y9bGA.mjs';
|
|
13
13
|
import 'node:fs/promises';
|
|
14
14
|
|
|
15
15
|
const PLIST_LABEL = "com.happy-cli.daemon";
|
package/dist/lib.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var api = require('./api-
|
|
4
|
-
var logger = require('./logger-
|
|
5
|
-
var configuration = require('./configuration-
|
|
3
|
+
var api = require('./api-BSz8MYte.cjs');
|
|
4
|
+
var logger = require('./logger-CIUMiSLo.cjs');
|
|
5
|
+
var configuration = require('./configuration-CwfmwaLU.cjs');
|
|
6
6
|
var types = require('./types-CRS-srZK.cjs');
|
|
7
7
|
require('axios');
|
|
8
|
-
require('./lidState-
|
|
8
|
+
require('./lidState-wwiu6M3p.cjs');
|
|
9
9
|
require('./authRelay-Dy1qU9td.cjs');
|
|
10
10
|
require('node:crypto');
|
|
11
11
|
require('tweetnacl');
|
|
@@ -13,14 +13,14 @@ require('os');
|
|
|
13
13
|
require('child_process');
|
|
14
14
|
require('node:events');
|
|
15
15
|
require('socket.io-client');
|
|
16
|
-
require('./pushNotifications-
|
|
16
|
+
require('./pushNotifications-C651e0ZZ.cjs');
|
|
17
17
|
require('zod');
|
|
18
|
-
require('./index-
|
|
18
|
+
require('./index-Ub-5xbcU.cjs');
|
|
19
19
|
require('@paralleldrive/cuid2');
|
|
20
20
|
require('./contentLogMetadata-ZSFk_NjQ.cjs');
|
|
21
21
|
require('./limits-C-a7gr04.cjs');
|
|
22
|
-
require('./time-
|
|
23
|
-
require('./registerCommonHandlers-
|
|
22
|
+
require('./time-BCGGrWp4.cjs');
|
|
23
|
+
require('./registerCommonHandlers-K-BTp2iR.cjs');
|
|
24
24
|
require('util');
|
|
25
25
|
require('fs/promises');
|
|
26
26
|
require('crypto');
|
|
@@ -28,17 +28,17 @@ require('path');
|
|
|
28
28
|
require('cross-spawn');
|
|
29
29
|
require('./projectPath-C3ioB4Bu.cjs');
|
|
30
30
|
require('url');
|
|
31
|
-
require('./sync-
|
|
31
|
+
require('./sync-DliZ1zZh.cjs');
|
|
32
32
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
33
|
-
require('./controlClient-
|
|
34
|
-
require('./persistence-
|
|
33
|
+
require('./controlClient-DTMI1aTp.cjs');
|
|
34
|
+
require('./persistence-CNWBdUH2.cjs');
|
|
35
35
|
require('node:fs/promises');
|
|
36
36
|
require('node:fs');
|
|
37
37
|
require('chalk');
|
|
38
38
|
require('node:util');
|
|
39
39
|
require('node:path');
|
|
40
40
|
require('node:os');
|
|
41
|
-
require('./package-
|
|
41
|
+
require('./package-CRDjc5vK.cjs');
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
package/dist/lib.d.cts
CHANGED
|
@@ -1219,6 +1219,8 @@ declare class ApiSessionClient extends EventEmitter {
|
|
|
1219
1219
|
private readonly receiveSync;
|
|
1220
1220
|
private readonly directInboundLocalIds;
|
|
1221
1221
|
private readonly routedInboundLocalIds;
|
|
1222
|
+
/** B-806: seqs above `lastSeq` our own POSTs confirmed (see inboundCursor.ts). */
|
|
1223
|
+
private readonly handledSeqs;
|
|
1222
1224
|
private handoverInFlight;
|
|
1223
1225
|
/** B-265 reconnect: the message cursor was seeded from the server, so
|
|
1224
1226
|
* nothing before it is history to replay — but socket fast-path routing
|
|
@@ -1303,6 +1305,15 @@ declare class ApiSessionClient extends EventEmitter {
|
|
|
1303
1305
|
* keeps this pending rather than resolving early.
|
|
1304
1306
|
*/
|
|
1305
1307
|
drainOutbox(): Promise<boolean>;
|
|
1308
|
+
/**
|
|
1309
|
+
* B-806: an ack proves only OUR messages exist. Hold them as handled and
|
|
1310
|
+
* move the cursor through a contiguous run; a gap below them (a Web
|
|
1311
|
+
* message whose update has not been applied) is filled by a fetch.
|
|
1312
|
+
*/
|
|
1313
|
+
private noteHandledSeqs;
|
|
1314
|
+
private advanceCursorThroughHandled;
|
|
1315
|
+
/** Our own output (acked, or still in flight) seen on the inbound path: never routed. */
|
|
1316
|
+
private isOwnOutbound;
|
|
1306
1317
|
private rememberRoutedInbound;
|
|
1307
1318
|
private rememberDirectInbound;
|
|
1308
1319
|
private connectSessionRelay;
|
package/dist/lib.d.mts
CHANGED
|
@@ -1219,6 +1219,8 @@ declare class ApiSessionClient extends EventEmitter {
|
|
|
1219
1219
|
private readonly receiveSync;
|
|
1220
1220
|
private readonly directInboundLocalIds;
|
|
1221
1221
|
private readonly routedInboundLocalIds;
|
|
1222
|
+
/** B-806: seqs above `lastSeq` our own POSTs confirmed (see inboundCursor.ts). */
|
|
1223
|
+
private readonly handledSeqs;
|
|
1222
1224
|
private handoverInFlight;
|
|
1223
1225
|
/** B-265 reconnect: the message cursor was seeded from the server, so
|
|
1224
1226
|
* nothing before it is history to replay — but socket fast-path routing
|
|
@@ -1303,6 +1305,15 @@ declare class ApiSessionClient extends EventEmitter {
|
|
|
1303
1305
|
* keeps this pending rather than resolving early.
|
|
1304
1306
|
*/
|
|
1305
1307
|
drainOutbox(): Promise<boolean>;
|
|
1308
|
+
/**
|
|
1309
|
+
* B-806: an ack proves only OUR messages exist. Hold them as handled and
|
|
1310
|
+
* move the cursor through a contiguous run; a gap below them (a Web
|
|
1311
|
+
* message whose update has not been applied) is filled by a fetch.
|
|
1312
|
+
*/
|
|
1313
|
+
private noteHandledSeqs;
|
|
1314
|
+
private advanceCursorThroughHandled;
|
|
1315
|
+
/** Our own output (acked, or still in flight) seen on the inbound path: never routed. */
|
|
1316
|
+
private isOwnOutbound;
|
|
1306
1317
|
private rememberRoutedInbound;
|
|
1307
1318
|
private rememberDirectInbound;
|
|
1308
1319
|
private connectSessionRelay;
|
package/dist/lib.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { A as ApiClient, a as ApiSessionClient } from './api-
|
|
2
|
-
export { l as logger } from './logger-
|
|
3
|
-
export { c as configuration } from './configuration-
|
|
1
|
+
export { A as ApiClient, a as ApiSessionClient } from './api-BTS8mqLy.mjs';
|
|
2
|
+
export { l as logger } from './logger-BjXkscIr.mjs';
|
|
3
|
+
export { c as configuration } from './configuration-HPdj5Til.mjs';
|
|
4
4
|
export { R as RawJSONLinesSchema } from './types-CkqAACXx.mjs';
|
|
5
5
|
import 'axios';
|
|
6
|
-
import './lidState-
|
|
6
|
+
import './lidState-CG9jFcML.mjs';
|
|
7
7
|
import './authRelay-DhQhkBvX.mjs';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'tweetnacl';
|
|
@@ -11,14 +11,14 @@ import 'os';
|
|
|
11
11
|
import 'child_process';
|
|
12
12
|
import 'node:events';
|
|
13
13
|
import 'socket.io-client';
|
|
14
|
-
import './pushNotifications-
|
|
14
|
+
import './pushNotifications-DnpJJ7VR.mjs';
|
|
15
15
|
import 'zod';
|
|
16
|
-
import './index-
|
|
16
|
+
import './index-DisBaRvM.mjs';
|
|
17
17
|
import '@paralleldrive/cuid2';
|
|
18
18
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
19
19
|
import './limits-DIo7rEBR.mjs';
|
|
20
|
-
import './time-
|
|
21
|
-
import './registerCommonHandlers-
|
|
20
|
+
import './time-BbJ-NWcl.mjs';
|
|
21
|
+
import './registerCommonHandlers-DpBxSCBi.mjs';
|
|
22
22
|
import 'util';
|
|
23
23
|
import 'fs/promises';
|
|
24
24
|
import 'crypto';
|
|
@@ -26,14 +26,14 @@ import 'path';
|
|
|
26
26
|
import 'cross-spawn';
|
|
27
27
|
import './projectPath-BTBIMB57.mjs';
|
|
28
28
|
import 'url';
|
|
29
|
-
import './sync
|
|
29
|
+
import './sync-HPnxI4fz.mjs';
|
|
30
30
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
31
|
-
import './controlClient-
|
|
32
|
-
import './persistence-
|
|
31
|
+
import './controlClient-DBylxaEh.mjs';
|
|
32
|
+
import './persistence-CmVwM5uq.mjs';
|
|
33
33
|
import 'node:fs/promises';
|
|
34
34
|
import 'node:fs';
|
|
35
35
|
import 'chalk';
|
|
36
36
|
import 'node:util';
|
|
37
37
|
import 'node:path';
|
|
38
38
|
import 'node:os';
|
|
39
|
-
import './package-
|
|
39
|
+
import './package-Do0Y9bGA.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
1
|
+
import { l as logger } from './logger-BjXkscIr.mjs';
|
|
2
2
|
import { e as encodeBase64, g as encrypt, h as decrypt, d as decodeBase64 } from './authRelay-DhQhkBvX.mjs';
|
|
3
3
|
import os from 'os';
|
|
4
4
|
import { execSync } from 'child_process';
|
|
@@ -4,7 +4,7 @@ import { join } from 'node:path';
|
|
|
4
4
|
import tweetnacl from 'tweetnacl';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { c as credentialRelayProblem, d as decodeBase64 } from './authRelay-DhQhkBvX.mjs';
|
|
7
|
-
import { c as configuration } from './configuration-
|
|
7
|
+
import { c as configuration } from './configuration-HPdj5Til.mjs';
|
|
8
8
|
|
|
9
9
|
const AgentCredentialsSchema = z.object({
|
|
10
10
|
token: z.string().min(1),
|
|
@@ -6,7 +6,7 @@ var path = require('node:path');
|
|
|
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-
|
|
9
|
+
var configuration = require('./configuration-CwfmwaLU.cjs');
|
|
10
10
|
|
|
11
11
|
const AgentCredentialsSchema = z.z.object({
|
|
12
12
|
token: z.z.string().min(1),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
2
|
import { inspect } from 'node:util';
|
|
3
|
-
import { d as appendPrivateFileSync, c as configuration } from './configuration-
|
|
3
|
+
import { d as appendPrivateFileSync, c as configuration } from './configuration-HPdj5Til.mjs';
|
|
4
4
|
import { existsSync, readdirSync, statSync } from 'node:fs';
|
|
5
5
|
import { join, basename } from 'node:path';
|
|
6
6
|
|
|
@@ -236,7 +236,7 @@ async function listDaemonLogFiles(limit = 50) {
|
|
|
236
236
|
return { file, path: fullPath, modified: stats.mtime };
|
|
237
237
|
}).sort((a, b) => b.modified.getTime() - a.modified.getTime());
|
|
238
238
|
try {
|
|
239
|
-
const { readDaemonState } = await import('./persistence-
|
|
239
|
+
const { readDaemonState } = await import('./persistence-CmVwM5uq.mjs').then(function (n) { return n.F; });
|
|
240
240
|
const state = await readDaemonState();
|
|
241
241
|
if (!state) {
|
|
242
242
|
return logs;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var node_util = require('node:util');
|
|
5
|
-
var configuration = require('./configuration-
|
|
5
|
+
var configuration = require('./configuration-CwfmwaLU.cjs');
|
|
6
6
|
var node_fs = require('node:fs');
|
|
7
7
|
var path = require('node:path');
|
|
8
8
|
|
|
@@ -238,7 +238,7 @@ async function listDaemonLogFiles(limit = 50) {
|
|
|
238
238
|
return { file, path: fullPath, modified: stats.mtime };
|
|
239
239
|
}).sort((a, b) => b.modified.getTime() - a.modified.getTime());
|
|
240
240
|
try {
|
|
241
|
-
const { readDaemonState } = await Promise.resolve().then(function () { return require('./persistence-
|
|
241
|
+
const { readDaemonState } = await Promise.resolve().then(function () { return require('./persistence-CNWBdUH2.cjs'); }).then(function (n) { return n.persistence; });
|
|
242
242
|
const state = await readDaemonState();
|
|
243
243
|
if (!state) {
|
|
244
244
|
return logs;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var os = require('node:os');
|
|
4
|
-
var _package = require('./package-
|
|
5
|
-
var configuration = require('./configuration-
|
|
4
|
+
var _package = require('./package-CRDjc5vK.cjs');
|
|
5
|
+
var configuration = require('./configuration-CwfmwaLU.cjs');
|
|
6
6
|
var projectPath = require('./projectPath-C3ioB4Bu.cjs');
|
|
7
7
|
var detectCLI = require('./detectCLI-BuYR_Qxe.cjs');
|
|
8
|
-
var localHappyAgentAuth = require('./localHappyAgentAuth-
|
|
8
|
+
var localHappyAgentAuth = require('./localHappyAgentAuth-UoytSUX0.cjs');
|
|
9
9
|
var fsMkdir = require('./fsMkdir-0K3yENml.cjs');
|
|
10
10
|
|
|
11
11
|
const TEAM_RETRY_CAPABILITY_VERSION = 2;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import os from 'node:os';
|
|
2
|
-
import { p as packageJson } from './package-
|
|
3
|
-
import { c as configuration } from './configuration-
|
|
2
|
+
import { p as packageJson } from './package-Do0Y9bGA.mjs';
|
|
3
|
+
import { c as configuration } from './configuration-HPdj5Til.mjs';
|
|
4
4
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
5
5
|
import { d as detectCLIAvailability } from './detectCLI-CSGMlV51.mjs';
|
|
6
|
-
import { d as detectResumeSupport } from './localHappyAgentAuth-
|
|
6
|
+
import { d as detectResumeSupport } from './localHappyAgentAuth-CWha8BiX.mjs';
|
|
7
7
|
import { F as FS_MKDIR_CAPABILITY_VERSION } from './fsMkdir-DumgLTzR.mjs';
|
|
8
8
|
|
|
9
9
|
const TEAM_RETRY_CAPABILITY_VERSION = 2;
|