very-happy-cli 0.2.163 → 0.2.164
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-CuOUXVRX.mjs → AcpBackend-B8l1ZePt.mjs} +3 -3
- package/dist/{AcpBackend-C2rzKnvT.cjs → AcpBackend-CHDqSii9.cjs} +3 -3
- package/dist/{AcpSessionManager-BvIuBzoO.cjs → AcpSessionManager-9yN2iH4b.cjs} +1 -1
- package/dist/{AcpSessionManager-BSIBnWUb.mjs → AcpSessionManager-BQnDJvct.mjs} +1 -1
- package/dist/{BasePermissionHandler-D6PdH-OU.cjs → BasePermissionHandler-DGQYvBPg.cjs} +1 -1
- package/dist/{BasePermissionHandler-Ng5h8JpY.mjs → BasePermissionHandler-DgtAtJTV.mjs} +1 -1
- package/dist/{BaseReasoningProcessor-C0cXz1mg.cjs → BaseReasoningProcessor-BqalZhQO.cjs} +1 -1
- package/dist/{BaseReasoningProcessor-CM-ijU4F.mjs → BaseReasoningProcessor-Dfacnfhj.mjs} +1 -1
- package/dist/{agentHome-Bt4lOwFE.mjs → agentHome-DM0urHEI.mjs} +4 -4
- package/dist/{agentHome-CAMEVRZZ.cjs → agentHome-DtsPKfTS.cjs} +4 -4
- package/dist/{api-DGFBAPr7.cjs → api-EKlS0r1w.cjs} +41 -15
- package/dist/{api-D5kfP3JF.mjs → api-Yoh_zKdR.mjs} +41 -15
- package/dist/{apiMachine-BxCy5_No.cjs → apiMachine-q71suojS.cjs} +20 -17
- package/dist/{apiMachine-C58eizxs.mjs → apiMachine-s3HiV-SL.mjs} +20 -17
- package/dist/{assistantTools-BvKH9eRc.mjs → assistantTools-BWfAV349.mjs} +6 -6
- package/dist/{assistantTools-NC7DMNvV.cjs → assistantTools-D3cZvgUX.cjs} +6 -6
- package/dist/{attachmentContent-CCE0Y3gR.mjs → attachmentContent-BLyyo1al.mjs} +2 -2
- package/dist/{attachmentContent-CUKdzh4v.cjs → attachmentContent-Bakb0XV3.cjs} +2 -2
- package/dist/{attachmentLimits-D5pgmASK.mjs → attachmentLimits-B8nzhw-i.mjs} +1 -1
- package/dist/{attachmentLimits-DzlBPyJP.cjs → attachmentLimits-eJZ4ZBjF.cjs} +1 -1
- package/dist/{auth-gdc8gI9D.mjs → auth-BTfv8yW0.mjs} +8 -8
- package/dist/{auth-Ddz597Rw.cjs → auth-Cn3dQInF.cjs} +5 -5
- package/dist/{auth-CRm8yNv6.mjs → auth-Cxhx5evk.mjs} +5 -5
- package/dist/{auth-CILb5DeW.cjs → auth-Hpg4Yxfa.cjs} +8 -8
- package/dist/{auto-lLjHfAOO.mjs → auto-BAAEVGZa.mjs} +14 -14
- package/dist/{auto-CXtt6MfS.cjs → auto-CK8irHum.cjs} +14 -14
- package/dist/{bootstrap-DSWZAtGy.mjs → bootstrap-CTNjn_aj.mjs} +2 -2
- package/dist/{bootstrap-CccIDvh4.cjs → bootstrap-D9SUykG_.cjs} +2 -2
- package/dist/{browser-lizgdXYj.cjs → browser-C8ztaIkm.cjs} +1 -1
- package/dist/{browser-DU9kI-Q-.mjs → browser-DydXWySF.mjs} +1 -1
- package/dist/{claudeLocal-CTR2xlPT.mjs → claudeLocal-CdJJovWq.mjs} +5 -5
- package/dist/{claudeLocal-Bp-lf6yb.cjs → claudeLocal-CsLFMvFU.cjs} +5 -5
- package/dist/{claudeLocalLauncher-DFkwLMqU.mjs → claudeLocalLauncher-CKazNnl0.mjs} +10 -10
- package/dist/{claudeLocalLauncher-aQyL3g7I.cjs → claudeLocalLauncher-DRc-tET5.cjs} +10 -10
- package/dist/{claudeSessionFork-DdJFvxwf.cjs → claudeSessionFork-BWdhyy9B.cjs} +1 -1
- package/dist/{claudeSessionFork-DABSCbkf.mjs → claudeSessionFork-BfPW9D2S.mjs} +1 -1
- package/dist/{client-CQzHoynf.cjs → client-BZtKFCJr.cjs} +2 -2
- package/dist/{client-CXvsRLAz.cjs → client-C1GAIJ04.cjs} +3 -3
- package/dist/{client-CyUhxs-0.mjs → client-DkoV3VWl.mjs} +2 -2
- package/dist/{client-BbNFS1WW.mjs → client-Do5CHQnZ.mjs} +3 -3
- package/dist/codex/happyMcpStdioBridge.cjs +15 -15
- package/dist/codex/happyMcpStdioBridge.mjs +15 -15
- package/dist/{codexAppServerClient-Dto99RVH.mjs → codexAppServerClient-CfF33X-8.mjs} +2 -2
- package/dist/{codexAppServerClient-5jNbTlE5.cjs → codexAppServerClient-JddkV_aP.cjs} +2 -2
- package/dist/{codexCommand-LUp0vkNi.cjs → codexCommand-Bdj3XZbi.cjs} +39 -39
- package/dist/{codexCommand-BHfrAyds.mjs → codexCommand-btJso8yC.mjs} +39 -39
- package/dist/{config-CAD5NR1h.cjs → config-DpCNivmg.cjs} +3 -3
- package/dist/{config-BEvt_OYR.mjs → config-nziuMb7g.mjs} +3 -3
- package/dist/{configuration-B0c-OP_h.mjs → configuration-CiBUH72C.mjs} +1 -1
- package/dist/{configuration-CepfrPZ_.cjs → configuration-PXAE4-FP.cjs} +1 -1
- package/dist/{connect-BPMzMoiQ.cjs → connect-D7ehaW2C.cjs} +13 -13
- package/dist/{connect-BeK0dMYB.mjs → connect-XHdi6Vtc.mjs} +13 -13
- package/dist/{context-mMg17HJv.mjs → context-BpEYcuLv.mjs} +1 -1
- package/dist/{context-BhZMRQho.cjs → context-DhvXl1oC.cjs} +1 -1
- package/dist/{controlClient-HPMsyxLb.cjs → controlClient-DI-Er-Ww.cjs} +3 -3
- package/dist/{controlClient-BKmjlbGs.mjs → controlClient-DzmCQrY_.mjs} +3 -3
- package/dist/{createSessionMetadata-KOL67aSN.mjs → createSessionMetadata-B47GrTX6.mjs} +2 -2
- package/dist/{createSessionMetadata-CGuyVxsM.cjs → createSessionMetadata-D04x6OMW.cjs} +2 -2
- package/dist/{deterministicJson-BFzPcsCh.cjs → deterministicJson-BM8e8QwP.cjs} +9 -9
- package/dist/{deterministicJson-CaWami7M.mjs → deterministicJson-CKqT3awl.mjs} +9 -9
- package/dist/{doctor-DX2P7IlL.mjs → doctor-CSgzbG5L.mjs} +6 -6
- package/dist/{doctor-BHNVY9DE.cjs → doctor-Cl6cqvok.cjs} +6 -6
- package/dist/{ensureDaemonRunning-BahhZpQ1.cjs → ensureDaemonRunning-CJ4-U32n.cjs} +5 -5
- package/dist/{ensureDaemonRunning-CnWMrL5b.mjs → ensureDaemonRunning-fPVSsjIm.mjs} +5 -5
- package/dist/{handleResumeCommand-bToC6FDH.mjs → handleResumeCommand-B84dt2aH.mjs} +5 -5
- package/dist/{handleResumeCommand-Ca334R4t.cjs → handleResumeCommand-bX-aNF_z.cjs} +5 -5
- package/dist/{index-B6MVw_Xb.cjs → index-B2UvSWo_.cjs} +3 -3
- package/dist/{index-vFMUVtSL.cjs → index-CP2fh7JX.cjs} +38 -38
- package/dist/{index-B5v5fZi6.mjs → index-CRJtZCK-.mjs} +39 -39
- package/dist/{index-D3AsOj4j.mjs → index-CbF87SeZ.mjs} +3 -3
- package/dist/{index-DoMsO8_G.cjs → index-DaTxsAC3.cjs} +4 -4
- package/dist/{index-DJ-oV52i.cjs → index-DqlyNgt4.cjs} +6 -1
- package/dist/{index-CpFreRx8.mjs → index-OEGj3BxE.mjs} +4 -4
- package/dist/{index-BBg9j0XK.mjs → index-vVWpCoTr.mjs} +6 -1
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-Dixfzmb_.mjs → install-CurvoW2u.mjs} +3 -3
- package/dist/{install-BnTP73AE.cjs → install-__Mni4NU.cjs} +3 -3
- package/dist/lib.cjs +17 -17
- package/dist/lib.d.cts +26 -0
- package/dist/lib.d.mts +26 -0
- package/dist/lib.mjs +17 -17
- package/dist/{lidState-X7iQg4y5.mjs → lidState-BbR6y9rq.mjs} +66 -2
- package/dist/{lidState-BGWXfx1e.cjs → lidState-De2HP6nu.cjs} +67 -1
- package/dist/{localHappyAgentAuth-r83bTscW.mjs → localHappyAgentAuth-C7rDePjF.mjs} +1 -1
- package/dist/{localHappyAgentAuth-D_Gc4K7h.cjs → localHappyAgentAuth-CboZb3_a.cjs} +1 -1
- package/dist/{logger-BIzr7JN0.mjs → logger-8dtZPn3n.mjs} +2 -2
- package/dist/{logger-Ca5eRZ2j.cjs → logger-B1k7eZnq.cjs} +2 -2
- package/dist/{machineMetadata-DakW9c61.mjs → machineMetadata-Bhp_w3-_.mjs} +3 -3
- package/dist/{machineMetadata-GlObivJ-.cjs → machineMetadata-C4OfKn6I.cjs} +3 -3
- package/dist/{main-BJlGidfv.mjs → main-BQTaUrz0.mjs} +44 -44
- package/dist/{main-BfA1Vtqq.cjs → main-eAiLspBM.cjs} +44 -44
- package/dist/{mcp-Bb7AD1SD.mjs → mcp-DXCdbQHM.mjs} +14 -14
- package/dist/{mcp-BVzt1llv.cjs → mcp-fapbM7Q4.cjs} +14 -14
- package/dist/{package-BfnmIH4b.cjs → package-CC_txQ31.cjs} +8 -8
- package/dist/{package-D-W_r_pd.mjs → package-tVYgFJoK.mjs} +8 -8
- package/dist/{peerTools-C1cELmtZ.mjs → peerTools-C1cduHh1.mjs} +4 -4
- package/dist/{peerTools-CADjnFDx.cjs → peerTools-CqIcCEIg.cjs} +4 -4
- package/dist/{persistence-DgBhXxu7.mjs → persistence-C_xFQLsD.mjs} +3 -3
- package/dist/{persistence-Ceb-BPk6.cjs → persistence-d3ZyER6o.cjs} +3 -3
- package/dist/{piRunnerArgs-Bem-saSg.cjs → piRunnerArgs-DSxolPlV.cjs} +1 -1
- package/dist/{piRunnerArgs-CH6oh6w0.mjs → piRunnerArgs-aq0zJX1Q.mjs} +1 -1
- package/dist/{piRuntime-BRKG6Yoz.mjs → piRuntime-BnNl5Lmb.mjs} +1 -1
- package/dist/{piRuntime-Be0UP44z.cjs → piRuntime-Dne1LPu-.cjs} +1 -1
- package/dist/{piTerminal-DVOAWiZx.mjs → piTerminal-CKWxWtW-.mjs} +16 -16
- package/dist/{piTerminal-ibKBMmuK.cjs → piTerminal-fjado4cR.cjs} +16 -16
- package/dist/{registerCommonHandlers-DPOHFlxp.cjs → registerCommonHandlers-Dausbdsb.cjs} +2 -2
- package/dist/{registerCommonHandlers-t15dS7xt.mjs → registerCommonHandlers-bSskMveZ.mjs} +2 -2
- package/dist/{registerKillSessionHandler-BS5afGeA.mjs → registerKillSessionHandler-Ben5lAsN.mjs} +6 -6
- package/dist/{registerKillSessionHandler-DGDubZLv.cjs → registerKillSessionHandler-CgKyzwqw.cjs} +6 -6
- package/dist/{remoteSessionClient-DbnVs1Tv.cjs → remoteSessionClient-BkJt8SHa.cjs} +5 -5
- package/dist/{remoteSessionClient-N7JsQ0XS.mjs → remoteSessionClient-DnCIuZpQ.mjs} +5 -5
- package/dist/{run-CptLbkQ4.cjs → run-B8dxbDsg.cjs} +33 -33
- package/dist/{run-FZRugy70.mjs → run-BEYMVE4J.mjs} +32 -32
- package/dist/{runClaude-Cnv0SnA4.cjs → runClaude-Cy_HzLyO.cjs} +22 -22
- package/dist/{runClaude-DNW3i-k4.mjs → runClaude-Dd_P1c0f.mjs} +22 -22
- package/dist/{runClaudeDeps-CpAiml84.mjs → runClaudeDeps-JG7EUH7B.mjs} +441 -49
- package/dist/{runClaudeDeps-lb6LlVPa.cjs → runClaudeDeps-dxv910DR.cjs} +436 -44
- package/dist/{runGemini-CRn8exeY.mjs → runGemini-CpaBuvoW.mjs} +34 -34
- package/dist/{runGemini-BzS_Yw3F.cjs → runGemini-DY1IDW_f.cjs} +34 -34
- package/dist/{runOpenClaw-QoDQpR9a.cjs → runOpenClaw-C0VARcYj.cjs} +20 -20
- package/dist/{runOpenClaw-DuS_zRVT.mjs → runOpenClaw-C7vrDQbq.mjs} +20 -20
- package/dist/{sandbox-CT9CGjEI.cjs → sandbox-Bx9-M9rN.cjs} +4 -4
- package/dist/{sandbox-DysMM_pn.mjs → sandbox-DRUJZuaM.mjs} +4 -4
- package/dist/{selfCheck-DIn7j8MD.cjs → selfCheck-Ba1sECTO.cjs} +34 -34
- package/dist/selfCheck-DdT8r263.mjs +84 -0
- package/dist/{send-CA6fSF3S.mjs → send-BrzkbMy2.mjs} +8 -8
- package/dist/{send-97xYN_Yw.cjs → send-Dqdpx-w5.cjs} +8 -8
- package/dist/{server-r50NNW9e.mjs → server-CPMPoEAA.mjs} +4 -4
- package/dist/{server-C67NGJoX.cjs → server-CfB8EWCg.cjs} +6 -6
- package/dist/{sessionLock-CS4fdsmu.cjs → sessionLock-BsP3Y_nG.cjs} +2 -2
- package/dist/{sessionLock-Dab6_dCd.mjs → sessionLock-DukLVzAQ.mjs} +2 -2
- package/dist/{sessionModeFile-3yV7P9R-.mjs → sessionModeFile-CSvi4H_t.mjs} +1 -1
- package/dist/{sessionModeFile-BhqlFlHZ.cjs → sessionModeFile-JWWF6Nn7.cjs} +1 -1
- package/dist/{sessionOps-DJSwzwP-.mjs → sessionOps-BlMg1uAa.mjs} +4 -4
- package/dist/{sessionOps-DWsGWwfZ.cjs → sessionOps-HuoMXcIZ.cjs} +4 -4
- package/dist/{sessionScanner-D6WqRtJQ.cjs → sessionScanner-BWU6KvZw.cjs} +3 -3
- package/dist/{sessionScanner-jilpq2aE.mjs → sessionScanner-Ct-JoNHP.mjs} +3 -3
- package/dist/{sessions-RXTp4x0o.mjs → sessions-3Hw1xXMV.mjs} +9 -9
- package/dist/{sessions-C22q-Z_s.cjs → sessions-AjflCj5y.cjs} +9 -9
- package/dist/{setupOfflineReconnection-rd1PCWiN.mjs → setupOfflineReconnection-B_9xp36H.mjs} +2 -2
- package/dist/{setupOfflineReconnection-BrnWBRUP.cjs → setupOfflineReconnection-Cxh9Sz9M.cjs} +2 -2
- package/dist/{spawn-D8CEQPbN.mjs → spawn-BXEVKCQK.mjs} +12 -12
- package/dist/{spawn-Ccy5qAtp.cjs → spawn-CN8PH11G.cjs} +12 -12
- package/dist/{spawnAgents-Y1LjnCt9.mjs → spawnAgents-Czi2VDzj.mjs} +1 -1
- package/dist/{spawnAgents-iSu1Xzs5.cjs → spawnAgents-McixdtV1.cjs} +1 -1
- package/dist/{spawnHappyCLI-wowHF2IL.mjs → spawnHappyCLI-BFN0h2fK.mjs} +1 -1
- package/dist/{spawnHappyCLI-Dz2ZHrsN.cjs → spawnHappyCLI-Cj-9-d_7.cjs} +1 -1
- package/dist/{startFileWatcher-Ce17H9pG.cjs → startFileWatcher-BfMu444W.cjs} +1 -1
- package/dist/{startFileWatcher-C1wjDI_o.mjs → startFileWatcher-Csql7gdv.mjs} +1 -1
- package/dist/{streamRelay-BLgU9X3R.mjs → streamRelay-BzMEEvJU.mjs} +1 -1
- package/dist/{streamRelay-DnObXZZj.cjs → streamRelay-C0AffuX6.cjs} +1 -1
- package/dist/{sync-fDRF_nO1.cjs → sync--uxtLWbo.cjs} +1 -1
- package/dist/{sync-DnmsgL3w.mjs → sync-SCvDzRy6.mjs} +1 -1
- package/dist/{systemPrompt-9PWg4OU6.cjs → systemPrompt-C1tRiZ-u.cjs} +2 -2
- package/dist/{systemPrompt-Db9O7KGe.mjs → systemPrompt-D0KMySrK.mjs} +2 -2
- package/dist/{teams-C5PwKr4K.mjs → teams-By-hcvMF.mjs} +6 -6
- package/dist/{teams-DkHPUc6j.cjs → teams-CYDIFXEC.cjs} +6 -6
- package/dist/{time-xNkWLTSj.cjs → time-C7BplxuS.cjs} +1 -1
- package/dist/{time-TxDyvAKk.mjs → time-CRvAaC5H.mjs} +1 -1
- package/dist/{titleGenerator-oK414IZc.mjs → titleGenerator-CUG-n2r3.mjs} +1 -1
- package/dist/{titleGenerator-C8arvXNG.cjs → titleGenerator-Kw3sTnNQ.cjs} +2 -2
- package/dist/{todo-VqQuYyFq.cjs → todo-B7a7J5Ng.cjs} +6 -6
- package/dist/{todo-CLHIGRUf.mjs → todo-yuIsUvU8.mjs} +6 -6
- package/dist/{tools-GnqHEZHb.cjs → tools-BTBgpiRc.cjs} +2 -2
- package/dist/{tools-xQ38ufgo.cjs → tools-D7UeLMZ7.cjs} +1 -1
- package/dist/{tools-sPgOmLr_.mjs → tools-RvMKw7yx.mjs} +1 -1
- package/dist/{tools-BSzD246o.mjs → tools-gUjkPpCw.mjs} +2 -2
- package/dist/{uninstall-DKM0j1qI.cjs → uninstall-D5D16-KM.cjs} +3 -3
- package/dist/{uninstall-DyoXxpgI.mjs → uninstall-Dx9FmLXs.mjs} +3 -3
- package/package.json +8 -8
- package/dist/selfCheck-BTltA-ZZ.mjs +0 -84
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { execFile, spawn as spawn$1, spawnSync } from 'node:child_process';
|
|
2
|
-
import { p as AGENT_VERSION_SOURCES, q as AUTOMATION_SUMMARY_MAX_CHARS, r as AUTOMATION_CLAIM_MAX_RUNS, t as AUTOMATION_DEFAULT_LEASE_MS, i as isAutomationRunTerminal } from './index-
|
|
3
|
-
import { p as packageJson } from './package-
|
|
4
|
-
import { P as PI_ADAPTER_INSTALL_HINT, s as sanitizeSpawnModel, d as detectDaemonSupervisor } from './piRunnerArgs-
|
|
2
|
+
import { p as AGENT_VERSION_SOURCES, q as AUTOMATION_SUMMARY_MAX_CHARS, r as AUTOMATION_CLAIM_MAX_RUNS, t as AUTOMATION_DEFAULT_LEASE_MS, i as isAutomationRunTerminal } from './index-vVWpCoTr.mjs';
|
|
3
|
+
import { p as packageJson } from './package-tVYgFJoK.mjs';
|
|
4
|
+
import { P as PI_ADAPTER_INSTALL_HINT, s as sanitizeSpawnModel, d as detectDaemonSupervisor } from './piRunnerArgs-aq0zJX1Q.mjs';
|
|
5
5
|
import fs from 'fs/promises';
|
|
6
6
|
import * as tmp from 'tmp';
|
|
7
7
|
import axios from 'axios';
|
|
8
|
-
import { T as TurnActivityTracker, A as ApiClient } from './api-
|
|
9
|
-
import { S as SPAWN_AGENTS, i as isSpawnAgent, s as sanitizeSpawnPermissionMode, r as resolveSpawnPermissionMode, a as resolveFirstMessageMeta } from './spawnAgents-
|
|
10
|
-
import { l as logger } from './logger-
|
|
8
|
+
import { T as TurnActivityTracker, A as ApiClient } from './api-Yoh_zKdR.mjs';
|
|
9
|
+
import { S as SPAWN_AGENTS, i as isSpawnAgent, s as sanitizeSpawnPermissionMode, r as resolveSpawnPermissionMode, a as resolveFirstMessageMeta } from './spawnAgents-Czi2VDzj.mjs';
|
|
10
|
+
import { l as logger } from './logger-8dtZPn3n.mjs';
|
|
11
11
|
import { readdirSync, statSync, unlinkSync, realpathSync, mkdirSync, writeFileSync, accessSync, constants as constants$1, existsSync, readFileSync, openSync, fsyncSync, closeSync, renameSync } from 'node:fs';
|
|
12
12
|
import { join, isAbsolute, resolve, dirname, sep, basename, delimiter } from 'node:path';
|
|
13
|
-
import { p as pruneStaleCompileCaches } from './index-
|
|
14
|
-
import { a as authAndSetupMachineIfNeeded } from './auth-
|
|
15
|
-
import { c as configuration, f as ensurePrivateDirectorySync, w as writePrivateFileSync } from './configuration-
|
|
13
|
+
import { p as pruneStaleCompileCaches } from './index-CbF87SeZ.mjs';
|
|
14
|
+
import { a as authAndSetupMachineIfNeeded } from './auth-Cxhx5evk.mjs';
|
|
15
|
+
import { c as configuration, f as ensurePrivateDirectorySync, w as writePrivateFileSync } from './configuration-CiBUH72C.mjs';
|
|
16
16
|
import { spawn, execSync } from 'child_process';
|
|
17
|
-
import { a as globalPrefixForPackage, g as getEnvironmentInfo } from './doctor-
|
|
18
|
-
import { s as spawnHappyCLI } from './spawnHappyCLI-
|
|
19
|
-
import { readPersistedSessions, readSettings, persistSession, readDaemonState, acquireDaemonLock, deletePersistedSessions, writeDaemonState, writeSettings, releaseDaemonLock } from './persistence-
|
|
20
|
-
import { i as isDaemonRunningCurrentlyInstalledHappyVersion, a as stopDaemon, o as cleanupDaemonState } from './controlClient-
|
|
21
|
-
import { e as sendUserMessage, f as readSessionMetadata, r as readSessionTranscript, l as listAccountSessions, a as listSessions, M as MAX_READ_LIMIT, s as sessionWebUrl, g as waitForSessionKey, d as archiveSession, j as analyzeLatestTurn, k as readSessionLog, m as TURN_WINDOW, n as userPromptText } from './sessionOps-
|
|
17
|
+
import { a as globalPrefixForPackage, g as getEnvironmentInfo } from './doctor-CSgzbG5L.mjs';
|
|
18
|
+
import { s as spawnHappyCLI } from './spawnHappyCLI-BFN0h2fK.mjs';
|
|
19
|
+
import { readPersistedSessions, readSettings, persistSession, readDaemonState, acquireDaemonLock, deletePersistedSessions, writeDaemonState, writeSettings, releaseDaemonLock } from './persistence-C_xFQLsD.mjs';
|
|
20
|
+
import { i as isDaemonRunningCurrentlyInstalledHappyVersion, a as stopDaemon, o as cleanupDaemonState } from './controlClient-DzmCQrY_.mjs';
|
|
21
|
+
import { e as sendUserMessage, f as readSessionMetadata, r as readSessionTranscript, l as listAccountSessions, a as listSessions, M as MAX_READ_LIMIT, s as sessionWebUrl, g as waitForSessionKey, d as archiveSession, j as analyzeLatestTurn, k as readSessionLog, m as TURN_WINDOW, n as userPromptText } from './sessionOps-BlMg1uAa.mjs';
|
|
22
22
|
import { i as isClaudeSessionId, e as extractCompleteLines, f as decideBackfill, g as parseTerminalHookPayload, h as decideMirrorBinding, M as MIRROR_BACKFILL_LINES_DEFAULT, m as mirrorLineKey, j as mirrorLocalId, c as summarizeSpawnSessionForLog } from './mirrorProtocol-BNLtoWjO.mjs';
|
|
23
23
|
import fastify from 'fastify';
|
|
24
24
|
import { z } from 'zod';
|
|
@@ -27,55 +27,55 @@ import { d as decodeBase64, e as encodeBase64, h as decrypt } from './authRelay-
|
|
|
27
27
|
import { randomBytes, createHash, timingSafeEqual, randomUUID } from 'node:crypto';
|
|
28
28
|
import { c as checkPreviewPath } from './previewPath-CXN4Vag0.mjs';
|
|
29
29
|
import { a as BACKGROUND_TASKS_MAX, d as BACKGROUND_TASK_DESCRIPTION_MAX, e as BackgroundTaskTracker } from './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
30
|
-
import { f as formatEditConflictNotice, b as SESSION_PEER_SENT_FROM, s as sendPeerMessage, l as listPeerSessions, C as CLI_PEER_SENDER_ID } from './peerTools-
|
|
30
|
+
import { f as formatEditConflictNotice, b as SESSION_PEER_SENT_FROM, s as sendPeerMessage, l as listPeerSessions, C as CLI_PEER_SENDER_ID } from './peerTools-C1cduHh1.mjs';
|
|
31
31
|
import os, { hostname, homedir, userInfo, tmpdir } from 'node:os';
|
|
32
|
-
import { c as RemoteCallBudget, e as REMOTE_WRITE_CALLS_PER_MINUTE, d as deliverToSession, g as guardRemoteSessionOpsRequest, h as remoteError, i as REMOTE_OP_DEADLINE_MS, j as formatRemoteAuditLine, k as REMOTE_SEND_COMMIT_DEADLINE_MS, m as REMOTE_RESUME_WAIT_MS, n as capRemoteTranscript, o as capRemoteText, p as REMOTE_ANSWER_MAX_BYTES, q as REMOTE_TITLE_MAX_BYTES } from './remoteSessionClient-
|
|
33
|
-
import { assistantHome, bootstrapAssistantHome } from './bootstrap-
|
|
34
|
-
import { refreshAgentHomes, locateClaudeConversation, agentHomeSpawnEnv } from './index-
|
|
32
|
+
import { c as RemoteCallBudget, e as REMOTE_WRITE_CALLS_PER_MINUTE, d as deliverToSession, g as guardRemoteSessionOpsRequest, h as remoteError, i as REMOTE_OP_DEADLINE_MS, j as formatRemoteAuditLine, k as REMOTE_SEND_COMMIT_DEADLINE_MS, m as REMOTE_RESUME_WAIT_MS, n as capRemoteTranscript, o as capRemoteText, p as REMOTE_ANSWER_MAX_BYTES, q as REMOTE_TITLE_MAX_BYTES } from './remoteSessionClient-DnCIuZpQ.mjs';
|
|
33
|
+
import { assistantHome, bootstrapAssistantHome } from './bootstrap-CTNjn_aj.mjs';
|
|
34
|
+
import { refreshAgentHomes, locateClaudeConversation, agentHomeSpawnEnv } from './index-OEGj3BxE.mjs';
|
|
35
35
|
import { existsSync as existsSync$1, statSync as statSync$1, mkdtempSync, rmSync } from 'fs';
|
|
36
36
|
import { join as join$1 } from 'path';
|
|
37
37
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
38
38
|
import { d as daemonEndpointsMatch, r as resolveClaudeCredentialReadiness } from './doctorReadiness-C208SMN9.mjs';
|
|
39
|
-
import { g as getInitialMachineMetadata, a as getStartupCliAvailability } from './machineMetadata-
|
|
40
|
-
import { buildResumeLaunch } from './handleResumeCommand-
|
|
39
|
+
import { g as getInitialMachineMetadata, a as getStartupCliAvailability } from './machineMetadata-Bhp_w3-_.mjs';
|
|
40
|
+
import { buildResumeLaunch } from './handleResumeCommand-B84dt2aH.mjs';
|
|
41
41
|
import { access, symlink, readFile, rm, unlink, readlink, lstat, constants, stat, open } from 'node:fs/promises';
|
|
42
42
|
import { p as parseExactVersion, c as compareExactVersions, f as fetchCliUpdateState, r as resolveCliUpdateCheckInterval, D as DEFAULT_CLI_UPDATE_CHECK_INTERVAL_MS } from './cliUpdate-Y34VGe9Y.mjs';
|
|
43
43
|
import { createRequire } from 'node:module';
|
|
44
44
|
import { g as getProjectPath } from './path-D2wdaNSk.mjs';
|
|
45
45
|
import { b as extractClaudeEditPaths } from './editPaths-BVfS_FFL.mjs';
|
|
46
|
-
import { s as startFileWatcher } from './startFileWatcher-
|
|
47
|
-
import { I as InvalidateSync } from './sync-
|
|
46
|
+
import { s as startFileWatcher } from './startFileWatcher-Csql7gdv.mjs';
|
|
47
|
+
import { I as InvalidateSync } from './sync-SCvDzRy6.mjs';
|
|
48
48
|
import { R as RawJSONLinesSchema } from './types-CkqAACXx.mjs';
|
|
49
49
|
import { t as tmuxArgs, a as scrubTmuxClientEnv, s as shellescape } from './tmuxSocket-B8Yx20sT.mjs';
|
|
50
|
-
import { p as processIdentityFields, r as readSessionLock, t as terminateProcess } from './sessionLock-
|
|
50
|
+
import { p as processIdentityFields, r as readSessionLock, t as terminateProcess } from './sessionLock-DukLVzAQ.mjs';
|
|
51
51
|
import { findAllHappyProcesses } from './doctor-BPkYWSuq.mjs';
|
|
52
52
|
import { T as TEAM_SKILL } from './resources-BdFBQi8r.mjs';
|
|
53
53
|
import { promisify } from 'node:util';
|
|
54
|
-
import { c as createAutomationsClient, i as isAutomationsUnavailable, d as AutomationsRequestError } from './client-
|
|
54
|
+
import { c as createAutomationsClient, i as isAutomationsUnavailable, d as AutomationsRequestError } from './client-DkoV3VWl.mjs';
|
|
55
55
|
import { c as clipText, r as renderAction, b as renderTemplate } from './template-CiOPa2rd.mjs';
|
|
56
56
|
import { d as describeAgentHome } from './loginShellEnv-Dw8M7tkI.mjs';
|
|
57
57
|
import '@paralleldrive/cuid2';
|
|
58
|
-
import './sessionModeFile-
|
|
58
|
+
import './sessionModeFile-CSvi4H_t.mjs';
|
|
59
|
+
import './lidState-BbR6y9rq.mjs';
|
|
60
|
+
import 'os';
|
|
59
61
|
import 'node:events';
|
|
60
62
|
import 'socket.io-client';
|
|
61
|
-
import './attachmentLimits-
|
|
63
|
+
import './attachmentLimits-B8nzhw-i.mjs';
|
|
62
64
|
import './limits-DIo7rEBR.mjs';
|
|
63
|
-
import './time-
|
|
64
|
-
import './
|
|
65
|
-
import 'os';
|
|
66
|
-
import './registerCommonHandlers-t15dS7xt.mjs';
|
|
65
|
+
import './time-CRvAaC5H.mjs';
|
|
66
|
+
import './registerCommonHandlers-bSskMveZ.mjs';
|
|
67
67
|
import 'util';
|
|
68
68
|
import 'crypto';
|
|
69
69
|
import 'cross-spawn';
|
|
70
70
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
71
71
|
import 'chalk';
|
|
72
72
|
import 'tweetnacl';
|
|
73
|
-
import './browser-
|
|
73
|
+
import './browser-DydXWySF.mjs';
|
|
74
74
|
import 'open';
|
|
75
75
|
import './ids-DU6sLx4C.mjs';
|
|
76
76
|
import 'url';
|
|
77
77
|
import './detectCLI-CSGMlV51.mjs';
|
|
78
|
-
import './localHappyAgentAuth-
|
|
78
|
+
import './localHappyAgentAuth-C7rDePjF.mjs';
|
|
79
79
|
import 'ps-list';
|
|
80
80
|
|
|
81
81
|
const AGENT_CHECK_INTERVAL = 6 * 60 * 60 * 1e3;
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var os = require('node:os');
|
|
4
|
-
var sessionLock = require('./sessionLock-
|
|
4
|
+
var sessionLock = require('./sessionLock-BsP3Y_nG.cjs');
|
|
5
5
|
var node_crypto = require('node:crypto');
|
|
6
|
-
var api = require('./api-
|
|
7
|
-
var logger = require('./logger-
|
|
8
|
-
var _package = require('./package-
|
|
9
|
-
var persistence = require('./persistence-
|
|
10
|
-
var createSessionMetadata = require('./createSessionMetadata-
|
|
11
|
-
var index = require('./index-
|
|
6
|
+
var api = require('./api-EKlS0r1w.cjs');
|
|
7
|
+
var logger = require('./logger-B1k7eZnq.cjs');
|
|
8
|
+
var _package = require('./package-CC_txQ31.cjs');
|
|
9
|
+
var persistence = require('./persistence-d3ZyER6o.cjs');
|
|
10
|
+
var createSessionMetadata = require('./createSessionMetadata-D04x6OMW.cjs');
|
|
11
|
+
var index = require('./index-DqlyNgt4.cjs');
|
|
12
12
|
var forkBackfill = require('./forkBackfill-8eLDeS73.cjs');
|
|
13
|
-
var configuration = require('./configuration-
|
|
14
|
-
var controlClient = require('./controlClient-
|
|
15
|
-
var machineMetadata = require('./machineMetadata-
|
|
13
|
+
var configuration = require('./configuration-PXAE4-FP.cjs');
|
|
14
|
+
var controlClient = require('./controlClient-DI-Er-Ww.cjs');
|
|
15
|
+
var machineMetadata = require('./machineMetadata-C4OfKn6I.cjs');
|
|
16
16
|
var projectPath = require('./projectPath-ChLhdOyt.cjs');
|
|
17
17
|
var path = require('node:path');
|
|
18
18
|
var permissionMode = require('./permissionMode-CrV-XuMs.cjs');
|
|
19
19
|
var authRelay = require('./authRelay-BdYkC1Po.cjs');
|
|
20
20
|
var promises = require('node:fs/promises');
|
|
21
21
|
var defaultPermissionMode = require('./defaultPermissionMode-CxmTXUQR.cjs');
|
|
22
|
-
var attachmentContent = require('./attachmentContent-
|
|
22
|
+
var attachmentContent = require('./attachmentContent-Bakb0XV3.cjs');
|
|
23
23
|
var startupPlan = require('./startupPlan-BLMbfQIH.cjs');
|
|
24
24
|
require('node:fs');
|
|
25
25
|
require('axios');
|
|
26
|
+
require('./lidState-De2HP6nu.cjs');
|
|
27
|
+
require('os');
|
|
28
|
+
require('child_process');
|
|
26
29
|
require('node:events');
|
|
27
30
|
require('socket.io-client');
|
|
28
|
-
require('./attachmentLimits-
|
|
31
|
+
require('./attachmentLimits-eJZ4ZBjF.cjs');
|
|
29
32
|
require('zod');
|
|
30
33
|
require('./limits-C-a7gr04.cjs');
|
|
31
|
-
require('./time-
|
|
32
|
-
require('./
|
|
33
|
-
require('os');
|
|
34
|
-
require('child_process');
|
|
35
|
-
require('./registerCommonHandlers-DPOHFlxp.cjs');
|
|
34
|
+
require('./time-C7BplxuS.cjs');
|
|
35
|
+
require('./registerCommonHandlers-Dausbdsb.cjs');
|
|
36
36
|
require('util');
|
|
37
37
|
require('fs/promises');
|
|
38
38
|
require('crypto');
|
|
39
39
|
require('path');
|
|
40
40
|
require('cross-spawn');
|
|
41
41
|
require('@paralleldrive/cuid2');
|
|
42
|
-
require('./sync
|
|
42
|
+
require('./sync--uxtLWbo.cjs');
|
|
43
43
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
44
44
|
require('./contentLogMetadata-ZSFk_NjQ.cjs');
|
|
45
45
|
require('chalk');
|
|
46
46
|
require('node:util');
|
|
47
47
|
require('./detectCLI-DR9ZaN6B.cjs');
|
|
48
48
|
require('fs');
|
|
49
|
-
require('./localHappyAgentAuth-
|
|
49
|
+
require('./localHappyAgentAuth-CboZb3_a.cjs');
|
|
50
50
|
require('tweetnacl');
|
|
51
51
|
require('url');
|
|
52
52
|
|
|
53
53
|
const DEFAULT_CLAUDE_MODEL = void 0;
|
|
54
54
|
const DEFAULT_CLAUDE_EFFORT = void 0;
|
|
55
|
-
const importRunClaudeDeps = () => Promise.resolve().then(function () { return require('./runClaudeDeps-
|
|
55
|
+
const importRunClaudeDeps = () => Promise.resolve().then(function () { return require('./runClaudeDeps-dxv910DR.cjs'); });
|
|
56
56
|
async function runClaude(credentials, options = {}) {
|
|
57
57
|
logger.logger.debug(`[CLAUDE] ===== CLAUDE MODE STARTING =====`);
|
|
58
58
|
logger.logger.debug(`[CLAUDE] This is the Claude agent, NOT Gemini`);
|
|
@@ -66,7 +66,7 @@ async function runClaude(credentials, options = {}) {
|
|
|
66
66
|
const isAssistantVariant = process.env.HAPPY_SESSION_VARIANT === "assistant";
|
|
67
67
|
if (isAssistantVariant) {
|
|
68
68
|
try {
|
|
69
|
-
const { bootstrapAssistantHome } = await Promise.resolve().then(function () { return require('./bootstrap-
|
|
69
|
+
const { bootstrapAssistantHome } = await Promise.resolve().then(function () { return require('./bootstrap-D9SUykG_.cjs'); });
|
|
70
70
|
await bootstrapAssistantHome();
|
|
71
71
|
} catch (error) {
|
|
72
72
|
logger.logger.debug("[START] Assistant home bootstrap failed:", error);
|
|
@@ -184,7 +184,7 @@ async function runClaude(credentials, options = {}) {
|
|
|
184
184
|
}
|
|
185
185
|
if (!response) {
|
|
186
186
|
let offlineSessionId = null;
|
|
187
|
-
const { claudeLocal } = await Promise.resolve().then(function () { return require('./claudeLocal-
|
|
187
|
+
const { claudeLocal } = await Promise.resolve().then(function () { return require('./claudeLocal-CsLFMvFU.cjs'); });
|
|
188
188
|
const { createSessionScanner: createSessionScanner2 } = await loadDeps();
|
|
189
189
|
const reconnection = api.startOfflineReconnection({
|
|
190
190
|
serverUrl: configuration.configuration.serverUrl,
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import os from 'node:os';
|
|
2
|
-
import { c as claimSessionOrExit, a as applyServerSnapshot, w as withoutServerSnapshot, m as mergeReconnectMetadata } from './sessionLock-
|
|
2
|
+
import { c as claimSessionOrExit, a as applyServerSnapshot, w as withoutServerSnapshot, m as mergeReconnectMetadata } from './sessionLock-DukLVzAQ.mjs';
|
|
3
3
|
import { randomUUID } from 'node:crypto';
|
|
4
|
-
import { c as connectionState, A as ApiClient, s as startOfflineReconnection } from './api-
|
|
5
|
-
import { l as logger } from './logger-
|
|
6
|
-
import { p as packageJson } from './package-
|
|
7
|
-
import { readSettings } from './persistence-
|
|
8
|
-
import { s as spawnOriginTags } from './createSessionMetadata-
|
|
9
|
-
import { P as PROMPT_QUEUE_CAPABILITY } from './index-
|
|
4
|
+
import { c as connectionState, A as ApiClient, s as startOfflineReconnection } from './api-Yoh_zKdR.mjs';
|
|
5
|
+
import { l as logger } from './logger-8dtZPn3n.mjs';
|
|
6
|
+
import { p as packageJson } from './package-tVYgFJoK.mjs';
|
|
7
|
+
import { readSettings } from './persistence-C_xFQLsD.mjs';
|
|
8
|
+
import { s as spawnOriginTags } from './createSessionMetadata-B47GrTX6.mjs';
|
|
9
|
+
import { P as PROMPT_QUEUE_CAPABILITY } from './index-vVWpCoTr.mjs';
|
|
10
10
|
import { F as FORK_BACKFILL_CAPABILITY, p as publishForkBackfillWhenCommitted } from './forkBackfill-DYIjlN1Z.mjs';
|
|
11
|
-
import { c as configuration } from './configuration-
|
|
12
|
-
import { n as notifyDaemonSessionStarted } from './controlClient-
|
|
13
|
-
import { g as getInitialMachineMetadata } from './machineMetadata-
|
|
11
|
+
import { c as configuration } from './configuration-CiBUH72C.mjs';
|
|
12
|
+
import { n as notifyDaemonSessionStarted } from './controlClient-DzmCQrY_.mjs';
|
|
13
|
+
import { g as getInitialMachineMetadata } from './machineMetadata-Bhp_w3-_.mjs';
|
|
14
14
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
15
15
|
import { resolve, join } from 'node:path';
|
|
16
16
|
import { a as applySandboxPermissionPolicy, r as resolveInitialClaudePermissionMode, m as mapToClaudeMode, b as reconcilePublishedPermissionMode } from './permissionMode-CH4FoZfU.mjs';
|
|
17
17
|
import { d as decodeBase64, e as encodeBase64 } from './authRelay-DSAvg1uv.mjs';
|
|
18
18
|
import { readFile } from 'node:fs/promises';
|
|
19
19
|
import { D as DEFAULT_CLAUDE_PERMISSION_MODE } from './defaultPermissionMode-BnxJPVHT.mjs';
|
|
20
|
-
import { C as CLAUDE_ATTACHMENT_KINDS, s as stripAttachmentManifest } from './attachmentContent-
|
|
20
|
+
import { C as CLAUDE_ATTACHMENT_KINDS, s as stripAttachmentManifest } from './attachmentContent-BLyyo1al.mjs';
|
|
21
21
|
import { p as planClaudeStartup } from './startupPlan-DFMyNgAs.mjs';
|
|
22
22
|
import 'node:fs';
|
|
23
23
|
import 'axios';
|
|
24
|
+
import './lidState-BbR6y9rq.mjs';
|
|
25
|
+
import 'os';
|
|
26
|
+
import 'child_process';
|
|
24
27
|
import 'node:events';
|
|
25
28
|
import 'socket.io-client';
|
|
26
|
-
import './attachmentLimits-
|
|
29
|
+
import './attachmentLimits-B8nzhw-i.mjs';
|
|
27
30
|
import 'zod';
|
|
28
31
|
import './limits-DIo7rEBR.mjs';
|
|
29
|
-
import './time-
|
|
30
|
-
import './
|
|
31
|
-
import 'os';
|
|
32
|
-
import 'child_process';
|
|
33
|
-
import './registerCommonHandlers-t15dS7xt.mjs';
|
|
32
|
+
import './time-CRvAaC5H.mjs';
|
|
33
|
+
import './registerCommonHandlers-bSskMveZ.mjs';
|
|
34
34
|
import 'util';
|
|
35
35
|
import 'fs/promises';
|
|
36
36
|
import 'crypto';
|
|
37
37
|
import 'path';
|
|
38
38
|
import 'cross-spawn';
|
|
39
39
|
import '@paralleldrive/cuid2';
|
|
40
|
-
import './sync-
|
|
40
|
+
import './sync-SCvDzRy6.mjs';
|
|
41
41
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
42
42
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
43
43
|
import 'chalk';
|
|
44
44
|
import 'node:util';
|
|
45
45
|
import './detectCLI-CSGMlV51.mjs';
|
|
46
46
|
import 'fs';
|
|
47
|
-
import './localHappyAgentAuth-
|
|
47
|
+
import './localHappyAgentAuth-C7rDePjF.mjs';
|
|
48
48
|
import 'tweetnacl';
|
|
49
49
|
import 'url';
|
|
50
50
|
|
|
51
51
|
const DEFAULT_CLAUDE_MODEL = void 0;
|
|
52
52
|
const DEFAULT_CLAUDE_EFFORT = void 0;
|
|
53
|
-
const importRunClaudeDeps = () => import('./runClaudeDeps-
|
|
53
|
+
const importRunClaudeDeps = () => import('./runClaudeDeps-JG7EUH7B.mjs');
|
|
54
54
|
async function runClaude(credentials, options = {}) {
|
|
55
55
|
logger.debug(`[CLAUDE] ===== CLAUDE MODE STARTING =====`);
|
|
56
56
|
logger.debug(`[CLAUDE] This is the Claude agent, NOT Gemini`);
|
|
@@ -64,7 +64,7 @@ async function runClaude(credentials, options = {}) {
|
|
|
64
64
|
const isAssistantVariant = process.env.HAPPY_SESSION_VARIANT === "assistant";
|
|
65
65
|
if (isAssistantVariant) {
|
|
66
66
|
try {
|
|
67
|
-
const { bootstrapAssistantHome } = await import('./bootstrap-
|
|
67
|
+
const { bootstrapAssistantHome } = await import('./bootstrap-CTNjn_aj.mjs');
|
|
68
68
|
await bootstrapAssistantHome();
|
|
69
69
|
} catch (error) {
|
|
70
70
|
logger.debug("[START] Assistant home bootstrap failed:", error);
|
|
@@ -182,7 +182,7 @@ async function runClaude(credentials, options = {}) {
|
|
|
182
182
|
}
|
|
183
183
|
if (!response) {
|
|
184
184
|
let offlineSessionId = null;
|
|
185
|
-
const { claudeLocal } = await import('./claudeLocal-
|
|
185
|
+
const { claudeLocal } = await import('./claudeLocal-CdJJovWq.mjs');
|
|
186
186
|
const { createSessionScanner: createSessionScanner2 } = await loadDeps();
|
|
187
187
|
const reconnection = startOfflineReconnection({
|
|
188
188
|
serverUrl: configuration.serverUrl,
|