nolo-cli 0.261.0-alpha.2 → 0.262.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-KWURYHY6.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-2U5Q7SNW.js} +135 -131
- package/{agentEmailCommands-FHENHUBF.js → agentEmailCommands-4AWNMWBA.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-EISFUXWT.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-HDLFE4ZJ.js} +127 -126
- package/{agentRun-QVFG3CI4.js → agentRun-EXDLR6OV.js} +137 -136
- package/{agentRunCommand-YV4V5HSL.js → agentRunCommand-5KXVUONI.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-ATJWWHSU.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-LUTSMSIL.js → chunk-23X7C23G.js} +7 -7
- 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-ULPU4C43.js → chunk-36RT7KMI.js} +24 -24
- 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-NJCTPWJU.js → chunk-4X6FTGMU.js} +6 -6
- package/{chunk-2FGFY72B.js → chunk-4ZM3UL4E.js} +14 -14
- package/chunk-526GLZJE.js +275 -0
- package/{chunk-TJXO66M2.js → chunk-5MKPNTJP.js} +5 -5
- package/{chunk-L43DGEPZ.js → chunk-5YI447UL.js} +1 -1
- package/{chunk-U5PSCTMR.js → chunk-6NYQHXMV.js} +13 -13
- package/chunk-6R4IY46J.js +14 -0
- package/{chunk-A4O76A6V.js → chunk-6VQIFSWL.js} +11 -11
- package/{chunk-MMXHIHJZ.js → chunk-7K4J76JQ.js} +20 -20
- package/{chunk-NLS7F5DW.js → chunk-7T54GD3I.js} +22 -22
- package/{chunk-SU4NCTW4.js → chunk-B767MA64.js} +1 -1
- package/{chunk-RNLKWUVY.js → chunk-BAZCS5XG.js} +4 -4
- package/{chunk-NTBTVKKB.js → chunk-BWJLEN6X.js} +7 -7
- package/{chunk-UB7NV7NN.js → chunk-C36L6ZID.js} +1 -1
- 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-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-ERCSHBUD.js → chunk-G2JNJRTO.js} +95 -95
- package/{chunk-CL33RFD7.js → chunk-GH34JXNV.js} +1 -1
- package/{chunk-WY6DMHMG.js → chunk-GWB6AGME.js} +1 -1
- package/{chunk-KALCFXQO.js → chunk-HCXCKCNT.js} +200 -151
- package/{chunk-SWJRX4M5.js → chunk-HI5RS2O4.js} +328 -9
- package/{chunk-J22PFCQN.js → chunk-HRWRIPTB.js} +7 -7
- package/{chunk-VZDSNDUD.js → chunk-HT6MY27X.js} +35 -35
- 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-VC3MAT33.js → chunk-J6Y6ZDS3.js} +195 -151
- 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-Z7EP5HDL.js → chunk-KYHNSSL2.js} +1 -1
- package/chunk-KZO2MTVM.js +140 -0
- package/{chunk-FP46RAJQ.js → chunk-LCCDDHAO.js} +3 -3
- 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-JPYOHIHX.js → chunk-NFE75Q5M.js} +18 -18
- package/{chunk-M7VNNPVX.js → chunk-NGGXRK2P.js} +117 -121
- package/{chunk-D3ONA3FP.js → chunk-NH4PUEWK.js} +2 -2
- package/{chunk-OSZNERNW.js → chunk-NICEA4IW.js} +11 -11
- package/{chunk-SRVLHMES.js → chunk-NLADA5ZM.js} +32 -32
- package/{chunk-IWWJSSST.js → chunk-NTUNHTJV.js} +4 -4
- package/{chunk-XREMPMNK.js → chunk-OKUSDVRS.js} +3 -3
- package/{chunk-63G7JWEA.js → chunk-OQH3TAB7.js} +6 -6
- 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-QZYQ3Y3G.js → chunk-PKDFU6MY.js} +1 -1
- package/{chunk-EQOWWSNQ.js → chunk-PRVXRSDG.js} +13 -13
- package/chunk-PSJJBBWV.js +42 -0
- package/{chunk-3B7OTHDW.js → chunk-Q6FKWH66.js} +14 -14
- package/{chunk-6BBXJGIQ.js → chunk-QUF3LDVD.js} +36 -36
- 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-UJL23HBL.js → chunk-RQKCLVCB.js} +24 -24
- 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-GEC4CHS2.js → chunk-TXLXASSY.js} +5 -5
- package/{chunk-UEZL3RBG.js → chunk-UAO54ORL.js} +37 -36
- 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-P4I55ASV.js → chunk-VLAPKV76.js} +12 -12
- 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-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-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/{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-I2WAEYSQ.js} +131 -131
- package/{contentThunks-G3HEIRXC.js → contentThunks-W4OUEDRF.js} +48 -47
- package/{cooldownCommands-FPAFS7XG.js → cooldownCommands-ZFDAL4MR.js} +1 -1
- package/{createAgentAutomationAction-DSBL3X3A.js → createAgentAutomationAction-VQBQDCAD.js} +50 -49
- package/{createDialogAction-OHFUHC53.js → createDialogAction-YSZU5IE4.js} +49 -48
- package/{createPageAction-E6JZSZLU.js → createPageAction-HLT7DUBR.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-ZFWKDNAP.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-EOZLTLFB.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-G5NLVWCF.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-6U3CWHQZ.js} +95 -93
- package/{hostCredentialCreate-FPUZ7RMI.js → hostCredentialCreate-7Z7JIE57.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-P56DPCU7.js} +32 -31
- package/{localAutomationRuntime-MU5FGJ3V.js → localAutomationRuntime-KPMMJZAU.js} +30 -29
- package/{localDialogRead-W2EVXISA.js → localDialogRead-GWGWSL5K.js} +2 -2
- package/{localRuntimeAdapter-YBXQBV4G.js → localRuntimeAdapter-724CCDG5.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-KLZ73HOC.js} +132 -131
- package/{machineInfo-BJIU3WQ5.js → machineInfo-HNPJHQFU.js} +5 -3
- package/{machineWsRunDispatch-VBKV3FFE.js → machineWsRunDispatch-WFSV66WP.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-NSYL7QZA.js} +20 -20
- 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-63LQ5IOO.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-ECCRLGE5.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-4644DF32.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-EGRXP3Q6.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-X25IU3XJ.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-5WP7TUDJ.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
package/chunk-IVK2KT3H.js
DELETED
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
// node_modules/async-mutex/index.mjs
|
|
2
|
-
var E_TIMEOUT = new Error("timeout while waiting for mutex to become available");
|
|
3
|
-
var E_ALREADY_LOCKED = new Error("mutex already locked");
|
|
4
|
-
var E_CANCELED = new Error("request for lock canceled");
|
|
5
|
-
var __awaiter$2 = function(thisArg, _arguments, P, generator) {
|
|
6
|
-
function adopt(value) {
|
|
7
|
-
return value instanceof P ? value : new P(function(resolve) {
|
|
8
|
-
resolve(value);
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
return new (P || (P = Promise))(function(resolve, reject) {
|
|
12
|
-
function fulfilled(value) {
|
|
13
|
-
try {
|
|
14
|
-
step(generator.next(value));
|
|
15
|
-
} catch (e) {
|
|
16
|
-
reject(e);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
function rejected(value) {
|
|
20
|
-
try {
|
|
21
|
-
step(generator["throw"](value));
|
|
22
|
-
} catch (e) {
|
|
23
|
-
reject(e);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
function step(result) {
|
|
27
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
28
|
-
}
|
|
29
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
30
|
-
});
|
|
31
|
-
};
|
|
32
|
-
var Semaphore = class {
|
|
33
|
-
constructor(_value, _cancelError = E_CANCELED) {
|
|
34
|
-
this._value = _value;
|
|
35
|
-
this._cancelError = _cancelError;
|
|
36
|
-
this._queue = [];
|
|
37
|
-
this._weightedWaiters = [];
|
|
38
|
-
}
|
|
39
|
-
acquire(weight = 1, priority = 0) {
|
|
40
|
-
if (weight <= 0)
|
|
41
|
-
throw new Error(`invalid weight ${weight}: must be positive`);
|
|
42
|
-
return new Promise((resolve, reject) => {
|
|
43
|
-
const task = { resolve, reject, weight, priority };
|
|
44
|
-
const i = findIndexFromEnd(this._queue, (other) => priority <= other.priority);
|
|
45
|
-
if (i === -1 && weight <= this._value) {
|
|
46
|
-
this._dispatchItem(task);
|
|
47
|
-
} else {
|
|
48
|
-
this._queue.splice(i + 1, 0, task);
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
runExclusive(callback_1) {
|
|
53
|
-
return __awaiter$2(this, arguments, void 0, function* (callback, weight = 1, priority = 0) {
|
|
54
|
-
const [value, release] = yield this.acquire(weight, priority);
|
|
55
|
-
try {
|
|
56
|
-
return yield callback(value);
|
|
57
|
-
} finally {
|
|
58
|
-
release();
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
waitForUnlock(weight = 1, priority = 0) {
|
|
63
|
-
if (weight <= 0)
|
|
64
|
-
throw new Error(`invalid weight ${weight}: must be positive`);
|
|
65
|
-
if (this._couldLockImmediately(weight, priority)) {
|
|
66
|
-
return Promise.resolve();
|
|
67
|
-
} else {
|
|
68
|
-
return new Promise((resolve) => {
|
|
69
|
-
if (!this._weightedWaiters[weight - 1])
|
|
70
|
-
this._weightedWaiters[weight - 1] = [];
|
|
71
|
-
insertSorted(this._weightedWaiters[weight - 1], { resolve, priority });
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
isLocked() {
|
|
76
|
-
return this._value <= 0;
|
|
77
|
-
}
|
|
78
|
-
getValue() {
|
|
79
|
-
return this._value;
|
|
80
|
-
}
|
|
81
|
-
setValue(value) {
|
|
82
|
-
this._value = value;
|
|
83
|
-
this._dispatchQueue();
|
|
84
|
-
}
|
|
85
|
-
release(weight = 1) {
|
|
86
|
-
if (weight <= 0)
|
|
87
|
-
throw new Error(`invalid weight ${weight}: must be positive`);
|
|
88
|
-
this._value += weight;
|
|
89
|
-
this._dispatchQueue();
|
|
90
|
-
}
|
|
91
|
-
cancel() {
|
|
92
|
-
this._queue.forEach((entry) => entry.reject(this._cancelError));
|
|
93
|
-
this._queue = [];
|
|
94
|
-
}
|
|
95
|
-
_dispatchQueue() {
|
|
96
|
-
this._drainUnlockWaiters();
|
|
97
|
-
while (this._queue.length > 0 && this._queue[0].weight <= this._value) {
|
|
98
|
-
this._dispatchItem(this._queue.shift());
|
|
99
|
-
this._drainUnlockWaiters();
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
_dispatchItem(item) {
|
|
103
|
-
const previousValue = this._value;
|
|
104
|
-
this._value -= item.weight;
|
|
105
|
-
item.resolve([previousValue, this._newReleaser(item.weight)]);
|
|
106
|
-
}
|
|
107
|
-
_newReleaser(weight) {
|
|
108
|
-
let called = false;
|
|
109
|
-
return () => {
|
|
110
|
-
if (called)
|
|
111
|
-
return;
|
|
112
|
-
called = true;
|
|
113
|
-
this.release(weight);
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
_drainUnlockWaiters() {
|
|
117
|
-
if (this._queue.length === 0) {
|
|
118
|
-
for (let weight = this._value; weight > 0; weight--) {
|
|
119
|
-
const waiters = this._weightedWaiters[weight - 1];
|
|
120
|
-
if (!waiters)
|
|
121
|
-
continue;
|
|
122
|
-
waiters.forEach((waiter) => waiter.resolve());
|
|
123
|
-
this._weightedWaiters[weight - 1] = [];
|
|
124
|
-
}
|
|
125
|
-
} else {
|
|
126
|
-
const queuedPriority = this._queue[0].priority;
|
|
127
|
-
for (let weight = this._value; weight > 0; weight--) {
|
|
128
|
-
const waiters = this._weightedWaiters[weight - 1];
|
|
129
|
-
if (!waiters)
|
|
130
|
-
continue;
|
|
131
|
-
const i = waiters.findIndex((waiter) => waiter.priority <= queuedPriority);
|
|
132
|
-
(i === -1 ? waiters : waiters.splice(0, i)).forEach((waiter) => waiter.resolve());
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
_couldLockImmediately(weight, priority) {
|
|
137
|
-
return (this._queue.length === 0 || this._queue[0].priority < priority) && weight <= this._value;
|
|
138
|
-
}
|
|
139
|
-
};
|
|
140
|
-
function insertSorted(a, v) {
|
|
141
|
-
const i = findIndexFromEnd(a, (other) => v.priority <= other.priority);
|
|
142
|
-
a.splice(i + 1, 0, v);
|
|
143
|
-
}
|
|
144
|
-
function findIndexFromEnd(a, predicate) {
|
|
145
|
-
for (let i = a.length - 1; i >= 0; i--) {
|
|
146
|
-
if (predicate(a[i])) {
|
|
147
|
-
return i;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
return -1;
|
|
151
|
-
}
|
|
152
|
-
var __awaiter$1 = function(thisArg, _arguments, P, generator) {
|
|
153
|
-
function adopt(value) {
|
|
154
|
-
return value instanceof P ? value : new P(function(resolve) {
|
|
155
|
-
resolve(value);
|
|
156
|
-
});
|
|
157
|
-
}
|
|
158
|
-
return new (P || (P = Promise))(function(resolve, reject) {
|
|
159
|
-
function fulfilled(value) {
|
|
160
|
-
try {
|
|
161
|
-
step(generator.next(value));
|
|
162
|
-
} catch (e) {
|
|
163
|
-
reject(e);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
function rejected(value) {
|
|
167
|
-
try {
|
|
168
|
-
step(generator["throw"](value));
|
|
169
|
-
} catch (e) {
|
|
170
|
-
reject(e);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
function step(result) {
|
|
174
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
175
|
-
}
|
|
176
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
177
|
-
});
|
|
178
|
-
};
|
|
179
|
-
var Mutex = class {
|
|
180
|
-
constructor(cancelError) {
|
|
181
|
-
this._semaphore = new Semaphore(1, cancelError);
|
|
182
|
-
}
|
|
183
|
-
acquire() {
|
|
184
|
-
return __awaiter$1(this, arguments, void 0, function* (priority = 0) {
|
|
185
|
-
const [, releaser] = yield this._semaphore.acquire(1, priority);
|
|
186
|
-
return releaser;
|
|
187
|
-
});
|
|
188
|
-
}
|
|
189
|
-
runExclusive(callback, priority = 0) {
|
|
190
|
-
return this._semaphore.runExclusive(() => callback(), 1, priority);
|
|
191
|
-
}
|
|
192
|
-
isLocked() {
|
|
193
|
-
return this._semaphore.isLocked();
|
|
194
|
-
}
|
|
195
|
-
waitForUnlock(priority = 0) {
|
|
196
|
-
return this._semaphore.waitForUnlock(1, priority);
|
|
197
|
-
}
|
|
198
|
-
release() {
|
|
199
|
-
if (this._semaphore.isLocked())
|
|
200
|
-
this._semaphore.release();
|
|
201
|
-
}
|
|
202
|
-
cancel() {
|
|
203
|
-
return this._semaphore.cancel();
|
|
204
|
-
}
|
|
205
|
-
};
|
|
206
|
-
|
|
207
|
-
export {
|
|
208
|
-
Mutex
|
|
209
|
-
};
|
package/chunk-KGWE224L.js
DELETED
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
// packages/database-engine/authorityStoreTypes.ts
|
|
2
|
-
var MAX_AUTHORITY_BATCH_GET_KEYS = 512;
|
|
3
|
-
var authorityBacking = Symbol("authorityBacking");
|
|
4
|
-
|
|
5
|
-
// packages/database-engine/batchedIterator.ts
|
|
6
|
-
async function readIteratorWindow(iterator, options) {
|
|
7
|
-
const resolveBatchSize = () => {
|
|
8
|
-
const raw = typeof options.batchSize === "function" ? options.batchSize() : options.batchSize ?? 64;
|
|
9
|
-
return Math.max(1, Math.min(raw, 512));
|
|
10
|
-
};
|
|
11
|
-
const maxEntries = options.maxEntries ?? Number.POSITIVE_INFINITY;
|
|
12
|
-
let emitted = 0;
|
|
13
|
-
try {
|
|
14
|
-
if (maxEntries <= 0) return;
|
|
15
|
-
if (typeof iterator.nextv === "function") {
|
|
16
|
-
while (emitted < maxEntries) {
|
|
17
|
-
const batchSize = resolveBatchSize();
|
|
18
|
-
const remaining = Number.isFinite(maxEntries) ? Math.min(batchSize, maxEntries - emitted) : batchSize;
|
|
19
|
-
if (remaining <= 0) break;
|
|
20
|
-
const chunk = await iterator.nextv(remaining);
|
|
21
|
-
if (!chunk || chunk.length === 0) break;
|
|
22
|
-
emitted += chunk.length;
|
|
23
|
-
const keepGoing = await options.onBatch(chunk);
|
|
24
|
-
if (keepGoing === false) break;
|
|
25
|
-
}
|
|
26
|
-
return;
|
|
27
|
-
}
|
|
28
|
-
let buffer = [];
|
|
29
|
-
for await (const entry of iterator) {
|
|
30
|
-
buffer.push(entry);
|
|
31
|
-
emitted += 1;
|
|
32
|
-
const batchSize = resolveBatchSize();
|
|
33
|
-
if (buffer.length >= batchSize || emitted >= maxEntries) {
|
|
34
|
-
const chunk = buffer;
|
|
35
|
-
buffer = [];
|
|
36
|
-
const keepGoing = await options.onBatch(chunk);
|
|
37
|
-
if (keepGoing === false || emitted >= maxEntries) break;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
if (buffer.length > 0 && emitted <= maxEntries) {
|
|
41
|
-
await options.onBatch(buffer);
|
|
42
|
-
}
|
|
43
|
-
} finally {
|
|
44
|
-
await iterator.close?.();
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
async function batchGetViaSingleGet(get, keys) {
|
|
48
|
-
if (keys.length === 0) return [];
|
|
49
|
-
const out = [];
|
|
50
|
-
for (let offset = 0; offset < keys.length; offset += MAX_AUTHORITY_BATCH_GET_KEYS) {
|
|
51
|
-
const slice = keys.slice(offset, offset + MAX_AUTHORITY_BATCH_GET_KEYS);
|
|
52
|
-
const uniqueKeys = [];
|
|
53
|
-
const keyToIdx = /* @__PURE__ */ new Map();
|
|
54
|
-
for (const k of slice) {
|
|
55
|
-
if (!keyToIdx.has(k)) {
|
|
56
|
-
keyToIdx.set(k, uniqueKeys.length);
|
|
57
|
-
uniqueKeys.push(k);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
const uniqueResults = await Promise.all(
|
|
61
|
-
uniqueKeys.map(async (key) => {
|
|
62
|
-
try {
|
|
63
|
-
const value = await get(key);
|
|
64
|
-
if (value === void 0) {
|
|
65
|
-
return { ok: false, error: { code: "NOT_FOUND", message: "Key not found" } };
|
|
66
|
-
}
|
|
67
|
-
return { ok: true, value };
|
|
68
|
-
} catch (error) {
|
|
69
|
-
const isNotFound = error?.notFound === true || error?.code === "LEVEL_NOT_FOUND" || error?.code === "NOT_FOUND";
|
|
70
|
-
return {
|
|
71
|
-
ok: false,
|
|
72
|
-
error: {
|
|
73
|
-
code: isNotFound ? "NOT_FOUND" : typeof error?.code === "string" ? error.code : "STORAGE_ERROR",
|
|
74
|
-
message: error instanceof Error ? error.message : String(error)
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
})
|
|
79
|
-
);
|
|
80
|
-
for (const k of slice) {
|
|
81
|
-
out.push(uniqueResults[keyToIdx.get(k)]);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return out;
|
|
85
|
-
}
|
|
86
|
-
function createBatchedStoreIterator(store, options) {
|
|
87
|
-
return store.iterator(options);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
// packages/cli/levelLazyShim.mjs
|
|
91
|
-
import { createRequire } from "node:module";
|
|
92
|
-
var _require = createRequire(import.meta.url);
|
|
93
|
-
var _RealLevel;
|
|
94
|
-
function ensureLevel() {
|
|
95
|
-
if (!_RealLevel) {
|
|
96
|
-
_RealLevel = _require("level").Level;
|
|
97
|
-
}
|
|
98
|
-
return _RealLevel;
|
|
99
|
-
}
|
|
100
|
-
var Level = class {
|
|
101
|
-
/** `Level` 就是 classic-level 的 ClassicLevel,静态 repair 同样要懒加载。 */
|
|
102
|
-
static repair(location) {
|
|
103
|
-
return ensureLevel().repair(location);
|
|
104
|
-
}
|
|
105
|
-
constructor(...args) {
|
|
106
|
-
const RealLevel = ensureLevel();
|
|
107
|
-
return new RealLevel(...args);
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
// packages/database-engine/levelAuthorityStore.ts
|
|
112
|
-
var safeJsonEncoding = {
|
|
113
|
-
name: "safe-json",
|
|
114
|
-
format: "utf8",
|
|
115
|
-
encode: (data) => JSON.stringify(data),
|
|
116
|
-
decode: (data) => {
|
|
117
|
-
try {
|
|
118
|
-
return JSON.parse(data);
|
|
119
|
-
} catch {
|
|
120
|
-
console.warn("[LevelDB] Corrupted value:", data?.substring?.(0, 60));
|
|
121
|
-
return null;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
function createLevelAuthorityStore(source, openOptions) {
|
|
126
|
-
const levelDb = typeof source === "string" ? new Level(source, {
|
|
127
|
-
valueEncoding: safeJsonEncoding,
|
|
128
|
-
...openOptions?.cacheSize !== void 0 ? { cacheSize: openOptions.cacheSize } : {},
|
|
129
|
-
...openOptions?.writeBufferSize !== void 0 ? { writeBufferSize: openOptions.writeBufferSize } : {},
|
|
130
|
-
...openOptions?.blockSize !== void 0 ? { blockSize: openOptions.blockSize } : {},
|
|
131
|
-
...openOptions?.compression !== void 0 ? { compression: openOptions.compression } : {},
|
|
132
|
-
...openOptions?.maxOpenFiles !== void 0 ? { maxOpenFiles: openOptions.maxOpenFiles } : {}
|
|
133
|
-
}) : source;
|
|
134
|
-
const writeBatchOps = async (ops) => {
|
|
135
|
-
const result = levelDb.batch(ops);
|
|
136
|
-
if (result && typeof result.then === "function") {
|
|
137
|
-
await result;
|
|
138
|
-
return;
|
|
139
|
-
}
|
|
140
|
-
if (result && typeof result.write === "function") {
|
|
141
|
-
const writer = result;
|
|
142
|
-
for (const op of ops) {
|
|
143
|
-
if (op.type === "put") {
|
|
144
|
-
writer.put(op.key, op.value);
|
|
145
|
-
} else {
|
|
146
|
-
writer.del(op.key);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
await writer.write();
|
|
150
|
-
return;
|
|
151
|
-
}
|
|
152
|
-
throw new Error("Level backing does not support batch writes");
|
|
153
|
-
};
|
|
154
|
-
const batchGet = async (keys) => {
|
|
155
|
-
if (!Array.isArray(keys)) {
|
|
156
|
-
throw new Error("batchGet keys must be an array");
|
|
157
|
-
}
|
|
158
|
-
if (keys.length === 0) return [];
|
|
159
|
-
if (keys.length > MAX_AUTHORITY_BATCH_GET_KEYS) {
|
|
160
|
-
throw new Error(`batchGet exceeds maximum batch size (${MAX_AUTHORITY_BATCH_GET_KEYS})`);
|
|
161
|
-
}
|
|
162
|
-
const uniqueKeys = [];
|
|
163
|
-
const keyToIdx = /* @__PURE__ */ new Map();
|
|
164
|
-
for (const key of keys) {
|
|
165
|
-
if (typeof key !== "string") {
|
|
166
|
-
throw new Error("batchGet keys must be strings");
|
|
167
|
-
}
|
|
168
|
-
if (!keyToIdx.has(key)) {
|
|
169
|
-
keyToIdx.set(key, uniqueKeys.length);
|
|
170
|
-
uniqueKeys.push(key);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
if (typeof levelDb.getMany === "function") {
|
|
174
|
-
const rawValues = await levelDb.getMany(uniqueKeys);
|
|
175
|
-
const uniqueItems = rawValues.map(
|
|
176
|
-
(value) => value === void 0 ? { ok: false, error: { code: "NOT_FOUND", message: "Key not found" } } : { ok: true, value }
|
|
177
|
-
);
|
|
178
|
-
return keys.map((k) => uniqueItems[keyToIdx.get(k)]);
|
|
179
|
-
}
|
|
180
|
-
return batchGetViaSingleGet((key) => levelDb.get(key), keys);
|
|
181
|
-
};
|
|
182
|
-
return {
|
|
183
|
-
[authorityBacking]: levelDb,
|
|
184
|
-
get location() {
|
|
185
|
-
return levelDb.location;
|
|
186
|
-
},
|
|
187
|
-
get status() {
|
|
188
|
-
return levelDb.status;
|
|
189
|
-
},
|
|
190
|
-
async open() {
|
|
191
|
-
await levelDb.open();
|
|
192
|
-
},
|
|
193
|
-
async close() {
|
|
194
|
-
await levelDb.close();
|
|
195
|
-
},
|
|
196
|
-
async get(key) {
|
|
197
|
-
return levelDb.get(key);
|
|
198
|
-
},
|
|
199
|
-
batchGet,
|
|
200
|
-
async put(key, value) {
|
|
201
|
-
await levelDb.put(key, value);
|
|
202
|
-
},
|
|
203
|
-
async del(key) {
|
|
204
|
-
await levelDb.del(key);
|
|
205
|
-
},
|
|
206
|
-
async batchWrite(ops) {
|
|
207
|
-
await writeBatchOps(ops);
|
|
208
|
-
},
|
|
209
|
-
createBatch() {
|
|
210
|
-
const batch = levelDb.batch();
|
|
211
|
-
return {
|
|
212
|
-
put(key, value) {
|
|
213
|
-
batch.put(key, value);
|
|
214
|
-
},
|
|
215
|
-
del(key) {
|
|
216
|
-
batch.del(key);
|
|
217
|
-
},
|
|
218
|
-
async write() {
|
|
219
|
-
await batch.write();
|
|
220
|
-
}
|
|
221
|
-
};
|
|
222
|
-
},
|
|
223
|
-
iterator(options = {}) {
|
|
224
|
-
return levelDb.iterator(options);
|
|
225
|
-
}
|
|
226
|
-
};
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
// packages/database-engine/compareUtf8Keys.ts
|
|
230
|
-
import { Buffer } from "node:buffer";
|
|
231
|
-
function compareUtf8Keys(a, b) {
|
|
232
|
-
return Buffer.compare(
|
|
233
|
-
typeof a === "string" ? Buffer.from(a, "utf8") : a,
|
|
234
|
-
typeof b === "string" ? Buffer.from(b, "utf8") : b
|
|
235
|
-
);
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
export {
|
|
239
|
-
MAX_AUTHORITY_BATCH_GET_KEYS,
|
|
240
|
-
authorityBacking,
|
|
241
|
-
readIteratorWindow,
|
|
242
|
-
createBatchedStoreIterator,
|
|
243
|
-
compareUtf8Keys,
|
|
244
|
-
Level,
|
|
245
|
-
createLevelAuthorityStore
|
|
246
|
-
};
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
asOptionalFiniteNumber
|
|
15
15
|
} from "./chunk-WWC7I6TA.js";
|
|
16
|
-
import {
|
|
17
|
-
asOptionalTrimmedString
|
|
18
|
-
} from "./chunk-G3SUCT4W.js";
|
|
19
16
|
import {
|
|
20
17
|
isLoopbackHostname
|
|
21
18
|
} from "./chunk-4SN6J65J.js";
|
|
19
|
+
import {
|
|
20
|
+
asOptionalTrimmedString
|
|
21
|
+
} from "./chunk-G3SUCT4W.js";
|
|
22
22
|
|
|
23
23
|
// packages/core/fetchWithTransientRetry.ts
|
|
24
24
|
var TRANSIENT_FETCH_MAX_ATTEMPTS = 3;
|
|
@@ -4,12 +4,6 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
getApproxPricePerImage
|
|
6
6
|
} from "./chunk-4JH2UMJR.js";
|
|
7
|
-
import {
|
|
8
|
-
asOptionalFiniteNumber
|
|
9
|
-
} from "./chunk-WWC7I6TA.js";
|
|
10
|
-
import {
|
|
11
|
-
asOptionalPositiveFiniteNumber
|
|
12
|
-
} from "./chunk-U6VC4MU4.js";
|
|
13
7
|
import {
|
|
14
8
|
getModelConfig
|
|
15
9
|
} from "./chunk-RI7SXDJW.js";
|
|
@@ -18,6 +12,12 @@ import {
|
|
|
18
12
|
isPlatformManagedProvider,
|
|
19
13
|
resolvePlatformEffectiveModel
|
|
20
14
|
} from "./chunk-G22P2J7O.js";
|
|
15
|
+
import {
|
|
16
|
+
asOptionalFiniteNumber
|
|
17
|
+
} from "./chunk-WWC7I6TA.js";
|
|
18
|
+
import {
|
|
19
|
+
asOptionalPositiveFiniteNumber
|
|
20
|
+
} from "./chunk-U6VC4MU4.js";
|
|
21
21
|
|
|
22
22
|
// packages/ai/llm/getPricing.ts
|
|
23
23
|
var MAX_OUTPUT_TOKENS = 8192;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isRecord
|
|
3
|
+
} from "./chunk-KUG52IAP.js";
|
|
1
4
|
import {
|
|
2
5
|
asNonEmptyStringArray,
|
|
3
6
|
asTrimmedNonEmptyStringArray
|
|
@@ -8,9 +11,6 @@ import {
|
|
|
8
11
|
import {
|
|
9
12
|
asOptionalPositiveFiniteNumber
|
|
10
13
|
} from "./chunk-U6VC4MU4.js";
|
|
11
|
-
import {
|
|
12
|
-
isRecord
|
|
13
|
-
} from "./chunk-KUG52IAP.js";
|
|
14
14
|
import {
|
|
15
15
|
asOptionalTrimmedString
|
|
16
16
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
canonicalizeToolName
|
|
3
|
-
} from "./chunk-HJTI7RZV.js";
|
|
4
1
|
import {
|
|
5
2
|
isOwnedAgentKey
|
|
6
3
|
} from "./chunk-M2EJHDJP.js";
|
|
7
4
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./chunk-
|
|
5
|
+
canonicalizeToolName
|
|
6
|
+
} from "./chunk-HJTI7RZV.js";
|
|
10
7
|
import {
|
|
11
8
|
isRecord
|
|
12
9
|
} from "./chunk-KUG52IAP.js";
|
|
10
|
+
import {
|
|
11
|
+
asTrimmedNonEmptyStringArray
|
|
12
|
+
} from "./chunk-I42VC5KR.js";
|
|
13
13
|
|
|
14
14
|
// packages/agent-runtime/agentRunIsolation.ts
|
|
15
15
|
var UNCLASSIFIED_MCP_CALL_TOOL = "callMcpTool";
|
|
@@ -8,18 +8,9 @@ import {
|
|
|
8
8
|
resolvePlatformProxyChatGatewayEndpoint,
|
|
9
9
|
resolvePlatformResponsesEndpoint
|
|
10
10
|
} from "./chunk-BVYHE6QD.js";
|
|
11
|
-
import {
|
|
12
|
-
asTrimmedString
|
|
13
|
-
} from "./chunk-3EUW3WEO.js";
|
|
14
11
|
import {
|
|
15
12
|
CLI_PROVIDER_VALUES
|
|
16
13
|
} from "./chunk-JRTNUU5Z.js";
|
|
17
|
-
import {
|
|
18
|
-
asOptionalTrimmedString
|
|
19
|
-
} from "./chunk-G3SUCT4W.js";
|
|
20
|
-
import {
|
|
21
|
-
normalizeServerOrigin
|
|
22
|
-
} from "./chunk-CF7PE763.js";
|
|
23
14
|
import {
|
|
24
15
|
CLIENT_VERSION_TOO_OLD_CODE,
|
|
25
16
|
buildClientVersionGateErrorDetail,
|
|
@@ -28,6 +19,15 @@ import {
|
|
|
28
19
|
import {
|
|
29
20
|
asTrimmedLowercaseString
|
|
30
21
|
} from "./chunk-QSJ3HFEF.js";
|
|
22
|
+
import {
|
|
23
|
+
asTrimmedString
|
|
24
|
+
} from "./chunk-3EUW3WEO.js";
|
|
25
|
+
import {
|
|
26
|
+
normalizeServerOrigin
|
|
27
|
+
} from "./chunk-CF7PE763.js";
|
|
28
|
+
import {
|
|
29
|
+
asOptionalTrimmedString
|
|
30
|
+
} from "./chunk-G3SUCT4W.js";
|
|
31
31
|
|
|
32
32
|
// packages/agent-runtime/agentConfigOptions.ts
|
|
33
33
|
function pickAgentRuntimeInferenceOptions(agentConfig) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTombstoneRecord
|
|
3
3
|
} from "./chunk-BV3FLP2L.js";
|
|
4
|
-
import {
|
|
5
|
-
dialogMessageRange
|
|
6
|
-
} from "./chunk-OJKUU3LP.js";
|
|
7
4
|
import {
|
|
8
5
|
isRecord
|
|
9
6
|
} from "./chunk-KUG52IAP.js";
|
|
7
|
+
import {
|
|
8
|
+
dialogMessageRange
|
|
9
|
+
} from "./chunk-OJKUU3LP.js";
|
|
10
10
|
|
|
11
11
|
// packages/chat/messages/fetchMessages.ts
|
|
12
12
|
function isUnboundedMessageLimit(limit) {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isWorkContextState
|
|
3
|
+
} from "./chunk-4INJGWE3.js";
|
|
1
4
|
import {
|
|
2
5
|
recallMemoryVNextLocal
|
|
3
6
|
} from "./chunk-4D4QD7FT.js";
|
|
@@ -5,9 +8,6 @@ import {
|
|
|
5
8
|
DEFAULT_MEMORY_OVERLAY_TOKEN_BUDGET,
|
|
6
9
|
buildMemoryOverlay
|
|
7
10
|
} from "./chunk-PVFYPUIM.js";
|
|
8
|
-
import {
|
|
9
|
-
isWorkContextState
|
|
10
|
-
} from "./chunk-4INJGWE3.js";
|
|
11
11
|
import {
|
|
12
12
|
applyMemoryInterpreterMutation
|
|
13
13
|
} from "./chunk-2ZBPWX7N.js";
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
formatImageSummary,
|
|
3
3
|
readLocalImage
|
|
4
4
|
} from "./chunk-AL3TYDIF.js";
|
|
5
|
-
import {
|
|
6
|
-
toErrorMessage
|
|
7
|
-
} from "./chunk-HNMXYYJR.js";
|
|
8
5
|
import {
|
|
9
6
|
isRecord
|
|
10
7
|
} from "./chunk-KUG52IAP.js";
|
|
8
|
+
import {
|
|
9
|
+
toErrorMessage
|
|
10
|
+
} from "./chunk-HNMXYYJR.js";
|
|
11
11
|
|
|
12
12
|
// packages/desktop-chrome-connector/uploadSecurity.mjs
|
|
13
13
|
import { existsSync, lstatSync, mkdirSync, realpathSync, statSync } from "node:fs";
|
|
@@ -8,25 +8,25 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
MODEL_TIER_GUIDANCE
|
|
10
10
|
} from "./chunk-HEVRQGGH.js";
|
|
11
|
+
import {
|
|
12
|
+
ownedAgentKey,
|
|
13
|
+
publicAgentKey
|
|
14
|
+
} from "./chunk-M2EJHDJP.js";
|
|
15
|
+
import {
|
|
16
|
+
isRecord
|
|
17
|
+
} from "./chunk-KUG52IAP.js";
|
|
11
18
|
import {
|
|
12
19
|
dialogIdFromKey,
|
|
13
20
|
isSupportedDialogId,
|
|
14
21
|
parseDialogPathIdentity,
|
|
15
22
|
splitDialogKeyIdentity
|
|
16
23
|
} from "./chunk-YZMNK53S.js";
|
|
17
|
-
import {
|
|
18
|
-
ownedAgentKey,
|
|
19
|
-
publicAgentKey
|
|
20
|
-
} from "./chunk-M2EJHDJP.js";
|
|
21
24
|
import {
|
|
22
25
|
asNonEmptyStringArray
|
|
23
26
|
} from "./chunk-I42VC5KR.js";
|
|
24
27
|
import {
|
|
25
28
|
asOptionalFiniteNumber
|
|
26
29
|
} from "./chunk-WWC7I6TA.js";
|
|
27
|
-
import {
|
|
28
|
-
isRecord
|
|
29
|
-
} from "./chunk-KUG52IAP.js";
|
|
30
30
|
import {
|
|
31
31
|
asOptionalTrimmedString
|
|
32
32
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -3,9 +3,6 @@ import {
|
|
|
3
3
|
} from "./chunk-7LR2IFUH.js";
|
|
4
4
|
import "./chunk-JRTNUU5Z.js";
|
|
5
5
|
import "./chunk-KUG52IAP.js";
|
|
6
|
-
import "./chunk-FI4DPLR7.js";
|
|
7
|
-
import "./chunk-4SN6J65J.js";
|
|
8
|
-
import "./chunk-CF7PE763.js";
|
|
9
6
|
import {
|
|
10
7
|
ALL_PROVIDER_REGISTRY,
|
|
11
8
|
CUSTOM_API_KEY_TEMPLATES,
|
|
@@ -15,6 +12,9 @@ import {
|
|
|
15
12
|
import "./chunk-MDAYRIP7.js";
|
|
16
13
|
import "./chunk-G22P2J7O.js";
|
|
17
14
|
import "./chunk-QSJ3HFEF.js";
|
|
15
|
+
import "./chunk-FI4DPLR7.js";
|
|
16
|
+
import "./chunk-4SN6J65J.js";
|
|
17
|
+
import "./chunk-CF7PE763.js";
|
|
18
18
|
import "./chunk-U67V476Y.js";
|
|
19
19
|
|
|
20
20
|
// packages/ai/agent/providerPresetApply.ts
|