very-happy-cli 0.2.168 → 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-BoLDLYNT.mjs → AcpBackend-BxN2W-8F.mjs} +3 -3
- package/dist/{AcpBackend-r83MMm-i.cjs → AcpBackend-CoVFHN6M.cjs} +3 -3
- package/dist/{BasePermissionHandler-DTcVlmKi.mjs → BasePermissionHandler-BhhK4ufw.mjs} +1 -1
- package/dist/{BasePermissionHandler-CS0eRtT-.cjs → BasePermissionHandler-DFKRyvRk.cjs} +1 -1
- package/dist/{BaseReasoningProcessor-RJiBhA8h.cjs → BaseReasoningProcessor-DLXmSsD9.cjs} +1 -1
- package/dist/{BaseReasoningProcessor-BddnNlXQ.mjs → BaseReasoningProcessor-IXMLQola.mjs} +1 -1
- package/dist/{agentHome--LRsdUx6.mjs → agentHome-BqIbAFvU.mjs} +4 -4
- package/dist/{agentHome-D-e_j9hK.cjs → agentHome-XhRZDl_8.cjs} +4 -4
- package/dist/{api-hXLwtgMi.mjs → api-D9feoPQW.mjs} +8 -8
- package/dist/{api-COSJ3Yb7.cjs → api-XE5qHl20.cjs} +8 -8
- package/dist/{apiMachine-BauSXWNd.mjs → apiMachine-DLanfJvJ.mjs} +13 -13
- package/dist/{apiMachine-BTCUUGC6.cjs → apiMachine-so4PtT7S.cjs} +13 -13
- package/dist/{attachmentContent-CS0B2N0Q.mjs → attachmentContent-BmhATDAI.mjs} +1 -1
- package/dist/{attachmentContent-BCK0AxDS.cjs → attachmentContent-iNWSZTn-.cjs} +1 -1
- package/dist/{auth-BFeFguVs.mjs → auth-BGC7jIeG.mjs} +5 -5
- package/dist/{auth-CCj5KlYS.cjs → auth-BbdPGp0-.cjs} +8 -8
- package/dist/{auth-CfB2XcAW.cjs → auth-D8Xbw1i7.cjs} +5 -5
- package/dist/{auth-BUXH1L2k.mjs → auth-ESPV0RuP.mjs} +8 -8
- package/dist/{auto-ZCHKb4jo.cjs → auto-BQOEIFwp.cjs} +13 -13
- package/dist/{auto-D5BYdAoT.mjs → auto-BaXaunaW.mjs} +13 -13
- package/dist/{bootstrap-DklT121U.mjs → bootstrap-BLFDzpTX.mjs} +2 -2
- package/dist/{bootstrap-DSX64t23.cjs → bootstrap-uA_VRbq6.cjs} +2 -2
- package/dist/{browser-CeekQeKt.cjs → browser-B9DbZY5S.cjs} +1 -1
- package/dist/{browser-DUf1dth8.mjs → browser-D2iQWs3k.mjs} +1 -1
- package/dist/{claudeLocal-C8pXtb8q.mjs → claudeLocal-CRwWssN_.mjs} +4 -4
- package/dist/{claudeLocal-hH0YYex3.cjs → claudeLocal-qaR-k7K7.cjs} +4 -4
- package/dist/{claudeLocalLauncher-AtUe2tM-.mjs → claudeLocalLauncher-BRyssxjy.mjs} +9 -9
- package/dist/{claudeLocalLauncher-B-ta13pT.cjs → claudeLocalLauncher-Cg3ZOJvz.cjs} +9 -9
- package/dist/{claudeSessionFork-Cq9FBfjD.cjs → claudeSessionFork-C0DCh9Eq.cjs} +1 -1
- package/dist/{claudeSessionFork-BQPBKEHk.mjs → claudeSessionFork-DyVlndIF.mjs} +1 -1
- package/dist/{client-Cbl3ejoq.mjs → client-BXJf8MP8.mjs} +2 -2
- package/dist/{client-Bg6-mQKO.mjs → client-CKsWQ0CB.mjs} +3 -3
- package/dist/{client-EnFomCjx.cjs → client-CQiLeZYO.cjs} +2 -2
- package/dist/{client-DZpkmS5l.cjs → client-Lze38C0i.cjs} +3 -3
- package/dist/codex/happyMcpStdioBridge.cjs +14 -14
- package/dist/codex/happyMcpStdioBridge.mjs +14 -14
- package/dist/{codexAppServerClient-pllsN90-.cjs → codexAppServerClient-C2anWi8P.cjs} +3 -3
- package/dist/{codexAppServerClient-sWuwtddZ.mjs → codexAppServerClient-P1KeiWAL.mjs} +3 -3
- package/dist/{codexCommand-_jkx59gI.cjs → codexCommand-BEtvy5KA.cjs} +38 -38
- package/dist/{codexCommand-DbTkMlW4.mjs → codexCommand-DticONFg.mjs} +38 -38
- package/dist/{config-BuIIZPZK.cjs → config-CJJ0m0Hy.cjs} +3 -3
- package/dist/{config-FCOoREKj.mjs → config-ONvwYlDy.mjs} +3 -3
- package/dist/{configuration-BZo1JWNV.mjs → configuration-DsEb3uSR.mjs} +1 -1
- package/dist/{configuration-DeuGrnej.cjs → configuration-vd98cU5s.cjs} +1 -1
- package/dist/{connect-C2yHh85e.mjs → connect-B-Xf43JR.mjs} +11 -11
- package/dist/{connect-CjDdF12U.cjs → connect-BNu_olIj.cjs} +11 -11
- package/dist/{context-BhvZtm3j.cjs → context-BglK-uQU.cjs} +1 -1
- package/dist/{context-DZIIcfld.mjs → context-J9onyv6j.mjs} +1 -1
- package/dist/{controlClient-IDE3se23.cjs → controlClient-8EMcMnZ7.cjs} +3 -3
- package/dist/{controlClient-CXD-Xdny.mjs → controlClient-BJ_kMzJp.mjs} +3 -3
- package/dist/{createSessionMetadata-BCHFLSLk.cjs → createSessionMetadata-4BIuLaXd.cjs} +2 -2
- package/dist/{createSessionMetadata-DoLFya-Q.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-BtZtLdQz.cjs → defaultPermissionMode-DodwUf8f.cjs} +2 -2
- package/dist/{defaultPermissionMode-Dxfv-5Ud.mjs → defaultPermissionMode-kwzK91Z5.mjs} +2 -2
- package/dist/{deterministicJson-CF1fJMaM.mjs → deterministicJson-BE--xzCB.mjs} +8 -8
- package/dist/{deterministicJson-BqQKrUzw.cjs → deterministicJson-CX9sRkSw.cjs} +8 -8
- package/dist/{doctor-C98yYhYr.mjs → doctor-7a_2qR9U.mjs} +8 -7
- package/dist/{doctor-D61ncaeL.cjs → doctor-dhZlGUDN.cjs} +8 -7
- package/dist/{downloadTarget-Dist9t2e.cjs → downloadTarget-C3bWfjVw.cjs} +6 -6
- package/dist/{downloadTarget-CaISZbNy.mjs → downloadTarget-XjmBJhax.mjs} +6 -6
- package/dist/{ensureDaemonRunning-CNiqOarI.mjs → ensureDaemonRunning-B48wg_28.mjs} +5 -5
- package/dist/{ensureDaemonRunning-BB0hnWY_.cjs → ensureDaemonRunning-C_CtXvBm.cjs} +5 -5
- package/dist/{handleResumeCommand-CkzW-T_f.cjs → handleResumeCommand-B1fpHyMa.cjs} +5 -5
- package/dist/{handleResumeCommand-BzcANj0i.mjs → handleResumeCommand-Bx1W2trq.mjs} +5 -5
- package/dist/{index-DipBfs9w.cjs → index-By3SzVnN.cjs} +3 -3
- package/dist/{index-BQU1sS9K.cjs → index-CHHuoaN5.cjs} +4 -4
- package/dist/{index-Dgqk3lfG.mjs → index-Ck8syuwO.mjs} +4 -4
- package/dist/{index-CdmIOFwG.mjs → index-D6WijXzL.mjs} +33 -33
- package/dist/{index-BeeWN9Et.cjs → index-DkXElN6H.cjs} +32 -32
- package/dist/{index-D2hg_u5i.mjs → index-erMKdhA1.mjs} +3 -3
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-VtuffPLu.cjs → install-DpAjCfux.cjs} +3 -3
- package/dist/{install-CK1FvmYQ.mjs → install-Dzk7clHU.mjs} +3 -3
- package/dist/lib.cjs +10 -10
- package/dist/lib.mjs +10 -10
- package/dist/{lidState-2IT0tas7.cjs → lidState-Bn28XGju.cjs} +1 -1
- package/dist/{lidState-CJ3XkJRn.mjs → lidState-CuLz-aoW.mjs} +1 -1
- package/dist/{localHappyAgentAuth-DkLbntlf.mjs → localHappyAgentAuth-CImf4dFr.mjs} +1 -1
- package/dist/{localHappyAgentAuth-CPMh61Su.cjs → localHappyAgentAuth-Cix2HInR.cjs} +1 -1
- package/dist/{logger-Ockf1cjN.cjs → logger-CEXN6kmp.cjs} +2 -2
- package/dist/{logger-C6zzu57a.mjs → logger-k6qJWglF.mjs} +2 -2
- package/dist/{machineMetadata-CoMYwSlG.cjs → machineMetadata-B2ugbwH1.cjs} +3 -3
- package/dist/{machineMetadata-DmTGIZAV.mjs → machineMetadata-CmrkhOp5.mjs} +3 -3
- package/dist/{main-B8TX9xPq.mjs → main-BHlWnntt.mjs} +54 -46
- package/dist/{main-CThJ9JQb.cjs → main-i9AIapzR.cjs} +55 -47
- package/dist/{mcp-Yw93dOiW.mjs → mcp-C3-c1CFs.mjs} +14 -14
- package/dist/{mcp-Dwku1p2I.cjs → mcp-DRwndcmD.cjs} +14 -14
- package/dist/{mirrorProtocol-CQ5fAUgq.mjs → mirrorProtocol-D513S1GL.mjs} +2 -2
- package/dist/{mirrorProtocol-CdPhEBSh.cjs → mirrorProtocol-Djl9Q8uu.cjs} +2 -2
- package/dist/{package-DfoyJe1O.cjs → package-CRtabc_k.cjs} +7 -7
- package/dist/{package-5xAdq5fu.mjs → package-CgOyeL63.mjs} +7 -7
- package/dist/{peerTools-BEnBvEcU.cjs → peerTools-B1dYfQ7B.cjs} +4 -4
- package/dist/{peerTools-uDR6MG0-.mjs → peerTools-FzG7askS.mjs} +4 -4
- package/dist/{persistence-B5oT6oQ9.cjs → persistence-Ctx5X33x.cjs} +2 -2
- package/dist/{persistence-B6M_W5iC.mjs → persistence-bZj6UA2E.mjs} +2 -2
- package/dist/piRunnerArgs-BSyuUDxd.cjs +85 -0
- package/dist/piRunnerArgs-C19zYJL2.mjs +77 -0
- package/dist/{piRuntime-WMuI7f4q.mjs → piRuntime-D9ShcveW.mjs} +1 -1
- package/dist/{piRuntime-DkUg8_5q.cjs → piRuntime-DY2jBhuI.cjs} +1 -1
- package/dist/{piTerminal-4NBSZVxd.mjs → piTerminal-C6xULple.mjs} +16 -16
- package/dist/{piTerminal-Bskvs69Z.cjs → piTerminal-D0VK-jbN.cjs} +16 -16
- package/dist/{rateLimitWindows-C2-Ky86q.cjs → rateLimitWindows-D-EW-lEj.cjs} +1 -1
- package/dist/{rateLimitWindows-CJ1xDAxa.mjs → rateLimitWindows-DGc4kAYD.mjs} +1 -1
- package/dist/{registerCommonHandlers-BLHKlk5Z.mjs → registerCommonHandlers-DQpM0V0X.mjs} +2 -2
- package/dist/{registerCommonHandlers-COSTo15G.cjs → registerCommonHandlers-DyOrHehH.cjs} +2 -2
- package/dist/{registerKillSessionHandler-DDZISNzu.cjs → registerKillSessionHandler-BImofTKb.cjs} +4 -4
- package/dist/{registerKillSessionHandler-BVQfhSgm.mjs → registerKillSessionHandler-CRA-VRN4.mjs} +4 -4
- package/dist/{remoteSessionClient-B2pOMZRw.cjs → remoteSessionClient-BpE2d0AX.cjs} +5 -5
- package/dist/{remoteSessionClient-Dx0M2MXV.mjs → remoteSessionClient-DdXD_5Wc.mjs} +5 -5
- package/dist/{reportProgressTool-C5vDEv9Y.cjs → reportProgressTool-B9ldkvU1.cjs} +1 -1
- package/dist/{reportProgressTool-CcwFr0ek.mjs → reportProgressTool-u4bosT7t.mjs} +1 -1
- package/dist/{run-BZjIDOGM.mjs → run-ChuQWCKp.mjs} +31 -30
- package/dist/{run-BKTv1E-D.cjs → run-gofkmliK.cjs} +36 -35
- package/dist/{runClaude-DFa77Ffl.mjs → runClaude-0pC7HBnA.mjs} +19 -19
- package/dist/{runClaude-DUlFZWiK.cjs → runClaude-CJnltZOa.cjs} +19 -19
- package/dist/{runClaudeDeps-BYohagQU.mjs → runClaudeDeps-CNQNIpQx.mjs} +37 -35
- package/dist/{runClaudeDeps--TnER0c3.cjs → runClaudeDeps-CshkSVOb.cjs} +32 -30
- package/dist/{runGemini-CUiq1Zei.mjs → runGemini-5W4Dnj7m.mjs} +30 -30
- package/dist/{runGemini-BSBejXek.cjs → runGemini-Ns6jeEA2.cjs} +30 -30
- package/dist/{runOpenClaw-CgwRP4gR.mjs → runOpenClaw-DfFkU3-O.mjs} +15 -15
- package/dist/{runOpenClaw-DQFEi3E1.cjs → runOpenClaw-Do_WGJCf.cjs} +15 -15
- package/dist/{sandbox-BTwAN7Yi.mjs → sandbox-BWoD_LBI.mjs} +4 -4
- package/dist/{sandbox-DuLRfMY3.cjs → sandbox-Hno1cl_S.cjs} +4 -4
- package/dist/selfCheck-Drx33sE6.mjs +84 -0
- package/dist/{selfCheck-DuOLndWl.cjs → selfCheck-LCw56wT7.cjs} +34 -34
- package/dist/{send-ComZSvT5.mjs → send-8KoLgWt8.mjs} +8 -8
- package/dist/{send-Dl4TJ0Ia.cjs → send-Bher02Ax.cjs} +8 -8
- package/dist/{server-CXFSsyZx.mjs → server-DgBa6T42.mjs} +4 -4
- package/dist/{server-CWmamKcS.cjs → server-HoyYfWCW.cjs} +6 -6
- package/dist/{sessionLock-DCKf-gjd.mjs → sessionLock-CbwG3sl6.mjs} +3 -3
- package/dist/{sessionLock-BFD8cFNP.cjs → sessionLock-DFfIJvgI.cjs} +3 -3
- package/dist/{sessionModeFile-i-MVQRcU.cjs → sessionModeFile-BMam0iW1.cjs} +1 -1
- package/dist/{sessionModeFile-BYxsFSvc.mjs → sessionModeFile-w5gtxQBn.mjs} +1 -1
- package/dist/{sessionOps-BAQ_80Rg.cjs → sessionOps-BLVcPdDi.cjs} +4 -4
- package/dist/{sessionOps-CBXsQGV5.mjs → sessionOps-DnUAnxVE.mjs} +4 -4
- package/dist/{sessionScanner-Dth3iDCi.cjs → sessionScanner-BC1mVMSY.cjs} +3 -3
- package/dist/{sessionScanner-CwPBvQK2.mjs → sessionScanner-PgdVrboP.mjs} +3 -3
- package/dist/{sessions-BULd_RQt.cjs → sessions-CTQcVANM.cjs} +9 -9
- package/dist/{sessions-DYAqiUS0.mjs → sessions-DOaMkmer.mjs} +9 -9
- package/dist/{setupOfflineReconnection-DI8BQf_g.cjs → setupOfflineReconnection-BN9nwZ8a.cjs} +2 -2
- package/dist/{setupOfflineReconnection-Bo9xb30l.mjs → setupOfflineReconnection-hyo8-S36.mjs} +2 -2
- package/dist/{spawn-DmXpKIOT.mjs → spawn-B9Audcd3.mjs} +11 -11
- package/dist/{spawn-oikb5mUh.cjs → spawn-CDaVoyIe.cjs} +11 -11
- package/dist/{spawnHappyCLI-BCnZfffk.mjs → spawnHappyCLI-BGumffaQ.mjs} +1 -1
- package/dist/{spawnHappyCLI-Cs177BB4.cjs → spawnHappyCLI-CJ_cYzH8.cjs} +1 -1
- package/dist/{specialCommands-CmrwEh71.cjs → specialCommands-B22t4ROw.cjs} +3 -3
- package/dist/{specialCommands-xD4uOtdG.mjs → specialCommands-D4gAJ8N-.mjs} +3 -3
- package/dist/{startFileWatcher-S_Af_QPR.cjs → startFileWatcher-DcwCNpAD.cjs} +1 -1
- package/dist/{startFileWatcher-De7rN8QW.mjs → startFileWatcher-DeT20n_y.mjs} +1 -1
- package/dist/{sync-BS9_zSQ2.cjs → sync-BviZKBic.cjs} +1 -1
- package/dist/{sync-CHOB3Org.mjs → sync-Db2dkpCS.mjs} +1 -1
- package/dist/{systemPrompt-DNLUUejs.mjs → systemPrompt-B1VipGm3.mjs} +1 -1
- package/dist/{systemPrompt-D2ICcIsu.cjs → systemPrompt-CeWW2NZa.cjs} +1 -1
- package/dist/{teams-BUbESH6L.cjs → teams-Dfap3oPT.cjs} +6 -6
- package/dist/{teams-By3oBC7r.mjs → teams-FWeQ-3dR.mjs} +6 -6
- package/dist/{time-uSKpEhew.cjs → time-B7ohOI_y.cjs} +1 -1
- package/dist/{time-CN0jVVir.mjs → time-CGvsjDND.mjs} +1 -1
- package/dist/{titleGenerator-CegRJ47n.mjs → titleGenerator-CMzDSyFs.mjs} +1 -1
- package/dist/{titleGenerator-CLIXjn9b.cjs → titleGenerator-OWMYoWvP.cjs} +2 -2
- package/dist/{todo-Bg1vurv9.cjs → todo-ClSKkrgg.cjs} +5 -5
- package/dist/{todo-Bl3abqvy.mjs → todo-DyFlR8ta.mjs} +5 -5
- package/dist/{tools-DuWKlc0k.cjs → tools-DYIZ8Xc1.cjs} +1 -1
- package/dist/{tools-BcLUrC57.mjs → tools-PNyBTN3e.mjs} +1 -1
- package/dist/{uninstall-DWnj2XVT.cjs → uninstall-DR-b8fla.cjs} +3 -3
- package/dist/{uninstall-BlpZlM9U.mjs → uninstall-Dg_AEwLz.mjs} +3 -3
- package/package.json +7 -7
- package/dist/piRunnerArgs-MLN46-nK.cjs +0 -66
- package/dist/piRunnerArgs-vNIUWHqo.mjs +0 -59
- package/dist/selfCheck-DF26lf1b.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,66 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var sessionModeFile = require('./sessionModeFile-i-MVQRcU.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,59 +0,0 @@
|
|
|
1
|
-
import { n as normalizeAcpPermissionMode } from './sessionModeFile-BYxsFSvc.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,84 +0,0 @@
|
|
|
1
|
-
import { p as packageJson } from './package-5xAdq5fu.mjs';
|
|
2
|
-
|
|
3
|
-
const LAZY_MODULES = [
|
|
4
|
-
// Entry
|
|
5
|
-
["main", () => import('./main-B8TX9xPq.mjs')],
|
|
6
|
-
["selfCheck", () => Promise.resolve().then(function () { return selfCheck; })],
|
|
7
|
-
// Subcommands (main.ts)
|
|
8
|
-
["api/api", () => import('./api-hXLwtgMi.mjs').then(function (n) { return n.b; })],
|
|
9
|
-
["claude/claudeCliPath", () => import('./claudeCliPath-BqkaH2oR.mjs')],
|
|
10
|
-
["claude/runClaude", () => import('./runClaude-DFa77Ffl.mjs')],
|
|
11
|
-
["commands/agentHome", () => import('./agentHome--LRsdUx6.mjs')],
|
|
12
|
-
["commands/auth", () => import('./auth-BUXH1L2k.mjs')],
|
|
13
|
-
["commands/auto", () => import('./auto-D5BYdAoT.mjs')],
|
|
14
|
-
["commands/codexCommand", () => import('./codexCommand-DbTkMlW4.mjs')],
|
|
15
|
-
["commands/connect", () => import('./connect-C2yHh85e.mjs')],
|
|
16
|
-
["commands/installPiTools", () => import('./installPiTools-B_CdM5_2.mjs')],
|
|
17
|
-
["commands/installTerminalHooks", () => import('./installTerminalHooks-By7gBMEF.mjs')],
|
|
18
|
-
["commands/mcp", () => import('./mcp-Yw93dOiW.mjs')],
|
|
19
|
-
["commands/piTerminal", () => import('./piTerminal-4NBSZVxd.mjs')],
|
|
20
|
-
["commands/sandbox", () => import('./sandbox-BTwAN7Yi.mjs')],
|
|
21
|
-
["commands/send", () => import('./send-ComZSvT5.mjs')],
|
|
22
|
-
["commands/server", () => import('./server-CXFSsyZx.mjs')],
|
|
23
|
-
["commands/sessions", () => import('./sessions-DYAqiUS0.mjs')],
|
|
24
|
-
["commands/spawn", () => import('./spawn-DmXpKIOT.mjs')],
|
|
25
|
-
["commands/teams", () => import('./teams-By3oBC7r.mjs')],
|
|
26
|
-
["commands/todo", () => import('./todo-Bl3abqvy.mjs')],
|
|
27
|
-
["daemon/doctor", () => import('./doctor-BPkYWSuq.mjs')],
|
|
28
|
-
["daemon/install", () => import('./install-CK1FvmYQ.mjs')],
|
|
29
|
-
["daemon/run", () => import('./run-BZjIDOGM.mjs')],
|
|
30
|
-
["daemon/uninstall", () => import('./uninstall-BlpZlM9U.mjs')],
|
|
31
|
-
["resume/handleResumeCommand", () => import('./handleResumeCommand-BzcANj0i.mjs')],
|
|
32
|
-
["ui/doctor", () => import('./doctor-C98yYhYr.mjs').then(function (n) { return n.d; })],
|
|
33
|
-
["agent/acp", () => import('./index-CdmIOFwG.mjs')],
|
|
34
|
-
["gemini/runGemini", () => import('./runGemini-CUiq1Zei.mjs')],
|
|
35
|
-
["gemini/utils/config", () => import('./config-FCOoREKj.mjs')],
|
|
36
|
-
["openclaw/runOpenClaw", () => import('./runOpenClaw-CgwRP4gR.mjs')],
|
|
37
|
-
["persistence", () => import('./persistence-B6M_W5iC.mjs').then(function (n) { return n.E; })],
|
|
38
|
-
// Deferred halves of the runners and clients
|
|
39
|
-
["api/apiMachine", () => import('./apiMachine-BauSXWNd.mjs')],
|
|
40
|
-
["claude/runClaudeDeps", () => import('./runClaudeDeps-BYohagQU.mjs')],
|
|
41
|
-
["claude/claudeLocal", () => import('./claudeLocal-C8pXtb8q.mjs')],
|
|
42
|
-
["claude/claudeLocalLauncher", () => import('./claudeLocalLauncher-AtUe2tM-.mjs')],
|
|
43
|
-
["claude/sdk", () => import('./index-B6UGRQ7h.mjs')],
|
|
44
|
-
["assistant/bootstrap", () => import('./bootstrap-DklT121U.mjs')],
|
|
45
|
-
["agentHome", () => import('./index-Dgqk3lfG.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 };
|