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,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-Ca5eRZ2j.cjs');
|
|
4
|
+
var persistence = require('./persistence-Ceb-BPk6.cjs');
|
|
5
|
+
var configuration = require('./configuration-CepfrPZ_.cjs');
|
|
6
6
|
|
|
7
7
|
function daemonControlHeaders(controlToken) {
|
|
8
8
|
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-CepfrPZ_.cjs');
|
|
6
6
|
var projectPath = require('./projectPath-ChLhdOyt.cjs');
|
|
7
|
-
var _package = require('./package-
|
|
7
|
+
var _package = require('./package-BfnmIH4b.cjs');
|
|
8
8
|
|
|
9
9
|
const SPAWN_ORIGIN_TAG_MAX = 24;
|
|
10
10
|
function spawnOriginTags(env = process.env, flavor = void 0) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import os from 'node:os';
|
|
2
2
|
import { resolve } from 'node:path';
|
|
3
|
-
import { c as configuration } from './configuration-
|
|
3
|
+
import { c as configuration } from './configuration-B0c-OP_h.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-D-W_r_pd.mjs';
|
|
6
6
|
|
|
7
7
|
const SPAWN_ORIGIN_TAG_MAX = 24;
|
|
8
8
|
function spawnOriginTags(env = process.env, flavor = void 0) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DJ-oV52i.cjs');
|
|
4
4
|
var promises = require('node:fs/promises');
|
|
5
5
|
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-CXvsRLAz.cjs');
|
|
10
|
+
var context = require('./context-BhZMRQho.cjs');
|
|
11
|
+
var sessionOps = require('./sessionOps-DWsGWwfZ.cjs');
|
|
12
12
|
var resources = require('./resources-JDPugcDq.cjs');
|
|
13
|
-
var tools = require('./tools-
|
|
14
|
-
var tools$1 = require('./tools-
|
|
15
|
-
var peerTools = require('./peerTools-
|
|
13
|
+
var tools = require('./tools-xQ38ufgo.cjs');
|
|
14
|
+
var tools$1 = require('./tools-GnqHEZHb.cjs');
|
|
15
|
+
var peerTools = require('./peerTools-CADjnFDx.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-Ca5eRZ2j.cjs');
|
|
20
20
|
var limits = require('./limits-C-a7gr04.cjs');
|
|
21
|
-
var assistantTools = require('./assistantTools-
|
|
21
|
+
var assistantTools = require('./assistantTools-NC7DMNvV.cjs');
|
|
22
22
|
var agentGuidance = require('./agentGuidance-B5NATuFa.cjs');
|
|
23
23
|
var previewPath = require('./previewPath-B0rBdhy1.cjs');
|
|
24
24
|
var crypto = require('crypto');
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { C as ContextUsageSchema } from './index-
|
|
1
|
+
import { C as ContextUsageSchema } from './index-BBg9j0XK.mjs';
|
|
2
2
|
import { unlink, mkdir, open, rename } from 'node:fs/promises';
|
|
3
3
|
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 {
|
|
7
|
+
import { T as TeamConnectionPreflightError, c as createTeamsClient } from './client-BbNFS1WW.mjs';
|
|
8
|
+
import { t as teamScopePath } from './context-mMg17HJv.mjs';
|
|
9
|
+
import { g as waitForSessionKey, e as sendUserMessage } from './sessionOps-DJSwzwP-.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 { A as AUTOMATION_TOOL_NAMES, r as registerAutomationTools } from './tools-
|
|
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-sPgOmLr_.mjs';
|
|
12
|
+
import { A as AUTOMATION_TOOL_NAMES, r as registerAutomationTools } from './tools-BSzD246o.mjs';
|
|
13
|
+
import { S as SESSION_PEER_TOOL_NAMES, r as registerSessionPeerTools, a as createSessionPeerToolExecutor } from './peerTools-C1cELmtZ.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-BIzr7JN0.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 } from './assistantTools-
|
|
19
|
+
import { A as ASSISTANT_TOOL_NAMES, a as registerAssistantTools } from './assistantTools-BvKH9eRc.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 REPORT_PROGRESS_TOOL_TITLE, d as REPORT_PROGRESS_TOOL_DESCRIPTION } from './agentGuidance-CQuNlNx8.mjs';
|
|
21
21
|
import { c as checkPreviewPath } from './previewPath-CXN4Vag0.mjs';
|
|
22
22
|
import { createHash } from 'crypto';
|
|
@@ -1,14 +1,14 @@
|
|
|
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-CepfrPZ_.cjs');
|
|
5
|
+
var persistence = require('./persistence-Ceb-BPk6.cjs');
|
|
6
|
+
var controlClient = require('./controlClient-HPMsyxLb.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-BfnmIH4b.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');
|
|
@@ -312,8 +312,8 @@ ${typeLabels[type] || type}:`));
|
|
|
312
312
|
}
|
|
313
313
|
console.log(chalk.gray(" An external claude command is only needed for native terminal/mirror use."));
|
|
314
314
|
try {
|
|
315
|
-
const { resolveAgentHomesForCli } = await Promise.resolve().then(function () { return require('./agentHome-
|
|
316
|
-
const { describeAgentHome } = await Promise.resolve().then(function () { return require('./index-
|
|
315
|
+
const { resolveAgentHomesForCli } = await Promise.resolve().then(function () { return require('./agentHome-CAMEVRZZ.cjs'); });
|
|
316
|
+
const { describeAgentHome } = await Promise.resolve().then(function () { return require('./index-DoMsO8_G.cjs'); });
|
|
317
317
|
const homes = await resolveAgentHomesForCli();
|
|
318
318
|
console.log(chalk.green(`\u2713 Claude config dir: ${describeAgentHome(homes.claudeConfigDir)}`));
|
|
319
319
|
console.log(chalk.green(`\u2713 Codex home: ${describeAgentHome(homes.codexHome)}`));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { c as configuration } from './configuration-
|
|
3
|
-
import { readSettings, readCredentials, readDaemonState } from './persistence-
|
|
4
|
-
import { c as checkIfDaemonRunningAndCleanupStaleState } from './controlClient-
|
|
2
|
+
import { c as configuration } from './configuration-B0c-OP_h.mjs';
|
|
3
|
+
import { readSettings, readCredentials, readDaemonState } from './persistence-DgBhXxu7.mjs';
|
|
4
|
+
import { c as checkIfDaemonRunningAndCleanupStaleState } from './controlClient-BKmjlbGs.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-D-W_r_pd.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';
|
|
@@ -310,8 +310,8 @@ ${typeLabels[type] || type}:`));
|
|
|
310
310
|
}
|
|
311
311
|
console.log(chalk.gray(" An external claude command is only needed for native terminal/mirror use."));
|
|
312
312
|
try {
|
|
313
|
-
const { resolveAgentHomesForCli } = await import('./agentHome-
|
|
314
|
-
const { describeAgentHome } = await import('./index-
|
|
313
|
+
const { resolveAgentHomesForCli } = await import('./agentHome-Bt4lOwFE.mjs');
|
|
314
|
+
const { describeAgentHome } = await import('./index-CpFreRx8.mjs');
|
|
315
315
|
const homes = await resolveAgentHomesForCli();
|
|
316
316
|
console.log(chalk.green(`\u2713 Claude config dir: ${describeAgentHome(homes.claudeConfigDir)}`));
|
|
317
317
|
console.log(chalk.green(`\u2713 Codex home: ${describeAgentHome(homes.codexHome)}`));
|
|
@@ -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-Ca5eRZ2j.cjs');
|
|
4
|
+
var controlClient = require('./controlClient-HPMsyxLb.cjs');
|
|
5
|
+
var spawnHappyCLI = require('./spawnHappyCLI-Dz2ZHrsN.cjs');
|
|
6
|
+
var persistence = require('./persistence-Ceb-BPk6.cjs');
|
|
7
|
+
var configuration = require('./configuration-CepfrPZ_.cjs');
|
|
8
8
|
var doctorReadiness = require('./doctorReadiness-BCZGcN0a.cjs');
|
|
9
9
|
|
|
10
10
|
function extractNoSandboxFlag(args) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import { i as isDaemonRunningCurrentlyInstalledHappyVersion, c as checkIfDaemonRunningAndCleanupStaleState, a as stopDaemon } from './controlClient-
|
|
3
|
-
import { s as spawnHappyCLI } from './spawnHappyCLI-
|
|
4
|
-
import { readDaemonState } from './persistence-
|
|
5
|
-
import { c as configuration } from './configuration-
|
|
1
|
+
import { l as logger } from './logger-BIzr7JN0.mjs';
|
|
2
|
+
import { i as isDaemonRunningCurrentlyInstalledHappyVersion, c as checkIfDaemonRunningAndCleanupStaleState, a as stopDaemon } from './controlClient-BKmjlbGs.mjs';
|
|
3
|
+
import { s as spawnHappyCLI } from './spawnHappyCLI-wowHF2IL.mjs';
|
|
4
|
+
import { readDaemonState } from './persistence-DgBhXxu7.mjs';
|
|
5
|
+
import { c as configuration } from './configuration-B0c-OP_h.mjs';
|
|
6
6
|
import { d as daemonEndpointsMatch } from './doctorReadiness-C208SMN9.mjs';
|
|
7
7
|
|
|
8
8
|
function extractNoSandboxFlag(args) {
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const FORK_BACKFILL_CAPABILITY = "fork-backfill-ack-v1";
|
|
4
|
+
const FORK_BACKFILL_WAIT_TIMEOUT_MS = 12e4;
|
|
5
|
+
const FORK_BACKFILL_POLL_MS = 500;
|
|
6
|
+
function readForkBackfillMarker(metadata) {
|
|
7
|
+
if (!metadata || typeof metadata !== "object") return null;
|
|
8
|
+
const marker = metadata.forkBackfill;
|
|
9
|
+
if (!marker || typeof marker !== "object") return null;
|
|
10
|
+
const value = marker;
|
|
11
|
+
if (value.done !== true) return null;
|
|
12
|
+
return {
|
|
13
|
+
done: true,
|
|
14
|
+
count: typeof value.count === "number" ? value.count : 0,
|
|
15
|
+
...value.failed === true ? { failed: true } : {},
|
|
16
|
+
completedAt: typeof value.completedAt === "number" ? value.completedAt : 0
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
async function publishForkBackfillWhenCommitted(session, result, now = Date.now) {
|
|
20
|
+
let drained = false;
|
|
21
|
+
try {
|
|
22
|
+
drained = await session.drainOutbox();
|
|
23
|
+
} catch {
|
|
24
|
+
drained = false;
|
|
25
|
+
}
|
|
26
|
+
if (!drained) return false;
|
|
27
|
+
const marker = {
|
|
28
|
+
done: true,
|
|
29
|
+
count: result.count,
|
|
30
|
+
...result.failed ? { failed: true } : {},
|
|
31
|
+
completedAt: now()
|
|
32
|
+
};
|
|
33
|
+
session.updateMetadata((metadata) => ({ ...metadata, forkBackfill: marker }));
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
class ForkBackfillTimeoutError extends Error {
|
|
37
|
+
constructor(timeoutMs, lastError) {
|
|
38
|
+
const cause = lastError === void 0 ? "" : ` (last read error: ${lastError instanceof Error ? lastError.message : String(lastError)})`;
|
|
39
|
+
super(`the forked history was not confirmed on the server within ${Math.round(timeoutMs / 1e3)}s${cause}; the first message was NOT sent, so it cannot land in the middle of the replayed history`);
|
|
40
|
+
this.name = "ForkBackfillTimeoutError";
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
async function waitForForkBackfill(opts) {
|
|
44
|
+
if (!opts.capabilities?.includes(FORK_BACKFILL_CAPABILITY)) return { kind: "legacy-wrapper" };
|
|
45
|
+
const timeoutMs = opts.timeoutMs ?? FORK_BACKFILL_WAIT_TIMEOUT_MS;
|
|
46
|
+
const pollMs = opts.pollMs ?? FORK_BACKFILL_POLL_MS;
|
|
47
|
+
const sleep = opts.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms)));
|
|
48
|
+
const now = opts.now ?? Date.now;
|
|
49
|
+
const deadline = now() + timeoutMs;
|
|
50
|
+
let lastError;
|
|
51
|
+
while (true) {
|
|
52
|
+
try {
|
|
53
|
+
const marker = readForkBackfillMarker(await opts.readMetadata());
|
|
54
|
+
if (marker) return { kind: "confirmed", marker };
|
|
55
|
+
lastError = void 0;
|
|
56
|
+
} catch (error) {
|
|
57
|
+
lastError = error;
|
|
58
|
+
}
|
|
59
|
+
if (now() >= deadline) throw new ForkBackfillTimeoutError(timeoutMs, lastError);
|
|
60
|
+
await sleep(pollMs);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
exports.FORK_BACKFILL_CAPABILITY = FORK_BACKFILL_CAPABILITY;
|
|
65
|
+
exports.publishForkBackfillWhenCommitted = publishForkBackfillWhenCommitted;
|
|
66
|
+
exports.waitForForkBackfill = waitForForkBackfill;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
const FORK_BACKFILL_CAPABILITY = "fork-backfill-ack-v1";
|
|
2
|
+
const FORK_BACKFILL_WAIT_TIMEOUT_MS = 12e4;
|
|
3
|
+
const FORK_BACKFILL_POLL_MS = 500;
|
|
4
|
+
function readForkBackfillMarker(metadata) {
|
|
5
|
+
if (!metadata || typeof metadata !== "object") return null;
|
|
6
|
+
const marker = metadata.forkBackfill;
|
|
7
|
+
if (!marker || typeof marker !== "object") return null;
|
|
8
|
+
const value = marker;
|
|
9
|
+
if (value.done !== true) return null;
|
|
10
|
+
return {
|
|
11
|
+
done: true,
|
|
12
|
+
count: typeof value.count === "number" ? value.count : 0,
|
|
13
|
+
...value.failed === true ? { failed: true } : {},
|
|
14
|
+
completedAt: typeof value.completedAt === "number" ? value.completedAt : 0
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
async function publishForkBackfillWhenCommitted(session, result, now = Date.now) {
|
|
18
|
+
let drained = false;
|
|
19
|
+
try {
|
|
20
|
+
drained = await session.drainOutbox();
|
|
21
|
+
} catch {
|
|
22
|
+
drained = false;
|
|
23
|
+
}
|
|
24
|
+
if (!drained) return false;
|
|
25
|
+
const marker = {
|
|
26
|
+
done: true,
|
|
27
|
+
count: result.count,
|
|
28
|
+
...result.failed ? { failed: true } : {},
|
|
29
|
+
completedAt: now()
|
|
30
|
+
};
|
|
31
|
+
session.updateMetadata((metadata) => ({ ...metadata, forkBackfill: marker }));
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
class ForkBackfillTimeoutError extends Error {
|
|
35
|
+
constructor(timeoutMs, lastError) {
|
|
36
|
+
const cause = lastError === void 0 ? "" : ` (last read error: ${lastError instanceof Error ? lastError.message : String(lastError)})`;
|
|
37
|
+
super(`the forked history was not confirmed on the server within ${Math.round(timeoutMs / 1e3)}s${cause}; the first message was NOT sent, so it cannot land in the middle of the replayed history`);
|
|
38
|
+
this.name = "ForkBackfillTimeoutError";
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
async function waitForForkBackfill(opts) {
|
|
42
|
+
if (!opts.capabilities?.includes(FORK_BACKFILL_CAPABILITY)) return { kind: "legacy-wrapper" };
|
|
43
|
+
const timeoutMs = opts.timeoutMs ?? FORK_BACKFILL_WAIT_TIMEOUT_MS;
|
|
44
|
+
const pollMs = opts.pollMs ?? FORK_BACKFILL_POLL_MS;
|
|
45
|
+
const sleep = opts.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms)));
|
|
46
|
+
const now = opts.now ?? Date.now;
|
|
47
|
+
const deadline = now() + timeoutMs;
|
|
48
|
+
let lastError;
|
|
49
|
+
while (true) {
|
|
50
|
+
try {
|
|
51
|
+
const marker = readForkBackfillMarker(await opts.readMetadata());
|
|
52
|
+
if (marker) return { kind: "confirmed", marker };
|
|
53
|
+
lastError = void 0;
|
|
54
|
+
} catch (error) {
|
|
55
|
+
lastError = error;
|
|
56
|
+
}
|
|
57
|
+
if (now() >= deadline) throw new ForkBackfillTimeoutError(timeoutMs, lastError);
|
|
58
|
+
await sleep(pollMs);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export { FORK_BACKFILL_CAPABILITY as F, publishForkBackfillWhenCommitted as p, waitForForkBackfill as w };
|
|
@@ -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-Dz2ZHrsN.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-CepfrPZ_.cjs');
|
|
10
|
+
var localHappyAgentAuth = require('./localHappyAgentAuth-D_Gc4K7h.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-Ca5eRZ2j.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-BfnmIH4b.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-wowHF2IL.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-B0c-OP_h.mjs';
|
|
8
|
+
import { g as getLocalHappyAgentCredentialPath, r as readLocalHappyAgentCredentials } from './localHappyAgentAuth-r83bTscW.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-BIzr7JN0.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-D-W_r_pd.mjs';
|
|
20
20
|
import 'node:fs/promises';
|
|
21
21
|
|
|
22
22
|
const ResumableMetadataSchema = z.object({
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { D as DefaultTransport, A as AcpBackend } from './AcpBackend-
|
|
2
|
-
export { a as DEFAULT_IDLE_TIMEOUT_MS, b as DEFAULT_TOOL_CALL_TIMEOUT_MS, e as extractErrorDetail, f as formatDuration, c as formatDurationMinutes, h as handleAgentMessageChunk, d as handleAgentThoughtChunk, g as handleLegacyMessageChunk, i as handlePlanUpdate, j as handleThinkingUpdate, k as handleToolCall, l as handleToolCallUpdate, p as parseArgsFromContent } from './AcpBackend-
|
|
3
|
-
import { l as logger } from './logger-
|
|
4
|
-
import { A as AcpSessionManager } from './AcpSessionManager-
|
|
5
|
-
import { l as BUILTIN_TODO_DISCOVERY, P as PROMPT_QUEUE_CAPABILITY } from './index-
|
|
1
|
+
import { D as DefaultTransport, A as AcpBackend } from './AcpBackend-CuOUXVRX.mjs';
|
|
2
|
+
export { a as DEFAULT_IDLE_TIMEOUT_MS, b as DEFAULT_TOOL_CALL_TIMEOUT_MS, e as extractErrorDetail, f as formatDuration, c as formatDurationMinutes, h as handleAgentMessageChunk, d as handleAgentThoughtChunk, g as handleLegacyMessageChunk, i as handlePlanUpdate, j as handleThinkingUpdate, k as handleToolCall, l as handleToolCallUpdate, p as parseArgsFromContent } from './AcpBackend-CuOUXVRX.mjs';
|
|
3
|
+
import { l as logger } from './logger-BIzr7JN0.mjs';
|
|
4
|
+
import { A as AcpSessionManager } from './AcpSessionManager-BSIBnWUb.mjs';
|
|
5
|
+
import { l as BUILTIN_TODO_DISCOVERY, P as PROMPT_QUEUE_CAPABILITY } from './index-BBg9j0XK.mjs';
|
|
6
6
|
import { r as registerAgentAttachmentDownloads } from './agentAttachments-M_B5qEF2.mjs';
|
|
7
|
-
import { c as configuration } from './configuration-
|
|
8
|
-
import { C as CLAUDE_ATTACHMENT_KINDS, a as stageClaudeAttachments, b as appendStagedAttachmentsToPrompt } from './attachmentContent-
|
|
9
|
-
import { p as preparePiTeamsRuntime } from './piRuntime-
|
|
7
|
+
import { c as configuration } from './configuration-B0c-OP_h.mjs';
|
|
8
|
+
import { C as CLAUDE_ATTACHMENT_KINDS, a as stageClaudeAttachments, b as appendStagedAttachmentsToPrompt } from './attachmentContent-CCE0Y3gR.mjs';
|
|
9
|
+
import { p as preparePiTeamsRuntime } from './piRuntime-BRKG6Yoz.mjs';
|
|
10
10
|
import { randomUUID } from 'node:crypto';
|
|
11
11
|
import { join } from 'node:path';
|
|
12
|
-
import { c as connectionState, A as ApiClient } from './api-
|
|
13
|
-
import { M as MessageQueue2, r as registerKillSessionHandler } from './registerKillSessionHandler-
|
|
14
|
-
import { h as hashObject, s as startHappyServer } from './deterministicJson-
|
|
15
|
-
import { readSettings } from './persistence-
|
|
16
|
-
import { g as getInitialMachineMetadata } from './machineMetadata-
|
|
17
|
-
import { c as createSessionMetadata } from './createSessionMetadata-
|
|
18
|
-
import { s as setupOfflineReconnection } from './setupOfflineReconnection-
|
|
19
|
-
import { n as notifyDaemonSessionStarted, g as reportSessionEditToDaemon } from './controlClient-
|
|
12
|
+
import { c as connectionState, A as ApiClient } from './api-D5kfP3JF.mjs';
|
|
13
|
+
import { M as MessageQueue2, r as registerKillSessionHandler } from './registerKillSessionHandler-BS5afGeA.mjs';
|
|
14
|
+
import { h as hashObject, s as startHappyServer } from './deterministicJson-CaWami7M.mjs';
|
|
15
|
+
import { readSettings } from './persistence-DgBhXxu7.mjs';
|
|
16
|
+
import { g as getInitialMachineMetadata } from './machineMetadata-DakW9c61.mjs';
|
|
17
|
+
import { c as createSessionMetadata } from './createSessionMetadata-KOL67aSN.mjs';
|
|
18
|
+
import { s as setupOfflineReconnection } from './setupOfflineReconnection-rd1PCWiN.mjs';
|
|
19
|
+
import { n as notifyDaemonSessionStarted, g as reportSessionEditToDaemon } from './controlClient-BKmjlbGs.mjs';
|
|
20
20
|
import { e as encodeBase64 } from './authRelay-DSAvg1uv.mjs';
|
|
21
|
-
import { S as StreamRelay } from './streamRelay-
|
|
21
|
+
import { S as StreamRelay } from './streamRelay-BLgU9X3R.mjs';
|
|
22
22
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
23
|
-
import { B as BasePermissionHandler } from './BasePermissionHandler-
|
|
24
|
-
import { T as TitleGenerator } from './titleGenerator-
|
|
25
|
-
import { w as writeSessionModeFile, n as normalizeAcpPermissionMode, r as removeSessionModeFile } from './sessionModeFile-
|
|
23
|
+
import { B as BasePermissionHandler } from './BasePermissionHandler-Ng5h8JpY.mjs';
|
|
24
|
+
import { T as TitleGenerator } from './titleGenerator-oK414IZc.mjs';
|
|
25
|
+
import { w as writeSessionModeFile, n as normalizeAcpPermissionMode, r as removeSessionModeFile } from './sessionModeFile-3yV7P9R-.mjs';
|
|
26
26
|
import { E as EditReportThrottle, e as extractAcpEditPaths } from './editPaths-BVfS_FFL.mjs';
|
|
27
27
|
import 'node:child_process';
|
|
28
28
|
import '@agentclientprotocol/sdk';
|
|
29
|
-
import './time-
|
|
29
|
+
import './time-TxDyvAKk.mjs';
|
|
30
30
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
31
|
-
import './package-
|
|
31
|
+
import './package-D-W_r_pd.mjs';
|
|
32
32
|
import 'chalk';
|
|
33
33
|
import 'node:util';
|
|
34
34
|
import 'node:fs';
|
|
@@ -36,48 +36,48 @@ import '@paralleldrive/cuid2';
|
|
|
36
36
|
import 'zod';
|
|
37
37
|
import 'node:os';
|
|
38
38
|
import 'node:fs/promises';
|
|
39
|
-
import './attachmentLimits-
|
|
39
|
+
import './attachmentLimits-D5pgmASK.mjs';
|
|
40
40
|
import './resources-BdFBQi8r.mjs';
|
|
41
41
|
import 'axios';
|
|
42
42
|
import 'node:events';
|
|
43
43
|
import 'socket.io-client';
|
|
44
44
|
import './limits-DIo7rEBR.mjs';
|
|
45
|
-
import './lidState-
|
|
45
|
+
import './lidState-X7iQg4y5.mjs';
|
|
46
46
|
import 'os';
|
|
47
47
|
import 'child_process';
|
|
48
|
-
import './registerCommonHandlers-
|
|
48
|
+
import './registerCommonHandlers-t15dS7xt.mjs';
|
|
49
49
|
import 'util';
|
|
50
50
|
import 'fs/promises';
|
|
51
51
|
import 'crypto';
|
|
52
52
|
import 'path';
|
|
53
53
|
import 'cross-spawn';
|
|
54
|
-
import './sync-
|
|
54
|
+
import './sync-DnmsgL3w.mjs';
|
|
55
55
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
56
56
|
import 'tweetnacl';
|
|
57
57
|
import './types-CkqAACXx.mjs';
|
|
58
|
-
import './client-
|
|
59
|
-
import './context-
|
|
60
|
-
import './sessionOps-
|
|
61
|
-
import './tools-
|
|
62
|
-
import './tools-
|
|
63
|
-
import './client-
|
|
64
|
-
import './peerTools-
|
|
58
|
+
import './client-BbNFS1WW.mjs';
|
|
59
|
+
import './context-mMg17HJv.mjs';
|
|
60
|
+
import './sessionOps-DJSwzwP-.mjs';
|
|
61
|
+
import './tools-sPgOmLr_.mjs';
|
|
62
|
+
import './tools-BSzD246o.mjs';
|
|
63
|
+
import './client-CyUhxs-0.mjs';
|
|
64
|
+
import './peerTools-C1cELmtZ.mjs';
|
|
65
65
|
import './ids-DU6sLx4C.mjs';
|
|
66
|
-
import './remoteSessionClient-
|
|
66
|
+
import './remoteSessionClient-N7JsQ0XS.mjs';
|
|
67
67
|
import '@modelcontextprotocol/sdk/server/mcp.js';
|
|
68
68
|
import 'node:http';
|
|
69
69
|
import '@modelcontextprotocol/sdk/server/streamableHttp.js';
|
|
70
|
-
import './assistantTools-
|
|
70
|
+
import './assistantTools-BvKH9eRc.mjs';
|
|
71
71
|
import './terminals-Dlg0x3nY.mjs';
|
|
72
72
|
import './terminalTitleSuggest-CeKsX_V6.mjs';
|
|
73
73
|
import './tmuxSocket-B8Yx20sT.mjs';
|
|
74
|
-
import './bootstrap-
|
|
74
|
+
import './bootstrap-DSWZAtGy.mjs';
|
|
75
75
|
import './agentGuidance-CQuNlNx8.mjs';
|
|
76
76
|
import './trimIdent-BAjmv_TG.mjs';
|
|
77
77
|
import './previewPath-CXN4Vag0.mjs';
|
|
78
78
|
import './detectCLI-CSGMlV51.mjs';
|
|
79
79
|
import 'fs';
|
|
80
|
-
import './localHappyAgentAuth-
|
|
80
|
+
import './localHappyAgentAuth-r83bTscW.mjs';
|
|
81
81
|
import 'url';
|
|
82
82
|
import 'node:module';
|
|
83
83
|
import './oneShotPrompts-DT4p6RNd.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _package = require('./package-
|
|
3
|
+
var _package = require('./package-BfnmIH4b.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-DIn7j8MD.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-BfA1Vtqq.cjs'); });
|
|
66
66
|
await main();
|
|
67
67
|
}
|
|
68
68
|
void run(process.argv.slice(2));
|
|
@@ -107,6 +107,12 @@ const sessionQueueCancelEventSchema = z.object({
|
|
|
107
107
|
targetLocalKeys: z.array(z.string().min(1)).min(1),
|
|
108
108
|
reason: z.string().min(1).optional()
|
|
109
109
|
});
|
|
110
|
+
const sessionTranscriptDropEventSchema = z.object({
|
|
111
|
+
t: z.literal("transcript-drop"),
|
|
112
|
+
fromSeq: z.number().int().nonnegative(),
|
|
113
|
+
toSeq: z.number().int().nonnegative().optional(),
|
|
114
|
+
reason: z.string().min(1).optional()
|
|
115
|
+
});
|
|
110
116
|
const sessionEventSchema = z.discriminatedUnion("t", [
|
|
111
117
|
sessionTextEventSchema,
|
|
112
118
|
sessionServiceMessageEventSchema,
|
|
@@ -118,7 +124,8 @@ const sessionEventSchema = z.discriminatedUnion("t", [
|
|
|
118
124
|
sessionTurnEndEventSchema,
|
|
119
125
|
sessionStopEventSchema,
|
|
120
126
|
sessionProgressEventSchema,
|
|
121
|
-
sessionQueueCancelEventSchema
|
|
127
|
+
sessionQueueCancelEventSchema,
|
|
128
|
+
sessionTranscriptDropEventSchema
|
|
122
129
|
]);
|
|
123
130
|
const sessionEnvelopeSchema = z.object({
|
|
124
131
|
id: z.string(),
|
|
@@ -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 { readSettings } from './persistence-
|
|
3
|
+
import { l as logger } from './logger-BIzr7JN0.mjs';
|
|
4
|
+
import { readSettings } from './persistence-DgBhXxu7.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-B0c-OP_h.mjs';
|
|
10
10
|
import 'node:path';
|
|
11
|
-
import './package-
|
|
11
|
+
import './package-D-W_r_pd.mjs';
|
|
12
12
|
import 'node:fs/promises';
|
|
13
13
|
import 'zod';
|
|
14
14
|
import './authRelay-DSAvg1uv.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as packageJson } from './package-
|
|
1
|
+
import { p as packageJson } from './package-D-W_r_pd.mjs';
|
|
2
2
|
import module$1 from 'node:module';
|
|
3
3
|
import { existsSync } from 'node:fs';
|
|
4
4
|
import { readdir, rm } from 'node:fs/promises';
|
|
@@ -57,10 +57,10 @@ async function pruneStaleCompileCaches(happyHomeDir, cliVersion) {
|
|
|
57
57
|
async function run(args) {
|
|
58
58
|
enableCompileCacheIfPossible(packageJson.version);
|
|
59
59
|
if (isStandaloneVersionRequest(args) || isSelfCheckRequest(args)) {
|
|
60
|
-
const { selfCheckMain } = await import('./selfCheck-
|
|
60
|
+
const { selfCheckMain } = await import('./selfCheck-BTltA-ZZ.mjs');
|
|
61
61
|
process.exit(await selfCheckMain({ verbose: isSelfCheckRequest(args) }));
|
|
62
62
|
}
|
|
63
|
-
const { main } = await import('./main-
|
|
63
|
+
const { main } = await import('./main-BJlGidfv.mjs');
|
|
64
64
|
await main();
|
|
65
65
|
}
|
|
66
66
|
void run(process.argv.slice(2));
|
|
@@ -127,6 +127,12 @@ const sessionQueueCancelEventSchema = z__namespace.object({
|
|
|
127
127
|
targetLocalKeys: z__namespace.array(z__namespace.string().min(1)).min(1),
|
|
128
128
|
reason: z__namespace.string().min(1).optional()
|
|
129
129
|
});
|
|
130
|
+
const sessionTranscriptDropEventSchema = z__namespace.object({
|
|
131
|
+
t: z__namespace.literal("transcript-drop"),
|
|
132
|
+
fromSeq: z__namespace.number().int().nonnegative(),
|
|
133
|
+
toSeq: z__namespace.number().int().nonnegative().optional(),
|
|
134
|
+
reason: z__namespace.string().min(1).optional()
|
|
135
|
+
});
|
|
130
136
|
const sessionEventSchema = z__namespace.discriminatedUnion("t", [
|
|
131
137
|
sessionTextEventSchema,
|
|
132
138
|
sessionServiceMessageEventSchema,
|
|
@@ -138,7 +144,8 @@ const sessionEventSchema = z__namespace.discriminatedUnion("t", [
|
|
|
138
144
|
sessionTurnEndEventSchema,
|
|
139
145
|
sessionStopEventSchema,
|
|
140
146
|
sessionProgressEventSchema,
|
|
141
|
-
sessionQueueCancelEventSchema
|
|
147
|
+
sessionQueueCancelEventSchema,
|
|
148
|
+
sessionTranscriptDropEventSchema
|
|
142
149
|
]);
|
|
143
150
|
const sessionEnvelopeSchema = z__namespace.object({
|
|
144
151
|
id: z__namespace.string(),
|