very-happy-cli 0.2.167 → 0.2.169
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-kFZlee5E.mjs → AcpBackend-BxN2W-8F.mjs} +3 -3
- package/dist/{AcpBackend-D1IKJGz_.cjs → AcpBackend-CoVFHN6M.cjs} +3 -3
- package/dist/{BasePermissionHandler-DS0kRTNI.mjs → BasePermissionHandler-BhhK4ufw.mjs} +1 -1
- package/dist/{BasePermissionHandler-DHxYAK5L.cjs → BasePermissionHandler-DFKRyvRk.cjs} +1 -1
- package/dist/{BaseReasoningProcessor-CsjVdt_H.cjs → BaseReasoningProcessor-DLXmSsD9.cjs} +1 -1
- package/dist/{BaseReasoningProcessor-BRtCCt7q.mjs → BaseReasoningProcessor-IXMLQola.mjs} +1 -1
- package/dist/{agentHome-Ct-VXFeG.mjs → agentHome-BqIbAFvU.mjs} +4 -4
- package/dist/{agentHome-DeAWzhSe.cjs → agentHome-XhRZDl_8.cjs} +4 -4
- package/dist/{api-CReZazeT.mjs → api-D9feoPQW.mjs} +8 -8
- package/dist/{api-BZYLRDM9.cjs → api-XE5qHl20.cjs} +8 -8
- package/dist/{apiMachine-CWndf1Vn.mjs → apiMachine-DLanfJvJ.mjs} +13 -13
- package/dist/{apiMachine-BgMxGPsR.cjs → apiMachine-so4PtT7S.cjs} +13 -13
- package/dist/{attachmentContent-j875mwU7.mjs → attachmentContent-BmhATDAI.mjs} +1 -1
- package/dist/{attachmentContent-HcJqFQW8.cjs → attachmentContent-iNWSZTn-.cjs} +1 -1
- package/dist/{auth-CFS9Lfgv.mjs → auth-BGC7jIeG.mjs} +5 -5
- package/dist/{auth-Myr2Q42x.cjs → auth-BbdPGp0-.cjs} +8 -8
- package/dist/{auth-VzWpbo5P.cjs → auth-D8Xbw1i7.cjs} +5 -5
- package/dist/{auth-BIHuc7vY.mjs → auth-ESPV0RuP.mjs} +8 -8
- package/dist/{auto-Bf6Dr7_o.cjs → auto-BQOEIFwp.cjs} +13 -13
- package/dist/{auto-Df9-zmuN.mjs → auto-BaXaunaW.mjs} +13 -13
- package/dist/{bootstrap-BSOxYpaP.mjs → bootstrap-BLFDzpTX.mjs} +2 -2
- package/dist/{bootstrap-Dj8WBiR2.cjs → bootstrap-uA_VRbq6.cjs} +2 -2
- package/dist/{browser-BoCV40yC.cjs → browser-B9DbZY5S.cjs} +1 -1
- package/dist/{browser-BCFIHOvo.mjs → browser-D2iQWs3k.mjs} +1 -1
- package/dist/{claudeLocal-D5-eA9SC.mjs → claudeLocal-CRwWssN_.mjs} +4 -4
- package/dist/{claudeLocal-CGsq7Kul.cjs → claudeLocal-qaR-k7K7.cjs} +4 -4
- package/dist/{claudeLocalLauncher-C9Cc438l.mjs → claudeLocalLauncher-BRyssxjy.mjs} +9 -9
- package/dist/{claudeLocalLauncher-Cf9QeYDT.cjs → claudeLocalLauncher-Cg3ZOJvz.cjs} +9 -9
- package/dist/{claudeSessionFork-Byd8zD1U.cjs → claudeSessionFork-C0DCh9Eq.cjs} +1 -1
- package/dist/{claudeSessionFork-CMzAva8G.mjs → claudeSessionFork-DyVlndIF.mjs} +1 -1
- package/dist/{client-C7FYMer0.mjs → client-BXJf8MP8.mjs} +2 -2
- package/dist/{client-Dsfy_SAb.mjs → client-CKsWQ0CB.mjs} +3 -3
- package/dist/{client-D0T5-6Ds.cjs → client-CQiLeZYO.cjs} +2 -2
- package/dist/{client-BKnKRLSt.cjs → client-Lze38C0i.cjs} +3 -3
- package/dist/codex/happyMcpStdioBridge.cjs +14 -14
- package/dist/codex/happyMcpStdioBridge.mjs +14 -14
- package/dist/{codexAppServerClient-TiW9OBk4.cjs → codexAppServerClient-C2anWi8P.cjs} +3 -3
- package/dist/{codexAppServerClient-Dd_4TxHv.mjs → codexAppServerClient-P1KeiWAL.mjs} +3 -3
- package/dist/{codexCommand-Bxryqh90.cjs → codexCommand-BEtvy5KA.cjs} +38 -38
- package/dist/{codexCommand-BZSr4MKI.mjs → codexCommand-DticONFg.mjs} +38 -38
- package/dist/{config-DXPash-r.cjs → config-CJJ0m0Hy.cjs} +3 -3
- package/dist/{config-C_Pj7yxV.mjs → config-ONvwYlDy.mjs} +3 -3
- package/dist/{configuration-WspKd2C2.mjs → configuration-DsEb3uSR.mjs} +1 -1
- package/dist/{configuration-C3piBtxY.cjs → configuration-vd98cU5s.cjs} +1 -1
- package/dist/{connect-DGPZs5px.mjs → connect-B-Xf43JR.mjs} +11 -11
- package/dist/{connect-BN-IBElA.cjs → connect-BNu_olIj.cjs} +11 -11
- package/dist/{context-Jrq4-eCZ.cjs → context-BglK-uQU.cjs} +1 -1
- package/dist/{context-Cr6a3NTg.mjs → context-J9onyv6j.mjs} +1 -1
- package/dist/{controlClient-BI6Fw3fQ.cjs → controlClient-8EMcMnZ7.cjs} +3 -3
- package/dist/{controlClient-DTheOlvC.mjs → controlClient-BJ_kMzJp.mjs} +3 -3
- package/dist/{createSessionMetadata-zQSz3hgk.cjs → createSessionMetadata-4BIuLaXd.cjs} +2 -2
- package/dist/{createSessionMetadata-BEZ4DIDA.mjs → createSessionMetadata-wSmMShgh.mjs} +2 -2
- package/dist/daemonSupervisor-B-SPSqhs.cjs +13 -0
- package/dist/daemonSupervisor-C6urv3_8.mjs +10 -0
- package/dist/{defaultPermissionMode-DNKNzk7l.cjs → defaultPermissionMode-DodwUf8f.cjs} +2 -2
- package/dist/{defaultPermissionMode-Cif_RHGb.mjs → defaultPermissionMode-kwzK91Z5.mjs} +2 -2
- package/dist/{deterministicJson-BMMifViN.mjs → deterministicJson-BE--xzCB.mjs} +8 -8
- package/dist/{deterministicJson-C7O2ulKY.cjs → deterministicJson-CX9sRkSw.cjs} +8 -8
- package/dist/{doctor-D1KKyPzB.mjs → doctor-7a_2qR9U.mjs} +8 -7
- package/dist/{doctor-BykBaMTr.cjs → doctor-dhZlGUDN.cjs} +8 -7
- package/dist/{downloadTarget-CWTb2-EM.cjs → downloadTarget-C3bWfjVw.cjs} +6 -6
- package/dist/{downloadTarget-Cp48jrIP.mjs → downloadTarget-XjmBJhax.mjs} +6 -6
- package/dist/{ensureDaemonRunning-Ba5fYoxb.mjs → ensureDaemonRunning-B48wg_28.mjs} +5 -5
- package/dist/{ensureDaemonRunning-CCxX7MoP.cjs → ensureDaemonRunning-C_CtXvBm.cjs} +5 -5
- package/dist/{handleResumeCommand-yPdDQHqz.cjs → handleResumeCommand-B1fpHyMa.cjs} +5 -5
- package/dist/{handleResumeCommand-BTUGlNjB.mjs → handleResumeCommand-Bx1W2trq.mjs} +5 -5
- package/dist/{index-BjhKqDa0.cjs → index-By3SzVnN.cjs} +3 -3
- package/dist/{index-PNMQPKhz.cjs → index-CHHuoaN5.cjs} +4 -4
- package/dist/{index-D8m8Ripb.mjs → index-Ck8syuwO.mjs} +4 -4
- package/dist/{index-CE2GgPbr.mjs → index-D6WijXzL.mjs} +33 -33
- package/dist/{index-DifM62wX.cjs → index-DkXElN6H.cjs} +32 -32
- package/dist/{index-C3_83bqS.mjs → index-erMKdhA1.mjs} +3 -3
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-CqZVeze8.cjs → install-DpAjCfux.cjs} +3 -3
- package/dist/{install-C0-QFn9s.mjs → install-Dzk7clHU.mjs} +3 -3
- package/dist/lib.cjs +10 -10
- package/dist/lib.mjs +10 -10
- package/dist/{lidState-Bc2K9H9l.cjs → lidState-Bn28XGju.cjs} +1 -1
- package/dist/{lidState-B2ZxdREe.mjs → lidState-CuLz-aoW.mjs} +1 -1
- package/dist/{localHappyAgentAuth-B5XPEMwk.mjs → localHappyAgentAuth-CImf4dFr.mjs} +1 -1
- package/dist/{localHappyAgentAuth-T5GOvRha.cjs → localHappyAgentAuth-Cix2HInR.cjs} +1 -1
- package/dist/{logger-B_MWPbZz.cjs → logger-CEXN6kmp.cjs} +2 -2
- package/dist/{logger-CbBv3q_b.mjs → logger-k6qJWglF.mjs} +2 -2
- package/dist/{machineMetadata-BafS4JY8.cjs → machineMetadata-B2ugbwH1.cjs} +3 -3
- package/dist/{machineMetadata-DHg238U4.mjs → machineMetadata-CmrkhOp5.mjs} +3 -3
- package/dist/{main-DXAK0n7x.mjs → main-BHlWnntt.mjs} +54 -46
- package/dist/{main-DNrA0qBy.cjs → main-i9AIapzR.cjs} +55 -47
- package/dist/{mcp-BotAjCdD.mjs → mcp-C3-c1CFs.mjs} +14 -14
- package/dist/{mcp-AvPOhDXy.cjs → mcp-DRwndcmD.cjs} +14 -14
- package/dist/{mirrorProtocol-BwHm8odn.mjs → mirrorProtocol-D513S1GL.mjs} +2 -2
- package/dist/{mirrorProtocol-BdcN6QlN.cjs → mirrorProtocol-Djl9Q8uu.cjs} +2 -2
- package/dist/{package-C9ZP9bpX.cjs → package-CRtabc_k.cjs} +7 -7
- package/dist/{package-DU1DxhH9.mjs → package-CgOyeL63.mjs} +7 -7
- package/dist/{peerTools-Dkbu7gag.cjs → peerTools-B1dYfQ7B.cjs} +4 -4
- package/dist/{peerTools-os2DVjA0.mjs → peerTools-FzG7askS.mjs} +4 -4
- package/dist/{persistence-BYGl0QYw.cjs → persistence-Ctx5X33x.cjs} +2 -2
- package/dist/{persistence-ON0zpHfb.mjs → persistence-bZj6UA2E.mjs} +2 -2
- package/dist/piRunnerArgs-BSyuUDxd.cjs +85 -0
- package/dist/piRunnerArgs-C19zYJL2.mjs +77 -0
- package/dist/{piRuntime-CmEid-wu.mjs → piRuntime-D9ShcveW.mjs} +1 -1
- package/dist/{piRuntime-CDnILlCd.cjs → piRuntime-DY2jBhuI.cjs} +1 -1
- package/dist/{piTerminal-0eNlXSlL.mjs → piTerminal-C6xULple.mjs} +16 -16
- package/dist/{piTerminal-B57TgMON.cjs → piTerminal-D0VK-jbN.cjs} +16 -16
- package/dist/{rateLimitWindows-CusGIqlq.cjs → rateLimitWindows-D-EW-lEj.cjs} +1 -1
- package/dist/{rateLimitWindows-vZ9Bo7aT.mjs → rateLimitWindows-DGc4kAYD.mjs} +1 -1
- package/dist/{registerCommonHandlers-B0PVff2U.mjs → registerCommonHandlers-DQpM0V0X.mjs} +2 -2
- package/dist/{registerCommonHandlers-DVYB3iVn.cjs → registerCommonHandlers-DyOrHehH.cjs} +2 -2
- package/dist/{registerKillSessionHandler-BwXGKtg_.cjs → registerKillSessionHandler-BImofTKb.cjs} +4 -4
- package/dist/{registerKillSessionHandler-BJMHJHXe.mjs → registerKillSessionHandler-CRA-VRN4.mjs} +4 -4
- package/dist/{remoteSessionClient-PyUAIhwK.cjs → remoteSessionClient-BpE2d0AX.cjs} +5 -5
- package/dist/{remoteSessionClient-BzPXSC21.mjs → remoteSessionClient-DdXD_5Wc.mjs} +5 -5
- package/dist/{reportProgressTool-D4KB_4cP.cjs → reportProgressTool-B9ldkvU1.cjs} +1 -1
- package/dist/{reportProgressTool-BvB13EwC.mjs → reportProgressTool-u4bosT7t.mjs} +1 -1
- package/dist/{run-O2M8LsWf.mjs → run-ChuQWCKp.mjs} +31 -30
- package/dist/{run-BC8jzq_h.cjs → run-gofkmliK.cjs} +36 -35
- package/dist/{runClaude-DGkr5E7s.mjs → runClaude-0pC7HBnA.mjs} +19 -19
- package/dist/{runClaude-C7jPa8VP.cjs → runClaude-CJnltZOa.cjs} +19 -19
- package/dist/{runClaudeDeps-CX_TxS78.mjs → runClaudeDeps-CNQNIpQx.mjs} +37 -35
- package/dist/{runClaudeDeps-5kzncqME.cjs → runClaudeDeps-CshkSVOb.cjs} +32 -30
- package/dist/{runGemini-CwmGBH3L.mjs → runGemini-5W4Dnj7m.mjs} +30 -30
- package/dist/{runGemini-BfYA4Uqc.cjs → runGemini-Ns6jeEA2.cjs} +30 -30
- package/dist/{runOpenClaw-BYAPYFyL.mjs → runOpenClaw-DfFkU3-O.mjs} +15 -15
- package/dist/{runOpenClaw-C72jut7v.cjs → runOpenClaw-Do_WGJCf.cjs} +15 -15
- package/dist/{sandbox-DlVnK1Vi.mjs → sandbox-BWoD_LBI.mjs} +4 -4
- package/dist/{sandbox-Bqkp8IT7.cjs → sandbox-Hno1cl_S.cjs} +4 -4
- package/dist/selfCheck-Drx33sE6.mjs +84 -0
- package/dist/{selfCheck-B4lLZplk.cjs → selfCheck-LCw56wT7.cjs} +34 -34
- package/dist/{send-B5bWW9Tl.mjs → send-8KoLgWt8.mjs} +8 -8
- package/dist/{send-BCwS6n_s.cjs → send-Bher02Ax.cjs} +8 -8
- package/dist/{server-CEJfRQfj.mjs → server-DgBa6T42.mjs} +4 -4
- package/dist/{server-CFWZehnC.cjs → server-HoyYfWCW.cjs} +6 -6
- package/dist/{sessionLock-AwOYsKT7.mjs → sessionLock-CbwG3sl6.mjs} +3 -3
- package/dist/{sessionLock-LBWNjpHf.cjs → sessionLock-DFfIJvgI.cjs} +3 -3
- package/dist/{sessionModeFile-CyPuZRIU.cjs → sessionModeFile-BMam0iW1.cjs} +1 -1
- package/dist/{sessionModeFile-fvFn1JVG.mjs → sessionModeFile-w5gtxQBn.mjs} +1 -1
- package/dist/{sessionOps-DzbZI3Eq.cjs → sessionOps-BLVcPdDi.cjs} +4 -4
- package/dist/{sessionOps-DZRH4-hV.mjs → sessionOps-DnUAnxVE.mjs} +4 -4
- package/dist/{sessionScanner-i-cgwFVw.cjs → sessionScanner-BC1mVMSY.cjs} +3 -3
- package/dist/{sessionScanner-Q_Ei2flB.mjs → sessionScanner-PgdVrboP.mjs} +3 -3
- package/dist/{sessions-DYK5hD4T.cjs → sessions-CTQcVANM.cjs} +9 -9
- package/dist/{sessions-DAmjMAZN.mjs → sessions-DOaMkmer.mjs} +9 -9
- package/dist/{setupOfflineReconnection-C2LO3hSP.cjs → setupOfflineReconnection-BN9nwZ8a.cjs} +2 -2
- package/dist/{setupOfflineReconnection-BfDBxNdo.mjs → setupOfflineReconnection-hyo8-S36.mjs} +2 -2
- package/dist/{spawn-BmjG5j5Y.mjs → spawn-B9Audcd3.mjs} +11 -11
- package/dist/{spawn-GK_sXE8h.cjs → spawn-CDaVoyIe.cjs} +11 -11
- package/dist/{spawnHappyCLI-B2h0P4b5.mjs → spawnHappyCLI-BGumffaQ.mjs} +1 -1
- package/dist/{spawnHappyCLI-J4iEhfyZ.cjs → spawnHappyCLI-CJ_cYzH8.cjs} +1 -1
- package/dist/{specialCommands-DmJMKspE.cjs → specialCommands-B22t4ROw.cjs} +3 -3
- package/dist/{specialCommands-DisVxagO.mjs → specialCommands-D4gAJ8N-.mjs} +3 -3
- package/dist/{startFileWatcher-xKo8AoYl.cjs → startFileWatcher-DcwCNpAD.cjs} +1 -1
- package/dist/{startFileWatcher-CeK1k5gt.mjs → startFileWatcher-DeT20n_y.mjs} +1 -1
- package/dist/{sync-Bvc-vh6C.cjs → sync-BviZKBic.cjs} +1 -1
- package/dist/{sync-CCwYpJMS.mjs → sync-Db2dkpCS.mjs} +1 -1
- package/dist/{systemPrompt-BNIkP3tR.mjs → systemPrompt-B1VipGm3.mjs} +1 -1
- package/dist/{systemPrompt-DwOddbuG.cjs → systemPrompt-CeWW2NZa.cjs} +1 -1
- package/dist/{teams-GHMCRZOw.cjs → teams-Dfap3oPT.cjs} +6 -6
- package/dist/{teams-DRrLBcys.mjs → teams-FWeQ-3dR.mjs} +6 -6
- package/dist/{time-BXvtjhe9.cjs → time-B7ohOI_y.cjs} +1 -1
- package/dist/{time-PG5Dfwdv.mjs → time-CGvsjDND.mjs} +1 -1
- package/dist/{titleGenerator-CIzfpfZW.mjs → titleGenerator-CMzDSyFs.mjs} +1 -1
- package/dist/{titleGenerator-B07bZA0V.cjs → titleGenerator-OWMYoWvP.cjs} +2 -2
- package/dist/{todo-B0aeoNu3.cjs → todo-ClSKkrgg.cjs} +5 -5
- package/dist/{todo-CfL7SBFc.mjs → todo-DyFlR8ta.mjs} +5 -5
- package/dist/{tools-DJIANHSh.cjs → tools-DYIZ8Xc1.cjs} +1 -1
- package/dist/{tools-D91mq5Ib.mjs → tools-PNyBTN3e.mjs} +1 -1
- package/dist/{uninstall-AtzOfdrj.cjs → uninstall-DR-b8fla.cjs} +3 -3
- package/dist/{uninstall-5xz3Xvhf.mjs → uninstall-Dg_AEwLz.mjs} +3 -3
- package/package.json +7 -7
- package/dist/piRunnerArgs-CYsnT9sV.mjs +0 -59
- package/dist/piRunnerArgs-DpbvstUX.cjs +0 -66
- package/dist/selfCheck-DYTGBdIO.mjs +0 -84
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var node_fs = require('node:fs');
|
|
5
5
|
var path$1 = require('node:path');
|
|
6
|
-
var controlClient = require('./controlClient-
|
|
7
|
-
var persistence = require('./persistence-
|
|
6
|
+
var controlClient = require('./controlClient-8EMcMnZ7.cjs');
|
|
7
|
+
var persistence = require('./persistence-Ctx5X33x.cjs');
|
|
8
8
|
var spawnAgents = require('./spawnAgents-vglexX9N.cjs');
|
|
9
9
|
var path = require('./path-B7zW-WwE.cjs');
|
|
10
|
-
var claudeSessionFork = require('./claudeSessionFork-
|
|
11
|
-
var codexAppServerClient = require('./codexAppServerClient-
|
|
10
|
+
var claudeSessionFork = require('./claudeSessionFork-C0DCh9Eq.cjs');
|
|
11
|
+
var codexAppServerClient = require('./codexAppServerClient-C2anWi8P.cjs');
|
|
12
12
|
var codexThreadFork = require('./codexThreadFork-DNekT4nQ.cjs');
|
|
13
|
-
var sessionOps = require('./sessionOps-
|
|
14
|
-
var createSessionMetadata = require('./createSessionMetadata-
|
|
15
|
-
var logger = require('./logger-
|
|
13
|
+
var sessionOps = require('./sessionOps-BLVcPdDi.cjs');
|
|
14
|
+
var createSessionMetadata = require('./createSessionMetadata-4BIuLaXd.cjs');
|
|
15
|
+
var logger = require('./logger-CEXN6kmp.cjs');
|
|
16
16
|
var forkBackfill = require('./forkBackfill-8eLDeS73.cjs');
|
|
17
|
-
require('./configuration-
|
|
17
|
+
require('./configuration-vd98cU5s.cjs');
|
|
18
18
|
require('node:os');
|
|
19
|
-
require('./package-
|
|
19
|
+
require('./package-CRtabc_k.cjs');
|
|
20
20
|
require('node:fs/promises');
|
|
21
21
|
require('zod');
|
|
22
22
|
require('./authRelay-BdYkC1Po.cjs');
|
|
@@ -30,9 +30,9 @@ require('cross-spawn');
|
|
|
30
30
|
require('./contentLogMetadata-ZSFk_NjQ.cjs');
|
|
31
31
|
require('./manager-HrEj442o.cjs');
|
|
32
32
|
require('@anthropic-ai/sandbox-runtime');
|
|
33
|
-
require('./rateLimitWindows-
|
|
33
|
+
require('./rateLimitWindows-D-EW-lEj.cjs');
|
|
34
34
|
require('axios');
|
|
35
|
-
require('./time-
|
|
35
|
+
require('./time-B7ohOI_y.cjs');
|
|
36
36
|
require('socket.io-client');
|
|
37
37
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
38
38
|
require('./projectPath-ChLhdOyt.cjs');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { spawn } from 'cross-spawn';
|
|
2
2
|
import { join } from 'node:path';
|
|
3
3
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
4
|
-
import { l as logger } from './logger-
|
|
4
|
+
import { l as logger } from './logger-k6qJWglF.mjs';
|
|
5
5
|
import { existsSync } from 'node:fs';
|
|
6
6
|
|
|
7
7
|
let cachedRuntime = null;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var spawn = require('cross-spawn');
|
|
4
4
|
var path = require('node:path');
|
|
5
5
|
var projectPath = require('./projectPath-ChLhdOyt.cjs');
|
|
6
|
-
var logger = require('./logger-
|
|
6
|
+
var logger = require('./logger-CEXN6kmp.cjs');
|
|
7
7
|
var node_fs = require('node:fs');
|
|
8
8
|
|
|
9
9
|
let cachedRuntime = null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var controlClient = require('./controlClient-
|
|
5
|
-
var rateLimitWindows = require('./rateLimitWindows-
|
|
3
|
+
var logger = require('./logger-CEXN6kmp.cjs');
|
|
4
|
+
var controlClient = require('./controlClient-8EMcMnZ7.cjs');
|
|
5
|
+
var rateLimitWindows = require('./rateLimitWindows-D-EW-lEj.cjs');
|
|
6
6
|
|
|
7
7
|
function createRateLimitReporter(send, now = Date.now) {
|
|
8
8
|
const last = /* @__PURE__ */ new Map();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import { r as reportRateLimitsToDaemon } from './controlClient-
|
|
3
|
-
import { f as fromCodexRateLimits, a as fromClaudeRateLimitInfo, r as rateLimitReportSignature, R as RATE_LIMIT_OBSERVED_REFRESH_MS } from './rateLimitWindows-
|
|
1
|
+
import { l as logger } from './logger-k6qJWglF.mjs';
|
|
2
|
+
import { r as reportRateLimitsToDaemon } from './controlClient-BJ_kMzJp.mjs';
|
|
3
|
+
import { f as fromCodexRateLimits, a as fromClaudeRateLimitInfo, r as rateLimitReportSignature, R as RATE_LIMIT_OBSERVED_REFRESH_MS } from './rateLimitWindows-DGc4kAYD.mjs';
|
|
4
4
|
|
|
5
5
|
function createRateLimitReporter(send, now = Date.now) {
|
|
6
6
|
const last = /* @__PURE__ */ new Map();
|
|
@@ -4,17 +4,17 @@ var os = require('node:os');
|
|
|
4
4
|
var promises = require('node:fs/promises');
|
|
5
5
|
var z = require('zod');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
|
-
var client = require('./client-
|
|
8
|
-
var persistence = require('./persistence-
|
|
7
|
+
var client = require('./client-Lze38C0i.cjs');
|
|
8
|
+
var persistence = require('./persistence-Ctx5X33x.cjs');
|
|
9
9
|
var install = require('./install-Cf6AFSWC.cjs');
|
|
10
|
-
require('./configuration-
|
|
10
|
+
require('./configuration-vd98cU5s.cjs');
|
|
11
11
|
require('node:fs');
|
|
12
12
|
require('node:path');
|
|
13
|
-
require('./package-
|
|
14
|
-
require('./context-
|
|
13
|
+
require('./package-CRtabc_k.cjs');
|
|
14
|
+
require('./context-BglK-uQU.cjs');
|
|
15
15
|
require('./authRelay-BdYkC1Po.cjs');
|
|
16
16
|
require('tweetnacl');
|
|
17
|
-
require('./logger-
|
|
17
|
+
require('./logger-CEXN6kmp.cjs');
|
|
18
18
|
require('chalk');
|
|
19
19
|
require('node:util');
|
|
20
20
|
require('./resources-JDPugcDq.cjs');
|
|
@@ -2,17 +2,17 @@ import { homedir } from 'node:os';
|
|
|
2
2
|
import { readFile } from 'node:fs/promises';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
|
-
import { t as teamRequest, c as createTeamsClient } from './client-
|
|
6
|
-
import { c as readCredentialsForConfiguredRelay } from './persistence-
|
|
5
|
+
import { t as teamRequest, c as createTeamsClient } from './client-CKsWQ0CB.mjs';
|
|
6
|
+
import { c as readCredentialsForConfiguredRelay } from './persistence-bZj6UA2E.mjs';
|
|
7
7
|
import { a as installTeamSkill, i as installAutomationSkill } from './install-BdvKiOQw.mjs';
|
|
8
|
-
import './configuration-
|
|
8
|
+
import './configuration-DsEb3uSR.mjs';
|
|
9
9
|
import 'node:fs';
|
|
10
10
|
import 'node:path';
|
|
11
|
-
import './package-
|
|
12
|
-
import './context-
|
|
11
|
+
import './package-CgOyeL63.mjs';
|
|
12
|
+
import './context-J9onyv6j.mjs';
|
|
13
13
|
import './authRelay-DSAvg1uv.mjs';
|
|
14
14
|
import 'tweetnacl';
|
|
15
|
-
import './logger-
|
|
15
|
+
import './logger-k6qJWglF.mjs';
|
|
16
16
|
import 'chalk';
|
|
17
17
|
import 'node:util';
|
|
18
18
|
import './resources-BdFBQi8r.mjs';
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { T as TITLE_PROMPT_PREFIX } from './oneShotPrompts-DT4p6RNd.mjs';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
5
|
import { resolve, join } from 'node:path';
|
|
6
|
-
import { l as logger } from './logger-
|
|
6
|
+
import { l as logger } from './logger-k6qJWglF.mjs';
|
|
7
7
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
8
8
|
|
|
9
9
|
const MAX_PROMPT_SAMPLE_CHARS = 500;
|
|
@@ -5,7 +5,7 @@ var module$1 = require('node:module');
|
|
|
5
5
|
var oneShotPrompts = require('./oneShotPrompts-CL0dip9C.cjs');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
7
|
var path = require('node:path');
|
|
8
|
-
var logger = require('./logger-
|
|
8
|
+
var logger = require('./logger-CEXN6kmp.cjs');
|
|
9
9
|
var projectPath = require('./projectPath-ChLhdOyt.cjs');
|
|
10
10
|
|
|
11
11
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
@@ -14,7 +14,7 @@ const MAX_TITLE_CHARS = 60;
|
|
|
14
14
|
const GENERATION_TIMEOUT_MS = 3e4;
|
|
15
15
|
function resolveClaudeBinary() {
|
|
16
16
|
try {
|
|
17
|
-
const require$1 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('titleGenerator-
|
|
17
|
+
const require$1 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('titleGenerator-OWMYoWvP.cjs', document.baseURI).href)));
|
|
18
18
|
const utilsPath = path.resolve(path.join(projectPath.projectPath(), "scripts", "claude_version_utils.cjs"));
|
|
19
19
|
const { getClaudeCliPath } = require$1(utilsPath);
|
|
20
20
|
const path$1 = getClaudeCliPath();
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var configuration = require('./configuration-
|
|
3
|
+
var configuration = require('./configuration-vd98cU5s.cjs');
|
|
4
4
|
var index = require('./index-C9hI8a10.cjs');
|
|
5
|
-
var persistence = require('./persistence-
|
|
6
|
-
var context = require('./context-
|
|
5
|
+
var persistence = require('./persistence-Ctx5X33x.cjs');
|
|
6
|
+
var context = require('./context-BglK-uQU.cjs');
|
|
7
7
|
require('node:fs');
|
|
8
8
|
require('node:os');
|
|
9
9
|
require('node:path');
|
|
10
|
-
require('./package-
|
|
10
|
+
require('./package-CRtabc_k.cjs');
|
|
11
11
|
require('node:fs/promises');
|
|
12
12
|
require('zod');
|
|
13
13
|
require('@paralleldrive/cuid2');
|
|
14
14
|
require('./authRelay-BdYkC1Po.cjs');
|
|
15
15
|
require('node:crypto');
|
|
16
16
|
require('tweetnacl');
|
|
17
|
-
require('./logger-
|
|
17
|
+
require('./logger-CEXN6kmp.cjs');
|
|
18
18
|
require('chalk');
|
|
19
19
|
require('node:util');
|
|
20
20
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { c as configuration } from './configuration-
|
|
1
|
+
import { c as configuration } from './configuration-DsEb3uSR.mjs';
|
|
2
2
|
import { d as createBuiltinTodoClient, B as BUILTIN_TODO_SKILL } from './index-B0HEEYGh.mjs';
|
|
3
|
-
import { c as readCredentialsForConfiguredRelay } from './persistence-
|
|
4
|
-
import { r as readTeamScope, t as teamScopePath } from './context-
|
|
3
|
+
import { c as readCredentialsForConfiguredRelay } from './persistence-bZj6UA2E.mjs';
|
|
4
|
+
import { r as readTeamScope, t as teamScopePath } from './context-J9onyv6j.mjs';
|
|
5
5
|
import 'node:fs';
|
|
6
6
|
import 'node:os';
|
|
7
7
|
import 'node:path';
|
|
8
|
-
import './package-
|
|
8
|
+
import './package-CgOyeL63.mjs';
|
|
9
9
|
import 'node:fs/promises';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import '@paralleldrive/cuid2';
|
|
12
12
|
import './authRelay-DSAvg1uv.mjs';
|
|
13
13
|
import 'node:crypto';
|
|
14
14
|
import 'tweetnacl';
|
|
15
|
-
import './logger-
|
|
15
|
+
import './logger-k6qJWglF.mjs';
|
|
16
16
|
import 'chalk';
|
|
17
17
|
import 'node:util';
|
|
18
18
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var z = require('zod');
|
|
4
|
-
var client = require('./client-
|
|
4
|
+
var client = require('./client-Lze38C0i.cjs');
|
|
5
5
|
|
|
6
6
|
const TEAM_TOOL_NAMES = ["team_create", "team_join", "team_inspect", "team_delegate", "team_message", "team_submit", "team_accept", "team_return", "team_cancel", "team_handoff", "team_schedule_create", "team_schedule_pause", "team_schedule_resume", "team_schedule_cancel"];
|
|
7
7
|
const id = z.z.string().min(1).max(128);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { c as createTeamsClient } from './client-
|
|
2
|
+
import { c as createTeamsClient } from './client-CKsWQ0CB.mjs';
|
|
3
3
|
|
|
4
4
|
const TEAM_TOOL_NAMES = ["team_create", "team_join", "team_inspect", "team_delegate", "team_message", "team_submit", "team_accept", "team_return", "team_cancel", "team_handoff", "team_schedule_create", "team_schedule_pause", "team_schedule_resume", "team_schedule_cancel"];
|
|
5
5
|
const id = z.string().min(1).max(128);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
3
|
+
var logger = require('./logger-CEXN6kmp.cjs');
|
|
4
4
|
var fs = require('fs');
|
|
5
5
|
var child_process = require('child_process');
|
|
6
6
|
require('chalk');
|
|
7
7
|
require('node:util');
|
|
8
|
-
require('./configuration-
|
|
8
|
+
require('./configuration-vd98cU5s.cjs');
|
|
9
9
|
require('node:fs');
|
|
10
10
|
require('node:os');
|
|
11
11
|
require('node:path');
|
|
12
|
-
require('./package-
|
|
12
|
+
require('./package-CRtabc_k.cjs');
|
|
13
13
|
require('node:fs/promises');
|
|
14
14
|
|
|
15
15
|
const PLIST_LABEL = "com.happy-cli.daemon";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
1
|
+
import { l as logger } from './logger-k6qJWglF.mjs';
|
|
2
2
|
import { existsSync, unlinkSync } from 'fs';
|
|
3
3
|
import { execSync } from 'child_process';
|
|
4
4
|
import 'chalk';
|
|
5
5
|
import 'node:util';
|
|
6
|
-
import './configuration-
|
|
6
|
+
import './configuration-DsEb3uSR.mjs';
|
|
7
7
|
import 'node:fs';
|
|
8
8
|
import 'node:os';
|
|
9
9
|
import 'node:path';
|
|
10
|
-
import './package-
|
|
10
|
+
import './package-CgOyeL63.mjs';
|
|
11
11
|
import 'node:fs/promises';
|
|
12
12
|
|
|
13
13
|
const PLIST_LABEL = "com.happy-cli.daemon";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "very-happy-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.169",
|
|
4
4
|
"description": "Remote multi-agent workspace CLI with deep Claude integration, native terminal streaming, and self-hosting.",
|
|
5
5
|
"author": "Kirill Dubovitskiy",
|
|
6
6
|
"contributors": [
|
|
@@ -117,12 +117,12 @@
|
|
|
117
117
|
"zod": "^4.0.0"
|
|
118
118
|
},
|
|
119
119
|
"optionalDependencies": {
|
|
120
|
-
"very-happy-tools-arm64-darwin": "0.2.
|
|
121
|
-
"very-happy-tools-x64-darwin": "0.2.
|
|
122
|
-
"very-happy-tools-arm64-linux": "0.2.
|
|
123
|
-
"very-happy-tools-x64-linux": "0.2.
|
|
124
|
-
"very-happy-tools-arm64-win32": "0.2.
|
|
125
|
-
"very-happy-tools-x64-win32": "0.2.
|
|
120
|
+
"very-happy-tools-arm64-darwin": "0.2.169",
|
|
121
|
+
"very-happy-tools-x64-darwin": "0.2.169",
|
|
122
|
+
"very-happy-tools-arm64-linux": "0.2.169",
|
|
123
|
+
"very-happy-tools-x64-linux": "0.2.169",
|
|
124
|
+
"very-happy-tools-arm64-win32": "0.2.169",
|
|
125
|
+
"very-happy-tools-x64-win32": "0.2.169"
|
|
126
126
|
},
|
|
127
127
|
"devDependencies": {
|
|
128
128
|
"@slopus/happy-wire": "workspace:*",
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { n as normalizeAcpPermissionMode } from './sessionModeFile-fvFn1JVG.mjs';
|
|
2
|
-
|
|
3
|
-
function detectDaemonSupervisor(env, platform = process.platform) {
|
|
4
|
-
const explicit = env.HAPPY_DAEMON_SUPERVISOR?.trim().toLowerCase();
|
|
5
|
-
if (explicit === "systemd") return "systemd";
|
|
6
|
-
if (explicit === "none") return "none";
|
|
7
|
-
if (platform === "linux" && typeof env.INVOCATION_ID === "string" && env.INVOCATION_ID.trim() !== "") return "systemd";
|
|
8
|
-
return "none";
|
|
9
|
-
}
|
|
10
|
-
const SYSTEMD_RESTART_HINT = "systemctl --user restart very-happy-daemon";
|
|
11
|
-
|
|
12
|
-
function sanitizeSpawnModel(value) {
|
|
13
|
-
if (typeof value !== "string") return null;
|
|
14
|
-
return /^[A-Za-z0-9][A-Za-z0-9._:/-]{0,255}(\[1m\])?$/i.test(value) ? value : null;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
const IGNORED_FLAGS_WITH_VALUE = /* @__PURE__ */ new Set(["--happy-starting-mode"]);
|
|
18
|
-
const PI_ADAPTER_INSTALL_HINT = "very-happy pi needs the pi-acp adapter on PATH: npm install -g pi-acp@0.0.33";
|
|
19
|
-
function piAdapterMissingHint(detail) {
|
|
20
|
-
return detail && /ENOENT/.test(detail) ? PI_ADAPTER_INSTALL_HINT : null;
|
|
21
|
-
}
|
|
22
|
-
function parsePiRunnerArgs(args) {
|
|
23
|
-
const parsed = { verbose: false, passthrough: [] };
|
|
24
|
-
for (let i = 0; i < args.length; i++) {
|
|
25
|
-
const arg = args[i];
|
|
26
|
-
if (arg === "--") {
|
|
27
|
-
parsed.passthrough.push(...args.slice(i + 1));
|
|
28
|
-
break;
|
|
29
|
-
}
|
|
30
|
-
if (arg === "--started-by") {
|
|
31
|
-
const value = args[++i];
|
|
32
|
-
if (value === "daemon" || value === "terminal") parsed.startedBy = value;
|
|
33
|
-
continue;
|
|
34
|
-
}
|
|
35
|
-
if (arg === "--verbose") {
|
|
36
|
-
parsed.verbose = true;
|
|
37
|
-
continue;
|
|
38
|
-
}
|
|
39
|
-
if (arg === "--model") {
|
|
40
|
-
const model = sanitizeSpawnModel(args[++i]);
|
|
41
|
-
if (!model) throw new Error("Invalid --model identifier");
|
|
42
|
-
parsed.model = model;
|
|
43
|
-
continue;
|
|
44
|
-
}
|
|
45
|
-
if (arg === "--permission-mode") {
|
|
46
|
-
const mode = normalizeAcpPermissionMode(args[++i]);
|
|
47
|
-
if (mode) parsed.permissionMode = mode;
|
|
48
|
-
continue;
|
|
49
|
-
}
|
|
50
|
-
if (IGNORED_FLAGS_WITH_VALUE.has(arg)) {
|
|
51
|
-
i++;
|
|
52
|
-
continue;
|
|
53
|
-
}
|
|
54
|
-
throw new Error(`Unknown option for very-happy pi: ${arg} (use -- to pass args to pi-acp)`);
|
|
55
|
-
}
|
|
56
|
-
return parsed;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export { PI_ADAPTER_INSTALL_HINT as P, SYSTEMD_RESTART_HINT as S, piAdapterMissingHint as a, detectDaemonSupervisor as d, parsePiRunnerArgs as p, sanitizeSpawnModel as s };
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var sessionModeFile = require('./sessionModeFile-CyPuZRIU.cjs');
|
|
4
|
-
|
|
5
|
-
function detectDaemonSupervisor(env, platform = process.platform) {
|
|
6
|
-
const explicit = env.HAPPY_DAEMON_SUPERVISOR?.trim().toLowerCase();
|
|
7
|
-
if (explicit === "systemd") return "systemd";
|
|
8
|
-
if (explicit === "none") return "none";
|
|
9
|
-
if (platform === "linux" && typeof env.INVOCATION_ID === "string" && env.INVOCATION_ID.trim() !== "") return "systemd";
|
|
10
|
-
return "none";
|
|
11
|
-
}
|
|
12
|
-
const SYSTEMD_RESTART_HINT = "systemctl --user restart very-happy-daemon";
|
|
13
|
-
|
|
14
|
-
function sanitizeSpawnModel(value) {
|
|
15
|
-
if (typeof value !== "string") return null;
|
|
16
|
-
return /^[A-Za-z0-9][A-Za-z0-9._:/-]{0,255}(\[1m\])?$/i.test(value) ? value : null;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
const IGNORED_FLAGS_WITH_VALUE = /* @__PURE__ */ new Set(["--happy-starting-mode"]);
|
|
20
|
-
const PI_ADAPTER_INSTALL_HINT = "very-happy pi needs the pi-acp adapter on PATH: npm install -g pi-acp@0.0.33";
|
|
21
|
-
function piAdapterMissingHint(detail) {
|
|
22
|
-
return detail && /ENOENT/.test(detail) ? PI_ADAPTER_INSTALL_HINT : null;
|
|
23
|
-
}
|
|
24
|
-
function parsePiRunnerArgs(args) {
|
|
25
|
-
const parsed = { verbose: false, passthrough: [] };
|
|
26
|
-
for (let i = 0; i < args.length; i++) {
|
|
27
|
-
const arg = args[i];
|
|
28
|
-
if (arg === "--") {
|
|
29
|
-
parsed.passthrough.push(...args.slice(i + 1));
|
|
30
|
-
break;
|
|
31
|
-
}
|
|
32
|
-
if (arg === "--started-by") {
|
|
33
|
-
const value = args[++i];
|
|
34
|
-
if (value === "daemon" || value === "terminal") parsed.startedBy = value;
|
|
35
|
-
continue;
|
|
36
|
-
}
|
|
37
|
-
if (arg === "--verbose") {
|
|
38
|
-
parsed.verbose = true;
|
|
39
|
-
continue;
|
|
40
|
-
}
|
|
41
|
-
if (arg === "--model") {
|
|
42
|
-
const model = sanitizeSpawnModel(args[++i]);
|
|
43
|
-
if (!model) throw new Error("Invalid --model identifier");
|
|
44
|
-
parsed.model = model;
|
|
45
|
-
continue;
|
|
46
|
-
}
|
|
47
|
-
if (arg === "--permission-mode") {
|
|
48
|
-
const mode = sessionModeFile.normalizeAcpPermissionMode(args[++i]);
|
|
49
|
-
if (mode) parsed.permissionMode = mode;
|
|
50
|
-
continue;
|
|
51
|
-
}
|
|
52
|
-
if (IGNORED_FLAGS_WITH_VALUE.has(arg)) {
|
|
53
|
-
i++;
|
|
54
|
-
continue;
|
|
55
|
-
}
|
|
56
|
-
throw new Error(`Unknown option for very-happy pi: ${arg} (use -- to pass args to pi-acp)`);
|
|
57
|
-
}
|
|
58
|
-
return parsed;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
exports.PI_ADAPTER_INSTALL_HINT = PI_ADAPTER_INSTALL_HINT;
|
|
62
|
-
exports.SYSTEMD_RESTART_HINT = SYSTEMD_RESTART_HINT;
|
|
63
|
-
exports.detectDaemonSupervisor = detectDaemonSupervisor;
|
|
64
|
-
exports.parsePiRunnerArgs = parsePiRunnerArgs;
|
|
65
|
-
exports.piAdapterMissingHint = piAdapterMissingHint;
|
|
66
|
-
exports.sanitizeSpawnModel = sanitizeSpawnModel;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { p as packageJson } from './package-DU1DxhH9.mjs';
|
|
2
|
-
|
|
3
|
-
const LAZY_MODULES = [
|
|
4
|
-
// Entry
|
|
5
|
-
["main", () => import('./main-DXAK0n7x.mjs')],
|
|
6
|
-
["selfCheck", () => Promise.resolve().then(function () { return selfCheck; })],
|
|
7
|
-
// Subcommands (main.ts)
|
|
8
|
-
["api/api", () => import('./api-CReZazeT.mjs').then(function (n) { return n.b; })],
|
|
9
|
-
["claude/claudeCliPath", () => import('./claudeCliPath-BqkaH2oR.mjs')],
|
|
10
|
-
["claude/runClaude", () => import('./runClaude-DGkr5E7s.mjs')],
|
|
11
|
-
["commands/agentHome", () => import('./agentHome-Ct-VXFeG.mjs')],
|
|
12
|
-
["commands/auth", () => import('./auth-BIHuc7vY.mjs')],
|
|
13
|
-
["commands/auto", () => import('./auto-Df9-zmuN.mjs')],
|
|
14
|
-
["commands/codexCommand", () => import('./codexCommand-BZSr4MKI.mjs')],
|
|
15
|
-
["commands/connect", () => import('./connect-DGPZs5px.mjs')],
|
|
16
|
-
["commands/installPiTools", () => import('./installPiTools-B_CdM5_2.mjs')],
|
|
17
|
-
["commands/installTerminalHooks", () => import('./installTerminalHooks-By7gBMEF.mjs')],
|
|
18
|
-
["commands/mcp", () => import('./mcp-BotAjCdD.mjs')],
|
|
19
|
-
["commands/piTerminal", () => import('./piTerminal-0eNlXSlL.mjs')],
|
|
20
|
-
["commands/sandbox", () => import('./sandbox-DlVnK1Vi.mjs')],
|
|
21
|
-
["commands/send", () => import('./send-B5bWW9Tl.mjs')],
|
|
22
|
-
["commands/server", () => import('./server-CEJfRQfj.mjs')],
|
|
23
|
-
["commands/sessions", () => import('./sessions-DAmjMAZN.mjs')],
|
|
24
|
-
["commands/spawn", () => import('./spawn-BmjG5j5Y.mjs')],
|
|
25
|
-
["commands/teams", () => import('./teams-DRrLBcys.mjs')],
|
|
26
|
-
["commands/todo", () => import('./todo-CfL7SBFc.mjs')],
|
|
27
|
-
["daemon/doctor", () => import('./doctor-BPkYWSuq.mjs')],
|
|
28
|
-
["daemon/install", () => import('./install-C0-QFn9s.mjs')],
|
|
29
|
-
["daemon/run", () => import('./run-O2M8LsWf.mjs')],
|
|
30
|
-
["daemon/uninstall", () => import('./uninstall-5xz3Xvhf.mjs')],
|
|
31
|
-
["resume/handleResumeCommand", () => import('./handleResumeCommand-BTUGlNjB.mjs')],
|
|
32
|
-
["ui/doctor", () => import('./doctor-D1KKyPzB.mjs').then(function (n) { return n.d; })],
|
|
33
|
-
["agent/acp", () => import('./index-CE2GgPbr.mjs')],
|
|
34
|
-
["gemini/runGemini", () => import('./runGemini-CwmGBH3L.mjs')],
|
|
35
|
-
["gemini/utils/config", () => import('./config-C_Pj7yxV.mjs')],
|
|
36
|
-
["openclaw/runOpenClaw", () => import('./runOpenClaw-BYAPYFyL.mjs')],
|
|
37
|
-
["persistence", () => import('./persistence-ON0zpHfb.mjs').then(function (n) { return n.E; })],
|
|
38
|
-
// Deferred halves of the runners and clients
|
|
39
|
-
["api/apiMachine", () => import('./apiMachine-CWndf1Vn.mjs')],
|
|
40
|
-
["claude/runClaudeDeps", () => import('./runClaudeDeps-CX_TxS78.mjs')],
|
|
41
|
-
["claude/claudeLocal", () => import('./claudeLocal-D5-eA9SC.mjs')],
|
|
42
|
-
["claude/claudeLocalLauncher", () => import('./claudeLocalLauncher-C9Cc438l.mjs')],
|
|
43
|
-
["claude/sdk", () => import('./index-B6UGRQ7h.mjs')],
|
|
44
|
-
["assistant/bootstrap", () => import('./bootstrap-BSOxYpaP.mjs')],
|
|
45
|
-
["agentHome", () => import('./index-D8m8Ripb.mjs')],
|
|
46
|
-
["ui/ink/RemoteModeDisplay", () => import('./RemoteModeDisplay-D-HewyXg.mjs')],
|
|
47
|
-
// External packages imported on demand
|
|
48
|
-
["expo-server-sdk", () => import('expo-server-sdk')],
|
|
49
|
-
["ink", () => import('ink')],
|
|
50
|
-
["react", () => import('react')]
|
|
51
|
-
];
|
|
52
|
-
|
|
53
|
-
async function runSelfCheck(modules = LAZY_MODULES) {
|
|
54
|
-
const failures = [];
|
|
55
|
-
for (const [name, load] of modules) {
|
|
56
|
-
try {
|
|
57
|
-
await load();
|
|
58
|
-
} catch (error) {
|
|
59
|
-
failures.push({ name, error: error instanceof Error ? error.message : String(error) });
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
return failures;
|
|
63
|
-
}
|
|
64
|
-
async function selfCheckMain(opts = {}) {
|
|
65
|
-
const started = Date.now();
|
|
66
|
-
const failures = await runSelfCheck();
|
|
67
|
-
if (failures.length > 0) {
|
|
68
|
-
for (const failure of failures) {
|
|
69
|
-
console.error(`very-happy: failed to load ${failure.name}: ${failure.error}`);
|
|
70
|
-
}
|
|
71
|
-
return 1;
|
|
72
|
-
}
|
|
73
|
-
if (opts.verbose) console.log(`self-check: ${LAZY_MODULES.length} modules loaded in ${Date.now() - started}ms`);
|
|
74
|
-
console.log(`very-happy version: ${packageJson.version}`);
|
|
75
|
-
return 0;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
var selfCheck = /*#__PURE__*/Object.freeze({
|
|
79
|
-
__proto__: null,
|
|
80
|
-
runSelfCheck: runSelfCheck,
|
|
81
|
-
selfCheckMain: selfCheckMain
|
|
82
|
-
});
|
|
83
|
-
|
|
84
|
-
export { runSelfCheck, selfCheckMain };
|