very-happy-cli 0.2.175 → 0.2.177
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-Sb6N_HcB.cjs → AcpBackend-B-ny68XM.cjs} +188 -37
- package/dist/{AcpBackend-BZrLVcHb.mjs → AcpBackend-B0K0WrtW.mjs} +187 -38
- package/dist/{AcpSessionManager-C2MqOirs.cjs → AcpSessionManager-CjdJLofq.cjs} +1 -1
- package/dist/{AcpSessionManager-y1Iy1mzc.mjs → AcpSessionManager-DykjzBM4.mjs} +1 -1
- package/dist/{BasePermissionHandler-BbLYwd13.cjs → BasePermissionHandler-DR6nxuEn.cjs} +1 -1
- package/dist/{BasePermissionHandler-DriZLITp.mjs → BasePermissionHandler-hdY7kTqX.mjs} +1 -1
- package/dist/{agentHome-BoYfpemd.cjs → agentHome-BdTXEUPe.cjs} +4 -4
- package/dist/{agentHome-BtuRubHG.mjs → agentHome-GRN2VfHv.mjs} +4 -4
- package/dist/{api-KZmVqSKO.cjs → api-BWX10o97.cjs} +17 -10
- package/dist/{api-D08IEaWa.mjs → api-CKBViqI3.mjs} +18 -11
- package/dist/{apiMachine-Dct2GDAq.cjs → apiMachine-BYYFGgFs.cjs} +15 -14
- package/dist/{apiMachine-Cx9Zn-78.mjs → apiMachine-DttO4UFj.mjs} +15 -14
- package/dist/{attachmentContent-PrNJg8gG.mjs → attachmentContent-cPVF463_.mjs} +2 -2
- package/dist/{attachmentContent-4L9dO8E3.cjs → attachmentContent-kJKXpkMX.cjs} +2 -2
- package/dist/{attachmentLimits-BLbji11b.mjs → attachmentLimits-Di1Z93lN.mjs} +1 -1
- package/dist/{attachmentLimits-D6bT2jU1.cjs → attachmentLimits-DtFqqiwR.cjs} +1 -1
- package/dist/{auth-D1qHU-i_.mjs → auth-BmESeKuM.mjs} +5 -5
- package/dist/{auth-PY_HGlzz.mjs → auth-CKdXb9zp.mjs} +8 -8
- package/dist/{auth-BGmM3Vlm.cjs → auth-CTECt2Oz.cjs} +5 -5
- package/dist/{auth-BI0CsMcy.cjs → auth-DNxVmVbn.cjs} +8 -8
- package/dist/{auto-COMphIfD.mjs → auto-Ch3203qd.mjs} +17 -16
- package/dist/{auto-DM4_FeKb.cjs → auto-D1ypjjfx.cjs} +16 -15
- package/dist/{backgroundTaskActivity-8PdPxrvy.mjs → backgroundTaskActivity-BVwJBl02.mjs} +1 -1
- package/dist/{bootstrap-DTJ6-vYT.cjs → bootstrap-6OI698q9.cjs} +2 -2
- package/dist/{bootstrap-CWjpC5-J.mjs → bootstrap-C0s2bPFQ.mjs} +2 -2
- package/dist/{browser-xuW4fiHo.mjs → browser-BlLWZUMx.mjs} +1 -1
- package/dist/{browser-DmgVoopB.cjs → browser-DG6Uof5O.cjs} +1 -1
- package/dist/{claudeLocal-B0P-wVJJ.mjs → claudeLocal-CcWcKnoo.mjs} +5 -5
- package/dist/{claudeLocal-CtZVz3ee.cjs → claudeLocal-CemsIArT.cjs} +5 -5
- package/dist/{claudeLocalLauncher-D4vmjI3c.mjs → claudeLocalLauncher-7p6y88nj.mjs} +15 -18
- package/dist/{claudeLocalLauncher-Dnv4CH8r.cjs → claudeLocalLauncher-A4VuevIi.cjs} +15 -18
- package/dist/{claudeSessionFork-CxjOBoBh.mjs → claudeSessionFork-BtROOjqf.mjs} +1 -1
- package/dist/{claudeSessionFork-DQk5-dzR.cjs → claudeSessionFork-CbDfm8Fz.cjs} +1 -1
- package/dist/{client-eQjOvC55.mjs → client-BPMWutfs.mjs} +3 -3
- package/dist/{client-BhLhjj_x.cjs → client-COmgDDy0.cjs} +2 -2
- package/dist/{client-C4ddTzrD.mjs → client-DG5ndWLw.mjs} +2 -2
- package/dist/{client-BHZVyQwi.cjs → client-DyvBTYee.cjs} +3 -3
- package/dist/codex/happyMcpStdioBridge.cjs +15 -15
- package/dist/codex/happyMcpStdioBridge.mjs +16 -16
- package/dist/{codexAppServerClient-CppPl_R6.mjs → codexAppServerClient-D-Z8qSfI.mjs} +233 -24
- package/dist/{codexAppServerClient-D-9z-lWP.cjs → codexAppServerClient-R24WZZfg.cjs} +233 -24
- package/dist/{codexCommand-AgVJYnFU.cjs → codexCommand-6hW19gsq.cjs} +159 -84
- package/dist/{codexCommand-BdrBNbZu.mjs → codexCommand-CVTkZJ1o.mjs} +158 -83
- package/dist/{BaseReasoningProcessor-_S1PbSvH.cjs → codexTermination-BBU7e92y.cjs} +25 -1
- package/dist/{BaseReasoningProcessor-DnykPlPo.mjs → codexTermination-CCIfwzcx.mjs} +25 -2
- package/dist/{config-Cr3VUzbE.mjs → config-CvsNChKX.mjs} +3 -3
- package/dist/{config-D89sE3wK.cjs → config-DhdrvOLV.cjs} +3 -3
- package/dist/{configuration-BNGPXg07.mjs → configuration-D55F0t16.mjs} +1 -1
- package/dist/{configuration-UV4EE5ui.cjs → configuration-DZPy0T9Z.cjs} +1 -1
- package/dist/{connect-C0iLkCiY.mjs → connect-CwCXMRmD.mjs} +14 -14
- package/dist/{connect-B35YXbdZ.cjs → connect-Wz-XZYXW.cjs} +13 -13
- package/dist/{context-BmH2BKip.cjs → context-BKbrZ55r.cjs} +1 -1
- package/dist/{context-Ptdnlcv6.mjs → context-CCRpVXFo.mjs} +1 -1
- package/dist/{controlClient-DqtC0pq1.mjs → controlClient-C4xB5J6O.mjs} +4 -4
- package/dist/{controlClient-CtsQMw--.cjs → controlClient-SX8gSza2.cjs} +3 -3
- package/dist/{createSessionMetadata-2IuH5nlA.cjs → createSessionMetadata-BCFmYlBo.cjs} +2 -2
- package/dist/{createSessionMetadata-CtNMvfth.mjs → createSessionMetadata-Bi-m0Y_O.mjs} +2 -2
- package/dist/{defaultPermissionMode-Bn4HcU8S.cjs → defaultPermissionMode-DMBEnXll.cjs} +2 -2
- package/dist/{defaultPermissionMode-DYihjV2g.mjs → defaultPermissionMode-wBcbBezm.mjs} +2 -2
- package/dist/{deterministicJson-DF4xv6MH.mjs → deterministicJson-BkQETt8_.mjs} +9 -9
- package/dist/{deterministicJson-je21npNx.cjs → deterministicJson-ChGfQEF6.cjs} +9 -9
- package/dist/{doctor-Ba92L7-b.mjs → doctor-B9c2C9dF.mjs} +8 -8
- package/dist/{doctor-BXKcYVGU.cjs → doctor-BsN3JZJn.cjs} +7 -7
- package/dist/{downloadTarget-CUJg8iJV.mjs → downloadTarget-ByXzbDK4.mjs} +6 -6
- package/dist/{downloadTarget-JC7FZl7W.cjs → downloadTarget-Dj3WoVJa.cjs} +6 -6
- package/dist/{ensureDaemonRunning-JPA9tHNE.mjs → ensureDaemonRunning--HYzs5Ce.mjs} +5 -5
- package/dist/{ensureDaemonRunning-bIp6-vgi.cjs → ensureDaemonRunning-7Wb8M7Lv.cjs} +5 -5
- package/dist/{handleResumeCommand-B6lE5DtU.mjs → handleResumeCommand-DHddBkNJ.mjs} +5 -5
- package/dist/{handleResumeCommand-B6b9kIYf.cjs → handleResumeCommand-OmuUGYjQ.cjs} +5 -5
- package/dist/{index-B2KL0aPc.cjs → index-BRJzH4sc.cjs} +141 -87
- package/dist/{index-CjE4kBKx.mjs → index-BzJNDsJq.mjs} +143 -89
- package/dist/{index-B6UGRQ7h.mjs → index-CEjJnq05.mjs} +3 -0
- package/dist/{index-CZLwo1FS.mjs → index-CEm0MYiS.mjs} +3 -3
- package/dist/{index-B1ABQRrB.cjs → index-CrR4JISa.cjs} +4 -4
- package/dist/{index-D759ViMU.cjs → index-D9NoYc5I.cjs} +3 -3
- package/dist/{index-D3kI0hDR.cjs → index-DFPT4HOO.cjs} +3 -0
- package/dist/{index-boE-d8CM.mjs → index-DMy3OCBe.mjs} +8 -1
- package/dist/{index-BZdhwBKa.cjs → index-De8L5lFK.cjs} +8 -0
- package/dist/{index-DW1ONaGc.mjs → index-Dhl6_bw7.mjs} +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-KjIsK_EA.cjs → install-1qn-D9FS.cjs} +3 -3
- package/dist/{install-CmojqnLK.mjs → install-BDIUtPXi.mjs} +3 -3
- package/dist/lib.cjs +12 -12
- package/dist/lib.d.cts +7 -1
- package/dist/lib.d.mts +7 -1
- package/dist/lib.mjs +13 -13
- package/dist/{lidState-CL1NdKfQ.mjs → lidState-BqVsw7H1.mjs} +1 -1
- package/dist/{lidState-BmJp2pLt.cjs → lidState-DxbK0qfu.cjs} +1 -1
- package/dist/{localHappyAgentAuth-B7f4Ysn0.mjs → localHappyAgentAuth-Ce8kO2yc.mjs} +1 -1
- package/dist/{localHappyAgentAuth-9SP7hdiw.cjs → localHappyAgentAuth-D5tANdRD.cjs} +1 -1
- package/dist/{logger-D5EzMy30.mjs → logger-13cBr_ew.mjs} +2 -2
- package/dist/{logger-C7dRaCkE.cjs → logger-LvwVeATU.cjs} +2 -2
- package/dist/{machineMetadata-DYYuK_0c.cjs → machineMetadata-29h7vgf4.cjs} +3 -3
- package/dist/{machineMetadata-DqplCWue.mjs → machineMetadata-dMida2qq.mjs} +3 -3
- package/dist/{main-kgCQgknK.cjs → main-DpM5jaFH.cjs} +44 -44
- package/dist/{main-CnV62agu.mjs → main-x4nAhdH5.mjs} +44 -44
- package/dist/{mcp-bDPaj-tM.mjs → mcp-DMiFGYMT.mjs} +15 -15
- package/dist/{mcp-BV0vxHtz.cjs → mcp-DQv3caXs.cjs} +14 -14
- package/dist/{mirrorProtocol-BSHVZ8Nf.cjs → mirrorProtocol-BfrERW7Z.cjs} +3 -3
- package/dist/{mirrorProtocol-ClKhNXYe.mjs → mirrorProtocol-Bz8tEabR.mjs} +3 -3
- package/dist/{package-VqWv7EI5.cjs → package-Ch9WGDV_.cjs} +7 -7
- package/dist/{package-D0dxZ-W8.mjs → package-CjlsAaRe.mjs} +7 -7
- package/dist/{peerTools-B_eiNB3P.mjs → peerTools-CxmrKnfV.mjs} +4 -4
- package/dist/{peerTools-BktGmlpd.cjs → peerTools-DtGKWli5.cjs} +4 -4
- package/dist/{persistence-CIIhP0Uw.mjs → persistence-C_tYtOqK.mjs} +2 -2
- package/dist/{persistence-DweHi8xa.cjs → persistence-DXbKOHxl.cjs} +2 -2
- package/dist/{piRunnerArgs-BNzWTNRV.cjs → piRunnerArgs-BVRZe2AR.cjs} +1 -1
- package/dist/{piRunnerArgs-cQafsadv.mjs → piRunnerArgs-BpHc-JZl.mjs} +1 -1
- package/dist/{piRuntime-VZLSwW-4.cjs → piRuntime-D7eio8Ix.cjs} +1 -1
- package/dist/{piRuntime-Bel5lOLb.mjs → piRuntime-DOdGF395.mjs} +1 -1
- package/dist/{piTerminal-CS5SDi_H.mjs → piTerminal-dpxz4Q8D.mjs} +17 -17
- package/dist/{piTerminal-DkR8sPv-.cjs → piTerminal-y_PRo2NY.cjs} +16 -16
- package/dist/processTree-CMHWlVse.cjs +66 -0
- package/dist/processTree-CP5IvQ2Z.mjs +61 -0
- package/dist/{rateLimitWindows-Bp4T21RI.cjs → rateLimitWindows-DFnMU2Vt.cjs} +1 -1
- package/dist/{rateLimitWindows-Bo6XVnie.mjs → rateLimitWindows-DYHDGuzQ.mjs} +1 -1
- package/dist/{registerCommonHandlers-B7QZxkCL.cjs → registerCommonHandlers-60VuTkdg.cjs} +2 -2
- package/dist/{registerCommonHandlers-CR5jpiSx.mjs → registerCommonHandlers-D8OMpBbQ.mjs} +2 -2
- package/dist/{registerKillSessionHandler-DLiu24CQ.mjs → registerKillSessionHandler-Drhf7-Vz.mjs} +6 -6
- package/dist/{registerKillSessionHandler-CcX84g-T.cjs → registerKillSessionHandler-pqChBKwO.cjs} +6 -6
- package/dist/{remoteSessionClient-CL3akj0K.cjs → remoteSessionClient-B7NvjHD3.cjs} +5 -5
- package/dist/{remoteSessionClient-CUjw1COc.mjs → remoteSessionClient-D01Hso2-.mjs} +5 -5
- package/dist/{reportProgressTool-BLLwMQrN.mjs → reportProgressTool-B203EZCR.mjs} +2 -2
- package/dist/{reportProgressTool-DzMi4mvH.cjs → reportProgressTool-Du_zAK4h.cjs} +2 -2
- package/dist/{run-DGokR_6q.mjs → run-DX4Zs3Ug.mjs} +34 -34
- package/dist/{run-5pmOElaW.cjs → run-DZ5jU53c.cjs} +34 -34
- package/dist/{runClaude-BFlpZQds.mjs → runClaude-CgPHXP0L.mjs} +27 -23
- package/dist/{runClaude-EnYNvkV0.cjs → runClaude-ClRhHpwR.cjs} +26 -22
- package/dist/{runClaudeDeps-CUDebE9e.cjs → runClaudeDeps-D2v_WDSL.cjs} +387 -89
- package/dist/{runClaudeDeps-D1M1dzlZ.mjs → runClaudeDeps-Dz2iydq4.mjs} +393 -95
- package/dist/{runGemini-Bu69Zu1u.cjs → runGemini-BtZqGFkp.cjs} +208 -193
- package/dist/{runGemini-Bub8T5cM.mjs → runGemini-DBXxpoY8.mjs} +208 -193
- package/dist/{runOpenClaw-DVu73F_i.mjs → runOpenClaw-BOHpzCEU.mjs} +19 -19
- package/dist/{runOpenClaw-Cob5F3FC.cjs → runOpenClaw-D8q8G57u.cjs} +18 -18
- package/dist/{sandbox-9EKOFyQF.mjs → sandbox-C452Vrsc.mjs} +4 -4
- package/dist/{sandbox-GDqMagSF.cjs → sandbox-Cu9mMzjx.cjs} +4 -4
- package/dist/selfCheck-BAvqBwBR.mjs +84 -0
- package/dist/{selfCheck-DiNo34da.cjs → selfCheck-gKa3uVr1.cjs} +35 -35
- package/dist/{send-ThC80164.cjs → send-2Vb5eppI.cjs} +8 -8
- package/dist/{send-wgtHphq8.mjs → send-B8HARi7x.mjs} +9 -9
- package/dist/{server-Bb8v2fOj.mjs → server-BBWCIZyS.mjs} +4 -4
- package/dist/{server-bidHnstE.cjs → server-Db9Wuam3.cjs} +6 -6
- package/dist/{sessionLock-BWBcBZKh.cjs → sessionLock-6qL_N6Rn.cjs} +3 -3
- package/dist/{sessionLock-gb32sVPR.mjs → sessionLock-ZfvFVdUi.mjs} +3 -3
- package/dist/{sessionModeFile-C-fr1M1h.mjs → sessionModeFile-CWVq8AT9.mjs} +1 -1
- package/dist/{sessionModeFile-DhuTNcJr.cjs → sessionModeFile-CsLtn_PL.cjs} +1 -1
- package/dist/{sessionOps-ByZJbkMq.mjs → sessionOps-CdgbEJgf.mjs} +5 -5
- package/dist/{sessionOps-9MChM9Op.cjs → sessionOps-Dmt7WUUs.cjs} +4 -4
- package/dist/{sessionScanner-CxXPAVyS.mjs → sessionScanner-CNVaSNOn.mjs} +34 -4
- package/dist/{sessionScanner-BpegdnXK.cjs → sessionScanner-CQL_WSaC.cjs} +34 -3
- package/dist/{sessions-C1X4z_Lm.cjs → sessions-BJblG_Hx.cjs} +9 -9
- package/dist/{sessions-l-UgJGjV.mjs → sessions-DTomHfFg.mjs} +10 -10
- package/dist/{setupOfflineReconnection-CgtXlV74.mjs → setupOfflineReconnection-C5trsV-j.mjs} +2 -2
- package/dist/{setupOfflineReconnection-CS_8Da8R.cjs → setupOfflineReconnection-DVA0VpQL.cjs} +2 -2
- package/dist/{spawn-FyoHqYWo.mjs → spawn-CQJFgoOq.mjs} +15 -14
- package/dist/{spawn-D2BlNdZu.cjs → spawn-DRyNAqD8.cjs} +14 -13
- package/dist/{spawnAgents-BhsbJ253.mjs → spawnAgents-BjtmjBvP.mjs} +1 -1
- package/dist/{spawnAgents-CgMKuOhZ.cjs → spawnAgents-CCjJifAW.cjs} +1 -1
- package/dist/{spawnHappyCLI-DsC256j_.mjs → spawnHappyCLI-B_0RWxD4.mjs} +1 -1
- package/dist/{spawnHappyCLI-DByQcqEN.cjs → spawnHappyCLI-ChniczJ5.cjs} +1 -1
- package/dist/{specialCommands-DGUeZqdm.cjs → specialCommands-DbntVs0d.cjs} +3 -3
- package/dist/{specialCommands-DUUBqzvd.mjs → specialCommands-DkdFJi4N.mjs} +3 -3
- package/dist/{startFileWatcher-BtBaahTn.cjs → startFileWatcher-C292fhra.cjs} +1 -1
- package/dist/{startFileWatcher-CaYRObJu.mjs → startFileWatcher-UQyTSRAP.mjs} +1 -1
- package/dist/{streamRelay-DqPFsCgx.cjs → streamRelay-Cx01enfe.cjs} +1 -1
- package/dist/{streamRelay-C8zI7OnR.mjs → streamRelay-_qCd873P.mjs} +1 -1
- package/dist/{sync-D5YqUVjS.mjs → sync-C3p7-KLn.mjs} +1 -1
- package/dist/{sync-BK-IBkuB.cjs → sync-C7sxoUYG.cjs} +1 -1
- package/dist/{systemPrompt-e-qeag_h.mjs → systemPrompt-CdHOlyVW.mjs} +2 -2
- package/dist/{systemPrompt-DaTKLEb-.cjs → systemPrompt-DtibzbRU.cjs} +2 -2
- package/dist/{teams-D9xwa_d3.cjs → teams-D7O7TpVU.cjs} +6 -6
- package/dist/{teams-ClrppvKu.mjs → teams-ujXr3AFn.mjs} +6 -6
- package/dist/{time-0szhiPo4.cjs → time-Dg5tVB8S.cjs} +1 -1
- package/dist/{time-CvrpeD3S.mjs → time-yEL6wHUF.mjs} +1 -1
- package/dist/{titleGenerator-Dz5P7sE1.cjs → titleGenerator-BMEaDTwU.cjs} +2 -2
- package/dist/{titleGenerator-BZ5770wq.mjs → titleGenerator-Dr-BtjzO.mjs} +1 -1
- package/dist/{todo-CkmNJQey.cjs → todo-CUcFamGs.cjs} +6 -6
- package/dist/{todo-o-miKcN2.mjs → todo-CvJe4M2C.mjs} +6 -6
- package/dist/{tools-Cp0qJeBq.mjs → tools-BrM3bZW5.mjs} +1 -1
- package/dist/{tools-C77-Ssan.cjs → tools-DDKTB5aQ.cjs} +1 -1
- package/dist/{uninstall-DGUPERDX.cjs → uninstall-7oLuhYIu.cjs} +3 -3
- package/dist/{uninstall-jNJDCLD_.mjs → uninstall-CEcMMQGz.mjs} +3 -3
- package/package.json +7 -7
- package/dist/selfCheck-CNo4uzGB.mjs +0 -84
package/dist/lib.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var api = require('./api-
|
|
4
|
-
var logger = require('./logger-
|
|
5
|
-
var configuration = require('./configuration-
|
|
3
|
+
var api = require('./api-BWX10o97.cjs');
|
|
4
|
+
var logger = require('./logger-LvwVeATU.cjs');
|
|
5
|
+
var configuration = require('./configuration-DZPy0T9Z.cjs');
|
|
6
6
|
var types = require('./types-CRS-srZK.cjs');
|
|
7
7
|
require('axios');
|
|
8
|
-
require('./lidState-
|
|
8
|
+
require('./lidState-DxbK0qfu.cjs');
|
|
9
9
|
require('./authRelay-BdYkC1Po.cjs');
|
|
10
10
|
require('node:crypto');
|
|
11
11
|
require('tweetnacl');
|
|
@@ -13,13 +13,13 @@ require('os');
|
|
|
13
13
|
require('child_process');
|
|
14
14
|
require('node:events');
|
|
15
15
|
require('socket.io-client');
|
|
16
|
-
require('./attachmentLimits-
|
|
16
|
+
require('./attachmentLimits-DtFqqiwR.cjs');
|
|
17
17
|
require('zod');
|
|
18
|
-
require('./index-
|
|
18
|
+
require('./index-De8L5lFK.cjs');
|
|
19
19
|
require('@paralleldrive/cuid2');
|
|
20
20
|
require('./limits-C-a7gr04.cjs');
|
|
21
|
-
require('./time-
|
|
22
|
-
require('./registerCommonHandlers-
|
|
21
|
+
require('./time-Dg5tVB8S.cjs');
|
|
22
|
+
require('./registerCommonHandlers-60VuTkdg.cjs');
|
|
23
23
|
require('util');
|
|
24
24
|
require('fs/promises');
|
|
25
25
|
require('crypto');
|
|
@@ -27,10 +27,10 @@ require('path');
|
|
|
27
27
|
require('cross-spawn');
|
|
28
28
|
require('./projectPath-ChLhdOyt.cjs');
|
|
29
29
|
require('url');
|
|
30
|
-
require('./sync-
|
|
30
|
+
require('./sync-C7sxoUYG.cjs');
|
|
31
31
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
32
|
-
require('./controlClient-
|
|
33
|
-
require('./persistence-
|
|
32
|
+
require('./controlClient-SX8gSza2.cjs');
|
|
33
|
+
require('./persistence-DXbKOHxl.cjs');
|
|
34
34
|
require('node:fs/promises');
|
|
35
35
|
require('node:fs');
|
|
36
36
|
require('./contentLogMetadata-ZSFk_NjQ.cjs');
|
|
@@ -38,7 +38,7 @@ require('chalk');
|
|
|
38
38
|
require('node:util');
|
|
39
39
|
require('node:path');
|
|
40
40
|
require('node:os');
|
|
41
|
-
require('./package-
|
|
41
|
+
require('./package-Ch9WGDV_.cjs');
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
package/dist/lib.d.cts
CHANGED
|
@@ -1285,9 +1285,15 @@ declare class ApiSessionClient extends EventEmitter {
|
|
|
1285
1285
|
* unique constraint swallow every envelope after the first. */
|
|
1286
1286
|
localIdFor?: (envelopeIndex: number) => string;
|
|
1287
1287
|
}): void;
|
|
1288
|
+
/**
|
|
1289
|
+
* Returns true when a `turn-end` envelope went out, false when no turn was
|
|
1290
|
+
* open to close (B-631: the web renders a failed turn-end's `error` as its
|
|
1291
|
+
* own line, so a launcher sends the matching session event only when this
|
|
1292
|
+
* says the turn-end did not carry it).
|
|
1293
|
+
*/
|
|
1288
1294
|
closeClaudeSessionTurn(status?: SessionTurnEndStatus, meta?: {
|
|
1289
1295
|
error?: string;
|
|
1290
|
-
}):
|
|
1296
|
+
}): boolean;
|
|
1291
1297
|
sendCodexMessage(body: any): void;
|
|
1292
1298
|
private enqueueSessionProtocolEnvelope;
|
|
1293
1299
|
sendSessionProtocolMessage(envelope: SessionEnvelope, localId?: string): void;
|
package/dist/lib.d.mts
CHANGED
|
@@ -1285,9 +1285,15 @@ declare class ApiSessionClient extends EventEmitter {
|
|
|
1285
1285
|
* unique constraint swallow every envelope after the first. */
|
|
1286
1286
|
localIdFor?: (envelopeIndex: number) => string;
|
|
1287
1287
|
}): void;
|
|
1288
|
+
/**
|
|
1289
|
+
* Returns true when a `turn-end` envelope went out, false when no turn was
|
|
1290
|
+
* open to close (B-631: the web renders a failed turn-end's `error` as its
|
|
1291
|
+
* own line, so a launcher sends the matching session event only when this
|
|
1292
|
+
* says the turn-end did not carry it).
|
|
1293
|
+
*/
|
|
1288
1294
|
closeClaudeSessionTurn(status?: SessionTurnEndStatus, meta?: {
|
|
1289
1295
|
error?: string;
|
|
1290
|
-
}):
|
|
1296
|
+
}): boolean;
|
|
1291
1297
|
sendCodexMessage(body: any): void;
|
|
1292
1298
|
private enqueueSessionProtocolEnvelope;
|
|
1293
1299
|
sendSessionProtocolMessage(envelope: SessionEnvelope, localId?: string): void;
|
package/dist/lib.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { A as ApiClient, a as ApiSessionClient } from './api-
|
|
2
|
-
export { l as logger } from './logger-
|
|
3
|
-
export { c as configuration } from './configuration-
|
|
1
|
+
export { A as ApiClient, a as ApiSessionClient } from './api-CKBViqI3.mjs';
|
|
2
|
+
export { l as logger } from './logger-13cBr_ew.mjs';
|
|
3
|
+
export { c as configuration } from './configuration-D55F0t16.mjs';
|
|
4
4
|
export { R as RawJSONLinesSchema } from './types-CkqAACXx.mjs';
|
|
5
5
|
import 'axios';
|
|
6
|
-
import './lidState-
|
|
6
|
+
import './lidState-BqVsw7H1.mjs';
|
|
7
7
|
import './authRelay-DSAvg1uv.mjs';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'tweetnacl';
|
|
@@ -11,13 +11,13 @@ import 'os';
|
|
|
11
11
|
import 'child_process';
|
|
12
12
|
import 'node:events';
|
|
13
13
|
import 'socket.io-client';
|
|
14
|
-
import './attachmentLimits-
|
|
14
|
+
import './attachmentLimits-Di1Z93lN.mjs';
|
|
15
15
|
import 'zod';
|
|
16
|
-
import './index-
|
|
16
|
+
import './index-DMy3OCBe.mjs';
|
|
17
17
|
import '@paralleldrive/cuid2';
|
|
18
18
|
import './limits-DIo7rEBR.mjs';
|
|
19
|
-
import './time-
|
|
20
|
-
import './registerCommonHandlers-
|
|
19
|
+
import './time-yEL6wHUF.mjs';
|
|
20
|
+
import './registerCommonHandlers-D8OMpBbQ.mjs';
|
|
21
21
|
import 'util';
|
|
22
22
|
import 'fs/promises';
|
|
23
23
|
import 'crypto';
|
|
@@ -25,10 +25,10 @@ import 'path';
|
|
|
25
25
|
import 'cross-spawn';
|
|
26
26
|
import './projectPath-BTBIMB57.mjs';
|
|
27
27
|
import 'url';
|
|
28
|
-
import './sync-
|
|
29
|
-
import './backgroundTaskActivity-
|
|
30
|
-
import './controlClient-
|
|
31
|
-
import './persistence-
|
|
28
|
+
import './sync-C3p7-KLn.mjs';
|
|
29
|
+
import './backgroundTaskActivity-BVwJBl02.mjs';
|
|
30
|
+
import './controlClient-C4xB5J6O.mjs';
|
|
31
|
+
import './persistence-C_tYtOqK.mjs';
|
|
32
32
|
import 'node:fs/promises';
|
|
33
33
|
import 'node:fs';
|
|
34
34
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
@@ -36,4 +36,4 @@ import 'chalk';
|
|
|
36
36
|
import 'node:util';
|
|
37
37
|
import 'node:path';
|
|
38
38
|
import 'node:os';
|
|
39
|
-
import './package-
|
|
39
|
+
import './package-CjlsAaRe.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
1
|
+
import { l as logger } from './logger-13cBr_ew.mjs';
|
|
2
2
|
import { e as encodeBase64, g as encrypt, h as decrypt, d as decodeBase64 } from './authRelay-DSAvg1uv.mjs';
|
|
3
3
|
import os from 'os';
|
|
4
4
|
import { execSync } from 'child_process';
|
|
@@ -4,7 +4,7 @@ import { join } from 'node:path';
|
|
|
4
4
|
import tweetnacl from 'tweetnacl';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { c as credentialRelayProblem, d as decodeBase64 } from './authRelay-DSAvg1uv.mjs';
|
|
7
|
-
import { c as configuration } from './configuration-
|
|
7
|
+
import { c as configuration } from './configuration-D55F0t16.mjs';
|
|
8
8
|
|
|
9
9
|
const AgentCredentialsSchema = z.object({
|
|
10
10
|
token: z.string().min(1),
|
|
@@ -6,7 +6,7 @@ var path = require('node:path');
|
|
|
6
6
|
var tweetnacl = require('tweetnacl');
|
|
7
7
|
var z = require('zod');
|
|
8
8
|
var authRelay = require('./authRelay-BdYkC1Po.cjs');
|
|
9
|
-
var configuration = require('./configuration-
|
|
9
|
+
var configuration = require('./configuration-DZPy0T9Z.cjs');
|
|
10
10
|
|
|
11
11
|
const AgentCredentialsSchema = z.z.object({
|
|
12
12
|
token: z.z.string().min(1),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
2
|
import { inspect } from 'node:util';
|
|
3
|
-
import { d as appendPrivateFileSync, c as configuration } from './configuration-
|
|
3
|
+
import { d as appendPrivateFileSync, c as configuration } from './configuration-D55F0t16.mjs';
|
|
4
4
|
import { existsSync, readdirSync, statSync } from 'node:fs';
|
|
5
5
|
import { join, basename } from 'node:path';
|
|
6
6
|
|
|
@@ -236,7 +236,7 @@ async function listDaemonLogFiles(limit = 50) {
|
|
|
236
236
|
return { file, path: fullPath, modified: stats.mtime };
|
|
237
237
|
}).sort((a, b) => b.modified.getTime() - a.modified.getTime());
|
|
238
238
|
try {
|
|
239
|
-
const { readDaemonState } = await import('./persistence-
|
|
239
|
+
const { readDaemonState } = await import('./persistence-C_tYtOqK.mjs').then(function (n) { return n.E; });
|
|
240
240
|
const state = await readDaemonState();
|
|
241
241
|
if (!state) {
|
|
242
242
|
return logs;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var node_util = require('node:util');
|
|
5
|
-
var configuration = require('./configuration-
|
|
5
|
+
var configuration = require('./configuration-DZPy0T9Z.cjs');
|
|
6
6
|
var node_fs = require('node:fs');
|
|
7
7
|
var path = require('node:path');
|
|
8
8
|
|
|
@@ -238,7 +238,7 @@ async function listDaemonLogFiles(limit = 50) {
|
|
|
238
238
|
return { file, path: fullPath, modified: stats.mtime };
|
|
239
239
|
}).sort((a, b) => b.modified.getTime() - a.modified.getTime());
|
|
240
240
|
try {
|
|
241
|
-
const { readDaemonState } = await Promise.resolve().then(function () { return require('./persistence-
|
|
241
|
+
const { readDaemonState } = await Promise.resolve().then(function () { return require('./persistence-DXbKOHxl.cjs'); }).then(function (n) { return n.persistence; });
|
|
242
242
|
const state = await readDaemonState();
|
|
243
243
|
if (!state) {
|
|
244
244
|
return logs;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var os = require('node:os');
|
|
4
|
-
var _package = require('./package-
|
|
5
|
-
var configuration = require('./configuration-
|
|
4
|
+
var _package = require('./package-Ch9WGDV_.cjs');
|
|
5
|
+
var configuration = require('./configuration-DZPy0T9Z.cjs');
|
|
6
6
|
var projectPath = require('./projectPath-ChLhdOyt.cjs');
|
|
7
7
|
var detectCLI = require('./detectCLI-DR9ZaN6B.cjs');
|
|
8
|
-
var localHappyAgentAuth = require('./localHappyAgentAuth-
|
|
8
|
+
var localHappyAgentAuth = require('./localHappyAgentAuth-D5tANdRD.cjs');
|
|
9
9
|
|
|
10
10
|
function buildInitialMachineMetadata(cliAvailability) {
|
|
11
11
|
const hostSuffix = process.env.HAPPY_VARIANT === "dev" ? "-dev" : "";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import os from 'node:os';
|
|
2
|
-
import { p as packageJson } from './package-
|
|
3
|
-
import { c as configuration } from './configuration-
|
|
2
|
+
import { p as packageJson } from './package-CjlsAaRe.mjs';
|
|
3
|
+
import { c as configuration } from './configuration-D55F0t16.mjs';
|
|
4
4
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
5
5
|
import { d as detectCLIAvailability } from './detectCLI-CSGMlV51.mjs';
|
|
6
|
-
import { d as detectResumeSupport } from './localHappyAgentAuth-
|
|
6
|
+
import { d as detectResumeSupport } from './localHappyAgentAuth-Ce8kO2yc.mjs';
|
|
7
7
|
|
|
8
8
|
function buildInitialMachineMetadata(cliAvailability) {
|
|
9
9
|
const hostSuffix = process.env.HAPPY_VARIANT === "dev" ? "-dev" : "";
|
|
@@ -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-LvwVeATU.cjs');
|
|
5
|
+
var persistence = require('./persistence-DXbKOHxl.cjs');
|
|
6
|
+
var auth = require('./auth-CTECt2Oz.cjs');
|
|
7
|
+
var _package = require('./package-Ch9WGDV_.cjs');
|
|
8
8
|
var z = require('zod');
|
|
9
|
-
var controlClient = require('./controlClient-
|
|
9
|
+
var controlClient = require('./controlClient-SX8gSza2.cjs');
|
|
10
10
|
var daemonSupervisor = require('./daemonSupervisor-B-SPSqhs.cjs');
|
|
11
|
-
var spawnHappyCLI = require('./spawnHappyCLI-
|
|
11
|
+
var spawnHappyCLI = require('./spawnHappyCLI-ChniczJ5.cjs');
|
|
12
12
|
var node_child_process = require('node:child_process');
|
|
13
|
-
var ensureDaemonRunning = require('./ensureDaemonRunning-
|
|
13
|
+
var ensureDaemonRunning = require('./ensureDaemonRunning-7Wb8M7Lv.cjs');
|
|
14
14
|
var startupPlan = require('./startupPlan-BLMbfQIH.cjs');
|
|
15
|
-
var index = require('./index-
|
|
16
|
-
var configuration = require('./configuration-
|
|
15
|
+
var index = require('./index-D9NoYc5I.cjs');
|
|
16
|
+
var configuration = require('./configuration-DZPy0T9Z.cjs');
|
|
17
17
|
var doctorReadiness = require('./doctorReadiness-BCZGcN0a.cjs');
|
|
18
|
-
var piRunnerArgs = require('./piRunnerArgs-
|
|
18
|
+
var piRunnerArgs = require('./piRunnerArgs-BVRZe2AR.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-Dg5tVB8S.cjs');
|
|
29
|
+
require('./browser-DG6Uof5O.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-CsLtn_PL.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-BsN3JZJn.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-DNxVmVbn.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-Wz-XZYXW.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-Cu9mMzjx.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-Db9Wuam3.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-BdTXEUPe.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-DRyNAqD8.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-BJblG_Hx.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-2Vb5eppI.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-OmuUGYjQ.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-6hW19gsq.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-DhdrvOLV.cjs'); });
|
|
296
|
+
const { readCredentialsForConfiguredRelay: readCredentialsForConfiguredRelay2 } = await Promise.resolve().then(function () { return require('./persistence-DXbKOHxl.cjs'); }).then(function (n) { return n.persistence; });
|
|
297
|
+
const { ApiClient } = await Promise.resolve().then(function () { return require('./api-BWX10o97.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-DhdrvOLV.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-BtZqGFkp.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-y_PRo2NY.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-BRJzH4sc.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-BRJzH4sc.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-D8q8G57u.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-DNxVmVbn.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-CUcFamGs.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-D7O7TpVU.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-D1ypjjfx.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-DQv3caXs.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-DZ5jU53c.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-BsN3JZJn.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-1qn-D9FS.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-7oLuhYIu.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-ClRhHpwR.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-BWX10o97.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(
|