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
|
@@ -3,26 +3,26 @@ import {
|
|
|
3
3
|
} from "./chunk-QYPE3TS3.js";
|
|
4
4
|
import {
|
|
5
5
|
getActiveDialogKey
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SVKWZ3EG.js";
|
|
7
7
|
import {
|
|
8
8
|
getRuntimeServerSnapshot,
|
|
9
9
|
selectIdentityToken
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HI5RS2O4.js";
|
|
11
11
|
import {
|
|
12
12
|
googleSessionServer
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-K7HLFORE.js";
|
|
14
14
|
import {
|
|
15
15
|
compactWhitespace
|
|
16
16
|
} from "./chunk-DWLEOOGR.js";
|
|
17
|
-
import {
|
|
18
|
-
splitDialogKeyIdentity
|
|
19
|
-
} from "./chunk-YZMNK53S.js";
|
|
20
17
|
import {
|
|
21
18
|
isRecord
|
|
22
19
|
} from "./chunk-KUG52IAP.js";
|
|
23
20
|
import {
|
|
24
21
|
asTrimmedLowercaseString
|
|
25
22
|
} from "./chunk-QSJ3HFEF.js";
|
|
23
|
+
import {
|
|
24
|
+
splitDialogKeyIdentity
|
|
25
|
+
} from "./chunk-YZMNK53S.js";
|
|
26
26
|
|
|
27
27
|
// packages/ai/tools/toolApiClient.ts
|
|
28
28
|
var MAIN_SERVER = "https://nolo.chat";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
noloAgentId
|
|
3
|
+
} from "./chunk-IB5AR52X.js";
|
|
1
4
|
import {
|
|
2
5
|
require_react
|
|
3
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HI5RS2O4.js";
|
|
4
7
|
import {
|
|
5
8
|
DEFAULT_SYSTEM_AGENT_CAPABILITIES
|
|
6
9
|
} from "./chunk-EUGTFFO6.js";
|
|
7
|
-
import {
|
|
8
|
-
noloAgentId
|
|
9
|
-
} from "./chunk-ZQAADXSF.js";
|
|
10
10
|
import {
|
|
11
11
|
normalizeServerOrigin
|
|
12
12
|
} from "./chunk-CF7PE763.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
shouldUseServerProxy
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZCLSM5AK.js";
|
|
4
4
|
import {
|
|
5
5
|
isAgentCredentialShared
|
|
6
6
|
} from "./chunk-KGKTN2NX.js";
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
effectiveAgentRoutingConfig,
|
|
14
14
|
findModelConfig
|
|
15
15
|
} from "./chunk-RI7SXDJW.js";
|
|
16
|
-
import {
|
|
17
|
-
asOptionalTrimmedString
|
|
18
|
-
} from "./chunk-G3SUCT4W.js";
|
|
19
16
|
import {
|
|
20
17
|
asTrimmedLowercaseString
|
|
21
18
|
} from "./chunk-QSJ3HFEF.js";
|
|
19
|
+
import {
|
|
20
|
+
asOptionalTrimmedString
|
|
21
|
+
} from "./chunk-G3SUCT4W.js";
|
|
22
22
|
|
|
23
23
|
// packages/agent-runtime/oauthProviderRefs.ts
|
|
24
24
|
var OAUTH_PROVIDER_REFS = [
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getModelPricing
|
|
3
|
+
} from "./chunk-LLP2NDED.js";
|
|
1
4
|
import {
|
|
2
5
|
PUBLIC_DEEPSEEK_V4_FLASH_AGENT_ID,
|
|
3
6
|
PUBLIC_DEEPSEEK_V4_PRO_AGENT_ID,
|
|
@@ -12,15 +15,12 @@ import {
|
|
|
12
15
|
builtinAgentCatalogEntryById,
|
|
13
16
|
catalogReleasedAtMs,
|
|
14
17
|
isRetiredCatalogEntry
|
|
15
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4DBTBNTX.js";
|
|
16
19
|
import {
|
|
17
20
|
parsePublicAgentId,
|
|
18
21
|
parseSystemAgentId,
|
|
19
22
|
publicAgentKey
|
|
20
23
|
} from "./chunk-M2EJHDJP.js";
|
|
21
|
-
import {
|
|
22
|
-
getModelPricing
|
|
23
|
-
} from "./chunk-CW6LRDSF.js";
|
|
24
24
|
import {
|
|
25
25
|
getModelConfig
|
|
26
26
|
} from "./chunk-RI7SXDJW.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HT6MY27X.js";
|
|
4
4
|
import {
|
|
5
5
|
prepareAndPersistMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NGGXRK2P.js";
|
|
7
7
|
import {
|
|
8
8
|
formatLocalDate,
|
|
9
9
|
formatLocalIso
|
|
@@ -14,16 +14,22 @@ import {
|
|
|
14
14
|
removeCachedEntity,
|
|
15
15
|
upsertSSREntity,
|
|
16
16
|
write
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6NYQHXMV.js";
|
|
18
18
|
import {
|
|
19
19
|
emitUserDataUpdated
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-T7KODHYS.js";
|
|
21
21
|
import {
|
|
22
22
|
selectIdentityUserId
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-HI5RS2O4.js";
|
|
24
24
|
import {
|
|
25
25
|
isDevelopment
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-K7HLFORE.js";
|
|
27
|
+
import {
|
|
28
|
+
extractCustomId
|
|
29
|
+
} from "./chunk-M2EJHDJP.js";
|
|
30
|
+
import {
|
|
31
|
+
isRecord
|
|
32
|
+
} from "./chunk-KUG52IAP.js";
|
|
27
33
|
import {
|
|
28
34
|
createMemoryKey,
|
|
29
35
|
memoryOwnerRange,
|
|
@@ -33,18 +39,12 @@ import {
|
|
|
33
39
|
createDialogKey,
|
|
34
40
|
dialogMessageRange
|
|
35
41
|
} from "./chunk-OJKUU3LP.js";
|
|
36
|
-
import {
|
|
37
|
-
extractCustomId
|
|
38
|
-
} from "./chunk-M2EJHDJP.js";
|
|
39
42
|
import {
|
|
40
43
|
asTrimmedString
|
|
41
44
|
} from "./chunk-3EUW3WEO.js";
|
|
42
45
|
import {
|
|
43
46
|
asOptionalPositiveFiniteNumber
|
|
44
47
|
} from "./chunk-U6VC4MU4.js";
|
|
45
|
-
import {
|
|
46
|
-
isRecord
|
|
47
|
-
} from "./chunk-KUG52IAP.js";
|
|
48
48
|
import {
|
|
49
49
|
asOptionalTrimmedString
|
|
50
50
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -791,7 +791,7 @@ ${memoryBlock}`;
|
|
|
791
791
|
};
|
|
792
792
|
|
|
793
793
|
// packages/chat/dialog/actions/createDialogAction.ts
|
|
794
|
-
var LOCAL_OWNER_DIALOG_PREFIXES = ["agent-local-"
|
|
794
|
+
var LOCAL_OWNER_DIALOG_PREFIXES = ["agent-local-"];
|
|
795
795
|
var isLocalOwnerDialogAgents = (cybots) => {
|
|
796
796
|
if (!Array.isArray(cybots)) return false;
|
|
797
797
|
for (const agentKey of cybots) {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// packages/core/boundedMap.ts
|
|
2
|
+
var Mutex = class {
|
|
3
|
+
tail = Promise.resolve();
|
|
4
|
+
pendingCount = 0;
|
|
5
|
+
isLocked() {
|
|
6
|
+
return this.pendingCount > 0;
|
|
7
|
+
}
|
|
8
|
+
waitForUnlock() {
|
|
9
|
+
return this.tail;
|
|
10
|
+
}
|
|
11
|
+
async acquire() {
|
|
12
|
+
this.pendingCount += 1;
|
|
13
|
+
const previous = this.tail;
|
|
14
|
+
let release;
|
|
15
|
+
const next = new Promise((resolve) => {
|
|
16
|
+
release = () => {
|
|
17
|
+
this.pendingCount -= 1;
|
|
18
|
+
resolve();
|
|
19
|
+
};
|
|
20
|
+
});
|
|
21
|
+
this.tail = previous.then(() => next);
|
|
22
|
+
await previous;
|
|
23
|
+
let released = false;
|
|
24
|
+
return () => {
|
|
25
|
+
if (released) return;
|
|
26
|
+
released = true;
|
|
27
|
+
release();
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
async runExclusive(fn) {
|
|
31
|
+
const release = await this.acquire();
|
|
32
|
+
try {
|
|
33
|
+
return await fn();
|
|
34
|
+
} finally {
|
|
35
|
+
release();
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export {
|
|
41
|
+
Mutex
|
|
42
|
+
};
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
parseFlagWithOptionalValue,
|
|
4
4
|
runCloudflareOAuthLogin,
|
|
5
5
|
upsertEnvVariable
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TA5QI4MM.js";
|
|
7
7
|
import {
|
|
8
8
|
defaultOpenBrowser
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2JMYAH5O.js";
|
|
10
10
|
import {
|
|
11
11
|
CURSOR_ACCESS_TOKEN_CLIENT_SKEW_MS,
|
|
12
12
|
CURSOR_LOGIN_URL,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
startCallbackServer,
|
|
40
40
|
validateXAIEndpoint,
|
|
41
41
|
xaiOAuthDiscovery
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-QY4NZCDA.js";
|
|
43
43
|
import {
|
|
44
44
|
buildDevinAuthUrl,
|
|
45
45
|
buildDevinOAuthCredential,
|
|
@@ -47,30 +47,30 @@ import {
|
|
|
47
47
|
extractDevinToken
|
|
48
48
|
} from "./chunk-Q5FJJ6XI.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./chunk-
|
|
50
|
+
isRecord
|
|
51
|
+
} from "./chunk-KUG52IAP.js";
|
|
52
|
+
import {
|
|
53
|
+
getProfileOAuthSync,
|
|
54
|
+
saveProfileOAuthSync
|
|
55
|
+
} from "./chunk-R5GO3YZP.js";
|
|
52
56
|
import {
|
|
53
57
|
createOAuthTokenStore
|
|
54
58
|
} from "./chunk-G7Y4GXTY.js";
|
|
59
|
+
import {
|
|
60
|
+
toErrorMessage
|
|
61
|
+
} from "./chunk-HNMXYYJR.js";
|
|
55
62
|
import {
|
|
56
63
|
asTrimmedString
|
|
57
64
|
} from "./chunk-3EUW3WEO.js";
|
|
58
65
|
import {
|
|
59
66
|
asOptionalFiniteNumber
|
|
60
67
|
} from "./chunk-WWC7I6TA.js";
|
|
61
|
-
import {
|
|
62
|
-
isRecord
|
|
63
|
-
} from "./chunk-KUG52IAP.js";
|
|
64
68
|
import {
|
|
65
69
|
parseUserIdFromAuthToken
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import {
|
|
68
|
-
getProfileOAuthSync,
|
|
69
|
-
saveProfileOAuthSync
|
|
70
|
-
} from "./chunk-R5GO3YZP.js";
|
|
70
|
+
} from "./chunk-2AJLG6PY.js";
|
|
71
71
|
import {
|
|
72
72
|
t
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-M75RM77T.js";
|
|
74
74
|
|
|
75
75
|
// packages/cli/oauth/flows/xai.ts
|
|
76
76
|
function buildXAIAuthorizeUrl(opts) {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4X6FTGMU.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-NLADA5ZM.js";
|
|
19
19
|
import {
|
|
20
20
|
findToolExecutor,
|
|
21
21
|
toolDefinitionsByName
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HCXCKCNT.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-36RT7KMI.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-NGGXRK2P.js";
|
|
40
43
|
import {
|
|
41
44
|
streamAgentChatTurn
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import {
|
|
44
|
-
getCurrentSpaceId
|
|
45
|
-
} from "./chunk-OIOMBPCA.js";
|
|
45
|
+
} from "./chunk-VLAPKV76.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 {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
// packages/connector/machineInfo.ts
|
|
7
7
|
import { existsSync as existsSync2, readFileSync, writeFileSync, mkdirSync } from "node:fs";
|
|
8
8
|
import { dirname, join as join2 } from "node:path";
|
|
9
|
-
import { arch, hostname, homedir, platform } from "node:os";
|
|
9
|
+
import { arch, freemem, hostname, homedir, loadavg, platform, totalmem } from "node:os";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
// packages/connector/capabilities.ts
|
|
@@ -100,6 +100,84 @@ function resolveMachineId(path = defaultMachineIdPath()) {
|
|
|
100
100
|
return `machine-${hostname().toLowerCase()}`;
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
+
function readPositiveCgroupBytes(filePath, readText) {
|
|
104
|
+
try {
|
|
105
|
+
const raw = readText(filePath).trim();
|
|
106
|
+
if (!raw || raw === "max" || !/^[0-9]+$/.test(raw)) return void 0;
|
|
107
|
+
const parsed = Number.parseInt(raw, 10);
|
|
108
|
+
return Number.isSafeInteger(parsed) && parsed > 0 ? parsed : void 0;
|
|
109
|
+
} catch {
|
|
110
|
+
return void 0;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
function sampleMachineResourceTelemetry(deps) {
|
|
114
|
+
const getPlatform = deps?.platform ?? platform;
|
|
115
|
+
const readText = deps?.readText ?? ((filePath) => readFileSync(filePath, "utf8"));
|
|
116
|
+
const getTotalmem = deps?.totalmem ?? totalmem;
|
|
117
|
+
const getFreemem = deps?.freemem ?? freemem;
|
|
118
|
+
const getLoadavg = deps?.loadavg ?? loadavg;
|
|
119
|
+
let memoryCurrentBytes;
|
|
120
|
+
let memoryMaxBytes;
|
|
121
|
+
try {
|
|
122
|
+
if (getPlatform() === "linux") {
|
|
123
|
+
const cgroupLine = readText("/proc/self/cgroup").split(/\r?\n/).find((line) => line.startsWith("0::"));
|
|
124
|
+
const relPath = cgroupLine ? cgroupLine.slice(3).trim() : "";
|
|
125
|
+
if (relPath && relPath.startsWith("/")) {
|
|
126
|
+
const cgroupCurrent = readPositiveCgroupBytes(
|
|
127
|
+
join2("/sys/fs/cgroup", relPath, "memory.current"),
|
|
128
|
+
readText
|
|
129
|
+
);
|
|
130
|
+
let cursor = relPath;
|
|
131
|
+
for (let depth = 0; depth < 6 && cursor; depth += 1) {
|
|
132
|
+
const cap = readPositiveCgroupBytes(
|
|
133
|
+
join2("/sys/fs/cgroup", cursor, "memory.max"),
|
|
134
|
+
readText
|
|
135
|
+
);
|
|
136
|
+
if (cap !== void 0) {
|
|
137
|
+
memoryMaxBytes = cap;
|
|
138
|
+
break;
|
|
139
|
+
}
|
|
140
|
+
if (cursor === "/") break;
|
|
141
|
+
const parent = dirname(cursor);
|
|
142
|
+
if (parent === cursor) break;
|
|
143
|
+
cursor = parent;
|
|
144
|
+
}
|
|
145
|
+
if (cgroupCurrent !== void 0 && memoryMaxBytes !== void 0) {
|
|
146
|
+
memoryCurrentBytes = cgroupCurrent;
|
|
147
|
+
} else {
|
|
148
|
+
memoryMaxBytes = void 0;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
} catch {
|
|
153
|
+
}
|
|
154
|
+
try {
|
|
155
|
+
const total = getTotalmem();
|
|
156
|
+
const free = getFreemem();
|
|
157
|
+
if (memoryCurrentBytes === void 0 && Number.isFinite(total) && Number.isFinite(free) && total >= free) {
|
|
158
|
+
const used = Math.floor(total - free);
|
|
159
|
+
if (Number.isSafeInteger(used) && used >= 0) memoryCurrentBytes = used;
|
|
160
|
+
}
|
|
161
|
+
if (memoryMaxBytes === void 0 && Number.isFinite(total) && total > 0) {
|
|
162
|
+
const max = Math.floor(total);
|
|
163
|
+
if (Number.isSafeInteger(max) && max > 0) memoryMaxBytes = max;
|
|
164
|
+
}
|
|
165
|
+
} catch {
|
|
166
|
+
}
|
|
167
|
+
let loadAvg1m;
|
|
168
|
+
try {
|
|
169
|
+
const load1m = getLoadavg()[0];
|
|
170
|
+
if (typeof load1m === "number" && Number.isFinite(load1m) && load1m >= 0) {
|
|
171
|
+
loadAvg1m = Math.round(load1m * 100) / 100;
|
|
172
|
+
}
|
|
173
|
+
} catch {
|
|
174
|
+
}
|
|
175
|
+
return {
|
|
176
|
+
...memoryCurrentBytes !== void 0 ? { memoryCurrentBytes } : {},
|
|
177
|
+
...memoryMaxBytes !== void 0 ? { memoryMaxBytes } : {},
|
|
178
|
+
...loadAvg1m !== void 0 ? { loadAvg1m } : {}
|
|
179
|
+
};
|
|
180
|
+
}
|
|
103
181
|
function detectMachineInfo(overrides) {
|
|
104
182
|
return {
|
|
105
183
|
machineId: overrides?.machineId ?? resolveMachineId(),
|
|
@@ -109,12 +187,14 @@ function detectMachineInfo(overrides) {
|
|
|
109
187
|
connectorVersion: CONNECTOR_VERSION,
|
|
110
188
|
capabilities: overrides?.capabilities ?? detectRuntimeCapabilities({
|
|
111
189
|
probeLaunchable: overrides?.probeLaunchable
|
|
112
|
-
})
|
|
190
|
+
}),
|
|
191
|
+
...overrides?.includeTelemetry === false ? {} : { telemetry: sampleMachineResourceTelemetry() }
|
|
113
192
|
};
|
|
114
193
|
}
|
|
115
194
|
|
|
116
195
|
export {
|
|
117
196
|
readExistingMachineId,
|
|
118
197
|
resolveMachineId,
|
|
198
|
+
sampleMachineResourceTelemetry,
|
|
119
199
|
detectMachineInfo
|
|
120
200
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
2
|
+
isRecord
|
|
3
|
+
} from "./chunk-KUG52IAP.js";
|
|
4
|
+
import {
|
|
5
|
+
buildEnvFromProfile,
|
|
6
|
+
loadProfileConfig
|
|
7
|
+
} from "./chunk-R5GO3YZP.js";
|
|
4
8
|
import {
|
|
5
9
|
writeOAuthCredential
|
|
6
10
|
} from "./chunk-G7Y4GXTY.js";
|
|
11
|
+
import {
|
|
12
|
+
toErrorMessage
|
|
13
|
+
} from "./chunk-HNMXYYJR.js";
|
|
7
14
|
import {
|
|
8
15
|
asTrimmedString
|
|
9
16
|
} from "./chunk-3EUW3WEO.js";
|
|
10
17
|
import {
|
|
11
18
|
asOptionalFiniteNumber
|
|
12
19
|
} from "./chunk-WWC7I6TA.js";
|
|
13
|
-
import {
|
|
14
|
-
isRecord
|
|
15
|
-
} from "./chunk-KUG52IAP.js";
|
|
16
|
-
import {
|
|
17
|
-
buildEnvFromProfile,
|
|
18
|
-
loadProfileConfig
|
|
19
|
-
} from "./chunk-R5GO3YZP.js";
|
|
20
20
|
import {
|
|
21
21
|
getCliLocale
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-M75RM77T.js";
|
|
23
23
|
|
|
24
24
|
// packages/cli/tui/wtAmbiguousWidth.ts
|
|
25
25
|
import fs from "node:fs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
markdownToSlate
|
|
3
3
|
} from "./chunk-WX266G2C.js";
|
|
4
|
+
import {
|
|
5
|
+
slateToRenderMarkdown
|
|
6
|
+
} from "./chunk-63W5N6P3.js";
|
|
4
7
|
import {
|
|
5
8
|
createEmptyParagraph,
|
|
6
9
|
extractMentionsFromSlate
|
|
7
10
|
} from "./chunk-AGIM7IMJ.js";
|
|
8
|
-
import {
|
|
9
|
-
slateToRenderMarkdown
|
|
10
|
-
} from "./chunk-63W5N6P3.js";
|
|
11
11
|
import {
|
|
12
12
|
toErrorMessage
|
|
13
13
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -329,7 +329,7 @@ async function readDocFunc(args, thunkApi) {
|
|
|
329
329
|
throw new Error(`\u65E0\u6548\u7684\u9875\u9762 ID: ${id}\u3002\u9875\u9762 ID \u901A\u5E38\u4EE5 "page-" \u5F00\u5934\u3002`);
|
|
330
330
|
}
|
|
331
331
|
try {
|
|
332
|
-
const { readAction } = await import("./read-
|
|
332
|
+
const { readAction } = await import("./read-D4WYJQJQ.js");
|
|
333
333
|
const pageData = await readAction({ dbKey: id }, thunkApi);
|
|
334
334
|
if (!pageData) {
|
|
335
335
|
throw new Error(`\u672A\u627E\u5230 ID \u4E3A ${id} \u7684\u9875\u9762\u3002`);
|