very-happy-cli 0.2.186 → 0.2.188
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-ConXUH67.mjs → AcpBackend-2loP7MpF.mjs} +3 -3
- package/dist/{AcpBackend-aVv-_nH_.cjs → AcpBackend-B8AYkp5n.cjs} +3 -3
- package/dist/{AcpSessionManager-BxD1AQ8L.mjs → AcpSessionManager-C17doAoR.mjs} +2 -2
- package/dist/{AcpSessionManager-aRdzf_6R.cjs → AcpSessionManager-CLqo9R9Y.cjs} +2 -2
- package/dist/{BasePermissionHandler-BsOLZCNB.cjs → BasePermissionHandler-C8UEcFz0.cjs} +1 -1
- package/dist/{BasePermissionHandler-Hj7Qregq.mjs → BasePermissionHandler-CrfyUmqO.mjs} +1 -1
- package/dist/{acpSessionResume-CKacrrHV.mjs → acpSessionResume-F705a1cF.mjs} +1 -1
- package/dist/{acpSessionResume-CpPNoxaW.cjs → acpSessionResume-OuYlLGxL.cjs} +1 -1
- package/dist/{agentHome-CawmLuWV.mjs → agentHome-Dc7LYF3d.mjs} +4 -4
- package/dist/{agentHome-VS7FrFQZ.cjs → agentHome-DsKHJ_Sf.cjs} +4 -4
- package/dist/{api-DjqQTT16.cjs → api-BOqjYd5r.cjs} +10 -10
- package/dist/{api-DUFy21Nf.mjs → api-DNKa7kVy.mjs} +10 -10
- package/dist/{apiMachine-D2BrVBYu.cjs → apiMachine--rcPpMmt.cjs} +14 -14
- package/dist/{apiMachine-B0sBCHNZ.mjs → apiMachine-Di1G9ECW.mjs} +14 -14
- package/dist/{attachmentContent-2kInPZrP.cjs → attachmentContent-BFRMLong.cjs} +2 -2
- package/dist/{attachmentContent-D01-pLOB.mjs → attachmentContent-C9S4ekAz.mjs} +2 -2
- package/dist/{auth-DP3eN2Fv.mjs → auth-BNhhk2Fr.mjs} +5 -5
- package/dist/{auth-B-CqTcVh.mjs → auth-Bzwo_vOM.mjs} +8 -8
- package/dist/{auth-CujfCIv-.cjs → auth-CQtfznF0.cjs} +8 -8
- package/dist/{auth-CImUXAjH.cjs → auth-CXmI92aj.cjs} +5 -5
- package/dist/{auto-D4KRQIBu.mjs → auto-DHYOLnXB.mjs} +19 -19
- package/dist/{auto-oWgZl7mM.cjs → auto-DXLdaX5O.cjs} +19 -19
- package/dist/{bootstrap-MFmMruyB.mjs → bootstrap-Di38SnpN.mjs} +2 -2
- package/dist/{bootstrap-B7YvJcVK.cjs → bootstrap-eJ1l7VYl.cjs} +2 -2
- package/dist/{browser-CfFbN1Us.mjs → browser-6Cg7G6bb.mjs} +1 -1
- package/dist/{browser-C19iD31j.cjs → browser-D3uBFRQu.cjs} +1 -1
- package/dist/{claudeLocal-C4A7-BmS.cjs → claudeLocal-BBaE4QF_.cjs} +9 -8
- package/dist/{claudeLocal-C6wNx9qH.mjs → claudeLocal-CqaEs-81.mjs} +7 -6
- package/dist/{claudeLocalLauncher-DdPfufcS.mjs → claudeLocalLauncher-BDUPxtsI.mjs} +11 -11
- package/dist/{claudeLocalLauncher-BfCKs7Le.cjs → claudeLocalLauncher-wPxKtH_P.cjs} +11 -11
- package/dist/{claudeSessionFork-B8NjdHYD.cjs → claudeSessionFork-CmY25Fl3.cjs} +1 -1
- package/dist/{claudeSessionFork-D8XT48Lf.mjs → claudeSessionFork-DzWFzj9m.mjs} +1 -1
- package/dist/{client-jAdkYZRf.cjs → client-C2HcMqRF.cjs} +14 -5
- package/dist/{client-DAnQqPmc.mjs → client-DWws_aQK.mjs} +2 -2
- package/dist/{client-BfGuTBMO.mjs → client-DcDE6Ifk.mjs} +2 -2
- package/dist/{client-CMIhQ32m.cjs → client-DmY03OZZ.cjs} +2 -2
- package/dist/{client-CTNxuHVc.cjs → client-agH03Irm.cjs} +2 -2
- package/dist/{client-CKM07bJH.mjs → client-qJ0y8fus.mjs} +14 -5
- package/dist/codex/happyMcpStdioBridge.cjs +18 -17
- package/dist/codex/happyMcpStdioBridge.mjs +18 -17
- package/dist/{codexAppServerClient-DhOC61k9.mjs → codexAppServerClient-DgE99i7X.mjs} +39 -5
- package/dist/{codexAppServerClient-Dv1Mh3MS.cjs → codexAppServerClient-DwzC8LR0.cjs} +39 -5
- package/dist/{codexCommand-CWrFt3Ne.cjs → codexCommand-1vFEA1KT.cjs} +118 -60
- package/dist/{codexCommand-D3_i93Rm.mjs → codexCommand-DUSVzbKh.mjs} +115 -57
- package/dist/{codexTermination-B08GgahL.mjs → codexTermination-Bybovr2z.mjs} +1 -1
- package/dist/{codexTermination-DErS0cGt.cjs → codexTermination-DuDPyBRR.cjs} +1 -1
- package/dist/{config-D3OBduhj.mjs → config-BrzZ0O-6.mjs} +3 -3
- package/dist/{config-D_aj3xgw.cjs → config-C4xOL5bH.cjs} +3 -3
- package/dist/{configuration-DbCHeEeP.mjs → configuration-BZHpFD7K.mjs} +1 -1
- package/dist/{configuration-CI0GWwaT.cjs → configuration-DyPW9mVa.cjs} +1 -1
- package/dist/{connect-BuwVpjkZ.mjs → connect-Cw_INlj8.mjs} +13 -13
- package/dist/{connect-839tEkPN.cjs → connect-DurKwMEo.cjs} +13 -13
- package/dist/{context-zhirgqSw.cjs → context-2xDvjkQp.cjs} +1 -1
- package/dist/{context-D2Y_qLs0.mjs → context-t7YV0aZc.mjs} +1 -1
- package/dist/{controlClient-Dv80mB_j.mjs → controlClient-Bw56NIrj.mjs} +4 -4
- package/dist/{controlClient-BIi1tzEo.cjs → controlClient-DvFaPsg6.cjs} +3 -3
- package/dist/{createSessionMetadata-Dqy_DfoF.mjs → createSessionMetadata-Dn5BkLfU.mjs} +2 -2
- package/dist/{createSessionMetadata-DT24NjY2.cjs → createSessionMetadata-Dpg6bV6f.cjs} +2 -2
- package/dist/{defaultPermissionMode-yR27mevc.mjs → defaultPermissionMode-DMTnlccv.mjs} +2 -2
- package/dist/{defaultPermissionMode-BYqJbPhc.cjs → defaultPermissionMode-Dlm0q1m0.cjs} +2 -2
- package/dist/{deterministicJson-COiJcmUR.mjs → deterministicJson-CsRckxVq.mjs} +14 -14
- package/dist/{deterministicJson-CoWlyn_X.cjs → deterministicJson-D0BrV1FD.cjs} +14 -14
- package/dist/{doctor-Ymj096qP.mjs → doctor-B4HQiW6j.mjs} +7 -7
- package/dist/{doctor-DI6aIOne.cjs → doctor-CYe4d9kU.cjs} +7 -7
- package/dist/{downloadTarget-BOXHrxbm.cjs → downloadTarget-CuhBVvuC.cjs} +6 -6
- package/dist/{downloadTarget-DRXCRDub.mjs → downloadTarget-tYMV_VHo.mjs} +6 -6
- package/dist/{ensureDaemonRunning-BqNjYnar.cjs → ensureDaemonRunning-Ce3BlWiR.cjs} +5 -5
- package/dist/{ensureDaemonRunning-DTrrXAdz.mjs → ensureDaemonRunning-DVtIG9z7.mjs} +5 -5
- package/dist/{handleResumeCommand-DW_MRgtz.mjs → handleResumeCommand-BU1uMNyv.mjs} +5 -5
- package/dist/{handleResumeCommand-BBKUGhCv.cjs → handleResumeCommand-CLxsmAW0.cjs} +5 -5
- package/dist/{index-Cyu_8WAd.mjs → index-B1OxWiNG.mjs} +3 -3
- package/dist/{index-BumVulwx.cjs → index-BOe6dKnL.cjs} +215 -18
- package/dist/{index-04pYyzsJ.mjs → index-CVHRt3SS.mjs} +4 -4
- package/dist/{index-WW17yjQO.mjs → index-ChX0eVXw.mjs} +92 -46
- package/dist/{index-CmlAXizv.mjs → index-DDz0Ftoy.mjs} +7 -7
- package/dist/{index-D9lJhXUk.cjs → index-DG1kGjkF.cjs} +93 -47
- package/dist/{index-W8wlfp57.cjs → index-DoXbGEAi.cjs} +3 -3
- package/dist/{index-Bq6VHNdk.cjs → index-KwuXqLwe.cjs} +4 -4
- package/dist/{index-B9f1vKcC.mjs → index-WKyN-bNy.mjs} +212 -17
- package/dist/{index-CY573fnz.cjs → index-wWJJAQRk.cjs} +7 -7
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-F3rP8tBU.mjs → install-B8O1JpJH.mjs} +1 -1
- package/dist/{install-BATFlr_l.cjs → install-BOHlqewf.cjs} +1 -1
- package/dist/{install-C5XCDwgD.mjs → install-CMa_FOWu.mjs} +3 -3
- package/dist/{install-C1y_g7kj.cjs → install-cAYvHxXR.cjs} +3 -3
- package/dist/lib.cjs +12 -12
- package/dist/lib.d.cts +6 -0
- package/dist/lib.d.mts +6 -0
- package/dist/lib.mjs +12 -12
- package/dist/{lidState-CZ1ggYiB.mjs → lidState-D-lsD1FS.mjs} +1 -1
- package/dist/{lidState-BxHu6dus.cjs → lidState-d1vgQ3n7.cjs} +1 -1
- package/dist/{localHappyAgentAuth-BHklNDKQ.cjs → localHappyAgentAuth-DucSnCg3.cjs} +1 -1
- package/dist/{localHappyAgentAuth-OJk4xDwg.mjs → localHappyAgentAuth-wvDp-nGj.mjs} +1 -1
- package/dist/{logger-L0pLBOLK.cjs → logger-C3vZG6Q0.cjs} +2 -2
- package/dist/{logger-CpaeM90D.mjs → logger-RpzJ4d8V.mjs} +2 -2
- package/dist/{machineMetadata-YeHF4gSY.cjs → machineMetadata-CAvFq1Jg.cjs} +3 -3
- package/dist/{machineMetadata-ukaYmmlK.mjs → machineMetadata-CiQ2_1Mq.mjs} +3 -3
- package/dist/{main-VyiAJXfb.cjs → main-ChpYcFZi.cjs} +46 -46
- package/dist/{main-pkH_VRP-.mjs → main-IPhaImjm.mjs} +46 -46
- package/dist/{mcp-Y8Xsr2Xh.cjs → mcp-2xF232hL.cjs} +15 -15
- package/dist/{mcp-BwoAhEnN.mjs → mcp-CWnMvju6.mjs} +15 -15
- package/dist/{mirrorProtocol-Did0-1jn.cjs → mirrorProtocol-CVzPObON.cjs} +3 -3
- package/dist/{mirrorProtocol-DukUp2Bj.mjs → mirrorProtocol-Dr7fNq8V.mjs} +3 -3
- package/dist/{package-DagIeOhi.mjs → package-CwB8rFJt.mjs} +10 -10
- package/dist/{package-BuATIMpK.cjs → package-Gnf_935w.cjs} +10 -10
- package/dist/{panels-CZ_CRUbM.cjs → panels-DTlTsndU.cjs} +5 -5
- package/dist/{panels-C3dUoUbA.mjs → panels-L1mSkC-y.mjs} +5 -5
- package/dist/{peerTools-CUCqJ83-.mjs → peerTools-2_8Bw9PU.mjs} +5 -5
- package/dist/{peerTools-Cs3Ln6d0.cjs → peerTools-C1E5cQ86.cjs} +5 -5
- package/dist/{persistence-FgtDuVAP.mjs → persistence-Bn4qEbDg.mjs} +2 -2
- package/dist/{persistence-CIzOAWK6.cjs → persistence-CqtjFiD1.cjs} +2 -2
- package/dist/{piRunnerArgs-CJhXFPM9.cjs → piRunnerArgs-BI8yQRBZ.cjs} +1 -1
- package/dist/{piRunnerArgs-YbYkfixz.mjs → piRunnerArgs-DWBb63W9.mjs} +1 -1
- package/dist/{piRuntime-CEzoAYHe.cjs → piRuntime--mQ43MSM.cjs} +2 -2
- package/dist/{piRuntime-CShuw-1A.mjs → piRuntime-Do8oqbm3.mjs} +2 -2
- package/dist/{piTerminal-DVr2W6bI.cjs → piTerminal-BzcvLFsP.cjs} +18 -18
- package/dist/{piTerminal-BvvcgVoW.mjs → piTerminal-GC1KHTYQ.mjs} +18 -18
- package/dist/promptCacheTtl-B8PCzE6k.cjs +76 -0
- package/dist/promptCacheTtl-Ce0TVbrx.mjs +72 -0
- package/dist/{pushNotifications-2CyhYAte.mjs → pushNotifications-BThg4nVd.mjs} +3 -3
- package/dist/{pushNotifications-OtQY-Mfa.cjs → pushNotifications-Bb-QSqXw.cjs} +3 -3
- package/dist/{query-DimRl61I.cjs → query-Bz3pocKH.cjs} +5 -4
- package/dist/{query-B7DvMlYM.mjs → query-CkgIJ_Dy.mjs} +3 -2
- package/dist/{specialCommands-ByrcSYSh.cjs → rateLimitReporter-BkHyvLru.cjs} +3 -55
- package/dist/{specialCommands-B-DAeFrU.mjs → rateLimitReporter-Iw4k3Bbr.mjs} +4 -55
- package/dist/{rateLimitWindows-DwhrA5wy.cjs → rateLimitWindows-Bm_dcQGW.cjs} +1 -1
- package/dist/{rateLimitWindows-C0zbGT7K.mjs → rateLimitWindows-CQ4tIQnx.mjs} +1 -1
- package/dist/{registerCommonHandlers-De54jKz8.cjs → registerCommonHandlers-CIs6H2DV.cjs} +2 -2
- package/dist/{registerCommonHandlers-X9lnO2TF.mjs → registerCommonHandlers-CaWl9ll1.mjs} +2 -2
- package/dist/{remoteSessionClient-9j3N_bzV.cjs → remoteSessionClient-DgUMfPW4.cjs} +5 -5
- package/dist/{remoteSessionClient-BApor-c2.mjs → remoteSessionClient-uPj7omsw.mjs} +5 -5
- package/dist/{reportProgressTool-RR5VkbDf.cjs → reportProgressTool-CaJ8EwLq.cjs} +3 -3
- package/dist/{reportProgressTool-6mDoxKuq.mjs → reportProgressTool-DUEq3xAL.mjs} +3 -3
- package/dist/{resources-CqwHPhdK.cjs → resources-BZ_Be0qM.cjs} +1 -1
- package/dist/{resources-CLdQfe3b.mjs → resources-CLP_MpK4.mjs} +1 -1
- package/dist/{run-CmA3cPD_.mjs → run-DTUJBD6p.mjs} +37 -37
- package/dist/{run-B2ZorDI7.cjs → run-DyyGMqND.cjs} +37 -37
- package/dist/{runClaude-Dk73bQ0n.cjs → runClaude-8JDaPoGQ.cjs} +22 -22
- package/dist/{runClaude-bxwea9mX.mjs → runClaude-DTNvIz2J.mjs} +22 -22
- package/dist/{runClaudeDeps-dVfReVd4.cjs → runClaudeDeps-BeLo5zss.cjs} +84 -55
- package/dist/{runClaudeDeps-DoaYM017.mjs → runClaudeDeps-CgGkgg7e.mjs} +86 -56
- package/dist/{runGemini-BD-wQe5q.cjs → runGemini-BSOdU563.cjs} +55 -51
- package/dist/{runGemini-Dq2iv4UF.mjs → runGemini-eU8UOzfc.mjs} +53 -49
- package/dist/{runOpenClaw-BXLv_bvU.cjs → runOpenClaw-CYyFoGRZ.cjs} +30 -26
- package/dist/{runOpenClaw-C1NB1aLx.mjs → runOpenClaw-D8RZiA1e.mjs} +28 -24
- package/dist/{sandbox-9MIBf8kS.cjs → sandbox-C8zfNX-4.cjs} +4 -4
- package/dist/{sandbox-Dqs_T8Jw.mjs → sandbox-DlPahdhl.mjs} +4 -4
- package/dist/selfCheck-4bcdHPFQ.mjs +86 -0
- package/dist/{selfCheck-CkUezhrg.cjs → selfCheck-D28nvuPJ.cjs} +37 -37
- package/dist/{send-rdhpycNB.cjs → send-C58kX4qz.cjs} +8 -8
- package/dist/{send-4q066vij.mjs → send-DBpv-1eh.mjs} +8 -8
- package/dist/{server-DxTjt1mK.cjs → server-I_CETZzn.cjs} +6 -6
- package/dist/{server-DN6TvjhP.mjs → server-J5K6pOox.mjs} +4 -4
- package/dist/{sessionLock-DOsE5UUf.mjs → sessionLock-C7Wg1RVd.mjs} +3 -3
- package/dist/{sessionLock-h4162Jrf.cjs → sessionLock-DjE7O0LS.cjs} +3 -3
- package/dist/{sessionOps--9p2IzVA.mjs → sessionOps-CYjMT7Ad.mjs} +4 -4
- package/dist/{sessionOps-tmBKG5qg.cjs → sessionOps-DGMpl9NB.cjs} +4 -4
- package/dist/{sessionProvider-B9w7rFDR.cjs → sessionProvider-DVtxrOuM.cjs} +5 -5
- package/dist/{sessionProvider-C6MHJZ9Z.mjs → sessionProvider-TLiFn9kD.mjs} +5 -5
- package/dist/{sessionScanner-Bgvz8Uiy.cjs → sessionScanner-BZ1ZSn6I.cjs} +3 -3
- package/dist/{sessionScanner-B6hzp5R9.mjs → sessionScanner-CknV1IlN.mjs} +3 -3
- package/dist/{sessions-DJMVXKRz.cjs → sessions-CTkBKs5U.cjs} +10 -10
- package/dist/{sessions-iItaUQAF.mjs → sessions-DU4bxkap.mjs} +10 -10
- package/dist/{setupOfflineReconnection-DL4HUMDJ.cjs → setupOfflineReconnection-CQHNuP_0.cjs} +2 -2
- package/dist/{setupOfflineReconnection-DF78nz1N.mjs → setupOfflineReconnection-DaOXnGuH.mjs} +2 -2
- package/dist/{spawn-CL9A8dBJ.cjs → spawn-C0wZc03S.cjs} +67 -25
- package/dist/{spawn-CoYfACsc.mjs → spawn-DdnYTtQe.mjs} +67 -26
- package/dist/{spawnAgents-DsJSyLDl.cjs → spawnAgents-BjyU78Ue.cjs} +21 -9
- package/dist/{spawnAgents-f2q31uUV.mjs → spawnAgents-D-7wMw-a.mjs} +21 -10
- package/dist/{spawnHappyCLI-BWOub_Uf.cjs → spawnHappyCLI-BJUd974I.cjs} +1 -1
- package/dist/{spawnHappyCLI-BcSO1rF6.mjs → spawnHappyCLI-CnyyJk74.mjs} +1 -1
- package/dist/{registerKillSessionHandler-CAif4Uz4.cjs → specialCommands-BsvSoDhC.cjs} +91 -6
- package/dist/{registerKillSessionHandler-CrLsN5m3.mjs → specialCommands-DHU7TNeK.mjs} +88 -7
- package/dist/{startFileWatcher-DVia64Vg.mjs → startFileWatcher-CpO5Mwbr.mjs} +1 -1
- package/dist/{startFileWatcher-BZrpUz7_.cjs → startFileWatcher-DBboREco.cjs} +1 -1
- package/dist/{startupSessionCreate-CY4tPjlZ.mjs → startupSessionCreate-BgaVuvQp.mjs} +1 -1
- package/dist/{startupSessionCreate-63ABDnfJ.cjs → startupSessionCreate-C1u2dtz8.cjs} +1 -1
- package/dist/{streamRelay-B3FloUTT.mjs → streamRelay-CqBynIon.mjs} +1 -1
- package/dist/{streamRelay-Cn_uGG6m.cjs → streamRelay-D9a4cBEa.cjs} +1 -1
- package/dist/{sync-CKSmwxec.cjs → sync-6HFRJP1h.cjs} +1 -1
- package/dist/{sync-CZjyTC4v.mjs → sync-I8NYmycF.mjs} +1 -1
- package/dist/{systemPrompt-BPzhf5d5.cjs → systemPrompt-BDWj5QSL.cjs} +2 -2
- package/dist/{systemPrompt-BKUVX-fd.mjs → systemPrompt-C1RSY_60.mjs} +2 -2
- package/dist/{teams-B2-KPjRg.mjs → teams-GpLFbXXE.mjs} +9 -9
- package/dist/{teams-CHBszdmc.cjs → teams-eUD7ymif.cjs} +9 -9
- package/dist/{template-DPsqlHJQ.cjs → template-17HATY_Y.cjs} +1 -1
- package/dist/{template-DuKZw-Sz.mjs → template-CEK8MEjo.mjs} +1 -1
- package/dist/{time-DcICfW0N.cjs → time-BAJRbB6U.cjs} +1 -1
- package/dist/{time-BsNUVcKH.mjs → time-umG7yHkb.mjs} +1 -1
- package/dist/{titleGenerator-B4b4ah--.mjs → titleGenerator-dmFlxkRs.mjs} +1 -1
- package/dist/{titleGenerator-Bvk1mx7G.cjs → titleGenerator-iqb2jOF1.cjs} +2 -2
- package/dist/{todo-C7--CBge.mjs → todo-CT4AJ3sH.mjs} +6 -6
- package/dist/{todo-BN4hhun6.cjs → todo-DsR7WnQS.cjs} +6 -6
- package/dist/tools-30E66QL_.cjs +140 -0
- package/dist/tools-BOWazSD6.mjs +137 -0
- package/dist/{uninstall-_qDbgdxh.cjs → uninstall-BtTc9hHa.cjs} +3 -3
- package/dist/{uninstall-Bjwl9bqK.mjs → uninstall-DImXs6VZ.mjs} +3 -3
- package/package.json +10 -10
- package/dist/selfCheck-Dz_Sm7w8.mjs +0 -86
- package/dist/smallFastModel-BLNgMrwR.mjs +0 -18
- package/dist/smallFastModel-D_uxGMo3.cjs +0 -21
- package/dist/tools-BILbS8Hh.mjs +0 -60
- package/dist/tools-Bl5Q_6Nr.cjs +0 -63
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
1
|
+
import { l as logger } from './logger-RpzJ4d8V.mjs';
|
|
2
2
|
import { p as prependToMessage, b as buildDigestLine, a as buildFirstTurnPrefix } from './prompt-QHuFx9j6.mjs';
|
|
3
|
-
import { P as ProjectsUnsupportedError } from './client-
|
|
4
|
-
import { c as createSelfReportState, A as AUTOMATION_TOOL_NAMES, P as PROJECT_TOOL_NAMES, r as registerAutomationTools, a as registerProjectTools, d as createProjectToolExecutor, b as registerReportProgressTool, n as normalizeAttention, e as normalizePhase, f as normalizeProgress, s as shouldAcceptSelfReport } from './reportProgressTool-
|
|
3
|
+
import { P as ProjectsUnsupportedError } from './client-DWws_aQK.mjs';
|
|
4
|
+
import { c as createSelfReportState, A as AUTOMATION_TOOL_NAMES, P as PROJECT_TOOL_NAMES, r as registerAutomationTools, a as registerProjectTools, d as createProjectToolExecutor, b as registerReportProgressTool, n as normalizeAttention, e as normalizePhase, f as normalizeProgress, s as shouldAcceptSelfReport } from './reportProgressTool-DUEq3xAL.mjs';
|
|
5
5
|
import { readFileSync, constants } from 'node:fs';
|
|
6
6
|
import { homedir } from 'node:os';
|
|
7
7
|
import { join, dirname } from 'node:path';
|
|
@@ -9,24 +9,24 @@ import { z } from 'zod';
|
|
|
9
9
|
import { p as piAgentDir } from './pi-CqyoZMjI.mjs';
|
|
10
10
|
import { unlink, mkdir, open, rename } from 'node:fs/promises';
|
|
11
11
|
import { randomUUID, createHash } from 'node:crypto';
|
|
12
|
-
import { T as TeamConnectionPreflightError, S as SessionInOtherTeamError, c as createTeamsClient, t as teamRequest } from './client-
|
|
13
|
-
import { t as teamScopePath, r as readTeamScope } from './context-
|
|
14
|
-
import { g as waitForSessionKey, e as sendUserMessage } from './sessionOps
|
|
15
|
-
import { T as TEAM_SKILL, a as TEAM_LEAD_PLAYBOOK } from './resources-
|
|
16
|
-
import { T as TEAM_TOOL_NAMES, r as registerTeamsTools } from './tools-
|
|
17
|
-
import { S as SESSION_PEER_TOOL_NAMES, r as registerSessionPeerTools, a as createSessionPeerToolExecutor } from './peerTools-
|
|
12
|
+
import { T as TeamConnectionPreflightError, S as SessionInOtherTeamError, c as createTeamsClient, t as teamRequest } from './client-qJ0y8fus.mjs';
|
|
13
|
+
import { t as teamScopePath, r as readTeamScope } from './context-t7YV0aZc.mjs';
|
|
14
|
+
import { g as waitForSessionKey, e as sendUserMessage } from './sessionOps-CYjMT7Ad.mjs';
|
|
15
|
+
import { T as TEAM_SKILL, a as TEAM_LEAD_PLAYBOOK } from './resources-CLP_MpK4.mjs';
|
|
16
|
+
import { T as TEAM_TOOL_NAMES, r as registerTeamsTools } from './tools-BOWazSD6.mjs';
|
|
17
|
+
import { S as SESSION_PEER_TOOL_NAMES, r as registerSessionPeerTools, a as createSessionPeerToolExecutor } from './peerTools-2_8Bw9PU.mjs';
|
|
18
18
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
19
19
|
import { createServer } from 'node:http';
|
|
20
20
|
import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js';
|
|
21
21
|
import { C as CLIPBOARD_TOOL_NAME, a as CLIPBOARD_TOOL_TITLE, b as CLIPBOARD_TOOL_DESCRIPTION, c as CLIPBOARD_MAX_BYTES } from './limits-DIo7rEBR.mjs';
|
|
22
|
-
import { A as ASSISTANT_TOOL_NAMES, a as registerAssistantTools, c as checkDownloadTarget } from './downloadTarget-
|
|
22
|
+
import { A as ASSISTANT_TOOL_NAMES, a as registerAssistantTools, c as checkDownloadTarget } from './downloadTarget-tYMV_VHo.mjs';
|
|
23
23
|
import { P as PREVIEW_TOOL_NAME, R as REPORT_PROGRESS_TOOL_NAME, a as PREVIEW_TOOL_TITLE, b as PREVIEW_TOOL_DESCRIPTION, c as PREVIEW_DOWNLOAD_PARAM_DESCRIPTION } from './agentGuidance-BDYt2Qy2.mjs';
|
|
24
24
|
import { n as normalizeWebPanels, w as webPanelPath } from './webPanels-B2_C2-3g.mjs';
|
|
25
|
-
import { b as readCredentialsForConfiguredRelay, r as readSettings } from './persistence-
|
|
26
|
-
import { g as getSessionNotificationBody } from './pushNotifications-
|
|
25
|
+
import { b as readCredentialsForConfiguredRelay, r as readSettings } from './persistence-Bn4qEbDg.mjs';
|
|
26
|
+
import { g as getSessionNotificationBody } from './pushNotifications-BThg4nVd.mjs';
|
|
27
27
|
import { c as checkPreviewPath } from './previewPath-CXN4Vag0.mjs';
|
|
28
|
-
import {
|
|
29
|
-
import { c as configuration } from './configuration-
|
|
28
|
+
import { y as ATTENTION_DISABLED_ERROR, z as ATTENTION_LIMITS, C as ownerBoardPostToRest, D as isAttentionBoardLocalId, O as OwnerBoardPostInputSchema, E as OwnerBoardUpdateInputSchema, F as OwnerBoardResolveInputSchema, G as OwnerBoardListInputSchema, H as ATTENTION_SESSION_CAPABILITY } from './index-WKyN-bNy.mjs';
|
|
29
|
+
import { c as configuration } from './configuration-BZHpFD7K.mjs';
|
|
30
30
|
import { createHash as createHash$1 } from 'crypto';
|
|
31
31
|
|
|
32
32
|
function createProjectInjector(deps) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
3
|
+
var logger = require('./logger-C3vZG6Q0.cjs');
|
|
4
4
|
var prompt = require('./prompt-Bof2aQkI.cjs');
|
|
5
|
-
var client = require('./client-
|
|
6
|
-
var reportProgressTool = require('./reportProgressTool-
|
|
5
|
+
var client = require('./client-agH03Irm.cjs');
|
|
6
|
+
var reportProgressTool = require('./reportProgressTool-CaJ8EwLq.cjs');
|
|
7
7
|
var node_fs = require('node:fs');
|
|
8
8
|
var os = require('node:os');
|
|
9
9
|
var path = require('node:path');
|
|
@@ -11,24 +11,24 @@ var z = require('zod');
|
|
|
11
11
|
var pi = require('./pi-DlsrPCTa.cjs');
|
|
12
12
|
var promises = require('node:fs/promises');
|
|
13
13
|
var node_crypto = require('node:crypto');
|
|
14
|
-
var client$1 = require('./client-
|
|
15
|
-
var context = require('./context-
|
|
16
|
-
var sessionOps = require('./sessionOps-
|
|
17
|
-
var resources = require('./resources-
|
|
18
|
-
var tools = require('./tools-
|
|
19
|
-
var peerTools = require('./peerTools-
|
|
14
|
+
var client$1 = require('./client-C2HcMqRF.cjs');
|
|
15
|
+
var context = require('./context-2xDvjkQp.cjs');
|
|
16
|
+
var sessionOps = require('./sessionOps-DGMpl9NB.cjs');
|
|
17
|
+
var resources = require('./resources-BZ_Be0qM.cjs');
|
|
18
|
+
var tools = require('./tools-30E66QL_.cjs');
|
|
19
|
+
var peerTools = require('./peerTools-C1E5cQ86.cjs');
|
|
20
20
|
var mcp_js = require('@modelcontextprotocol/sdk/server/mcp.js');
|
|
21
21
|
var node_http = require('node:http');
|
|
22
22
|
var streamableHttp_js = require('@modelcontextprotocol/sdk/server/streamableHttp.js');
|
|
23
23
|
var limits = require('./limits-C-a7gr04.cjs');
|
|
24
|
-
var downloadTarget = require('./downloadTarget-
|
|
24
|
+
var downloadTarget = require('./downloadTarget-CuhBVvuC.cjs');
|
|
25
25
|
var agentGuidance = require('./agentGuidance-BtBx2xxE.cjs');
|
|
26
26
|
var webPanels = require('./webPanels-FCgFKvVe.cjs');
|
|
27
|
-
var persistence = require('./persistence-
|
|
28
|
-
var pushNotifications = require('./pushNotifications-
|
|
27
|
+
var persistence = require('./persistence-CqtjFiD1.cjs');
|
|
28
|
+
var pushNotifications = require('./pushNotifications-Bb-QSqXw.cjs');
|
|
29
29
|
var previewPath = require('./previewPath-B0rBdhy1.cjs');
|
|
30
|
-
var index = require('./index-
|
|
31
|
-
var configuration = require('./configuration-
|
|
30
|
+
var index = require('./index-BOe6dKnL.cjs');
|
|
31
|
+
var configuration = require('./configuration-DyPW9mVa.cjs');
|
|
32
32
|
var require$$3 = require('crypto');
|
|
33
33
|
|
|
34
34
|
function createProjectInjector(deps) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { c as configuration } from './configuration-
|
|
3
|
-
import { r as readSettings, g as readCredentials, d as readDaemonState } from './persistence-
|
|
4
|
-
import {
|
|
2
|
+
import { c as configuration } from './configuration-BZHpFD7K.mjs';
|
|
3
|
+
import { r as readSettings, g as readCredentials, d as readDaemonState } from './persistence-Bn4qEbDg.mjs';
|
|
4
|
+
import { b as checkIfDaemonRunningAndCleanupStaleState } from './controlClient-Bw56NIrj.mjs';
|
|
5
5
|
import { findAllHappyProcesses } from './doctor-BPkYWSuq.mjs';
|
|
6
6
|
import { statSync, realpathSync, existsSync, readdirSync } from 'node:fs';
|
|
7
7
|
import { isAbsolute, resolve, dirname, basename, delimiter, join } from 'node:path';
|
|
8
8
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
9
|
-
import { p as packageJson } from './package-
|
|
9
|
+
import { p as packageJson } from './package-CwB8rFJt.mjs';
|
|
10
10
|
import { s as shareableSettingsSummary, c as collectRuntimeReadiness, S as SUPPORTED_NODE_LABEL, r as resolveClaudeCredentialReadiness, a as toolProbeLabel, b as daemonReadiness, d as daemonEndpointsMatch } from './doctorReadiness-C208SMN9.mjs';
|
|
11
11
|
import { c as credentialRelayProblem } from './authRelay-DhQhkBvX.mjs';
|
|
12
12
|
import { d as deriveLocalCliUpdateSummary } from './cliUpdate-Y34VGe9Y.mjs';
|
|
13
13
|
import { spawnSync } from 'node:child_process';
|
|
14
|
-
import { c as piInstallCommand } from './piRunnerArgs-
|
|
14
|
+
import { c as piInstallCommand } from './piRunnerArgs-DWBb63W9.mjs';
|
|
15
15
|
|
|
16
16
|
function shareSafeProcessLine(process2) {
|
|
17
17
|
return `PID ${process2.pid}: command arguments hidden for privacy`;
|
|
@@ -311,8 +311,8 @@ ${typeLabels[type] || type}:`));
|
|
|
311
311
|
}
|
|
312
312
|
console.log(chalk.gray(" An external claude command is only needed for native terminal/mirror use."));
|
|
313
313
|
try {
|
|
314
|
-
const { resolveAgentHomesForCli } = await import('./agentHome-
|
|
315
|
-
const { describeAgentHome } = await import('./index-
|
|
314
|
+
const { resolveAgentHomesForCli } = await import('./agentHome-Dc7LYF3d.mjs');
|
|
315
|
+
const { describeAgentHome } = await import('./index-CVHRt3SS.mjs');
|
|
316
316
|
const homes = await resolveAgentHomesForCli();
|
|
317
317
|
console.log(chalk.green(`\u2713 Claude config dir: ${describeAgentHome(homes.claudeConfigDir)}`));
|
|
318
318
|
console.log(chalk.green(`\u2713 Codex home: ${describeAgentHome(homes.codexHome)}`));
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
|
-
var configuration = require('./configuration-
|
|
5
|
-
var persistence = require('./persistence-
|
|
6
|
-
var controlClient = require('./controlClient-
|
|
4
|
+
var configuration = require('./configuration-DyPW9mVa.cjs');
|
|
5
|
+
var persistence = require('./persistence-CqtjFiD1.cjs');
|
|
6
|
+
var controlClient = require('./controlClient-DvFaPsg6.cjs');
|
|
7
7
|
var doctor$1 = require('./doctor-u46qYYKX.cjs');
|
|
8
8
|
var node_fs = require('node:fs');
|
|
9
9
|
var path = require('node:path');
|
|
10
10
|
var projectPath = require('./projectPath-C3ioB4Bu.cjs');
|
|
11
|
-
var _package = require('./package-
|
|
11
|
+
var _package = require('./package-Gnf_935w.cjs');
|
|
12
12
|
var doctorReadiness = require('./doctorReadiness-Dl6yRQCy.cjs');
|
|
13
13
|
var authRelay = require('./authRelay-Dy1qU9td.cjs');
|
|
14
14
|
var cliUpdate = require('./cliUpdate-DsKXPFYp.cjs');
|
|
15
15
|
var node_child_process = require('node:child_process');
|
|
16
|
-
var piRunnerArgs = require('./piRunnerArgs-
|
|
16
|
+
var piRunnerArgs = require('./piRunnerArgs-BI8yQRBZ.cjs');
|
|
17
17
|
|
|
18
18
|
function shareSafeProcessLine(process2) {
|
|
19
19
|
return `PID ${process2.pid}: command arguments hidden for privacy`;
|
|
@@ -313,8 +313,8 @@ ${typeLabels[type] || type}:`));
|
|
|
313
313
|
}
|
|
314
314
|
console.log(chalk.gray(" An external claude command is only needed for native terminal/mirror use."));
|
|
315
315
|
try {
|
|
316
|
-
const { resolveAgentHomesForCli } = await Promise.resolve().then(function () { return require('./agentHome-
|
|
317
|
-
const { describeAgentHome } = await Promise.resolve().then(function () { return require('./index-
|
|
316
|
+
const { resolveAgentHomesForCli } = await Promise.resolve().then(function () { return require('./agentHome-DsKHJ_Sf.cjs'); });
|
|
317
|
+
const { describeAgentHome } = await Promise.resolve().then(function () { return require('./index-KwuXqLwe.cjs'); });
|
|
318
318
|
const homes = await resolveAgentHomesForCli();
|
|
319
319
|
console.log(chalk.green(`\u2713 Claude config dir: ${describeAgentHome(homes.claudeConfigDir)}`));
|
|
320
320
|
console.log(chalk.green(`\u2713 Codex home: ${describeAgentHome(homes.codexHome)}`));
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
var promises = require('node:fs/promises');
|
|
4
4
|
var os = require('node:os');
|
|
5
5
|
var z = require('zod');
|
|
6
|
-
var logger = require('./logger-
|
|
7
|
-
var persistence = require('./persistence-
|
|
8
|
-
var controlClient = require('./controlClient-
|
|
9
|
-
var sessionOps = require('./sessionOps-
|
|
10
|
-
var remoteSessionClient = require('./remoteSessionClient-
|
|
6
|
+
var logger = require('./logger-C3vZG6Q0.cjs');
|
|
7
|
+
var persistence = require('./persistence-CqtjFiD1.cjs');
|
|
8
|
+
var controlClient = require('./controlClient-DvFaPsg6.cjs');
|
|
9
|
+
var sessionOps = require('./sessionOps-DGMpl9NB.cjs');
|
|
10
|
+
var remoteSessionClient = require('./remoteSessionClient-DgUMfPW4.cjs');
|
|
11
11
|
var ids = require('./ids-B6ZC0HGt.cjs');
|
|
12
12
|
var terminals = require('./terminals-B_bfC9c2.cjs');
|
|
13
|
-
var bootstrap = require('./bootstrap-
|
|
13
|
+
var bootstrap = require('./bootstrap-eJ1l7VYl.cjs');
|
|
14
14
|
var path = require('node:path');
|
|
15
15
|
|
|
16
16
|
const PERSONAL_MEMORY_SOFT_LIMIT_CHARS = 2e3;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { readFile, writeFile, appendFile, stat } from 'node:fs/promises';
|
|
2
2
|
import os from 'node:os';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { l as logger } from './logger-
|
|
5
|
-
import { c as readPersistedSessions } from './persistence-
|
|
6
|
-
import {
|
|
7
|
-
import { a as listSessions, r as readSessionTranscript, s as sessionWebUrl, g as waitForSessionKey, e as sendUserMessage, b as stopSession, d as archiveSession } from './sessionOps
|
|
8
|
-
import { r as readRemoteTranscript, s as sendRemoteMessage, d as deliverToSession, R as RemoteSessionOpsError } from './remoteSessionClient-
|
|
4
|
+
import { l as logger } from './logger-RpzJ4d8V.mjs';
|
|
5
|
+
import { c as readPersistedSessions } from './persistence-Bn4qEbDg.mjs';
|
|
6
|
+
import { g as spawnDaemonSession } from './controlClient-Bw56NIrj.mjs';
|
|
7
|
+
import { a as listSessions, r as readSessionTranscript, s as sessionWebUrl, g as waitForSessionKey, e as sendUserMessage, b as stopSession, d as archiveSession } from './sessionOps-CYjMT7Ad.mjs';
|
|
8
|
+
import { r as readRemoteTranscript, s as sendRemoteMessage, d as deliverToSession, R as RemoteSessionOpsError } from './remoteSessionClient-uPj7omsw.mjs';
|
|
9
9
|
import { i as isValidSessionId, a as isValidTerminalId } from './ids-DU6sLx4C.mjs';
|
|
10
10
|
import { l as listVhTerminals, r as readVhTerminal, s as sendToVhTerminal } from './terminals-Dlg0x3nY.mjs';
|
|
11
|
-
import { bootstrapAssistantHome, assistantPersonalMemoryPath } from './bootstrap-
|
|
11
|
+
import { bootstrapAssistantHome, assistantPersonalMemoryPath } from './bootstrap-Di38SnpN.mjs';
|
|
12
12
|
import { join, isAbsolute, normalize } from 'node:path';
|
|
13
13
|
|
|
14
14
|
const PERSONAL_MEMORY_SOFT_LIMIT_CHARS = 2e3;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var controlClient = require('./controlClient-
|
|
5
|
-
var spawnHappyCLI = require('./spawnHappyCLI-
|
|
6
|
-
var persistence = require('./persistence-
|
|
7
|
-
var configuration = require('./configuration-
|
|
3
|
+
var logger = require('./logger-C3vZG6Q0.cjs');
|
|
4
|
+
var controlClient = require('./controlClient-DvFaPsg6.cjs');
|
|
5
|
+
var spawnHappyCLI = require('./spawnHappyCLI-BJUd974I.cjs');
|
|
6
|
+
var persistence = require('./persistence-CqtjFiD1.cjs');
|
|
7
|
+
var configuration = require('./configuration-DyPW9mVa.cjs');
|
|
8
8
|
var doctorReadiness = require('./doctorReadiness-Dl6yRQCy.cjs');
|
|
9
9
|
|
|
10
10
|
function extractNoSandboxFlag(args) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import { i as isDaemonRunningCurrentlyInstalledHappyVersion,
|
|
3
|
-
import { s as spawnHappyCLI } from './spawnHappyCLI-
|
|
4
|
-
import { d as readDaemonState } from './persistence-
|
|
5
|
-
import { c as configuration } from './configuration-
|
|
1
|
+
import { l as logger } from './logger-RpzJ4d8V.mjs';
|
|
2
|
+
import { i as isDaemonRunningCurrentlyInstalledHappyVersion, b as checkIfDaemonRunningAndCleanupStaleState, s as stopDaemon } from './controlClient-Bw56NIrj.mjs';
|
|
3
|
+
import { s as spawnHappyCLI } from './spawnHappyCLI-CnyyJk74.mjs';
|
|
4
|
+
import { d as readDaemonState } from './persistence-Bn4qEbDg.mjs';
|
|
5
|
+
import { c as configuration } from './configuration-BZHpFD7K.mjs';
|
|
6
6
|
import { d as daemonEndpointsMatch } from './doctorReadiness-C208SMN9.mjs';
|
|
7
7
|
|
|
8
8
|
function extractNoSandboxFlag(args) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { existsSync } from 'node:fs';
|
|
2
|
-
import { s as spawnHappyCLI } from './spawnHappyCLI-
|
|
2
|
+
import { s as spawnHappyCLI } from './spawnHappyCLI-CnyyJk74.mjs';
|
|
3
3
|
import axios, { AxiosError } from 'axios';
|
|
4
4
|
import tweetnacl from 'tweetnacl';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { d as decodeBase64, a as decryptWithDataKey, b as decryptLegacy } from './authRelay-DhQhkBvX.mjs';
|
|
7
|
-
import { c as configuration } from './configuration-
|
|
8
|
-
import { g as getLocalHappyAgentCredentialPath, r as readLocalHappyAgentCredentials } from './localHappyAgentAuth-
|
|
7
|
+
import { c as configuration } from './configuration-BZHpFD7K.mjs';
|
|
8
|
+
import { g as getLocalHappyAgentCredentialPath, r as readLocalHappyAgentCredentials } from './localHappyAgentAuth-wvDp-nGj.mjs';
|
|
9
9
|
import 'cross-spawn';
|
|
10
10
|
import 'node:path';
|
|
11
11
|
import './projectPath-BTBIMB57.mjs';
|
|
12
12
|
import 'path';
|
|
13
13
|
import 'url';
|
|
14
|
-
import './logger-
|
|
14
|
+
import './logger-RpzJ4d8V.mjs';
|
|
15
15
|
import 'chalk';
|
|
16
16
|
import 'node:util';
|
|
17
17
|
import 'node:crypto';
|
|
18
18
|
import 'node:os';
|
|
19
|
-
import './package-
|
|
19
|
+
import './package-CwB8rFJt.mjs';
|
|
20
20
|
import 'node:fs/promises';
|
|
21
21
|
|
|
22
22
|
const ResumableMetadataSchema = z.object({
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var node_fs = require('node:fs');
|
|
4
|
-
var spawnHappyCLI = require('./spawnHappyCLI-
|
|
4
|
+
var spawnHappyCLI = require('./spawnHappyCLI-BJUd974I.cjs');
|
|
5
5
|
var axios = require('axios');
|
|
6
6
|
var tweetnacl = require('tweetnacl');
|
|
7
7
|
var z = require('zod');
|
|
8
8
|
var authRelay = require('./authRelay-Dy1qU9td.cjs');
|
|
9
|
-
var configuration = require('./configuration-
|
|
10
|
-
var localHappyAgentAuth = require('./localHappyAgentAuth-
|
|
9
|
+
var configuration = require('./configuration-DyPW9mVa.cjs');
|
|
10
|
+
var localHappyAgentAuth = require('./localHappyAgentAuth-DucSnCg3.cjs');
|
|
11
11
|
require('cross-spawn');
|
|
12
12
|
require('node:path');
|
|
13
13
|
require('./projectPath-C3ioB4Bu.cjs');
|
|
14
14
|
require('path');
|
|
15
15
|
require('url');
|
|
16
|
-
require('./logger-
|
|
16
|
+
require('./logger-C3vZG6Q0.cjs');
|
|
17
17
|
require('chalk');
|
|
18
18
|
require('node:util');
|
|
19
19
|
require('node:crypto');
|
|
20
20
|
require('node:os');
|
|
21
|
-
require('./package-
|
|
21
|
+
require('./package-Gnf_935w.cjs');
|
|
22
22
|
require('node:fs/promises');
|
|
23
23
|
|
|
24
24
|
const ResumableMetadataSchema = z.z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as packageJson } from './package-
|
|
1
|
+
import { p as packageJson } from './package-CwB8rFJt.mjs';
|
|
2
2
|
import module$1 from 'node:module';
|
|
3
3
|
import { existsSync } from 'node:fs';
|
|
4
4
|
import { readdir, rm } from 'node:fs/promises';
|
|
@@ -57,10 +57,10 @@ async function pruneStaleCompileCaches(happyHomeDir, cliVersion) {
|
|
|
57
57
|
async function run(args) {
|
|
58
58
|
enableCompileCacheIfPossible(packageJson.version);
|
|
59
59
|
if (isStandaloneVersionRequest(args) || isSelfCheckRequest(args)) {
|
|
60
|
-
const { selfCheckMain } = await import('./selfCheck-
|
|
60
|
+
const { selfCheckMain } = await import('./selfCheck-4bcdHPFQ.mjs');
|
|
61
61
|
process.exit(await selfCheckMain({ verbose: isSelfCheckRequest(args) }));
|
|
62
62
|
}
|
|
63
|
-
const { main } = await import('./main-
|
|
63
|
+
const { main } = await import('./main-IPhaImjm.mjs');
|
|
64
64
|
await main();
|
|
65
65
|
}
|
|
66
66
|
void run(process.argv.slice(2));
|
|
@@ -23,6 +23,7 @@ function _interopNamespaceDefault(e) {
|
|
|
23
23
|
var z__namespace = /*#__PURE__*/_interopNamespaceDefault(z);
|
|
24
24
|
|
|
25
25
|
const CODEX_STEER_CAPABILITY = "codex-steer-v1";
|
|
26
|
+
const CODEX_COMPACT_CAPABILITY = "codex-compact-v1";
|
|
26
27
|
const PI_STEER_CAPABILITY = "pi-steer-v1";
|
|
27
28
|
const sessionRoleSchema = z__namespace.enum(["user", "agent"]);
|
|
28
29
|
const sessionTextEventSchema = z__namespace.object({
|
|
@@ -1014,9 +1015,9 @@ function createBuiltinTodoClient(credentials, options2) {
|
|
|
1014
1015
|
throw new BuiltinTodoError("order-collision", "These Todos share an order that cannot safely be changed");
|
|
1015
1016
|
}
|
|
1016
1017
|
}
|
|
1017
|
-
const
|
|
1018
|
-
const nextRecord = { ...record, order: recordOrder, updatedAt };
|
|
1019
|
-
const nextNeighbor = { ...neighbor, order: neighborOrder, updatedAt };
|
|
1018
|
+
const updatedAt2 = Date.now();
|
|
1019
|
+
const nextRecord = { ...record, order: recordOrder, updatedAt: updatedAt2 };
|
|
1020
|
+
const nextNeighbor = { ...neighbor, order: neighborOrder, updatedAt: updatedAt2 };
|
|
1020
1021
|
const versions = await mutate([mutation(record, nextRecord), mutation(neighbor, nextNeighbor)]);
|
|
1021
1022
|
return [{ ...nextRecord, version: versions[0] }, { ...nextNeighbor, version: versions[1] }];
|
|
1022
1023
|
}
|
|
@@ -1106,24 +1107,218 @@ z.z.object({
|
|
|
1106
1107
|
startedAt: z.z.number(),
|
|
1107
1108
|
at: z.z.number()
|
|
1108
1109
|
});
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1110
|
+
var version = 1;
|
|
1111
|
+
var updatedAt = "2026-10-30";
|
|
1112
|
+
var agents = {
|
|
1113
|
+
claude: {
|
|
1114
|
+
tier: "opus",
|
|
1115
|
+
pattern: "^claude-opus-(\\d+)(?:-(\\d{1,2}))?$",
|
|
1116
|
+
models: [
|
|
1117
|
+
{
|
|
1118
|
+
model: "claude-opus-5-5",
|
|
1119
|
+
label: "Opus 5.5",
|
|
1120
|
+
requires: {
|
|
1121
|
+
capability: "claude-opus-5-5-v1",
|
|
1122
|
+
cliVersion: "0.2.149"
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
]
|
|
1126
|
+
},
|
|
1127
|
+
codex: {
|
|
1128
|
+
tier: "sol",
|
|
1129
|
+
pattern: "^gpt-(\\d+)(?:\\.(\\d+))?-sol$",
|
|
1130
|
+
models: [
|
|
1131
|
+
{
|
|
1132
|
+
model: "gpt-6.1-sol",
|
|
1133
|
+
label: "gpt-6.1-sol",
|
|
1134
|
+
requires: {
|
|
1135
|
+
agentVersion: "0.160.0"
|
|
1136
|
+
}
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
model: "gpt-6-sol",
|
|
1140
|
+
label: "gpt-6-sol",
|
|
1141
|
+
requires: {
|
|
1142
|
+
agentVersion: "0.157.0"
|
|
1143
|
+
}
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
model: "gpt-5.6-sol",
|
|
1147
|
+
label: "gpt-5.6-sol",
|
|
1148
|
+
requires: {
|
|
1149
|
+
agentVersion: "0.150.0"
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
]
|
|
1153
|
+
},
|
|
1154
|
+
gemini: {
|
|
1155
|
+
tier: "pro",
|
|
1156
|
+
pattern: "^gemini-(\\d+)(?:\\.(\\d+))?-pro(?:-preview)?$",
|
|
1157
|
+
models: [
|
|
1158
|
+
{
|
|
1159
|
+
model: "gemini-3.1-pro-preview",
|
|
1160
|
+
label: "gemini 3.1 pro"
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
model: "gemini-2.5-pro",
|
|
1164
|
+
label: "gemini 2.5 pro"
|
|
1165
|
+
}
|
|
1166
|
+
]
|
|
1167
|
+
}
|
|
1168
|
+
};
|
|
1169
|
+
var bundledLatestModels = {
|
|
1170
|
+
version,
|
|
1171
|
+
updatedAt,
|
|
1172
|
+
agents
|
|
1173
|
+
};
|
|
1174
|
+
const LATEST_MODEL_MODE = "latest";
|
|
1175
|
+
function isLatestModelMode(model) {
|
|
1176
|
+
return model === LATEST_MODEL_MODE;
|
|
1177
|
+
}
|
|
1178
|
+
const LATEST_MODEL_AGENTS = ["claude", "codex", "gemini"];
|
|
1179
|
+
const LatestModelEntrySchema = z.z.object({
|
|
1180
|
+
model: z.z.string().min(1),
|
|
1181
|
+
label: z.z.string().optional(),
|
|
1182
|
+
/** What a machine/wrapper must have to run it. Absent = nothing provable
|
|
1183
|
+
* without the session's own catalog. */
|
|
1184
|
+
requires: z.z.object({
|
|
1185
|
+
/** Wrapper capability (session metadata.capabilities) — AGENTS.md rule 14. */
|
|
1186
|
+
capability: z.z.string().optional(),
|
|
1187
|
+
/** very-happy-cli version that first advertises `capability`; only used
|
|
1188
|
+
* before a session exists (launcher label). */
|
|
1189
|
+
cliVersion: z.z.string().optional(),
|
|
1190
|
+
/** First agent CLI (codex) whose bundled `model/list` carries the model. */
|
|
1191
|
+
agentVersion: z.z.string().optional()
|
|
1192
|
+
}).optional()
|
|
1193
|
+
});
|
|
1194
|
+
const LatestModelTierSchema = z.z.object({
|
|
1195
|
+
tier: z.z.string(),
|
|
1196
|
+
/** Regex source matching every id of the tier; its capture groups are the
|
|
1197
|
+
* version (`claude-opus-5-5` → 5,5; `gpt-6.1-sol` → 6.1). */
|
|
1198
|
+
pattern: z.z.string(),
|
|
1199
|
+
/** Known models of the tier, newest first. */
|
|
1200
|
+
models: z.z.array(LatestModelEntrySchema)
|
|
1201
|
+
});
|
|
1202
|
+
const LatestModelTableSchema = z.z.object({
|
|
1203
|
+
version: z.z.number(),
|
|
1204
|
+
updatedAt: z.z.string().optional(),
|
|
1205
|
+
agents: z.z.object({
|
|
1206
|
+
claude: LatestModelTierSchema.optional(),
|
|
1207
|
+
codex: LatestModelTierSchema.optional(),
|
|
1208
|
+
gemini: LatestModelTierSchema.optional()
|
|
1209
|
+
}).passthrough()
|
|
1210
|
+
}).passthrough();
|
|
1211
|
+
z.z.object({
|
|
1212
|
+
table: LatestModelTableSchema,
|
|
1213
|
+
source: z.z.enum(["bundled", "configured"])
|
|
1214
|
+
});
|
|
1215
|
+
const BUNDLED_LATEST_MODELS = LatestModelTableSchema.parse(bundledLatestModels);
|
|
1216
|
+
const MACHINE_CONFIG_AGENTS = ["codex", "gemini"];
|
|
1217
|
+
function compilePattern(source) {
|
|
1218
|
+
try {
|
|
1219
|
+
return new RegExp(source);
|
|
1220
|
+
} catch {
|
|
1221
|
+
return null;
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
function tierVersion(tier, model) {
|
|
1225
|
+
const match = compilePattern(tier.pattern)?.exec(model);
|
|
1226
|
+
if (!match) return null;
|
|
1227
|
+
return match.slice(1).filter((part) => part !== void 0).map((part) => Number(part));
|
|
1113
1228
|
}
|
|
1114
|
-
function
|
|
1115
|
-
|
|
1229
|
+
function compareTierVersions(a, b) {
|
|
1230
|
+
for (let i = 0; i < Math.max(a.length, b.length); i++) {
|
|
1231
|
+
const diff = (a[i] ?? 0) - (b[i] ?? 0);
|
|
1232
|
+
if (diff !== 0) return diff;
|
|
1233
|
+
}
|
|
1234
|
+
return 0;
|
|
1235
|
+
}
|
|
1236
|
+
function catalogTierIds(tier, catalog) {
|
|
1237
|
+
const ids = /* @__PURE__ */ new Map();
|
|
1238
|
+
for (const entry of catalog ?? []) {
|
|
1239
|
+
for (const id2 of [entry.resolvedModel, entry.code]) {
|
|
1240
|
+
if (typeof id2 === "string" && tierVersion(tier, id2) && !ids.has(id2)) {
|
|
1241
|
+
ids.set(id2, entry.code === id2 && entry.value ? entry.value : id2);
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
return ids;
|
|
1246
|
+
}
|
|
1247
|
+
function entryRunnable(entry, ctx, catalogIds) {
|
|
1248
|
+
if (catalogIds.has(entry.model)) return true;
|
|
1249
|
+
const requires = entry.requires;
|
|
1250
|
+
{
|
|
1251
|
+
return !!requires?.capability && (ctx.capabilities ?? []).includes(requires.capability);
|
|
1252
|
+
}
|
|
1253
|
+
}
|
|
1254
|
+
function getLatestModelTier(table, agent) {
|
|
1255
|
+
if (agent !== "claude" && agent !== "codex" && agent !== "gemini") return null;
|
|
1256
|
+
const tier = table?.agents?.[agent] ?? BUNDLED_LATEST_MODELS.agents[agent];
|
|
1257
|
+
return tier && compilePattern(tier.pattern) ? tier : BUNDLED_LATEST_MODELS.agents[agent] ?? null;
|
|
1258
|
+
}
|
|
1259
|
+
function resolveLatestModel(table, agent, ctx) {
|
|
1260
|
+
const tier = getLatestModelTier(table, agent);
|
|
1261
|
+
if (!tier) return { model: null, newest: null, label: null, limited: false, configured: null };
|
|
1262
|
+
const catalogIds = catalogTierIds(tier, ctx.catalog);
|
|
1263
|
+
const labels = /* @__PURE__ */ new Map();
|
|
1264
|
+
const known = [];
|
|
1265
|
+
const runnable = [];
|
|
1266
|
+
for (const entry of tier.models) {
|
|
1267
|
+
if (!tierVersion(tier, entry.model)) continue;
|
|
1268
|
+
labels.set(entry.model, entry.label ?? entry.model);
|
|
1269
|
+
known.push(entry.model);
|
|
1270
|
+
if (entryRunnable(entry, ctx, catalogIds)) runnable.push(entry.model);
|
|
1271
|
+
}
|
|
1272
|
+
for (const [id2, label] of catalogIds) {
|
|
1273
|
+
if (!labels.has(id2)) labels.set(id2, label);
|
|
1274
|
+
known.push(id2);
|
|
1275
|
+
runnable.push(id2);
|
|
1276
|
+
}
|
|
1277
|
+
const newestOf = (ids) => {
|
|
1278
|
+
let best = null;
|
|
1279
|
+
for (const id2 of ids) {
|
|
1280
|
+
const version2 = tierVersion(tier, id2);
|
|
1281
|
+
if (!best || compareTierVersions(version2, best.version) > 0) best = { id: id2, version: version2 };
|
|
1282
|
+
}
|
|
1283
|
+
return best?.id ?? null;
|
|
1284
|
+
};
|
|
1285
|
+
const newest = newestOf(known);
|
|
1286
|
+
if (MACHINE_CONFIG_AGENTS.includes(agent ?? "")) {
|
|
1287
|
+
const configured = typeof ctx.configuredModel === "string" && ctx.configuredModel.trim() ? ctx.configuredModel.trim() : null;
|
|
1288
|
+
if (configured || ctx.configuredModel === void 0) {
|
|
1289
|
+
return { model: null, newest, label: configured, limited: false, configured };
|
|
1290
|
+
}
|
|
1291
|
+
}
|
|
1292
|
+
const model = newestOf(runnable);
|
|
1293
|
+
const sameVersion = model !== null && newest !== null && compareTierVersions(tierVersion(tier, model), tierVersion(tier, newest)) === 0;
|
|
1294
|
+
return {
|
|
1295
|
+
model,
|
|
1296
|
+
newest,
|
|
1297
|
+
label: model ? labels.get(model) ?? model : null,
|
|
1298
|
+
limited: newest !== null && !sameVersion,
|
|
1299
|
+
configured: null
|
|
1300
|
+
};
|
|
1301
|
+
}
|
|
1302
|
+
function parseLatestModelTable(value) {
|
|
1303
|
+
const parsed = LatestModelTableSchema.safeParse(value);
|
|
1304
|
+
if (!parsed.success) return null;
|
|
1305
|
+
for (const agent of LATEST_MODEL_AGENTS) {
|
|
1306
|
+
const tier = parsed.data.agents[agent];
|
|
1307
|
+
if (tier && !compilePattern(tier.pattern)) return null;
|
|
1308
|
+
}
|
|
1309
|
+
return parsed.data;
|
|
1116
1310
|
}
|
|
1117
1311
|
const AGENT_CODE_DEFAULTS = {
|
|
1118
1312
|
// The Claude UI key for YOLO is `bypassPermissions`; the CLI also accepts
|
|
1119
1313
|
// `yolo` and maps it to the Claude SDK's bypass mode.
|
|
1120
|
-
// model
|
|
1121
|
-
//
|
|
1122
|
-
//
|
|
1123
|
-
//
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1314
|
+
// model: `latest` (B-844) = the newest model of the agent's tier that the
|
|
1315
|
+
// session's wrapper can run, resolved at send time (modelLatest.ts) and
|
|
1316
|
+
// never sent as is. Today: Claude → claude-opus-5-5 (pinned id, not the
|
|
1317
|
+
// `opus` alias), Codex → gpt-6.1-sol on Codex >= 0.160, Gemini → the
|
|
1318
|
+
// newest pro its session catalog lists. effort null = don't send effort.
|
|
1319
|
+
claude: { permissionMode: "bypassPermissions", modelMode: LATEST_MODEL_MODE, effortLevel: null },
|
|
1320
|
+
codex: { permissionMode: "yolo", modelMode: LATEST_MODEL_MODE, effortLevel: "medium" },
|
|
1321
|
+
gemini: { permissionMode: "default", modelMode: LATEST_MODEL_MODE, effortLevel: null },
|
|
1127
1322
|
openclaw: { permissionMode: "default", modelMode: "default", effortLevel: null },
|
|
1128
1323
|
// pi: the runner keeps Claude's permission vocabulary (B-350 — HAPPY_PERMISSION_MODE +
|
|
1129
1324
|
// session-modes file, enforced by the pi-side gate; `bypassPermissions` = auto-allow every
|
|
@@ -1490,6 +1685,7 @@ exports.AutomationPrecheckSchema = AutomationPrecheckSchema;
|
|
|
1490
1685
|
exports.AutomationTriggerSchema = AutomationTriggerSchema;
|
|
1491
1686
|
exports.BUILTIN_TODO_DISCOVERY = BUILTIN_TODO_DISCOVERY;
|
|
1492
1687
|
exports.BUILTIN_TODO_SKILL = BUILTIN_TODO_SKILL;
|
|
1688
|
+
exports.CODEX_COMPACT_CAPABILITY = CODEX_COMPACT_CAPABILITY;
|
|
1493
1689
|
exports.CODEX_STEER_CAPABILITY = CODEX_STEER_CAPABILITY;
|
|
1494
1690
|
exports.HARNESS_INSTALL_CAPABILITY_VERSION = HARNESS_INSTALL_CAPABILITY_VERSION;
|
|
1495
1691
|
exports.OwnerBoardListInputSchema = OwnerBoardListInputSchema;
|
|
@@ -1509,11 +1705,12 @@ exports.createEnvelope = createEnvelope;
|
|
|
1509
1705
|
exports.getAgentCodeDefaults = getAgentCodeDefaults;
|
|
1510
1706
|
exports.isAttentionBoardLocalId = isAttentionBoardLocalId;
|
|
1511
1707
|
exports.isAutomationRunTerminal = isAutomationRunTerminal;
|
|
1512
|
-
exports.isClaudeOpus55Model = isClaudeOpus55Model;
|
|
1513
1708
|
exports.isHarnessInstallId = isHarnessInstallId;
|
|
1514
1709
|
exports.isInsideTeamWorktree = isInsideTeamWorktree;
|
|
1710
|
+
exports.isLatestModelMode = isLatestModelMode;
|
|
1515
1711
|
exports.normalizeAgentKey = normalizeAgentKey;
|
|
1516
1712
|
exports.ownerBoardPostToRest = ownerBoardPostToRest;
|
|
1713
|
+
exports.parseLatestModelTable = parseLatestModelTable;
|
|
1517
1714
|
exports.rebaseTeamWorktreePath = rebaseTeamWorktreePath;
|
|
1715
|
+
exports.resolveLatestModel = resolveLatestModel;
|
|
1518
1716
|
exports.streamKeyOf = streamKeyOf;
|
|
1519
|
-
exports.supportsClaudeOpus55 = supportsClaudeOpus55;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { statSync, readdirSync } from 'node:fs';
|
|
2
2
|
import { homedir } from 'node:os';
|
|
3
|
-
import { l as logger } from './logger-
|
|
4
|
-
import { r as readSettings } from './persistence-
|
|
3
|
+
import { l as logger } from './logger-RpzJ4d8V.mjs';
|
|
4
|
+
import { r as readSettings } from './persistence-Bn4qEbDg.mjs';
|
|
5
5
|
import { d as describeAgentHome, C as CLAUDE_CONFIG_DIR_ENV, a as CODEX_HOME_ENV, f as findClaudeConversation, b as agentHomeCandidates, c as findCodexThread, r as resolveAgentHomes, A as AGENT_HOME_ENV_NAMES, g as agentHomeEnv, p as probeLoginShellEnv } from './loginShellEnv-Dw8M7tkI.mjs';
|
|
6
6
|
export { h as claudeConversationPath, i as claudeProjectDirName, j as codexRolloutFileMatches, e as expandHomePath } from './loginShellEnv-Dw8M7tkI.mjs';
|
|
7
7
|
import 'chalk';
|
|
8
8
|
import 'node:util';
|
|
9
|
-
import './configuration-
|
|
9
|
+
import './configuration-BZHpFD7K.mjs';
|
|
10
10
|
import 'node:path';
|
|
11
|
-
import './package-
|
|
11
|
+
import './package-CwB8rFJt.mjs';
|
|
12
12
|
import 'node:fs/promises';
|
|
13
13
|
import 'zod';
|
|
14
14
|
import './authRelay-DhQhkBvX.mjs';
|