very-happy-cli 0.2.180 → 0.2.181
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-DfRDtMcG.cjs → AcpBackend-CgHb_ya5.cjs} +3 -3
- package/dist/{AcpBackend-B8Zi30Zh.mjs → AcpBackend-DZGCSuXF.mjs} +3 -3
- package/dist/{AcpSessionManager-CASKOnOj.cjs → AcpSessionManager-CacC2EVn.cjs} +1 -1
- package/dist/{AcpSessionManager-i8Rab0xT.mjs → AcpSessionManager-DwuPzWBh.mjs} +1 -1
- package/dist/{BasePermissionHandler-BlM_tfej.cjs → BasePermissionHandler-DCP8ZEB4.cjs} +1 -1
- package/dist/{BasePermissionHandler-26fKbRCm.mjs → BasePermissionHandler-Uo-GUjbb.mjs} +1 -1
- package/dist/{acpSessionResume-B9l54P-X.mjs → acpSessionResume-9OLTD6kT.mjs} +1 -1
- package/dist/{acpSessionResume-CR5pmgVo.cjs → acpSessionResume-BaVMD80f.cjs} +1 -1
- package/dist/{agentHome-CmGy0NWv.mjs → agentHome-B1BsKeqD.mjs} +4 -4
- package/dist/{agentHome-C7Sb7-Tz.cjs → agentHome-BtUmGcPX.cjs} +4 -4
- package/dist/{api-DM7b1OKj.cjs → api-COHFAkb_.cjs} +10 -10
- package/dist/{api-Hov8p7CA.mjs → api-Dr3wXL_7.mjs} +10 -10
- package/dist/{apiMachine-CwGEhQDT.mjs → apiMachine-CHEzPQdS.mjs} +54 -32
- package/dist/{apiMachine-DkGRj-Ai.cjs → apiMachine-D8H7CXaz.cjs} +55 -33
- package/dist/{attachmentContent-CIn4iPEk.mjs → attachmentContent-1YwtKgWl.mjs} +2 -2
- package/dist/{attachmentContent-CEm13_gF.cjs → attachmentContent-mIhbtRKl.cjs} +2 -2
- package/dist/{auth-rggxMpEE.mjs → auth-CbZkcMAb.mjs} +8 -8
- package/dist/{auth-CBXnm-Mj.cjs → auth-CgQP7d0q.cjs} +5 -5
- package/dist/{auth-BG1DY0gj.mjs → auth-DZsthtSk.mjs} +5 -5
- package/dist/{auth-Dawj7pP5.cjs → auth-Fg8fLadK.cjs} +8 -8
- package/dist/{auto-CbYOfoPS.cjs → auto-BB7kqSh5.cjs} +18 -18
- package/dist/{auto-CXXLXGeL.mjs → auto-_T-Ud-z5.mjs} +18 -18
- package/dist/{bootstrap-Dt5I1SOl.mjs → bootstrap-B6EkZh4u.mjs} +2 -2
- package/dist/{bootstrap-DoA7okld.cjs → bootstrap-CYtOtbi7.cjs} +2 -2
- package/dist/{browser-DUNetFT4.mjs → browser-C2qhUHSE.mjs} +1 -1
- package/dist/{browser-DZ6qRtfH.cjs → browser-DjNNQQk2.cjs} +1 -1
- package/dist/{claudeLocal-OHWQigCl.mjs → claudeLocal-BAFjWhZ8.mjs} +6 -6
- package/dist/{claudeLocal--DNyMOSv.cjs → claudeLocal-O_w7-fBh.cjs} +6 -6
- package/dist/{claudeLocalLauncher-BStvfa7M.mjs → claudeLocalLauncher-CWn30LZR.mjs} +11 -11
- package/dist/{claudeLocalLauncher-BhvPbcyH.cjs → claudeLocalLauncher-Df3zg1q0.cjs} +11 -11
- package/dist/{claudeSessionFork-GAVWhiKG.mjs → claudeSessionFork-2ZkSTOGn.mjs} +1 -1
- package/dist/{claudeSessionFork-Be16vzGc.cjs → claudeSessionFork-pwcKqB-e.cjs} +1 -1
- package/dist/{client-Ca5Pcgy_.mjs → client-BKyU66lg.mjs} +2 -2
- package/dist/{client-D_loZ9IK.cjs → client-CUO3ItoB.cjs} +34 -8
- package/dist/{client-CnB7kRCT.mjs → client-CXOnzuOy.mjs} +2 -2
- package/dist/{client-DJplzPjD.cjs → client-DWs6k041.cjs} +2 -2
- package/dist/{client-BWjaHKtj.cjs → client-D_U2VjO3.cjs} +2 -2
- package/dist/{client-D4uPb1uu.mjs → client-DsQcxVUV.mjs} +34 -9
- package/dist/codex/happyMcpStdioBridge.cjs +17 -17
- package/dist/codex/happyMcpStdioBridge.mjs +17 -17
- package/dist/{codexAppServerClient-PE-12AsW.cjs → codexAppServerClient-BRX3JZ_5.cjs} +3 -3
- package/dist/{codexAppServerClient-CO4G6OS4.mjs → codexAppServerClient-C3JO3pwM.mjs} +3 -3
- package/dist/{codexCommand-B_xUH79E.mjs → codexCommand-BZIAAqKS.mjs} +47 -45
- package/dist/{codexCommand-BNoD1t1C.cjs → codexCommand-dKOc5iQl.cjs} +47 -45
- package/dist/{codexTermination-BmBbizFK.cjs → codexTermination-BVR9HeVI.cjs} +1 -1
- package/dist/{codexTermination-Dx48ma6e.mjs → codexTermination-ztFkwHrG.mjs} +1 -1
- package/dist/{config-DSu0Blos.mjs → config-NbHjx8ge.mjs} +3 -3
- package/dist/{config-CtwEUxUP.cjs → config-cftYxLC7.cjs} +3 -3
- package/dist/{configuration-PxzEJumr.mjs → configuration-BPrfb17M.mjs} +1 -1
- package/dist/{configuration-CYO-kPOS.cjs → configuration-C8JgseHy.cjs} +1 -1
- package/dist/{connect-Dq7wndzR.cjs → connect-Br8VMrK1.cjs} +13 -13
- package/dist/{connect-BQrg3TB6.mjs → connect-CLD1ai0k.mjs} +13 -13
- package/dist/{context-6TP-iz_c.cjs → context-D1lgQTJC.cjs} +1 -1
- package/dist/{context-CJGRRGWW.mjs → context-_YGq8xdH.mjs} +1 -1
- package/dist/{controlClient-DoeYovwP.mjs → controlClient-CkNpT5zS.mjs} +3 -3
- package/dist/{controlClient-Bqv5v5OM.cjs → controlClient-D68Zj7Q-.cjs} +3 -3
- package/dist/{createSessionMetadata-DDIChCx8.mjs → createSessionMetadata-3WAj3_xl.mjs} +2 -2
- package/dist/{createSessionMetadata-xz767pcG.cjs → createSessionMetadata-DNIbKLHg.cjs} +2 -2
- package/dist/{defaultPermissionMode-PkZGsQDk.cjs → defaultPermissionMode-BmvjP32v.cjs} +2 -2
- package/dist/{defaultPermissionMode-i5KzdK09.mjs → defaultPermissionMode-DXMznl8v.mjs} +2 -2
- package/dist/{deterministicJson-xqA6DaOm.cjs → deterministicJson-BS7D7URE.cjs} +87 -22
- package/dist/{deterministicJson-CTEJDqtS.mjs → deterministicJson-BcBIKKf1.mjs} +87 -24
- package/dist/{doctor-BrgSlfXn.cjs → doctor-Be7zC0AF.cjs} +8 -7
- package/dist/{doctor-IctjVh9T.mjs → doctor-CoOaPq6w.mjs} +8 -8
- package/dist/{downloadTarget-jbOz1egC.mjs → downloadTarget-CeaAXdJj.mjs} +6 -6
- package/dist/{downloadTarget-CEb9che-.cjs → downloadTarget-LyOiucn_.cjs} +6 -6
- package/dist/{ensureDaemonRunning-b1e8LCSM.mjs → ensureDaemonRunning--98j7-17.mjs} +5 -5
- package/dist/{ensureDaemonRunning-D-HyjGIX.cjs → ensureDaemonRunning-B8z37VKD.cjs} +5 -5
- package/dist/fileStore-5qpetZS0.mjs +146 -0
- package/dist/fileStore-7qhnbs6N.cjs +152 -0
- package/dist/{handleResumeCommand-BvWVuRwH.cjs → handleResumeCommand-BFZlrFVH.cjs} +5 -5
- package/dist/{handleResumeCommand-DpaZvm2c.mjs → handleResumeCommand-gO8I4keP.mjs} +5 -5
- package/dist/{index-B2p2Mut7.cjs → index-B5PXbZjW.cjs} +77 -60
- package/dist/{index-F2UejqYs.cjs → index-BRMq9gOe.cjs} +3 -3
- package/dist/{index-C64Ufj4D.cjs → index-BkluinoS.cjs} +4 -4
- package/dist/{index-Bsvbgh9e.mjs → index-CO0n9ue6.mjs} +4 -4
- package/dist/{index-C6Vn5Eac.mjs → index-CeRXrGnH.mjs} +39 -6
- package/dist/{index-Dv0Q48P3.cjs → index-Df2eHm3O.cjs} +40 -6
- package/dist/{index-BUNnpGFF.mjs → index-DneHoQXf.mjs} +78 -61
- package/dist/{index-CMf5VbzG.mjs → index-WUj3954m.mjs} +4 -4
- package/dist/{index-wCbtF4BK.mjs → index-hQ8LP1C2.mjs} +3 -3
- package/dist/{index-DmTlDRSL.cjs → index-jF2t3ACW.cjs} +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-BX3lv3NO.mjs → install-D0inLCv-.mjs} +1 -1
- package/dist/{install-BXvf2E3o.cjs → install-D2NCbeJ-.cjs} +1 -1
- package/dist/{install-CdzSV7qO.mjs → install-DkYFiVK4.mjs} +3 -3
- package/dist/{install-C0ANcEAW.cjs → install-FqkSUjPC.cjs} +3 -3
- package/dist/lib.cjs +12 -12
- package/dist/lib.d.cts +39 -1
- package/dist/lib.d.mts +39 -1
- package/dist/lib.mjs +12 -12
- package/dist/{lidState-bBrmaQd2.mjs → lidState-DghbfRbr.mjs} +1 -1
- package/dist/{lidState-DWGnm2H4.cjs → lidState-x8cJ8J_9.cjs} +1 -1
- package/dist/{localHappyAgentAuth-DZHQnIW9.cjs → localHappyAgentAuth-DZ2kb9uq.cjs} +1 -1
- package/dist/{localHappyAgentAuth-Dn1jYDpt.mjs → localHappyAgentAuth-IKmeRpuQ.mjs} +1 -1
- package/dist/{logger-CphW5nUE.cjs → logger-DgBwUSgS.cjs} +2 -2
- package/dist/{logger-BUngm5Xg.mjs → logger-LFr8iPgl.mjs} +2 -2
- package/dist/{machineMetadata-BXN_bKU3.mjs → machineMetadata-BglCsfvf.mjs} +11 -4
- package/dist/{machineMetadata-BQm9YTcI.cjs → machineMetadata-DB03ez4K.cjs} +11 -3
- package/dist/{main-B2UV51nK.cjs → main-YQ-Vkakw.cjs} +45 -45
- package/dist/{main-DGkdYfEq.mjs → main-_1LSzlLv.mjs} +45 -45
- package/dist/{mcp-BFvAEIRz.cjs → mcp-BIY80jSc.cjs} +14 -14
- package/dist/{mcp-CbTtbs0f.mjs → mcp-Csj-mT5Y.mjs} +14 -14
- package/dist/{mirrorProtocol-HKPivs5o.cjs → mirrorProtocol-BphKIAK9.cjs} +16 -153
- package/dist/{mirrorProtocol-BR4luBC0.mjs → mirrorProtocol-CAxOMBkb.mjs} +19 -151
- package/dist/{package-7Ld1YMhh.mjs → package-DYGwlmXl.mjs} +8 -8
- package/dist/{package-KhLqBDX9.cjs → package-NoD8QOOM.cjs} +8 -8
- package/dist/{panels-C7IVqpJk.mjs → panels-B8zRm7_d.mjs} +5 -5
- package/dist/{panels-Njf6GelF.cjs → panels-DYEc1NyQ.cjs} +5 -5
- package/dist/{peerTools-BOlDRyhi.mjs → peerTools-CK3JYu1k.mjs} +5 -5
- package/dist/{peerTools-DQNlrcqM.cjs → peerTools-CP-x-Peu.cjs} +5 -5
- package/dist/{persistence-9BMYspxG.cjs → persistence-BY-D00wT.cjs} +2 -2
- package/dist/{persistence-BFUOHW5h.mjs → persistence-D2Djrf7t.mjs} +2 -2
- package/dist/pi-CqyoZMjI.mjs +380 -0
- package/dist/pi-DlsrPCTa.cjs +400 -0
- package/dist/{piRunnerArgs-H2pgpA5z.mjs → piRunnerArgs-IZLoL7TG.mjs} +1 -1
- package/dist/{piRunnerArgs-DGaq6VYM.cjs → piRunnerArgs-gxLYIZH4.cjs} +1 -1
- package/dist/{piRuntime-CdN0JAsa.mjs → piRuntime-D7Y4oHVL.mjs} +2 -2
- package/dist/{piRuntime-CT5xv_3h.cjs → piRuntime-o5L8uX-W.cjs} +2 -2
- package/dist/{piTerminal-0FBtXTHK.cjs → piTerminal-C_-JDkLN.cjs} +17 -17
- package/dist/{piTerminal-C4m9YXAV.mjs → piTerminal-Kphx8Uhw.mjs} +17 -17
- package/dist/{prompt-lgF9IE82.cjs → prompt-Bof2aQkI.cjs} +7 -2
- package/dist/{prompt-BOouDaTM.mjs → prompt-QHuFx9j6.mjs} +7 -2
- package/dist/{pushNotifications-DI92havG.cjs → pushNotifications-BXoOSq_G.cjs} +10 -4
- package/dist/{pushNotifications-DCiBEVeC.mjs → pushNotifications-DXGIhE-A.mjs} +10 -4
- package/dist/{query-ywZbQUzR.mjs → query-CcA6DVZK.mjs} +1 -1
- package/dist/{query-BETKBrnz.cjs → query-CdCxzuaB.cjs} +1 -1
- package/dist/{rateLimitWindows-YRIYVdo4.cjs → rateLimitWindows-OpAmdOtC.cjs} +1 -1
- package/dist/{rateLimitWindows-BkfuUB1a.mjs → rateLimitWindows-ZtHZHe-l.mjs} +1 -1
- package/dist/{registerCommonHandlers-C7a_dUWs.cjs → registerCommonHandlers-CRjBoJLK.cjs} +2 -2
- package/dist/{registerCommonHandlers-CTkCvjxt.mjs → registerCommonHandlers-DF6bdDtd.mjs} +2 -2
- package/dist/{registerKillSessionHandler-CIsvBrVe.cjs → registerKillSessionHandler-7fOm6ooh.cjs} +6 -6
- package/dist/{registerKillSessionHandler-CaqqRYq6.mjs → registerKillSessionHandler-DDCKL3wf.mjs} +6 -6
- package/dist/{remoteSessionClient-PP-mOKmw.mjs → remoteSessionClient-B2POSKFT.mjs} +5 -5
- package/dist/{remoteSessionClient-D843fkzL.cjs → remoteSessionClient-CFCn42bs.cjs} +5 -5
- package/dist/{reportProgressTool-ZOCNjWHr.mjs → reportProgressTool-tPxEvh6x.mjs} +4 -4
- package/dist/{reportProgressTool-14AXr959.cjs → reportProgressTool-th4trcET.cjs} +4 -4
- package/dist/{resources-CvIlkzpP.cjs → resources-BPyN59Iv.cjs} +23 -2
- package/dist/{resources-y9jfyO-_.mjs → resources-CH1iP6Cv.mjs} +22 -3
- package/dist/{run-CAOCYYfT.cjs → run-C_FumCQk.cjs} +618 -594
- package/dist/{run-Dajw2E5j.mjs → run-cKQBbVi4.mjs} +554 -530
- package/dist/{runClaude-C6oxWYbp.mjs → runClaude-CYnM6krL.mjs} +22 -22
- package/dist/{runClaude-CRRKt-tm.cjs → runClaude-z_2YC_aa.cjs} +22 -22
- package/dist/{runClaudeDeps-B1ysqTvx.cjs → runClaudeDeps-CLubzWnA.cjs} +43 -41
- package/dist/{runClaudeDeps-BcZ68cX3.mjs → runClaudeDeps-duS06Pb4.mjs} +48 -46
- package/dist/{runGemini-D7yKc4wD.mjs → runGemini-C_Pc2EhH.mjs} +37 -35
- package/dist/{runGemini-DtKFXqf-.cjs → runGemini-vEoXV6qT.cjs} +37 -35
- package/dist/{runOpenClaw-Cq29mryb.cjs → runOpenClaw-CXJCtMgB.cjs} +18 -18
- package/dist/{runOpenClaw-C8ilyLP9.mjs → runOpenClaw-Cxun1qLC.mjs} +18 -18
- package/dist/{sandbox-gIj-EuF4.cjs → sandbox-CO46H2tK.cjs} +4 -4
- package/dist/{sandbox-CbCutma4.mjs → sandbox-CsvPnTmz.mjs} +4 -4
- package/dist/{selfCheck-BTGBVthv.cjs → selfCheck-DIr7Gc0i.cjs} +36 -36
- package/dist/selfCheck-NamtBHVB.mjs +85 -0
- package/dist/{send-YZRMQvMJ.mjs → send-DMoFg6F1.mjs} +8 -8
- package/dist/{send-CZf5lLw_.cjs → send-X2mfVEyr.cjs} +8 -8
- package/dist/{server-CknFq6xG.cjs → server-BwTEdbkr.cjs} +6 -6
- package/dist/{server-BqwXRzFZ.mjs → server-CkqQ0sRH.mjs} +4 -4
- package/dist/{sessionLock-DRZUcKHT.cjs → sessionLock-CdIRJlHH.cjs} +3 -3
- package/dist/{sessionLock-nBXdJxJm.mjs → sessionLock-JIfwCqMk.mjs} +3 -3
- package/dist/{sessionOps-BrGiU9-s.cjs → sessionOps-DVA-00nR.cjs} +4 -4
- package/dist/{sessionOps-C58iDeD5.mjs → sessionOps-DqlftXxe.mjs} +4 -4
- package/dist/{sessionScanner-Bm57LEXe.mjs → sessionScanner-BI0Vo1xT.mjs} +3 -3
- package/dist/{sessionScanner-CaO8bLaG.cjs → sessionScanner-BMwgGAhY.cjs} +3 -3
- package/dist/{sessions-BXyBHo8n.mjs → sessions-D6IimX7b.mjs} +10 -10
- package/dist/{sessions-uzqPCc37.cjs → sessions-DjgEcHaT.cjs} +10 -10
- package/dist/{setupOfflineReconnection-DvvVX3TB.cjs → setupOfflineReconnection-CjuCiKY3.cjs} +2 -2
- package/dist/{setupOfflineReconnection-1Qlek3wl.mjs → setupOfflineReconnection-DgJK_4m1.mjs} +2 -2
- package/dist/{spawn-vn93PhYL.mjs → spawn-Dvzy-tzc.mjs} +14 -14
- package/dist/{spawn-DBkodJEO.cjs → spawn-rhF28shY.cjs} +14 -14
- package/dist/{spawnAgents-CgPMWexP.mjs → spawnAgents-CCnlq-FI.mjs} +1 -1
- package/dist/{spawnAgents-DLNMlhWJ.cjs → spawnAgents-iwuqrgR9.cjs} +1 -1
- package/dist/{spawnHappyCLI-DnUZv0X2.cjs → spawnHappyCLI-DnKmIsEt.cjs} +1 -1
- package/dist/{spawnHappyCLI-BjFZc_7V.mjs → spawnHappyCLI-Dq3LLXLb.mjs} +1 -1
- package/dist/{specialCommands-D3ND9bdg.mjs → specialCommands-CcyZ1hGA.mjs} +3 -3
- package/dist/{specialCommands-BRufxlqe.cjs → specialCommands-Zwr2C6A2.cjs} +3 -3
- package/dist/{startFileWatcher-DXJ7yB5v.mjs → startFileWatcher-4thXDK9d.mjs} +1 -1
- package/dist/{startFileWatcher-D9cYzZOq.cjs → startFileWatcher-K6hJSyiR.cjs} +1 -1
- package/dist/{startupSessionCreate-uZ6BM0ty.mjs → startupSessionCreate-BfByJ16A.mjs} +1 -1
- package/dist/{startupSessionCreate-kdr3m1uX.cjs → startupSessionCreate-CKEbq0tL.cjs} +1 -1
- package/dist/{streamRelay-Dy6amlzx.cjs → streamRelay-Gy8Xfnon.cjs} +1 -1
- package/dist/{streamRelay-DnMCMMfV.mjs → streamRelay-LcDvyEjK.mjs} +1 -1
- package/dist/{sync-Bn-idAoy.cjs → sync-1hQ5KHpL.cjs} +1 -1
- package/dist/{sync-BvVhDO40.mjs → sync-DO-2PU45.mjs} +1 -1
- package/dist/{systemPrompt-CIZcJuJF.mjs → systemPrompt-BctLfMZs.mjs} +3 -3
- package/dist/{systemPrompt-DlyEk35T.cjs → systemPrompt-Dj7pgkMK.cjs} +3 -3
- package/dist/{teams-DLY3B5yi.mjs → teams-Bu8YeOoF.mjs} +8 -8
- package/dist/{teams-BLeRpDxv.cjs → teams-uQxUlyyz.cjs} +8 -8
- package/dist/{time-D3ETL7Jb.mjs → time-BcoJaG8E.mjs} +1 -1
- package/dist/{time-Cjv0zxQO.cjs → time-nqa9shu8.cjs} +1 -1
- package/dist/{titleGenerator-Cgp5ihFb.cjs → titleGenerator-D09XyYYG.cjs} +2 -2
- package/dist/{titleGenerator-Uzbd4utr.mjs → titleGenerator-D5r06bhf.mjs} +1 -1
- package/dist/{todo-pOMcEECE.cjs → todo-CCOnL7pT.cjs} +6 -6
- package/dist/{todo-C9Ga-oEM.mjs → todo-D1q8146q.mjs} +6 -6
- package/dist/{tools-Cho7iIWf.mjs → tools-D2E--n1x.mjs} +3 -3
- package/dist/{tools-BL7Byl_x.cjs → tools-DiCXnAC5.cjs} +3 -3
- package/dist/{uninstall-CbayEVoV.cjs → uninstall-BrNwwwSD.cjs} +3 -3
- package/dist/{uninstall-CvZHVY9C.mjs → uninstall-CtwXi1Rt.mjs} +3 -3
- package/package.json +8 -8
- package/dist/selfCheck-Smt-5Xiq.mjs +0 -85
|
@@ -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-DgBwUSgS.cjs');
|
|
5
|
+
var persistence = require('./persistence-BY-D00wT.cjs');
|
|
6
|
+
var auth = require('./auth-CgQP7d0q.cjs');
|
|
7
|
+
var _package = require('./package-NoD8QOOM.cjs');
|
|
8
8
|
var z = require('zod');
|
|
9
|
-
var controlClient = require('./controlClient-
|
|
9
|
+
var controlClient = require('./controlClient-D68Zj7Q-.cjs');
|
|
10
10
|
var daemonSupervisor = require('./daemonSupervisor-B-SPSqhs.cjs');
|
|
11
|
-
var spawnHappyCLI = require('./spawnHappyCLI-
|
|
11
|
+
var spawnHappyCLI = require('./spawnHappyCLI-DnKmIsEt.cjs');
|
|
12
12
|
var node_child_process = require('node:child_process');
|
|
13
|
-
var ensureDaemonRunning = require('./ensureDaemonRunning-
|
|
13
|
+
var ensureDaemonRunning = require('./ensureDaemonRunning-B8z37VKD.cjs');
|
|
14
14
|
var startupPlan = require('./startupPlan-BLMbfQIH.cjs');
|
|
15
|
-
var index = require('./index-
|
|
16
|
-
var configuration = require('./configuration-
|
|
15
|
+
var index = require('./index-BRMq9gOe.cjs');
|
|
16
|
+
var configuration = require('./configuration-C8JgseHy.cjs');
|
|
17
17
|
var doctorReadiness = require('./doctorReadiness-Dl6yRQCy.cjs');
|
|
18
|
-
var piRunnerArgs = require('./piRunnerArgs-
|
|
18
|
+
var piRunnerArgs = require('./piRunnerArgs-gxLYIZH4.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-nqa9shu8.cjs');
|
|
29
|
+
require('./browser-DjNNQQk2.cjs');
|
|
30
30
|
require('open');
|
|
31
31
|
require('cross-spawn');
|
|
32
32
|
require('./projectPath-C3ioB4Bu.cjs');
|
|
@@ -34,7 +34,7 @@ require('path');
|
|
|
34
34
|
require('url');
|
|
35
35
|
require('node:module');
|
|
36
36
|
require('node:os');
|
|
37
|
-
require('./acpSessionResume-
|
|
37
|
+
require('./acpSessionResume-BaVMD80f.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-Be7zC0AF.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-Fg8fLadK.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-Br8VMrK1.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-CO46H2tK.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-BwTEdbkr.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-BtUmGcPX.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-rhF28shY.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 === "sessions") {
|
|
171
171
|
try {
|
|
172
|
-
const { handleSessionsCommand } = await Promise.resolve().then(function () { return require('./sessions-
|
|
172
|
+
const { handleSessionsCommand } = await Promise.resolve().then(function () { return require('./sessions-DjgEcHaT.cjs'); });
|
|
173
173
|
await handleSessionsCommand(args.slice(1));
|
|
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
|
return;
|
|
178
178
|
} else if (subcommand === "send") {
|
|
179
179
|
try {
|
|
180
|
-
const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-
|
|
180
|
+
const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-X2mfVEyr.cjs'); });
|
|
181
181
|
await handleSendCommand(args.slice(1));
|
|
182
182
|
} catch (error) {
|
|
183
183
|
failCommand(error);
|
|
@@ -185,14 +185,14 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
185
185
|
return;
|
|
186
186
|
} else if (subcommand === "resume") {
|
|
187
187
|
try {
|
|
188
|
-
await (await Promise.resolve().then(function () { return require('./handleResumeCommand-
|
|
188
|
+
await (await Promise.resolve().then(function () { return require('./handleResumeCommand-BFZlrFVH.cjs'); })).handleResumeCommand(args.slice(1));
|
|
189
189
|
} catch (error) {
|
|
190
190
|
failCommand(error);
|
|
191
191
|
}
|
|
192
192
|
return;
|
|
193
193
|
} else if (subcommand === "codex") {
|
|
194
194
|
try {
|
|
195
|
-
await (await Promise.resolve().then(function () { return require('./codexCommand-
|
|
195
|
+
await (await Promise.resolve().then(function () { return require('./codexCommand-dKOc5iQl.cjs'); })).handleCodexCommand(args.slice(1));
|
|
196
196
|
} catch (error) {
|
|
197
197
|
failCommand(error);
|
|
198
198
|
}
|
|
@@ -271,9 +271,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
271
271
|
if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
|
|
272
272
|
const projectId = args[3];
|
|
273
273
|
try {
|
|
274
|
-
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-
|
|
275
|
-
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./persistence-
|
|
276
|
-
const { ApiClient } = await Promise.resolve().then(function () { return require('./api-
|
|
274
|
+
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-cftYxLC7.cjs'); });
|
|
275
|
+
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./persistence-BY-D00wT.cjs'); }).then(function (n) { return n.persistence; });
|
|
276
|
+
const { ApiClient } = await Promise.resolve().then(function () { return require('./api-COHFAkb_.cjs'); }).then(function (n) { return n.api; });
|
|
277
277
|
let userEmail = void 0;
|
|
278
278
|
try {
|
|
279
279
|
const credentials = await readCredentialsForConfiguredRelay2();
|
|
@@ -304,7 +304,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
304
304
|
}
|
|
305
305
|
if (geminiSubcommand === "project" && args[2] === "get") {
|
|
306
306
|
try {
|
|
307
|
-
const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-
|
|
307
|
+
const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-cftYxLC7.cjs'); });
|
|
308
308
|
const config = readGeminiLocalConfig();
|
|
309
309
|
if (config.googleCloudProject) {
|
|
310
310
|
console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
|
|
@@ -344,7 +344,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
344
344
|
process.exit(0);
|
|
345
345
|
}
|
|
346
346
|
try {
|
|
347
|
-
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-
|
|
347
|
+
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-vEoXV6qT.cjs'); });
|
|
348
348
|
let startedBy = void 0;
|
|
349
349
|
for (let i = 1; i < args.length; i++) {
|
|
350
350
|
if (args[i] === "--started-by") {
|
|
@@ -363,7 +363,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
363
363
|
} else if (subcommand === "pi") {
|
|
364
364
|
if (args[1] === "--terminal") {
|
|
365
365
|
try {
|
|
366
|
-
const { runPiTerminal } = await Promise.resolve().then(function () { return require('./piTerminal-
|
|
366
|
+
const { runPiTerminal } = await Promise.resolve().then(function () { return require('./piTerminal-C_-JDkLN.cjs'); });
|
|
367
367
|
process.exitCode = await runPiTerminal(args.slice(2));
|
|
368
368
|
} catch (error) {
|
|
369
369
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -388,7 +388,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
388
388
|
process.exit(1);
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
|
-
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-
|
|
391
|
+
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-B5PXbZjW.cjs'); });
|
|
392
392
|
const resolved = resolveAcpAgentConfig(["pi", ...parsed.passthrough]);
|
|
393
393
|
const { credentials } = await auth.authAndSetupMachineIfNeeded();
|
|
394
394
|
await ensureDaemonRunning.ensureDaemonRunning();
|
|
@@ -420,7 +420,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
420
420
|
return;
|
|
421
421
|
} else if (subcommand === "acp") {
|
|
422
422
|
try {
|
|
423
|
-
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-
|
|
423
|
+
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-B5PXbZjW.cjs'); });
|
|
424
424
|
let startedBy = void 0;
|
|
425
425
|
let verbose = false;
|
|
426
426
|
const acpArgs = [];
|
|
@@ -456,7 +456,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
456
456
|
return;
|
|
457
457
|
} else if (subcommand === "openclaw") {
|
|
458
458
|
try {
|
|
459
|
-
const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-
|
|
459
|
+
const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-CXJCtMgB.cjs'); });
|
|
460
460
|
let startedBy = void 0;
|
|
461
461
|
let verbose = false;
|
|
462
462
|
let gatewayUrl;
|
|
@@ -492,14 +492,14 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
492
492
|
} else if (subcommand === "logout") {
|
|
493
493
|
console.log(chalk.yellow('Note: "very-happy logout" is deprecated. Use "very-happy auth logout" instead.\n'));
|
|
494
494
|
try {
|
|
495
|
-
await (await Promise.resolve().then(function () { return require('./auth-
|
|
495
|
+
await (await Promise.resolve().then(function () { return require('./auth-Fg8fLadK.cjs'); })).handleAuthCommand(["logout"]);
|
|
496
496
|
} catch (error) {
|
|
497
497
|
failCommand(error);
|
|
498
498
|
}
|
|
499
499
|
return;
|
|
500
500
|
} else if (subcommand === "todo") {
|
|
501
501
|
try {
|
|
502
|
-
const { handleTodoCommand } = await Promise.resolve().then(function () { return require('./todo-
|
|
502
|
+
const { handleTodoCommand } = await Promise.resolve().then(function () { return require('./todo-CCOnL7pT.cjs'); });
|
|
503
503
|
await handleTodoCommand(args.slice(1));
|
|
504
504
|
} catch (error) {
|
|
505
505
|
console.error(JSON.stringify({ error: error instanceof Error ? error.message : "Todo command failed" }));
|
|
@@ -508,7 +508,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
508
508
|
return;
|
|
509
509
|
} else if (subcommand === "teams") {
|
|
510
510
|
try {
|
|
511
|
-
const { handleTeamsCommand } = await Promise.resolve().then(function () { return require('./teams-
|
|
511
|
+
const { handleTeamsCommand } = await Promise.resolve().then(function () { return require('./teams-uQxUlyyz.cjs'); });
|
|
512
512
|
await handleTeamsCommand(args.slice(1));
|
|
513
513
|
} catch (error) {
|
|
514
514
|
console.error(error instanceof Error ? error.message : "Teams command failed");
|
|
@@ -517,7 +517,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
517
517
|
return;
|
|
518
518
|
} else if (subcommand === "auto") {
|
|
519
519
|
try {
|
|
520
|
-
const { handleAutoCommand } = await Promise.resolve().then(function () { return require('./auto-
|
|
520
|
+
const { handleAutoCommand } = await Promise.resolve().then(function () { return require('./auto-BB7kqSh5.cjs'); });
|
|
521
521
|
await handleAutoCommand(args.slice(1));
|
|
522
522
|
} catch (error) {
|
|
523
523
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Automation command failed");
|
|
@@ -529,7 +529,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
529
529
|
return;
|
|
530
530
|
} else if (subcommand === "mcp" && (args.length === 1 || args.length === 2 && args[1] === "--terminal-tools")) {
|
|
531
531
|
try {
|
|
532
|
-
const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-
|
|
532
|
+
const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-BIY80jSc.cjs'); });
|
|
533
533
|
await handleMcpCommand(args[1] === "--terminal-tools");
|
|
534
534
|
} catch (error) {
|
|
535
535
|
process.stderr.write(`[very-happy mcp] Fatal: ${error instanceof Error ? error.message : String(error)}
|
|
@@ -539,7 +539,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
539
539
|
return;
|
|
540
540
|
} else if (subcommand === "panels" || subcommand === "attention") {
|
|
541
541
|
try {
|
|
542
|
-
const { handlePanelsCommand, handleAttentionCommand } = await Promise.resolve().then(function () { return require('./panels-
|
|
542
|
+
const { handlePanelsCommand, handleAttentionCommand } = await Promise.resolve().then(function () { return require('./panels-DYEc1NyQ.cjs'); });
|
|
543
543
|
if (subcommand === "panels") await handlePanelsCommand(args.slice(1));
|
|
544
544
|
else await handleAttentionCommand(args.slice(1));
|
|
545
545
|
} catch (error) {
|
|
@@ -627,13 +627,13 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
627
627
|
}
|
|
628
628
|
process.exit(0);
|
|
629
629
|
} else if (daemonSubcommand === "start-sync") {
|
|
630
|
-
await (await Promise.resolve().then(function () { return require('./run-
|
|
630
|
+
await (await Promise.resolve().then(function () { return require('./run-C_FumCQk.cjs'); })).startDaemon();
|
|
631
631
|
process.exit(0);
|
|
632
632
|
} else if (daemonSubcommand === "stop") {
|
|
633
633
|
await controlClient.stopDaemon();
|
|
634
634
|
process.exit(0);
|
|
635
635
|
} else if (daemonSubcommand === "status") {
|
|
636
|
-
await (await Promise.resolve().then(function () { return require('./doctor-
|
|
636
|
+
await (await Promise.resolve().then(function () { return require('./doctor-Be7zC0AF.cjs'); }).then(function (n) { return n.doctor; })).runDoctorDaemon();
|
|
637
637
|
process.exit(0);
|
|
638
638
|
} else if (daemonSubcommand === "logs") {
|
|
639
639
|
const latest = await logger.getLatestDaemonLog();
|
|
@@ -645,14 +645,14 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
645
645
|
process.exit(0);
|
|
646
646
|
} else if (daemonSubcommand === "install") {
|
|
647
647
|
try {
|
|
648
|
-
await (await Promise.resolve().then(function () { return require('./install-
|
|
648
|
+
await (await Promise.resolve().then(function () { return require('./install-FqkSUjPC.cjs'); })).install();
|
|
649
649
|
} catch (error) {
|
|
650
650
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
651
651
|
process.exit(1);
|
|
652
652
|
}
|
|
653
653
|
} else if (daemonSubcommand === "uninstall") {
|
|
654
654
|
try {
|
|
655
|
-
await (await Promise.resolve().then(function () { return require('./uninstall-
|
|
655
|
+
await (await Promise.resolve().then(function () { return require('./uninstall-BrNwwwSD.cjs'); })).uninstall();
|
|
656
656
|
} catch (error) {
|
|
657
657
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
658
658
|
process.exit(1);
|
|
@@ -841,7 +841,7 @@ ${chalk.bold.cyan("Claude Code Options (from `claude --help`):")}
|
|
|
841
841
|
await ensureDaemonRunning.ensureDaemonRunning();
|
|
842
842
|
}
|
|
843
843
|
try {
|
|
844
|
-
const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-
|
|
844
|
+
const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-z_2YC_aa.cjs'); });
|
|
845
845
|
await runClaude(credentials, options);
|
|
846
846
|
} catch (error) {
|
|
847
847
|
failCommand(error);
|
|
@@ -896,7 +896,7 @@ ${chalk.bold("Examples:")}
|
|
|
896
896
|
}
|
|
897
897
|
console.log(chalk.blue("\u{1F4F1} Sending push notification..."));
|
|
898
898
|
try {
|
|
899
|
-
const { ApiClient } = await Promise.resolve().then(function () { return require('./api-
|
|
899
|
+
const { ApiClient } = await Promise.resolve().then(function () { return require('./api-COHFAkb_.cjs'); }).then(function (n) { return n.api; });
|
|
900
900
|
const api = await ApiClient.create(credentials);
|
|
901
901
|
const notificationTitle = title || "Happy";
|
|
902
902
|
api.push().sendToAllDevices(
|
|
@@ -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-LFr8iPgl.mjs';
|
|
3
|
+
import { d as readDaemonState, r as readSettings, b as readCredentialsForConfiguredRelay } from './persistence-D2Djrf7t.mjs';
|
|
4
|
+
import { a as authAndSetupMachineIfNeeded } from './auth-DZsthtSk.mjs';
|
|
5
|
+
import { p as packageJson } from './package-DYGwlmXl.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-CkNpT5zS.mjs';
|
|
8
8
|
import { S as SYSTEMD_RESTART_HINT } from './daemonSupervisor-C6urv3_8.mjs';
|
|
9
|
-
import { s as spawnHappyCLI } from './spawnHappyCLI-
|
|
9
|
+
import { s as spawnHappyCLI } from './spawnHappyCLI-Dq3LLXLb.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--98j7-17.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-hQ8LP1C2.mjs';
|
|
14
|
+
import { c as configuration } from './configuration-BPrfb17M.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-IZLoL7TG.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-BcoJaG8E.mjs';
|
|
27
|
+
import './browser-C2qhUHSE.mjs';
|
|
28
28
|
import 'open';
|
|
29
29
|
import 'cross-spawn';
|
|
30
30
|
import './projectPath-BTBIMB57.mjs';
|
|
@@ -32,7 +32,7 @@ import 'path';
|
|
|
32
32
|
import 'url';
|
|
33
33
|
import 'node:module';
|
|
34
34
|
import 'node:os';
|
|
35
|
-
import './acpSessionResume-
|
|
35
|
+
import './acpSessionResume-9OLTD6kT.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-CoOaPq6w.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-CbZkcMAb.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-CLD1ai0k.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-CsvPnTmz.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-CkqQ0sRH.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-B1BsKeqD.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-Dvzy-tzc.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 === "sessions") {
|
|
169
169
|
try {
|
|
170
|
-
const { handleSessionsCommand } = await import('./sessions-
|
|
170
|
+
const { handleSessionsCommand } = await import('./sessions-D6IimX7b.mjs');
|
|
171
171
|
await handleSessionsCommand(args.slice(1));
|
|
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
|
return;
|
|
176
176
|
} else if (subcommand === "send") {
|
|
177
177
|
try {
|
|
178
|
-
const { handleSendCommand } = await import('./send-
|
|
178
|
+
const { handleSendCommand } = await import('./send-DMoFg6F1.mjs');
|
|
179
179
|
await handleSendCommand(args.slice(1));
|
|
180
180
|
} catch (error) {
|
|
181
181
|
failCommand(error);
|
|
@@ -183,14 +183,14 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
183
183
|
return;
|
|
184
184
|
} else if (subcommand === "resume") {
|
|
185
185
|
try {
|
|
186
|
-
await (await import('./handleResumeCommand-
|
|
186
|
+
await (await import('./handleResumeCommand-gO8I4keP.mjs')).handleResumeCommand(args.slice(1));
|
|
187
187
|
} catch (error) {
|
|
188
188
|
failCommand(error);
|
|
189
189
|
}
|
|
190
190
|
return;
|
|
191
191
|
} else if (subcommand === "codex") {
|
|
192
192
|
try {
|
|
193
|
-
await (await import('./codexCommand-
|
|
193
|
+
await (await import('./codexCommand-BZIAAqKS.mjs')).handleCodexCommand(args.slice(1));
|
|
194
194
|
} catch (error) {
|
|
195
195
|
failCommand(error);
|
|
196
196
|
}
|
|
@@ -269,9 +269,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
269
269
|
if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
|
|
270
270
|
const projectId = args[3];
|
|
271
271
|
try {
|
|
272
|
-
const { saveGoogleCloudProjectToConfig } = await import('./config-
|
|
273
|
-
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./persistence-
|
|
274
|
-
const { ApiClient } = await import('./api-
|
|
272
|
+
const { saveGoogleCloudProjectToConfig } = await import('./config-NbHjx8ge.mjs');
|
|
273
|
+
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./persistence-D2Djrf7t.mjs').then(function (n) { return n.F; });
|
|
274
|
+
const { ApiClient } = await import('./api-Dr3wXL_7.mjs').then(function (n) { return n.b; });
|
|
275
275
|
let userEmail = void 0;
|
|
276
276
|
try {
|
|
277
277
|
const credentials = await readCredentialsForConfiguredRelay2();
|
|
@@ -302,7 +302,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
302
302
|
}
|
|
303
303
|
if (geminiSubcommand === "project" && args[2] === "get") {
|
|
304
304
|
try {
|
|
305
|
-
const { readGeminiLocalConfig } = await import('./config-
|
|
305
|
+
const { readGeminiLocalConfig } = await import('./config-NbHjx8ge.mjs');
|
|
306
306
|
const config = readGeminiLocalConfig();
|
|
307
307
|
if (config.googleCloudProject) {
|
|
308
308
|
console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
|
|
@@ -342,7 +342,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
342
342
|
process.exit(0);
|
|
343
343
|
}
|
|
344
344
|
try {
|
|
345
|
-
const { runGemini } = await import('./runGemini-
|
|
345
|
+
const { runGemini } = await import('./runGemini-C_Pc2EhH.mjs');
|
|
346
346
|
let startedBy = void 0;
|
|
347
347
|
for (let i = 1; i < args.length; i++) {
|
|
348
348
|
if (args[i] === "--started-by") {
|
|
@@ -361,7 +361,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
361
361
|
} else if (subcommand === "pi") {
|
|
362
362
|
if (args[1] === "--terminal") {
|
|
363
363
|
try {
|
|
364
|
-
const { runPiTerminal } = await import('./piTerminal-
|
|
364
|
+
const { runPiTerminal } = await import('./piTerminal-Kphx8Uhw.mjs');
|
|
365
365
|
process.exitCode = await runPiTerminal(args.slice(2));
|
|
366
366
|
} catch (error) {
|
|
367
367
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -386,7 +386,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
386
386
|
process.exit(1);
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
|
-
const { runAcp, resolveAcpAgentConfig } = await import('./index-
|
|
389
|
+
const { runAcp, resolveAcpAgentConfig } = await import('./index-DneHoQXf.mjs');
|
|
390
390
|
const resolved = resolveAcpAgentConfig(["pi", ...parsed.passthrough]);
|
|
391
391
|
const { credentials } = await authAndSetupMachineIfNeeded();
|
|
392
392
|
await ensureDaemonRunning();
|
|
@@ -418,7 +418,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
418
418
|
return;
|
|
419
419
|
} else if (subcommand === "acp") {
|
|
420
420
|
try {
|
|
421
|
-
const { runAcp, resolveAcpAgentConfig } = await import('./index-
|
|
421
|
+
const { runAcp, resolveAcpAgentConfig } = await import('./index-DneHoQXf.mjs');
|
|
422
422
|
let startedBy = void 0;
|
|
423
423
|
let verbose = false;
|
|
424
424
|
const acpArgs = [];
|
|
@@ -454,7 +454,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
454
454
|
return;
|
|
455
455
|
} else if (subcommand === "openclaw") {
|
|
456
456
|
try {
|
|
457
|
-
const { runOpenClaw } = await import('./runOpenClaw-
|
|
457
|
+
const { runOpenClaw } = await import('./runOpenClaw-Cxun1qLC.mjs');
|
|
458
458
|
let startedBy = void 0;
|
|
459
459
|
let verbose = false;
|
|
460
460
|
let gatewayUrl;
|
|
@@ -490,14 +490,14 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
490
490
|
} else if (subcommand === "logout") {
|
|
491
491
|
console.log(chalk.yellow('Note: "very-happy logout" is deprecated. Use "very-happy auth logout" instead.\n'));
|
|
492
492
|
try {
|
|
493
|
-
await (await import('./auth-
|
|
493
|
+
await (await import('./auth-CbZkcMAb.mjs')).handleAuthCommand(["logout"]);
|
|
494
494
|
} catch (error) {
|
|
495
495
|
failCommand(error);
|
|
496
496
|
}
|
|
497
497
|
return;
|
|
498
498
|
} else if (subcommand === "todo") {
|
|
499
499
|
try {
|
|
500
|
-
const { handleTodoCommand } = await import('./todo-
|
|
500
|
+
const { handleTodoCommand } = await import('./todo-D1q8146q.mjs');
|
|
501
501
|
await handleTodoCommand(args.slice(1));
|
|
502
502
|
} catch (error) {
|
|
503
503
|
console.error(JSON.stringify({ error: error instanceof Error ? error.message : "Todo command failed" }));
|
|
@@ -506,7 +506,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
506
506
|
return;
|
|
507
507
|
} else if (subcommand === "teams") {
|
|
508
508
|
try {
|
|
509
|
-
const { handleTeamsCommand } = await import('./teams-
|
|
509
|
+
const { handleTeamsCommand } = await import('./teams-Bu8YeOoF.mjs');
|
|
510
510
|
await handleTeamsCommand(args.slice(1));
|
|
511
511
|
} catch (error) {
|
|
512
512
|
console.error(error instanceof Error ? error.message : "Teams command failed");
|
|
@@ -515,7 +515,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
515
515
|
return;
|
|
516
516
|
} else if (subcommand === "auto") {
|
|
517
517
|
try {
|
|
518
|
-
const { handleAutoCommand } = await import('./auto-
|
|
518
|
+
const { handleAutoCommand } = await import('./auto-_T-Ud-z5.mjs');
|
|
519
519
|
await handleAutoCommand(args.slice(1));
|
|
520
520
|
} catch (error) {
|
|
521
521
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Automation command failed");
|
|
@@ -527,7 +527,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
527
527
|
return;
|
|
528
528
|
} else if (subcommand === "mcp" && (args.length === 1 || args.length === 2 && args[1] === "--terminal-tools")) {
|
|
529
529
|
try {
|
|
530
|
-
const { handleMcpCommand } = await import('./mcp-
|
|
530
|
+
const { handleMcpCommand } = await import('./mcp-Csj-mT5Y.mjs');
|
|
531
531
|
await handleMcpCommand(args[1] === "--terminal-tools");
|
|
532
532
|
} catch (error) {
|
|
533
533
|
process.stderr.write(`[very-happy mcp] Fatal: ${error instanceof Error ? error.message : String(error)}
|
|
@@ -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 === "panels" || subcommand === "attention") {
|
|
539
539
|
try {
|
|
540
|
-
const { handlePanelsCommand, handleAttentionCommand } = await import('./panels-
|
|
540
|
+
const { handlePanelsCommand, handleAttentionCommand } = await import('./panels-B8zRm7_d.mjs');
|
|
541
541
|
if (subcommand === "panels") await handlePanelsCommand(args.slice(1));
|
|
542
542
|
else await handleAttentionCommand(args.slice(1));
|
|
543
543
|
} catch (error) {
|
|
@@ -625,13 +625,13 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
625
625
|
}
|
|
626
626
|
process.exit(0);
|
|
627
627
|
} else if (daemonSubcommand === "start-sync") {
|
|
628
|
-
await (await import('./run-
|
|
628
|
+
await (await import('./run-cKQBbVi4.mjs')).startDaemon();
|
|
629
629
|
process.exit(0);
|
|
630
630
|
} else if (daemonSubcommand === "stop") {
|
|
631
631
|
await stopDaemon();
|
|
632
632
|
process.exit(0);
|
|
633
633
|
} else if (daemonSubcommand === "status") {
|
|
634
|
-
await (await import('./doctor-
|
|
634
|
+
await (await import('./doctor-CoOaPq6w.mjs').then(function (n) { return n.d; })).runDoctorDaemon();
|
|
635
635
|
process.exit(0);
|
|
636
636
|
} else if (daemonSubcommand === "logs") {
|
|
637
637
|
const latest = await getLatestDaemonLog();
|
|
@@ -643,14 +643,14 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
643
643
|
process.exit(0);
|
|
644
644
|
} else if (daemonSubcommand === "install") {
|
|
645
645
|
try {
|
|
646
|
-
await (await import('./install-
|
|
646
|
+
await (await import('./install-DkYFiVK4.mjs')).install();
|
|
647
647
|
} catch (error) {
|
|
648
648
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
649
649
|
process.exit(1);
|
|
650
650
|
}
|
|
651
651
|
} else if (daemonSubcommand === "uninstall") {
|
|
652
652
|
try {
|
|
653
|
-
await (await import('./uninstall-
|
|
653
|
+
await (await import('./uninstall-CtwXi1Rt.mjs')).uninstall();
|
|
654
654
|
} catch (error) {
|
|
655
655
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
656
656
|
process.exit(1);
|
|
@@ -839,7 +839,7 @@ ${chalk.bold.cyan("Claude Code Options (from `claude --help`):")}
|
|
|
839
839
|
await ensureDaemonRunning();
|
|
840
840
|
}
|
|
841
841
|
try {
|
|
842
|
-
const { runClaude } = await import('./runClaude-
|
|
842
|
+
const { runClaude } = await import('./runClaude-CYnM6krL.mjs');
|
|
843
843
|
await runClaude(credentials, options);
|
|
844
844
|
} catch (error) {
|
|
845
845
|
failCommand(error);
|
|
@@ -894,7 +894,7 @@ ${chalk.bold("Examples:")}
|
|
|
894
894
|
}
|
|
895
895
|
console.log(chalk.blue("\u{1F4F1} Sending push notification..."));
|
|
896
896
|
try {
|
|
897
|
-
const { ApiClient } = await import('./api-
|
|
897
|
+
const { ApiClient } = await import('./api-Dr3wXL_7.mjs').then(function (n) { return n.b; });
|
|
898
898
|
const api = await ApiClient.create(credentials);
|
|
899
899
|
const notificationTitle = title || "Happy";
|
|
900
900
|
api.push().sendToAllDevices(
|