very-happy-cli 0.2.195 → 0.2.196
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-BTIF87yb.mjs → AcpBackend-RqGkFeeY.mjs} +3 -3
- package/dist/{AcpBackend-CXSV6FF5.cjs → AcpBackend-tL_g_UJ5.cjs} +3 -3
- package/dist/{AcpSessionManager-CEpU_GVk.mjs → AcpSessionManager-C-R6yHXc.mjs} +2 -2
- package/dist/{AcpSessionManager-BbWODxSp.cjs → AcpSessionManager-CFB24qBh.cjs} +1 -1
- package/dist/{BasePermissionHandler-C6iF28Ct.cjs → BasePermissionHandler-C0JS37Jt.cjs} +1 -1
- package/dist/{BasePermissionHandler-B5ka7Aaf.mjs → BasePermissionHandler-CgHLVNKT.mjs} +1 -1
- package/dist/{account-Bvcdk9CH.cjs → account-DOil1Hn8.cjs} +5 -5
- package/dist/{account-WSJcdMGl.mjs → account-EzL-zwwE.mjs} +11 -11
- package/dist/{accountService-BtEgv0fC.mjs → accountService-DQ21IlBs.mjs} +4 -4
- package/dist/{acpSessionResume-B2hd1Wub.cjs → acpSessionResume-B01oHWDS.cjs} +1 -1
- package/dist/{acpSessionResume-BYMm4w8Q.mjs → acpSessionResume-DEOIZUuj.mjs} +1 -1
- package/dist/{agentHome-CVM15_3U.cjs → agentHome-BulDO_1K.cjs} +4 -4
- package/dist/{agentHome-Jl8yWAjF.mjs → agentHome-DucTue1n.mjs} +4 -4
- package/dist/{api-DOzNOoVJ.mjs → api-CiNezCys.mjs} +46 -13
- package/dist/{api-TpjZJXV-.cjs → api-fuwEEEkT.cjs} +45 -12
- package/dist/{apiMachine-COkvJAmd.cjs → apiMachine-CxmiSa2-.cjs} +13 -13
- package/dist/{apiMachine-M-Fs9g5Y.mjs → apiMachine-DCmKjms1.mjs} +18 -18
- package/dist/{attachmentContent-BiBOjTXX.cjs → attachmentContent-Cehh7ClR.cjs} +2 -2
- package/dist/{attachmentContent-D6PjMVDq.mjs → attachmentContent-CiY3MvdO.mjs} +2 -2
- package/dist/{auth-DfcdjMUp.cjs → auth-DHlbjtf7.cjs} +5 -5
- package/dist/{auth-BfHLe1gU.mjs → auth-DHqHrs5d.mjs} +8 -8
- package/dist/{auth-Bfe3Ue_B.mjs → auth-DVsH_a8J.mjs} +5 -5
- package/dist/{auth-BOceB8cL.cjs → auth-tlMcvk2Y.cjs} +8 -8
- package/dist/{auto-CDeivd5V.mjs → auto-Cnn8luKk.mjs} +17 -17
- package/dist/{auto-CnTitokD.cjs → auto-DNAa8xDZ.cjs} +14 -14
- package/dist/{bootstrap-BxcKrgR9.mjs → bootstrap-C2XSEyOe.mjs} +2 -2
- package/dist/{bootstrap-DpyP22Wx.cjs → bootstrap-PeTZ2sAn.cjs} +2 -2
- package/dist/{browser-ac0aPrVE.cjs → browser-Bm24RiFU.cjs} +1 -1
- package/dist/{browser-Bb0Gqffc.mjs → browser-CWWyaf8_.mjs} +1 -1
- package/dist/{claudeAccountEnv-NyoxjLuJ.mjs → claudeAccountEnv-CPO6CGNd.mjs} +1 -1
- package/dist/{claudeLocal-RGWhplSr.cjs → claudeLocal-BDWy2pFt.cjs} +4 -4
- package/dist/{claudeLocal-otwxWF6e.mjs → claudeLocal-CRG-Q7kS.mjs} +5 -5
- package/dist/{claudeLocalLauncher-CTibA4cU.mjs → claudeLocalLauncher-B5cOrszW.mjs} +10 -10
- package/dist/{claudeLocalLauncher-yG-MBhY7.cjs → claudeLocalLauncher-DmSLoHlw.cjs} +9 -9
- package/dist/{claudeSessionFork-HFFwivGY.mjs → claudeSessionFork-BqV6E0ep.mjs} +1 -1
- package/dist/{claudeSessionFork-DH_Su4uO.cjs → claudeSessionFork-OffWLYgd.cjs} +1 -1
- package/dist/{client-BhAjEv8Z.mjs → client-B3lOol4f.mjs} +4 -4
- package/dist/{client-BlV73Gbw.cjs → client-B9fcSMXP.cjs} +2 -2
- package/dist/{client-CydHzidF.mjs → client-CfTeXnYS.mjs} +2 -2
- package/dist/{client-DpTk1S7C.mjs → client-Cg_cuQb1.mjs} +2 -2
- package/dist/{client-DcXLNaF2.cjs → client-Ckic3nxZ.cjs} +2 -2
- package/dist/{client-DxjYsJ8d.cjs → client-YFvImdwH.cjs} +3 -3
- package/dist/codex/happyMcpStdioBridge.cjs +15 -15
- package/dist/codex/happyMcpStdioBridge.mjs +16 -16
- package/dist/{codexAccount-CKXpXq0B.mjs → codexAccount-iZwmpYti.mjs} +1 -1
- package/dist/{codexAppServerClient-C1xBSuVk.cjs → codexAppServerClient-C-UwVMUN.cjs} +3 -3
- package/dist/{codexAppServerClient-mln0W8vT.mjs → codexAppServerClient-aV5m-FpZ.mjs} +3 -3
- package/dist/{codexCommand-Plm-_aRy.cjs → codexCommand-5nWT7F8A.cjs} +48 -43
- package/dist/{codexCommand-CmWhYduF.mjs → codexCommand-CI2NTyIF.mjs} +54 -49
- package/dist/{codexTermination-QltAvFpq.mjs → codexTermination-CLjDP6Ja.mjs} +6 -2
- package/dist/{codexTermination-C9c80lIF.cjs → codexTermination-D18IHgLP.cjs} +6 -2
- package/dist/{config-BH75enfT.cjs → config-B7YtrHi0.cjs} +3 -3
- package/dist/{config-DK27kWTT.mjs → config-BfwjfFSC.mjs} +3 -3
- package/dist/{configuration-CwfgJZKs.mjs → configuration-C8r6uD9k.mjs} +1 -1
- package/dist/{configuration-CKaq0tNe.cjs → configuration-CWRKSOyj.cjs} +1 -1
- package/dist/{connect-_QkCFMxO.cjs → connect-DALX1hGB.cjs} +14 -14
- package/dist/{connect-h3_VMJst.mjs → connect-K5HBcM56.mjs} +15 -15
- package/dist/{context-DbENnaVc.cjs → context-BqhlGL3u.cjs} +1 -1
- package/dist/{context-DcOpvIiR.mjs → context-CtMY-M8T.mjs} +1 -1
- package/dist/{controlClient-Dv6IvvUq.mjs → controlClient-DYQ1g2ar.mjs} +19 -7
- package/dist/{controlClient-D_HIbnnS.cjs → controlClient-DyNgxNl7.cjs} +19 -7
- package/dist/{createSessionMetadata-CusO22Am.cjs → createSessionMetadata-C4WN8pVK.cjs} +2 -2
- package/dist/{createSessionMetadata-DimBsfVG.mjs → createSessionMetadata-CZuEDo2v.mjs} +2 -2
- package/dist/{daemonAccounts-QT-RDDEp.mjs → daemonAccounts-CnAEaJE_.mjs} +3 -3
- package/dist/{defaultPermissionMode-B-Vt8ECY.mjs → defaultPermissionMode-CpEJ0wlb.mjs} +1 -1
- package/dist/{deterministicJson-CMApF2Rl.mjs → deterministicJson-Dg_0QJAR.mjs} +13 -13
- package/dist/{deterministicJson-BYqRKTmL.cjs → deterministicJson-r4zhG546.cjs} +12 -12
- package/dist/{doctor-Czbl7gk2.cjs → doctor-0gLGzwz6.cjs} +8 -8
- package/dist/{doctor-u46qYYKX.cjs → doctor-CJpFhHoK.cjs} +8 -9
- package/dist/{doctor-BkyoZ0Uw.mjs → doctor-COeFzPpz.mjs} +8 -8
- package/dist/{doctor-BPkYWSuq.mjs → doctor-GN5mPOn5.mjs} +8 -9
- package/dist/{downloadTarget-C5BzZ_bz.cjs → downloadTarget-8ovVpDv1.cjs} +6 -6
- package/dist/{downloadTarget-CM0BZNSY.mjs → downloadTarget-CbuUiS5p.mjs} +6 -6
- package/dist/{ensureDaemonRunning-D508DmcP.cjs → ensureDaemonRunning-Bq-n6xTt.cjs} +5 -5
- package/dist/{ensureDaemonRunning-P399ot_C.mjs → ensureDaemonRunning-CwlujXmV.mjs} +5 -5
- package/dist/{handleResumeCommand-BK_2ShBf.mjs → handleResumeCommand-B5GgmPm_.mjs} +5 -5
- package/dist/{handleResumeCommand-CCgK7-0v.cjs → handleResumeCommand-muSrYA5y.cjs} +5 -5
- package/dist/{index-_DRVKtSd.mjs → index-BRH0XYSO.mjs} +53 -46
- package/dist/{index-BalJgriQ.cjs → index-BUOd8bNd.cjs} +5 -5
- package/dist/{index-BENDk1i9.mjs → index-BZCIkrFj.mjs} +4 -4
- package/dist/{index-BlWyEpMw.mjs → index-C27JFCbe.mjs} +1 -1
- package/dist/{index-CGKn-GTK.cjs → index-CQZg9jKx.cjs} +4 -4
- package/dist/{index-Bz9Bj7l1.cjs → index-CnY74Dae.cjs} +3 -3
- package/dist/{index-QSAckvNv.mjs → index-D0V-seiN.mjs} +3 -3
- package/dist/{index-DR3NJLVk.mjs → index-DKCmDned.mjs} +5 -5
- package/dist/{index-CSO1-mZ9.cjs → index-Dt_YE-zw.cjs} +47 -40
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-CqXaN7_C.cjs → install-BlW2kkPl.cjs} +3 -3
- package/dist/{install-DMTvEPrB.mjs → install-CooQf1oU.mjs} +3 -3
- package/dist/lib.cjs +16 -16
- package/dist/lib.d.cts +4 -0
- package/dist/lib.d.mts +4 -0
- package/dist/lib.mjs +16 -16
- package/dist/{lidState-Cb3TbhPb.mjs → lidState-BflRFw38.mjs} +1 -1
- package/dist/{lidState-Btv4N_B8.cjs → lidState-VZ1j_QYw.cjs} +1 -1
- package/dist/{localHappyAgentAuth-CAAIUJyY.mjs → localHappyAgentAuth-BAK_nqMG.mjs} +1 -1
- package/dist/{localHappyAgentAuth-B3Q5DNLR.cjs → localHappyAgentAuth-oxhpgJOb.cjs} +1 -1
- package/dist/{logger-UgDpJA2u.mjs → logger-D1hb3CG8.mjs} +2 -2
- package/dist/{logger-BZ5TcbEh.cjs → logger-HQ9yDb8R.cjs} +2 -2
- package/dist/{machineMetadata-BYHC-3Vx.mjs → machineMetadata-Dxng45Uh.mjs} +3 -3
- package/dist/{machineMetadata-DLb-m4fL.cjs → machineMetadata-Dzwn-HjN.cjs} +3 -3
- package/dist/{main-CwW6lHIw.mjs → main-BP0iY2vQ.mjs} +48 -48
- package/dist/{main-LavPb80B.cjs → main-D7qre-pa.cjs} +48 -48
- package/dist/{mcp-BjYz5Ymf.mjs → mcp-BmDGyj7k.mjs} +18 -18
- package/dist/{mcp-BQbWhqUh.cjs → mcp-D3yzLkh8.cjs} +14 -14
- package/dist/{mirrorProtocol-BH5eT99U.mjs → mirrorProtocol-C9Zc6GFT.mjs} +3 -3
- package/dist/{mirrorProtocol-Ci9YmCEV.cjs → mirrorProtocol-Cv2otcvM.cjs} +2 -2
- package/dist/{package-C4OfB2YF.mjs → package-CpmoMPuj.mjs} +7 -7
- package/dist/{package-B61-BBlh.cjs → package-Dn7zZkY1.cjs} +7 -7
- package/dist/{panels-cBJT5Up1.mjs → panels-CQobcX5w.mjs} +5 -5
- package/dist/{panels-ByprLJag.cjs → panels-D59PlNoD.cjs} +5 -5
- package/dist/{peerTools-DS6GqJcn.mjs → peerTools-CNzlwuL7.mjs} +5 -5
- package/dist/{peerTools-BXSjS8lB.cjs → peerTools-D417O7d-.cjs} +5 -5
- package/dist/{persistence-DBmeYlwT.cjs → persistence-BiyvEYaR.cjs} +15 -5
- package/dist/{persistence-CQhmtobL.mjs → persistence-CagHeZ-f.mjs} +15 -5
- package/dist/{piRunnerArgs-Dy-3vN_Q.mjs → piRunnerArgs-DKU5LoWu.mjs} +1 -1
- package/dist/{piRunnerArgs-CmEE058l.cjs → piRunnerArgs-kTaNYd23.cjs} +1 -1
- package/dist/{piRuntime-BCXjC4__.cjs → piRuntime-BI4KNAUY.cjs} +1 -1
- package/dist/{piRuntime-Rq9v4M4e.mjs → piRuntime-BV4fQyZD.mjs} +1 -1
- package/dist/{piTerminal-ehNQOvLL.cjs → piTerminal-WPUtDJAV.cjs} +16 -16
- package/dist/{piTerminal-CRhDUqX7.mjs → piTerminal-oObkl3WJ.mjs} +20 -20
- package/dist/processTermination-ChJG5SLW.mjs +107 -0
- package/dist/processTermination-f17wxlMb.cjs +110 -0
- package/dist/{processTreeSnapshot-mDbnuojn.cjs → processTreeSnapshot-D5iNblp6.cjs} +26 -0
- package/dist/{processTreeSnapshot-CuLJDNC-.mjs → processTreeSnapshot-fuwxC0fr.mjs} +25 -1
- package/dist/{pushNotifications-67GmbVfE.mjs → pushNotifications-4sNESDMv.mjs} +11 -4
- package/dist/{pushNotifications-qCS7_tDF.cjs → pushNotifications-DRDWUnP-.cjs} +11 -2
- package/dist/{query-CIDBGnv6.mjs → query-6OWHW1U1.mjs} +2 -2
- package/dist/{query-B4QIiI7e.cjs → query-qIbeJ2-r.cjs} +2 -2
- package/dist/{rateLimitWindows-8-khalzj.mjs → rateLimitWindows-4uhuwKnU.mjs} +1 -1
- package/dist/{rateLimitWindows-BIfLMxOk.cjs → rateLimitWindows-U4fc1-_6.cjs} +1 -1
- package/dist/{registerCommonHandlers-G2p0MJu4.cjs → registerCommonHandlers-CEV9KUsq.cjs} +2 -2
- package/dist/{registerCommonHandlers-C7hlztAO.mjs → registerCommonHandlers-PTJ8TBj9.mjs} +2 -2
- package/dist/{registerKillSessionHandler-BWvl6wro.cjs → registerKillSessionHandler-C6F1sjoo.cjs} +5 -5
- package/dist/{registerKillSessionHandler-rwXdO0t0.mjs → registerKillSessionHandler-D4SSwQj8.mjs} +6 -6
- package/dist/{registerSideQuestionHandler-Xg46gSVh.mjs → registerSideQuestionHandler-4mRv0Msq.mjs} +4 -4
- package/dist/{registerSideQuestionHandler-CsyPnjce.cjs → registerSideQuestionHandler-ByUnjI3V.cjs} +4 -4
- package/dist/{remoteSessionClient-D6_7vNKc.cjs → remoteSessionClient-CUk6haD7.cjs} +5 -5
- package/dist/{remoteSessionClient-DQSnC7ox.mjs → remoteSessionClient-CfYDFlKm.mjs} +5 -5
- package/dist/{reportProgressTool-HjzV5y_2.mjs → reportProgressTool-BCn5oG52.mjs} +3 -3
- package/dist/{reportProgressTool-CIHGKraF.cjs → reportProgressTool-C1JOvo6T.cjs} +2 -2
- package/dist/{run-tQ4bFkHu.cjs → run-D2SlfZPP.cjs} +46 -66
- package/dist/{run-M06F1958.mjs → run-DC8BIklA.mjs} +52 -72
- package/dist/{runClaude-Ct0_mShC.cjs → runClaude-BE-5GgIZ.cjs} +29 -25
- package/dist/{runClaude-Dm9kQZ-w.mjs → runClaude-D6fqN9PD.mjs} +34 -30
- package/dist/{runClaudeDeps-DNOzXjc3.mjs → runClaudeDeps-BmdwskeI.mjs} +51 -50
- package/dist/{runClaudeDeps-BT2kWCrQ.cjs → runClaudeDeps-W0nv2vHL.cjs} +39 -38
- package/dist/{runGemini-BvN-yeQR.mjs → runGemini-C3Ipeu1i.mjs} +37 -34
- package/dist/{runGemini-cua7_iuR.cjs → runGemini-Da_d-2kV.cjs} +36 -33
- package/dist/{runOpenClaw-C9E2XzmX.mjs → runOpenClaw-BoI6nbKB.mjs} +30 -20
- package/dist/{runOpenClaw-NpYFRhKm.cjs → runOpenClaw-af5qDNU0.cjs} +30 -20
- package/dist/{sandbox-C-BXZbt9.mjs → sandbox-CjoyUSGa.mjs} +4 -4
- package/dist/{sandbox-hImfD0-T.cjs → sandbox-UGF68GrE.cjs} +4 -4
- package/dist/selfCheck-CNrOZgBv.mjs +88 -0
- package/dist/{selfCheck-B3ulijQM.cjs → selfCheck-Cr8eAw4m.cjs} +39 -39
- package/dist/{send-BCVQkTOl.cjs → send-CVSht9s_.cjs} +8 -8
- package/dist/{send-Dv2L8IRW.mjs → send-gqX0-i4p.mjs} +8 -8
- package/dist/{server-DYxyCyYF.cjs → server-BPgVv-BG.cjs} +6 -6
- package/dist/{server-BBBfuSB-.mjs → server-DxlNqWJo.mjs} +4 -4
- package/dist/{sessionExitLifecycle-DFltxXU8.cjs → sessionExitLifecycle-DB2rjvVS.cjs} +5 -1
- package/dist/{sessionExitLifecycle-CzkLIgNZ.mjs → sessionExitLifecycle-iAtZN9sa.mjs} +5 -1
- package/dist/{sessionLock-BexUoWhZ.mjs → sessionLock-BfvR9BGB.mjs} +94 -78
- package/dist/{sessionLock-B8fsnpZD.cjs → sessionLock-D2usWXAg.cjs} +92 -78
- package/dist/{sessionOps-74pSDXoS.cjs → sessionOps-JRyQhF5s.cjs} +4 -4
- package/dist/{sessionOps-BkEgNA2O.mjs → sessionOps-OmRqUFm4.mjs} +4 -4
- package/dist/{sessionProvider-CWgHsZUA.cjs → sessionProvider-BpscgwwC.cjs} +5 -5
- package/dist/{sessionProvider-DXkhlJE6.mjs → sessionProvider-DTEdidBc.mjs} +10 -10
- package/dist/{sessionScanner-Dhh1wREW.mjs → sessionScanner-BlAOpqMh.mjs} +3 -3
- package/dist/{sessionScanner-D56EkcIj.cjs → sessionScanner-C_qVc1ok.cjs} +3 -3
- package/dist/{sessions-C1zRTjUe.cjs → sessions-7iyjxti9.cjs} +10 -10
- package/dist/{sessions-dJR6k3JY.mjs → sessions-CnjHHllR.mjs} +10 -10
- package/dist/{setupOfflineReconnection-CMUdHtFT.cjs → setupOfflineReconnection-BCbJa5mT.cjs} +2 -2
- package/dist/{setupOfflineReconnection-Dp1rC-eP.mjs → setupOfflineReconnection-IKEI7fLJ.mjs} +2 -2
- package/dist/{spawn-D3-Weoiq.mjs → spawn-CbfcClhj.mjs} +14 -14
- package/dist/{spawn-kMKI09Kh.cjs → spawn-CxEl0Dyz.cjs} +12 -12
- package/dist/{spawnAgents-hKFGQaSJ.mjs → spawnAgents-N3jxdNJC.mjs} +1 -1
- package/dist/{spawnHappyCLI-CgjpjSTT.mjs → spawnHappyCLI-C8gMHJu5.mjs} +1 -1
- package/dist/{spawnHappyCLI-Du1IgJGA.cjs → spawnHappyCLI-CHSlXWUe.cjs} +1 -1
- package/dist/{startFileWatcher-DapvIGxp.mjs → startFileWatcher-6hslFu_B.mjs} +1 -1
- package/dist/{startFileWatcher-DGOnF95-.cjs → startFileWatcher-BGpYPz6L.cjs} +1 -1
- package/dist/{startupSessionCreate-CSi60oo_.mjs → startupSessionCreate-B7jrCZUD.mjs} +3 -3
- package/dist/{startupSessionCreate-rkIMVGJW.cjs → startupSessionCreate-CltDtCEF.cjs} +3 -3
- package/dist/{store-Tf-r1ouq.mjs → store-BlPvTr_Q.mjs} +1 -1
- package/dist/{streamRelay-C9lzMo0V.mjs → streamRelay-DFZyAPD_.mjs} +1 -1
- package/dist/{sync-Cj8Vhltg.cjs → sync-DfI78smj.cjs} +1 -1
- package/dist/{sync-GJkf-HGu.mjs → sync-DtzoF9sw.mjs} +1 -1
- package/dist/{systemPrompt-BEagRbDZ.mjs → systemPrompt-B1Xd99hK.mjs} +2 -2
- package/dist/{systemPrompt-Cne9i1SE.cjs → systemPrompt-HZNR9rjt.cjs} +1 -1
- package/dist/{teams-C_18IMNM.mjs → teams-Vk75H6BZ.mjs} +7 -7
- package/dist/{teams-ClTg6hQ1.cjs → teams-fFX-L_ms.cjs} +6 -6
- package/dist/{template-Ci-cyigF.mjs → template-CJ8uLlD8.mjs} +1 -1
- package/dist/{time-BPPTQ_sE.cjs → time-BqPZjTpo.cjs} +1 -1
- package/dist/{time-CIkdLyza.mjs → time-CgAwVt5R.mjs} +1 -1
- package/dist/{titleGenerator-DnwTdTB_.mjs → titleGenerator-D2UB7Uyr.mjs} +2 -2
- package/dist/{titleGenerator-B_OgL9Pd.cjs → titleGenerator-ijVOuv3J.cjs} +2 -2
- package/dist/{todo-DmHolFRy.mjs → todo-CCuqtD0O.mjs} +6 -6
- package/dist/{todo-DPQHtZVM.cjs → todo-vCzaIwNp.cjs} +5 -5
- package/dist/{tools-B3KGMSU5.cjs → tools-CL8h3fqh.cjs} +1 -1
- package/dist/{tools-DqjPHq9I.mjs → tools-DthGQoo3.mjs} +1 -1
- package/dist/{uninstall-CrK5dgx8.cjs → uninstall-CIvThBvI.cjs} +3 -3
- package/dist/{uninstall-Cm97eybp.mjs → uninstall-DCJh4UoO.mjs} +3 -3
- package/dist/{wrapperAccount-Cq7eZRMx.mjs → wrapperAccount-RPtq8BwD.mjs} +2 -2
- package/package.json +7 -7
- package/dist/selfCheck-D-e9kVhc.mjs +0 -88
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var os = require('os');
|
|
5
5
|
var require$$1 = require('path');
|
|
6
|
-
var persistence = require('./persistence-
|
|
7
|
-
var api = require('./api-
|
|
8
|
-
var configuration = require('./configuration-
|
|
6
|
+
var persistence = require('./persistence-BiyvEYaR.cjs');
|
|
7
|
+
var api = require('./api-fuwEEEkT.cjs');
|
|
8
|
+
var configuration = require('./configuration-CWRKSOyj.cjs');
|
|
9
9
|
var http = require('http');
|
|
10
10
|
var require$$3 = require('crypto');
|
|
11
|
-
var browser = require('./browser-
|
|
11
|
+
var browser = require('./browser-Bm24RiFU.cjs');
|
|
12
12
|
var child_process = require('child_process');
|
|
13
13
|
var util = require('util');
|
|
14
14
|
require('node:fs/promises');
|
|
@@ -17,29 +17,29 @@ require('zod');
|
|
|
17
17
|
require('./authRelay-Dy1qU9td.cjs');
|
|
18
18
|
require('node:crypto');
|
|
19
19
|
require('tweetnacl');
|
|
20
|
-
require('./logger-
|
|
20
|
+
require('./logger-HQ9yDb8R.cjs');
|
|
21
21
|
require('node:util');
|
|
22
22
|
require('node:path');
|
|
23
23
|
require('axios');
|
|
24
|
-
require('./
|
|
25
|
-
require('node:events');
|
|
26
|
-
require('socket.io-client');
|
|
27
|
-
require('./pushNotifications-qCS7_tDF.cjs');
|
|
24
|
+
require('./pushNotifications-DRDWUnP-.cjs');
|
|
28
25
|
require('./index-D9Hidq-g.cjs');
|
|
29
26
|
require('@paralleldrive/cuid2');
|
|
30
27
|
require('./contentLogMetadata-ZSFk_NjQ.cjs');
|
|
28
|
+
require('./lidState-VZ1j_QYw.cjs');
|
|
29
|
+
require('node:events');
|
|
30
|
+
require('socket.io-client');
|
|
31
31
|
require('./limits-C-a7gr04.cjs');
|
|
32
|
-
require('./time-
|
|
33
|
-
require('./registerCommonHandlers-
|
|
32
|
+
require('./time-BqPZjTpo.cjs');
|
|
33
|
+
require('./registerCommonHandlers-CEV9KUsq.cjs');
|
|
34
34
|
require('fs/promises');
|
|
35
35
|
require('cross-spawn');
|
|
36
36
|
require('./projectPath-C3ioB4Bu.cjs');
|
|
37
37
|
require('url');
|
|
38
|
-
require('./sync-
|
|
38
|
+
require('./sync-DfI78smj.cjs');
|
|
39
39
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
40
|
-
require('./controlClient-
|
|
40
|
+
require('./controlClient-DyNgxNl7.cjs');
|
|
41
41
|
require('node:os');
|
|
42
|
-
require('./package-
|
|
42
|
+
require('./package-Dn7zZkY1.cjs');
|
|
43
43
|
require('open');
|
|
44
44
|
|
|
45
45
|
const CLIENT_ID$2 = "app_EMoamEEZ73f0CkXaXp7hrann";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
2
|
import { homedir } from 'os';
|
|
3
3
|
import { join } from 'path';
|
|
4
|
-
import { b as readCredentialsForConfiguredRelay } from './persistence-
|
|
5
|
-
import { A as ApiClient } from './api-
|
|
6
|
-
import { f as ensurePrivateDirectorySync, w as writePrivateFileSync } from './configuration-
|
|
4
|
+
import { b as readCredentialsForConfiguredRelay } from './persistence-CagHeZ-f.mjs';
|
|
5
|
+
import { A as ApiClient } from './api-CiNezCys.mjs';
|
|
6
|
+
import { f as ensurePrivateDirectorySync, w as writePrivateFileSync } from './configuration-C8r6uD9k.mjs';
|
|
7
7
|
import { createServer } from 'http';
|
|
8
8
|
import { randomBytes, createHash } from 'crypto';
|
|
9
|
-
import { o as openBrowser } from './browser-
|
|
9
|
+
import { o as openBrowser } from './browser-CWWyaf8_.mjs';
|
|
10
10
|
import { exec } from 'child_process';
|
|
11
11
|
import { promisify } from 'util';
|
|
12
12
|
import 'node:fs/promises';
|
|
@@ -15,29 +15,29 @@ import 'zod';
|
|
|
15
15
|
import './authRelay-DhQhkBvX.mjs';
|
|
16
16
|
import 'node:crypto';
|
|
17
17
|
import 'tweetnacl';
|
|
18
|
-
import './logger-
|
|
18
|
+
import './logger-D1hb3CG8.mjs';
|
|
19
19
|
import 'node:util';
|
|
20
20
|
import 'node:path';
|
|
21
21
|
import 'axios';
|
|
22
|
-
import './
|
|
23
|
-
import '
|
|
24
|
-
import 'socket.io-client';
|
|
25
|
-
import './pushNotifications-67GmbVfE.mjs';
|
|
26
|
-
import './index-BlWyEpMw.mjs';
|
|
22
|
+
import './pushNotifications-4sNESDMv.mjs';
|
|
23
|
+
import './index-C27JFCbe.mjs';
|
|
27
24
|
import '@paralleldrive/cuid2';
|
|
28
25
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
26
|
+
import './lidState-BflRFw38.mjs';
|
|
27
|
+
import 'node:events';
|
|
28
|
+
import 'socket.io-client';
|
|
29
29
|
import './limits-DIo7rEBR.mjs';
|
|
30
|
-
import './time-
|
|
31
|
-
import './registerCommonHandlers-
|
|
30
|
+
import './time-CgAwVt5R.mjs';
|
|
31
|
+
import './registerCommonHandlers-PTJ8TBj9.mjs';
|
|
32
32
|
import 'fs/promises';
|
|
33
33
|
import 'cross-spawn';
|
|
34
34
|
import './projectPath-BTBIMB57.mjs';
|
|
35
35
|
import 'url';
|
|
36
|
-
import './sync-
|
|
36
|
+
import './sync-DtzoF9sw.mjs';
|
|
37
37
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
38
|
-
import './controlClient-
|
|
38
|
+
import './controlClient-DYQ1g2ar.mjs';
|
|
39
39
|
import 'node:os';
|
|
40
|
-
import './package-
|
|
40
|
+
import './package-CpmoMPuj.mjs';
|
|
41
41
|
import 'open';
|
|
42
42
|
|
|
43
43
|
const CLIENT_ID$2 = "app_EMoamEEZ73f0CkXaXp7hrann";
|
|
@@ -5,7 +5,7 @@ var node_fs = require('node:fs');
|
|
|
5
5
|
var path = require('node:path');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
7
|
var z = require('zod');
|
|
8
|
-
var configuration = require('./configuration-
|
|
8
|
+
var configuration = require('./configuration-CWRKSOyj.cjs');
|
|
9
9
|
|
|
10
10
|
const TeamScopeSchema = z.z.object({
|
|
11
11
|
serverUrl: z.z.string(),
|
|
@@ -3,7 +3,7 @@ import { constants } from 'node:fs';
|
|
|
3
3
|
import { isAbsolute, join, dirname } from 'node:path';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
5
|
import { z } from 'zod';
|
|
6
|
-
import { n as normalizeHttpEndpoint, c as configuration } from './configuration-
|
|
6
|
+
import { n as normalizeHttpEndpoint, c as configuration } from './configuration-C8r6uD9k.mjs';
|
|
7
7
|
|
|
8
8
|
const TeamScopeSchema = z.object({
|
|
9
9
|
serverUrl: z.string(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import { d as readDaemonState, f as clearDaemonState } from './persistence-
|
|
3
|
-
import { c as configuration } from './configuration-
|
|
1
|
+
import { l as logger } from './logger-D1hb3CG8.mjs';
|
|
2
|
+
import { d as readDaemonState, f as clearDaemonState } from './persistence-CagHeZ-f.mjs';
|
|
3
|
+
import { c as configuration } from './configuration-C8r6uD9k.mjs';
|
|
4
4
|
|
|
5
5
|
function daemonControlHeaders(controlToken) {
|
|
6
6
|
return {
|
|
@@ -189,6 +189,14 @@ async function setTerminalTitleViaDaemon(terminalId, title, ifAbsent = false) {
|
|
|
189
189
|
}
|
|
190
190
|
return { ok: result?.status === "ok", error: result?.status === "ok" ? void 0 : "unexpected daemon response" };
|
|
191
191
|
}
|
|
192
|
+
function daemonProbeFailure(error) {
|
|
193
|
+
const err = error;
|
|
194
|
+
const name = err?.name ?? err?.cause?.name;
|
|
195
|
+
if (name === "TimeoutError" || name === "AbortError") return "unresponsive";
|
|
196
|
+
const code = err?.cause?.code ?? err?.code;
|
|
197
|
+
if (code === "UND_ERR_HEADERS_TIMEOUT" || code === "UND_ERR_BODY_TIMEOUT" || code === "UND_ERR_CONNECT_TIMEOUT" || code === "ETIMEDOUT") return "unresponsive";
|
|
198
|
+
return "not-listening";
|
|
199
|
+
}
|
|
192
200
|
async function checkIfDaemonRunningAndCleanupStaleState() {
|
|
193
201
|
const state = await readDaemonState();
|
|
194
202
|
if (!state) {
|
|
@@ -212,8 +220,12 @@ async function checkIfDaemonRunningAndCleanupStaleState() {
|
|
|
212
220
|
if (response.ok) {
|
|
213
221
|
return true;
|
|
214
222
|
}
|
|
215
|
-
} catch {
|
|
216
|
-
|
|
223
|
+
} catch (error) {
|
|
224
|
+
if (daemonProbeFailure(error) === "unresponsive") {
|
|
225
|
+
logger.debug(`[DAEMON RUN] PID ${state.pid} is alive but did not answer on port ${state.httpPort} within 2s; treating it as a busy daemon (state kept)`);
|
|
226
|
+
return true;
|
|
227
|
+
}
|
|
228
|
+
logger.debug(`[DAEMON RUN] PID ${state.pid} is alive but nothing serves its control port ${state.httpPort}, cleaning up stale state`);
|
|
217
229
|
await cleanupDaemonState();
|
|
218
230
|
return false;
|
|
219
231
|
}
|
|
@@ -236,9 +248,9 @@ async function isDaemonRunningCurrentlyInstalledHappyVersion() {
|
|
|
236
248
|
logger.debug(`[DAEMON CONTROL] Current CLI version: ${currentCliVersion}, Daemon started with version: ${state.startedWithCliVersion}`);
|
|
237
249
|
return currentCliVersion === state.startedWithCliVersion;
|
|
238
250
|
}
|
|
239
|
-
async function cleanupDaemonState() {
|
|
251
|
+
async function cleanupDaemonState(ownerPid) {
|
|
240
252
|
try {
|
|
241
|
-
await clearDaemonState();
|
|
253
|
+
await clearDaemonState(ownerPid);
|
|
242
254
|
logger.debug("[DAEMON RUN] Daemon state file removed");
|
|
243
255
|
} catch (error) {
|
|
244
256
|
logger.debug("[DAEMON RUN] Error cleaning up daemon metadata", error);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var persistence = require('./persistence-
|
|
5
|
-
var configuration = require('./configuration-
|
|
3
|
+
var logger = require('./logger-HQ9yDb8R.cjs');
|
|
4
|
+
var persistence = require('./persistence-BiyvEYaR.cjs');
|
|
5
|
+
var configuration = require('./configuration-CWRKSOyj.cjs');
|
|
6
6
|
|
|
7
7
|
function daemonControlHeaders(controlToken) {
|
|
8
8
|
return {
|
|
@@ -191,6 +191,14 @@ async function setTerminalTitleViaDaemon(terminalId, title, ifAbsent = false) {
|
|
|
191
191
|
}
|
|
192
192
|
return { ok: result?.status === "ok", error: result?.status === "ok" ? void 0 : "unexpected daemon response" };
|
|
193
193
|
}
|
|
194
|
+
function daemonProbeFailure(error) {
|
|
195
|
+
const err = error;
|
|
196
|
+
const name = err?.name ?? err?.cause?.name;
|
|
197
|
+
if (name === "TimeoutError" || name === "AbortError") return "unresponsive";
|
|
198
|
+
const code = err?.cause?.code ?? err?.code;
|
|
199
|
+
if (code === "UND_ERR_HEADERS_TIMEOUT" || code === "UND_ERR_BODY_TIMEOUT" || code === "UND_ERR_CONNECT_TIMEOUT" || code === "ETIMEDOUT") return "unresponsive";
|
|
200
|
+
return "not-listening";
|
|
201
|
+
}
|
|
194
202
|
async function checkIfDaemonRunningAndCleanupStaleState() {
|
|
195
203
|
const state = await persistence.readDaemonState();
|
|
196
204
|
if (!state) {
|
|
@@ -214,8 +222,12 @@ async function checkIfDaemonRunningAndCleanupStaleState() {
|
|
|
214
222
|
if (response.ok) {
|
|
215
223
|
return true;
|
|
216
224
|
}
|
|
217
|
-
} catch {
|
|
218
|
-
|
|
225
|
+
} catch (error) {
|
|
226
|
+
if (daemonProbeFailure(error) === "unresponsive") {
|
|
227
|
+
logger.logger.debug(`[DAEMON RUN] PID ${state.pid} is alive but did not answer on port ${state.httpPort} within 2s; treating it as a busy daemon (state kept)`);
|
|
228
|
+
return true;
|
|
229
|
+
}
|
|
230
|
+
logger.logger.debug(`[DAEMON RUN] PID ${state.pid} is alive but nothing serves its control port ${state.httpPort}, cleaning up stale state`);
|
|
219
231
|
await cleanupDaemonState();
|
|
220
232
|
return false;
|
|
221
233
|
}
|
|
@@ -238,9 +250,9 @@ async function isDaemonRunningCurrentlyInstalledHappyVersion() {
|
|
|
238
250
|
logger.logger.debug(`[DAEMON CONTROL] Current CLI version: ${currentCliVersion}, Daemon started with version: ${state.startedWithCliVersion}`);
|
|
239
251
|
return currentCliVersion === state.startedWithCliVersion;
|
|
240
252
|
}
|
|
241
|
-
async function cleanupDaemonState() {
|
|
253
|
+
async function cleanupDaemonState(ownerPid) {
|
|
242
254
|
try {
|
|
243
|
-
await persistence.clearDaemonState();
|
|
255
|
+
await persistence.clearDaemonState(ownerPid);
|
|
244
256
|
logger.logger.debug("[DAEMON RUN] Daemon state file removed");
|
|
245
257
|
} catch (error) {
|
|
246
258
|
logger.logger.debug("[DAEMON RUN] Error cleaning up daemon metadata", error);
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var os = require('node:os');
|
|
4
4
|
var path = require('node:path');
|
|
5
|
-
var configuration = require('./configuration-
|
|
5
|
+
var configuration = require('./configuration-CWRKSOyj.cjs');
|
|
6
6
|
var projectPath = require('./projectPath-C3ioB4Bu.cjs');
|
|
7
|
-
var _package = require('./package-
|
|
7
|
+
var _package = require('./package-Dn7zZkY1.cjs');
|
|
8
8
|
var node_fs = require('node:fs');
|
|
9
9
|
|
|
10
10
|
const realFs = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import os from 'node:os';
|
|
2
2
|
import { resolve, isAbsolute, dirname } from 'node:path';
|
|
3
|
-
import { c as configuration } from './configuration-
|
|
3
|
+
import { c as configuration } from './configuration-C8r6uD9k.mjs';
|
|
4
4
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
5
|
-
import { p as packageJson } from './package-
|
|
5
|
+
import { p as packageJson } from './package-CpmoMPuj.mjs';
|
|
6
6
|
import { existsSync, readFileSync, statSync } from 'node:fs';
|
|
7
7
|
|
|
8
8
|
const realFs = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { watchFile, unwatchFile } from 'node:fs';
|
|
2
2
|
import * as pty from 'node-pty';
|
|
3
|
-
import { g as accountsPath, p as providersPath } from './store-
|
|
4
|
-
export { S as SPAWN_ACCOUNT_ENV } from './store-
|
|
3
|
+
import { g as accountsPath, p as providersPath } from './store-BlPvTr_Q.mjs';
|
|
4
|
+
export { S as SPAWN_ACCOUNT_ENV } from './store-BlPvTr_Q.mjs';
|
|
5
5
|
import 'node:os';
|
|
6
6
|
import 'node:path';
|
|
7
|
-
import './index-
|
|
7
|
+
import './index-C27JFCbe.mjs';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import '@paralleldrive/cuid2';
|
|
10
10
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as RUN_INTENT_RPC, m as RunIntentRequestSchema, n as nextRunIntents, o as readEffortIntent, p as readModelIntent } from './index-
|
|
1
|
+
import { l as RUN_INTENT_RPC, m as RunIntentRequestSchema, n as nextRunIntents, o as readEffortIntent, p as readModelIntent } from './index-C27JFCbe.mjs';
|
|
2
2
|
|
|
3
3
|
function currentRunIntents(metadata) {
|
|
4
4
|
return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
1
|
+
import { l as logger } from './logger-D1hb3CG8.mjs';
|
|
2
2
|
import { p as prependToMessage, b as buildDigestLine, a as buildFirstTurnPrefix } from './prompt-QHuFx9j6.mjs';
|
|
3
|
-
import { P as ProjectsUnsupportedError } from './client-
|
|
4
|
-
import { c as createSelfReportState, A as AUTOMATION_TOOL_NAMES, P as PROJECT_TOOL_NAMES, r as registerAutomationTools, a as registerProjectTools, d as createProjectToolExecutor, b as registerReportProgressTool, n as normalizeAttention, e as normalizePhase, f as normalizeProgress, s as shouldAcceptSelfReport } from './reportProgressTool-
|
|
3
|
+
import { P as ProjectsUnsupportedError } from './client-CfTeXnYS.mjs';
|
|
4
|
+
import { c as createSelfReportState, A as AUTOMATION_TOOL_NAMES, P as PROJECT_TOOL_NAMES, r as registerAutomationTools, a as registerProjectTools, d as createProjectToolExecutor, b as registerReportProgressTool, n as normalizeAttention, e as normalizePhase, f as normalizeProgress, s as shouldAcceptSelfReport } from './reportProgressTool-BCn5oG52.mjs';
|
|
5
5
|
import { readFileSync, constants } from 'node:fs';
|
|
6
6
|
import { homedir } from 'node:os';
|
|
7
7
|
import { join, dirname } from 'node:path';
|
|
@@ -9,24 +9,24 @@ import { z } from 'zod';
|
|
|
9
9
|
import { p as piAgentDir } from './pi-CqyoZMjI.mjs';
|
|
10
10
|
import { unlink, mkdir, open, rename } from 'node:fs/promises';
|
|
11
11
|
import { randomUUID, createHash } from 'node:crypto';
|
|
12
|
-
import { T as TeamConnectionPreflightError, S as SessionInOtherTeamError, c as createTeamsClient, t as teamRequest } from './client-
|
|
13
|
-
import { t as teamScopePath, r as readTeamScope } from './context-
|
|
14
|
-
import { g as waitForSessionKey, e as sendUserMessage } from './sessionOps-
|
|
12
|
+
import { T as TeamConnectionPreflightError, S as SessionInOtherTeamError, c as createTeamsClient, t as teamRequest } from './client-B3lOol4f.mjs';
|
|
13
|
+
import { t as teamScopePath, r as readTeamScope } from './context-CtMY-M8T.mjs';
|
|
14
|
+
import { g as waitForSessionKey, e as sendUserMessage } from './sessionOps-OmRqUFm4.mjs';
|
|
15
15
|
import { T as TEAM_SKILL, a as TEAM_LEAD_PLAYBOOK } from './resources-CLP_MpK4.mjs';
|
|
16
|
-
import { T as TEAM_TOOL_NAMES, r as registerTeamsTools } from './tools-
|
|
17
|
-
import { S as SESSION_PEER_TOOL_NAMES, r as registerSessionPeerTools, a as createSessionPeerToolExecutor } from './peerTools-
|
|
16
|
+
import { T as TEAM_TOOL_NAMES, r as registerTeamsTools } from './tools-DthGQoo3.mjs';
|
|
17
|
+
import { S as SESSION_PEER_TOOL_NAMES, r as registerSessionPeerTools, a as createSessionPeerToolExecutor } from './peerTools-CNzlwuL7.mjs';
|
|
18
18
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
19
19
|
import { createServer } from 'node:http';
|
|
20
20
|
import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js';
|
|
21
21
|
import { C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION, c as CLIPBOARD_MAX_BYTES } from './limits-DIo7rEBR.mjs';
|
|
22
|
-
import { A as ASSISTANT_TOOL_NAMES, a as registerAssistantTools, c as checkDownloadTarget } from './downloadTarget-
|
|
22
|
+
import { A as ASSISTANT_TOOL_NAMES, a as registerAssistantTools, c as checkDownloadTarget } from './downloadTarget-CbuUiS5p.mjs';
|
|
23
23
|
import { P as PREVIEW_TOOL_NAME, R as REPORT_PROGRESS_TOOL_NAME, a as PREVIEW_TOOL_TITLE, b as PREVIEW_TOOL_DESCRIPTION, c as PREVIEW_DOWNLOAD_PARAM_DESCRIPTION } from './agentGuidance-BDYt2Qy2.mjs';
|
|
24
24
|
import { n as normalizeWebPanels, w as webPanelPath } from './webPanels-B2_C2-3g.mjs';
|
|
25
|
-
import { b as readCredentialsForConfiguredRelay, r as readSettings } from './persistence-
|
|
26
|
-
import { g as getSessionNotificationBody } from './pushNotifications-
|
|
25
|
+
import { b as readCredentialsForConfiguredRelay, r as readSettings } from './persistence-CagHeZ-f.mjs';
|
|
26
|
+
import { g as getSessionNotificationBody } from './pushNotifications-4sNESDMv.mjs';
|
|
27
27
|
import { c as checkPreviewPath } from './previewPath-CXN4Vag0.mjs';
|
|
28
|
-
import { V as ATTENTION_DISABLED_ERROR, W as ATTENTION_LIMITS, X as ownerBoardPostToRest, Y as isAttentionBoardLocalId, Z as OwnerBoardPostInputSchema, _ as OwnerBoardUpdateInputSchema, $ as OwnerBoardResolveInputSchema, a0 as OwnerBoardListInputSchema, a1 as ATTENTION_SESSION_CAPABILITY } from './index-
|
|
29
|
-
import { c as configuration } from './configuration-
|
|
28
|
+
import { V as ATTENTION_DISABLED_ERROR, W as ATTENTION_LIMITS, X as ownerBoardPostToRest, Y as isAttentionBoardLocalId, Z as OwnerBoardPostInputSchema, _ as OwnerBoardUpdateInputSchema, $ as OwnerBoardResolveInputSchema, a0 as OwnerBoardListInputSchema, a1 as ATTENTION_SESSION_CAPABILITY } from './index-C27JFCbe.mjs';
|
|
29
|
+
import { c as configuration } from './configuration-C8r6uD9k.mjs';
|
|
30
30
|
import { createHash as createHash$1 } from 'crypto';
|
|
31
31
|
|
|
32
32
|
function createProjectInjector(deps) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
3
|
+
var logger = require('./logger-HQ9yDb8R.cjs');
|
|
4
4
|
var prompt = require('./prompt-Bof2aQkI.cjs');
|
|
5
|
-
var client = require('./client-
|
|
6
|
-
var reportProgressTool = require('./reportProgressTool-
|
|
5
|
+
var client = require('./client-Ckic3nxZ.cjs');
|
|
6
|
+
var reportProgressTool = require('./reportProgressTool-C1JOvo6T.cjs');
|
|
7
7
|
var node_fs = require('node:fs');
|
|
8
8
|
var os = require('node:os');
|
|
9
9
|
var path = require('node:path');
|
|
@@ -11,24 +11,24 @@ var z = require('zod');
|
|
|
11
11
|
var pi = require('./pi-DlsrPCTa.cjs');
|
|
12
12
|
var promises = require('node:fs/promises');
|
|
13
13
|
var node_crypto = require('node:crypto');
|
|
14
|
-
var client$1 = require('./client-
|
|
15
|
-
var context = require('./context-
|
|
16
|
-
var sessionOps = require('./sessionOps-
|
|
14
|
+
var client$1 = require('./client-YFvImdwH.cjs');
|
|
15
|
+
var context = require('./context-BqhlGL3u.cjs');
|
|
16
|
+
var sessionOps = require('./sessionOps-JRyQhF5s.cjs');
|
|
17
17
|
var resources = require('./resources-BZ_Be0qM.cjs');
|
|
18
|
-
var tools = require('./tools-
|
|
19
|
-
var peerTools = require('./peerTools-
|
|
18
|
+
var tools = require('./tools-CL8h3fqh.cjs');
|
|
19
|
+
var peerTools = require('./peerTools-D417O7d-.cjs');
|
|
20
20
|
var mcp_js = require('@modelcontextprotocol/sdk/server/mcp.js');
|
|
21
21
|
var node_http = require('node:http');
|
|
22
22
|
var streamableHttp_js = require('@modelcontextprotocol/sdk/server/streamableHttp.js');
|
|
23
23
|
var limits = require('./limits-C-a7gr04.cjs');
|
|
24
|
-
var downloadTarget = require('./downloadTarget-
|
|
24
|
+
var downloadTarget = require('./downloadTarget-8ovVpDv1.cjs');
|
|
25
25
|
var agentGuidance = require('./agentGuidance-BtBx2xxE.cjs');
|
|
26
26
|
var webPanels = require('./webPanels-FCgFKvVe.cjs');
|
|
27
|
-
var persistence = require('./persistence-
|
|
28
|
-
var pushNotifications = require('./pushNotifications-
|
|
27
|
+
var persistence = require('./persistence-BiyvEYaR.cjs');
|
|
28
|
+
var pushNotifications = require('./pushNotifications-DRDWUnP-.cjs');
|
|
29
29
|
var previewPath = require('./previewPath-B0rBdhy1.cjs');
|
|
30
30
|
var index = require('./index-D9Hidq-g.cjs');
|
|
31
|
-
var configuration = require('./configuration-
|
|
31
|
+
var configuration = require('./configuration-CWRKSOyj.cjs');
|
|
32
32
|
var require$$3 = require('crypto');
|
|
33
33
|
|
|
34
34
|
function createProjectInjector(deps) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
|
-
var configuration = require('./configuration-
|
|
5
|
-
var persistence = require('./persistence-
|
|
6
|
-
var controlClient = require('./controlClient-
|
|
7
|
-
var doctor$1 = require('./doctor-
|
|
4
|
+
var configuration = require('./configuration-CWRKSOyj.cjs');
|
|
5
|
+
var persistence = require('./persistence-BiyvEYaR.cjs');
|
|
6
|
+
var controlClient = require('./controlClient-DyNgxNl7.cjs');
|
|
7
|
+
var doctor$1 = require('./doctor-CJpFhHoK.cjs');
|
|
8
8
|
var node_fs = require('node:fs');
|
|
9
9
|
var path = require('node:path');
|
|
10
10
|
var projectPath = require('./projectPath-C3ioB4Bu.cjs');
|
|
11
|
-
var _package = require('./package-
|
|
11
|
+
var _package = require('./package-Dn7zZkY1.cjs');
|
|
12
12
|
var doctorReadiness = require('./doctorReadiness-Dl6yRQCy.cjs');
|
|
13
13
|
var authRelay = require('./authRelay-Dy1qU9td.cjs');
|
|
14
14
|
var cliUpdate = require('./cliUpdate-DsKXPFYp.cjs');
|
|
15
15
|
var node_child_process = require('node:child_process');
|
|
16
|
-
var piRunnerArgs = require('./piRunnerArgs-
|
|
16
|
+
var piRunnerArgs = require('./piRunnerArgs-kTaNYd23.cjs');
|
|
17
17
|
|
|
18
18
|
function shareSafeProcessLine(process2) {
|
|
19
19
|
return `PID ${process2.pid}: command arguments hidden for privacy`;
|
|
@@ -313,8 +313,8 @@ ${typeLabels[type] || type}:`));
|
|
|
313
313
|
}
|
|
314
314
|
console.log(chalk.gray(" An external claude command is only needed for native terminal/mirror use."));
|
|
315
315
|
try {
|
|
316
|
-
const { resolveAgentHomesForCli } = await Promise.resolve().then(function () { return require('./agentHome-
|
|
317
|
-
const { describeAgentHome } = await Promise.resolve().then(function () { return require('./index-
|
|
316
|
+
const { resolveAgentHomesForCli } = await Promise.resolve().then(function () { return require('./agentHome-BulDO_1K.cjs'); });
|
|
317
|
+
const { describeAgentHome } = await Promise.resolve().then(function () { return require('./index-CQZg9jKx.cjs'); });
|
|
318
318
|
const homes = await resolveAgentHomesForCli();
|
|
319
319
|
console.log(chalk.green(`\u2713 Claude config dir: ${describeAgentHome(homes.claudeConfigDir)}`));
|
|
320
320
|
console.log(chalk.green(`\u2713 Codex home: ${describeAgentHome(homes.codexHome)}`));
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var psList = require('ps-list');
|
|
4
4
|
var spawn = require('cross-spawn');
|
|
5
|
+
var processTermination = require('./processTermination-f17wxlMb.cjs');
|
|
6
|
+
require('node:child_process');
|
|
7
|
+
require('./processTreeSnapshot-D5iNblp6.cjs');
|
|
5
8
|
|
|
6
9
|
async function findAllHappyProcesses() {
|
|
7
10
|
try {
|
|
@@ -50,18 +53,14 @@ async function killRunawayHappyProcesses() {
|
|
|
50
53
|
try {
|
|
51
54
|
console.log(`Killing runaway process PID ${pid} (command arguments hidden for privacy)`);
|
|
52
55
|
if (process.platform === "win32") {
|
|
53
|
-
const result = spawn.sync("taskkill", ["/F", "/PID", pid.toString()], { stdio: "pipe" });
|
|
56
|
+
const result = spawn.sync("taskkill", ["/F", "/T", "/PID", pid.toString()], { stdio: "pipe" });
|
|
54
57
|
if (result.error) throw result.error;
|
|
55
58
|
if (result.status !== 0) throw new Error(`taskkill exited with code ${result.status}`);
|
|
56
59
|
} else {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
if (stillAlive) {
|
|
62
|
-
console.log(`Process PID ${pid} ignored SIGTERM, using SIGKILL`);
|
|
63
|
-
process.kill(pid, "SIGKILL");
|
|
64
|
-
}
|
|
60
|
+
const stopped = await new Promise((resolve) => {
|
|
61
|
+
if (!processTermination.terminateProcessTree(pid, resolve, { graceMs: 1e3 })) resolve(false);
|
|
62
|
+
});
|
|
63
|
+
if (!stopped) throw new Error("process (or a child of it) survived SIGKILL");
|
|
65
64
|
}
|
|
66
65
|
console.log(`Successfully killed runaway process PID ${pid}`);
|
|
67
66
|
killed++;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { c as configuration } from './configuration-
|
|
3
|
-
import { r as readSettings, g as readCredentials, d as readDaemonState } from './persistence-
|
|
4
|
-
import { a as checkIfDaemonRunningAndCleanupStaleState } from './controlClient-
|
|
5
|
-
import { findAllHappyProcesses } from './doctor-
|
|
2
|
+
import { c as configuration } from './configuration-C8r6uD9k.mjs';
|
|
3
|
+
import { r as readSettings, g as readCredentials, d as readDaemonState } from './persistence-CagHeZ-f.mjs';
|
|
4
|
+
import { a as checkIfDaemonRunningAndCleanupStaleState } from './controlClient-DYQ1g2ar.mjs';
|
|
5
|
+
import { findAllHappyProcesses } from './doctor-GN5mPOn5.mjs';
|
|
6
6
|
import { statSync, realpathSync, existsSync, readdirSync } from 'node:fs';
|
|
7
7
|
import { isAbsolute, resolve, dirname, basename, delimiter, join } from 'node:path';
|
|
8
8
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
9
|
-
import { p as packageJson } from './package-
|
|
9
|
+
import { p as packageJson } from './package-CpmoMPuj.mjs';
|
|
10
10
|
import { s as shareableSettingsSummary, c as collectRuntimeReadiness, S as SUPPORTED_NODE_LABEL, r as resolveClaudeCredentialReadiness, a as toolProbeLabel, b as daemonReadiness, d as daemonEndpointsMatch } from './doctorReadiness-C208SMN9.mjs';
|
|
11
11
|
import { c as credentialRelayProblem } from './authRelay-DhQhkBvX.mjs';
|
|
12
12
|
import { d as deriveLocalCliUpdateSummary } from './cliUpdate-Y34VGe9Y.mjs';
|
|
13
13
|
import { spawnSync } from 'node:child_process';
|
|
14
|
-
import { p as piInstallCommand } from './piRunnerArgs-
|
|
14
|
+
import { p as piInstallCommand } from './piRunnerArgs-DKU5LoWu.mjs';
|
|
15
15
|
|
|
16
16
|
function shareSafeProcessLine(process2) {
|
|
17
17
|
return `PID ${process2.pid}: command arguments hidden for privacy`;
|
|
@@ -311,8 +311,8 @@ ${typeLabels[type] || type}:`));
|
|
|
311
311
|
}
|
|
312
312
|
console.log(chalk.gray(" An external claude command is only needed for native terminal/mirror use."));
|
|
313
313
|
try {
|
|
314
|
-
const { resolveAgentHomesForCli } = await import('./agentHome-
|
|
315
|
-
const { describeAgentHome } = await import('./index-
|
|
314
|
+
const { resolveAgentHomesForCli } = await import('./agentHome-DucTue1n.mjs');
|
|
315
|
+
const { describeAgentHome } = await import('./index-BZCIkrFj.mjs');
|
|
316
316
|
const homes = await resolveAgentHomesForCli();
|
|
317
317
|
console.log(chalk.green(`\u2713 Claude config dir: ${describeAgentHome(homes.claudeConfigDir)}`));
|
|
318
318
|
console.log(chalk.green(`\u2713 Codex home: ${describeAgentHome(homes.codexHome)}`));
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import psList from 'ps-list';
|
|
2
2
|
import spawn from 'cross-spawn';
|
|
3
|
+
import { t as terminateProcessTree } from './processTermination-ChJG5SLW.mjs';
|
|
4
|
+
import 'node:child_process';
|
|
5
|
+
import './processTreeSnapshot-fuwxC0fr.mjs';
|
|
3
6
|
|
|
4
7
|
async function findAllHappyProcesses() {
|
|
5
8
|
try {
|
|
@@ -48,18 +51,14 @@ async function killRunawayHappyProcesses() {
|
|
|
48
51
|
try {
|
|
49
52
|
console.log(`Killing runaway process PID ${pid} (command arguments hidden for privacy)`);
|
|
50
53
|
if (process.platform === "win32") {
|
|
51
|
-
const result = spawn.sync("taskkill", ["/F", "/PID", pid.toString()], { stdio: "pipe" });
|
|
54
|
+
const result = spawn.sync("taskkill", ["/F", "/T", "/PID", pid.toString()], { stdio: "pipe" });
|
|
52
55
|
if (result.error) throw result.error;
|
|
53
56
|
if (result.status !== 0) throw new Error(`taskkill exited with code ${result.status}`);
|
|
54
57
|
} else {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
if (stillAlive) {
|
|
60
|
-
console.log(`Process PID ${pid} ignored SIGTERM, using SIGKILL`);
|
|
61
|
-
process.kill(pid, "SIGKILL");
|
|
62
|
-
}
|
|
58
|
+
const stopped = await new Promise((resolve) => {
|
|
59
|
+
if (!terminateProcessTree(pid, resolve, { graceMs: 1e3 })) resolve(false);
|
|
60
|
+
});
|
|
61
|
+
if (!stopped) throw new Error("process (or a child of it) survived SIGKILL");
|
|
63
62
|
}
|
|
64
63
|
console.log(`Successfully killed runaway process PID ${pid}`);
|
|
65
64
|
killed++;
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
var promises = require('node:fs/promises');
|
|
4
4
|
var os = require('node:os');
|
|
5
5
|
var z = require('zod');
|
|
6
|
-
var logger = require('./logger-
|
|
7
|
-
var persistence = require('./persistence-
|
|
8
|
-
var controlClient = require('./controlClient-
|
|
9
|
-
var sessionOps = require('./sessionOps-
|
|
10
|
-
var remoteSessionClient = require('./remoteSessionClient-
|
|
6
|
+
var logger = require('./logger-HQ9yDb8R.cjs');
|
|
7
|
+
var persistence = require('./persistence-BiyvEYaR.cjs');
|
|
8
|
+
var controlClient = require('./controlClient-DyNgxNl7.cjs');
|
|
9
|
+
var sessionOps = require('./sessionOps-JRyQhF5s.cjs');
|
|
10
|
+
var remoteSessionClient = require('./remoteSessionClient-CUk6haD7.cjs');
|
|
11
11
|
var ids = require('./ids-B6ZC0HGt.cjs');
|
|
12
12
|
var terminals = require('./terminals-B_bfC9c2.cjs');
|
|
13
|
-
var bootstrap = require('./bootstrap-
|
|
13
|
+
var bootstrap = require('./bootstrap-PeTZ2sAn.cjs');
|
|
14
14
|
var path = require('node:path');
|
|
15
15
|
|
|
16
16
|
const PERSONAL_MEMORY_SOFT_LIMIT_CHARS = 2e3;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { readFile, writeFile, appendFile, stat } from 'node:fs/promises';
|
|
2
2
|
import os from 'node:os';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { l as logger } from './logger-
|
|
5
|
-
import { c as readPersistedSessions } from './persistence-
|
|
6
|
-
import { e as spawnDaemonSession } from './controlClient-
|
|
7
|
-
import { a as listSessions, r as readSessionTranscript, s as sessionWebUrl, g as waitForSessionKey, e as sendUserMessage, b as stopSession, d as archiveSession } from './sessionOps-
|
|
8
|
-
import { r as readRemoteTranscript, s as sendRemoteMessage, d as deliverToSession, R as RemoteSessionOpsError } from './remoteSessionClient-
|
|
4
|
+
import { l as logger } from './logger-D1hb3CG8.mjs';
|
|
5
|
+
import { c as readPersistedSessions } from './persistence-CagHeZ-f.mjs';
|
|
6
|
+
import { e as spawnDaemonSession } from './controlClient-DYQ1g2ar.mjs';
|
|
7
|
+
import { a as listSessions, r as readSessionTranscript, s as sessionWebUrl, g as waitForSessionKey, e as sendUserMessage, b as stopSession, d as archiveSession } from './sessionOps-OmRqUFm4.mjs';
|
|
8
|
+
import { r as readRemoteTranscript, s as sendRemoteMessage, d as deliverToSession, R as RemoteSessionOpsError } from './remoteSessionClient-CfYDFlKm.mjs';
|
|
9
9
|
import { i as isValidSessionId, a as isValidTerminalId } from './ids-DU6sLx4C.mjs';
|
|
10
10
|
import { l as listVhTerminals, r as readVhTerminal, s as sendToVhTerminal } from './terminals-Dlg0x3nY.mjs';
|
|
11
|
-
import { bootstrapAssistantHome, assistantPersonalMemoryPath } from './bootstrap-
|
|
11
|
+
import { bootstrapAssistantHome, assistantPersonalMemoryPath } from './bootstrap-C2XSEyOe.mjs';
|
|
12
12
|
import { join, isAbsolute, normalize } from 'node:path';
|
|
13
13
|
|
|
14
14
|
const PERSONAL_MEMORY_SOFT_LIMIT_CHARS = 2e3;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var controlClient = require('./controlClient-
|
|
5
|
-
var spawnHappyCLI = require('./spawnHappyCLI-
|
|
6
|
-
var persistence = require('./persistence-
|
|
7
|
-
var configuration = require('./configuration-
|
|
3
|
+
var logger = require('./logger-HQ9yDb8R.cjs');
|
|
4
|
+
var controlClient = require('./controlClient-DyNgxNl7.cjs');
|
|
5
|
+
var spawnHappyCLI = require('./spawnHappyCLI-CHSlXWUe.cjs');
|
|
6
|
+
var persistence = require('./persistence-BiyvEYaR.cjs');
|
|
7
|
+
var configuration = require('./configuration-CWRKSOyj.cjs');
|
|
8
8
|
var doctorReadiness = require('./doctorReadiness-Dl6yRQCy.cjs');
|
|
9
9
|
|
|
10
10
|
function extractNoSandboxFlag(args) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import { i as isDaemonRunningCurrentlyInstalledHappyVersion, a as checkIfDaemonRunningAndCleanupStaleState, s as stopDaemon } from './controlClient-
|
|
3
|
-
import { s as spawnHappyCLI } from './spawnHappyCLI-
|
|
4
|
-
import { d as readDaemonState } from './persistence-
|
|
5
|
-
import { c as configuration } from './configuration-
|
|
1
|
+
import { l as logger } from './logger-D1hb3CG8.mjs';
|
|
2
|
+
import { i as isDaemonRunningCurrentlyInstalledHappyVersion, a as checkIfDaemonRunningAndCleanupStaleState, s as stopDaemon } from './controlClient-DYQ1g2ar.mjs';
|
|
3
|
+
import { s as spawnHappyCLI } from './spawnHappyCLI-C8gMHJu5.mjs';
|
|
4
|
+
import { d as readDaemonState } from './persistence-CagHeZ-f.mjs';
|
|
5
|
+
import { c as configuration } from './configuration-C8r6uD9k.mjs';
|
|
6
6
|
import { d as daemonEndpointsMatch } from './doctorReadiness-C208SMN9.mjs';
|
|
7
7
|
|
|
8
8
|
function extractNoSandboxFlag(args) {
|