very-happy-cli 0.2.162 → 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--TmFHgRH.mjs → AcpBackend-B8l1ZePt.mjs} +3 -3
- package/dist/{AcpBackend-9asD_DL7.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-D4B-NNu2.cjs → BasePermissionHandler-DGQYvBPg.cjs} +1 -1
- package/dist/{BasePermissionHandler-DUBySe0f.mjs → BasePermissionHandler-DgtAtJTV.mjs} +1 -1
- package/dist/{BaseReasoningProcessor-CqLl-ikP.cjs → BaseReasoningProcessor-BqalZhQO.cjs} +1 -1
- package/dist/{BaseReasoningProcessor-9TybUGTq.mjs → BaseReasoningProcessor-Dfacnfhj.mjs} +1 -1
- package/dist/{agentHome-DQrq_FG1.mjs → agentHome-DM0urHEI.mjs} +4 -4
- package/dist/{agentHome-BohNUYnE.cjs → agentHome-DtsPKfTS.cjs} +4 -4
- package/dist/{api-CQnLOqRS.cjs → api-EKlS0r1w.cjs} +57 -15
- package/dist/{api-D57dsd6_.mjs → api-Yoh_zKdR.mjs} +57 -15
- package/dist/{apiMachine-fFFaWxYy.cjs → apiMachine-q71suojS.cjs} +20 -17
- package/dist/{apiMachine-78Aqzg--.mjs → apiMachine-s3HiV-SL.mjs} +20 -17
- package/dist/{assistantTools-mEz6uNqL.mjs → assistantTools-BWfAV349.mjs} +6 -6
- package/dist/{assistantTools-CwESq24n.cjs → assistantTools-D3cZvgUX.cjs} +6 -6
- package/dist/{attachmentContent-s1xPha4Q.mjs → attachmentContent-BLyyo1al.mjs} +2 -2
- package/dist/{attachmentContent-GHOk6Muq.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-BOaHWquu.mjs → auth-BTfv8yW0.mjs} +8 -8
- package/dist/{auth-BbSdXMQ_.cjs → auth-Cn3dQInF.cjs} +5 -5
- package/dist/{auth-C8V7-oUT.mjs → auth-Cxhx5evk.mjs} +5 -5
- package/dist/{auth-B8EagV6G.cjs → auth-Hpg4Yxfa.cjs} +8 -8
- package/dist/{auto-CWDOX35m.mjs → auto-BAAEVGZa.mjs} +15 -14
- package/dist/{auto-Bw_h0yVc.cjs → auto-CK8irHum.cjs} +15 -14
- package/dist/{bootstrap-BKmsYSwh.mjs → bootstrap-CTNjn_aj.mjs} +2 -2
- package/dist/{bootstrap-DvZjEa9_.cjs → bootstrap-D9SUykG_.cjs} +2 -2
- package/dist/{browser-CBZj-1Wx.cjs → browser-C8ztaIkm.cjs} +1 -1
- package/dist/{browser-CrMAr5fI.mjs → browser-DydXWySF.mjs} +1 -1
- package/dist/{claudeLocal-dhdlcQ6F.mjs → claudeLocal-CdJJovWq.mjs} +5 -5
- package/dist/{claudeLocal-Bpw-u9et.cjs → claudeLocal-CsLFMvFU.cjs} +5 -5
- package/dist/{claudeLocalLauncher-BFfGT4eY.mjs → claudeLocalLauncher-CKazNnl0.mjs} +10 -10
- package/dist/{claudeLocalLauncher-DWFWuLhY.cjs → claudeLocalLauncher-DRc-tET5.cjs} +10 -10
- package/dist/{claudeSessionFork-D9-mANmu.cjs → claudeSessionFork-BWdhyy9B.cjs} +1 -1
- package/dist/{claudeSessionFork-_DUrXaqd.mjs → claudeSessionFork-BfPW9D2S.mjs} +1 -1
- package/dist/{client-CVQJWqjx.cjs → client-BZtKFCJr.cjs} +2 -2
- package/dist/{client-DiBTHWNU.cjs → client-C1GAIJ04.cjs} +3 -3
- package/dist/{client-DwqHDsLb.mjs → client-DkoV3VWl.mjs} +2 -2
- package/dist/{client-Dk7x-s-O.mjs → client-Do5CHQnZ.mjs} +3 -3
- package/dist/codex/happyMcpStdioBridge.cjs +15 -15
- package/dist/codex/happyMcpStdioBridge.mjs +15 -15
- package/dist/{codexAppServerClient-C2ybs2mZ.mjs → codexAppServerClient-CfF33X-8.mjs} +2 -2
- package/dist/{codexAppServerClient-DlKv5TjG.cjs → codexAppServerClient-JddkV_aP.cjs} +2 -2
- package/dist/{codexCommand-4vLE31fj.cjs → codexCommand-Bdj3XZbi.cjs} +43 -40
- package/dist/{codexCommand-DnmFr9Qx.mjs → codexCommand-btJso8yC.mjs} +43 -40
- package/dist/{config-Btd4B05_.cjs → config-DpCNivmg.cjs} +3 -3
- package/dist/{config-CSOG_ZcP.mjs → config-nziuMb7g.mjs} +3 -3
- package/dist/{configuration-A5gW_0GE.mjs → configuration-CiBUH72C.mjs} +1 -1
- package/dist/{configuration-UsI0sxEv.cjs → configuration-PXAE4-FP.cjs} +1 -1
- package/dist/{connect-C9yxp8Om.cjs → connect-D7ehaW2C.cjs} +13 -13
- package/dist/{connect-DWYj8LP_.mjs → connect-XHdi6Vtc.mjs} +13 -13
- package/dist/{context-BXnxalWW.mjs → context-BpEYcuLv.mjs} +1 -1
- package/dist/{context-0FjjA4vJ.cjs → context-DhvXl1oC.cjs} +1 -1
- package/dist/{controlClient-BXktrQ4z.cjs → controlClient-DI-Er-Ww.cjs} +3 -3
- package/dist/{controlClient-CYzHrh3e.mjs → controlClient-DzmCQrY_.mjs} +3 -3
- package/dist/{createSessionMetadata-Dyg33ZlU.mjs → createSessionMetadata-B47GrTX6.mjs} +2 -2
- package/dist/{createSessionMetadata-EX1eAlHx.cjs → createSessionMetadata-D04x6OMW.cjs} +2 -2
- package/dist/{deterministicJson-eha_oMZ2.cjs → deterministicJson-BM8e8QwP.cjs} +9 -9
- package/dist/{deterministicJson-DiR7EOMO.mjs → deterministicJson-CKqT3awl.mjs} +9 -9
- package/dist/{doctor-FuCvKdRa.mjs → doctor-CSgzbG5L.mjs} +6 -6
- package/dist/{doctor-DunLBgVi.cjs → doctor-Cl6cqvok.cjs} +6 -6
- package/dist/{ensureDaemonRunning-B4dZFmUy.cjs → ensureDaemonRunning-CJ4-U32n.cjs} +5 -5
- package/dist/{ensureDaemonRunning-EZkb-CAF.mjs → ensureDaemonRunning-fPVSsjIm.mjs} +5 -5
- package/dist/forkBackfill-8eLDeS73.cjs +66 -0
- package/dist/forkBackfill-DYIjlN1Z.mjs +62 -0
- package/dist/{handleResumeCommand-CsXendKb.mjs → handleResumeCommand-B84dt2aH.mjs} +5 -5
- package/dist/{handleResumeCommand-CKMIw4pE.cjs → handleResumeCommand-bX-aNF_z.cjs} +5 -5
- package/dist/{index-DRhWHEuW.cjs → index-B2UvSWo_.cjs} +3 -3
- package/dist/{index-BOhgL3rh.cjs → index-CP2fh7JX.cjs} +38 -38
- package/dist/{index-9L39wqYR.mjs → index-CRJtZCK-.mjs} +39 -39
- package/dist/{index-CvXcVQ06.mjs → index-CbF87SeZ.mjs} +3 -3
- package/dist/{index-CZWAiydF.cjs → index-DaTxsAC3.cjs} +4 -4
- package/dist/{index-DJ-oV52i.cjs → index-DqlyNgt4.cjs} +6 -1
- package/dist/{index-DK2JpTJf.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-B2duVo9a.mjs → install-CurvoW2u.mjs} +3 -3
- package/dist/{install-C8WyZI9K.cjs → install-__Mni4NU.cjs} +3 -3
- package/dist/lib.cjs +17 -17
- package/dist/lib.d.cts +47 -0
- package/dist/lib.d.mts +47 -0
- package/dist/lib.mjs +17 -17
- package/dist/{lidState-CigXWxhe.mjs → lidState-BbR6y9rq.mjs} +66 -2
- package/dist/{lidState-Ds-6ytZV.cjs → lidState-De2HP6nu.cjs} +67 -1
- package/dist/{localHappyAgentAuth-CaCyKzYp.mjs → localHappyAgentAuth-C7rDePjF.mjs} +1 -1
- package/dist/{localHappyAgentAuth-l0Na-5Ys.cjs → localHappyAgentAuth-CboZb3_a.cjs} +1 -1
- package/dist/{logger-CGE4C8ho.mjs → logger-8dtZPn3n.mjs} +2 -2
- package/dist/{logger-7ucWm9wp.cjs → logger-B1k7eZnq.cjs} +2 -2
- package/dist/{machineMetadata-ue1nkowa.mjs → machineMetadata-Bhp_w3-_.mjs} +3 -3
- package/dist/{machineMetadata-lMPtpF16.cjs → machineMetadata-C4OfKn6I.cjs} +3 -3
- package/dist/{main-3fIFXD-t.mjs → main-BQTaUrz0.mjs} +44 -44
- package/dist/{main-CFI0datL.cjs → main-eAiLspBM.cjs} +44 -44
- package/dist/{mcp-DARQBZ7l.mjs → mcp-DXCdbQHM.mjs} +14 -14
- package/dist/{mcp-DfxLAc1G.cjs → mcp-fapbM7Q4.cjs} +14 -14
- package/dist/{package-D1A-8ZJy.cjs → package-CC_txQ31.cjs} +8 -8
- package/dist/{package-DQsvY1XN.mjs → package-tVYgFJoK.mjs} +8 -8
- package/dist/{peerTools-D19hhSQF.mjs → peerTools-C1cduHh1.mjs} +4 -4
- package/dist/{peerTools-DLwNaEEV.cjs → peerTools-CqIcCEIg.cjs} +4 -4
- package/dist/{persistence-Cw8aLoyL.mjs → persistence-C_xFQLsD.mjs} +3 -3
- package/dist/{persistence-i0nQMLlk.cjs → persistence-d3ZyER6o.cjs} +3 -3
- package/dist/{piRunnerArgs-BUyxPxjZ.cjs → piRunnerArgs-DSxolPlV.cjs} +1 -1
- package/dist/{piRunnerArgs-58t454gw.mjs → piRunnerArgs-aq0zJX1Q.mjs} +1 -1
- package/dist/{piRuntime-DVPixFjl.mjs → piRuntime-BnNl5Lmb.mjs} +1 -1
- package/dist/{piRuntime-Dff73XCb.cjs → piRuntime-Dne1LPu-.cjs} +1 -1
- package/dist/{piTerminal-gHWFAyzq.mjs → piTerminal-CKWxWtW-.mjs} +16 -16
- package/dist/{piTerminal-Dz1RrO70.cjs → piTerminal-fjado4cR.cjs} +16 -16
- package/dist/{registerCommonHandlers-CMROPdJz.cjs → registerCommonHandlers-Dausbdsb.cjs} +2 -2
- package/dist/{registerCommonHandlers-Ckv5boQI.mjs → registerCommonHandlers-bSskMveZ.mjs} +2 -2
- package/dist/{registerKillSessionHandler-Cll4-o8Y.mjs → registerKillSessionHandler-Ben5lAsN.mjs} +6 -6
- package/dist/{registerKillSessionHandler-CA9-oelM.cjs → registerKillSessionHandler-CgKyzwqw.cjs} +6 -6
- package/dist/{remoteSessionClient-DX9jHLeW.cjs → remoteSessionClient-BkJt8SHa.cjs} +5 -5
- package/dist/{remoteSessionClient-BMjsbuBh.mjs → remoteSessionClient-DnCIuZpQ.mjs} +5 -5
- package/dist/{run-CjbGo2wb.cjs → run-B8dxbDsg.cjs} +33 -33
- package/dist/{run-CrunzDlt.mjs → run-BEYMVE4J.mjs} +32 -32
- package/dist/{runClaude-KN-4Y4LH.cjs → runClaude-Cy_HzLyO.cjs} +26 -23
- package/dist/{runClaude-WDBWRtnF.mjs → runClaude-Dd_P1c0f.mjs} +26 -23
- package/dist/{runClaudeDeps-QaEx8y5r.mjs → runClaudeDeps-JG7EUH7B.mjs} +441 -49
- package/dist/{runClaudeDeps-DW-8lnHv.cjs → runClaudeDeps-dxv910DR.cjs} +436 -44
- package/dist/{runGemini-Nf6SKBpw.mjs → runGemini-CpaBuvoW.mjs} +34 -34
- package/dist/{runGemini-Djmwjdv1.cjs → runGemini-DY1IDW_f.cjs} +34 -34
- package/dist/{runOpenClaw-CAqP5KFH.cjs → runOpenClaw-C0VARcYj.cjs} +20 -20
- package/dist/{runOpenClaw-9nHtmYbN.mjs → runOpenClaw-C7vrDQbq.mjs} +20 -20
- package/dist/{sandbox-C8Dd8GPM.cjs → sandbox-Bx9-M9rN.cjs} +4 -4
- package/dist/{sandbox-SP0THMt0.mjs → sandbox-DRUJZuaM.mjs} +4 -4
- package/dist/{selfCheck-D9ZXrK7h.cjs → selfCheck-Ba1sECTO.cjs} +34 -34
- package/dist/selfCheck-DdT8r263.mjs +84 -0
- package/dist/{send-DOx9aQsx.mjs → send-BrzkbMy2.mjs} +8 -8
- package/dist/{send-LPk6Q5HI.cjs → send-Dqdpx-w5.cjs} +8 -8
- package/dist/{server-BZNi8Hq_.mjs → server-CPMPoEAA.mjs} +4 -4
- package/dist/{server-CxT8jNyn.cjs → server-CfB8EWCg.cjs} +6 -6
- package/dist/{sessionLock-y9rnA4LK.cjs → sessionLock-BsP3Y_nG.cjs} +2 -2
- package/dist/{sessionLock-CfLqJfeI.mjs → sessionLock-DukLVzAQ.mjs} +2 -2
- package/dist/{sessionModeFile-BKxgNH3P.mjs → sessionModeFile-CSvi4H_t.mjs} +1 -1
- package/dist/{sessionModeFile-B5YeoQJh.cjs → sessionModeFile-JWWF6Nn7.cjs} +1 -1
- package/dist/{sessionOps-CdwVPSZz.mjs → sessionOps-BlMg1uAa.mjs} +5 -5
- package/dist/{sessionOps-GsELm2PZ.cjs → sessionOps-HuoMXcIZ.cjs} +4 -4
- package/dist/{sessionScanner-aLEv7mD3.cjs → sessionScanner-BWU6KvZw.cjs} +3 -3
- package/dist/{sessionScanner-Cdukzo70.mjs → sessionScanner-Ct-JoNHP.mjs} +3 -3
- package/dist/{sessions-Dne-OiRL.mjs → sessions-3Hw1xXMV.mjs} +9 -9
- package/dist/{sessions-CfG4WGN0.cjs → sessions-AjflCj5y.cjs} +9 -9
- package/dist/{setupOfflineReconnection-DiQma2Cc.mjs → setupOfflineReconnection-B_9xp36H.mjs} +2 -2
- package/dist/{setupOfflineReconnection-CFwltTcP.cjs → setupOfflineReconnection-Cxh9Sz9M.cjs} +2 -2
- package/dist/{spawn-DkgP2BGF.mjs → spawn-BXEVKCQK.mjs} +38 -18
- package/dist/{spawn-BI_sdgWs.cjs → spawn-CN8PH11G.cjs} +38 -17
- package/dist/{spawnAgents-Y1LjnCt9.mjs → spawnAgents-Czi2VDzj.mjs} +1 -1
- package/dist/{spawnAgents-iSu1Xzs5.cjs → spawnAgents-McixdtV1.cjs} +1 -1
- package/dist/{spawnHappyCLI-9mx4lPxh.mjs → spawnHappyCLI-BFN0h2fK.mjs} +1 -1
- package/dist/{spawnHappyCLI-BRdx0sAX.cjs → spawnHappyCLI-Cj-9-d_7.cjs} +1 -1
- package/dist/{startFileWatcher-C2HC2_Dg.cjs → startFileWatcher-BfMu444W.cjs} +1 -1
- package/dist/{startFileWatcher-COD5UKNs.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-Dj92ZJ8Y.cjs → sync--uxtLWbo.cjs} +5 -1
- package/dist/{sync-BpLasLu2.mjs → sync-SCvDzRy6.mjs} +5 -1
- package/dist/{systemPrompt-CyEz_IfR.cjs → systemPrompt-C1tRiZ-u.cjs} +2 -2
- package/dist/{systemPrompt-DsQoUgQw.mjs → systemPrompt-D0KMySrK.mjs} +2 -2
- package/dist/{teams-BETNMjpZ.mjs → teams-By-hcvMF.mjs} +6 -6
- package/dist/{teams-Ctx9zXn4.cjs → teams-CYDIFXEC.cjs} +6 -6
- package/dist/{time-CLwVAz6s.cjs → time-C7BplxuS.cjs} +1 -1
- package/dist/{time-CVvxdEDh.mjs → time-CRvAaC5H.mjs} +1 -1
- package/dist/{titleGenerator-B4AW3dLr.mjs → titleGenerator-CUG-n2r3.mjs} +1 -1
- package/dist/{titleGenerator-FDpdizn7.cjs → titleGenerator-Kw3sTnNQ.cjs} +2 -2
- package/dist/{todo-C3tyFeq1.cjs → todo-B7a7J5Ng.cjs} +6 -6
- package/dist/{todo-Jk4Vs7hP.mjs → todo-yuIsUvU8.mjs} +6 -6
- package/dist/{tools-CGxq3I52.cjs → tools-BTBgpiRc.cjs} +2 -2
- package/dist/{tools-O5beDK-s.cjs → tools-D7UeLMZ7.cjs} +1 -1
- package/dist/{tools-_kFe4m_l.mjs → tools-RvMKw7yx.mjs} +1 -1
- package/dist/{tools-BA1qkiV1.mjs → tools-gUjkPpCw.mjs} +2 -2
- package/dist/{uninstall-DHKF90lo.cjs → uninstall-D5D16-KM.cjs} +3 -3
- package/dist/{uninstall-C_mdAZlm.mjs → uninstall-Dx9FmLXs.mjs} +3 -3
- package/package.json +8 -8
- package/dist/selfCheck-7FaZtVu2.mjs +0 -84
|
@@ -5,7 +5,7 @@ var node_fs = require('node:fs');
|
|
|
5
5
|
var path = require('node:path');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
7
|
var z = require('zod');
|
|
8
|
-
var configuration = require('./configuration-
|
|
8
|
+
var configuration = require('./configuration-PXAE4-FP.cjs');
|
|
9
9
|
|
|
10
10
|
const TeamScopeSchema = z.z.object({
|
|
11
11
|
serverUrl: z.z.string(),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var persistence = require('./persistence-
|
|
5
|
-
var configuration = require('./configuration-
|
|
3
|
+
var logger = require('./logger-B1k7eZnq.cjs');
|
|
4
|
+
var persistence = require('./persistence-d3ZyER6o.cjs');
|
|
5
|
+
var configuration = require('./configuration-PXAE4-FP.cjs');
|
|
6
6
|
|
|
7
7
|
function daemonControlHeaders(controlToken) {
|
|
8
8
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import { readDaemonState, clearDaemonState } from './persistence-
|
|
3
|
-
import { c as configuration } from './configuration-
|
|
1
|
+
import { l as logger } from './logger-8dtZPn3n.mjs';
|
|
2
|
+
import { readDaemonState, clearDaemonState } from './persistence-C_xFQLsD.mjs';
|
|
3
|
+
import { c as configuration } from './configuration-CiBUH72C.mjs';
|
|
4
4
|
|
|
5
5
|
function daemonControlHeaders(controlToken) {
|
|
6
6
|
return {
|
|
@@ -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-CiBUH72C.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-tVYgFJoK.mjs';
|
|
6
6
|
|
|
7
7
|
const SPAWN_ORIGIN_TAG_MAX = 24;
|
|
8
8
|
function spawnOriginTags(env = process.env, flavor = void 0) {
|
|
@@ -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-PXAE4-FP.cjs');
|
|
6
6
|
var projectPath = require('./projectPath-ChLhdOyt.cjs');
|
|
7
|
-
var _package = require('./package-
|
|
7
|
+
var _package = require('./package-CC_txQ31.cjs');
|
|
8
8
|
|
|
9
9
|
const SPAWN_ORIGIN_TAG_MAX = 24;
|
|
10
10
|
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-DqlyNgt4.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-C1GAIJ04.cjs');
|
|
10
|
+
var context = require('./context-DhvXl1oC.cjs');
|
|
11
|
+
var sessionOps = require('./sessionOps-HuoMXcIZ.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-D7UeLMZ7.cjs');
|
|
14
|
+
var tools$1 = require('./tools-BTBgpiRc.cjs');
|
|
15
|
+
var peerTools = require('./peerTools-CqIcCEIg.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-B1k7eZnq.cjs');
|
|
20
20
|
var limits = require('./limits-C-a7gr04.cjs');
|
|
21
|
-
var assistantTools = require('./assistantTools-
|
|
21
|
+
var assistantTools = require('./assistantTools-D3cZvgUX.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-vVWpCoTr.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-Do5CHQnZ.mjs';
|
|
8
|
+
import { t as teamScopePath } from './context-BpEYcuLv.mjs';
|
|
9
|
+
import { g as waitForSessionKey, e as sendUserMessage } from './sessionOps-BlMg1uAa.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-RvMKw7yx.mjs';
|
|
12
|
+
import { A as AUTOMATION_TOOL_NAMES, r as registerAutomationTools } from './tools-gUjkPpCw.mjs';
|
|
13
|
+
import { S as SESSION_PEER_TOOL_NAMES, r as registerSessionPeerTools, a as createSessionPeerToolExecutor } from './peerTools-C1cduHh1.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-8dtZPn3n.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-BWfAV349.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,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-CiBUH72C.mjs';
|
|
3
|
+
import { readSettings, readCredentials, readDaemonState } from './persistence-C_xFQLsD.mjs';
|
|
4
|
+
import { c as checkIfDaemonRunningAndCleanupStaleState } from './controlClient-DzmCQrY_.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-tVYgFJoK.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-DM0urHEI.mjs');
|
|
314
|
+
const { describeAgentHome } = await import('./index-OEGj3BxE.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,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-PXAE4-FP.cjs');
|
|
5
|
+
var persistence = require('./persistence-d3ZyER6o.cjs');
|
|
6
|
+
var controlClient = require('./controlClient-DI-Er-Ww.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-CC_txQ31.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-DtsPKfTS.cjs'); });
|
|
316
|
+
const { describeAgentHome } = await Promise.resolve().then(function () { return require('./index-DaTxsAC3.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,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-B1k7eZnq.cjs');
|
|
4
|
+
var controlClient = require('./controlClient-DI-Er-Ww.cjs');
|
|
5
|
+
var spawnHappyCLI = require('./spawnHappyCLI-Cj-9-d_7.cjs');
|
|
6
|
+
var persistence = require('./persistence-d3ZyER6o.cjs');
|
|
7
|
+
var configuration = require('./configuration-PXAE4-FP.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-8dtZPn3n.mjs';
|
|
2
|
+
import { i as isDaemonRunningCurrentlyInstalledHappyVersion, c as checkIfDaemonRunningAndCleanupStaleState, a as stopDaemon } from './controlClient-DzmCQrY_.mjs';
|
|
3
|
+
import { s as spawnHappyCLI } from './spawnHappyCLI-BFN0h2fK.mjs';
|
|
4
|
+
import { readDaemonState } from './persistence-C_xFQLsD.mjs';
|
|
5
|
+
import { c as configuration } from './configuration-CiBUH72C.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,22 +1,22 @@
|
|
|
1
1
|
import { existsSync } from 'node:fs';
|
|
2
|
-
import { s as spawnHappyCLI } from './spawnHappyCLI-
|
|
2
|
+
import { s as spawnHappyCLI } from './spawnHappyCLI-BFN0h2fK.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-CiBUH72C.mjs';
|
|
8
|
+
import { g as getLocalHappyAgentCredentialPath, r as readLocalHappyAgentCredentials } from './localHappyAgentAuth-C7rDePjF.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-8dtZPn3n.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-tVYgFJoK.mjs';
|
|
20
20
|
import 'node:fs/promises';
|
|
21
21
|
|
|
22
22
|
const ResumableMetadataSchema = z.object({
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var node_fs = require('node:fs');
|
|
4
|
-
var spawnHappyCLI = require('./spawnHappyCLI-
|
|
4
|
+
var spawnHappyCLI = require('./spawnHappyCLI-Cj-9-d_7.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-PXAE4-FP.cjs');
|
|
10
|
+
var localHappyAgentAuth = require('./localHappyAgentAuth-CboZb3_a.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-B1k7eZnq.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-CC_txQ31.cjs');
|
|
22
22
|
require('node:fs/promises');
|
|
23
23
|
|
|
24
24
|
const ResumableMetadataSchema = z.z.object({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _package = require('./package-
|
|
3
|
+
var _package = require('./package-CC_txQ31.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-Ba1sECTO.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-eAiLspBM.cjs'); });
|
|
66
66
|
await main();
|
|
67
67
|
}
|
|
68
68
|
void run(process.argv.slice(2));
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var AcpBackend = require('./AcpBackend-
|
|
4
|
-
var logger = require('./logger-
|
|
5
|
-
var AcpSessionManager = require('./AcpSessionManager-
|
|
6
|
-
var index = require('./index-
|
|
3
|
+
var AcpBackend = require('./AcpBackend-CHDqSii9.cjs');
|
|
4
|
+
var logger = require('./logger-B1k7eZnq.cjs');
|
|
5
|
+
var AcpSessionManager = require('./AcpSessionManager-9yN2iH4b.cjs');
|
|
6
|
+
var index = require('./index-DqlyNgt4.cjs');
|
|
7
7
|
var agentAttachments = require('./agentAttachments-Dbw8iMCZ.cjs');
|
|
8
|
-
var configuration = require('./configuration-
|
|
9
|
-
var attachmentContent = require('./attachmentContent-
|
|
10
|
-
var piRuntime = require('./piRuntime-
|
|
8
|
+
var configuration = require('./configuration-PXAE4-FP.cjs');
|
|
9
|
+
var attachmentContent = require('./attachmentContent-Bakb0XV3.cjs');
|
|
10
|
+
var piRuntime = require('./piRuntime-Dne1LPu-.cjs');
|
|
11
11
|
var node_crypto = require('node:crypto');
|
|
12
12
|
var path = require('node:path');
|
|
13
|
-
var api = require('./api-
|
|
14
|
-
var registerKillSessionHandler = require('./registerKillSessionHandler-
|
|
15
|
-
var deterministicJson = require('./deterministicJson-
|
|
16
|
-
var persistence = require('./persistence-
|
|
17
|
-
var machineMetadata = require('./machineMetadata-
|
|
18
|
-
var createSessionMetadata = require('./createSessionMetadata-
|
|
19
|
-
var setupOfflineReconnection = require('./setupOfflineReconnection-
|
|
20
|
-
var controlClient = require('./controlClient-
|
|
13
|
+
var api = require('./api-EKlS0r1w.cjs');
|
|
14
|
+
var registerKillSessionHandler = require('./registerKillSessionHandler-CgKyzwqw.cjs');
|
|
15
|
+
var deterministicJson = require('./deterministicJson-BM8e8QwP.cjs');
|
|
16
|
+
var persistence = require('./persistence-d3ZyER6o.cjs');
|
|
17
|
+
var machineMetadata = require('./machineMetadata-C4OfKn6I.cjs');
|
|
18
|
+
var createSessionMetadata = require('./createSessionMetadata-D04x6OMW.cjs');
|
|
19
|
+
var setupOfflineReconnection = require('./setupOfflineReconnection-Cxh9Sz9M.cjs');
|
|
20
|
+
var controlClient = require('./controlClient-DI-Er-Ww.cjs');
|
|
21
21
|
var authRelay = require('./authRelay-BdYkC1Po.cjs');
|
|
22
|
-
var streamRelay = require('./streamRelay-
|
|
22
|
+
var streamRelay = require('./streamRelay-C0AffuX6.cjs');
|
|
23
23
|
var projectPath = require('./projectPath-ChLhdOyt.cjs');
|
|
24
|
-
var BasePermissionHandler = require('./BasePermissionHandler-
|
|
25
|
-
var titleGenerator = require('./titleGenerator-
|
|
26
|
-
var sessionModeFile = require('./sessionModeFile-
|
|
24
|
+
var BasePermissionHandler = require('./BasePermissionHandler-DGQYvBPg.cjs');
|
|
25
|
+
var titleGenerator = require('./titleGenerator-Kw3sTnNQ.cjs');
|
|
26
|
+
var sessionModeFile = require('./sessionModeFile-JWWF6Nn7.cjs');
|
|
27
27
|
var editPaths = require('./editPaths-Bqp4OFPw.cjs');
|
|
28
28
|
require('node:child_process');
|
|
29
29
|
require('@agentclientprotocol/sdk');
|
|
30
|
-
require('./time-
|
|
30
|
+
require('./time-C7BplxuS.cjs');
|
|
31
31
|
require('./contentLogMetadata-ZSFk_NjQ.cjs');
|
|
32
|
-
require('./package-
|
|
32
|
+
require('./package-CC_txQ31.cjs');
|
|
33
33
|
require('chalk');
|
|
34
34
|
require('node:util');
|
|
35
35
|
require('node:fs');
|
|
@@ -37,48 +37,48 @@ require('@paralleldrive/cuid2');
|
|
|
37
37
|
require('zod');
|
|
38
38
|
require('node:os');
|
|
39
39
|
require('node:fs/promises');
|
|
40
|
-
require('./attachmentLimits-
|
|
40
|
+
require('./attachmentLimits-eJZ4ZBjF.cjs');
|
|
41
41
|
require('./resources-JDPugcDq.cjs');
|
|
42
42
|
require('axios');
|
|
43
|
+
require('./lidState-De2HP6nu.cjs');
|
|
44
|
+
require('os');
|
|
45
|
+
require('child_process');
|
|
43
46
|
require('node:events');
|
|
44
47
|
require('socket.io-client');
|
|
45
48
|
require('./limits-C-a7gr04.cjs');
|
|
46
|
-
require('./
|
|
47
|
-
require('os');
|
|
48
|
-
require('child_process');
|
|
49
|
-
require('./registerCommonHandlers-CMROPdJz.cjs');
|
|
49
|
+
require('./registerCommonHandlers-Dausbdsb.cjs');
|
|
50
50
|
require('util');
|
|
51
51
|
require('fs/promises');
|
|
52
52
|
require('crypto');
|
|
53
53
|
require('path');
|
|
54
54
|
require('cross-spawn');
|
|
55
|
-
require('./sync
|
|
55
|
+
require('./sync--uxtLWbo.cjs');
|
|
56
56
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
57
57
|
require('tweetnacl');
|
|
58
58
|
require('./types-CRS-srZK.cjs');
|
|
59
|
-
require('./client-
|
|
60
|
-
require('./context-
|
|
61
|
-
require('./sessionOps-
|
|
62
|
-
require('./tools-
|
|
63
|
-
require('./tools-
|
|
64
|
-
require('./client-
|
|
65
|
-
require('./peerTools-
|
|
59
|
+
require('./client-C1GAIJ04.cjs');
|
|
60
|
+
require('./context-DhvXl1oC.cjs');
|
|
61
|
+
require('./sessionOps-HuoMXcIZ.cjs');
|
|
62
|
+
require('./tools-D7UeLMZ7.cjs');
|
|
63
|
+
require('./tools-BTBgpiRc.cjs');
|
|
64
|
+
require('./client-BZtKFCJr.cjs');
|
|
65
|
+
require('./peerTools-CqIcCEIg.cjs');
|
|
66
66
|
require('./ids-B6ZC0HGt.cjs');
|
|
67
|
-
require('./remoteSessionClient-
|
|
67
|
+
require('./remoteSessionClient-BkJt8SHa.cjs');
|
|
68
68
|
require('@modelcontextprotocol/sdk/server/mcp.js');
|
|
69
69
|
require('node:http');
|
|
70
70
|
require('@modelcontextprotocol/sdk/server/streamableHttp.js');
|
|
71
|
-
require('./assistantTools-
|
|
71
|
+
require('./assistantTools-D3cZvgUX.cjs');
|
|
72
72
|
require('./terminals-B_bfC9c2.cjs');
|
|
73
73
|
require('./terminalTitleSuggest-DhvRFX3H.cjs');
|
|
74
74
|
require('./tmuxSocket-D-Xt6Vn-.cjs');
|
|
75
|
-
require('./bootstrap-
|
|
75
|
+
require('./bootstrap-D9SUykG_.cjs');
|
|
76
76
|
require('./agentGuidance-B5NATuFa.cjs');
|
|
77
77
|
require('./trimIdent-4gvk9Wk6.cjs');
|
|
78
78
|
require('./previewPath-B0rBdhy1.cjs');
|
|
79
79
|
require('./detectCLI-DR9ZaN6B.cjs');
|
|
80
80
|
require('fs');
|
|
81
|
-
require('./localHappyAgentAuth-
|
|
81
|
+
require('./localHappyAgentAuth-CboZb3_a.cjs');
|
|
82
82
|
require('url');
|
|
83
83
|
require('node:module');
|
|
84
84
|
require('./oneShotPrompts-CL0dip9C.cjs');
|