very-happy-cli 0.2.183 → 0.2.185
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-B-aMuEzO.cjs → AcpBackend-CCqL9mP1.cjs} +3 -3
- package/dist/{AcpBackend-9c-Jeaxd.mjs → AcpBackend-DkoqWhTa.mjs} +3 -3
- package/dist/{AcpSessionManager-CS0FOSQk.mjs → AcpSessionManager-BNPex8tJ.mjs} +2 -2
- package/dist/{AcpSessionManager-BxXe24AV.cjs → AcpSessionManager-DrtAJQUH.cjs} +2 -2
- package/dist/{BasePermissionHandler-BREjppjP.cjs → BasePermissionHandler-DJZITwmL.cjs} +1 -1
- package/dist/{BasePermissionHandler-BJ1ID_Br.mjs → BasePermissionHandler-Dd4oGPDg.mjs} +1 -1
- package/dist/{acpSessionResume-BKtI9Jq_.mjs → acpSessionResume-_2NtETqb.mjs} +1 -1
- package/dist/{acpSessionResume-mVoJ75vI.cjs → acpSessionResume-umHzSMbQ.cjs} +1 -1
- package/dist/{agentHome-rzjm56o4.cjs → agentHome-CmIMqMWy.cjs} +4 -4
- package/dist/{agentHome-B8Ctr_Nu.mjs → agentHome-Dv_hRIt7.mjs} +4 -4
- package/dist/{api-xZiqVynF.cjs → api-BSz8MYte.cjs} +67 -17
- package/dist/{api-C29WLYkW.mjs → api-BTS8mqLy.mjs} +67 -17
- package/dist/{apiMachine-Dz6Yfk0m.mjs → apiMachine-BcjccOmd.mjs} +14 -14
- package/dist/{apiMachine-B-FNBIYG.cjs → apiMachine-utCDabnO.cjs} +14 -14
- package/dist/{attachmentContent-DwY0uIg6.mjs → attachmentContent-DpOzgDTw.mjs} +2 -2
- package/dist/{attachmentContent-COV4LF8k.cjs → attachmentContent-hkdGP2NV.cjs} +2 -2
- package/dist/{auth-CYtk9_ga.cjs → auth-B8nCUEiK.cjs} +5 -5
- package/dist/{auth-xT70IYMx.mjs → auth-BKD2U9S2.mjs} +5 -5
- package/dist/{auth-DvbSDalm.mjs → auth-CpbTj74y.mjs} +8 -8
- package/dist/{auth-D_qsnVr3.cjs → auth-DzXdF08E.cjs} +8 -8
- package/dist/{auto-IiPqvIsN.mjs → auto-C-NK2JS8.mjs} +17 -17
- package/dist/{auto-DT_PfpCx.cjs → auto-E3ouHO37.cjs} +17 -17
- package/dist/{bootstrap-C50NkfPx.cjs → bootstrap-DIMkxIbR.cjs} +2 -2
- package/dist/{bootstrap-DS8Acdhm.mjs → bootstrap-DV4dqeCe.mjs} +2 -2
- package/dist/{browser-1j9gdZoD.mjs → browser-C0xt1NE-.mjs} +1 -1
- package/dist/{browser-CxKZLd2T.cjs → browser-Ch50ZchJ.cjs} +1 -1
- package/dist/{claudeLocal-CgNWpepB.cjs → claudeLocal-Curd8-dn.cjs} +5 -5
- package/dist/{claudeLocal-U1Fa9sJo.mjs → claudeLocal-D-U3fIdS.mjs} +5 -5
- package/dist/{claudeLocalLauncher-IyFm0D6a.cjs → claudeLocalLauncher-BEJ9Wad_.cjs} +10 -10
- package/dist/{claudeLocalLauncher-BjCsfZUE.mjs → claudeLocalLauncher-BTNUVzRK.mjs} +10 -10
- package/dist/{claudeSessionFork-BUO1XdSm.cjs → claudeSessionFork-DMdeScGk.cjs} +1 -1
- package/dist/{claudeSessionFork-6-1vKISn.mjs → claudeSessionFork-JPEHVbfR.mjs} +1 -1
- package/dist/{client-DcKJ0ul_.cjs → client-C54hMWx6.cjs} +2 -2
- package/dist/{client-BgHvK7lo.mjs → client-Ct1rnpJw.mjs} +2 -2
- package/dist/{client-DfDyE322.mjs → client-D1rJt15-.mjs} +18 -5
- package/dist/{client-5_zDNdOh.mjs → client-D2lOnvzs.mjs} +2 -2
- package/dist/{client--vZueZYF.cjs → client-dpo5EbS9.cjs} +18 -5
- package/dist/{client-DYGDBD0M.cjs → client-qgKef7S6.cjs} +2 -2
- package/dist/codex/happyMcpStdioBridge.cjs +16 -16
- package/dist/codex/happyMcpStdioBridge.mjs +16 -16
- package/dist/{codexAppServerClient-DvBg4hGc.mjs → codexAppServerClient-CM3O0zHW.mjs} +3 -3
- package/dist/{codexAppServerClient-C3nrTfwY.cjs → codexAppServerClient-DGeqZViU.cjs} +3 -3
- package/dist/{codexCommand-Bqp2--g_.mjs → codexCommand-CkdopWS7.mjs} +42 -42
- package/dist/{codexCommand-DSiU6MNt.cjs → codexCommand-D_8fbJEk.cjs} +42 -42
- package/dist/{codexTermination-DsliWl_s.mjs → codexTermination-FO52Ahcx.mjs} +1 -1
- package/dist/{codexTermination-D9TRTglF.cjs → codexTermination-MG2j2DDX.cjs} +1 -1
- package/dist/{config-DeaqRn3o.mjs → config-CppOKnWe.mjs} +3 -3
- package/dist/{config-CRhWiOwi.cjs → config-IDbpY1Am.cjs} +3 -3
- package/dist/{configuration-K3I6yOjZ.cjs → configuration-CwfmwaLU.cjs} +1 -1
- package/dist/{configuration-elzht62L.mjs → configuration-HPdj5Til.mjs} +1 -1
- package/dist/{connect-CT5cOlnC.mjs → connect-1YK7vPbW.mjs} +13 -13
- package/dist/{connect-B5UbfmO3.cjs → connect-BNlBIAM8.cjs} +13 -13
- package/dist/{context-DNKNF8Yh.cjs → context-D3vDWjiI.cjs} +1 -1
- package/dist/{context-CLj1_RYF.mjs → context-DetK5c-x.mjs} +1 -1
- package/dist/{controlClient-CuYQs2aZ.mjs → controlClient-DBylxaEh.mjs} +14 -4
- package/dist/{controlClient-ChqmxgbB.cjs → controlClient-DTMI1aTp.cjs} +14 -3
- package/dist/{createSessionMetadata-QfiRx4Tf.cjs → createSessionMetadata-D2Ll7PlQ.cjs} +2 -2
- package/dist/{createSessionMetadata-C1MbLQnh.mjs → createSessionMetadata-D8pfpX4V.mjs} +2 -2
- package/dist/{defaultPermissionMode-U9LuUeQh.mjs → defaultPermissionMode-Bkhj_DwT.mjs} +2 -2
- package/dist/{defaultPermissionMode-DQmdZZIg.cjs → defaultPermissionMode-DVXkcryy.cjs} +2 -2
- package/dist/{deterministicJson-BBRUcB8i.cjs → deterministicJson-DUCYjhHe.cjs} +13 -13
- package/dist/{deterministicJson-BixlyPWV.mjs → deterministicJson-cEWItQun.mjs} +13 -13
- package/dist/{doctor-Dban2oE2.mjs → doctor-DpWtxNeT.mjs} +7 -7
- package/dist/{doctor-CKgHUV4W.cjs → doctor-tLRILlmz.cjs} +7 -7
- package/dist/{downloadTarget-VUTd9lEO.mjs → downloadTarget-B5b5BHb2.mjs} +6 -6
- package/dist/{downloadTarget-CmC11Y7E.cjs → downloadTarget-Ci5wcYC2.cjs} +6 -6
- package/dist/{ensureDaemonRunning-L0fl0cLE.cjs → ensureDaemonRunning-Dsv8UPwx.cjs} +5 -5
- package/dist/{ensureDaemonRunning-khb8Nr1n.mjs → ensureDaemonRunning-GDGwNDGF.mjs} +5 -5
- package/dist/{handleResumeCommand-D9myBN2N.cjs → handleResumeCommand-CncudrQd.cjs} +5 -5
- package/dist/{handleResumeCommand-CLDGWpTJ.mjs → handleResumeCommand-DW7Ml1u5.mjs} +5 -5
- package/dist/{index-DgA79dVw.cjs → index-BEHzEYP0.cjs} +39 -39
- package/dist/{index-BdJs0465.cjs → index-Bh806Q-1.cjs} +3 -3
- package/dist/{index-IRI8s8kz.mjs → index-C1qLnBOk.mjs} +40 -40
- package/dist/{index-CtwqBeH6.mjs → index-DRWlaLbe.mjs} +3 -3
- package/dist/{index-BptfFoXM.mjs → index-DisBaRvM.mjs} +10 -1
- package/dist/{index-y4JNyz9H.cjs → index-Dzb_Bsfu.cjs} +4 -4
- package/dist/{index-Fq-jxjsB.cjs → index-Ub-5xbcU.cjs} +10 -1
- package/dist/{index-COSjJPIv.cjs → index-Vx4EQ6wI.cjs} +4 -4
- package/dist/{index-GkkbUZX-.mjs → index-Wf6mKJq9.mjs} +4 -4
- package/dist/{index-BMZx-699.mjs → index-bT1X9Brv.mjs} +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-cn98bTCs.cjs → install-CRs4tGBa.cjs} +3 -3
- package/dist/{install-JvCk2PJV.mjs → install-DmF9wfwV.mjs} +3 -3
- package/dist/lib.cjs +12 -12
- package/dist/lib.d.cts +11 -0
- package/dist/lib.d.mts +11 -0
- package/dist/lib.mjs +12 -12
- package/dist/{lidState-DXeYTsrm.mjs → lidState-CG9jFcML.mjs} +1 -1
- package/dist/{lidState-Bcs5kRHi.cjs → lidState-wwiu6M3p.cjs} +1 -1
- package/dist/{localHappyAgentAuth-C1A4ChCR.mjs → localHappyAgentAuth-CWha8BiX.mjs} +1 -1
- package/dist/{localHappyAgentAuth-CypTSe42.cjs → localHappyAgentAuth-UoytSUX0.cjs} +1 -1
- package/dist/{logger-RMPh5aqe.mjs → logger-BjXkscIr.mjs} +2 -2
- package/dist/{logger-Cgwz30rK.cjs → logger-CIUMiSLo.cjs} +2 -2
- package/dist/{machineMetadata-BSOGMNRi.cjs → machineMetadata-BPlyxzxb.cjs} +3 -3
- package/dist/{machineMetadata-BTUtPRth.mjs → machineMetadata-Ca4Dpy6s.mjs} +3 -3
- package/dist/{main-DNDL6t8z.mjs → main-CS1U9i4s.mjs} +53 -45
- package/dist/{main-4iiwYpCR.cjs → main-FD8mmcsK.cjs} +53 -45
- package/dist/{mcp-DXYDPOpJ.mjs → mcp-BS6rdR8p.mjs} +15 -15
- package/dist/{mcp-C7eEoGhz.cjs → mcp-C7Rm1dTM.cjs} +15 -15
- package/dist/{mirrorProtocol-DQRy5PaT.mjs → mirrorProtocol-C3Anki4S.mjs} +3 -3
- package/dist/{mirrorProtocol-c5g5MgNc.cjs → mirrorProtocol-CMJ2HOZF.cjs} +3 -3
- package/dist/{package-3aPiSpZj.cjs → package-CRDjc5vK.cjs} +7 -7
- package/dist/{package-CTrz6U3C.mjs → package-Do0Y9bGA.mjs} +7 -7
- package/dist/{panels-B5sZ84vA.mjs → panels-C-jss7nF.mjs} +5 -5
- package/dist/{panels-BmsmKHbw.cjs → panels-DwTHrZuo.cjs} +5 -5
- package/dist/{peerTools-DIPOX033.mjs → peerTools-CL7zBxlC.mjs} +5 -5
- package/dist/{peerTools-Dxe7iCi_.cjs → peerTools-SLRntgX6.cjs} +5 -5
- package/dist/{persistence-DZRMUZZS.cjs → persistence-CNWBdUH2.cjs} +2 -2
- package/dist/{persistence-zJo4r7YI.mjs → persistence-CmVwM5uq.mjs} +2 -2
- package/dist/{piRunnerArgs-BSPiS6tZ.cjs → piRunnerArgs-CXJx3PPx.cjs} +1 -1
- package/dist/{piRunnerArgs-IVdoHUB6.mjs → piRunnerArgs-K0K9Y0Yq.mjs} +1 -1
- package/dist/{piRuntime-BvHO3vgO.mjs → piRuntime-BSoHy-QJ.mjs} +1 -1
- package/dist/{piRuntime-BJzjlMcN.cjs → piRuntime-Bv41vG05.cjs} +1 -1
- package/dist/{piTerminal-D7vBOpkE.mjs → piTerminal-B8acGxsm.mjs} +17 -17
- package/dist/{piTerminal-Cz4pW55d.cjs → piTerminal-DSs-fnps.cjs} +17 -17
- package/dist/providerBinding-B-Qbx9W2.cjs +140 -0
- package/dist/providerBinding-CYubGg-Z.mjs +132 -0
- package/dist/{pushNotifications-CgIrYml3.cjs → pushNotifications-C651e0ZZ.cjs} +3 -3
- package/dist/{pushNotifications-C4R9-1hU.mjs → pushNotifications-DnpJJ7VR.mjs} +3 -3
- package/dist/{query-CZQG1PdU.cjs → query-DXFx2VZY.cjs} +1 -1
- package/dist/{query-DKPmDsHS.mjs → query-rxLftxvh.mjs} +1 -1
- package/dist/{rateLimitWindows-CPV0nLeq.cjs → rateLimitWindows-1WoBs8ln.cjs} +1 -1
- package/dist/{rateLimitWindows-HlHATOQ0.mjs → rateLimitWindows-D9mQRGHv.mjs} +1 -1
- package/dist/{registerCommonHandlers-a9lHojSV.mjs → registerCommonHandlers-DpBxSCBi.mjs} +2 -2
- package/dist/{registerCommonHandlers-D1pC83Op.cjs → registerCommonHandlers-K-BTp2iR.cjs} +2 -2
- package/dist/{registerKillSessionHandler-Bp-fuH-w.mjs → registerKillSessionHandler-BDxd20fg.mjs} +6 -6
- package/dist/{registerKillSessionHandler-nTi2vVJy.cjs → registerKillSessionHandler-DwPEAS2G.cjs} +6 -6
- package/dist/{remoteSessionClient-Cwrddscy.mjs → remoteSessionClient-DHWfDMHA.mjs} +5 -5
- package/dist/{remoteSessionClient-HQAKAvVd.cjs → remoteSessionClient-DnFblfFz.cjs} +5 -5
- package/dist/{reportProgressTool-Be-8ADI4.cjs → reportProgressTool-CYgnezAO.cjs} +3 -3
- package/dist/{reportProgressTool-CcZ32nrd.mjs → reportProgressTool-DJXfK6rp.mjs} +3 -3
- package/dist/{run-CxRJk9qq.cjs → run-BChqUxs6.cjs} +77 -40
- package/dist/{run-BBU8GyxE.mjs → run-BkixRBWm.mjs} +77 -40
- package/dist/{runClaude-Dd5zJaUZ.cjs → runClaude-Bdw9vTgv.cjs} +39 -24
- package/dist/{runClaude-DR6pEQwd.mjs → runClaude-FWTCLnVq.mjs} +39 -24
- package/dist/{runClaudeDeps-COgZaUZm.mjs → runClaudeDeps-C6mCzhtO.mjs} +47 -43
- package/dist/{runClaudeDeps-CTtZ_1mC.cjs → runClaudeDeps-CN_moqup.cjs} +42 -38
- package/dist/{runGemini-DVoVUfPp.mjs → runGemini-CI7ut_ng.mjs} +33 -33
- package/dist/{runGemini-DX72qB92.cjs → runGemini-CzPwEltY.cjs} +33 -33
- package/dist/{runOpenClaw-BHjzmzeC.mjs → runOpenClaw-8V2K_-lg.mjs} +18 -18
- package/dist/{runOpenClaw-BSg4hFVt.cjs → runOpenClaw-CLw64Nmq.cjs} +18 -18
- package/dist/{sandbox-CWR9EqoN.mjs → sandbox-BMkBdvHW.mjs} +4 -4
- package/dist/{sandbox-D1T_hmgZ.cjs → sandbox-DD2oQTt3.cjs} +4 -4
- package/dist/{selfCheck-CE7vlnNS.cjs → selfCheck-0jELpLE9.cjs} +37 -36
- package/dist/selfCheck-DgWZfw5E.mjs +86 -0
- package/dist/{send-BDF0Zvxo.mjs → send-BNjwFaVp.mjs} +8 -8
- package/dist/{send-BxZqRCcG.cjs → send-BoLglO1t.cjs} +8 -8
- package/dist/{server-B4JtnDLF.mjs → server-C5wOp8jw.mjs} +4 -4
- package/dist/{server-DB7_70Mi.cjs → server-Uw82k7zD.cjs} +6 -6
- package/dist/{sessionLock-BXvFN6uw.cjs → sessionLock-BTo7Cdbi.cjs} +3 -3
- package/dist/{sessionLock-CXOOX-VD.mjs → sessionLock-YMRCi-Ec.mjs} +3 -3
- package/dist/{sessionOps-BWlDlFYP.cjs → sessionOps-BDHEzyAY.cjs} +4 -4
- package/dist/{sessionOps-ByVggB_q.mjs → sessionOps-BO6AesNJ.mjs} +4 -4
- package/dist/sessionProvider-CB9lGJdF.mjs +109 -0
- package/dist/sessionProvider-DLdJJV6A.cjs +114 -0
- package/dist/{sessionScanner-DkxPB5VA.cjs → sessionScanner-3TevonZd.cjs} +3 -3
- package/dist/{sessionScanner-r66RtF95.mjs → sessionScanner-BkukogZy.mjs} +3 -3
- package/dist/{sessions-BiJTxFy9.cjs → sessions-BkBcZSj7.cjs} +10 -10
- package/dist/{sessions-C1lLK_a9.mjs → sessions-Bx-6fXTL.mjs} +10 -10
- package/dist/{setupOfflineReconnection-CecTiFZ-.cjs → setupOfflineReconnection-DMfoVL-0.cjs} +2 -2
- package/dist/{setupOfflineReconnection-Bl3DuakT.mjs → setupOfflineReconnection-DYzysFFJ.mjs} +2 -2
- package/dist/{spawn-D-8MlEM6.mjs → spawn-CHC32rLr.mjs} +14 -14
- package/dist/{spawn-D79mVa3h.cjs → spawn-DvyBhowH.cjs} +14 -14
- package/dist/{spawnAgents-Sfnf-4pN.cjs → spawnAgents-D15n6tAj.cjs} +1 -1
- package/dist/{spawnAgents-DJHjq01u.mjs → spawnAgents-jXo9jIYo.mjs} +1 -1
- package/dist/{spawnHappyCLI-CQwQs9G5.cjs → spawnHappyCLI-WYJCvAWD.cjs} +1 -1
- package/dist/{spawnHappyCLI-v_bJwZ4Z.mjs → spawnHappyCLI-e9MaJWB0.mjs} +1 -1
- package/dist/{specialCommands-yMnFvS-W.mjs → specialCommands-D00VrQ09.mjs} +3 -3
- package/dist/{specialCommands-CWMVfT5s.cjs → specialCommands-DqrQnKHC.cjs} +3 -3
- package/dist/{startFileWatcher-BCDkT_tr.mjs → startFileWatcher-CvUUesns.mjs} +1 -1
- package/dist/{startFileWatcher-GW4_E7dV.cjs → startFileWatcher-VFZ-Bpwa.cjs} +1 -1
- package/dist/{startupSessionCreate-tBRa_ze8.cjs → startupSessionCreate-B25xTUJ4.cjs} +1 -1
- package/dist/{startupSessionCreate-BcAGYo51.mjs → startupSessionCreate-B6HNLg0g.mjs} +1 -1
- package/dist/{streamRelay-BZ8drtof.cjs → streamRelay-CtTpf-Li.cjs} +1 -1
- package/dist/{streamRelay-BEDiy6_b.mjs → streamRelay-GzHxvMem.mjs} +1 -1
- package/dist/{sync-BMDkyo75.cjs → sync-DliZ1zZh.cjs} +1 -1
- package/dist/{sync--QUIOuf8.mjs → sync-HPnxI4fz.mjs} +1 -1
- package/dist/{systemPrompt-DoHSXrH0.cjs → systemPrompt-CYvRvanR.cjs} +2 -2
- package/dist/{systemPrompt-O0Kd6vbA.mjs → systemPrompt-D9JJpzl_.mjs} +2 -2
- package/dist/{teams-CTF1gT48.mjs → teams-C0PJlIMz.mjs} +7 -7
- package/dist/{teams-BkZop-sP.cjs → teams-D7Ad6YSf.cjs} +7 -7
- package/dist/{template-CeC1dYe-.cjs → template-BLJxflCH.cjs} +1 -1
- package/dist/{template-D1fm22em.mjs → template-YlpbYGeQ.mjs} +1 -1
- package/dist/{time-CdCotzKU.cjs → time-BCGGrWp4.cjs} +1 -1
- package/dist/{time-B2KKdAym.mjs → time-BbJ-NWcl.mjs} +1 -1
- package/dist/{titleGenerator-BFDczskR.mjs → titleGenerator-03Y2uoZW.mjs} +1 -1
- package/dist/{titleGenerator-DZH1XqAf.cjs → titleGenerator-IrI84kqh.cjs} +2 -2
- package/dist/{todo-C2gyOUom.mjs → todo-DOh8KaxD.mjs} +6 -6
- package/dist/{todo-DnTFTHmV.cjs → todo-DdV9_uEu.cjs} +6 -6
- package/dist/{tools-C8rpwyIl.cjs → tools-DeoxWyQ0.cjs} +1 -1
- package/dist/{tools-DUjkqSQL.mjs → tools-WXF7ApAe.mjs} +1 -1
- package/dist/{uninstall-B5Ew50mZ.mjs → uninstall-BVYlC0jw.mjs} +3 -3
- package/dist/{uninstall-CKMPWTMv.cjs → uninstall-oGvAKOlN.cjs} +3 -3
- package/package.json +7 -7
- package/dist/selfCheck-ZGgBtxFQ.mjs +0 -85
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as hibernationReplaySeq } from './persistence-
|
|
1
|
+
import { n as hibernationReplaySeq } from './persistence-CmVwM5uq.mjs';
|
|
2
2
|
import { existsSync, readFileSync, unlinkSync, mkdirSync, renameSync } from 'node:fs';
|
|
3
3
|
import { join } from 'node:path';
|
|
4
|
-
import { c as configuration, w as writePrivateFileSync } from './configuration-
|
|
5
|
-
import { l as logger } from './logger-
|
|
4
|
+
import { c as configuration, w as writePrivateFileSync } from './configuration-HPdj5Til.mjs';
|
|
5
|
+
import { l as logger } from './logger-BjXkscIr.mjs';
|
|
6
6
|
import { s as snapshotTree, k as killSurvivors } from './processTreeSnapshot-CuLJDNC-.mjs';
|
|
7
7
|
|
|
8
8
|
const PROCESS_IDENTITY_FIELDS = [
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var axios = require('axios');
|
|
4
|
-
var configuration = require('./configuration-
|
|
4
|
+
var configuration = require('./configuration-CwfmwaLU.cjs');
|
|
5
5
|
var authRelay = require('./authRelay-Dy1qU9td.cjs');
|
|
6
|
-
var controlClient = require('./controlClient-
|
|
7
|
-
var persistence = require('./persistence-
|
|
6
|
+
var controlClient = require('./controlClient-DTMI1aTp.cjs');
|
|
7
|
+
var persistence = require('./persistence-CNWBdUH2.cjs');
|
|
8
8
|
var node_crypto = require('node:crypto');
|
|
9
|
-
var time = require('./time-
|
|
9
|
+
var time = require('./time-BCGGrWp4.cjs');
|
|
10
10
|
var socket_ioClient = require('socket.io-client');
|
|
11
11
|
var backgroundTaskActivity = require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
12
12
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
|
-
import { c as configuration } from './configuration-
|
|
2
|
+
import { c as configuration } from './configuration-HPdj5Til.mjs';
|
|
3
3
|
import { e as encodeBase64, g as encrypt, d as decodeBase64, h as decrypt } from './authRelay-DhQhkBvX.mjs';
|
|
4
|
-
import { l as listDaemonSessions, f as stopDaemonSession } from './controlClient-
|
|
5
|
-
import { b as readCredentialsForConfiguredRelay, c as readPersistedSessions } from './persistence-
|
|
4
|
+
import { l as listDaemonSessions, f as stopDaemonSession } from './controlClient-DBylxaEh.mjs';
|
|
5
|
+
import { b as readCredentialsForConfiguredRelay, c as readPersistedSessions } from './persistence-CmVwM5uq.mjs';
|
|
6
6
|
import { randomUUID } from 'node:crypto';
|
|
7
|
-
import { d as delay } from './time-
|
|
7
|
+
import { d as delay } from './time-BbJ-NWcl.mjs';
|
|
8
8
|
import { io } from 'socket.io-client';
|
|
9
9
|
import { b as backgroundTasksReport } from './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
10
10
|
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import chalk from 'chalk';
|
|
2
|
+
import { c as configuration } from './configuration-HPdj5Til.mjs';
|
|
3
|
+
import { r as restartDaemonSession } from './controlClient-DBylxaEh.mjs';
|
|
4
|
+
import { r as readSessionProviders, b as readProviders, w as writeSessionProviders, u as updateBindings, s as sessionProvidersPath } from './providerBinding-CYubGg-Z.mjs';
|
|
5
|
+
import 'node:fs';
|
|
6
|
+
import 'node:os';
|
|
7
|
+
import 'node:path';
|
|
8
|
+
import './package-Do0Y9bGA.mjs';
|
|
9
|
+
import 'node:fs/promises';
|
|
10
|
+
import './logger-BjXkscIr.mjs';
|
|
11
|
+
import 'node:util';
|
|
12
|
+
import './persistence-CmVwM5uq.mjs';
|
|
13
|
+
import 'zod';
|
|
14
|
+
import './authRelay-DhQhkBvX.mjs';
|
|
15
|
+
import 'node:crypto';
|
|
16
|
+
import 'tweetnacl';
|
|
17
|
+
|
|
18
|
+
const SESSION_PROVIDER_HELP = `Usage:
|
|
19
|
+
very-happy session provider --list
|
|
20
|
+
very-happy session provider <sessionId> <profile> [--model <model>] [--no-restart]
|
|
21
|
+
very-happy session provider <sessionId> default [--no-restart]
|
|
22
|
+
|
|
23
|
+
Binds a Claude (SDK/remote) session on THIS machine to a provider profile from
|
|
24
|
+
$HAPPY_HOME_DIR/providers.json, then restarts the session in place (history
|
|
25
|
+
kept). "default" removes the binding. --model defaults to the profile's first model.`;
|
|
26
|
+
function parseSessionProviderArgs(args) {
|
|
27
|
+
const positional = [];
|
|
28
|
+
let model;
|
|
29
|
+
let restart = true;
|
|
30
|
+
let list = false;
|
|
31
|
+
for (let i = 0; i < args.length; i++) {
|
|
32
|
+
const arg = args[i];
|
|
33
|
+
if (arg === "-h" || arg === "--help") return { action: "help" };
|
|
34
|
+
if (arg === "--list") list = true;
|
|
35
|
+
else if (arg === "--no-restart") restart = false;
|
|
36
|
+
else if (arg === "--model") {
|
|
37
|
+
model = args[++i];
|
|
38
|
+
if (!model) throw new Error("--model needs a value");
|
|
39
|
+
} else if (arg.startsWith("--model=")) model = arg.slice("--model=".length);
|
|
40
|
+
else if (arg.startsWith("-")) throw new Error(`unknown option ${arg}`);
|
|
41
|
+
else positional.push(arg);
|
|
42
|
+
}
|
|
43
|
+
if (list) {
|
|
44
|
+
if (positional.length > 0) throw new Error("--list takes no session id");
|
|
45
|
+
return { action: "list" };
|
|
46
|
+
}
|
|
47
|
+
if (positional.length === 0) return { action: "help" };
|
|
48
|
+
if (positional.length !== 2) throw new Error("expected <sessionId> <profile|default>");
|
|
49
|
+
const [sessionId, profile] = positional;
|
|
50
|
+
if (profile === "default") {
|
|
51
|
+
if (model) throw new Error("--model cannot be used with default");
|
|
52
|
+
return { action: "clear", sessionId, restart };
|
|
53
|
+
}
|
|
54
|
+
return { action: "set", sessionId, profile, model, restart };
|
|
55
|
+
}
|
|
56
|
+
function resolveBindingRequest(providers, profile, model) {
|
|
57
|
+
const p = providers.profiles[profile];
|
|
58
|
+
if (!p) {
|
|
59
|
+
const known = Object.keys(providers.profiles);
|
|
60
|
+
throw new Error(`unknown provider profile "${profile}"${known.length ? ` (known: ${known.join(", ")})` : " (providers.json has no profiles)"}`);
|
|
61
|
+
}
|
|
62
|
+
const chosen = model ?? p.models?.[0];
|
|
63
|
+
if (!chosen) throw new Error(`profile "${profile}" lists no models; pass --model`);
|
|
64
|
+
if (p.models && p.models.length > 0 && !p.models.includes(chosen)) {
|
|
65
|
+
throw new Error(`model "${chosen}" is not in profile "${profile}" models (${p.models.join(", ")})`);
|
|
66
|
+
}
|
|
67
|
+
return { profile, model: chosen };
|
|
68
|
+
}
|
|
69
|
+
async function handleSessionProviderCommand(args) {
|
|
70
|
+
const parsed = parseSessionProviderArgs(args);
|
|
71
|
+
const home = configuration.happyHomeDir;
|
|
72
|
+
if (parsed.action === "help") {
|
|
73
|
+
console.log(SESSION_PROVIDER_HELP);
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
const bindings = readSessionProviders(home);
|
|
77
|
+
if (parsed.action === "list") {
|
|
78
|
+
const entries = Object.entries(bindings);
|
|
79
|
+
if (entries.length === 0) console.log("No session provider bindings.");
|
|
80
|
+
for (const [sessionId, b] of entries) console.log(`${sessionId} ${b.profile} ${b.model}`);
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
if (parsed.action === "set") {
|
|
84
|
+
const binding = resolveBindingRequest(readProviders(home), parsed.profile, parsed.model);
|
|
85
|
+
writeSessionProviders(home, updateBindings(bindings, parsed.sessionId, binding));
|
|
86
|
+
console.log(`Bound ${parsed.sessionId} \u2192 ${binding.profile} / ${binding.model} (${sessionProvidersPath(home)})`);
|
|
87
|
+
} else {
|
|
88
|
+
if (!bindings[parsed.sessionId]) {
|
|
89
|
+
console.log(`${parsed.sessionId} has no binding; nothing to change.`);
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
writeSessionProviders(home, updateBindings(bindings, parsed.sessionId, null));
|
|
93
|
+
console.log(`Cleared binding for ${parsed.sessionId} (default provider).`);
|
|
94
|
+
}
|
|
95
|
+
if (!parsed.restart) {
|
|
96
|
+
console.log(chalk.dim("Not restarted; the binding applies when the session next starts."));
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
const result = await restartDaemonSession(parsed.sessionId);
|
|
100
|
+
if (result.success) {
|
|
101
|
+
console.log(`Restarted ${parsed.sessionId} in place.`);
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
console.error(chalk.yellow(`Binding saved, but restart failed: ${result.error}`));
|
|
105
|
+
console.error(chalk.dim("It applies the next time this session is resumed on this machine."));
|
|
106
|
+
process.exitCode = 1;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export { SESSION_PROVIDER_HELP, handleSessionProviderCommand, parseSessionProviderArgs, resolveBindingRequest };
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chalk = require('chalk');
|
|
4
|
+
var configuration = require('./configuration-CwfmwaLU.cjs');
|
|
5
|
+
var controlClient = require('./controlClient-DTMI1aTp.cjs');
|
|
6
|
+
var providerBinding = require('./providerBinding-B-Qbx9W2.cjs');
|
|
7
|
+
require('node:fs');
|
|
8
|
+
require('node:os');
|
|
9
|
+
require('node:path');
|
|
10
|
+
require('./package-CRDjc5vK.cjs');
|
|
11
|
+
require('node:fs/promises');
|
|
12
|
+
require('./logger-CIUMiSLo.cjs');
|
|
13
|
+
require('node:util');
|
|
14
|
+
require('./persistence-CNWBdUH2.cjs');
|
|
15
|
+
require('zod');
|
|
16
|
+
require('./authRelay-Dy1qU9td.cjs');
|
|
17
|
+
require('node:crypto');
|
|
18
|
+
require('tweetnacl');
|
|
19
|
+
|
|
20
|
+
const SESSION_PROVIDER_HELP = `Usage:
|
|
21
|
+
very-happy session provider --list
|
|
22
|
+
very-happy session provider <sessionId> <profile> [--model <model>] [--no-restart]
|
|
23
|
+
very-happy session provider <sessionId> default [--no-restart]
|
|
24
|
+
|
|
25
|
+
Binds a Claude (SDK/remote) session on THIS machine to a provider profile from
|
|
26
|
+
$HAPPY_HOME_DIR/providers.json, then restarts the session in place (history
|
|
27
|
+
kept). "default" removes the binding. --model defaults to the profile's first model.`;
|
|
28
|
+
function parseSessionProviderArgs(args) {
|
|
29
|
+
const positional = [];
|
|
30
|
+
let model;
|
|
31
|
+
let restart = true;
|
|
32
|
+
let list = false;
|
|
33
|
+
for (let i = 0; i < args.length; i++) {
|
|
34
|
+
const arg = args[i];
|
|
35
|
+
if (arg === "-h" || arg === "--help") return { action: "help" };
|
|
36
|
+
if (arg === "--list") list = true;
|
|
37
|
+
else if (arg === "--no-restart") restart = false;
|
|
38
|
+
else if (arg === "--model") {
|
|
39
|
+
model = args[++i];
|
|
40
|
+
if (!model) throw new Error("--model needs a value");
|
|
41
|
+
} else if (arg.startsWith("--model=")) model = arg.slice("--model=".length);
|
|
42
|
+
else if (arg.startsWith("-")) throw new Error(`unknown option ${arg}`);
|
|
43
|
+
else positional.push(arg);
|
|
44
|
+
}
|
|
45
|
+
if (list) {
|
|
46
|
+
if (positional.length > 0) throw new Error("--list takes no session id");
|
|
47
|
+
return { action: "list" };
|
|
48
|
+
}
|
|
49
|
+
if (positional.length === 0) return { action: "help" };
|
|
50
|
+
if (positional.length !== 2) throw new Error("expected <sessionId> <profile|default>");
|
|
51
|
+
const [sessionId, profile] = positional;
|
|
52
|
+
if (profile === "default") {
|
|
53
|
+
if (model) throw new Error("--model cannot be used with default");
|
|
54
|
+
return { action: "clear", sessionId, restart };
|
|
55
|
+
}
|
|
56
|
+
return { action: "set", sessionId, profile, model, restart };
|
|
57
|
+
}
|
|
58
|
+
function resolveBindingRequest(providers, profile, model) {
|
|
59
|
+
const p = providers.profiles[profile];
|
|
60
|
+
if (!p) {
|
|
61
|
+
const known = Object.keys(providers.profiles);
|
|
62
|
+
throw new Error(`unknown provider profile "${profile}"${known.length ? ` (known: ${known.join(", ")})` : " (providers.json has no profiles)"}`);
|
|
63
|
+
}
|
|
64
|
+
const chosen = model ?? p.models?.[0];
|
|
65
|
+
if (!chosen) throw new Error(`profile "${profile}" lists no models; pass --model`);
|
|
66
|
+
if (p.models && p.models.length > 0 && !p.models.includes(chosen)) {
|
|
67
|
+
throw new Error(`model "${chosen}" is not in profile "${profile}" models (${p.models.join(", ")})`);
|
|
68
|
+
}
|
|
69
|
+
return { profile, model: chosen };
|
|
70
|
+
}
|
|
71
|
+
async function handleSessionProviderCommand(args) {
|
|
72
|
+
const parsed = parseSessionProviderArgs(args);
|
|
73
|
+
const home = configuration.configuration.happyHomeDir;
|
|
74
|
+
if (parsed.action === "help") {
|
|
75
|
+
console.log(SESSION_PROVIDER_HELP);
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
const bindings = providerBinding.readSessionProviders(home);
|
|
79
|
+
if (parsed.action === "list") {
|
|
80
|
+
const entries = Object.entries(bindings);
|
|
81
|
+
if (entries.length === 0) console.log("No session provider bindings.");
|
|
82
|
+
for (const [sessionId, b] of entries) console.log(`${sessionId} ${b.profile} ${b.model}`);
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
if (parsed.action === "set") {
|
|
86
|
+
const binding = resolveBindingRequest(providerBinding.readProviders(home), parsed.profile, parsed.model);
|
|
87
|
+
providerBinding.writeSessionProviders(home, providerBinding.updateBindings(bindings, parsed.sessionId, binding));
|
|
88
|
+
console.log(`Bound ${parsed.sessionId} \u2192 ${binding.profile} / ${binding.model} (${providerBinding.sessionProvidersPath(home)})`);
|
|
89
|
+
} else {
|
|
90
|
+
if (!bindings[parsed.sessionId]) {
|
|
91
|
+
console.log(`${parsed.sessionId} has no binding; nothing to change.`);
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
providerBinding.writeSessionProviders(home, providerBinding.updateBindings(bindings, parsed.sessionId, null));
|
|
95
|
+
console.log(`Cleared binding for ${parsed.sessionId} (default provider).`);
|
|
96
|
+
}
|
|
97
|
+
if (!parsed.restart) {
|
|
98
|
+
console.log(chalk.dim("Not restarted; the binding applies when the session next starts."));
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
const result = await controlClient.restartDaemonSession(parsed.sessionId);
|
|
102
|
+
if (result.success) {
|
|
103
|
+
console.log(`Restarted ${parsed.sessionId} in place.`);
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
console.error(chalk.yellow(`Binding saved, but restart failed: ${result.error}`));
|
|
107
|
+
console.error(chalk.dim("It applies the next time this session is resumed on this machine."));
|
|
108
|
+
process.exitCode = 1;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
exports.SESSION_PROVIDER_HELP = SESSION_PROVIDER_HELP;
|
|
112
|
+
exports.handleSessionProviderCommand = handleSessionProviderCommand;
|
|
113
|
+
exports.parseSessionProviderArgs = parseSessionProviderArgs;
|
|
114
|
+
exports.resolveBindingRequest = resolveBindingRequest;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var sync = require('./sync-
|
|
3
|
+
var sync = require('./sync-DliZ1zZh.cjs');
|
|
4
4
|
var types = require('./types-CRS-srZK.cjs');
|
|
5
5
|
var path$1 = require('node:path');
|
|
6
6
|
var node_fs = require('node:fs');
|
|
7
7
|
var transcriptCursor = require('./transcriptCursor-DcXGLeSc.cjs');
|
|
8
|
-
var logger = require('./logger-
|
|
9
|
-
var startFileWatcher = require('./startFileWatcher-
|
|
8
|
+
var logger = require('./logger-CIUMiSLo.cjs');
|
|
9
|
+
var startFileWatcher = require('./startFileWatcher-VFZ-Bpwa.cjs');
|
|
10
10
|
var path = require('./path-B7zW-WwE.cjs');
|
|
11
11
|
|
|
12
12
|
class Future {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { I as InvalidateSync } from './sync
|
|
1
|
+
import { I as InvalidateSync } from './sync-HPnxI4fz.mjs';
|
|
2
2
|
import { R as RawJSONLinesSchema } from './types-CkqAACXx.mjs';
|
|
3
3
|
import { join } from 'node:path';
|
|
4
4
|
import { statSync } from 'node:fs';
|
|
5
5
|
import { r as readTranscriptIncrement, i as isValidTranscriptHint } from './transcriptCursor-B7T_gkQ0.mjs';
|
|
6
|
-
import { l as logger } from './logger-
|
|
7
|
-
import { s as startFileWatcher } from './startFileWatcher-
|
|
6
|
+
import { l as logger } from './logger-BjXkscIr.mjs';
|
|
7
|
+
import { s as startFileWatcher } from './startFileWatcher-CvUUesns.mjs';
|
|
8
8
|
import { g as getProjectPath } from './path-D2wdaNSk.mjs';
|
|
9
9
|
|
|
10
10
|
class Future {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
|
-
var sessionOps = require('./sessionOps-
|
|
4
|
+
var sessionOps = require('./sessionOps-BDHEzyAY.cjs');
|
|
5
5
|
var ids = require('./ids-B6ZC0HGt.cjs');
|
|
6
|
-
var peerTools = require('./peerTools-
|
|
7
|
-
var persistence = require('./persistence-
|
|
6
|
+
var peerTools = require('./peerTools-SLRntgX6.cjs');
|
|
7
|
+
var persistence = require('./persistence-CNWBdUH2.cjs');
|
|
8
8
|
var path = require('node:path');
|
|
9
|
-
var remoteSessionClient = require('./remoteSessionClient-
|
|
9
|
+
var remoteSessionClient = require('./remoteSessionClient-DnFblfFz.cjs');
|
|
10
10
|
require('axios');
|
|
11
|
-
require('./configuration-
|
|
11
|
+
require('./configuration-CwfmwaLU.cjs');
|
|
12
12
|
require('node:fs');
|
|
13
13
|
require('node:os');
|
|
14
|
-
require('./package-
|
|
14
|
+
require('./package-CRDjc5vK.cjs');
|
|
15
15
|
require('node:fs/promises');
|
|
16
16
|
require('./authRelay-Dy1qU9td.cjs');
|
|
17
17
|
require('node:crypto');
|
|
18
18
|
require('tweetnacl');
|
|
19
|
-
require('./controlClient-
|
|
20
|
-
require('./logger-
|
|
19
|
+
require('./controlClient-DTMI1aTp.cjs');
|
|
20
|
+
require('./logger-CIUMiSLo.cjs');
|
|
21
21
|
require('node:util');
|
|
22
|
-
require('./time-
|
|
22
|
+
require('./time-BCGGrWp4.cjs');
|
|
23
23
|
require('socket.io-client');
|
|
24
24
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
25
25
|
require('zod');
|
|
26
|
-
require('./client-
|
|
26
|
+
require('./client-C54hMWx6.cjs');
|
|
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"];
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
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-
|
|
2
|
+
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-BO6AesNJ.mjs';
|
|
3
3
|
import { i as isValidSessionId } from './ids-DU6sLx4C.mjs';
|
|
4
|
-
import { c as cliPeerSelf, e as executeSessionPeerTool, l as listPeerSessions, s as sendPeerMessage, P as PEER_SCOPES } from './peerTools-
|
|
5
|
-
import { c as readPersistedSessions } from './persistence-
|
|
4
|
+
import { c as cliPeerSelf, e as executeSessionPeerTool, l as listPeerSessions, s as sendPeerMessage, P as PEER_SCOPES } from './peerTools-CL7zBxlC.mjs';
|
|
5
|
+
import { c as readPersistedSessions } from './persistence-CmVwM5uq.mjs';
|
|
6
6
|
import { resolve } from 'node:path';
|
|
7
|
-
import { f as fillForeignAccountRows, l as listRemoteSessions, a as listRemotePeers, w as waitForRemoteTurnEnd, r as readRemoteTranscript } from './remoteSessionClient-
|
|
7
|
+
import { f as fillForeignAccountRows, l as listRemoteSessions, a as listRemotePeers, w as waitForRemoteTurnEnd, r as readRemoteTranscript } from './remoteSessionClient-DHWfDMHA.mjs';
|
|
8
8
|
import 'axios';
|
|
9
|
-
import './configuration-
|
|
9
|
+
import './configuration-HPdj5Til.mjs';
|
|
10
10
|
import 'node:fs';
|
|
11
11
|
import 'node:os';
|
|
12
|
-
import './package-
|
|
12
|
+
import './package-Do0Y9bGA.mjs';
|
|
13
13
|
import 'node:fs/promises';
|
|
14
14
|
import './authRelay-DhQhkBvX.mjs';
|
|
15
15
|
import 'node:crypto';
|
|
16
16
|
import 'tweetnacl';
|
|
17
|
-
import './controlClient-
|
|
18
|
-
import './logger-
|
|
17
|
+
import './controlClient-DBylxaEh.mjs';
|
|
18
|
+
import './logger-BjXkscIr.mjs';
|
|
19
19
|
import 'node:util';
|
|
20
|
-
import './time-
|
|
20
|
+
import './time-BbJ-NWcl.mjs';
|
|
21
21
|
import 'socket.io-client';
|
|
22
22
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
23
23
|
import 'zod';
|
|
24
|
-
import './client-
|
|
24
|
+
import './client-D2lOnvzs.mjs';
|
|
25
25
|
|
|
26
26
|
const MACHINE_ID_RE = /^[a-zA-Z0-9_-]{1,128}$/;
|
|
27
27
|
const ACTIONS = ["list", "read", "stop", "archive", "approve", "deny", "peers", "message"];
|
package/dist/{setupOfflineReconnection-CecTiFZ-.cjs → setupOfflineReconnection-DMfoVL-0.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-CwfmwaLU.cjs');
|
|
4
|
+
var api = require('./api-BSz8MYte.cjs');
|
|
5
5
|
|
|
6
6
|
function createOfflineSessionStub(sessionTag) {
|
|
7
7
|
return {
|
package/dist/{setupOfflineReconnection-Bl3DuakT.mjs → setupOfflineReconnection-DYzysFFJ.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-HPdj5Til.mjs';
|
|
2
|
+
import { s as startOfflineReconnection } from './api-BTS8mqLy.mjs';
|
|
3
3
|
|
|
4
4
|
function createOfflineSessionStub(sessionTag) {
|
|
5
5
|
return {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { r as resolveSpawnPermissionMode, c as chooseProject, j as joinProject, a as resolveFirstMessageMeta, s as sanitizeSpawnPermissionMode, A as ALLOWED_SPAWN_PERMISSION_MODES, S as SPAWN_AGENTS } from './spawnAgents-
|
|
2
|
-
import { s as sharedProjectsClient } from './client-
|
|
1
|
+
import { r as resolveSpawnPermissionMode, c as chooseProject, j as joinProject, a as resolveFirstMessageMeta, s as sanitizeSpawnPermissionMode, A as ALLOWED_SPAWN_PERMISSION_MODES, S as SPAWN_AGENTS } from './spawnAgents-jXo9jIYo.mjs';
|
|
2
|
+
import { s as sharedProjectsClient } from './client-D2lOnvzs.mjs';
|
|
3
3
|
import chalk from 'chalk';
|
|
4
4
|
import { readFileSync, statSync } from 'node:fs';
|
|
5
5
|
import { resolve } from 'node:path';
|
|
6
|
-
import { a as checkIfDaemonRunningAndCleanupStaleState, e as spawnDaemonSession, f as stopDaemonSession } from './controlClient-
|
|
7
|
-
import { c as readPersistedSessions } from './persistence-
|
|
6
|
+
import { a as checkIfDaemonRunningAndCleanupStaleState, e as spawnDaemonSession, f as stopDaemonSession } from './controlClient-DBylxaEh.mjs';
|
|
7
|
+
import { c as readPersistedSessions } from './persistence-CmVwM5uq.mjs';
|
|
8
8
|
import { g as getProjectPath } from './path-D2wdaNSk.mjs';
|
|
9
|
-
import { f as forkSession, F as ForkSourceMissingError } from './claudeSessionFork-
|
|
10
|
-
import { C as CodexAppServerClient } from './codexAppServerClient-
|
|
9
|
+
import { f as forkSession, F as ForkSourceMissingError } from './claudeSessionFork-JPEHVbfR.mjs';
|
|
10
|
+
import { C as CodexAppServerClient } from './codexAppServerClient-CM3O0zHW.mjs';
|
|
11
11
|
import { f as forkCodexThread } from './codexThreadFork-R76RU5H0.mjs';
|
|
12
|
-
import { e as sendUserMessage, f as readSessionMetadata, g as waitForSessionKey, s as sessionWebUrl } from './sessionOps-
|
|
13
|
-
import { i as isValidSpawnOrigin } from './createSessionMetadata-
|
|
14
|
-
import { l as logger } from './logger-
|
|
12
|
+
import { e as sendUserMessage, f as readSessionMetadata, g as waitForSessionKey, s as sessionWebUrl } from './sessionOps-BO6AesNJ.mjs';
|
|
13
|
+
import { i as isValidSpawnOrigin } from './createSessionMetadata-D8pfpX4V.mjs';
|
|
14
|
+
import { l as logger } from './logger-BjXkscIr.mjs';
|
|
15
15
|
import { w as waitForForkBackfill } from './forkBackfill-DYIjlN1Z.mjs';
|
|
16
|
-
import './index-
|
|
16
|
+
import './index-DisBaRvM.mjs';
|
|
17
17
|
import 'zod';
|
|
18
18
|
import '@paralleldrive/cuid2';
|
|
19
|
-
import './configuration-
|
|
19
|
+
import './configuration-HPdj5Til.mjs';
|
|
20
20
|
import 'node:os';
|
|
21
|
-
import './package-
|
|
21
|
+
import './package-Do0Y9bGA.mjs';
|
|
22
22
|
import 'node:fs/promises';
|
|
23
23
|
import './authRelay-DhQhkBvX.mjs';
|
|
24
24
|
import 'node:crypto';
|
|
@@ -29,10 +29,10 @@ 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-D9mQRGHv.mjs';
|
|
33
33
|
import './processTree-CP5IvQ2Z.mjs';
|
|
34
34
|
import 'axios';
|
|
35
|
-
import './time-
|
|
35
|
+
import './time-BbJ-NWcl.mjs';
|
|
36
36
|
import 'socket.io-client';
|
|
37
37
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
38
38
|
import './projectPath-BTBIMB57.mjs';
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var spawnAgents = require('./spawnAgents-
|
|
4
|
-
var client = require('./client-
|
|
3
|
+
var spawnAgents = require('./spawnAgents-D15n6tAj.cjs');
|
|
4
|
+
var client = require('./client-C54hMWx6.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-DTMI1aTp.cjs');
|
|
9
|
+
var persistence = require('./persistence-CNWBdUH2.cjs');
|
|
10
10
|
var path = require('./path-B7zW-WwE.cjs');
|
|
11
|
-
var claudeSessionFork = require('./claudeSessionFork-
|
|
12
|
-
var codexAppServerClient = require('./codexAppServerClient-
|
|
11
|
+
var claudeSessionFork = require('./claudeSessionFork-DMdeScGk.cjs');
|
|
12
|
+
var codexAppServerClient = require('./codexAppServerClient-DGeqZViU.cjs');
|
|
13
13
|
var codexThreadFork = require('./codexThreadFork-DNekT4nQ.cjs');
|
|
14
|
-
var sessionOps = require('./sessionOps-
|
|
15
|
-
var createSessionMetadata = require('./createSessionMetadata-
|
|
16
|
-
var logger = require('./logger-
|
|
14
|
+
var sessionOps = require('./sessionOps-BDHEzyAY.cjs');
|
|
15
|
+
var createSessionMetadata = require('./createSessionMetadata-D2Ll7PlQ.cjs');
|
|
16
|
+
var logger = require('./logger-CIUMiSLo.cjs');
|
|
17
17
|
var forkBackfill = require('./forkBackfill-8eLDeS73.cjs');
|
|
18
|
-
require('./index-
|
|
18
|
+
require('./index-Ub-5xbcU.cjs');
|
|
19
19
|
require('zod');
|
|
20
20
|
require('@paralleldrive/cuid2');
|
|
21
|
-
require('./configuration-
|
|
21
|
+
require('./configuration-CwfmwaLU.cjs');
|
|
22
22
|
require('node:os');
|
|
23
|
-
require('./package-
|
|
23
|
+
require('./package-CRDjc5vK.cjs');
|
|
24
24
|
require('node:fs/promises');
|
|
25
25
|
require('./authRelay-Dy1qU9td.cjs');
|
|
26
26
|
require('node:crypto');
|
|
@@ -31,10 +31,10 @@ 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-1WoBs8ln.cjs');
|
|
35
35
|
require('./processTree-CMHWlVse.cjs');
|
|
36
36
|
require('axios');
|
|
37
|
-
require('./time-
|
|
37
|
+
require('./time-BCGGrWp4.cjs');
|
|
38
38
|
require('socket.io-client');
|
|
39
39
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
40
40
|
require('./projectPath-C3ioB4Bu.cjs');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as getAgentCodeDefaults, n as normalizeAgentKey, l as isClaudeOpus55Model, m as supportsClaudeOpus55 } from './index-
|
|
1
|
+
import { k as getAgentCodeDefaults, n as normalizeAgentKey, l as isClaudeOpus55Model, m as supportsClaudeOpus55 } from './index-DisBaRvM.mjs';
|
|
2
2
|
|
|
3
3
|
function chooseProject(opts) {
|
|
4
4
|
if (opts.project) return { kind: "explicit", projectId: opts.project };
|
|
@@ -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-CIUMiSLo.cjs');
|
|
7
7
|
var node_fs = require('node:fs');
|
|
8
8
|
|
|
9
9
|
let cachedRuntime = null;
|
|
@@ -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-BjXkscIr.mjs';
|
|
5
5
|
import { existsSync } from 'node:fs';
|
|
6
6
|
|
|
7
7
|
let cachedRuntime = null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import {
|
|
3
|
-
import { f as fromCodexRateLimits, a as fromClaudeRateLimitInfo, r as rateLimitReportSignature, R as RATE_LIMIT_OBSERVED_REFRESH_MS } from './rateLimitWindows-
|
|
1
|
+
import { l as logger } from './logger-BjXkscIr.mjs';
|
|
2
|
+
import { g as reportRateLimitsToDaemon } from './controlClient-DBylxaEh.mjs';
|
|
3
|
+
import { f as fromCodexRateLimits, a as fromClaudeRateLimitInfo, r as rateLimitReportSignature, R as RATE_LIMIT_OBSERVED_REFRESH_MS } from './rateLimitWindows-D9mQRGHv.mjs';
|
|
4
4
|
|
|
5
5
|
function createRateLimitReporter(send, now = Date.now) {
|
|
6
6
|
const last = /* @__PURE__ */ new Map();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var controlClient = require('./controlClient-
|
|
5
|
-
var rateLimitWindows = require('./rateLimitWindows-
|
|
3
|
+
var logger = require('./logger-CIUMiSLo.cjs');
|
|
4
|
+
var controlClient = require('./controlClient-DTMI1aTp.cjs');
|
|
5
|
+
var rateLimitWindows = require('./rateLimitWindows-1WoBs8ln.cjs');
|
|
6
6
|
|
|
7
7
|
function createRateLimitReporter(send, now = Date.now) {
|
|
8
8
|
const last = /* @__PURE__ */ new Map();
|