nolo-cli 0.107.0-alpha.4 → 0.107.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/README.md +1 -1
- package/{_executeModel-UDCSOTD2.js → _executeModel-M573MKVE.js} +78 -70
- package/action-GVA5ARSJ.js +20 -0
- package/{addContentAction-MB2HHMDZ.js → addContentAction-M2WOWZCL.js} +13 -12
- package/{addDialogAgentAction-MCEABSBA.js → addDialogAgentAction-QMAQ5Z6N.js} +19 -20
- package/{agentDeleteCommand-OWYHN6D6.js → agentDeleteCommand-ZFHYRHBS.js} +118 -43
- package/{agentEmailCommands-AU5I4M4W.js → agentEmailCommands-X6AVPIVQ.js} +100 -90
- package/agentListCommands-PAD2CI2I.js +741 -0
- package/{agentMachineCommands-YMNME2L6.js → agentMachineCommands-UPH6RJCC.js} +50 -46
- package/{agentProviderCommands-GNPTL5XR.js → agentProviderCommands-CMVTBY5X.js} +97 -2
- package/{agentPullCommand-O5MPVJ5E.js → agentPullCommand-B4T2DJ5H.js} +1 -1
- package/agentRecordCommands-UMACPRAF.js +138 -0
- package/agentRunCommand-H6KKHHMU.js +167 -0
- package/{agentRunControl-AVJR4JW4.js → agentRunControl-3HWA2LLQ.js} +2 -2
- package/{agentRuntimeLocal-KCMC2TBD.js → agentRuntimeLocal-N4YGKL7M.js} +44 -40
- package/{agentSlice-R7PR6KYM.js → agentSlice-2LPP43XH.js} +15 -14
- package/{appDeleteCommands-JEPA3EWE.js → appDeleteCommands-7DAF33AM.js} +46 -42
- package/{appDeployCommands-UTB76XFM.js → appDeployCommands-ZPZSMFGZ.js} +46 -42
- package/{appDeployStatusCommands-LGHF2SBD.js → appDeployStatusCommands-FWBDSSS5.js} +46 -42
- package/{appGetCommands-PX2BFHOB.js → appGetCommands-SZZOHGEP.js} +46 -42
- package/{appListCommands-BSMPTWKC.js → appListCommands-FPMUBDPM.js} +46 -42
- package/{authCommand-YW42YZA4.js → authCommand-VL3G26NQ.js} +119 -25
- package/{authCommands-RGOGCPP6.js → authCommands-5RTUDYZW.js} +7 -5
- package/{builtinSkillRegistry-FUAVTRVZ.js → builtinSkillRegistry-ZK4K67Y5.js} +11 -9
- package/{chromeCommands-FZYAU75D.js → chromeCommands-AU5ZJXBG.js} +289 -37
- package/{chromeOpsCommands-62P2Q2YB.js → chromeOpsCommands-ZYTCMNHG.js} +156 -22
- package/{chunk-JEDZAO7L.js → chunk-2SYTUTLI.js} +257 -37
- package/{chunk-HVURBGF3.js → chunk-2U3NHADM.js} +6 -6
- package/{chunk-QTGQ2LTL.js → chunk-3DQY5IFB.js} +6 -10
- package/{chunk-XT35TTFG.js → chunk-3IXAHOJS.js} +19 -21
- package/{chunk-UVA7OYO3.js → chunk-3W67RV75.js} +29 -9
- package/chunk-4LCOCOR5.js +50 -0
- package/{chunk-JPGCXHNM.js → chunk-4LKMZ3RR.js} +1 -1
- package/{chunk-2GRGFCF6.js → chunk-4VJAC32I.js} +2 -1
- package/{chunk-6D6VBVEW.js → chunk-4W24JM32.js} +80 -14
- package/{chunk-MC4XLIJ7.js → chunk-523DITKR.js} +1 -1
- package/{chunk-E4MARS3Q.js → chunk-5GVBDNTO.js} +1 -1
- package/{chunk-C3M4465B.js → chunk-5HYJ3DSZ.js} +404 -659
- package/chunk-5MMAK75Q.js +15 -0
- package/{chunk-7S4YWN7P.js → chunk-5UUIGN6I.js} +4 -4
- package/{chunk-42V6BK2E.js → chunk-62IL3KQV.js} +4 -34
- package/{chunk-4MK3I7Y4.js → chunk-6MAW4XOF.js} +5 -5
- package/{chunk-3UZPUAES.js → chunk-74PPKIY2.js} +1 -1
- package/chunk-76HO2DP6.js +15 -0
- package/{chunk-ASIFZ2WY.js → chunk-7BBP7ZX3.js} +66 -54
- package/{chunk-VLTIYV3X.js → chunk-7I25CBT5.js} +34 -8
- package/{chunk-IBOZNTG2.js → chunk-7X5XZ34C.js} +23 -28
- package/chunk-AGIM7IMJ.js +147 -0
- package/{chunk-5UTFL4QJ.js → chunk-APO5TOXO.js} +1 -1
- package/{chunk-EEGDMATE.js → chunk-AZOVPTL6.js} +91 -81
- package/{chunk-6OZ36FXI.js → chunk-BIPGGSJS.js} +22 -4
- package/{chunk-EYAQT56M.js → chunk-BNQMNUKZ.js} +9 -6
- package/{chunk-62CATUYY.js → chunk-CBUMFIFE.js} +834 -962
- package/{chunk-OIVSQH2O.js → chunk-CDEEFJXN.js} +308 -11
- package/chunk-CHOZJMJS.js +78 -0
- package/{chunk-ETI2NYVF.js → chunk-CIP3AAMT.js} +4 -4
- package/{chunk-GBRG75BQ.js → chunk-D2MDMY2M.js} +1 -0
- package/{chunk-W7HLWAQ7.js → chunk-DE45KZNH.js} +118 -90
- package/{chunk-Q554LLSI.js → chunk-DMXLXZKL.js} +1 -1
- package/{chunk-3VNWWVKB.js → chunk-E3YWHWCR.js} +50 -18
- package/{chunk-HKNXJGEC.js → chunk-ECFHBYUW.js} +85 -50
- package/{chunk-ACTMNVHM.js → chunk-EHSYSKXV.js} +1 -1
- package/{chunk-WV42OMV7.js → chunk-ELUDRSRD.js} +8 -8
- package/{chunk-ABQYVJBJ.js → chunk-EV235ILT.js} +5 -5
- package/{chunk-TRV2MIDW.js → chunk-EXAJ6DCR.js} +1 -0
- package/{chunk-BFDFRLLQ.js → chunk-EZ4VZHAG.js} +5 -5
- package/{chunk-GO3Z72MT.js → chunk-FHLMQIU7.js} +65 -95
- package/{chunk-2F7RJC6L.js → chunk-FOXQ7BAB.js} +1 -1
- package/{chunk-SH43IESU.js → chunk-GGC55Q32.js} +199 -29
- package/chunk-GMZLP5DV.js +82 -0
- package/{chunk-FDTR4QJ6.js → chunk-H6A6X4EK.js} +32 -1
- package/{chunk-DVINR3PL.js → chunk-HDLLCBRF.js} +1 -1
- package/{chunk-QOKAKDPE.js → chunk-HIM3FCLF.js} +0 -1
- package/{chunk-ONXOABJR.js → chunk-HNGRBWYF.js} +3 -0
- package/{chunk-BNGW5ASC.js → chunk-I2RGRVQ7.js} +22 -2
- package/{chunk-O6OSWFZQ.js → chunk-IHPDK6UD.js} +6 -0
- package/{chunk-QDSINZM3.js → chunk-IXH3HKY2.js} +1 -22
- package/{chunk-GQBOR3G6.js → chunk-JBKHQOYK.js} +8 -4
- package/{chunk-XD2MJFUG.js → chunk-JEFXP73H.js} +1 -1
- package/{chunk-PBA4UJBK.js → chunk-JIXGJTBU.js} +4 -4
- package/{chunk-AEOE4Z6Q.js → chunk-K6L5PNXK.js} +39 -15
- package/{chunk-Z77CRGTW.js → chunk-KA5O5KQL.js} +1 -1
- package/{chunk-GPCZ7UXG.js → chunk-KD6D6BLA.js} +1 -1
- package/{chunk-4CR5I7BD.js → chunk-KFWDYYSS.js} +47 -67
- package/{chunk-UZGQNTVW.js → chunk-KHKTDMYG.js} +8 -6
- package/{chunk-JDPFV2JV.js → chunk-KWUKOQM2.js} +20 -11
- package/{chunk-MRIHM22T.js → chunk-LBFL6RZG.js} +58 -9
- package/{chunk-LS2ZANRJ.js → chunk-LOCNXNOU.js} +1 -1
- package/{chunk-DHDMC6FO.js → chunk-LUBFABMJ.js} +15 -14
- package/{chunk-NA35QHCF.js → chunk-LVBFKW65.js} +1 -1
- package/chunk-LWLNLZC5.js +265 -0
- package/chunk-N4NGJDT6.js +929 -0
- package/{chunk-BFU6C242.js → chunk-NMFV26UG.js} +1 -1
- package/{chunk-FZGV4FGK.js → chunk-NUHHBEJC.js} +378 -187
- package/chunk-NWENLDMM.js +42 -0
- package/chunk-O7SVKKLY.js +875 -0
- package/chunk-OCZKATRC.js +129 -0
- package/{chunk-6Z7MY3V7.js → chunk-OEJLGVBL.js} +5 -5
- package/{chunk-VMFTFOWF.js → chunk-OKGVNZTL.js} +35 -8
- package/{chunk-GEPUP7OO.js → chunk-OR2UWD6X.js} +3 -3
- package/{chunk-KQHGZWSV.js → chunk-OXME3PEE.js} +1 -1
- package/{chunk-J4MOO56S.js → chunk-PNXHPLRU.js} +10 -2
- package/{chunk-3BMYXEUW.js → chunk-R5AJODNI.js} +1 -1
- package/{chunk-P5EVSOPA.js → chunk-R6EBQEQE.js} +22 -29
- package/chunk-RQ6CTX2E.js +164 -0
- package/{chunk-MS7TSPZR.js → chunk-RU36ZYSG.js} +19 -17
- package/{chunk-ALXHV7NK.js → chunk-RWXLPUKI.js} +40 -4
- package/{chunk-KQ4ONNQD.js → chunk-RXA3HAVW.js} +190 -8
- package/{chunk-IIVGDG4I.js → chunk-SJKULPGX.js} +13 -7
- package/{chunk-Q67DOFOO.js → chunk-SZC4REES.js} +212 -105
- package/{chunk-JRQFUXY7.js → chunk-TBAXFWOS.js} +99 -22
- package/{chunk-PQFHGD77.js → chunk-TBM2RS3U.js} +161 -14
- package/{chunk-NOF3HDSN.js → chunk-TFOIJFCM.js} +11 -9
- package/{chunk-BYMV6QZG.js → chunk-TNIX77YM.js} +4 -0
- package/chunk-TY3TIUJK.js +89 -0
- package/{chunk-I3TQJXQ7.js → chunk-U3C3IA32.js} +9 -2
- package/{chunk-YYLHWIW6.js → chunk-UKZX3NHN.js} +1 -1
- package/chunk-UM7TA3K4.js +1008 -0
- package/{chunk-6YTOJY35.js → chunk-VBG7GWWR.js} +253 -8
- package/{chunk-GL3EHUR4.js → chunk-VHGYUYQ3.js} +69 -47
- package/chunk-VIWDGTDA.js +8 -0
- package/chunk-VJVNU77E.js +83 -0
- package/chunk-VM6IE2GN.js +8004 -0
- package/{chunk-UKWGR5SS.js → chunk-VY6VFGKR.js} +194 -1144
- package/chunk-VZLO4XJD.js +17 -0
- package/chunk-W32HPLTL.js +13692 -0
- package/{chunk-AHAHBQMU.js → chunk-WDLSZMTA.js} +2 -2
- package/{chunk-53HEEOTT.js → chunk-WF5X57VW.js} +83 -16
- package/{chunk-VRTTFDBM.js → chunk-WPHY3VPF.js} +35 -22
- package/{chunk-3L2WKC3W.js → chunk-XPWGOTBQ.js} +8 -1
- package/chunk-YV25TM3R.js +780 -0
- package/chunk-ZRAU6T47.js +56 -0
- package/{chunk-IBOOZVVD.js → chunk-ZTKZZY2A.js} +851 -279
- package/commandRegistry-ASW6IVZ3.js +833 -0
- package/{contentThunks-IV2T3EJC.js → contentThunks-4XNVOIR7.js} +39 -36
- package/{cooldownCommands-REAWYVTY.js → cooldownCommands-ZLEPIB4A.js} +2 -2
- package/{createAgentAutomationAction-JCOIEYY4.js → createAgentAutomationAction-NHHTCJMC.js} +40 -37
- package/createDialogAction-XEBTHDB3.js +70 -0
- package/{createPageAction-D2VOOLP3.js → createPageAction-VR3WW2AQ.js} +47 -43
- package/{chunk-FG3HKPQP.js → cursorProvider-YGGNMVWX.js} +2751 -10185
- package/{dbSlice-A6C6H32X.js → dbSlice-TG4MZ5EB.js} +12 -11
- package/{deleteFile-YG6QMJLU.js → deleteFile-KESP65GC.js} +7 -6
- package/{dialogCommands-H7FPUYUQ.js → dialogCommands-FJWQG3MX.js} +50 -47
- package/{dialogSlice-6JZOOTDS.js → dialogSlice-GVRDGCRG.js} +57 -37
- package/{dist-VODFSGNG.js → dist-NJC2W7I4.js} +61 -54
- package/{docCreateCommands-WRG2JLGM.js → docCreateCommands-AZSK4NAG.js} +48 -44
- package/{docDeleteCommands-SHWJIBJS.js → docDeleteCommands-DDJMSMFZ.js} +49 -45
- package/{docReadCommands-WJN3WT6O.js → docReadCommands-5F5Q6EBZ.js} +47 -43
- package/{docStore-HUPQ2FSS.js → docStore-SUZUUWDI.js} +17 -13
- package/{docUpdateCommands-IE32IL6O.js → docUpdateCommands-XPNPVZOC.js} +48 -44
- package/{fetchMessages-EIU7UFFK.js → fetchMessages-3PXAHKCR.js} +5 -5
- package/{getPricing-LUSEABA6.js → getPricing-DOBBZLOK.js} +4 -4
- package/{handleSendMessageAction-DFPMQ7YM.js → handleSendMessageAction-VC6VTFKS.js} +109 -42
- package/index.js +87 -884
- package/{lib-FRRS27KN.js → lib-PU2G2MSO.js} +523 -191
- package/{localDialogRead-BTFJ4V2I.js → localDialogRead-UYCKO7YZ.js} +2 -2
- package/{localRuntimeAuthority-6IR6BBXE.js → localRuntimeAuthority-TU6OBC76.js} +9 -6
- package/{localRuntimeDb-SYQGUF4U.js → localRuntimeDb-VKWVOPPI.js} +1 -1
- package/{machineCommands-M2T2I5NF.js → machineCommands-M634V2L3.js} +98 -89
- package/machineWsRunDispatch-Z3HUSTFI.js +154 -0
- package/{memberThunks-P2ECUJ56.js → memberThunks-5S5D3N4U.js} +20 -18
- package/{models-T3SG6MJ5.js → models-PQU25T6Q.js} +2 -2
- package/oauthTokenStore-ITEB663N.js +23 -0
- package/package.json +1 -1
- package/processSpawn-SOAV3FEV.js +11 -0
- package/profileConfig-ZGOFORWV.js +43 -0
- package/{providerPresetApply-FG6NZ57W.js → providerPresetApply-HAQWVAQX.js} +7 -7
- package/{providerRegistry-757OWH3O.js → providerRegistry-5FGWB3X5.js} +11 -7
- package/{read-COE3ZYR6.js → read-LSYFLSIM.js} +8 -7
- package/{readDocTool-5USN4A6V.js → readDocTool-XWRXV3DR.js} +5 -3
- package/{readlineWorkspace-XQRDGWRZ.js → readlineWorkspace-J3YD3DNW.js} +2596 -2032
- package/{removeDialogAgentAction-J6X5QMTA.js → removeDialogAgentAction-4TEFC3VL.js} +22 -26
- package/{runAgentClientLoop-5ZA62FBA.js → runAgentClientLoop-APSMCLAF.js} +79 -72
- package/{runtimeDoctorCommands-X6WDBEQX.js → runtimeDoctorCommands-PIVSBZRZ.js} +4 -4
- package/runtimeModeArgs-2Y7BALTO.js +31 -0
- package/{setDialogExtraReferencesAction-WX5VTY6O.js → setDialogExtraReferencesAction-LSEN44OY.js} +16 -14
- package/{setPrimaryDialogAgentAction-FN22THHT.js → setPrimaryDialogAgentAction-SR366X5A.js} +23 -27
- package/{chunk-GP5LKBUZ.js → settingThunks-CTVPPGIN.js} +226 -940
- package/{skillDiscovery-CYUCJMAG.js → skillDiscovery-ZBU76COE.js} +3 -3
- package/{slateUtils-RIZES3PV.js → slateUtils-NGV2NMKM.js} +1 -1
- package/{spaceCommands-5GLCWZPO.js → spaceCommands-3UK63WPE.js} +51 -47
- package/{streamAgentChatTurn-6UZJMYRB.js → streamAgentChatTurn-DNY2PSRW.js} +215 -115
- package/{switchDialogAgentAction-LVTEV3FR.js → switchDialogAgentAction-M6NAFOOU.js} +19 -20
- package/{tableCommands-O6NWHFKV.js → tableCommands-6U4BMLRR.js} +10 -10
- package/{toolApiClient-QVJ6HDNN.js → toolApiClient-AD7CXTA4.js} +4 -3
- package/tools-X5UWATZK.js +117 -0
- package/{tuiSummaryLlmCaller-OHHFTHMG.js → tuiSummaryLlmCaller-DEH7ZEM6.js} +25 -23
- package/{updateCommands-2M74UL7P.js → updateCommands-4EHDLF5J.js} +3 -3
- package/{updateDialogTitleAction-QTKNIURB.js → updateDialogTitleAction-YSY5BF5A.js} +84 -45
- package/action-P4TNFGAD.js +0 -31
- package/agentListCommands-B2V4YAC4.js +0 -410
- package/agentRecordCommands-G4KK4R7H.js +0 -128
- package/agentRunCommand-UTZJA23G.js +0 -156
- package/browser-image-compression-MFDTD7K6.js +0 -1763
- package/chatQueueReduxAdapter-2P6NFX64.js +0 -186
- package/chunk-CQ3WA2NE.js +0 -299
- package/chunk-M76ECQRD.js +0 -13658
- package/chunk-MEYIRKDN.js +0 -8967
- package/chunk-PUOC4YRO.js +0 -394
- package/chunk-Q5FJJ6XI.js +0 -103
- package/chunk-S7Z2HMCN.js +0 -25
- package/chunk-T75QD6AB.js +0 -20923
- package/chunk-Y5GCAMGP.js +0 -9
- package/chunk-YPREESF4.js +0 -225
- package/createDialogAction-NGG7YVNU.js +0 -65
- package/machineWsRunDispatch-ISBKOOD7.js +0 -144
- package/settingSlice-P4ZW7K5X.js +0 -204
- package/syncMapping-N6RGXGBW.js +0 -437
- package/tools-KMGFWO43.js +0 -110
- package/{chunk-X7HHHIOZ.js → chunk-Y6ROFCZO.js} +0 -0
- package/{db-WK5MDZVN.js → db-VQSAOWAO.js} +1 -1
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
scanValidationDetails
|
|
3
3
|
} from "./chunk-BMQ2MJUK.js";
|
|
4
|
+
import {
|
|
5
|
+
CONTEXT_OVERFLOW_ACTIONS,
|
|
6
|
+
CONTEXT_TOO_LARGE_ACTIONS,
|
|
7
|
+
isContextOverflowText
|
|
8
|
+
} from "./chunk-OCZKATRC.js";
|
|
4
9
|
import {
|
|
5
10
|
waitForAbortableDelay
|
|
6
11
|
} from "./chunk-N4G4PKQ6.js";
|
|
@@ -9,66 +14,70 @@ import {
|
|
|
9
14
|
prepareAndPersistUserMessage,
|
|
10
15
|
resolveHandleSendMessageContext,
|
|
11
16
|
selectAllMsgs
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-W32HPLTL.js";
|
|
18
|
+
import "./chunk-UKZX3NHN.js";
|
|
19
|
+
import "./chunk-R5AJODNI.js";
|
|
20
|
+
import "./chunk-523DITKR.js";
|
|
16
21
|
import "./chunk-AGGIDPCZ.js";
|
|
22
|
+
import "./chunk-VZLO4XJD.js";
|
|
17
23
|
import {
|
|
18
24
|
streamAgentChatTurn
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-TFOIJFCM.js";
|
|
26
|
+
import "./chunk-EZ4VZHAG.js";
|
|
21
27
|
import "./chunk-5RGU3J7P.js";
|
|
22
28
|
import {
|
|
23
29
|
addActiveController,
|
|
24
30
|
getActiveDialogKey,
|
|
25
31
|
removeActiveController
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-VBG7GWWR.js";
|
|
33
|
+
import "./chunk-4LCOCOR5.js";
|
|
28
34
|
import "./chunk-YDH3FDFQ.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-5UUIGN6I.js";
|
|
36
|
+
import "./chunk-76HO2DP6.js";
|
|
37
|
+
import "./chunk-ECFHBYUW.js";
|
|
38
|
+
import "./chunk-R6EBQEQE.js";
|
|
39
|
+
import "./chunk-5MMAK75Q.js";
|
|
33
40
|
import "./chunk-BYXBJQAS.js";
|
|
34
|
-
import "./chunk-OIVSQH2O.js";
|
|
35
41
|
import "./chunk-DWLEOOGR.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-ONXOABJR.js";
|
|
38
|
-
import "./chunk-W7XHHYWM.js";
|
|
39
|
-
import "./chunk-HNMXYYJR.js";
|
|
40
|
-
import "./chunk-7S4YWN7P.js";
|
|
41
|
-
import "./chunk-ACTMNVHM.js";
|
|
42
|
-
import "./chunk-Q67DOFOO.js";
|
|
43
|
-
import "./chunk-GP5LKBUZ.js";
|
|
44
|
-
import "./chunk-Y5GCAMGP.js";
|
|
45
|
-
import "./chunk-QDSINZM3.js";
|
|
42
|
+
import "./chunk-2U3NHADM.js";
|
|
46
43
|
import "./chunk-KX6YBIHG.js";
|
|
47
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-PSCNXBYA.js";
|
|
45
|
+
import "./chunk-WDLSZMTA.js";
|
|
48
46
|
import "./chunk-UAD2WT54.js";
|
|
49
47
|
import {
|
|
50
48
|
readAndWait,
|
|
51
49
|
selectById
|
|
52
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-WPHY3VPF.js";
|
|
51
|
+
import "./chunk-EV235ILT.js";
|
|
52
|
+
import "./chunk-HNGRBWYF.js";
|
|
53
|
+
import "./chunk-JBKHQOYK.js";
|
|
54
|
+
import "./chunk-CDEEFJXN.js";
|
|
55
|
+
import "./chunk-W7XHHYWM.js";
|
|
56
|
+
import "./chunk-HNMXYYJR.js";
|
|
57
|
+
import "./chunk-EHSYSKXV.js";
|
|
53
58
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-WWC7I6TA.js";
|
|
57
|
-
import "./chunk-ABQYVJBJ.js";
|
|
59
|
+
PLATFORM_LLM_BUSY_USER_MESSAGE
|
|
60
|
+
} from "./chunk-SZC4REES.js";
|
|
58
61
|
import "./chunk-QSJ3HFEF.js";
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-ELUDRSRD.js";
|
|
63
|
+
import "./chunk-O7SVKKLY.js";
|
|
64
|
+
import "./chunk-D2MDMY2M.js";
|
|
65
|
+
import "./chunk-I2RGRVQ7.js";
|
|
61
66
|
import {
|
|
62
67
|
extractCustomId
|
|
63
68
|
} from "./chunk-M2EJHDJP.js";
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-KUG52IAP.js";
|
|
70
|
+
import "./chunk-NWENLDMM.js";
|
|
71
|
+
import {
|
|
72
|
+
createDialogMessageKeyAndId
|
|
73
|
+
} from "./chunk-OKGVNZTL.js";
|
|
74
|
+
import "./chunk-WWC7I6TA.js";
|
|
75
|
+
import "./chunk-VY6VFGKR.js";
|
|
76
|
+
import "./chunk-HIM3FCLF.js";
|
|
66
77
|
import "./chunk-OW765XBU.js";
|
|
67
78
|
import "./chunk-SEJ5OS6F.js";
|
|
68
|
-
import "./chunk-GBRG75BQ.js";
|
|
69
|
-
import "./chunk-KUG52IAP.js";
|
|
70
|
-
import "./chunk-3EUW3WEO.js";
|
|
71
79
|
import "./chunk-U6VC4MU4.js";
|
|
80
|
+
import "./chunk-3EUW3WEO.js";
|
|
72
81
|
import "./chunk-LCBAMY2M.js";
|
|
73
82
|
import "./chunk-4SN6J65J.js";
|
|
74
83
|
import "./chunk-CF7PE763.js";
|
|
@@ -176,15 +185,48 @@ function parseSendError(errorInput) {
|
|
|
176
185
|
domain = first ? asString(first.domain) : void 0;
|
|
177
186
|
}
|
|
178
187
|
const stage = resolveErrorStage(fullErrorText);
|
|
188
|
+
const inputRecord = asRecord(errorInput);
|
|
189
|
+
const authCode = asString(inputRecord?.authCode) ?? asString(inputRecord?.code);
|
|
190
|
+
const hasPlatformAuthCode = /^AUTH_[A-Z0-9_]+$/.test(authCode ?? "") || /\bAUTH_[A-Z0-9_]+\b/.test(fullErrorText);
|
|
191
|
+
const isPlatformProviderFailure = /\bplatform provider failed\b/i.test(fullErrorText);
|
|
192
|
+
const isLoginStatus = statusCode === void 0 || statusCode === 401;
|
|
193
|
+
const requiresLogin = isLoginStatus && !url && !/validation_required|api[_ -]?key/i.test(fullErrorText) && (hasPlatformAuthCode || isPlatformProviderFailure && statusCode === 401);
|
|
194
|
+
if (requiresLogin) {
|
|
195
|
+
return {
|
|
196
|
+
kind: "auth",
|
|
197
|
+
retryable: false,
|
|
198
|
+
stage,
|
|
199
|
+
summary: "\u9700\u8981\u767B\u5F55",
|
|
200
|
+
actionHint: "\u672A\u68C0\u6D4B\u5230\u767B\u5F55\u72B6\u6001\uFF0C\u8BF7\u5148\u767B\u5F55",
|
|
201
|
+
extraLinks: [{ text: "\u53BB\u767B\u5F55", url: "/login" }]
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
const isPlatformBusy = fullErrorText.includes(PLATFORM_LLM_BUSY_USER_MESSAGE) || /PLATFORM_LLM_BUSY/i.test(fullErrorText);
|
|
205
|
+
const busyUpstreamDetail = fullErrorText.match(
|
|
206
|
+
/nolo\s+(?:HTTP\s*\d{3}|[A-Za-z]+Error)/
|
|
207
|
+
)?.[0];
|
|
179
208
|
let kind = "unknown";
|
|
180
209
|
let retryable = true;
|
|
181
210
|
const isLocalConnRefused = /ECONNREFUSED/i.test(fullErrorText) && (/127\.0\.0\.1/i.test(fullErrorText) || /localhost/i.test(fullErrorText));
|
|
182
211
|
const hasExplicitAuthKeywords = /unauthorized|unauthenticated|permission_denied|validation_required|invalid_api_key|api key not found|authentication error|forbidden/i.test(
|
|
183
212
|
fullErrorText
|
|
184
213
|
);
|
|
185
|
-
|
|
214
|
+
const isContextOverflow = isContextOverflowText(fullErrorText);
|
|
215
|
+
let contextActions;
|
|
216
|
+
if (isContextOverflow) {
|
|
217
|
+
kind = "context_overflow";
|
|
218
|
+
retryable = true;
|
|
219
|
+
contextActions = [...CONTEXT_OVERFLOW_ACTIONS];
|
|
220
|
+
} else if (isPlatformBusy) {
|
|
221
|
+
kind = "server";
|
|
222
|
+
retryable = true;
|
|
223
|
+
} else if (statusCode === 429) {
|
|
186
224
|
kind = "rate_limit";
|
|
187
225
|
retryable = true;
|
|
226
|
+
} else if (statusCode === 413) {
|
|
227
|
+
kind = "context_too_large";
|
|
228
|
+
retryable = true;
|
|
229
|
+
contextActions = [...CONTEXT_TOO_LARGE_ACTIONS];
|
|
188
230
|
} else if (statusCode === 401 || statusCode === 403 || hasExplicitAuthKeywords) {
|
|
189
231
|
kind = "auth";
|
|
190
232
|
retryable = false;
|
|
@@ -242,7 +284,15 @@ function parseSendError(errorInput) {
|
|
|
242
284
|
parts.push(`\u8BA4\u8BC1\u6216\u6743\u9650\u6821\u9A8C\u5931\u8D25${status ? ` (HTTP ${status})` : ""}`);
|
|
243
285
|
break;
|
|
244
286
|
case "server":
|
|
245
|
-
parts.push(
|
|
287
|
+
parts.push(
|
|
288
|
+
isPlatformBusy ? `\u5E73\u53F0\u670D\u52A1\u7E41\u5FD9${busyUpstreamDetail ? `\uFF08\u4E0A\u6E38 ${busyUpstreamDetail}\uFF09` : ""}` : `\u670D\u52A1\u6682\u65F6\u4E0D\u53EF\u7528${status ? ` (HTTP ${status})` : ""}`
|
|
289
|
+
);
|
|
290
|
+
break;
|
|
291
|
+
case "context_overflow":
|
|
292
|
+
parts.push(`\u4E0A\u4E0B\u6587\u8D85\u51FA\u6A21\u578B\u7A97\u53E3${status ? ` (HTTP ${status})` : ""}`);
|
|
293
|
+
break;
|
|
294
|
+
case "context_too_large":
|
|
295
|
+
parts.push(`\u8BF7\u6C42\u5185\u5BB9\u8FC7\u5927${status ? ` (HTTP ${status})` : ""}`);
|
|
246
296
|
break;
|
|
247
297
|
default:
|
|
248
298
|
parts.push(firstLine.length > 0 ? firstLine : "\u53D1\u9001\u9047\u5230\u5F02\u5E38");
|
|
@@ -279,11 +329,17 @@ function parseSendError(errorInput) {
|
|
|
279
329
|
case "rate_limit":
|
|
280
330
|
actionHint = "\u5DF2\u8FBE\u5230\u8C03\u7528\u9891\u7387\u6216\u914D\u989D\u9650\u5236\uFF0C\u8BF7\u7A0D\u5019\u7247\u523B\u540E\u91CD\u8BD5";
|
|
281
331
|
break;
|
|
332
|
+
case "context_overflow":
|
|
333
|
+
actionHint = "\u4E0A\u4E0B\u6587\u8D85\u51FA\u6A21\u578B\u7A97\u53E3\uFF1A\u53EF\u538B\u7F29\u5386\u53F2\u540E\u91CD\u8BD5\u3001\u5F00\u542F\u65B0\u5BF9\u8BDD\uFF0C\u6216\u5207\u6362\u5230\u66F4\u5927\u7A97\u53E3\u7684\u6A21\u578B\u3002";
|
|
334
|
+
break;
|
|
335
|
+
case "context_too_large":
|
|
336
|
+
actionHint = "\u5355\u6B21\u8BF7\u6C42\u5185\u5BB9\u8FC7\u5927\uFF1A\u8BF7\u51CF\u5C11\u53D1\u9001\u7684\u6D88\u606F\u3001\u6587\u4EF6\u6216\u5DE5\u5177\u7ED3\u679C\uFF0C\u6216\u5F00\u542F\u65B0\u5BF9\u8BDD\u3001\u5207\u6362\u6A21\u578B\u3002";
|
|
337
|
+
break;
|
|
282
338
|
case "auth":
|
|
283
339
|
actionHint = "\u8BF7\u68C0\u67E5\u8D26\u53F7\u767B\u5F55\u72B6\u6001\u6216 API \u5BC6\u94A5\u914D\u7F6E";
|
|
284
340
|
break;
|
|
285
341
|
case "server":
|
|
286
|
-
actionHint = "\u670D\u52A1\u7AEF\u53D1\u751F\u77AC\u65F6\u5F02\u5E38\uFF0C\u70B9\u51FB\u91CD\u8BD5\u901A\u5E38\u53EF\u6062\u590D";
|
|
342
|
+
actionHint = isPlatformBusy ? "\u5E73\u53F0\u7B97\u529B\u6682\u65F6\u7D27\u5F20\uFF0C\u7A0D\u5019\u70B9\u51FB\u91CD\u8BD5\u901A\u5E38\u53EF\u6062\u590D" : "\u670D\u52A1\u7AEF\u53D1\u751F\u77AC\u65F6\u5F02\u5E38\uFF0C\u70B9\u51FB\u91CD\u8BD5\u901A\u5E38\u53EF\u6062\u590D";
|
|
287
343
|
break;
|
|
288
344
|
case "unknown":
|
|
289
345
|
default:
|
|
@@ -305,7 +361,8 @@ function parseSendError(errorInput) {
|
|
|
305
361
|
summary,
|
|
306
362
|
validationUrl: url,
|
|
307
363
|
validationLinkText: text ?? "\u9A8C\u8BC1\u6211\u7684\u8D26\u53F7",
|
|
308
|
-
extraLinks
|
|
364
|
+
extraLinks,
|
|
365
|
+
...contextActions ? { actions: contextActions } : {}
|
|
309
366
|
};
|
|
310
367
|
}
|
|
311
368
|
const MAX_FALLBACK = 800;
|
|
@@ -317,7 +374,8 @@ function parseSendError(errorInput) {
|
|
|
317
374
|
actionHint,
|
|
318
375
|
summary,
|
|
319
376
|
extraLinks,
|
|
320
|
-
fallbackText
|
|
377
|
+
fallbackText,
|
|
378
|
+
...contextActions ? { actions: contextActions } : {}
|
|
321
379
|
};
|
|
322
380
|
}
|
|
323
381
|
function buildSendErrorMessageMarkdown(parsed) {
|
|
@@ -433,6 +491,11 @@ var finalizeSendFailureInDialog = async (dispatch, dialogConfig, agentKey, error
|
|
|
433
491
|
stage: parsed.stage,
|
|
434
492
|
summary: parsed.summary,
|
|
435
493
|
actionHint: parsed.actionHint,
|
|
494
|
+
// 上下文超窗 / 内容过大时带上结构化动作(review 修复 2):
|
|
495
|
+
// 没有这个字段,SendErrorCard 的 compact-and-retry / new-dialog /
|
|
496
|
+
// switch-model 三枚按钮永远不会出现,用户只剩一行文本提示。
|
|
497
|
+
// 其余 kind 不设 → 卡片只渲染重试。
|
|
498
|
+
...parsed.actions ? { actions: parsed.actions } : {},
|
|
436
499
|
validationUrl: parsed.validationUrl,
|
|
437
500
|
validationLinkText: parsed.validationLinkText,
|
|
438
501
|
extraLinks: parsed.extraLinks,
|
|
@@ -520,10 +583,14 @@ var handleSendMessageAction = async (args, { dispatch, getState, rejectWithValue
|
|
|
520
583
|
dialogKey: dialogConfig.dbKey
|
|
521
584
|
});
|
|
522
585
|
}
|
|
586
|
+
const selectedRuntimeTarget = dialogConfig.runtimeBinding?.target;
|
|
523
587
|
const resolvedContext = resolveHandleSendMessageContext({
|
|
524
588
|
dialogConfig,
|
|
525
589
|
targetAgentKey: args.targetAgentKey,
|
|
526
|
-
runtimeOptions:
|
|
590
|
+
runtimeOptions: {
|
|
591
|
+
...args.runtimeOptions,
|
|
592
|
+
...selectedRuntimeTarget && (selectedRuntimeTarget.kind === "server" || selectedRuntimeTarget.kind === "machine") ? { runtimeTarget: { ...selectedRuntimeTarget, kind: selectedRuntimeTarget.kind } } : {}
|
|
593
|
+
}
|
|
527
594
|
});
|
|
528
595
|
agentKeyToUse = resolvedContext.agentKeyToUse;
|
|
529
596
|
const agentConfigToUse = resolvedContext.agentConfigToUse;
|