very-happy-cli 0.2.192 → 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-CGHTDJd9.mjs → AcpBackend-C3Kx0QJb.mjs} +3 -3
- package/dist/{AcpBackend-BQO4ShOy.cjs → AcpBackend-DJzsue14.cjs} +3 -3
- package/dist/{AcpSessionManager-LlUMmcpB.cjs → AcpSessionManager-Bc3iafB1.cjs} +2 -2
- package/dist/{AcpSessionManager-G0xD6Jbq.mjs → AcpSessionManager-SteuoqMY.mjs} +2 -2
- package/dist/{BasePermissionHandler-BmTIg376.mjs → BasePermissionHandler-D2pNcAXn.mjs} +1 -1
- package/dist/{BasePermissionHandler-N6Ip3tFt.cjs → BasePermissionHandler-DKzNFVCh.cjs} +1 -1
- package/dist/{account-DtaouikP.cjs → account-ByVjlvFj.cjs} +84 -27
- package/dist/{account-CCVT-HO_.mjs → account-DC2YyU24.mjs} +84 -27
- package/dist/{accountService-Dd9uqde2.mjs → accountService-Cd7bnkfd.mjs} +369 -19
- package/dist/{accountService-Bddy0zwL.cjs → accountService-CuUSJDhP.cjs} +369 -19
- package/dist/{acpSessionResume-BWEUxNtC.mjs → acpSessionResume-B6VClxKQ.mjs} +1 -1
- package/dist/{acpSessionResume-BnHDk5eD.cjs → acpSessionResume-DHHgbNnk.cjs} +1 -1
- package/dist/{agentHome-B0VnjkZW.mjs → agentHome-9caXwo7k.mjs} +4 -4
- package/dist/{agentHome-CqQ29YY7.cjs → agentHome-Bov1aHYS.cjs} +4 -4
- package/dist/{api-_LeBScjg.mjs → api-aE60mNjs.mjs} +10 -10
- package/dist/{api-hMDsC6Wg.cjs → api-wYwQCJml.cjs} +10 -10
- package/dist/{apiMachine-CgRldeJ6.mjs → apiMachine-CvNB38Xg.mjs} +36 -19
- package/dist/{apiMachine-CqW2m6Zr.cjs → apiMachine-DwaqfM9Q.cjs} +36 -19
- package/dist/{attachmentContent-CyptLIfq.mjs → attachmentContent-C2ymY_-w.mjs} +2 -2
- package/dist/{attachmentContent-BEeT2J5n.cjs → attachmentContent-DB8ZsxGE.cjs} +2 -2
- package/dist/{auth-CFQikywl.mjs → auth-BYtmGgE1.mjs} +8 -8
- package/dist/{auth-CA1OClsW.cjs → auth-Bce0Zk3q.cjs} +8 -8
- package/dist/{auth-DL8_J9vu.mjs → auth-CWO6cQ4G.mjs} +5 -5
- package/dist/{auth-C9NvNHhL.cjs → auth-boIcb7iq.cjs} +5 -5
- package/dist/{auto-uQOxlxLp.cjs → auto-AaggdihK.cjs} +24 -22
- package/dist/{auto-CKI05w1D.mjs → auto-B-kopWQx.mjs} +24 -22
- package/dist/{bootstrap-DaZ0Np7X.mjs → bootstrap-CiWwfHB2.mjs} +2 -2
- package/dist/{bootstrap-DsZGc69k.cjs → bootstrap-kywZ0tvD.cjs} +2 -2
- package/dist/{browser-BUIaSHK2.mjs → browser-CFfZM3yg.mjs} +1 -1
- package/dist/{browser-Ft0ASDm7.cjs → browser-Do2MFdq6.cjs} +1 -1
- package/dist/{claudeAccountEnv-ON24i0qv.mjs → claudeAccountEnv-BL1pR_37.mjs} +2 -1
- package/dist/{claudeAccountEnv-BOBpJ3k8.cjs → claudeAccountEnv-CEX_EMZr.cjs} +2 -1
- package/dist/{claudeLocal-B1ZVtryl.mjs → claudeLocal-B47NjZfB.mjs} +5 -5
- package/dist/{claudeLocal-BMf9t4Fa.cjs → claudeLocal-DLd8ogcH.cjs} +5 -5
- package/dist/{claudeLocalLauncher-Bp8bqF4y.mjs → claudeLocalLauncher-5DDuHpCD.mjs} +10 -10
- package/dist/{claudeLocalLauncher-C8TeJcfF.cjs → claudeLocalLauncher-D_UTQ4o_.cjs} +10 -10
- package/dist/{claudeSessionFork-YiktY55n.cjs → claudeSessionFork-4g6-Sk3Q.cjs} +104 -38
- package/dist/{claudeSessionFork-8AA47z8Y.mjs → claudeSessionFork-BrJTncNL.mjs} +105 -40
- package/dist/{client-Crh8_cNx.cjs → client-BIg2LPVx.cjs} +2 -2
- package/dist/{client-CFHZfh9x.cjs → client-BfDga3xi.cjs} +4 -4
- package/dist/{client-Bm4oKvW7.mjs → client-Cbxr9VUE.mjs} +4 -2
- package/dist/{client-D8XROyZc.cjs → client-CsfPUxLy.cjs} +4 -2
- package/dist/{client-BmPaBnDK.mjs → client-DS5JEsHs.mjs} +4 -4
- package/dist/{client-Cxlp_D4I.mjs → client-OjYRPhZs.mjs} +2 -2
- package/dist/codex/happyMcpStdioBridge.cjs +16 -16
- package/dist/codex/happyMcpStdioBridge.mjs +16 -16
- package/dist/codexAccount-BDQjRbtI.cjs +1028 -0
- package/dist/codexAccount-NOX5pmQf.mjs +1015 -0
- package/dist/{codexAppServerClient-q8GHQhyC.cjs → codexAppServerClient-Bj5vN7sb.cjs} +18 -7
- package/dist/{codexAppServerClient-BWJbLCQn.mjs → codexAppServerClient-HKAm8f_D.mjs} +18 -7
- package/dist/{codexCommand-BfXfRQr4.mjs → codexCommand-655pR6CR.mjs} +188 -58
- package/dist/{codexCommand-BgpGg-Zy.cjs → codexCommand-DtbDjHZp.cjs} +187 -57
- package/dist/{codexTermination-CVUF0X75.cjs → codexTermination-CX_FHKT5.cjs} +1 -1
- package/dist/{codexTermination-s9fd1gkA.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-BF8XgLyc.mjs → config-CIvXVGlP.mjs} +3 -3
- package/dist/{config-BAjyTyYp.cjs → config-Cv-A-Bw0.cjs} +3 -3
- package/dist/{configuration-CXEVKAyF.cjs → configuration-2Pbg3a0H.cjs} +1 -1
- package/dist/{configuration-IhRiLDVe.mjs → configuration-rTcdHkhE.mjs} +1 -1
- package/dist/{connect-LZh1gr08.mjs → connect-B9Bl68PF.mjs} +13 -13
- package/dist/{connect-rCS56arw.cjs → connect-BAYNAE8A.cjs} +13 -13
- package/dist/{context-DO6F5YwH.mjs → context-C7QarZMk.mjs} +1 -1
- package/dist/{context-3_S_mWz9.cjs → context-CLTyu_tQ.cjs} +1 -1
- package/dist/{controlClient-8ILulwjc.mjs → controlClient-BIdGnYBo.mjs} +3 -3
- package/dist/{controlClient-j7p5p3_7.cjs → controlClient-CIqHL07h.cjs} +3 -3
- package/dist/{createSessionMetadata-DwdD_uVo.cjs → createSessionMetadata-BHjzRzPc.cjs} +2 -2
- package/dist/{createSessionMetadata-oyaTZm1b.mjs → createSessionMetadata-PrN-dT7K.mjs} +2 -2
- package/dist/{daemonAccounts-BCjDgoNt.cjs → daemonAccounts-CpGDY_4k.cjs} +4 -1
- package/dist/{daemonAccounts-BJgt6IJe.mjs → daemonAccounts-DwPwKxvv.mjs} +5 -2
- package/dist/{defaultPermissionMode-BFShzF55.cjs → defaultPermissionMode-BakXiqRr.cjs} +1 -1
- package/dist/{defaultPermissionMode-Lt3PUCwY.mjs → defaultPermissionMode-DF5AfeBb.mjs} +1 -1
- package/dist/{deterministicJson-Dfp-7wUZ.mjs → deterministicJson-DFwJ57jR.mjs} +13 -13
- package/dist/{deterministicJson-DUN0v3St.cjs → deterministicJson-ZBFn1jtS.cjs} +13 -13
- package/dist/{doctor-B_UwMcVT.mjs → doctor-CFYpAXvt.mjs} +7 -7
- package/dist/{doctor-FgUYTbAT.cjs → doctor-yyM-zii7.cjs} +7 -7
- package/dist/{downloadTarget-C0d6jRx-.mjs → downloadTarget-CVPBZMnY.mjs} +6 -6
- package/dist/{downloadTarget-BrrQEDxg.cjs → downloadTarget-DlmqPQp9.cjs} +6 -6
- package/dist/{ensureDaemonRunning-KUMFfIil.mjs → ensureDaemonRunning-B6Y-CMWe.mjs} +5 -5
- package/dist/{ensureDaemonRunning-Cq4FYI5Q.cjs → ensureDaemonRunning-D2ny0yon.cjs} +5 -5
- package/dist/{handleResumeCommand-Cl9GIL5F.cjs → handleResumeCommand-D-mGugcu.cjs} +5 -5
- package/dist/{handleResumeCommand-BGhVo3QH.mjs → handleResumeCommand-DlrDcV5B.mjs} +5 -5
- package/dist/{index-CQ_hLLCj.cjs → index-2Fcq3AGX.cjs} +3 -3
- package/dist/{index-CRipkiqo.cjs → index-5c33fqLQ.cjs} +4 -4
- package/dist/{index-JQDyJ3Li.mjs → index-BJsenPFp.mjs} +3 -3
- package/dist/{index-BzAYnYct.cjs → index-BUFrKZeQ.cjs} +198 -108
- package/dist/{index-D8ODb0_U.cjs → index-BWvmUCQF.cjs} +42 -42
- package/dist/{index-v5EmjT8l.mjs → index-Bi3dVJ0S.mjs} +4 -4
- package/dist/{index-CZaLMmPC.cjs → index-CPkSLWP_.cjs} +4 -4
- package/dist/{index-DYD3GM1m.mjs → index-D1YnIih6.mjs} +195 -109
- package/dist/{index-BjXjMhGY.mjs → index-DEN6vfEY.mjs} +4 -4
- package/dist/{index-Ca1Tt96A.mjs → index-DuDD9khO.mjs} +43 -43
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-ClUA9tbC.cjs → install-BOA4nEbm.cjs} +3 -3
- package/dist/{install-D6EHRtAN.mjs → install-BVYL-wSO.mjs} +3 -3
- package/dist/lib.cjs +12 -12
- package/dist/lib.d.cts +97 -25
- package/dist/lib.d.mts +97 -25
- package/dist/lib.mjs +12 -12
- package/dist/{lidState-DqoN7zH4.cjs → lidState-DYeb7Wud.cjs} +1 -1
- package/dist/{lidState-CZOXXdzv.mjs → lidState-zy20u7T3.mjs} +1 -1
- package/dist/{localHappyAgentAuth-YHxDZ4x4.mjs → localHappyAgentAuth-CBsX08VJ.mjs} +1 -1
- package/dist/{localHappyAgentAuth-BnGCpHRX.cjs → localHappyAgentAuth-CScN2McN.cjs} +1 -1
- package/dist/{logger-8su64lqR.cjs → logger-CepF8C5Z.cjs} +2 -2
- package/dist/{logger-Fd_rNvgd.mjs → logger-SGCwRIV5.mjs} +2 -2
- package/dist/{machineMetadata-1HIIC7Bc.mjs → machineMetadata-ClJfd7ay.mjs} +3 -3
- package/dist/{machineMetadata-DYXt3p6u.cjs → machineMetadata-ObK4hjF0.cjs} +3 -3
- package/dist/{main-BI6GIzUL.mjs → main-C7ZcZVBY.mjs} +47 -47
- package/dist/{main-C_GrcYkn.cjs → main-mhXOpUV7.cjs} +47 -47
- package/dist/{mcp-XGoxywno.mjs → mcp-BuCpkYTY.mjs} +18 -18
- package/dist/{mcp-BycIv9oQ.cjs → mcp-Zz7m0j8A.cjs} +18 -18
- package/dist/{mirrorProtocol-DXT3rv7T.mjs → mirrorProtocol-B0H9UTBM.mjs} +3 -3
- package/dist/{mirrorProtocol-DVnB8EO8.cjs → mirrorProtocol-IhICxf0K.cjs} +3 -3
- package/dist/{package-iuLlSiSF.cjs → package-C7WgesIw.cjs} +7 -7
- package/dist/{package-6KkRAops.mjs → package-Q_ELj5DL.mjs} +7 -7
- package/dist/{panels-B5Di2zb2.mjs → panels-Cm69UXgE.mjs} +5 -5
- package/dist/{panels-0C89q0Tu.cjs → panels-yyxpwZnk.cjs} +5 -5
- package/dist/{peerTools-CANTX_mG.cjs → peerTools-BcZAbqBL.cjs} +5 -5
- package/dist/{peerTools-CKJ-IDM4.mjs → peerTools-DUg9RduG.mjs} +5 -5
- package/dist/{persistence-B4ttN-fR.cjs → persistence-D0gNvqXe.cjs} +2 -2
- package/dist/{persistence-DWcHe035.mjs → persistence-mr4Y484W.mjs} +2 -2
- package/dist/{piRunnerArgs-Bl5GpBoN.mjs → piRunnerArgs-CGjpl4iF.mjs} +1 -1
- package/dist/{piRunnerArgs-BOkfxyak.cjs → piRunnerArgs-DK_DDkYW.cjs} +1 -1
- package/dist/{piRuntime-DzrIiZU8.cjs → piRuntime-CtZRNOEb.cjs} +1 -1
- package/dist/{piRuntime-BhwxzdQf.mjs → piRuntime-HUA19wG8.mjs} +1 -1
- package/dist/{piTerminal-DnA2CbGr.mjs → piTerminal-Bgy1W9mA.mjs} +20 -20
- package/dist/{piTerminal-BdS7ol7v.cjs → piTerminal-D9OPouek.cjs} +20 -20
- package/dist/{pushNotifications-BqFoLye2.cjs → pushNotifications-CH0XVPQe.cjs} +3 -3
- package/dist/{pushNotifications-DkQ0yvFs.mjs → pushNotifications-DjEl8G0a.mjs} +3 -3
- package/dist/{query-BQ4br3yn.cjs → query-Df3WhSA0.cjs} +1 -1
- package/dist/{query-BRJYSkb1.mjs → query-DmIo5OXf.mjs} +1 -1
- package/dist/{rateLimitReporter-BRbYkmuP.mjs → rateLimitReporter-B_PZClib.mjs} +3 -3
- package/dist/{rateLimitReporter-DK5SQuCc.cjs → rateLimitReporter-M_IKRRS7.cjs} +3 -3
- package/dist/{rateLimitWindows-DBfiuYeg.cjs → rateLimitWindows-B9PERFm1.cjs} +1 -1
- package/dist/{rateLimitWindows-Da5AR-4u.mjs → rateLimitWindows-a2yE3kCv.mjs} +1 -1
- package/dist/{registerCommonHandlers-yQ7Ru-l0.mjs → registerCommonHandlers-CND00Dpj.mjs} +2 -2
- package/dist/{registerCommonHandlers-m6pxxf2J.cjs → registerCommonHandlers-D4uXC0he.cjs} +2 -2
- package/dist/{registerKillSessionHandler-BDNpi7YO.mjs → registerKillSessionHandler-CwyHwm_n.mjs} +6 -6
- package/dist/{registerKillSessionHandler-BAOIa_Fs.cjs → registerKillSessionHandler-DQKsD9CW.cjs} +6 -6
- package/dist/{remoteSessionClient-iJMXRN_D.cjs → remoteSessionClient-DOWgca08.cjs} +5 -5
- package/dist/{remoteSessionClient-CZ7aaNgj.mjs → remoteSessionClient-mIr_9OL_.mjs} +5 -5
- package/dist/{reportProgressTool-DpFs7pSe.cjs → reportProgressTool-BLw2_Ohi.cjs} +3 -3
- package/dist/{reportProgressTool-DfQhPu0s.mjs → reportProgressTool-DTKlUlHv.mjs} +3 -3
- package/dist/{run-p-xp1_HY.cjs → run-1V6DLzTY.cjs} +178 -847
- package/dist/{run-CwN28mcj.mjs → run-bfxXYL5N.mjs} +176 -845
- package/dist/{runClaude-DRKtAGTm.mjs → runClaude-BgvDhl2p.mjs} +25 -25
- package/dist/{runClaude-D6U1Z575.cjs → runClaude-DuFgZZwO.cjs} +25 -25
- package/dist/{runClaudeDeps-BheVcIlD.mjs → runClaudeDeps-CX7GtH7O.mjs} +46 -46
- package/dist/{runClaudeDeps-Dkofokgb.cjs → runClaudeDeps-DeVinBmE.cjs} +41 -41
- package/dist/{runGemini-owbvhFbi.mjs → runGemini-Cd27u-7R.mjs} +33 -33
- package/dist/{runGemini-C8q3YCc0.cjs → runGemini-DiYSk3s1.cjs} +33 -33
- package/dist/{runOpenClaw-Dky3-mjO.mjs → runOpenClaw-CWkkfRSo.mjs} +18 -18
- package/dist/{runOpenClaw-DGeN66-t.cjs → runOpenClaw-DyQnBzpy.cjs} +18 -18
- package/dist/{sandbox-D2CPyoCA.cjs → sandbox-BAXXYewR.cjs} +4 -4
- package/dist/{sandbox-sq_wy9Gl.mjs → sandbox-C35zDrkc.mjs} +4 -4
- package/dist/selfCheck-DKMF0Dyu.mjs +88 -0
- package/dist/{selfCheck-BgLvQKSt.cjs → selfCheck-R71q-x7u.cjs} +39 -39
- package/dist/{send-Cd10YhXh.cjs → send-3Wa9th3D.cjs} +8 -8
- package/dist/{send-K9vg-8t-.mjs → send-DiSaR5Bk.mjs} +8 -8
- package/dist/{server-DRrV64r0.cjs → server-BJu2bFBy.cjs} +6 -6
- package/dist/{server-De4W1zuK.mjs → server-BxMJxaE6.mjs} +4 -4
- package/dist/{sessionLock-BDtSzzKS.cjs → sessionLock-BJ1ngLgm.cjs} +3 -3
- package/dist/{sessionLock-Dl6i7IgA.mjs → sessionLock-dbi4JPhP.mjs} +3 -3
- package/dist/{sessionOps-DvnEH4PL.cjs → sessionOps-BUlpeaUe.cjs} +50 -8
- package/dist/{sessionOps-gU88-W9F.mjs → sessionOps-C9wRmCBg.mjs} +51 -9
- package/dist/{sessionProvider-CKcIo7KO.mjs → sessionProvider-BEHfI5gs.mjs} +11 -9
- package/dist/{sessionProvider-CbSZeZrl.cjs → sessionProvider-DYD6JepE.cjs} +11 -9
- package/dist/{sessionScanner-7RtcCeyD.cjs → sessionScanner-BwbjEoSf.cjs} +3 -3
- package/dist/{sessionScanner-DR32uSby.mjs → sessionScanner-CFITViIZ.mjs} +3 -3
- package/dist/{sessions-BvuMjgvJ.cjs → sessions-C-wBd0fN.cjs} +10 -10
- package/dist/{sessions-DTt2Eguk.mjs → sessions-wOcO2X-k.mjs} +10 -10
- package/dist/{setupOfflineReconnection-DduOsw6p.cjs → setupOfflineReconnection-Bd6XsWhA.cjs} +2 -2
- package/dist/{setupOfflineReconnection-BGnvhRfb.mjs → setupOfflineReconnection-BrljmbqX.mjs} +2 -2
- package/dist/{spawn-CL3cUc7b.mjs → spawn-BPioepNz.mjs} +66 -22
- package/dist/{spawn-DMB6rRPA.cjs → spawn-Crprnq9Z.cjs} +66 -22
- package/dist/{spawnAgents-CClb7buD.cjs → spawnAgents-B9olJ8xn.cjs} +1 -1
- package/dist/{spawnAgents-CRMfOJhh.mjs → spawnAgents-I29H9nO8.mjs} +1 -1
- package/dist/{spawnHappyCLI-Cj_6IICe.mjs → spawnHappyCLI-BA1bTIiO.mjs} +1 -1
- package/dist/{spawnHappyCLI-DJdhX_Qx.cjs → spawnHappyCLI-C0XAWy8V.cjs} +1 -1
- package/dist/{startFileWatcher-DikVa8kg.mjs → startFileWatcher-COCEjNT8.mjs} +1 -1
- package/dist/{startFileWatcher-LnOmVW6H.cjs → startFileWatcher-Ca5izs24.cjs} +1 -1
- package/dist/{startupSessionCreate-CDdaLaMq.mjs → startupSessionCreate-BnEPBxsJ.mjs} +3 -3
- package/dist/{startupSessionCreate-B3ND-917.cjs → startupSessionCreate-Cmg1gkKS.cjs} +3 -3
- package/dist/{store-DV__wCvP.cjs → store-CkNa6oj4.cjs} +46 -9
- package/dist/{store--XN-7MS0.mjs → store-Vej_738f.mjs} +46 -10
- package/dist/{streamRelay-DFdOaLOn.cjs → streamRelay-C0G1HOOd.cjs} +1 -1
- package/dist/{streamRelay-sABnxEXq.mjs → streamRelay-C5U-C4GS.mjs} +1 -1
- package/dist/{sync-_2lsZ1U2.cjs → sync-BfrnSdL1.cjs} +1 -1
- package/dist/{sync-JoEZKRo8.mjs → sync-DVcNkv8e.mjs} +1 -1
- package/dist/{systemPrompt-Zq4HyrZ5.mjs → systemPrompt-BxZebU75.mjs} +2 -2
- package/dist/{systemPrompt-CJEvNCuW.cjs → systemPrompt-Os5ca7pu.cjs} +2 -2
- package/dist/{teams-BNZafnrT.cjs → teams--pv0QFMA.cjs} +7 -7
- package/dist/{teams-qz4LqKJ2.mjs → teams-CNB3DE_n.mjs} +7 -7
- package/dist/{template-LgvBbOna.cjs → template-B9pLEP8v.cjs} +2 -2
- package/dist/{template-CJ8BWSsc.mjs → template-CL9EvQLQ.mjs} +2 -2
- package/dist/{time-bzmet4s5.mjs → time-0Ru4clBD.mjs} +1 -1
- package/dist/{time-CaUlWSNJ.cjs → time-Da5GIiCa.cjs} +1 -1
- package/dist/{titleGenerator-BuIIu_JP.cjs → titleGenerator-9xIXHA5K.cjs} +3 -3
- package/dist/{titleGenerator-CbTtJ_1D.mjs → titleGenerator-CaCzpYyA.mjs} +2 -2
- package/dist/{todo-DIrVF_Ak.mjs → todo-CZXHl2Lg.mjs} +6 -6
- package/dist/{todo-CQ_BTf9C.cjs → todo-DUY_J3l_.cjs} +6 -6
- package/dist/{tools-cLOjBvPn.mjs → tools-DqA2Jt2R.mjs} +3 -2
- package/dist/{tools-BnmmFZji.cjs → tools-hPD2Hvei.cjs} +3 -2
- package/dist/{uninstall-C5OuW6dE.mjs → uninstall-CjMzELYw.mjs} +3 -3
- package/dist/{uninstall-uEEGKB84.cjs → uninstall-rTvdpRLt.cjs} +3 -3
- package/dist/{wrapperAccount-DXlD3bsO.mjs → wrapperAccount-BkufO_9g.mjs} +5 -4
- package/dist/{wrapperAccount-DzoGqS2b.cjs → wrapperAccount-D2A4DuZy.cjs} +6 -3
- package/package.json +7 -7
- package/dist/selfCheck-vkfrgQ7X.mjs +0 -88
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var node_fs = require('node:fs');
|
|
5
5
|
var path = require('node:path');
|
|
6
|
-
var persistence = require('./persistence-
|
|
7
|
-
var sessionOps = require('./sessionOps-
|
|
8
|
-
var remoteSessionClient = require('./remoteSessionClient-
|
|
6
|
+
var persistence = require('./persistence-D0gNvqXe.cjs');
|
|
7
|
+
var sessionOps = require('./sessionOps-BUlpeaUe.cjs');
|
|
8
|
+
var remoteSessionClient = require('./remoteSessionClient-DOWgca08.cjs');
|
|
9
9
|
require('node:fs/promises');
|
|
10
|
-
require('./configuration-
|
|
10
|
+
require('./configuration-2Pbg3a0H.cjs');
|
|
11
11
|
require('node:os');
|
|
12
|
-
require('./package-
|
|
12
|
+
require('./package-C7WgesIw.cjs');
|
|
13
13
|
require('zod');
|
|
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('node:util');
|
|
19
19
|
require('axios');
|
|
20
|
-
require('./controlClient-
|
|
21
|
-
require('./time-
|
|
20
|
+
require('./controlClient-CIqHL07h.cjs');
|
|
21
|
+
require('./time-Da5GIiCa.cjs');
|
|
22
22
|
require('./specialCommands-J3JFOq0J.cjs');
|
|
23
23
|
require('socket.io-client');
|
|
24
24
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
2
|
import { readFileSync } from 'node:fs';
|
|
3
3
|
import { resolve } from 'node:path';
|
|
4
|
-
import { c as readPersistedSessions } from './persistence-
|
|
5
|
-
import { s as sessionWebUrl } from './sessionOps-
|
|
6
|
-
import { d as deliverToSession, s as sendRemoteMessage } from './remoteSessionClient-
|
|
4
|
+
import { c as readPersistedSessions } from './persistence-mr4Y484W.mjs';
|
|
5
|
+
import { s as sessionWebUrl } from './sessionOps-C9wRmCBg.mjs';
|
|
6
|
+
import { d as deliverToSession, s as sendRemoteMessage } from './remoteSessionClient-mIr_9OL_.mjs';
|
|
7
7
|
import 'node:fs/promises';
|
|
8
|
-
import './configuration-
|
|
8
|
+
import './configuration-rTcdHkhE.mjs';
|
|
9
9
|
import 'node:os';
|
|
10
|
-
import './package-
|
|
10
|
+
import './package-Q_ELj5DL.mjs';
|
|
11
11
|
import 'zod';
|
|
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 'node:util';
|
|
17
17
|
import 'axios';
|
|
18
|
-
import './controlClient-
|
|
19
|
-
import './time-
|
|
18
|
+
import './controlClient-BIdGnYBo.mjs';
|
|
19
|
+
import './time-0Ru4clBD.mjs';
|
|
20
20
|
import './specialCommands-MXUN0wfI.mjs';
|
|
21
21
|
import 'socket.io-client';
|
|
22
22
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
@@ -8,15 +8,15 @@ var module$1 = require('node:module');
|
|
|
8
8
|
var node_crypto = require('node:crypto');
|
|
9
9
|
var node_child_process = require('node:child_process');
|
|
10
10
|
var promises = require('node:readline/promises');
|
|
11
|
-
var configuration = require('./configuration-
|
|
12
|
-
var persistence = require('./persistence-
|
|
11
|
+
var configuration = require('./configuration-2Pbg3a0H.cjs');
|
|
12
|
+
var persistence = require('./persistence-D0gNvqXe.cjs');
|
|
13
13
|
require('node:os');
|
|
14
|
-
require('./package-
|
|
14
|
+
require('./package-C7WgesIw.cjs');
|
|
15
15
|
require('node:fs/promises');
|
|
16
16
|
require('zod');
|
|
17
17
|
require('./authRelay-Dy1qU9td.cjs');
|
|
18
18
|
require('tweetnacl');
|
|
19
|
-
require('./logger-
|
|
19
|
+
require('./logger-CepF8C5Z.cjs');
|
|
20
20
|
require('node:util');
|
|
21
21
|
|
|
22
22
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
@@ -33,9 +33,9 @@ function resolveLocalSignupBootstrap(configuredMode, configuredInviteCodes, gene
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
const __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('server-
|
|
36
|
+
const __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('server-BJu2bFBy.cjs', document.baseURI).href)));
|
|
37
37
|
const __dirname$1 = path.dirname(__filename$1);
|
|
38
|
-
const require_ = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('server-
|
|
38
|
+
const require_ = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('server-BJu2bFBy.cjs', document.baseURI).href)));
|
|
39
39
|
const PRISMA_QUERY_ENGINE_FILES = {
|
|
40
40
|
"arm64-darwin": "libquery_engine-darwin-arm64.dylib.node",
|
|
41
41
|
"x64-darwin": "libquery_engine-darwin.dylib.node",
|
|
@@ -6,15 +6,15 @@ import { createRequire } from 'node:module';
|
|
|
6
6
|
import { randomBytes } from 'node:crypto';
|
|
7
7
|
import { spawn } from 'node:child_process';
|
|
8
8
|
import { createInterface } from 'node:readline/promises';
|
|
9
|
-
import { c as configuration } from './configuration-
|
|
10
|
-
import { u as updateSettings } from './persistence-
|
|
9
|
+
import { c as configuration } from './configuration-rTcdHkhE.mjs';
|
|
10
|
+
import { u as updateSettings } from './persistence-mr4Y484W.mjs';
|
|
11
11
|
import 'node:os';
|
|
12
|
-
import './package-
|
|
12
|
+
import './package-Q_ELj5DL.mjs';
|
|
13
13
|
import 'node:fs/promises';
|
|
14
14
|
import 'zod';
|
|
15
15
|
import './authRelay-DhQhkBvX.mjs';
|
|
16
16
|
import 'tweetnacl';
|
|
17
|
-
import './logger-
|
|
17
|
+
import './logger-SGCwRIV5.mjs';
|
|
18
18
|
import 'node:util';
|
|
19
19
|
|
|
20
20
|
function resolveLocalSignupBootstrap(configuredMode, configuredInviteCodes, generatedInviteCode) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var persistence = require('./persistence-
|
|
3
|
+
var persistence = require('./persistence-D0gNvqXe.cjs');
|
|
4
4
|
var cliUpdate = require('./cliUpdate-DsKXPFYp.cjs');
|
|
5
5
|
var node_fs = require('node:fs');
|
|
6
6
|
var path = require('node:path');
|
|
7
|
-
var configuration = require('./configuration-
|
|
8
|
-
var logger = require('./logger-
|
|
7
|
+
var configuration = require('./configuration-2Pbg3a0H.cjs');
|
|
8
|
+
var logger = require('./logger-CepF8C5Z.cjs');
|
|
9
9
|
var processTreeSnapshot = require('./processTreeSnapshot-mDbnuojn.cjs');
|
|
10
10
|
|
|
11
11
|
const PROCESS_IDENTITY_FIELDS = [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { o as hibernationReplaySeq } from './persistence-
|
|
1
|
+
import { o as hibernationReplaySeq } from './persistence-mr4Y484W.mjs';
|
|
2
2
|
import { c as compareExactVersions } from './cliUpdate-Y34VGe9Y.mjs';
|
|
3
3
|
import { existsSync, readFileSync, unlinkSync, mkdirSync, renameSync } from 'node:fs';
|
|
4
4
|
import { join } from 'node:path';
|
|
5
|
-
import { c as configuration, w as writePrivateFileSync } from './configuration-
|
|
6
|
-
import { l as logger } from './logger-
|
|
5
|
+
import { c as configuration, w as writePrivateFileSync } from './configuration-rTcdHkhE.mjs';
|
|
6
|
+
import { l as logger } from './logger-SGCwRIV5.mjs';
|
|
7
7
|
import { s as snapshotTree, k as killSurvivors } from './processTreeSnapshot-CuLJDNC-.mjs';
|
|
8
8
|
|
|
9
9
|
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-2Pbg3a0H.cjs');
|
|
5
5
|
var authRelay = require('./authRelay-Dy1qU9td.cjs');
|
|
6
|
-
var controlClient = require('./controlClient-
|
|
7
|
-
var persistence = require('./persistence-
|
|
6
|
+
var controlClient = require('./controlClient-CIqHL07h.cjs');
|
|
7
|
+
var persistence = require('./persistence-D0gNvqXe.cjs');
|
|
8
8
|
var node_crypto = require('node:crypto');
|
|
9
|
-
var time = require('./time-
|
|
9
|
+
var time = require('./time-Da5GIiCa.cjs');
|
|
10
10
|
var specialCommands = require('./specialCommands-J3JFOq0J.cjs');
|
|
11
11
|
var socket_ioClient = require('socket.io-client');
|
|
12
12
|
var backgroundTaskActivity = require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
@@ -206,6 +206,19 @@ function isControlCommand(text) {
|
|
|
206
206
|
return specialCommands.compactCommandText(text) !== null || specialCommands.parseClear(text).isClear;
|
|
207
207
|
}
|
|
208
208
|
const COMPACTION_FAILED = "Compaction failed:";
|
|
209
|
+
function discardReason(body, localId) {
|
|
210
|
+
if (!localId) return null;
|
|
211
|
+
const env = sessionEnvelope(body);
|
|
212
|
+
if (env?.ev?.t !== "queue-cancel" || !Array.isArray(env.ev.targetLocalKeys)) return null;
|
|
213
|
+
if (!env.ev.targetLocalKeys.includes(localId)) return null;
|
|
214
|
+
return typeof env.ev.reason === "string" && env.ev.reason.length > 0 ? env.ev.reason : "canceled";
|
|
215
|
+
}
|
|
216
|
+
function accountNotice(body) {
|
|
217
|
+
const b = asRecord(body);
|
|
218
|
+
const data = b?.role === "agent" && b.content?.type === "event" ? asRecord(b.content.data) : null;
|
|
219
|
+
if (data?.type !== "message" || typeof data.message !== "string" || typeof data.kind !== "string") return null;
|
|
220
|
+
return data.kind.startsWith("agent-profile-") ? { kind: data.kind, message: data.message } : null;
|
|
221
|
+
}
|
|
209
222
|
function controlCommandVerdict(body) {
|
|
210
223
|
const b = asRecord(body);
|
|
211
224
|
const data = b?.role === "agent" && b.content?.type === "event" ? asRecord(b.content.data) : null;
|
|
@@ -237,6 +250,10 @@ function analyzeLatestTurn(entries, options = {}) {
|
|
|
237
250
|
const steerAnchor = userIndex >= 0 && isSteerPrompt(entries[userIndex].body);
|
|
238
251
|
const anchorText = userIndex >= 0 ? userPromptText(entries[userIndex].body) : null;
|
|
239
252
|
const commandAnchor = anchorText !== null && isControlCommand(anchorText);
|
|
253
|
+
const anchorLocalId = userIndex >= 0 ? entries[userIndex].localId : null;
|
|
254
|
+
let discarded = null;
|
|
255
|
+
let refused = false;
|
|
256
|
+
let historyRejected = null;
|
|
240
257
|
for (let i = userIndex + 1; i < entries.length; i++) {
|
|
241
258
|
const body = entries[i].body;
|
|
242
259
|
if (options.anchor && isUserPrompt(body)) {
|
|
@@ -251,8 +268,28 @@ function analyzeLatestTurn(entries, options = {}) {
|
|
|
251
268
|
status = null;
|
|
252
269
|
error = null;
|
|
253
270
|
texts = [];
|
|
271
|
+
discarded = null;
|
|
272
|
+
refused = false;
|
|
273
|
+
historyRejected = null;
|
|
254
274
|
continue;
|
|
255
275
|
}
|
|
276
|
+
const reason = !ended ? discardReason(body, anchorLocalId) : null;
|
|
277
|
+
if (reason) {
|
|
278
|
+
ended = true;
|
|
279
|
+
discarded = reason;
|
|
280
|
+
status = reason === "failed" ? "failed" : "cancelled";
|
|
281
|
+
error = "Not executed";
|
|
282
|
+
continue;
|
|
283
|
+
}
|
|
284
|
+
const notice = accountNotice(body);
|
|
285
|
+
if (notice?.kind === "agent-profile-history-rejected") historyRejected = notice.message;
|
|
286
|
+
if (discarded) {
|
|
287
|
+
if (notice?.kind === "agent-profile-unavailable" && !refused) {
|
|
288
|
+
refused = true;
|
|
289
|
+
error = `Not executed: ${notice.message}`;
|
|
290
|
+
}
|
|
291
|
+
if (env?.ev?.t === "turn-end") continue;
|
|
292
|
+
}
|
|
256
293
|
if (env?.ev?.t === "turn-end") {
|
|
257
294
|
lastMarker = "end";
|
|
258
295
|
if (userIndex >= 0 && emitsStarts && !startedAfterPrompt && !steerAnchor) continue;
|
|
@@ -274,13 +311,17 @@ function analyzeLatestTurn(entries, options = {}) {
|
|
|
274
311
|
else texts.push(piece.text);
|
|
275
312
|
}
|
|
276
313
|
if (userIndex < 0) ended = lastMarker === "end";
|
|
314
|
+
const rejectedHistory = ended && !discarded && status === "failed" && historyRejected !== null;
|
|
315
|
+
if (rejectedHistory) error = error ? `${historyRejected} (${error})` : historyRejected;
|
|
277
316
|
return {
|
|
278
317
|
userSeq: userIndex >= 0 ? entries[userIndex].seq : null,
|
|
279
318
|
ended,
|
|
280
319
|
status: ended ? status : null,
|
|
281
320
|
error: ended ? error : null,
|
|
282
321
|
answer: texts.join("\n\n").trim(),
|
|
283
|
-
lastSeq
|
|
322
|
+
lastSeq,
|
|
323
|
+
...ended && discarded ? { discarded, ...refused ? { refusal: "agent-profile-unavailable" } : {} } : {},
|
|
324
|
+
...rejectedHistory ? { refusal: "agent-profile-history-rejected" } : {}
|
|
284
325
|
};
|
|
285
326
|
}
|
|
286
327
|
|
|
@@ -681,11 +722,12 @@ async function readSessionLog(sessionId, persisted, limit) {
|
|
|
681
722
|
messages.reverse();
|
|
682
723
|
const key = authRelay.decodeBase64(persisted.encryptionKey);
|
|
683
724
|
return messages.map((message) => {
|
|
684
|
-
|
|
725
|
+
const localId = typeof message.localId === "string" ? message.localId : null;
|
|
726
|
+
if (message.content?.t !== "encrypted") return { seq: message.seq, body: null, localId };
|
|
685
727
|
try {
|
|
686
|
-
return { seq: message.seq, body: authRelay.decrypt(key, persisted.encryptionVariant, authRelay.decodeBase64(message.content.c)) };
|
|
728
|
+
return { seq: message.seq, body: authRelay.decrypt(key, persisted.encryptionVariant, authRelay.decodeBase64(message.content.c)), localId };
|
|
687
729
|
} catch {
|
|
688
|
-
return { seq: message.seq, body: null };
|
|
730
|
+
return { seq: message.seq, body: null, localId };
|
|
689
731
|
}
|
|
690
732
|
});
|
|
691
733
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
|
-
import { c as configuration } from './configuration-
|
|
2
|
+
import { c as configuration } from './configuration-rTcdHkhE.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, h as stopDaemonSession } from './controlClient-
|
|
5
|
-
import { b as readCredentialsForConfiguredRelay, c as readPersistedSessions } from './persistence-
|
|
4
|
+
import { l as listDaemonSessions, h as stopDaemonSession } from './controlClient-BIdGnYBo.mjs';
|
|
5
|
+
import { b as readCredentialsForConfiguredRelay, c as readPersistedSessions } from './persistence-mr4Y484W.mjs';
|
|
6
6
|
import { randomUUID } from 'node:crypto';
|
|
7
|
-
import { d as delay } from './time-
|
|
7
|
+
import { d as delay } from './time-0Ru4clBD.mjs';
|
|
8
8
|
import { c as compactCommandText, p as parseClear } from './specialCommands-MXUN0wfI.mjs';
|
|
9
9
|
import { io } from 'socket.io-client';
|
|
10
10
|
import { b as backgroundTasksReport } from './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
@@ -204,6 +204,19 @@ function isControlCommand(text) {
|
|
|
204
204
|
return compactCommandText(text) !== null || parseClear(text).isClear;
|
|
205
205
|
}
|
|
206
206
|
const COMPACTION_FAILED = "Compaction failed:";
|
|
207
|
+
function discardReason(body, localId) {
|
|
208
|
+
if (!localId) return null;
|
|
209
|
+
const env = sessionEnvelope(body);
|
|
210
|
+
if (env?.ev?.t !== "queue-cancel" || !Array.isArray(env.ev.targetLocalKeys)) return null;
|
|
211
|
+
if (!env.ev.targetLocalKeys.includes(localId)) return null;
|
|
212
|
+
return typeof env.ev.reason === "string" && env.ev.reason.length > 0 ? env.ev.reason : "canceled";
|
|
213
|
+
}
|
|
214
|
+
function accountNotice(body) {
|
|
215
|
+
const b = asRecord(body);
|
|
216
|
+
const data = b?.role === "agent" && b.content?.type === "event" ? asRecord(b.content.data) : null;
|
|
217
|
+
if (data?.type !== "message" || typeof data.message !== "string" || typeof data.kind !== "string") return null;
|
|
218
|
+
return data.kind.startsWith("agent-profile-") ? { kind: data.kind, message: data.message } : null;
|
|
219
|
+
}
|
|
207
220
|
function controlCommandVerdict(body) {
|
|
208
221
|
const b = asRecord(body);
|
|
209
222
|
const data = b?.role === "agent" && b.content?.type === "event" ? asRecord(b.content.data) : null;
|
|
@@ -235,6 +248,10 @@ function analyzeLatestTurn(entries, options = {}) {
|
|
|
235
248
|
const steerAnchor = userIndex >= 0 && isSteerPrompt(entries[userIndex].body);
|
|
236
249
|
const anchorText = userIndex >= 0 ? userPromptText(entries[userIndex].body) : null;
|
|
237
250
|
const commandAnchor = anchorText !== null && isControlCommand(anchorText);
|
|
251
|
+
const anchorLocalId = userIndex >= 0 ? entries[userIndex].localId : null;
|
|
252
|
+
let discarded = null;
|
|
253
|
+
let refused = false;
|
|
254
|
+
let historyRejected = null;
|
|
238
255
|
for (let i = userIndex + 1; i < entries.length; i++) {
|
|
239
256
|
const body = entries[i].body;
|
|
240
257
|
if (options.anchor && isUserPrompt(body)) {
|
|
@@ -249,8 +266,28 @@ function analyzeLatestTurn(entries, options = {}) {
|
|
|
249
266
|
status = null;
|
|
250
267
|
error = null;
|
|
251
268
|
texts = [];
|
|
269
|
+
discarded = null;
|
|
270
|
+
refused = false;
|
|
271
|
+
historyRejected = null;
|
|
252
272
|
continue;
|
|
253
273
|
}
|
|
274
|
+
const reason = !ended ? discardReason(body, anchorLocalId) : null;
|
|
275
|
+
if (reason) {
|
|
276
|
+
ended = true;
|
|
277
|
+
discarded = reason;
|
|
278
|
+
status = reason === "failed" ? "failed" : "cancelled";
|
|
279
|
+
error = "Not executed";
|
|
280
|
+
continue;
|
|
281
|
+
}
|
|
282
|
+
const notice = accountNotice(body);
|
|
283
|
+
if (notice?.kind === "agent-profile-history-rejected") historyRejected = notice.message;
|
|
284
|
+
if (discarded) {
|
|
285
|
+
if (notice?.kind === "agent-profile-unavailable" && !refused) {
|
|
286
|
+
refused = true;
|
|
287
|
+
error = `Not executed: ${notice.message}`;
|
|
288
|
+
}
|
|
289
|
+
if (env?.ev?.t === "turn-end") continue;
|
|
290
|
+
}
|
|
254
291
|
if (env?.ev?.t === "turn-end") {
|
|
255
292
|
lastMarker = "end";
|
|
256
293
|
if (userIndex >= 0 && emitsStarts && !startedAfterPrompt && !steerAnchor) continue;
|
|
@@ -272,13 +309,17 @@ function analyzeLatestTurn(entries, options = {}) {
|
|
|
272
309
|
else texts.push(piece.text);
|
|
273
310
|
}
|
|
274
311
|
if (userIndex < 0) ended = lastMarker === "end";
|
|
312
|
+
const rejectedHistory = ended && !discarded && status === "failed" && historyRejected !== null;
|
|
313
|
+
if (rejectedHistory) error = error ? `${historyRejected} (${error})` : historyRejected;
|
|
275
314
|
return {
|
|
276
315
|
userSeq: userIndex >= 0 ? entries[userIndex].seq : null,
|
|
277
316
|
ended,
|
|
278
317
|
status: ended ? status : null,
|
|
279
318
|
error: ended ? error : null,
|
|
280
319
|
answer: texts.join("\n\n").trim(),
|
|
281
|
-
lastSeq
|
|
320
|
+
lastSeq,
|
|
321
|
+
...ended && discarded ? { discarded, ...refused ? { refusal: "agent-profile-unavailable" } : {} } : {},
|
|
322
|
+
...rejectedHistory ? { refusal: "agent-profile-history-rejected" } : {}
|
|
282
323
|
};
|
|
283
324
|
}
|
|
284
325
|
|
|
@@ -679,11 +720,12 @@ async function readSessionLog(sessionId, persisted, limit) {
|
|
|
679
720
|
messages.reverse();
|
|
680
721
|
const key = decodeBase64(persisted.encryptionKey);
|
|
681
722
|
return messages.map((message) => {
|
|
682
|
-
|
|
723
|
+
const localId = typeof message.localId === "string" ? message.localId : null;
|
|
724
|
+
if (message.content?.t !== "encrypted") return { seq: message.seq, body: null, localId };
|
|
683
725
|
try {
|
|
684
|
-
return { seq: message.seq, body: decrypt(key, persisted.encryptionVariant, decodeBase64(message.content.c)) };
|
|
726
|
+
return { seq: message.seq, body: decrypt(key, persisted.encryptionVariant, decodeBase64(message.content.c)), localId };
|
|
685
727
|
} catch {
|
|
686
|
-
return { seq: message.seq, body: null };
|
|
728
|
+
return { seq: message.seq, body: null, localId };
|
|
687
729
|
}
|
|
688
730
|
});
|
|
689
731
|
}
|
|
@@ -795,4 +837,4 @@ async function unarchiveSession(sessionId) {
|
|
|
795
837
|
);
|
|
796
838
|
}
|
|
797
839
|
|
|
798
|
-
export { DEFAULT_RECENT_LIMIT as D, MAX_READ_LIMIT as M, TurnWaitTimeoutError as T, listSessions as a, stopSession as b, resolvePermissionRequest as c, archiveSession as d, sendUserMessage as e, readSessionMetadata as f, waitForSessionKey as g,
|
|
840
|
+
export { DEFAULT_RECENT_LIMIT as D, MAX_READ_LIMIT as M, TurnWaitTimeoutError as T, listSessions as a, stopSession as b, resolvePermissionRequest as c, archiveSession as d, sendUserMessage as e, readSessionMetadata as f, waitForSessionKey as g, analyzeLatestTurn as h, readSessionLog as i, TURN_WINDOW as j, sessionLiveness as k, listAccountSessions as l, readSessionState as m, lineageOf as n, openUserScopedSocket as o, userPromptText as p, readSessionTranscript as r, sessionWebUrl as s, unarchiveSession as u, waitForTurnEnd as w };
|
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { c as configuration } from './configuration-
|
|
3
|
-
import { r as restartDaemonSession, l as listDaemonSessions } from './controlClient-
|
|
4
|
-
import { A as AccountService, l as localRestartFailure, b as bindResultMessages } from './accountService-
|
|
5
|
-
import { r as readSessionBindings, a as readAccounts } from './store
|
|
2
|
+
import { c as configuration } from './configuration-rTcdHkhE.mjs';
|
|
3
|
+
import { r as restartDaemonSession, l as listDaemonSessions } from './controlClient-BIdGnYBo.mjs';
|
|
4
|
+
import { A as AccountService, l as localRestartFailure, b as bindResultMessages } from './accountService-Cd7bnkfd.mjs';
|
|
5
|
+
import { r as readSessionBindings, a as readAccounts } from './store-Vej_738f.mjs';
|
|
6
6
|
import 'node:fs';
|
|
7
7
|
import 'node:os';
|
|
8
8
|
import 'node:path';
|
|
9
|
-
import './package-
|
|
9
|
+
import './package-Q_ELj5DL.mjs';
|
|
10
10
|
import 'node:fs/promises';
|
|
11
|
-
import './logger-
|
|
11
|
+
import './logger-SGCwRIV5.mjs';
|
|
12
12
|
import 'node:util';
|
|
13
|
-
import './persistence-
|
|
13
|
+
import './persistence-mr4Y484W.mjs';
|
|
14
14
|
import 'zod';
|
|
15
15
|
import './authRelay-DhQhkBvX.mjs';
|
|
16
16
|
import 'node:crypto';
|
|
17
17
|
import 'tweetnacl';
|
|
18
|
-
import './index-
|
|
18
|
+
import './index-D1YnIih6.mjs';
|
|
19
19
|
import '@paralleldrive/cuid2';
|
|
20
20
|
import 'node:child_process';
|
|
21
|
-
import './claudeAccountEnv-
|
|
21
|
+
import './claudeAccountEnv-BL1pR_37.mjs';
|
|
22
|
+
import './codexAccount-NOX5pmQf.mjs';
|
|
23
|
+
import 'node:readline';
|
|
22
24
|
|
|
23
25
|
const SESSION_PROVIDER_HELP = `Usage:
|
|
24
26
|
very-happy session provider --list
|
|
@@ -1,26 +1,28 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
|
-
var configuration = require('./configuration-
|
|
5
|
-
var controlClient = require('./controlClient-
|
|
6
|
-
var accountService = require('./accountService-
|
|
7
|
-
var store = require('./store-
|
|
4
|
+
var configuration = require('./configuration-2Pbg3a0H.cjs');
|
|
5
|
+
var controlClient = require('./controlClient-CIqHL07h.cjs');
|
|
6
|
+
var accountService = require('./accountService-CuUSJDhP.cjs');
|
|
7
|
+
var store = require('./store-CkNa6oj4.cjs');
|
|
8
8
|
require('node:fs');
|
|
9
9
|
require('node:os');
|
|
10
10
|
require('node:path');
|
|
11
|
-
require('./package-
|
|
11
|
+
require('./package-C7WgesIw.cjs');
|
|
12
12
|
require('node:fs/promises');
|
|
13
|
-
require('./logger-
|
|
13
|
+
require('./logger-CepF8C5Z.cjs');
|
|
14
14
|
require('node:util');
|
|
15
|
-
require('./persistence-
|
|
15
|
+
require('./persistence-D0gNvqXe.cjs');
|
|
16
16
|
require('zod');
|
|
17
17
|
require('./authRelay-Dy1qU9td.cjs');
|
|
18
18
|
require('node:crypto');
|
|
19
19
|
require('tweetnacl');
|
|
20
|
-
require('./index-
|
|
20
|
+
require('./index-BUFrKZeQ.cjs');
|
|
21
21
|
require('@paralleldrive/cuid2');
|
|
22
22
|
require('node:child_process');
|
|
23
|
-
require('./claudeAccountEnv-
|
|
23
|
+
require('./claudeAccountEnv-CEX_EMZr.cjs');
|
|
24
|
+
require('./codexAccount-BDQjRbtI.cjs');
|
|
25
|
+
require('node:readline');
|
|
24
26
|
|
|
25
27
|
const SESSION_PROVIDER_HELP = `Usage:
|
|
26
28
|
very-happy session provider --list
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var sync = require('./sync-
|
|
3
|
+
var sync = require('./sync-BfrnSdL1.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-CepF8C5Z.cjs');
|
|
9
|
+
var startFileWatcher = require('./startFileWatcher-Ca5izs24.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-DVcNkv8e.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-SGCwRIV5.mjs';
|
|
7
|
+
import { s as startFileWatcher } from './startFileWatcher-COCEjNT8.mjs';
|
|
8
8
|
import { g as getProjectPath } from './path-D2wdaNSk.mjs';
|
|
9
9
|
|
|
10
10
|
class Future {
|
|
@@ -2,30 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var exitAfterFlush = require('./exitAfterFlush-DIT_sIxR.cjs');
|
|
5
|
-
var sessionOps = require('./sessionOps-
|
|
5
|
+
var sessionOps = require('./sessionOps-BUlpeaUe.cjs');
|
|
6
6
|
var ids = require('./ids-B6ZC0HGt.cjs');
|
|
7
|
-
var peerTools = require('./peerTools-
|
|
8
|
-
var persistence = require('./persistence-
|
|
7
|
+
var peerTools = require('./peerTools-BcZAbqBL.cjs');
|
|
8
|
+
var persistence = require('./persistence-D0gNvqXe.cjs');
|
|
9
9
|
var path = require('node:path');
|
|
10
|
-
var remoteSessionClient = require('./remoteSessionClient-
|
|
10
|
+
var remoteSessionClient = require('./remoteSessionClient-DOWgca08.cjs');
|
|
11
11
|
require('axios');
|
|
12
|
-
require('./configuration-
|
|
12
|
+
require('./configuration-2Pbg3a0H.cjs');
|
|
13
13
|
require('node:fs');
|
|
14
14
|
require('node:os');
|
|
15
|
-
require('./package-
|
|
15
|
+
require('./package-C7WgesIw.cjs');
|
|
16
16
|
require('node:fs/promises');
|
|
17
17
|
require('./authRelay-Dy1qU9td.cjs');
|
|
18
18
|
require('node:crypto');
|
|
19
19
|
require('tweetnacl');
|
|
20
|
-
require('./controlClient-
|
|
21
|
-
require('./logger-
|
|
20
|
+
require('./controlClient-CIqHL07h.cjs');
|
|
21
|
+
require('./logger-CepF8C5Z.cjs');
|
|
22
22
|
require('node:util');
|
|
23
|
-
require('./time-
|
|
23
|
+
require('./time-Da5GIiCa.cjs');
|
|
24
24
|
require('./specialCommands-J3JFOq0J.cjs');
|
|
25
25
|
require('socket.io-client');
|
|
26
26
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
27
27
|
require('zod');
|
|
28
|
-
require('./client-
|
|
28
|
+
require('./client-CsfPUxLy.cjs');
|
|
29
29
|
|
|
30
30
|
const MACHINE_ID_RE = /^[a-zA-Z0-9_-]{1,128}$/;
|
|
31
31
|
const ACTIONS = ["list", "read", "stop", "archive", "approve", "deny", "peers", "message"];
|
|
@@ -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-DduOsw6p.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-BGnvhRfb.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 {
|