nolo-cli 0.261.0-alpha.2 → 0.263.0-alpha.1
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/{_executeModel-PODMRXJJ.js → _executeModel-GZEGNZDC.js} +97 -96
- package/{accountResolver-NGICIMEE.js → accountResolver-JYG5L7YP.js} +2 -2
- package/{action-NJTYNXXR.js → action-UK3HXGXF.js} +9 -9
- package/{addContentAction-RUPXLROG.js → addContentAction-CAKFVBDM.js} +14 -14
- package/{addDialogAgentAction-57EJ2UBC.js → addDialogAgentAction-KLJ2YWWM.js} +16 -16
- package/{agentDeleteCommand-DRFCOTYP.js → agentDeleteCommand-PYQFS2IO.js} +135 -131
- package/{agentEmailCommands-FHENHUBF.js → agentEmailCommands-MSPYHNQA.js} +137 -136
- package/{agentGrantCommands-BMVKNYIY.js → agentGrantCommands-2VLLXGIU.js} +10 -9
- package/{agentListCommands-W66W5K3V.js → agentListCommands-436FHOIT.js} +68 -68
- package/{agentMachineCommands-C3BUBCXU.js → agentMachineCommands-HHH7DR26.js} +65 -65
- package/{agentProviderCommands-VIWKP7DM.js → agentProviderCommands-2W3VXDLV.js} +4 -3
- package/{agentPullCommand-5SNSXOY7.js → agentPullCommand-XEGOUYQT.js} +9 -8
- package/{agentRecordCommands-DYMHWTID.js → agentRecordCommands-ANOOR7DX.js} +127 -126
- package/{agentRun-QVFG3CI4.js → agentRun-P6GEVWAT.js} +137 -136
- package/{agentRunCommand-YV4V5HSL.js → agentRunCommand-SF4QKUF2.js} +139 -138
- package/{agentRunControl-RGBHKPKJ.js → agentRunControl-U2MV74WR.js} +17 -16
- package/{agentRuntimeLocal-LVEMOYS2.js → agentRuntimeLocal-P4MMGIR6.js} +55 -55
- package/{agentSlice-OJCM7OUX.js → agentSlice-NWSWCYRW.js} +17 -17
- package/{appConfigCommands-ZUXQLE7L.js → appConfigCommands-W4JQHMOJ.js} +61 -61
- package/{appDeleteCommands-L5UKUMXY.js → appDeleteCommands-IXR47IAV.js} +61 -61
- package/{appDeployCommands-KX2BRQUW.js → appDeployCommands-LB6DHDF4.js} +61 -61
- package/{appDeployStatusCommands-7LHRSWW7.js → appDeployStatusCommands-UQ6MJL6D.js} +61 -61
- package/{appGetCommands-F7SDFCUK.js → appGetCommands-M5JCTDDQ.js} +61 -61
- package/{appListCommands-U4NJKSMZ.js → appListCommands-TE3ZHE3I.js} +61 -61
- package/{appMigrateCommands-JAPOLYSW.js → appMigrateCommands-FOXH6R4B.js} +61 -61
- package/{appSourceCommands-TLXPWXUH.js → appSourceCommands-3ACYB6I7.js} +61 -61
- package/{authCommand-AU3GZBZ2.js → authCommand-I5OBJP5S.js} +20 -19
- package/{authCommands-JKBWMUQ4.js → authCommands-I6KCGOCN.js} +13 -12
- package/{builtinSkillRegistry-6XUWMAV5.js → builtinSkillRegistry-MIXYSZUU.js} +3 -6
- package/{chromeCommands-O4IIKTBD.js → chromeCommands-MVEEIY4R.js} +2 -2
- package/{chromeOpsCommands-F47WYQWF.js → chromeOpsCommands-IZRCYDSW.js} +7 -6
- package/{chunk-GF4LYNNZ.js → chunk-24BICQPB.js} +2 -2
- package/{chunk-LTCZOOAM.js → chunk-2AJLG6PY.js} +4 -4
- package/{chunk-HMFKYZKP.js → chunk-2JMYAH5O.js} +16 -16
- package/{chunk-WMBJDXMY.js → chunk-2LFYMWM3.js} +13 -16
- package/{chunk-VOO3YQQP.js → chunk-2O72G3U2.js} +1 -1
- package/{chunk-2I4R6ZRV.js → chunk-2QAZCYOM.js} +38 -10
- package/{chunk-CNYPQYXT.js → chunk-2R6M34JP.js} +75 -75
- package/{chunk-ZB2E724W.js → chunk-37DGW762.js} +4 -4
- package/{chunk-3A5NNQCN.js → chunk-3BQDF4QB.js} +46 -12
- package/{chunk-RWXHGPWJ.js → chunk-3UH7SS4W.js} +1 -1
- package/chunk-3VXVE2LF.js +12 -0
- package/{chunk-HAZ6UVH4.js → chunk-47T3QP4V.js} +3 -3
- package/{chunk-YRPIUIEQ.js → chunk-4DBTBNTX.js} +3 -6
- package/chunk-4MEKE5D3.js +229 -0
- package/chunk-526GLZJE.js +275 -0
- package/{chunk-FP46RAJQ.js → chunk-5MGXBQ3H.js} +3 -3
- package/{chunk-TJXO66M2.js → chunk-5MKPNTJP.js} +5 -5
- package/{chunk-L43DGEPZ.js → chunk-5YI447UL.js} +1 -1
- package/{chunk-SRVLHMES.js → chunk-6KA4XDEI.js} +32 -32
- package/{chunk-U5PSCTMR.js → chunk-6NYQHXMV.js} +13 -13
- package/chunk-6R4IY46J.js +14 -0
- package/{chunk-A4O76A6V.js → chunk-6S4VPBSW.js} +11 -11
- package/{chunk-MMXHIHJZ.js → chunk-7K4J76JQ.js} +20 -20
- package/{chunk-SU4NCTW4.js → chunk-B767MA64.js} +1 -1
- package/{chunk-RNLKWUVY.js → chunk-BAZCS5XG.js} +4 -4
- package/{chunk-EQOWWSNQ.js → chunk-BUO76CEE.js} +13 -13
- package/{chunk-NTBTVKKB.js → chunk-BWJLEN6X.js} +7 -7
- package/{chunk-UB7NV7NN.js → chunk-C36L6ZID.js} +1 -1
- package/{chunk-OSZNERNW.js → chunk-CQNGHKSG.js} +11 -11
- package/{chunk-TXMFSGRY.js → chunk-D2LTQAGN.js} +1 -1
- package/{chunk-DDKA6V6X.js → chunk-DBJAJ4UD.js} +3 -3
- package/{chunk-2MIZHEND.js → chunk-DFI7MVCQ.js} +4 -4
- package/{chunk-NJCTPWJU.js → chunk-DPFHC2DK.js} +6 -6
- package/{chunk-LHJB4BXJ.js → chunk-E2KZNP6C.js} +1 -1
- package/{chunk-IN4B6Z2D.js → chunk-E5JV4DCB.js} +4 -4
- package/{chunk-OIOMBPCA.js → chunk-EHFDVQF5.js} +2 -2
- package/{chunk-XJW6SLBZ.js → chunk-EZKIRVLJ.js} +6 -6
- package/{chunk-ER6NTALN.js → chunk-FGXG6OLW.js} +1 -1
- package/{chunk-CL33RFD7.js → chunk-GH34JXNV.js} +1 -1
- package/{chunk-WY6DMHMG.js → chunk-GWB6AGME.js} +1 -1
- package/{chunk-SWJRX4M5.js → chunk-HI5RS2O4.js} +328 -9
- package/{chunk-J22PFCQN.js → chunk-HRWRIPTB.js} +7 -7
- package/{chunk-KAHYBAEN.js → chunk-HYCVEESH.js} +12 -72
- package/{chunk-7X4BFUJV.js → chunk-I5BYFTYK.js} +3 -3
- package/{chunk-AQNWWJLH.js → chunk-I6YIA2TY.js} +1 -1
- package/{chunk-ZQAADXSF.js → chunk-IB5AR52X.js} +1 -1
- package/{chunk-TCOHWKDM.js → chunk-IYRZKHA6.js} +1 -1
- package/{chunk-XUDXQT7R.js → chunk-J44TXB4J.js} +20 -18
- package/{chunk-VZDSNDUD.js → chunk-JTRU7WEG.js} +35 -35
- package/{chunk-FNLT7NKG.js → chunk-K7HLFORE.js} +3 -3
- package/{chunk-UBOTXA3Z.js → chunk-KGBASAB5.js} +6 -6
- package/chunk-KJ4J2XQB.js +129 -0
- package/{chunk-GEC4CHS2.js → chunk-KTK64ZZN.js} +5 -5
- package/{chunk-6BBXJGIQ.js → chunk-KUZSTAE3.js} +36 -36
- package/{chunk-Z7EP5HDL.js → chunk-KYHNSSL2.js} +1 -1
- package/chunk-KZO2MTVM.js +140 -0
- package/{chunk-ERCSHBUD.js → chunk-L4KZCAIJ.js} +95 -95
- package/{chunk-72VWN4VK.js → chunk-LHTXSC2E.js} +18 -6
- package/{chunk-MSFKHPA6.js → chunk-LRLLWD4P.js} +1 -1
- package/{chunk-RIOAPUGV.js → chunk-M75RM77T.js} +9 -0
- package/{chunk-SARJZIGR.js → chunk-MI6HRMCK.js} +1 -1
- package/{chunk-A454UXB6.js → chunk-MKR6KDD3.js} +13 -9
- package/{chunk-MPWQI36J.js → chunk-MTNQNLSE.js} +12 -12
- package/{chunk-D3ONA3FP.js → chunk-NH4PUEWK.js} +2 -2
- package/{chunk-IWWJSSST.js → chunk-NTUNHTJV.js} +4 -4
- package/{chunk-XREMPMNK.js → chunk-OKUSDVRS.js} +3 -3
- package/{chunk-UEZL3RBG.js → chunk-OLJSB44A.js} +37 -36
- package/{chunk-63G7JWEA.js → chunk-OQH3TAB7.js} +6 -6
- package/{chunk-M7VNNPVX.js → chunk-OV47NSYQ.js} +117 -121
- package/{chunk-WEEB2JKA.js → chunk-P62DHV4F.js} +4 -4
- package/{chunk-3QMN3T6L.js → chunk-PEXGRTTQ.js} +4 -4
- package/{chunk-4HZCBA4Q.js → chunk-PHIERFHT.js} +4 -4
- package/{chunk-P4I55ASV.js → chunk-PJVJIDTH.js} +12 -12
- package/{chunk-QZYQ3Y3G.js → chunk-PKDFU6MY.js} +1 -1
- package/chunk-PSJJBBWV.js +42 -0
- package/{chunk-3B7OTHDW.js → chunk-Q6FKWH66.js} +14 -14
- package/{chunk-NLS7F5DW.js → chunk-QAUBNGF2.js} +22 -22
- package/{chunk-LUTSMSIL.js → chunk-QHSF7SPP.js} +7 -7
- package/{chunk-7LS5ATRP.js → chunk-QXHFIX7W.js} +82 -2
- package/{chunk-W2Z5E2R7.js → chunk-QY4NZCDA.js} +10 -10
- package/{chunk-BUGLH2A7.js → chunk-RIRFHJTW.js} +4 -4
- package/{chunk-G5IAIGGD.js → chunk-RYMLMTPZ.js} +10 -10
- package/{chunk-XKNDVHF5.js → chunk-S6FAHQDH.js} +4 -4
- package/{chunk-GH6SS2DZ.js → chunk-SVFFKLMR.js} +11 -11
- package/{chunk-YVOUSIIA.js → chunk-SVKWZ3EG.js} +1 -1
- package/{chunk-Q5IXZF3S.js → chunk-T7KODHYS.js} +3 -3
- package/{chunk-P4XAHM4B.js → chunk-TA5QI4MM.js} +1 -1
- package/{chunk-VCESLFF4.js → chunk-TEFD5E2D.js} +3 -3
- package/{chunk-EDKMRDET.js → chunk-UMADT6B2.js} +3 -3
- package/{chunk-3TII7WCF.js → chunk-V6K5U4YE.js} +9 -9
- package/{chunk-LHCIIUCX.js → chunk-VI4SWTUO.js} +7 -7
- package/{chunk-Z27AH6A5.js → chunk-VXUQWCEZ.js} +4 -4
- package/{chunk-QXWXRBOL.js → chunk-WJ5IXN23.js} +3 -3
- package/{chunk-T3Y2NA4H.js → chunk-WRHVVIGI.js} +4 -4
- package/chunk-WTIJKWCI.js +118 -0
- package/{chunk-UJL23HBL.js → chunk-WWE3TYSA.js} +24 -24
- package/{chunk-ULPU4C43.js → chunk-XCPC4RXE.js} +24 -24
- package/{chunk-CK2LMTYO.js → chunk-Y3KGWZKF.js} +5 -5
- package/{chunk-SJFL32RD.js → chunk-YCITCYSJ.js} +2 -2
- package/{chunk-HB4J5HA6.js → chunk-YR4J7RFS.js} +3 -3
- package/{chunk-KALCFXQO.js → chunk-YSYTCIFN.js} +200 -151
- package/{chunk-2FGFY72B.js → chunk-Z7TB2J74.js} +14 -14
- package/{chunk-CEIWXKHP.js → chunk-ZCLSM5AK.js} +12 -12
- package/{chunk-L45P4JTE.js → chunk-ZHWTBHT3.js} +17 -17
- package/{chunk-FF5ZRKW7.js → chunk-ZJACPM5O.js} +2 -2
- package/{chunk-JPYOHIHX.js → chunk-ZMOKHBV5.js} +18 -18
- package/{chunk-VC3MAT33.js → chunk-ZZOXGB2Z.js} +195 -151
- package/{cliAgentConfigHelpers-BJJEXHSZ.js → cliAgentConfigHelpers-WB2S7PDO.js} +16 -15
- package/{cliAuthorityBrokerProcess-VIJEKQSX.js → cliAuthorityBrokerProcess-BMBVXPKU.js} +7 -17
- package/{chunk-O77F26YB.js → cliAuthorityBrokerServer-27C5YBYP.js} +31 -504
- package/{cliEnvHelpers-NDMKN4X2.js → cliEnvHelpers-7V5ZWUJA.js} +4 -3
- package/{cliLocalAgentRecordReader-KCZS2MZU.js → cliLocalAgentRecordReader-QKKRK53P.js} +61 -61
- package/{cloudAutomationCommands-2WQUGQSW.js → cloudAutomationCommands-S52NKCLL.js} +61 -61
- package/{commandRegistry-C64JBZJ3.js → commandRegistry-ZEZY7MPW.js} +131 -131
- package/{contentThunks-G3HEIRXC.js → contentThunks-N3DDKRNJ.js} +48 -47
- package/{cooldownCommands-FPAFS7XG.js → cooldownCommands-ZFDAL4MR.js} +1 -1
- package/{createAgentAutomationAction-DSBL3X3A.js → createAgentAutomationAction-W3B6KOIW.js} +50 -49
- package/{createDialogAction-OHFUHC53.js → createDialogAction-V6WA7USR.js} +49 -48
- package/{createPageAction-E6JZSZLU.js → createPageAction-P2HDHBCU.js} +51 -50
- package/{db-KTQ3LL2Q.js → db-LTHLW7QA.js} +6 -4
- package/{dbSlice-U3GPLEL3.js → dbSlice-WNUHTF4C.js} +13 -13
- package/{deleteDbKey-DRXKWJX5.js → deleteDbKey-TDXLWHVF.js} +49 -48
- package/{dialogCommands-4EX2OTIC.js → dialogCommands-4MOLJW4G.js} +71 -71
- package/{dialogNotifyCommand-4SCE2Z2R.js → dialogNotifyCommand-YL2GFKLO.js} +19 -18
- package/{dialogPortabilityCommands-ZSFFHRX4.js → dialogPortabilityCommands-YQJNB2KL.js} +4 -3
- package/{dialogSlice-PRZCIJCH.js → dialogSlice-TEV6XXOO.js} +46 -45
- package/{dialogTraceCommand-RKB76OVX.js → dialogTraceCommand-HWXGIGZX.js} +79 -79
- package/{dialogUsageCommand-BP7HMRYP.js → dialogUsageCommand-IO2BQKL2.js} +6 -5
- package/{docCreateCommands-JGPNGIZ7.js → docCreateCommands-OYLRBK2M.js} +60 -60
- package/{docDeleteCommands-XRJTNRDH.js → docDeleteCommands-3NF6QPJU.js} +61 -61
- package/{docReadCommands-6GFO4ARS.js → docReadCommands-CBAERJAP.js} +60 -60
- package/{docStore-QRLIWFTU.js → docStore-OVBEONC7.js} +15 -15
- package/{docUpdateCommands-W2GXMUXW.js → docUpdateCommands-BAMCGX6F.js} +60 -60
- package/{ebookDownloaderAgentCommand-2DHPGEOQ.js → ebookDownloaderAgentCommand-NOIZ6U7Y.js} +8 -7
- package/{fetchMessages-RGPIYEPZ.js → fetchMessages-P7FSCSXV.js} +2 -2
- package/{getPricing-BK6CUBAE.js → getPricing-KNXVEIUI.js} +6 -6
- package/{handleSendMessageAction-DHGWURJZ.js → handleSendMessageAction-5GZ44SKK.js} +95 -93
- package/{hostCredentialCreate-FPUZ7RMI.js → hostCredentialCreate-WOLFFVCM.js} +130 -129
- package/i18n-SAK6DDY4.js +51 -0
- package/index.js +163 -184
- package/levelAuthorityStore-L5SVDM5O.js +10 -0
- package/{localAutomationCommands-ZMU22RQJ.js → localAutomationCommands-L333FJPR.js} +32 -31
- package/{localAutomationRuntime-MU5FGJ3V.js → localAutomationRuntime-CIHGJBSC.js} +30 -29
- package/{localDialogRead-W2EVXISA.js → localDialogRead-GWGWSL5K.js} +2 -2
- package/{localRuntimeAdapter-YBXQBV4G.js → localRuntimeAdapter-6WNR7IYN.js} +123 -122
- package/{localRuntimeAuthority-LDXMEDO5.js → localRuntimeAuthority-Q5C2KWGF.js} +11 -10
- package/{localRuntimeDb-6TQZDLNU.js → localRuntimeDb-MM3DINZM.js} +1 -1
- package/{machineCommands-57RTUYRV.js → machineCommands-CP7NCD6O.js} +132 -131
- package/{machineInfo-BJIU3WQ5.js → machineInfo-HNPJHQFU.js} +5 -3
- package/{machineWsRunDispatch-VBKV3FFE.js → machineWsRunDispatch-YIAY2LPK.js} +124 -123
- package/{mcpLocalAuthorizeCommand-J76SOJVZ.js → mcpLocalAuthorizeCommand-IKOFKY5U.js} +32 -31
- package/{mcpLocalManageCommands-USETIMHB.js → mcpLocalManageCommands-KUDZQRM4.js} +32 -31
- package/{memberThunks-7UERUEMI.js → memberThunks-TD76IFGA.js} +209 -26
- package/{memoryCommands-N7NHEE55.js → memoryCommands-SVLAVFCV.js} +4 -3
- package/{offlineMarxistsAgentCommand-WZBJBCPZ.js → offlineMarxistsAgentCommand-MFURGWHL.js} +5 -4
- package/package.json +1 -1
- package/{parityCommands-LYDLWSLK.js → parityCommands-5OCBPVES.js} +61 -61
- package/{projectArchive-KCNQDVWJ.js → projectArchive-KJRBIY3O.js} +55 -54
- package/{read-SPSQ6NLR.js → read-D4WYJQJQ.js} +10 -10
- package/{readDocTool-ENUL2GNL.js → readDocTool-3S3OQFOH.js} +2 -2
- package/{readlineWorkspace-MKS7TAEF.js → readlineWorkspace-2PLTEZDM.js} +223 -222
- package/{rememberExplicit-7KX4HXQC.js → rememberExplicit-ZPI6KK5M.js} +3 -2
- package/{remove-TNNDO635.js → remove-AHRMUDMH.js} +10 -10
- package/{removeDialogAgentAction-POPUZ3WU.js → removeDialogAgentAction-AALRBFSA.js} +19 -19
- package/{runAgentClientLoop-KVILXQNI.js → runAgentClientLoop-IBWSCK2D.js} +93 -92
- package/{runtimeDoctorCommands-4J2DP4LZ.js → runtimeDoctorCommands-52MBG5JN.js} +25 -24
- package/{secretCommands-CSTQYB6T.js → secretCommands-2PSS3QNZ.js} +2 -2
- package/{setDialogExtraReferencesAction-35THMVBP.js → setDialogExtraReferencesAction-SLHQ3GYL.js} +15 -15
- package/{setPrimaryDialogAgentAction-WLXBNIG7.js → setPrimaryDialogAgentAction-XKCSGJ7M.js} +19 -19
- package/{settingThunks-6Y5U5M5N.js → settingThunks-PNC7ZISV.js} +22 -22
- package/{spaceCommands-LXNJBO2U.js → spaceCommands-Z2CTQD6G.js} +62 -62
- package/{spacePruneCommand-2ITUFYBM.js → spacePruneCommand-YKIEUIDQ.js} +4 -3
- package/{streamAgentChatTurn-EY6MFKCA.js → streamAgentChatTurn-JAAROGLD.js} +123 -122
- package/{switchDialogAgentAction-TG6BQRDA.js → switchDialogAgentAction-YJIWQGIR.js} +16 -16
- package/{tableCommands-35G34R4B.js → tableCommands-FCPDULSU.js} +19 -18
- package/{toolApiClient-MPQIFYXP.js → toolApiClient-FVXTIIEN.js} +9 -9
- package/{tools-CSLTRRUR.js → tools-TCOYT5DJ.js} +73 -72
- package/{tuiRestart-ALR4Q3JM.js → tuiRestart-LU2BDLAW.js} +18 -17
- package/{tuiSummaryLlmCaller-3Y3JEXJK.js → tuiSummaryLlmCaller-Z2ZVBIGN.js} +23 -22
- package/{updateCommands-GHQVP6Z5.js → updateCommands-4QP7WJLA.js} +9 -8
- package/{updateDialogTitleAction-LFAWF5EW.js → updateDialogTitleAction-O3TRFRIH.js} +51 -50
- package/{usageCommand-5VKW6T4C.js → usageCommand-AZX7D3LB.js} +2 -2
- package/{usageRebuildCommand-VUQETFMW.js → usageRebuildCommand-XV5QQCHK.js} +3 -3
- package/versionChangeNotice-RFABJGJE.js +35 -0
- package/{windowsSelfUpdate-SXSVXK4X.js → windowsSelfUpdate-5OFKSW6Y.js} +2 -2
- package/chunk-AMNZPQCY.js +0 -635
- package/chunk-IVK2KT3H.js +0 -209
- package/chunk-KGWE224L.js +0 -246
- package/{chunk-YY7IGJMN.js → chunk-ADMRXWXJ.js} +3 -3
- package/{chunk-CW6LRDSF.js → chunk-LLP2NDED.js} +6 -6
- package/{chunk-GX2MFKF3.js → chunk-SSGTV4FC.js} +3 -3
- package/{chunk-FOC4TORM.js → chunk-TSBJVMNW.js} +5 -5
- package/{chunk-O7ZY6SUK.js → chunk-UYQILGDR.js} +9 -9
- package/{chunk-HXER7YJF.js → chunk-VXL2FZTP.js} +3 -3
- package/{chunk-WSQLCWLQ.js → chunk-YECCIUYU.js} +3 -3
- package/{chunk-U6RD332P.js → chunk-YQJEXXDK.js} +3 -3
- package/{chunk-HVRG27HI.js → chunk-ZV7ZY46L.js} +7 -7
- package/{providerPresetApply-IRJ56XIZ.js → providerPresetApply-YCVSP2WX.js} +3 -3
|
@@ -7,21 +7,33 @@ import {
|
|
|
7
7
|
parsePendingApprovalResult,
|
|
8
8
|
runConnectorToolWithHostApproval,
|
|
9
9
|
withHostApprovalRequest
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2O72G3U2.js";
|
|
11
11
|
import {
|
|
12
12
|
BROWSER_SHELL_BRIDGE_ENV
|
|
13
13
|
} from "./chunk-R72QWIFO.js";
|
|
14
|
+
import {
|
|
15
|
+
clearCredentialAvailability,
|
|
16
|
+
markCredentialUnavailable,
|
|
17
|
+
readCredentialEntry
|
|
18
|
+
} from "./chunk-GIXWVN2W.js";
|
|
19
|
+
import {
|
|
20
|
+
customNativeAuthHeaders,
|
|
21
|
+
detectDeclaredCustomNativeWire,
|
|
22
|
+
isCallerCancellation,
|
|
23
|
+
resolveCustomNativeApiKeyHeader,
|
|
24
|
+
resolveCustomNativeEndpoint
|
|
25
|
+
} from "./chunk-WOAZVUSN.js";
|
|
14
26
|
import {
|
|
15
27
|
cursorRefresh,
|
|
16
28
|
refreshOpenAiCodexToken,
|
|
17
29
|
resolveServerSyncConfig,
|
|
18
30
|
xaiRefresh
|
|
19
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-QY4NZCDA.js";
|
|
20
32
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./chunk-
|
|
33
|
+
DialogNotifyError,
|
|
34
|
+
deliverDialogNotification,
|
|
35
|
+
sha256Hex
|
|
36
|
+
} from "./chunk-YR4J7RFS.js";
|
|
25
37
|
import {
|
|
26
38
|
SANDBOX_HELPER_PATH,
|
|
27
39
|
SANDBOX_OUTPUT_LIMITS,
|
|
@@ -36,22 +48,10 @@ import {
|
|
|
36
48
|
createVerifiedChromeConnectorClient,
|
|
37
49
|
executeChromeConnectorTool,
|
|
38
50
|
validateChromeConnectorPayload
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import {
|
|
41
|
-
customNativeAuthHeaders,
|
|
42
|
-
detectDeclaredCustomNativeWire,
|
|
43
|
-
isCallerCancellation,
|
|
44
|
-
resolveCustomNativeApiKeyHeader,
|
|
45
|
-
resolveCustomNativeEndpoint
|
|
46
|
-
} from "./chunk-WOAZVUSN.js";
|
|
47
|
-
import {
|
|
48
|
-
DialogNotifyError,
|
|
49
|
-
deliverDialogNotification,
|
|
50
|
-
sha256Hex
|
|
51
|
-
} from "./chunk-HB4J5HA6.js";
|
|
51
|
+
} from "./chunk-YQJEXXDK.js";
|
|
52
52
|
import {
|
|
53
53
|
createTuiSummaryLlmCaller
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-VI4SWTUO.js";
|
|
55
55
|
import {
|
|
56
56
|
CliProviderQuotaError,
|
|
57
57
|
attachExecutionStoppedPromise,
|
|
@@ -67,11 +67,11 @@ import {
|
|
|
67
67
|
} from "./chunk-ATNTHIZI.js";
|
|
68
68
|
import {
|
|
69
69
|
resolveUserSkillRuntime
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-TEFD5E2D.js";
|
|
71
71
|
import {
|
|
72
72
|
inlineImageUrlsForCustomProvider,
|
|
73
73
|
prepareTools
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-DPFHC2DK.js";
|
|
75
75
|
import {
|
|
76
76
|
getServerProviderSecret
|
|
77
77
|
} from "./chunk-56OAS5RZ.js";
|
|
@@ -94,56 +94,66 @@ import {
|
|
|
94
94
|
resolveCliLocalSpawnDispatch,
|
|
95
95
|
resolveRunContextFacts,
|
|
96
96
|
resolveStartAgentRunCwd
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-YSYTCIFN.js";
|
|
98
98
|
import {
|
|
99
99
|
normalizeEnabledPromptSkills,
|
|
100
100
|
resolveUserEnabledSkills
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-P62DHV4F.js";
|
|
102
102
|
import {
|
|
103
103
|
validateAskChoiceInput
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-BUO76CEE.js";
|
|
105
105
|
import {
|
|
106
106
|
prepareTokenUsageData
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-OV47NSYQ.js";
|
|
108
108
|
import {
|
|
109
109
|
applyTokenUsageToDayStats
|
|
110
110
|
} from "./chunk-KDDXC2IH.js";
|
|
111
111
|
import {
|
|
112
112
|
BUILTIN_DIALOG_LLM_CHAT_FALLBACK_MODEL,
|
|
113
113
|
BUILTIN_TITLE_LLM_CONFIG
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-FGXG6OLW.js";
|
|
115
115
|
import {
|
|
116
116
|
fetchServerSyncedCredential
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-PJVJIDTH.js";
|
|
118
118
|
import {
|
|
119
119
|
formatLocalDate
|
|
120
120
|
} from "./chunk-PL5RKESU.js";
|
|
121
|
-
import {
|
|
122
|
-
runKeyed
|
|
123
|
-
} from "./chunk-MPWQI36J.js";
|
|
124
|
-
import {
|
|
125
|
-
getDefaultCliLocalRuntimeDb
|
|
126
|
-
} from "./chunk-SARJZIGR.js";
|
|
127
|
-
import {
|
|
128
|
-
readExistingMachineId
|
|
129
|
-
} from "./chunk-7LS5ATRP.js";
|
|
130
121
|
import {
|
|
131
122
|
defaultLoopbackRequest,
|
|
132
123
|
loadLocalRunChildDialogIds
|
|
133
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-PKDFU6MY.js";
|
|
134
125
|
import {
|
|
135
126
|
CREDENTIAL_STORE_SESSION_FALLBACK_WARNING,
|
|
136
127
|
getSharedSessionCredentialBroker
|
|
137
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-7K4J76JQ.js";
|
|
138
129
|
import {
|
|
139
130
|
deriveCredentialGroup,
|
|
140
131
|
deriveCustomProviderCredentialGroup,
|
|
141
132
|
resolveDispatchReasoningEffort
|
|
142
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-BWJLEN6X.js";
|
|
143
134
|
import {
|
|
144
135
|
fetchWithTransientRetry,
|
|
145
136
|
isTransientFetchError
|
|
146
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-ADMRXWXJ.js";
|
|
138
|
+
import {
|
|
139
|
+
runKeyed
|
|
140
|
+
} from "./chunk-MTNQNLSE.js";
|
|
141
|
+
import {
|
|
142
|
+
DialogTurnBusyError,
|
|
143
|
+
DialogTurnCommitError,
|
|
144
|
+
acquireLocalDialogTurnLease,
|
|
145
|
+
isDialogAuthorityProtectedStore,
|
|
146
|
+
propagateLocalDialogTurnAuthority,
|
|
147
|
+
registerHybridStoreUnderlyingDb,
|
|
148
|
+
resolveLocalDialogTurnAuthority,
|
|
149
|
+
sanitizeDialogTurnIdentifier
|
|
150
|
+
} from "./chunk-J44TXB4J.js";
|
|
151
|
+
import {
|
|
152
|
+
getDefaultCliLocalRuntimeDb
|
|
153
|
+
} from "./chunk-MI6HRMCK.js";
|
|
154
|
+
import {
|
|
155
|
+
readExistingMachineId
|
|
156
|
+
} from "./chunk-QXHFIX7W.js";
|
|
147
157
|
import {
|
|
148
158
|
_readQueueEntriesLocked,
|
|
149
159
|
ackRunRecord,
|
|
@@ -169,7 +179,7 @@ import {
|
|
|
169
179
|
terminateRunProcess,
|
|
170
180
|
transitionRunToTerminal,
|
|
171
181
|
withQueueLock
|
|
172
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-I5BYFTYK.js";
|
|
173
183
|
import {
|
|
174
184
|
TASK_PREVIEW_MAX,
|
|
175
185
|
formatControlRunMessageCard,
|
|
@@ -187,32 +197,18 @@ import {
|
|
|
187
197
|
resolveRunLabel,
|
|
188
198
|
shortRunId
|
|
189
199
|
} from "./chunk-S25VJYXV.js";
|
|
190
|
-
import {
|
|
191
|
-
DialogTurnBusyError,
|
|
192
|
-
DialogTurnCommitError,
|
|
193
|
-
acquireLocalDialogTurnLease,
|
|
194
|
-
isDialogAuthorityProtectedStore,
|
|
195
|
-
propagateLocalDialogTurnAuthority,
|
|
196
|
-
registerHybridStoreUnderlyingDb,
|
|
197
|
-
resolveLocalDialogTurnAuthority,
|
|
198
|
-
sanitizeDialogTurnIdentifier
|
|
199
|
-
} from "./chunk-XUDXQT7R.js";
|
|
200
|
-
import {
|
|
201
|
-
DIALOG_TURN_HOLDER_KINDS,
|
|
202
|
-
isDialogTurnRef
|
|
203
|
-
} from "./chunk-EUHMI5KG.js";
|
|
204
200
|
import {
|
|
205
201
|
readAgentFromStore,
|
|
206
202
|
readDialogMessageRecords,
|
|
207
203
|
readDialogMessages,
|
|
208
204
|
resolveBuiltinLocalCliAgentConfig
|
|
209
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-V6K5U4YE.js";
|
|
210
206
|
import {
|
|
211
207
|
applyPublicAgentCatalogOverride
|
|
212
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-PHIERFHT.js";
|
|
213
209
|
import {
|
|
214
210
|
applyBuiltinAgentRuntimeOverride
|
|
215
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-B767MA64.js";
|
|
216
212
|
import {
|
|
217
213
|
AGENT_PROMPT_IN_MESSAGES,
|
|
218
214
|
DEFAULT_HYBRID_READ_TIMEOUT_MS,
|
|
@@ -264,7 +260,7 @@ import {
|
|
|
264
260
|
usesNativeToolDiscovery,
|
|
265
261
|
validateConfiguredRootExecutionLease,
|
|
266
262
|
verifyOwnerRouteAck
|
|
267
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-2R6M34JP.js";
|
|
268
264
|
import {
|
|
269
265
|
createHostCredentialBrokerChain,
|
|
270
266
|
createStrictHostCredentialBroker
|
|
@@ -285,26 +281,14 @@ import {
|
|
|
285
281
|
readSseFrames,
|
|
286
282
|
resolvePlatformChatProviderConfig,
|
|
287
283
|
shouldUsePlatformChatProvider
|
|
288
|
-
} from "./chunk-
|
|
284
|
+
} from "./chunk-DBJAJ4UD.js";
|
|
289
285
|
import {
|
|
290
286
|
resolveAgentRuntimeConfigFromRecord
|
|
291
|
-
} from "./chunk-
|
|
287
|
+
} from "./chunk-EZKIRVLJ.js";
|
|
292
288
|
import {
|
|
293
289
|
resolveAgentImageInputSupport,
|
|
294
290
|
resolveToolImagePolicy
|
|
295
|
-
} from "./chunk-
|
|
296
|
-
import {
|
|
297
|
-
buildNoloWorkspaceOpenAiTools,
|
|
298
|
-
filterClientNoloWorkspaceToolNames,
|
|
299
|
-
parseNoloWorkspaceToolArguments
|
|
300
|
-
} from "./chunk-HVRG27HI.js";
|
|
301
|
-
import {
|
|
302
|
-
extractQuotaSnapshot,
|
|
303
|
-
isCapacitySaturatedRateLimit,
|
|
304
|
-
mergeAvailabilityDeadline,
|
|
305
|
-
resolveAvailabilityAction,
|
|
306
|
-
resolveCredentialKeyWithFallback
|
|
307
|
-
} from "./chunk-LS5KAVFQ.js";
|
|
291
|
+
} from "./chunk-BAZCS5XG.js";
|
|
308
292
|
import {
|
|
309
293
|
EMPTY_TOOL_RESULT_TEXT,
|
|
310
294
|
MAX_TOOL_IMAGES_PER_REQUEST,
|
|
@@ -321,7 +305,7 @@ import {
|
|
|
321
305
|
toolImageOmission,
|
|
322
306
|
toolImageSource,
|
|
323
307
|
toolImages
|
|
324
|
-
} from "./chunk-
|
|
308
|
+
} from "./chunk-DFI7MVCQ.js";
|
|
325
309
|
import {
|
|
326
310
|
TOOL_DISCOVERY_CALL_NAME,
|
|
327
311
|
TOOL_DISCOVERY_ID_PREFIX,
|
|
@@ -334,17 +318,29 @@ import {
|
|
|
334
318
|
stablePromptCacheKey,
|
|
335
319
|
toolDiscoveryReference
|
|
336
320
|
} from "./chunk-4IVMDQBA.js";
|
|
321
|
+
import {
|
|
322
|
+
buildNoloWorkspaceOpenAiTools,
|
|
323
|
+
filterClientNoloWorkspaceToolNames,
|
|
324
|
+
parseNoloWorkspaceToolArguments
|
|
325
|
+
} from "./chunk-ZV7ZY46L.js";
|
|
326
|
+
import {
|
|
327
|
+
extractQuotaSnapshot,
|
|
328
|
+
isCapacitySaturatedRateLimit,
|
|
329
|
+
mergeAvailabilityDeadline,
|
|
330
|
+
resolveAvailabilityAction,
|
|
331
|
+
resolveCredentialKeyWithFallback
|
|
332
|
+
} from "./chunk-LS5KAVFQ.js";
|
|
333
|
+
import {
|
|
334
|
+
OAUTH_PROVIDER_REFS
|
|
335
|
+
} from "./chunk-PEXGRTTQ.js";
|
|
337
336
|
import {
|
|
338
337
|
resolveAgentRequiredPackIds,
|
|
339
338
|
resolveAgentSkillConfig,
|
|
340
339
|
resolveHistoricalToolContentCap
|
|
341
|
-
} from "./chunk-
|
|
340
|
+
} from "./chunk-D2LTQAGN.js";
|
|
342
341
|
import {
|
|
343
342
|
MCP_TOOL_NAMES
|
|
344
343
|
} from "./chunk-CA7LGAHV.js";
|
|
345
|
-
import {
|
|
346
|
-
OAUTH_PROVIDER_REFS
|
|
347
|
-
} from "./chunk-3QMN3T6L.js";
|
|
348
344
|
import {
|
|
349
345
|
normalizeDialogTitle
|
|
350
346
|
} from "./chunk-LXP53WGF.js";
|
|
@@ -361,14 +357,14 @@ import {
|
|
|
361
357
|
markCodexOAuthCatalogFailure,
|
|
362
358
|
resolveCodexOAuthEffectiveModel,
|
|
363
359
|
usesCodexDeveloperPrefix
|
|
364
|
-
} from "./chunk-
|
|
360
|
+
} from "./chunk-RYMLMTPZ.js";
|
|
365
361
|
import {
|
|
366
362
|
isDevinOAuthAgent
|
|
367
363
|
} from "./chunk-5ZUL4CUO.js";
|
|
368
364
|
import {
|
|
369
365
|
isOAuthApiKeyRef,
|
|
370
366
|
normalizeUsage
|
|
371
|
-
} from "./chunk-
|
|
367
|
+
} from "./chunk-ZCLSM5AK.js";
|
|
372
368
|
import {
|
|
373
369
|
createProviderCallTimingTracker,
|
|
374
370
|
finalizeProviderCallTiming,
|
|
@@ -382,37 +378,25 @@ import {
|
|
|
382
378
|
resolveCurrentRunRuntimeToolPolicy,
|
|
383
379
|
resolveLocalWorkspaceExecutorOptionsFromPolicy,
|
|
384
380
|
resolveRequestedRuntimeToolNames
|
|
385
|
-
} from "./chunk-
|
|
381
|
+
} from "./chunk-SSGTV4FC.js";
|
|
382
|
+
import {
|
|
383
|
+
asRecordOrEmpty
|
|
384
|
+
} from "./chunk-KX6YBIHG.js";
|
|
386
385
|
import {
|
|
387
386
|
createFileCredentialBroker
|
|
388
387
|
} from "./chunk-E6A5NHDH.js";
|
|
389
388
|
import {
|
|
390
|
-
|
|
391
|
-
} from "./chunk-
|
|
389
|
+
compactWhitespace
|
|
390
|
+
} from "./chunk-DWLEOOGR.js";
|
|
392
391
|
import {
|
|
393
392
|
withShellChildEnvironment
|
|
394
|
-
} from "./chunk-
|
|
393
|
+
} from "./chunk-2QAZCYOM.js";
|
|
395
394
|
import {
|
|
396
395
|
assertDispatchSelectionAdmission
|
|
397
396
|
} from "./chunk-HEVRQGGH.js";
|
|
398
397
|
import {
|
|
399
398
|
estimateTokenCount
|
|
400
399
|
} from "./chunk-PSCNXBYA.js";
|
|
401
|
-
import {
|
|
402
|
-
compactWhitespace
|
|
403
|
-
} from "./chunk-DWLEOOGR.js";
|
|
404
|
-
import {
|
|
405
|
-
toErrorMessage
|
|
406
|
-
} from "./chunk-HNMXYYJR.js";
|
|
407
|
-
import {
|
|
408
|
-
isLevelNotFoundError
|
|
409
|
-
} from "./chunk-OW765XBU.js";
|
|
410
|
-
import {
|
|
411
|
-
createOAuthTokenStore,
|
|
412
|
-
isTokenExpired,
|
|
413
|
-
readOAuthCredential,
|
|
414
|
-
resolveFreshAccessToken
|
|
415
|
-
} from "./chunk-G7Y4GXTY.js";
|
|
416
400
|
import {
|
|
417
401
|
isTombstoneRecord
|
|
418
402
|
} from "./chunk-BV3FLP2L.js";
|
|
@@ -422,7 +406,7 @@ import {
|
|
|
422
406
|
import {
|
|
423
407
|
buildAccountAutoReviewAuthorizationBlock,
|
|
424
408
|
resolveBuiltinSkillEntry
|
|
425
|
-
} from "./chunk-
|
|
409
|
+
} from "./chunk-HYCVEESH.js";
|
|
426
410
|
import {
|
|
427
411
|
FORCED_TOOLS,
|
|
428
412
|
addDefaultLightWebToolsForConfiguredAgents,
|
|
@@ -433,26 +417,11 @@ import {
|
|
|
433
417
|
expandEnabledPacks,
|
|
434
418
|
resolveEffectiveEnabledPacks
|
|
435
419
|
} from "./chunk-J42X32PV.js";
|
|
436
|
-
import {
|
|
437
|
-
DIALOG_AGENT_LIST_INDEX_PREFIX,
|
|
438
|
-
TOKEN_DIALOG_INDEX_PREFIX,
|
|
439
|
-
createTokenDialogIndexKey,
|
|
440
|
-
createTokenKey,
|
|
441
|
-
createTokenStatsKey,
|
|
442
|
-
createUserKey,
|
|
443
|
-
isTokenStatsKey
|
|
444
|
-
} from "./chunk-DLXL4NSL.js";
|
|
445
|
-
import {
|
|
446
|
-
dialogMessageKey
|
|
447
|
-
} from "./chunk-OJKUU3LP.js";
|
|
448
|
-
import {
|
|
449
|
-
dialogIdFromKey
|
|
450
|
-
} from "./chunk-YZMNK53S.js";
|
|
451
420
|
import {
|
|
452
421
|
localTurnHasSubjectRefs,
|
|
453
422
|
resolveLocalUserId,
|
|
454
423
|
withResolvedRuntimeToolSurface
|
|
455
|
-
} from "./chunk-
|
|
424
|
+
} from "./chunk-KGBASAB5.js";
|
|
456
425
|
import {
|
|
457
426
|
LOCAL_CODEX_AGENT_KEY,
|
|
458
427
|
isLocalCliAgentKey,
|
|
@@ -464,16 +433,16 @@ import {
|
|
|
464
433
|
hasRunWakeChannel,
|
|
465
434
|
isSubtaskRun,
|
|
466
435
|
resolveRequestToolSurface
|
|
467
|
-
} from "./chunk-
|
|
436
|
+
} from "./chunk-TSBJVMNW.js";
|
|
468
437
|
import {
|
|
469
438
|
remoteDialogSyncTimeout,
|
|
470
439
|
resolveRuntimeAuthToken,
|
|
471
440
|
resolveRuntimeServerUrl
|
|
472
|
-
} from "./chunk-
|
|
441
|
+
} from "./chunk-C36L6ZID.js";
|
|
473
442
|
import {
|
|
474
443
|
buildProviderSessionHeaders,
|
|
475
444
|
resolvePlatformAuthToken
|
|
476
|
-
} from "./chunk-
|
|
445
|
+
} from "./chunk-UYQILGDR.js";
|
|
477
446
|
import {
|
|
478
447
|
canonicalizeToolNames
|
|
479
448
|
} from "./chunk-HJTI7RZV.js";
|
|
@@ -481,12 +450,6 @@ import {
|
|
|
481
450
|
CHROME_CONNECTOR_ACCEPTED_TOOL_NAMES,
|
|
482
451
|
canonicalizeChromeConnectorToolNames
|
|
483
452
|
} from "./chunk-ZC3CMUKU.js";
|
|
484
|
-
import {
|
|
485
|
-
asTrimmedString
|
|
486
|
-
} from "./chunk-3EUW3WEO.js";
|
|
487
|
-
import {
|
|
488
|
-
asOptionalPositiveFiniteNumber
|
|
489
|
-
} from "./chunk-U6VC4MU4.js";
|
|
490
453
|
import {
|
|
491
454
|
anthropicPublishedMaxOutputTokens,
|
|
492
455
|
findModelConfig,
|
|
@@ -502,10 +465,50 @@ import {
|
|
|
502
465
|
import {
|
|
503
466
|
isRecord
|
|
504
467
|
} from "./chunk-KUG52IAP.js";
|
|
468
|
+
import {
|
|
469
|
+
asTrimmedLowercaseString
|
|
470
|
+
} from "./chunk-QSJ3HFEF.js";
|
|
471
|
+
import {
|
|
472
|
+
createOAuthTokenStore,
|
|
473
|
+
isTokenExpired,
|
|
474
|
+
readOAuthCredential,
|
|
475
|
+
resolveFreshAccessToken
|
|
476
|
+
} from "./chunk-G7Y4GXTY.js";
|
|
505
477
|
import {
|
|
506
478
|
classifyDialogSyncFailure,
|
|
507
479
|
startOwnedDialogSync
|
|
508
480
|
} from "./chunk-E36V7MPY.js";
|
|
481
|
+
import {
|
|
482
|
+
DIALOG_TURN_HOLDER_KINDS,
|
|
483
|
+
isDialogTurnRef
|
|
484
|
+
} from "./chunk-EUHMI5KG.js";
|
|
485
|
+
import {
|
|
486
|
+
isLevelNotFoundError
|
|
487
|
+
} from "./chunk-OW765XBU.js";
|
|
488
|
+
import {
|
|
489
|
+
toErrorMessage
|
|
490
|
+
} from "./chunk-HNMXYYJR.js";
|
|
491
|
+
import {
|
|
492
|
+
DIALOG_AGENT_LIST_INDEX_PREFIX,
|
|
493
|
+
TOKEN_DIALOG_INDEX_PREFIX,
|
|
494
|
+
createTokenDialogIndexKey,
|
|
495
|
+
createTokenKey,
|
|
496
|
+
createTokenStatsKey,
|
|
497
|
+
createUserKey,
|
|
498
|
+
isTokenStatsKey
|
|
499
|
+
} from "./chunk-DLXL4NSL.js";
|
|
500
|
+
import {
|
|
501
|
+
dialogMessageKey
|
|
502
|
+
} from "./chunk-OJKUU3LP.js";
|
|
503
|
+
import {
|
|
504
|
+
dialogIdFromKey
|
|
505
|
+
} from "./chunk-YZMNK53S.js";
|
|
506
|
+
import {
|
|
507
|
+
asTrimmedString
|
|
508
|
+
} from "./chunk-3EUW3WEO.js";
|
|
509
|
+
import {
|
|
510
|
+
asOptionalPositiveFiniteNumber
|
|
511
|
+
} from "./chunk-U6VC4MU4.js";
|
|
509
512
|
import {
|
|
510
513
|
getLogger
|
|
511
514
|
} from "./chunk-EYLGAEB4.js";
|
|
@@ -515,29 +518,26 @@ import {
|
|
|
515
518
|
parseUserIdFromAuthToken,
|
|
516
519
|
resolveAuthToken,
|
|
517
520
|
resolveServerUrl
|
|
518
|
-
} from "./chunk-
|
|
521
|
+
} from "./chunk-2AJLG6PY.js";
|
|
519
522
|
import {
|
|
520
523
|
DEFAULT_NOLO_SERVER_URL
|
|
521
524
|
} from "./chunk-RF576RYE.js";
|
|
522
525
|
import {
|
|
523
526
|
NOLO_CLUSTER_SERVERS
|
|
524
527
|
} from "./chunk-JKVOKKMQ.js";
|
|
525
|
-
import {
|
|
526
|
-
asOptionalTrimmedString
|
|
527
|
-
} from "./chunk-G3SUCT4W.js";
|
|
528
528
|
import {
|
|
529
529
|
isLoopbackUrl
|
|
530
530
|
} from "./chunk-4SN6J65J.js";
|
|
531
531
|
import {
|
|
532
532
|
normalizeServerOrigin
|
|
533
533
|
} from "./chunk-CF7PE763.js";
|
|
534
|
+
import {
|
|
535
|
+
asOptionalTrimmedString
|
|
536
|
+
} from "./chunk-G3SUCT4W.js";
|
|
534
537
|
import {
|
|
535
538
|
agentRunCardLabels,
|
|
536
539
|
t
|
|
537
|
-
} from "./chunk-
|
|
538
|
-
import {
|
|
539
|
-
asTrimmedLowercaseString
|
|
540
|
-
} from "./chunk-QSJ3HFEF.js";
|
|
540
|
+
} from "./chunk-M75RM77T.js";
|
|
541
541
|
|
|
542
542
|
// packages/cli/client/agentRunTypes.ts
|
|
543
543
|
function resolveAuthToken2(env) {
|
|
@@ -570,7 +570,7 @@ async function detectCurrentMachineId(env) {
|
|
|
570
570
|
const fromEnv = (env.NOLO_CURRENT_MACHINE_ID || env.NOLO_MACHINE_ID || "").trim();
|
|
571
571
|
if (fromEnv) return fromEnv;
|
|
572
572
|
try {
|
|
573
|
-
const { detectMachineInfo } = await import("./machineInfo-
|
|
573
|
+
const { detectMachineInfo } = await import("./machineInfo-HNPJHQFU.js");
|
|
574
574
|
const machine = await detectMachineInfo({ probeLaunchable: true });
|
|
575
575
|
return asOptionalTrimmedString(machine?.machineId);
|
|
576
576
|
} catch {
|
|
@@ -8145,11 +8145,11 @@ function buildServerPlatformToolExecutors(args) {
|
|
|
8145
8145
|
const shortHash = (value, len) => createHash2("sha256").update(value).digest("hex").slice(0, len);
|
|
8146
8146
|
const localMemoryContext = async () => {
|
|
8147
8147
|
const openCliLocalRuntimeDb = async () => {
|
|
8148
|
-
const { getDefaultCliLocalRuntimeDb: getDefaultCliLocalRuntimeDb2 } = await import("./localRuntimeDb-
|
|
8148
|
+
const { getDefaultCliLocalRuntimeDb: getDefaultCliLocalRuntimeDb2 } = await import("./localRuntimeDb-MM3DINZM.js");
|
|
8149
8149
|
return getDefaultCliLocalRuntimeDb2({ env: args.env });
|
|
8150
8150
|
};
|
|
8151
8151
|
try {
|
|
8152
|
-
const { resolveMachineId } = await import("./machineInfo-
|
|
8152
|
+
const { resolveMachineId } = await import("./machineInfo-HNPJHQFU.js");
|
|
8153
8153
|
const machineId = resolveMachineId();
|
|
8154
8154
|
if (!machineId) return null;
|
|
8155
8155
|
const db = args.localDb ?? await openCliLocalRuntimeDb();
|
|
@@ -8237,7 +8237,7 @@ function buildServerPlatformToolExecutors(args) {
|
|
|
8237
8237
|
const ctx = await localMemoryContext();
|
|
8238
8238
|
if (!ctx) return false;
|
|
8239
8239
|
if (input.topicKey) {
|
|
8240
|
-
const { normalizeTopicKey, rememberExplicitVNext } = await import("./rememberExplicit-
|
|
8240
|
+
const { normalizeTopicKey, rememberExplicitVNext } = await import("./rememberExplicit-ZPI6KK5M.js");
|
|
8241
8241
|
const topicKey = normalizeTopicKey(input.topicKey);
|
|
8242
8242
|
if (topicKey) {
|
|
8243
8243
|
const now = input.createdAt || (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -8400,7 +8400,7 @@ function buildServerPlatformToolExecutors(args) {
|
|
|
8400
8400
|
}
|
|
8401
8401
|
const ctx = await localMemoryContext();
|
|
8402
8402
|
if (!ctx) throw new Error("local work memory unavailable");
|
|
8403
|
-
const { resolveLocalUserId: resolveLocalUserId2 } = await import("./cliAgentConfigHelpers-
|
|
8403
|
+
const { resolveLocalUserId: resolveLocalUserId2 } = await import("./cliAgentConfigHelpers-WB2S7PDO.js");
|
|
8404
8404
|
const localUserId = resolveLocalUserId2(args.env);
|
|
8405
8405
|
const { resolveWorkContextAccess } = await import("./workContextAccess-VU5I4LKZ.js");
|
|
8406
8406
|
const { updateWorkContext, readWorkContexts } = await import("./workContext-ZAW6VXT7.js");
|
|
@@ -8481,7 +8481,7 @@ function buildServerPlatformToolExecutors(args) {
|
|
|
8481
8481
|
metadata: { serverPlatformTool: true, memoryWrite: false }
|
|
8482
8482
|
};
|
|
8483
8483
|
}
|
|
8484
|
-
const { normalizeTopicKey } = await import("./rememberExplicit-
|
|
8484
|
+
const { normalizeTopicKey } = await import("./rememberExplicit-ZPI6KK5M.js");
|
|
8485
8485
|
try {
|
|
8486
8486
|
const normalizedTopicKey = normalizeTopicKey(parsed.topicKey);
|
|
8487
8487
|
if (normalizedTopicKey) body.topicKey = normalizedTopicKey;
|
|
@@ -9703,6 +9703,12 @@ function buildInstaboxCreateIdempotencyKey(ticketId) {
|
|
|
9703
9703
|
function buildInstaboxDeleteIdempotencyKey(machineId) {
|
|
9704
9704
|
return `instabox-delete-${machineId}`;
|
|
9705
9705
|
}
|
|
9706
|
+
function buildInstaboxDeleteHeaders(machineId) {
|
|
9707
|
+
return {
|
|
9708
|
+
"Idempotency-Key": buildInstaboxDeleteIdempotencyKey(machineId),
|
|
9709
|
+
"X-Confirm-Delete": machineId
|
|
9710
|
+
};
|
|
9711
|
+
}
|
|
9706
9712
|
var InstaboxBackend = class {
|
|
9707
9713
|
#apiKey;
|
|
9708
9714
|
#templateId;
|
|
@@ -9957,7 +9963,7 @@ var InstaboxBackend = class {
|
|
|
9957
9963
|
const deleted = await this.#call({
|
|
9958
9964
|
method: "DELETE",
|
|
9959
9965
|
path: `/machines/${encodeURIComponent(machineId)}`,
|
|
9960
|
-
|
|
9966
|
+
headers: buildInstaboxDeleteHeaders(machineId)
|
|
9961
9967
|
});
|
|
9962
9968
|
const opId = readString2(asRecord(deleted.payload)?.id);
|
|
9963
9969
|
if (!isSuccess(deleted.status) || !opId) {
|
|
@@ -10364,7 +10370,7 @@ var InstaboxBackend = class {
|
|
|
10364
10370
|
const deleted = await this.#call({
|
|
10365
10371
|
method: "DELETE",
|
|
10366
10372
|
path: `/machines/${encodeURIComponent(entry.machineId)}`,
|
|
10367
|
-
|
|
10373
|
+
headers: buildInstaboxDeleteHeaders(entry.machineId)
|
|
10368
10374
|
});
|
|
10369
10375
|
if (deleted.transportError) {
|
|
10370
10376
|
throw new InstaboxBackendError(
|
|
@@ -10651,6 +10657,13 @@ var InstaboxBackend = class {
|
|
|
10651
10657
|
};
|
|
10652
10658
|
if (args.body !== void 0) headers["Content-Type"] = "application/json";
|
|
10653
10659
|
if (args.idempotencyKey) headers["Idempotency-Key"] = args.idempotencyKey;
|
|
10660
|
+
if (args.headers) {
|
|
10661
|
+
for (const [name, value] of Object.entries(args.headers)) {
|
|
10662
|
+
const lower = name.toLowerCase();
|
|
10663
|
+
if (lower === "content-type" || lower === "x-api-key") continue;
|
|
10664
|
+
headers[name] = value;
|
|
10665
|
+
}
|
|
10666
|
+
}
|
|
10654
10667
|
try {
|
|
10655
10668
|
const response = await this.#fetch(`${this.#baseUrl}${args.path}`, {
|
|
10656
10669
|
method: args.method,
|
|
@@ -11589,6 +11602,14 @@ function createCliStartAgentRunExecutor(deps = {}) {
|
|
|
11589
11602
|
if (!agentKey) throw new Error(t("agentRunTool.missingAgentKey"));
|
|
11590
11603
|
if (!task) throw new Error(t("agentRunTool.missingTask"));
|
|
11591
11604
|
if (!runTitle) throw new Error(`startAgentRun \u9700\u8981\u975E\u7A7A\u7684\u4E00\u884C\u6807\u9898\uFF08\u226460 \u5B57\uFF09`);
|
|
11605
|
+
let resolvedConfigAgentName;
|
|
11606
|
+
if (deps.resolveAgentExists) {
|
|
11607
|
+
const resolvedAgent = await deps.resolveAgentExists(agentKey);
|
|
11608
|
+
if (!resolvedAgent?.exists) {
|
|
11609
|
+
throw new Error(`config_unresolved: agent "${agentKey}" not found`);
|
|
11610
|
+
}
|
|
11611
|
+
resolvedConfigAgentName = typeof resolvedAgent.name === "string" && resolvedAgent.name.trim() ? resolvedAgent.name.trim() : void 0;
|
|
11612
|
+
}
|
|
11592
11613
|
const requestedCwd = resolveStartAgentRunCwd(args.cwd, probeRunCwd(deps));
|
|
11593
11614
|
const nowMs = resolveNowMs(deps);
|
|
11594
11615
|
let selectedModel;
|
|
@@ -11667,7 +11688,7 @@ function createCliStartAgentRunExecutor(deps = {}) {
|
|
|
11667
11688
|
...imagePaths.flatMap((path) => ["--image", path]),
|
|
11668
11689
|
...dispatchReasoningEffort ? ["--reasoning-effort", dispatchReasoningEffort] : []
|
|
11669
11690
|
];
|
|
11670
|
-
const agentName = await resolveAgentRunName(
|
|
11691
|
+
const agentName = deps.resolveAgentExists ? resolvedConfigAgentName : await resolveAgentRunName(
|
|
11671
11692
|
agentKey,
|
|
11672
11693
|
[args.agentName, args.name],
|
|
11673
11694
|
async (key) => ({
|
|
@@ -12459,6 +12480,7 @@ function pickAgentRunResolverDeps(args) {
|
|
|
12459
12480
|
...args.dialogExistsForCurrentUser ? { dialogExistsForCurrentUser: args.dialogExistsForCurrentUser } : {},
|
|
12460
12481
|
...args.resolveAgentImageSupport ? { resolveAgentImageSupport: args.resolveAgentImageSupport } : {},
|
|
12461
12482
|
...args.resolveAgentModel ? { resolveAgentModel: args.resolveAgentModel } : {},
|
|
12483
|
+
...args.resolveAgentExists ? { resolveAgentExists: args.resolveAgentExists } : {},
|
|
12462
12484
|
...args.resolveAgentDisplayName ? { resolveAgentDisplayName: args.resolveAgentDisplayName } : {},
|
|
12463
12485
|
...args.resolveAgentRuntimeBindingMachineId ? { resolveAgentRuntimeBindingMachineId: args.resolveAgentRuntimeBindingMachineId } : {},
|
|
12464
12486
|
...args.resolveLocalMachineId ? { resolveLocalMachineId: args.resolveLocalMachineId } : {},
|
|
@@ -14278,7 +14300,7 @@ async function createLocalDockerWorkload(args) {
|
|
|
14278
14300
|
const createLifecycle = args.createLifecycle ?? (async () => {
|
|
14279
14301
|
const [{ DockerWorkloadLifecycle, createDockerBindingAuthorizer }, accounts] = await Promise.all([
|
|
14280
14302
|
import("./workloadLifecycle-P2SJVV3S.js"),
|
|
14281
|
-
import("./accountResolver-
|
|
14303
|
+
import("./accountResolver-JYG5L7YP.js")
|
|
14282
14304
|
]);
|
|
14283
14305
|
const resolveAccount = args.resolveAccount ?? accounts.createDockerAccountResolver({
|
|
14284
14306
|
env: args.env,
|
|
@@ -14586,6 +14608,12 @@ async function resolveInstaboxCreationContract(apiKey, deps = {}) {
|
|
|
14586
14608
|
return finish(sanitizeErrorMessage(null));
|
|
14587
14609
|
}
|
|
14588
14610
|
const orgs = data.orgs;
|
|
14611
|
+
const meRecord = me;
|
|
14612
|
+
if (meRecord.inviteRequired === true && meRecord.activated !== true) {
|
|
14613
|
+
missing.add("account-activated");
|
|
14614
|
+
reasons.push("account-not-activated");
|
|
14615
|
+
return finish();
|
|
14616
|
+
}
|
|
14589
14617
|
const meOrgId = typeof me.orgId === "string" ? me.orgId : void 0;
|
|
14590
14618
|
const enabled = (org2) => !org2.disabledAt && !org2.cardMissingAt;
|
|
14591
14619
|
const freeOrg = (org2) => org2.tier === "free" && org2.kind === "personal" && org2.personal === true && org2.billing?.subscribed !== true && enabled(org2);
|
|
@@ -17249,7 +17277,7 @@ function createCliLocalRuntimeAdapter(deps) {
|
|
|
17249
17277
|
const resolveLocalMachineId = () => {
|
|
17250
17278
|
localMachineIdProbe ??= (async () => {
|
|
17251
17279
|
try {
|
|
17252
|
-
const { detectMachineInfo } = await import("./machineInfo-
|
|
17280
|
+
const { detectMachineInfo } = await import("./machineInfo-HNPJHQFU.js");
|
|
17253
17281
|
const machine = await detectMachineInfo({ probeLaunchable: false });
|
|
17254
17282
|
return asOptionalTrimmedString(machine?.machineId);
|
|
17255
17283
|
} catch {
|
|
@@ -17352,7 +17380,7 @@ function createCliLocalRuntimeAdapter(deps) {
|
|
|
17352
17380
|
emitRunIsolationNotice(fact, { runId });
|
|
17353
17381
|
try {
|
|
17354
17382
|
const { writeFileSync: writeFileSync4, mkdirSync: mkdirSync5 } = await import("node:fs");
|
|
17355
|
-
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-
|
|
17383
|
+
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-U2MV74WR.js");
|
|
17356
17384
|
recordLocalRunExecutionIsolation({
|
|
17357
17385
|
runId,
|
|
17358
17386
|
runsDir: resolveRunsDir2(deps.env),
|
|
@@ -17377,7 +17405,7 @@ function createCliLocalRuntimeAdapter(deps) {
|
|
|
17377
17405
|
dockerWorkloadReleased = true;
|
|
17378
17406
|
dockerWorkloadLoad = null;
|
|
17379
17407
|
if (loaded) {
|
|
17380
|
-
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-
|
|
17408
|
+
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-U2MV74WR.js");
|
|
17381
17409
|
const exportRunDiff = deps.exportDockerRunDiffArtifact ?? exportDockerRunDiffArtifact;
|
|
17382
17410
|
const warn = (message) => process.stderr.write(`[nolo] ${message}
|
|
17383
17411
|
`);
|
|
@@ -17498,6 +17526,22 @@ function createCliLocalRuntimeAdapter(deps) {
|
|
|
17498
17526
|
resolveDialogStore: () => getOrCreateSharedStore(deps),
|
|
17499
17527
|
resolveAgentCredentialGroup,
|
|
17500
17528
|
resolveAgentDisplayName,
|
|
17529
|
+
resolveAgentExists: async (agentRef) => {
|
|
17530
|
+
const stored = await readAgentFromStore({
|
|
17531
|
+
agentRef,
|
|
17532
|
+
store: await getOrCreateSharedStore(deps),
|
|
17533
|
+
userId
|
|
17534
|
+
});
|
|
17535
|
+
const record = stored ?? resolveBuiltinLocalCliAgentConfig(agentRef, userId);
|
|
17536
|
+
const rec = record;
|
|
17537
|
+
const raw = rec?.rawRecord && typeof rec.rawRecord === "object" ? rec.rawRecord : void 0;
|
|
17538
|
+
const deleted = Boolean(
|
|
17539
|
+
rec?.deletedAt || rec?.deleted || rec?.isDeleted || raw?.deletedAt || raw?.deleted || raw?.isDeleted
|
|
17540
|
+
);
|
|
17541
|
+
if (!rec || deleted) return { exists: false };
|
|
17542
|
+
const name = typeof rec.name === "string" && rec.name.trim() ? rec.name.trim() : void 0;
|
|
17543
|
+
return { exists: true, ...name ? { name } : {} };
|
|
17544
|
+
},
|
|
17501
17545
|
// α:spawn 前从 agent 配置回读真实 name(resolveAgentRunName 的读取来源)。
|
|
17502
17546
|
// 记录已删除 / 读不到 → undefined,由 resolveAgentRunName 降级为短标识。
|
|
17503
17547
|
resolveAgentName: async (agentRef) => {
|
|
@@ -17529,7 +17573,7 @@ function createCliLocalRuntimeAdapter(deps) {
|
|
|
17529
17573
|
const binding = await resolveChildApprovalBinding({
|
|
17530
17574
|
readAgentConfig: async (key) => readAgentFromStore({ agentRef: key, store: await getOrCreateSharedStore(deps), userId }),
|
|
17531
17575
|
resolveDeviceId: async () => {
|
|
17532
|
-
const { detectMachineInfo } = await import("./machineInfo-
|
|
17576
|
+
const { detectMachineInfo } = await import("./machineInfo-HNPJHQFU.js");
|
|
17533
17577
|
return (await detectMachineInfo({ probeLaunchable: false }))?.machineId;
|
|
17534
17578
|
},
|
|
17535
17579
|
workspaceRoot,
|
|
@@ -17545,7 +17589,7 @@ function createCliLocalRuntimeAdapter(deps) {
|
|
|
17545
17589
|
userId
|
|
17546
17590
|
}),
|
|
17547
17591
|
resolveDeviceId: async () => {
|
|
17548
|
-
const { detectMachineInfo } = await import("./machineInfo-
|
|
17592
|
+
const { detectMachineInfo } = await import("./machineInfo-HNPJHQFU.js");
|
|
17549
17593
|
const machine = await detectMachineInfo({ probeLaunchable: false });
|
|
17550
17594
|
return machine?.machineId;
|
|
17551
17595
|
},
|
|
@@ -17931,7 +17975,7 @@ function createCliLocalRuntimeAdapter(deps) {
|
|
|
17931
17975
|
{
|
|
17932
17976
|
const machine = await (async () => {
|
|
17933
17977
|
try {
|
|
17934
|
-
const { detectMachineInfo } = await import("./machineInfo-
|
|
17978
|
+
const { detectMachineInfo } = await import("./machineInfo-HNPJHQFU.js");
|
|
17935
17979
|
return await detectMachineInfo({ probeLaunchable: false });
|
|
17936
17980
|
} catch {
|
|
17937
17981
|
return null;
|