very-happy-cli 0.2.169 → 0.2.170
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-CoVFHN6M.cjs → AcpBackend-BIqo4M-7.cjs} +3 -3
- package/dist/{AcpBackend-BxN2W-8F.mjs → AcpBackend-SlzK6j78.mjs} +3 -3
- package/dist/{BasePermissionHandler-BhhK4ufw.mjs → BasePermissionHandler-Dxgenp6Y.mjs} +1 -1
- package/dist/{BasePermissionHandler-DFKRyvRk.cjs → BasePermissionHandler-P25EHv3Z.cjs} +1 -1
- package/dist/{BaseReasoningProcessor-IXMLQola.mjs → BaseReasoningProcessor-CnoACRSZ.mjs} +1 -1
- package/dist/{BaseReasoningProcessor-DLXmSsD9.cjs → BaseReasoningProcessor-YNdAV7a8.cjs} +1 -1
- package/dist/{agentHome-XhRZDl_8.cjs → agentHome-CRZVmlgw.cjs} +4 -4
- package/dist/{agentHome-BqIbAFvU.mjs → agentHome-CvC0JRuf.mjs} +4 -4
- package/dist/{api-D9feoPQW.mjs → api-BAybF-uW.mjs} +8 -8
- package/dist/{api-XE5qHl20.cjs → api-DObjggqQ.cjs} +8 -8
- package/dist/{apiMachine-so4PtT7S.cjs → apiMachine-DGDfJ0gQ.cjs} +13 -13
- package/dist/{apiMachine-DLanfJvJ.mjs → apiMachine-DcPXgkeT.mjs} +13 -13
- package/dist/{attachmentContent-iNWSZTn-.cjs → attachmentContent-DZSJIRRD.cjs} +1 -1
- package/dist/{attachmentContent-BmhATDAI.mjs → attachmentContent-FzahmYvH.mjs} +1 -1
- package/dist/{auth-BGC7jIeG.mjs → auth-B2MzSkji.mjs} +5 -5
- package/dist/{auth-ESPV0RuP.mjs → auth-CFpX6w4L.mjs} +8 -8
- package/dist/{auth-D8Xbw1i7.cjs → auth-DImtI5Qa.cjs} +5 -5
- package/dist/{auth-BbdPGp0-.cjs → auth-Dedvh5_Y.cjs} +8 -8
- package/dist/{auto-BaXaunaW.mjs → auto-CbM1tP9m.mjs} +13 -13
- package/dist/{auto-BQOEIFwp.cjs → auto-CfYU4zoa.cjs} +13 -13
- package/dist/{bootstrap-BLFDzpTX.mjs → bootstrap-0en7WGsX.mjs} +2 -2
- package/dist/{bootstrap-uA_VRbq6.cjs → bootstrap-Cs58-awH.cjs} +2 -2
- package/dist/{browser-D2iQWs3k.mjs → browser-BfWLVuOZ.mjs} +1 -1
- package/dist/{browser-B9DbZY5S.cjs → browser-DNGXD8Ax.cjs} +1 -1
- package/dist/{claudeLocal-CRwWssN_.mjs → claudeLocal-Co3jqS7r.mjs} +4 -4
- package/dist/{claudeLocal-qaR-k7K7.cjs → claudeLocal-tpo6KYuR.cjs} +4 -4
- package/dist/{claudeLocalLauncher-Cg3ZOJvz.cjs → claudeLocalLauncher-BOTawq7X.cjs} +9 -9
- package/dist/{claudeLocalLauncher-BRyssxjy.mjs → claudeLocalLauncher-BaHZ5T0U.mjs} +9 -9
- package/dist/{claudeSessionFork-DyVlndIF.mjs → claudeSessionFork-Cr8UOgNd.mjs} +1 -1
- package/dist/{claudeSessionFork-C0DCh9Eq.cjs → claudeSessionFork-DVNh8WcI.cjs} +1 -1
- package/dist/{client-CQiLeZYO.cjs → client-BS81Ctyd.cjs} +2 -2
- package/dist/{client-CKsWQ0CB.mjs → client-BgJKxb70.mjs} +3 -3
- package/dist/{client-Lze38C0i.cjs → client-CdbpbSqP.cjs} +3 -3
- package/dist/{client-BXJf8MP8.mjs → client-D8LkYiRF.mjs} +2 -2
- package/dist/codex/happyMcpStdioBridge.cjs +14 -14
- package/dist/codex/happyMcpStdioBridge.mjs +14 -14
- package/dist/{codexAppServerClient-P1KeiWAL.mjs → codexAppServerClient-CuzFIUua.mjs} +3 -3
- package/dist/{codexAppServerClient-C2anWi8P.cjs → codexAppServerClient-mQHz9Xfx.cjs} +3 -3
- package/dist/{codexCommand-DticONFg.mjs → codexCommand-Bfc1WQ4O.mjs} +38 -38
- package/dist/{codexCommand-BEtvy5KA.cjs → codexCommand-jAIqHbwm.cjs} +38 -38
- package/dist/{config-CJJ0m0Hy.cjs → config-CBdQqnFd.cjs} +3 -3
- package/dist/{config-ONvwYlDy.mjs → config-Cs7T-UeE.mjs} +3 -3
- package/dist/{configuration-vd98cU5s.cjs → configuration-C5kKBkKO.cjs} +1 -1
- package/dist/{configuration-DsEb3uSR.mjs → configuration-DeChNI4g.mjs} +1 -1
- package/dist/{connect-BNu_olIj.cjs → connect-B70PbDz0.cjs} +11 -11
- package/dist/{connect-B-Xf43JR.mjs → connect-BNBFjyPG.mjs} +11 -11
- package/dist/{context-BglK-uQU.cjs → context-BQ7cnxGv.cjs} +1 -1
- package/dist/{context-J9onyv6j.mjs → context-Dv_PjVhk.mjs} +1 -1
- package/dist/{controlClient-BJ_kMzJp.mjs → controlClient-CFwBMu3X.mjs} +3 -3
- package/dist/{controlClient-8EMcMnZ7.cjs → controlClient-DB8YArm9.cjs} +3 -3
- package/dist/{createSessionMetadata-wSmMShgh.mjs → createSessionMetadata-CWbhhx6I.mjs} +2 -2
- package/dist/{createSessionMetadata-4BIuLaXd.cjs → createSessionMetadata-vNttDF4P.cjs} +2 -2
- package/dist/{defaultPermissionMode-kwzK91Z5.mjs → defaultPermissionMode-BphHv4PE.mjs} +2 -2
- package/dist/{defaultPermissionMode-DodwUf8f.cjs → defaultPermissionMode-DlRTQNzU.cjs} +2 -2
- package/dist/{deterministicJson-BE--xzCB.mjs → deterministicJson-DOND5mKI.mjs} +8 -8
- package/dist/{deterministicJson-CX9sRkSw.cjs → deterministicJson-DrGp1geM.cjs} +8 -8
- package/dist/{doctor-dhZlGUDN.cjs → doctor-C67_vUzT.cjs} +7 -7
- package/dist/{doctor-7a_2qR9U.mjs → doctor-DCo5Ydua.mjs} +7 -7
- package/dist/{downloadTarget-XjmBJhax.mjs → downloadTarget-C3TLO6sv.mjs} +6 -6
- package/dist/{downloadTarget-C3bWfjVw.cjs → downloadTarget-bHSG7Nmc.cjs} +6 -6
- package/dist/{ensureDaemonRunning-B48wg_28.mjs → ensureDaemonRunning-iO-LWLTO.mjs} +5 -5
- package/dist/{ensureDaemonRunning-C_CtXvBm.cjs → ensureDaemonRunning-q6lOTUqE.cjs} +5 -5
- package/dist/{handleResumeCommand-Bx1W2trq.mjs → handleResumeCommand-DMMDMC83.mjs} +5 -5
- package/dist/{handleResumeCommand-B1fpHyMa.cjs → handleResumeCommand-s6RtjG9x.cjs} +5 -5
- package/dist/{index-Ck8syuwO.mjs → index-BuvuW0CS.mjs} +4 -4
- package/dist/{index-By3SzVnN.cjs → index-ByHeLkF-.cjs} +3 -3
- package/dist/{index-D6WijXzL.mjs → index-C6LfMAID.mjs} +33 -33
- package/dist/{index-DkXElN6H.cjs → index-CCkje7rh.cjs} +32 -32
- package/dist/{index-erMKdhA1.mjs → index-CrI8tDqm.mjs} +3 -3
- package/dist/{index-CHHuoaN5.cjs → index-l792cig8.cjs} +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-Dzk7clHU.mjs → install-DkYGqKlG.mjs} +3 -3
- package/dist/{install-DpAjCfux.cjs → install-sCu1lqzH.cjs} +3 -3
- package/dist/lib.cjs +10 -10
- package/dist/lib.mjs +10 -10
- package/dist/{lidState-CuLz-aoW.mjs → lidState-CxF1Q3Va.mjs} +1 -1
- package/dist/{lidState-Bn28XGju.cjs → lidState-gaiBp-jy.cjs} +1 -1
- package/dist/{localHappyAgentAuth-Cix2HInR.cjs → localHappyAgentAuth-Bz-rtOgb.cjs} +1 -1
- package/dist/{localHappyAgentAuth-CImf4dFr.mjs → localHappyAgentAuth-CZ-DUsZ4.mjs} +1 -1
- package/dist/{logger-k6qJWglF.mjs → logger-Bz3MFnBp.mjs} +2 -2
- package/dist/{logger-CEXN6kmp.cjs → logger-CbhpDD3Y.cjs} +2 -2
- package/dist/{machineMetadata-CmrkhOp5.mjs → machineMetadata-BXrIN_QP.mjs} +3 -3
- package/dist/{machineMetadata-B2ugbwH1.cjs → machineMetadata-De2uhHn9.cjs} +3 -3
- package/dist/{main-i9AIapzR.cjs → main-CGiRMHDY.cjs} +44 -44
- package/dist/{main-BHlWnntt.mjs → main-CTdrY6Yh.mjs} +44 -44
- package/dist/{mcp-DRwndcmD.cjs → mcp-6lp6WJY3.cjs} +14 -14
- package/dist/{mcp-C3-c1CFs.mjs → mcp-F35hIbfB.mjs} +14 -14
- package/dist/{mirrorProtocol-D513S1GL.mjs → mirrorProtocol-BmVTNRcK.mjs} +2 -2
- package/dist/{mirrorProtocol-Djl9Q8uu.cjs → mirrorProtocol-CZi9zLTo.cjs} +2 -2
- package/dist/{package-CRtabc_k.cjs → package-BaDEdce3.cjs} +7 -7
- package/dist/{package-CgOyeL63.mjs → package-DGsNZQEw.mjs} +7 -7
- package/dist/{peerTools-FzG7askS.mjs → peerTools-BCZNrQj9.mjs} +4 -4
- package/dist/{peerTools-B1dYfQ7B.cjs → peerTools-DIPXRkwx.cjs} +4 -4
- package/dist/{persistence-bZj6UA2E.mjs → persistence-DZS4Yf-9.mjs} +2 -2
- package/dist/{persistence-Ctx5X33x.cjs → persistence-DewNqaX6.cjs} +2 -2
- package/dist/{piRunnerArgs-BSyuUDxd.cjs → piRunnerArgs-Btr3m5R2.cjs} +1 -1
- package/dist/{piRunnerArgs-C19zYJL2.mjs → piRunnerArgs-CZTSIOzI.mjs} +1 -1
- package/dist/{piRuntime-DY2jBhuI.cjs → piRuntime-BCKd_hLt.cjs} +1 -1
- package/dist/{piRuntime-D9ShcveW.mjs → piRuntime-tCB6My9c.mjs} +1 -1
- package/dist/{piTerminal-D0VK-jbN.cjs → piTerminal-BPmuUpMu.cjs} +16 -16
- package/dist/{piTerminal-C6xULple.mjs → piTerminal-DUvj0nhO.mjs} +16 -16
- package/dist/{rateLimitWindows-D-EW-lEj.cjs → rateLimitWindows-CYWxBupG.cjs} +1 -1
- package/dist/{rateLimitWindows-DGc4kAYD.mjs → rateLimitWindows-Dz6ul3Tw.mjs} +1 -1
- package/dist/{registerCommonHandlers-DQpM0V0X.mjs → registerCommonHandlers-CKuQ3oUI.mjs} +2 -2
- package/dist/{registerCommonHandlers-DyOrHehH.cjs → registerCommonHandlers-CX06yLx7.cjs} +2 -2
- package/dist/{registerKillSessionHandler-CRA-VRN4.mjs → registerKillSessionHandler-97p0NsQe.mjs} +4 -4
- package/dist/{registerKillSessionHandler-BImofTKb.cjs → registerKillSessionHandler-DieW6II9.cjs} +4 -4
- package/dist/{remoteSessionClient-DdXD_5Wc.mjs → remoteSessionClient-C4lbNvzj.mjs} +5 -5
- package/dist/{remoteSessionClient-BpE2d0AX.cjs → remoteSessionClient-CryrODmM.cjs} +5 -5
- package/dist/{reportProgressTool-u4bosT7t.mjs → reportProgressTool-Cs_HbLxN.mjs} +1 -1
- package/dist/{reportProgressTool-B9ldkvU1.cjs → reportProgressTool-qELPQIM2.cjs} +1 -1
- package/dist/{run-gofkmliK.cjs → run-C5wy0fZk.cjs} +31 -31
- package/dist/{run-ChuQWCKp.mjs → run-CCD6Ca8D.mjs} +30 -30
- package/dist/{runClaude-0pC7HBnA.mjs → runClaude-B4zQKQiq.mjs} +19 -19
- package/dist/{runClaude-CJnltZOa.cjs → runClaude-Clo78xk2.cjs} +19 -19
- package/dist/{runClaudeDeps-CNQNIpQx.mjs → runClaudeDeps-By3qcoGG.mjs} +37 -37
- package/dist/{runClaudeDeps-CshkSVOb.cjs → runClaudeDeps-CvGfupnh.cjs} +32 -32
- package/dist/{runGemini-5W4Dnj7m.mjs → runGemini-B7TkTqja.mjs} +30 -30
- package/dist/{runGemini-Ns6jeEA2.cjs → runGemini-Csw6Forg.cjs} +30 -30
- package/dist/{runOpenClaw-DfFkU3-O.mjs → runOpenClaw-DTSFk-LZ.mjs} +15 -15
- package/dist/{runOpenClaw-Do_WGJCf.cjs → runOpenClaw-Dwl2XlQq.cjs} +15 -15
- package/dist/{sandbox-Hno1cl_S.cjs → sandbox-CiX8647u.cjs} +4 -4
- package/dist/{sandbox-BWoD_LBI.mjs → sandbox-DDkewujX.mjs} +4 -4
- package/dist/{selfCheck-LCw56wT7.cjs → selfCheck-B3ikW68R.cjs} +34 -34
- package/dist/selfCheck-BJyQb-jN.mjs +84 -0
- package/dist/{send-Bher02Ax.cjs → send-4HDQvzFu.cjs} +8 -8
- package/dist/{send-8KoLgWt8.mjs → send-_A3v6Lcd.mjs} +8 -8
- package/dist/{server-HoyYfWCW.cjs → server-C7xBd37o.cjs} +6 -6
- package/dist/{server-DgBa6T42.mjs → server-HSFevwLT.mjs} +4 -4
- package/dist/{sessionLock-CbwG3sl6.mjs → sessionLock-CGdjOHJ0.mjs} +3 -3
- package/dist/{sessionLock-DFfIJvgI.cjs → sessionLock-Cn5mHfN4.cjs} +3 -3
- package/dist/{sessionModeFile-w5gtxQBn.mjs → sessionModeFile-BxqhKYUO.mjs} +1 -1
- package/dist/{sessionModeFile-BMam0iW1.cjs → sessionModeFile-DdX7oVrb.cjs} +1 -1
- package/dist/{sessionOps-BLVcPdDi.cjs → sessionOps-BGpoPoJI.cjs} +4 -4
- package/dist/{sessionOps-DnUAnxVE.mjs → sessionOps-D0L3-j4X.mjs} +4 -4
- package/dist/{sessionScanner-BC1mVMSY.cjs → sessionScanner-DKgrbKE6.cjs} +3 -3
- package/dist/{sessionScanner-PgdVrboP.mjs → sessionScanner-oIf9JfWF.mjs} +3 -3
- package/dist/{sessions-DOaMkmer.mjs → sessions-1jyeaYMk.mjs} +9 -9
- package/dist/{sessions-CTQcVANM.cjs → sessions-CnPsMW4G.cjs} +9 -9
- package/dist/{setupOfflineReconnection-hyo8-S36.mjs → setupOfflineReconnection-C2sPz4pQ.mjs} +2 -2
- package/dist/{setupOfflineReconnection-BN9nwZ8a.cjs → setupOfflineReconnection-C_Sz9g1w.cjs} +2 -2
- package/dist/{spawn-CDaVoyIe.cjs → spawn-C7GKbJh2.cjs} +11 -11
- package/dist/{spawn-B9Audcd3.mjs → spawn-DSMWnjmS.mjs} +11 -11
- package/dist/{spawnHappyCLI-BGumffaQ.mjs → spawnHappyCLI-BZZqC7VN.mjs} +1 -1
- package/dist/{spawnHappyCLI-CJ_cYzH8.cjs → spawnHappyCLI-Dc1VAF_5.cjs} +1 -1
- package/dist/{specialCommands-B22t4ROw.cjs → specialCommands-DEBRwFlW.cjs} +3 -3
- package/dist/{specialCommands-D4gAJ8N-.mjs → specialCommands-ptWViuCQ.mjs} +3 -3
- package/dist/{startFileWatcher-DcwCNpAD.cjs → startFileWatcher-BSeM_Jlh.cjs} +1 -1
- package/dist/{startFileWatcher-DeT20n_y.mjs → startFileWatcher-COvMTXjJ.mjs} +1 -1
- package/dist/{sync-Db2dkpCS.mjs → sync-Bsvia-Bs.mjs} +1 -1
- package/dist/{sync-BviZKBic.cjs → sync-Dx0Z_SXp.cjs} +1 -1
- package/dist/{systemPrompt-CeWW2NZa.cjs → systemPrompt-BAgnkcbv.cjs} +1 -1
- package/dist/{systemPrompt-B1VipGm3.mjs → systemPrompt-BMF-qyO8.mjs} +1 -1
- package/dist/{teams-Dfap3oPT.cjs → teams-CtcuF8Dx.cjs} +6 -6
- package/dist/{teams-FWeQ-3dR.mjs → teams-DNvR8afP.mjs} +6 -6
- package/dist/{time-B7ohOI_y.cjs → time-C_KDFlOo.cjs} +1 -1
- package/dist/{time-CGvsjDND.mjs → time-DBXiCIdk.mjs} +1 -1
- package/dist/{titleGenerator-CMzDSyFs.mjs → titleGenerator-Cx2UGlpD.mjs} +1 -1
- package/dist/{titleGenerator-OWMYoWvP.cjs → titleGenerator-cKZcNsWu.cjs} +2 -2
- package/dist/{todo-ClSKkrgg.cjs → todo-DBkq9yBx.cjs} +5 -5
- package/dist/{todo-DyFlR8ta.mjs → todo-DQY-n3L4.mjs} +5 -5
- package/dist/{tools-PNyBTN3e.mjs → tools-BgtfzIDQ.mjs} +1 -1
- package/dist/{tools-DYIZ8Xc1.cjs → tools-cotRSh-E.cjs} +1 -1
- package/dist/{uninstall-Dg_AEwLz.mjs → uninstall-DFeBewVW.mjs} +3 -3
- package/dist/{uninstall-DR-b8fla.cjs → uninstall-DtOVDnwg.cjs} +3 -3
- package/package.json +7 -7
- package/dist/selfCheck-Drx33sE6.mjs +0 -84
|
@@ -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-CbhpDD3Y.cjs');
|
|
5
|
+
var persistence = require('./persistence-DewNqaX6.cjs');
|
|
6
|
+
var auth = require('./auth-DImtI5Qa.cjs');
|
|
7
|
+
var _package = require('./package-BaDEdce3.cjs');
|
|
8
8
|
var z = require('zod');
|
|
9
|
-
var controlClient = require('./controlClient-
|
|
9
|
+
var controlClient = require('./controlClient-DB8YArm9.cjs');
|
|
10
10
|
var daemonSupervisor = require('./daemonSupervisor-B-SPSqhs.cjs');
|
|
11
|
-
var spawnHappyCLI = require('./spawnHappyCLI-
|
|
11
|
+
var spawnHappyCLI = require('./spawnHappyCLI-Dc1VAF_5.cjs');
|
|
12
12
|
var node_child_process = require('node:child_process');
|
|
13
|
-
var ensureDaemonRunning = require('./ensureDaemonRunning-
|
|
13
|
+
var ensureDaemonRunning = require('./ensureDaemonRunning-q6lOTUqE.cjs');
|
|
14
14
|
var startupPlan = require('./startupPlan-BLMbfQIH.cjs');
|
|
15
|
-
var index = require('./index-
|
|
16
|
-
var configuration = require('./configuration-
|
|
15
|
+
var index = require('./index-ByHeLkF-.cjs');
|
|
16
|
+
var configuration = require('./configuration-C5kKBkKO.cjs');
|
|
17
17
|
var doctorReadiness = require('./doctorReadiness-BCZGcN0a.cjs');
|
|
18
|
-
var piRunnerArgs = require('./piRunnerArgs-
|
|
18
|
+
var piRunnerArgs = require('./piRunnerArgs-Btr3m5R2.cjs');
|
|
19
19
|
var detectCLI = require('./detectCLI-DR9ZaN6B.cjs');
|
|
20
20
|
require('node:util');
|
|
21
21
|
require('node:fs');
|
|
@@ -25,8 +25,8 @@ require('./authRelay-BdYkC1Po.cjs');
|
|
|
25
25
|
require('node:crypto');
|
|
26
26
|
require('tweetnacl');
|
|
27
27
|
require('axios');
|
|
28
|
-
require('./time-
|
|
29
|
-
require('./browser-
|
|
28
|
+
require('./time-C_KDFlOo.cjs');
|
|
29
|
+
require('./browser-DNGXD8Ax.cjs');
|
|
30
30
|
require('open');
|
|
31
31
|
require('cross-spawn');
|
|
32
32
|
require('./projectPath-ChLhdOyt.cjs');
|
|
@@ -34,7 +34,7 @@ require('path');
|
|
|
34
34
|
require('url');
|
|
35
35
|
require('node:module');
|
|
36
36
|
require('node:os');
|
|
37
|
-
require('./sessionModeFile-
|
|
37
|
+
require('./sessionModeFile-DdX7oVrb.cjs');
|
|
38
38
|
require('child_process');
|
|
39
39
|
require('os');
|
|
40
40
|
require('fs');
|
|
@@ -76,11 +76,11 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
76
76
|
}
|
|
77
77
|
process.exit(0);
|
|
78
78
|
}
|
|
79
|
-
await (await Promise.resolve().then(function () { return require('./doctor-
|
|
79
|
+
await (await Promise.resolve().then(function () { return require('./doctor-C67_vUzT.cjs'); }).then(function (n) { return n.doctor; })).runDoctorCommand();
|
|
80
80
|
return;
|
|
81
81
|
} else if (subcommand === "auth") {
|
|
82
82
|
try {
|
|
83
|
-
await (await Promise.resolve().then(function () { return require('./auth-
|
|
83
|
+
await (await Promise.resolve().then(function () { return require('./auth-Dedvh5_Y.cjs'); })).handleAuthCommand(args.slice(1));
|
|
84
84
|
} catch (error) {
|
|
85
85
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
86
86
|
if (process.env.DEBUG) {
|
|
@@ -91,7 +91,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
91
91
|
return;
|
|
92
92
|
} else if (subcommand === "connect") {
|
|
93
93
|
try {
|
|
94
|
-
await (await Promise.resolve().then(function () { return require('./connect-
|
|
94
|
+
await (await Promise.resolve().then(function () { return require('./connect-B70PbDz0.cjs'); })).handleConnectCommand(args.slice(1));
|
|
95
95
|
} catch (error) {
|
|
96
96
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
97
97
|
if (process.env.DEBUG) {
|
|
@@ -102,7 +102,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
102
102
|
return;
|
|
103
103
|
} else if (subcommand === "sandbox") {
|
|
104
104
|
try {
|
|
105
|
-
await (await Promise.resolve().then(function () { return require('./sandbox-
|
|
105
|
+
await (await Promise.resolve().then(function () { return require('./sandbox-CiX8647u.cjs'); })).handleSandboxCommand(args.slice(1));
|
|
106
106
|
} catch (error) {
|
|
107
107
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
108
108
|
if (process.env.DEBUG) {
|
|
@@ -113,7 +113,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
113
113
|
return;
|
|
114
114
|
} else if (subcommand === "server") {
|
|
115
115
|
try {
|
|
116
|
-
await (await Promise.resolve().then(function () { return require('./server-
|
|
116
|
+
await (await Promise.resolve().then(function () { return require('./server-C7xBd37o.cjs'); })).handleServerCommand(args.slice(1));
|
|
117
117
|
} catch (error) {
|
|
118
118
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
119
119
|
if (process.env.DEBUG) {
|
|
@@ -153,7 +153,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
153
153
|
}
|
|
154
154
|
} else if (subcommand === "agent-home") {
|
|
155
155
|
try {
|
|
156
|
-
const { parseAgentHomeArgs, runAgentHomeCommand } = await Promise.resolve().then(function () { return require('./agentHome-
|
|
156
|
+
const { parseAgentHomeArgs, runAgentHomeCommand } = await Promise.resolve().then(function () { return require('./agentHome-CRZVmlgw.cjs'); });
|
|
157
157
|
await runAgentHomeCommand(parseAgentHomeArgs(args.slice(1)));
|
|
158
158
|
process.exit(0);
|
|
159
159
|
} catch (error) {
|
|
@@ -162,7 +162,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
162
162
|
}
|
|
163
163
|
} else if (subcommand === "spawn") {
|
|
164
164
|
try {
|
|
165
|
-
const { handleSpawnCommand } = await Promise.resolve().then(function () { return require('./spawn-
|
|
165
|
+
const { handleSpawnCommand } = await Promise.resolve().then(function () { return require('./spawn-C7GKbJh2.cjs'); });
|
|
166
166
|
await handleSpawnCommand(args.slice(1));
|
|
167
167
|
} catch (error) {
|
|
168
168
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -174,7 +174,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
174
174
|
return;
|
|
175
175
|
} else if (subcommand === "sessions") {
|
|
176
176
|
try {
|
|
177
|
-
const { handleSessionsCommand } = await Promise.resolve().then(function () { return require('./sessions-
|
|
177
|
+
const { handleSessionsCommand } = await Promise.resolve().then(function () { return require('./sessions-CnPsMW4G.cjs'); });
|
|
178
178
|
await handleSessionsCommand(args.slice(1));
|
|
179
179
|
} catch (error) {
|
|
180
180
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -186,7 +186,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
186
186
|
return;
|
|
187
187
|
} else if (subcommand === "send") {
|
|
188
188
|
try {
|
|
189
|
-
const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-
|
|
189
|
+
const { handleSendCommand } = await Promise.resolve().then(function () { return require('./send-4HDQvzFu.cjs'); });
|
|
190
190
|
await handleSendCommand(args.slice(1));
|
|
191
191
|
} catch (error) {
|
|
192
192
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -198,7 +198,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
198
198
|
return;
|
|
199
199
|
} else if (subcommand === "resume") {
|
|
200
200
|
try {
|
|
201
|
-
await (await Promise.resolve().then(function () { return require('./handleResumeCommand-
|
|
201
|
+
await (await Promise.resolve().then(function () { return require('./handleResumeCommand-s6RtjG9x.cjs'); })).handleResumeCommand(args.slice(1));
|
|
202
202
|
} catch (error) {
|
|
203
203
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
204
204
|
if (process.env.DEBUG) {
|
|
@@ -209,7 +209,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
209
209
|
return;
|
|
210
210
|
} else if (subcommand === "codex") {
|
|
211
211
|
try {
|
|
212
|
-
await (await Promise.resolve().then(function () { return require('./codexCommand-
|
|
212
|
+
await (await Promise.resolve().then(function () { return require('./codexCommand-jAIqHbwm.cjs'); })).handleCodexCommand(args.slice(1));
|
|
213
213
|
} catch (error) {
|
|
214
214
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
215
215
|
if (process.env.DEBUG) {
|
|
@@ -292,9 +292,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
292
292
|
if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
|
|
293
293
|
const projectId = args[3];
|
|
294
294
|
try {
|
|
295
|
-
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-
|
|
296
|
-
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./persistence-
|
|
297
|
-
const { ApiClient } = await Promise.resolve().then(function () { return require('./api-
|
|
295
|
+
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-CBdQqnFd.cjs'); });
|
|
296
|
+
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./persistence-DewNqaX6.cjs'); }).then(function (n) { return n.persistence; });
|
|
297
|
+
const { ApiClient } = await Promise.resolve().then(function () { return require('./api-DObjggqQ.cjs'); }).then(function (n) { return n.api; });
|
|
298
298
|
let userEmail = void 0;
|
|
299
299
|
try {
|
|
300
300
|
const credentials = await readCredentialsForConfiguredRelay2();
|
|
@@ -325,7 +325,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
325
325
|
}
|
|
326
326
|
if (geminiSubcommand === "project" && args[2] === "get") {
|
|
327
327
|
try {
|
|
328
|
-
const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-
|
|
328
|
+
const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-CBdQqnFd.cjs'); });
|
|
329
329
|
const config = readGeminiLocalConfig();
|
|
330
330
|
if (config.googleCloudProject) {
|
|
331
331
|
console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
|
|
@@ -365,7 +365,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
365
365
|
process.exit(0);
|
|
366
366
|
}
|
|
367
367
|
try {
|
|
368
|
-
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-
|
|
368
|
+
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-Csw6Forg.cjs'); });
|
|
369
369
|
let startedBy = void 0;
|
|
370
370
|
for (let i = 1; i < args.length; i++) {
|
|
371
371
|
if (args[i] === "--started-by") {
|
|
@@ -388,7 +388,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
388
388
|
} else if (subcommand === "pi") {
|
|
389
389
|
if (args[1] === "--terminal") {
|
|
390
390
|
try {
|
|
391
|
-
const { runPiTerminal } = await Promise.resolve().then(function () { return require('./piTerminal-
|
|
391
|
+
const { runPiTerminal } = await Promise.resolve().then(function () { return require('./piTerminal-BPmuUpMu.cjs'); });
|
|
392
392
|
process.exitCode = await runPiTerminal(args.slice(2));
|
|
393
393
|
} catch (error) {
|
|
394
394
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -413,7 +413,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
413
413
|
process.exit(1);
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-
|
|
416
|
+
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-CCkje7rh.cjs'); });
|
|
417
417
|
const resolved = resolveAcpAgentConfig(["pi", ...parsed.passthrough]);
|
|
418
418
|
const { credentials } = await auth.authAndSetupMachineIfNeeded();
|
|
419
419
|
await ensureDaemonRunning.ensureDaemonRunning();
|
|
@@ -440,7 +440,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
440
440
|
return;
|
|
441
441
|
} else if (subcommand === "acp") {
|
|
442
442
|
try {
|
|
443
|
-
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-
|
|
443
|
+
const { runAcp, resolveAcpAgentConfig } = await Promise.resolve().then(function () { return require('./index-CCkje7rh.cjs'); });
|
|
444
444
|
let startedBy = void 0;
|
|
445
445
|
let verbose = false;
|
|
446
446
|
const acpArgs = [];
|
|
@@ -480,7 +480,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
480
480
|
return;
|
|
481
481
|
} else if (subcommand === "openclaw") {
|
|
482
482
|
try {
|
|
483
|
-
const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-
|
|
483
|
+
const { runOpenClaw } = await Promise.resolve().then(function () { return require('./runOpenClaw-Dwl2XlQq.cjs'); });
|
|
484
484
|
let startedBy = void 0;
|
|
485
485
|
let verbose = false;
|
|
486
486
|
let gatewayUrl;
|
|
@@ -520,7 +520,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
520
520
|
} else if (subcommand === "logout") {
|
|
521
521
|
console.log(chalk.yellow('Note: "very-happy logout" is deprecated. Use "very-happy auth logout" instead.\n'));
|
|
522
522
|
try {
|
|
523
|
-
await (await Promise.resolve().then(function () { return require('./auth-
|
|
523
|
+
await (await Promise.resolve().then(function () { return require('./auth-Dedvh5_Y.cjs'); })).handleAuthCommand(["logout"]);
|
|
524
524
|
} catch (error) {
|
|
525
525
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
526
526
|
if (process.env.DEBUG) {
|
|
@@ -531,7 +531,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
531
531
|
return;
|
|
532
532
|
} else if (subcommand === "todo") {
|
|
533
533
|
try {
|
|
534
|
-
const { handleTodoCommand } = await Promise.resolve().then(function () { return require('./todo-
|
|
534
|
+
const { handleTodoCommand } = await Promise.resolve().then(function () { return require('./todo-DBkq9yBx.cjs'); });
|
|
535
535
|
await handleTodoCommand(args.slice(1));
|
|
536
536
|
} catch (error) {
|
|
537
537
|
console.error(JSON.stringify({ error: error instanceof Error ? error.message : "Todo command failed" }));
|
|
@@ -540,7 +540,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
540
540
|
return;
|
|
541
541
|
} else if (subcommand === "teams") {
|
|
542
542
|
try {
|
|
543
|
-
const { handleTeamsCommand } = await Promise.resolve().then(function () { return require('./teams-
|
|
543
|
+
const { handleTeamsCommand } = await Promise.resolve().then(function () { return require('./teams-CtcuF8Dx.cjs'); });
|
|
544
544
|
await handleTeamsCommand(args.slice(1));
|
|
545
545
|
} catch (error) {
|
|
546
546
|
console.error(error instanceof Error ? error.message : "Teams command failed");
|
|
@@ -549,7 +549,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
549
549
|
return;
|
|
550
550
|
} else if (subcommand === "auto") {
|
|
551
551
|
try {
|
|
552
|
-
const { handleAutoCommand } = await Promise.resolve().then(function () { return require('./auto-
|
|
552
|
+
const { handleAutoCommand } = await Promise.resolve().then(function () { return require('./auto-CfYU4zoa.cjs'); });
|
|
553
553
|
await handleAutoCommand(args.slice(1));
|
|
554
554
|
} catch (error) {
|
|
555
555
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Automation command failed");
|
|
@@ -561,7 +561,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
561
561
|
return;
|
|
562
562
|
} else if (subcommand === "mcp" && (args.length === 1 || args.length === 2 && args[1] === "--terminal-tools")) {
|
|
563
563
|
try {
|
|
564
|
-
const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-
|
|
564
|
+
const { handleMcpCommand } = await Promise.resolve().then(function () { return require('./mcp-6lp6WJY3.cjs'); });
|
|
565
565
|
await handleMcpCommand(args[1] === "--terminal-tools");
|
|
566
566
|
} catch (error) {
|
|
567
567
|
process.stderr.write(`[very-happy mcp] Fatal: ${error instanceof Error ? error.message : String(error)}
|
|
@@ -653,13 +653,13 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
653
653
|
}
|
|
654
654
|
process.exit(0);
|
|
655
655
|
} else if (daemonSubcommand === "start-sync") {
|
|
656
|
-
await (await Promise.resolve().then(function () { return require('./run-
|
|
656
|
+
await (await Promise.resolve().then(function () { return require('./run-C5wy0fZk.cjs'); })).startDaemon();
|
|
657
657
|
process.exit(0);
|
|
658
658
|
} else if (daemonSubcommand === "stop") {
|
|
659
659
|
await controlClient.stopDaemon();
|
|
660
660
|
process.exit(0);
|
|
661
661
|
} else if (daemonSubcommand === "status") {
|
|
662
|
-
await (await Promise.resolve().then(function () { return require('./doctor-
|
|
662
|
+
await (await Promise.resolve().then(function () { return require('./doctor-C67_vUzT.cjs'); }).then(function (n) { return n.doctor; })).runDoctorDaemon();
|
|
663
663
|
process.exit(0);
|
|
664
664
|
} else if (daemonSubcommand === "logs") {
|
|
665
665
|
const latest = await logger.getLatestDaemonLog();
|
|
@@ -671,14 +671,14 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
671
671
|
process.exit(0);
|
|
672
672
|
} else if (daemonSubcommand === "install") {
|
|
673
673
|
try {
|
|
674
|
-
await (await Promise.resolve().then(function () { return require('./install-
|
|
674
|
+
await (await Promise.resolve().then(function () { return require('./install-sCu1lqzH.cjs'); })).install();
|
|
675
675
|
} catch (error) {
|
|
676
676
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
677
677
|
process.exit(1);
|
|
678
678
|
}
|
|
679
679
|
} else if (daemonSubcommand === "uninstall") {
|
|
680
680
|
try {
|
|
681
|
-
await (await Promise.resolve().then(function () { return require('./uninstall-
|
|
681
|
+
await (await Promise.resolve().then(function () { return require('./uninstall-DtOVDnwg.cjs'); })).uninstall();
|
|
682
682
|
} catch (error) {
|
|
683
683
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
684
684
|
process.exit(1);
|
|
@@ -865,7 +865,7 @@ ${chalk.bold.cyan("Claude Code Options (from `claude --help`):")}
|
|
|
865
865
|
await ensureDaemonRunning.ensureDaemonRunning();
|
|
866
866
|
}
|
|
867
867
|
try {
|
|
868
|
-
const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-
|
|
868
|
+
const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-Clo78xk2.cjs'); });
|
|
869
869
|
await runClaude(credentials, options);
|
|
870
870
|
} catch (error) {
|
|
871
871
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -924,7 +924,7 @@ ${chalk.bold("Examples:")}
|
|
|
924
924
|
}
|
|
925
925
|
console.log(chalk.blue("\u{1F4F1} Sending push notification..."));
|
|
926
926
|
try {
|
|
927
|
-
const { ApiClient } = await Promise.resolve().then(function () { return require('./api-
|
|
927
|
+
const { ApiClient } = await Promise.resolve().then(function () { return require('./api-DObjggqQ.cjs'); }).then(function (n) { return n.api; });
|
|
928
928
|
const api = await ApiClient.create(credentials);
|
|
929
929
|
const notificationTitle = title || "Happy";
|
|
930
930
|
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, c 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-Bz3MFnBp.mjs';
|
|
3
|
+
import { d as readDaemonState, r as readSettings, c as readCredentialsForConfiguredRelay } from './persistence-DZS4Yf-9.mjs';
|
|
4
|
+
import { a as authAndSetupMachineIfNeeded } from './auth-B2MzSkji.mjs';
|
|
5
|
+
import { p as packageJson } from './package-DGsNZQEw.mjs';
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import { l as listDaemonSessions, s as stopDaemonSession, a as checkIfDaemonRunningAndCleanupStaleState, b as stopDaemon } from './controlClient-
|
|
7
|
+
import { l as listDaemonSessions, s as stopDaemonSession, a as checkIfDaemonRunningAndCleanupStaleState, b as stopDaemon } from './controlClient-CFwBMu3X.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-BZZqC7VN.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-iO-LWLTO.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-CrI8tDqm.mjs';
|
|
14
|
+
import { c as configuration } from './configuration-DeChNI4g.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-CZTSIOzI.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-DSAvg1uv.mjs';
|
|
|
23
23
|
import 'node:crypto';
|
|
24
24
|
import 'tweetnacl';
|
|
25
25
|
import 'axios';
|
|
26
|
-
import './time-
|
|
27
|
-
import './browser-
|
|
26
|
+
import './time-DBXiCIdk.mjs';
|
|
27
|
+
import './browser-BfWLVuOZ.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 './sessionModeFile-
|
|
35
|
+
import './sessionModeFile-BxqhKYUO.mjs';
|
|
36
36
|
import 'child_process';
|
|
37
37
|
import 'os';
|
|
38
38
|
import 'fs';
|
|
@@ -74,11 +74,11 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
74
74
|
}
|
|
75
75
|
process.exit(0);
|
|
76
76
|
}
|
|
77
|
-
await (await import('./doctor-
|
|
77
|
+
await (await import('./doctor-DCo5Ydua.mjs').then(function (n) { return n.d; })).runDoctorCommand();
|
|
78
78
|
return;
|
|
79
79
|
} else if (subcommand === "auth") {
|
|
80
80
|
try {
|
|
81
|
-
await (await import('./auth-
|
|
81
|
+
await (await import('./auth-CFpX6w4L.mjs')).handleAuthCommand(args.slice(1));
|
|
82
82
|
} catch (error) {
|
|
83
83
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
84
84
|
if (process.env.DEBUG) {
|
|
@@ -89,7 +89,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
89
89
|
return;
|
|
90
90
|
} else if (subcommand === "connect") {
|
|
91
91
|
try {
|
|
92
|
-
await (await import('./connect-
|
|
92
|
+
await (await import('./connect-BNBFjyPG.mjs')).handleConnectCommand(args.slice(1));
|
|
93
93
|
} catch (error) {
|
|
94
94
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
95
95
|
if (process.env.DEBUG) {
|
|
@@ -100,7 +100,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
100
100
|
return;
|
|
101
101
|
} else if (subcommand === "sandbox") {
|
|
102
102
|
try {
|
|
103
|
-
await (await import('./sandbox-
|
|
103
|
+
await (await import('./sandbox-DDkewujX.mjs')).handleSandboxCommand(args.slice(1));
|
|
104
104
|
} catch (error) {
|
|
105
105
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
106
106
|
if (process.env.DEBUG) {
|
|
@@ -111,7 +111,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
111
111
|
return;
|
|
112
112
|
} else if (subcommand === "server") {
|
|
113
113
|
try {
|
|
114
|
-
await (await import('./server-
|
|
114
|
+
await (await import('./server-HSFevwLT.mjs')).handleServerCommand(args.slice(1));
|
|
115
115
|
} catch (error) {
|
|
116
116
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
117
117
|
if (process.env.DEBUG) {
|
|
@@ -151,7 +151,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
151
151
|
}
|
|
152
152
|
} else if (subcommand === "agent-home") {
|
|
153
153
|
try {
|
|
154
|
-
const { parseAgentHomeArgs, runAgentHomeCommand } = await import('./agentHome-
|
|
154
|
+
const { parseAgentHomeArgs, runAgentHomeCommand } = await import('./agentHome-CvC0JRuf.mjs');
|
|
155
155
|
await runAgentHomeCommand(parseAgentHomeArgs(args.slice(1)));
|
|
156
156
|
process.exit(0);
|
|
157
157
|
} catch (error) {
|
|
@@ -160,7 +160,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
160
160
|
}
|
|
161
161
|
} else if (subcommand === "spawn") {
|
|
162
162
|
try {
|
|
163
|
-
const { handleSpawnCommand } = await import('./spawn-
|
|
163
|
+
const { handleSpawnCommand } = await import('./spawn-DSMWnjmS.mjs');
|
|
164
164
|
await handleSpawnCommand(args.slice(1));
|
|
165
165
|
} catch (error) {
|
|
166
166
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -172,7 +172,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
172
172
|
return;
|
|
173
173
|
} else if (subcommand === "sessions") {
|
|
174
174
|
try {
|
|
175
|
-
const { handleSessionsCommand } = await import('./sessions-
|
|
175
|
+
const { handleSessionsCommand } = await import('./sessions-1jyeaYMk.mjs');
|
|
176
176
|
await handleSessionsCommand(args.slice(1));
|
|
177
177
|
} catch (error) {
|
|
178
178
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -184,7 +184,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
184
184
|
return;
|
|
185
185
|
} else if (subcommand === "send") {
|
|
186
186
|
try {
|
|
187
|
-
const { handleSendCommand } = await import('./send-
|
|
187
|
+
const { handleSendCommand } = await import('./send-_A3v6Lcd.mjs');
|
|
188
188
|
await handleSendCommand(args.slice(1));
|
|
189
189
|
} catch (error) {
|
|
190
190
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -196,7 +196,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
196
196
|
return;
|
|
197
197
|
} else if (subcommand === "resume") {
|
|
198
198
|
try {
|
|
199
|
-
await (await import('./handleResumeCommand-
|
|
199
|
+
await (await import('./handleResumeCommand-DMMDMC83.mjs')).handleResumeCommand(args.slice(1));
|
|
200
200
|
} catch (error) {
|
|
201
201
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
202
202
|
if (process.env.DEBUG) {
|
|
@@ -207,7 +207,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
207
207
|
return;
|
|
208
208
|
} else if (subcommand === "codex") {
|
|
209
209
|
try {
|
|
210
|
-
await (await import('./codexCommand-
|
|
210
|
+
await (await import('./codexCommand-Bfc1WQ4O.mjs')).handleCodexCommand(args.slice(1));
|
|
211
211
|
} catch (error) {
|
|
212
212
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
213
213
|
if (process.env.DEBUG) {
|
|
@@ -290,9 +290,9 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
290
290
|
if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
|
|
291
291
|
const projectId = args[3];
|
|
292
292
|
try {
|
|
293
|
-
const { saveGoogleCloudProjectToConfig } = await import('./config-
|
|
294
|
-
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./persistence-
|
|
295
|
-
const { ApiClient } = await import('./api-
|
|
293
|
+
const { saveGoogleCloudProjectToConfig } = await import('./config-Cs7T-UeE.mjs');
|
|
294
|
+
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await import('./persistence-DZS4Yf-9.mjs').then(function (n) { return n.E; });
|
|
295
|
+
const { ApiClient } = await import('./api-BAybF-uW.mjs').then(function (n) { return n.b; });
|
|
296
296
|
let userEmail = void 0;
|
|
297
297
|
try {
|
|
298
298
|
const credentials = await readCredentialsForConfiguredRelay2();
|
|
@@ -323,7 +323,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
323
323
|
}
|
|
324
324
|
if (geminiSubcommand === "project" && args[2] === "get") {
|
|
325
325
|
try {
|
|
326
|
-
const { readGeminiLocalConfig } = await import('./config-
|
|
326
|
+
const { readGeminiLocalConfig } = await import('./config-Cs7T-UeE.mjs');
|
|
327
327
|
const config = readGeminiLocalConfig();
|
|
328
328
|
if (config.googleCloudProject) {
|
|
329
329
|
console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
|
|
@@ -363,7 +363,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
363
363
|
process.exit(0);
|
|
364
364
|
}
|
|
365
365
|
try {
|
|
366
|
-
const { runGemini } = await import('./runGemini-
|
|
366
|
+
const { runGemini } = await import('./runGemini-B7TkTqja.mjs');
|
|
367
367
|
let startedBy = void 0;
|
|
368
368
|
for (let i = 1; i < args.length; i++) {
|
|
369
369
|
if (args[i] === "--started-by") {
|
|
@@ -386,7 +386,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
386
386
|
} else if (subcommand === "pi") {
|
|
387
387
|
if (args[1] === "--terminal") {
|
|
388
388
|
try {
|
|
389
|
-
const { runPiTerminal } = await import('./piTerminal-
|
|
389
|
+
const { runPiTerminal } = await import('./piTerminal-DUvj0nhO.mjs');
|
|
390
390
|
process.exitCode = await runPiTerminal(args.slice(2));
|
|
391
391
|
} catch (error) {
|
|
392
392
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -411,7 +411,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
411
411
|
process.exit(1);
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
const { runAcp, resolveAcpAgentConfig } = await import('./index-
|
|
414
|
+
const { runAcp, resolveAcpAgentConfig } = await import('./index-C6LfMAID.mjs');
|
|
415
415
|
const resolved = resolveAcpAgentConfig(["pi", ...parsed.passthrough]);
|
|
416
416
|
const { credentials } = await authAndSetupMachineIfNeeded();
|
|
417
417
|
await ensureDaemonRunning();
|
|
@@ -438,7 +438,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
438
438
|
return;
|
|
439
439
|
} else if (subcommand === "acp") {
|
|
440
440
|
try {
|
|
441
|
-
const { runAcp, resolveAcpAgentConfig } = await import('./index-
|
|
441
|
+
const { runAcp, resolveAcpAgentConfig } = await import('./index-C6LfMAID.mjs');
|
|
442
442
|
let startedBy = void 0;
|
|
443
443
|
let verbose = false;
|
|
444
444
|
const acpArgs = [];
|
|
@@ -478,7 +478,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
478
478
|
return;
|
|
479
479
|
} else if (subcommand === "openclaw") {
|
|
480
480
|
try {
|
|
481
|
-
const { runOpenClaw } = await import('./runOpenClaw-
|
|
481
|
+
const { runOpenClaw } = await import('./runOpenClaw-DTSFk-LZ.mjs');
|
|
482
482
|
let startedBy = void 0;
|
|
483
483
|
let verbose = false;
|
|
484
484
|
let gatewayUrl;
|
|
@@ -518,7 +518,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
518
518
|
} else if (subcommand === "logout") {
|
|
519
519
|
console.log(chalk.yellow('Note: "very-happy logout" is deprecated. Use "very-happy auth logout" instead.\n'));
|
|
520
520
|
try {
|
|
521
|
-
await (await import('./auth-
|
|
521
|
+
await (await import('./auth-CFpX6w4L.mjs')).handleAuthCommand(["logout"]);
|
|
522
522
|
} catch (error) {
|
|
523
523
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
524
524
|
if (process.env.DEBUG) {
|
|
@@ -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 === "todo") {
|
|
531
531
|
try {
|
|
532
|
-
const { handleTodoCommand } = await import('./todo-
|
|
532
|
+
const { handleTodoCommand } = await import('./todo-DQY-n3L4.mjs');
|
|
533
533
|
await handleTodoCommand(args.slice(1));
|
|
534
534
|
} catch (error) {
|
|
535
535
|
console.error(JSON.stringify({ error: error instanceof Error ? error.message : "Todo command failed" }));
|
|
@@ -538,7 +538,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
538
538
|
return;
|
|
539
539
|
} else if (subcommand === "teams") {
|
|
540
540
|
try {
|
|
541
|
-
const { handleTeamsCommand } = await import('./teams-
|
|
541
|
+
const { handleTeamsCommand } = await import('./teams-DNvR8afP.mjs');
|
|
542
542
|
await handleTeamsCommand(args.slice(1));
|
|
543
543
|
} catch (error) {
|
|
544
544
|
console.error(error instanceof Error ? error.message : "Teams command failed");
|
|
@@ -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 === "auto") {
|
|
549
549
|
try {
|
|
550
|
-
const { handleAutoCommand } = await import('./auto-
|
|
550
|
+
const { handleAutoCommand } = await import('./auto-CbM1tP9m.mjs');
|
|
551
551
|
await handleAutoCommand(args.slice(1));
|
|
552
552
|
} catch (error) {
|
|
553
553
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Automation command failed");
|
|
@@ -559,7 +559,7 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
559
559
|
return;
|
|
560
560
|
} else if (subcommand === "mcp" && (args.length === 1 || args.length === 2 && args[1] === "--terminal-tools")) {
|
|
561
561
|
try {
|
|
562
|
-
const { handleMcpCommand } = await import('./mcp-
|
|
562
|
+
const { handleMcpCommand } = await import('./mcp-F35hIbfB.mjs');
|
|
563
563
|
await handleMcpCommand(args[1] === "--terminal-tools");
|
|
564
564
|
} catch (error) {
|
|
565
565
|
process.stderr.write(`[very-happy mcp] Fatal: ${error instanceof Error ? error.message : String(error)}
|
|
@@ -651,13 +651,13 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
651
651
|
}
|
|
652
652
|
process.exit(0);
|
|
653
653
|
} else if (daemonSubcommand === "start-sync") {
|
|
654
|
-
await (await import('./run-
|
|
654
|
+
await (await import('./run-CCD6Ca8D.mjs')).startDaemon();
|
|
655
655
|
process.exit(0);
|
|
656
656
|
} else if (daemonSubcommand === "stop") {
|
|
657
657
|
await stopDaemon();
|
|
658
658
|
process.exit(0);
|
|
659
659
|
} else if (daemonSubcommand === "status") {
|
|
660
|
-
await (await import('./doctor-
|
|
660
|
+
await (await import('./doctor-DCo5Ydua.mjs').then(function (n) { return n.d; })).runDoctorDaemon();
|
|
661
661
|
process.exit(0);
|
|
662
662
|
} else if (daemonSubcommand === "logs") {
|
|
663
663
|
const latest = await getLatestDaemonLog();
|
|
@@ -669,14 +669,14 @@ Conversation history is preserved on the server, but in-flight tool calls are in
|
|
|
669
669
|
process.exit(0);
|
|
670
670
|
} else if (daemonSubcommand === "install") {
|
|
671
671
|
try {
|
|
672
|
-
await (await import('./install-
|
|
672
|
+
await (await import('./install-DkYGqKlG.mjs')).install();
|
|
673
673
|
} catch (error) {
|
|
674
674
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
675
675
|
process.exit(1);
|
|
676
676
|
}
|
|
677
677
|
} else if (daemonSubcommand === "uninstall") {
|
|
678
678
|
try {
|
|
679
|
-
await (await import('./uninstall-
|
|
679
|
+
await (await import('./uninstall-DFeBewVW.mjs')).uninstall();
|
|
680
680
|
} catch (error) {
|
|
681
681
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
682
682
|
process.exit(1);
|
|
@@ -863,7 +863,7 @@ ${chalk.bold.cyan("Claude Code Options (from `claude --help`):")}
|
|
|
863
863
|
await ensureDaemonRunning();
|
|
864
864
|
}
|
|
865
865
|
try {
|
|
866
|
-
const { runClaude } = await import('./runClaude-
|
|
866
|
+
const { runClaude } = await import('./runClaude-B4zQKQiq.mjs');
|
|
867
867
|
await runClaude(credentials, options);
|
|
868
868
|
} catch (error) {
|
|
869
869
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -922,7 +922,7 @@ ${chalk.bold("Examples:")}
|
|
|
922
922
|
}
|
|
923
923
|
console.log(chalk.blue("\u{1F4F1} Sending push notification..."));
|
|
924
924
|
try {
|
|
925
|
-
const { ApiClient } = await import('./api-
|
|
925
|
+
const { ApiClient } = await import('./api-BAybF-uW.mjs').then(function (n) { return n.b; });
|
|
926
926
|
const api = await ApiClient.create(credentials);
|
|
927
927
|
const notificationTitle = title || "Happy";
|
|
928
928
|
api.push().sendToAllDevices(
|