very-happy-cli 0.2.162 → 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-9asD_DL7.cjs → AcpBackend-C2rzKnvT.cjs} +3 -3
- package/dist/{AcpBackend--TmFHgRH.mjs → AcpBackend-CuOUXVRX.mjs} +3 -3
- package/dist/{BasePermissionHandler-D4B-NNu2.cjs → BasePermissionHandler-D6PdH-OU.cjs} +1 -1
- package/dist/{BasePermissionHandler-DUBySe0f.mjs → BasePermissionHandler-Ng5h8JpY.mjs} +1 -1
- package/dist/{BaseReasoningProcessor-CqLl-ikP.cjs → BaseReasoningProcessor-C0cXz1mg.cjs} +1 -1
- package/dist/{BaseReasoningProcessor-9TybUGTq.mjs → BaseReasoningProcessor-CM-ijU4F.mjs} +1 -1
- package/dist/{agentHome-DQrq_FG1.mjs → agentHome-Bt4lOwFE.mjs} +4 -4
- package/dist/{agentHome-BohNUYnE.cjs → agentHome-CAMEVRZZ.cjs} +4 -4
- package/dist/{api-D57dsd6_.mjs → api-D5kfP3JF.mjs} +24 -8
- package/dist/{api-CQnLOqRS.cjs → api-DGFBAPr7.cjs} +24 -8
- package/dist/{apiMachine-fFFaWxYy.cjs → apiMachine-BxCy5_No.cjs} +11 -11
- package/dist/{apiMachine-78Aqzg--.mjs → apiMachine-C58eizxs.mjs} +11 -11
- package/dist/{assistantTools-mEz6uNqL.mjs → assistantTools-BvKH9eRc.mjs} +6 -6
- package/dist/{assistantTools-CwESq24n.cjs → assistantTools-NC7DMNvV.cjs} +6 -6
- package/dist/{attachmentContent-s1xPha4Q.mjs → attachmentContent-CCE0Y3gR.mjs} +1 -1
- package/dist/{attachmentContent-GHOk6Muq.cjs → attachmentContent-CUKdzh4v.cjs} +1 -1
- package/dist/{auth-B8EagV6G.cjs → auth-CILb5DeW.cjs} +8 -8
- package/dist/{auth-C8V7-oUT.mjs → auth-CRm8yNv6.mjs} +5 -5
- package/dist/{auth-BbSdXMQ_.cjs → auth-Ddz597Rw.cjs} +5 -5
- package/dist/{auth-BOaHWquu.mjs → auth-gdc8gI9D.mjs} +8 -8
- package/dist/{auto-Bw_h0yVc.cjs → auto-CXtt6MfS.cjs} +13 -12
- package/dist/{auto-CWDOX35m.mjs → auto-lLjHfAOO.mjs} +13 -12
- package/dist/{bootstrap-DvZjEa9_.cjs → bootstrap-CccIDvh4.cjs} +2 -2
- package/dist/{bootstrap-BKmsYSwh.mjs → bootstrap-DSWZAtGy.mjs} +2 -2
- package/dist/{browser-CrMAr5fI.mjs → browser-DU9kI-Q-.mjs} +1 -1
- package/dist/{browser-CBZj-1Wx.cjs → browser-lizgdXYj.cjs} +1 -1
- package/dist/{claudeLocal-Bpw-u9et.cjs → claudeLocal-Bp-lf6yb.cjs} +4 -4
- package/dist/{claudeLocal-dhdlcQ6F.mjs → claudeLocal-CTR2xlPT.mjs} +4 -4
- package/dist/{claudeLocalLauncher-BFfGT4eY.mjs → claudeLocalLauncher-DFkwLMqU.mjs} +9 -9
- package/dist/{claudeLocalLauncher-DWFWuLhY.cjs → claudeLocalLauncher-aQyL3g7I.cjs} +9 -9
- package/dist/{claudeSessionFork-_DUrXaqd.mjs → claudeSessionFork-DABSCbkf.mjs} +1 -1
- package/dist/{claudeSessionFork-D9-mANmu.cjs → claudeSessionFork-DdJFvxwf.cjs} +1 -1
- package/dist/{client-Dk7x-s-O.mjs → client-BbNFS1WW.mjs} +3 -3
- package/dist/{client-CVQJWqjx.cjs → client-CQzHoynf.cjs} +2 -2
- package/dist/{client-DiBTHWNU.cjs → client-CXvsRLAz.cjs} +3 -3
- package/dist/{client-DwqHDsLb.mjs → client-CyUhxs-0.mjs} +2 -2
- package/dist/codex/happyMcpStdioBridge.cjs +14 -14
- package/dist/codex/happyMcpStdioBridge.mjs +14 -14
- package/dist/{codexAppServerClient-DlKv5TjG.cjs → codexAppServerClient-5jNbTlE5.cjs} +2 -2
- package/dist/{codexAppServerClient-C2ybs2mZ.mjs → codexAppServerClient-Dto99RVH.mjs} +2 -2
- package/dist/{codexCommand-DnmFr9Qx.mjs → codexCommand-BHfrAyds.mjs} +39 -36
- package/dist/{codexCommand-4vLE31fj.cjs → codexCommand-LUp0vkNi.cjs} +39 -36
- package/dist/{config-CSOG_ZcP.mjs → config-BEvt_OYR.mjs} +3 -3
- package/dist/{config-Btd4B05_.cjs → config-CAD5NR1h.cjs} +3 -3
- package/dist/{configuration-A5gW_0GE.mjs → configuration-B0c-OP_h.mjs} +1 -1
- package/dist/{configuration-UsI0sxEv.cjs → configuration-CepfrPZ_.cjs} +1 -1
- package/dist/{connect-C9yxp8Om.cjs → connect-BPMzMoiQ.cjs} +11 -11
- package/dist/{connect-DWYj8LP_.mjs → connect-BeK0dMYB.mjs} +11 -11
- package/dist/{context-0FjjA4vJ.cjs → context-BhZMRQho.cjs} +1 -1
- package/dist/{context-BXnxalWW.mjs → context-mMg17HJv.mjs} +1 -1
- package/dist/{controlClient-CYzHrh3e.mjs → controlClient-BKmjlbGs.mjs} +3 -3
- package/dist/{controlClient-BXktrQ4z.cjs → controlClient-HPMsyxLb.cjs} +3 -3
- package/dist/{createSessionMetadata-EX1eAlHx.cjs → createSessionMetadata-CGuyVxsM.cjs} +2 -2
- package/dist/{createSessionMetadata-Dyg33ZlU.mjs → createSessionMetadata-KOL67aSN.mjs} +2 -2
- package/dist/{deterministicJson-eha_oMZ2.cjs → deterministicJson-BFzPcsCh.cjs} +8 -8
- package/dist/{deterministicJson-DiR7EOMO.mjs → deterministicJson-CaWami7M.mjs} +8 -8
- package/dist/{doctor-DunLBgVi.cjs → doctor-BHNVY9DE.cjs} +6 -6
- package/dist/{doctor-FuCvKdRa.mjs → doctor-DX2P7IlL.mjs} +6 -6
- package/dist/{ensureDaemonRunning-B4dZFmUy.cjs → ensureDaemonRunning-BahhZpQ1.cjs} +5 -5
- package/dist/{ensureDaemonRunning-EZkb-CAF.mjs → ensureDaemonRunning-CnWMrL5b.mjs} +5 -5
- package/dist/forkBackfill-8eLDeS73.cjs +66 -0
- package/dist/forkBackfill-DYIjlN1Z.mjs +62 -0
- package/dist/{handleResumeCommand-CKMIw4pE.cjs → handleResumeCommand-Ca334R4t.cjs} +5 -5
- package/dist/{handleResumeCommand-CsXendKb.mjs → handleResumeCommand-bToC6FDH.mjs} +5 -5
- package/dist/{index-9L39wqYR.mjs → index-B5v5fZi6.mjs} +33 -33
- package/dist/{index-DRhWHEuW.cjs → index-B6MVw_Xb.cjs} +3 -3
- package/dist/{index-DK2JpTJf.mjs → index-CpFreRx8.mjs} +4 -4
- package/dist/{index-CvXcVQ06.mjs → index-D3AsOj4j.mjs} +3 -3
- package/dist/{index-CZWAiydF.cjs → index-DoMsO8_G.cjs} +4 -4
- package/dist/{index-BOhgL3rh.cjs → index-vFMUVtSL.cjs} +32 -32
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-C8WyZI9K.cjs → install-BnTP73AE.cjs} +3 -3
- package/dist/{install-B2duVo9a.mjs → install-Dixfzmb_.mjs} +3 -3
- package/dist/lib.cjs +10 -10
- package/dist/lib.d.cts +21 -0
- package/dist/lib.d.mts +21 -0
- package/dist/lib.mjs +10 -10
- package/dist/{lidState-Ds-6ytZV.cjs → lidState-BGWXfx1e.cjs} +1 -1
- package/dist/{lidState-CigXWxhe.mjs → lidState-X7iQg4y5.mjs} +1 -1
- package/dist/{localHappyAgentAuth-l0Na-5Ys.cjs → localHappyAgentAuth-D_Gc4K7h.cjs} +1 -1
- package/dist/{localHappyAgentAuth-CaCyKzYp.mjs → localHappyAgentAuth-r83bTscW.mjs} +1 -1
- package/dist/{logger-CGE4C8ho.mjs → logger-BIzr7JN0.mjs} +2 -2
- package/dist/{logger-7ucWm9wp.cjs → logger-Ca5eRZ2j.cjs} +2 -2
- package/dist/{machineMetadata-ue1nkowa.mjs → machineMetadata-DakW9c61.mjs} +3 -3
- package/dist/{machineMetadata-lMPtpF16.cjs → machineMetadata-GlObivJ-.cjs} +3 -3
- package/dist/{main-3fIFXD-t.mjs → main-BJlGidfv.mjs} +44 -44
- package/dist/{main-CFI0datL.cjs → main-BfA1Vtqq.cjs} +44 -44
- package/dist/{mcp-DfxLAc1G.cjs → mcp-BVzt1llv.cjs} +14 -14
- package/dist/{mcp-DARQBZ7l.mjs → mcp-Bb7AD1SD.mjs} +14 -14
- package/dist/{package-D1A-8ZJy.cjs → package-BfnmIH4b.cjs} +7 -7
- package/dist/{package-DQsvY1XN.mjs → package-D-W_r_pd.mjs} +7 -7
- package/dist/{peerTools-D19hhSQF.mjs → peerTools-C1cELmtZ.mjs} +4 -4
- package/dist/{peerTools-DLwNaEEV.cjs → peerTools-CADjnFDx.cjs} +4 -4
- package/dist/{persistence-i0nQMLlk.cjs → persistence-Ceb-BPk6.cjs} +3 -3
- package/dist/{persistence-Cw8aLoyL.mjs → persistence-DgBhXxu7.mjs} +3 -3
- package/dist/{piRunnerArgs-BUyxPxjZ.cjs → piRunnerArgs-Bem-saSg.cjs} +1 -1
- package/dist/{piRunnerArgs-58t454gw.mjs → piRunnerArgs-CH6oh6w0.mjs} +1 -1
- package/dist/{piRuntime-DVPixFjl.mjs → piRuntime-BRKG6Yoz.mjs} +1 -1
- package/dist/{piRuntime-Dff73XCb.cjs → piRuntime-Be0UP44z.cjs} +1 -1
- package/dist/{piTerminal-gHWFAyzq.mjs → piTerminal-DVOAWiZx.mjs} +16 -16
- package/dist/{piTerminal-Dz1RrO70.cjs → piTerminal-ibKBMmuK.cjs} +16 -16
- package/dist/{registerCommonHandlers-CMROPdJz.cjs → registerCommonHandlers-DPOHFlxp.cjs} +2 -2
- package/dist/{registerCommonHandlers-Ckv5boQI.mjs → registerCommonHandlers-t15dS7xt.mjs} +2 -2
- package/dist/{registerKillSessionHandler-Cll4-o8Y.mjs → registerKillSessionHandler-BS5afGeA.mjs} +4 -4
- package/dist/{registerKillSessionHandler-CA9-oelM.cjs → registerKillSessionHandler-DGDubZLv.cjs} +4 -4
- package/dist/{remoteSessionClient-DX9jHLeW.cjs → remoteSessionClient-DbnVs1Tv.cjs} +5 -5
- package/dist/{remoteSessionClient-BMjsbuBh.mjs → remoteSessionClient-N7JsQ0XS.mjs} +5 -5
- package/dist/{run-CjbGo2wb.cjs → run-CptLbkQ4.cjs} +29 -29
- package/dist/{run-CrunzDlt.mjs → run-FZRugy70.mjs} +28 -28
- package/dist/{runClaude-KN-4Y4LH.cjs → runClaude-Cnv0SnA4.cjs} +22 -19
- package/dist/{runClaude-WDBWRtnF.mjs → runClaude-DNW3i-k4.mjs} +22 -19
- package/dist/{runClaudeDeps-QaEx8y5r.mjs → runClaudeDeps-CpAiml84.mjs} +32 -32
- package/dist/{runClaudeDeps-DW-8lnHv.cjs → runClaudeDeps-lb6LlVPa.cjs} +28 -28
- package/dist/{runGemini-Djmwjdv1.cjs → runGemini-BzS_Yw3F.cjs} +30 -30
- package/dist/{runGemini-Nf6SKBpw.mjs → runGemini-CRn8exeY.mjs} +30 -30
- package/dist/{runOpenClaw-9nHtmYbN.mjs → runOpenClaw-DuS_zRVT.mjs} +15 -15
- package/dist/{runOpenClaw-CAqP5KFH.cjs → runOpenClaw-QoDQpR9a.cjs} +15 -15
- package/dist/{sandbox-C8Dd8GPM.cjs → sandbox-CT9CGjEI.cjs} +4 -4
- package/dist/{sandbox-SP0THMt0.mjs → sandbox-DysMM_pn.mjs} +4 -4
- package/dist/selfCheck-BTltA-ZZ.mjs +84 -0
- package/dist/{selfCheck-D9ZXrK7h.cjs → selfCheck-DIn7j8MD.cjs} +34 -34
- package/dist/{send-LPk6Q5HI.cjs → send-97xYN_Yw.cjs} +8 -8
- package/dist/{send-DOx9aQsx.mjs → send-CA6fSF3S.mjs} +8 -8
- package/dist/{server-CxT8jNyn.cjs → server-C67NGJoX.cjs} +6 -6
- package/dist/{server-BZNi8Hq_.mjs → server-r50NNW9e.mjs} +4 -4
- package/dist/{sessionLock-y9rnA4LK.cjs → sessionLock-CS4fdsmu.cjs} +2 -2
- package/dist/{sessionLock-CfLqJfeI.mjs → sessionLock-Dab6_dCd.mjs} +2 -2
- package/dist/{sessionModeFile-BKxgNH3P.mjs → sessionModeFile-3yV7P9R-.mjs} +1 -1
- package/dist/{sessionModeFile-B5YeoQJh.cjs → sessionModeFile-BhqlFlHZ.cjs} +1 -1
- package/dist/{sessionOps-CdwVPSZz.mjs → sessionOps-DJSwzwP-.mjs} +5 -5
- package/dist/{sessionOps-GsELm2PZ.cjs → sessionOps-DWsGWwfZ.cjs} +4 -4
- package/dist/{sessionScanner-aLEv7mD3.cjs → sessionScanner-D6WqRtJQ.cjs} +3 -3
- package/dist/{sessionScanner-Cdukzo70.mjs → sessionScanner-jilpq2aE.mjs} +3 -3
- package/dist/{sessions-CfG4WGN0.cjs → sessions-C22q-Z_s.cjs} +9 -9
- package/dist/{sessions-Dne-OiRL.mjs → sessions-RXTp4x0o.mjs} +9 -9
- package/dist/{setupOfflineReconnection-CFwltTcP.cjs → setupOfflineReconnection-BrnWBRUP.cjs} +2 -2
- package/dist/{setupOfflineReconnection-DiQma2Cc.mjs → setupOfflineReconnection-rd1PCWiN.mjs} +2 -2
- package/dist/{spawn-BI_sdgWs.cjs → spawn-Ccy5qAtp.cjs} +36 -15
- package/dist/{spawn-DkgP2BGF.mjs → spawn-D8CEQPbN.mjs} +36 -16
- package/dist/{spawnHappyCLI-BRdx0sAX.cjs → spawnHappyCLI-Dz2ZHrsN.cjs} +1 -1
- package/dist/{spawnHappyCLI-9mx4lPxh.mjs → spawnHappyCLI-wowHF2IL.mjs} +1 -1
- package/dist/{startFileWatcher-COD5UKNs.mjs → startFileWatcher-C1wjDI_o.mjs} +1 -1
- package/dist/{startFileWatcher-C2HC2_Dg.cjs → startFileWatcher-Ce17H9pG.cjs} +1 -1
- package/dist/{sync-BpLasLu2.mjs → sync-DnmsgL3w.mjs} +5 -1
- package/dist/{sync-Dj92ZJ8Y.cjs → sync-fDRF_nO1.cjs} +5 -1
- package/dist/{systemPrompt-CyEz_IfR.cjs → systemPrompt-9PWg4OU6.cjs} +1 -1
- package/dist/{systemPrompt-DsQoUgQw.mjs → systemPrompt-Db9O7KGe.mjs} +1 -1
- package/dist/{teams-BETNMjpZ.mjs → teams-C5PwKr4K.mjs} +6 -6
- package/dist/{teams-Ctx9zXn4.cjs → teams-DkHPUc6j.cjs} +6 -6
- package/dist/{time-CVvxdEDh.mjs → time-TxDyvAKk.mjs} +1 -1
- package/dist/{time-CLwVAz6s.cjs → time-xNkWLTSj.cjs} +1 -1
- package/dist/{titleGenerator-FDpdizn7.cjs → titleGenerator-C8arvXNG.cjs} +2 -2
- package/dist/{titleGenerator-B4AW3dLr.mjs → titleGenerator-oK414IZc.mjs} +1 -1
- package/dist/{todo-Jk4Vs7hP.mjs → todo-CLHIGRUf.mjs} +5 -5
- package/dist/{todo-C3tyFeq1.cjs → todo-VqQuYyFq.cjs} +5 -5
- package/dist/{tools-BA1qkiV1.mjs → tools-BSzD246o.mjs} +1 -1
- package/dist/{tools-CGxq3I52.cjs → tools-GnqHEZHb.cjs} +1 -1
- package/dist/{tools-_kFe4m_l.mjs → tools-sPgOmLr_.mjs} +1 -1
- package/dist/{tools-O5beDK-s.cjs → tools-xQ38ufgo.cjs} +1 -1
- package/dist/{uninstall-DHKF90lo.cjs → uninstall-DKM0j1qI.cjs} +3 -3
- package/dist/{uninstall-C_mdAZlm.mjs → uninstall-DyoXxpgI.mjs} +3 -3
- package/package.json +7 -7
- package/dist/selfCheck-7FaZtVu2.mjs +0 -84
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
var node_child_process = require('node:child_process');
|
|
4
4
|
var sdk = require('@agentclientprotocol/sdk');
|
|
5
5
|
var node_crypto = require('node:crypto');
|
|
6
|
-
var logger = require('./logger-
|
|
7
|
-
var time = require('./time-
|
|
6
|
+
var logger = require('./logger-Ca5eRZ2j.cjs');
|
|
7
|
+
var time = require('./time-xNkWLTSj.cjs');
|
|
8
8
|
var contentLogMetadata = require('./contentLogMetadata-ZSFk_NjQ.cjs');
|
|
9
|
-
var _package = require('./package-
|
|
9
|
+
var _package = require('./package-BfnmIH4b.cjs');
|
|
10
10
|
|
|
11
11
|
function acpImageBlocks(attachments, supportsImages) {
|
|
12
12
|
return attachments.filter((file) => ["image/jpeg", "image/png", "image/gif", "image/webp"].includes(file.mimeType)).map((file) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { spawn } from 'node:child_process';
|
|
2
2
|
import { ndJsonStream, ClientSideConnection } from '@agentclientprotocol/sdk';
|
|
3
3
|
import { randomUUID } from 'node:crypto';
|
|
4
|
-
import { l as logger } from './logger-
|
|
5
|
-
import { d as delay } from './time-
|
|
4
|
+
import { l as logger } from './logger-BIzr7JN0.mjs';
|
|
5
|
+
import { d as delay } from './time-TxDyvAKk.mjs';
|
|
6
6
|
import { c as contentLogMetadata, e as errorLogMetadata } from './contentLogMetadata-BlWI0egu.mjs';
|
|
7
|
-
import { p as packageJson } from './package-
|
|
7
|
+
import { p as packageJson } from './package-D-W_r_pd.mjs';
|
|
8
8
|
|
|
9
9
|
function acpImageBlocks(attachments, supportsImages) {
|
|
10
10
|
return attachments.filter((file) => ["image/jpeg", "image/png", "image/gif", "image/webp"].includes(file.mimeType)).map((file) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
2
|
import { homedir } from 'node:os';
|
|
3
|
-
import { readSettings, updateSettings } from './persistence-
|
|
3
|
+
import { readSettings, updateSettings } from './persistence-DgBhXxu7.mjs';
|
|
4
4
|
import 'node:fs';
|
|
5
|
-
import './logger-
|
|
5
|
+
import './logger-BIzr7JN0.mjs';
|
|
6
6
|
import { d as describeAgentHome, p as probeLoginShellEnv, r as resolveAgentHomes, e as expandHomePath, A as AGENT_HOME_ENV_NAMES } from './loginShellEnv-Dw8M7tkI.mjs';
|
|
7
7
|
import 'node:fs/promises';
|
|
8
|
-
import './configuration-
|
|
8
|
+
import './configuration-B0c-OP_h.mjs';
|
|
9
9
|
import 'node:path';
|
|
10
|
-
import './package-
|
|
10
|
+
import './package-D-W_r_pd.mjs';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import './authRelay-DSAvg1uv.mjs';
|
|
13
13
|
import 'node:crypto';
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var os = require('node:os');
|
|
5
|
-
var persistence = require('./persistence-
|
|
5
|
+
var persistence = require('./persistence-Ceb-BPk6.cjs');
|
|
6
6
|
require('node:fs');
|
|
7
|
-
require('./logger-
|
|
7
|
+
require('./logger-Ca5eRZ2j.cjs');
|
|
8
8
|
var loginShellEnv = require('./loginShellEnv-BkuYtExZ.cjs');
|
|
9
9
|
require('node:fs/promises');
|
|
10
|
-
require('./configuration-
|
|
10
|
+
require('./configuration-CepfrPZ_.cjs');
|
|
11
11
|
require('node:path');
|
|
12
|
-
require('./package-
|
|
12
|
+
require('./package-BfnmIH4b.cjs');
|
|
13
13
|
require('zod');
|
|
14
14
|
require('./authRelay-BdYkC1Po.cjs');
|
|
15
15
|
require('node:crypto');
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
|
-
import { l as logger, r as redactLogValue } from './logger-
|
|
2
|
+
import { l as logger, r as redactLogValue } from './logger-BIzr7JN0.mjs';
|
|
3
3
|
import { EventEmitter } from 'node:events';
|
|
4
4
|
import { io } from 'socket.io-client';
|
|
5
5
|
import { A as AsyncLock, a as MAX_CHAT_ATTACHMENT_ENCRYPTED_BYTES, U as UserMessageSchema, F as FileEventMessageSchema } from './attachmentLimits-D5pgmASK.mjs';
|
|
6
6
|
import { h as decrypt, d as decodeBase64, i as decryptBlob, e as encodeBase64, g as encrypt, l as libsodiumEncryptForPublicKey, j as libsodiumPublicKeyFromSecretKey, k as getRandomBytes } from './authRelay-DSAvg1uv.mjs';
|
|
7
7
|
import { p as prepareClipboardText, d as prepareClipboardHistoryText } from './limits-DIo7rEBR.mjs';
|
|
8
|
-
import { b as backoff, d as delay, e as exponentialBackoffDelay } from './time-
|
|
9
|
-
import { R as RpcHandlerManager, a as answerSocketRequest, d as describeSocketAckDrop, s as safeAck, i as isRateQuotaCode, p as pauseForRateQuota, b as shouldReconnect } from './lidState-
|
|
10
|
-
import { c as configuration } from './configuration-
|
|
8
|
+
import { b as backoff, d as delay, e as exponentialBackoffDelay } from './time-TxDyvAKk.mjs';
|
|
9
|
+
import { R as RpcHandlerManager, a as answerSocketRequest, d as describeSocketAckDrop, s as safeAck, i as isRateQuotaCode, p as pauseForRateQuota, b as shouldReconnect } from './lidState-X7iQg4y5.mjs';
|
|
10
|
+
import { c as configuration } from './configuration-B0c-OP_h.mjs';
|
|
11
11
|
import { createHmac, randomUUID } from 'node:crypto';
|
|
12
12
|
import { e as createEnvelope, s as streamKeyOf, R as ReleaseDrainNoticeSchema, m as RelayAssignmentResponseSchema } from './index-BBg9j0XK.mjs';
|
|
13
|
-
import { r as registerCommonHandlers } from './registerCommonHandlers-
|
|
13
|
+
import { r as registerCommonHandlers } from './registerCommonHandlers-t15dS7xt.mjs';
|
|
14
14
|
import { createId } from '@paralleldrive/cuid2';
|
|
15
|
-
import { I as InvalidateSync } from './sync-
|
|
15
|
+
import { I as InvalidateSync } from './sync-DnmsgL3w.mjs';
|
|
16
16
|
import { B as BackgroundTaskReporter } from './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
17
|
-
import { h as notifyDaemonTurnEvent, j as notifyDaemonBackgroundTasks } from './controlClient-
|
|
17
|
+
import { h as notifyDaemonTurnEvent, j as notifyDaemonBackgroundTasks } from './controlClient-BKmjlbGs.mjs';
|
|
18
18
|
import { c as contentLogMetadata } from './contentLogMetadata-BlWI0egu.mjs';
|
|
19
19
|
import chalk from 'chalk';
|
|
20
20
|
|
|
@@ -1701,6 +1701,22 @@ class ApiSessionClient extends EventEmitter {
|
|
|
1701
1701
|
this.pendingOutbox.splice(0, batch.length);
|
|
1702
1702
|
}
|
|
1703
1703
|
}
|
|
1704
|
+
/**
|
|
1705
|
+
* B-531: resolve once the server has accepted (POST answered, seq assigned)
|
|
1706
|
+
* every message that was in the outbox when this was called. Messages
|
|
1707
|
+
* enqueued later do not extend the wait. Returns false when the client was
|
|
1708
|
+
* closed first — the caller must not treat that as "committed". Retries are
|
|
1709
|
+
* the outbox's own (InvalidateSync backoff), so a server that keeps failing
|
|
1710
|
+
* keeps this pending rather than resolving early.
|
|
1711
|
+
*/
|
|
1712
|
+
async drainOutbox() {
|
|
1713
|
+
const target = new Set(this.pendingOutbox);
|
|
1714
|
+
while (this.pendingOutbox.some((item) => target.has(item))) {
|
|
1715
|
+
if (this.sendSync.stopped) return false;
|
|
1716
|
+
await this.sendSync.invalidateAndAwait();
|
|
1717
|
+
}
|
|
1718
|
+
return true;
|
|
1719
|
+
}
|
|
1704
1720
|
rememberRoutedInbound(localId) {
|
|
1705
1721
|
this.routedInboundLocalIds.add(localId);
|
|
1706
1722
|
if (this.routedInboundLocalIds.size > 2e3) {
|
|
@@ -3042,7 +3058,7 @@ class ApiClient {
|
|
|
3042
3058
|
return new ApiSessionClient(this.credential.token, session, opts);
|
|
3043
3059
|
}
|
|
3044
3060
|
async machineSyncClient(machine) {
|
|
3045
|
-
const { ApiMachineClient } = await import('./apiMachine-
|
|
3061
|
+
const { ApiMachineClient } = await import('./apiMachine-C58eizxs.mjs');
|
|
3046
3062
|
return new ApiMachineClient(this.credential.token, machine);
|
|
3047
3063
|
}
|
|
3048
3064
|
push() {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var axios = require('axios');
|
|
4
|
-
var logger = require('./logger-
|
|
4
|
+
var logger = require('./logger-Ca5eRZ2j.cjs');
|
|
5
5
|
var node_events = require('node:events');
|
|
6
6
|
var socket_ioClient = require('socket.io-client');
|
|
7
7
|
var attachmentLimits = require('./attachmentLimits-DzlBPyJP.cjs');
|
|
8
8
|
var authRelay = require('./authRelay-BdYkC1Po.cjs');
|
|
9
9
|
var limits = require('./limits-C-a7gr04.cjs');
|
|
10
|
-
var time = require('./time-
|
|
11
|
-
var lidState = require('./lidState-
|
|
12
|
-
var configuration = require('./configuration-
|
|
10
|
+
var time = require('./time-xNkWLTSj.cjs');
|
|
11
|
+
var lidState = require('./lidState-BGWXfx1e.cjs');
|
|
12
|
+
var configuration = require('./configuration-CepfrPZ_.cjs');
|
|
13
13
|
var node_crypto = require('node:crypto');
|
|
14
14
|
var index = require('./index-DJ-oV52i.cjs');
|
|
15
|
-
var registerCommonHandlers = require('./registerCommonHandlers-
|
|
15
|
+
var registerCommonHandlers = require('./registerCommonHandlers-DPOHFlxp.cjs');
|
|
16
16
|
var cuid2 = require('@paralleldrive/cuid2');
|
|
17
|
-
var sync = require('./sync-
|
|
17
|
+
var sync = require('./sync-fDRF_nO1.cjs');
|
|
18
18
|
var backgroundTaskActivity = require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
19
|
-
var controlClient = require('./controlClient-
|
|
19
|
+
var controlClient = require('./controlClient-HPMsyxLb.cjs');
|
|
20
20
|
var contentLogMetadata = require('./contentLogMetadata-ZSFk_NjQ.cjs');
|
|
21
21
|
var chalk = require('chalk');
|
|
22
22
|
|
|
@@ -1703,6 +1703,22 @@ class ApiSessionClient extends node_events.EventEmitter {
|
|
|
1703
1703
|
this.pendingOutbox.splice(0, batch.length);
|
|
1704
1704
|
}
|
|
1705
1705
|
}
|
|
1706
|
+
/**
|
|
1707
|
+
* B-531: resolve once the server has accepted (POST answered, seq assigned)
|
|
1708
|
+
* every message that was in the outbox when this was called. Messages
|
|
1709
|
+
* enqueued later do not extend the wait. Returns false when the client was
|
|
1710
|
+
* closed first — the caller must not treat that as "committed". Retries are
|
|
1711
|
+
* the outbox's own (InvalidateSync backoff), so a server that keeps failing
|
|
1712
|
+
* keeps this pending rather than resolving early.
|
|
1713
|
+
*/
|
|
1714
|
+
async drainOutbox() {
|
|
1715
|
+
const target = new Set(this.pendingOutbox);
|
|
1716
|
+
while (this.pendingOutbox.some((item) => target.has(item))) {
|
|
1717
|
+
if (this.sendSync.stopped) return false;
|
|
1718
|
+
await this.sendSync.invalidateAndAwait();
|
|
1719
|
+
}
|
|
1720
|
+
return true;
|
|
1721
|
+
}
|
|
1706
1722
|
rememberRoutedInbound(localId) {
|
|
1707
1723
|
this.routedInboundLocalIds.add(localId);
|
|
1708
1724
|
if (this.routedInboundLocalIds.size > 2e3) {
|
|
@@ -3044,7 +3060,7 @@ class ApiClient {
|
|
|
3044
3060
|
return new ApiSessionClient(this.credential.token, session, opts);
|
|
3045
3061
|
}
|
|
3046
3062
|
async machineSyncClient(machine) {
|
|
3047
|
-
const { ApiMachineClient } = await Promise.resolve().then(function () { return require('./apiMachine-
|
|
3063
|
+
const { ApiMachineClient } = await Promise.resolve().then(function () { return require('./apiMachine-BxCy5_No.cjs'); });
|
|
3048
3064
|
return new ApiMachineClient(this.credential.token, machine);
|
|
3049
3065
|
}
|
|
3050
3066
|
push() {
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var socket_ioClient = require('socket.io-client');
|
|
4
|
-
var logger = require('./logger-
|
|
4
|
+
var logger = require('./logger-Ca5eRZ2j.cjs');
|
|
5
5
|
var mirrorProtocol = require('./mirrorProtocol-BUtmg1ws.cjs');
|
|
6
|
-
var configuration = require('./configuration-
|
|
6
|
+
var configuration = require('./configuration-CepfrPZ_.cjs');
|
|
7
7
|
var cliUpdate = require('./cliUpdate-DsKXPFYp.cjs');
|
|
8
|
-
var registerCommonHandlers = require('./registerCommonHandlers-
|
|
8
|
+
var registerCommonHandlers = require('./registerCommonHandlers-DPOHFlxp.cjs');
|
|
9
9
|
var promises = require('node:fs/promises');
|
|
10
10
|
var path = require('node:path');
|
|
11
11
|
var os = require('node:os');
|
|
12
12
|
var node_child_process = require('node:child_process');
|
|
13
|
-
var persistence = require('./persistence-
|
|
13
|
+
var persistence = require('./persistence-Ceb-BPk6.cjs');
|
|
14
14
|
var authRelay = require('./authRelay-BdYkC1Po.cjs');
|
|
15
15
|
var limits = require('./limits-C-a7gr04.cjs');
|
|
16
|
-
var time = require('./time-
|
|
17
|
-
var lidState = require('./lidState-
|
|
16
|
+
var time = require('./time-xNkWLTSj.cjs');
|
|
17
|
+
var lidState = require('./lidState-BGWXfx1e.cjs');
|
|
18
18
|
var pty = require('node-pty');
|
|
19
19
|
var terminals = require('./terminals-B_bfC9c2.cjs');
|
|
20
20
|
var tmuxSocket = require('./tmuxSocket-D-Xt6Vn-.cjs');
|
|
21
|
-
var index = require('./index-
|
|
21
|
+
var index = require('./index-DoMsO8_G.cjs');
|
|
22
22
|
var node_crypto = require('node:crypto');
|
|
23
23
|
var node_fs = require('node:fs');
|
|
24
24
|
var axios = require('axios');
|
|
25
25
|
var ids = require('./ids-B6ZC0HGt.cjs');
|
|
26
26
|
var detectCLI = require('./detectCLI-DR9ZaN6B.cjs');
|
|
27
|
-
var localHappyAgentAuth = require('./localHappyAgentAuth-
|
|
27
|
+
var localHappyAgentAuth = require('./localHappyAgentAuth-D_Gc4K7h.cjs');
|
|
28
28
|
var path$1 = require('./path-B7zW-WwE.cjs');
|
|
29
29
|
var oneShotPrompts = require('./oneShotPrompts-CL0dip9C.cjs');
|
|
30
|
-
var claudeSessionFork = require('./claudeSessionFork-
|
|
31
|
-
var codexAppServerClient = require('./codexAppServerClient-
|
|
30
|
+
var claudeSessionFork = require('./claudeSessionFork-DdJFvxwf.cjs');
|
|
31
|
+
var codexAppServerClient = require('./codexAppServerClient-5jNbTlE5.cjs');
|
|
32
32
|
var index$1 = require('./index-DJ-oV52i.cjs');
|
|
33
33
|
var codexThreadFork = require('./codexThreadFork-DNekT4nQ.cjs');
|
|
34
34
|
require('chalk');
|
|
35
35
|
require('node:util');
|
|
36
|
-
require('./package-
|
|
36
|
+
require('./package-BfnmIH4b.cjs');
|
|
37
37
|
require('child_process');
|
|
38
38
|
require('util');
|
|
39
39
|
require('fs/promises');
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { io } from 'socket.io-client';
|
|
2
|
-
import { l as logger } from './logger-
|
|
2
|
+
import { l as logger } from './logger-BIzr7JN0.mjs';
|
|
3
3
|
import { i as isClaudeSessionId, s as sanitizeTagList, p as pickMirrorForTerminal, l as liveSnapshotChanged, a as sanitizeLiveSnapshot, b as serializeLiveSnapshot, c as summarizeSpawnSessionForLog, d as parseMirrorSendParams } from './mirrorProtocol-BNLtoWjO.mjs';
|
|
4
|
-
import { c as configuration } from './configuration-
|
|
4
|
+
import { c as configuration } from './configuration-B0c-OP_h.mjs';
|
|
5
5
|
import { w as withCurrentCliUpdateState } from './cliUpdate-Y34VGe9Y.mjs';
|
|
6
|
-
import { r as registerCommonHandlers } from './registerCommonHandlers-
|
|
6
|
+
import { r as registerCommonHandlers } from './registerCommonHandlers-t15dS7xt.mjs';
|
|
7
7
|
import { stat, readdir, lstat, open, readFile } from 'node:fs/promises';
|
|
8
8
|
import { join, isAbsolute, resolve } from 'node:path';
|
|
9
9
|
import os, { homedir } from 'node:os';
|
|
10
10
|
import { spawn, spawnSync } from 'node:child_process';
|
|
11
|
-
import { readSettings, readPersistedSessions, readTrackedClaudeSessionIds, readTrackedCodexThreadIds } from './persistence-
|
|
11
|
+
import { readSettings, readPersistedSessions, readTrackedClaudeSessionIds, readTrackedCodexThreadIds } from './persistence-DgBhXxu7.mjs';
|
|
12
12
|
import { e as encodeBase64, g as encrypt, h as decrypt, d as decodeBase64 } from './authRelay-DSAvg1uv.mjs';
|
|
13
13
|
import { p as prepareClipboardText, d as prepareClipboardHistoryText } from './limits-DIo7rEBR.mjs';
|
|
14
|
-
import { b as backoff, d as delay } from './time-
|
|
15
|
-
import { R as RpcHandlerManager, i as isRateQuotaCode, p as pauseForRateQuota, a as answerSocketRequest, b as shouldReconnect, d as describeSocketAckDrop } from './lidState-
|
|
14
|
+
import { b as backoff, d as delay } from './time-TxDyvAKk.mjs';
|
|
15
|
+
import { R as RpcHandlerManager, i as isRateQuotaCode, p as pauseForRateQuota, a as answerSocketRequest, b as shouldReconnect, d as describeSocketAckDrop } from './lidState-X7iQg4y5.mjs';
|
|
16
16
|
import * as pty from 'node-pty';
|
|
17
17
|
import { a as attachStartupCommand, v as validateTerminalTags, d as deriveAutoTitle, T as TMUX_SESSION_ID_RE, i as isSafeTmuxSessionName, b as isVhSessionName, U as USER_SESSIONS_FORMAT, p as parseUserSessions, L as LIST_SESSIONS_FORMAT, c as parseSessionListLine, e as LIST_FIELD_SEP, s as sendToVhTerminal } from './terminals-Dlg0x3nY.mjs';
|
|
18
18
|
import { t as tmuxArgs, V as VH_TMUX_SOCKET_ENV, a as scrubTmuxClientEnv } from './tmuxSocket-B8Yx20sT.mjs';
|
|
19
|
-
import { locateClaudeConversation } from './index-
|
|
19
|
+
import { locateClaudeConversation } from './index-CpFreRx8.mjs';
|
|
20
20
|
import { randomBytes } from 'node:crypto';
|
|
21
21
|
import { existsSync, statSync, writeFileSync, unlinkSync, readFileSync, mkdirSync, accessSync, constants } from 'node:fs';
|
|
22
22
|
import axios from 'axios';
|
|
23
23
|
import { a as isValidTerminalId } from './ids-DU6sLx4C.mjs';
|
|
24
24
|
import { d as detectCLIAvailability } from './detectCLI-CSGMlV51.mjs';
|
|
25
|
-
import { d as detectResumeSupport } from './localHappyAgentAuth-
|
|
25
|
+
import { d as detectResumeSupport } from './localHappyAgentAuth-r83bTscW.mjs';
|
|
26
26
|
import { g as getProjectPath, a as getClaudeProjectsRoot } from './path-D2wdaNSk.mjs';
|
|
27
27
|
import { i as isVeryHappyOneShotPrompt } from './oneShotPrompts-DT4p6RNd.mjs';
|
|
28
|
-
import { f as forkSession, F as ForkSourceMissingError, d as discardForkedSession, l as listClaudeRewindPoints, a as forkAndTruncateSession, b as ForkTruncateUuidNotFoundError, c as forkBeforeUserMessage } from './claudeSessionFork-
|
|
29
|
-
import { C as CodexAppServerClient } from './codexAppServerClient-
|
|
28
|
+
import { f as forkSession, F as ForkSourceMissingError, d as discardForkedSession, l as listClaudeRewindPoints, a as forkAndTruncateSession, b as ForkTruncateUuidNotFoundError, c as forkBeforeUserMessage } from './claudeSessionFork-DABSCbkf.mjs';
|
|
29
|
+
import { C as CodexAppServerClient } from './codexAppServerClient-Dto99RVH.mjs';
|
|
30
30
|
import { o as RelayCandidatesResponseSchema, m as RelayAssignmentResponseSchema, R as ReleaseDrainNoticeSchema } from './index-BBg9j0XK.mjs';
|
|
31
31
|
import { f as forkCodexThread, C as CodexForkRewindPointNotFoundError, l as listCodexRewindPoints, a as forkCodexBeforeUserMessage } from './codexThreadFork-R76RU5H0.mjs';
|
|
32
32
|
import 'chalk';
|
|
33
33
|
import 'node:util';
|
|
34
|
-
import './package-
|
|
34
|
+
import './package-D-W_r_pd.mjs';
|
|
35
35
|
import 'child_process';
|
|
36
36
|
import 'util';
|
|
37
37
|
import 'fs/promises';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { readFile, writeFile, appendFile } from 'node:fs/promises';
|
|
2
2
|
import os from 'node:os';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { l as logger } from './logger-
|
|
5
|
-
import { readPersistedSessions } from './persistence-
|
|
6
|
-
import { e as spawnDaemonSession } from './controlClient-
|
|
7
|
-
import { a as listSessions, r as readSessionTranscript, s as sessionWebUrl,
|
|
8
|
-
import { r as readRemoteTranscript, s as sendRemoteMessage, d as deliverToSession, R as RemoteSessionOpsError } from './remoteSessionClient-
|
|
4
|
+
import { l as logger } from './logger-BIzr7JN0.mjs';
|
|
5
|
+
import { readPersistedSessions } from './persistence-DgBhXxu7.mjs';
|
|
6
|
+
import { e as spawnDaemonSession } from './controlClient-BKmjlbGs.mjs';
|
|
7
|
+
import { a as listSessions, r as readSessionTranscript, s as sessionWebUrl, g as waitForSessionKey, e as sendUserMessage, b as stopSession, d as archiveSession } from './sessionOps-DJSwzwP-.mjs';
|
|
8
|
+
import { r as readRemoteTranscript, s as sendRemoteMessage, d as deliverToSession, R as RemoteSessionOpsError } from './remoteSessionClient-N7JsQ0XS.mjs';
|
|
9
9
|
import { i as isValidSessionId, a as isValidTerminalId } from './ids-DU6sLx4C.mjs';
|
|
10
10
|
import { l as listVhTerminals, r as readVhTerminal, s as sendToVhTerminal } from './terminals-Dlg0x3nY.mjs';
|
|
11
|
-
import { bootstrapAssistantHome, assistantPersonalMemoryPath } from './bootstrap-
|
|
11
|
+
import { bootstrapAssistantHome, assistantPersonalMemoryPath } from './bootstrap-DSWZAtGy.mjs';
|
|
12
12
|
import { join, isAbsolute, normalize } from 'node:path';
|
|
13
13
|
|
|
14
14
|
const PERSONAL_MEMORY_SOFT_LIMIT_CHARS = 2e3;
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
var promises = require('node:fs/promises');
|
|
4
4
|
var os = require('node:os');
|
|
5
5
|
var z = require('zod');
|
|
6
|
-
var logger = require('./logger-
|
|
7
|
-
var persistence = require('./persistence-
|
|
8
|
-
var controlClient = require('./controlClient-
|
|
9
|
-
var sessionOps = require('./sessionOps-
|
|
10
|
-
var remoteSessionClient = require('./remoteSessionClient-
|
|
6
|
+
var logger = require('./logger-Ca5eRZ2j.cjs');
|
|
7
|
+
var persistence = require('./persistence-Ceb-BPk6.cjs');
|
|
8
|
+
var controlClient = require('./controlClient-HPMsyxLb.cjs');
|
|
9
|
+
var sessionOps = require('./sessionOps-DWsGWwfZ.cjs');
|
|
10
|
+
var remoteSessionClient = require('./remoteSessionClient-DbnVs1Tv.cjs');
|
|
11
11
|
var ids = require('./ids-B6ZC0HGt.cjs');
|
|
12
12
|
var terminals = require('./terminals-B_bfC9c2.cjs');
|
|
13
|
-
var bootstrap = require('./bootstrap-
|
|
13
|
+
var bootstrap = require('./bootstrap-CccIDvh4.cjs');
|
|
14
14
|
var path = require('node:path');
|
|
15
15
|
|
|
16
16
|
const PERSONAL_MEMORY_SOFT_LIMIT_CHARS = 2e3;
|
|
@@ -2,7 +2,7 @@ import { randomUUID } from 'node:crypto';
|
|
|
2
2
|
import { writeFile, rename, unlink } from 'node:fs/promises';
|
|
3
3
|
import { join, basename } from 'node:path';
|
|
4
4
|
import { M as MAX_CHAT_ATTACHMENT_SOURCE_BYTES } from './attachmentLimits-D5pgmASK.mjs';
|
|
5
|
-
import { e as ensurePrivateDirectory, b as hardenPrivateFile } from './configuration-
|
|
5
|
+
import { e as ensurePrivateDirectory, b as hardenPrivateFile } from './configuration-B0c-OP_h.mjs';
|
|
6
6
|
|
|
7
7
|
const CLAUDE_ATTACHMENT_KINDS = [
|
|
8
8
|
"image/jpeg",
|
|
@@ -4,7 +4,7 @@ var node_crypto = require('node:crypto');
|
|
|
4
4
|
var promises = require('node:fs/promises');
|
|
5
5
|
var path = require('node:path');
|
|
6
6
|
var attachmentLimits = require('./attachmentLimits-DzlBPyJP.cjs');
|
|
7
|
-
var configuration = require('./configuration-
|
|
7
|
+
var configuration = require('./configuration-CepfrPZ_.cjs');
|
|
8
8
|
|
|
9
9
|
const CLAUDE_ATTACHMENT_KINDS = [
|
|
10
10
|
"image/jpeg",
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
|
-
var persistence = require('./persistence-
|
|
5
|
-
var auth = require('./auth-
|
|
6
|
-
var configuration = require('./configuration-
|
|
4
|
+
var persistence = require('./persistence-Ceb-BPk6.cjs');
|
|
5
|
+
var auth = require('./auth-Ddz597Rw.cjs');
|
|
6
|
+
var configuration = require('./configuration-CepfrPZ_.cjs');
|
|
7
7
|
var node_fs = require('node:fs');
|
|
8
8
|
var node_readline = require('node:readline');
|
|
9
|
-
var controlClient = require('./controlClient-
|
|
10
|
-
var logger = require('./logger-
|
|
9
|
+
var controlClient = require('./controlClient-HPMsyxLb.cjs');
|
|
10
|
+
var logger = require('./logger-Ca5eRZ2j.cjs');
|
|
11
11
|
var os = require('node:os');
|
|
12
12
|
var authRelay = require('./authRelay-BdYkC1Po.cjs');
|
|
13
13
|
require('node:fs/promises');
|
|
14
14
|
require('zod');
|
|
15
15
|
require('node:path');
|
|
16
|
-
require('./package-
|
|
16
|
+
require('./package-BfnmIH4b.cjs');
|
|
17
17
|
require('node:crypto');
|
|
18
18
|
require('tweetnacl');
|
|
19
19
|
require('node:util');
|
|
20
20
|
require('axios');
|
|
21
|
-
require('./time-
|
|
22
|
-
require('./browser-
|
|
21
|
+
require('./time-xNkWLTSj.cjs');
|
|
22
|
+
require('./browser-lizgdXYj.cjs');
|
|
23
23
|
require('open');
|
|
24
24
|
|
|
25
25
|
function localMachineIdentityStatus(machineId) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { e as encodeBase64, c as credentialRelayProblem, f as encodeBase64Url, d as decodeBase64 } from './authRelay-DSAvg1uv.mjs';
|
|
2
|
-
import { c as configuration } from './configuration-
|
|
2
|
+
import { c as configuration } from './configuration-B0c-OP_h.mjs';
|
|
3
3
|
import { randomUUID, randomBytes } from 'node:crypto';
|
|
4
4
|
import tweetnacl from 'tweetnacl';
|
|
5
5
|
import axios from 'axios';
|
|
6
|
-
import { d as delay } from './time-
|
|
7
|
-
import { readCredentials, readSettingsOutcome, updateSettings, writeCredentialsLegacy, writeCredentialsDataKey } from './persistence-
|
|
8
|
-
import { o as openBrowser } from './browser-
|
|
9
|
-
import { l as logger } from './logger-
|
|
6
|
+
import { d as delay } from './time-TxDyvAKk.mjs';
|
|
7
|
+
import { readCredentials, readSettingsOutcome, updateSettings, writeCredentialsLegacy, writeCredentialsDataKey } from './persistence-DgBhXxu7.mjs';
|
|
8
|
+
import { o as openBrowser } from './browser-DU9kI-Q-.mjs';
|
|
9
|
+
import { l as logger } from './logger-BIzr7JN0.mjs';
|
|
10
10
|
|
|
11
11
|
function generateWebAuthUrl(publicKey) {
|
|
12
12
|
const publicKeyBase64 = encodeBase64(publicKey, "base64url");
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var authRelay = require('./authRelay-BdYkC1Po.cjs');
|
|
4
|
-
var configuration = require('./configuration-
|
|
4
|
+
var configuration = require('./configuration-CepfrPZ_.cjs');
|
|
5
5
|
var node_crypto = require('node:crypto');
|
|
6
6
|
var tweetnacl = require('tweetnacl');
|
|
7
7
|
var axios = require('axios');
|
|
8
|
-
var time = require('./time-
|
|
9
|
-
var persistence = require('./persistence-
|
|
10
|
-
var browser = require('./browser-
|
|
11
|
-
var logger = require('./logger-
|
|
8
|
+
var time = require('./time-xNkWLTSj.cjs');
|
|
9
|
+
var persistence = require('./persistence-Ceb-BPk6.cjs');
|
|
10
|
+
var browser = require('./browser-lizgdXYj.cjs');
|
|
11
|
+
var logger = require('./logger-Ca5eRZ2j.cjs');
|
|
12
12
|
|
|
13
13
|
function generateWebAuthUrl(publicKey) {
|
|
14
14
|
const publicKeyBase64 = authRelay.encodeBase64(publicKey, "base64url");
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { readCredentials, readSettings, clearCredentials, clearMachineId } from './persistence-
|
|
3
|
-
import { a as authAndSetupMachineIfNeeded } from './auth-
|
|
4
|
-
import { c as configuration } from './configuration-
|
|
2
|
+
import { readCredentials, readSettings, clearCredentials, clearMachineId } from './persistence-DgBhXxu7.mjs';
|
|
3
|
+
import { a as authAndSetupMachineIfNeeded } from './auth-CRm8yNv6.mjs';
|
|
4
|
+
import { c as configuration } from './configuration-B0c-OP_h.mjs';
|
|
5
5
|
import { existsSync, rmSync } from 'node:fs';
|
|
6
6
|
import { createInterface } from 'node:readline';
|
|
7
|
-
import { c as checkIfDaemonRunningAndCleanupStaleState, a as stopDaemon } from './controlClient-
|
|
8
|
-
import { l as logger } from './logger-
|
|
7
|
+
import { c as checkIfDaemonRunningAndCleanupStaleState, a as stopDaemon } from './controlClient-BKmjlbGs.mjs';
|
|
8
|
+
import { l as logger } from './logger-BIzr7JN0.mjs';
|
|
9
9
|
import os from 'node:os';
|
|
10
10
|
import { c as credentialRelayProblem } from './authRelay-DSAvg1uv.mjs';
|
|
11
11
|
import 'node:fs/promises';
|
|
12
12
|
import 'zod';
|
|
13
13
|
import 'node:path';
|
|
14
|
-
import './package-
|
|
14
|
+
import './package-D-W_r_pd.mjs';
|
|
15
15
|
import 'node:crypto';
|
|
16
16
|
import 'tweetnacl';
|
|
17
17
|
import 'node:util';
|
|
18
18
|
import 'axios';
|
|
19
|
-
import './time-
|
|
20
|
-
import './browser-
|
|
19
|
+
import './time-TxDyvAKk.mjs';
|
|
20
|
+
import './browser-DU9kI-Q-.mjs';
|
|
21
21
|
import 'open';
|
|
22
22
|
|
|
23
23
|
function localMachineIdentityStatus(machineId) {
|
|
@@ -5,43 +5,44 @@ var os = require('node:os');
|
|
|
5
5
|
var node_fs = require('node:fs');
|
|
6
6
|
var path = require('node:path');
|
|
7
7
|
var index = require('./index-DJ-oV52i.cjs');
|
|
8
|
-
var configuration = require('./configuration-
|
|
9
|
-
var client = require('./client-
|
|
8
|
+
var configuration = require('./configuration-CepfrPZ_.cjs');
|
|
9
|
+
var client = require('./client-CQzHoynf.cjs');
|
|
10
10
|
var template = require('./template-BaHAmH2K.cjs');
|
|
11
11
|
var install = require('./install-Cs5qAPrB.cjs');
|
|
12
|
-
var sessionOps = require('./sessionOps-
|
|
13
|
-
var spawn = require('./spawn-
|
|
12
|
+
var sessionOps = require('./sessionOps-DWsGWwfZ.cjs');
|
|
13
|
+
var spawn = require('./spawn-Ccy5qAtp.cjs');
|
|
14
14
|
var spawnAgents = require('./spawnAgents-iSu1Xzs5.cjs');
|
|
15
|
-
var time = require('./time-
|
|
15
|
+
var time = require('./time-xNkWLTSj.cjs');
|
|
16
16
|
require('zod');
|
|
17
17
|
require('@paralleldrive/cuid2');
|
|
18
|
-
require('./package-
|
|
18
|
+
require('./package-BfnmIH4b.cjs');
|
|
19
19
|
require('node:fs/promises');
|
|
20
|
-
require('./persistence-
|
|
20
|
+
require('./persistence-Ceb-BPk6.cjs');
|
|
21
21
|
require('./authRelay-BdYkC1Po.cjs');
|
|
22
22
|
require('node:crypto');
|
|
23
23
|
require('tweetnacl');
|
|
24
|
-
require('./logger-
|
|
24
|
+
require('./logger-Ca5eRZ2j.cjs');
|
|
25
25
|
require('node:util');
|
|
26
26
|
require('./resources-JDPugcDq.cjs');
|
|
27
27
|
require('axios');
|
|
28
|
-
require('./controlClient-
|
|
28
|
+
require('./controlClient-HPMsyxLb.cjs');
|
|
29
29
|
require('socket.io-client');
|
|
30
30
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
31
31
|
require('./path-B7zW-WwE.cjs');
|
|
32
|
-
require('./claudeSessionFork-
|
|
32
|
+
require('./claudeSessionFork-DdJFvxwf.cjs');
|
|
33
33
|
require('node:readline');
|
|
34
|
-
require('./codexAppServerClient-
|
|
34
|
+
require('./codexAppServerClient-5jNbTlE5.cjs');
|
|
35
35
|
require('node:child_process');
|
|
36
36
|
require('cross-spawn');
|
|
37
37
|
require('./contentLogMetadata-ZSFk_NjQ.cjs');
|
|
38
38
|
require('./manager-Cly8xVIR.cjs');
|
|
39
39
|
require('@anthropic-ai/sandbox-runtime');
|
|
40
40
|
require('./codexThreadFork-DNekT4nQ.cjs');
|
|
41
|
-
require('./createSessionMetadata-
|
|
41
|
+
require('./createSessionMetadata-CGuyVxsM.cjs');
|
|
42
42
|
require('./projectPath-ChLhdOyt.cjs');
|
|
43
43
|
require('path');
|
|
44
44
|
require('url');
|
|
45
|
+
require('./forkBackfill-8eLDeS73.cjs');
|
|
45
46
|
|
|
46
47
|
const AUTO_ACTIONS = ["list", "show", "create", "edit", "pause", "resume", "rm", "run", "fire", "runs", "cancel", "ack", "report", "skill", "install", "uninstall", "help"];
|
|
47
48
|
const VALUE_FLAGS = ["--name", "--rename", "--description", "--machine", "--cron", "--tz", "--every", "--at", "--spawn-dir", "--prompt", "--prompt-file", "--agent", "--model", "--permission-mode", "--sticky-key", "--send-session", "--cwd", "--env", "--timeout", "--concurrency", "--max-runtime", "--payload", "--payload-json", "--payload-file", "--dedupe-key", "--status", "--limit", "--run", "--summary", "--error", "--attention", "--host", "--home"];
|
|
@@ -3,43 +3,44 @@ import { homedir } from 'node:os';
|
|
|
3
3
|
import { readFileSync } from 'node:fs';
|
|
4
4
|
import { resolve } from 'node:path';
|
|
5
5
|
import { A as AUTOMATION_NAME_PATTERN, i as isAutomationRunTerminal } from './index-BBg9j0XK.mjs';
|
|
6
|
-
import { c as configuration } from './configuration-
|
|
7
|
-
import { a as authenticatedAutomationsClient, b as automationRunIdFromEnv, i as isAutomationsUnavailable, A as AUTOMATIONS_UNAVAILABLE_MESSAGE } from './client-
|
|
6
|
+
import { c as configuration } from './configuration-B0c-OP_h.mjs';
|
|
7
|
+
import { a as authenticatedAutomationsClient, b as automationRunIdFromEnv, i as isAutomationsUnavailable, A as AUTOMATIONS_UNAVAILABLE_MESSAGE } from './client-CyUhxs-0.mjs';
|
|
8
8
|
import { p as parseDuration, t as triggerFromFlags, d as describeTrigger, a as describeAction } from './template-CiOPa2rd.mjs';
|
|
9
9
|
import { A as AUTOMATION_SKILL, i as installAutomationSkill } from './install-BO_W7VhL.mjs';
|
|
10
|
-
import { s as sessionWebUrl } from './sessionOps-
|
|
11
|
-
import { parseEnvAssignment } from './spawn-
|
|
10
|
+
import { s as sessionWebUrl } from './sessionOps-DJSwzwP-.mjs';
|
|
11
|
+
import { parseEnvAssignment } from './spawn-D8CEQPbN.mjs';
|
|
12
12
|
import { S as SPAWN_AGENTS, s as sanitizeSpawnPermissionMode, A as ALLOWED_SPAWN_PERMISSION_MODES } from './spawnAgents-Y1LjnCt9.mjs';
|
|
13
|
-
import { d as delay } from './time-
|
|
13
|
+
import { d as delay } from './time-TxDyvAKk.mjs';
|
|
14
14
|
import 'zod';
|
|
15
15
|
import '@paralleldrive/cuid2';
|
|
16
|
-
import './package-
|
|
16
|
+
import './package-D-W_r_pd.mjs';
|
|
17
17
|
import 'node:fs/promises';
|
|
18
|
-
import './persistence-
|
|
18
|
+
import './persistence-DgBhXxu7.mjs';
|
|
19
19
|
import './authRelay-DSAvg1uv.mjs';
|
|
20
20
|
import 'node:crypto';
|
|
21
21
|
import 'tweetnacl';
|
|
22
|
-
import './logger-
|
|
22
|
+
import './logger-BIzr7JN0.mjs';
|
|
23
23
|
import 'node:util';
|
|
24
24
|
import './resources-BdFBQi8r.mjs';
|
|
25
25
|
import 'axios';
|
|
26
|
-
import './controlClient-
|
|
26
|
+
import './controlClient-BKmjlbGs.mjs';
|
|
27
27
|
import 'socket.io-client';
|
|
28
28
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
29
29
|
import './path-D2wdaNSk.mjs';
|
|
30
|
-
import './claudeSessionFork-
|
|
30
|
+
import './claudeSessionFork-DABSCbkf.mjs';
|
|
31
31
|
import 'node:readline';
|
|
32
|
-
import './codexAppServerClient-
|
|
32
|
+
import './codexAppServerClient-Dto99RVH.mjs';
|
|
33
33
|
import 'node:child_process';
|
|
34
34
|
import 'cross-spawn';
|
|
35
35
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
36
36
|
import './manager-BQ4flvQZ.mjs';
|
|
37
37
|
import '@anthropic-ai/sandbox-runtime';
|
|
38
38
|
import './codexThreadFork-R76RU5H0.mjs';
|
|
39
|
-
import './createSessionMetadata-
|
|
39
|
+
import './createSessionMetadata-KOL67aSN.mjs';
|
|
40
40
|
import './projectPath-BTBIMB57.mjs';
|
|
41
41
|
import 'path';
|
|
42
42
|
import 'url';
|
|
43
|
+
import './forkBackfill-DYIjlN1Z.mjs';
|
|
43
44
|
|
|
44
45
|
const AUTO_ACTIONS = ["list", "show", "create", "edit", "pause", "resume", "rm", "run", "fire", "runs", "cancel", "ack", "report", "skill", "install", "uninstall", "help"];
|
|
45
46
|
const VALUE_FLAGS = ["--name", "--rename", "--description", "--machine", "--cron", "--tz", "--every", "--at", "--spawn-dir", "--prompt", "--prompt-file", "--agent", "--model", "--permission-mode", "--sticky-key", "--send-session", "--cwd", "--env", "--timeout", "--concurrency", "--max-runtime", "--payload", "--payload-json", "--payload-file", "--dedupe-key", "--status", "--limit", "--run", "--summary", "--error", "--attention", "--host", "--home"];
|