very-happy-cli 0.2.184 → 0.2.185
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcpBackend-DOzn74zn.cjs → AcpBackend-CCqL9mP1.cjs} +3 -3
- package/dist/{AcpBackend-Csg7Sy2P.mjs → AcpBackend-DkoqWhTa.mjs} +3 -3
- package/dist/{AcpSessionManager-BRK2F2yN.mjs → AcpSessionManager-BNPex8tJ.mjs} +1 -1
- package/dist/{AcpSessionManager-CJXDNNtq.cjs → AcpSessionManager-DrtAJQUH.cjs} +1 -1
- package/dist/{BasePermissionHandler-CfrnkG3v.cjs → BasePermissionHandler-DJZITwmL.cjs} +1 -1
- package/dist/{BasePermissionHandler-BqYwrCra.mjs → BasePermissionHandler-Dd4oGPDg.mjs} +1 -1
- package/dist/{acpSessionResume-Dz1myMbR.mjs → acpSessionResume-_2NtETqb.mjs} +1 -1
- package/dist/{acpSessionResume-DZ65DBeE.cjs → acpSessionResume-umHzSMbQ.cjs} +1 -1
- package/dist/{agentHome-CKAXhc8P.cjs → agentHome-CmIMqMWy.cjs} +4 -4
- package/dist/{agentHome-B_tu3tFJ.mjs → agentHome-Dv_hRIt7.mjs} +4 -4
- package/dist/{api-rw5xkzxo.cjs → api-BSz8MYte.cjs} +66 -16
- package/dist/{api-BpTDU2BO.mjs → api-BTS8mqLy.mjs} +66 -16
- package/dist/{apiMachine-wp0hWG3F.mjs → apiMachine-BcjccOmd.mjs} +13 -13
- package/dist/{apiMachine-Bs1XXHKs.cjs → apiMachine-utCDabnO.cjs} +13 -13
- package/dist/{attachmentContent-CWSSGMMo.mjs → attachmentContent-DpOzgDTw.mjs} +2 -2
- package/dist/{attachmentContent-K_Up4InS.cjs → attachmentContent-hkdGP2NV.cjs} +2 -2
- package/dist/{auth-gGryJImw.cjs → auth-B8nCUEiK.cjs} +5 -5
- package/dist/{auth-D6kSt2sR.mjs → auth-BKD2U9S2.mjs} +5 -5
- package/dist/{auth-CBESCCCn.mjs → auth-CpbTj74y.mjs} +8 -8
- package/dist/{auth-C4_mXYgj.cjs → auth-DzXdF08E.cjs} +8 -8
- package/dist/{auto-CEucVmFR.mjs → auto-C-NK2JS8.mjs} +14 -14
- package/dist/{auto-Do43AOza.cjs → auto-E3ouHO37.cjs} +14 -14
- package/dist/{bootstrap-BPz1iX77.cjs → bootstrap-DIMkxIbR.cjs} +2 -2
- package/dist/{bootstrap-CodyCmGt.mjs → bootstrap-DV4dqeCe.mjs} +2 -2
- package/dist/{browser-CqMhj8Gm.mjs → browser-C0xt1NE-.mjs} +1 -1
- package/dist/{browser-D9D-1eqa.cjs → browser-Ch50ZchJ.cjs} +1 -1
- package/dist/{claudeLocal-Dywp8NKr.cjs → claudeLocal-Curd8-dn.cjs} +4 -4
- package/dist/{claudeLocal-BgIRtT3Q.mjs → claudeLocal-D-U3fIdS.mjs} +4 -4
- package/dist/{claudeLocalLauncher-_TOL73g5.cjs → claudeLocalLauncher-BEJ9Wad_.cjs} +9 -9
- package/dist/{claudeLocalLauncher-CaHjZ8HW.mjs → claudeLocalLauncher-BTNUVzRK.mjs} +9 -9
- package/dist/{claudeSessionFork-jq-_WiAu.cjs → claudeSessionFork-DMdeScGk.cjs} +1 -1
- package/dist/{claudeSessionFork-C9nB7fs5.mjs → claudeSessionFork-JPEHVbfR.mjs} +1 -1
- package/dist/{client-C49zFRkX.cjs → client-C54hMWx6.cjs} +2 -2
- package/dist/{client-BdbVizjk.mjs → client-Ct1rnpJw.mjs} +2 -2
- package/dist/{client-DwlYk8uJ.mjs → client-D1rJt15-.mjs} +3 -3
- package/dist/{client-CX-_2myt.mjs → client-D2lOnvzs.mjs} +2 -2
- package/dist/{client-ByZFACEw.cjs → client-dpo5EbS9.cjs} +3 -3
- package/dist/{client-BFDji81N.cjs → client-qgKef7S6.cjs} +2 -2
- package/dist/codex/happyMcpStdioBridge.cjs +15 -15
- package/dist/codex/happyMcpStdioBridge.mjs +15 -15
- package/dist/{codexAppServerClient-CmOIqiNQ.mjs → codexAppServerClient-CM3O0zHW.mjs} +3 -3
- package/dist/{codexAppServerClient-DF12ZSw1.cjs → codexAppServerClient-DGeqZViU.cjs} +3 -3
- package/dist/{codexCommand-BN05uEyv.mjs → codexCommand-CkdopWS7.mjs} +41 -41
- package/dist/{codexCommand-H-ObWTtx.cjs → codexCommand-D_8fbJEk.cjs} +41 -41
- package/dist/{codexTermination-Byohgj8h.mjs → codexTermination-FO52Ahcx.mjs} +1 -1
- package/dist/{codexTermination-RwKa8pKk.cjs → codexTermination-MG2j2DDX.cjs} +1 -1
- package/dist/{config-ChHLh-hf.mjs → config-CppOKnWe.mjs} +3 -3
- package/dist/{config-D_wNqwxX.cjs → config-IDbpY1Am.cjs} +3 -3
- package/dist/{configuration-C9Sx-Foo.cjs → configuration-CwfmwaLU.cjs} +1 -1
- package/dist/{configuration-CVgUe2qN.mjs → configuration-HPdj5Til.mjs} +1 -1
- package/dist/{connect-DJEQjS7C.mjs → connect-1YK7vPbW.mjs} +12 -12
- package/dist/{connect-B61xJDRq.cjs → connect-BNlBIAM8.cjs} +12 -12
- package/dist/{context-Bf3BG7w8.cjs → context-D3vDWjiI.cjs} +1 -1
- package/dist/{context-CDPfhHTo.mjs → context-DetK5c-x.mjs} +1 -1
- package/dist/{controlClient-DMCxtwq2.mjs → controlClient-DBylxaEh.mjs} +3 -3
- package/dist/{controlClient-BLO1_pPx.cjs → controlClient-DTMI1aTp.cjs} +3 -3
- package/dist/{createSessionMetadata-5Mde6Dfh.cjs → createSessionMetadata-D2Ll7PlQ.cjs} +2 -2
- package/dist/{createSessionMetadata-BYroCdrU.mjs → createSessionMetadata-D8pfpX4V.mjs} +2 -2
- package/dist/{defaultPermissionMode-CTdxUV_3.mjs → defaultPermissionMode-Bkhj_DwT.mjs} +2 -2
- package/dist/{defaultPermissionMode-B7mjHQKp.cjs → defaultPermissionMode-DVXkcryy.cjs} +2 -2
- package/dist/{deterministicJson-C1Z9MlDX.cjs → deterministicJson-DUCYjhHe.cjs} +12 -12
- package/dist/{deterministicJson-C3QXOc1N.mjs → deterministicJson-cEWItQun.mjs} +12 -12
- package/dist/{doctor-OwNmTpYh.mjs → doctor-DpWtxNeT.mjs} +7 -7
- package/dist/{doctor-DRdV3thy.cjs → doctor-tLRILlmz.cjs} +7 -7
- package/dist/{downloadTarget-CNtQ8rhV.mjs → downloadTarget-B5b5BHb2.mjs} +6 -6
- package/dist/{downloadTarget-Di5bf7r0.cjs → downloadTarget-Ci5wcYC2.cjs} +6 -6
- package/dist/{ensureDaemonRunning-CMY--T9Q.cjs → ensureDaemonRunning-Dsv8UPwx.cjs} +5 -5
- package/dist/{ensureDaemonRunning-IRV-w0wH.mjs → ensureDaemonRunning-GDGwNDGF.mjs} +5 -5
- package/dist/{handleResumeCommand-z7wY7QVM.cjs → handleResumeCommand-CncudrQd.cjs} +5 -5
- package/dist/{handleResumeCommand-BO00SYjG.mjs → handleResumeCommand-DW7Ml1u5.mjs} +5 -5
- package/dist/{index-B4cyX2by.cjs → index-BEHzEYP0.cjs} +37 -37
- package/dist/{index-NhmqjrGv.cjs → index-Bh806Q-1.cjs} +3 -3
- package/dist/{index-_LfuIz-O.mjs → index-C1qLnBOk.mjs} +38 -38
- package/dist/{index-CVUiytNq.mjs → index-DRWlaLbe.mjs} +3 -3
- package/dist/{index-BsoUsrKS.cjs → index-Dzb_Bsfu.cjs} +4 -4
- package/dist/{index-wYJu2yGc.cjs → index-Vx4EQ6wI.cjs} +4 -4
- package/dist/{index-C7zgeuLP.mjs → index-Wf6mKJq9.mjs} +4 -4
- package/dist/{index-DZvi6_tB.mjs → index-bT1X9Brv.mjs} +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-CGYDeYes.cjs → install-CRs4tGBa.cjs} +3 -3
- package/dist/{install-DeUM6h8X.mjs → install-DmF9wfwV.mjs} +3 -3
- package/dist/lib.cjs +11 -11
- package/dist/lib.d.cts +11 -0
- package/dist/lib.d.mts +11 -0
- package/dist/lib.mjs +11 -11
- package/dist/{lidState-CBjQEwTt.mjs → lidState-CG9jFcML.mjs} +1 -1
- package/dist/{lidState-C4YgPn6y.cjs → lidState-wwiu6M3p.cjs} +1 -1
- package/dist/{localHappyAgentAuth-CcWGU_lS.mjs → localHappyAgentAuth-CWha8BiX.mjs} +1 -1
- package/dist/{localHappyAgentAuth-BzCuIkzi.cjs → localHappyAgentAuth-UoytSUX0.cjs} +1 -1
- package/dist/{logger-D2qd0mMg.mjs → logger-BjXkscIr.mjs} +2 -2
- package/dist/{logger-CrtT0opS.cjs → logger-CIUMiSLo.cjs} +2 -2
- package/dist/{machineMetadata-D1hlm_oF.cjs → machineMetadata-BPlyxzxb.cjs} +3 -3
- package/dist/{machineMetadata-B2czDiTd.mjs → machineMetadata-Ca4Dpy6s.mjs} +3 -3
- package/dist/{main-BNYWELul.mjs → main-CS1U9i4s.mjs} +46 -46
- package/dist/{main-BWgWN5d1.cjs → main-FD8mmcsK.cjs} +46 -46
- package/dist/{mcp-ColtiH23.mjs → mcp-BS6rdR8p.mjs} +14 -14
- package/dist/{mcp-C18unjs1.cjs → mcp-C7Rm1dTM.cjs} +14 -14
- package/dist/{mirrorProtocol-DTHWtAE5.mjs → mirrorProtocol-C3Anki4S.mjs} +2 -2
- package/dist/{mirrorProtocol-D4CR5I5W.cjs → mirrorProtocol-CMJ2HOZF.cjs} +2 -2
- package/dist/{package-DczR1k0c.cjs → package-CRDjc5vK.cjs} +7 -7
- package/dist/{package-Ek5FOyEo.mjs → package-Do0Y9bGA.mjs} +7 -7
- package/dist/{panels-BIQ7FrCB.mjs → panels-C-jss7nF.mjs} +5 -5
- package/dist/{panels-DYSMHhdb.cjs → panels-DwTHrZuo.cjs} +5 -5
- package/dist/{peerTools-CABQ6iKd.mjs → peerTools-CL7zBxlC.mjs} +5 -5
- package/dist/{peerTools-Cufh4Qp_.cjs → peerTools-SLRntgX6.cjs} +5 -5
- package/dist/{persistence-IYH6bAXY.cjs → persistence-CNWBdUH2.cjs} +2 -2
- package/dist/{persistence-DFtgQvr6.mjs → persistence-CmVwM5uq.mjs} +2 -2
- package/dist/{piRunnerArgs-Dgjmj8KL.cjs → piRunnerArgs-CXJx3PPx.cjs} +1 -1
- package/dist/{piRunnerArgs-CIWprC1S.mjs → piRunnerArgs-K0K9Y0Yq.mjs} +1 -1
- package/dist/{piRuntime-K6o4GPZ9.mjs → piRuntime-BSoHy-QJ.mjs} +1 -1
- package/dist/{piRuntime-C_nX977w.cjs → piRuntime-Bv41vG05.cjs} +1 -1
- package/dist/{piTerminal-CRl0EZc3.mjs → piTerminal-B8acGxsm.mjs} +16 -16
- package/dist/{piTerminal-CYhcmkyi.cjs → piTerminal-DSs-fnps.cjs} +16 -16
- package/dist/{pushNotifications-BgQ_QTgS.cjs → pushNotifications-C651e0ZZ.cjs} +2 -2
- package/dist/{pushNotifications-gVJWGFBP.mjs → pushNotifications-DnpJJ7VR.mjs} +2 -2
- package/dist/{query-DFreaScb.cjs → query-DXFx2VZY.cjs} +1 -1
- package/dist/{query-CGp9vY4e.mjs → query-rxLftxvh.mjs} +1 -1
- package/dist/{rateLimitWindows-CeogT1b6.cjs → rateLimitWindows-1WoBs8ln.cjs} +1 -1
- package/dist/{rateLimitWindows-DM_gshI4.mjs → rateLimitWindows-D9mQRGHv.mjs} +1 -1
- package/dist/{registerCommonHandlers-CyAtDNvs.mjs → registerCommonHandlers-DpBxSCBi.mjs} +2 -2
- package/dist/{registerCommonHandlers-CRqKXwQt.cjs → registerCommonHandlers-K-BTp2iR.cjs} +2 -2
- package/dist/{registerKillSessionHandler-DGWADNla.mjs → registerKillSessionHandler-BDxd20fg.mjs} +5 -5
- package/dist/{registerKillSessionHandler-CX49N52L.cjs → registerKillSessionHandler-DwPEAS2G.cjs} +5 -5
- package/dist/{remoteSessionClient-1nycIdrG.mjs → remoteSessionClient-DHWfDMHA.mjs} +5 -5
- package/dist/{remoteSessionClient-CuAkp19e.cjs → remoteSessionClient-DnFblfFz.cjs} +5 -5
- package/dist/{reportProgressTool-BS7TkeEk.cjs → reportProgressTool-CYgnezAO.cjs} +2 -2
- package/dist/{reportProgressTool-CdSi-uSC.mjs → reportProgressTool-DJXfK6rp.mjs} +2 -2
- package/dist/{run-gVwkplx0.cjs → run-BChqUxs6.cjs} +32 -32
- package/dist/{run-DqjEj8M2.mjs → run-BkixRBWm.mjs} +32 -32
- package/dist/{runClaude-CtVoFstP.cjs → runClaude-Bdw9vTgv.cjs} +21 -21
- package/dist/{runClaude-CuSjrZSf.mjs → runClaude-FWTCLnVq.mjs} +21 -21
- package/dist/{runClaudeDeps-eazOhb6g.mjs → runClaudeDeps-C6mCzhtO.mjs} +41 -41
- package/dist/{runClaudeDeps-DqOgRuKq.cjs → runClaudeDeps-CN_moqup.cjs} +36 -36
- package/dist/{runGemini-B4EqAd1U.mjs → runGemini-CI7ut_ng.mjs} +32 -32
- package/dist/{runGemini-81wkPvMv.cjs → runGemini-CzPwEltY.cjs} +32 -32
- package/dist/{runOpenClaw-Brb1KKAA.mjs → runOpenClaw-8V2K_-lg.mjs} +17 -17
- package/dist/{runOpenClaw-BK7ZQEKj.cjs → runOpenClaw-CLw64Nmq.cjs} +17 -17
- package/dist/{sandbox-t43Exd4t.mjs → sandbox-BMkBdvHW.mjs} +4 -4
- package/dist/{sandbox-DFD6an8o.cjs → sandbox-DD2oQTt3.cjs} +4 -4
- package/dist/{selfCheck-Bel50SH3.cjs → selfCheck-0jELpLE9.cjs} +37 -37
- package/dist/selfCheck-DgWZfw5E.mjs +86 -0
- package/dist/{send-Co9jxmc4.mjs → send-BNjwFaVp.mjs} +8 -8
- package/dist/{send-IR5DnG9V.cjs → send-BoLglO1t.cjs} +8 -8
- package/dist/{server-KnIeKeTb.mjs → server-C5wOp8jw.mjs} +4 -4
- package/dist/{server-CAo6a3Vw.cjs → server-Uw82k7zD.cjs} +6 -6
- package/dist/{sessionLock-DNGDn9oj.cjs → sessionLock-BTo7Cdbi.cjs} +3 -3
- package/dist/{sessionLock-ha9gsQEn.mjs → sessionLock-YMRCi-Ec.mjs} +3 -3
- package/dist/{sessionOps-hRqzcMXB.cjs → sessionOps-BDHEzyAY.cjs} +4 -4
- package/dist/{sessionOps-Di9MC0FP.mjs → sessionOps-BO6AesNJ.mjs} +4 -4
- package/dist/{sessionProvider-4Nn6e9Kd.mjs → sessionProvider-CB9lGJdF.mjs} +5 -5
- package/dist/{sessionProvider-LqE7Y_cf.cjs → sessionProvider-DLdJJV6A.cjs} +5 -5
- package/dist/{sessionScanner-BzEtrHB8.cjs → sessionScanner-3TevonZd.cjs} +3 -3
- package/dist/{sessionScanner-DKFKDsrW.mjs → sessionScanner-BkukogZy.mjs} +3 -3
- package/dist/{sessions-CmLiagcb.cjs → sessions-BkBcZSj7.cjs} +10 -10
- package/dist/{sessions-DzgMNXo5.mjs → sessions-Bx-6fXTL.mjs} +10 -10
- package/dist/{setupOfflineReconnection-Dq4N2Txp.cjs → setupOfflineReconnection-DMfoVL-0.cjs} +2 -2
- package/dist/{setupOfflineReconnection-D4NGi3Jf.mjs → setupOfflineReconnection-DYzysFFJ.mjs} +2 -2
- package/dist/{spawn-C6CE5PsI.mjs → spawn-CHC32rLr.mjs} +12 -12
- package/dist/{spawn-tmoekkOW.cjs → spawn-DvyBhowH.cjs} +12 -12
- package/dist/{spawnHappyCLI-8NcKgkuy.cjs → spawnHappyCLI-WYJCvAWD.cjs} +1 -1
- package/dist/{spawnHappyCLI-66grqHO0.mjs → spawnHappyCLI-e9MaJWB0.mjs} +1 -1
- package/dist/{specialCommands-BO8ipH0n.mjs → specialCommands-D00VrQ09.mjs} +3 -3
- package/dist/{specialCommands-Dq0TmY1Z.cjs → specialCommands-DqrQnKHC.cjs} +3 -3
- package/dist/{startFileWatcher-BLDkieUW.mjs → startFileWatcher-CvUUesns.mjs} +1 -1
- package/dist/{startFileWatcher-CjgKvec9.cjs → startFileWatcher-VFZ-Bpwa.cjs} +1 -1
- package/dist/{startupSessionCreate-CXRVahaU.cjs → startupSessionCreate-B25xTUJ4.cjs} +1 -1
- package/dist/{startupSessionCreate-B60THeNz.mjs → startupSessionCreate-B6HNLg0g.mjs} +1 -1
- package/dist/{sync-DKSZOi6w.cjs → sync-DliZ1zZh.cjs} +1 -1
- package/dist/{sync-DJvx7RbO.mjs → sync-HPnxI4fz.mjs} +1 -1
- package/dist/{systemPrompt-Duos1BtM.cjs → systemPrompt-CYvRvanR.cjs} +1 -1
- package/dist/{systemPrompt-dOOpz8L7.mjs → systemPrompt-D9JJpzl_.mjs} +1 -1
- package/dist/{teams-uWiMJEe1.mjs → teams-C0PJlIMz.mjs} +6 -6
- package/dist/{teams-pO5rjvPO.cjs → teams-D7Ad6YSf.cjs} +6 -6
- package/dist/{time-D-8GFCE7.cjs → time-BCGGrWp4.cjs} +1 -1
- package/dist/{time-Du0scQeJ.mjs → time-BbJ-NWcl.mjs} +1 -1
- package/dist/{titleGenerator-DKYj8rLY.mjs → titleGenerator-03Y2uoZW.mjs} +1 -1
- package/dist/{titleGenerator-DnKygjBP.cjs → titleGenerator-IrI84kqh.cjs} +2 -2
- package/dist/{todo-Du5dAwnt.mjs → todo-DOh8KaxD.mjs} +5 -5
- package/dist/{todo-BFDb7O8q.cjs → todo-DdV9_uEu.cjs} +5 -5
- package/dist/{tools-DK_x86Kl.cjs → tools-DeoxWyQ0.cjs} +1 -1
- package/dist/{tools-DHvMVL0a.mjs → tools-WXF7ApAe.mjs} +1 -1
- package/dist/{uninstall-CLDEXir0.mjs → uninstall-BVYlC0jw.mjs} +3 -3
- package/dist/{uninstall-c3zjum2o.cjs → uninstall-oGvAKOlN.cjs} +3 -3
- package/package.json +7 -7
- package/dist/selfCheck-CwpZepG-.mjs +0 -86
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import{createRequire as _pkgrollCR}from"node:module";const require=_pkgrollCR(import.meta.url);import chalk from 'chalk';
|
|
2
|
-
import { l as logger, g as getLatestDaemonLog } from './logger-
|
|
3
|
-
import { d as readDaemonState, r as readSettings, b as readCredentialsForConfiguredRelay } from './persistence-
|
|
4
|
-
import { a as authAndSetupMachineIfNeeded } from './auth-
|
|
5
|
-
import { p as packageJson } from './package-
|
|
2
|
+
import { l as logger, g as getLatestDaemonLog } from './logger-BjXkscIr.mjs';
|
|
3
|
+
import { d as readDaemonState, r as readSettings, b as readCredentialsForConfiguredRelay } from './persistence-CmVwM5uq.mjs';
|
|
4
|
+
import { a as authAndSetupMachineIfNeeded } from './auth-BKD2U9S2.mjs';
|
|
5
|
+
import { p as packageJson } from './package-Do0Y9bGA.mjs';
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import { l as listDaemonSessions, f as stopDaemonSession, a as checkIfDaemonRunningAndCleanupStaleState, s as stopDaemon } from './controlClient-
|
|
7
|
+
import { l as listDaemonSessions, f as stopDaemonSession, a as checkIfDaemonRunningAndCleanupStaleState, s as stopDaemon } from './controlClient-DBylxaEh.mjs';
|
|
8
8
|
import { S as SYSTEMD_RESTART_HINT, k as kickstartLaunchdJob } from './daemonSupervisor-DfzrtNhM.mjs';
|
|
9
|
-
import { s as spawnHappyCLI } from './spawnHappyCLI-
|
|
9
|
+
import { s as spawnHappyCLI } from './spawnHappyCLI-e9MaJWB0.mjs';
|
|
10
10
|
import { execFileSync } from 'node:child_process';
|
|
11
|
-
import { e as ensureDaemonRunning, a as extractNoSandboxFlag } from './ensureDaemonRunning-
|
|
11
|
+
import { e as ensureDaemonRunning, a as extractNoSandboxFlag } from './ensureDaemonRunning-GDGwNDGF.mjs';
|
|
12
12
|
import { p as planClaudeStartup } from './startupPlan-DFMyNgAs.mjs';
|
|
13
|
-
import { i as isStandaloneVersionRequest } from './index-
|
|
14
|
-
import { c as configuration } from './configuration-
|
|
13
|
+
import { i as isStandaloneVersionRequest } from './index-DRWlaLbe.mjs';
|
|
14
|
+
import { c as configuration } from './configuration-HPdj5Til.mjs';
|
|
15
15
|
import { d as daemonEndpointsMatch } from './doctorReadiness-C208SMN9.mjs';
|
|
16
|
-
import { p as parsePiRunnerArgs, m as missingPiPrerequisites, a as piSetupMessage, b as piAdapterMissingHint } from './piRunnerArgs-
|
|
16
|
+
import { p as parsePiRunnerArgs, m as missingPiPrerequisites, a as piSetupMessage, b as piAdapterMissingHint } from './piRunnerArgs-K0K9Y0Yq.mjs';
|
|
17
17
|
import { c as commandOnPath } from './detectCLI-CSGMlV51.mjs';
|
|
18
18
|
import 'node:util';
|
|
19
19
|
import 'node:fs';
|
|
@@ -23,8 +23,8 @@ import './authRelay-DhQhkBvX.mjs';
|
|
|
23
23
|
import 'node:crypto';
|
|
24
24
|
import 'tweetnacl';
|
|
25
25
|
import 'axios';
|
|
26
|
-
import './time-
|
|
27
|
-
import './browser-
|
|
26
|
+
import './time-BbJ-NWcl.mjs';
|
|
27
|
+
import './browser-C0xt1NE-.mjs';
|
|
28
28
|
import 'open';
|
|
29
29
|
import 'node:module';
|
|
30
30
|
import 'node:os';
|
|
@@ -32,7 +32,7 @@ import 'cross-spawn';
|
|
|
32
32
|
import './projectPath-BTBIMB57.mjs';
|
|
33
33
|
import 'path';
|
|
34
34
|
import 'url';
|
|
35
|
-
import './acpSessionResume-
|
|
35
|
+
import './acpSessionResume-_2NtETqb.mjs';
|
|
36
36
|
import 'child_process';
|
|
37
37
|
import 'os';
|
|
38
38
|
import 'fs';
|
|
@@ -93,32 +93,32 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
93
93
|
}
|
|
94
94
|
process.exit(0);
|
|
95
95
|
}
|
|
96
|
-
await (await import('./doctor-
|
|
96
|
+
await (await import('./doctor-DpWtxNeT.mjs').then(function (n) { return n.d; })).runDoctorCommand();
|
|
97
97
|
return;
|
|
98
98
|
} else if (subcommand === "auth") {
|
|
99
99
|
try {
|
|
100
|
-
await (await import('./auth-
|
|
100
|
+
await (await import('./auth-CpbTj74y.mjs')).handleAuthCommand(args.slice(1));
|
|
101
101
|
} catch (error) {
|
|
102
102
|
failCommand(error);
|
|
103
103
|
}
|
|
104
104
|
return;
|
|
105
105
|
} else if (subcommand === "connect") {
|
|
106
106
|
try {
|
|
107
|
-
await (await import('./connect-
|
|
107
|
+
await (await import('./connect-1YK7vPbW.mjs')).handleConnectCommand(args.slice(1));
|
|
108
108
|
} catch (error) {
|
|
109
109
|
failCommand(error);
|
|
110
110
|
}
|
|
111
111
|
return;
|
|
112
112
|
} else if (subcommand === "sandbox") {
|
|
113
113
|
try {
|
|
114
|
-
await (await import('./sandbox-
|
|
114
|
+
await (await import('./sandbox-BMkBdvHW.mjs')).handleSandboxCommand(args.slice(1));
|
|
115
115
|
} catch (error) {
|
|
116
116
|
failCommand(error);
|
|
117
117
|
}
|
|
118
118
|
return;
|
|
119
119
|
} else if (subcommand === "server") {
|
|
120
120
|
try {
|
|
121
|
-
await (await import('./server-
|
|
121
|
+
await (await import('./server-C5wOp8jw.mjs')).handleServerCommand(args.slice(1));
|
|
122
122
|
} catch (error) {
|
|
123
123
|
failCommand(error);
|
|
124
124
|
}
|
|
@@ -150,7 +150,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
150
150
|
}
|
|
151
151
|
} else if (subcommand === "agent-home") {
|
|
152
152
|
try {
|
|
153
|
-
const { parseAgentHomeArgs, runAgentHomeCommand } = await import('./agentHome-
|
|
153
|
+
const { parseAgentHomeArgs, runAgentHomeCommand } = await import('./agentHome-Dv_hRIt7.mjs');
|
|
154
154
|
await runAgentHomeCommand(parseAgentHomeArgs(args.slice(1)));
|
|
155
155
|
process.exit(0);
|
|
156
156
|
} catch (error) {
|
|
@@ -159,7 +159,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
159
159
|
}
|
|
160
160
|
} else if (subcommand === "spawn") {
|
|
161
161
|
try {
|
|
162
|
-
const { handleSpawnCommand } = await import('./spawn-
|
|
162
|
+
const { handleSpawnCommand } = await import('./spawn-CHC32rLr.mjs');
|
|
163
163
|
await handleSpawnCommand(args.slice(1));
|
|
164
164
|
} catch (error) {
|
|
165
165
|
failCommand(error);
|
|
@@ -167,7 +167,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
167
167
|
return;
|
|
168
168
|
} else if ((subcommand === "session" || subcommand === "sessions") && args[1] === "provider") {
|
|
169
169
|
try {
|
|
170
|
-
const { handleSessionProviderCommand } = await import('./sessionProvider-
|
|
170
|
+
const { handleSessionProviderCommand } = await import('./sessionProvider-CB9lGJdF.mjs');
|
|
171
171
|
await handleSessionProviderCommand(args.slice(2));
|
|
172
172
|
} catch (error) {
|
|
173
173
|
failCommand(error);
|
|
@@ -175,7 +175,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
175
175
|
process.exit(process.exitCode ?? 0);
|
|
176
176
|
} else if (subcommand === "sessions") {
|
|
177
177
|
try {
|
|
178
|
-
const { handleSessionsCommand } = await import('./sessions-
|
|
178
|
+
const { handleSessionsCommand } = await import('./sessions-Bx-6fXTL.mjs');
|
|
179
179
|
await handleSessionsCommand(args.slice(1));
|
|
180
180
|
} catch (error) {
|
|
181
181
|
failCommand(error);
|
|
@@ -183,7 +183,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
183
183
|
return;
|
|
184
184
|
} else if (subcommand === "send") {
|
|
185
185
|
try {
|
|
186
|
-
const { handleSendCommand } = await import('./send-
|
|
186
|
+
const { handleSendCommand } = await import('./send-BNjwFaVp.mjs');
|
|
187
187
|
await handleSendCommand(args.slice(1));
|
|
188
188
|
} catch (error) {
|
|
189
189
|
failCommand(error);
|
|
@@ -191,14 +191,14 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
191
191
|
return;
|
|
192
192
|
} else if (subcommand === "resume") {
|
|
193
193
|
try {
|
|
194
|
-
await (await import('./handleResumeCommand-
|
|
194
|
+
await (await import('./handleResumeCommand-DW7Ml1u5.mjs')).handleResumeCommand(args.slice(1));
|
|
195
195
|
} catch (error) {
|
|
196
196
|
failCommand(error);
|
|
197
197
|
}
|
|
198
198
|
return;
|
|
199
199
|
} else if (subcommand === "codex") {
|
|
200
200
|
try {
|
|
201
|
-
await (await import('./codexCommand-
|
|
201
|
+
await (await import('./codexCommand-CkdopWS7.mjs')).handleCodexCommand(args.slice(1));
|
|
202
202
|
} catch (error) {
|
|
203
203
|
failCommand(error);
|
|
204
204
|
}
|
|
@@ -277,9 +277,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
277
277
|
if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
|
|
278
278
|
const projectId = args[3];
|
|
279
279
|
try {
|
|
280
|
-
const { saveGoogleCloudProjectToConfig } = await import('./config-
|
|
281
|
-
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./persistence-
|
|
282
|
-
const { ApiClient } = await import('./api-
|
|
280
|
+
const { saveGoogleCloudProjectToConfig } = await import('./config-CppOKnWe.mjs');
|
|
281
|
+
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./persistence-CmVwM5uq.mjs').then(function (n) { return n.F; });
|
|
282
|
+
const { ApiClient } = await import('./api-BTS8mqLy.mjs').then(function (n) { return n.e; });
|
|
283
283
|
let userEmail = void 0;
|
|
284
284
|
try {
|
|
285
285
|
const credentials = await readCredentialsForConfiguredRelay2();
|
|
@@ -310,7 +310,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
310
310
|
}
|
|
311
311
|
if (geminiSubcommand === "project" && args[2] === "get") {
|
|
312
312
|
try {
|
|
313
|
-
const { readGeminiLocalConfig } = await import('./config-
|
|
313
|
+
const { readGeminiLocalConfig } = await import('./config-CppOKnWe.mjs');
|
|
314
314
|
const config = readGeminiLocalConfig();
|
|
315
315
|
if (config.googleCloudProject) {
|
|
316
316
|
console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
|
|
@@ -350,7 +350,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
350
350
|
process.exit(0);
|
|
351
351
|
}
|
|
352
352
|
try {
|
|
353
|
-
const { runGemini } = await import('./runGemini-
|
|
353
|
+
const { runGemini } = await import('./runGemini-CI7ut_ng.mjs');
|
|
354
354
|
let startedBy = void 0;
|
|
355
355
|
for (let i = 1; i < args.length; i++) {
|
|
356
356
|
if (args[i] === "--started-by") {
|
|
@@ -369,7 +369,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
369
369
|
} else if (subcommand === "pi") {
|
|
370
370
|
if (args[1] === "--terminal") {
|
|
371
371
|
try {
|
|
372
|
-
const { runPiTerminal } = await import('./piTerminal-
|
|
372
|
+
const { runPiTerminal } = await import('./piTerminal-B8acGxsm.mjs');
|
|
373
373
|
process.exitCode = await runPiTerminal(args.slice(2));
|
|
374
374
|
} catch (error) {
|
|
375
375
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -394,7 +394,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
394
394
|
process.exit(1);
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
const { runAcp, resolveAcpAgentConfig } = await import('./index-
|
|
397
|
+
const { runAcp, resolveAcpAgentConfig } = await import('./index-C1qLnBOk.mjs');
|
|
398
398
|
const resolved = resolveAcpAgentConfig(["pi", ...parsed.passthrough]);
|
|
399
399
|
const { credentials } = await authAndSetupMachineIfNeeded();
|
|
400
400
|
await ensureDaemonRunning();
|
|
@@ -426,7 +426,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
426
426
|
return;
|
|
427
427
|
} else if (subcommand === "acp") {
|
|
428
428
|
try {
|
|
429
|
-
const { runAcp, resolveAcpAgentConfig } = await import('./index-
|
|
429
|
+
const { runAcp, resolveAcpAgentConfig } = await import('./index-C1qLnBOk.mjs');
|
|
430
430
|
let startedBy = void 0;
|
|
431
431
|
let verbose = false;
|
|
432
432
|
const acpArgs = [];
|
|
@@ -462,7 +462,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
462
462
|
return;
|
|
463
463
|
} else if (subcommand === "openclaw") {
|
|
464
464
|
try {
|
|
465
|
-
const { runOpenClaw } = await import('./runOpenClaw-
|
|
465
|
+
const { runOpenClaw } = await import('./runOpenClaw-8V2K_-lg.mjs');
|
|
466
466
|
let startedBy = void 0;
|
|
467
467
|
let verbose = false;
|
|
468
468
|
let gatewayUrl;
|
|
@@ -498,14 +498,14 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
498
498
|
} else if (subcommand === "logout") {
|
|
499
499
|
console.log(chalk.yellow('Note: "very-happy logout" is deprecated. Use "very-happy auth logout" instead.\n'));
|
|
500
500
|
try {
|
|
501
|
-
await (await import('./auth-
|
|
501
|
+
await (await import('./auth-CpbTj74y.mjs')).handleAuthCommand(["logout"]);
|
|
502
502
|
} catch (error) {
|
|
503
503
|
failCommand(error);
|
|
504
504
|
}
|
|
505
505
|
return;
|
|
506
506
|
} else if (subcommand === "todo") {
|
|
507
507
|
try {
|
|
508
|
-
const { handleTodoCommand } = await import('./todo-
|
|
508
|
+
const { handleTodoCommand } = await import('./todo-DOh8KaxD.mjs');
|
|
509
509
|
await handleTodoCommand(args.slice(1));
|
|
510
510
|
} catch (error) {
|
|
511
511
|
console.error(JSON.stringify({ error: error instanceof Error ? error.message : "Todo command failed" }));
|
|
@@ -514,7 +514,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
514
514
|
return;
|
|
515
515
|
} else if (subcommand === "teams") {
|
|
516
516
|
try {
|
|
517
|
-
const { handleTeamsCommand } = await import('./teams-
|
|
517
|
+
const { handleTeamsCommand } = await import('./teams-C0PJlIMz.mjs');
|
|
518
518
|
await handleTeamsCommand(args.slice(1));
|
|
519
519
|
} catch (error) {
|
|
520
520
|
console.error(error instanceof Error ? error.message : "Teams command failed");
|
|
@@ -523,7 +523,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
523
523
|
return;
|
|
524
524
|
} else if (subcommand === "auto") {
|
|
525
525
|
try {
|
|
526
|
-
const { handleAutoCommand } = await import('./auto-
|
|
526
|
+
const { handleAutoCommand } = await import('./auto-C-NK2JS8.mjs');
|
|
527
527
|
await handleAutoCommand(args.slice(1));
|
|
528
528
|
} catch (error) {
|
|
529
529
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Automation command failed");
|
|
@@ -535,7 +535,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
535
535
|
return;
|
|
536
536
|
} else if (subcommand === "mcp" && (args.length === 1 || args.length === 2 && args[1] === "--terminal-tools")) {
|
|
537
537
|
try {
|
|
538
|
-
const { handleMcpCommand } = await import('./mcp-
|
|
538
|
+
const { handleMcpCommand } = await import('./mcp-BS6rdR8p.mjs');
|
|
539
539
|
await handleMcpCommand(args[1] === "--terminal-tools");
|
|
540
540
|
} catch (error) {
|
|
541
541
|
process.stderr.write(`[very-happy mcp] Fatal: ${error instanceof Error ? error.message : String(error)}
|
|
@@ -545,7 +545,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
545
545
|
return;
|
|
546
546
|
} else if (subcommand === "panels" || subcommand === "attention") {
|
|
547
547
|
try {
|
|
548
|
-
const { handlePanelsCommand, handleAttentionCommand } = await import('./panels-
|
|
548
|
+
const { handlePanelsCommand, handleAttentionCommand } = await import('./panels-C-jss7nF.mjs');
|
|
549
549
|
if (subcommand === "panels") await handlePanelsCommand(args.slice(1));
|
|
550
550
|
else await handleAttentionCommand(args.slice(1));
|
|
551
551
|
} catch (error) {
|
|
@@ -638,13 +638,13 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
638
638
|
}
|
|
639
639
|
process.exit(0);
|
|
640
640
|
} else if (daemonSubcommand === "start-sync") {
|
|
641
|
-
await (await import('./run-
|
|
641
|
+
await (await import('./run-BkixRBWm.mjs')).startDaemon();
|
|
642
642
|
process.exit(0);
|
|
643
643
|
} else if (daemonSubcommand === "stop") {
|
|
644
644
|
await stopDaemon();
|
|
645
645
|
process.exit(0);
|
|
646
646
|
} else if (daemonSubcommand === "status") {
|
|
647
|
-
await (await import('./doctor-
|
|
647
|
+
await (await import('./doctor-DpWtxNeT.mjs').then(function (n) { return n.d; })).runDoctorDaemon();
|
|
648
648
|
process.exit(0);
|
|
649
649
|
} else if (daemonSubcommand === "logs") {
|
|
650
650
|
const latest = await getLatestDaemonLog();
|
|
@@ -656,14 +656,14 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
656
656
|
process.exit(0);
|
|
657
657
|
} else if (daemonSubcommand === "install") {
|
|
658
658
|
try {
|
|
659
|
-
await (await import('./install-
|
|
659
|
+
await (await import('./install-DmF9wfwV.mjs')).install();
|
|
660
660
|
} catch (error) {
|
|
661
661
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
662
662
|
process.exit(1);
|
|
663
663
|
}
|
|
664
664
|
} else if (daemonSubcommand === "uninstall") {
|
|
665
665
|
try {
|
|
666
|
-
await (await import('./uninstall-
|
|
666
|
+
await (await import('./uninstall-BVYlC0jw.mjs')).uninstall();
|
|
667
667
|
} catch (error) {
|
|
668
668
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
669
669
|
process.exit(1);
|
|
@@ -852,7 +852,7 @@ ${chalk.bold.cyan("Claude Code Options (from `claude --help`):")}
|
|
|
852
852
|
await ensureDaemonRunning();
|
|
853
853
|
}
|
|
854
854
|
try {
|
|
855
|
-
const { runClaude } = await import('./runClaude-
|
|
855
|
+
const { runClaude } = await import('./runClaude-FWTCLnVq.mjs');
|
|
856
856
|
await runClaude(credentials, options);
|
|
857
857
|
} catch (error) {
|
|
858
858
|
failCommand(error);
|
|
@@ -907,7 +907,7 @@ ${chalk.bold("Examples:")}
|
|
|
907
907
|
}
|
|
908
908
|
console.log(chalk.blue("\u{1F4F1} Sending push notification..."));
|
|
909
909
|
try {
|
|
910
|
-
const { ApiClient } = await import('./api-
|
|
910
|
+
const { ApiClient } = await import('./api-BTS8mqLy.mjs').then(function (n) { return n.e; });
|
|
911
911
|
const api = await ApiClient.create(credentials);
|
|
912
912
|
const notificationTitle = title || "Happy";
|
|
913
913
|
api.push().sendToAllDevices(
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
|
-
var logger = require('./logger-
|
|
5
|
-
var persistence = require('./persistence-
|
|
6
|
-
var auth = require('./auth-
|
|
7
|
-
var _package = require('./package-
|
|
4
|
+
var logger = require('./logger-CIUMiSLo.cjs');
|
|
5
|
+
var persistence = require('./persistence-CNWBdUH2.cjs');
|
|
6
|
+
var auth = require('./auth-B8nCUEiK.cjs');
|
|
7
|
+
var _package = require('./package-CRDjc5vK.cjs');
|
|
8
8
|
var z = require('zod');
|
|
9
|
-
var controlClient = require('./controlClient-
|
|
9
|
+
var controlClient = require('./controlClient-DTMI1aTp.cjs');
|
|
10
10
|
var daemonSupervisor = require('./daemonSupervisor-57JYYzMf.cjs');
|
|
11
|
-
var spawnHappyCLI = require('./spawnHappyCLI-
|
|
11
|
+
var spawnHappyCLI = require('./spawnHappyCLI-WYJCvAWD.cjs');
|
|
12
12
|
var node_child_process = require('node:child_process');
|
|
13
|
-
var ensureDaemonRunning = require('./ensureDaemonRunning-
|
|
13
|
+
var ensureDaemonRunning = require('./ensureDaemonRunning-Dsv8UPwx.cjs');
|
|
14
14
|
var startupPlan = require('./startupPlan-BLMbfQIH.cjs');
|
|
15
|
-
var index = require('./index-
|
|
16
|
-
var configuration = require('./configuration-
|
|
15
|
+
var index = require('./index-Bh806Q-1.cjs');
|
|
16
|
+
var configuration = require('./configuration-CwfmwaLU.cjs');
|
|
17
17
|
var doctorReadiness = require('./doctorReadiness-Dl6yRQCy.cjs');
|
|
18
|
-
var piRunnerArgs = require('./piRunnerArgs-
|
|
18
|
+
var piRunnerArgs = require('./piRunnerArgs-CXJx3PPx.cjs');
|
|
19
19
|
var detectCLI = require('./detectCLI-BuYR_Qxe.cjs');
|
|
20
20
|
require('node:util');
|
|
21
21
|
require('node:fs');
|
|
@@ -25,8 +25,8 @@ require('./authRelay-Dy1qU9td.cjs');
|
|
|
25
25
|
require('node:crypto');
|
|
26
26
|
require('tweetnacl');
|
|
27
27
|
require('axios');
|
|
28
|
-
require('./time-
|
|
29
|
-
require('./browser-
|
|
28
|
+
require('./time-BCGGrWp4.cjs');
|
|
29
|
+
require('./browser-Ch50ZchJ.cjs');
|
|
30
30
|
require('open');
|
|
31
31
|
require('node:module');
|
|
32
32
|
require('node:os');
|
|
@@ -34,7 +34,7 @@ require('cross-spawn');
|
|
|
34
34
|
require('./projectPath-C3ioB4Bu.cjs');
|
|
35
35
|
require('path');
|
|
36
36
|
require('url');
|
|
37
|
-
require('./acpSessionResume-
|
|
37
|
+
require('./acpSessionResume-umHzSMbQ.cjs');
|
|
38
38
|
require('child_process');
|
|
39
39
|
require('os');
|
|
40
40
|
require('fs');
|
|
@@ -95,32 +95,32 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
95
95
|
}
|
|
96
96
|
process.exit(0);
|
|
97
97
|
}
|
|
98
|
-
await (await Promise.resolve().then(function () { return require('./doctor-
|
|
98
|
+
await (await Promise.resolve().then(function () { return require('./doctor-tLRILlmz.cjs'); }).then(function (n) { return n.doctor; })).runDoctorCommand();
|
|
99
99
|
return;
|
|
100
100
|
} else if (subcommand === "auth") {
|
|
101
101
|
try {
|
|
102
|
-
await (await Promise.resolve().then(function () { return require('./auth-
|
|
102
|
+
await (await Promise.resolve().then(function () { return require('./auth-DzXdF08E.cjs'); })).handleAuthCommand(args.slice(1));
|
|
103
103
|
} catch (error) {
|
|
104
104
|
failCommand(error);
|
|
105
105
|
}
|
|
106
106
|
return;
|
|
107
107
|
} else if (subcommand === "connect") {
|
|
108
108
|
try {
|
|
109
|
-
await (await Promise.resolve().then(function () { return require('./connect-
|
|
109
|
+
await (await Promise.resolve().then(function () { return require('./connect-BNlBIAM8.cjs'); })).handleConnectCommand(args.slice(1));
|
|
110
110
|
} catch (error) {
|
|
111
111
|
failCommand(error);
|
|
112
112
|
}
|
|
113
113
|
return;
|
|
114
114
|
} else if (subcommand === "sandbox") {
|
|
115
115
|
try {
|
|
116
|
-
await (await Promise.resolve().then(function () { return require('./sandbox-
|
|
116
|
+
await (await Promise.resolve().then(function () { return require('./sandbox-DD2oQTt3.cjs'); })).handleSandboxCommand(args.slice(1));
|
|
117
117
|
} catch (error) {
|
|
118
118
|
failCommand(error);
|
|
119
119
|
}
|
|
120
120
|
return;
|
|
121
121
|
} else if (subcommand === "server") {
|
|
122
122
|
try {
|
|
123
|
-
await (await Promise.resolve().then(function () { return require('./server-
|
|
123
|
+
await (await Promise.resolve().then(function () { return require('./server-Uw82k7zD.cjs'); })).handleServerCommand(args.slice(1));
|
|
124
124
|
} catch (error) {
|
|
125
125
|
failCommand(error);
|
|
126
126
|
}
|
|
@@ -152,7 +152,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
152
152
|
}
|
|
153
153
|
} else if (subcommand === "agent-home") {
|
|
154
154
|
try {
|
|
155
|
-
const { parseAgentHomeArgs, runAgentHomeCommand } = await Promise.resolve().then(function () { return require('./agentHome-
|
|
155
|
+
const { parseAgentHomeArgs, runAgentHomeCommand } = await Promise.resolve().then(function () { return require('./agentHome-CmIMqMWy.cjs'); });
|
|
156
156
|
await runAgentHomeCommand(parseAgentHomeArgs(args.slice(1)));
|
|
157
157
|
process.exit(0);
|
|
158
158
|
} catch (error) {
|
|
@@ -161,7 +161,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
161
161
|
}
|
|
162
162
|
} else if (subcommand === "spawn") {
|
|
163
163
|
try {
|
|
164
|
-
const { handleSpawnCommand } = await Promise.resolve().then(function () { return require('./spawn-
|
|
164
|
+
const { handleSpawnCommand } = await Promise.resolve().then(function () { return require('./spawn-DvyBhowH.cjs'); });
|
|
165
165
|
await handleSpawnCommand(args.slice(1));
|
|
166
166
|
} catch (error) {
|
|
167
167
|
failCommand(error);
|
|
@@ -169,7 +169,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
169
169
|
return;
|
|
170
170
|
} else if ((subcommand === "session" || subcommand === "sessions") && args[1] === "provider") {
|
|
171
171
|
try {
|
|
172
|
-
const { handleSessionProviderCommand } = await Promise.resolve().then(function () { return require('./sessionProvider-
|
|
172
|
+
const { handleSessionProviderCommand } = await Promise.resolve().then(function () { return require('./sessionProvider-DLdJJV6A.cjs'); });
|
|
173
173
|
await handleSessionProviderCommand(args.slice(2));
|
|
174
174
|
} catch (error) {
|
|
175
175
|
failCommand(error);
|
|
@@ -177,7 +177,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
177
177
|
process.exit(process.exitCode ?? 0);
|
|
178
178
|
} else if (subcommand === "sessions") {
|
|
179
179
|
try {
|
|
180
|
-
const { handleSessionsCommand } = await Promise.resolve().then(function () { return require('./sessions-
|
|
180
|
+
const { handleSessionsCommand } = await Promise.resolve().then(function () { return require('./sessions-BkBcZSj7.cjs'); });
|
|
181
181
|
await handleSessionsCommand(args.slice(1));
|
|
182
182
|
} catch (error) {
|
|
183
183
|
failCommand(error);
|
|
@@ -185,7 +185,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
185
185
|
return;
|
|
186
186
|
} else if (subcommand === "send") {
|
|
187
187
|
try {
|
|
188
|
-
const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-
|
|
188
|
+
const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-BoLglO1t.cjs'); });
|
|
189
189
|
await handleSendCommand(args.slice(1));
|
|
190
190
|
} catch (error) {
|
|
191
191
|
failCommand(error);
|
|
@@ -193,14 +193,14 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
193
193
|
return;
|
|
194
194
|
} else if (subcommand === "resume") {
|
|
195
195
|
try {
|
|
196
|
-
await (await Promise.resolve().then(function () { return require('./handleResumeCommand-
|
|
196
|
+
await (await Promise.resolve().then(function () { return require('./handleResumeCommand-CncudrQd.cjs'); })).handleResumeCommand(args.slice(1));
|
|
197
197
|
} catch (error) {
|
|
198
198
|
failCommand(error);
|
|
199
199
|
}
|
|
200
200
|
return;
|
|
201
201
|
} else if (subcommand === "codex") {
|
|
202
202
|
try {
|
|
203
|
-
await (await Promise.resolve().then(function () { return require('./codexCommand-
|
|
203
|
+
await (await Promise.resolve().then(function () { return require('./codexCommand-D_8fbJEk.cjs'); })).handleCodexCommand(args.slice(1));
|
|
204
204
|
} catch (error) {
|
|
205
205
|
failCommand(error);
|
|
206
206
|
}
|
|
@@ -279,9 +279,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
279
279
|
if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
|
|
280
280
|
const projectId = args[3];
|
|
281
281
|
try {
|
|
282
|
-
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-
|
|
283
|
-
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./persistence-
|
|
284
|
-
const { ApiClient } = await Promise.resolve().then(function () { return require('./api-
|
|
282
|
+
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-IDbpY1Am.cjs'); });
|
|
283
|
+
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./persistence-CNWBdUH2.cjs'); }).then(function (n) { return n.persistence; });
|
|
284
|
+
const { ApiClient } = await Promise.resolve().then(function () { return require('./api-BSz8MYte.cjs'); }).then(function (n) { return n.api; });
|
|
285
285
|
let userEmail = void 0;
|
|
286
286
|
try {
|
|
287
287
|
const credentials = await readCredentialsForConfiguredRelay2();
|
|
@@ -312,7 +312,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
312
312
|
}
|
|
313
313
|
if (geminiSubcommand === "project" && args[2] === "get") {
|
|
314
314
|
try {
|
|
315
|
-
const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-
|
|
315
|
+
const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-IDbpY1Am.cjs'); });
|
|
316
316
|
const config = readGeminiLocalConfig();
|
|
317
317
|
if (config.googleCloudProject) {
|
|
318
318
|
console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
|
|
@@ -352,7 +352,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
352
352
|
process.exit(0);
|
|
353
353
|
}
|
|
354
354
|
try {
|
|
355
|
-
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-
|
|
355
|
+
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-CzPwEltY.cjs'); });
|
|
356
356
|
let startedBy = void 0;
|
|
357
357
|
for (let i = 1; i < args.length; i++) {
|
|
358
358
|
if (args[i] === "--started-by") {
|
|
@@ -371,7 +371,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
371
371
|
} else if (subcommand === "pi") {
|
|
372
372
|
if (args[1] === "--terminal") {
|
|
373
373
|
try {
|
|
374
|
-
const { runPiTerminal } = await Promise.resolve().then(function () { return require('./piTerminal-
|
|
374
|
+
const { runPiTerminal } = await Promise.resolve().then(function () { return require('./piTerminal-DSs-fnps.cjs'); });
|
|
375
375
|
process.exitCode = await runPiTerminal(args.slice(2));
|
|
376
376
|
} catch (error) {
|
|
377
377
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -396,7 +396,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
396
396
|
process.exit(1);
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
|
-
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-
|
|
399
|
+
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-BEHzEYP0.cjs'); });
|
|
400
400
|
const resolved = resolveAcpAgentConfig(["pi", ...parsed.passthrough]);
|
|
401
401
|
const { credentials } = await auth.authAndSetupMachineIfNeeded();
|
|
402
402
|
await ensureDaemonRunning.ensureDaemonRunning();
|
|
@@ -428,7 +428,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
428
428
|
return;
|
|
429
429
|
} else if (subcommand === "acp") {
|
|
430
430
|
try {
|
|
431
|
-
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-
|
|
431
|
+
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-BEHzEYP0.cjs'); });
|
|
432
432
|
let startedBy = void 0;
|
|
433
433
|
let verbose = false;
|
|
434
434
|
const acpArgs = [];
|
|
@@ -464,7 +464,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
464
464
|
return;
|
|
465
465
|
} else if (subcommand === "openclaw") {
|
|
466
466
|
try {
|
|
467
|
-
const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-
|
|
467
|
+
const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-CLw64Nmq.cjs'); });
|
|
468
468
|
let startedBy = void 0;
|
|
469
469
|
let verbose = false;
|
|
470
470
|
let gatewayUrl;
|
|
@@ -500,14 +500,14 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
500
500
|
} else if (subcommand === "logout") {
|
|
501
501
|
console.log(chalk.yellow('Note: "very-happy logout" is deprecated. Use "very-happy auth logout" instead.\n'));
|
|
502
502
|
try {
|
|
503
|
-
await (await Promise.resolve().then(function () { return require('./auth-
|
|
503
|
+
await (await Promise.resolve().then(function () { return require('./auth-DzXdF08E.cjs'); })).handleAuthCommand(["logout"]);
|
|
504
504
|
} catch (error) {
|
|
505
505
|
failCommand(error);
|
|
506
506
|
}
|
|
507
507
|
return;
|
|
508
508
|
} else if (subcommand === "todo") {
|
|
509
509
|
try {
|
|
510
|
-
const { handleTodoCommand } = await Promise.resolve().then(function () { return require('./todo-
|
|
510
|
+
const { handleTodoCommand } = await Promise.resolve().then(function () { return require('./todo-DdV9_uEu.cjs'); });
|
|
511
511
|
await handleTodoCommand(args.slice(1));
|
|
512
512
|
} catch (error) {
|
|
513
513
|
console.error(JSON.stringify({ error: error instanceof Error ? error.message : "Todo command failed" }));
|
|
@@ -516,7 +516,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
516
516
|
return;
|
|
517
517
|
} else if (subcommand === "teams") {
|
|
518
518
|
try {
|
|
519
|
-
const { handleTeamsCommand } = await Promise.resolve().then(function () { return require('./teams-
|
|
519
|
+
const { handleTeamsCommand } = await Promise.resolve().then(function () { return require('./teams-D7Ad6YSf.cjs'); });
|
|
520
520
|
await handleTeamsCommand(args.slice(1));
|
|
521
521
|
} catch (error) {
|
|
522
522
|
console.error(error instanceof Error ? error.message : "Teams command failed");
|
|
@@ -525,7 +525,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
525
525
|
return;
|
|
526
526
|
} else if (subcommand === "auto") {
|
|
527
527
|
try {
|
|
528
|
-
const { handleAutoCommand } = await Promise.resolve().then(function () { return require('./auto-
|
|
528
|
+
const { handleAutoCommand } = await Promise.resolve().then(function () { return require('./auto-E3ouHO37.cjs'); });
|
|
529
529
|
await handleAutoCommand(args.slice(1));
|
|
530
530
|
} catch (error) {
|
|
531
531
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Automation command failed");
|
|
@@ -537,7 +537,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
537
537
|
return;
|
|
538
538
|
} else if (subcommand === "mcp" && (args.length === 1 || args.length === 2 && args[1] === "--terminal-tools")) {
|
|
539
539
|
try {
|
|
540
|
-
const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-
|
|
540
|
+
const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-C7Rm1dTM.cjs'); });
|
|
541
541
|
await handleMcpCommand(args[1] === "--terminal-tools");
|
|
542
542
|
} catch (error) {
|
|
543
543
|
process.stderr.write(`[very-happy mcp] Fatal: ${error instanceof Error ? error.message : String(error)}
|
|
@@ -547,7 +547,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
547
547
|
return;
|
|
548
548
|
} else if (subcommand === "panels" || subcommand === "attention") {
|
|
549
549
|
try {
|
|
550
|
-
const { handlePanelsCommand, handleAttentionCommand } = await Promise.resolve().then(function () { return require('./panels-
|
|
550
|
+
const { handlePanelsCommand, handleAttentionCommand } = await Promise.resolve().then(function () { return require('./panels-DwTHrZuo.cjs'); });
|
|
551
551
|
if (subcommand === "panels") await handlePanelsCommand(args.slice(1));
|
|
552
552
|
else await handleAttentionCommand(args.slice(1));
|
|
553
553
|
} catch (error) {
|
|
@@ -640,13 +640,13 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
640
640
|
}
|
|
641
641
|
process.exit(0);
|
|
642
642
|
} else if (daemonSubcommand === "start-sync") {
|
|
643
|
-
await (await Promise.resolve().then(function () { return require('./run-
|
|
643
|
+
await (await Promise.resolve().then(function () { return require('./run-BChqUxs6.cjs'); })).startDaemon();
|
|
644
644
|
process.exit(0);
|
|
645
645
|
} else if (daemonSubcommand === "stop") {
|
|
646
646
|
await controlClient.stopDaemon();
|
|
647
647
|
process.exit(0);
|
|
648
648
|
} else if (daemonSubcommand === "status") {
|
|
649
|
-
await (await Promise.resolve().then(function () { return require('./doctor-
|
|
649
|
+
await (await Promise.resolve().then(function () { return require('./doctor-tLRILlmz.cjs'); }).then(function (n) { return n.doctor; })).runDoctorDaemon();
|
|
650
650
|
process.exit(0);
|
|
651
651
|
} else if (daemonSubcommand === "logs") {
|
|
652
652
|
const latest = await logger.getLatestDaemonLog();
|
|
@@ -658,14 +658,14 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
658
658
|
process.exit(0);
|
|
659
659
|
} else if (daemonSubcommand === "install") {
|
|
660
660
|
try {
|
|
661
|
-
await (await Promise.resolve().then(function () { return require('./install-
|
|
661
|
+
await (await Promise.resolve().then(function () { return require('./install-CRs4tGBa.cjs'); })).install();
|
|
662
662
|
} catch (error) {
|
|
663
663
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
664
664
|
process.exit(1);
|
|
665
665
|
}
|
|
666
666
|
} else if (daemonSubcommand === "uninstall") {
|
|
667
667
|
try {
|
|
668
|
-
await (await Promise.resolve().then(function () { return require('./uninstall-
|
|
668
|
+
await (await Promise.resolve().then(function () { return require('./uninstall-oGvAKOlN.cjs'); })).uninstall();
|
|
669
669
|
} catch (error) {
|
|
670
670
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
671
671
|
process.exit(1);
|
|
@@ -854,7 +854,7 @@ ${chalk.bold.cyan("Claude Code Options (from `claude --help`):")}
|
|
|
854
854
|
await ensureDaemonRunning.ensureDaemonRunning();
|
|
855
855
|
}
|
|
856
856
|
try {
|
|
857
|
-
const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-
|
|
857
|
+
const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-Bdw9vTgv.cjs'); });
|
|
858
858
|
await runClaude(credentials, options);
|
|
859
859
|
} catch (error) {
|
|
860
860
|
failCommand(error);
|
|
@@ -909,7 +909,7 @@ ${chalk.bold("Examples:")}
|
|
|
909
909
|
}
|
|
910
910
|
console.log(chalk.blue("\u{1F4F1} Sending push notification..."));
|
|
911
911
|
try {
|
|
912
|
-
const { ApiClient } = await Promise.resolve().then(function () { return require('./api-
|
|
912
|
+
const { ApiClient } = await Promise.resolve().then(function () { return require('./api-BSz8MYte.cjs'); }).then(function (n) { return n.api; });
|
|
913
913
|
const api = await ApiClient.create(credentials);
|
|
914
914
|
const notificationTitle = title || "Happy";
|
|
915
915
|
api.push().sendToAllDevices(
|