very-happy-cli 0.2.193 → 0.2.194
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-B4PwjqHt.mjs → AcpBackend-C3Kx0QJb.mjs} +3 -3
- package/dist/{AcpBackend-DtJCgftG.cjs → AcpBackend-DJzsue14.cjs} +3 -3
- package/dist/{AcpSessionManager-D4qshX_H.cjs → AcpSessionManager-Bc3iafB1.cjs} +1 -1
- package/dist/{AcpSessionManager-BzKWgkdP.mjs → AcpSessionManager-SteuoqMY.mjs} +1 -1
- package/dist/{BasePermissionHandler-DV6UM6e9.mjs → BasePermissionHandler-D2pNcAXn.mjs} +1 -1
- package/dist/{BasePermissionHandler-5iG-cvA2.cjs → BasePermissionHandler-DKzNFVCh.cjs} +1 -1
- package/dist/{account-DvpA60oU.cjs → account-ByVjlvFj.cjs} +5 -5
- package/dist/{account-Dco_nGT4.mjs → account-DC2YyU24.mjs} +5 -5
- package/dist/{acpSessionResume-TQwN9ZZE.mjs → acpSessionResume-B6VClxKQ.mjs} +1 -1
- package/dist/{acpSessionResume-Bk9mjXZ9.cjs → acpSessionResume-DHHgbNnk.cjs} +1 -1
- package/dist/{agentHome-Bep8semY.mjs → agentHome-9caXwo7k.mjs} +4 -4
- package/dist/{agentHome-c2dlgcw1.cjs → agentHome-Bov1aHYS.cjs} +4 -4
- package/dist/{api-DUfunY3x.mjs → api-aE60mNjs.mjs} +9 -9
- package/dist/{api-CBE_a88I.cjs → api-wYwQCJml.cjs} +9 -9
- package/dist/{apiMachine-CU_bw5nV.mjs → apiMachine-CvNB38Xg.mjs} +30 -14
- package/dist/{apiMachine-BqtG0IWm.cjs → apiMachine-DwaqfM9Q.cjs} +30 -14
- package/dist/{attachmentContent-KNIZxwlu.mjs → attachmentContent-C2ymY_-w.mjs} +2 -2
- package/dist/{attachmentContent-B3AzuYqk.cjs → attachmentContent-DB8ZsxGE.cjs} +2 -2
- package/dist/{auth-CZ7pKS-j.mjs → auth-BYtmGgE1.mjs} +8 -8
- package/dist/{auth-SJ_dPw7H.cjs → auth-Bce0Zk3q.cjs} +8 -8
- package/dist/{auth-jN5dNqTO.mjs → auth-CWO6cQ4G.mjs} +5 -5
- package/dist/{auth-DCjxpI6Z.cjs → auth-boIcb7iq.cjs} +5 -5
- package/dist/{auto-B_59RYH1.cjs → auto-AaggdihK.cjs} +15 -15
- package/dist/{auto-DC0Sq-qB.mjs → auto-B-kopWQx.mjs} +15 -15
- package/dist/{bootstrap-B3gMpU9e.mjs → bootstrap-CiWwfHB2.mjs} +2 -2
- package/dist/{bootstrap-CoJu9VnB.cjs → bootstrap-kywZ0tvD.cjs} +2 -2
- package/dist/{browser-LHW2hBH8.mjs → browser-CFfZM3yg.mjs} +1 -1
- package/dist/{browser-v1pdPP1E.cjs → browser-Do2MFdq6.cjs} +1 -1
- package/dist/{claudeLocal-BZUgA5G2.mjs → claudeLocal-B47NjZfB.mjs} +4 -4
- package/dist/{claudeLocal-BrzM2RBI.cjs → claudeLocal-DLd8ogcH.cjs} +4 -4
- package/dist/{claudeLocalLauncher-A0AQyHFi.mjs → claudeLocalLauncher-5DDuHpCD.mjs} +9 -9
- package/dist/{claudeLocalLauncher-XAMpXUM7.cjs → claudeLocalLauncher-D_UTQ4o_.cjs} +9 -9
- package/dist/{claudeSessionFork-Mhn2fYe_.cjs → claudeSessionFork-4g6-Sk3Q.cjs} +104 -38
- package/dist/{claudeSessionFork-_GwIlmMB.mjs → claudeSessionFork-BrJTncNL.mjs} +105 -40
- package/dist/{client-D2GWkd-T.cjs → client-BIg2LPVx.cjs} +2 -2
- package/dist/{client-DLlnmAPL.cjs → client-BfDga3xi.cjs} +3 -3
- package/dist/{client-Bde4QVIn.mjs → client-Cbxr9VUE.mjs} +2 -2
- package/dist/{client-CJr8Pjwm.cjs → client-CsfPUxLy.cjs} +2 -2
- package/dist/{client-DwbhrX6D.mjs → client-DS5JEsHs.mjs} +3 -3
- package/dist/{client-7RnI9J0W.mjs → client-OjYRPhZs.mjs} +2 -2
- package/dist/codex/happyMcpStdioBridge.cjs +15 -15
- package/dist/codex/happyMcpStdioBridge.mjs +15 -15
- package/dist/{codexAppServerClient-DWEsZUC4.cjs → codexAppServerClient-Bj5vN7sb.cjs} +3 -3
- package/dist/{codexAppServerClient-B3QJV6Ey.mjs → codexAppServerClient-HKAm8f_D.mjs} +3 -3
- package/dist/{codexCommand-D1xlj4sT.mjs → codexCommand-655pR6CR.mjs} +40 -40
- package/dist/{codexCommand-Bg8AmxVm.cjs → codexCommand-DtbDjHZp.cjs} +40 -40
- package/dist/{codexTermination-ByX9GcEJ.cjs → codexTermination-CX_FHKT5.cjs} +1 -1
- package/dist/{codexTermination-CaWAVQjZ.mjs → codexTermination-DxLR-bb5.mjs} +1 -1
- package/dist/{codexThreadFork-5kwoKjMu.cjs → codexThreadFork-C6ZmcT2z.cjs} +22 -1
- package/dist/{codexThreadFork-DobPd19R.mjs → codexThreadFork-CVzAqELg.mjs} +22 -2
- package/dist/{config-C2XYEwXz.mjs → config-CIvXVGlP.mjs} +3 -3
- package/dist/{config-B2GGbiTv.cjs → config-Cv-A-Bw0.cjs} +3 -3
- package/dist/{configuration-BBK0rmmj.cjs → configuration-2Pbg3a0H.cjs} +1 -1
- package/dist/{configuration-ThKBP_zY.mjs → configuration-rTcdHkhE.mjs} +1 -1
- package/dist/{connect-BirnCl9q.mjs → connect-B9Bl68PF.mjs} +12 -12
- package/dist/{connect-C3tZs_NC.cjs → connect-BAYNAE8A.cjs} +12 -12
- package/dist/{context-C0EFLnOg.mjs → context-C7QarZMk.mjs} +1 -1
- package/dist/{context-wDp0aZBK.cjs → context-CLTyu_tQ.cjs} +1 -1
- package/dist/{controlClient-Ckl8N1MS.mjs → controlClient-BIdGnYBo.mjs} +3 -3
- package/dist/{controlClient-DwWTns3A.cjs → controlClient-CIqHL07h.cjs} +3 -3
- package/dist/{createSessionMetadata-DqZ6h02H.cjs → createSessionMetadata-BHjzRzPc.cjs} +2 -2
- package/dist/{createSessionMetadata-vug4Cv8z.mjs → createSessionMetadata-PrN-dT7K.mjs} +2 -2
- package/dist/{deterministicJson-BzX94gi3.mjs → deterministicJson-DFwJ57jR.mjs} +12 -12
- package/dist/{deterministicJson-t33SsuRC.cjs → deterministicJson-ZBFn1jtS.cjs} +12 -12
- package/dist/{doctor-C1zyOSXw.mjs → doctor-CFYpAXvt.mjs} +7 -7
- package/dist/{doctor-B9ug1LZb.cjs → doctor-yyM-zii7.cjs} +7 -7
- package/dist/{downloadTarget-Baslc6jW.mjs → downloadTarget-CVPBZMnY.mjs} +6 -6
- package/dist/{downloadTarget-T1id2Gh6.cjs → downloadTarget-DlmqPQp9.cjs} +6 -6
- package/dist/{ensureDaemonRunning-C6ERYK-O.mjs → ensureDaemonRunning-B6Y-CMWe.mjs} +5 -5
- package/dist/{ensureDaemonRunning-CoAg11Zi.cjs → ensureDaemonRunning-D2ny0yon.cjs} +5 -5
- package/dist/{handleResumeCommand-DPi-sPm7.cjs → handleResumeCommand-D-mGugcu.cjs} +5 -5
- package/dist/{handleResumeCommand-CrlqDuz7.mjs → handleResumeCommand-DlrDcV5B.mjs} +5 -5
- package/dist/{index-B2dJA8VG.cjs → index-2Fcq3AGX.cjs} +3 -3
- package/dist/{index-rocrvOYG.cjs → index-5c33fqLQ.cjs} +4 -4
- package/dist/{index-BbdV2mzy.mjs → index-BJsenPFp.mjs} +3 -3
- package/dist/{index-Bkslzin5.cjs → index-BWvmUCQF.cjs} +37 -37
- package/dist/{index-Cn73rdtQ.mjs → index-Bi3dVJ0S.mjs} +4 -4
- package/dist/{index-B1swQJUS.cjs → index-CPkSLWP_.cjs} +4 -4
- package/dist/{index-BcSPg3c5.mjs → index-DEN6vfEY.mjs} +4 -4
- package/dist/{index-fZO4nF6e.mjs → index-DuDD9khO.mjs} +38 -38
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-CArXjPfW.cjs → install-BOA4nEbm.cjs} +3 -3
- package/dist/{install-CChhyV2G.mjs → install-BVYL-wSO.mjs} +3 -3
- package/dist/lib.cjs +11 -11
- package/dist/lib.mjs +11 -11
- package/dist/{lidState-B_v6qgfE.cjs → lidState-DYeb7Wud.cjs} +1 -1
- package/dist/{lidState-B6yYKjNK.mjs → lidState-zy20u7T3.mjs} +1 -1
- package/dist/{localHappyAgentAuth-KRlg_aI0.mjs → localHappyAgentAuth-CBsX08VJ.mjs} +1 -1
- package/dist/{localHappyAgentAuth-jJH0n67S.cjs → localHappyAgentAuth-CScN2McN.cjs} +1 -1
- package/dist/{logger-CX3x2eI4.cjs → logger-CepF8C5Z.cjs} +2 -2
- package/dist/{logger-JV7-4Q_6.mjs → logger-SGCwRIV5.mjs} +2 -2
- package/dist/{machineMetadata-D5-SW9kv.mjs → machineMetadata-ClJfd7ay.mjs} +3 -3
- package/dist/{machineMetadata-DhZuM0iB.cjs → machineMetadata-ObK4hjF0.cjs} +3 -3
- package/dist/{main-CFOdXbPD.mjs → main-C7ZcZVBY.mjs} +47 -47
- package/dist/{main-1x1HGQEy.cjs → main-mhXOpUV7.cjs} +47 -47
- package/dist/{mcp-R6lMcFLO.mjs → mcp-BuCpkYTY.mjs} +14 -14
- package/dist/{mcp-BnKBSEh7.cjs → mcp-Zz7m0j8A.cjs} +14 -14
- package/dist/{mirrorProtocol-CD4ntuZJ.mjs → mirrorProtocol-B0H9UTBM.mjs} +2 -2
- package/dist/{mirrorProtocol-DO-KtvAL.cjs → mirrorProtocol-IhICxf0K.cjs} +2 -2
- package/dist/{package-uzlvxa5S.cjs → package-C7WgesIw.cjs} +7 -7
- package/dist/{package-Bw3H6VLn.mjs → package-Q_ELj5DL.mjs} +7 -7
- package/dist/{panels-BamhZCoZ.mjs → panels-Cm69UXgE.mjs} +5 -5
- package/dist/{panels-C46FxjmH.cjs → panels-yyxpwZnk.cjs} +5 -5
- package/dist/{peerTools-D-VNNFw-.cjs → peerTools-BcZAbqBL.cjs} +5 -5
- package/dist/{peerTools-WtRgTSqG.mjs → peerTools-DUg9RduG.mjs} +5 -5
- package/dist/{persistence-CsmAgN-C.cjs → persistence-D0gNvqXe.cjs} +2 -2
- package/dist/{persistence-Cg4sfjQV.mjs → persistence-mr4Y484W.mjs} +2 -2
- package/dist/{piRunnerArgs-BbaAQvb4.mjs → piRunnerArgs-CGjpl4iF.mjs} +1 -1
- package/dist/{piRunnerArgs-vnFygygF.cjs → piRunnerArgs-DK_DDkYW.cjs} +1 -1
- package/dist/{piRuntime-C2uj5Ucx.cjs → piRuntime-CtZRNOEb.cjs} +1 -1
- package/dist/{piRuntime-Bid7TBf5.mjs → piRuntime-HUA19wG8.mjs} +1 -1
- package/dist/{piTerminal-CqxgrI13.mjs → piTerminal-Bgy1W9mA.mjs} +16 -16
- package/dist/{piTerminal-Ckpjfoqa.cjs → piTerminal-D9OPouek.cjs} +16 -16
- package/dist/{pushNotifications-BCg7YAiu.cjs → pushNotifications-CH0XVPQe.cjs} +2 -2
- package/dist/{pushNotifications-BbE-qV9I.mjs → pushNotifications-DjEl8G0a.mjs} +2 -2
- package/dist/{query-vQ-HG394.cjs → query-Df3WhSA0.cjs} +1 -1
- package/dist/{query-Bfr9O_62.mjs → query-DmIo5OXf.mjs} +1 -1
- package/dist/{rateLimitReporter-CAz7VMw4.mjs → rateLimitReporter-B_PZClib.mjs} +3 -3
- package/dist/{rateLimitReporter-BZ8x0-6-.cjs → rateLimitReporter-M_IKRRS7.cjs} +3 -3
- package/dist/{rateLimitWindows-BZl6GMwQ.cjs → rateLimitWindows-B9PERFm1.cjs} +1 -1
- package/dist/{rateLimitWindows-CRARnKaI.mjs → rateLimitWindows-a2yE3kCv.mjs} +1 -1
- package/dist/{registerCommonHandlers-Cj3Nl9y-.mjs → registerCommonHandlers-CND00Dpj.mjs} +2 -2
- package/dist/{registerCommonHandlers-CZGmrPbT.cjs → registerCommonHandlers-D4uXC0he.cjs} +2 -2
- package/dist/{registerKillSessionHandler-Bg9t45Ub.mjs → registerKillSessionHandler-CwyHwm_n.mjs} +5 -5
- package/dist/{registerKillSessionHandler-C3EDnW4F.cjs → registerKillSessionHandler-DQKsD9CW.cjs} +5 -5
- package/dist/{remoteSessionClient-CcSP24Zq.cjs → remoteSessionClient-DOWgca08.cjs} +5 -5
- package/dist/{remoteSessionClient--0vfA7I5.mjs → remoteSessionClient-mIr_9OL_.mjs} +5 -5
- package/dist/{reportProgressTool-Ddg1yVq2.cjs → reportProgressTool-BLw2_Ohi.cjs} +2 -2
- package/dist/{reportProgressTool-DVru7jc_.mjs → reportProgressTool-DTKlUlHv.mjs} +2 -2
- package/dist/{run-BTrIT_jU.cjs → run-1V6DLzTY.cjs} +32 -32
- package/dist/{run-HtvH6BLi.mjs → run-bfxXYL5N.mjs} +32 -32
- package/dist/{runClaude-DsHTk5Bu.mjs → runClaude-BgvDhl2p.mjs} +20 -20
- package/dist/{runClaude-ipjwAHPI.cjs → runClaude-DuFgZZwO.cjs} +20 -20
- package/dist/{runClaudeDeps-BV3vpeyY.mjs → runClaudeDeps-CX7GtH7O.mjs} +41 -41
- package/dist/{runClaudeDeps-BKpwL6ln.cjs → runClaudeDeps-DeVinBmE.cjs} +36 -36
- package/dist/{runGemini-DhjK6_Fp.mjs → runGemini-Cd27u-7R.mjs} +32 -32
- package/dist/{runGemini-B-G0_7Ab.cjs → runGemini-DiYSk3s1.cjs} +32 -32
- package/dist/{runOpenClaw-B6lawk8n.mjs → runOpenClaw-CWkkfRSo.mjs} +17 -17
- package/dist/{runOpenClaw-BHIo8tkn.cjs → runOpenClaw-DyQnBzpy.cjs} +17 -17
- package/dist/{sandbox-BAsO0ILe.cjs → sandbox-BAXXYewR.cjs} +4 -4
- package/dist/{sandbox-CKb7pCXg.mjs → sandbox-C35zDrkc.mjs} +4 -4
- package/dist/selfCheck-DKMF0Dyu.mjs +88 -0
- package/dist/{selfCheck-D4VvVZNi.cjs → selfCheck-R71q-x7u.cjs} +38 -38
- package/dist/{send-Cz5m39QR.cjs → send-3Wa9th3D.cjs} +8 -8
- package/dist/{send-D8ipLKMY.mjs → send-DiSaR5Bk.mjs} +8 -8
- package/dist/{server-CySyJKPH.cjs → server-BJu2bFBy.cjs} +6 -6
- package/dist/{server-CjvgT3N9.mjs → server-BxMJxaE6.mjs} +4 -4
- package/dist/{sessionLock-DdDCuNUs.cjs → sessionLock-BJ1ngLgm.cjs} +3 -3
- package/dist/{sessionLock-B73fhgQN.mjs → sessionLock-dbi4JPhP.mjs} +3 -3
- package/dist/{sessionOps-XSEjIqNq.cjs → sessionOps-BUlpeaUe.cjs} +4 -4
- package/dist/{sessionOps-C65Iej_C.mjs → sessionOps-C9wRmCBg.mjs} +5 -5
- package/dist/{sessionProvider-CLVNkfji.mjs → sessionProvider-BEHfI5gs.mjs} +5 -5
- package/dist/{sessionProvider-Dgsty8z_.cjs → sessionProvider-DYD6JepE.cjs} +5 -5
- package/dist/{sessionScanner-D8IVXMMH.cjs → sessionScanner-BwbjEoSf.cjs} +3 -3
- package/dist/{sessionScanner-MW1P9Pm9.mjs → sessionScanner-CFITViIZ.mjs} +3 -3
- package/dist/{sessions-BKz7gZqg.cjs → sessions-C-wBd0fN.cjs} +10 -10
- package/dist/{sessions-Dtk_agUL.mjs → sessions-wOcO2X-k.mjs} +10 -10
- package/dist/{setupOfflineReconnection-DxMiW7OV.cjs → setupOfflineReconnection-Bd6XsWhA.cjs} +2 -2
- package/dist/{setupOfflineReconnection-Bvdy-2xd.mjs → setupOfflineReconnection-BrljmbqX.mjs} +2 -2
- package/dist/{spawn-Dm4xsZBX.mjs → spawn-BPioepNz.mjs} +52 -18
- package/dist/{spawn-DiPkJcrQ.cjs → spawn-Crprnq9Z.cjs} +52 -18
- package/dist/{spawnHappyCLI-CnMwzjWX.mjs → spawnHappyCLI-BA1bTIiO.mjs} +1 -1
- package/dist/{spawnHappyCLI-BYGOUda1.cjs → spawnHappyCLI-C0XAWy8V.cjs} +1 -1
- package/dist/{startFileWatcher-DePAY1T5.mjs → startFileWatcher-COCEjNT8.mjs} +1 -1
- package/dist/{startFileWatcher-D14W6gn-.cjs → startFileWatcher-Ca5izs24.cjs} +1 -1
- package/dist/{startupSessionCreate-DoK0IvJG.mjs → startupSessionCreate-BnEPBxsJ.mjs} +3 -3
- package/dist/{startupSessionCreate-rBHd4tc1.cjs → startupSessionCreate-Cmg1gkKS.cjs} +3 -3
- package/dist/{sync-WYBwkJvG.cjs → sync-BfrnSdL1.cjs} +1 -1
- package/dist/{sync-BP6vnxVP.mjs → sync-DVcNkv8e.mjs} +1 -1
- package/dist/{systemPrompt-aRqBmkpw.mjs → systemPrompt-BxZebU75.mjs} +1 -1
- package/dist/{systemPrompt-BkQlCk5_.cjs → systemPrompt-Os5ca7pu.cjs} +1 -1
- package/dist/{teams-phbpwAGD.cjs → teams--pv0QFMA.cjs} +6 -6
- package/dist/{teams-CGmC4ygu.mjs → teams-CNB3DE_n.mjs} +6 -6
- package/dist/{time-Cw0liIqB.mjs → time-0Ru4clBD.mjs} +1 -1
- package/dist/{time-BTLcO8jp.cjs → time-Da5GIiCa.cjs} +1 -1
- package/dist/{titleGenerator-Y1_7ceJC.cjs → titleGenerator-9xIXHA5K.cjs} +2 -2
- package/dist/{titleGenerator-h6TmFe-c.mjs → titleGenerator-CaCzpYyA.mjs} +1 -1
- package/dist/{todo-OKcTC_VC.mjs → todo-CZXHl2Lg.mjs} +5 -5
- package/dist/{todo-BxiPiCvB.cjs → todo-DUY_J3l_.cjs} +5 -5
- package/dist/{tools-BR-drXZ8.mjs → tools-DqA2Jt2R.mjs} +1 -1
- package/dist/{tools-CcebYtLj.cjs → tools-hPD2Hvei.cjs} +1 -1
- package/dist/{uninstall-D3stWKD2.mjs → uninstall-CjMzELYw.mjs} +3 -3
- package/dist/{uninstall-CnDeCC-M.cjs → uninstall-rTvdpRLt.cjs} +3 -3
- package/package.json +7 -7
- package/dist/selfCheck-CZ-t1Xzq.mjs +0 -88
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
2
|
import { e as exitAfterFlush } from './exitAfterFlush-AbKNZM0N.mjs';
|
|
3
|
-
import { D as DEFAULT_RECENT_LIMIT, M as MAX_READ_LIMIT, l as listAccountSessions, a as listSessions, w as waitForTurnEnd, T as TurnWaitTimeoutError, r as readSessionTranscript, b as stopSession, c as resolvePermissionRequest, d as archiveSession } from './sessionOps-
|
|
3
|
+
import { D as DEFAULT_RECENT_LIMIT, M as MAX_READ_LIMIT, l as listAccountSessions, a as listSessions, w as waitForTurnEnd, T as TurnWaitTimeoutError, r as readSessionTranscript, b as stopSession, c as resolvePermissionRequest, d as archiveSession } from './sessionOps-C9wRmCBg.mjs';
|
|
4
4
|
import { i as isValidSessionId } from './ids-DU6sLx4C.mjs';
|
|
5
|
-
import { P as PEER_SCOPES, c as cliPeerSelf, e as executeSessionPeerTool, l as listPeerSessions, s as sendPeerMessage } from './peerTools-
|
|
6
|
-
import { c as readPersistedSessions } from './persistence-
|
|
5
|
+
import { P as PEER_SCOPES, c as cliPeerSelf, e as executeSessionPeerTool, l as listPeerSessions, s as sendPeerMessage } from './peerTools-DUg9RduG.mjs';
|
|
6
|
+
import { c as readPersistedSessions } from './persistence-mr4Y484W.mjs';
|
|
7
7
|
import { resolve } from 'node:path';
|
|
8
|
-
import { f as fillForeignAccountRows, l as listRemoteSessions, a as listRemotePeers, w as waitForRemoteTurnEnd, r as readRemoteTranscript } from './remoteSessionClient
|
|
8
|
+
import { f as fillForeignAccountRows, l as listRemoteSessions, a as listRemotePeers, w as waitForRemoteTurnEnd, r as readRemoteTranscript } from './remoteSessionClient-mIr_9OL_.mjs';
|
|
9
9
|
import 'axios';
|
|
10
|
-
import './configuration-
|
|
10
|
+
import './configuration-rTcdHkhE.mjs';
|
|
11
11
|
import 'node:fs';
|
|
12
12
|
import 'node:os';
|
|
13
|
-
import './package-
|
|
13
|
+
import './package-Q_ELj5DL.mjs';
|
|
14
14
|
import 'node:fs/promises';
|
|
15
15
|
import './authRelay-DhQhkBvX.mjs';
|
|
16
16
|
import 'node:crypto';
|
|
17
17
|
import 'tweetnacl';
|
|
18
|
-
import './controlClient-
|
|
19
|
-
import './logger-
|
|
18
|
+
import './controlClient-BIdGnYBo.mjs';
|
|
19
|
+
import './logger-SGCwRIV5.mjs';
|
|
20
20
|
import 'node:util';
|
|
21
|
-
import './time-
|
|
21
|
+
import './time-0Ru4clBD.mjs';
|
|
22
22
|
import './specialCommands-MXUN0wfI.mjs';
|
|
23
23
|
import 'socket.io-client';
|
|
24
24
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
25
25
|
import 'zod';
|
|
26
|
-
import './client-
|
|
26
|
+
import './client-Cbxr9VUE.mjs';
|
|
27
27
|
|
|
28
28
|
const MACHINE_ID_RE = /^[a-zA-Z0-9_-]{1,128}$/;
|
|
29
29
|
const ACTIONS = ["list", "read", "stop", "archive", "approve", "deny", "peers", "message"];
|
package/dist/{setupOfflineReconnection-DxMiW7OV.cjs → setupOfflineReconnection-Bd6XsWhA.cjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var configuration = require('./configuration-
|
|
4
|
-
var api = require('./api-
|
|
3
|
+
var configuration = require('./configuration-2Pbg3a0H.cjs');
|
|
4
|
+
var api = require('./api-wYwQCJml.cjs');
|
|
5
5
|
|
|
6
6
|
function createOfflineSessionStub(sessionTag) {
|
|
7
7
|
return {
|
package/dist/{setupOfflineReconnection-Bvdy-2xd.mjs → setupOfflineReconnection-BrljmbqX.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as configuration } from './configuration-
|
|
2
|
-
import { s as startOfflineReconnection } from './api-
|
|
1
|
+
import { c as configuration } from './configuration-rTcdHkhE.mjs';
|
|
2
|
+
import { s as startOfflineReconnection } from './api-aE60mNjs.mjs';
|
|
3
3
|
|
|
4
4
|
function createOfflineSessionStub(sessionTag) {
|
|
5
5
|
return {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { r as resolveSpawnPermissionMode, c as chooseProject, j as joinProject, a as resolveFirstMessageMeta, w as waitsForModelCatalog, s as sanitizeSpawnPermissionMode, A as ALLOWED_SPAWN_PERMISSION_MODES, S as SPAWN_AGENTS } from './spawnAgents-I29H9nO8.mjs';
|
|
2
|
-
import { s as sharedProjectsClient } from './client-
|
|
2
|
+
import { s as sharedProjectsClient } from './client-Cbxr9VUE.mjs';
|
|
3
3
|
import chalk from 'chalk';
|
|
4
4
|
import { readFileSync, statSync } from 'node:fs';
|
|
5
5
|
import { resolve } from 'node:path';
|
|
6
|
-
import { b as checkIfDaemonRunningAndCleanupStaleState, f as spawnDaemonSession, h as stopDaemonSession } from './controlClient-
|
|
7
|
-
import { c as readPersistedSessions, r as readSettings } from './persistence-
|
|
6
|
+
import { b as checkIfDaemonRunningAndCleanupStaleState, f as spawnDaemonSession, h as stopDaemonSession } from './controlClient-BIdGnYBo.mjs';
|
|
7
|
+
import { c as readPersistedSessions, r as readSettings } from './persistence-mr4Y484W.mjs';
|
|
8
8
|
import { u as parseLatestModelTable, v as resolveLaunchAgentProfile } from './index-D1YnIih6.mjs';
|
|
9
|
-
import { c as configuration } from './configuration-
|
|
9
|
+
import { c as configuration } from './configuration-rTcdHkhE.mjs';
|
|
10
10
|
import { g as getProjectPath } from './path-D2wdaNSk.mjs';
|
|
11
|
-
import { f as forkSession, F as ForkSourceMissingError } from './claudeSessionFork-
|
|
12
|
-
import { C as CodexAppServerClient } from './codexAppServerClient-
|
|
13
|
-
import { f as forkCodexThread } from './codexThreadFork-
|
|
14
|
-
import { e as sendUserMessage, f as readSessionMetadata, g as waitForSessionKey, s as sessionWebUrl } from './sessionOps-
|
|
15
|
-
import { i as isValidSpawnOrigin } from './createSessionMetadata-
|
|
16
|
-
import { l as logger } from './logger-
|
|
11
|
+
import { f as forkSession, a as forkCompletedTurns, F as ForkSourceMissingError } from './claudeSessionFork-BrJTncNL.mjs';
|
|
12
|
+
import { C as CodexAppServerClient } from './codexAppServerClient-HKAm8f_D.mjs';
|
|
13
|
+
import { f as forkCodexThread, a as forkCodexCompletedTurns } from './codexThreadFork-CVzAqELg.mjs';
|
|
14
|
+
import { e as sendUserMessage, f as readSessionMetadata, g as waitForSessionKey, s as sessionWebUrl, h as analyzeLatestTurn, i as readSessionLog, j as TURN_WINDOW } from './sessionOps-C9wRmCBg.mjs';
|
|
15
|
+
import { i as isValidSpawnOrigin } from './createSessionMetadata-PrN-dT7K.mjs';
|
|
16
|
+
import { l as logger } from './logger-SGCwRIV5.mjs';
|
|
17
17
|
import { w as waitForForkBackfill } from './forkBackfill-DYIjlN1Z.mjs';
|
|
18
18
|
import 'node:fs/promises';
|
|
19
19
|
import 'zod';
|
|
@@ -22,17 +22,17 @@ import 'node:crypto';
|
|
|
22
22
|
import 'tweetnacl';
|
|
23
23
|
import '@paralleldrive/cuid2';
|
|
24
24
|
import 'node:os';
|
|
25
|
-
import './package-
|
|
25
|
+
import './package-Q_ELj5DL.mjs';
|
|
26
26
|
import 'node:readline';
|
|
27
27
|
import 'node:child_process';
|
|
28
28
|
import 'cross-spawn';
|
|
29
29
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
30
30
|
import './manager-BEsI4qt3.mjs';
|
|
31
31
|
import '@anthropic-ai/sandbox-runtime';
|
|
32
|
-
import './rateLimitWindows-
|
|
32
|
+
import './rateLimitWindows-a2yE3kCv.mjs';
|
|
33
33
|
import './processTree-CP5IvQ2Z.mjs';
|
|
34
34
|
import 'axios';
|
|
35
|
-
import './time-
|
|
35
|
+
import './time-0Ru4clBD.mjs';
|
|
36
36
|
import './specialCommands-MXUN0wfI.mjs';
|
|
37
37
|
import 'socket.io-client';
|
|
38
38
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
@@ -80,10 +80,14 @@ function resolveForkSource(sessionId, persisted) {
|
|
|
80
80
|
if (!nonEmpty(metadata.claudeSessionId)) throw new Error(`Session ${sessionId} has no Claude conversation id yet (it never ran a turn) \u2014 nothing to fork.`);
|
|
81
81
|
return { agent: "claude", directory, claudeSessionId: metadata.claudeSessionId, permissionMode, parentSessionId: sessionId };
|
|
82
82
|
}
|
|
83
|
-
async function forkProviderConversation(source) {
|
|
83
|
+
async function forkProviderConversation(source, opts = {}) {
|
|
84
84
|
if (source.agent === "claude") {
|
|
85
85
|
try {
|
|
86
|
-
|
|
86
|
+
const projectDir = getProjectPath(source.directory);
|
|
87
|
+
if (!opts.running) return { resumeClaudeSessionId: await forkSession(projectDir, source.claudeSessionId) };
|
|
88
|
+
const result = await forkCompletedTurns(projectDir, source.claudeSessionId);
|
|
89
|
+
if ("startFresh" in result) throw new Error(NO_COMPLETED_TURN);
|
|
90
|
+
return { resumeClaudeSessionId: result.newClaudeSessionId, excludedPrompts: result.excludedPrompts };
|
|
87
91
|
} catch (error) {
|
|
88
92
|
if (error instanceof ForkSourceMissingError) throw new Error("Claude session file not found on this machine");
|
|
89
93
|
throw error;
|
|
@@ -92,12 +96,18 @@ async function forkProviderConversation(source) {
|
|
|
92
96
|
const client = new CodexAppServerClient();
|
|
93
97
|
await client.connect();
|
|
94
98
|
try {
|
|
95
|
-
|
|
96
|
-
|
|
99
|
+
if (!opts.running) {
|
|
100
|
+
const result2 = await forkCodexThread(client, { threadId: source.codexThreadId, cwd: source.directory });
|
|
101
|
+
return { resumeCodexThreadId: result2.newCodexThreadId };
|
|
102
|
+
}
|
|
103
|
+
const result = await forkCodexCompletedTurns(client, { threadId: source.codexThreadId, cwd: source.directory });
|
|
104
|
+
if ("startFresh" in result) throw new Error(NO_COMPLETED_TURN);
|
|
105
|
+
return { resumeCodexThreadId: result.newCodexThreadId, excludedPrompts: result.excludedPrompts };
|
|
97
106
|
} finally {
|
|
98
107
|
await client.disconnect();
|
|
99
108
|
}
|
|
100
109
|
}
|
|
110
|
+
const NO_COMPLETED_TURN = "the session is running its first turn \u2014 nothing has completed yet to fork; retry once it ends.";
|
|
101
111
|
|
|
102
112
|
function spawnEnvironmentVariables(env, hasPrompt) {
|
|
103
113
|
return hasPrompt ? { ...env, HAPPY_FIRST_MESSAGE_FROM_CLI: "1" } : env;
|
|
@@ -230,6 +240,9 @@ ${chalk.bold("Options:")}
|
|
|
230
240
|
web's fork): copies its conversation and continues
|
|
231
241
|
it in a new session, in the same directory and with
|
|
232
242
|
the same agent (so --dir / --agent are not needed).
|
|
243
|
+
A source mid-turn forks its completed turns only;
|
|
244
|
+
the prompt left out is printed (--json:
|
|
245
|
+
excludedPrompts). The source is not interrupted.
|
|
233
246
|
--env KEY=VALUE Extra environment for the session process. Repeatable.
|
|
234
247
|
\${VAR} is expanded against the daemon's environment;
|
|
235
248
|
an unresolved reference fails the spawn.
|
|
@@ -264,6 +277,16 @@ const defaultFirstMessageDeps = {
|
|
|
264
277
|
sendUserMessage,
|
|
265
278
|
warn: (message) => console.error(chalk.yellow("Warning:"), message)
|
|
266
279
|
};
|
|
280
|
+
async function sourceTurnRunning(sessionId) {
|
|
281
|
+
const persisted = readPersistedSessions()[sessionId];
|
|
282
|
+
if (!persisted) return false;
|
|
283
|
+
try {
|
|
284
|
+
return !analyzeLatestTurn(await readSessionLog(sessionId, persisted, TURN_WINDOW)).ended;
|
|
285
|
+
} catch (error) {
|
|
286
|
+
console.error(chalk.dim(`(could not read whether ${sessionId} is mid-turn \u2014 forking everything: ${error instanceof Error ? error.message : String(error)})`));
|
|
287
|
+
return false;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
267
290
|
async function waitForModelCatalog(readMetadata, initial, knobs = {}) {
|
|
268
291
|
const timeoutMs = knobs.timeoutMs ?? 8e3;
|
|
269
292
|
const pollMs = knobs.pollMs ?? 400;
|
|
@@ -369,9 +392,13 @@ async function handleSpawnCommand(args) {
|
|
|
369
392
|
process.exit(1);
|
|
370
393
|
}
|
|
371
394
|
let resumeIds = {};
|
|
395
|
+
let excludedPrompts = [];
|
|
372
396
|
if (forkSource) {
|
|
373
397
|
try {
|
|
374
|
-
|
|
398
|
+
const running = await sourceTurnRunning(forkSource.parentSessionId);
|
|
399
|
+
const { excludedPrompts: excluded = [], ...ids } = await forkProviderConversation(forkSource, { running });
|
|
400
|
+
resumeIds = ids;
|
|
401
|
+
excludedPrompts = excluded;
|
|
375
402
|
} catch (error) {
|
|
376
403
|
console.error(chalk.red("Error:"), `Failed to fork session ${forkSource.parentSessionId}: ${error instanceof Error ? error.message : String(error)}`);
|
|
377
404
|
process.exit(1);
|
|
@@ -451,6 +478,9 @@ async function handleSpawnCommand(args) {
|
|
|
451
478
|
if (forkSource) {
|
|
452
479
|
payload.forkedFrom = forkSource.parentSessionId;
|
|
453
480
|
}
|
|
481
|
+
if (excludedPrompts.length > 0) {
|
|
482
|
+
payload.excludedPrompts = excludedPrompts;
|
|
483
|
+
}
|
|
454
484
|
if (projectOutcome.joined) {
|
|
455
485
|
payload.project = { id: projectOutcome.projectId, via: projectOutcome.via };
|
|
456
486
|
}
|
|
@@ -470,6 +500,10 @@ async function handleSpawnCommand(args) {
|
|
|
470
500
|
if (prompt !== void 0 && promptError === null) {
|
|
471
501
|
console.log(chalk.green("First message sent."));
|
|
472
502
|
}
|
|
503
|
+
if (excludedPrompts.length > 0) {
|
|
504
|
+
console.log(chalk.yellow("The source was mid-turn: the fork holds its completed turns only. Left out (send it again if you want it):"));
|
|
505
|
+
for (const text of excludedPrompts) console.log(text.split("\n").map((line) => ` > ${line}`).join("\n"));
|
|
506
|
+
}
|
|
473
507
|
}
|
|
474
508
|
if (promptError !== null) {
|
|
475
509
|
console.error(chalk.red("Error:"), `Session ${sessionId} was spawned, but sending the first message failed: ${promptError}`);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var spawnAgents = require('./spawnAgents-B9olJ8xn.cjs');
|
|
4
|
-
var client = require('./client-
|
|
4
|
+
var client = require('./client-CsfPUxLy.cjs');
|
|
5
5
|
var chalk = require('chalk');
|
|
6
6
|
var node_fs = require('node:fs');
|
|
7
7
|
var path$1 = require('node:path');
|
|
8
|
-
var controlClient = require('./controlClient-
|
|
9
|
-
var persistence = require('./persistence-
|
|
8
|
+
var controlClient = require('./controlClient-CIqHL07h.cjs');
|
|
9
|
+
var persistence = require('./persistence-D0gNvqXe.cjs');
|
|
10
10
|
var index = require('./index-BUFrKZeQ.cjs');
|
|
11
|
-
var configuration = require('./configuration-
|
|
11
|
+
var configuration = require('./configuration-2Pbg3a0H.cjs');
|
|
12
12
|
var path = require('./path-B7zW-WwE.cjs');
|
|
13
|
-
var claudeSessionFork = require('./claudeSessionFork-
|
|
14
|
-
var codexAppServerClient = require('./codexAppServerClient-
|
|
15
|
-
var codexThreadFork = require('./codexThreadFork-
|
|
16
|
-
var sessionOps = require('./sessionOps-
|
|
17
|
-
var createSessionMetadata = require('./createSessionMetadata-
|
|
18
|
-
var logger = require('./logger-
|
|
13
|
+
var claudeSessionFork = require('./claudeSessionFork-4g6-Sk3Q.cjs');
|
|
14
|
+
var codexAppServerClient = require('./codexAppServerClient-Bj5vN7sb.cjs');
|
|
15
|
+
var codexThreadFork = require('./codexThreadFork-C6ZmcT2z.cjs');
|
|
16
|
+
var sessionOps = require('./sessionOps-BUlpeaUe.cjs');
|
|
17
|
+
var createSessionMetadata = require('./createSessionMetadata-BHjzRzPc.cjs');
|
|
18
|
+
var logger = require('./logger-CepF8C5Z.cjs');
|
|
19
19
|
var forkBackfill = require('./forkBackfill-8eLDeS73.cjs');
|
|
20
20
|
require('node:fs/promises');
|
|
21
21
|
require('zod');
|
|
@@ -24,17 +24,17 @@ require('node:crypto');
|
|
|
24
24
|
require('tweetnacl');
|
|
25
25
|
require('@paralleldrive/cuid2');
|
|
26
26
|
require('node:os');
|
|
27
|
-
require('./package-
|
|
27
|
+
require('./package-C7WgesIw.cjs');
|
|
28
28
|
require('node:readline');
|
|
29
29
|
require('node:child_process');
|
|
30
30
|
require('cross-spawn');
|
|
31
31
|
require('./contentLogMetadata-ZSFk_NjQ.cjs');
|
|
32
32
|
require('./manager-HrEj442o.cjs');
|
|
33
33
|
require('@anthropic-ai/sandbox-runtime');
|
|
34
|
-
require('./rateLimitWindows-
|
|
34
|
+
require('./rateLimitWindows-B9PERFm1.cjs');
|
|
35
35
|
require('./processTree-CMHWlVse.cjs');
|
|
36
36
|
require('axios');
|
|
37
|
-
require('./time-
|
|
37
|
+
require('./time-Da5GIiCa.cjs');
|
|
38
38
|
require('./specialCommands-J3JFOq0J.cjs');
|
|
39
39
|
require('socket.io-client');
|
|
40
40
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
@@ -82,10 +82,14 @@ function resolveForkSource(sessionId, persisted) {
|
|
|
82
82
|
if (!nonEmpty(metadata.claudeSessionId)) throw new Error(`Session ${sessionId} has no Claude conversation id yet (it never ran a turn) \u2014 nothing to fork.`);
|
|
83
83
|
return { agent: "claude", directory, claudeSessionId: metadata.claudeSessionId, permissionMode, parentSessionId: sessionId };
|
|
84
84
|
}
|
|
85
|
-
async function forkProviderConversation(source) {
|
|
85
|
+
async function forkProviderConversation(source, opts = {}) {
|
|
86
86
|
if (source.agent === "claude") {
|
|
87
87
|
try {
|
|
88
|
-
|
|
88
|
+
const projectDir = path.getProjectPath(source.directory);
|
|
89
|
+
if (!opts.running) return { resumeClaudeSessionId: await claudeSessionFork.forkSession(projectDir, source.claudeSessionId) };
|
|
90
|
+
const result = await claudeSessionFork.forkCompletedTurns(projectDir, source.claudeSessionId);
|
|
91
|
+
if ("startFresh" in result) throw new Error(NO_COMPLETED_TURN);
|
|
92
|
+
return { resumeClaudeSessionId: result.newClaudeSessionId, excludedPrompts: result.excludedPrompts };
|
|
89
93
|
} catch (error) {
|
|
90
94
|
if (error instanceof claudeSessionFork.ForkSourceMissingError) throw new Error("Claude session file not found on this machine");
|
|
91
95
|
throw error;
|
|
@@ -94,12 +98,18 @@ async function forkProviderConversation(source) {
|
|
|
94
98
|
const client = new codexAppServerClient.CodexAppServerClient();
|
|
95
99
|
await client.connect();
|
|
96
100
|
try {
|
|
97
|
-
|
|
98
|
-
|
|
101
|
+
if (!opts.running) {
|
|
102
|
+
const result2 = await codexThreadFork.forkCodexThread(client, { threadId: source.codexThreadId, cwd: source.directory });
|
|
103
|
+
return { resumeCodexThreadId: result2.newCodexThreadId };
|
|
104
|
+
}
|
|
105
|
+
const result = await codexThreadFork.forkCodexCompletedTurns(client, { threadId: source.codexThreadId, cwd: source.directory });
|
|
106
|
+
if ("startFresh" in result) throw new Error(NO_COMPLETED_TURN);
|
|
107
|
+
return { resumeCodexThreadId: result.newCodexThreadId, excludedPrompts: result.excludedPrompts };
|
|
99
108
|
} finally {
|
|
100
109
|
await client.disconnect();
|
|
101
110
|
}
|
|
102
111
|
}
|
|
112
|
+
const NO_COMPLETED_TURN = "the session is running its first turn \u2014 nothing has completed yet to fork; retry once it ends.";
|
|
103
113
|
|
|
104
114
|
function spawnEnvironmentVariables(env, hasPrompt) {
|
|
105
115
|
return hasPrompt ? { ...env, HAPPY_FIRST_MESSAGE_FROM_CLI: "1" } : env;
|
|
@@ -232,6 +242,9 @@ ${chalk.bold("Options:")}
|
|
|
232
242
|
web's fork): copies its conversation and continues
|
|
233
243
|
it in a new session, in the same directory and with
|
|
234
244
|
the same agent (so --dir / --agent are not needed).
|
|
245
|
+
A source mid-turn forks its completed turns only;
|
|
246
|
+
the prompt left out is printed (--json:
|
|
247
|
+
excludedPrompts). The source is not interrupted.
|
|
235
248
|
--env KEY=VALUE Extra environment for the session process. Repeatable.
|
|
236
249
|
\${VAR} is expanded against the daemon's environment;
|
|
237
250
|
an unresolved reference fails the spawn.
|
|
@@ -266,6 +279,16 @@ const defaultFirstMessageDeps = {
|
|
|
266
279
|
sendUserMessage: sessionOps.sendUserMessage,
|
|
267
280
|
warn: (message) => console.error(chalk.yellow("Warning:"), message)
|
|
268
281
|
};
|
|
282
|
+
async function sourceTurnRunning(sessionId) {
|
|
283
|
+
const persisted = persistence.readPersistedSessions()[sessionId];
|
|
284
|
+
if (!persisted) return false;
|
|
285
|
+
try {
|
|
286
|
+
return !sessionOps.analyzeLatestTurn(await sessionOps.readSessionLog(sessionId, persisted, sessionOps.TURN_WINDOW)).ended;
|
|
287
|
+
} catch (error) {
|
|
288
|
+
console.error(chalk.dim(`(could not read whether ${sessionId} is mid-turn \u2014 forking everything: ${error instanceof Error ? error.message : String(error)})`));
|
|
289
|
+
return false;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
269
292
|
async function waitForModelCatalog(readMetadata, initial, knobs = {}) {
|
|
270
293
|
const timeoutMs = knobs.timeoutMs ?? 8e3;
|
|
271
294
|
const pollMs = knobs.pollMs ?? 400;
|
|
@@ -371,9 +394,13 @@ async function handleSpawnCommand(args) {
|
|
|
371
394
|
process.exit(1);
|
|
372
395
|
}
|
|
373
396
|
let resumeIds = {};
|
|
397
|
+
let excludedPrompts = [];
|
|
374
398
|
if (forkSource) {
|
|
375
399
|
try {
|
|
376
|
-
|
|
400
|
+
const running = await sourceTurnRunning(forkSource.parentSessionId);
|
|
401
|
+
const { excludedPrompts: excluded = [], ...ids } = await forkProviderConversation(forkSource, { running });
|
|
402
|
+
resumeIds = ids;
|
|
403
|
+
excludedPrompts = excluded;
|
|
377
404
|
} catch (error) {
|
|
378
405
|
console.error(chalk.red("Error:"), `Failed to fork session ${forkSource.parentSessionId}: ${error instanceof Error ? error.message : String(error)}`);
|
|
379
406
|
process.exit(1);
|
|
@@ -453,6 +480,9 @@ async function handleSpawnCommand(args) {
|
|
|
453
480
|
if (forkSource) {
|
|
454
481
|
payload.forkedFrom = forkSource.parentSessionId;
|
|
455
482
|
}
|
|
483
|
+
if (excludedPrompts.length > 0) {
|
|
484
|
+
payload.excludedPrompts = excludedPrompts;
|
|
485
|
+
}
|
|
456
486
|
if (projectOutcome.joined) {
|
|
457
487
|
payload.project = { id: projectOutcome.projectId, via: projectOutcome.via };
|
|
458
488
|
}
|
|
@@ -472,6 +502,10 @@ async function handleSpawnCommand(args) {
|
|
|
472
502
|
if (prompt !== void 0 && promptError === null) {
|
|
473
503
|
console.log(chalk.green("First message sent."));
|
|
474
504
|
}
|
|
505
|
+
if (excludedPrompts.length > 0) {
|
|
506
|
+
console.log(chalk.yellow("The source was mid-turn: the fork holds its completed turns only. Left out (send it again if you want it):"));
|
|
507
|
+
for (const text of excludedPrompts) console.log(text.split("\n").map((line) => ` > ${line}`).join("\n"));
|
|
508
|
+
}
|
|
475
509
|
}
|
|
476
510
|
if (promptError !== null) {
|
|
477
511
|
console.error(chalk.red("Error:"), `Session ${sessionId} was spawned, but sending the first message failed: ${promptError}`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { spawn } from 'cross-spawn';
|
|
2
2
|
import { join } from 'node:path';
|
|
3
3
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
4
|
-
import { l as logger } from './logger-
|
|
4
|
+
import { l as logger } from './logger-SGCwRIV5.mjs';
|
|
5
5
|
import { existsSync } from 'node:fs';
|
|
6
6
|
|
|
7
7
|
let cachedRuntime = null;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var spawn = require('cross-spawn');
|
|
4
4
|
var path = require('node:path');
|
|
5
5
|
var projectPath = require('./projectPath-C3ioB4Bu.cjs');
|
|
6
|
-
var logger = require('./logger-
|
|
6
|
+
var logger = require('./logger-CepF8C5Z.cjs');
|
|
7
7
|
var node_fs = require('node:fs');
|
|
8
8
|
|
|
9
9
|
let cachedRuntime = null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import { e as evaluateWrapperIdle, j as isQuiescent, k as HIBERNATION_UNSUPPORTED_BACKOFF_MS } from './persistence-
|
|
3
|
-
import { c as connectionState } from './api-
|
|
1
|
+
import { l as logger } from './logger-SGCwRIV5.mjs';
|
|
2
|
+
import { e as evaluateWrapperIdle, j as isQuiescent, k as HIBERNATION_UNSUPPORTED_BACKOFF_MS } from './persistence-mr4Y484W.mjs';
|
|
3
|
+
import { c as connectionState } from './api-aE60mNjs.mjs';
|
|
4
4
|
|
|
5
5
|
const PRESENCE_SETTLE_MS = 6e3;
|
|
6
6
|
async function commitHibernation(deps) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var persistence = require('./persistence-
|
|
5
|
-
var api = require('./api-
|
|
3
|
+
var logger = require('./logger-CepF8C5Z.cjs');
|
|
4
|
+
var persistence = require('./persistence-D0gNvqXe.cjs');
|
|
5
|
+
var api = require('./api-wYwQCJml.cjs');
|
|
6
6
|
|
|
7
7
|
const PRESENCE_SETTLE_MS = 6e3;
|
|
8
8
|
async function commitHibernation(deps) {
|
|
@@ -4,21 +4,21 @@ var os = require('node:os');
|
|
|
4
4
|
var promises = require('node:fs/promises');
|
|
5
5
|
var z = require('zod');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
|
-
var client = require('./client-
|
|
8
|
-
var persistence = require('./persistence-
|
|
7
|
+
var client = require('./client-BfDga3xi.cjs');
|
|
8
|
+
var persistence = require('./persistence-D0gNvqXe.cjs');
|
|
9
9
|
var install = require('./install-BOHlqewf.cjs');
|
|
10
10
|
require('node:child_process');
|
|
11
11
|
require('node:util');
|
|
12
12
|
require('node:path');
|
|
13
13
|
require('./index-BUFrKZeQ.cjs');
|
|
14
14
|
require('@paralleldrive/cuid2');
|
|
15
|
-
require('./configuration-
|
|
15
|
+
require('./configuration-2Pbg3a0H.cjs');
|
|
16
16
|
require('node:fs');
|
|
17
|
-
require('./package-
|
|
18
|
-
require('./context-
|
|
17
|
+
require('./package-C7WgesIw.cjs');
|
|
18
|
+
require('./context-CLTyu_tQ.cjs');
|
|
19
19
|
require('./authRelay-Dy1qU9td.cjs');
|
|
20
20
|
require('tweetnacl');
|
|
21
|
-
require('./logger-
|
|
21
|
+
require('./logger-CepF8C5Z.cjs');
|
|
22
22
|
require('chalk');
|
|
23
23
|
require('./resources-BZ_Be0qM.cjs');
|
|
24
24
|
|
|
@@ -2,21 +2,21 @@ import { homedir } from 'node:os';
|
|
|
2
2
|
import { readFile } from 'node:fs/promises';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
|
-
import { t as teamRequest, c as createTeamsClient } from './client-
|
|
6
|
-
import { b as readCredentialsForConfiguredRelay } from './persistence-
|
|
5
|
+
import { t as teamRequest, c as createTeamsClient } from './client-DS5JEsHs.mjs';
|
|
6
|
+
import { b as readCredentialsForConfiguredRelay } from './persistence-mr4Y484W.mjs';
|
|
7
7
|
import { a as installTeamSkill, i as installAutomationSkill } from './install-B8O1JpJH.mjs';
|
|
8
8
|
import 'node:child_process';
|
|
9
9
|
import 'node:util';
|
|
10
10
|
import 'node:path';
|
|
11
11
|
import './index-D1YnIih6.mjs';
|
|
12
12
|
import '@paralleldrive/cuid2';
|
|
13
|
-
import './configuration-
|
|
13
|
+
import './configuration-rTcdHkhE.mjs';
|
|
14
14
|
import 'node:fs';
|
|
15
|
-
import './package-
|
|
16
|
-
import './context-
|
|
15
|
+
import './package-Q_ELj5DL.mjs';
|
|
16
|
+
import './context-C7QarZMk.mjs';
|
|
17
17
|
import './authRelay-DhQhkBvX.mjs';
|
|
18
18
|
import 'tweetnacl';
|
|
19
|
-
import './logger-
|
|
19
|
+
import './logger-SGCwRIV5.mjs';
|
|
20
20
|
import 'chalk';
|
|
21
21
|
import './resources-CLP_MpK4.mjs';
|
|
22
22
|
|
|
@@ -5,7 +5,7 @@ var module$1 = require('node:module');
|
|
|
5
5
|
var oneShotPrompts = require('./oneShotPrompts-CL0dip9C.cjs');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
7
|
var path = require('node:path');
|
|
8
|
-
var logger = require('./logger-
|
|
8
|
+
var logger = require('./logger-CepF8C5Z.cjs');
|
|
9
9
|
var projectPath = require('./projectPath-C3ioB4Bu.cjs');
|
|
10
10
|
var wrapperAccount = require('./wrapperAccount-D2A4DuZy.cjs');
|
|
11
11
|
|
|
@@ -14,7 +14,7 @@ const MAX_PROMPT_SAMPLE_CHARS = 500;
|
|
|
14
14
|
const MAX_TITLE_CHARS = 60;
|
|
15
15
|
const GENERATION_TIMEOUT_MS = 3e4;
|
|
16
16
|
function loadClaudeVersionUtils() {
|
|
17
|
-
const require$1 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('titleGenerator-
|
|
17
|
+
const require$1 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('titleGenerator-9xIXHA5K.cjs', document.baseURI).href)));
|
|
18
18
|
return require$1(path.resolve(path.join(projectPath.projectPath(), "scripts", "claude_version_utils.cjs")));
|
|
19
19
|
}
|
|
20
20
|
function resolveClaudeBinary(loadUtils = loadClaudeVersionUtils) {
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { T as TITLE_PROMPT_PREFIX } from './oneShotPrompts-DT4p6RNd.mjs';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
5
|
import { resolve, join } from 'node:path';
|
|
6
|
-
import { l as logger } from './logger-
|
|
6
|
+
import { l as logger } from './logger-SGCwRIV5.mjs';
|
|
7
7
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
8
8
|
import { a as accountClaudeSettings } from './wrapperAccount-BkufO_9g.mjs';
|
|
9
9
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { c as configuration } from './configuration-
|
|
1
|
+
import { c as configuration } from './configuration-rTcdHkhE.mjs';
|
|
2
2
|
import { q as createBuiltinTodoClient, B as BUILTIN_TODO_SKILL } from './index-D1YnIih6.mjs';
|
|
3
|
-
import { b as readCredentialsForConfiguredRelay } from './persistence-
|
|
4
|
-
import { r as readTeamScope, t as teamScopePath } from './context-
|
|
3
|
+
import { b as readCredentialsForConfiguredRelay } from './persistence-mr4Y484W.mjs';
|
|
4
|
+
import { r as readTeamScope, t as teamScopePath } from './context-C7QarZMk.mjs';
|
|
5
5
|
import 'node:fs';
|
|
6
6
|
import 'node:os';
|
|
7
7
|
import 'node:path';
|
|
8
|
-
import './package-
|
|
8
|
+
import './package-Q_ELj5DL.mjs';
|
|
9
9
|
import 'node:fs/promises';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import '@paralleldrive/cuid2';
|
|
12
12
|
import './authRelay-DhQhkBvX.mjs';
|
|
13
13
|
import 'node:crypto';
|
|
14
14
|
import 'tweetnacl';
|
|
15
|
-
import './logger-
|
|
15
|
+
import './logger-SGCwRIV5.mjs';
|
|
16
16
|
import 'chalk';
|
|
17
17
|
import 'node:util';
|
|
18
18
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var configuration = require('./configuration-
|
|
3
|
+
var configuration = require('./configuration-2Pbg3a0H.cjs');
|
|
4
4
|
var index = require('./index-BUFrKZeQ.cjs');
|
|
5
|
-
var persistence = require('./persistence-
|
|
6
|
-
var context = require('./context-
|
|
5
|
+
var persistence = require('./persistence-D0gNvqXe.cjs');
|
|
6
|
+
var context = require('./context-CLTyu_tQ.cjs');
|
|
7
7
|
require('node:fs');
|
|
8
8
|
require('node:os');
|
|
9
9
|
require('node:path');
|
|
10
|
-
require('./package-
|
|
10
|
+
require('./package-C7WgesIw.cjs');
|
|
11
11
|
require('node:fs/promises');
|
|
12
12
|
require('zod');
|
|
13
13
|
require('@paralleldrive/cuid2');
|
|
14
14
|
require('./authRelay-Dy1qU9td.cjs');
|
|
15
15
|
require('node:crypto');
|
|
16
16
|
require('tweetnacl');
|
|
17
|
-
require('./logger-
|
|
17
|
+
require('./logger-CepF8C5Z.cjs');
|
|
18
18
|
require('chalk');
|
|
19
19
|
require('node:util');
|
|
20
20
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { c as createTeamsClient } from './client-
|
|
2
|
+
import { c as createTeamsClient } from './client-DS5JEsHs.mjs';
|
|
3
3
|
|
|
4
4
|
const CLOSED_GOAL_CHARS = 200;
|
|
5
5
|
const closed = (task) => task.status === "done" || task.status === "cancelled";
|