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
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
// packages/core/plainAsyncThunk.ts
|
|
2
|
+
function createPlainAsyncThunk(typePrefix, payloadCreator) {
|
|
3
|
+
return createActionAsyncThunk(typePrefix, payloadCreator);
|
|
4
|
+
}
|
|
5
|
+
var RejectWithValueSignal = class {
|
|
6
|
+
value;
|
|
7
|
+
constructor(value) {
|
|
8
|
+
this.value = value;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
var reqSeq = 0;
|
|
12
|
+
function makeActionCreator(type, status) {
|
|
13
|
+
const creator = (first, second, third) => {
|
|
14
|
+
if (status === "pending") {
|
|
15
|
+
return {
|
|
16
|
+
type,
|
|
17
|
+
payload: void 0,
|
|
18
|
+
meta: { requestId: first, arg: second, requestStatus: "pending" }
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
if (status === "fulfilled") {
|
|
22
|
+
return {
|
|
23
|
+
type,
|
|
24
|
+
payload: first,
|
|
25
|
+
meta: { requestId: second, arg: third, requestStatus: "fulfilled" }
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
type,
|
|
30
|
+
payload: third,
|
|
31
|
+
error: first instanceof Error ? { name: first.name, message: first.message, stack: first.stack } : first,
|
|
32
|
+
meta: { requestId: second, requestStatus: "rejected" }
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
creator.type = type;
|
|
36
|
+
creator.match = (action) => Boolean(action && typeof action === "object" && action.type === type);
|
|
37
|
+
return creator;
|
|
38
|
+
}
|
|
39
|
+
function createActionAsyncThunk(typePrefix, payloadCreator) {
|
|
40
|
+
const pending = makeActionCreator(`${typePrefix}/pending`, "pending");
|
|
41
|
+
const fulfilled = makeActionCreator(`${typePrefix}/fulfilled`, "fulfilled");
|
|
42
|
+
const rejected = makeActionCreator(`${typePrefix}/rejected`, "rejected");
|
|
43
|
+
const thunkCreator = (arg) => (dispatch, getState, extra) => {
|
|
44
|
+
const requestId = `req_${++reqSeq}`;
|
|
45
|
+
const controller = new AbortController();
|
|
46
|
+
const safeDispatch = (action) => {
|
|
47
|
+
if (typeof dispatch === "function") dispatch(action);
|
|
48
|
+
};
|
|
49
|
+
safeDispatch({
|
|
50
|
+
type: pending.type,
|
|
51
|
+
payload: void 0,
|
|
52
|
+
meta: { arg, requestId, requestStatus: "pending" }
|
|
53
|
+
});
|
|
54
|
+
let rejectedError;
|
|
55
|
+
let hasRejected = false;
|
|
56
|
+
let rawPromise;
|
|
57
|
+
try {
|
|
58
|
+
rawPromise = Promise.resolve(
|
|
59
|
+
payloadCreator(arg, {
|
|
60
|
+
dispatch,
|
|
61
|
+
getState,
|
|
62
|
+
extra,
|
|
63
|
+
signal: controller.signal,
|
|
64
|
+
rejectWithValue: (value) => new RejectWithValueSignal(value)
|
|
65
|
+
})
|
|
66
|
+
);
|
|
67
|
+
} catch (syncErr) {
|
|
68
|
+
rawPromise = Promise.reject(syncErr);
|
|
69
|
+
}
|
|
70
|
+
const promise = rawPromise.then(
|
|
71
|
+
(result) => {
|
|
72
|
+
if (result instanceof RejectWithValueSignal) {
|
|
73
|
+
hasRejected = true;
|
|
74
|
+
rejectedError = result.value;
|
|
75
|
+
const action2 = {
|
|
76
|
+
type: rejected.type,
|
|
77
|
+
payload: result.value,
|
|
78
|
+
error: { message: "Rejected" },
|
|
79
|
+
meta: {
|
|
80
|
+
arg,
|
|
81
|
+
requestId,
|
|
82
|
+
requestStatus: "rejected",
|
|
83
|
+
rejectedWithValue: true
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
safeDispatch(action2);
|
|
87
|
+
return action2;
|
|
88
|
+
}
|
|
89
|
+
const action = {
|
|
90
|
+
type: fulfilled.type,
|
|
91
|
+
payload: result,
|
|
92
|
+
meta: { arg, requestId, requestStatus: "fulfilled" }
|
|
93
|
+
};
|
|
94
|
+
safeDispatch(action);
|
|
95
|
+
return action;
|
|
96
|
+
},
|
|
97
|
+
(err) => {
|
|
98
|
+
hasRejected = true;
|
|
99
|
+
rejectedError = err;
|
|
100
|
+
const serializedError = err && typeof err === "object" ? {
|
|
101
|
+
name: err.name,
|
|
102
|
+
message: err.message ?? String(err),
|
|
103
|
+
stack: err.stack,
|
|
104
|
+
code: err.code
|
|
105
|
+
} : { message: String(err) };
|
|
106
|
+
const action = {
|
|
107
|
+
type: rejected.type,
|
|
108
|
+
payload: void 0,
|
|
109
|
+
error: serializedError,
|
|
110
|
+
meta: {
|
|
111
|
+
arg,
|
|
112
|
+
requestId,
|
|
113
|
+
requestStatus: "rejected",
|
|
114
|
+
rejectedWithValue: false
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
safeDispatch(action);
|
|
118
|
+
return action;
|
|
119
|
+
}
|
|
120
|
+
);
|
|
121
|
+
promise.unwrap = () => promise.then((action) => {
|
|
122
|
+
if (hasRejected || action?.meta?.requestStatus === "rejected") {
|
|
123
|
+
throw rejectedError ?? action?.payload ?? action?.error;
|
|
124
|
+
}
|
|
125
|
+
return action.payload;
|
|
126
|
+
});
|
|
127
|
+
promise.abort = (reason) => controller.abort(reason);
|
|
128
|
+
return promise;
|
|
129
|
+
};
|
|
130
|
+
thunkCreator.typePrefix = typePrefix;
|
|
131
|
+
thunkCreator.pending = pending;
|
|
132
|
+
thunkCreator.fulfilled = fulfilled;
|
|
133
|
+
thunkCreator.rejected = rejected;
|
|
134
|
+
return thunkCreator;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export {
|
|
138
|
+
createPlainAsyncThunk,
|
|
139
|
+
createActionAsyncThunk
|
|
140
|
+
};
|
|
@@ -1,21 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
deriveStateResident,
|
|
3
|
-
resolvePureVNextRuntime,
|
|
4
|
-
touchMemoryItemsInDb
|
|
5
|
-
} from "./chunk-WSQLCWLQ.js";
|
|
6
1
|
import {
|
|
7
2
|
listFavoriteAgentIdsAcrossServers,
|
|
8
3
|
listLocalCachedAgents,
|
|
9
4
|
listRemoteAgents,
|
|
10
5
|
listRemoteAgentsAcrossServers,
|
|
11
6
|
normalizeListedAgent
|
|
12
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WRHVVIGI.js";
|
|
13
8
|
import {
|
|
14
9
|
refreshSubscriptionQuotas
|
|
15
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5YI447UL.js";
|
|
16
11
|
import {
|
|
17
12
|
getReadableCliDb
|
|
18
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LRLLWD4P.js";
|
|
14
|
+
import {
|
|
15
|
+
deriveStateResident,
|
|
16
|
+
resolvePureVNextRuntime,
|
|
17
|
+
touchMemoryItemsInDb
|
|
18
|
+
} from "./chunk-YECCIUYU.js";
|
|
19
|
+
import {
|
|
20
|
+
resolveWorkContextAccess
|
|
21
|
+
} from "./chunk-IIRJ4P4I.js";
|
|
22
|
+
import {
|
|
23
|
+
isClosedWorkStatus,
|
|
24
|
+
isWorkContextState,
|
|
25
|
+
readWorkContexts
|
|
26
|
+
} from "./chunk-4INJGWE3.js";
|
|
19
27
|
import {
|
|
20
28
|
createCliLocalRuntimeAdapter,
|
|
21
29
|
detectCurrentMachineId,
|
|
@@ -28,7 +36,11 @@ import {
|
|
|
28
36
|
resolveAuthToken as resolveAuthToken2,
|
|
29
37
|
resolveBoundMachineId,
|
|
30
38
|
resolveFileWriteGateEnabled
|
|
31
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-ZZOXGB2Z.js";
|
|
40
|
+
import {
|
|
41
|
+
clearCredentialAvailability,
|
|
42
|
+
readEffectiveCredentialEntry
|
|
43
|
+
} from "./chunk-GIXWVN2W.js";
|
|
32
44
|
import {
|
|
33
45
|
boxGlyphs,
|
|
34
46
|
displayWidth,
|
|
@@ -38,11 +50,7 @@ import {
|
|
|
38
50
|
stripAnsi,
|
|
39
51
|
tokenizeAnsiLine,
|
|
40
52
|
visibleWidth
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import {
|
|
43
|
-
clearCredentialAvailability,
|
|
44
|
-
readEffectiveCredentialEntry
|
|
45
|
-
} from "./chunk-GIXWVN2W.js";
|
|
53
|
+
} from "./chunk-QY4NZCDA.js";
|
|
46
54
|
import {
|
|
47
55
|
rankMemoryCandidates,
|
|
48
56
|
recallMemoryVNextLocal
|
|
@@ -54,18 +62,6 @@ import {
|
|
|
54
62
|
emptyMemoryInjectionObservation,
|
|
55
63
|
estimateMemoryBlockTokens
|
|
56
64
|
} from "./chunk-PVFYPUIM.js";
|
|
57
|
-
import {
|
|
58
|
-
buildLegacyMemoryEvidence,
|
|
59
|
-
resolveLegacyMemoryPrincipal
|
|
60
|
-
} from "./chunk-QHEN7NZ7.js";
|
|
61
|
-
import {
|
|
62
|
-
resolveWorkContextAccess
|
|
63
|
-
} from "./chunk-IIRJ4P4I.js";
|
|
64
|
-
import {
|
|
65
|
-
isClosedWorkStatus,
|
|
66
|
-
isWorkContextState,
|
|
67
|
-
readWorkContexts
|
|
68
|
-
} from "./chunk-4INJGWE3.js";
|
|
69
65
|
import {
|
|
70
66
|
applyMemoryInterpreterMutation
|
|
71
67
|
} from "./chunk-2ZBPWX7N.js";
|
|
@@ -74,19 +70,23 @@ import {
|
|
|
74
70
|
loadMemoryVNextCatalog,
|
|
75
71
|
putMemoryEvidenceVNext
|
|
76
72
|
} from "./chunk-HHXF57CL.js";
|
|
73
|
+
import {
|
|
74
|
+
buildLegacyMemoryEvidence,
|
|
75
|
+
resolveLegacyMemoryPrincipal
|
|
76
|
+
} from "./chunk-QHEN7NZ7.js";
|
|
77
77
|
import {
|
|
78
78
|
extractGoogleValidationLink
|
|
79
79
|
} from "./chunk-BMQ2MJUK.js";
|
|
80
80
|
import {
|
|
81
81
|
resolveCliLocalRuntimeKeyCapability
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-YSYTCIFN.js";
|
|
83
83
|
import {
|
|
84
84
|
isCallerAtFreePoolTop
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-ZJACPM5O.js";
|
|
86
86
|
import {
|
|
87
87
|
parseUiCard,
|
|
88
88
|
uiCardFallback
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-XCPC4RXE.js";
|
|
90
90
|
import {
|
|
91
91
|
isGatewayHttpStatus
|
|
92
92
|
} from "./chunk-NF64D32W.js";
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
loadOwnerItemsFromDb,
|
|
98
98
|
parseUiAskChoiceContent,
|
|
99
99
|
resolveAgentMemoryPolicy
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-BUO76CEE.js";
|
|
101
101
|
import {
|
|
102
102
|
API_REPORTED_COST_MULTIPLIER,
|
|
103
103
|
estimateMessagesTokens,
|
|
@@ -108,35 +108,42 @@ import {
|
|
|
108
108
|
resolveOccupancy,
|
|
109
109
|
resolveOccupancyWindow,
|
|
110
110
|
withholdIfSecretLike
|
|
111
|
-
} from "./chunk-
|
|
112
|
-
import {
|
|
113
|
-
getDefaultCliLocalRuntimeDb
|
|
114
|
-
} from "./chunk-SARJZIGR.js";
|
|
115
|
-
import {
|
|
116
|
-
resolveMachineId
|
|
117
|
-
} from "./chunk-7LS5ATRP.js";
|
|
111
|
+
} from "./chunk-OV47NSYQ.js";
|
|
118
112
|
import {
|
|
119
113
|
readLiveDbRecordAfterTombstoneMerge
|
|
120
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-37DGW762.js";
|
|
121
115
|
import {
|
|
122
116
|
queryUserRecords,
|
|
123
117
|
readDbRecord
|
|
124
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-7K4J76JQ.js";
|
|
125
119
|
import {
|
|
126
120
|
isPlatformPaidAgentCall,
|
|
127
121
|
resolveEffectiveReasoningEffortOverride,
|
|
128
122
|
withReasoningEffortOverride
|
|
129
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-BWJLEN6X.js";
|
|
130
124
|
import {
|
|
131
125
|
isTransientFetchError
|
|
132
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-ADMRXWXJ.js";
|
|
127
|
+
import {
|
|
128
|
+
DialogTurnCommitError,
|
|
129
|
+
acquireLocalDialogTurnLease,
|
|
130
|
+
isDialogAuthorityProtectedStore,
|
|
131
|
+
resolveLocalDialogTurnAuthority,
|
|
132
|
+
sanitizeDialogTurnIdentifier
|
|
133
|
+
} from "./chunk-J44TXB4J.js";
|
|
134
|
+
import {
|
|
135
|
+
getDefaultCliLocalRuntimeDb
|
|
136
|
+
} from "./chunk-MI6HRMCK.js";
|
|
137
|
+
import {
|
|
138
|
+
resolveMachineId
|
|
139
|
+
} from "./chunk-QXHFIX7W.js";
|
|
133
140
|
import {
|
|
134
141
|
getRunResultHeaderMeta,
|
|
135
142
|
isHistoryIntegrityFailure,
|
|
136
143
|
recordRunResultHeaderMeta,
|
|
137
144
|
resolveResultServerMeta,
|
|
138
145
|
serverOriginForDialog
|
|
139
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-I5BYFTYK.js";
|
|
140
147
|
import {
|
|
141
148
|
formatAgentListCard,
|
|
142
149
|
formatFinishedRunCard,
|
|
@@ -148,21 +155,6 @@ import {
|
|
|
148
155
|
getAgentRunStatusIcon,
|
|
149
156
|
isAgentRunTerminalStatus
|
|
150
157
|
} from "./chunk-S25VJYXV.js";
|
|
151
|
-
import {
|
|
152
|
-
DialogTurnCommitError,
|
|
153
|
-
acquireLocalDialogTurnLease,
|
|
154
|
-
isDialogAuthorityProtectedStore,
|
|
155
|
-
resolveLocalDialogTurnAuthority,
|
|
156
|
-
sanitizeDialogTurnIdentifier
|
|
157
|
-
} from "./chunk-XUDXQT7R.js";
|
|
158
|
-
import {
|
|
159
|
-
isDialogTurnRef
|
|
160
|
-
} from "./chunk-EUHMI5KG.js";
|
|
161
|
-
import {
|
|
162
|
-
isCliAuthorityBrokerProtocolError,
|
|
163
|
-
isCliAuthorityBrokerTimeoutError,
|
|
164
|
-
isCliAuthorityBrokerUnavailableError
|
|
165
|
-
} from "./chunk-LPXBBC32.js";
|
|
166
158
|
import {
|
|
167
159
|
LOCAL_AGENT_CONFIG_MISSING_CODE,
|
|
168
160
|
LOCAL_TURN_ABORTED_CODE,
|
|
@@ -172,13 +164,13 @@ import {
|
|
|
172
164
|
markCliUserBatchPhase,
|
|
173
165
|
readActionGate,
|
|
174
166
|
registerDialogOwner
|
|
175
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-2R6M34JP.js";
|
|
176
168
|
import {
|
|
177
169
|
resolveAgentRuntimeConfigFromRecord
|
|
178
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-EZKIRVLJ.js";
|
|
179
171
|
import {
|
|
180
172
|
resolveAgentImageInputSupport
|
|
181
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-BAZCS5XG.js";
|
|
182
174
|
import {
|
|
183
175
|
createThinkParserState,
|
|
184
176
|
flushThinkParser,
|
|
@@ -200,61 +192,76 @@ import {
|
|
|
200
192
|
ATTACHMENT_PART_VERSION,
|
|
201
193
|
describeAttachmentForModel,
|
|
202
194
|
normalizeAttachmentPart
|
|
203
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-RYMLMTPZ.js";
|
|
204
196
|
import {
|
|
205
197
|
findCodexOAuthPinnedContextWindow,
|
|
206
198
|
isOAuthApiKeyRef,
|
|
207
199
|
normalizeUsage
|
|
208
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-ZCLSM5AK.js";
|
|
209
201
|
import {
|
|
210
202
|
clipCompactText
|
|
211
203
|
} from "./chunk-5MMAK75Q.js";
|
|
204
|
+
import {
|
|
205
|
+
compactWhitespace
|
|
206
|
+
} from "./chunk-DWLEOOGR.js";
|
|
212
207
|
import {
|
|
213
208
|
QUOTA_ERROR_PATTERNS
|
|
214
209
|
} from "./chunk-EWQ3HGNZ.js";
|
|
215
210
|
import {
|
|
216
211
|
estimateTokenCount
|
|
217
212
|
} from "./chunk-PSCNXBYA.js";
|
|
218
|
-
import {
|
|
219
|
-
compactWhitespace
|
|
220
|
-
} from "./chunk-DWLEOOGR.js";
|
|
221
|
-
import {
|
|
222
|
-
toErrorMessage
|
|
223
|
-
} from "./chunk-HNMXYYJR.js";
|
|
224
213
|
import {
|
|
225
214
|
isTombstoneRecord
|
|
226
215
|
} from "./chunk-BV3FLP2L.js";
|
|
227
|
-
import {
|
|
228
|
-
buildDialogKey,
|
|
229
|
-
dialogMessageKey,
|
|
230
|
-
ulid
|
|
231
|
-
} from "./chunk-OJKUU3LP.js";
|
|
232
216
|
import {
|
|
233
217
|
isBuiltinNoloAgentRef,
|
|
234
218
|
resolveLocalUserId
|
|
235
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-KGBASAB5.js";
|
|
236
220
|
import {
|
|
237
221
|
NOLO_DEFAULT_AGENT_KEY
|
|
238
222
|
} from "./chunk-BR3GT6MR.js";
|
|
239
|
-
import {
|
|
240
|
-
resolveClientVersion
|
|
241
|
-
} from "./chunk-O7ZY6SUK.js";
|
|
242
223
|
import {
|
|
243
224
|
BUILTIN_NOLO_AGENT_KEY,
|
|
244
225
|
BUILTIN_NOLO_AGENT_MODEL,
|
|
245
226
|
BUILTIN_NOLO_AGENT_NAME,
|
|
246
227
|
builtinAgentCatalogEntryById,
|
|
247
228
|
parseBuiltinPlatformAgentId
|
|
248
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-4DBTBNTX.js";
|
|
249
230
|
import {
|
|
250
231
|
parsePublicAgentId
|
|
251
232
|
} from "./chunk-M2EJHDJP.js";
|
|
252
233
|
import {
|
|
253
|
-
|
|
254
|
-
} from "./chunk-
|
|
234
|
+
resolveClientVersion
|
|
235
|
+
} from "./chunk-UYQILGDR.js";
|
|
255
236
|
import {
|
|
256
237
|
findModelConfig
|
|
257
238
|
} from "./chunk-RI7SXDJW.js";
|
|
239
|
+
import {
|
|
240
|
+
readPipeText,
|
|
241
|
+
spawnProcess
|
|
242
|
+
} from "./chunk-4O22PGNQ.js";
|
|
243
|
+
import {
|
|
244
|
+
CLIENT_VERSION_TOO_OLD_CODE,
|
|
245
|
+
NOLO_CLIENT_VERSION_HEADER,
|
|
246
|
+
buildClientVersionUpgradeMessage
|
|
247
|
+
} from "./chunk-G22P2J7O.js";
|
|
248
|
+
import {
|
|
249
|
+
asTrimmedLowercaseString
|
|
250
|
+
} from "./chunk-QSJ3HFEF.js";
|
|
251
|
+
import {
|
|
252
|
+
isDialogTurnRef
|
|
253
|
+
} from "./chunk-EUHMI5KG.js";
|
|
254
|
+
import {
|
|
255
|
+
toErrorMessage
|
|
256
|
+
} from "./chunk-HNMXYYJR.js";
|
|
257
|
+
import {
|
|
258
|
+
buildDialogKey,
|
|
259
|
+
dialogMessageKey,
|
|
260
|
+
ulid
|
|
261
|
+
} from "./chunk-OJKUU3LP.js";
|
|
262
|
+
import {
|
|
263
|
+
asTrimmedString
|
|
264
|
+
} from "./chunk-3EUW3WEO.js";
|
|
258
265
|
import {
|
|
259
266
|
getLogger,
|
|
260
267
|
normalizeError
|
|
@@ -264,14 +271,15 @@ import {
|
|
|
264
271
|
resolveAuthToken,
|
|
265
272
|
resolveServerCandidates,
|
|
266
273
|
resolveServerUrl
|
|
267
|
-
} from "./chunk-
|
|
274
|
+
} from "./chunk-2AJLG6PY.js";
|
|
275
|
+
import {
|
|
276
|
+
isCliAuthorityBrokerProtocolError,
|
|
277
|
+
isCliAuthorityBrokerTimeoutError,
|
|
278
|
+
isCliAuthorityBrokerUnavailableError
|
|
279
|
+
} from "./chunk-LPXBBC32.js";
|
|
268
280
|
import {
|
|
269
281
|
asOptionalTrimmedString
|
|
270
282
|
} from "./chunk-G3SUCT4W.js";
|
|
271
|
-
import {
|
|
272
|
-
readPipeText,
|
|
273
|
-
spawnProcess
|
|
274
|
-
} from "./chunk-4O22PGNQ.js";
|
|
275
283
|
import {
|
|
276
284
|
agentRunCardLabels,
|
|
277
285
|
getCliLocale,
|
|
@@ -282,15 +290,7 @@ import {
|
|
|
282
290
|
toolIcon,
|
|
283
291
|
toolLabel,
|
|
284
292
|
toolLabelVariants
|
|
285
|
-
} from "./chunk-
|
|
286
|
-
import {
|
|
287
|
-
CLIENT_VERSION_TOO_OLD_CODE,
|
|
288
|
-
NOLO_CLIENT_VERSION_HEADER,
|
|
289
|
-
buildClientVersionUpgradeMessage
|
|
290
|
-
} from "./chunk-G22P2J7O.js";
|
|
291
|
-
import {
|
|
292
|
-
asTrimmedLowercaseString
|
|
293
|
-
} from "./chunk-QSJ3HFEF.js";
|
|
293
|
+
} from "./chunk-M75RM77T.js";
|
|
294
294
|
|
|
295
295
|
// packages/cli/client/contextRefusal.ts
|
|
296
296
|
function contextRefusalDiagnostics(error) {
|
|
@@ -15935,7 +15935,7 @@ function isBalanceExhaustedError(error) {
|
|
|
15935
15935
|
|
|
15936
15936
|
// packages/cli/client/agentRun.ts
|
|
15937
15937
|
async function loadRunLocalAgentTurn() {
|
|
15938
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
15938
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-P4MMGIR6.js");
|
|
15939
15939
|
return runLocalAgentTurn;
|
|
15940
15940
|
}
|
|
15941
15941
|
var stripDebugNoise = (s) => s.replace(/\s*raw="[\s\S]*"/g, "").replace(/\s*raw=\S+/g, "").replace(/\s*headers=\[[^\]]*\]/g, "").replace(/\s*headers=\S+/g, "").trim();
|
|
@@ -8,6 +8,13 @@ import nacl from "tweetnacl";
|
|
|
8
8
|
// packages/core/authToken.ts
|
|
9
9
|
var parseToken = (token) => {
|
|
10
10
|
try {
|
|
11
|
+
if (token.startsWith("v2.")) {
|
|
12
|
+
const parts = token.split(".");
|
|
13
|
+
if (parts.length === 4 && parts[2]) {
|
|
14
|
+
return JSON.parse(Base64.decode(parts[2]));
|
|
15
|
+
}
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
11
18
|
const [payloadBase64] = token.split(".");
|
|
12
19
|
return JSON.parse(Base64.decode(payloadBase64));
|
|
13
20
|
} catch {
|
|
@@ -18,7 +25,14 @@ function parseAuthTokenPayloads(token) {
|
|
|
18
25
|
const trimmed = token.trim();
|
|
19
26
|
if (!trimmed) return [];
|
|
20
27
|
const rawParts = trimmed.split(".");
|
|
21
|
-
|
|
28
|
+
let candidates;
|
|
29
|
+
if (rawParts.length === 4 && rawParts[0] === "v2") {
|
|
30
|
+
candidates = [rawParts[2]];
|
|
31
|
+
} else if (rawParts.length >= 3) {
|
|
32
|
+
candidates = [rawParts[1], rawParts[0]];
|
|
33
|
+
} else {
|
|
34
|
+
candidates = [rawParts[0]];
|
|
35
|
+
}
|
|
22
36
|
const out = [];
|
|
23
37
|
for (const part of candidates) {
|
|
24
38
|
if (!part) continue;
|
|
@@ -34,11 +48,9 @@ function parseAuthTokenPayloads(token) {
|
|
|
34
48
|
}
|
|
35
49
|
function parseAuthTokenUserId(token, options) {
|
|
36
50
|
for (const payload of parseAuthTokenPayloads(token)) {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
if (options?.allowSub && typeof payload.sub === "string" && payload.sub.trim()) {
|
|
41
|
-
return payload.sub.trim();
|
|
51
|
+
const candidate = payload.userId ?? (options?.allowSub ? payload.sub : void 0);
|
|
52
|
+
if (typeof candidate === "string" && candidate.trim()) {
|
|
53
|
+
return candidate.trim();
|
|
42
54
|
}
|
|
43
55
|
}
|
|
44
56
|
return "";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
|
|
5
5
|
// packages/cli/agentCommandSupport.ts
|
|
6
6
|
async function getDefaultCliDb() {
|
|
7
|
-
const { getDefaultCliLocalRuntimeDb } = await import("./localRuntimeDb-
|
|
7
|
+
const { getDefaultCliLocalRuntimeDb } = await import("./localRuntimeDb-MM3DINZM.js");
|
|
8
8
|
return getDefaultCliLocalRuntimeDb();
|
|
9
9
|
}
|
|
10
10
|
function createNullCliDb() {
|
|
@@ -3948,14 +3948,23 @@ export {
|
|
|
3948
3948
|
getCliLocale,
|
|
3949
3949
|
setCliLocale,
|
|
3950
3950
|
initCliLocale,
|
|
3951
|
+
newlineHint,
|
|
3951
3952
|
dailyWelcomeTip,
|
|
3953
|
+
controlMessageStrings,
|
|
3954
|
+
STRINGS,
|
|
3952
3955
|
t,
|
|
3953
3956
|
toolLabel,
|
|
3957
|
+
TOOL_FAMILIES,
|
|
3958
|
+
DEFAULT_TOOL_ICON,
|
|
3959
|
+
toolNameWords,
|
|
3960
|
+
TOOL_FAMILY_RULES,
|
|
3954
3961
|
toolFamilyOf,
|
|
3955
3962
|
toolIcon,
|
|
3956
3963
|
toolFamilyOfIcon,
|
|
3957
3964
|
toolFamilyLabel,
|
|
3965
|
+
COMMAND_DESCRIPTIONS,
|
|
3958
3966
|
cliCommandDescription,
|
|
3959
3967
|
toolLabelVariants,
|
|
3968
|
+
agentRunStatusWord,
|
|
3960
3969
|
agentRunCardLabels
|
|
3961
3970
|
};
|
|
@@ -14,7 +14,7 @@ function buildCliLocalRuntimeDbEnv(env = process.env) {
|
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
async function getDefaultCliLocalRuntimeDb(options = {}) {
|
|
17
|
-
const { getDefaultCliLocalRuntimeDb: getAuthorityBackedDb } = await import("./localRuntimeAuthority-
|
|
17
|
+
const { getDefaultCliLocalRuntimeDb: getAuthorityBackedDb } = await import("./localRuntimeAuthority-Q5C2KWGF.js");
|
|
18
18
|
return getAuthorityBackedDb(options);
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -4,21 +4,25 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createLegacyServerDb
|
|
6
6
|
} from "./chunk-LOFRSJX2.js";
|
|
7
|
-
import {
|
|
8
|
-
MAX_AUTHORITY_BATCH_GET_KEYS,
|
|
9
|
-
authorityBacking,
|
|
10
|
-
compareUtf8Keys,
|
|
11
|
-
createLevelAuthorityStore
|
|
12
|
-
} from "./chunk-KGWE224L.js";
|
|
13
7
|
import {
|
|
14
8
|
Mutex
|
|
15
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PSJJBBWV.js";
|
|
10
|
+
import {
|
|
11
|
+
asTrimmedLowercaseString
|
|
12
|
+
} from "./chunk-QSJ3HFEF.js";
|
|
13
|
+
import {
|
|
14
|
+
compareUtf8Keys
|
|
15
|
+
} from "./chunk-3VXVE2LF.js";
|
|
16
16
|
import {
|
|
17
17
|
isDialogRecordKey
|
|
18
18
|
} from "./chunk-OJKUU3LP.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./chunk-
|
|
20
|
+
createLevelAuthorityStore
|
|
21
|
+
} from "./chunk-KJ4J2XQB.js";
|
|
22
|
+
import {
|
|
23
|
+
MAX_AUTHORITY_BATCH_GET_KEYS,
|
|
24
|
+
authorityBacking
|
|
25
|
+
} from "./chunk-WTIJKWCI.js";
|
|
22
26
|
|
|
23
27
|
// packages/core/runtimeRole.ts
|
|
24
28
|
var ROLE_ENV = "NOLO_SERVER_RUNTIME_ROLE";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
fnv1a32
|
|
3
|
+
} from "./chunk-UEILX4EV.js";
|
|
1
4
|
import {
|
|
2
5
|
noloDeleteRequest,
|
|
3
6
|
noloPatchRequest,
|
|
4
7
|
noloUploadRequest,
|
|
5
8
|
noloWriteRequest,
|
|
6
9
|
syncWithServers
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
fnv1a32
|
|
10
|
-
} from "./chunk-UEILX4EV.js";
|
|
10
|
+
} from "./chunk-YCITCYSJ.js";
|
|
11
11
|
import {
|
|
12
12
|
getRuntimeServerSnapshot,
|
|
13
13
|
normalizeAuthorityServerOrigin,
|
|
@@ -16,18 +16,21 @@ import {
|
|
|
16
16
|
selectIdentityToken,
|
|
17
17
|
selectIdentityUser,
|
|
18
18
|
selectIdentityUserId
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HI5RS2O4.js";
|
|
20
20
|
import {
|
|
21
21
|
getAllServers,
|
|
22
22
|
getIsDesktopApp,
|
|
23
23
|
googleSessionServer,
|
|
24
24
|
scopeGoogleSessionServers
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-K7HLFORE.js";
|
|
26
26
|
import {
|
|
27
27
|
getRecordTimestamp,
|
|
28
28
|
isTombstoneRecord,
|
|
29
29
|
shouldReplaceWithNextRecord
|
|
30
30
|
} from "./chunk-BV3FLP2L.js";
|
|
31
|
+
import {
|
|
32
|
+
isRecord
|
|
33
|
+
} from "./chunk-KUG52IAP.js";
|
|
31
34
|
import {
|
|
32
35
|
isTokenStatsKey
|
|
33
36
|
} from "./chunk-DLXL4NSL.js";
|
|
@@ -40,22 +43,19 @@ import {
|
|
|
40
43
|
import {
|
|
41
44
|
asOptionalPositiveFiniteNumber
|
|
42
45
|
} from "./chunk-U6VC4MU4.js";
|
|
43
|
-
import {
|
|
44
|
-
isRecord
|
|
45
|
-
} from "./chunk-KUG52IAP.js";
|
|
46
46
|
import {
|
|
47
47
|
SERVERS,
|
|
48
48
|
normalizeKnownServerOrigin
|
|
49
49
|
} from "./chunk-JKVOKKMQ.js";
|
|
50
|
-
import {
|
|
51
|
-
asOptionalTrimmedString
|
|
52
|
-
} from "./chunk-G3SUCT4W.js";
|
|
53
50
|
import {
|
|
54
51
|
isLocalServerUrl
|
|
55
52
|
} from "./chunk-4SN6J65J.js";
|
|
56
53
|
import {
|
|
57
54
|
normalizeServerOrigin
|
|
58
55
|
} from "./chunk-CF7PE763.js";
|
|
56
|
+
import {
|
|
57
|
+
asOptionalTrimmedString
|
|
58
|
+
} from "./chunk-G3SUCT4W.js";
|
|
59
59
|
import {
|
|
60
60
|
__toESM
|
|
61
61
|
} from "./chunk-U67V476Y.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_SELECTION_PRIORITY_INSTRUCTIONS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZV7ZY46L.js";
|
|
4
4
|
import {
|
|
5
5
|
DIFFICULTY_GRADING_ORDER,
|
|
6
6
|
DIFFICULTY_GRADING_TIERS,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-PSCNXBYA.js";
|
|
12
12
|
import {
|
|
13
13
|
WORKTREE_ISOLATION_PRELUDE
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HYCVEESH.js";
|
|
15
15
|
import {
|
|
16
16
|
canonicalizeToolNames
|
|
17
17
|
} from "./chunk-HJTI7RZV.js";
|