very-happy-cli 0.2.188 → 0.2.189
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-B8AYkp5n.cjs → AcpBackend-DRPJ2g9G.cjs} +3 -3
- package/dist/{AcpBackend-2loP7MpF.mjs → AcpBackend-fj16v_cf.mjs} +3 -3
- package/dist/{AcpSessionManager-C17doAoR.mjs → AcpSessionManager-BZPmUDL5.mjs} +3 -3
- package/dist/{AcpSessionManager-CLqo9R9Y.cjs → AcpSessionManager-DM-KKg6v.cjs} +3 -3
- package/dist/{BasePermissionHandler-CrfyUmqO.mjs → BasePermissionHandler-CVtH-snr.mjs} +1 -1
- package/dist/{BasePermissionHandler-C8UEcFz0.cjs → BasePermissionHandler-DjM16uJz.cjs} +1 -1
- package/dist/{acpSessionResume-OuYlLGxL.cjs → acpSessionResume-2BTMsB7_.cjs} +1 -1
- package/dist/{acpSessionResume-F705a1cF.mjs → acpSessionResume-Dxl1LRAT.mjs} +1 -1
- package/dist/{agentHome-Dc7LYF3d.mjs → agentHome-CHctmMzZ.mjs} +4 -4
- package/dist/{agentHome-DsKHJ_Sf.cjs → agentHome-W17n1gnH.cjs} +4 -4
- package/dist/{api-DNKa7kVy.mjs → api-B0yN68XH.mjs} +9 -9
- package/dist/{api-BOqjYd5r.cjs → api-BDuuyys8.cjs} +9 -9
- package/dist/{apiMachine--rcPpMmt.cjs → apiMachine-iddD-F19.cjs} +13 -13
- package/dist/{apiMachine-Di1G9ECW.mjs → apiMachine-mc9CsKuS.mjs} +13 -13
- package/dist/{attachmentContent-BFRMLong.cjs → attachmentContent-Cc5b7TPr.cjs} +2 -2
- package/dist/{attachmentContent-C9S4ekAz.mjs → attachmentContent-CcIdMfAx.mjs} +2 -2
- package/dist/{auth-CQtfznF0.cjs → auth-B7tVmyfX.cjs} +8 -8
- package/dist/{auth-BNhhk2Fr.mjs → auth-CyrVvWHF.mjs} +5 -5
- package/dist/{auth-Bzwo_vOM.mjs → auth-DNAgkUkB.mjs} +8 -8
- package/dist/{auth-CXmI92aj.cjs → auth-DQKSpaEf.cjs} +5 -5
- package/dist/{auto-DHYOLnXB.mjs → auto-BklCipw1.mjs} +16 -15
- package/dist/{auto-DXLdaX5O.cjs → auto-CetlumDo.cjs} +16 -15
- package/dist/{bootstrap-eJ1l7VYl.cjs → bootstrap-CDY-Vz8q.cjs} +2 -2
- package/dist/{bootstrap-Di38SnpN.mjs → bootstrap-DfXwkUQb.mjs} +2 -2
- package/dist/{browser-D3uBFRQu.cjs → browser-D1yzC0Tu.cjs} +1 -1
- package/dist/{browser-6Cg7G6bb.mjs → browser-vb0k1zfI.mjs} +1 -1
- package/dist/{claudeLocal-BBaE4QF_.cjs → claudeLocal-2dJIiTIq.cjs} +4 -4
- package/dist/{claudeLocal-CqaEs-81.mjs → claudeLocal-Bid_rC_v.mjs} +4 -4
- package/dist/{claudeLocalLauncher-BDUPxtsI.mjs → claudeLocalLauncher-5pzpETxd.mjs} +9 -9
- package/dist/{claudeLocalLauncher-wPxKtH_P.cjs → claudeLocalLauncher-Jm5oQX5Z.cjs} +9 -9
- package/dist/{claudeSessionFork-CmY25Fl3.cjs → claudeSessionFork-DsbcuDEJ.cjs} +1 -1
- package/dist/{claudeSessionFork-DzWFzj9m.mjs → claudeSessionFork-DzecSBO4.mjs} +1 -1
- package/dist/{client-DWws_aQK.mjs → client-B161HwAk.mjs} +2 -2
- package/dist/{client-C2HcMqRF.cjs → client-BNmFaRXZ.cjs} +3 -3
- package/dist/{client-qJ0y8fus.mjs → client-C9Ecbtko.mjs} +3 -3
- package/dist/{client-DcDE6Ifk.mjs → client-CvjjadIE.mjs} +2 -2
- package/dist/{client-DmY03OZZ.cjs → client-D0aYWt53.cjs} +2 -2
- package/dist/{client-agH03Irm.cjs → client-DIfxYk7B.cjs} +2 -2
- package/dist/codex/happyMcpStdioBridge.cjs +16 -15
- package/dist/codex/happyMcpStdioBridge.mjs +16 -15
- package/dist/{codexAppServerClient-DgE99i7X.mjs → codexAppServerClient-BlVmpjR-.mjs} +27 -3
- package/dist/{codexAppServerClient-DwzC8LR0.cjs → codexAppServerClient-CO9f4Jr8.cjs} +27 -3
- package/dist/{codexCommand-1vFEA1KT.cjs → codexCommand-BfoRP6E9.cjs} +117 -54
- package/dist/{codexCommand-DUSVzbKh.mjs → codexCommand-CAMR4g5o.mjs} +115 -52
- package/dist/{codexTermination-Bybovr2z.mjs → codexTermination-BvGlN02_.mjs} +1 -1
- package/dist/{codexTermination-DuDPyBRR.cjs → codexTermination-IrLZQzKC.cjs} +1 -1
- package/dist/{config-C4xOL5bH.cjs → config-BGFqQGvh.cjs} +3 -3
- package/dist/{config-BrzZ0O-6.mjs → config-CtMgGPvf.mjs} +3 -3
- package/dist/{configuration-BZHpFD7K.mjs → configuration-1FabKklB.mjs} +1 -1
- package/dist/{configuration-DyPW9mVa.cjs → configuration-C0ctLGW2.cjs} +1 -1
- package/dist/{connect-Cw_INlj8.mjs → connect-0lSugpjf.mjs} +12 -12
- package/dist/{connect-DurKwMEo.cjs → connect-DSw-2f52.cjs} +12 -12
- package/dist/{context-t7YV0aZc.mjs → context-BgxbXWKS.mjs} +1 -1
- package/dist/{context-2xDvjkQp.cjs → context-D-hEk5pC.cjs} +1 -1
- package/dist/{controlClient-Bw56NIrj.mjs → controlClient-DwNnNAUx.mjs} +3 -3
- package/dist/{controlClient-DvFaPsg6.cjs → controlClient-F7hAEEy2.cjs} +3 -3
- package/dist/{createSessionMetadata-Dn5BkLfU.mjs → createSessionMetadata-CG6Klinp.mjs} +2 -2
- package/dist/{createSessionMetadata-Dpg6bV6f.cjs → createSessionMetadata-DezS33OM.cjs} +2 -2
- package/dist/{defaultPermissionMode-Dlm0q1m0.cjs → defaultPermissionMode-5EvgRq38.cjs} +2 -2
- package/dist/{defaultPermissionMode-DMTnlccv.mjs → defaultPermissionMode-e2bIIJG4.mjs} +2 -2
- package/dist/{deterministicJson-CsRckxVq.mjs → deterministicJson-BMwgK21e.mjs} +12 -12
- package/dist/{deterministicJson-D0BrV1FD.cjs → deterministicJson-D0LU_XbO.cjs} +12 -12
- package/dist/{doctor-B4HQiW6j.mjs → doctor-D16hySse.mjs} +7 -7
- package/dist/{doctor-CYe4d9kU.cjs → doctor-wVNvRarN.cjs} +7 -7
- package/dist/{downloadTarget-tYMV_VHo.mjs → downloadTarget-C6tqaXGm.mjs} +6 -6
- package/dist/{downloadTarget-CuhBVvuC.cjs → downloadTarget-aNcCxVRL.cjs} +6 -6
- package/dist/{ensureDaemonRunning-Ce3BlWiR.cjs → ensureDaemonRunning-CIghxgDR.cjs} +5 -5
- package/dist/{ensureDaemonRunning-DVtIG9z7.mjs → ensureDaemonRunning-DZq8bvsp.mjs} +5 -5
- package/dist/{handleResumeCommand-BU1uMNyv.mjs → handleResumeCommand-BNnD7EuD.mjs} +5 -5
- package/dist/{handleResumeCommand-CLxsmAW0.cjs → handleResumeCommand-CMUTygsm.cjs} +5 -5
- package/dist/{index-DoXbGEAi.cjs → index-4TpmBb2Q.cjs} +3 -3
- package/dist/{index-wWJJAQRk.cjs → index-B81qV_F_.cjs} +4 -4
- package/dist/{index-DDz0Ftoy.mjs → index-BCQr-5Ei.mjs} +4 -4
- package/dist/{index-ChX0eVXw.mjs → index-BuiG8hmg.mjs} +47 -44
- package/dist/{index-B1OxWiNG.mjs → index-CKd20r1W.mjs} +3 -3
- package/dist/{index-DG1kGjkF.cjs → index-CnzsOD19.cjs} +48 -45
- package/dist/{index-KwuXqLwe.cjs → index-De02DNu5.cjs} +4 -4
- package/dist/{index-CVHRt3SS.mjs → index-Df0bc_et.mjs} +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-CMa_FOWu.mjs → install-23ehAdTD.mjs} +3 -3
- package/dist/{install-cAYvHxXR.cjs → install-DNbIEJUk.cjs} +3 -3
- package/dist/lib.cjs +11 -11
- package/dist/lib.d.cts +8 -0
- package/dist/lib.d.mts +8 -0
- package/dist/lib.mjs +11 -11
- package/dist/{lidState-d1vgQ3n7.cjs → lidState-B4dHJCeS.cjs} +1 -1
- package/dist/{lidState-D-lsD1FS.mjs → lidState-q5Its2Hm.mjs} +1 -1
- package/dist/{localHappyAgentAuth-DucSnCg3.cjs → localHappyAgentAuth-CG2nPD_H.cjs} +1 -1
- package/dist/{localHappyAgentAuth-wvDp-nGj.mjs → localHappyAgentAuth-C_G5u5lY.mjs} +1 -1
- package/dist/{logger-C3vZG6Q0.cjs → logger-BP1SW7Cs.cjs} +2 -2
- package/dist/{logger-RpzJ4d8V.mjs → logger-DOKH3Zbh.mjs} +2 -2
- package/dist/{machineMetadata-CAvFq1Jg.cjs → machineMetadata-BKX3ov9g.cjs} +3 -3
- package/dist/{machineMetadata-CiQ2_1Mq.mjs → machineMetadata-D-5qeIqd.mjs} +3 -3
- package/dist/{main-IPhaImjm.mjs → main-DODz8DQE.mjs} +46 -46
- package/dist/{main-ChpYcFZi.cjs → main-ndpVIaSG.cjs} +46 -46
- package/dist/{mcp-CWnMvju6.mjs → mcp-BBwbSODp.mjs} +15 -14
- package/dist/{mcp-2xF232hL.cjs → mcp-Bc4U4exu.cjs} +15 -14
- package/dist/{mirrorProtocol-CVzPObON.cjs → mirrorProtocol-CiA3hO2y.cjs} +2 -2
- package/dist/{mirrorProtocol-Dr7fNq8V.mjs → mirrorProtocol-D2vTWteS.mjs} +2 -2
- package/dist/{package-Gnf_935w.cjs → package-CYDdLA6R.cjs} +7 -7
- package/dist/{package-CwB8rFJt.mjs → package-DTcaIhjW.mjs} +7 -7
- package/dist/{panels-DTlTsndU.cjs → panels-C2xZ8rqU.cjs} +5 -5
- package/dist/{panels-L1mSkC-y.mjs → panels-DCaLxlSL.mjs} +5 -5
- package/dist/{peerTools-C1E5cQ86.cjs → peerTools-B4315xjX.cjs} +5 -5
- package/dist/{peerTools-2_8Bw9PU.mjs → peerTools-BtrUnSwz.mjs} +5 -5
- package/dist/{persistence-Bn4qEbDg.mjs → persistence-0INrP3aB.mjs} +2 -2
- package/dist/{persistence-CqtjFiD1.cjs → persistence-CrzC7yr_.cjs} +2 -2
- package/dist/{piRunnerArgs-BI8yQRBZ.cjs → piRunnerArgs-BtzW_kfh.cjs} +1 -1
- package/dist/{piRunnerArgs-DWBb63W9.mjs → piRunnerArgs-DRuxMlX1.mjs} +1 -1
- package/dist/{piRuntime-Do8oqbm3.mjs → piRuntime-BMAFpIBV.mjs} +1 -1
- package/dist/{piRuntime--mQ43MSM.cjs → piRuntime-DEbPE_kW.cjs} +1 -1
- package/dist/{piTerminal-GC1KHTYQ.mjs → piTerminal-DQXV8_we.mjs} +17 -16
- package/dist/{piTerminal-BzcvLFsP.cjs → piTerminal-MtxDtBE2.cjs} +17 -16
- package/dist/{pushNotifications-Bb-QSqXw.cjs → pushNotifications-CalIS9sq.cjs} +2 -2
- package/dist/{pushNotifications-BThg4nVd.mjs → pushNotifications-Cq1s8YVK.mjs} +2 -2
- package/dist/{query-CkgIJ_Dy.mjs → query-BYiPBHPC.mjs} +1 -1
- package/dist/{query-Bz3pocKH.cjs → query-CE2XDhhw.cjs} +1 -1
- package/dist/{rateLimitReporter-BkHyvLru.cjs → rateLimitReporter-BKmoOZQi.cjs} +3 -3
- package/dist/{rateLimitReporter-Iw4k3Bbr.mjs → rateLimitReporter-DR5LXuiQ.mjs} +3 -3
- package/dist/{rateLimitWindows-CQ4tIQnx.mjs → rateLimitWindows-5vIuNjko.mjs} +1 -1
- package/dist/{rateLimitWindows-Bm_dcQGW.cjs → rateLimitWindows-Cs56YJCH.cjs} +1 -1
- package/dist/{registerCommonHandlers-CaWl9ll1.mjs → registerCommonHandlers-DWkTysjD.mjs} +2 -2
- package/dist/{registerCommonHandlers-CIs6H2DV.cjs → registerCommonHandlers-DZPozYxc.cjs} +2 -2
- package/dist/{specialCommands-DHU7TNeK.mjs → registerKillSessionHandler-CSCTRIbI.mjs} +6 -59
- package/dist/{specialCommands-BsvSoDhC.cjs → registerKillSessionHandler-DhCjrs44.cjs} +5 -62
- package/dist/{remoteSessionClient-DgUMfPW4.cjs → remoteSessionClient-Dq8XTLQP.cjs} +5 -5
- package/dist/{remoteSessionClient-uPj7omsw.mjs → remoteSessionClient-Vfj_5g2-.mjs} +5 -5
- package/dist/{reportProgressTool-DUEq3xAL.mjs → reportProgressTool-B7zmX7NJ.mjs} +2 -2
- package/dist/{reportProgressTool-CaJ8EwLq.cjs → reportProgressTool-DznxPKES.cjs} +2 -2
- package/dist/{run-DyyGMqND.cjs → run-Ca8BiNCp.cjs} +34 -33
- package/dist/{run-DTUJBD6p.mjs → run-DSfNcR62.mjs} +34 -33
- package/dist/{runClaude-8JDaPoGQ.cjs → runClaude-ClQQcgoO.cjs} +21 -21
- package/dist/{runClaude-DTNvIz2J.mjs → runClaude-hoepv-0X.mjs} +21 -21
- package/dist/{runClaudeDeps-CgGkgg7e.mjs → runClaudeDeps-D_v8t2SK.mjs} +46 -43
- package/dist/{runClaudeDeps-BeLo5zss.cjs → runClaudeDeps-ck5_GYlP.cjs} +43 -39
- package/dist/{runGemini-eU8UOzfc.mjs → runGemini-CTr2-cYG.mjs} +48 -47
- package/dist/{runGemini-BSOdU563.cjs → runGemini-Cj0XsMiM.cjs} +50 -49
- package/dist/{runOpenClaw-CYyFoGRZ.cjs → runOpenClaw-BoN1e3lP.cjs} +26 -25
- package/dist/{runOpenClaw-D8RZiA1e.mjs → runOpenClaw-CdDMntiV.mjs} +24 -23
- package/dist/{sandbox-C8zfNX-4.cjs → sandbox-BY2h19gc.cjs} +4 -4
- package/dist/{sandbox-DlPahdhl.mjs → sandbox-DcaWB-Ou.mjs} +4 -4
- package/dist/selfCheck-BQ_H2Sns.mjs +86 -0
- package/dist/{selfCheck-D28nvuPJ.cjs → selfCheck-DFS_GUaQ.cjs} +37 -37
- package/dist/{send-C58kX4qz.cjs → send-BMsUYU6g.cjs} +9 -8
- package/dist/{send-DBpv-1eh.mjs → send-UBTHHNvZ.mjs} +9 -8
- package/dist/{server-J5K6pOox.mjs → server-Dt3mCtfQ.mjs} +4 -4
- package/dist/{server-I_CETZzn.cjs → server-YrHMHNz1.cjs} +6 -6
- package/dist/{sessionLock-DjE7O0LS.cjs → sessionLock-DSqiP2lH.cjs} +3 -3
- package/dist/{sessionLock-C7Wg1RVd.mjs → sessionLock-tEFvFXLD.mjs} +3 -3
- package/dist/{sessionOps-DGMpl9NB.cjs → sessionOps-BzeOKIEF.cjs} +27 -4
- package/dist/{sessionOps-CYjMT7Ad.mjs → sessionOps-CljctDs5.mjs} +27 -4
- package/dist/{sessionProvider-TLiFn9kD.mjs → sessionProvider-BnUFSJXM.mjs} +5 -5
- package/dist/{sessionProvider-DVtxrOuM.cjs → sessionProvider-ORgzmkXy.cjs} +5 -5
- package/dist/{sessionScanner-BZ1ZSn6I.cjs → sessionScanner-Cr6PJ3PT.cjs} +3 -3
- package/dist/{sessionScanner-CknV1IlN.mjs → sessionScanner-DZUlkdF6.mjs} +3 -3
- package/dist/{sessions-DU4bxkap.mjs → sessions-15cag-su.mjs} +11 -10
- package/dist/{sessions-CTkBKs5U.cjs → sessions-aIo_HjmY.cjs} +11 -10
- package/dist/{setupOfflineReconnection-DaOXnGuH.mjs → setupOfflineReconnection-B7I8R2Ex.mjs} +2 -2
- package/dist/{setupOfflineReconnection-CQHNuP_0.cjs → setupOfflineReconnection-tV0Q1dgR.cjs} +2 -2
- package/dist/{spawn-DdnYTtQe.mjs → spawn-ByrQgruJ.mjs} +16 -15
- package/dist/{spawn-C0wZc03S.cjs → spawn-VG-HjJiR.cjs} +16 -15
- package/dist/{spawnAgents-D-7wMw-a.mjs → spawnAgents-Bh1RPShN.mjs} +3 -1
- package/dist/{spawnAgents-BjyU78Ue.cjs → spawnAgents-C1-4m7aN.cjs} +3 -1
- package/dist/{spawnHappyCLI-CnyyJk74.mjs → spawnHappyCLI-CEsXwz5V.mjs} +1 -1
- package/dist/{spawnHappyCLI-BJUd974I.cjs → spawnHappyCLI-CxiR2Qoy.cjs} +1 -1
- package/dist/specialCommands-J3JFOq0J.cjs +60 -0
- package/dist/specialCommands-MXUN0wfI.mjs +54 -0
- package/dist/{startFileWatcher-DBboREco.cjs → startFileWatcher-C-XCZ5t2.cjs} +1 -1
- package/dist/{startFileWatcher-CpO5Mwbr.mjs → startFileWatcher-DkEeeAtL.mjs} +1 -1
- package/dist/{startupSessionCreate-C1u2dtz8.cjs → startupSessionCreate-CYc8mra-.cjs} +1 -1
- package/dist/{startupSessionCreate-BgaVuvQp.mjs → startupSessionCreate-npXe2TdN.mjs} +1 -1
- package/dist/{sync-I8NYmycF.mjs → sync-BvDMkKAN.mjs} +1 -1
- package/dist/{sync-6HFRJP1h.cjs → sync-CoChLEIg.cjs} +1 -1
- package/dist/{systemPrompt-C1RSY_60.mjs → systemPrompt-CgDaPigN.mjs} +1 -1
- package/dist/{systemPrompt-BDWj5QSL.cjs → systemPrompt-Dy_Rf-0Z.cjs} +1 -1
- package/dist/{teams-GpLFbXXE.mjs → teams-BC4_e5hR.mjs} +6 -6
- package/dist/{teams-eUD7ymif.cjs → teams-DPvfLAk8.cjs} +6 -6
- package/dist/{time-umG7yHkb.mjs → time-CUK37wiV.mjs} +1 -1
- package/dist/{time-BAJRbB6U.cjs → time-XwEZxKGc.cjs} +1 -1
- package/dist/{titleGenerator-iqb2jOF1.cjs → titleGenerator-DVX0NZUn.cjs} +2 -2
- package/dist/{titleGenerator-dmFlxkRs.mjs → titleGenerator-DWRVdqMU.mjs} +1 -1
- package/dist/{todo-CT4AJ3sH.mjs → todo-BNMGXneA.mjs} +5 -5
- package/dist/{todo-DsR7WnQS.cjs → todo-CKGrSrRE.cjs} +5 -5
- package/dist/{tools-BOWazSD6.mjs → tools-CCIEAVbB.mjs} +1 -1
- package/dist/{tools-30E66QL_.cjs → tools-CjMafO_D.cjs} +1 -1
- package/dist/{uninstall-BtTc9hHa.cjs → uninstall-BdFbTXnL.cjs} +3 -3
- package/dist/{uninstall-DImXs6VZ.mjs → uninstall-CJvJ7gjr.mjs} +3 -3
- package/package.json +7 -7
- package/dist/selfCheck-4bcdHPFQ.mjs +0 -86
|
@@ -1,105 +1,106 @@
|
|
|
1
|
-
import { a as authAndSetupMachineIfNeeded } from './auth-
|
|
1
|
+
import { a as authAndSetupMachineIfNeeded } from './auth-CyrVvWHF.mjs';
|
|
2
2
|
import { g as createEnvelope, j as BUILTIN_TODO_DISCOVERY, P as PROMPT_QUEUE_CAPABILITY, J as CODEX_STEER_CAPABILITY, a as PROJECT_SESSION_CAPABILITY, K as CODEX_COMPACT_CAPABILITY } from './index-WKyN-bNy.mjs';
|
|
3
|
-
import { h as hashObject, s as startHappyServer, c as createProjectInjector } from './deterministicJson-
|
|
4
|
-
import { s as sharedProjectsClient } from './client-
|
|
3
|
+
import { h as hashObject, s as startHappyServer, c as createProjectInjector } from './deterministicJson-BMwgK21e.mjs';
|
|
4
|
+
import { s as sharedProjectsClient } from './client-B161HwAk.mjs';
|
|
5
5
|
import { unlink } from 'node:fs/promises';
|
|
6
6
|
import { p as publishForkBackfillWhenCommitted, F as FORK_BACKFILL_CAPABILITY } from './forkBackfill-DYIjlN1Z.mjs';
|
|
7
7
|
import { randomUUID } from 'node:crypto';
|
|
8
8
|
import { createId } from '@paralleldrive/cuid2';
|
|
9
|
-
import { t as textResultPayload, d as toolResultContentText, c as connectionState, A as ApiClient } from './api-
|
|
9
|
+
import { t as textResultPayload, d as toolResultContentText, c as connectionState, A as ApiClient } from './api-B0yN68XH.mjs';
|
|
10
10
|
import { r as registerAgentAttachmentDownloads } from './agentAttachments-M_B5qEF2.mjs';
|
|
11
|
-
import { C as CLAUDE_ATTACHMENT_KINDS, a as stageClaudeAttachments, b as appendStagedAttachmentsToPrompt } from './attachmentContent-
|
|
11
|
+
import { C as CLAUDE_ATTACHMENT_KINDS, a as stageClaudeAttachments, b as appendStagedAttachmentsToPrompt } from './attachmentContent-CcIdMfAx.mjs';
|
|
12
12
|
import { useStdout, useInput, Box, Text, render } from 'ink';
|
|
13
|
-
import { c as claimSessionOrExit, a as applyServerSnapshot, b as applyReconnectReplay, w as withoutServerSnapshot, m as mergeReconnectMetadata, e as exitCursorStamp } from './sessionLock-
|
|
13
|
+
import { c as claimSessionOrExit, a as applyServerSnapshot, b as applyReconnectReplay, w as withoutServerSnapshot, m as mergeReconnectMetadata, e as exitCursorStamp } from './sessionLock-tEFvFXLD.mjs';
|
|
14
14
|
import React, { useState, useRef, useEffect, useCallback } from 'react';
|
|
15
|
-
import { C as CodexAppServerClient } from './codexAppServerClient-
|
|
16
|
-
import { w as wrapperRateLimitReporter } from './rateLimitReporter-
|
|
17
|
-
import { l as logger } from './logger-
|
|
18
|
-
import { B as BasePermissionHandler } from './BasePermissionHandler-
|
|
19
|
-
import { B as BaseReasoningProcessor, s as settleCodexSession } from './codexTermination-
|
|
15
|
+
import { C as CodexAppServerClient } from './codexAppServerClient-BlVmpjR-.mjs';
|
|
16
|
+
import { w as wrapperRateLimitReporter } from './rateLimitReporter-DR5LXuiQ.mjs';
|
|
17
|
+
import { l as logger } from './logger-DOKH3Zbh.mjs';
|
|
18
|
+
import { B as BasePermissionHandler } from './BasePermissionHandler-CVtH-snr.mjs';
|
|
19
|
+
import { B as BaseReasoningProcessor, s as settleCodexSession } from './codexTermination-BvGlN02_.mjs';
|
|
20
20
|
import { execSync } from 'node:child_process';
|
|
21
|
-
import { r as readSettings, l as latchKeepAwake, e as evaluateWrapperIdle, a as resolveCheckMs, H as HIBERNATION_CAPABILITY } from './persistence-
|
|
22
|
-
import { g as getInitialMachineMetadata } from './machineMetadata-
|
|
23
|
-
import { c as configuration } from './configuration-
|
|
24
|
-
import {
|
|
21
|
+
import { r as readSettings, l as latchKeepAwake, e as evaluateWrapperIdle, a as resolveCheckMs, H as HIBERNATION_CAPABILITY } from './persistence-0INrP3aB.mjs';
|
|
22
|
+
import { g as getInitialMachineMetadata } from './machineMetadata-D-5qeIqd.mjs';
|
|
23
|
+
import { c as configuration } from './configuration-1FabKklB.mjs';
|
|
24
|
+
import { M as MessageQueue2, r as registerKillSessionHandler } from './registerKillSessionHandler-CSCTRIbI.mjs';
|
|
25
25
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
26
26
|
import { join } from 'node:path';
|
|
27
|
-
import { c as createSessionMetadata } from './createSessionMetadata-
|
|
27
|
+
import { c as createSessionMetadata } from './createSessionMetadata-CG6Klinp.mjs';
|
|
28
28
|
import { M as MessageBuffer } from './sessionExitLifecycle-CzkLIgNZ.mjs';
|
|
29
|
-
import { n as notifyDaemonSessionStarted, k as reportSessionEditToDaemon, c as checkDaemonHibernation } from './controlClient-
|
|
30
|
-
import { a as HibernationExitLatch, H as HibernationProbe, c as commitHibernation, b as DEFAULT_CODEX_PERMISSION_MODE } from './defaultPermissionMode-
|
|
29
|
+
import { n as notifyDaemonSessionStarted, k as reportSessionEditToDaemon, c as checkDaemonHibernation } from './controlClient-DwNnNAUx.mjs';
|
|
30
|
+
import { a as HibernationExitLatch, H as HibernationProbe, c as commitHibernation, b as DEFAULT_CODEX_PERMISSION_MODE } from './defaultPermissionMode-e2bIIJG4.mjs';
|
|
31
31
|
import { d as decodeBase64, e as encodeBase64 } from './authRelay-DhQhkBvX.mjs';
|
|
32
|
-
import { s as setupOfflineReconnection } from './setupOfflineReconnection-
|
|
33
|
-
import { c as createSessionForStartup } from './startupSessionCreate-
|
|
32
|
+
import { s as setupOfflineReconnection } from './setupOfflineReconnection-B7I8R2Ex.mjs';
|
|
33
|
+
import { c as createSessionForStartup } from './startupSessionCreate-npXe2TdN.mjs';
|
|
34
34
|
import { t as trimIdent } from './trimIdent-BAjmv_TG.mjs';
|
|
35
|
+
import { a as parseSpecialCommand, c as compactCommandText, b as parseCompact } from './specialCommands-MXUN0wfI.mjs';
|
|
35
36
|
import { C as CHANGE_TITLE_INSTRUCTION } from './constants-BC4St0xd.mjs';
|
|
36
37
|
import { E as EditReportThrottle, a as extractCodexPatchPaths } from './editPaths-BVfS_FFL.mjs';
|
|
37
|
-
import { a as extractNoSandboxFlag, e as ensureDaemonRunning } from './ensureDaemonRunning-
|
|
38
|
+
import { a as extractNoSandboxFlag, e as ensureDaemonRunning } from './ensureDaemonRunning-DZq8bvsp.mjs';
|
|
38
39
|
import 'tweetnacl';
|
|
39
40
|
import 'axios';
|
|
40
|
-
import './time-
|
|
41
|
-
import './browser-
|
|
41
|
+
import './time-CUK37wiV.mjs';
|
|
42
|
+
import './browser-vb0k1zfI.mjs';
|
|
42
43
|
import 'open';
|
|
43
44
|
import 'zod';
|
|
44
45
|
import './prompt-QHuFx9j6.mjs';
|
|
45
|
-
import './reportProgressTool-
|
|
46
|
-
import './client-
|
|
46
|
+
import './reportProgressTool-B7zmX7NJ.mjs';
|
|
47
|
+
import './client-CvjjadIE.mjs';
|
|
47
48
|
import './precheckCompat-DeEbilbr.mjs';
|
|
48
49
|
import './agentGuidance-BDYt2Qy2.mjs';
|
|
49
50
|
import 'node:fs';
|
|
50
51
|
import 'node:os';
|
|
51
52
|
import './pi-CqyoZMjI.mjs';
|
|
52
53
|
import './fileStore-5qpetZS0.mjs';
|
|
53
|
-
import './client-
|
|
54
|
+
import './client-C9Ecbtko.mjs';
|
|
54
55
|
import 'node:util';
|
|
55
|
-
import './context-
|
|
56
|
-
import './sessionOps-
|
|
56
|
+
import './context-BgxbXWKS.mjs';
|
|
57
|
+
import './sessionOps-CljctDs5.mjs';
|
|
57
58
|
import 'socket.io-client';
|
|
58
59
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
59
60
|
import './resources-CLP_MpK4.mjs';
|
|
60
|
-
import './tools-
|
|
61
|
-
import './peerTools-
|
|
61
|
+
import './tools-CCIEAVbB.mjs';
|
|
62
|
+
import './peerTools-BtrUnSwz.mjs';
|
|
62
63
|
import './ids-DU6sLx4C.mjs';
|
|
63
|
-
import './remoteSessionClient-
|
|
64
|
+
import './remoteSessionClient-Vfj_5g2-.mjs';
|
|
64
65
|
import '@modelcontextprotocol/sdk/server/mcp.js';
|
|
65
66
|
import 'node:http';
|
|
66
67
|
import '@modelcontextprotocol/sdk/server/streamableHttp.js';
|
|
67
68
|
import './limits-DIo7rEBR.mjs';
|
|
68
|
-
import './downloadTarget-
|
|
69
|
+
import './downloadTarget-C6tqaXGm.mjs';
|
|
69
70
|
import './terminals-Dlg0x3nY.mjs';
|
|
70
71
|
import './terminalTitleSuggest-CeKsX_V6.mjs';
|
|
71
72
|
import './tmuxSocket-B8Yx20sT.mjs';
|
|
72
|
-
import './bootstrap-
|
|
73
|
-
import './package-
|
|
73
|
+
import './bootstrap-DfXwkUQb.mjs';
|
|
74
|
+
import './package-DTcaIhjW.mjs';
|
|
74
75
|
import './webPanels-B2_C2-3g.mjs';
|
|
75
|
-
import './pushNotifications-
|
|
76
|
+
import './pushNotifications-Cq1s8YVK.mjs';
|
|
76
77
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
77
78
|
import './previewPath-CXN4Vag0.mjs';
|
|
78
79
|
import 'crypto';
|
|
79
|
-
import './lidState-
|
|
80
|
+
import './lidState-q5Its2Hm.mjs';
|
|
80
81
|
import 'os';
|
|
81
82
|
import 'child_process';
|
|
82
83
|
import 'node:events';
|
|
83
|
-
import './registerCommonHandlers-
|
|
84
|
+
import './registerCommonHandlers-DWkTysjD.mjs';
|
|
84
85
|
import 'util';
|
|
85
86
|
import 'fs/promises';
|
|
86
87
|
import 'path';
|
|
87
88
|
import 'cross-spawn';
|
|
88
|
-
import './sync-
|
|
89
|
+
import './sync-BvDMkKAN.mjs';
|
|
89
90
|
import 'chalk';
|
|
90
91
|
import './processTreeSnapshot-CuLJDNC-.mjs';
|
|
91
92
|
import 'node:readline';
|
|
92
93
|
import './manager-BEsI4qt3.mjs';
|
|
93
94
|
import '@anthropic-ai/sandbox-runtime';
|
|
94
|
-
import './rateLimitWindows-
|
|
95
|
+
import './rateLimitWindows-5vIuNjko.mjs';
|
|
95
96
|
import './processTree-CP5IvQ2Z.mjs';
|
|
96
97
|
import './detectCLI-CSGMlV51.mjs';
|
|
97
98
|
import 'fs';
|
|
98
|
-
import './localHappyAgentAuth-
|
|
99
|
+
import './localHappyAgentAuth-C_G5u5lY.mjs';
|
|
99
100
|
import './fsMkdir-DumgLTzR.mjs';
|
|
100
101
|
import './types-CkqAACXx.mjs';
|
|
101
102
|
import 'url';
|
|
102
|
-
import './spawnHappyCLI-
|
|
103
|
+
import './spawnHappyCLI-CEsXwz5V.mjs';
|
|
103
104
|
import './doctorReadiness-C208SMN9.mjs';
|
|
104
105
|
|
|
105
106
|
function getStartedSubagents(state) {
|
|
@@ -1094,6 +1095,19 @@ function unsupportedEffortReason(catalog, model, effort) {
|
|
|
1094
1095
|
return `Reasoning effort "${effort}" is not supported by ${model ?? "the default model"}. Choose a supported level.`;
|
|
1095
1096
|
}
|
|
1096
1097
|
|
|
1098
|
+
function resolveCodexTurnModel(mode, machineDefault) {
|
|
1099
|
+
if (mode.model) return mode.model;
|
|
1100
|
+
return mode.modelReset ? machineDefault || void 0 : void 0;
|
|
1101
|
+
}
|
|
1102
|
+
function codexModelFacts(input) {
|
|
1103
|
+
const { threadModel, pendingModel, machineDefault } = input;
|
|
1104
|
+
if (!threadModel) return { stickyModel: pendingModel ?? null };
|
|
1105
|
+
return {
|
|
1106
|
+
stickyModel: threadModel !== machineDefault ? threadModel : null,
|
|
1107
|
+
currentModelCode: threadModel
|
|
1108
|
+
};
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1097
1111
|
const UNEXPECTED_STATUS = /^unexpected status (\d{3}) ([^:]*?):\s*([\s\S]*?)(?:,\s*url:\s*(\S+))?$/;
|
|
1098
1112
|
function readableCodexErrorText(text) {
|
|
1099
1113
|
const trimmed = text.trim();
|
|
@@ -1375,6 +1389,7 @@ function hashCodexEnhancedMode(mode) {
|
|
|
1375
1389
|
return hashObject({
|
|
1376
1390
|
permissionMode: mode.permissionMode,
|
|
1377
1391
|
model: mode.model,
|
|
1392
|
+
modelReset: mode.modelReset,
|
|
1378
1393
|
appendSystemPrompt: mode.appendSystemPrompt,
|
|
1379
1394
|
effort: mode.effort
|
|
1380
1395
|
});
|
|
@@ -1428,6 +1443,16 @@ function safeCodexErrorMetadata(value) {
|
|
|
1428
1443
|
};
|
|
1429
1444
|
}
|
|
1430
1445
|
|
|
1446
|
+
const CODEX_REMOTE_PERMISSION_MODES = [
|
|
1447
|
+
"default",
|
|
1448
|
+
"read-only",
|
|
1449
|
+
"safe-yolo",
|
|
1450
|
+
"yolo"
|
|
1451
|
+
];
|
|
1452
|
+
function codexPublishablePermissionMode(mode) {
|
|
1453
|
+
return typeof mode === "string" && CODEX_REMOTE_PERMISSION_MODES.includes(mode) ? mode : null;
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1431
1456
|
const DEFAULT_CODEX_MODEL = void 0;
|
|
1432
1457
|
const DEFAULT_CODEX_EFFORT = "medium";
|
|
1433
1458
|
async function runCodex(opts) {
|
|
@@ -1475,6 +1500,8 @@ async function runCodex(opts) {
|
|
|
1475
1500
|
capabilities: [PROMPT_QUEUE_CAPABILITY, FORK_BACKFILL_CAPABILITY, HIBERNATION_CAPABILITY, CODEX_STEER_CAPABILITY, PROJECT_SESSION_CAPABILITY, CODEX_COMPACT_CAPABILITY]
|
|
1476
1501
|
});
|
|
1477
1502
|
metadata.attachmentKinds = [...CLAUDE_ATTACHMENT_KINDS];
|
|
1503
|
+
metadata.stickyModel = null;
|
|
1504
|
+
metadata.currentThoughtLevelCode = DEFAULT_CODEX_EFFORT;
|
|
1478
1505
|
const importCodexThreadId = process.env[IMPORT_CODEX_THREAD_ENV];
|
|
1479
1506
|
if (importCodexThreadId) {
|
|
1480
1507
|
metadata.importedFromCodexThreadId = importCodexThreadId;
|
|
@@ -1591,20 +1618,43 @@ async function runCodex(opts) {
|
|
|
1591
1618
|
let currentModel = DEFAULT_CODEX_MODEL;
|
|
1592
1619
|
let currentEffort = DEFAULT_CODEX_EFFORT;
|
|
1593
1620
|
let currentAppendSystemPrompt = void 0;
|
|
1621
|
+
let reportedStickyModel = null;
|
|
1622
|
+
let reportedCurrentModel;
|
|
1623
|
+
let reportedEffort = DEFAULT_CODEX_EFFORT;
|
|
1624
|
+
const reportModeFacts = () => {
|
|
1625
|
+
const facts = codexModelFacts({ threadModel: client.threadModel, pendingModel: currentModel, machineDefault: machineDefaultModel });
|
|
1626
|
+
const effort = currentEffort;
|
|
1627
|
+
if (facts.stickyModel === reportedStickyModel && facts.currentModelCode === reportedCurrentModel && effort === reportedEffort) return;
|
|
1628
|
+
reportedStickyModel = facts.stickyModel;
|
|
1629
|
+
reportedCurrentModel = facts.currentModelCode;
|
|
1630
|
+
reportedEffort = effort;
|
|
1631
|
+
session.updateMetadata((metadata2) => {
|
|
1632
|
+
const { currentThoughtLevelCode: _previous, currentModelCode: _model, ...rest } = metadata2;
|
|
1633
|
+
return {
|
|
1634
|
+
...rest,
|
|
1635
|
+
stickyModel: facts.stickyModel,
|
|
1636
|
+
...facts.currentModelCode ? { currentModelCode: facts.currentModelCode } : {},
|
|
1637
|
+
...effort ? { currentThoughtLevelCode: effort } : {}
|
|
1638
|
+
};
|
|
1639
|
+
});
|
|
1640
|
+
};
|
|
1594
1641
|
const resetCurrentModeDefaults = () => {
|
|
1595
|
-
currentPermissionMode = DEFAULT_CODEX_PERMISSION_MODE;
|
|
1596
|
-
currentModel = DEFAULT_CODEX_MODEL;
|
|
1597
1642
|
currentEffort = DEFAULT_CODEX_EFFORT;
|
|
1643
|
+
reportModeFacts();
|
|
1598
1644
|
currentAppendSystemPrompt = void 0;
|
|
1599
1645
|
logger.debug("[Codex] Reset current mode defaults after abort");
|
|
1600
1646
|
};
|
|
1601
|
-
const VALID_REMOTE_PERMISSION_MODES =
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1647
|
+
const VALID_REMOTE_PERMISSION_MODES = CODEX_REMOTE_PERMISSION_MODES;
|
|
1648
|
+
let publishedPermissionMode = null;
|
|
1649
|
+
const publishPermissionMode = (mode) => {
|
|
1650
|
+
const publishable = codexPublishablePermissionMode(mode);
|
|
1651
|
+
if (!publishable || publishable === publishedPermissionMode) return;
|
|
1652
|
+
publishedPermissionMode = publishable;
|
|
1653
|
+
session.updateMetadata((currentMetadata) => ({ ...currentMetadata, permissionMode: publishable }));
|
|
1654
|
+
};
|
|
1655
|
+
publishPermissionMode(opts.permissionMode);
|
|
1607
1656
|
let discoveredModels = [];
|
|
1657
|
+
let machineDefaultModel;
|
|
1608
1658
|
registerAgentAttachmentDownloads(session);
|
|
1609
1659
|
const CODEX_IMAGE_MIME_TYPES = ["image/jpeg", "image/png", "image/gif", "image/webp"];
|
|
1610
1660
|
const steerDeps = {
|
|
@@ -1631,6 +1681,7 @@ async function runCodex(opts) {
|
|
|
1631
1681
|
if (VALID_REMOTE_PERMISSION_MODES.includes(incoming)) {
|
|
1632
1682
|
messagePermissionMode = incoming;
|
|
1633
1683
|
currentPermissionMode = messagePermissionMode;
|
|
1684
|
+
publishPermissionMode(incoming);
|
|
1634
1685
|
logger.debug("[Codex] Valid permission mode override applied");
|
|
1635
1686
|
} else {
|
|
1636
1687
|
logger.debug("[Codex] Ignoring invalid permission mode override", logValueMetadata(message.meta.permissionMode));
|
|
@@ -1639,9 +1690,12 @@ async function runCodex(opts) {
|
|
|
1639
1690
|
logger.debug("[Codex] User message received without a permission mode override");
|
|
1640
1691
|
}
|
|
1641
1692
|
let messageModel = currentModel;
|
|
1693
|
+
let messageModelReset = false;
|
|
1642
1694
|
if (message.meta?.hasOwnProperty("model")) {
|
|
1643
1695
|
messageModel = message.meta.model || void 0;
|
|
1696
|
+
messageModelReset = !messageModel;
|
|
1644
1697
|
currentModel = messageModel;
|
|
1698
|
+
reportModeFacts();
|
|
1645
1699
|
logger.debug("[Codex] Model override updated", logValueMetadata(message.meta.model));
|
|
1646
1700
|
} else {
|
|
1647
1701
|
logger.debug("[Codex] User message received without a model override");
|
|
@@ -1652,10 +1706,12 @@ async function runCodex(opts) {
|
|
|
1652
1706
|
if (incoming === null || incoming === void 0) {
|
|
1653
1707
|
messageEffort = void 0;
|
|
1654
1708
|
currentEffort = void 0;
|
|
1709
|
+
reportModeFacts();
|
|
1655
1710
|
logger.debug(`[Codex] Effort reset to default`);
|
|
1656
1711
|
} else if (typeof incoming === "string") {
|
|
1657
1712
|
messageEffort = incoming;
|
|
1658
1713
|
currentEffort = messageEffort;
|
|
1714
|
+
reportModeFacts();
|
|
1659
1715
|
logger.debug("[Codex] Valid effort override applied");
|
|
1660
1716
|
} else {
|
|
1661
1717
|
logger.debug("[Codex] Ignoring invalid effort override", logValueMetadata(incoming));
|
|
@@ -1674,6 +1730,7 @@ async function runCodex(opts) {
|
|
|
1674
1730
|
const enhancedMode = {
|
|
1675
1731
|
permissionMode: messagePermissionMode || "default",
|
|
1676
1732
|
model: messageModel,
|
|
1733
|
+
...messageModelReset ? { modelReset: true } : {},
|
|
1677
1734
|
appendSystemPrompt: messageAppendSystemPrompt,
|
|
1678
1735
|
effort: messageEffort
|
|
1679
1736
|
};
|
|
@@ -2024,6 +2081,7 @@ async function runCodex(opts) {
|
|
|
2024
2081
|
} catch (error) {
|
|
2025
2082
|
logger.debug("[Codex] config/read unavailable", safeCodexErrorMetadata(error));
|
|
2026
2083
|
}
|
|
2084
|
+
machineDefaultModel = configured?.model ?? discoveredModels.find((model) => model.isDefault)?.model;
|
|
2027
2085
|
if (discoveredModels.length > 0 || configured) {
|
|
2028
2086
|
session.updateMetadata((metadata2) => ({
|
|
2029
2087
|
...metadata2,
|
|
@@ -2067,6 +2125,7 @@ async function runCodex(opts) {
|
|
|
2067
2125
|
first = false;
|
|
2068
2126
|
appendSystemPromptInjected = true;
|
|
2069
2127
|
}
|
|
2128
|
+
reportModeFacts();
|
|
2070
2129
|
const forkCodexThreadId = process.env.HAPPY_FORK_CODEX_THREAD_ID;
|
|
2071
2130
|
if (!reconnectSessionId && forkCodexThreadId) {
|
|
2072
2131
|
try {
|
|
@@ -2177,6 +2236,7 @@ async function runCodex(opts) {
|
|
|
2177
2236
|
reasoningProcessor.abort();
|
|
2178
2237
|
diffProcessor.reset();
|
|
2179
2238
|
appendSystemPromptInjected = false;
|
|
2239
|
+
projectInjector.reset();
|
|
2180
2240
|
thinking = false;
|
|
2181
2241
|
session.keepAlive(thinking, "remote");
|
|
2182
2242
|
messageBuffer.addMessage("Context was reset", "status");
|
|
@@ -2218,13 +2278,14 @@ async function runCodex(opts) {
|
|
|
2218
2278
|
message.mode.permissionMode,
|
|
2219
2279
|
sandboxManagedByHappy
|
|
2220
2280
|
);
|
|
2221
|
-
const
|
|
2281
|
+
const turnModel = resolveCodexTurnModel(message.mode, machineDefaultModel);
|
|
2282
|
+
const effortRefusal = unsupportedEffortReason(discoveredModels, turnModel ?? client.threadModel ?? machineDefaultModel, message.mode.effort);
|
|
2222
2283
|
if (effortRefusal) {
|
|
2223
2284
|
throw new Error(effortRefusal);
|
|
2224
2285
|
}
|
|
2225
2286
|
if (!client.hasActiveThread()) {
|
|
2226
2287
|
const startedThread = await client.startThread({
|
|
2227
|
-
model:
|
|
2288
|
+
model: turnModel,
|
|
2228
2289
|
cwd: process.cwd(),
|
|
2229
2290
|
approvalPolicy: executionPolicy.approvalPolicy,
|
|
2230
2291
|
sandbox: executionPolicy.sandbox,
|
|
@@ -2234,6 +2295,7 @@ async function runCodex(opts) {
|
|
|
2234
2295
|
...currentMetadata,
|
|
2235
2296
|
codexThreadId: startedThread.threadId
|
|
2236
2297
|
}));
|
|
2298
|
+
reportModeFacts();
|
|
2237
2299
|
}
|
|
2238
2300
|
const includeAppendSystemPrompt = Boolean(
|
|
2239
2301
|
message.mode.appendSystemPrompt && !appendSystemPromptInjected
|
|
@@ -2250,11 +2312,12 @@ async function runCodex(opts) {
|
|
|
2250
2312
|
}) : [];
|
|
2251
2313
|
const result = await client.sendTurnAndWait(appendStagedAttachmentsToPrompt(turnPrompt, staged), {
|
|
2252
2314
|
images: staged.filter((file) => ["image/jpeg", "image/png", "image/gif", "image/webp"].includes(file.mimeType)).map((file) => file.path),
|
|
2253
|
-
model:
|
|
2315
|
+
model: turnModel,
|
|
2254
2316
|
approvalPolicy: executionPolicy.approvalPolicy,
|
|
2255
2317
|
sandbox: executionPolicy.sandbox,
|
|
2256
2318
|
effort: message.mode.effort
|
|
2257
2319
|
});
|
|
2320
|
+
reportModeFacts();
|
|
2258
2321
|
first = false;
|
|
2259
2322
|
if (includeAppendSystemPrompt) {
|
|
2260
2323
|
appendSystemPromptInjected = true;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { randomUUID } from 'node:crypto';
|
|
2
|
-
import { l as logger } from './logger-
|
|
2
|
+
import { l as logger } from './logger-DOKH3Zbh.mjs';
|
|
3
3
|
import { O as OFFLINE_EXIT_STAMP_TIMEOUT_MS } from './sessionExitLifecycle-CzkLIgNZ.mjs';
|
|
4
4
|
|
|
5
5
|
class BaseReasoningProcessor {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var node_crypto = require('node:crypto');
|
|
4
|
-
var logger = require('./logger-
|
|
4
|
+
var logger = require('./logger-BP1SW7Cs.cjs');
|
|
5
5
|
var sessionExitLifecycle = require('./sessionExitLifecycle-DFltxXU8.cjs');
|
|
6
6
|
|
|
7
7
|
class BaseReasoningProcessor {
|
|
@@ -4,15 +4,15 @@ var require$$0 = require('fs');
|
|
|
4
4
|
var require$$1 = require('path');
|
|
5
5
|
var os = require('os');
|
|
6
6
|
var child_process = require('child_process');
|
|
7
|
-
var logger = require('./logger-
|
|
7
|
+
var logger = require('./logger-BP1SW7Cs.cjs');
|
|
8
8
|
var constants = require('./constants-VJ0N6WuG.cjs');
|
|
9
9
|
require('chalk');
|
|
10
10
|
require('node:util');
|
|
11
|
-
require('./configuration-
|
|
11
|
+
require('./configuration-C0ctLGW2.cjs');
|
|
12
12
|
require('node:fs');
|
|
13
13
|
require('node:os');
|
|
14
14
|
require('node:path');
|
|
15
|
-
require('./package-
|
|
15
|
+
require('./package-CYDdLA6R.cjs');
|
|
16
16
|
require('node:fs/promises');
|
|
17
17
|
require('./trimIdent-4gvk9Wk6.cjs');
|
|
18
18
|
|
|
@@ -2,15 +2,15 @@ import { existsSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
|
|
|
2
2
|
import { join } from 'path';
|
|
3
3
|
import { homedir } from 'os';
|
|
4
4
|
import { execSync } from 'child_process';
|
|
5
|
-
import { l as logger } from './logger-
|
|
5
|
+
import { l as logger } from './logger-DOKH3Zbh.mjs';
|
|
6
6
|
import { D as DEFAULT_GEMINI_MODEL, G as GEMINI_MODEL_ENV } from './constants-BC4St0xd.mjs';
|
|
7
7
|
import 'chalk';
|
|
8
8
|
import 'node:util';
|
|
9
|
-
import './configuration-
|
|
9
|
+
import './configuration-1FabKklB.mjs';
|
|
10
10
|
import 'node:fs';
|
|
11
11
|
import 'node:os';
|
|
12
12
|
import 'node:path';
|
|
13
|
-
import './package-
|
|
13
|
+
import './package-DTcaIhjW.mjs';
|
|
14
14
|
import 'node:fs/promises';
|
|
15
15
|
import './trimIdent-BAjmv_TG.mjs';
|
|
16
16
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mkdirSync, chmodSync, readdirSync, statSync, appendFileSync, writeFileSync, existsSync, readFileSync } from 'node:fs';
|
|
2
2
|
import { homedir } from 'node:os';
|
|
3
3
|
import { join } from 'node:path';
|
|
4
|
-
import { p as packageJson } from './package-
|
|
4
|
+
import { p as packageJson } from './package-DTcaIhjW.mjs';
|
|
5
5
|
import { mkdir, chmod, writeFile } from 'node:fs/promises';
|
|
6
6
|
|
|
7
7
|
const PRIVATE_DIRECTORY_MODE = 448;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var node_fs = require('node:fs');
|
|
4
4
|
var os = require('node:os');
|
|
5
5
|
var path = require('node:path');
|
|
6
|
-
var _package = require('./package-
|
|
6
|
+
var _package = require('./package-CYDdLA6R.cjs');
|
|
7
7
|
var promises = require('node:fs/promises');
|
|
8
8
|
|
|
9
9
|
const PRIVATE_DIRECTORY_MODE = 448;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
2
|
import { homedir } from 'os';
|
|
3
3
|
import { join } from 'path';
|
|
4
|
-
import { b as readCredentialsForConfiguredRelay } from './persistence-
|
|
5
|
-
import { A as ApiClient } from './api-
|
|
6
|
-
import { f as ensurePrivateDirectorySync, w as writePrivateFileSync } from './configuration-
|
|
4
|
+
import { b as readCredentialsForConfiguredRelay } from './persistence-0INrP3aB.mjs';
|
|
5
|
+
import { A as ApiClient } from './api-B0yN68XH.mjs';
|
|
6
|
+
import { f as ensurePrivateDirectorySync, w as writePrivateFileSync } from './configuration-1FabKklB.mjs';
|
|
7
7
|
import { createServer } from 'http';
|
|
8
8
|
import { randomBytes, createHash } from 'crypto';
|
|
9
|
-
import { o as openBrowser } from './browser-
|
|
9
|
+
import { o as openBrowser } from './browser-vb0k1zfI.mjs';
|
|
10
10
|
import { exec } from 'child_process';
|
|
11
11
|
import { promisify } from 'util';
|
|
12
12
|
import 'node:fs/promises';
|
|
@@ -15,29 +15,29 @@ import 'zod';
|
|
|
15
15
|
import './authRelay-DhQhkBvX.mjs';
|
|
16
16
|
import 'node:crypto';
|
|
17
17
|
import 'tweetnacl';
|
|
18
|
-
import './logger-
|
|
18
|
+
import './logger-DOKH3Zbh.mjs';
|
|
19
19
|
import 'node:util';
|
|
20
20
|
import 'node:path';
|
|
21
21
|
import 'axios';
|
|
22
|
-
import './lidState-
|
|
22
|
+
import './lidState-q5Its2Hm.mjs';
|
|
23
23
|
import 'node:events';
|
|
24
24
|
import 'socket.io-client';
|
|
25
|
-
import './pushNotifications-
|
|
25
|
+
import './pushNotifications-Cq1s8YVK.mjs';
|
|
26
26
|
import './index-WKyN-bNy.mjs';
|
|
27
27
|
import '@paralleldrive/cuid2';
|
|
28
28
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
29
29
|
import './limits-DIo7rEBR.mjs';
|
|
30
|
-
import './time-
|
|
31
|
-
import './registerCommonHandlers-
|
|
30
|
+
import './time-CUK37wiV.mjs';
|
|
31
|
+
import './registerCommonHandlers-DWkTysjD.mjs';
|
|
32
32
|
import 'fs/promises';
|
|
33
33
|
import 'cross-spawn';
|
|
34
34
|
import './projectPath-BTBIMB57.mjs';
|
|
35
35
|
import 'url';
|
|
36
|
-
import './sync-
|
|
36
|
+
import './sync-BvDMkKAN.mjs';
|
|
37
37
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
38
|
-
import './controlClient-
|
|
38
|
+
import './controlClient-DwNnNAUx.mjs';
|
|
39
39
|
import 'node:os';
|
|
40
|
-
import './package-
|
|
40
|
+
import './package-DTcaIhjW.mjs';
|
|
41
41
|
import 'open';
|
|
42
42
|
|
|
43
43
|
const CLIENT_ID$2 = "app_EMoamEEZ73f0CkXaXp7hrann";
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var os = require('os');
|
|
5
5
|
var require$$1 = require('path');
|
|
6
|
-
var persistence = require('./persistence-
|
|
7
|
-
var api = require('./api-
|
|
8
|
-
var configuration = require('./configuration-
|
|
6
|
+
var persistence = require('./persistence-CrzC7yr_.cjs');
|
|
7
|
+
var api = require('./api-BDuuyys8.cjs');
|
|
8
|
+
var configuration = require('./configuration-C0ctLGW2.cjs');
|
|
9
9
|
var http = require('http');
|
|
10
10
|
var require$$3 = require('crypto');
|
|
11
|
-
var browser = require('./browser-
|
|
11
|
+
var browser = require('./browser-D1yzC0Tu.cjs');
|
|
12
12
|
var child_process = require('child_process');
|
|
13
13
|
var util = require('util');
|
|
14
14
|
require('node:fs/promises');
|
|
@@ -17,29 +17,29 @@ require('zod');
|
|
|
17
17
|
require('./authRelay-Dy1qU9td.cjs');
|
|
18
18
|
require('node:crypto');
|
|
19
19
|
require('tweetnacl');
|
|
20
|
-
require('./logger-
|
|
20
|
+
require('./logger-BP1SW7Cs.cjs');
|
|
21
21
|
require('node:util');
|
|
22
22
|
require('node:path');
|
|
23
23
|
require('axios');
|
|
24
|
-
require('./lidState-
|
|
24
|
+
require('./lidState-B4dHJCeS.cjs');
|
|
25
25
|
require('node:events');
|
|
26
26
|
require('socket.io-client');
|
|
27
|
-
require('./pushNotifications-
|
|
27
|
+
require('./pushNotifications-CalIS9sq.cjs');
|
|
28
28
|
require('./index-BOe6dKnL.cjs');
|
|
29
29
|
require('@paralleldrive/cuid2');
|
|
30
30
|
require('./contentLogMetadata-ZSFk_NjQ.cjs');
|
|
31
31
|
require('./limits-C-a7gr04.cjs');
|
|
32
|
-
require('./time-
|
|
33
|
-
require('./registerCommonHandlers-
|
|
32
|
+
require('./time-XwEZxKGc.cjs');
|
|
33
|
+
require('./registerCommonHandlers-DZPozYxc.cjs');
|
|
34
34
|
require('fs/promises');
|
|
35
35
|
require('cross-spawn');
|
|
36
36
|
require('./projectPath-C3ioB4Bu.cjs');
|
|
37
37
|
require('url');
|
|
38
|
-
require('./sync-
|
|
38
|
+
require('./sync-CoChLEIg.cjs');
|
|
39
39
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
40
|
-
require('./controlClient-
|
|
40
|
+
require('./controlClient-F7hAEEy2.cjs');
|
|
41
41
|
require('node:os');
|
|
42
|
-
require('./package-
|
|
42
|
+
require('./package-CYDdLA6R.cjs');
|
|
43
43
|
require('open');
|
|
44
44
|
|
|
45
45
|
const CLIENT_ID$2 = "app_EMoamEEZ73f0CkXaXp7hrann";
|
|
@@ -3,7 +3,7 @@ import { constants } from 'node:fs';
|
|
|
3
3
|
import { isAbsolute, join, dirname } from 'node:path';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
5
|
import { z } from 'zod';
|
|
6
|
-
import { n as normalizeHttpEndpoint, c as configuration } from './configuration-
|
|
6
|
+
import { n as normalizeHttpEndpoint, c as configuration } from './configuration-1FabKklB.mjs';
|
|
7
7
|
|
|
8
8
|
const TeamScopeSchema = z.object({
|
|
9
9
|
serverUrl: z.string(),
|
|
@@ -5,7 +5,7 @@ var node_fs = require('node:fs');
|
|
|
5
5
|
var path = require('node:path');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
7
|
var z = require('zod');
|
|
8
|
-
var configuration = require('./configuration-
|
|
8
|
+
var configuration = require('./configuration-C0ctLGW2.cjs');
|
|
9
9
|
|
|
10
10
|
const TeamScopeSchema = z.z.object({
|
|
11
11
|
serverUrl: z.z.string(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import { d as readDaemonState, f as clearDaemonState } from './persistence-
|
|
3
|
-
import { c as configuration } from './configuration-
|
|
1
|
+
import { l as logger } from './logger-DOKH3Zbh.mjs';
|
|
2
|
+
import { d as readDaemonState, f as clearDaemonState } from './persistence-0INrP3aB.mjs';
|
|
3
|
+
import { c as configuration } from './configuration-1FabKklB.mjs';
|
|
4
4
|
|
|
5
5
|
function daemonControlHeaders(controlToken) {
|
|
6
6
|
return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var persistence = require('./persistence-
|
|
5
|
-
var configuration = require('./configuration-
|
|
3
|
+
var logger = require('./logger-BP1SW7Cs.cjs');
|
|
4
|
+
var persistence = require('./persistence-CrzC7yr_.cjs');
|
|
5
|
+
var configuration = require('./configuration-C0ctLGW2.cjs');
|
|
6
6
|
|
|
7
7
|
function daemonControlHeaders(controlToken) {
|
|
8
8
|
return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import os from 'node:os';
|
|
2
2
|
import { resolve, isAbsolute, dirname } from 'node:path';
|
|
3
|
-
import { c as configuration } from './configuration-
|
|
3
|
+
import { c as configuration } from './configuration-1FabKklB.mjs';
|
|
4
4
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
5
|
-
import { p as packageJson } from './package-
|
|
5
|
+
import { p as packageJson } from './package-DTcaIhjW.mjs';
|
|
6
6
|
import { existsSync, readFileSync, statSync } from 'node:fs';
|
|
7
7
|
|
|
8
8
|
const realFs = {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var os = require('node:os');
|
|
4
4
|
var path = require('node:path');
|
|
5
|
-
var configuration = require('./configuration-
|
|
5
|
+
var configuration = require('./configuration-C0ctLGW2.cjs');
|
|
6
6
|
var projectPath = require('./projectPath-C3ioB4Bu.cjs');
|
|
7
|
-
var _package = require('./package-
|
|
7
|
+
var _package = require('./package-CYDdLA6R.cjs');
|
|
8
8
|
var node_fs = require('node:fs');
|
|
9
9
|
|
|
10
10
|
const realFs = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var persistence = require('./persistence-
|
|
3
|
+
var logger = require('./logger-BP1SW7Cs.cjs');
|
|
4
|
+
var persistence = require('./persistence-CrzC7yr_.cjs');
|
|
5
5
|
|
|
6
6
|
const PRESENCE_SETTLE_MS = 6e3;
|
|
7
7
|
async function commitHibernation(deps) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import { e as evaluateWrapperIdle, j as HIBERNATION_UNSUPPORTED_BACKOFF_MS } from './persistence-
|
|
1
|
+
import { l as logger } from './logger-DOKH3Zbh.mjs';
|
|
2
|
+
import { e as evaluateWrapperIdle, j as HIBERNATION_UNSUPPORTED_BACKOFF_MS } from './persistence-0INrP3aB.mjs';
|
|
3
3
|
|
|
4
4
|
const PRESENCE_SETTLE_MS = 6e3;
|
|
5
5
|
async function commitHibernation(deps) {
|