very-happy-cli 0.2.197 → 0.2.199
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcpBackend-B-CD1MrV.mjs → AcpBackend-Bo6bOamG.mjs} +3 -3
- package/dist/{AcpBackend-CqDg1GgF.cjs → AcpBackend-HhZ8nrIh.cjs} +3 -3
- package/dist/{AcpSessionManager-Cv1KTldV.cjs → AcpSessionManager--7nDgA9S.cjs} +2 -2
- package/dist/{AcpSessionManager-CgomFAjk.mjs → AcpSessionManager-C-pkJKO2.mjs} +2 -2
- package/dist/{BasePermissionHandler-D6-fZvtx.mjs → BasePermissionHandler-Ffp54Ntg.mjs} +1 -1
- package/dist/{BasePermissionHandler-BxUjjHiI.cjs → BasePermissionHandler-al7UXWRq.cjs} +1 -1
- package/dist/{account-CnN-iHFd.mjs → account-Bnk1yyGS.mjs} +11 -11
- package/dist/{account-Bexqa-vj.cjs → account-DCIz-iyL.cjs} +11 -11
- package/dist/{accountService-DL6xhVUa.cjs → accountService-B59oKwa4.cjs} +4 -4
- package/dist/{accountService-DQ21IlBs.mjs → accountService-WPnOpkvs.mjs} +4 -4
- package/dist/{acpSessionResume-DzFELzTU.mjs → acpSessionResume-BVroOlVN.mjs} +1 -1
- package/dist/{acpSessionResume-CfEw8L26.cjs → acpSessionResume-CfogEHtT.cjs} +1 -1
- package/dist/{agentHome-CmSA7hBC.mjs → agentHome-CHTzSiu4.mjs} +4 -4
- package/dist/{agentHome-CBYL4J4Q.cjs → agentHome-Y3bMEtCp.cjs} +4 -4
- package/dist/{api-CB3tLbbj.cjs → api-CgzfmyYS.cjs} +30 -28
- package/dist/{api-Do7MUIrP.mjs → api-DibgCucH.mjs} +14 -12
- package/dist/{apiMachine-CytFlPdl.mjs → apiMachine-BUaFSi27.mjs} +22 -20
- package/dist/{apiMachine-guUGAifI.cjs → apiMachine-DSI5mKlh.cjs} +34 -32
- package/dist/{attachmentContent-B8Lg7kgp.mjs → attachmentContent-D9wq3bok.mjs} +2 -2
- package/dist/{attachmentContent-errR84kh.cjs → attachmentContent-JWUS5uhH.cjs} +2 -2
- package/dist/{auth-ZKJNs8AK.cjs → auth-B6H2wHTy.cjs} +5 -5
- package/dist/{auth-BhM0lHLA.cjs → auth-BXav16o0.cjs} +8 -8
- package/dist/{auth-Dnu0Mocz.mjs → auth-BjWk9sHU.mjs} +5 -5
- package/dist/{auth-B-1T6w1U.mjs → auth-DFMJQDNF.mjs} +8 -8
- package/dist/{auto-eimPZ4gm.cjs → auto-CMO-VQYN.cjs} +17 -17
- package/dist/{auto-CFSmWudH.mjs → auto-DOhQ2OU5.mjs} +17 -17
- package/dist/{bootstrap-B7mwfud6.cjs → bootstrap-Brd_jnA2.cjs} +2 -2
- package/dist/{bootstrap-C2JyiPax.mjs → bootstrap-CY7Db_VV.mjs} +2 -2
- package/dist/{browser-B3VVAWcC.cjs → browser-BhncBLE4.cjs} +1 -1
- package/dist/{browser-Cnk2N81e.mjs → browser-BpwBEJDU.mjs} +1 -1
- package/dist/{claudeAccountEnv-CPO6CGNd.mjs → claudeAccountEnv-CYwfvK1u.mjs} +1 -1
- package/dist/{claudeAccountEnv-_O3x5AJ1.cjs → claudeAccountEnv-z_ecsJAP.cjs} +1 -1
- package/dist/{claudeLocal-CvZ5Sfq_.cjs → claudeLocal-Co_DyW-D.cjs} +5 -5
- package/dist/{claudeLocal-gDpGeteK.mjs → claudeLocal-coKrsYmR.mjs} +5 -5
- package/dist/{claudeLocalLauncher-e_DkguJW.mjs → claudeLocalLauncher-BFnLc0R-.mjs} +10 -10
- package/dist/{claudeLocalLauncher-CFSxFln_.cjs → claudeLocalLauncher-CNDrO3b6.cjs} +10 -10
- package/dist/{claudeSessionFork--_RtwhC2.cjs → claudeSessionFork-BuDN5SkN.cjs} +1 -1
- package/dist/{claudeSessionFork-BMMJmfxX.mjs → claudeSessionFork-dOOc9hpA.mjs} +1 -1
- package/dist/{client-BeEAF2yn.mjs → client-B5uvkdLn.mjs} +2 -2
- package/dist/{client-DH_mgm2T.cjs → client-BKyTA9Hf.cjs} +2 -2
- package/dist/{client-TZ1BY7kn.cjs → client-CBbUzTcm.cjs} +4 -4
- package/dist/{client-CkiWUkm6.mjs → client-DKPLBLvx.mjs} +2 -2
- package/dist/{client-DmO89_dS.cjs → client-KbhVRYjy.cjs} +2 -2
- package/dist/{client-Bav5WI8p.mjs → client-Ng-oAhlX.mjs} +4 -4
- package/dist/codex/happyMcpStdioBridge.cjs +16 -16
- package/dist/codex/happyMcpStdioBridge.mjs +16 -16
- package/dist/{codexAccount-CYhQir50.cjs → codexAccount-8Wv5enLR.cjs} +1 -1
- package/dist/{codexAccount-iZwmpYti.mjs → codexAccount-DeFAjaHW.mjs} +1 -1
- package/dist/{codexAppServerClient-C4FYS9D9.cjs → codexAppServerClient-6QmZ2Tn5.cjs} +3 -3
- package/dist/{codexAppServerClient-AcMiUjlK.mjs → codexAppServerClient-BAcU_XN8.mjs} +3 -3
- package/dist/{codexCommand-CuteJvKE.mjs → codexCommand-CCeaWZ-1.mjs} +54 -47
- package/dist/{codexCommand-BkF16_aL.cjs → codexCommand-hJYa82Af.cjs} +54 -47
- package/dist/{codexTermination-CjHWp1C_.mjs → codexTermination-BX0sCNFy.mjs} +1 -1
- package/dist/{codexTermination-DGgKsMxj.cjs → codexTermination-DKjQcC3e.cjs} +1 -1
- package/dist/{config-BklFo_Cs.cjs → config-171VOPLq.cjs} +3 -3
- package/dist/{config-CUvb7oaW.mjs → config-9iXYh_zS.mjs} +3 -3
- package/dist/{configuration-BL_fxboH.cjs → configuration-CAzuk0Xs.cjs} +1 -1
- package/dist/{configuration-BIh6P6kB.mjs → configuration-D9k5yIzV.mjs} +1 -1
- package/dist/{connect-KIJsx0iT.mjs → connect-BEhKtsEn.mjs} +13 -13
- package/dist/{connect-Bi7cRXtj.cjs → connect-MlXU2FE3.cjs} +13 -13
- package/dist/{context-BYcZIvKn.cjs → context-CI9LnDu1.cjs} +1 -1
- package/dist/{context-Ct__7RAS.mjs → context-WVEuAdf2.mjs} +1 -1
- package/dist/{controlClient-DMtkGpc3.cjs → controlClient-Bb188cU0.cjs} +3 -3
- package/dist/{controlClient-CPZkMKsH.mjs → controlClient-DhFAPGHz.mjs} +3 -3
- package/dist/{createSessionMetadata-DkkddlJa.mjs → createSessionMetadata-BIK0Xz31.mjs} +2 -2
- package/dist/{createSessionMetadata-BWr0XT-Y.cjs → createSessionMetadata-C2EQi_od.cjs} +2 -2
- package/dist/{daemonAccounts-CnAEaJE_.mjs → daemonAccounts-DD5YBwku.mjs} +3 -3
- package/dist/{daemonAccounts-CxMJw7x2.cjs → daemonAccounts-nLyHz8WB.cjs} +2 -2
- package/dist/{defaultPermissionMode-BCWCMONI.cjs → defaultPermissionMode-BA1fgIpW.cjs} +1 -1
- package/dist/{defaultPermissionMode-CpEJ0wlb.mjs → defaultPermissionMode-Dmw3lpdN.mjs} +1 -1
- package/dist/{deterministicJson-Dm3yDrwj.mjs → deterministicJson-BJ7LY5-S.mjs} +13 -13
- package/dist/{deterministicJson-BO6ZUUiV.cjs → deterministicJson-DCzFgRiT.cjs} +13 -13
- package/dist/{doctor-DHK-5Hxm.cjs → doctor-CH_pTY3Q.cjs} +7 -7
- package/dist/{doctor-TK49jR60.mjs → doctor-jAPeyoi6.mjs} +7 -7
- package/dist/{downloadTarget-C2XcfMXb.mjs → downloadTarget-BhMm1keb.mjs} +6 -6
- package/dist/{downloadTarget-QP5nnKsW.cjs → downloadTarget-CZS0BVu2.cjs} +6 -6
- package/dist/{ensureDaemonRunning-Bi-PF5LL.mjs → ensureDaemonRunning-BjbC8PuJ.mjs} +5 -5
- package/dist/{ensureDaemonRunning-pg-EYmG0.cjs → ensureDaemonRunning-CTKaWMED.cjs} +5 -5
- package/dist/{handleResumeCommand-B69L6W80.mjs → handleResumeCommand-DbFTdwoc.mjs} +5 -5
- package/dist/{handleResumeCommand-CMLpVjkl.cjs → handleResumeCommand-DsaEUiax.cjs} +5 -5
- package/dist/{index-BSSAKD4Q.mjs → index-BAjoMeJi.mjs} +4 -4
- package/dist/{index-CwwDV02T.mjs → index-BEKb2cxz.mjs} +43 -43
- package/dist/{index-C27JFCbe.mjs → index-BQvPYTNM.mjs} +258 -90
- package/dist/{index-D9Hidq-g.cjs → index-BnT8yvlF.cjs} +258 -89
- package/dist/{index-DgnbOqH_.cjs → index-DL6ONx6v.cjs} +3 -3
- package/dist/{index-P6modcWo.mjs → index-DcfbjaVL.mjs} +3 -3
- package/dist/{index-sXThJ-ic.cjs → index-DdJRSpLB.cjs} +42 -42
- package/dist/{index-BM14YD9K.mjs → index-DpQ9OLYi.mjs} +4 -4
- package/dist/{index-DC_XlLAD.cjs → index-DuoMPw0y.cjs} +4 -4
- package/dist/{index-XeWmi_Wt.cjs → index-qVJYCmRA.cjs} +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-Cyb1ZsOO.cjs → install-5nblS8vW.cjs} +3 -3
- package/dist/{install-B6vD9h4Z.mjs → install-CJcRTQVK.mjs} +3 -3
- package/dist/lib.cjs +12 -12
- package/dist/lib.mjs +12 -12
- package/dist/{localHappyAgentAuth-Dxl6itKW.cjs → localHappyAgentAuth-Bsk_VyUN.cjs} +1 -1
- package/dist/{localHappyAgentAuth-BupJnMMB.mjs → localHappyAgentAuth-CD896cy4.mjs} +1 -1
- package/dist/{logger-CtweAuKq.cjs → logger-LsJ3Cl5o.cjs} +2 -2
- package/dist/{logger-CahcyjlK.mjs → logger-n9NOzHhK.mjs} +2 -2
- package/dist/{machineMetadata-jOqz4fn8.mjs → machineMetadata-Bc7FwngX.mjs} +3 -3
- package/dist/{machineMetadata-thOCcaSv.cjs → machineMetadata-CUU2NSYl.cjs} +3 -3
- package/dist/{main-CTIbEEsd.cjs → main-CEu9zJ4x.cjs} +47 -47
- package/dist/{main-bCGlXj7y.mjs → main-CzItRviV.mjs} +47 -47
- package/dist/{mcp-BOS5msHd.cjs → mcp-CPW1yQdX.cjs} +18 -18
- package/dist/{mcp-dtmpWc-Y.mjs → mcp-yK3ynz_E.mjs} +18 -18
- package/dist/{mirrorProtocol-CFDn3zfT.cjs → mirrorProtocol-5bgkr1Or.cjs} +3 -3
- package/dist/{mirrorProtocol-OJPFNpbq.mjs → mirrorProtocol-CoXxepvL.mjs} +3 -3
- package/dist/{package-DUKnh8UF.mjs → package-CCF6FHr2.mjs} +7 -7
- package/dist/{package-DdYN77UN.cjs → package-D7V1BX2I.cjs} +7 -7
- package/dist/{panels-DZZTavkP.cjs → panels-9DdVhaxc.cjs} +5 -5
- package/dist/{panels-DQs5x77X.mjs → panels-CF5n641F.mjs} +5 -5
- package/dist/{peerTools-03MimWe-.cjs → peerTools-Dv6bgHkW.cjs} +5 -5
- package/dist/{peerTools-ByJiL-w1.mjs → peerTools-gR_3dwdA.mjs} +5 -5
- package/dist/{persistence-CPIj3Iha.mjs → persistence-B5U9rC15.mjs} +2 -2
- package/dist/{persistence-CWEaFv6R.cjs → persistence-Dl3sBrCF.cjs} +2 -2
- package/dist/{piRunnerArgs-DxbuKnFC.mjs → piRunnerArgs-DOV74xAt.mjs} +1 -1
- package/dist/{piRunnerArgs-Aqs-zKLm.cjs → piRunnerArgs-rygeUdRz.cjs} +1 -1
- package/dist/{piRuntime-BFMV2Hlg.cjs → piRuntime-BvxCy9qQ.cjs} +1 -1
- package/dist/{piRuntime-KJn9G3Ax.mjs → piRuntime-dtlRpOYa.mjs} +1 -1
- package/dist/{piTerminal-DhVFk2Hc.mjs → piTerminal-Bx6c5Jyd.mjs} +20 -20
- package/dist/{piTerminal-DFzQb38E.cjs → piTerminal-ClaMS-57.cjs} +20 -20
- package/dist/{pushNotifications-BhnrQa32.cjs → pushNotifications-IZaTtVDG.cjs} +3 -3
- package/dist/{pushNotifications-CD5-W90c.mjs → pushNotifications-pHkbUkqT.mjs} +3 -3
- package/dist/{query-BRvDJTUF.cjs → query-BVqnfxlX.cjs} +1 -1
- package/dist/{query-BRTHwQ1m.mjs → query-D_3rFFWe.mjs} +1 -1
- package/dist/{rateLimitWindows-_KfSDJdB.cjs → rateLimitWindows-C7xi99Eb.cjs} +1 -1
- package/dist/{rateLimitWindows-BAfkXSck.mjs → rateLimitWindows-DnLJ-gve.mjs} +1 -1
- package/dist/{lidState-DXy1ymL0.cjs → reconnectGate-CHI12y0Y.cjs} +27 -2
- package/dist/{lidState-nbXgabCS.mjs → reconnectGate-DPDXEkOX.mjs} +27 -3
- package/dist/{registerCommonHandlers-Anq6Ma1d.mjs → registerCommonHandlers-BrTglZnC.mjs} +2 -2
- package/dist/{registerCommonHandlers-CsMpXP1_.cjs → registerCommonHandlers-CUCw-rad.cjs} +2 -2
- package/dist/{registerKillSessionHandler-DvA-f_D4.mjs → registerKillSessionHandler-BJSVT1iq.mjs} +6 -6
- package/dist/{registerKillSessionHandler-DnES0UnY.cjs → registerKillSessionHandler-Bo697Mt0.cjs} +6 -6
- package/dist/{registerSideQuestionHandler-B6EgCzBZ.mjs → registerSideQuestionHandler-BFPCMrmC.mjs} +4 -4
- package/dist/{registerSideQuestionHandler-GIzcFczo.cjs → registerSideQuestionHandler-HNpsU_20.cjs} +4 -4
- package/dist/{remoteSessionClient-BsXgrMSP.cjs → remoteSessionClient-9NzkfL13.cjs} +5 -5
- package/dist/{remoteSessionClient-DYTwJSZR.mjs → remoteSessionClient-Blz-z9jM.mjs} +5 -5
- package/dist/{reportProgressTool-DzmnFItq.mjs → reportProgressTool-B2-RFomn.mjs} +3 -3
- package/dist/{reportProgressTool-DhTM7qvk.cjs → reportProgressTool-CW9rSnwQ.cjs} +3 -3
- package/dist/{run-D0nDSvGo.cjs → run-9aB7U4BF.cjs} +40 -40
- package/dist/{run-Cuz34V0P.mjs → run-BXyfDvCk.mjs} +40 -40
- package/dist/{runClaude-DHHDBtKG.cjs → runClaude-B4ohp5Dk.cjs} +25 -25
- package/dist/{runClaude-ySgHmPJg.mjs → runClaude-BKpWJdCX.mjs} +25 -25
- package/dist/{runClaudeDeps-k-QAN7Em.mjs → runClaudeDeps-B0x5BCqC.mjs} +46 -46
- package/dist/{runClaudeDeps-Cfeci4al.cjs → runClaudeDeps-gqSYeQkl.cjs} +40 -40
- package/dist/{runGemini-Dob7MFa2.cjs → runGemini-BMzDy7hY.cjs} +33 -33
- package/dist/{runGemini-BpiHwTGj.mjs → runGemini-BvV5k9b3.mjs} +33 -33
- package/dist/{runOpenClaw-B-BGCcbD.cjs → runOpenClaw-3Cx3C2ww.cjs} +18 -18
- package/dist/{runOpenClaw-B_7LblMr.mjs → runOpenClaw-UcIDMHm7.mjs} +18 -18
- package/dist/{sandbox-D4UmUYIM.mjs → sandbox-BC-KbWe7.mjs} +4 -4
- package/dist/{sandbox-D9xs3oeT.cjs → sandbox-QJdxjmxr.cjs} +4 -4
- package/dist/{selfCheck-B1ueapb2.cjs → selfCheck-Be_M5coh.cjs} +39 -39
- package/dist/selfCheck-NWjxjpSx.mjs +88 -0
- package/dist/{send-CgIeqwqq.cjs → send-DhWp8M8B.cjs} +8 -8
- package/dist/{send-BZoS0m6-.mjs → send-x789D5ci.mjs} +8 -8
- package/dist/{server-C5zdUyIu.mjs → server-D-aSnlWI.mjs} +4 -4
- package/dist/{server-XgEG5D8c.cjs → server-kPDtS-DX.cjs} +6 -6
- package/dist/{sessionLock-CbIB9WAp.cjs → sessionLock-CuPN9xfW.cjs} +3 -3
- package/dist/{sessionLock-C4zRSYwt.mjs → sessionLock-JWBEd8g_.mjs} +3 -3
- package/dist/{sessionOps-flaRRzdo.cjs → sessionOps-CYNOycqT.cjs} +4 -4
- package/dist/{sessionOps-fuLJNyOT.mjs → sessionOps-VS1baPz_.mjs} +4 -4
- package/dist/{sessionProvider-DlWrak_l.cjs → sessionProvider-DksA6icp.cjs} +10 -10
- package/dist/{sessionProvider-DPwRzcbT.mjs → sessionProvider-iRLKuR9V.mjs} +10 -10
- package/dist/{sessionScanner-I6fGycPd.cjs → sessionScanner--X2Pzlra.cjs} +3 -3
- package/dist/{sessionScanner-BX7ZBVzX.mjs → sessionScanner-CAxiFc_3.mjs} +3 -3
- package/dist/{sessions-Cr0jIQ9r.cjs → sessions-BrnP53eO.cjs} +10 -10
- package/dist/{sessions-Csz0_dnz.mjs → sessions-Dca1UgiF.mjs} +10 -10
- package/dist/{setupOfflineReconnection-BawiOCUA.cjs → setupOfflineReconnection-Dwg6nHnP.cjs} +2 -2
- package/dist/{setupOfflineReconnection-Pxsr7M_B.mjs → setupOfflineReconnection-nguxOn4s.mjs} +2 -2
- package/dist/{spawn-C3wiREei.mjs → spawn-BJMU9zbZ.mjs} +14 -14
- package/dist/{spawn-Bfw10V7R.cjs → spawn-DDyMxQ7Z.cjs} +14 -14
- package/dist/{spawnAgents-Cm23BW-D.cjs → spawnAgents-B8GT4JQX.cjs} +1 -1
- package/dist/{spawnAgents-N3jxdNJC.mjs → spawnAgents-SeUX5gIq.mjs} +1 -1
- package/dist/{spawnHappyCLI-D4_Ij_BB.cjs → spawnHappyCLI-Cvk2ZMYj.cjs} +1 -1
- package/dist/{spawnHappyCLI-C9dzdAh0.mjs → spawnHappyCLI-DnT_QEdn.mjs} +1 -1
- package/dist/{startFileWatcher-905w_JCn.cjs → startFileWatcher-DLfkP-IW.cjs} +1 -1
- package/dist/{startFileWatcher-FjvRihwq.mjs → startFileWatcher-Djf0SdmK.mjs} +1 -1
- package/dist/{startupSessionCreate-WY7c74aG.cjs → startupSessionCreate-CxwJb5m9.cjs} +3 -3
- package/dist/{startupSessionCreate-B-QHA-nQ.mjs → startupSessionCreate-f1g6pp6E.mjs} +3 -3
- package/dist/{store-aa3CVNwS.cjs → store-D41VdZcL.cjs} +1 -1
- package/dist/{store-BlPvTr_Q.mjs → store-DnaIrYLA.mjs} +1 -1
- package/dist/{streamRelay-C2Lb2z39.cjs → streamRelay-BT9ew0Mk.cjs} +1 -1
- package/dist/{streamRelay-DFZyAPD_.mjs → streamRelay-DEBIU6Ak.mjs} +1 -1
- package/dist/{sync-Dz_U1UHu.cjs → sync-B-B5mc8Z.cjs} +1 -1
- package/dist/{sync-CHU9HM9N.mjs → sync-Dfr1zgLx.mjs} +1 -1
- package/dist/{systemPrompt-PHD2Va2G.mjs → systemPrompt-DAQq-bKB.mjs} +2 -2
- package/dist/{systemPrompt-NTIxM2Ss.cjs → systemPrompt-pxNDR5u8.cjs} +2 -2
- package/dist/{teams-CgT1c65s.mjs → teams-BuXDbvzq.mjs} +7 -7
- package/dist/{teams-CqoSWbrQ.cjs → teams-CBMB5SvT.cjs} +7 -7
- package/dist/{template-B1AORlgU.cjs → template-CB4gXtUX.cjs} +1 -1
- package/dist/{template-CJ8uLlD8.mjs → template-DE9JMShn.mjs} +1 -1
- package/dist/{time-BTXLicT9.cjs → time-DTaj0RVK.cjs} +1 -1
- package/dist/{time-DZ7wPlsL.mjs → time-PqfO1O58.mjs} +1 -1
- package/dist/{titleGenerator-DxSLdXjL.cjs → titleGenerator-BP5gqicG.cjs} +3 -3
- package/dist/{titleGenerator-BOcHO0fW.mjs → titleGenerator-DVnEGxoB.mjs} +2 -2
- package/dist/{todo-CqD6H2Bt.cjs → todo-BXsQ5-iD.cjs} +6 -6
- package/dist/{todo-kBweG4H9.mjs → todo-DaJPxDVT.mjs} +6 -6
- package/dist/{tools-DuXYIUTD.mjs → tools-B4W8kWU8.mjs} +1 -1
- package/dist/{tools-C7SRJVwy.cjs → tools-G3_fMSjb.cjs} +1 -1
- package/dist/{uninstall-WJYYM27v.mjs → uninstall-ByWgUWHg.mjs} +3 -3
- package/dist/{uninstall-DHdOrwHT.cjs → uninstall-C0pua8G4.cjs} +3 -3
- package/dist/{wrapperAccount-RPtq8BwD.mjs → wrapperAccount-BDeMsgbw.mjs} +2 -2
- package/dist/{wrapperAccount-BubTurHU.cjs → wrapperAccount-CsxMfnCK.cjs} +2 -2
- package/package.json +7 -7
- package/dist/selfCheck-BrC9vuGH.mjs +0 -88
|
@@ -5,6 +5,7 @@ import { isCuid, createId } from '@paralleldrive/cuid2';
|
|
|
5
5
|
const CODEX_STEER_CAPABILITY = "codex-steer-v1";
|
|
6
6
|
const CODEX_COMPACT_CAPABILITY = "codex-compact-v1";
|
|
7
7
|
const CODEX_BTW_CAPABILITY = "codex-btw-v1";
|
|
8
|
+
const CODEX_LIVE_PERMISSION_CAPABILITY = "codex-live-permission-v1";
|
|
8
9
|
const PI_STEER_CAPABILITY = "pi-steer-v1";
|
|
9
10
|
const sessionRoleSchema = z.enum(["user", "agent"]);
|
|
10
11
|
const sessionTextEventSchema = z.object({
|
|
@@ -616,7 +617,7 @@ function agentProfileUnavailableReason(error) {
|
|
|
616
617
|
return m ? m[1] : null;
|
|
617
618
|
}
|
|
618
619
|
const TeamPermissionModeSchema = z$1.enum(["default", "bypassPermissions"]);
|
|
619
|
-
const id$
|
|
620
|
+
const id$4 = z$1.string().min(1).max(128);
|
|
620
621
|
const text$1 = z$1.string().min(1).max(32e3);
|
|
621
622
|
const TeamAssistantSchema = z$1.enum(["claude", "codex", "pi-acp"]);
|
|
622
623
|
const TeamModelSchema = z$1.string().trim().min(1).max(256);
|
|
@@ -628,50 +629,50 @@ const TeamActionSchema = z$1.discriminatedUnion("type", [
|
|
|
628
629
|
z$1.object({ type: z$1.literal("set-defaults"), defaults: TeamDefaultsSchema }),
|
|
629
630
|
z$1.object({ type: z$1.literal("set-permission-mode"), permissionMode: TeamPermissionModeSchema }),
|
|
630
631
|
/** B-850d: a member's account for its next spawn (absent = follow the team default). An old server answers invalid action. */
|
|
631
|
-
z$1.object({ type: z$1.literal("set-bot-account"), botId: id$
|
|
632
|
-
z$1.object({ type: z$1.literal("schedule-create"), name: id$
|
|
633
|
-
z$1.object({ type: z$1.literal("schedule-pause"), scheduleId: id$
|
|
634
|
-
z$1.object({ type: z$1.literal("schedule-resume"), scheduleId: id$
|
|
635
|
-
z$1.object({ type: z$1.literal("schedule-cancel"), scheduleId: id$
|
|
636
|
-
z$1.object({ type: z$1.literal("reconcile-operation"), operationId: id$
|
|
632
|
+
z$1.object({ type: z$1.literal("set-bot-account"), botId: id$4, agentProfile: AgentProfileChoiceSchema.optional() }),
|
|
633
|
+
z$1.object({ type: z$1.literal("schedule-create"), name: id$4, botId: id$4, body: text$1, runAt: z$1.number().int().positive().max(864e13), intervalMs: z$1.number().int().min(6e4).max(366 * 864e5).optional() }),
|
|
634
|
+
z$1.object({ type: z$1.literal("schedule-pause"), scheduleId: id$4, version: z$1.number().int().positive() }),
|
|
635
|
+
z$1.object({ type: z$1.literal("schedule-resume"), scheduleId: id$4, version: z$1.number().int().positive() }),
|
|
636
|
+
z$1.object({ type: z$1.literal("schedule-cancel"), scheduleId: id$4, version: z$1.number().int().positive() }),
|
|
637
|
+
z$1.object({ type: z$1.literal("reconcile-operation"), operationId: id$4, claimId: id$4, note: z$1.string().trim().min(1).max(4e3) }),
|
|
637
638
|
// B-689: owner asks the execution computer to run a failed/uncertain operation again.
|
|
638
|
-
z$1.object({ type: z$1.literal("retry-operation"), operationId: id$
|
|
639
|
+
z$1.object({ type: z$1.literal("retry-operation"), operationId: id$4, claimId: id$4 }),
|
|
639
640
|
/** B-730: `transfer` = the owner confirmed moving a session that is bound in another live team (Web adopt); without it the server answers `session_in_other_team`. An old server strips it. */
|
|
640
|
-
z$1.object({ type: z$1.literal("join"), name: id$
|
|
641
|
-
z$1.object({ type: z$1.literal("delegate"), goal: text$1, acceptance: z$1.array(text$1).min(1).max(32), parentTaskId: id$
|
|
642
|
-
z$1.object({ type: z$1.literal("message"), taskId: id$
|
|
643
|
-
z$1.object({ type: z$1.literal("submit"), taskId: id$
|
|
644
|
-
z$1.object({ type: z$1.literal("accept"), taskId: id$
|
|
645
|
-
z$1.object({ type: z$1.literal("return"), taskId: id$
|
|
646
|
-
z$1.object({ type: z$1.literal("cancel"), taskId: id$
|
|
647
|
-
z$1.object({ type: z$1.literal("handoff"), taskId: id$
|
|
648
|
-
z$1.object({ type: z$1.literal("claim-operation"), operationId: id$
|
|
649
|
-
z$1.object({ type: z$1.literal("complete-operation"), operationId: id$
|
|
641
|
+
z$1.object({ type: z$1.literal("join"), name: id$4, sessionId: id$4, botId: id$4.optional(), transfer: z$1.literal(true).optional() }),
|
|
642
|
+
z$1.object({ type: z$1.literal("delegate"), goal: text$1, acceptance: z$1.array(text$1).min(1).max(32), parentTaskId: id$4.optional(), assigneeBotId: id$4.optional(), botName: id$4.optional(), directory: z$1.string().min(1).max(4096).optional(), assistant: TeamAssistantSchema.optional(), model: TeamModelSchema.optional(), agentProfile: AgentProfileChoiceSchema.optional() }),
|
|
643
|
+
z$1.object({ type: z$1.literal("message"), taskId: id$4, body: text$1, recipientBotId: id$4.optional() }),
|
|
644
|
+
z$1.object({ type: z$1.literal("submit"), taskId: id$4, attemptId: id$4, goalVersion: z$1.number().int().positive(), result: text$1 }),
|
|
645
|
+
z$1.object({ type: z$1.literal("accept"), taskId: id$4, attemptId: id$4, goalVersion: z$1.number().int().positive() }),
|
|
646
|
+
z$1.object({ type: z$1.literal("return"), taskId: id$4, attemptId: id$4, goalVersion: z$1.number().int().positive(), reason: text$1 }),
|
|
647
|
+
z$1.object({ type: z$1.literal("cancel"), taskId: id$4, attemptId: id$4, goalVersion: z$1.number().int().positive(), reason: text$1 }),
|
|
648
|
+
z$1.object({ type: z$1.literal("handoff"), taskId: id$4, attemptId: id$4, goalVersion: z$1.number().int().positive(), assigneeBotId: id$4 }),
|
|
649
|
+
z$1.object({ type: z$1.literal("claim-operation"), operationId: id$4, machineId: id$4, teamLaunchVersion: z$1.literal(1).optional() }),
|
|
650
|
+
z$1.object({ type: z$1.literal("complete-operation"), operationId: id$4, machineId: id$4, claimId: id$4, sessionId: id$4.optional(), workingDirectory: z$1.string().min(1).max(4096).optional() }),
|
|
650
651
|
z$1.object({
|
|
651
652
|
type: z$1.literal("fail-operation"),
|
|
652
|
-
operationId: id$
|
|
653
|
-
machineId: id$
|
|
654
|
-
claimId: id$
|
|
653
|
+
operationId: id$4,
|
|
654
|
+
machineId: id$4,
|
|
655
|
+
claimId: id$4,
|
|
655
656
|
error: text$1,
|
|
656
657
|
unknown: z$1.boolean().optional(),
|
|
657
658
|
/** B-775: a failed cleanup whose wrapper was already stopped (only resources retained). */
|
|
658
659
|
sessionStopped: z$1.boolean().optional()
|
|
659
660
|
}),
|
|
660
|
-
z$1.object({ type: z$1.literal("session-event"), sessionId: id$
|
|
661
|
-
z$1.object({ type: z$1.literal("message-delivered"), messageId: id$
|
|
661
|
+
z$1.object({ type: z$1.literal("session-event"), sessionId: id$4, event: z$1.enum(["idle", "blocked", "exited"]) }),
|
|
662
|
+
z$1.object({ type: z$1.literal("message-delivered"), messageId: id$4, recipientBotId: id$4, generation: z$1.number().int().positive(), sessionId: id$4 })
|
|
662
663
|
]);
|
|
663
|
-
z$1.object({ requestId: id$
|
|
664
|
+
z$1.object({ requestId: id$4, action: TeamActionSchema });
|
|
664
665
|
const TeamProjectChoiceSchema = z$1.object({
|
|
665
|
-
projectId: id$
|
|
666
|
-
inheritFromSessionId: id$
|
|
666
|
+
projectId: id$4.optional(),
|
|
667
|
+
inheritFromSessionId: id$4.optional(),
|
|
667
668
|
create: z$1.boolean().optional(),
|
|
668
669
|
directory: z$1.string().min(1).max(4096).optional()
|
|
669
670
|
});
|
|
670
|
-
z$1.object({ name: id$
|
|
671
|
+
z$1.object({ name: id$4, machineId: id$4, requestId: id$4.optional(), launch: TeamLaunchSchema.optional(), project: TeamProjectChoiceSchema.optional(), sessionId: id$4.optional(), transfer: z$1.literal(true).optional() });
|
|
671
672
|
z$1.object({
|
|
672
|
-
projectId: id$
|
|
673
|
+
projectId: id$4.nullable().optional(),
|
|
673
674
|
create: z$1.boolean().optional(),
|
|
674
|
-
requestId: id$
|
|
675
|
+
requestId: id$4.optional()
|
|
675
676
|
}).refine((v) => v.projectId !== void 0 !== (v.create === true), "exactly one of projectId / create");
|
|
676
677
|
const TEAM_WORKTREE = /\/teams\/worktrees\/([^/]+)(?:\/|$)/;
|
|
677
678
|
function teamWorktreeId(path) {
|
|
@@ -688,7 +689,7 @@ function rebaseTeamWorktreePath(path, repository) {
|
|
|
688
689
|
const rest = normalized.slice(match.index + match[0].length).replace(/\/+$/, "");
|
|
689
690
|
return rest ? `${repository.replace(/\/+$/, "")}/${rest}` : repository;
|
|
690
691
|
}
|
|
691
|
-
const id$
|
|
692
|
+
const id$3 = z$1.string().min(1).max(128);
|
|
692
693
|
const text = z$1.string().min(1).max(32e3);
|
|
693
694
|
const AUTOMATION_NAME_PATTERN = /^[a-z0-9][a-z0-9-_.]{0,63}$/;
|
|
694
695
|
const AutomationNameSchema = z$1.string().regex(AUTOMATION_NAME_PATTERN, "automation name must match [a-z0-9][a-z0-9-_.]{0,63}");
|
|
@@ -730,7 +731,7 @@ const AutomationActionSchema = z$1.discriminatedUnion("kind", [
|
|
|
730
731
|
/** B-850d: the account the run uses (absent = project default > machine default; null = machine login). An older daemon ignores it. */
|
|
731
732
|
agentProfile: AgentProfileChoiceSchema.optional()
|
|
732
733
|
}),
|
|
733
|
-
z$1.object({ kind: z$1.literal("send"), sessionId: id$
|
|
734
|
+
z$1.object({ kind: z$1.literal("send"), sessionId: id$3, prompt: text }),
|
|
734
735
|
z$1.object({
|
|
735
736
|
kind: z$1.literal("script"),
|
|
736
737
|
command: z$1.array(z$1.string().min(1).max(4096)).min(1).max(256),
|
|
@@ -756,7 +757,7 @@ const maxRuntimeMs = z$1.number().int().min(6e4).max(7 * 864e5);
|
|
|
756
757
|
z$1.object({
|
|
757
758
|
name: AutomationNameSchema,
|
|
758
759
|
description: z$1.string().max(4e3).nullable().optional(),
|
|
759
|
-
machineId: id$
|
|
760
|
+
machineId: id$3,
|
|
760
761
|
trigger: AutomationTriggerSchema,
|
|
761
762
|
action: AutomationActionSchema,
|
|
762
763
|
concurrency: AutomationConcurrencySchema.optional(),
|
|
@@ -765,13 +766,13 @@ z$1.object({
|
|
|
765
766
|
/** B-548. Older servers strip it silently — clients must check the response echoes `precheck`. */
|
|
766
767
|
precheck: AutomationPrecheckSchema.nullable().optional(),
|
|
767
768
|
/** B-644: sessions this automation spawns join this project (quiet variant). Older servers strip it — check the echo. */
|
|
768
|
-
projectId: id$
|
|
769
|
+
projectId: id$3.nullable().optional()
|
|
769
770
|
});
|
|
770
771
|
z$1.object({
|
|
771
772
|
version: z$1.number().int().positive(),
|
|
772
773
|
name: AutomationNameSchema.optional(),
|
|
773
774
|
description: z$1.string().max(4e3).nullable().optional(),
|
|
774
|
-
machineId: id$
|
|
775
|
+
machineId: id$3.optional(),
|
|
775
776
|
trigger: AutomationTriggerSchema.optional(),
|
|
776
777
|
action: AutomationActionSchema.optional(),
|
|
777
778
|
concurrency: AutomationConcurrencySchema.optional(),
|
|
@@ -779,22 +780,22 @@ z$1.object({
|
|
|
779
780
|
/** B-548: omitted keeps the current precheck, `null` removes it. Changing `action` alone keeps it too. */
|
|
780
781
|
precheck: AutomationPrecheckSchema.nullable().optional(),
|
|
781
782
|
/** B-644: omitted keeps the current project, `null` detaches. */
|
|
782
|
-
projectId: id$
|
|
783
|
+
projectId: id$3.nullable().optional()
|
|
783
784
|
});
|
|
784
785
|
const payload = z$1.string().max(AUTOMATION_PAYLOAD_MAX_BYTES).refine((v) => new TextEncoder().encode(v).length <= AUTOMATION_PAYLOAD_MAX_BYTES, "payload exceeds 64KB");
|
|
785
786
|
z$1.object({ payload: payload.optional(), dedupeKey: z$1.string().min(1).max(256).optional() });
|
|
786
787
|
z$1.object({ payload: payload.optional() });
|
|
787
788
|
z$1.object({
|
|
788
|
-
machineId: id$
|
|
789
|
+
machineId: id$3,
|
|
789
790
|
limit: z$1.number().int().min(1).max(AUTOMATION_CLAIM_MAX_RUNS).optional(),
|
|
790
791
|
leaseMs: z$1.number().int().min(5e3).max(36e5).optional(),
|
|
791
792
|
/** B-548: what this daemon can execute (e.g. `precheck`). Older daemons send nothing; older servers strip it. */
|
|
792
793
|
capabilities: z$1.array(z$1.string().min(1).max(64)).max(32).optional()
|
|
793
794
|
});
|
|
794
795
|
z$1.object({
|
|
795
|
-
claimId: id$
|
|
796
|
+
claimId: id$3.optional(),
|
|
796
797
|
status: z$1.enum(["running", "done", "failed", "skipped"]).optional(),
|
|
797
|
-
sessionId: id$
|
|
798
|
+
sessionId: id$3.nullable().optional(),
|
|
798
799
|
stickyKey: z$1.string().min(1).max(512).optional(),
|
|
799
800
|
summary: z$1.string().max(AUTOMATION_SUMMARY_MAX_CHARS).nullable().optional(),
|
|
800
801
|
error: z$1.string().max(AUTOMATION_SUMMARY_MAX_CHARS).nullable().optional(),
|
|
@@ -804,16 +805,16 @@ z$1.object({
|
|
|
804
805
|
leaseMs: z$1.number().int().min(5e3).max(36e5).optional()
|
|
805
806
|
});
|
|
806
807
|
z$1.object({ by: z$1.string().min(1).max(64).optional() });
|
|
807
|
-
z$1.object({ key: z$1.string().min(1).max(512), sessionId: id$
|
|
808
|
+
z$1.object({ key: z$1.string().min(1).max(512), sessionId: id$3 });
|
|
808
809
|
z$1.object({ key: z$1.string().min(1).max(512) });
|
|
809
810
|
z$1.object({
|
|
810
|
-
automationId: id$
|
|
811
|
+
automationId: id$3.optional(),
|
|
811
812
|
name: AutomationNameSchema.optional(),
|
|
812
813
|
status: z$1.string().min(1).max(64).optional(),
|
|
813
814
|
attention: z$1.enum(["1", "true", "0", "false"]).optional(),
|
|
814
815
|
limit: z$1.coerce.number().int().min(1).max(200).optional()
|
|
815
816
|
});
|
|
816
|
-
z$1.object({ machineId: id$
|
|
817
|
+
z$1.object({ machineId: id$3.optional() });
|
|
817
818
|
const PROJECT_SESSION_CAPABILITY = "project-v1";
|
|
818
819
|
const PROJECT_LIMITS = {
|
|
819
820
|
nameChars: 120,
|
|
@@ -825,11 +826,11 @@ const PROJECT_LIMITS = {
|
|
|
825
826
|
messageBytes: 64 * 1024,
|
|
826
827
|
presenceBatch: 200,
|
|
827
828
|
memberBatch: 200};
|
|
828
|
-
const id$
|
|
829
|
-
const utf8Bytes = (value) => new TextEncoder().encode(value).length;
|
|
830
|
-
const boundedText = (maxBytes) => z$1.string().max(maxBytes).refine((v) => utf8Bytes(v) <= maxBytes, `exceeds ${maxBytes} bytes`);
|
|
829
|
+
const id$2 = z$1.string().min(1).max(128);
|
|
830
|
+
const utf8Bytes$1 = (value) => new TextEncoder().encode(value).length;
|
|
831
|
+
const boundedText$1 = (maxBytes) => z$1.string().max(maxBytes).refine((v) => utf8Bytes$1(v) <= maxBytes, `exceeds ${maxBytes} bytes`);
|
|
831
832
|
const ProjectFolderSchema = z$1.object({
|
|
832
|
-
machineId: id$
|
|
833
|
+
machineId: id$2,
|
|
833
834
|
path: z$1.string().min(1).max(4096),
|
|
834
835
|
primary: z$1.boolean().optional()
|
|
835
836
|
});
|
|
@@ -843,17 +844,17 @@ const ProjectDefaultsSchema = z$1.object({
|
|
|
843
844
|
});
|
|
844
845
|
const PROJECT_LOG_KINDS = ["decision", "finding", "handoff"];
|
|
845
846
|
const ProjectLogKindSchema = z$1.enum(PROJECT_LOG_KINDS);
|
|
846
|
-
const ProjectMemberViaInputSchema = z$1.enum(["explicit", "lineage", "suggested-accepted", "automation"]);
|
|
847
|
+
const ProjectMemberViaInputSchema = z$1.enum(["explicit", "lineage", "suggested-accepted", "automation", "issue"]);
|
|
847
848
|
z$1.object({
|
|
848
849
|
name: z$1.string().trim().min(1).max(PROJECT_LIMITS.nameChars),
|
|
849
850
|
goal: z$1.string().max(PROJECT_LIMITS.goalChars).nullable().optional(),
|
|
850
|
-
instructions: boundedText(PROJECT_LIMITS.instructionsBytes).optional(),
|
|
851
|
+
instructions: boundedText$1(PROJECT_LIMITS.instructionsBytes).optional(),
|
|
851
852
|
folders: z$1.array(ProjectFolderSchema).max(PROJECT_LIMITS.folders).optional(),
|
|
852
853
|
defaults: ProjectDefaultsSchema.optional(),
|
|
853
854
|
/** Idempotency: the same requestId returns the project it created. */
|
|
854
|
-
requestId: id$
|
|
855
|
+
requestId: id$2.optional(),
|
|
855
856
|
/** Optional initial members (e.g. "设为项目" moves a folder's sessions in one step). */
|
|
856
|
-
sessionIds: z$1.array(id$
|
|
857
|
+
sessionIds: z$1.array(id$2).max(PROJECT_LIMITS.memberBatch).optional()
|
|
857
858
|
});
|
|
858
859
|
z$1.object({
|
|
859
860
|
name: z$1.string().trim().min(1).max(PROJECT_LIMITS.nameChars).optional(),
|
|
@@ -863,31 +864,31 @@ z$1.object({
|
|
|
863
864
|
archived: z$1.boolean().optional()
|
|
864
865
|
});
|
|
865
866
|
z$1.object({
|
|
866
|
-
instructions: boundedText(PROJECT_LIMITS.instructionsBytes),
|
|
867
|
+
instructions: boundedText$1(PROJECT_LIMITS.instructionsBytes),
|
|
867
868
|
ifVersion: z$1.number().int().min(0),
|
|
868
869
|
/** One-line summary shown in the next-turn digest ("instructions now v8 — …"). */
|
|
869
870
|
summary: z$1.string().max(200).optional()
|
|
870
871
|
});
|
|
871
872
|
z$1.object({
|
|
872
|
-
sessionIds: z$1.array(id$
|
|
873
|
+
sessionIds: z$1.array(id$2).min(1).max(PROJECT_LIMITS.memberBatch),
|
|
873
874
|
via: ProjectMemberViaInputSchema.optional()
|
|
874
875
|
});
|
|
875
876
|
z$1.object({
|
|
876
877
|
kind: ProjectLogKindSchema,
|
|
877
878
|
title: z$1.string().trim().min(1).max(PROJECT_LIMITS.logTitleChars),
|
|
878
|
-
body: boundedText(PROJECT_LIMITS.logBodyBytes).optional(),
|
|
879
|
+
body: boundedText$1(PROJECT_LIMITS.logBodyBytes).optional(),
|
|
879
880
|
/** Entry id (or `#seq`) this entry replaces. */
|
|
880
881
|
supersedes: z$1.string().min(1).max(128).optional(),
|
|
881
882
|
/** Stamped by the wrapper (the agent cannot fill it). Absent = written by the user. */
|
|
882
|
-
authorSessionId: id$
|
|
883
|
+
authorSessionId: id$2.optional()
|
|
883
884
|
});
|
|
884
885
|
z$1.object({
|
|
885
886
|
/** When set, only entries this session authored may be revoked. Absent = the owner. */
|
|
886
|
-
bySessionId: id$
|
|
887
|
+
bySessionId: id$2.optional()
|
|
887
888
|
});
|
|
888
|
-
z$1.object({ teamId: id$
|
|
889
|
+
z$1.object({ teamId: id$2 });
|
|
889
890
|
const ProjectPresenceEntrySchema = z$1.object({
|
|
890
|
-
sessionId: id$
|
|
891
|
+
sessionId: id$2,
|
|
891
892
|
title: z$1.string().max(200).nullable().optional(),
|
|
892
893
|
agent: z$1.string().max(64).nullable().optional(),
|
|
893
894
|
machine: z$1.string().max(200).nullable().optional(),
|
|
@@ -899,19 +900,19 @@ const ProjectPresenceEntrySchema = z$1.object({
|
|
|
899
900
|
capabilities: z$1.array(z$1.string().max(64)).max(32).optional()
|
|
900
901
|
});
|
|
901
902
|
z$1.object({
|
|
902
|
-
machineId: id$
|
|
903
|
+
machineId: id$2,
|
|
903
904
|
sessions: z$1.array(ProjectPresenceEntrySchema).max(PROJECT_LIMITS.presenceBatch),
|
|
904
905
|
/** Sessions of this machine that stopped; their presence rows are marked `offline`. */
|
|
905
|
-
gone: z$1.array(id$
|
|
906
|
+
gone: z$1.array(id$2).max(PROJECT_LIMITS.presenceBatch).optional()
|
|
906
907
|
});
|
|
907
908
|
z$1.object({
|
|
908
|
-
fromSessionId: id$
|
|
909
|
-
toSessionId: id$
|
|
910
|
-
body: boundedText(PROJECT_LIMITS.messageBytes).pipe(z$1.string().min(1))
|
|
909
|
+
fromSessionId: id$2,
|
|
910
|
+
toSessionId: id$2,
|
|
911
|
+
body: boundedText$1(PROJECT_LIMITS.messageBytes).pipe(z$1.string().min(1))
|
|
911
912
|
});
|
|
912
913
|
z$1.object({
|
|
913
|
-
sessionId: id$
|
|
914
|
-
messageIds: z$1.array(id$
|
|
914
|
+
sessionId: id$2,
|
|
915
|
+
messageIds: z$1.array(id$2).min(1).max(100)
|
|
915
916
|
});
|
|
916
917
|
z$1.object({
|
|
917
918
|
full: z$1.enum(["0", "1", "true", "false"]).optional(),
|
|
@@ -1434,17 +1435,17 @@ function resolveLatestModel(table, agent, ctx) {
|
|
|
1434
1435
|
const tier = getLatestModelTier(table, agent);
|
|
1435
1436
|
if (!tier) return { model: null, newest: null, label: null, limited: false, configured: null };
|
|
1436
1437
|
const catalogIds = catalogTierIds(tier, ctx.catalog);
|
|
1437
|
-
const
|
|
1438
|
+
const labels2 = /* @__PURE__ */ new Map();
|
|
1438
1439
|
const known = [];
|
|
1439
1440
|
const runnable = [];
|
|
1440
1441
|
for (const entry of tier.models) {
|
|
1441
1442
|
if (!tierVersion(tier, entry.model)) continue;
|
|
1442
|
-
|
|
1443
|
+
labels2.set(entry.model, entry.label ?? entry.model);
|
|
1443
1444
|
known.push(entry.model);
|
|
1444
1445
|
if (entryRunnable(entry, ctx, catalogIds)) runnable.push(entry.model);
|
|
1445
1446
|
}
|
|
1446
|
-
for (const [id2,
|
|
1447
|
-
if (!
|
|
1447
|
+
for (const [id2, label2] of catalogIds) {
|
|
1448
|
+
if (!labels2.has(id2)) labels2.set(id2, label2);
|
|
1448
1449
|
known.push(id2);
|
|
1449
1450
|
runnable.push(id2);
|
|
1450
1451
|
}
|
|
@@ -1468,7 +1469,7 @@ function resolveLatestModel(table, agent, ctx) {
|
|
|
1468
1469
|
return {
|
|
1469
1470
|
model,
|
|
1470
1471
|
newest,
|
|
1471
|
-
label: model ?
|
|
1472
|
+
label: model ? labels2.get(model) ?? model : null,
|
|
1472
1473
|
limited: newest !== null && !sameVersion,
|
|
1473
1474
|
configured: null
|
|
1474
1475
|
};
|
|
@@ -1630,7 +1631,7 @@ const ATTENTION_LIMITS = {
|
|
|
1630
1631
|
/** Open `needsOwner` items per session before the playbook asks the lead to merge or drop stale ones (§5.1 rule 6). */
|
|
1631
1632
|
openPerSessionSoftCap: 5
|
|
1632
1633
|
};
|
|
1633
|
-
const ATTENTION_SOURCES = ["lead", "agent", "owner", "automation", "team"];
|
|
1634
|
+
const ATTENTION_SOURCES = ["lead", "agent", "owner", "automation", "team", "issue"];
|
|
1634
1635
|
const ATTENTION_KINDS = ["decision", "todo", "blocked", "report", "answer", "question", "request", "pin"];
|
|
1635
1636
|
const OWNER_BOARD_POST_KINDS = ["decision", "todo", "report", "answer"];
|
|
1636
1637
|
const OWNER_BOARD_RESOLVE_OUTCOMES = ["done", "answered", "dropped", "superseded"];
|
|
@@ -1638,11 +1639,11 @@ const ATTENTION_BOARD_LOCAL_ID_PREFIX = "board-";
|
|
|
1638
1639
|
function isAttentionBoardLocalId(localId) {
|
|
1639
1640
|
return typeof localId === "string" && localId.startsWith(ATTENTION_BOARD_LOCAL_ID_PREFIX);
|
|
1640
1641
|
}
|
|
1641
|
-
const id = z$1.string().min(1).max(128);
|
|
1642
|
-
const title = z$1.string().trim().min(1).max(ATTENTION_LIMITS.titleChars);
|
|
1642
|
+
const id$1 = z$1.string().min(1).max(128);
|
|
1643
|
+
const title$1 = z$1.string().trim().min(1).max(ATTENTION_LIMITS.titleChars);
|
|
1643
1644
|
const bodyMd = z$1.string().max(ATTENTION_LIMITS.bodyBytes * 4).refine((v) => new TextEncoder().encode(v).length <= ATTENTION_LIMITS.bodyBytes, "body exceeds 8KB");
|
|
1644
1645
|
const note = z$1.string().max(ATTENTION_LIMITS.noteChars);
|
|
1645
|
-
const requestId = z$1.string().min(1).max(128);
|
|
1646
|
+
const requestId$1 = z$1.string().min(1).max(128);
|
|
1646
1647
|
const key = z$1.string().min(1).max(ATTENTION_LIMITS.keyChars);
|
|
1647
1648
|
const AttentionOptionSchema = z$1.object({
|
|
1648
1649
|
id: z$1.string().trim().min(1).max(ATTENTION_LIMITS.optionIdChars),
|
|
@@ -1651,7 +1652,7 @@ const AttentionOptionSchema = z$1.object({
|
|
|
1651
1652
|
recommended: z$1.boolean().optional()
|
|
1652
1653
|
});
|
|
1653
1654
|
const options = z$1.array(AttentionOptionSchema).min(ATTENTION_LIMITS.options.min).max(ATTENTION_LIMITS.options.max).refine((o) => new Set(o.map((x) => x.id)).size === o.length, "option ids must be unique");
|
|
1654
|
-
const ATTENTION_LINK_TYPES = ["task", "pr", "commit", "url", "panel"];
|
|
1655
|
+
const ATTENTION_LINK_TYPES = ["task", "pr", "commit", "url", "panel", "issue"];
|
|
1655
1656
|
const AttentionLinkSchema = z$1.object({
|
|
1656
1657
|
type: z$1.enum(ATTENTION_LINK_TYPES),
|
|
1657
1658
|
ref: z$1.string().trim().min(1).max(ATTENTION_LIMITS.linkRefChars),
|
|
@@ -1702,17 +1703,17 @@ z$1.object({
|
|
|
1702
1703
|
item: AttentionItemSchema
|
|
1703
1704
|
});
|
|
1704
1705
|
z$1.object({
|
|
1705
|
-
sessionId: id,
|
|
1706
|
+
sessionId: id$1,
|
|
1706
1707
|
source: z$1.enum(ATTENTION_SOURCES),
|
|
1707
1708
|
kind: z$1.enum(ATTENTION_KINDS),
|
|
1708
|
-
title,
|
|
1709
|
+
title: title$1,
|
|
1709
1710
|
bodyMd: bodyMd.optional(),
|
|
1710
1711
|
options: options.optional(),
|
|
1711
1712
|
links: links.optional(),
|
|
1712
1713
|
anchor: AttentionAnchorSchema.optional(),
|
|
1713
|
-
replyToId: id.optional(),
|
|
1714
|
+
replyToId: id$1.optional(),
|
|
1714
1715
|
key: key.optional(),
|
|
1715
|
-
requestId: requestId.optional(),
|
|
1716
|
+
requestId: requestId$1.optional(),
|
|
1716
1717
|
/**
|
|
1717
1718
|
* D5 draft: only the CLI's auto-detect path sets it (`owner_board_post` does
|
|
1718
1719
|
* not expose it). A repost of the key with `false` confirms the draft (and
|
|
@@ -1721,7 +1722,7 @@ z$1.object({
|
|
|
1721
1722
|
inferred: z$1.boolean().default(false)
|
|
1722
1723
|
}).refine((p) => p.kind !== "decision" || p.options !== void 0, { message: "decision needs 2-4 options", path: ["options"] });
|
|
1723
1724
|
z$1.object({
|
|
1724
|
-
title: title.optional(),
|
|
1725
|
+
title: title$1.optional(),
|
|
1725
1726
|
bodyMd: bodyMd.nullable().optional(),
|
|
1726
1727
|
appendMd: bodyMd.optional(),
|
|
1727
1728
|
options: options.nullable().optional(),
|
|
@@ -1730,14 +1731,14 @@ z$1.object({
|
|
|
1730
1731
|
kind: z$1.literal("request").optional(),
|
|
1731
1732
|
state: z$1.enum(["open", "in_progress", "answered"]).optional(),
|
|
1732
1733
|
firstReply: AttentionAnchorSchema.optional(),
|
|
1733
|
-
requestId: requestId.optional()
|
|
1734
|
+
requestId: requestId$1.optional()
|
|
1734
1735
|
}).refine((p) => !(p.bodyMd !== void 0 && p.appendMd !== void 0), "use bodyMd or appendMd, not both");
|
|
1735
1736
|
z$1.object({
|
|
1736
1737
|
outcome: z$1.enum(OWNER_BOARD_RESOLVE_OUTCOMES),
|
|
1737
1738
|
note: note.optional(),
|
|
1738
1739
|
/** Defaults to `lead`. */
|
|
1739
1740
|
by: z$1.enum(["lead", "auto-first-reply"]).optional(),
|
|
1740
|
-
requestId: requestId.optional()
|
|
1741
|
+
requestId: requestId$1.optional()
|
|
1741
1742
|
});
|
|
1742
1743
|
z$1.discriminatedUnion("action", [
|
|
1743
1744
|
z$1.object({ action: z$1.literal("choose"), choice: z$1.string().trim().min(1).max(ATTENTION_LIMITS.optionIdChars), note: note.optional() }),
|
|
@@ -1745,7 +1746,7 @@ z$1.discriminatedUnion("action", [
|
|
|
1745
1746
|
z$1.object({ action: z$1.literal("reopen"), note: note.optional() })
|
|
1746
1747
|
]);
|
|
1747
1748
|
z$1.object({
|
|
1748
|
-
sessionId: id.optional(),
|
|
1749
|
+
sessionId: id$1.optional(),
|
|
1749
1750
|
/** `open` (default) = open + in_progress; `active` adds the latest `answered`; `all` = everything. */
|
|
1750
1751
|
state: z$1.enum(["open", "active", "all"]).optional(),
|
|
1751
1752
|
needsOwner: z$1.enum(["1", "true", "0", "false"]).optional(),
|
|
@@ -1755,30 +1756,30 @@ z$1.object({
|
|
|
1755
1756
|
});
|
|
1756
1757
|
const OwnerBoardPostInputSchema = z$1.object({
|
|
1757
1758
|
kind: z$1.enum(OWNER_BOARD_POST_KINDS),
|
|
1758
|
-
title,
|
|
1759
|
+
title: title$1,
|
|
1759
1760
|
body_md: bodyMd.optional(),
|
|
1760
1761
|
options: options.optional(),
|
|
1761
1762
|
links: links.optional(),
|
|
1762
|
-
reply_to: id.optional(),
|
|
1763
|
+
reply_to: id$1.optional(),
|
|
1763
1764
|
key: key.optional(),
|
|
1764
1765
|
anchor: z$1.union([z$1.literal("this_turn"), z$1.object({ localId: z$1.string().min(1).max(256) })]).optional(),
|
|
1765
|
-
request_id: requestId
|
|
1766
|
+
request_id: requestId$1
|
|
1766
1767
|
}).refine((p) => p.kind !== "decision" || p.options !== void 0, { message: "decision needs 2-4 options", path: ["options"] });
|
|
1767
1768
|
const OwnerBoardUpdateInputSchema = z$1.object({
|
|
1768
|
-
id,
|
|
1769
|
-
title: title.optional(),
|
|
1769
|
+
id: id$1,
|
|
1770
|
+
title: title$1.optional(),
|
|
1770
1771
|
body_md: bodyMd.optional(),
|
|
1771
1772
|
append_md: bodyMd.optional(),
|
|
1772
1773
|
options: options.optional(),
|
|
1773
1774
|
links: links.optional(),
|
|
1774
1775
|
state: z$1.enum(["open", "in_progress"]).optional(),
|
|
1775
|
-
request_id: requestId
|
|
1776
|
+
request_id: requestId$1
|
|
1776
1777
|
}).refine((p) => !(p.body_md !== void 0 && p.append_md !== void 0), "use body_md or append_md, not both");
|
|
1777
1778
|
const OwnerBoardResolveInputSchema = z$1.object({
|
|
1778
|
-
id,
|
|
1779
|
+
id: id$1,
|
|
1779
1780
|
outcome: z$1.enum(OWNER_BOARD_RESOLVE_OUTCOMES),
|
|
1780
1781
|
note: note.optional(),
|
|
1781
|
-
request_id: requestId
|
|
1782
|
+
request_id: requestId$1
|
|
1782
1783
|
});
|
|
1783
1784
|
const OwnerBoardListInputSchema = z$1.object({
|
|
1784
1785
|
state: z$1.enum(["open", "all"]).optional(),
|
|
@@ -1801,6 +1802,173 @@ function ownerBoardPostToRest(sessionId, input, anchor) {
|
|
|
1801
1802
|
inferred: false
|
|
1802
1803
|
};
|
|
1803
1804
|
}
|
|
1805
|
+
const ISSUE_LIMITS = {
|
|
1806
|
+
titleChars: 300,
|
|
1807
|
+
descriptionBytes: 32 * 1024,
|
|
1808
|
+
commentBytes: 16 * 1024,
|
|
1809
|
+
labels: 16,
|
|
1810
|
+
labelChars: 40,
|
|
1811
|
+
/** Distinct agents one comment may @ (each becomes a delivery or a run). */
|
|
1812
|
+
mentionsPerComment: 3,
|
|
1813
|
+
listMax: 500};
|
|
1814
|
+
const ISSUE_STATUSES = ["backlog", "todo", "in_progress", "in_review", "blocked", "done", "cancelled"];
|
|
1815
|
+
const ISSUE_PRIORITIES = ["urgent", "high", "medium", "low", "none"];
|
|
1816
|
+
const ISSUE_AGENT_STATUSES = ["in_progress", "in_review", "blocked"];
|
|
1817
|
+
const ISSUE_ASSIGNABLE_AGENTS = ["claude", "codex", "pi"];
|
|
1818
|
+
const ISSUE_ASSIGNEE_KINDS = ["none", "self", "agent", "team"];
|
|
1819
|
+
const id = z$1.string().min(1).max(128);
|
|
1820
|
+
const requestId = z$1.string().min(1).max(128);
|
|
1821
|
+
const utf8Bytes = (value) => new TextEncoder().encode(value).length;
|
|
1822
|
+
const boundedText = (maxBytes) => z$1.string().max(maxBytes).refine((v) => utf8Bytes(v) <= maxBytes, `exceeds ${maxBytes} bytes`);
|
|
1823
|
+
const title = z$1.string().trim().min(1).max(ISSUE_LIMITS.titleChars);
|
|
1824
|
+
const description = boundedText(ISSUE_LIMITS.descriptionBytes);
|
|
1825
|
+
const commentBody = boundedText(ISSUE_LIMITS.commentBytes).pipe(z$1.string().trim().min(1));
|
|
1826
|
+
const label = z$1.string().trim().min(1).max(ISSUE_LIMITS.labelChars);
|
|
1827
|
+
const labels = z$1.array(label).max(ISSUE_LIMITS.labels);
|
|
1828
|
+
const epochMs = z$1.number().int().min(0).max(864e13);
|
|
1829
|
+
const IssueAgentAssigneeSchema = z$1.object({
|
|
1830
|
+
kind: z$1.literal("agent"),
|
|
1831
|
+
machineId: id,
|
|
1832
|
+
agent: z$1.enum(ISSUE_ASSIGNABLE_AGENTS),
|
|
1833
|
+
agentProfile: AgentProfileChoiceSchema.optional(),
|
|
1834
|
+
model: z$1.string().trim().min(1).max(256).nullable().optional(),
|
|
1835
|
+
permissionMode: z$1.string().trim().min(1).max(64).nullable().optional(),
|
|
1836
|
+
directory: z$1.string().min(1).max(4096).optional(),
|
|
1837
|
+
/** Reserved: run each issue in its own worktree (team-style). Phase 1 servers store it; the daemon ignores it until spec §3.6 lands. */
|
|
1838
|
+
worktree: z$1.boolean().optional()
|
|
1839
|
+
});
|
|
1840
|
+
const IssueAssigneeSchema = z$1.discriminatedUnion("kind", [
|
|
1841
|
+
z$1.object({ kind: z$1.literal("none") }),
|
|
1842
|
+
z$1.object({ kind: z$1.literal("self") }),
|
|
1843
|
+
IssueAgentAssigneeSchema,
|
|
1844
|
+
/** Phase 3; accepted by the schema so the contract is stable, refused by a phase-1 server. */
|
|
1845
|
+
z$1.object({ kind: z$1.literal("team"), teamId: id })
|
|
1846
|
+
]);
|
|
1847
|
+
const IssueMentionSchema = z$1.discriminatedUnion("kind", [
|
|
1848
|
+
z$1.object({ kind: z$1.literal("agent"), agent: z$1.enum(ISSUE_ASSIGNABLE_AGENTS), machineId: id.optional() }),
|
|
1849
|
+
/** Written by the server from an agent's `issue_comment({ mention_owner: true })`; a client may not send it. */
|
|
1850
|
+
z$1.object({ kind: z$1.literal("owner") })
|
|
1851
|
+
]);
|
|
1852
|
+
const humanMentions = z$1.array(IssueMentionSchema).max(ISSUE_LIMITS.mentionsPerComment).refine((list) => list.every((m) => m.kind === "agent"), "only agent mentions may be sent");
|
|
1853
|
+
z$1.object({
|
|
1854
|
+
title,
|
|
1855
|
+
description: description.optional(),
|
|
1856
|
+
/** Default: `todo` when assigned to an agent, otherwise `backlog`. */
|
|
1857
|
+
status: z$1.enum(ISSUE_STATUSES).optional(),
|
|
1858
|
+
priority: z$1.enum(ISSUE_PRIORITIES).optional(),
|
|
1859
|
+
assignee: IssueAssigneeSchema.optional(),
|
|
1860
|
+
projectId: id.nullable().optional(),
|
|
1861
|
+
labels: labels.optional(),
|
|
1862
|
+
dueAt: epochMs.nullable().optional(),
|
|
1863
|
+
parentId: id.nullable().optional(),
|
|
1864
|
+
/** Idempotency: the same requestId returns the issue it created. */
|
|
1865
|
+
requestId: requestId.optional()
|
|
1866
|
+
});
|
|
1867
|
+
z$1.object({
|
|
1868
|
+
title: title.optional(),
|
|
1869
|
+
description: description.optional(),
|
|
1870
|
+
status: z$1.enum(ISSUE_STATUSES).optional(),
|
|
1871
|
+
priority: z$1.enum(ISSUE_PRIORITIES).optional(),
|
|
1872
|
+
assignee: IssueAssigneeSchema.optional(),
|
|
1873
|
+
projectId: id.nullable().optional(),
|
|
1874
|
+
labels: labels.optional(),
|
|
1875
|
+
dueAt: epochMs.nullable().optional(),
|
|
1876
|
+
parentId: id.nullable().optional(),
|
|
1877
|
+
/** Fractional board order within a status column. */
|
|
1878
|
+
sortOrder: z$1.number().finite().optional(),
|
|
1879
|
+
ifVersion: z$1.number().int().min(1).optional()
|
|
1880
|
+
});
|
|
1881
|
+
z$1.object({
|
|
1882
|
+
body: commentBody,
|
|
1883
|
+
mentions: humanMentions.optional(),
|
|
1884
|
+
/** A session this comment quotes / refers to (shown as a chip). */
|
|
1885
|
+
refSessionId: id.optional(),
|
|
1886
|
+
requestId: requestId.optional()
|
|
1887
|
+
});
|
|
1888
|
+
z$1.object({
|
|
1889
|
+
assignee: IssueAgentAssigneeSchema.optional(),
|
|
1890
|
+
/** Also make it the issue's assignee (換 agent). */
|
|
1891
|
+
reassign: z$1.boolean().optional(),
|
|
1892
|
+
requestId: requestId.optional()
|
|
1893
|
+
});
|
|
1894
|
+
z$1.object({ archiveSession: z$1.boolean().optional() });
|
|
1895
|
+
z$1.object({});
|
|
1896
|
+
z$1.object({
|
|
1897
|
+
status: z$1.string().max(200).optional(),
|
|
1898
|
+
projectId: id.optional(),
|
|
1899
|
+
assigneeKind: z$1.enum(ISSUE_ASSIGNEE_KINDS).optional(),
|
|
1900
|
+
label: label.optional(),
|
|
1901
|
+
priority: z$1.string().max(100).optional(),
|
|
1902
|
+
q: z$1.string().max(200).optional(),
|
|
1903
|
+
updatedSince: z$1.coerce.number().int().min(0).optional(),
|
|
1904
|
+
includeDeleted: z$1.enum(["0", "1", "true", "false"]).optional(),
|
|
1905
|
+
limit: z$1.coerce.number().int().min(1).max(ISSUE_LIMITS.listMax).optional(),
|
|
1906
|
+
cursor: z$1.string().max(256).optional()
|
|
1907
|
+
});
|
|
1908
|
+
z$1.object({
|
|
1909
|
+
sessionId: id,
|
|
1910
|
+
status: z$1.enum(ISSUE_AGENT_STATUSES).optional(),
|
|
1911
|
+
comment: commentBody.optional(),
|
|
1912
|
+
requestId: requestId.optional()
|
|
1913
|
+
}).refine((v) => v.status !== void 0 || v.comment !== void 0, "status or comment required");
|
|
1914
|
+
z$1.object({
|
|
1915
|
+
sessionId: id,
|
|
1916
|
+
body: commentBody,
|
|
1917
|
+
mentionOwner: z$1.boolean().optional(),
|
|
1918
|
+
requestId: requestId.optional()
|
|
1919
|
+
});
|
|
1920
|
+
z$1.object({
|
|
1921
|
+
machineId: id,
|
|
1922
|
+
workerVersion: z$1.coerce.number().int().min(1)
|
|
1923
|
+
});
|
|
1924
|
+
z$1.object({ machineId: id });
|
|
1925
|
+
z$1.object({
|
|
1926
|
+
machineId: id,
|
|
1927
|
+
claimId: id,
|
|
1928
|
+
/** `spawn`: the new session. `message`: the session it was delivered to. */
|
|
1929
|
+
sessionId: id
|
|
1930
|
+
});
|
|
1931
|
+
z$1.object({
|
|
1932
|
+
machineId: id,
|
|
1933
|
+
claimId: id,
|
|
1934
|
+
error: z$1.string().min(1).max(4e3),
|
|
1935
|
+
/** True when the outcome is unknown (e.g. timeout after the spawn RPC); the server keeps the run `claimed` for owner retry instead of failing it. */
|
|
1936
|
+
unknown: z$1.boolean().optional()
|
|
1937
|
+
});
|
|
1938
|
+
z$1.object({
|
|
1939
|
+
machineId: id,
|
|
1940
|
+
sessionId: id,
|
|
1941
|
+
event: z$1.enum(["running", "idle", "exited", "crashed"])
|
|
1942
|
+
});
|
|
1943
|
+
z$1.object({
|
|
1944
|
+
/** `VH-12` / id; absent = the issue this session is bound to. */
|
|
1945
|
+
issue: z$1.string().min(1).max(128).optional()
|
|
1946
|
+
});
|
|
1947
|
+
z$1.object({
|
|
1948
|
+
status: z$1.enum(ISSUE_AGENT_STATUSES).optional(),
|
|
1949
|
+
comment: z$1.string().min(1).max(ISSUE_LIMITS.commentBytes).optional()
|
|
1950
|
+
}).refine((v) => v.status !== void 0 || v.comment !== void 0, "status or comment required");
|
|
1951
|
+
z$1.object({
|
|
1952
|
+
body: z$1.string().min(1).max(ISSUE_LIMITS.commentBytes),
|
|
1953
|
+
mention_owner: z$1.boolean().optional()
|
|
1954
|
+
});
|
|
1955
|
+
z$1.object({
|
|
1956
|
+
status: z$1.array(z$1.enum(ISSUE_STATUSES)).max(ISSUE_STATUSES.length).optional(),
|
|
1957
|
+
project: z$1.enum(["current", "any"]).optional(),
|
|
1958
|
+
limit: z$1.number().int().min(1).max(50).optional()
|
|
1959
|
+
});
|
|
1960
|
+
z$1.object({
|
|
1961
|
+
t: z$1.literal("issue"),
|
|
1962
|
+
issue: z$1.object({ id: z$1.string(), version: z$1.number() }).passthrough()
|
|
1963
|
+
});
|
|
1964
|
+
z$1.object({
|
|
1965
|
+
t: z$1.literal("issue-comment"),
|
|
1966
|
+
comment: z$1.object({ id: z$1.string(), issueId: z$1.string() }).passthrough()
|
|
1967
|
+
});
|
|
1968
|
+
z$1.object({
|
|
1969
|
+
t: z$1.literal("issue-run"),
|
|
1970
|
+
run: z$1.object({ id: z$1.string(), issueId: z$1.string(), status: z$1.string() }).passthrough()
|
|
1971
|
+
});
|
|
1804
1972
|
const SYNC_HELLO_MAX_REQUEST_SUBS = 64;
|
|
1805
1973
|
const sessionIdSchema = z.string().min(1).max(128);
|
|
1806
1974
|
const afterSeqSchema = z.number().int().min(0).nullable();
|
|
@@ -1898,4 +2066,4 @@ z.object({
|
|
|
1898
2066
|
reason: z.string()
|
|
1899
2067
|
});
|
|
1900
2068
|
|
|
1901
|
-
export { OwnerBoardResolveInputSchema as $, AGENT_PROFILE_SESSION_CAPABILITY as A, BUILTIN_TODO_SKILL as B, CLAUDE_CONFIG_MODEL_CAPABILITY as C, AutomationTriggerSchema as D, AGENT_PROFILE_FEATURE_LAUNCH as E, AgentProfileAddRequestSchema as F, AgentProfileLoginStartRequestSchema as G, AgentProfileLoginSubmitRequestSchema as H, AgentProfileBindRequestSchema as I, getAgentCodeDefaults as J, isLatestModelMode as K, resolveLatestModel as L, LATEST_MODEL_MODE as M, EFFORT_INTENT_AUTO as N, normalizeAgentKey as O, PROMPT_QUEUE_CAPABILITY as P, AgentProfilesStateSchema as Q, RUN_INTENT_CAPABILITY as R, STREAM_DELTA_MAX_CHARS as S, AgentVersionsSchema as T, AGENT_VERSION_SOURCES as U, ATTENTION_DISABLED_ERROR as V, ATTENTION_LIMITS as W, ownerBoardPostToRest as X, isAttentionBoardLocalId as Y, OwnerBoardPostInputSchema as Z, OwnerBoardUpdateInputSchema as _, PROJECT_SESSION_CAPABILITY as a, OwnerBoardListInputSchema as a0, ATTENTION_SESSION_CAPABILITY as a1, PI_STEER_CAPABILITY as a2, ReleaseDrainNoticeSchema as a3, RelayAssignmentResponseSchema as a4, CODEX_STEER_CAPABILITY as a5, CODEX_COMPACT_CAPABILITY as a6, CODEX_BTW_CAPABILITY as a7,
|
|
2069
|
+
export { OwnerBoardResolveInputSchema as $, AGENT_PROFILE_SESSION_CAPABILITY as A, BUILTIN_TODO_SKILL as B, CLAUDE_CONFIG_MODEL_CAPABILITY as C, AutomationTriggerSchema as D, AGENT_PROFILE_FEATURE_LAUNCH as E, AgentProfileAddRequestSchema as F, AgentProfileLoginStartRequestSchema as G, AgentProfileLoginSubmitRequestSchema as H, AgentProfileBindRequestSchema as I, getAgentCodeDefaults as J, isLatestModelMode as K, resolveLatestModel as L, LATEST_MODEL_MODE as M, EFFORT_INTENT_AUTO as N, normalizeAgentKey as O, PROMPT_QUEUE_CAPABILITY as P, AgentProfilesStateSchema as Q, RUN_INTENT_CAPABILITY as R, STREAM_DELTA_MAX_CHARS as S, AgentVersionsSchema as T, AGENT_VERSION_SOURCES as U, ATTENTION_DISABLED_ERROR as V, ATTENTION_LIMITS as W, ownerBoardPostToRest as X, isAttentionBoardLocalId as Y, OwnerBoardPostInputSchema as Z, OwnerBoardUpdateInputSchema as _, PROJECT_SESSION_CAPABILITY as a, OwnerBoardListInputSchema as a0, ATTENTION_SESSION_CAPABILITY as a1, PI_STEER_CAPABILITY as a2, ReleaseDrainNoticeSchema as a3, RelayAssignmentResponseSchema as a4, CODEX_STEER_CAPABILITY as a5, CODEX_COMPACT_CAPABILITY as a6, CODEX_BTW_CAPABILITY as a7, CODEX_LIVE_PERMISSION_CAPABILITY as a8, AGENT_PROFILE_RPC as a9, RelayCandidatesResponseSchema as aa, ServerMigrateNoticeSchema as ab, isHarnessInstallId as ac, agentProfileUnavailableReason as ad, MODEL_INTENT_CONFIG as ae, AUTOMATION_PRECHECK_OUTPUT_MAX_CHARS as af, AUTOMATION_PRECHECK_DEFAULT_TIMEOUT_MS as ag, AUTOMATION_CLAIM_MAX_RUNS as ah, AUTOMATION_DAEMON_CAPABILITY_PRECHECK as ai, AUTOMATION_DEFAULT_LEASE_MS as aj, HARNESS_INSTALL_CAPABILITY_VERSION as ak, restoredModel as b, AUTOMATION_NAME_PATTERN as c, AUTOMATION_PRECHECK_MAX_TIMEOUT_MS as d, AutomationPrecheckSchema as e, isInsideTeamWorktree as f, rebaseTeamWorktreePath as g, AUTOMATION_ATTENTION_REASON_MAX_CHARS as h, isAutomationRunTerminal as i, AUTOMATION_SUMMARY_MAX_CHARS as j, createEnvelope as k, RUN_INTENT_RPC as l, RunIntentRequestSchema as m, nextRunIntents as n, readEffortIntent as o, readModelIntent as p, createBuiltinTodoClient as q, restoredEffort as r, streamKeyOf as s, AGENT_PROFILE_KINDS as t, parseLatestModelTable as u, resolveLaunchAgentProfile as v, BUILTIN_TODO_DISCOVERY as w, AutomationNameSchema as x, AutomationConcurrencySchema as y, AutomationActionSchema as z };
|