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
|
@@ -2,15 +2,15 @@ import { existsSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
|
|
|
2
2
|
import { join } from 'path';
|
|
3
3
|
import { homedir } from 'os';
|
|
4
4
|
import { execSync } from 'child_process';
|
|
5
|
-
import { l as logger } from './logger-
|
|
5
|
+
import { l as logger } from './logger-k6qJWglF.mjs';
|
|
6
6
|
import { D as DEFAULT_GEMINI_MODEL, G as GEMINI_MODEL_ENV } from './constants-BC4St0xd.mjs';
|
|
7
7
|
import 'chalk';
|
|
8
8
|
import 'node:util';
|
|
9
|
-
import './configuration-
|
|
9
|
+
import './configuration-DsEb3uSR.mjs';
|
|
10
10
|
import 'node:fs';
|
|
11
11
|
import 'node:os';
|
|
12
12
|
import 'node:path';
|
|
13
|
-
import './package-
|
|
13
|
+
import './package-CgOyeL63.mjs';
|
|
14
14
|
import 'node:fs/promises';
|
|
15
15
|
import './trimIdent-BAjmv_TG.mjs';
|
|
16
16
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mkdirSync, chmodSync, readdirSync, statSync, appendFileSync, writeFileSync, existsSync, readFileSync } from 'node:fs';
|
|
2
2
|
import { homedir } from 'node:os';
|
|
3
3
|
import { join } from 'node:path';
|
|
4
|
-
import { p as packageJson } from './package-
|
|
4
|
+
import { p as packageJson } from './package-CgOyeL63.mjs';
|
|
5
5
|
import { mkdir, chmod, writeFile } from 'node:fs/promises';
|
|
6
6
|
|
|
7
7
|
const PRIVATE_DIRECTORY_MODE = 448;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var node_fs = require('node:fs');
|
|
4
4
|
var os = require('node:os');
|
|
5
5
|
var path = require('node:path');
|
|
6
|
-
var _package = require('./package-
|
|
6
|
+
var _package = require('./package-CRtabc_k.cjs');
|
|
7
7
|
var promises = require('node:fs/promises');
|
|
8
8
|
|
|
9
9
|
const PRIVATE_DIRECTORY_MODE = 448;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
2
|
import { homedir } from 'os';
|
|
3
3
|
import { join } from 'path';
|
|
4
|
-
import { c as readCredentialsForConfiguredRelay } from './persistence-
|
|
5
|
-
import { A as ApiClient } from './api-
|
|
6
|
-
import { f as ensurePrivateDirectorySync, w as writePrivateFileSync } from './configuration-
|
|
4
|
+
import { c as readCredentialsForConfiguredRelay } from './persistence-bZj6UA2E.mjs';
|
|
5
|
+
import { A as ApiClient } from './api-D9feoPQW.mjs';
|
|
6
|
+
import { f as ensurePrivateDirectorySync, w as writePrivateFileSync } from './configuration-DsEb3uSR.mjs';
|
|
7
7
|
import { createServer } from 'http';
|
|
8
8
|
import { randomBytes, createHash } from 'crypto';
|
|
9
|
-
import { o as openBrowser } from './browser-
|
|
9
|
+
import { o as openBrowser } from './browser-D2iQWs3k.mjs';
|
|
10
10
|
import { exec } from 'child_process';
|
|
11
11
|
import { promisify } from 'util';
|
|
12
12
|
import 'node:fs/promises';
|
|
@@ -15,29 +15,29 @@ import 'zod';
|
|
|
15
15
|
import './authRelay-DSAvg1uv.mjs';
|
|
16
16
|
import 'node:crypto';
|
|
17
17
|
import 'tweetnacl';
|
|
18
|
-
import './logger-
|
|
18
|
+
import './logger-k6qJWglF.mjs';
|
|
19
19
|
import 'node:util';
|
|
20
20
|
import 'node:path';
|
|
21
21
|
import 'axios';
|
|
22
|
-
import './lidState-
|
|
22
|
+
import './lidState-CuLz-aoW.mjs';
|
|
23
23
|
import 'node:events';
|
|
24
24
|
import 'socket.io-client';
|
|
25
25
|
import './attachmentLimits-CxG3T18E.mjs';
|
|
26
26
|
import './index-B0HEEYGh.mjs';
|
|
27
27
|
import '@paralleldrive/cuid2';
|
|
28
28
|
import './limits-DIo7rEBR.mjs';
|
|
29
|
-
import './time-
|
|
30
|
-
import './registerCommonHandlers-
|
|
29
|
+
import './time-CGvsjDND.mjs';
|
|
30
|
+
import './registerCommonHandlers-DQpM0V0X.mjs';
|
|
31
31
|
import 'fs/promises';
|
|
32
32
|
import 'cross-spawn';
|
|
33
33
|
import './projectPath-BTBIMB57.mjs';
|
|
34
34
|
import 'url';
|
|
35
|
-
import './sync-
|
|
35
|
+
import './sync-Db2dkpCS.mjs';
|
|
36
36
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
37
|
-
import './controlClient-
|
|
37
|
+
import './controlClient-BJ_kMzJp.mjs';
|
|
38
38
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
39
39
|
import 'node:os';
|
|
40
|
-
import './package-
|
|
40
|
+
import './package-CgOyeL63.mjs';
|
|
41
41
|
import 'open';
|
|
42
42
|
|
|
43
43
|
const CLIENT_ID$2 = "app_EMoamEEZ73f0CkXaXp7hrann";
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var os = require('os');
|
|
5
5
|
var path = require('path');
|
|
6
|
-
var persistence = require('./persistence-
|
|
7
|
-
var api = require('./api-
|
|
8
|
-
var configuration = require('./configuration-
|
|
6
|
+
var persistence = require('./persistence-Ctx5X33x.cjs');
|
|
7
|
+
var api = require('./api-XE5qHl20.cjs');
|
|
8
|
+
var configuration = require('./configuration-vd98cU5s.cjs');
|
|
9
9
|
var http = require('http');
|
|
10
10
|
var crypto = require('crypto');
|
|
11
|
-
var browser = require('./browser-
|
|
11
|
+
var browser = require('./browser-B9DbZY5S.cjs');
|
|
12
12
|
var child_process = require('child_process');
|
|
13
13
|
var util = require('util');
|
|
14
14
|
require('node:fs/promises');
|
|
@@ -17,29 +17,29 @@ require('zod');
|
|
|
17
17
|
require('./authRelay-BdYkC1Po.cjs');
|
|
18
18
|
require('node:crypto');
|
|
19
19
|
require('tweetnacl');
|
|
20
|
-
require('./logger-
|
|
20
|
+
require('./logger-CEXN6kmp.cjs');
|
|
21
21
|
require('node:util');
|
|
22
22
|
require('node:path');
|
|
23
23
|
require('axios');
|
|
24
|
-
require('./lidState-
|
|
24
|
+
require('./lidState-Bn28XGju.cjs');
|
|
25
25
|
require('node:events');
|
|
26
26
|
require('socket.io-client');
|
|
27
27
|
require('./attachmentLimits-BEYEEBm8.cjs');
|
|
28
28
|
require('./index-C9hI8a10.cjs');
|
|
29
29
|
require('@paralleldrive/cuid2');
|
|
30
30
|
require('./limits-C-a7gr04.cjs');
|
|
31
|
-
require('./time-
|
|
32
|
-
require('./registerCommonHandlers-
|
|
31
|
+
require('./time-B7ohOI_y.cjs');
|
|
32
|
+
require('./registerCommonHandlers-DyOrHehH.cjs');
|
|
33
33
|
require('fs/promises');
|
|
34
34
|
require('cross-spawn');
|
|
35
35
|
require('./projectPath-ChLhdOyt.cjs');
|
|
36
36
|
require('url');
|
|
37
|
-
require('./sync-
|
|
37
|
+
require('./sync-BviZKBic.cjs');
|
|
38
38
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
39
|
-
require('./controlClient-
|
|
39
|
+
require('./controlClient-8EMcMnZ7.cjs');
|
|
40
40
|
require('./contentLogMetadata-ZSFk_NjQ.cjs');
|
|
41
41
|
require('node:os');
|
|
42
|
-
require('./package-
|
|
42
|
+
require('./package-CRtabc_k.cjs');
|
|
43
43
|
require('open');
|
|
44
44
|
|
|
45
45
|
const CLIENT_ID$2 = "app_EMoamEEZ73f0CkXaXp7hrann";
|
|
@@ -5,7 +5,7 @@ var node_fs = require('node:fs');
|
|
|
5
5
|
var path = require('node:path');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
7
|
var z = require('zod');
|
|
8
|
-
var configuration = require('./configuration-
|
|
8
|
+
var configuration = require('./configuration-vd98cU5s.cjs');
|
|
9
9
|
|
|
10
10
|
const TeamScopeSchema = z.z.object({
|
|
11
11
|
serverUrl: z.z.string(),
|
|
@@ -3,7 +3,7 @@ import { constants } from 'node:fs';
|
|
|
3
3
|
import { isAbsolute, join, dirname } from 'node:path';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
5
|
import { z } from 'zod';
|
|
6
|
-
import { n as normalizeHttpEndpoint, c as configuration } from './configuration-
|
|
6
|
+
import { n as normalizeHttpEndpoint, c as configuration } from './configuration-DsEb3uSR.mjs';
|
|
7
7
|
|
|
8
8
|
const TeamScopeSchema = z.object({
|
|
9
9
|
serverUrl: z.string(),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var persistence = require('./persistence-
|
|
5
|
-
var configuration = require('./configuration-
|
|
3
|
+
var logger = require('./logger-CEXN6kmp.cjs');
|
|
4
|
+
var persistence = require('./persistence-Ctx5X33x.cjs');
|
|
5
|
+
var configuration = require('./configuration-vd98cU5s.cjs');
|
|
6
6
|
|
|
7
7
|
function daemonControlHeaders(controlToken) {
|
|
8
8
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import { d as readDaemonState, f as clearDaemonState } from './persistence-
|
|
3
|
-
import { c as configuration } from './configuration-
|
|
1
|
+
import { l as logger } from './logger-k6qJWglF.mjs';
|
|
2
|
+
import { d as readDaemonState, f as clearDaemonState } from './persistence-bZj6UA2E.mjs';
|
|
3
|
+
import { c as configuration } from './configuration-DsEb3uSR.mjs';
|
|
4
4
|
|
|
5
5
|
function daemonControlHeaders(controlToken) {
|
|
6
6
|
return {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var os = require('node:os');
|
|
4
4
|
var path = require('node:path');
|
|
5
|
-
var configuration = require('./configuration-
|
|
5
|
+
var configuration = require('./configuration-vd98cU5s.cjs');
|
|
6
6
|
var projectPath = require('./projectPath-ChLhdOyt.cjs');
|
|
7
|
-
var _package = require('./package-
|
|
7
|
+
var _package = require('./package-CRtabc_k.cjs');
|
|
8
8
|
var node_fs = require('node:fs');
|
|
9
9
|
|
|
10
10
|
const realFs = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import os from 'node:os';
|
|
2
2
|
import { resolve, isAbsolute, dirname } from 'node:path';
|
|
3
|
-
import { c as configuration } from './configuration-
|
|
3
|
+
import { c as configuration } from './configuration-DsEb3uSR.mjs';
|
|
4
4
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
5
|
-
import { p as packageJson } from './package-
|
|
5
|
+
import { p as packageJson } from './package-CgOyeL63.mjs';
|
|
6
6
|
import { existsSync, readFileSync, statSync } from 'node:fs';
|
|
7
7
|
|
|
8
8
|
const realFs = {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
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
|
+
exports.SYSTEMD_RESTART_HINT = SYSTEMD_RESTART_HINT;
|
|
13
|
+
exports.detectDaemonSupervisor = detectDaemonSupervisor;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
function detectDaemonSupervisor(env, platform = process.platform) {
|
|
2
|
+
const explicit = env.HAPPY_DAEMON_SUPERVISOR?.trim().toLowerCase();
|
|
3
|
+
if (explicit === "systemd") return "systemd";
|
|
4
|
+
if (explicit === "none") return "none";
|
|
5
|
+
if (platform === "linux" && typeof env.INVOCATION_ID === "string" && env.INVOCATION_ID.trim() !== "") return "systemd";
|
|
6
|
+
return "none";
|
|
7
|
+
}
|
|
8
|
+
const SYSTEMD_RESTART_HINT = "systemctl --user restart very-happy-daemon";
|
|
9
|
+
|
|
10
|
+
export { SYSTEMD_RESTART_HINT as S, detectDaemonSupervisor as d };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var persistence = require('./persistence-
|
|
3
|
+
var logger = require('./logger-CEXN6kmp.cjs');
|
|
4
|
+
var persistence = require('./persistence-Ctx5X33x.cjs');
|
|
5
5
|
|
|
6
6
|
const PRESENCE_SETTLE_MS = 6e3;
|
|
7
7
|
async function commitHibernation(deps) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import { e as evaluateWrapperIdle, j as HIBERNATION_UNSUPPORTED_BACKOFF_MS } from './persistence-
|
|
1
|
+
import { l as logger } from './logger-k6qJWglF.mjs';
|
|
2
|
+
import { e as evaluateWrapperIdle, j as HIBERNATION_UNSUPPORTED_BACKOFF_MS } from './persistence-bZj6UA2E.mjs';
|
|
3
3
|
|
|
4
4
|
const PRESENCE_SETTLE_MS = 6e3;
|
|
5
5
|
async function commitHibernation(deps) {
|
|
@@ -4,19 +4,19 @@ import { randomUUID } from 'node:crypto';
|
|
|
4
4
|
import { constants } from 'node:fs';
|
|
5
5
|
import { dirname } from 'node:path';
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import { T as TeamConnectionPreflightError, c as createTeamsClient } from './client-
|
|
8
|
-
import { t as teamScopePath } from './context-
|
|
9
|
-
import { g as waitForSessionKey, e as sendUserMessage } from './sessionOps-
|
|
7
|
+
import { T as TeamConnectionPreflightError, c as createTeamsClient } from './client-CKsWQ0CB.mjs';
|
|
8
|
+
import { t as teamScopePath } from './context-J9onyv6j.mjs';
|
|
9
|
+
import { g as waitForSessionKey, e as sendUserMessage } from './sessionOps-DnUAnxVE.mjs';
|
|
10
10
|
import { T as TEAM_SKILL } from './resources-BdFBQi8r.mjs';
|
|
11
|
-
import { T as TEAM_TOOL_NAMES, r as registerTeamsTools } from './tools-
|
|
12
|
-
import { c as createSelfReportState, A as AUTOMATION_TOOL_NAMES, r as registerAutomationTools, a as registerReportProgressTool, n as normalizeAttention, b as normalizePhase, d as normalizeProgress, s as shouldAcceptSelfReport } from './reportProgressTool-
|
|
13
|
-
import { S as SESSION_PEER_TOOL_NAMES, r as registerSessionPeerTools, a as createSessionPeerToolExecutor } from './peerTools-
|
|
11
|
+
import { T as TEAM_TOOL_NAMES, r as registerTeamsTools } from './tools-PNyBTN3e.mjs';
|
|
12
|
+
import { c as createSelfReportState, A as AUTOMATION_TOOL_NAMES, r as registerAutomationTools, a as registerReportProgressTool, n as normalizeAttention, b as normalizePhase, d as normalizeProgress, s as shouldAcceptSelfReport } from './reportProgressTool-u4bosT7t.mjs';
|
|
13
|
+
import { S as SESSION_PEER_TOOL_NAMES, r as registerSessionPeerTools, a as createSessionPeerToolExecutor } from './peerTools-FzG7askS.mjs';
|
|
14
14
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
15
15
|
import { createServer } from 'node:http';
|
|
16
16
|
import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js';
|
|
17
|
-
import { l as logger } from './logger-
|
|
17
|
+
import { l as logger } from './logger-k6qJWglF.mjs';
|
|
18
18
|
import { C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION, c as CLIPBOARD_MAX_BYTES } from './limits-DIo7rEBR.mjs';
|
|
19
|
-
import { A as ASSISTANT_TOOL_NAMES, a as registerAssistantTools, c as checkDownloadTarget } from './downloadTarget-
|
|
19
|
+
import { A as ASSISTANT_TOOL_NAMES, a as registerAssistantTools, c as checkDownloadTarget } from './downloadTarget-XjmBJhax.mjs';
|
|
20
20
|
import { P as PREVIEW_TOOL_NAME, R as REPORT_PROGRESS_TOOL_NAME, a as PREVIEW_TOOL_TITLE, b as PREVIEW_TOOL_DESCRIPTION, c as PREVIEW_DOWNLOAD_PARAM_DESCRIPTION } from './agentGuidance-BDYt2Qy2.mjs';
|
|
21
21
|
import { c as checkPreviewPath } from './previewPath-CXN4Vag0.mjs';
|
|
22
22
|
import { createHash } from 'crypto';
|
|
@@ -6,19 +6,19 @@ var node_crypto = require('node:crypto');
|
|
|
6
6
|
var node_fs = require('node:fs');
|
|
7
7
|
var path = require('node:path');
|
|
8
8
|
var z = require('zod');
|
|
9
|
-
var client = require('./client-
|
|
10
|
-
var context = require('./context-
|
|
11
|
-
var sessionOps = require('./sessionOps-
|
|
9
|
+
var client = require('./client-Lze38C0i.cjs');
|
|
10
|
+
var context = require('./context-BglK-uQU.cjs');
|
|
11
|
+
var sessionOps = require('./sessionOps-BLVcPdDi.cjs');
|
|
12
12
|
var resources = require('./resources-JDPugcDq.cjs');
|
|
13
|
-
var tools = require('./tools-
|
|
14
|
-
var reportProgressTool = require('./reportProgressTool-
|
|
15
|
-
var peerTools = require('./peerTools-
|
|
13
|
+
var tools = require('./tools-DYIZ8Xc1.cjs');
|
|
14
|
+
var reportProgressTool = require('./reportProgressTool-B9ldkvU1.cjs');
|
|
15
|
+
var peerTools = require('./peerTools-B1dYfQ7B.cjs');
|
|
16
16
|
var mcp_js = require('@modelcontextprotocol/sdk/server/mcp.js');
|
|
17
17
|
var node_http = require('node:http');
|
|
18
18
|
var streamableHttp_js = require('@modelcontextprotocol/sdk/server/streamableHttp.js');
|
|
19
|
-
var logger = require('./logger-
|
|
19
|
+
var logger = require('./logger-CEXN6kmp.cjs');
|
|
20
20
|
var limits = require('./limits-C-a7gr04.cjs');
|
|
21
|
-
var downloadTarget = require('./downloadTarget-
|
|
21
|
+
var downloadTarget = require('./downloadTarget-C3bWfjVw.cjs');
|
|
22
22
|
var agentGuidance = require('./agentGuidance-BtBx2xxE.cjs');
|
|
23
23
|
var previewPath = require('./previewPath-B0rBdhy1.cjs');
|
|
24
24
|
var crypto = require('crypto');
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { c as configuration } from './configuration-
|
|
3
|
-
import { r as readSettings, g as readCredentials, d as readDaemonState } from './persistence-
|
|
4
|
-
import { a as checkIfDaemonRunningAndCleanupStaleState } from './controlClient-
|
|
2
|
+
import { c as configuration } from './configuration-DsEb3uSR.mjs';
|
|
3
|
+
import { r as readSettings, g as readCredentials, d as readDaemonState } from './persistence-bZj6UA2E.mjs';
|
|
4
|
+
import { a as checkIfDaemonRunningAndCleanupStaleState } from './controlClient-BJ_kMzJp.mjs';
|
|
5
5
|
import { findAllHappyProcesses } from './doctor-BPkYWSuq.mjs';
|
|
6
6
|
import { statSync, realpathSync, existsSync, readdirSync } from 'node:fs';
|
|
7
7
|
import { isAbsolute, resolve, dirname, basename, delimiter, join } from 'node:path';
|
|
8
8
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
9
|
-
import { p as packageJson } from './package-
|
|
9
|
+
import { p as packageJson } from './package-CgOyeL63.mjs';
|
|
10
10
|
import { s as shareableSettingsSummary, c as collectRuntimeReadiness, S as SUPPORTED_NODE_LABEL, r as resolveClaudeCredentialReadiness, a as toolProbeLabel, b as daemonReadiness, d as daemonEndpointsMatch } from './doctorReadiness-C208SMN9.mjs';
|
|
11
11
|
import { c as credentialRelayProblem } from './authRelay-DSAvg1uv.mjs';
|
|
12
12
|
import { d as deriveLocalCliUpdateSummary } from './cliUpdate-Y34VGe9Y.mjs';
|
|
13
13
|
import { spawnSync } from 'node:child_process';
|
|
14
|
+
import { c as piInstallCommand } from './piRunnerArgs-C19zYJL2.mjs';
|
|
14
15
|
|
|
15
16
|
function shareSafeProcessLine(process2) {
|
|
16
17
|
return `PID ${process2.pid}: command arguments hidden for privacy`;
|
|
@@ -310,8 +311,8 @@ ${typeLabels[type] || type}:`));
|
|
|
310
311
|
}
|
|
311
312
|
console.log(chalk.gray(" An external claude command is only needed for native terminal/mirror use."));
|
|
312
313
|
try {
|
|
313
|
-
const { resolveAgentHomesForCli } = await import('./agentHome-
|
|
314
|
-
const { describeAgentHome } = await import('./index-
|
|
314
|
+
const { resolveAgentHomesForCli } = await import('./agentHome-BqIbAFvU.mjs');
|
|
315
|
+
const { describeAgentHome } = await import('./index-Ck8syuwO.mjs');
|
|
315
316
|
const homes = await resolveAgentHomesForCli();
|
|
316
317
|
console.log(chalk.green(`\u2713 Claude config dir: ${describeAgentHome(homes.claudeConfigDir)}`));
|
|
317
318
|
console.log(chalk.green(`\u2713 Codex home: ${describeAgentHome(homes.codexHome)}`));
|
|
@@ -329,7 +330,7 @@ ${typeLabels[type] || type}:`));
|
|
|
329
330
|
const piProbe = readiness.agents.find((agent) => agent.command === "pi");
|
|
330
331
|
if (piProbe?.available && !readiness.piAdapter.available) {
|
|
331
332
|
console.log(chalk.yellow("\u25CB pi found, but the pi-acp adapter is not on PATH \u2014 `very-happy pi` and spawning pi from the Web need it"));
|
|
332
|
-
console.log(chalk.gray(
|
|
333
|
+
console.log(chalk.gray(` Install it for the daemon user: ${piInstallCommand(["pi-acp"])} (the daemon picks it up within 5 minutes)`));
|
|
333
334
|
}
|
|
334
335
|
console.log(chalk.bold("\n\u{1F510} Authentication"));
|
|
335
336
|
let authenticated = false;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
|
-
var configuration = require('./configuration-
|
|
5
|
-
var persistence = require('./persistence-
|
|
6
|
-
var controlClient = require('./controlClient-
|
|
4
|
+
var configuration = require('./configuration-vd98cU5s.cjs');
|
|
5
|
+
var persistence = require('./persistence-Ctx5X33x.cjs');
|
|
6
|
+
var controlClient = require('./controlClient-8EMcMnZ7.cjs');
|
|
7
7
|
var doctor$1 = require('./doctor-u46qYYKX.cjs');
|
|
8
8
|
var node_fs = require('node:fs');
|
|
9
9
|
var path = require('node:path');
|
|
10
10
|
var projectPath = require('./projectPath-ChLhdOyt.cjs');
|
|
11
|
-
var _package = require('./package-
|
|
11
|
+
var _package = require('./package-CRtabc_k.cjs');
|
|
12
12
|
var doctorReadiness = require('./doctorReadiness-BCZGcN0a.cjs');
|
|
13
13
|
var authRelay = require('./authRelay-BdYkC1Po.cjs');
|
|
14
14
|
var cliUpdate = require('./cliUpdate-DsKXPFYp.cjs');
|
|
15
15
|
var node_child_process = require('node:child_process');
|
|
16
|
+
var piRunnerArgs = require('./piRunnerArgs-BSyuUDxd.cjs');
|
|
16
17
|
|
|
17
18
|
function shareSafeProcessLine(process2) {
|
|
18
19
|
return `PID ${process2.pid}: command arguments hidden for privacy`;
|
|
@@ -312,8 +313,8 @@ ${typeLabels[type] || type}:`));
|
|
|
312
313
|
}
|
|
313
314
|
console.log(chalk.gray(" An external claude command is only needed for native terminal/mirror use."));
|
|
314
315
|
try {
|
|
315
|
-
const { resolveAgentHomesForCli } = await Promise.resolve().then(function () { return require('./agentHome-
|
|
316
|
-
const { describeAgentHome } = await Promise.resolve().then(function () { return require('./index-
|
|
316
|
+
const { resolveAgentHomesForCli } = await Promise.resolve().then(function () { return require('./agentHome-XhRZDl_8.cjs'); });
|
|
317
|
+
const { describeAgentHome } = await Promise.resolve().then(function () { return require('./index-CHHuoaN5.cjs'); });
|
|
317
318
|
const homes = await resolveAgentHomesForCli();
|
|
318
319
|
console.log(chalk.green(`\u2713 Claude config dir: ${describeAgentHome(homes.claudeConfigDir)}`));
|
|
319
320
|
console.log(chalk.green(`\u2713 Codex home: ${describeAgentHome(homes.codexHome)}`));
|
|
@@ -331,7 +332,7 @@ ${typeLabels[type] || type}:`));
|
|
|
331
332
|
const piProbe = readiness.agents.find((agent) => agent.command === "pi");
|
|
332
333
|
if (piProbe?.available && !readiness.piAdapter.available) {
|
|
333
334
|
console.log(chalk.yellow("\u25CB pi found, but the pi-acp adapter is not on PATH \u2014 `very-happy pi` and spawning pi from the Web need it"));
|
|
334
|
-
console.log(chalk.gray(
|
|
335
|
+
console.log(chalk.gray(` Install it for the daemon user: ${piRunnerArgs.piInstallCommand(["pi-acp"])} (the daemon picks it up within 5 minutes)`));
|
|
335
336
|
}
|
|
336
337
|
console.log(chalk.bold("\n\u{1F510} Authentication"));
|
|
337
338
|
let authenticated = false;
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
var promises = require('node:fs/promises');
|
|
4
4
|
var os = require('node:os');
|
|
5
5
|
var z = require('zod');
|
|
6
|
-
var logger = require('./logger-
|
|
7
|
-
var persistence = require('./persistence-
|
|
8
|
-
var controlClient = require('./controlClient-
|
|
9
|
-
var sessionOps = require('./sessionOps-
|
|
10
|
-
var remoteSessionClient = require('./remoteSessionClient-
|
|
6
|
+
var logger = require('./logger-CEXN6kmp.cjs');
|
|
7
|
+
var persistence = require('./persistence-Ctx5X33x.cjs');
|
|
8
|
+
var controlClient = require('./controlClient-8EMcMnZ7.cjs');
|
|
9
|
+
var sessionOps = require('./sessionOps-BLVcPdDi.cjs');
|
|
10
|
+
var remoteSessionClient = require('./remoteSessionClient-BpE2d0AX.cjs');
|
|
11
11
|
var ids = require('./ids-B6ZC0HGt.cjs');
|
|
12
12
|
var terminals = require('./terminals-B_bfC9c2.cjs');
|
|
13
|
-
var bootstrap = require('./bootstrap-
|
|
13
|
+
var bootstrap = require('./bootstrap-uA_VRbq6.cjs');
|
|
14
14
|
var path = require('node:path');
|
|
15
15
|
|
|
16
16
|
const PERSONAL_MEMORY_SOFT_LIMIT_CHARS = 2e3;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { readFile, writeFile, appendFile, stat } from 'node:fs/promises';
|
|
2
2
|
import os from 'node:os';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { l as logger } from './logger-
|
|
5
|
-
import { b as readPersistedSessions } from './persistence-
|
|
6
|
-
import { f as spawnDaemonSession } from './controlClient-
|
|
7
|
-
import { a as listSessions, r as readSessionTranscript, s as sessionWebUrl, g as waitForSessionKey, e as sendUserMessage, b as stopSession, d as archiveSession } from './sessionOps-
|
|
8
|
-
import { r as readRemoteTranscript, s as sendRemoteMessage, d as deliverToSession, R as RemoteSessionOpsError } from './remoteSessionClient-
|
|
4
|
+
import { l as logger } from './logger-k6qJWglF.mjs';
|
|
5
|
+
import { b as readPersistedSessions } from './persistence-bZj6UA2E.mjs';
|
|
6
|
+
import { f as spawnDaemonSession } from './controlClient-BJ_kMzJp.mjs';
|
|
7
|
+
import { a as listSessions, r as readSessionTranscript, s as sessionWebUrl, g as waitForSessionKey, e as sendUserMessage, b as stopSession, d as archiveSession } from './sessionOps-DnUAnxVE.mjs';
|
|
8
|
+
import { r as readRemoteTranscript, s as sendRemoteMessage, d as deliverToSession, R as RemoteSessionOpsError } from './remoteSessionClient-DdXD_5Wc.mjs';
|
|
9
9
|
import { i as isValidSessionId, a as isValidTerminalId } from './ids-DU6sLx4C.mjs';
|
|
10
10
|
import { l as listVhTerminals, r as readVhTerminal, s as sendToVhTerminal } from './terminals-Dlg0x3nY.mjs';
|
|
11
|
-
import { bootstrapAssistantHome, assistantPersonalMemoryPath } from './bootstrap-
|
|
11
|
+
import { bootstrapAssistantHome, assistantPersonalMemoryPath } from './bootstrap-BLFDzpTX.mjs';
|
|
12
12
|
import { join, isAbsolute, normalize } from 'node:path';
|
|
13
13
|
|
|
14
14
|
const PERSONAL_MEMORY_SOFT_LIMIT_CHARS = 2e3;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import { i as isDaemonRunningCurrentlyInstalledHappyVersion, a as checkIfDaemonRunningAndCleanupStaleState, b as stopDaemon } from './controlClient-
|
|
3
|
-
import { s as spawnHappyCLI } from './spawnHappyCLI-
|
|
4
|
-
import { d as readDaemonState } from './persistence-
|
|
5
|
-
import { c as configuration } from './configuration-
|
|
1
|
+
import { l as logger } from './logger-k6qJWglF.mjs';
|
|
2
|
+
import { i as isDaemonRunningCurrentlyInstalledHappyVersion, a as checkIfDaemonRunningAndCleanupStaleState, b as stopDaemon } from './controlClient-BJ_kMzJp.mjs';
|
|
3
|
+
import { s as spawnHappyCLI } from './spawnHappyCLI-BGumffaQ.mjs';
|
|
4
|
+
import { d as readDaemonState } from './persistence-bZj6UA2E.mjs';
|
|
5
|
+
import { c as configuration } from './configuration-DsEb3uSR.mjs';
|
|
6
6
|
import { d as daemonEndpointsMatch } from './doctorReadiness-C208SMN9.mjs';
|
|
7
7
|
|
|
8
8
|
function extractNoSandboxFlag(args) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var controlClient = require('./controlClient-
|
|
5
|
-
var spawnHappyCLI = require('./spawnHappyCLI-
|
|
6
|
-
var persistence = require('./persistence-
|
|
7
|
-
var configuration = require('./configuration-
|
|
3
|
+
var logger = require('./logger-CEXN6kmp.cjs');
|
|
4
|
+
var controlClient = require('./controlClient-8EMcMnZ7.cjs');
|
|
5
|
+
var spawnHappyCLI = require('./spawnHappyCLI-CJ_cYzH8.cjs');
|
|
6
|
+
var persistence = require('./persistence-Ctx5X33x.cjs');
|
|
7
|
+
var configuration = require('./configuration-vd98cU5s.cjs');
|
|
8
8
|
var doctorReadiness = require('./doctorReadiness-BCZGcN0a.cjs');
|
|
9
9
|
|
|
10
10
|
function extractNoSandboxFlag(args) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var node_fs = require('node:fs');
|
|
4
|
-
var spawnHappyCLI = require('./spawnHappyCLI-
|
|
4
|
+
var spawnHappyCLI = require('./spawnHappyCLI-CJ_cYzH8.cjs');
|
|
5
5
|
var axios = require('axios');
|
|
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-
|
|
10
|
-
var localHappyAgentAuth = require('./localHappyAgentAuth-
|
|
9
|
+
var configuration = require('./configuration-vd98cU5s.cjs');
|
|
10
|
+
var localHappyAgentAuth = require('./localHappyAgentAuth-Cix2HInR.cjs');
|
|
11
11
|
require('cross-spawn');
|
|
12
12
|
require('node:path');
|
|
13
13
|
require('./projectPath-ChLhdOyt.cjs');
|
|
14
14
|
require('path');
|
|
15
15
|
require('url');
|
|
16
|
-
require('./logger-
|
|
16
|
+
require('./logger-CEXN6kmp.cjs');
|
|
17
17
|
require('chalk');
|
|
18
18
|
require('node:util');
|
|
19
19
|
require('node:crypto');
|
|
20
20
|
require('node:os');
|
|
21
|
-
require('./package-
|
|
21
|
+
require('./package-CRtabc_k.cjs');
|
|
22
22
|
require('node:fs/promises');
|
|
23
23
|
|
|
24
24
|
const ResumableMetadataSchema = z.z.object({
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { existsSync } from 'node:fs';
|
|
2
|
-
import { s as spawnHappyCLI } from './spawnHappyCLI-
|
|
2
|
+
import { s as spawnHappyCLI } from './spawnHappyCLI-BGumffaQ.mjs';
|
|
3
3
|
import axios, { AxiosError } from 'axios';
|
|
4
4
|
import tweetnacl from 'tweetnacl';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { d as decodeBase64, a as decryptWithDataKey, b as decryptLegacy } from './authRelay-DSAvg1uv.mjs';
|
|
7
|
-
import { c as configuration } from './configuration-
|
|
8
|
-
import { g as getLocalHappyAgentCredentialPath, r as readLocalHappyAgentCredentials } from './localHappyAgentAuth-
|
|
7
|
+
import { c as configuration } from './configuration-DsEb3uSR.mjs';
|
|
8
|
+
import { g as getLocalHappyAgentCredentialPath, r as readLocalHappyAgentCredentials } from './localHappyAgentAuth-CImf4dFr.mjs';
|
|
9
9
|
import 'cross-spawn';
|
|
10
10
|
import 'node:path';
|
|
11
11
|
import './projectPath-BTBIMB57.mjs';
|
|
12
12
|
import 'path';
|
|
13
13
|
import 'url';
|
|
14
|
-
import './logger-
|
|
14
|
+
import './logger-k6qJWglF.mjs';
|
|
15
15
|
import 'chalk';
|
|
16
16
|
import 'node:util';
|
|
17
17
|
import 'node:crypto';
|
|
18
18
|
import 'node:os';
|
|
19
|
-
import './package-
|
|
19
|
+
import './package-CgOyeL63.mjs';
|
|
20
20
|
import 'node:fs/promises';
|
|
21
21
|
|
|
22
22
|
const ResumableMetadataSchema = z.object({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _package = require('./package-
|
|
3
|
+
var _package = require('./package-CRtabc_k.cjs');
|
|
4
4
|
var module$1 = require('node:module');
|
|
5
5
|
var node_fs = require('node:fs');
|
|
6
6
|
var promises = require('node:fs/promises');
|
|
@@ -59,10 +59,10 @@ async function pruneStaleCompileCaches(happyHomeDir, cliVersion) {
|
|
|
59
59
|
async function run(args) {
|
|
60
60
|
enableCompileCacheIfPossible(_package.packageJson.version);
|
|
61
61
|
if (isStandaloneVersionRequest(args) || isSelfCheckRequest(args)) {
|
|
62
|
-
const { selfCheckMain } = await Promise.resolve().then(function () { return require('./selfCheck-
|
|
62
|
+
const { selfCheckMain } = await Promise.resolve().then(function () { return require('./selfCheck-LCw56wT7.cjs'); });
|
|
63
63
|
process.exit(await selfCheckMain({ verbose: isSelfCheckRequest(args) }));
|
|
64
64
|
}
|
|
65
|
-
const { main } = await Promise.resolve().then(function () { return require('./main-
|
|
65
|
+
const { main } = await Promise.resolve().then(function () { return require('./main-i9AIapzR.cjs'); });
|
|
66
66
|
await main();
|
|
67
67
|
}
|
|
68
68
|
void run(process.argv.slice(2));
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
var node_fs = require('node:fs');
|
|
4
4
|
var os = require('node:os');
|
|
5
|
-
var logger = require('./logger-
|
|
6
|
-
var persistence = require('./persistence-
|
|
5
|
+
var logger = require('./logger-CEXN6kmp.cjs');
|
|
6
|
+
var persistence = require('./persistence-Ctx5X33x.cjs');
|
|
7
7
|
var loginShellEnv = require('./loginShellEnv-BkuYtExZ.cjs');
|
|
8
8
|
require('chalk');
|
|
9
9
|
require('node:util');
|
|
10
|
-
require('./configuration-
|
|
10
|
+
require('./configuration-vd98cU5s.cjs');
|
|
11
11
|
require('node:path');
|
|
12
|
-
require('./package-
|
|
12
|
+
require('./package-CRtabc_k.cjs');
|
|
13
13
|
require('node:fs/promises');
|
|
14
14
|
require('zod');
|
|
15
15
|
require('./authRelay-BdYkC1Po.cjs');
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { statSync, readdirSync } from 'node:fs';
|
|
2
2
|
import { homedir } from 'node:os';
|
|
3
|
-
import { l as logger } from './logger-
|
|
4
|
-
import { r as readSettings } from './persistence-
|
|
3
|
+
import { l as logger } from './logger-k6qJWglF.mjs';
|
|
4
|
+
import { r as readSettings } from './persistence-bZj6UA2E.mjs';
|
|
5
5
|
import { d as describeAgentHome, C as CLAUDE_CONFIG_DIR_ENV, a as CODEX_HOME_ENV, f as findClaudeConversation, b as agentHomeCandidates, c as findCodexThread, r as resolveAgentHomes, A as AGENT_HOME_ENV_NAMES, g as agentHomeEnv, p as probeLoginShellEnv } from './loginShellEnv-Dw8M7tkI.mjs';
|
|
6
6
|
export { h as claudeConversationPath, i as claudeProjectDirName, j as codexRolloutFileMatches, e as expandHomePath } from './loginShellEnv-Dw8M7tkI.mjs';
|
|
7
7
|
import 'chalk';
|
|
8
8
|
import 'node:util';
|
|
9
|
-
import './configuration-
|
|
9
|
+
import './configuration-DsEb3uSR.mjs';
|
|
10
10
|
import 'node:path';
|
|
11
|
-
import './package-
|
|
11
|
+
import './package-CgOyeL63.mjs';
|
|
12
12
|
import 'node:fs/promises';
|
|
13
13
|
import 'zod';
|
|
14
14
|
import './authRelay-DSAvg1uv.mjs';
|