very-happy-cli 0.2.202 → 0.2.204
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-Z51picBa.mjs → AcpBackend-BBfcpIDj.mjs} +3 -3
- package/dist/{AcpBackend-BRcPXur6.cjs → AcpBackend-BupxHXGp.cjs} +3 -3
- package/dist/{AcpSessionManager-BCGqL1Em.mjs → AcpSessionManager-B9UkPYGi.mjs} +2 -2
- package/dist/{AcpSessionManager-BckOYH3I.cjs → AcpSessionManager-JJrnenKM.cjs} +2 -2
- package/dist/{BasePermissionHandler-BYIY3kxs.cjs → BasePermissionHandler-86_xnisC.cjs} +1 -1
- package/dist/{BasePermissionHandler-BhJjr-wB.mjs → BasePermissionHandler-tGylJLUH.mjs} +1 -1
- package/dist/{account-B-HTHZKw.mjs → account-BRqUOj_D.mjs} +11 -11
- package/dist/{account-B0Wu7rJR.cjs → account-C91_R-kw.cjs} +11 -11
- package/dist/{accountService-DEpIq6CF.mjs → accountService-CqrWNH8K.mjs} +4 -4
- package/dist/{accountService-Cns8UYGI.cjs → accountService-SOeB_21A.cjs} +4 -4
- package/dist/{acpSessionResume-BKjQRT4V.mjs → acpSessionResume-CZQ91ano.mjs} +1 -1
- package/dist/{acpSessionResume-C8Kd8eK6.cjs → acpSessionResume-DK8EjIY0.cjs} +1 -1
- package/dist/{agentHome-BXiCouR4.mjs → agentHome-71zGywwx.mjs} +4 -4
- package/dist/{agentHome-DnxSf1ox.cjs → agentHome-BZvbPuy1.cjs} +4 -4
- package/dist/{api-Cu1OFHDM.mjs → api-BYh1VGBa.mjs} +107 -18
- package/dist/{api-B-FB-s4z.cjs → api-BoJA-zK3.cjs} +107 -18
- package/dist/{apiMachine-DYGPILVb.mjs → apiMachine--_eI4PTv.mjs} +105 -21
- package/dist/{apiMachine-DCWgI1l_.cjs → apiMachine-CA58NM_V.cjs} +105 -21
- package/dist/{attachmentContent-Dq8P5ODq.mjs → attachmentContent-D95cCBX5.mjs} +2 -2
- package/dist/{attachmentContent-dXwHB_3C.cjs → attachmentContent-y621KwMz.cjs} +2 -2
- package/dist/{auth-DpIHm7Lb.cjs → auth-CAkpHr8F.cjs} +5 -5
- package/dist/{auth-D11uvx2P.mjs → auth-DCzFx5BN.mjs} +8 -8
- package/dist/{auth-CgdE-j7z.mjs → auth-DRJ_WPn3.mjs} +5 -5
- package/dist/{auth-BVNBE4B1.cjs → auth-Dofm64Kp.cjs} +8 -8
- package/dist/{auto-WdjHKP9R.mjs → auto-CrgOy5OR.mjs} +18 -18
- package/dist/{auto-Ba2b-il4.cjs → auto-D4IBwJEE.cjs} +18 -18
- package/dist/{bootstrap-CsZO_jkL.cjs → bootstrap-D16MMPNP.cjs} +2 -2
- package/dist/{bootstrap-BTYJf2w8.mjs → bootstrap-PnL2FX64.mjs} +2 -2
- package/dist/{browser-Dx3UOVPP.mjs → browser-D2enJJfv.mjs} +1 -1
- package/dist/{browser-DgufCq1K.cjs → browser-DK2GfyEr.cjs} +1 -1
- package/dist/{claudeAccountEnv-Btp39mfa.cjs → claudeAccountEnv-BTZjHTpF.cjs} +1 -1
- package/dist/{claudeAccountEnv-DowsOlDB.mjs → claudeAccountEnv-C6Wl-ZbT.mjs} +1 -1
- package/dist/{claudeLocal-ylDKcvX0.mjs → claudeLocal-BbzN1qly.mjs} +5 -5
- package/dist/{claudeLocal-Q0FgzhTu.cjs → claudeLocal-DaqiRW9N.cjs} +5 -5
- package/dist/{claudeLocalLauncher-D2rZvuaW.cjs → claudeLocalLauncher-B0qbyOUc.cjs} +10 -10
- package/dist/{claudeLocalLauncher-CtybsaR8.mjs → claudeLocalLauncher-D7bhZ9rp.mjs} +10 -10
- package/dist/claudeLongContext-BR_zdjUp.cjs +239 -0
- package/dist/claudeLongContext-CZ60xo5p.mjs +219 -0
- package/dist/{claudeSessionFork-DRLxmv9j.mjs → claudeSessionFork-BPF3cpGs.mjs} +1 -1
- package/dist/{claudeSessionFork-BrstQPE4.cjs → claudeSessionFork-lcajftLB.cjs} +1 -1
- package/dist/{client-DfT_CRwl.mjs → client-BH4s6mzX.mjs} +2 -2
- package/dist/{client-D0oBXuEe.mjs → client-BHt14nix.mjs} +2 -2
- package/dist/{client-xV99weGP.cjs → client-ByK8-iRd.cjs} +3 -3
- package/dist/{client-CNWx72ZT.cjs → client-CqmT_ur8.cjs} +2 -2
- package/dist/{client-Dq7jaxb2.cjs → client-D5_YDMpA.cjs} +2 -2
- package/dist/{client-DJsXNJWO.mjs → client-Og5iNZ6S.mjs} +17 -8
- package/dist/{client-Cj7D61by.mjs → client-t1vQ7gho.mjs} +3 -3
- package/dist/{client-Ch4Azlny.cjs → client-xA44FUnf.cjs} +17 -8
- package/dist/codex/happyMcpStdioBridge.cjs +20 -19
- package/dist/codex/happyMcpStdioBridge.mjs +20 -19
- package/dist/{codexAccount-CieIQLOX.mjs → codexAccount-BPQ-lPhH.mjs} +1 -1
- package/dist/{codexAccount-D-OBY29W.cjs → codexAccount-BjaHvmKH.cjs} +1 -1
- package/dist/{codexAppServerClient-DtdCZ7_b.mjs → codexAppServerClient-CvL3eBlM.mjs} +3 -3
- package/dist/{codexAppServerClient-BwBPZonh.cjs → codexAppServerClient-CyLtj1kP.cjs} +3 -3
- package/dist/{codexCommand-CsY9YFiG.cjs → codexCommand-B0Slfvne.cjs} +67 -56
- package/dist/{codexCommand-D92AQCLU.mjs → codexCommand-CXytYlk9.mjs} +67 -56
- package/dist/{codexTermination-BbXG2oFT.cjs → codexTermination-CykPnK3G.cjs} +1 -1
- package/dist/{codexTermination-rhIxjRMJ.mjs → codexTermination-D0sBaTvW.mjs} +1 -1
- package/dist/{config-Zhkmfb3O.cjs → config-7Z5qIB3k.cjs} +3 -3
- package/dist/{config-BnN1yFyi.mjs → config-DeXK_5y4.mjs} +3 -3
- package/dist/{configuration-DZUnfWp2.cjs → configuration-CDqmWkHO.cjs} +1 -1
- package/dist/{configuration-CQaLZMa-.mjs → configuration-D_YrWa_i.mjs} +1 -1
- package/dist/{connect-DY5QLfbI.mjs → connect-CivOym_v.mjs} +13 -13
- package/dist/{connect-BToTf3Gy.cjs → connect-D_tzdR4l.cjs} +13 -13
- package/dist/{context-ByTvtMXZ.mjs → context-DXfkj_FL.mjs} +1 -1
- package/dist/{context-BHydzPZw.cjs → context-k2CbuBtp.cjs} +1 -1
- package/dist/{controlClient-Bfwe0Xpt.cjs → controlClient-BS86Ksm8.cjs} +12 -3
- package/dist/{controlClient-Cqhd8ynk.mjs → controlClient-Daki7wgo.mjs} +12 -4
- package/dist/{createSessionMetadata-D_qa01wq.cjs → createSessionMetadata-2s80RDL1.cjs} +2 -2
- package/dist/{createSessionMetadata-tmhDzhJZ.mjs → createSessionMetadata-B_hQ8lDn.mjs} +2 -2
- package/dist/{daemonAccounts-ciidbU2h.cjs → daemonAccounts-BOoI7-sw.cjs} +2 -2
- package/dist/{daemonAccounts-D5shoCLt.mjs → daemonAccounts-BtkmoJmC.mjs} +3 -3
- package/dist/{defaultPermissionMode-DgeiMMqy.mjs → defaultPermissionMode-CYQi7vqJ.mjs} +1 -1
- package/dist/{defaultPermissionMode-Cs_Tv83b.cjs → defaultPermissionMode-DmLYaaL8.cjs} +1 -1
- package/dist/{deterministicJson-DRL1Gs_c.mjs → deterministicJson-DKiOtrSA.mjs} +23 -16
- package/dist/{deterministicJson-CbUdClvO.cjs → deterministicJson-lwG_VzWd.cjs} +23 -16
- package/dist/{doctor-DHCmWcwR.cjs → doctor-C0kONAQn.cjs} +7 -7
- package/dist/{doctor-Wu0yZ80l.mjs → doctor-DegBfYjz.mjs} +7 -7
- package/dist/{downloadTarget-BoJrjpEe.cjs → downloadTarget-BTEVg8t6.cjs} +6 -6
- package/dist/{downloadTarget-G72yKQcM.mjs → downloadTarget-osakJyyA.mjs} +6 -6
- package/dist/{ensureDaemonRunning-BKGybp3s.mjs → ensureDaemonRunning-ED6UVEbk.mjs} +5 -5
- package/dist/{ensureDaemonRunning-CnkyGd9x.cjs → ensureDaemonRunning-vxHxmXo2.cjs} +5 -5
- package/dist/exitNotice-BhRrv8dx.cjs +88 -0
- package/dist/exitNotice-D1tMULzu.mjs +79 -0
- package/dist/{forkBackfill-DYIjlN1Z.mjs → forkBackfill-C9EfJ64O.mjs} +28 -2
- package/dist/{forkBackfill-8eLDeS73.cjs → forkBackfill-D2WW91fz.cjs} +28 -1
- package/dist/{format-DePME4uu.cjs → format-9KvRMdvY.cjs} +1 -1
- package/dist/{format-BSx-Nv2p.mjs → format-DJwRUrQm.mjs} +1 -1
- package/dist/{handleResumeCommand-uKzhaOVC.cjs → handleResumeCommand-0lsgLgBB.cjs} +5 -5
- package/dist/{handleResumeCommand-DrJdhjLD.mjs → handleResumeCommand-PfKmR-hv.mjs} +5 -5
- package/dist/{index-C-eSUhXW.mjs → index-BNcFxRSt.mjs} +4 -4
- package/dist/{index-44o_qMvE.cjs → index-BYL_X3gP.cjs} +27 -6
- package/dist/{index-Bi7Lmykl.cjs → index-B_narjYR.cjs} +45 -44
- package/dist/{index-DDOCSeEj.cjs → index-Bm_9wBaO.cjs} +4 -4
- package/dist/{index-CoBaGAA4.cjs → index-C7yXrMau.cjs} +3 -3
- package/dist/{index-BcYJJV-f.mjs → index-CUJZx4cs.mjs} +3 -3
- package/dist/{index-fNsf-8K-.mjs → index-CUeuMsap.mjs} +4 -4
- package/dist/{index-CowtCbZ_.mjs → index-D1rxFJ2b.mjs} +46 -45
- package/dist/{index-CiRMvS73.mjs → index-DWk-WTU-.mjs} +24 -7
- package/dist/{index-BKXqaux4.cjs → index-l8Xg3Mbf.cjs} +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-0TkucJrC.mjs → install-B593oYZs.mjs} +3 -3
- package/dist/{install-Ddc8TlWE.cjs → install-C0I1a5sL.cjs} +3 -3
- package/dist/{issue-CIfzJuaS.cjs → issue-CJrXCpnf.cjs} +8 -8
- package/dist/{issue-CML2xa46.mjs → issue-D9ukoK-U.mjs} +8 -8
- package/dist/lib.cjs +12 -12
- package/dist/lib.d.cts +42 -1
- package/dist/lib.d.mts +42 -1
- package/dist/lib.mjs +12 -12
- package/dist/{localHappyAgentAuth-BUX4E1ug.mjs → localHappyAgentAuth-CxNcSjMM.mjs} +1 -1
- package/dist/{localHappyAgentAuth-WLqXQbc6.cjs → localHappyAgentAuth-D3GKuEC2.cjs} +1 -1
- package/dist/{logger-BEVIGYKL.mjs → logger-BcdURxNR.mjs} +2 -2
- package/dist/{logger-Dhc0l3xH.cjs → logger-C8anCmdW.cjs} +2 -2
- package/dist/{machineMetadata-BQdp_ihk.mjs → machineMetadata-BQaQQk6Z.mjs} +3 -3
- package/dist/{machineMetadata-ixKckJ7k.cjs → machineMetadata-DYWtdEtE.cjs} +3 -3
- package/dist/{main-BNBYOcQb.cjs → main-Bw7qSCWA.cjs} +48 -48
- package/dist/{main-BzQSe4Zu.mjs → main-KsUdHnwc.mjs} +48 -48
- package/dist/{mcp-BwskAxOK.cjs → mcp-CxPUFOEd.cjs} +20 -18
- package/dist/{mcp-BueI4Bel.mjs → mcp-OeLaQ2XR.mjs} +20 -18
- package/dist/{mirrorProtocol-5aFYsCCe.mjs → mirrorProtocol-Sj0yEHHU.mjs} +3 -3
- package/dist/{mirrorProtocol-DGMmhArw.cjs → mirrorProtocol-cTQcrW55.cjs} +3 -3
- package/dist/{package-CAmlKYcH.cjs → package-DkpXQvp1.cjs} +7 -7
- package/dist/{package-aOUtHYRZ.mjs → package-Dx3hbh9J.mjs} +7 -7
- package/dist/{panels-By2IDfXv.cjs → panels-CPNZnwCH.cjs} +5 -5
- package/dist/{panels-BeVMgmRW.mjs → panels-DKYO14Sq.mjs} +5 -5
- package/dist/{peerTools-BkRgJomj.mjs → peerTools-DYFslv6R.mjs} +5 -5
- package/dist/{peerTools-dgllF1wT.cjs → peerTools-DpCWFxI6.cjs} +5 -5
- package/dist/{persistence-EuUaQKL7.mjs → persistence-3iZXGbfb.mjs} +2 -2
- package/dist/{persistence-05BAS4Ou.cjs → persistence-Ch78xygf.cjs} +2 -2
- package/dist/{piRunnerArgs-DkjCRPYn.cjs → piRunnerArgs-CA6jqQ0k.cjs} +1 -1
- package/dist/{piRunnerArgs-CygWrAwY.mjs → piRunnerArgs-DEuYl6FL.mjs} +1 -1
- package/dist/{piRuntime-zY2jIQod.cjs → piRuntime-BIVHf-hN.cjs} +1 -1
- package/dist/{piRuntime-LRW_t6ME.mjs → piRuntime-CyN43ILm.mjs} +1 -1
- package/dist/{piTerminal-BhlPA1HR.mjs → piTerminal-DXz5L73L.mjs} +22 -20
- package/dist/{piTerminal-BfZshXGh.cjs → piTerminal-Hw4StZWN.cjs} +22 -20
- package/dist/{pushNotifications-DaVlLe7N.cjs → pushNotifications-D2ejrxlN.cjs} +17 -3
- package/dist/{pushNotifications-B7Ga8Zyf.mjs → pushNotifications-Db1NGJiA.mjs} +17 -3
- package/dist/{query-BQLtwpr9.mjs → query-CeYpZWVb.mjs} +1 -1
- package/dist/{query-CX0Of89i.cjs → query-velpFYxW.cjs} +1 -1
- package/dist/{rateLimitWindows-hv2zLYid.mjs → rateLimitWindows-BSQttrPk.mjs} +1 -1
- package/dist/{rateLimitWindows-CpSOlXBt.cjs → rateLimitWindows-C78D8Uf-.cjs} +1 -1
- package/dist/{reconnectGate-DO_ZQmJE.mjs → reconnectGate-Ie4nSKNl.mjs} +1 -1
- package/dist/{reconnectGate-B_aJrehH.cjs → reconnectGate-S9yNiuY7.cjs} +1 -1
- package/dist/{registerCommonHandlers-em2elV3l.cjs → registerCommonHandlers-51llVpLx.cjs} +2 -2
- package/dist/{registerCommonHandlers-BEpK4WD2.mjs → registerCommonHandlers-BR7BeGX3.mjs} +2 -2
- package/dist/{registerKillSessionHandler-D4ZQvsH2.cjs → registerKillSessionHandler-BjY79qBi.cjs} +6 -6
- package/dist/{registerKillSessionHandler-D-dDzI2n.mjs → registerKillSessionHandler-RbWPmKnK.mjs} +6 -6
- package/dist/{registerSideQuestionHandler-BIOLUe2U.cjs → registerSideQuestionHandler-B1Xk7dFK.cjs} +4 -4
- package/dist/{registerSideQuestionHandler-okUy9Q_-.mjs → registerSideQuestionHandler-BbYT7QfR.mjs} +4 -4
- package/dist/{remoteSessionClient-CzjLyL9c.mjs → remoteSessionClient-Ddns3U8M.mjs} +5 -5
- package/dist/{remoteSessionClient-BLWFXMBo.cjs → remoteSessionClient-r-UnqHor.cjs} +5 -5
- package/dist/{reportProgressTool-DcNBXBw8.cjs → reportProgressTool-ByadxJtc.cjs} +5 -5
- package/dist/{reportProgressTool-CNi0Vqqm.mjs → reportProgressTool-C3sf9D8m.mjs} +5 -5
- package/dist/{run-D59Gb4SQ.mjs → run-jsINwBOz.mjs} +200 -55
- package/dist/{run-bzlz4DI1.cjs → run-r5sY3wHk.cjs} +200 -55
- package/dist/{runClaude-kVp1PKab.cjs → runClaude-CRKsRfnq.cjs} +53 -38
- package/dist/{runClaude-DZtdmcXK.mjs → runClaude-D8CuiZhi.mjs} +44 -29
- package/dist/{runClaudeDeps-BHv9FkVz.cjs → runClaudeDeps-BiVzNIE6.cjs} +129 -61
- package/dist/{runClaudeDeps-D83tR1KP.mjs → runClaudeDeps-CUuPWcg9.mjs} +125 -57
- package/dist/{runGemini-W-0t7skM.cjs → runGemini-DANnc0BW.cjs} +36 -35
- package/dist/{runGemini-DLc_bL4E.mjs → runGemini-cqVZjPT6.mjs} +36 -35
- package/dist/{runOpenClaw-mm-hKxMC.mjs → runOpenClaw-B6V2nz8J.mjs} +18 -18
- package/dist/{runOpenClaw-BsqbOw8R.cjs → runOpenClaw-CGwc6mfJ.cjs} +18 -18
- package/dist/{sandbox-DrWJss7J.cjs → sandbox-CNheYPva.cjs} +4 -4
- package/dist/{sandbox-DXbKl-Os.mjs → sandbox-JYBMckKE.mjs} +4 -4
- package/dist/{selfCheck-CVXucSXR.cjs → selfCheck-DtSEBt0g.cjs} +40 -40
- package/dist/selfCheck-Jjy_wMw3.mjs +89 -0
- package/dist/{send-Cdda78Iw.mjs → send-BHrbbGJ7.mjs} +8 -8
- package/dist/{send-D7pRBaht.cjs → send-DNdJR3n8.cjs} +8 -8
- package/dist/{server-BI6defPs.cjs → server-CvP_b3eb.cjs} +6 -6
- package/dist/{server-CNilQcJK.mjs → server-DhQjVsyZ.mjs} +4 -4
- package/dist/{sessionLock-CVjlaRSL.mjs → sessionLock-5i516L-w.mjs} +21 -4
- package/dist/{sessionLock-Bjsy90aM.cjs → sessionLock-UkF8M3j5.cjs} +22 -3
- package/dist/{sessionOps-CvmOHwGP.cjs → sessionOps-D77IeFSt.cjs} +4 -4
- package/dist/{sessionOps-CV5RUpwG.mjs → sessionOps-DX49XNAT.mjs} +4 -4
- package/dist/{sessionProvider-BmO4ahnt.mjs → sessionProvider-C5xW4Dt3.mjs} +10 -10
- package/dist/{sessionProvider-4sWr0Myr.cjs → sessionProvider-mSI2UgLX.cjs} +10 -10
- package/dist/{sessionScanner-DZBiEOyb.cjs → sessionScanner-B1Am8D4Y.cjs} +3 -3
- package/dist/{sessionScanner-34Q0vTR3.mjs → sessionScanner-BZkOnp5a.mjs} +3 -3
- package/dist/{sessions-Cl435KQT.mjs → sessions-ClQFpjcA.mjs} +10 -10
- package/dist/{sessions-DjAXZWTX.cjs → sessions-DDDEiHVR.cjs} +10 -10
- package/dist/{setupOfflineReconnection-zebrb6U_.cjs → setupOfflineReconnection-Cn2_vuvO.cjs} +2 -2
- package/dist/{setupOfflineReconnection-BC5FJTkc.mjs → setupOfflineReconnection-PjK9laDd.mjs} +2 -2
- package/dist/{spawn-DqWdgMt_.mjs → spawn-BJGaxdot.mjs} +15 -15
- package/dist/{spawn-C8cJK9-m.cjs → spawn-DOj-sY6W.cjs} +15 -15
- package/dist/{spawnAgents-BclZYkov.mjs → spawnAgents-CcFKtKdX.mjs} +2 -1
- package/dist/{spawnAgents-DvbEDCIq.cjs → spawnAgents-D4lR468W.cjs} +2 -1
- package/dist/{spawnHappyCLI-BckHSjR0.mjs → spawnHappyCLI-CpOMz9hX.mjs} +1 -1
- package/dist/{spawnHappyCLI-CeWgULMt.cjs → spawnHappyCLI-DvxZ7elP.cjs} +1 -1
- package/dist/{startFileWatcher-CXZYt0y9.cjs → startFileWatcher-1ar7WS96.cjs} +1 -1
- package/dist/{startFileWatcher-BXiBlfVr.mjs → startFileWatcher-CPbPNFGY.mjs} +1 -1
- package/dist/{startupSessionCreate-CycB-kwu.cjs → startupSessionCreate-COc5Nnr9.cjs} +3 -3
- package/dist/{startupSessionCreate-D8hODW7I.mjs → startupSessionCreate-CnVaUZ16.mjs} +3 -3
- package/dist/{store-Cpb1LMNW.cjs → store-DGMILdMn.cjs} +1 -1
- package/dist/{store-DWmjM4Ex.mjs → store-Fge1h9wy.mjs} +1 -1
- package/dist/{streamRelay-DdGOsW8v.mjs → streamRelay-MaaYNNuh.mjs} +1 -1
- package/dist/{streamRelay-4XiiNB3N.cjs → streamRelay-keuifCPQ.cjs} +1 -1
- package/dist/{sync-BfM5OKSS.mjs → sync-BZji3J2r.mjs} +1 -1
- package/dist/{sync-CyUWevwD.cjs → sync-DzInYE_l.cjs} +1 -1
- package/dist/{systemPrompt-BUZQDf4k.cjs → systemPrompt-CvpjNmQL.cjs} +2 -2
- package/dist/{systemPrompt-Tu_2ixE3.mjs → systemPrompt-Dhdq8hGf.mjs} +2 -2
- package/dist/{teams-KjHee0Vg.cjs → teams-CRCbDPob.cjs} +20 -9
- package/dist/{teams-Cpdqvfe3.mjs → teams-CVW4ZvmW.mjs} +20 -9
- package/dist/{template-3fV9bi0X.cjs → template-ChUotPTL.cjs} +1 -1
- package/dist/{template-CtRLg2PG.mjs → template-D8fzlO58.mjs} +1 -1
- package/dist/{time-BQWf06hA.mjs → time-BWVJTcWI.mjs} +1 -1
- package/dist/{time-CbOTVtAt.cjs → time-UUMqbIq8.cjs} +1 -1
- package/dist/{titleGenerator-CpiQkf_r.cjs → titleGenerator-BHOA2Wkx.cjs} +3 -3
- package/dist/{titleGenerator-DYnqd0oI.mjs → titleGenerator-Ck82YoB7.mjs} +2 -2
- package/dist/{todo-DVrsXyKn.mjs → todo-Cf52TlmX.mjs} +8 -8
- package/dist/{todo-Cp6bRp62.cjs → todo-Cwo7joub.cjs} +8 -8
- package/dist/{tools-BFQm7xny.cjs → tools-DEErCtZG.cjs} +47 -27
- package/dist/{tools-XGAJepvT.mjs → tools-DmNaOlUF.mjs} +47 -27
- package/dist/{uninstall-C2LF0vtR.mjs → uninstall-B85MiNK2.mjs} +3 -3
- package/dist/{uninstall-Cyqq90JW.cjs → uninstall-CoAK4ANz.cjs} +3 -3
- package/dist/{wrapperAccount-nGGMJDBF.cjs → wrapperAccount-BHMM9I6g.cjs} +2 -2
- package/dist/{wrapperAccount-z8Swrd08.mjs → wrapperAccount-CwaA-n1S.mjs} +2 -2
- package/package.json +7 -7
- package/dist/permissionMode-CH4FoZfU.mjs +0 -80
- package/dist/permissionMode-CrV-XuMs.cjs +0 -87
- package/dist/selfCheck-B1XdrEbN.mjs +0 -89
|
@@ -1,97 +1,98 @@
|
|
|
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 { P as PROMPT_QUEUE_CAPABILITY, a as PROJECT_SESSION_CAPABILITY, I as ISSUE_SESSION_CAPABILITY,
|
|
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-BBfcpIDj.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-BBfcpIDj.mjs';
|
|
3
|
+
import { l as logger } from './logger-BcdURxNR.mjs';
|
|
4
|
+
import { A as AcpSessionManager } from './AcpSessionManager-B9UkPYGi.mjs';
|
|
5
|
+
import { P as PROMPT_QUEUE_CAPABILITY, a as PROJECT_SESSION_CAPABILITY, I as ISSUE_SESSION_CAPABILITY, a6 as PI_STEER_CAPABILITY, M as BUILTIN_TODO_DISCOVERY } from './index-DWk-WTU-.mjs';
|
|
6
|
+
import { h as hashObject, s as startHappyServer, r as readPiModelsJson, a as resolvePiContextUsage, c as createProjectInjector } from './deterministicJson-DKiOtrSA.mjs';
|
|
7
7
|
import { c as compactCommandText, C as COMPACT_UNSUPPORTED_NOTICE } from './specialCommands-MXUN0wfI.mjs';
|
|
8
8
|
import { r as registerAgentAttachmentDownloads, H as HeldInput } from './heldInput-C69lA2dH.mjs';
|
|
9
|
-
import { c as configuration } from './configuration-
|
|
10
|
-
import { a as stageClaudeAttachments, b as appendStagedAttachmentsToPrompt, C as CLAUDE_ATTACHMENT_KINDS } from './attachmentContent-
|
|
11
|
-
import { p as preparePiTeamsRuntime } from './piRuntime-
|
|
9
|
+
import { c as configuration } from './configuration-D_YrWa_i.mjs';
|
|
10
|
+
import { a as stageClaudeAttachments, b as appendStagedAttachmentsToPrompt, C as CLAUDE_ATTACHMENT_KINDS } from './attachmentContent-D95cCBX5.mjs';
|
|
11
|
+
import { p as preparePiTeamsRuntime } from './piRuntime-CyN43ILm.mjs';
|
|
12
12
|
import { randomUUID } from 'node:crypto';
|
|
13
13
|
import { join } from 'node:path';
|
|
14
|
-
import { c as connectionState, A as ApiClient } from './api-
|
|
14
|
+
import { c as connectionState, A as ApiClient } from './api-BYh1VGBa.mjs';
|
|
15
15
|
import { i as issueSessionMetadata } from './sessionMetadata-C1eoAi89.mjs';
|
|
16
|
-
import { s as sharedProjectsClient } from './client-
|
|
17
|
-
import { M as MessageQueue2, r as registerKillSessionHandler } from './registerKillSessionHandler-
|
|
18
|
-
import { r as readSettings, a as resolveCheckMs } from './persistence-
|
|
19
|
-
import { g as getInitialMachineMetadata } from './machineMetadata-
|
|
20
|
-
import { c as createSessionMetadata } from './createSessionMetadata-
|
|
21
|
-
import { s as setupOfflineReconnection } from './setupOfflineReconnection-
|
|
22
|
-
import { c as createSessionForStartup, H as HibernationProbe } from './startupSessionCreate-
|
|
23
|
-
import { n as notifyDaemonSessionStarted, c as checkDaemonHibernation,
|
|
16
|
+
import { s as sharedProjectsClient } from './client-BH4s6mzX.mjs';
|
|
17
|
+
import { M as MessageQueue2, r as registerKillSessionHandler } from './registerKillSessionHandler-RbWPmKnK.mjs';
|
|
18
|
+
import { r as readSettings, a as resolveCheckMs } from './persistence-3iZXGbfb.mjs';
|
|
19
|
+
import { g as getInitialMachineMetadata } from './machineMetadata-BQaQQk6Z.mjs';
|
|
20
|
+
import { c as createSessionMetadata } from './createSessionMetadata-B_hQ8lDn.mjs';
|
|
21
|
+
import { s as setupOfflineReconnection } from './setupOfflineReconnection-PjK9laDd.mjs';
|
|
22
|
+
import { c as createSessionForStartup, H as HibernationProbe } from './startupSessionCreate-CnVaUZ16.mjs';
|
|
23
|
+
import { n as notifyDaemonSessionStarted, c as checkDaemonHibernation, q as reportSessionEditToDaemon } from './controlClient-Daki7wgo.mjs';
|
|
24
24
|
import { d as decodeBase64, e as encodeBase64 } from './authRelay-DhQhkBvX.mjs';
|
|
25
|
-
import { A as AUTO_RESTART_CAPABILITY, c as claimSessionOrExit, a as applyServerSnapshot, w as withoutServerSnapshot, m as mergeReconnectMetadata, t as takeAutoRestartedEvent } from './sessionLock-
|
|
26
|
-
import { r as readAcpReconnectEnv, n as normalizeAcpPermissionMode, p as piRestartNotice, w as writeSessionModeFile, a as removeSessionModeFile } from './acpSessionResume-
|
|
25
|
+
import { A as AUTO_RESTART_CAPABILITY, c as claimSessionOrExit, a as applyServerSnapshot, w as withoutServerSnapshot, m as mergeReconnectMetadata, t as takeAutoRestartedEvent } from './sessionLock-5i516L-w.mjs';
|
|
26
|
+
import { r as readAcpReconnectEnv, n as normalizeAcpPermissionMode, p as piRestartNotice, w as writeSessionModeFile, a as removeSessionModeFile } from './acpSessionResume-CZQ91ano.mjs';
|
|
27
27
|
import { t as takeReconnectEnv } from './reconnectEnv-DeSvHl3q.mjs';
|
|
28
|
-
import { S as StreamRelay } from './streamRelay-
|
|
28
|
+
import { S as StreamRelay } from './streamRelay-MaaYNNuh.mjs';
|
|
29
29
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
30
|
-
import { B as BasePermissionHandler } from './BasePermissionHandler-
|
|
31
|
-
import { T as TitleGenerator } from './titleGenerator-
|
|
30
|
+
import { B as BasePermissionHandler } from './BasePermissionHandler-tGylJLUH.mjs';
|
|
31
|
+
import { T as TitleGenerator } from './titleGenerator-Ck82YoB7.mjs';
|
|
32
32
|
import { E as EditReportThrottle, e as extractAcpEditPaths } from './editPaths-BVfS_FFL.mjs';
|
|
33
33
|
import { readFileSync } from 'node:fs';
|
|
34
34
|
import { homedir } from 'node:os';
|
|
35
35
|
import 'node:child_process';
|
|
36
36
|
import '@agentclientprotocol/sdk';
|
|
37
|
-
import './time-
|
|
37
|
+
import './time-BWVJTcWI.mjs';
|
|
38
38
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
39
39
|
import './processTree-CP5IvQ2Z.mjs';
|
|
40
|
-
import './package-
|
|
40
|
+
import './package-Dx3hbh9J.mjs';
|
|
41
41
|
import 'chalk';
|
|
42
42
|
import 'node:util';
|
|
43
43
|
import '@paralleldrive/cuid2';
|
|
44
44
|
import 'zod';
|
|
45
45
|
import './prompt-QHuFx9j6.mjs';
|
|
46
|
-
import './client-
|
|
47
|
-
import './
|
|
48
|
-
import './
|
|
46
|
+
import './client-t1vQ7gho.mjs';
|
|
47
|
+
import './exitNotice-D1tMULzu.mjs';
|
|
48
|
+
import './reportProgressTool-C3sf9D8m.mjs';
|
|
49
|
+
import './client-BHt14nix.mjs';
|
|
49
50
|
import './precheckCompat-DeEbilbr.mjs';
|
|
50
|
-
import './format-
|
|
51
|
+
import './format-DJwRUrQm.mjs';
|
|
51
52
|
import './agentGuidance-BDYt2Qy2.mjs';
|
|
52
53
|
import './trimIdent-BAjmv_TG.mjs';
|
|
53
54
|
import './pi-CqyoZMjI.mjs';
|
|
54
55
|
import './fileStore-5qpetZS0.mjs';
|
|
55
56
|
import 'node:fs/promises';
|
|
56
|
-
import './client-
|
|
57
|
-
import './context-
|
|
58
|
-
import './sessionOps-
|
|
57
|
+
import './client-Og5iNZ6S.mjs';
|
|
58
|
+
import './context-DXfkj_FL.mjs';
|
|
59
|
+
import './sessionOps-DX49XNAT.mjs';
|
|
59
60
|
import 'axios';
|
|
60
61
|
import 'socket.io-client';
|
|
61
62
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
62
63
|
import './resources-CLP_MpK4.mjs';
|
|
63
|
-
import './tools-
|
|
64
|
-
import './peerTools-
|
|
64
|
+
import './tools-DmNaOlUF.mjs';
|
|
65
|
+
import './peerTools-DYFslv6R.mjs';
|
|
65
66
|
import './ids-DU6sLx4C.mjs';
|
|
66
|
-
import './remoteSessionClient-
|
|
67
|
+
import './remoteSessionClient-Ddns3U8M.mjs';
|
|
67
68
|
import '@modelcontextprotocol/sdk/server/mcp.js';
|
|
68
69
|
import 'node:http';
|
|
69
70
|
import '@modelcontextprotocol/sdk/server/streamableHttp.js';
|
|
70
71
|
import './limits-DIo7rEBR.mjs';
|
|
71
|
-
import './downloadTarget-
|
|
72
|
+
import './downloadTarget-osakJyyA.mjs';
|
|
72
73
|
import './terminals-Dc38XmZv.mjs';
|
|
73
74
|
import './terminalTitleSuggest-CeKsX_V6.mjs';
|
|
74
75
|
import './tmuxSocket-BmZyixRM.mjs';
|
|
75
|
-
import './bootstrap-
|
|
76
|
+
import './bootstrap-PnL2FX64.mjs';
|
|
76
77
|
import './webPanels-B2_C2-3g.mjs';
|
|
77
|
-
import './pushNotifications-
|
|
78
|
+
import './pushNotifications-Db1NGJiA.mjs';
|
|
78
79
|
import './previewPath-CXN4Vag0.mjs';
|
|
79
80
|
import 'crypto';
|
|
80
|
-
import './reconnectGate-
|
|
81
|
+
import './reconnectGate-Ie4nSKNl.mjs';
|
|
81
82
|
import 'os';
|
|
82
83
|
import 'child_process';
|
|
83
84
|
import 'node:events';
|
|
84
|
-
import './registerCommonHandlers-
|
|
85
|
+
import './registerCommonHandlers-BR7BeGX3.mjs';
|
|
85
86
|
import 'util';
|
|
86
87
|
import 'fs/promises';
|
|
87
88
|
import 'path';
|
|
88
89
|
import 'cross-spawn';
|
|
89
|
-
import './sync-
|
|
90
|
+
import './sync-BZji3J2r.mjs';
|
|
90
91
|
import 'tweetnacl';
|
|
91
92
|
import './types-CkqAACXx.mjs';
|
|
92
93
|
import './detectCLI-CSGMlV51.mjs';
|
|
93
94
|
import 'fs';
|
|
94
|
-
import './localHappyAgentAuth-
|
|
95
|
+
import './localHappyAgentAuth-CxNcSjMM.mjs';
|
|
95
96
|
import './fsMkdir-DumgLTzR.mjs';
|
|
96
97
|
import './cliUpdate-Y34VGe9Y.mjs';
|
|
97
98
|
import './processTermination-ChJG5SLW.mjs';
|
|
@@ -99,9 +100,9 @@ import './processTreeSnapshot-fuwxC0fr.mjs';
|
|
|
99
100
|
import 'url';
|
|
100
101
|
import 'node:module';
|
|
101
102
|
import './oneShotPrompts-DT4p6RNd.mjs';
|
|
102
|
-
import './wrapperAccount-
|
|
103
|
-
import './claudeAccountEnv-
|
|
104
|
-
import './store-
|
|
103
|
+
import './wrapperAccount-CwaA-n1S.mjs';
|
|
104
|
+
import './claudeAccountEnv-C6Wl-ZbT.mjs';
|
|
105
|
+
import './store-Fge1h9wy.mjs';
|
|
105
106
|
|
|
106
107
|
function createAcpBackend(options) {
|
|
107
108
|
const backendOptions = {
|
|
@@ -624,7 +624,9 @@ const TeamModelSchema = z$1.string().trim().min(1).max(256);
|
|
|
624
624
|
const TeamLaunchSchema = z$1.object({ goal: text$1, directory: z$1.string().min(1).max(4096), assistant: TeamAssistantSchema, model: TeamModelSchema.optional(), agentProfile: AgentProfileChoiceSchema.optional() });
|
|
625
625
|
const TeamDefaultsSchema = z$1.object({ assistant: TeamAssistantSchema.optional(), model: TeamModelSchema.optional(), maxParallel: z$1.number().int().min(1).max(16).optional(), agentProfile: AgentProfileChoiceSchema.optional() });
|
|
626
626
|
const TeamActionSchema = z$1.discriminatedUnion("type", [
|
|
627
|
-
|
|
627
|
+
/** B-877: `keepLeadSession` = 「退出团队模式」: archive as usual but leave the root bots' sessions running
|
|
628
|
+
* (the lead goes on as an ordinary session). An old server strips it and stops the lead as before. */
|
|
629
|
+
z$1.object({ type: z$1.literal("archive"), keepLeadSession: z$1.literal(true).optional() }),
|
|
628
630
|
z$1.object({ type: z$1.literal("start"), launch: TeamLaunchSchema }),
|
|
629
631
|
z$1.object({ type: z$1.literal("set-defaults"), defaults: TeamDefaultsSchema }),
|
|
630
632
|
z$1.object({ type: z$1.literal("set-permission-mode"), permissionMode: TeamPermissionModeSchema }),
|
|
@@ -1299,7 +1301,8 @@ var agents = {
|
|
|
1299
1301
|
requires: {
|
|
1300
1302
|
capability: "claude-opus-5-5-v1",
|
|
1301
1303
|
cliVersion: "0.2.149"
|
|
1302
|
-
}
|
|
1304
|
+
},
|
|
1305
|
+
longContext: true
|
|
1303
1306
|
}
|
|
1304
1307
|
]
|
|
1305
1308
|
},
|
|
@@ -1368,7 +1371,13 @@ const LatestModelEntrySchema = z$1.object({
|
|
|
1368
1371
|
cliVersion: z$1.string().optional(),
|
|
1369
1372
|
/** First agent CLI (codex) whose bundled `model/list` carries the model. */
|
|
1370
1373
|
agentVersion: z$1.string().optional()
|
|
1371
|
-
}).optional()
|
|
1374
|
+
}).optional(),
|
|
1375
|
+
/** The model also runs as `<model>[1m]` (Claude Code's 1M-context marker).
|
|
1376
|
+
* Follow-latest sends that form wherever the entry is proven runnable by
|
|
1377
|
+
* `requires` (B-883): the wrapper capability that first carried the model
|
|
1378
|
+
* shipped with a Claude Code that accepts its `[1m]` twin. A wrapper that
|
|
1379
|
+
* proves the model only through its catalog gets the plain id. */
|
|
1380
|
+
longContext: z$1.boolean().optional()
|
|
1372
1381
|
});
|
|
1373
1382
|
const LatestModelTierSchema = z$1.object({
|
|
1374
1383
|
tier: z$1.string(),
|
|
@@ -1393,6 +1402,11 @@ z$1.object({
|
|
|
1393
1402
|
});
|
|
1394
1403
|
const BUNDLED_LATEST_MODELS = LatestModelTableSchema.parse(bundledLatestModels);
|
|
1395
1404
|
const MACHINE_CONFIG_AGENTS = ["codex", "gemini"];
|
|
1405
|
+
const CONFIG_PIN_AGENTS = [...MACHINE_CONFIG_AGENTS, "claude"];
|
|
1406
|
+
const LONG_CONTEXT_MARKER = "[1m]";
|
|
1407
|
+
const LONG_CONTEXT_FALLBACK_EVENT_KIND = "claude-long-context-fallback";
|
|
1408
|
+
const LONG_CONTEXT_REFUSED_EVENT_KIND = "claude-long-context-refused";
|
|
1409
|
+
const LONG_CONTEXT_INTERRUPTED_EVENT_KIND = "claude-long-context-interrupted";
|
|
1396
1410
|
function compilePattern(source) {
|
|
1397
1411
|
try {
|
|
1398
1412
|
return new RegExp(source);
|
|
@@ -1442,11 +1456,13 @@ function resolveLatestModel(table, agent, ctx) {
|
|
|
1442
1456
|
const labels2 = /* @__PURE__ */ new Map();
|
|
1443
1457
|
const known = [];
|
|
1444
1458
|
const runnable = [];
|
|
1459
|
+
const longContext = /* @__PURE__ */ new Set();
|
|
1445
1460
|
for (const entry of tier.models) {
|
|
1446
1461
|
if (!tierVersion(tier, entry.model)) continue;
|
|
1447
1462
|
labels2.set(entry.model, entry.label ?? entry.model);
|
|
1448
1463
|
known.push(entry.model);
|
|
1449
1464
|
if (entryRunnable(entry, ctx, catalogIds)) runnable.push(entry.model);
|
|
1465
|
+
if (entry.longContext && entryRunnable(entry, ctx, /* @__PURE__ */ new Map())) longContext.add(entry.model);
|
|
1450
1466
|
}
|
|
1451
1467
|
for (const [id2, label2] of catalogIds) {
|
|
1452
1468
|
if (!labels2.has(id2)) labels2.set(id2, label2);
|
|
@@ -1462,16 +1478,17 @@ function resolveLatestModel(table, agent, ctx) {
|
|
|
1462
1478
|
return best?.id ?? null;
|
|
1463
1479
|
};
|
|
1464
1480
|
const newest = newestOf(known);
|
|
1465
|
-
if (
|
|
1481
|
+
if (CONFIG_PIN_AGENTS.includes(agent ?? "")) {
|
|
1466
1482
|
const configured = typeof ctx.configuredModel === "string" && ctx.configuredModel.trim() ? ctx.configuredModel.trim() : null;
|
|
1467
|
-
|
|
1483
|
+
const unknownConfig = MACHINE_CONFIG_AGENTS.includes(agent ?? "") && ctx.kind === "session" && ctx.configuredModel === void 0;
|
|
1484
|
+
if (configured || unknownConfig) {
|
|
1468
1485
|
return { model: null, newest, label: configured, limited: false, configured };
|
|
1469
1486
|
}
|
|
1470
1487
|
}
|
|
1471
1488
|
const model = newestOf(runnable);
|
|
1472
1489
|
const sameVersion = model !== null && newest !== null && compareTierVersions(tierVersion(tier, model), tierVersion(tier, newest)) === 0;
|
|
1473
1490
|
return {
|
|
1474
|
-
model,
|
|
1491
|
+
model: model && longContext.has(model) && !ctx.longContextUnsupported ? model + LONG_CONTEXT_MARKER : model,
|
|
1475
1492
|
newest,
|
|
1476
1493
|
label: model ? labels2.get(model) ?? model : null,
|
|
1477
1494
|
limited: newest !== null && !sameVersion,
|
|
@@ -2121,4 +2138,4 @@ z.object({
|
|
|
2121
2138
|
reason: z.string()
|
|
2122
2139
|
});
|
|
2123
2140
|
|
|
2124
|
-
export {
|
|
2141
|
+
export { AutomationConcurrencySchema as $, AGENT_PROFILE_SESSION_CAPABILITY as A, parseLatestModelTable as B, CLAUDE_CONFIG_MODEL_CAPABILITY as C, resolveLaunchAgentProfile as D, createBuiltinTodoClient as E, ISSUE_LIMITS as F, sortBuiltinTodos as G, isIssueClosed as H, ISSUE_SESSION_CAPABILITY as I, BUILTIN_TODO_SKILL as J, LONG_CONTEXT_MARKER as K, LATEST_MODEL_MODE as L, BUILTIN_TODO_DISCOVERY as M, AGENT_PROFILE_FEATURE_LAUNCH as N, AgentProfileAddRequestSchema as O, PROMPT_QUEUE_CAPABILITY as P, AgentProfileLoginStartRequestSchema as Q, RUN_INTENT_CAPABILITY as R, STREAM_DELTA_MAX_CHARS as S, AgentProfileLoginSubmitRequestSchema as T, AgentProfileBindRequestSchema as U, getAgentCodeDefaults as V, isLatestModelMode as W, resolveLatestModel as X, EFFORT_INTENT_AUTO as Y, normalizeAgentKey as Z, AutomationNameSchema as _, PROJECT_SESSION_CAPABILITY as a, AutomationActionSchema as a0, AutomationTriggerSchema as a1, ISSUE_AGENT_STATUSES as a2, AgentProfilesStateSchema as a3, AgentVersionsSchema as a4, AGENT_VERSION_SOURCES as a5, PI_STEER_CAPABILITY as a6, ATTENTION_DISABLED_ERROR as a7, ATTENTION_LIMITS as a8, ownerBoardPostToRest as a9, ISSUE_SENT_FROM as aA, ISSUE_DISPATCH_LOCAL_ID_PREFIX as aB, HARNESS_INSTALL_CAPABILITY_VERSION as aC, isAttentionBoardLocalId as aa, OwnerBoardPostInputSchema as ab, OwnerBoardUpdateInputSchema as ac, OwnerBoardResolveInputSchema as ad, OwnerBoardListInputSchema as ae, ATTENTION_SESSION_CAPABILITY as af, ReleaseDrainNoticeSchema as ag, RelayAssignmentResponseSchema as ah, CODEX_STEER_CAPABILITY as ai, CODEX_COMPACT_CAPABILITY as aj, CODEX_BTW_CAPABILITY as ak, CODEX_LIVE_PERMISSION_CAPABILITY as al, AGENT_PROFILE_RPC as am, RelayCandidatesResponseSchema as an, LONG_CONTEXT_FALLBACK_EVENT_KIND as ao, LONG_CONTEXT_INTERRUPTED_EVENT_KIND as ap, LONG_CONTEXT_REFUSED_EVENT_KIND as aq, ServerMigrateNoticeSchema as ar, isHarnessInstallId as as, agentProfileUnavailableReason as at, MODEL_INTENT_CONFIG as au, AUTOMATION_PRECHECK_OUTPUT_MAX_CHARS as av, AUTOMATION_PRECHECK_DEFAULT_TIMEOUT_MS as aw, AUTOMATION_CLAIM_MAX_RUNS as ax, AUTOMATION_DAEMON_CAPABILITY_PRECHECK as ay, AUTOMATION_DEFAULT_LEASE_MS as az, restoredModel as b, AUTOMATION_NAME_PATTERN as c, AUTOMATION_PRECHECK_MAX_TIMEOUT_MS as d, AutomationPrecheckSchema as e, ISSUE_ASSIGNABLE_AGENTS as f, ISSUE_STATUSES as g, ISSUE_PRIORITIES as h, isAutomationRunTerminal as i, isInsideTeamWorktree as j, rebaseTeamWorktreePath as k, ISSUE_ERROR_CODES as l, ISSUES_DISABLED_ERROR as m, ISSUE_WORKER_VERSION as n, AUTOMATION_ATTENTION_REASON_MAX_CHARS as o, parseIssueRef as p, AUTOMATION_SUMMARY_MAX_CHARS as q, restoredEffort as r, streamKeyOf as s, createEnvelope as t, RUN_INTENT_RPC as u, RunIntentRequestSchema as v, nextRunIntents as w, readEffortIntent as x, readModelIntent as y, AGENT_PROFILE_KINDS as z };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var query = require('./query-
|
|
3
|
+
var query = require('./query-velpFYxW.cjs');
|
|
4
4
|
var claudeAgentSdk = require('@anthropic-ai/claude-agent-sdk');
|
|
5
5
|
require('./promptCacheTtl-B8PCzE6k.cjs');
|
|
6
6
|
require('node:fs');
|
|
7
7
|
require('node:os');
|
|
8
8
|
require('node:path');
|
|
9
|
-
require('./logger-
|
|
9
|
+
require('./logger-C8anCmdW.cjs');
|
|
10
10
|
require('chalk');
|
|
11
11
|
require('node:util');
|
|
12
|
-
require('./configuration-
|
|
13
|
-
require('./package-
|
|
12
|
+
require('./configuration-CDqmWkHO.cjs');
|
|
13
|
+
require('./package-DkpXQvp1.cjs');
|
|
14
14
|
require('node:fs/promises');
|
|
15
15
|
require('./processTreeSnapshot-D5iNblp6.cjs');
|
|
16
16
|
require('node:child_process');
|
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
1
|
+
import { l as logger } from './logger-BcdURxNR.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-D_YrWa_i.mjs';
|
|
9
9
|
import 'node:fs';
|
|
10
10
|
import 'node:os';
|
|
11
11
|
import 'node:path';
|
|
12
|
-
import './package-
|
|
12
|
+
import './package-Dx3hbh9J.mjs';
|
|
13
13
|
import 'node:fs/promises';
|
|
14
14
|
|
|
15
15
|
const PLIST_LABEL = "com.happy-cli.daemon";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
3
|
+
var logger = require('./logger-C8anCmdW.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-CDqmWkHO.cjs');
|
|
11
11
|
require('node:fs');
|
|
12
12
|
require('node:os');
|
|
13
13
|
require('node:path');
|
|
14
|
-
require('./package-
|
|
14
|
+
require('./package-DkpXQvp1.cjs');
|
|
15
15
|
require('node:fs/promises');
|
|
16
16
|
|
|
17
17
|
const PLIST_LABEL = "com.happy-cli.daemon";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var node_crypto = require('node:crypto');
|
|
4
|
-
var index = require('./index-
|
|
5
|
-
var configuration = require('./configuration-
|
|
6
|
-
var persistence = require('./persistence-
|
|
7
|
-
var context = require('./context-
|
|
8
|
-
var client = require('./client-
|
|
9
|
-
var format = require('./format-
|
|
4
|
+
var index = require('./index-BYL_X3gP.cjs');
|
|
5
|
+
var configuration = require('./configuration-CDqmWkHO.cjs');
|
|
6
|
+
var persistence = require('./persistence-Ch78xygf.cjs');
|
|
7
|
+
var context = require('./context-k2CbuBtp.cjs');
|
|
8
|
+
var client = require('./client-ByK8-iRd.cjs');
|
|
9
|
+
var format = require('./format-9KvRMdvY.cjs');
|
|
10
10
|
require('zod');
|
|
11
11
|
require('@paralleldrive/cuid2');
|
|
12
12
|
require('node:fs');
|
|
13
13
|
require('node:os');
|
|
14
14
|
require('node:path');
|
|
15
|
-
require('./package-
|
|
15
|
+
require('./package-DkpXQvp1.cjs');
|
|
16
16
|
require('node:fs/promises');
|
|
17
17
|
require('./authRelay-Dy1qU9td.cjs');
|
|
18
18
|
require('tweetnacl');
|
|
19
|
-
require('./logger-
|
|
19
|
+
require('./logger-C8anCmdW.cjs');
|
|
20
20
|
require('chalk');
|
|
21
21
|
require('node:util');
|
|
22
22
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { randomUUID } from 'node:crypto';
|
|
2
|
-
import { f as ISSUE_ASSIGNABLE_AGENTS, p as parseIssueRef, g as ISSUE_STATUSES, h as ISSUE_PRIORITIES } from './index-
|
|
3
|
-
import { c as configuration } from './configuration-
|
|
4
|
-
import { r as readSettings } from './persistence-
|
|
5
|
-
import { r as readTeamScope, t as teamScopePath } from './context-
|
|
6
|
-
import { s as sharedIssuesClient, i as importLegacyTodosOnce } from './client-
|
|
7
|
-
import { d as describeIssueError, f as formatIssueLine, a as formatIssueDetail } from './format-
|
|
2
|
+
import { f as ISSUE_ASSIGNABLE_AGENTS, p as parseIssueRef, g as ISSUE_STATUSES, h as ISSUE_PRIORITIES } from './index-DWk-WTU-.mjs';
|
|
3
|
+
import { c as configuration } from './configuration-D_YrWa_i.mjs';
|
|
4
|
+
import { r as readSettings } from './persistence-3iZXGbfb.mjs';
|
|
5
|
+
import { r as readTeamScope, t as teamScopePath } from './context-DXfkj_FL.mjs';
|
|
6
|
+
import { s as sharedIssuesClient, i as importLegacyTodosOnce } from './client-t1vQ7gho.mjs';
|
|
7
|
+
import { d as describeIssueError, f as formatIssueLine, a as formatIssueDetail } from './format-DJwRUrQm.mjs';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import '@paralleldrive/cuid2';
|
|
10
10
|
import 'node:fs';
|
|
11
11
|
import 'node:os';
|
|
12
12
|
import 'node:path';
|
|
13
|
-
import './package-
|
|
13
|
+
import './package-Dx3hbh9J.mjs';
|
|
14
14
|
import 'node:fs/promises';
|
|
15
15
|
import './authRelay-DhQhkBvX.mjs';
|
|
16
16
|
import 'tweetnacl';
|
|
17
|
-
import './logger-
|
|
17
|
+
import './logger-BcdURxNR.mjs';
|
|
18
18
|
import 'chalk';
|
|
19
19
|
import 'node:util';
|
|
20
20
|
|
package/dist/lib.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
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-BoJA-zK3.cjs');
|
|
4
|
+
var logger = require('./logger-C8anCmdW.cjs');
|
|
5
|
+
var configuration = require('./configuration-CDqmWkHO.cjs');
|
|
6
6
|
var types = require('./types-CRS-srZK.cjs');
|
|
7
7
|
require('axios');
|
|
8
|
-
require('./pushNotifications-
|
|
8
|
+
require('./pushNotifications-D2ejrxlN.cjs');
|
|
9
9
|
require('node:crypto');
|
|
10
10
|
require('zod');
|
|
11
|
-
require('./index-
|
|
11
|
+
require('./index-BYL_X3gP.cjs');
|
|
12
12
|
require('@paralleldrive/cuid2');
|
|
13
13
|
require('./contentLogMetadata-ZSFk_NjQ.cjs');
|
|
14
|
-
require('./reconnectGate-
|
|
14
|
+
require('./reconnectGate-S9yNiuY7.cjs');
|
|
15
15
|
require('./authRelay-Dy1qU9td.cjs');
|
|
16
16
|
require('tweetnacl');
|
|
17
17
|
require('os');
|
|
@@ -19,8 +19,8 @@ require('child_process');
|
|
|
19
19
|
require('node:events');
|
|
20
20
|
require('socket.io-client');
|
|
21
21
|
require('./limits-C-a7gr04.cjs');
|
|
22
|
-
require('./time-
|
|
23
|
-
require('./registerCommonHandlers-
|
|
22
|
+
require('./time-UUMqbIq8.cjs');
|
|
23
|
+
require('./registerCommonHandlers-51llVpLx.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-DzInYE_l.cjs');
|
|
32
32
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
33
|
-
require('./controlClient-
|
|
34
|
-
require('./persistence-
|
|
33
|
+
require('./controlClient-BS86Ksm8.cjs');
|
|
34
|
+
require('./persistence-Ch78xygf.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-DkpXQvp1.cjs');
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
package/dist/lib.d.cts
CHANGED
|
@@ -645,6 +645,10 @@ declare const DaemonStateSchema: z$1.ZodObject<{
|
|
|
645
645
|
rpcAvailable: z$1.ZodBoolean;
|
|
646
646
|
detectedAt: z$1.ZodNumber;
|
|
647
647
|
}, z$1.core.$strip>>;
|
|
648
|
+
teamExit: z$1.ZodOptional<z$1.ZodObject<{
|
|
649
|
+
rpcAvailable: z$1.ZodBoolean;
|
|
650
|
+
detectedAt: z$1.ZodNumber;
|
|
651
|
+
}, z$1.core.$strip>>;
|
|
648
652
|
tmuxSessions: z$1.ZodOptional<z$1.ZodObject<{
|
|
649
653
|
rpcAvailable: z$1.ZodBoolean;
|
|
650
654
|
detectedAt: z$1.ZodNumber;
|
|
@@ -666,6 +670,10 @@ declare const DaemonStateSchema: z$1.ZodObject<{
|
|
|
666
670
|
rpcAvailable: z$1.ZodBoolean;
|
|
667
671
|
detectedAt: z$1.ZodNumber;
|
|
668
672
|
}, z$1.core.$strip>>;
|
|
673
|
+
terminalViewOnly: z$1.ZodOptional<z$1.ZodObject<{
|
|
674
|
+
rpcAvailable: z$1.ZodBoolean;
|
|
675
|
+
detectedAt: z$1.ZodNumber;
|
|
676
|
+
}, z$1.core.$strip>>;
|
|
669
677
|
terminalHost: z$1.ZodOptional<z$1.ZodObject<{
|
|
670
678
|
tmuxAvailable: z$1.ZodBoolean;
|
|
671
679
|
tmuxVersion: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -915,6 +923,11 @@ type Metadata = {
|
|
|
915
923
|
* machine config.
|
|
916
924
|
*/
|
|
917
925
|
stickyModel?: string | null;
|
|
926
|
+
/** B-883b: this machine's account/provider refused 1M context (the wrapper's verdict, see claudeLongContext.ts). */
|
|
927
|
+
longContextUnsupported?: {
|
|
928
|
+
reason: string;
|
|
929
|
+
at: number;
|
|
930
|
+
} | null;
|
|
918
931
|
/**
|
|
919
932
|
* B-849b: this session's model / thinking choice, recorded by the wrapper
|
|
920
933
|
* (sole writer) from message meta and the `session-run-intent` RPC; every
|
|
@@ -1038,6 +1051,10 @@ type Metadata = {
|
|
|
1038
1051
|
count: number;
|
|
1039
1052
|
failed?: boolean;
|
|
1040
1053
|
completedAt: number;
|
|
1054
|
+
} | {
|
|
1055
|
+
done: false;
|
|
1056
|
+
total: number;
|
|
1057
|
+
sent: number;
|
|
1041
1058
|
};
|
|
1042
1059
|
/**
|
|
1043
1060
|
* B-544: the newest in-place rewind (conversation-rewind with a requestId).
|
|
@@ -1436,6 +1453,10 @@ declare class ApiSessionClient extends EventEmitter {
|
|
|
1436
1453
|
private claudeUsageTotals;
|
|
1437
1454
|
private lastSeq;
|
|
1438
1455
|
private pendingOutbox;
|
|
1456
|
+
/** B-880: set while a transcript replay enqueues (see `replayHistory`). */
|
|
1457
|
+
private replayingHistory;
|
|
1458
|
+
/** B-880 PR-2: the server-side backfill quota — declared before the first replay batch, closed after the last. */
|
|
1459
|
+
private backfillDeclaration;
|
|
1439
1460
|
private readonly sendSync;
|
|
1440
1461
|
private readonly receiveSync;
|
|
1441
1462
|
private readonly directInboundLocalIds;
|
|
@@ -1515,8 +1536,17 @@ declare class ApiSessionClient extends EventEmitter {
|
|
|
1515
1536
|
private dispatchPromptQueueHead;
|
|
1516
1537
|
private routeIncomingMessage;
|
|
1517
1538
|
private fetchMessages;
|
|
1518
|
-
private static readonly MAX_OUTBOX_BATCH_SIZE;
|
|
1519
1539
|
private flushOutbox;
|
|
1540
|
+
/**
|
|
1541
|
+
* B-880 PR-2: the server lets a replay use its backfill write budget only up
|
|
1542
|
+
* to what the session declared before its first message. Any answer
|
|
1543
|
+
* (accepted, refused, 404 from an older server) settles it: the replay then
|
|
1544
|
+
* uploads either way, on whichever budget the server picks. A network error
|
|
1545
|
+
* throws, so the outbox retries it with the batch.
|
|
1546
|
+
*/
|
|
1547
|
+
private declareBackfill;
|
|
1548
|
+
/** B-880 PR-2: the replay is uploaded; later backfill-tagged writes go to the live budget. Best effort. */
|
|
1549
|
+
private closeBackfill;
|
|
1520
1550
|
/**
|
|
1521
1551
|
* B-531: resolve once the server has accepted (POST answered, seq assigned)
|
|
1522
1552
|
* every message that was in the outbox when this was called. Messages
|
|
@@ -1525,6 +1555,15 @@ declare class ApiSessionClient extends EventEmitter {
|
|
|
1525
1555
|
* the outbox's own (InvalidateSync backoff), so a server that keeps failing
|
|
1526
1556
|
* keeps this pending rather than resolving early.
|
|
1527
1557
|
*/
|
|
1558
|
+
/**
|
|
1559
|
+
* B-880: enqueue a replayed transcript (import / fork). Everything `replay`
|
|
1560
|
+
* sends is uploaded as a history backfill: its own batches, its own server
|
|
1561
|
+
* rate budget, and counted by `pendingBackfillCount` for the progress the
|
|
1562
|
+
* Web shows. `replay` must be synchronous.
|
|
1563
|
+
*/
|
|
1564
|
+
replayHistory<T>(replay: () => T): T;
|
|
1565
|
+
/** B-880: replayed messages the server has not accepted yet. */
|
|
1566
|
+
pendingBackfillCount(): number;
|
|
1528
1567
|
drainOutbox(): Promise<boolean>;
|
|
1529
1568
|
/**
|
|
1530
1569
|
* B-806: an ack proves only OUR messages exist. Hold them as handled and
|
|
@@ -2430,6 +2469,8 @@ declare class ApiMachineClient {
|
|
|
2430
2469
|
}>): void;
|
|
2431
2470
|
/** B-719: `harness-install` — the owner asked this machine to install one harness id. */
|
|
2432
2471
|
setHarnessInstallHandler(handler: (params: unknown) => Promise<unknown>): void;
|
|
2472
|
+
/** B-877 「退出团队模式」 for a team lead session on this machine (Web session ⋯ / team menu). */
|
|
2473
|
+
setTeamExitHandler(handler: (sessionId: string) => Promise<unknown>): void;
|
|
2433
2474
|
setCliUpdateRetryHandler(handler: (version: unknown) => Promise<{
|
|
2434
2475
|
accepted: true;
|
|
2435
2476
|
} | {
|