very-happy-cli 0.2.188 → 0.2.189
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-B8AYkp5n.cjs → AcpBackend-DRPJ2g9G.cjs} +3 -3
- package/dist/{AcpBackend-2loP7MpF.mjs → AcpBackend-fj16v_cf.mjs} +3 -3
- package/dist/{AcpSessionManager-C17doAoR.mjs → AcpSessionManager-BZPmUDL5.mjs} +3 -3
- package/dist/{AcpSessionManager-CLqo9R9Y.cjs → AcpSessionManager-DM-KKg6v.cjs} +3 -3
- package/dist/{BasePermissionHandler-CrfyUmqO.mjs → BasePermissionHandler-CVtH-snr.mjs} +1 -1
- package/dist/{BasePermissionHandler-C8UEcFz0.cjs → BasePermissionHandler-DjM16uJz.cjs} +1 -1
- package/dist/{acpSessionResume-OuYlLGxL.cjs → acpSessionResume-2BTMsB7_.cjs} +1 -1
- package/dist/{acpSessionResume-F705a1cF.mjs → acpSessionResume-Dxl1LRAT.mjs} +1 -1
- package/dist/{agentHome-Dc7LYF3d.mjs → agentHome-CHctmMzZ.mjs} +4 -4
- package/dist/{agentHome-DsKHJ_Sf.cjs → agentHome-W17n1gnH.cjs} +4 -4
- package/dist/{api-DNKa7kVy.mjs → api-B0yN68XH.mjs} +9 -9
- package/dist/{api-BOqjYd5r.cjs → api-BDuuyys8.cjs} +9 -9
- package/dist/{apiMachine--rcPpMmt.cjs → apiMachine-iddD-F19.cjs} +13 -13
- package/dist/{apiMachine-Di1G9ECW.mjs → apiMachine-mc9CsKuS.mjs} +13 -13
- package/dist/{attachmentContent-BFRMLong.cjs → attachmentContent-Cc5b7TPr.cjs} +2 -2
- package/dist/{attachmentContent-C9S4ekAz.mjs → attachmentContent-CcIdMfAx.mjs} +2 -2
- package/dist/{auth-CQtfznF0.cjs → auth-B7tVmyfX.cjs} +8 -8
- package/dist/{auth-BNhhk2Fr.mjs → auth-CyrVvWHF.mjs} +5 -5
- package/dist/{auth-Bzwo_vOM.mjs → auth-DNAgkUkB.mjs} +8 -8
- package/dist/{auth-CXmI92aj.cjs → auth-DQKSpaEf.cjs} +5 -5
- package/dist/{auto-DHYOLnXB.mjs → auto-BklCipw1.mjs} +16 -15
- package/dist/{auto-DXLdaX5O.cjs → auto-CetlumDo.cjs} +16 -15
- package/dist/{bootstrap-eJ1l7VYl.cjs → bootstrap-CDY-Vz8q.cjs} +2 -2
- package/dist/{bootstrap-Di38SnpN.mjs → bootstrap-DfXwkUQb.mjs} +2 -2
- package/dist/{browser-D3uBFRQu.cjs → browser-D1yzC0Tu.cjs} +1 -1
- package/dist/{browser-6Cg7G6bb.mjs → browser-vb0k1zfI.mjs} +1 -1
- package/dist/{claudeLocal-BBaE4QF_.cjs → claudeLocal-2dJIiTIq.cjs} +4 -4
- package/dist/{claudeLocal-CqaEs-81.mjs → claudeLocal-Bid_rC_v.mjs} +4 -4
- package/dist/{claudeLocalLauncher-BDUPxtsI.mjs → claudeLocalLauncher-5pzpETxd.mjs} +9 -9
- package/dist/{claudeLocalLauncher-wPxKtH_P.cjs → claudeLocalLauncher-Jm5oQX5Z.cjs} +9 -9
- package/dist/{claudeSessionFork-CmY25Fl3.cjs → claudeSessionFork-DsbcuDEJ.cjs} +1 -1
- package/dist/{claudeSessionFork-DzWFzj9m.mjs → claudeSessionFork-DzecSBO4.mjs} +1 -1
- package/dist/{client-DWws_aQK.mjs → client-B161HwAk.mjs} +2 -2
- package/dist/{client-C2HcMqRF.cjs → client-BNmFaRXZ.cjs} +3 -3
- package/dist/{client-qJ0y8fus.mjs → client-C9Ecbtko.mjs} +3 -3
- package/dist/{client-DcDE6Ifk.mjs → client-CvjjadIE.mjs} +2 -2
- package/dist/{client-DmY03OZZ.cjs → client-D0aYWt53.cjs} +2 -2
- package/dist/{client-agH03Irm.cjs → client-DIfxYk7B.cjs} +2 -2
- package/dist/codex/happyMcpStdioBridge.cjs +16 -15
- package/dist/codex/happyMcpStdioBridge.mjs +16 -15
- package/dist/{codexAppServerClient-DgE99i7X.mjs → codexAppServerClient-BlVmpjR-.mjs} +27 -3
- package/dist/{codexAppServerClient-DwzC8LR0.cjs → codexAppServerClient-CO9f4Jr8.cjs} +27 -3
- package/dist/{codexCommand-1vFEA1KT.cjs → codexCommand-BfoRP6E9.cjs} +117 -54
- package/dist/{codexCommand-DUSVzbKh.mjs → codexCommand-CAMR4g5o.mjs} +115 -52
- package/dist/{codexTermination-Bybovr2z.mjs → codexTermination-BvGlN02_.mjs} +1 -1
- package/dist/{codexTermination-DuDPyBRR.cjs → codexTermination-IrLZQzKC.cjs} +1 -1
- package/dist/{config-C4xOL5bH.cjs → config-BGFqQGvh.cjs} +3 -3
- package/dist/{config-BrzZ0O-6.mjs → config-CtMgGPvf.mjs} +3 -3
- package/dist/{configuration-BZHpFD7K.mjs → configuration-1FabKklB.mjs} +1 -1
- package/dist/{configuration-DyPW9mVa.cjs → configuration-C0ctLGW2.cjs} +1 -1
- package/dist/{connect-Cw_INlj8.mjs → connect-0lSugpjf.mjs} +12 -12
- package/dist/{connect-DurKwMEo.cjs → connect-DSw-2f52.cjs} +12 -12
- package/dist/{context-t7YV0aZc.mjs → context-BgxbXWKS.mjs} +1 -1
- package/dist/{context-2xDvjkQp.cjs → context-D-hEk5pC.cjs} +1 -1
- package/dist/{controlClient-Bw56NIrj.mjs → controlClient-DwNnNAUx.mjs} +3 -3
- package/dist/{controlClient-DvFaPsg6.cjs → controlClient-F7hAEEy2.cjs} +3 -3
- package/dist/{createSessionMetadata-Dn5BkLfU.mjs → createSessionMetadata-CG6Klinp.mjs} +2 -2
- package/dist/{createSessionMetadata-Dpg6bV6f.cjs → createSessionMetadata-DezS33OM.cjs} +2 -2
- package/dist/{defaultPermissionMode-Dlm0q1m0.cjs → defaultPermissionMode-5EvgRq38.cjs} +2 -2
- package/dist/{defaultPermissionMode-DMTnlccv.mjs → defaultPermissionMode-e2bIIJG4.mjs} +2 -2
- package/dist/{deterministicJson-CsRckxVq.mjs → deterministicJson-BMwgK21e.mjs} +12 -12
- package/dist/{deterministicJson-D0BrV1FD.cjs → deterministicJson-D0LU_XbO.cjs} +12 -12
- package/dist/{doctor-B4HQiW6j.mjs → doctor-D16hySse.mjs} +7 -7
- package/dist/{doctor-CYe4d9kU.cjs → doctor-wVNvRarN.cjs} +7 -7
- package/dist/{downloadTarget-tYMV_VHo.mjs → downloadTarget-C6tqaXGm.mjs} +6 -6
- package/dist/{downloadTarget-CuhBVvuC.cjs → downloadTarget-aNcCxVRL.cjs} +6 -6
- package/dist/{ensureDaemonRunning-Ce3BlWiR.cjs → ensureDaemonRunning-CIghxgDR.cjs} +5 -5
- package/dist/{ensureDaemonRunning-DVtIG9z7.mjs → ensureDaemonRunning-DZq8bvsp.mjs} +5 -5
- package/dist/{handleResumeCommand-BU1uMNyv.mjs → handleResumeCommand-BNnD7EuD.mjs} +5 -5
- package/dist/{handleResumeCommand-CLxsmAW0.cjs → handleResumeCommand-CMUTygsm.cjs} +5 -5
- package/dist/{index-DoXbGEAi.cjs → index-4TpmBb2Q.cjs} +3 -3
- package/dist/{index-wWJJAQRk.cjs → index-B81qV_F_.cjs} +4 -4
- package/dist/{index-DDz0Ftoy.mjs → index-BCQr-5Ei.mjs} +4 -4
- package/dist/{index-ChX0eVXw.mjs → index-BuiG8hmg.mjs} +47 -44
- package/dist/{index-B1OxWiNG.mjs → index-CKd20r1W.mjs} +3 -3
- package/dist/{index-DG1kGjkF.cjs → index-CnzsOD19.cjs} +48 -45
- package/dist/{index-KwuXqLwe.cjs → index-De02DNu5.cjs} +4 -4
- package/dist/{index-CVHRt3SS.mjs → index-Df0bc_et.mjs} +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-CMa_FOWu.mjs → install-23ehAdTD.mjs} +3 -3
- package/dist/{install-cAYvHxXR.cjs → install-DNbIEJUk.cjs} +3 -3
- package/dist/lib.cjs +11 -11
- package/dist/lib.d.cts +8 -0
- package/dist/lib.d.mts +8 -0
- package/dist/lib.mjs +11 -11
- package/dist/{lidState-d1vgQ3n7.cjs → lidState-B4dHJCeS.cjs} +1 -1
- package/dist/{lidState-D-lsD1FS.mjs → lidState-q5Its2Hm.mjs} +1 -1
- package/dist/{localHappyAgentAuth-DucSnCg3.cjs → localHappyAgentAuth-CG2nPD_H.cjs} +1 -1
- package/dist/{localHappyAgentAuth-wvDp-nGj.mjs → localHappyAgentAuth-C_G5u5lY.mjs} +1 -1
- package/dist/{logger-C3vZG6Q0.cjs → logger-BP1SW7Cs.cjs} +2 -2
- package/dist/{logger-RpzJ4d8V.mjs → logger-DOKH3Zbh.mjs} +2 -2
- package/dist/{machineMetadata-CAvFq1Jg.cjs → machineMetadata-BKX3ov9g.cjs} +3 -3
- package/dist/{machineMetadata-CiQ2_1Mq.mjs → machineMetadata-D-5qeIqd.mjs} +3 -3
- package/dist/{main-IPhaImjm.mjs → main-DODz8DQE.mjs} +46 -46
- package/dist/{main-ChpYcFZi.cjs → main-ndpVIaSG.cjs} +46 -46
- package/dist/{mcp-CWnMvju6.mjs → mcp-BBwbSODp.mjs} +15 -14
- package/dist/{mcp-2xF232hL.cjs → mcp-Bc4U4exu.cjs} +15 -14
- package/dist/{mirrorProtocol-CVzPObON.cjs → mirrorProtocol-CiA3hO2y.cjs} +2 -2
- package/dist/{mirrorProtocol-Dr7fNq8V.mjs → mirrorProtocol-D2vTWteS.mjs} +2 -2
- package/dist/{package-Gnf_935w.cjs → package-CYDdLA6R.cjs} +7 -7
- package/dist/{package-CwB8rFJt.mjs → package-DTcaIhjW.mjs} +7 -7
- package/dist/{panels-DTlTsndU.cjs → panels-C2xZ8rqU.cjs} +5 -5
- package/dist/{panels-L1mSkC-y.mjs → panels-DCaLxlSL.mjs} +5 -5
- package/dist/{peerTools-C1E5cQ86.cjs → peerTools-B4315xjX.cjs} +5 -5
- package/dist/{peerTools-2_8Bw9PU.mjs → peerTools-BtrUnSwz.mjs} +5 -5
- package/dist/{persistence-Bn4qEbDg.mjs → persistence-0INrP3aB.mjs} +2 -2
- package/dist/{persistence-CqtjFiD1.cjs → persistence-CrzC7yr_.cjs} +2 -2
- package/dist/{piRunnerArgs-BI8yQRBZ.cjs → piRunnerArgs-BtzW_kfh.cjs} +1 -1
- package/dist/{piRunnerArgs-DWBb63W9.mjs → piRunnerArgs-DRuxMlX1.mjs} +1 -1
- package/dist/{piRuntime-Do8oqbm3.mjs → piRuntime-BMAFpIBV.mjs} +1 -1
- package/dist/{piRuntime--mQ43MSM.cjs → piRuntime-DEbPE_kW.cjs} +1 -1
- package/dist/{piTerminal-GC1KHTYQ.mjs → piTerminal-DQXV8_we.mjs} +17 -16
- package/dist/{piTerminal-BzcvLFsP.cjs → piTerminal-MtxDtBE2.cjs} +17 -16
- package/dist/{pushNotifications-Bb-QSqXw.cjs → pushNotifications-CalIS9sq.cjs} +2 -2
- package/dist/{pushNotifications-BThg4nVd.mjs → pushNotifications-Cq1s8YVK.mjs} +2 -2
- package/dist/{query-CkgIJ_Dy.mjs → query-BYiPBHPC.mjs} +1 -1
- package/dist/{query-Bz3pocKH.cjs → query-CE2XDhhw.cjs} +1 -1
- package/dist/{rateLimitReporter-BkHyvLru.cjs → rateLimitReporter-BKmoOZQi.cjs} +3 -3
- package/dist/{rateLimitReporter-Iw4k3Bbr.mjs → rateLimitReporter-DR5LXuiQ.mjs} +3 -3
- package/dist/{rateLimitWindows-CQ4tIQnx.mjs → rateLimitWindows-5vIuNjko.mjs} +1 -1
- package/dist/{rateLimitWindows-Bm_dcQGW.cjs → rateLimitWindows-Cs56YJCH.cjs} +1 -1
- package/dist/{registerCommonHandlers-CaWl9ll1.mjs → registerCommonHandlers-DWkTysjD.mjs} +2 -2
- package/dist/{registerCommonHandlers-CIs6H2DV.cjs → registerCommonHandlers-DZPozYxc.cjs} +2 -2
- package/dist/{specialCommands-DHU7TNeK.mjs → registerKillSessionHandler-CSCTRIbI.mjs} +6 -59
- package/dist/{specialCommands-BsvSoDhC.cjs → registerKillSessionHandler-DhCjrs44.cjs} +5 -62
- package/dist/{remoteSessionClient-DgUMfPW4.cjs → remoteSessionClient-Dq8XTLQP.cjs} +5 -5
- package/dist/{remoteSessionClient-uPj7omsw.mjs → remoteSessionClient-Vfj_5g2-.mjs} +5 -5
- package/dist/{reportProgressTool-DUEq3xAL.mjs → reportProgressTool-B7zmX7NJ.mjs} +2 -2
- package/dist/{reportProgressTool-CaJ8EwLq.cjs → reportProgressTool-DznxPKES.cjs} +2 -2
- package/dist/{run-DyyGMqND.cjs → run-Ca8BiNCp.cjs} +34 -33
- package/dist/{run-DTUJBD6p.mjs → run-DSfNcR62.mjs} +34 -33
- package/dist/{runClaude-8JDaPoGQ.cjs → runClaude-ClQQcgoO.cjs} +21 -21
- package/dist/{runClaude-DTNvIz2J.mjs → runClaude-hoepv-0X.mjs} +21 -21
- package/dist/{runClaudeDeps-CgGkgg7e.mjs → runClaudeDeps-D_v8t2SK.mjs} +46 -43
- package/dist/{runClaudeDeps-BeLo5zss.cjs → runClaudeDeps-ck5_GYlP.cjs} +43 -39
- package/dist/{runGemini-eU8UOzfc.mjs → runGemini-CTr2-cYG.mjs} +48 -47
- package/dist/{runGemini-BSOdU563.cjs → runGemini-Cj0XsMiM.cjs} +50 -49
- package/dist/{runOpenClaw-CYyFoGRZ.cjs → runOpenClaw-BoN1e3lP.cjs} +26 -25
- package/dist/{runOpenClaw-D8RZiA1e.mjs → runOpenClaw-CdDMntiV.mjs} +24 -23
- package/dist/{sandbox-C8zfNX-4.cjs → sandbox-BY2h19gc.cjs} +4 -4
- package/dist/{sandbox-DlPahdhl.mjs → sandbox-DcaWB-Ou.mjs} +4 -4
- package/dist/selfCheck-BQ_H2Sns.mjs +86 -0
- package/dist/{selfCheck-D28nvuPJ.cjs → selfCheck-DFS_GUaQ.cjs} +37 -37
- package/dist/{send-C58kX4qz.cjs → send-BMsUYU6g.cjs} +9 -8
- package/dist/{send-DBpv-1eh.mjs → send-UBTHHNvZ.mjs} +9 -8
- package/dist/{server-J5K6pOox.mjs → server-Dt3mCtfQ.mjs} +4 -4
- package/dist/{server-I_CETZzn.cjs → server-YrHMHNz1.cjs} +6 -6
- package/dist/{sessionLock-DjE7O0LS.cjs → sessionLock-DSqiP2lH.cjs} +3 -3
- package/dist/{sessionLock-C7Wg1RVd.mjs → sessionLock-tEFvFXLD.mjs} +3 -3
- package/dist/{sessionOps-DGMpl9NB.cjs → sessionOps-BzeOKIEF.cjs} +27 -4
- package/dist/{sessionOps-CYjMT7Ad.mjs → sessionOps-CljctDs5.mjs} +27 -4
- package/dist/{sessionProvider-TLiFn9kD.mjs → sessionProvider-BnUFSJXM.mjs} +5 -5
- package/dist/{sessionProvider-DVtxrOuM.cjs → sessionProvider-ORgzmkXy.cjs} +5 -5
- package/dist/{sessionScanner-BZ1ZSn6I.cjs → sessionScanner-Cr6PJ3PT.cjs} +3 -3
- package/dist/{sessionScanner-CknV1IlN.mjs → sessionScanner-DZUlkdF6.mjs} +3 -3
- package/dist/{sessions-DU4bxkap.mjs → sessions-15cag-su.mjs} +11 -10
- package/dist/{sessions-CTkBKs5U.cjs → sessions-aIo_HjmY.cjs} +11 -10
- package/dist/{setupOfflineReconnection-DaOXnGuH.mjs → setupOfflineReconnection-B7I8R2Ex.mjs} +2 -2
- package/dist/{setupOfflineReconnection-CQHNuP_0.cjs → setupOfflineReconnection-tV0Q1dgR.cjs} +2 -2
- package/dist/{spawn-DdnYTtQe.mjs → spawn-ByrQgruJ.mjs} +16 -15
- package/dist/{spawn-C0wZc03S.cjs → spawn-VG-HjJiR.cjs} +16 -15
- package/dist/{spawnAgents-D-7wMw-a.mjs → spawnAgents-Bh1RPShN.mjs} +3 -1
- package/dist/{spawnAgents-BjyU78Ue.cjs → spawnAgents-C1-4m7aN.cjs} +3 -1
- package/dist/{spawnHappyCLI-CnyyJk74.mjs → spawnHappyCLI-CEsXwz5V.mjs} +1 -1
- package/dist/{spawnHappyCLI-BJUd974I.cjs → spawnHappyCLI-CxiR2Qoy.cjs} +1 -1
- package/dist/specialCommands-J3JFOq0J.cjs +60 -0
- package/dist/specialCommands-MXUN0wfI.mjs +54 -0
- package/dist/{startFileWatcher-DBboREco.cjs → startFileWatcher-C-XCZ5t2.cjs} +1 -1
- package/dist/{startFileWatcher-CpO5Mwbr.mjs → startFileWatcher-DkEeeAtL.mjs} +1 -1
- package/dist/{startupSessionCreate-C1u2dtz8.cjs → startupSessionCreate-CYc8mra-.cjs} +1 -1
- package/dist/{startupSessionCreate-BgaVuvQp.mjs → startupSessionCreate-npXe2TdN.mjs} +1 -1
- package/dist/{sync-I8NYmycF.mjs → sync-BvDMkKAN.mjs} +1 -1
- package/dist/{sync-6HFRJP1h.cjs → sync-CoChLEIg.cjs} +1 -1
- package/dist/{systemPrompt-C1RSY_60.mjs → systemPrompt-CgDaPigN.mjs} +1 -1
- package/dist/{systemPrompt-BDWj5QSL.cjs → systemPrompt-Dy_Rf-0Z.cjs} +1 -1
- package/dist/{teams-GpLFbXXE.mjs → teams-BC4_e5hR.mjs} +6 -6
- package/dist/{teams-eUD7ymif.cjs → teams-DPvfLAk8.cjs} +6 -6
- package/dist/{time-umG7yHkb.mjs → time-CUK37wiV.mjs} +1 -1
- package/dist/{time-BAJRbB6U.cjs → time-XwEZxKGc.cjs} +1 -1
- package/dist/{titleGenerator-iqb2jOF1.cjs → titleGenerator-DVX0NZUn.cjs} +2 -2
- package/dist/{titleGenerator-dmFlxkRs.mjs → titleGenerator-DWRVdqMU.mjs} +1 -1
- package/dist/{todo-CT4AJ3sH.mjs → todo-BNMGXneA.mjs} +5 -5
- package/dist/{todo-DsR7WnQS.cjs → todo-CKGrSrRE.cjs} +5 -5
- package/dist/{tools-BOWazSD6.mjs → tools-CCIEAVbB.mjs} +1 -1
- package/dist/{tools-30E66QL_.cjs → tools-CjMafO_D.cjs} +1 -1
- package/dist/{uninstall-BtTc9hHa.cjs → uninstall-BdFbTXnL.cjs} +3 -3
- package/dist/{uninstall-DImXs6VZ.mjs → uninstall-CJvJ7gjr.mjs} +3 -3
- package/package.json +7 -7
- package/dist/selfCheck-4bcdHPFQ.mjs +0 -86
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
const COMPACT_RE = /^[/\uFF0F]compact(?![A-Za-z0-9_:-])([\s\S]*)$/i;
|
|
2
|
+
const LEADING_SPACE_RE = /^[\s\u3000\uFEFF\u200B]+/;
|
|
3
|
+
function parseCompact(message) {
|
|
4
|
+
const match = message.replace(LEADING_SPACE_RE, "").match(COMPACT_RE);
|
|
5
|
+
if (!match) {
|
|
6
|
+
return {
|
|
7
|
+
isCompact: false,
|
|
8
|
+
originalMessage: message
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
const instructions = match[1].replace(/\u3000/g, " ").trim();
|
|
12
|
+
return {
|
|
13
|
+
isCompact: true,
|
|
14
|
+
originalMessage: instructions ? `/compact ${instructions}` : "/compact"
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function compactCommandText(message) {
|
|
18
|
+
const result = parseCompact(message);
|
|
19
|
+
return result.isCompact ? result.originalMessage : null;
|
|
20
|
+
}
|
|
21
|
+
function parseClear(message) {
|
|
22
|
+
const trimmed = message.trim();
|
|
23
|
+
return {
|
|
24
|
+
isClear: trimmed === "/clear"
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function parseSpecialCommand(message) {
|
|
28
|
+
const compactResult = parseCompact(message);
|
|
29
|
+
if (compactResult.isCompact) {
|
|
30
|
+
return {
|
|
31
|
+
type: "compact",
|
|
32
|
+
originalMessage: compactResult.originalMessage
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
const clearResult = parseClear(message);
|
|
36
|
+
if (clearResult.isClear) {
|
|
37
|
+
return {
|
|
38
|
+
type: "clear"
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
const trimmed = message.trim().toLowerCase();
|
|
42
|
+
if (trimmed === "/mcp") {
|
|
43
|
+
return { type: "mcp" };
|
|
44
|
+
}
|
|
45
|
+
if (trimmed === "/skills") {
|
|
46
|
+
return { type: "skills" };
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
type: null
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
const COMPACT_UNSUPPORTED_NOTICE = "This session type does not support /compact";
|
|
53
|
+
|
|
54
|
+
export { COMPACT_UNSUPPORTED_NOTICE as C, parseSpecialCommand as a, parseCompact as b, compactCommandText as c, parseClear as p };
|
|
@@ -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-C9Ecbtko.mjs';
|
|
6
|
+
import { b as readCredentialsForConfiguredRelay } from './persistence-0INrP3aB.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
11
|
import './index-WKyN-bNy.mjs';
|
|
12
12
|
import '@paralleldrive/cuid2';
|
|
13
|
-
import './configuration-
|
|
13
|
+
import './configuration-1FabKklB.mjs';
|
|
14
14
|
import 'node:fs';
|
|
15
|
-
import './package-
|
|
16
|
-
import './context-
|
|
15
|
+
import './package-DTcaIhjW.mjs';
|
|
16
|
+
import './context-BgxbXWKS.mjs';
|
|
17
17
|
import './authRelay-DhQhkBvX.mjs';
|
|
18
18
|
import 'tweetnacl';
|
|
19
|
-
import './logger-
|
|
19
|
+
import './logger-DOKH3Zbh.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-BNmFaRXZ.cjs');
|
|
8
|
+
var persistence = require('./persistence-CrzC7yr_.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
13
|
require('./index-BOe6dKnL.cjs');
|
|
14
14
|
require('@paralleldrive/cuid2');
|
|
15
|
-
require('./configuration-
|
|
15
|
+
require('./configuration-C0ctLGW2.cjs');
|
|
16
16
|
require('node:fs');
|
|
17
|
-
require('./package-
|
|
18
|
-
require('./context-
|
|
17
|
+
require('./package-CYDdLA6R.cjs');
|
|
18
|
+
require('./context-D-hEk5pC.cjs');
|
|
19
19
|
require('./authRelay-Dy1qU9td.cjs');
|
|
20
20
|
require('tweetnacl');
|
|
21
|
-
require('./logger-
|
|
21
|
+
require('./logger-BP1SW7Cs.cjs');
|
|
22
22
|
require('chalk');
|
|
23
23
|
require('./resources-BZ_Be0qM.cjs');
|
|
24
24
|
|
|
@@ -5,7 +5,7 @@ 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-BP1SW7Cs.cjs');
|
|
9
9
|
var projectPath = require('./projectPath-C3ioB4Bu.cjs');
|
|
10
10
|
|
|
11
11
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
@@ -13,7 +13,7 @@ const MAX_PROMPT_SAMPLE_CHARS = 500;
|
|
|
13
13
|
const MAX_TITLE_CHARS = 60;
|
|
14
14
|
const GENERATION_TIMEOUT_MS = 3e4;
|
|
15
15
|
function loadClaudeVersionUtils() {
|
|
16
|
-
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-
|
|
16
|
+
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-DVX0NZUn.cjs', document.baseURI).href)));
|
|
17
17
|
return require$1(path.resolve(path.join(projectPath.projectPath(), "scripts", "claude_version_utils.cjs")));
|
|
18
18
|
}
|
|
19
19
|
function resolveClaudeBinary(loadUtils = loadClaudeVersionUtils) {
|
|
@@ -3,7 +3,7 @@ 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-DOKH3Zbh.mjs';
|
|
7
7
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
8
8
|
|
|
9
9
|
const MAX_PROMPT_SAMPLE_CHARS = 500;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { c as configuration } from './configuration-
|
|
1
|
+
import { c as configuration } from './configuration-1FabKklB.mjs';
|
|
2
2
|
import { h as createBuiltinTodoClient, B as BUILTIN_TODO_SKILL } from './index-WKyN-bNy.mjs';
|
|
3
|
-
import { b as readCredentialsForConfiguredRelay } from './persistence-
|
|
4
|
-
import { r as readTeamScope, t as teamScopePath } from './context-
|
|
3
|
+
import { b as readCredentialsForConfiguredRelay } from './persistence-0INrP3aB.mjs';
|
|
4
|
+
import { r as readTeamScope, t as teamScopePath } from './context-BgxbXWKS.mjs';
|
|
5
5
|
import 'node:fs';
|
|
6
6
|
import 'node:os';
|
|
7
7
|
import 'node:path';
|
|
8
|
-
import './package-
|
|
8
|
+
import './package-DTcaIhjW.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-DOKH3Zbh.mjs';
|
|
16
16
|
import 'chalk';
|
|
17
17
|
import 'node:util';
|
|
18
18
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var configuration = require('./configuration-
|
|
3
|
+
var configuration = require('./configuration-C0ctLGW2.cjs');
|
|
4
4
|
var index = require('./index-BOe6dKnL.cjs');
|
|
5
|
-
var persistence = require('./persistence-
|
|
6
|
-
var context = require('./context-
|
|
5
|
+
var persistence = require('./persistence-CrzC7yr_.cjs');
|
|
6
|
+
var context = require('./context-D-hEk5pC.cjs');
|
|
7
7
|
require('node:fs');
|
|
8
8
|
require('node:os');
|
|
9
9
|
require('node:path');
|
|
10
|
-
require('./package-
|
|
10
|
+
require('./package-CYDdLA6R.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-BP1SW7Cs.cjs');
|
|
18
18
|
require('chalk');
|
|
19
19
|
require('node:util');
|
|
20
20
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { c as createTeamsClient } from './client-
|
|
2
|
+
import { c as createTeamsClient } from './client-C9Ecbtko.mjs';
|
|
3
3
|
|
|
4
4
|
const CLOSED_GOAL_CHARS = 200;
|
|
5
5
|
const closed = (task) => task.status === "done" || task.status === "cancelled";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
3
|
+
var logger = require('./logger-BP1SW7Cs.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-C0ctLGW2.cjs');
|
|
9
9
|
require('node:fs');
|
|
10
10
|
require('node:os');
|
|
11
11
|
require('node:path');
|
|
12
|
-
require('./package-
|
|
12
|
+
require('./package-CYDdLA6R.cjs');
|
|
13
13
|
require('node:fs/promises');
|
|
14
14
|
|
|
15
15
|
const PLIST_LABEL = "com.happy-cli.daemon";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
1
|
+
import { l as logger } from './logger-DOKH3Zbh.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-1FabKklB.mjs';
|
|
7
7
|
import 'node:fs';
|
|
8
8
|
import 'node:os';
|
|
9
9
|
import 'node:path';
|
|
10
|
-
import './package-
|
|
10
|
+
import './package-DTcaIhjW.mjs';
|
|
11
11
|
import 'node:fs/promises';
|
|
12
12
|
|
|
13
13
|
const PLIST_LABEL = "com.happy-cli.daemon";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "very-happy-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.189",
|
|
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.189",
|
|
121
|
+
"very-happy-tools-x64-darwin": "0.2.189",
|
|
122
|
+
"very-happy-tools-arm64-linux": "0.2.189",
|
|
123
|
+
"very-happy-tools-x64-linux": "0.2.189",
|
|
124
|
+
"very-happy-tools-arm64-win32": "0.2.189",
|
|
125
|
+
"very-happy-tools-x64-win32": "0.2.189"
|
|
126
126
|
},
|
|
127
127
|
"devDependencies": {
|
|
128
128
|
"@slopus/happy-wire": "workspace:*",
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { p as packageJson } from './package-CwB8rFJt.mjs';
|
|
2
|
-
|
|
3
|
-
const LAZY_MODULES = [
|
|
4
|
-
// Entry
|
|
5
|
-
["main", () => import('./main-IPhaImjm.mjs')],
|
|
6
|
-
["selfCheck", () => Promise.resolve().then(function () { return selfCheck; })],
|
|
7
|
-
// Subcommands (main.ts)
|
|
8
|
-
["api/api", () => import('./api-DNKa7kVy.mjs').then(function (n) { return n.e; })],
|
|
9
|
-
["claude/claudeCliPath", () => import('./claudeCliPath-BqkaH2oR.mjs')],
|
|
10
|
-
["claude/runClaude", () => import('./runClaude-DTNvIz2J.mjs')],
|
|
11
|
-
["commands/agentHome", () => import('./agentHome-Dc7LYF3d.mjs')],
|
|
12
|
-
["commands/auth", () => import('./auth-Bzwo_vOM.mjs')],
|
|
13
|
-
["commands/auto", () => import('./auto-DHYOLnXB.mjs')],
|
|
14
|
-
["commands/codexCommand", () => import('./codexCommand-DUSVzbKh.mjs')],
|
|
15
|
-
["commands/connect", () => import('./connect-Cw_INlj8.mjs')],
|
|
16
|
-
["commands/installPiTools", () => import('./installPiTools-B_CdM5_2.mjs')],
|
|
17
|
-
["commands/installTerminalHooks", () => import('./installTerminalHooks-By7gBMEF.mjs')],
|
|
18
|
-
["commands/mcp", () => import('./mcp-CWnMvju6.mjs')],
|
|
19
|
-
["commands/panels", () => import('./panels-L1mSkC-y.mjs')],
|
|
20
|
-
["commands/piTerminal", () => import('./piTerminal-GC1KHTYQ.mjs')],
|
|
21
|
-
["commands/sandbox", () => import('./sandbox-DlPahdhl.mjs')],
|
|
22
|
-
["commands/send", () => import('./send-DBpv-1eh.mjs')],
|
|
23
|
-
["commands/server", () => import('./server-J5K6pOox.mjs')],
|
|
24
|
-
["commands/sessions", () => import('./sessions-DU4bxkap.mjs')],
|
|
25
|
-
["commands/sessionProvider", () => import('./sessionProvider-TLiFn9kD.mjs')],
|
|
26
|
-
["commands/spawn", () => import('./spawn-DdnYTtQe.mjs')],
|
|
27
|
-
["commands/teams", () => import('./teams-GpLFbXXE.mjs')],
|
|
28
|
-
["commands/todo", () => import('./todo-CT4AJ3sH.mjs')],
|
|
29
|
-
["daemon/doctor", () => import('./doctor-BPkYWSuq.mjs')],
|
|
30
|
-
["daemon/install", () => import('./install-CMa_FOWu.mjs')],
|
|
31
|
-
["daemon/run", () => import('./run-DTUJBD6p.mjs')],
|
|
32
|
-
["daemon/uninstall", () => import('./uninstall-DImXs6VZ.mjs')],
|
|
33
|
-
["resume/handleResumeCommand", () => import('./handleResumeCommand-BU1uMNyv.mjs')],
|
|
34
|
-
["ui/doctor", () => import('./doctor-B4HQiW6j.mjs').then(function (n) { return n.d; })],
|
|
35
|
-
["agent/acp", () => import('./index-ChX0eVXw.mjs')],
|
|
36
|
-
["gemini/runGemini", () => import('./runGemini-eU8UOzfc.mjs')],
|
|
37
|
-
["gemini/utils/config", () => import('./config-BrzZ0O-6.mjs')],
|
|
38
|
-
["openclaw/runOpenClaw", () => import('./runOpenClaw-D8RZiA1e.mjs')],
|
|
39
|
-
["persistence", () => import('./persistence-Bn4qEbDg.mjs').then(function (n) { return n.F; })],
|
|
40
|
-
// Deferred halves of the runners and clients
|
|
41
|
-
["api/apiMachine", () => import('./apiMachine-Di1G9ECW.mjs')],
|
|
42
|
-
["claude/runClaudeDeps", () => import('./runClaudeDeps-CgGkgg7e.mjs')],
|
|
43
|
-
["claude/claudeLocal", () => import('./claudeLocal-CqaEs-81.mjs')],
|
|
44
|
-
["claude/claudeLocalLauncher", () => import('./claudeLocalLauncher-BDUPxtsI.mjs')],
|
|
45
|
-
["claude/sdk", () => import('./index-DDz0Ftoy.mjs')],
|
|
46
|
-
["assistant/bootstrap", () => import('./bootstrap-Di38SnpN.mjs')],
|
|
47
|
-
["agentHome", () => import('./index-CVHRt3SS.mjs')],
|
|
48
|
-
["ui/ink/RemoteModeDisplay", () => import('./RemoteModeDisplay-D-HewyXg.mjs')],
|
|
49
|
-
// External packages imported on demand
|
|
50
|
-
["expo-server-sdk", () => import('expo-server-sdk')],
|
|
51
|
-
["ink", () => import('ink')],
|
|
52
|
-
["react", () => import('react')]
|
|
53
|
-
];
|
|
54
|
-
|
|
55
|
-
async function runSelfCheck(modules = LAZY_MODULES) {
|
|
56
|
-
const failures = [];
|
|
57
|
-
for (const [name, load] of modules) {
|
|
58
|
-
try {
|
|
59
|
-
await load();
|
|
60
|
-
} catch (error) {
|
|
61
|
-
failures.push({ name, error: error instanceof Error ? error.message : String(error) });
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
return failures;
|
|
65
|
-
}
|
|
66
|
-
async function selfCheckMain(opts = {}) {
|
|
67
|
-
const started = Date.now();
|
|
68
|
-
const failures = await runSelfCheck();
|
|
69
|
-
if (failures.length > 0) {
|
|
70
|
-
for (const failure of failures) {
|
|
71
|
-
console.error(`very-happy: failed to load ${failure.name}: ${failure.error}`);
|
|
72
|
-
}
|
|
73
|
-
return 1;
|
|
74
|
-
}
|
|
75
|
-
if (opts.verbose) console.log(`self-check: ${LAZY_MODULES.length} modules loaded in ${Date.now() - started}ms`);
|
|
76
|
-
console.log(`very-happy version: ${packageJson.version}`);
|
|
77
|
-
return 0;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
var selfCheck = /*#__PURE__*/Object.freeze({
|
|
81
|
-
__proto__: null,
|
|
82
|
-
runSelfCheck: runSelfCheck,
|
|
83
|
-
selfCheckMain: selfCheckMain
|
|
84
|
-
});
|
|
85
|
-
|
|
86
|
-
export { runSelfCheck, selfCheckMain };
|