very-happy-cli 0.2.193 → 0.2.195
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-B4PwjqHt.mjs → AcpBackend-BTIF87yb.mjs} +3 -3
- package/dist/{AcpBackend-DtJCgftG.cjs → AcpBackend-CXSV6FF5.cjs} +3 -3
- package/dist/{AcpSessionManager-D4qshX_H.cjs → AcpSessionManager-BbWODxSp.cjs} +2 -2
- package/dist/{AcpSessionManager-BzKWgkdP.mjs → AcpSessionManager-CEpU_GVk.mjs} +2 -2
- package/dist/{BasePermissionHandler-DV6UM6e9.mjs → BasePermissionHandler-B5ka7Aaf.mjs} +1 -1
- package/dist/{BasePermissionHandler-5iG-cvA2.cjs → BasePermissionHandler-C6iF28Ct.cjs} +1 -1
- package/dist/{account-DvpA60oU.cjs → account-Bvcdk9CH.cjs} +11 -11
- package/dist/{account-Dco_nGT4.mjs → account-WSJcdMGl.mjs} +11 -11
- package/dist/{accountService-Cd7bnkfd.mjs → accountService-BtEgv0fC.mjs} +4 -4
- package/dist/{accountService-CuUSJDhP.cjs → accountService-DL6xhVUa.cjs} +4 -4
- package/dist/{acpSessionResume-Bk9mjXZ9.cjs → acpSessionResume-B2hd1Wub.cjs} +1 -1
- package/dist/{acpSessionResume-TQwN9ZZE.mjs → acpSessionResume-BYMm4w8Q.mjs} +1 -1
- package/dist/{agentHome-c2dlgcw1.cjs → agentHome-CVM15_3U.cjs} +4 -4
- package/dist/{agentHome-Bep8semY.mjs → agentHome-Jl8yWAjF.mjs} +4 -4
- package/dist/{api-DUfunY3x.mjs → api-DOzNOoVJ.mjs} +10 -10
- package/dist/{api-CBE_a88I.cjs → api-TpjZJXV-.cjs} +10 -10
- package/dist/{apiMachine-BqtG0IWm.cjs → apiMachine-COkvJAmd.cjs} +35 -19
- package/dist/{apiMachine-CU_bw5nV.mjs → apiMachine-M-Fs9g5Y.mjs} +35 -19
- package/dist/{attachmentContent-B3AzuYqk.cjs → attachmentContent-BiBOjTXX.cjs} +2 -2
- package/dist/{attachmentContent-KNIZxwlu.mjs → attachmentContent-D6PjMVDq.mjs} +2 -2
- package/dist/{auth-SJ_dPw7H.cjs → auth-BOceB8cL.cjs} +8 -8
- package/dist/{auth-CZ7pKS-j.mjs → auth-BfHLe1gU.mjs} +8 -8
- package/dist/{auth-jN5dNqTO.mjs → auth-Bfe3Ue_B.mjs} +5 -5
- package/dist/{auth-DCjxpI6Z.cjs → auth-DfcdjMUp.cjs} +5 -5
- package/dist/{auto-DC0Sq-qB.mjs → auto-CDeivd5V.mjs} +18 -18
- package/dist/{auto-B_59RYH1.cjs → auto-CnTitokD.cjs} +18 -18
- package/dist/{bootstrap-B3gMpU9e.mjs → bootstrap-BxcKrgR9.mjs} +2 -2
- package/dist/{bootstrap-CoJu9VnB.cjs → bootstrap-DpyP22Wx.cjs} +2 -2
- package/dist/{browser-LHW2hBH8.mjs → browser-Bb0Gqffc.mjs} +1 -1
- package/dist/{browser-v1pdPP1E.cjs → browser-ac0aPrVE.cjs} +1 -1
- package/dist/{claudeAccountEnv-BL1pR_37.mjs → claudeAccountEnv-NyoxjLuJ.mjs} +1 -1
- package/dist/{claudeAccountEnv-CEX_EMZr.cjs → claudeAccountEnv-_O3x5AJ1.cjs} +1 -1
- package/dist/{claudeLocal-BrzM2RBI.cjs → claudeLocal-RGWhplSr.cjs} +5 -5
- package/dist/{claudeLocal-BZUgA5G2.mjs → claudeLocal-otwxWF6e.mjs} +5 -5
- package/dist/{claudeLocalLauncher-A0AQyHFi.mjs → claudeLocalLauncher-CTibA4cU.mjs} +10 -10
- package/dist/{claudeLocalLauncher-XAMpXUM7.cjs → claudeLocalLauncher-yG-MBhY7.cjs} +10 -10
- package/dist/{claudeSessionFork-Mhn2fYe_.cjs → claudeSessionFork-DH_Su4uO.cjs} +104 -38
- package/dist/{claudeSessionFork-_GwIlmMB.mjs → claudeSessionFork-HFFwivGY.mjs} +105 -40
- package/dist/{client-DwbhrX6D.mjs → client-BhAjEv8Z.mjs} +4 -4
- package/dist/{client-D2GWkd-T.cjs → client-BlV73Gbw.cjs} +2 -2
- package/dist/{client-Bde4QVIn.mjs → client-CydHzidF.mjs} +2 -2
- package/dist/{client-CJr8Pjwm.cjs → client-DcXLNaF2.cjs} +2 -2
- package/dist/{client-7RnI9J0W.mjs → client-DpTk1S7C.mjs} +2 -2
- package/dist/{client-DLlnmAPL.cjs → client-DxjYsJ8d.cjs} +4 -4
- package/dist/codex/happyMcpStdioBridge.cjs +16 -16
- package/dist/codex/happyMcpStdioBridge.mjs +16 -16
- package/dist/{codexAccount-NOX5pmQf.mjs → codexAccount-CKXpXq0B.mjs} +1 -1
- package/dist/{codexAccount-BDQjRbtI.cjs → codexAccount-CYhQir50.cjs} +1 -1
- package/dist/{codexAppServerClient-DWEsZUC4.cjs → codexAppServerClient-C1xBSuVk.cjs} +60 -3
- package/dist/{codexAppServerClient-B3QJV6Ey.mjs → codexAppServerClient-mln0W8vT.mjs} +60 -3
- package/dist/{codexCommand-D1xlj4sT.mjs → codexCommand-CmWhYduF.mjs} +136 -47
- package/dist/{codexCommand-Bg8AmxVm.cjs → codexCommand-Plm-_aRy.cjs} +137 -48
- package/dist/{codexTermination-ByX9GcEJ.cjs → codexTermination-C9c80lIF.cjs} +1 -1
- package/dist/{codexTermination-CaWAVQjZ.mjs → codexTermination-QltAvFpq.mjs} +1 -1
- package/dist/{codexThreadFork-5kwoKjMu.cjs → codexThreadFork-C6ZmcT2z.cjs} +22 -1
- package/dist/{codexThreadFork-DobPd19R.mjs → codexThreadFork-CVzAqELg.mjs} +22 -2
- package/dist/{config-B2GGbiTv.cjs → config-BH75enfT.cjs} +3 -3
- package/dist/{config-C2XYEwXz.mjs → config-DK27kWTT.mjs} +3 -3
- package/dist/{configuration-BBK0rmmj.cjs → configuration-CKaq0tNe.cjs} +1 -1
- package/dist/{configuration-ThKBP_zY.mjs → configuration-CwfgJZKs.mjs} +1 -1
- package/dist/{connect-C3tZs_NC.cjs → connect-_QkCFMxO.cjs} +13 -13
- package/dist/{connect-BirnCl9q.mjs → connect-h3_VMJst.mjs} +13 -13
- package/dist/{context-wDp0aZBK.cjs → context-DbENnaVc.cjs} +1 -1
- package/dist/{context-C0EFLnOg.mjs → context-DcOpvIiR.mjs} +1 -1
- package/dist/{controlClient-DwWTns3A.cjs → controlClient-D_HIbnnS.cjs} +3 -3
- package/dist/{controlClient-Ckl8N1MS.mjs → controlClient-Dv6IvvUq.mjs} +4 -4
- package/dist/{createSessionMetadata-DqZ6h02H.cjs → createSessionMetadata-CusO22Am.cjs} +2 -2
- package/dist/{createSessionMetadata-vug4Cv8z.mjs → createSessionMetadata-DimBsfVG.mjs} +2 -2
- package/dist/{daemonAccounts-CpGDY_4k.cjs → daemonAccounts-CxMJw7x2.cjs} +2 -2
- package/dist/{daemonAccounts-DwPwKxvv.mjs → daemonAccounts-QT-RDDEp.mjs} +3 -3
- package/dist/{defaultPermissionMode-DF5AfeBb.mjs → defaultPermissionMode-B-Vt8ECY.mjs} +1 -1
- package/dist/{defaultPermissionMode-BakXiqRr.cjs → defaultPermissionMode-BCWCMONI.cjs} +1 -1
- package/dist/{deterministicJson-t33SsuRC.cjs → deterministicJson-BYqRKTmL.cjs} +13 -13
- package/dist/{deterministicJson-BzX94gi3.mjs → deterministicJson-CMApF2Rl.mjs} +13 -13
- package/dist/{doctor-C1zyOSXw.mjs → doctor-BkyoZ0Uw.mjs} +7 -7
- package/dist/{doctor-B9ug1LZb.cjs → doctor-Czbl7gk2.cjs} +7 -7
- package/dist/{downloadTarget-T1id2Gh6.cjs → downloadTarget-C5BzZ_bz.cjs} +6 -6
- package/dist/{downloadTarget-Baslc6jW.mjs → downloadTarget-CM0BZNSY.mjs} +6 -6
- package/dist/{ensureDaemonRunning-CoAg11Zi.cjs → ensureDaemonRunning-D508DmcP.cjs} +5 -5
- package/dist/{ensureDaemonRunning-C6ERYK-O.mjs → ensureDaemonRunning-P399ot_C.mjs} +5 -5
- package/dist/{handleResumeCommand-CrlqDuz7.mjs → handleResumeCommand-BK_2ShBf.mjs} +5 -5
- package/dist/{handleResumeCommand-DPi-sPm7.cjs → handleResumeCommand-CCgK7-0v.cjs} +5 -5
- package/dist/{index-Cn73rdtQ.mjs → index-BENDk1i9.mjs} +4 -4
- package/dist/{index-rocrvOYG.cjs → index-BalJgriQ.cjs} +4 -4
- package/dist/{index-D1YnIih6.mjs → index-BlWyEpMw.mjs} +2 -1
- package/dist/{index-B2dJA8VG.cjs → index-Bz9Bj7l1.cjs} +3 -3
- package/dist/{index-B1swQJUS.cjs → index-CGKn-GTK.cjs} +4 -4
- package/dist/{index-Bkslzin5.cjs → index-CSO1-mZ9.cjs} +42 -42
- package/dist/{index-BUFrKZeQ.cjs → index-D9Hidq-g.cjs} +2 -0
- package/dist/{index-BcSPg3c5.mjs → index-DR3NJLVk.mjs} +4 -4
- package/dist/{index-BbdV2mzy.mjs → index-QSAckvNv.mjs} +3 -3
- package/dist/{index-fZO4nF6e.mjs → index-_DRVKtSd.mjs} +43 -43
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-CArXjPfW.cjs → install-CqXaN7_C.cjs} +3 -3
- package/dist/{install-CChhyV2G.mjs → install-DMTvEPrB.mjs} +3 -3
- package/dist/lib.cjs +12 -12
- package/dist/lib.mjs +12 -12
- package/dist/{lidState-B_v6qgfE.cjs → lidState-Btv4N_B8.cjs} +1 -1
- package/dist/{lidState-B6yYKjNK.mjs → lidState-Cb3TbhPb.mjs} +1 -1
- package/dist/{localHappyAgentAuth-jJH0n67S.cjs → localHappyAgentAuth-B3Q5DNLR.cjs} +1 -1
- package/dist/{localHappyAgentAuth-KRlg_aI0.mjs → localHappyAgentAuth-CAAIUJyY.mjs} +1 -1
- package/dist/{logger-CX3x2eI4.cjs → logger-BZ5TcbEh.cjs} +2 -2
- package/dist/{logger-JV7-4Q_6.mjs → logger-UgDpJA2u.mjs} +2 -2
- package/dist/{machineMetadata-D5-SW9kv.mjs → machineMetadata-BYHC-3Vx.mjs} +3 -3
- package/dist/{machineMetadata-DhZuM0iB.cjs → machineMetadata-DLb-m4fL.cjs} +3 -3
- package/dist/{main-CFOdXbPD.mjs → main-CwW6lHIw.mjs} +47 -47
- package/dist/{main-1x1HGQEy.cjs → main-LavPb80B.cjs} +47 -47
- package/dist/{mcp-BnKBSEh7.cjs → mcp-BQbWhqUh.cjs} +18 -18
- package/dist/{mcp-R6lMcFLO.mjs → mcp-BjYz5Ymf.mjs} +18 -18
- package/dist/{mirrorProtocol-CD4ntuZJ.mjs → mirrorProtocol-BH5eT99U.mjs} +3 -3
- package/dist/{mirrorProtocol-DO-KtvAL.cjs → mirrorProtocol-Ci9YmCEV.cjs} +3 -3
- package/dist/{package-uzlvxa5S.cjs → package-B61-BBlh.cjs} +7 -7
- package/dist/{package-Bw3H6VLn.mjs → package-C4OfB2YF.mjs} +7 -7
- package/dist/{panels-C46FxjmH.cjs → panels-ByprLJag.cjs} +5 -5
- package/dist/{panels-BamhZCoZ.mjs → panels-cBJT5Up1.mjs} +5 -5
- package/dist/{peerTools-D-VNNFw-.cjs → peerTools-BXSjS8lB.cjs} +5 -5
- package/dist/{peerTools-WtRgTSqG.mjs → peerTools-DS6GqJcn.mjs} +5 -5
- package/dist/{persistence-Cg4sfjQV.mjs → persistence-CQhmtobL.mjs} +2 -2
- package/dist/{persistence-CsmAgN-C.cjs → persistence-DBmeYlwT.cjs} +2 -2
- package/dist/{piRunnerArgs-vnFygygF.cjs → piRunnerArgs-CmEE058l.cjs} +1 -1
- package/dist/{piRunnerArgs-BbaAQvb4.mjs → piRunnerArgs-Dy-3vN_Q.mjs} +1 -1
- package/dist/{piRuntime-C2uj5Ucx.cjs → piRuntime-BCXjC4__.cjs} +1 -1
- package/dist/{piRuntime-Bid7TBf5.mjs → piRuntime-Rq9v4M4e.mjs} +1 -1
- package/dist/{piTerminal-CqxgrI13.mjs → piTerminal-CRhDUqX7.mjs} +20 -20
- package/dist/{piTerminal-Ckpjfoqa.cjs → piTerminal-ehNQOvLL.cjs} +20 -20
- package/dist/{pushNotifications-BbE-qV9I.mjs → pushNotifications-67GmbVfE.mjs} +3 -3
- package/dist/{pushNotifications-BCg7YAiu.cjs → pushNotifications-qCS7_tDF.cjs} +3 -3
- package/dist/{query-vQ-HG394.cjs → query-B4QIiI7e.cjs} +1 -1
- package/dist/{query-Bfr9O_62.mjs → query-CIDBGnv6.mjs} +1 -1
- package/dist/{rateLimitWindows-CRARnKaI.mjs → rateLimitWindows-8-khalzj.mjs} +1 -1
- package/dist/{rateLimitWindows-BZl6GMwQ.cjs → rateLimitWindows-BIfLMxOk.cjs} +1 -1
- package/dist/{registerCommonHandlers-Cj3Nl9y-.mjs → registerCommonHandlers-C7hlztAO.mjs} +2 -2
- package/dist/{registerCommonHandlers-CZGmrPbT.cjs → registerCommonHandlers-G2p0MJu4.cjs} +2 -2
- package/dist/{registerKillSessionHandler-C3EDnW4F.cjs → registerKillSessionHandler-BWvl6wro.cjs} +6 -6
- package/dist/{registerKillSessionHandler-Bg9t45Ub.mjs → registerKillSessionHandler-rwXdO0t0.mjs} +6 -6
- package/dist/registerSideQuestionHandler-CsyPnjce.cjs +366 -0
- package/dist/registerSideQuestionHandler-Xg46gSVh.mjs +358 -0
- package/dist/{remoteSessionClient-CcSP24Zq.cjs → remoteSessionClient-D6_7vNKc.cjs} +5 -5
- package/dist/{remoteSessionClient--0vfA7I5.mjs → remoteSessionClient-DQSnC7ox.mjs} +5 -5
- package/dist/{reportProgressTool-Ddg1yVq2.cjs → reportProgressTool-CIHGKraF.cjs} +3 -3
- package/dist/{reportProgressTool-DVru7jc_.mjs → reportProgressTool-HjzV5y_2.mjs} +3 -3
- package/dist/{run-HtvH6BLi.mjs → run-M06F1958.mjs} +40 -40
- package/dist/{run-BTrIT_jU.cjs → run-tQ4bFkHu.cjs} +40 -40
- package/dist/{runClaude-ipjwAHPI.cjs → runClaude-Ct0_mShC.cjs} +28 -26
- package/dist/{runClaude-DsHTk5Bu.mjs → runClaude-Dm9kQZ-w.mjs} +28 -26
- package/dist/{runClaudeDeps-BKpwL6ln.cjs → runClaudeDeps-BT2kWCrQ.cjs} +44 -333
- package/dist/{runClaudeDeps-BV3vpeyY.mjs → runClaudeDeps-DNOzXjc3.mjs} +47 -336
- package/dist/{runGemini-DhjK6_Fp.mjs → runGemini-BvN-yeQR.mjs} +33 -33
- package/dist/{runGemini-B-G0_7Ab.cjs → runGemini-cua7_iuR.cjs} +33 -33
- package/dist/{runOpenClaw-B6lawk8n.mjs → runOpenClaw-C9E2XzmX.mjs} +18 -18
- package/dist/{runOpenClaw-BHIo8tkn.cjs → runOpenClaw-NpYFRhKm.cjs} +18 -18
- package/dist/{sandbox-CKb7pCXg.mjs → sandbox-C-BXZbt9.mjs} +4 -4
- package/dist/{sandbox-BAsO0ILe.cjs → sandbox-hImfD0-T.cjs} +4 -4
- package/dist/{selfCheck-D4VvVZNi.cjs → selfCheck-B3ulijQM.cjs} +39 -39
- package/dist/selfCheck-D-e9kVhc.mjs +88 -0
- package/dist/{send-Cz5m39QR.cjs → send-BCVQkTOl.cjs} +8 -8
- package/dist/{send-D8ipLKMY.mjs → send-Dv2L8IRW.mjs} +8 -8
- package/dist/{server-CjvgT3N9.mjs → server-BBBfuSB-.mjs} +4 -4
- package/dist/{server-CySyJKPH.cjs → server-DYxyCyYF.cjs} +6 -6
- package/dist/{sessionLock-DdDCuNUs.cjs → sessionLock-B8fsnpZD.cjs} +3 -3
- package/dist/{sessionLock-B73fhgQN.mjs → sessionLock-BexUoWhZ.mjs} +3 -3
- package/dist/{sessionOps-XSEjIqNq.cjs → sessionOps-74pSDXoS.cjs} +4 -4
- package/dist/{sessionOps-C65Iej_C.mjs → sessionOps-BkEgNA2O.mjs} +5 -5
- package/dist/{sessionProvider-Dgsty8z_.cjs → sessionProvider-CWgHsZUA.cjs} +10 -10
- package/dist/{sessionProvider-CLVNkfji.mjs → sessionProvider-DXkhlJE6.mjs} +10 -10
- package/dist/{sessionScanner-D8IVXMMH.cjs → sessionScanner-D56EkcIj.cjs} +3 -3
- package/dist/{sessionScanner-MW1P9Pm9.mjs → sessionScanner-Dhh1wREW.mjs} +3 -3
- package/dist/{sessions-BKz7gZqg.cjs → sessions-C1zRTjUe.cjs} +10 -10
- package/dist/{sessions-Dtk_agUL.mjs → sessions-dJR6k3JY.mjs} +10 -10
- package/dist/{setupOfflineReconnection-DxMiW7OV.cjs → setupOfflineReconnection-CMUdHtFT.cjs} +2 -2
- package/dist/{setupOfflineReconnection-Bvdy-2xd.mjs → setupOfflineReconnection-Dp1rC-eP.mjs} +2 -2
- package/dist/{spawn-Dm4xsZBX.mjs → spawn-D3-Weoiq.mjs} +54 -20
- package/dist/{spawn-DiPkJcrQ.cjs → spawn-kMKI09Kh.cjs} +54 -20
- package/dist/{spawnAgents-B9olJ8xn.cjs → spawnAgents-Cm23BW-D.cjs} +1 -1
- package/dist/{spawnAgents-I29H9nO8.mjs → spawnAgents-hKFGQaSJ.mjs} +1 -1
- package/dist/{spawnHappyCLI-CnMwzjWX.mjs → spawnHappyCLI-CgjpjSTT.mjs} +1 -1
- package/dist/{spawnHappyCLI-BYGOUda1.cjs → spawnHappyCLI-Du1IgJGA.cjs} +1 -1
- package/dist/{startFileWatcher-D14W6gn-.cjs → startFileWatcher-DGOnF95-.cjs} +1 -1
- package/dist/{startFileWatcher-DePAY1T5.mjs → startFileWatcher-DapvIGxp.mjs} +1 -1
- package/dist/{startupSessionCreate-DoK0IvJG.mjs → startupSessionCreate-CSi60oo_.mjs} +3 -3
- package/dist/{startupSessionCreate-rBHd4tc1.cjs → startupSessionCreate-rkIMVGJW.cjs} +3 -3
- package/dist/{store-Vej_738f.mjs → store-Tf-r1ouq.mjs} +1 -1
- package/dist/{store-CkNa6oj4.cjs → store-aa3CVNwS.cjs} +1 -1
- package/dist/{streamRelay-C0G1HOOd.cjs → streamRelay-C2Lb2z39.cjs} +1 -1
- package/dist/{streamRelay-C5U-C4GS.mjs → streamRelay-C9lzMo0V.mjs} +1 -1
- package/dist/{sync-WYBwkJvG.cjs → sync-Cj8Vhltg.cjs} +1 -1
- package/dist/{sync-BP6vnxVP.mjs → sync-GJkf-HGu.mjs} +1 -1
- package/dist/{systemPrompt-aRqBmkpw.mjs → systemPrompt-BEagRbDZ.mjs} +2 -2
- package/dist/{systemPrompt-BkQlCk5_.cjs → systemPrompt-Cne9i1SE.cjs} +2 -2
- package/dist/{teams-CGmC4ygu.mjs → teams-C_18IMNM.mjs} +7 -7
- package/dist/{teams-phbpwAGD.cjs → teams-ClTg6hQ1.cjs} +7 -7
- package/dist/{template-B9pLEP8v.cjs → template-B1AORlgU.cjs} +1 -1
- package/dist/{template-CL9EvQLQ.mjs → template-Ci-cyigF.mjs} +1 -1
- package/dist/{time-BTLcO8jp.cjs → time-BPPTQ_sE.cjs} +1 -1
- package/dist/{time-Cw0liIqB.mjs → time-CIkdLyza.mjs} +1 -1
- package/dist/{titleGenerator-Y1_7ceJC.cjs → titleGenerator-B_OgL9Pd.cjs} +3 -3
- package/dist/{titleGenerator-h6TmFe-c.mjs → titleGenerator-DnwTdTB_.mjs} +2 -2
- package/dist/{todo-BxiPiCvB.cjs → todo-DPQHtZVM.cjs} +6 -6
- package/dist/{todo-OKcTC_VC.mjs → todo-DmHolFRy.mjs} +6 -6
- package/dist/{tools-CcebYtLj.cjs → tools-B3KGMSU5.cjs} +1 -1
- package/dist/{tools-BR-drXZ8.mjs → tools-DqjPHq9I.mjs} +1 -1
- package/dist/{uninstall-D3stWKD2.mjs → uninstall-Cm97eybp.mjs} +3 -3
- package/dist/{uninstall-CnDeCC-M.cjs → uninstall-CrK5dgx8.cjs} +3 -3
- package/dist/{wrapperAccount-D2A4DuZy.cjs → wrapperAccount-BubTurHU.cjs} +2 -2
- package/dist/{wrapperAccount-BkufO_9g.mjs → wrapperAccount-Cq7eZRMx.mjs} +2 -2
- package/package.json +7 -7
- package/dist/rateLimitReporter-BZ8x0-6-.cjs +0 -44
- package/dist/rateLimitReporter-CAz7VMw4.mjs +0 -42
- package/dist/selfCheck-CZ-t1Xzq.mjs +0 -88
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import { e as evaluateWrapperIdle, j as isQuiescent, k as HIBERNATION_UNSUPPORTED_BACKOFF_MS } from './persistence-
|
|
3
|
-
import { c as connectionState } from './api-
|
|
1
|
+
import { l as logger } from './logger-UgDpJA2u.mjs';
|
|
2
|
+
import { e as evaluateWrapperIdle, j as isQuiescent, k as HIBERNATION_UNSUPPORTED_BACKOFF_MS } from './persistence-CQhmtobL.mjs';
|
|
3
|
+
import { c as connectionState } from './api-DOzNOoVJ.mjs';
|
|
4
4
|
|
|
5
5
|
const PRESENCE_SETTLE_MS = 6e3;
|
|
6
6
|
async function commitHibernation(deps) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var persistence = require('./persistence-
|
|
5
|
-
var api = require('./api-
|
|
3
|
+
var logger = require('./logger-BZ5TcbEh.cjs');
|
|
4
|
+
var persistence = require('./persistence-DBmeYlwT.cjs');
|
|
5
|
+
var api = require('./api-TpjZJXV-.cjs');
|
|
6
6
|
|
|
7
7
|
const PRESENCE_SETTLE_MS = 6e3;
|
|
8
8
|
async function commitHibernation(deps) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { readFileSync, existsSync, mkdirSync, chmodSync, writeFileSync, renameSync, rmSync } from 'node:fs';
|
|
2
2
|
import { homedir } from 'node:os';
|
|
3
3
|
import { join, dirname } from 'node:path';
|
|
4
|
-
import { t as AGENT_PROFILE_KINDS } from './index-
|
|
4
|
+
import { t as AGENT_PROFILE_KINDS } from './index-BlWyEpMw.mjs';
|
|
5
5
|
|
|
6
6
|
function providersPath(happyHomeDir) {
|
|
7
7
|
return join(happyHomeDir, "providers.json");
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var node_fs = require('node:fs');
|
|
4
4
|
var os = require('node:os');
|
|
5
5
|
var path = require('node:path');
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-D9Hidq-g.cjs');
|
|
7
7
|
|
|
8
8
|
function providersPath(happyHomeDir) {
|
|
9
9
|
return path.join(happyHomeDir, "providers.json");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
1
|
+
import { l as logger } from './logger-UgDpJA2u.mjs';
|
|
2
2
|
import { existsSync, readFileSync } from 'node:fs';
|
|
3
3
|
import { join } from 'node:path';
|
|
4
4
|
import { g as getProjectPath } from './path-D2wdaNSk.mjs';
|
|
5
|
-
import { w as BUILTIN_TODO_DISCOVERY } from './index-
|
|
5
|
+
import { w as BUILTIN_TODO_DISCOVERY } from './index-BlWyEpMw.mjs';
|
|
6
6
|
import { t as trimIdent } from './trimIdent-BAjmv_TG.mjs';
|
|
7
7
|
import { homedir } from 'node:os';
|
|
8
8
|
import { A as AGENT_GUIDANCE } from './agentGuidance-BDYt2Qy2.mjs';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
3
|
+
var logger = require('./logger-BZ5TcbEh.cjs');
|
|
4
4
|
var node_fs = require('node:fs');
|
|
5
5
|
var path$1 = require('node:path');
|
|
6
6
|
var path = require('./path-B7zW-WwE.cjs');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-D9Hidq-g.cjs');
|
|
8
8
|
var trimIdent = require('./trimIdent-4gvk9Wk6.cjs');
|
|
9
9
|
var os = require('node:os');
|
|
10
10
|
var agentGuidance = require('./agentGuidance-BtBx2xxE.cjs');
|
|
@@ -2,21 +2,21 @@ import { homedir } from 'node:os';
|
|
|
2
2
|
import { readFile } from 'node:fs/promises';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
|
-
import { t as teamRequest, c as createTeamsClient } from './client-
|
|
6
|
-
import { b as readCredentialsForConfiguredRelay } from './persistence-
|
|
5
|
+
import { t as teamRequest, c as createTeamsClient } from './client-BhAjEv8Z.mjs';
|
|
6
|
+
import { b as readCredentialsForConfiguredRelay } from './persistence-CQhmtobL.mjs';
|
|
7
7
|
import { a as installTeamSkill, i as installAutomationSkill } from './install-B8O1JpJH.mjs';
|
|
8
8
|
import 'node:child_process';
|
|
9
9
|
import 'node:util';
|
|
10
10
|
import 'node:path';
|
|
11
|
-
import './index-
|
|
11
|
+
import './index-BlWyEpMw.mjs';
|
|
12
12
|
import '@paralleldrive/cuid2';
|
|
13
|
-
import './configuration-
|
|
13
|
+
import './configuration-CwfgJZKs.mjs';
|
|
14
14
|
import 'node:fs';
|
|
15
|
-
import './package-
|
|
16
|
-
import './context-
|
|
15
|
+
import './package-C4OfB2YF.mjs';
|
|
16
|
+
import './context-DcOpvIiR.mjs';
|
|
17
17
|
import './authRelay-DhQhkBvX.mjs';
|
|
18
18
|
import 'tweetnacl';
|
|
19
|
-
import './logger-
|
|
19
|
+
import './logger-UgDpJA2u.mjs';
|
|
20
20
|
import 'chalk';
|
|
21
21
|
import './resources-CLP_MpK4.mjs';
|
|
22
22
|
|
|
@@ -4,21 +4,21 @@ var os = require('node:os');
|
|
|
4
4
|
var promises = require('node:fs/promises');
|
|
5
5
|
var z = require('zod');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
|
-
var client = require('./client-
|
|
8
|
-
var persistence = require('./persistence-
|
|
7
|
+
var client = require('./client-DxjYsJ8d.cjs');
|
|
8
|
+
var persistence = require('./persistence-DBmeYlwT.cjs');
|
|
9
9
|
var install = require('./install-BOHlqewf.cjs');
|
|
10
10
|
require('node:child_process');
|
|
11
11
|
require('node:util');
|
|
12
12
|
require('node:path');
|
|
13
|
-
require('./index-
|
|
13
|
+
require('./index-D9Hidq-g.cjs');
|
|
14
14
|
require('@paralleldrive/cuid2');
|
|
15
|
-
require('./configuration-
|
|
15
|
+
require('./configuration-CKaq0tNe.cjs');
|
|
16
16
|
require('node:fs');
|
|
17
|
-
require('./package-
|
|
18
|
-
require('./context-
|
|
17
|
+
require('./package-B61-BBlh.cjs');
|
|
18
|
+
require('./context-DbENnaVc.cjs');
|
|
19
19
|
require('./authRelay-Dy1qU9td.cjs');
|
|
20
20
|
require('tweetnacl');
|
|
21
|
-
require('./logger-
|
|
21
|
+
require('./logger-BZ5TcbEh.cjs');
|
|
22
22
|
require('chalk');
|
|
23
23
|
require('./resources-BZ_Be0qM.cjs');
|
|
24
24
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as AUTOMATION_ATTENTION_REASON_MAX_CHARS, j as AUTOMATION_SUMMARY_MAX_CHARS } from './index-
|
|
1
|
+
import { h as AUTOMATION_ATTENTION_REASON_MAX_CHARS, j as AUTOMATION_SUMMARY_MAX_CHARS } from './index-BlWyEpMw.mjs';
|
|
2
2
|
|
|
3
3
|
function payloadJson(payload) {
|
|
4
4
|
if (!payload) return void 0;
|
|
@@ -5,16 +5,16 @@ var module$1 = require('node:module');
|
|
|
5
5
|
var oneShotPrompts = require('./oneShotPrompts-CL0dip9C.cjs');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
7
|
var path = require('node:path');
|
|
8
|
-
var logger = require('./logger-
|
|
8
|
+
var logger = require('./logger-BZ5TcbEh.cjs');
|
|
9
9
|
var projectPath = require('./projectPath-C3ioB4Bu.cjs');
|
|
10
|
-
var wrapperAccount = require('./wrapperAccount-
|
|
10
|
+
var wrapperAccount = require('./wrapperAccount-BubTurHU.cjs');
|
|
11
11
|
|
|
12
12
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
13
13
|
const MAX_PROMPT_SAMPLE_CHARS = 500;
|
|
14
14
|
const MAX_TITLE_CHARS = 60;
|
|
15
15
|
const GENERATION_TIMEOUT_MS = 3e4;
|
|
16
16
|
function loadClaudeVersionUtils() {
|
|
17
|
-
const require$1 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('titleGenerator-
|
|
17
|
+
const require$1 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('titleGenerator-B_OgL9Pd.cjs', document.baseURI).href)));
|
|
18
18
|
return require$1(path.resolve(path.join(projectPath.projectPath(), "scripts", "claude_version_utils.cjs")));
|
|
19
19
|
}
|
|
20
20
|
function resolveClaudeBinary(loadUtils = loadClaudeVersionUtils) {
|
|
@@ -3,9 +3,9 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { T as TITLE_PROMPT_PREFIX } from './oneShotPrompts-DT4p6RNd.mjs';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
5
|
import { resolve, join } from 'node:path';
|
|
6
|
-
import { l as logger } from './logger-
|
|
6
|
+
import { l as logger } from './logger-UgDpJA2u.mjs';
|
|
7
7
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
8
|
-
import { a as accountClaudeSettings } from './wrapperAccount-
|
|
8
|
+
import { a as accountClaudeSettings } from './wrapperAccount-Cq7eZRMx.mjs';
|
|
9
9
|
|
|
10
10
|
const MAX_PROMPT_SAMPLE_CHARS = 500;
|
|
11
11
|
const MAX_TITLE_CHARS = 60;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var configuration = require('./configuration-
|
|
4
|
-
var index = require('./index-
|
|
5
|
-
var persistence = require('./persistence-
|
|
6
|
-
var context = require('./context-
|
|
3
|
+
var configuration = require('./configuration-CKaq0tNe.cjs');
|
|
4
|
+
var index = require('./index-D9Hidq-g.cjs');
|
|
5
|
+
var persistence = require('./persistence-DBmeYlwT.cjs');
|
|
6
|
+
var context = require('./context-DbENnaVc.cjs');
|
|
7
7
|
require('node:fs');
|
|
8
8
|
require('node:os');
|
|
9
9
|
require('node:path');
|
|
10
|
-
require('./package-
|
|
10
|
+
require('./package-B61-BBlh.cjs');
|
|
11
11
|
require('node:fs/promises');
|
|
12
12
|
require('zod');
|
|
13
13
|
require('@paralleldrive/cuid2');
|
|
14
14
|
require('./authRelay-Dy1qU9td.cjs');
|
|
15
15
|
require('node:crypto');
|
|
16
16
|
require('tweetnacl');
|
|
17
|
-
require('./logger-
|
|
17
|
+
require('./logger-BZ5TcbEh.cjs');
|
|
18
18
|
require('chalk');
|
|
19
19
|
require('node:util');
|
|
20
20
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { c as configuration } from './configuration-
|
|
2
|
-
import { q as createBuiltinTodoClient, B as BUILTIN_TODO_SKILL } from './index-
|
|
3
|
-
import { b as readCredentialsForConfiguredRelay } from './persistence-
|
|
4
|
-
import { r as readTeamScope, t as teamScopePath } from './context-
|
|
1
|
+
import { c as configuration } from './configuration-CwfgJZKs.mjs';
|
|
2
|
+
import { q as createBuiltinTodoClient, B as BUILTIN_TODO_SKILL } from './index-BlWyEpMw.mjs';
|
|
3
|
+
import { b as readCredentialsForConfiguredRelay } from './persistence-CQhmtobL.mjs';
|
|
4
|
+
import { r as readTeamScope, t as teamScopePath } from './context-DcOpvIiR.mjs';
|
|
5
5
|
import 'node:fs';
|
|
6
6
|
import 'node:os';
|
|
7
7
|
import 'node:path';
|
|
8
|
-
import './package-
|
|
8
|
+
import './package-C4OfB2YF.mjs';
|
|
9
9
|
import 'node:fs/promises';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import '@paralleldrive/cuid2';
|
|
12
12
|
import './authRelay-DhQhkBvX.mjs';
|
|
13
13
|
import 'node:crypto';
|
|
14
14
|
import 'tweetnacl';
|
|
15
|
-
import './logger-
|
|
15
|
+
import './logger-UgDpJA2u.mjs';
|
|
16
16
|
import 'chalk';
|
|
17
17
|
import 'node:util';
|
|
18
18
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { c as createTeamsClient } from './client-
|
|
2
|
+
import { c as createTeamsClient } from './client-BhAjEv8Z.mjs';
|
|
3
3
|
|
|
4
4
|
const CLOSED_GOAL_CHARS = 200;
|
|
5
5
|
const closed = (task) => task.status === "done" || task.status === "cancelled";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
1
|
+
import { l as logger } from './logger-UgDpJA2u.mjs';
|
|
2
2
|
import { existsSync, unlinkSync } from 'fs';
|
|
3
3
|
import { execSync } from 'child_process';
|
|
4
4
|
import 'chalk';
|
|
5
5
|
import 'node:util';
|
|
6
|
-
import './configuration-
|
|
6
|
+
import './configuration-CwfgJZKs.mjs';
|
|
7
7
|
import 'node:fs';
|
|
8
8
|
import 'node:os';
|
|
9
9
|
import 'node:path';
|
|
10
|
-
import './package-
|
|
10
|
+
import './package-C4OfB2YF.mjs';
|
|
11
11
|
import 'node:fs/promises';
|
|
12
12
|
|
|
13
13
|
const PLIST_LABEL = "com.happy-cli.daemon";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
3
|
+
var logger = require('./logger-BZ5TcbEh.cjs');
|
|
4
4
|
var require$$0 = require('fs');
|
|
5
5
|
var child_process = require('child_process');
|
|
6
6
|
require('chalk');
|
|
7
7
|
require('node:util');
|
|
8
|
-
require('./configuration-
|
|
8
|
+
require('./configuration-CKaq0tNe.cjs');
|
|
9
9
|
require('node:fs');
|
|
10
10
|
require('node:os');
|
|
11
11
|
require('node:path');
|
|
12
|
-
require('./package-
|
|
12
|
+
require('./package-B61-BBlh.cjs');
|
|
13
13
|
require('node:fs/promises');
|
|
14
14
|
|
|
15
15
|
const PLIST_LABEL = "com.happy-cli.daemon";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var node_fs = require('node:fs');
|
|
4
4
|
var os = require('node:os');
|
|
5
5
|
var path = require('node:path');
|
|
6
|
-
var claudeAccountEnv = require('./claudeAccountEnv-
|
|
7
|
-
var store = require('./store-
|
|
6
|
+
var claudeAccountEnv = require('./claudeAccountEnv-_O3x5AJ1.cjs');
|
|
7
|
+
var store = require('./store-aa3CVNwS.cjs');
|
|
8
8
|
|
|
9
9
|
let current = null;
|
|
10
10
|
let home = null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { mkdirSync, writeFileSync, chmodSync, readFileSync, rmSync } from 'node:fs';
|
|
2
2
|
import { homedir } from 'node:os';
|
|
3
3
|
import { dirname, join } from 'node:path';
|
|
4
|
-
import { r as resolveClaudeAccount, a as applyAccountEnv, o as overridingUserSettings } from './claudeAccountEnv-
|
|
5
|
-
import { r as readSessionBindings, w as writeSessionBinding, d as defaultSecretProbe, a as readAccounts, c as readAccountsFileV2, f as writeAccountsFile } from './store-
|
|
4
|
+
import { r as resolveClaudeAccount, a as applyAccountEnv, o as overridingUserSettings } from './claudeAccountEnv-NyoxjLuJ.mjs';
|
|
5
|
+
import { r as readSessionBindings, w as writeSessionBinding, d as defaultSecretProbe, a as readAccounts, c as readAccountsFileV2, f as writeAccountsFile } from './store-Tf-r1ouq.mjs';
|
|
6
6
|
|
|
7
7
|
let current = null;
|
|
8
8
|
let home = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "very-happy-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.195",
|
|
4
4
|
"description": "Remote multi-agent workspace CLI with deep Claude integration, native terminal streaming, and self-hosting.",
|
|
5
5
|
"author": "Kirill Dubovitskiy",
|
|
6
6
|
"contributors": [
|
|
@@ -117,12 +117,12 @@
|
|
|
117
117
|
"zod": "^4.6.7"
|
|
118
118
|
},
|
|
119
119
|
"optionalDependencies": {
|
|
120
|
-
"very-happy-tools-arm64-darwin": "0.2.
|
|
121
|
-
"very-happy-tools-x64-darwin": "0.2.
|
|
122
|
-
"very-happy-tools-arm64-linux": "0.2.
|
|
123
|
-
"very-happy-tools-x64-linux": "0.2.
|
|
124
|
-
"very-happy-tools-arm64-win32": "0.2.
|
|
125
|
-
"very-happy-tools-x64-win32": "0.2.
|
|
120
|
+
"very-happy-tools-arm64-darwin": "0.2.195",
|
|
121
|
+
"very-happy-tools-x64-darwin": "0.2.195",
|
|
122
|
+
"very-happy-tools-arm64-linux": "0.2.195",
|
|
123
|
+
"very-happy-tools-x64-linux": "0.2.195",
|
|
124
|
+
"very-happy-tools-arm64-win32": "0.2.195",
|
|
125
|
+
"very-happy-tools-x64-win32": "0.2.195"
|
|
126
126
|
},
|
|
127
127
|
"devDependencies": {
|
|
128
128
|
"@slopus/happy-wire": "workspace:*",
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var logger = require('./logger-CX3x2eI4.cjs');
|
|
4
|
-
var controlClient = require('./controlClient-DwWTns3A.cjs');
|
|
5
|
-
var rateLimitWindows = require('./rateLimitWindows-BZl6GMwQ.cjs');
|
|
6
|
-
|
|
7
|
-
function createRateLimitReporter(send, now = Date.now) {
|
|
8
|
-
const last = /* @__PURE__ */ new Map();
|
|
9
|
-
const forward = (report) => {
|
|
10
|
-
if (!report) return;
|
|
11
|
-
const signature = rateLimitWindows.rateLimitReportSignature(report);
|
|
12
|
-
const prior = last.get(report.provider);
|
|
13
|
-
if (prior && prior.signature === signature && report.observedAt - prior.at < rateLimitWindows.RATE_LIMIT_OBSERVED_REFRESH_MS) return;
|
|
14
|
-
last.set(report.provider, { signature, at: report.observedAt });
|
|
15
|
-
try {
|
|
16
|
-
send(report);
|
|
17
|
-
} catch (error) {
|
|
18
|
-
logger.logger.debug("[rate-limits] forward failed:", error);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
return {
|
|
22
|
-
observeClaude(rateLimitInfo) {
|
|
23
|
-
try {
|
|
24
|
-
forward(rateLimitWindows.fromClaudeRateLimitInfo(rateLimitInfo, now()));
|
|
25
|
-
} catch (error) {
|
|
26
|
-
logger.logger.debug("[rate-limits] claude frame ignored:", error);
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
observeCodex(snapshot) {
|
|
30
|
-
try {
|
|
31
|
-
forward(rateLimitWindows.fromCodexRateLimits(snapshot, now()));
|
|
32
|
-
} catch (error) {
|
|
33
|
-
logger.logger.debug("[rate-limits] codex snapshot ignored:", error);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
let processReporter = null;
|
|
39
|
-
function wrapperRateLimitReporter() {
|
|
40
|
-
processReporter ??= createRateLimitReporter(controlClient.reportRateLimitsToDaemon);
|
|
41
|
-
return processReporter;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
exports.wrapperRateLimitReporter = wrapperRateLimitReporter;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { l as logger } from './logger-JV7-4Q_6.mjs';
|
|
2
|
-
import { a as reportRateLimitsToDaemon } from './controlClient-Ckl8N1MS.mjs';
|
|
3
|
-
import { f as fromCodexRateLimits, a as fromClaudeRateLimitInfo, r as rateLimitReportSignature, R as RATE_LIMIT_OBSERVED_REFRESH_MS } from './rateLimitWindows-CRARnKaI.mjs';
|
|
4
|
-
|
|
5
|
-
function createRateLimitReporter(send, now = Date.now) {
|
|
6
|
-
const last = /* @__PURE__ */ new Map();
|
|
7
|
-
const forward = (report) => {
|
|
8
|
-
if (!report) return;
|
|
9
|
-
const signature = rateLimitReportSignature(report);
|
|
10
|
-
const prior = last.get(report.provider);
|
|
11
|
-
if (prior && prior.signature === signature && report.observedAt - prior.at < RATE_LIMIT_OBSERVED_REFRESH_MS) return;
|
|
12
|
-
last.set(report.provider, { signature, at: report.observedAt });
|
|
13
|
-
try {
|
|
14
|
-
send(report);
|
|
15
|
-
} catch (error) {
|
|
16
|
-
logger.debug("[rate-limits] forward failed:", error);
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
return {
|
|
20
|
-
observeClaude(rateLimitInfo) {
|
|
21
|
-
try {
|
|
22
|
-
forward(fromClaudeRateLimitInfo(rateLimitInfo, now()));
|
|
23
|
-
} catch (error) {
|
|
24
|
-
logger.debug("[rate-limits] claude frame ignored:", error);
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
observeCodex(snapshot) {
|
|
28
|
-
try {
|
|
29
|
-
forward(fromCodexRateLimits(snapshot, now()));
|
|
30
|
-
} catch (error) {
|
|
31
|
-
logger.debug("[rate-limits] codex snapshot ignored:", error);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
let processReporter = null;
|
|
37
|
-
function wrapperRateLimitReporter() {
|
|
38
|
-
processReporter ??= createRateLimitReporter(reportRateLimitsToDaemon);
|
|
39
|
-
return processReporter;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export { wrapperRateLimitReporter as w };
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { p as packageJson } from './package-Bw3H6VLn.mjs';
|
|
2
|
-
|
|
3
|
-
const LAZY_MODULES = [
|
|
4
|
-
// Entry
|
|
5
|
-
["main", () => import('./main-CFOdXbPD.mjs')],
|
|
6
|
-
["selfCheck", () => Promise.resolve().then(function () { return selfCheck; })],
|
|
7
|
-
// Subcommands (main.ts)
|
|
8
|
-
["api/api", () => import('./api-DUfunY3x.mjs').then(function (n) { return n.e; })],
|
|
9
|
-
["claude/claudeCliPath", () => import('./claudeCliPath-BqkaH2oR.mjs')],
|
|
10
|
-
["claude/runClaude", () => import('./runClaude-DsHTk5Bu.mjs')],
|
|
11
|
-
["commands/agentHome", () => import('./agentHome-Bep8semY.mjs')],
|
|
12
|
-
["commands/auth", () => import('./auth-CZ7pKS-j.mjs')],
|
|
13
|
-
["commands/auto", () => import('./auto-DC0Sq-qB.mjs')],
|
|
14
|
-
["commands/codexCommand", () => import('./codexCommand-D1xlj4sT.mjs')],
|
|
15
|
-
["commands/connect", () => import('./connect-BirnCl9q.mjs')],
|
|
16
|
-
["commands/installPiTools", () => import('./installPiTools-B_CdM5_2.mjs')],
|
|
17
|
-
["commands/installTerminalHooks", () => import('./installTerminalHooks-By7gBMEF.mjs')],
|
|
18
|
-
["commands/mcp", () => import('./mcp-R6lMcFLO.mjs')],
|
|
19
|
-
["commands/panels", () => import('./panels-BamhZCoZ.mjs')],
|
|
20
|
-
["commands/piTerminal", () => import('./piTerminal-CqxgrI13.mjs')],
|
|
21
|
-
["commands/sandbox", () => import('./sandbox-CKb7pCXg.mjs')],
|
|
22
|
-
["commands/send", () => import('./send-D8ipLKMY.mjs')],
|
|
23
|
-
["commands/server", () => import('./server-CjvgT3N9.mjs')],
|
|
24
|
-
["commands/sessions", () => import('./sessions-Dtk_agUL.mjs')],
|
|
25
|
-
["commands/sessionProvider", () => import('./sessionProvider-CLVNkfji.mjs')],
|
|
26
|
-
["commands/account", () => import('./account-Dco_nGT4.mjs')],
|
|
27
|
-
["agentProfiles/daemonAccounts", () => import('./daemonAccounts-DwPwKxvv.mjs')],
|
|
28
|
-
["commands/spawn", () => import('./spawn-Dm4xsZBX.mjs')],
|
|
29
|
-
["commands/teams", () => import('./teams-CGmC4ygu.mjs')],
|
|
30
|
-
["commands/todo", () => import('./todo-OKcTC_VC.mjs')],
|
|
31
|
-
["daemon/doctor", () => import('./doctor-BPkYWSuq.mjs')],
|
|
32
|
-
["daemon/install", () => import('./install-CChhyV2G.mjs')],
|
|
33
|
-
["daemon/run", () => import('./run-HtvH6BLi.mjs')],
|
|
34
|
-
["daemon/uninstall", () => import('./uninstall-D3stWKD2.mjs')],
|
|
35
|
-
["resume/handleResumeCommand", () => import('./handleResumeCommand-CrlqDuz7.mjs')],
|
|
36
|
-
["ui/doctor", () => import('./doctor-C1zyOSXw.mjs').then(function (n) { return n.d; })],
|
|
37
|
-
["agent/acp", () => import('./index-fZO4nF6e.mjs')],
|
|
38
|
-
["gemini/runGemini", () => import('./runGemini-DhjK6_Fp.mjs')],
|
|
39
|
-
["gemini/utils/config", () => import('./config-C2XYEwXz.mjs')],
|
|
40
|
-
["openclaw/runOpenClaw", () => import('./runOpenClaw-B6lawk8n.mjs')],
|
|
41
|
-
["persistence", () => import('./persistence-Cg4sfjQV.mjs').then(function (n) { return n.G; })],
|
|
42
|
-
// Deferred halves of the runners and clients
|
|
43
|
-
["api/apiMachine", () => import('./apiMachine-CU_bw5nV.mjs')],
|
|
44
|
-
["claude/runClaudeDeps", () => import('./runClaudeDeps-BV3vpeyY.mjs')],
|
|
45
|
-
["claude/claudeLocal", () => import('./claudeLocal-BZUgA5G2.mjs')],
|
|
46
|
-
["claude/claudeLocalLauncher", () => import('./claudeLocalLauncher-A0AQyHFi.mjs')],
|
|
47
|
-
["claude/sdk", () => import('./index-BcSPg3c5.mjs')],
|
|
48
|
-
["assistant/bootstrap", () => import('./bootstrap-B3gMpU9e.mjs')],
|
|
49
|
-
["agentHome", () => import('./index-Cn73rdtQ.mjs')],
|
|
50
|
-
["ui/ink/RemoteModeDisplay", () => import('./RemoteModeDisplay-D-HewyXg.mjs')],
|
|
51
|
-
// External packages imported on demand
|
|
52
|
-
["expo-server-sdk", () => import('expo-server-sdk')],
|
|
53
|
-
["ink", () => import('ink')],
|
|
54
|
-
["react", () => import('react')]
|
|
55
|
-
];
|
|
56
|
-
|
|
57
|
-
async function runSelfCheck(modules = LAZY_MODULES) {
|
|
58
|
-
const failures = [];
|
|
59
|
-
for (const [name, load] of modules) {
|
|
60
|
-
try {
|
|
61
|
-
await load();
|
|
62
|
-
} catch (error) {
|
|
63
|
-
failures.push({ name, error: error instanceof Error ? error.message : String(error) });
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
return failures;
|
|
67
|
-
}
|
|
68
|
-
async function selfCheckMain(opts = {}) {
|
|
69
|
-
const started = Date.now();
|
|
70
|
-
const failures = await runSelfCheck();
|
|
71
|
-
if (failures.length > 0) {
|
|
72
|
-
for (const failure of failures) {
|
|
73
|
-
console.error(`very-happy: failed to load ${failure.name}: ${failure.error}`);
|
|
74
|
-
}
|
|
75
|
-
return 1;
|
|
76
|
-
}
|
|
77
|
-
if (opts.verbose) console.log(`self-check: ${LAZY_MODULES.length} modules loaded in ${Date.now() - started}ms`);
|
|
78
|
-
console.log(`very-happy version: ${packageJson.version}`);
|
|
79
|
-
return 0;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
var selfCheck = /*#__PURE__*/Object.freeze({
|
|
83
|
-
__proto__: null,
|
|
84
|
-
runSelfCheck: runSelfCheck,
|
|
85
|
-
selfCheckMain: selfCheckMain
|
|
86
|
-
});
|
|
87
|
-
|
|
88
|
-
export { runSelfCheck, selfCheckMain };
|