very-happy-cli 0.2.161 → 0.2.163
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-Ba98QDif.cjs → AcpBackend-C2rzKnvT.cjs} +3 -3
- package/dist/{AcpBackend-6U6pQgx1.mjs → AcpBackend-CuOUXVRX.mjs} +3 -3
- package/dist/{AcpSessionManager-CoMWFVw3.mjs → AcpSessionManager-BSIBnWUb.mjs} +1 -1
- package/dist/{AcpSessionManager-BAY1Pggx.cjs → AcpSessionManager-BvIuBzoO.cjs} +1 -1
- package/dist/{BasePermissionHandler-2R0uH2CI.cjs → BasePermissionHandler-D6PdH-OU.cjs} +1 -1
- package/dist/{BasePermissionHandler-BvvhBTja.mjs → BasePermissionHandler-Ng5h8JpY.mjs} +1 -1
- package/dist/{BaseReasoningProcessor-fsVNmCEF.cjs → BaseReasoningProcessor-C0cXz1mg.cjs} +1 -1
- package/dist/{BaseReasoningProcessor-DyhO1uoU.mjs → BaseReasoningProcessor-CM-ijU4F.mjs} +1 -1
- package/dist/{agentHome-Ck1i1TQB.mjs → agentHome-Bt4lOwFE.mjs} +4 -4
- package/dist/{agentHome-DvNnGphb.cjs → agentHome-CAMEVRZZ.cjs} +4 -4
- package/dist/{api-SffjRQ1b.mjs → api-D5kfP3JF.mjs} +26 -10
- package/dist/{api-B2vLMS-z.cjs → api-DGFBAPr7.cjs} +26 -10
- package/dist/{apiMachine-gFA54X7y.cjs → apiMachine-BxCy5_No.cjs} +33 -26
- package/dist/{apiMachine-BpW9t8MO.mjs → apiMachine-C58eizxs.mjs} +21 -14
- package/dist/{assistantTools-CgiTbnWb.mjs → assistantTools-BvKH9eRc.mjs} +6 -6
- package/dist/{assistantTools-BfA0R3_m.cjs → assistantTools-NC7DMNvV.cjs} +6 -6
- package/dist/{attachmentContent-CSGxr71v.mjs → attachmentContent-CCE0Y3gR.mjs} +2 -2
- package/dist/{attachmentContent-DMMZzevR.cjs → attachmentContent-CUKdzh4v.cjs} +2 -2
- package/dist/{attachmentLimits-yba1uHFO.mjs → attachmentLimits-D5pgmASK.mjs} +1 -1
- package/dist/{attachmentLimits-CzVrqgLR.cjs → attachmentLimits-DzlBPyJP.cjs} +1 -1
- package/dist/{auth-x4CEoysH.cjs → auth-CILb5DeW.cjs} +8 -8
- package/dist/{auth-CYHjQ8oQ.mjs → auth-CRm8yNv6.mjs} +5 -5
- package/dist/{auth-Bt4ceBBy.cjs → auth-Ddz597Rw.cjs} +5 -5
- package/dist/{auth-DdyVZSo6.mjs → auth-gdc8gI9D.mjs} +8 -8
- package/dist/{auto-BDXDUnjB.cjs → auto-CXtt6MfS.cjs} +16 -14
- package/dist/{auto-CXLlRi3a.mjs → auto-lLjHfAOO.mjs} +16 -14
- package/dist/{bootstrap-CkgIq8N3.cjs → bootstrap-CccIDvh4.cjs} +2 -2
- package/dist/{bootstrap-BNQq05jR.mjs → bootstrap-DSWZAtGy.mjs} +2 -2
- package/dist/{browser-9pyhQr1R.mjs → browser-DU9kI-Q-.mjs} +1 -1
- package/dist/{browser-BDOlKWYe.cjs → browser-lizgdXYj.cjs} +1 -1
- package/dist/{claudeLocal-BDuGFnjJ.cjs → claudeLocal-Bp-lf6yb.cjs} +5 -5
- package/dist/{claudeLocal-CQa8qnwq.mjs → claudeLocal-CTR2xlPT.mjs} +5 -5
- package/dist/{claudeLocalLauncher-CDqQI9ak.mjs → claudeLocalLauncher-DFkwLMqU.mjs} +10 -10
- package/dist/{claudeLocalLauncher-Bd5I2-j6.cjs → claudeLocalLauncher-aQyL3g7I.cjs} +10 -10
- package/dist/{codexThreadFork-BCaEMBiM.mjs → claudeSessionFork-DABSCbkf.mjs} +2 -134
- package/dist/{codexThreadFork-BZqF-9bX.cjs → claudeSessionFork-DdJFvxwf.cjs} +1 -137
- package/dist/{client-Brn-UwVk.mjs → client-BbNFS1WW.mjs} +3 -3
- package/dist/{client-DOBWJL3u.cjs → client-CQzHoynf.cjs} +2 -2
- package/dist/{client-C_axwRry.cjs → client-CXvsRLAz.cjs} +3 -3
- package/dist/{client-CXb1VJui.mjs → client-CyUhxs-0.mjs} +2 -2
- package/dist/codex/happyMcpStdioBridge.cjs +15 -15
- package/dist/codex/happyMcpStdioBridge.mjs +15 -15
- package/dist/{codexAppServerClient-ZzhUTWPo.cjs → codexAppServerClient-5jNbTlE5.cjs} +2 -2
- package/dist/{codexAppServerClient-oeQKD6Qf.mjs → codexAppServerClient-Dto99RVH.mjs} +2 -2
- package/dist/{codexCommand-CJ82bl3l.mjs → codexCommand-BHfrAyds.mjs} +49 -41
- package/dist/{codexCommand-C7H0NpBe.cjs → codexCommand-LUp0vkNi.cjs} +49 -41
- package/dist/codexThreadFork-DNekT4nQ.cjs +138 -0
- package/dist/codexThreadFork-R76RU5H0.mjs +133 -0
- package/dist/{config-BglnktIo.mjs → config-BEvt_OYR.mjs} +3 -3
- package/dist/{config-CYpL1Ahd.cjs → config-CAD5NR1h.cjs} +3 -3
- package/dist/{configuration-DoWFJUPm.mjs → configuration-B0c-OP_h.mjs} +1 -1
- package/dist/{configuration-v9f8LM9T.cjs → configuration-CepfrPZ_.cjs} +1 -1
- package/dist/{connect-yEvjdRvx.cjs → connect-BPMzMoiQ.cjs} +13 -13
- package/dist/{connect-hgcNjyAB.mjs → connect-BeK0dMYB.mjs} +13 -13
- package/dist/{context-B45vMtSZ.cjs → context-BhZMRQho.cjs} +1 -1
- package/dist/{context-C9GHPLEm.mjs → context-mMg17HJv.mjs} +1 -1
- package/dist/{controlClient-DjoKTtgK.mjs → controlClient-BKmjlbGs.mjs} +3 -3
- package/dist/{controlClient-fEHE85bH.cjs → controlClient-HPMsyxLb.cjs} +3 -3
- package/dist/{createSessionMetadata-BRLB9CNO.cjs → createSessionMetadata-CGuyVxsM.cjs} +2 -2
- package/dist/{createSessionMetadata-mIeehclp.mjs → createSessionMetadata-KOL67aSN.mjs} +2 -2
- package/dist/{deterministicJson-DKDP_mM-.cjs → deterministicJson-BFzPcsCh.cjs} +9 -9
- package/dist/{deterministicJson-p835AdAU.mjs → deterministicJson-CaWami7M.mjs} +9 -9
- package/dist/{doctor-hVNnSZJn.cjs → doctor-BHNVY9DE.cjs} +6 -6
- package/dist/{doctor-BeUuQXFs.mjs → doctor-DX2P7IlL.mjs} +6 -6
- package/dist/{ensureDaemonRunning-Dg9aZfjs.cjs → ensureDaemonRunning-BahhZpQ1.cjs} +5 -5
- package/dist/{ensureDaemonRunning-CO7d1gOC.mjs → ensureDaemonRunning-CnWMrL5b.mjs} +5 -5
- package/dist/forkBackfill-8eLDeS73.cjs +66 -0
- package/dist/forkBackfill-DYIjlN1Z.mjs +62 -0
- package/dist/{handleResumeCommand-DnVmy7a3.cjs → handleResumeCommand-Ca334R4t.cjs} +5 -5
- package/dist/{handleResumeCommand-BiTPK0qd.mjs → handleResumeCommand-bToC6FDH.mjs} +5 -5
- package/dist/{index-CAFwetLk.mjs → index-B5v5fZi6.mjs} +37 -37
- package/dist/{index-gNTWtSKN.cjs → index-B6MVw_Xb.cjs} +3 -3
- package/dist/{index-qdS1friN.mjs → index-BBg9j0XK.mjs} +8 -1
- package/dist/{index-SPGPenK5.mjs → index-CpFreRx8.mjs} +4 -4
- package/dist/{index-Cqx-Raq6.mjs → index-D3AsOj4j.mjs} +3 -3
- package/dist/{index-DA7yINuk.cjs → index-DJ-oV52i.cjs} +8 -1
- package/dist/{index-Pf2cV9cn.cjs → index-DoMsO8_G.cjs} +4 -4
- package/dist/{index-LIn6nCcq.cjs → index-vFMUVtSL.cjs} +36 -36
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-Bu85vlHD.cjs → install-BnTP73AE.cjs} +3 -3
- package/dist/{install-ClUUl3yp.mjs → install-Dixfzmb_.mjs} +3 -3
- package/dist/lib.cjs +12 -12
- package/dist/lib.d.cts +26 -0
- package/dist/lib.d.mts +26 -0
- package/dist/lib.mjs +12 -12
- package/dist/{lidState-KHHu1015.cjs → lidState-BGWXfx1e.cjs} +1 -1
- package/dist/{lidState-C2dI0FAN.mjs → lidState-X7iQg4y5.mjs} +1 -1
- package/dist/{localHappyAgentAuth-BXiHPXdC.cjs → localHappyAgentAuth-D_Gc4K7h.cjs} +1 -1
- package/dist/{localHappyAgentAuth-DCsetiyG.mjs → localHappyAgentAuth-r83bTscW.mjs} +1 -1
- package/dist/{logger-fXoNzNuB.mjs → logger-BIzr7JN0.mjs} +2 -2
- package/dist/{logger-Bc8-u1w0.cjs → logger-Ca5eRZ2j.cjs} +2 -2
- package/dist/{machineMetadata-BHjehxJY.mjs → machineMetadata-DakW9c61.mjs} +3 -3
- package/dist/{machineMetadata-BibDMFVx.cjs → machineMetadata-GlObivJ-.cjs} +3 -3
- package/dist/{main-BktM4A1K.mjs → main-BJlGidfv.mjs} +44 -44
- package/dist/{main-CLaX-t-b.cjs → main-BfA1Vtqq.cjs} +44 -44
- package/dist/{mcp-GBfE70nk.cjs → mcp-BVzt1llv.cjs} +14 -14
- package/dist/{mcp-CeUd9KDr.mjs → mcp-Bb7AD1SD.mjs} +14 -14
- package/dist/{package-Cl5BEP5x.cjs → package-BfnmIH4b.cjs} +7 -7
- package/dist/{package-uOg9SCKi.mjs → package-D-W_r_pd.mjs} +7 -7
- package/dist/{peerTools-Dz3_7Bkk.mjs → peerTools-C1cELmtZ.mjs} +4 -4
- package/dist/{peerTools-CIeiy9wn.cjs → peerTools-CADjnFDx.cjs} +4 -4
- package/dist/{persistence-CBNMzSa8.cjs → persistence-Ceb-BPk6.cjs} +3 -3
- package/dist/{persistence-oET5n61f.mjs → persistence-DgBhXxu7.mjs} +3 -3
- package/dist/{piRunnerArgs-Bf7RUF__.cjs → piRunnerArgs-Bem-saSg.cjs} +1 -1
- package/dist/{piRunnerArgs-Dk1ncwHF.mjs → piRunnerArgs-CH6oh6w0.mjs} +1 -1
- package/dist/{piRuntime-BwRdhK_N.mjs → piRuntime-BRKG6Yoz.mjs} +1 -1
- package/dist/{piRuntime-B_6TE9Eb.cjs → piRuntime-Be0UP44z.cjs} +1 -1
- package/dist/{piTerminal-Bap3R8Re.mjs → piTerminal-DVOAWiZx.mjs} +16 -16
- package/dist/{piTerminal-CagmEoez.cjs → piTerminal-ibKBMmuK.cjs} +16 -16
- package/dist/{registerCommonHandlers-BjSV2Skz.cjs → registerCommonHandlers-DPOHFlxp.cjs} +2 -2
- package/dist/{registerCommonHandlers-CrgvJsOy.mjs → registerCommonHandlers-t15dS7xt.mjs} +2 -2
- package/dist/{registerKillSessionHandler-Cbc8Rgtd.mjs → registerKillSessionHandler-BS5afGeA.mjs} +11 -7
- package/dist/{registerKillSessionHandler-6TC2S3lf.cjs → registerKillSessionHandler-DGDubZLv.cjs} +11 -7
- package/dist/{remoteSessionClient-BNx78NLb.cjs → remoteSessionClient-DbnVs1Tv.cjs} +5 -5
- package/dist/{remoteSessionClient-CO7qOjR0.mjs → remoteSessionClient-N7JsQ0XS.mjs} +5 -5
- package/dist/{run-D5xAEWSB.cjs → run-CptLbkQ4.cjs} +32 -32
- package/dist/{run-2l5vSt2h.mjs → run-FZRugy70.mjs} +31 -31
- package/dist/{runClaude-BX6ixjtW.cjs → runClaude-Cnv0SnA4.cjs} +24 -21
- package/dist/{runClaude-BgN6xo05.mjs → runClaude-DNW3i-k4.mjs} +24 -21
- package/dist/{runClaudeDeps-COBBhD9o.mjs → runClaudeDeps-CpAiml84.mjs} +216 -39
- package/dist/{runClaudeDeps-Bp20MScE.cjs → runClaudeDeps-lb6LlVPa.cjs} +212 -35
- package/dist/{runGemini-CSMPkt0p.cjs → runGemini-BzS_Yw3F.cjs} +32 -32
- package/dist/{runGemini-Cc2jq-uh.mjs → runGemini-CRn8exeY.mjs} +32 -32
- package/dist/{runOpenClaw-CIlCwdW2.mjs → runOpenClaw-DuS_zRVT.mjs} +18 -18
- package/dist/{runOpenClaw-YBwua4Rf.cjs → runOpenClaw-QoDQpR9a.cjs} +18 -18
- package/dist/{sandbox-C4gXLP1p.cjs → sandbox-CT9CGjEI.cjs} +4 -4
- package/dist/{sandbox-CNkwOtHI.mjs → sandbox-DysMM_pn.mjs} +4 -4
- package/dist/selfCheck-BTltA-ZZ.mjs +84 -0
- package/dist/{selfCheck-CU8xSDsl.cjs → selfCheck-DIn7j8MD.cjs} +34 -34
- package/dist/{send-DY9Nr-x4.cjs → send-97xYN_Yw.cjs} +8 -8
- package/dist/{send-CGHcKZ-w.mjs → send-CA6fSF3S.mjs} +8 -8
- package/dist/{server-II51Mimf.cjs → server-C67NGJoX.cjs} +6 -6
- package/dist/{server-m2b5pamZ.mjs → server-r50NNW9e.mjs} +4 -4
- package/dist/{sessionLock-7ePAYDOg.cjs → sessionLock-CS4fdsmu.cjs} +2 -2
- package/dist/{sessionLock-Cw6FmbMv.mjs → sessionLock-Dab6_dCd.mjs} +2 -2
- package/dist/{sessionModeFile-CDmDyRkD.mjs → sessionModeFile-3yV7P9R-.mjs} +1 -1
- package/dist/{sessionModeFile-BVCV5f7E.cjs → sessionModeFile-BhqlFlHZ.cjs} +1 -1
- package/dist/{sessionOps-C_f1wKOr.mjs → sessionOps-DJSwzwP-.mjs} +5 -5
- package/dist/{sessionOps-DJdExmBy.cjs → sessionOps-DWsGWwfZ.cjs} +4 -4
- package/dist/{sessionScanner-D1goKdd3.cjs → sessionScanner-D6WqRtJQ.cjs} +3 -3
- package/dist/{sessionScanner-CaAHLyNV.mjs → sessionScanner-jilpq2aE.mjs} +3 -3
- package/dist/{sessions-DGs6ALNo.cjs → sessions-C22q-Z_s.cjs} +9 -9
- package/dist/{sessions-DnvmWUel.mjs → sessions-RXTp4x0o.mjs} +9 -9
- package/dist/{setupOfflineReconnection-R7XuR_sj.cjs → setupOfflineReconnection-BrnWBRUP.cjs} +2 -2
- package/dist/{setupOfflineReconnection-CVViqZft.mjs → setupOfflineReconnection-rd1PCWiN.mjs} +2 -2
- package/dist/{spawn-CXTH7qg1.cjs → spawn-Ccy5qAtp.cjs} +41 -19
- package/dist/{spawn-DNYSvFtC.mjs → spawn-D8CEQPbN.mjs} +39 -18
- package/dist/{spawnAgents-DZzZ9jMI.mjs → spawnAgents-Y1LjnCt9.mjs} +1 -1
- package/dist/{spawnAgents-BGQiEF-w.cjs → spawnAgents-iSu1Xzs5.cjs} +1 -1
- package/dist/{spawnHappyCLI-BhYj84rv.cjs → spawnHappyCLI-Dz2ZHrsN.cjs} +1 -1
- package/dist/{spawnHappyCLI-cqWQbwsb.mjs → spawnHappyCLI-wowHF2IL.mjs} +1 -1
- package/dist/{startFileWatcher-CdegMbJj.mjs → startFileWatcher-C1wjDI_o.mjs} +1 -1
- package/dist/{startFileWatcher-CKKx-8ZO.cjs → startFileWatcher-Ce17H9pG.cjs} +1 -1
- package/dist/{streamRelay-FPVbHpbM.mjs → streamRelay-BLgU9X3R.mjs} +1 -1
- package/dist/{streamRelay-BiKw59Cc.cjs → streamRelay-DnObXZZj.cjs} +1 -1
- package/dist/{sync-CxD-w_40.mjs → sync-DnmsgL3w.mjs} +5 -1
- package/dist/{sync-CVk4QERO.cjs → sync-fDRF_nO1.cjs} +5 -1
- package/dist/{systemPrompt-BygJcmbi.cjs → systemPrompt-9PWg4OU6.cjs} +2 -2
- package/dist/{systemPrompt-DmtypUc7.mjs → systemPrompt-Db9O7KGe.mjs} +2 -2
- package/dist/{teams-BOC6nIPL.mjs → teams-C5PwKr4K.mjs} +6 -6
- package/dist/{teams-BsvpOBfn.cjs → teams-DkHPUc6j.cjs} +6 -6
- package/dist/{time-BZNdNiIV.mjs → time-TxDyvAKk.mjs} +1 -1
- package/dist/{time-CNRE4ChD.cjs → time-xNkWLTSj.cjs} +1 -1
- package/dist/{titleGenerator-CFRhU-xq.cjs → titleGenerator-C8arvXNG.cjs} +13 -3
- package/dist/{titleGenerator-ox6ptCsp.mjs → titleGenerator-oK414IZc.mjs} +12 -2
- package/dist/{todo-C5KBVbUw.mjs → todo-CLHIGRUf.mjs} +6 -6
- package/dist/{todo-B-KB7oAB.cjs → todo-VqQuYyFq.cjs} +6 -6
- package/dist/{tools-BZabNIid.mjs → tools-BSzD246o.mjs} +2 -2
- package/dist/{tools-CsSovyNp.cjs → tools-GnqHEZHb.cjs} +2 -2
- package/dist/{tools-BmQQUATY.mjs → tools-sPgOmLr_.mjs} +1 -1
- package/dist/{tools-lMDra4Pv.cjs → tools-xQ38ufgo.cjs} +1 -1
- package/dist/{uninstall-fvA5aWpU.cjs → uninstall-DKM0j1qI.cjs} +3 -3
- package/dist/{uninstall-B1WLtC1d.mjs → uninstall-DyoXxpgI.mjs} +3 -3
- package/package.json +7 -7
- package/dist/selfCheck-hJ6PCh7v.mjs +0 -84
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { r as registerTeamsTools } from './tools-
|
|
1
|
+
import { r as registerTeamsTools } from './tools-sPgOmLr_.mjs';
|
|
2
2
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
3
3
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
import { p as pushClipboardViaDaemon, b as pushFilePreviewViaDaemon, d as setTerminalTitleViaDaemon } from './controlClient-
|
|
5
|
+
import { p as pushClipboardViaDaemon, b as pushFilePreviewViaDaemon, d as setTerminalTitleViaDaemon } from './controlClient-BKmjlbGs.mjs';
|
|
6
6
|
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';
|
|
7
|
-
import { r as registerAssistantSessionTools } from './assistantTools-
|
|
8
|
-
import { l as logger } from './logger-
|
|
7
|
+
import { r as registerAssistantSessionTools } from './assistantTools-BvKH9eRc.mjs';
|
|
8
|
+
import { l as logger } from './logger-BIzr7JN0.mjs';
|
|
9
9
|
import { c as checkPreviewPath } from './previewPath-CXN4Vag0.mjs';
|
|
10
10
|
import { P as PREVIEW_TOOL_NAME, a as PREVIEW_TOOL_TITLE, b as PREVIEW_TOOL_DESCRIPTION } from './agentGuidance-CQuNlNx8.mjs';
|
|
11
11
|
import 'node:fs/promises';
|
|
12
12
|
import 'node:os';
|
|
13
|
-
import './persistence-
|
|
14
|
-
import './configuration-
|
|
13
|
+
import './persistence-DgBhXxu7.mjs';
|
|
14
|
+
import './configuration-B0c-OP_h.mjs';
|
|
15
15
|
import 'node:crypto';
|
|
16
16
|
import 'axios';
|
|
17
17
|
import 'tweetnacl';
|
|
@@ -21,21 +21,21 @@ import './terminals-Dlg0x3nY.mjs';
|
|
|
21
21
|
import 'node:fs';
|
|
22
22
|
import 'node:path';
|
|
23
23
|
import { b as TerminalTitleSuggestRequestSchema } from './terminalTitleSuggest-CeKsX_V6.mjs';
|
|
24
|
-
import { s as suggestTitleForPrompt } from './titleGenerator-
|
|
24
|
+
import { s as suggestTitleForPrompt } from './titleGenerator-oK414IZc.mjs';
|
|
25
25
|
import { r as resolveMcpTerminalId } from './terminalToolContext-CFeGeaNm.mjs';
|
|
26
|
-
import './client-
|
|
27
|
-
import './context-
|
|
28
|
-
import './sessionOps-
|
|
26
|
+
import './client-BbNFS1WW.mjs';
|
|
27
|
+
import './context-mMg17HJv.mjs';
|
|
28
|
+
import './sessionOps-DJSwzwP-.mjs';
|
|
29
29
|
import './authRelay-DSAvg1uv.mjs';
|
|
30
|
-
import './time-
|
|
30
|
+
import './time-TxDyvAKk.mjs';
|
|
31
31
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
32
|
-
import './remoteSessionClient-
|
|
32
|
+
import './remoteSessionClient-N7JsQ0XS.mjs';
|
|
33
33
|
import './ids-DU6sLx4C.mjs';
|
|
34
|
-
import './bootstrap-
|
|
34
|
+
import './bootstrap-DSWZAtGy.mjs';
|
|
35
35
|
import 'chalk';
|
|
36
36
|
import 'node:util';
|
|
37
37
|
import './trimIdent-BAjmv_TG.mjs';
|
|
38
|
-
import './package-
|
|
38
|
+
import './package-D-W_r_pd.mjs';
|
|
39
39
|
import './tmuxSocket-B8Yx20sT.mjs';
|
|
40
40
|
import 'node:module';
|
|
41
41
|
import './oneShotPrompts-DT4p6RNd.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var name = "very-happy-cli";
|
|
4
|
-
var version = "0.2.
|
|
4
|
+
var version = "0.2.163";
|
|
5
5
|
var description = "Remote multi-agent workspace CLI with deep Claude integration, native terminal streaming, and self-hosting.";
|
|
6
6
|
var author = "Kirill Dubovitskiy";
|
|
7
7
|
var contributors = [
|
|
@@ -118,12 +118,12 @@ var dependencies = {
|
|
|
118
118
|
zod: "^4.0.0"
|
|
119
119
|
};
|
|
120
120
|
var optionalDependencies = {
|
|
121
|
-
"very-happy-tools-arm64-darwin": "0.2.
|
|
122
|
-
"very-happy-tools-x64-darwin": "0.2.
|
|
123
|
-
"very-happy-tools-arm64-linux": "0.2.
|
|
124
|
-
"very-happy-tools-x64-linux": "0.2.
|
|
125
|
-
"very-happy-tools-arm64-win32": "0.2.
|
|
126
|
-
"very-happy-tools-x64-win32": "0.2.
|
|
121
|
+
"very-happy-tools-arm64-darwin": "0.2.163",
|
|
122
|
+
"very-happy-tools-x64-darwin": "0.2.163",
|
|
123
|
+
"very-happy-tools-arm64-linux": "0.2.163",
|
|
124
|
+
"very-happy-tools-x64-linux": "0.2.163",
|
|
125
|
+
"very-happy-tools-arm64-win32": "0.2.163",
|
|
126
|
+
"very-happy-tools-x64-win32": "0.2.163"
|
|
127
127
|
};
|
|
128
128
|
var devDependencies = {
|
|
129
129
|
"@slopus/happy-wire": "workspace:*",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var name = "very-happy-cli";
|
|
2
|
-
var version = "0.2.
|
|
2
|
+
var version = "0.2.163";
|
|
3
3
|
var description = "Remote multi-agent workspace CLI with deep Claude integration, native terminal streaming, and self-hosting.";
|
|
4
4
|
var author = "Kirill Dubovitskiy";
|
|
5
5
|
var contributors = [
|
|
@@ -116,12 +116,12 @@ var dependencies = {
|
|
|
116
116
|
zod: "^4.0.0"
|
|
117
117
|
};
|
|
118
118
|
var optionalDependencies = {
|
|
119
|
-
"very-happy-tools-arm64-darwin": "0.2.
|
|
120
|
-
"very-happy-tools-x64-darwin": "0.2.
|
|
121
|
-
"very-happy-tools-arm64-linux": "0.2.
|
|
122
|
-
"very-happy-tools-x64-linux": "0.2.
|
|
123
|
-
"very-happy-tools-arm64-win32": "0.2.
|
|
124
|
-
"very-happy-tools-x64-win32": "0.2.
|
|
119
|
+
"very-happy-tools-arm64-darwin": "0.2.163",
|
|
120
|
+
"very-happy-tools-x64-darwin": "0.2.163",
|
|
121
|
+
"very-happy-tools-arm64-linux": "0.2.163",
|
|
122
|
+
"very-happy-tools-x64-linux": "0.2.163",
|
|
123
|
+
"very-happy-tools-arm64-win32": "0.2.163",
|
|
124
|
+
"very-happy-tools-x64-win32": "0.2.163"
|
|
125
125
|
};
|
|
126
126
|
var devDependencies = {
|
|
127
127
|
"@slopus/happy-wire": "workspace:*",
|
|
@@ -2,10 +2,10 @@ import { randomUUID } from 'node:crypto';
|
|
|
2
2
|
import { userInfo, hostname } from 'node:os';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { i as isValidSessionId } from './ids-DU6sLx4C.mjs';
|
|
5
|
-
import { f as listDaemonPeers } from './controlClient-
|
|
6
|
-
import { readPersistedSessions } from './persistence-
|
|
7
|
-
import { s as sessionWebUrl,
|
|
8
|
-
import { b as sendRemotePeerMessage, d as deliverToSession, a as listRemotePeers } from './remoteSessionClient-
|
|
5
|
+
import { f as listDaemonPeers } from './controlClient-BKmjlbGs.mjs';
|
|
6
|
+
import { readPersistedSessions } from './persistence-DgBhXxu7.mjs';
|
|
7
|
+
import { s as sessionWebUrl, e as sendUserMessage } from './sessionOps-DJSwzwP-.mjs';
|
|
8
|
+
import { b as sendRemotePeerMessage, d as deliverToSession, a as listRemotePeers } from './remoteSessionClient-N7JsQ0XS.mjs';
|
|
9
9
|
import { existsSync, readFileSync, statSync } from 'node:fs';
|
|
10
10
|
import { resolve, isAbsolute, dirname } from 'node:path';
|
|
11
11
|
|
|
@@ -4,10 +4,10 @@ var node_crypto = require('node:crypto');
|
|
|
4
4
|
var os = require('node:os');
|
|
5
5
|
var z = require('zod');
|
|
6
6
|
var ids = require('./ids-B6ZC0HGt.cjs');
|
|
7
|
-
var controlClient = require('./controlClient-
|
|
8
|
-
var persistence = require('./persistence-
|
|
9
|
-
var sessionOps = require('./sessionOps-
|
|
10
|
-
var remoteSessionClient = require('./remoteSessionClient-
|
|
7
|
+
var controlClient = require('./controlClient-HPMsyxLb.cjs');
|
|
8
|
+
var persistence = require('./persistence-Ceb-BPk6.cjs');
|
|
9
|
+
var sessionOps = require('./sessionOps-DWsGWwfZ.cjs');
|
|
10
|
+
var remoteSessionClient = require('./remoteSessionClient-DbnVs1Tv.cjs');
|
|
11
11
|
var node_fs = require('node:fs');
|
|
12
12
|
var path = require('node:path');
|
|
13
13
|
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
var promises = require('node:fs/promises');
|
|
4
4
|
var node_fs = require('node:fs');
|
|
5
|
-
var configuration = require('./configuration-
|
|
5
|
+
var configuration = require('./configuration-CepfrPZ_.cjs');
|
|
6
6
|
var z = require('zod');
|
|
7
7
|
var authRelay = require('./authRelay-BdYkC1Po.cjs');
|
|
8
|
-
var logger = require('./logger-
|
|
8
|
+
var logger = require('./logger-Ca5eRZ2j.cjs');
|
|
9
9
|
require('node:os');
|
|
10
10
|
require('node:path');
|
|
11
|
-
require('./package-
|
|
11
|
+
require('./package-BfnmIH4b.cjs');
|
|
12
12
|
require('node:crypto');
|
|
13
13
|
require('tweetnacl');
|
|
14
14
|
require('chalk');
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { readFile, open, unlink, stat, rename } from 'node:fs/promises';
|
|
2
2
|
import { existsSync, constants, readFileSync, unlinkSync, renameSync } from 'node:fs';
|
|
3
|
-
import { c as configuration, P as PRIVATE_FILE_MODE, w as writePrivateFileSync, h as hardenPrivateFileSync, e as ensurePrivateDirectory, a as writePrivateFile, b as hardenPrivateFile } from './configuration-
|
|
3
|
+
import { c as configuration, P as PRIVATE_FILE_MODE, w as writePrivateFileSync, h as hardenPrivateFileSync, e as ensurePrivateDirectory, a as writePrivateFile, b as hardenPrivateFile } from './configuration-B0c-OP_h.mjs';
|
|
4
4
|
import * as z from 'zod';
|
|
5
5
|
import { c as credentialRelayProblem, e as encodeBase64 } from './authRelay-DSAvg1uv.mjs';
|
|
6
|
-
import { l as logger } from './logger-
|
|
6
|
+
import { l as logger } from './logger-BIzr7JN0.mjs';
|
|
7
7
|
import 'node:os';
|
|
8
8
|
import 'node:path';
|
|
9
|
-
import './package-
|
|
9
|
+
import './package-D-W_r_pd.mjs';
|
|
10
10
|
import 'node:crypto';
|
|
11
11
|
import 'tweetnacl';
|
|
12
12
|
import 'chalk';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var sessionModeFile = require('./sessionModeFile-
|
|
3
|
+
var sessionModeFile = require('./sessionModeFile-BhqlFlHZ.cjs');
|
|
4
4
|
|
|
5
5
|
function detectDaemonSupervisor(env, platform = process.platform) {
|
|
6
6
|
const explicit = env.HAPPY_DAEMON_SUPERVISOR?.trim().toLowerCase();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as normalizeAcpPermissionMode } from './sessionModeFile-
|
|
1
|
+
import { n as normalizeAcpPermissionMode } from './sessionModeFile-3yV7P9R-.mjs';
|
|
2
2
|
|
|
3
3
|
function detectDaemonSupervisor(env, platform = process.platform) {
|
|
4
4
|
const explicit = env.HAPPY_DAEMON_SUPERVISOR?.trim().toLowerCase();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mkdir, chmod, writeFile, rename } from 'node:fs/promises';
|
|
2
2
|
import { randomUUID } from 'node:crypto';
|
|
3
3
|
import { join } from 'node:path';
|
|
4
|
-
import { c as configuration } from './configuration-
|
|
4
|
+
import { c as configuration } from './configuration-B0c-OP_h.mjs';
|
|
5
5
|
import { P as PI_TEAMS_EXTENSION } from './resources-BdFBQi8r.mjs';
|
|
6
6
|
|
|
7
7
|
async function publish(path, content, mode) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var promises = require('node:fs/promises');
|
|
4
4
|
var node_crypto = require('node:crypto');
|
|
5
5
|
var path = require('node:path');
|
|
6
|
-
var configuration = require('./configuration-
|
|
6
|
+
var configuration = require('./configuration-CepfrPZ_.cjs');
|
|
7
7
|
var resources = require('./resources-JDPugcDq.cjs');
|
|
8
8
|
|
|
9
9
|
async function publish(path, content, mode) {
|
|
@@ -3,15 +3,15 @@ import { randomUUID } from 'node:crypto';
|
|
|
3
3
|
import { createServer } from 'node:http';
|
|
4
4
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
5
5
|
import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js';
|
|
6
|
-
import { p as preparePiTeamsRuntime } from './piRuntime-
|
|
7
|
-
import { registerMcpTools, registerTerminalTitleSuggest } from './mcp-
|
|
6
|
+
import { p as preparePiTeamsRuntime } from './piRuntime-BRKG6Yoz.mjs';
|
|
7
|
+
import { registerMcpTools, registerTerminalTitleSuggest } from './mcp-Bb7AD1SD.mjs';
|
|
8
8
|
import './agentGuidance-CQuNlNx8.mjs';
|
|
9
9
|
import 'node:fs/promises';
|
|
10
10
|
import 'node:os';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import './logger-
|
|
13
|
-
import './persistence-
|
|
14
|
-
import './configuration-
|
|
12
|
+
import './logger-BIzr7JN0.mjs';
|
|
13
|
+
import './persistence-DgBhXxu7.mjs';
|
|
14
|
+
import './configuration-B0c-OP_h.mjs';
|
|
15
15
|
import 'axios';
|
|
16
16
|
import 'tweetnacl';
|
|
17
17
|
import 'socket.io-client';
|
|
@@ -20,23 +20,23 @@ import 'node:fs';
|
|
|
20
20
|
import 'node:path';
|
|
21
21
|
import { r as resolveMcpTerminalId } from './terminalToolContext-CFeGeaNm.mjs';
|
|
22
22
|
import './resources-BdFBQi8r.mjs';
|
|
23
|
-
import './tools-
|
|
24
|
-
import './client-
|
|
25
|
-
import './context-
|
|
23
|
+
import './tools-sPgOmLr_.mjs';
|
|
24
|
+
import './client-BbNFS1WW.mjs';
|
|
25
|
+
import './context-mMg17HJv.mjs';
|
|
26
26
|
import '@modelcontextprotocol/sdk/server/stdio.js';
|
|
27
|
-
import './controlClient-
|
|
27
|
+
import './controlClient-BKmjlbGs.mjs';
|
|
28
28
|
import './limits-DIo7rEBR.mjs';
|
|
29
|
-
import './assistantTools-
|
|
30
|
-
import './sessionOps-
|
|
29
|
+
import './assistantTools-BvKH9eRc.mjs';
|
|
30
|
+
import './sessionOps-DJSwzwP-.mjs';
|
|
31
31
|
import './authRelay-DSAvg1uv.mjs';
|
|
32
|
-
import './time-
|
|
32
|
+
import './time-TxDyvAKk.mjs';
|
|
33
33
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
34
|
-
import './remoteSessionClient-
|
|
34
|
+
import './remoteSessionClient-N7JsQ0XS.mjs';
|
|
35
35
|
import './ids-DU6sLx4C.mjs';
|
|
36
|
-
import './bootstrap-
|
|
36
|
+
import './bootstrap-DSWZAtGy.mjs';
|
|
37
37
|
import './previewPath-CXN4Vag0.mjs';
|
|
38
38
|
import './terminalTitleSuggest-CeKsX_V6.mjs';
|
|
39
|
-
import './titleGenerator-
|
|
39
|
+
import './titleGenerator-oK414IZc.mjs';
|
|
40
40
|
import 'node:module';
|
|
41
41
|
import './oneShotPrompts-DT4p6RNd.mjs';
|
|
42
42
|
import './projectPath-BTBIMB57.mjs';
|
|
@@ -45,7 +45,7 @@ import 'url';
|
|
|
45
45
|
import './trimIdent-BAjmv_TG.mjs';
|
|
46
46
|
import 'chalk';
|
|
47
47
|
import 'node:util';
|
|
48
|
-
import './package-
|
|
48
|
+
import './package-D-W_r_pd.mjs';
|
|
49
49
|
import './tmuxSocket-B8Yx20sT.mjs';
|
|
50
50
|
|
|
51
51
|
async function startPiTerminalTools(terminalId) {
|
|
@@ -5,15 +5,15 @@ var node_crypto = require('node:crypto');
|
|
|
5
5
|
var node_http = require('node:http');
|
|
6
6
|
var mcp_js = require('@modelcontextprotocol/sdk/server/mcp.js');
|
|
7
7
|
var streamableHttp_js = require('@modelcontextprotocol/sdk/server/streamableHttp.js');
|
|
8
|
-
var piRuntime = require('./piRuntime-
|
|
9
|
-
var mcp = require('./mcp-
|
|
8
|
+
var piRuntime = require('./piRuntime-Be0UP44z.cjs');
|
|
9
|
+
var mcp = require('./mcp-BVzt1llv.cjs');
|
|
10
10
|
require('./agentGuidance-B5NATuFa.cjs');
|
|
11
11
|
require('node:fs/promises');
|
|
12
12
|
require('node:os');
|
|
13
13
|
require('zod');
|
|
14
|
-
require('./logger-
|
|
15
|
-
require('./persistence-
|
|
16
|
-
require('./configuration-
|
|
14
|
+
require('./logger-Ca5eRZ2j.cjs');
|
|
15
|
+
require('./persistence-Ceb-BPk6.cjs');
|
|
16
|
+
require('./configuration-CepfrPZ_.cjs');
|
|
17
17
|
require('axios');
|
|
18
18
|
require('tweetnacl');
|
|
19
19
|
require('socket.io-client');
|
|
@@ -22,23 +22,23 @@ require('node:fs');
|
|
|
22
22
|
require('node:path');
|
|
23
23
|
var terminalToolContext = require('./terminalToolContext-DoV9Gs7K.cjs');
|
|
24
24
|
require('./resources-JDPugcDq.cjs');
|
|
25
|
-
require('./tools-
|
|
26
|
-
require('./client-
|
|
27
|
-
require('./context-
|
|
25
|
+
require('./tools-xQ38ufgo.cjs');
|
|
26
|
+
require('./client-CXvsRLAz.cjs');
|
|
27
|
+
require('./context-BhZMRQho.cjs');
|
|
28
28
|
require('@modelcontextprotocol/sdk/server/stdio.js');
|
|
29
|
-
require('./controlClient-
|
|
29
|
+
require('./controlClient-HPMsyxLb.cjs');
|
|
30
30
|
require('./limits-C-a7gr04.cjs');
|
|
31
|
-
require('./assistantTools-
|
|
32
|
-
require('./sessionOps-
|
|
31
|
+
require('./assistantTools-NC7DMNvV.cjs');
|
|
32
|
+
require('./sessionOps-DWsGWwfZ.cjs');
|
|
33
33
|
require('./authRelay-BdYkC1Po.cjs');
|
|
34
|
-
require('./time-
|
|
34
|
+
require('./time-xNkWLTSj.cjs');
|
|
35
35
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
36
|
-
require('./remoteSessionClient-
|
|
36
|
+
require('./remoteSessionClient-DbnVs1Tv.cjs');
|
|
37
37
|
require('./ids-B6ZC0HGt.cjs');
|
|
38
|
-
require('./bootstrap-
|
|
38
|
+
require('./bootstrap-CccIDvh4.cjs');
|
|
39
39
|
require('./previewPath-B0rBdhy1.cjs');
|
|
40
40
|
require('./terminalTitleSuggest-DhvRFX3H.cjs');
|
|
41
|
-
require('./titleGenerator-
|
|
41
|
+
require('./titleGenerator-C8arvXNG.cjs');
|
|
42
42
|
require('node:module');
|
|
43
43
|
require('./oneShotPrompts-CL0dip9C.cjs');
|
|
44
44
|
require('./projectPath-ChLhdOyt.cjs');
|
|
@@ -47,7 +47,7 @@ require('url');
|
|
|
47
47
|
require('./trimIdent-4gvk9Wk6.cjs');
|
|
48
48
|
require('chalk');
|
|
49
49
|
require('node:util');
|
|
50
|
-
require('./package-
|
|
50
|
+
require('./package-BfnmIH4b.cjs');
|
|
51
51
|
require('./tmuxSocket-D-Xt6Vn-.cjs');
|
|
52
52
|
|
|
53
53
|
async function startPiTerminalTools(terminalId) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
3
|
+
var logger = require('./logger-Ca5eRZ2j.cjs');
|
|
4
4
|
var child_process = require('child_process');
|
|
5
5
|
var util = require('util');
|
|
6
6
|
var fs = require('fs/promises');
|
|
@@ -9,7 +9,7 @@ var path = require('path');
|
|
|
9
9
|
var spawn = require('cross-spawn');
|
|
10
10
|
var projectPath = require('./projectPath-ChLhdOyt.cjs');
|
|
11
11
|
var os = require('os');
|
|
12
|
-
var configuration = require('./configuration-
|
|
12
|
+
var configuration = require('./configuration-CepfrPZ_.cjs');
|
|
13
13
|
|
|
14
14
|
function run$1(args, options) {
|
|
15
15
|
const RUNNER_PATH = path.resolve(path.join(projectPath.projectPath(), "scripts", "ripgrep_launcher.cjs"));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
1
|
+
import { l as logger } from './logger-BIzr7JN0.mjs';
|
|
2
2
|
import { spawn as spawn$1, exec } from 'child_process';
|
|
3
3
|
import { promisify } from 'util';
|
|
4
4
|
import { mkdir, writeFile, appendFile, stat, rename, unlink, readdir, readFile } from 'fs/promises';
|
|
@@ -7,7 +7,7 @@ import { resolve, join, sep } from 'path';
|
|
|
7
7
|
import { spawn } from 'cross-spawn';
|
|
8
8
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
9
9
|
import { platform } from 'os';
|
|
10
|
-
import { c as configuration } from './configuration-
|
|
10
|
+
import { c as configuration } from './configuration-B0c-OP_h.mjs';
|
|
11
11
|
|
|
12
12
|
function run$1(args, options) {
|
|
13
13
|
const RUNNER_PATH = resolve(join(projectPath(), "scripts", "ripgrep_launcher.cjs"));
|
package/dist/{registerKillSessionHandler-Cbc8Rgtd.mjs → registerKillSessionHandler-BS5afGeA.mjs}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
1
|
+
import { l as logger } from './logger-BIzr7JN0.mjs';
|
|
2
2
|
import 'axios';
|
|
3
3
|
import 'node:events';
|
|
4
4
|
import 'socket.io-client';
|
|
5
|
-
import './attachmentLimits-
|
|
5
|
+
import './attachmentLimits-D5pgmASK.mjs';
|
|
6
6
|
import 'node:crypto';
|
|
7
7
|
import 'tweetnacl';
|
|
8
|
-
import './configuration-
|
|
9
|
-
import './index-
|
|
10
|
-
import './registerCommonHandlers-
|
|
8
|
+
import './configuration-B0c-OP_h.mjs';
|
|
9
|
+
import './index-BBg9j0XK.mjs';
|
|
10
|
+
import './registerCommonHandlers-t15dS7xt.mjs';
|
|
11
11
|
import 'os';
|
|
12
12
|
import 'child_process';
|
|
13
13
|
import '@paralleldrive/cuid2';
|
|
14
|
-
import './persistence-
|
|
14
|
+
import './persistence-DgBhXxu7.mjs';
|
|
15
15
|
import 'chalk';
|
|
16
16
|
import './types-CkqAACXx.mjs';
|
|
17
17
|
|
|
@@ -260,6 +260,7 @@ class MessageQueue2 {
|
|
|
260
260
|
const firstItem = this.queue[0];
|
|
261
261
|
const sameModeMessages = [];
|
|
262
262
|
const collectedAttachments = [];
|
|
263
|
+
const sourceIds = [];
|
|
263
264
|
let mode = firstItem.mode;
|
|
264
265
|
let isolate = firstItem.isolate ?? false;
|
|
265
266
|
const targetModeHash = firstItem.modeHash;
|
|
@@ -267,12 +268,14 @@ class MessageQueue2 {
|
|
|
267
268
|
if (firstItem.isolate) {
|
|
268
269
|
const item = this.queue.shift();
|
|
269
270
|
sameModeMessages.push(item.message);
|
|
271
|
+
if (item.sourceId) sourceIds.push(item.sourceId);
|
|
270
272
|
if (item.attachments) collectedAttachments.push(...item.attachments);
|
|
271
273
|
logger.debug(`[MessageQueue2] Collected isolated message with mode hash: ${targetModeHash}`);
|
|
272
274
|
} else {
|
|
273
275
|
while (this.queue.length > 0 && this.queue[0].modeHash === targetModeHash && !this.queue[0].isolate) {
|
|
274
276
|
const item = this.queue.shift();
|
|
275
277
|
sameModeMessages.push(item.message);
|
|
278
|
+
if (item.sourceId) sourceIds.push(item.sourceId);
|
|
276
279
|
mode = item.mode;
|
|
277
280
|
if (item.attachments) collectedAttachments.push(...item.attachments);
|
|
278
281
|
}
|
|
@@ -285,7 +288,8 @@ class MessageQueue2 {
|
|
|
285
288
|
hash: targetModeHash,
|
|
286
289
|
isolate,
|
|
287
290
|
attachments: collectedAttachments.length > 0 ? collectedAttachments : void 0,
|
|
288
|
-
...enqueuedAt !== void 0 ? { enqueuedAt } : {}
|
|
291
|
+
...enqueuedAt !== void 0 ? { enqueuedAt } : {},
|
|
292
|
+
...sourceIds.length > 0 ? { sourceIds } : {}
|
|
289
293
|
};
|
|
290
294
|
}
|
|
291
295
|
/**
|
package/dist/{registerKillSessionHandler-6TC2S3lf.cjs → registerKillSessionHandler-DGDubZLv.cjs}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
3
|
+
var logger = require('./logger-Ca5eRZ2j.cjs');
|
|
4
4
|
require('axios');
|
|
5
5
|
require('node:events');
|
|
6
6
|
require('socket.io-client');
|
|
7
|
-
require('./attachmentLimits-
|
|
7
|
+
require('./attachmentLimits-DzlBPyJP.cjs');
|
|
8
8
|
require('node:crypto');
|
|
9
9
|
require('tweetnacl');
|
|
10
|
-
require('./configuration-
|
|
11
|
-
require('./index-
|
|
12
|
-
require('./registerCommonHandlers-
|
|
10
|
+
require('./configuration-CepfrPZ_.cjs');
|
|
11
|
+
require('./index-DJ-oV52i.cjs');
|
|
12
|
+
require('./registerCommonHandlers-DPOHFlxp.cjs');
|
|
13
13
|
require('os');
|
|
14
14
|
require('child_process');
|
|
15
15
|
require('@paralleldrive/cuid2');
|
|
16
|
-
require('./persistence-
|
|
16
|
+
require('./persistence-Ceb-BPk6.cjs');
|
|
17
17
|
require('chalk');
|
|
18
18
|
require('./types-CRS-srZK.cjs');
|
|
19
19
|
|
|
@@ -262,6 +262,7 @@ class MessageQueue2 {
|
|
|
262
262
|
const firstItem = this.queue[0];
|
|
263
263
|
const sameModeMessages = [];
|
|
264
264
|
const collectedAttachments = [];
|
|
265
|
+
const sourceIds = [];
|
|
265
266
|
let mode = firstItem.mode;
|
|
266
267
|
let isolate = firstItem.isolate ?? false;
|
|
267
268
|
const targetModeHash = firstItem.modeHash;
|
|
@@ -269,12 +270,14 @@ class MessageQueue2 {
|
|
|
269
270
|
if (firstItem.isolate) {
|
|
270
271
|
const item = this.queue.shift();
|
|
271
272
|
sameModeMessages.push(item.message);
|
|
273
|
+
if (item.sourceId) sourceIds.push(item.sourceId);
|
|
272
274
|
if (item.attachments) collectedAttachments.push(...item.attachments);
|
|
273
275
|
logger.logger.debug(`[MessageQueue2] Collected isolated message with mode hash: ${targetModeHash}`);
|
|
274
276
|
} else {
|
|
275
277
|
while (this.queue.length > 0 && this.queue[0].modeHash === targetModeHash && !this.queue[0].isolate) {
|
|
276
278
|
const item = this.queue.shift();
|
|
277
279
|
sameModeMessages.push(item.message);
|
|
280
|
+
if (item.sourceId) sourceIds.push(item.sourceId);
|
|
278
281
|
mode = item.mode;
|
|
279
282
|
if (item.attachments) collectedAttachments.push(...item.attachments);
|
|
280
283
|
}
|
|
@@ -287,7 +290,8 @@ class MessageQueue2 {
|
|
|
287
290
|
hash: targetModeHash,
|
|
288
291
|
isolate,
|
|
289
292
|
attachments: collectedAttachments.length > 0 ? collectedAttachments : void 0,
|
|
290
|
-
...enqueuedAt !== void 0 ? { enqueuedAt } : {}
|
|
293
|
+
...enqueuedAt !== void 0 ? { enqueuedAt } : {},
|
|
294
|
+
...sourceIds.length > 0 ? { sourceIds } : {}
|
|
291
295
|
};
|
|
292
296
|
}
|
|
293
297
|
/**
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var controlClient = require('./controlClient-
|
|
4
|
-
var sessionOps = require('./sessionOps-
|
|
5
|
-
var time = require('./time-
|
|
3
|
+
var controlClient = require('./controlClient-HPMsyxLb.cjs');
|
|
4
|
+
var sessionOps = require('./sessionOps-DWsGWwfZ.cjs');
|
|
5
|
+
var time = require('./time-xNkWLTSj.cjs');
|
|
6
6
|
var axios = require('axios');
|
|
7
7
|
var os = require('node:os');
|
|
8
|
-
var configuration = require('./configuration-
|
|
9
|
-
var persistence = require('./persistence-
|
|
8
|
+
var configuration = require('./configuration-CepfrPZ_.cjs');
|
|
9
|
+
var persistence = require('./persistence-Ceb-BPk6.cjs');
|
|
10
10
|
var node_crypto = require('node:crypto');
|
|
11
11
|
|
|
12
12
|
const ACTIVE_FRESH_WINDOW_MS = 15 * 60 * 1e3;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as resumeDaemonSession, l as listDaemonSessions } from './controlClient-
|
|
2
|
-
import { d as archiveSession, u as unarchiveSession, h as sessionLiveness,
|
|
3
|
-
import { d as delay } from './time-
|
|
1
|
+
import { r as resumeDaemonSession, l as listDaemonSessions } from './controlClient-BKmjlbGs.mjs';
|
|
2
|
+
import { d as archiveSession, u as unarchiveSession, h as sessionLiveness, e as sendUserMessage, i as readSessionState, o as openUserScopedSocket } from './sessionOps-DJSwzwP-.mjs';
|
|
3
|
+
import { d as delay } from './time-TxDyvAKk.mjs';
|
|
4
4
|
import axios from 'axios';
|
|
5
5
|
import { hostname } from 'node:os';
|
|
6
|
-
import { c as configuration } from './configuration-
|
|
7
|
-
import { readSettings, readCredentialsForConfiguredRelay } from './persistence-
|
|
6
|
+
import { c as configuration } from './configuration-B0c-OP_h.mjs';
|
|
7
|
+
import { readSettings, readCredentialsForConfiguredRelay } from './persistence-DgBhXxu7.mjs';
|
|
8
8
|
import { randomUUID } from 'node:crypto';
|
|
9
9
|
|
|
10
10
|
const ACTIVE_FRESH_WINDOW_MS = 15 * 60 * 1e3;
|