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
|
@@ -2,24 +2,6 @@ import {
|
|
|
2
2
|
createLegacyServerDb,
|
|
3
3
|
isLevelLockError
|
|
4
4
|
} from "./chunk-LOFRSJX2.js";
|
|
5
|
-
import {
|
|
6
|
-
createDialogTurnAuthority,
|
|
7
|
-
startCliAuthorityBrokerProcess
|
|
8
|
-
} from "./chunk-O77F26YB.js";
|
|
9
|
-
import {
|
|
10
|
-
loadCliAuthorityBrokerTls
|
|
11
|
-
} from "./chunk-3A5NNQCN.js";
|
|
12
|
-
import {
|
|
13
|
-
DIALOG_TURN_DEFAULT_TTL_MS
|
|
14
|
-
} from "./chunk-EUHMI5KG.js";
|
|
15
|
-
import {
|
|
16
|
-
CLI_AUTHORITY_BROKER_PROTOCOL_VERSION,
|
|
17
|
-
createCliAuthorityBrokerClient,
|
|
18
|
-
createCliAuthorityBrokerSocketInvoker,
|
|
19
|
-
createCliAuthorityDialogTurnClient,
|
|
20
|
-
isCliAuthorityBrokerTimeoutError,
|
|
21
|
-
isCliAuthorityBrokerUnavailableError
|
|
22
|
-
} from "./chunk-LPXBBC32.js";
|
|
23
5
|
import {
|
|
24
6
|
resolveCliAuthorityBrokerEndpoint,
|
|
25
7
|
resolveCliAuthorityBrokerHealthPath,
|
|
@@ -28,12 +10,32 @@ import {
|
|
|
28
10
|
import {
|
|
29
11
|
resolveNoloHome
|
|
30
12
|
} from "./chunk-GLKOYSRU.js";
|
|
13
|
+
import {
|
|
14
|
+
createDialogTurnAuthority
|
|
15
|
+
} from "./chunk-526GLZJE.js";
|
|
16
|
+
import {
|
|
17
|
+
DIALOG_TURN_DEFAULT_TTL_MS
|
|
18
|
+
} from "./chunk-EUHMI5KG.js";
|
|
31
19
|
import {
|
|
32
20
|
toErrorMessage
|
|
33
21
|
} from "./chunk-HNMXYYJR.js";
|
|
22
|
+
import {
|
|
23
|
+
startCliAuthorityBrokerProcess
|
|
24
|
+
} from "./chunk-4MEKE5D3.js";
|
|
25
|
+
import {
|
|
26
|
+
loadCliAuthorityBrokerTls
|
|
27
|
+
} from "./chunk-3BQDF4QB.js";
|
|
34
28
|
import {
|
|
35
29
|
getLogger
|
|
36
30
|
} from "./chunk-EYLGAEB4.js";
|
|
31
|
+
import {
|
|
32
|
+
CLI_AUTHORITY_BROKER_PROTOCOL_VERSION,
|
|
33
|
+
createCliAuthorityBrokerClient,
|
|
34
|
+
createCliAuthorityBrokerSocketInvoker,
|
|
35
|
+
createCliAuthorityDialogTurnClient,
|
|
36
|
+
isCliAuthorityBrokerTimeoutError,
|
|
37
|
+
isCliAuthorityBrokerUnavailableError
|
|
38
|
+
} from "./chunk-LPXBBC32.js";
|
|
37
39
|
|
|
38
40
|
// packages/cli/localRuntimeAuthority.ts
|
|
39
41
|
import fs from "node:fs";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
deleteDialog,
|
|
3
|
-
runtime_default,
|
|
4
|
-
toast
|
|
5
|
-
} from "./chunk-M7VNNPVX.js";
|
|
6
1
|
import {
|
|
7
2
|
getAllMemberSpaces,
|
|
8
3
|
getCurrentSpaceId,
|
|
9
4
|
getCurrentSpaceIdRaw,
|
|
10
5
|
updateCurrentSpaceIfMatch
|
|
11
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EHFDVQF5.js";
|
|
12
7
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
deleteDialog,
|
|
9
|
+
runtime_default,
|
|
10
|
+
toast
|
|
11
|
+
} from "./chunk-OV47NSYQ.js";
|
|
15
12
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./chunk-
|
|
13
|
+
isSystemAdmin
|
|
14
|
+
} from "./chunk-IB5AR52X.js";
|
|
15
|
+
import {
|
|
16
|
+
createPlainAsyncThunk
|
|
17
|
+
} from "./chunk-KZO2MTVM.js";
|
|
18
18
|
import {
|
|
19
19
|
UNCATEGORIZED_ID,
|
|
20
20
|
addContentAction,
|
|
@@ -26,11 +26,14 @@ import {
|
|
|
26
26
|
patchIndividualContentRecord,
|
|
27
27
|
readContentRecordForSpaceSync,
|
|
28
28
|
syncContentRecordSpaceId
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-E5JV4DCB.js";
|
|
30
30
|
import {
|
|
31
31
|
createSpaceKey,
|
|
32
32
|
normalizeSpaceId
|
|
33
33
|
} from "./chunk-UAD2WT54.js";
|
|
34
|
+
import {
|
|
35
|
+
formatLocalIso
|
|
36
|
+
} from "./chunk-PL5RKESU.js";
|
|
34
37
|
import {
|
|
35
38
|
patch,
|
|
36
39
|
protectedSyncStateKey,
|
|
@@ -41,13 +44,13 @@ import {
|
|
|
41
44
|
uploadFileAction,
|
|
42
45
|
upsertSSREntity,
|
|
43
46
|
write
|
|
44
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-6NYQHXMV.js";
|
|
45
48
|
import {
|
|
46
49
|
resolveFileCategory
|
|
47
50
|
} from "./chunk-3PVYUPXK.js";
|
|
48
51
|
import {
|
|
49
52
|
emitUserDataUpdated
|
|
50
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-T7KODHYS.js";
|
|
51
54
|
import {
|
|
52
55
|
DEVICE_LOCAL_OWNER_ID,
|
|
53
56
|
getRuntimeServerContext,
|
|
@@ -55,14 +58,14 @@ import {
|
|
|
55
58
|
resolveReplicationServers,
|
|
56
59
|
scheduleDeleteReplication,
|
|
57
60
|
scheduleWriteReplication
|
|
58
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-MTNQNLSE.js";
|
|
59
62
|
import {
|
|
60
63
|
require_react,
|
|
61
64
|
selectIdentityUserId
|
|
62
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-HI5RS2O4.js";
|
|
63
66
|
import {
|
|
64
67
|
getIsDesktopApp
|
|
65
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-K7HLFORE.js";
|
|
66
69
|
import {
|
|
67
70
|
createClientLogger
|
|
68
71
|
} from "./chunk-QQ56R7KS.js";
|
|
@@ -76,8 +79,11 @@ import {
|
|
|
76
79
|
buildTombstoneRecord
|
|
77
80
|
} from "./chunk-BV3FLP2L.js";
|
|
78
81
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./chunk-
|
|
82
|
+
extractUserId
|
|
83
|
+
} from "./chunk-M2EJHDJP.js";
|
|
84
|
+
import {
|
|
85
|
+
isRecord
|
|
86
|
+
} from "./chunk-KUG52IAP.js";
|
|
81
87
|
import {
|
|
82
88
|
SEPARATOR,
|
|
83
89
|
createKey,
|
|
@@ -91,9 +97,6 @@ import {
|
|
|
91
97
|
import {
|
|
92
98
|
ulid
|
|
93
99
|
} from "./chunk-OJKUU3LP.js";
|
|
94
|
-
import {
|
|
95
|
-
extractUserId
|
|
96
|
-
} from "./chunk-M2EJHDJP.js";
|
|
97
100
|
import {
|
|
98
101
|
asTrimmedNonEmptyStringArray
|
|
99
102
|
} from "./chunk-I42VC5KR.js";
|
|
@@ -106,9 +109,6 @@ import {
|
|
|
106
109
|
import {
|
|
107
110
|
asOptionalPositiveFiniteNumber
|
|
108
111
|
} from "./chunk-U6VC4MU4.js";
|
|
109
|
-
import {
|
|
110
|
-
isRecord
|
|
111
|
-
} from "./chunk-KUG52IAP.js";
|
|
112
112
|
import {
|
|
113
113
|
asOptionalTrimmedString
|
|
114
114
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -1724,11 +1724,11 @@ var ENTITY_DELETE_STRATEGIES = {
|
|
|
1724
1724
|
await dispatch(deleteTable({ dbKey: key })).unwrap();
|
|
1725
1725
|
},
|
|
1726
1726
|
file: async (key, { thunkAPI }) => {
|
|
1727
|
-
const { removeAction } = await import("./remove-
|
|
1727
|
+
const { removeAction } = await import("./remove-AHRMUDMH.js");
|
|
1728
1728
|
await removeAction(key, thunkAPI);
|
|
1729
1729
|
},
|
|
1730
1730
|
image: async (key, { thunkAPI }) => {
|
|
1731
|
-
const { removeAction } = await import("./remove-
|
|
1731
|
+
const { removeAction } = await import("./remove-AHRMUDMH.js");
|
|
1732
1732
|
await removeAction(key, thunkAPI);
|
|
1733
1733
|
},
|
|
1734
1734
|
agent: async (key, { dispatch, userId, sourceServerOrigin }) => {
|
|
@@ -2784,7 +2784,7 @@ var syncCurrentSpaceIfNormalizedMatch = (spaceId, updatedSpaceData) => {
|
|
|
2784
2784
|
updateCurrentSpaceIfMatch(spaceId, updatedSpaceData);
|
|
2785
2785
|
}
|
|
2786
2786
|
};
|
|
2787
|
-
var addContentToSpace =
|
|
2787
|
+
var addContentToSpace = createPlainAsyncThunk(
|
|
2788
2788
|
"space/addContentToSpace",
|
|
2789
2789
|
async (input, thunkAPI) => {
|
|
2790
2790
|
const result = await addContentAction(input, thunkAPI);
|
|
@@ -2813,7 +2813,7 @@ var addContentToSpace = createAsyncThunk(
|
|
|
2813
2813
|
return { ...result, expandCategoryId: null };
|
|
2814
2814
|
}
|
|
2815
2815
|
);
|
|
2816
|
-
var moveContentToSpace =
|
|
2816
|
+
var moveContentToSpace = createPlainAsyncThunk(
|
|
2817
2817
|
"space/moveContentToSpace",
|
|
2818
2818
|
async (arg, thunkAPI) => {
|
|
2819
2819
|
const payload = await moveContentAction(arg, thunkAPI);
|
|
@@ -2835,7 +2835,7 @@ var moveContentToSpace = createAsyncThunk(
|
|
|
2835
2835
|
return payload;
|
|
2836
2836
|
}
|
|
2837
2837
|
);
|
|
2838
|
-
var unlinkSpaceContent =
|
|
2838
|
+
var unlinkSpaceContent = createPlainAsyncThunk(
|
|
2839
2839
|
"space/unlinkSpaceContent",
|
|
2840
2840
|
async (arg, thunkAPI) => {
|
|
2841
2841
|
const payload = await unlinkSpaceContentAction(arg, thunkAPI);
|
|
@@ -2848,7 +2848,7 @@ var unlinkSpaceContent = createAsyncThunk(
|
|
|
2848
2848
|
return payload;
|
|
2849
2849
|
}
|
|
2850
2850
|
);
|
|
2851
|
-
var deleteContentFromSpace =
|
|
2851
|
+
var deleteContentFromSpace = createPlainAsyncThunk(
|
|
2852
2852
|
"space/deleteContentFromSpace",
|
|
2853
2853
|
async (arg, thunkAPI) => {
|
|
2854
2854
|
const payload = await deleteContentFromSpaceAction(arg, thunkAPI);
|
|
@@ -2859,7 +2859,7 @@ var deleteContentFromSpace = createAsyncThunk(
|
|
|
2859
2859
|
return payload;
|
|
2860
2860
|
}
|
|
2861
2861
|
);
|
|
2862
|
-
var uploadAndAddFileToSpace =
|
|
2862
|
+
var uploadAndAddFileToSpace = createPlainAsyncThunk(
|
|
2863
2863
|
"space/uploadAndAddFileToSpace",
|
|
2864
2864
|
async (arg, thunkAPI) => {
|
|
2865
2865
|
const payload = await uploadAndAddFileToSpaceAction(arg, thunkAPI);
|
|
@@ -2869,7 +2869,7 @@ var uploadAndAddFileToSpace = createAsyncThunk(
|
|
|
2869
2869
|
return payload;
|
|
2870
2870
|
}
|
|
2871
2871
|
);
|
|
2872
|
-
var restoreSpaceFileVersion =
|
|
2872
|
+
var restoreSpaceFileVersion = createPlainAsyncThunk(
|
|
2873
2873
|
"space/restoreSpaceFileVersion",
|
|
2874
2874
|
async (arg, thunkAPI) => {
|
|
2875
2875
|
const payload = await restoreSpaceFileVersionAction(arg, thunkAPI);
|
|
@@ -2879,7 +2879,7 @@ var restoreSpaceFileVersion = createAsyncThunk(
|
|
|
2879
2879
|
return payload;
|
|
2880
2880
|
}
|
|
2881
2881
|
);
|
|
2882
|
-
var updateContentTitle =
|
|
2882
|
+
var updateContentTitle = createPlainAsyncThunk(
|
|
2883
2883
|
"space/updateContentTitle",
|
|
2884
2884
|
async (arg, thunkAPI) => {
|
|
2885
2885
|
try {
|
|
@@ -2897,7 +2897,7 @@ var updateContentTitle = createAsyncThunk(
|
|
|
2897
2897
|
}
|
|
2898
2898
|
}
|
|
2899
2899
|
);
|
|
2900
|
-
var updateContentPinned =
|
|
2900
|
+
var updateContentPinned = createPlainAsyncThunk(
|
|
2901
2901
|
"space/updateContentPinned",
|
|
2902
2902
|
async (arg, thunkAPI) => {
|
|
2903
2903
|
try {
|
|
@@ -2914,7 +2914,7 @@ var updateContentPinned = createAsyncThunk(
|
|
|
2914
2914
|
}
|
|
2915
2915
|
}
|
|
2916
2916
|
);
|
|
2917
|
-
var updateContentCategory =
|
|
2917
|
+
var updateContentCategory = createPlainAsyncThunk(
|
|
2918
2918
|
"space/updateContentCategory",
|
|
2919
2919
|
async (arg, thunkAPI) => {
|
|
2920
2920
|
const payload = await updateContentCategoryAction(arg, thunkAPI);
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
isAbortError
|
|
9
9
|
} from "./chunk-7DPNBQSV.js";
|
|
10
|
+
import {
|
|
11
|
+
isPublicBuiltinPlatformAgentKey
|
|
12
|
+
} from "./chunk-4DBTBNTX.js";
|
|
10
13
|
import {
|
|
11
14
|
isLevelNotFoundError
|
|
12
15
|
} from "./chunk-OW765XBU.js";
|
|
13
|
-
import {
|
|
14
|
-
isPublicBuiltinPlatformAgentKey
|
|
15
|
-
} from "./chunk-YRPIUIEQ.js";
|
|
16
16
|
import {
|
|
17
17
|
API_ENDPOINTS,
|
|
18
18
|
isNoloClusterServerOrigin,
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
} from "./chunk-BR3GT6MR.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveRuntimeToolSurfaceForAgent
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
resolveRuntimeAuthToken
|
|
10
|
-
} from "./chunk-UB7NV7NN.js";
|
|
7
|
+
} from "./chunk-TSBJVMNW.js";
|
|
11
8
|
import {
|
|
12
9
|
isSystemBuiltinTrustedAgentKey
|
|
13
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4DBTBNTX.js";
|
|
11
|
+
import {
|
|
12
|
+
resolveRuntimeAuthToken
|
|
13
|
+
} from "./chunk-C36L6ZID.js";
|
|
14
14
|
import {
|
|
15
15
|
parseUserIdFromAuthToken
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2AJLG6PY.js";
|
|
17
17
|
import {
|
|
18
18
|
asOptionalTrimmedString
|
|
19
19
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Level,
|
|
3
|
+
MAX_AUTHORITY_BATCH_GET_KEYS,
|
|
4
|
+
authorityBacking,
|
|
5
|
+
batchGetViaSingleGet
|
|
6
|
+
} from "./chunk-WTIJKWCI.js";
|
|
7
|
+
|
|
8
|
+
// packages/database-engine/levelAuthorityStore.ts
|
|
9
|
+
var safeJsonEncoding = {
|
|
10
|
+
name: "safe-json",
|
|
11
|
+
format: "utf8",
|
|
12
|
+
encode: (data) => JSON.stringify(data),
|
|
13
|
+
decode: (data) => {
|
|
14
|
+
try {
|
|
15
|
+
return JSON.parse(data);
|
|
16
|
+
} catch {
|
|
17
|
+
console.warn("[LevelDB] Corrupted value:", data?.substring?.(0, 60));
|
|
18
|
+
return null;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
function createLevelAuthorityStore(source, openOptions) {
|
|
23
|
+
const levelDb = typeof source === "string" ? new Level(source, {
|
|
24
|
+
valueEncoding: safeJsonEncoding,
|
|
25
|
+
...openOptions?.cacheSize !== void 0 ? { cacheSize: openOptions.cacheSize } : {},
|
|
26
|
+
...openOptions?.writeBufferSize !== void 0 ? { writeBufferSize: openOptions.writeBufferSize } : {},
|
|
27
|
+
...openOptions?.blockSize !== void 0 ? { blockSize: openOptions.blockSize } : {},
|
|
28
|
+
...openOptions?.compression !== void 0 ? { compression: openOptions.compression } : {},
|
|
29
|
+
...openOptions?.maxOpenFiles !== void 0 ? { maxOpenFiles: openOptions.maxOpenFiles } : {}
|
|
30
|
+
}) : source;
|
|
31
|
+
const writeBatchOps = async (ops) => {
|
|
32
|
+
const result = levelDb.batch(ops);
|
|
33
|
+
if (result && typeof result.then === "function") {
|
|
34
|
+
await result;
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
if (result && typeof result.write === "function") {
|
|
38
|
+
const writer = result;
|
|
39
|
+
for (const op of ops) {
|
|
40
|
+
if (op.type === "put") {
|
|
41
|
+
writer.put(op.key, op.value);
|
|
42
|
+
} else {
|
|
43
|
+
writer.del(op.key);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
await writer.write();
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
throw new Error("Level backing does not support batch writes");
|
|
50
|
+
};
|
|
51
|
+
const batchGet = async (keys) => {
|
|
52
|
+
if (!Array.isArray(keys)) {
|
|
53
|
+
throw new Error("batchGet keys must be an array");
|
|
54
|
+
}
|
|
55
|
+
if (keys.length === 0) return [];
|
|
56
|
+
if (keys.length > MAX_AUTHORITY_BATCH_GET_KEYS) {
|
|
57
|
+
throw new Error(`batchGet exceeds maximum batch size (${MAX_AUTHORITY_BATCH_GET_KEYS})`);
|
|
58
|
+
}
|
|
59
|
+
const uniqueKeys = [];
|
|
60
|
+
const keyToIdx = /* @__PURE__ */ new Map();
|
|
61
|
+
for (const key of keys) {
|
|
62
|
+
if (typeof key !== "string") {
|
|
63
|
+
throw new Error("batchGet keys must be strings");
|
|
64
|
+
}
|
|
65
|
+
if (!keyToIdx.has(key)) {
|
|
66
|
+
keyToIdx.set(key, uniqueKeys.length);
|
|
67
|
+
uniqueKeys.push(key);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
if (typeof levelDb.getMany === "function") {
|
|
71
|
+
const rawValues = await levelDb.getMany(uniqueKeys);
|
|
72
|
+
const uniqueItems = rawValues.map(
|
|
73
|
+
(value) => value === void 0 ? { ok: false, error: { code: "NOT_FOUND", message: "Key not found" } } : { ok: true, value }
|
|
74
|
+
);
|
|
75
|
+
return keys.map((k) => uniqueItems[keyToIdx.get(k)]);
|
|
76
|
+
}
|
|
77
|
+
return batchGetViaSingleGet((key) => levelDb.get(key), keys);
|
|
78
|
+
};
|
|
79
|
+
return {
|
|
80
|
+
[authorityBacking]: levelDb,
|
|
81
|
+
get location() {
|
|
82
|
+
return levelDb.location;
|
|
83
|
+
},
|
|
84
|
+
get status() {
|
|
85
|
+
return levelDb.status;
|
|
86
|
+
},
|
|
87
|
+
async open() {
|
|
88
|
+
await levelDb.open();
|
|
89
|
+
},
|
|
90
|
+
async close() {
|
|
91
|
+
await levelDb.close();
|
|
92
|
+
},
|
|
93
|
+
async get(key) {
|
|
94
|
+
return levelDb.get(key);
|
|
95
|
+
},
|
|
96
|
+
batchGet,
|
|
97
|
+
async put(key, value) {
|
|
98
|
+
await levelDb.put(key, value);
|
|
99
|
+
},
|
|
100
|
+
async del(key) {
|
|
101
|
+
await levelDb.del(key);
|
|
102
|
+
},
|
|
103
|
+
async batchWrite(ops) {
|
|
104
|
+
await writeBatchOps(ops);
|
|
105
|
+
},
|
|
106
|
+
createBatch() {
|
|
107
|
+
const batch = levelDb.batch();
|
|
108
|
+
return {
|
|
109
|
+
put(key, value) {
|
|
110
|
+
batch.put(key, value);
|
|
111
|
+
},
|
|
112
|
+
del(key) {
|
|
113
|
+
batch.del(key);
|
|
114
|
+
},
|
|
115
|
+
async write() {
|
|
116
|
+
await batch.write();
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
},
|
|
120
|
+
iterator(options = {}) {
|
|
121
|
+
return levelDb.iterator(options);
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export {
|
|
127
|
+
safeJsonEncoding,
|
|
128
|
+
createLevelAuthorityStore
|
|
129
|
+
};
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
patch,
|
|
6
6
|
readAndWait,
|
|
7
7
|
unwrapDbResult
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6NYQHXMV.js";
|
|
9
9
|
import {
|
|
10
10
|
emitUserDataUpdated
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-T7KODHYS.js";
|
|
12
12
|
import {
|
|
13
13
|
require_react
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HI5RS2O4.js";
|
|
15
15
|
import {
|
|
16
16
|
toErrorMessage
|
|
17
17
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -342,7 +342,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
342
342
|
).unwrap();
|
|
343
343
|
if (dbSpaceId) {
|
|
344
344
|
try {
|
|
345
|
-
const { updateContentTitle } = await import("./contentThunks-
|
|
345
|
+
const { updateContentTitle } = await import("./contentThunks-N3DDKRNJ.js");
|
|
346
346
|
await dispatch(
|
|
347
347
|
updateContentTitle({
|
|
348
348
|
spaceId: dbSpaceId,
|
|
@@ -385,7 +385,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
385
385
|
}
|
|
386
386
|
}
|
|
387
387
|
async function createDocState(args, thunkApi) {
|
|
388
|
-
const { createPageAction } = await import("./createPageAction-
|
|
388
|
+
const { createPageAction } = await import("./createPageAction-P2HDHBCU.js");
|
|
389
389
|
return createPageAction(args, thunkApi);
|
|
390
390
|
}
|
|
391
391
|
function subscribe(listener) {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DPFHC2DK.js";
|
|
9
9
|
import {
|
|
10
10
|
CONFIRMATION_INPUT_KEYS,
|
|
11
11
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
reportToolExecutionErrorInBackground,
|
|
16
16
|
sanitizeOutboundMessages,
|
|
17
17
|
stripModelToolArgs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6KA4XDEI.js";
|
|
19
19
|
import {
|
|
20
20
|
findToolExecutor,
|
|
21
21
|
toolDefinitionsByName
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YSYTCIFN.js";
|
|
23
23
|
import {
|
|
24
24
|
createSSEParser,
|
|
25
25
|
createToolRunId,
|
|
@@ -28,7 +28,10 @@ import {
|
|
|
28
28
|
toolRunSetPending,
|
|
29
29
|
toolRunStarted,
|
|
30
30
|
toolRunSucceeded
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-XCPC4RXE.js";
|
|
32
|
+
import {
|
|
33
|
+
getCurrentSpaceId
|
|
34
|
+
} from "./chunk-EHFDVQF5.js";
|
|
32
35
|
import {
|
|
33
36
|
addToolMessage,
|
|
34
37
|
messageStreamEnd,
|
|
@@ -36,32 +39,32 @@ import {
|
|
|
36
39
|
toast,
|
|
37
40
|
toolResultNeedsUserConfirmation,
|
|
38
41
|
updateToolMessage
|
|
39
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-OV47NSYQ.js";
|
|
40
43
|
import {
|
|
41
44
|
streamAgentChatTurn
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import {
|
|
44
|
-
getCurrentSpaceId
|
|
45
|
-
} from "./chunk-OIOMBPCA.js";
|
|
45
|
+
} from "./chunk-PJVJIDTH.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import {
|
|
50
|
-
write
|
|
51
|
-
} from "./chunk-U5PSCTMR.js";
|
|
47
|
+
createActionAsyncThunk
|
|
48
|
+
} from "./chunk-KZO2MTVM.js";
|
|
52
49
|
import {
|
|
53
50
|
getRequestConfig
|
|
54
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-OQH3TAB7.js";
|
|
55
52
|
import {
|
|
56
53
|
addActiveController,
|
|
57
54
|
getActiveDialogKey,
|
|
58
55
|
removeActiveController,
|
|
59
56
|
tokenUsageLiveUpdate
|
|
60
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-SVKWZ3EG.js";
|
|
58
|
+
import {
|
|
59
|
+
write
|
|
60
|
+
} from "./chunk-6NYQHXMV.js";
|
|
61
61
|
import {
|
|
62
62
|
require_react,
|
|
63
63
|
selectIdentityToken
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-HI5RS2O4.js";
|
|
65
|
+
import {
|
|
66
|
+
getPublicImageAgentMode
|
|
67
|
+
} from "./chunk-VIDPVFP3.js";
|
|
65
68
|
import {
|
|
66
69
|
classifyOutboundErrorCategory,
|
|
67
70
|
createOutboundDiagnosticCall,
|
|
@@ -69,7 +72,7 @@ import {
|
|
|
69
72
|
projectUserPartForModel,
|
|
70
73
|
resolveOutboundDiagnosticSink,
|
|
71
74
|
resolveOutboundWire
|
|
72
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-GH34JXNV.js";
|
|
73
76
|
import {
|
|
74
77
|
accumulateToolCallDelta,
|
|
75
78
|
createThinkParserState,
|
|
@@ -81,7 +84,7 @@ import {
|
|
|
81
84
|
} from "./chunk-56GBUMO5.js";
|
|
82
85
|
import {
|
|
83
86
|
normalizeChatCompletionsBodyForProvider
|
|
84
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-DFI7MVCQ.js";
|
|
85
88
|
import {
|
|
86
89
|
classifyApiError,
|
|
87
90
|
classifyGenerationError,
|
|
@@ -92,16 +95,25 @@ import {
|
|
|
92
95
|
isCompleteInstructionOutput,
|
|
93
96
|
sanitizeToolOutputText,
|
|
94
97
|
scrubSecrets
|
|
95
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-D2LTQAGN.js";
|
|
96
99
|
import {
|
|
97
100
|
EMPTY_ASSISTANT_REPAIR_PROMPT
|
|
98
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-RYMLMTPZ.js";
|
|
99
102
|
import {
|
|
100
103
|
getModelInfo
|
|
101
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-ZCLSM5AK.js";
|
|
102
105
|
import {
|
|
103
106
|
isAbortError
|
|
104
107
|
} from "./chunk-7DPNBQSV.js";
|
|
108
|
+
import {
|
|
109
|
+
extractCustomId
|
|
110
|
+
} from "./chunk-M2EJHDJP.js";
|
|
111
|
+
import {
|
|
112
|
+
getApiEndpoint
|
|
113
|
+
} from "./chunk-RI7SXDJW.js";
|
|
114
|
+
import {
|
|
115
|
+
isRecord
|
|
116
|
+
} from "./chunk-KUG52IAP.js";
|
|
105
117
|
import {
|
|
106
118
|
toErrorMessage
|
|
107
119
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -115,21 +127,9 @@ import {
|
|
|
115
127
|
import {
|
|
116
128
|
splitDialogKeyIdentity
|
|
117
129
|
} from "./chunk-YZMNK53S.js";
|
|
118
|
-
import {
|
|
119
|
-
extractCustomId
|
|
120
|
-
} from "./chunk-M2EJHDJP.js";
|
|
121
130
|
import {
|
|
122
131
|
asTrimmedString
|
|
123
132
|
} from "./chunk-3EUW3WEO.js";
|
|
124
|
-
import {
|
|
125
|
-
getPublicImageAgentMode
|
|
126
|
-
} from "./chunk-VIDPVFP3.js";
|
|
127
|
-
import {
|
|
128
|
-
getApiEndpoint
|
|
129
|
-
} from "./chunk-RI7SXDJW.js";
|
|
130
|
-
import {
|
|
131
|
-
isRecord
|
|
132
|
-
} from "./chunk-KUG52IAP.js";
|
|
133
133
|
import {
|
|
134
134
|
asOptionalTrimmedString
|
|
135
135
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -599,7 +599,7 @@ var buildRawDataLlmContextFallback = (rawData, toolCallId) => {
|
|
|
599
599
|
});
|
|
600
600
|
return asOptionalTrimmedString(clipped.content);
|
|
601
601
|
};
|
|
602
|
-
var processToolData =
|
|
602
|
+
var processToolData = createActionAsyncThunk(
|
|
603
603
|
"message/processToolData",
|
|
604
604
|
async (args, thunkApi) => {
|
|
605
605
|
const { toolCall, parentMessageId, toolRunId, agentKey } = args;
|
|
@@ -858,7 +858,7 @@ var processToolData = createAsyncThunk(
|
|
|
858
858
|
}
|
|
859
859
|
}
|
|
860
860
|
);
|
|
861
|
-
var handleToolCalls =
|
|
861
|
+
var handleToolCalls = createActionAsyncThunk(
|
|
862
862
|
"message/handleToolCalls",
|
|
863
863
|
async (args, thunkApi) => {
|
|
864
864
|
const {
|