nolo-cli 0.157.0-alpha.1 → 0.157.0
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-5WS2PA62.js → _executeModel-ZIQHOREX.js} +55 -55
- package/{accountResolver-7RYB4D2P.js → accountResolver-55EDKEIK.js} +1 -1
- package/{action-ZJYUBXFC.js → action-GPPJC5TI.js} +5 -5
- package/{addContentAction-TVHB4526.js → addContentAction-XJQEJ4XW.js} +8 -8
- package/{addDialogAgentAction-FDPBU6K6.js → addDialogAgentAction-5WZX5CAY.js} +7 -7
- package/{agentDeleteCommand-Q6M4F3U6.js → agentDeleteCommand-LQSOJEXY.js} +75 -76
- package/{agentEmailCommands-FNH6FEHS.js → agentEmailCommands-HTPKXONW.js} +78 -79
- package/{agentListCommands-JUNMFS6E.js → agentListCommands-GOCGOQUB.js} +36 -36
- package/{agentMachineCommands-VNLDEKNT.js → agentMachineCommands-T7DAZG77.js} +35 -32
- package/{agentProviderCommands-X2HQE6HY.js → agentProviderCommands-CXBHNONN.js} +5 -5
- package/{agentPullCommand-FA43RBRU.js → agentPullCommand-GXXEDOSA.js} +4 -4
- package/{agentRecordCommands-47XXRVPI.js → agentRecordCommands-HSW3RJ4H.js} +72 -73
- package/{agentRunCommand-QEXFJUXQ.js → agentRunCommand-TIRJ57DK.js} +75 -75
- package/{agentRunControl-2C5GM3BW.js → agentRunControl-QWFFIAQY.js} +9 -7
- package/{agentRuntimeLocal-O5GDAFTN.js → agentRuntimeLocal-J6I63NZC.js} +21 -19
- package/{agentSlice-E3XS5FTQ.js → agentSlice-JNM3HF3V.js} +8 -8
- package/{appDeleteCommands-C2J5RQ3I.js → appDeleteCommands-KKLAK2UR.js} +31 -29
- package/{appDeployCommands-3YRK7PSU.js → appDeployCommands-PXWK4FAX.js} +31 -29
- package/{appDeployStatusCommands-FPAX7MOK.js → appDeployStatusCommands-3NGWDZTX.js} +31 -29
- package/{appGetCommands-XAC2V766.js → appGetCommands-APWYPEO3.js} +31 -29
- package/{appListCommands-ZJL2W5O7.js → appListCommands-OP7IRALO.js} +31 -29
- package/{authCommand-J3XILHWW.js → authCommand-3Z52KJID.js} +22 -302
- package/{authCommands-77CHYBGF.js → authCommands-QOCKVPX3.js} +5 -5
- package/{builtinSkillRegistry-A6VSPJEJ.js → builtinSkillRegistry-LJV7FHNI.js} +4 -4
- package/{chromeCommands-OBBNJCLS.js → chromeCommands-IY4NVSXZ.js} +17 -10
- package/{chunk-SW4S4XYB.js → chunk-2AB2HA4M.js} +84 -34
- package/{chunk-C5VPAHIU.js → chunk-32ZKZET7.js} +1 -1
- package/{chunk-XPWGOTBQ.js → chunk-3L2WKC3W.js} +1 -8
- package/{chunk-3XZKV7QQ.js → chunk-3L5MSPWX.js} +1 -1
- package/{chunk-QLQ573SU.js → chunk-3M52COK5.js} +120 -0
- package/{chunk-VSOWPETY.js → chunk-4226O6F7.js} +10 -10
- package/{chunk-Z6KQDSZW.js → chunk-43OFVLWJ.js} +6 -6
- package/{chunk-TJ2VPCBE.js → chunk-4JCAW7TO.js} +2 -2
- package/{chunk-6TF64IF2.js → chunk-4L4K6YR7.js} +16 -2
- package/{chunk-PEO24UB5.js → chunk-5E5VB7PS.js} +324 -57
- package/{chunk-ZD2BLOY6.js → chunk-5EDQTOUR.js} +7 -7
- package/{chunk-HKT6QXP3.js → chunk-5IKRTRRR.js} +5 -5
- package/{chunk-P5QACQDK.js → chunk-62TBKWTV.js} +1 -1
- package/{chunk-TRW43TSC.js → chunk-6EQD4AQL.js} +41 -1
- package/{chunk-YLMMECCH.js → chunk-6XIE5ZGI.js} +1 -1
- package/{chunk-OH2M7WEU.js → chunk-6Y3ETA2Y.js} +3 -3
- package/{chunk-7A4LJCDR.js → chunk-B3ZIFOFI.js} +5 -5
- package/{chunk-WZ6OU4NX.js → chunk-BAWAKW7X.js} +2 -2
- package/{chunk-UUPR3TD7.js → chunk-BL4HFN6L.js} +2 -4
- package/{chunk-2GGXHQIW.js → chunk-BLVSFYQ3.js} +4 -2
- package/{chunk-HP6O6LTV.js → chunk-CDLP56BS.js} +9 -9
- package/{chunk-UTIMX333.js → chunk-DJ2BOPJY.js} +1 -1
- package/{chunk-36OMEXXR.js → chunk-DLV3H464.js} +8 -8
- package/{chunk-CE7PIHQD.js → chunk-ESMZW5PE.js} +3 -3
- package/{chunk-PSJWPSKS.js → chunk-EWO77ZGF.js} +9 -43
- package/{chunk-ZWG3C7VI.js → chunk-F3SOW2EU.js} +81 -1
- package/{chunk-FY4SDK2E.js → chunk-FDLDMJTM.js} +1 -1
- package/{chunk-KOB75UNU.js → chunk-FHG46N5C.js} +53 -4
- package/{chunk-7KYVUFDG.js → chunk-G3VYRPTV.js} +5 -267
- package/{chunk-DW7MGLMG.js → chunk-GGUTTH6C.js} +35 -207
- package/{chunk-6MJNEXUU.js → chunk-HGDKT2D6.js} +4 -0
- package/{chunk-B2EGWZJG.js → chunk-I7S63QUU.js} +1 -1
- package/{chunk-ROPSATAB.js → chunk-IF7V3CBU.js} +1 -1
- package/chunk-IKOKYBYJ.js +2685 -0
- package/{chunk-T6CBQ6BN.js → chunk-INFHX73M.js} +1 -1
- package/{chunk-YBNHPX4S.js → chunk-IW64YHXL.js} +155 -31
- package/{chunk-K43ZF2C3.js → chunk-JPPQ3GUO.js} +1 -1
- package/{chunk-TZTWMGE3.js → chunk-JWEXJ573.js} +3 -3
- package/{chunk-RUNKPFM5.js → chunk-K6Y5T4GE.js} +12 -8
- package/{chunk-MVJVF4ED.js → chunk-KESKU5BG.js} +18 -17
- package/{chunk-I2ZMGXXF.js → chunk-KFHREHUQ.js} +1 -1
- package/{chunk-3C2QLERX.js → chunk-KMDDG73K.js} +1 -1
- package/{chunk-5MM7NNO6.js → chunk-KSTEXKL6.js} +78 -39
- package/{chunk-EM3YOZJ4.js → chunk-L2JMH4I5.js} +3 -3
- package/{chunk-MM3662RS.js → chunk-LPO6AMQU.js} +780 -64
- package/{chunk-D4OWHT5Y.js → chunk-MAYW6V3E.js} +2 -2
- package/{chunk-IPAW7XLD.js → chunk-MFVOJ6KF.js} +2 -2
- package/{chunk-FDT27L7S.js → chunk-MLEANT7D.js} +19 -17
- package/{chunk-7GC3EKUG.js → chunk-MMSQTZCJ.js} +3 -3
- package/{chunk-XFKZ3MCV.js → chunk-MR3ITQEV.js} +344 -88
- package/{chunk-CBHGZRCE.js → chunk-MYOH447Z.js} +1 -1
- package/{chunk-6MPAEODB.js → chunk-NHEWV5FD.js} +17 -3
- package/{chunk-ZEHTARJA.js → chunk-NLFTBC6S.js} +321 -150
- package/{chunk-SKPPKHD3.js → chunk-OLUKIUX6.js} +2 -2
- package/{chunk-SUKSWFLP.js → chunk-PIG2IUVZ.js} +1 -1
- package/{chunk-SEJ5OS6F.js → chunk-PXYBUFDB.js} +4 -0
- package/{chunk-2MTE2PEH.js → chunk-QA2C5NKI.js} +5 -739
- package/{chunk-L6EQV5OC.js → chunk-QXZH5UDF.js} +3 -3
- package/{chunk-TNIX77YM.js → chunk-R5GO3YZP.js} +34 -1
- package/{chunk-X5SUT4CN.js → chunk-R7GCGOGZ.js} +6 -6
- package/{chunk-4Z245KOA.js → chunk-SH3XD4E2.js} +8 -4
- package/{chunk-JGRPBIZZ.js → chunk-SQX235S2.js} +1 -1
- package/chunk-TT644UJD.js +188 -0
- package/{chunk-IYBIRCQV.js → chunk-U34KT53V.js} +29 -11
- package/{chunk-ANJTRG52.js → chunk-ULQAD7ZY.js} +18 -43
- package/{chunk-QDA4Y5O6.js → chunk-UVYSBQ2M.js} +21 -17
- package/{chunk-I2RMFLLH.js → chunk-V7PCFWX3.js} +1 -1
- package/{chunk-HXHSTRGH.js → chunk-VYNMQ6HW.js} +0 -27
- package/{chunk-G47IPDOK.js → chunk-W7FGZRLK.js} +1 -1
- package/{chunk-7BSQK2UC.js → chunk-WRCZXJ4N.js} +2 -2
- package/{chunk-KX6LPG7W.js → chunk-WYJTNSVL.js} +9 -9
- package/{chunk-H4KACZMG.js → chunk-XZIW3Q5B.js} +271 -138
- package/chunk-Y5GCAMGP.js +9 -0
- package/{chunk-JZX2XLKC.js → chunk-YCRROBDY.js} +1 -1
- package/{chunk-FPWT3RH2.js → chunk-YN5DT4JS.js} +22 -22
- package/{chunk-SCJD2PNK.js → chunk-YPG7TUQD.js} +3 -3
- package/{chunk-EJU23ST5.js → chunk-ZKVS36H3.js} +5069 -3730
- package/{chunk-YANF2RR4.js → chunk-ZPKUJROL.js} +1 -1
- package/{chunk-TYND6RDQ.js → chunk-ZZDVBZOP.js} +74 -3
- package/{commandRegistry-OUBQIF62.js → commandRegistry-DR2RPWK6.js} +88 -96
- package/{contentThunks-B3FRQGP7.js → contentThunks-CSJDJDEJ.js} +21 -21
- package/{createAgentAutomationAction-T2YFJ6MY.js → createAgentAutomationAction-ISEUEQSY.js} +21 -21
- package/{createDialogAction-2NFGFBXW.js → createDialogAction-HUCFOZY3.js} +25 -25
- package/{createPageAction-LDAVZDN7.js → createPageAction-DT5CYXCL.js} +24 -25
- package/{dbSlice-5QGKMQLO.js → dbSlice-6PVPY44C.js} +7 -7
- package/{deleteFile-EW6QNRRT.js → deleteFile-YM6NDPAR.js} +5 -5
- package/{dialogCommands-ZLBEAQHE.js → dialogCommands-3W6AIUXT.js} +35 -32
- package/{dialogSlice-64S3J6CP.js → dialogSlice-WJEEPG4W.js} +20 -20
- package/{dist-NJC2W7I4.js → dist-Q2JSMAKA.js} +7 -361
- package/{docCreateCommands-XOG5BBFQ.js → docCreateCommands-KQHQNLRX.js} +32 -30
- package/{docDeleteCommands-NCW3BBRX.js → docDeleteCommands-O3DWFX2W.js} +33 -31
- package/{docReadCommands-OT7X44Y3.js → docReadCommands-2U2BUONC.js} +32 -30
- package/{docStore-NIP7OO4I.js → docStore-7JPYT25V.js} +8 -8
- package/{docUpdateCommands-JW7OWW2J.js → docUpdateCommands-MF3C52XI.js} +32 -30
- package/{getPricing-TX35D7PI.js → getPricing-XQ3N3RBP.js} +2 -2
- package/{handleSendMessageAction-TOKA7ED7.js → handleSendMessageAction-BV5FMID4.js} +43 -39
- package/index.js +8 -8
- package/{localRuntimeAdapter-EQM6LFYC.js → localRuntimeAdapter-6FBEJJ4D.js} +70 -69
- package/{localRuntimeAuthority-JDAD7CB6.js → localRuntimeAuthority-BPN5OAQG.js} +2 -2
- package/{localRuntimeDb-CVC62PM5.js → localRuntimeDb-QIVAXMUL.js} +1 -1
- package/{machineCommands-WJ7FZ67T.js → machineCommands-WCAFDI5N.js} +80 -79
- package/{machineWsRunDispatch-BQT4DEA2.js → machineWsRunDispatch-ZF6BBQ3X.js} +70 -71
- package/{memberThunks-KRV5YXOB.js → memberThunks-AZINUM4S.js} +10 -10
- package/package.json +6 -2
- package/{profileConfig-ZGOFORWV.js → profileConfig-KN3N2BLF.js} +7 -1
- package/{providerPresetApply-CRZFMQD5.js → providerPresetApply-PKUOHQJT.js} +5 -5
- package/{providerRegistry-7IS43D3X.js → providerRegistry-HNQLIFN2.js} +5 -5
- package/{read-5KAZHHDM.js → read-7JPIWRBQ.js} +5 -5
- package/{readDocTool-5QO34OSX.js → readDocTool-AAQTB2Y3.js} +1 -1
- package/{readlineWorkspace-JHJSU5DS.js → readlineWorkspace-I5MHMEUE.js} +375 -200
- package/{removeDialogAgentAction-6X63HMI3.js → removeDialogAgentAction-RMVRILLK.js} +9 -9
- package/{runAgentClientLoop-5QIGEALK.js → runAgentClientLoop-TSNSRQEP.js} +59 -54
- package/{runtimeDoctorCommands-56NWKNON.js → runtimeDoctorCommands-MMCP4B4U.js} +12 -12
- package/{secretCommands-ZXZRLR3R.js → secretCommands-DNY56NSU.js} +11 -1
- package/{setDialogExtraReferencesAction-4MAYKKYW.js → setDialogExtraReferencesAction-L3V7JTMG.js} +8 -8
- package/{setPrimaryDialogAgentAction-EGBAMREH.js → setPrimaryDialogAgentAction-X52JQGTJ.js} +9 -9
- package/settingThunks-N6XFWPOU.js +923 -0
- package/{spaceCommands-ZWDPTURU.js → spaceCommands-NDPGHDMD.js} +29 -27
- package/{streamAgentChatTurn-456DWXNY.js → streamAgentChatTurn-RJLDV4WZ.js} +154 -95
- package/{switchDialogAgentAction-YBKTD6DO.js → switchDialogAgentAction-ZJ5CGU7J.js} +7 -7
- package/{tableCommands-U3QDY4L6.js → tableCommands-IVC5S7Y3.js} +11 -11
- package/{toolApiClient-7WSJJJBV.js → toolApiClient-HGNO53TC.js} +2 -2
- package/{tools-IWNXKK4Y.js → tools-X6QNIYFJ.js} +43 -44
- package/{tuiSummaryLlmCaller-KLK6K3Q3.js → tuiSummaryLlmCaller-FESHBDTT.js} +7 -7
- package/{updateCommands-NQXAGFM7.js → updateCommands-FJHGWD3Q.js} +5 -3
- package/{updateDialogTitleAction-SX53FZWO.js → updateDialogTitleAction-6LURCTMG.js} +21 -21
- package/{workloadLifecycle-36DXRZKU.js → workloadLifecycle-6O6PMISX.js} +2 -2
- package/chunk-IA7TRNNR.js +0 -11
- package/chunk-UKZX3NHN.js +0 -48
- package/chunk-VAZHH6FO.js +0 -7012
- package/chunk-W4S6OTSC.js +0 -35
- package/clipboardy-GCO3GT3I.js +0 -11793
- package/settingThunks-FTDRZNSJ.js +0 -1371
- package/{agentGrantCommands-HOJ3JBBQ.js → agentGrantCommands-5DPHYEKP.js} +3 -3
- package/{chromeOpsCommands-3Z34RKSE.js → chromeOpsCommands-GZVVK7HU.js} +4 -4
- package/{chunk-XETG4RIX.js → chunk-AETZ7AD6.js} +4 -4
- package/{chunk-2IXDJNZI.js → chunk-GAGGEA7D.js} +3 -3
- package/{memoryCommands-CUNBFRVS.js → memoryCommands-ZS3VQJAL.js} +3 -3
- package/{offlineMarxistsAgentCommand-2QTHJCHV.js → offlineMarxistsAgentCommand-3GLX4QQY.js} +3 -3
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
} from "./chunk-M3JEW6N6.js";
|
|
4
4
|
import {
|
|
5
5
|
readLiveDbRecordAfterTombstoneMerge
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-W7FGZRLK.js";
|
|
7
7
|
import {
|
|
8
8
|
readDbRecord,
|
|
9
9
|
writeAgentRecord
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-5IKRTRRR.js";
|
|
11
|
+
import "./chunk-BL4HFN6L.js";
|
|
12
12
|
import "./chunk-NBTY7YJF.js";
|
|
13
13
|
import "./chunk-OXME3PEE.js";
|
|
14
14
|
import "./chunk-BYXBJQAS.js";
|
|
@@ -20,32 +20,35 @@ import {
|
|
|
20
20
|
resolveFileCategory
|
|
21
21
|
} from "./chunk-3PVYUPXK.js";
|
|
22
22
|
import "./chunk-D2MDMY2M.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-5E5VB7PS.js";
|
|
24
|
+
import "./chunk-KMDDG73K.js";
|
|
25
25
|
import "./chunk-ZNFJWEN4.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-QXZH5UDF.js";
|
|
27
27
|
import "./chunk-HNUWUO75.js";
|
|
28
28
|
import "./chunk-CHOZJMJS.js";
|
|
29
29
|
import "./chunk-PWTNI4N7.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-IYBIRCQV.js";
|
|
30
|
+
import "./chunk-ULQAD7ZY.js";
|
|
31
|
+
import "./chunk-U34KT53V.js";
|
|
33
32
|
import "./chunk-G6OOUQWJ.js";
|
|
34
33
|
import "./chunk-56GBUMO5.js";
|
|
35
34
|
import "./chunk-WJZOQR2J.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-ZZDVBZOP.js";
|
|
36
|
+
import "./chunk-4L4K6YR7.js";
|
|
37
|
+
import "./chunk-3M52COK5.js";
|
|
39
38
|
import "./chunk-3MZAGMYY.js";
|
|
39
|
+
import "./chunk-TT644UJD.js";
|
|
40
40
|
import "./chunk-2MBTWINN.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-F3SOW2EU.js";
|
|
42
|
+
import "./chunk-5ZUL4CUO.js";
|
|
43
|
+
import "./chunk-QA2C5NKI.js";
|
|
43
44
|
import "./chunk-5MMAK75Q.js";
|
|
44
45
|
import "./chunk-DWLEOOGR.js";
|
|
45
46
|
import "./chunk-LIQJTQRN.js";
|
|
46
47
|
import "./chunk-UHTDNB5Y.js";
|
|
47
48
|
import "./chunk-KX6YBIHG.js";
|
|
48
49
|
import "./chunk-7DPNBQSV.js";
|
|
50
|
+
import "./chunk-VEA7H5FG.js";
|
|
51
|
+
import "./chunk-4VJAC32I.js";
|
|
49
52
|
import "./chunk-5EBLANFT.js";
|
|
50
53
|
import "./chunk-NYYFIKHI.js";
|
|
51
54
|
import "./chunk-LOEO7LRC.js";
|
|
@@ -53,16 +56,7 @@ import "./chunk-M2EJHDJP.js";
|
|
|
53
56
|
import "./chunk-5EMSBTQ6.js";
|
|
54
57
|
import "./chunk-I42VC5KR.js";
|
|
55
58
|
import "./chunk-U6VC4MU4.js";
|
|
56
|
-
import "./chunk-JGRPBIZZ.js";
|
|
57
|
-
import "./chunk-WWC7I6TA.js";
|
|
58
59
|
import "./chunk-PSCNXBYA.js";
|
|
59
|
-
import "./chunk-SUKSWFLP.js";
|
|
60
|
-
import "./chunk-I2RMFLLH.js";
|
|
61
|
-
import "./chunk-TRW43TSC.js";
|
|
62
|
-
import "./chunk-5BHQICF2.js";
|
|
63
|
-
import "./chunk-KUG52IAP.js";
|
|
64
|
-
import "./chunk-3EUW3WEO.js";
|
|
65
|
-
import "./chunk-HNMXYYJR.js";
|
|
66
60
|
import {
|
|
67
61
|
parseUserIdFromAuthToken,
|
|
68
62
|
readOption,
|
|
@@ -72,16 +66,24 @@ import {
|
|
|
72
66
|
} from "./chunk-A7GB5UGH.js";
|
|
73
67
|
import "./chunk-OLZBQWZU.js";
|
|
74
68
|
import "./chunk-LCBAMY2M.js";
|
|
69
|
+
import "./chunk-Y6ROFCZO.js";
|
|
70
|
+
import "./chunk-FYYSDHVQ.js";
|
|
71
|
+
import "./chunk-EWO77ZGF.js";
|
|
72
|
+
import "./chunk-SQX235S2.js";
|
|
73
|
+
import "./chunk-WWC7I6TA.js";
|
|
74
|
+
import "./chunk-PIG2IUVZ.js";
|
|
75
|
+
import "./chunk-V7PCFWX3.js";
|
|
76
|
+
import "./chunk-6EQD4AQL.js";
|
|
77
|
+
import "./chunk-5BHQICF2.js";
|
|
78
|
+
import "./chunk-KUG52IAP.js";
|
|
79
|
+
import "./chunk-3EUW3WEO.js";
|
|
80
|
+
import "./chunk-HNMXYYJR.js";
|
|
75
81
|
import "./chunk-4SN6J65J.js";
|
|
76
82
|
import "./chunk-CF7PE763.js";
|
|
77
83
|
import "./chunk-G3SUCT4W.js";
|
|
78
|
-
import "./chunk-Y6ROFCZO.js";
|
|
79
|
-
import "./chunk-FYYSDHVQ.js";
|
|
80
84
|
import "./chunk-CGFNDIKK.js";
|
|
81
85
|
import "./chunk-QSJ3HFEF.js";
|
|
82
86
|
import "./chunk-ZWQUWF6W.js";
|
|
83
|
-
import "./chunk-VEA7H5FG.js";
|
|
84
|
-
import "./chunk-4VJAC32I.js";
|
|
85
87
|
import "./chunk-4VNS5WPM.js";
|
|
86
88
|
|
|
87
89
|
// packages/cli/spaceCommands.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyPublicAgentCatalogOverride
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MFVOJ6KF.js";
|
|
4
4
|
import {
|
|
5
5
|
buildCliPrompt
|
|
6
6
|
} from "./chunk-ATNTHIZI.js";
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
resolveTurnToolContext,
|
|
19
19
|
trimMessagesWithSummary,
|
|
20
20
|
validateAccessAndBalance
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-YN5DT4JS.js";
|
|
22
|
+
import "./chunk-INFHX73M.js";
|
|
23
23
|
import {
|
|
24
24
|
filterAndCleanMessages,
|
|
25
25
|
handleToolCalls,
|
|
@@ -27,11 +27,11 @@ import {
|
|
|
27
27
|
readStreamChunk,
|
|
28
28
|
sendOpenAICompletionsRequest,
|
|
29
29
|
updateTotalUsage
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-UVYSBQ2M.js";
|
|
31
31
|
import "./chunk-JEXVIMYZ.js";
|
|
32
32
|
import {
|
|
33
33
|
prepareTools
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-OLUKIUX6.js";
|
|
35
35
|
import {
|
|
36
36
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
37
37
|
buildInvalidToolCallSelfHealResult,
|
|
@@ -39,52 +39,48 @@ import {
|
|
|
39
39
|
isResponsesConversationStateRejection,
|
|
40
40
|
parseToolCallArguments,
|
|
41
41
|
performFetchRequest,
|
|
42
|
-
resolveAgentCallPlan,
|
|
43
|
-
resolveClientWire,
|
|
44
42
|
sanitizeOutboundResponsesInput,
|
|
45
43
|
selectResponsesConversationState,
|
|
46
44
|
updateResponsesConversationState
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-W4S6OTSC.js";
|
|
45
|
+
} from "./chunk-GGUTTH6C.js";
|
|
49
46
|
import "./chunk-HS7MLR74.js";
|
|
50
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-MR3ITQEV.js";
|
|
51
48
|
import {
|
|
52
49
|
isOwnedAgentRecord,
|
|
53
50
|
resolveBillingSource
|
|
54
|
-
} from "./chunk-
|
|
55
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-WYJTNSVL.js";
|
|
52
|
+
import "./chunk-KFHREHUQ.js";
|
|
56
53
|
import "./chunk-OXME3PEE.js";
|
|
57
54
|
import {
|
|
58
55
|
isContextOverflowText,
|
|
59
56
|
parseApiError,
|
|
60
57
|
performServerProxyFetchWithRetry
|
|
61
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-4226O6F7.js";
|
|
62
59
|
import {
|
|
63
60
|
createSSEParser,
|
|
64
61
|
selectMaxExecutionTime,
|
|
65
62
|
waitForAbortableDelay
|
|
66
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-K6Y5T4GE.js";
|
|
67
64
|
import "./chunk-NF64D32W.js";
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-3L2WKC3W.js";
|
|
66
|
+
import "./chunk-VYNMQ6HW.js";
|
|
67
|
+
import "./chunk-MYOH447Z.js";
|
|
68
|
+
import "./chunk-3L5MSPWX.js";
|
|
69
|
+
import "./chunk-ZPKUJROL.js";
|
|
73
70
|
import {
|
|
74
71
|
getPublicImageAgentDefaultProfile,
|
|
75
72
|
getPublicImageAgentMode
|
|
76
73
|
} from "./chunk-VIDPVFP3.js";
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-IA7TRNNR.js";
|
|
74
|
+
import "./chunk-KSTEXKL6.js";
|
|
79
75
|
import "./chunk-AGIM7IMJ.js";
|
|
80
76
|
import "./chunk-63W5N6P3.js";
|
|
81
77
|
import "./chunk-VF4K2QE6.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-6Y3ETA2Y.js";
|
|
79
|
+
import "./chunk-BAWAKW7X.js";
|
|
80
|
+
import "./chunk-B3ZIFOFI.js";
|
|
81
|
+
import "./chunk-IF7V3CBU.js";
|
|
82
|
+
import "./chunk-YPG7TUQD.js";
|
|
83
|
+
import "./chunk-IKOKYBYJ.js";
|
|
88
84
|
import {
|
|
89
85
|
addToolMessage,
|
|
90
86
|
addUserMessage,
|
|
@@ -99,16 +95,14 @@ import {
|
|
|
99
95
|
selectAllMsgs,
|
|
100
96
|
selectCurrentDialogConfig,
|
|
101
97
|
selectDialogConfigByKey,
|
|
98
|
+
toast,
|
|
102
99
|
updateTokens,
|
|
103
100
|
updateToolMessage
|
|
104
|
-
} from "./chunk-
|
|
105
|
-
import "./chunk-523DITKR.js";
|
|
106
|
-
import {
|
|
107
|
-
isOAuthApiKeyRef
|
|
108
|
-
} from "./chunk-UKZX3NHN.js";
|
|
101
|
+
} from "./chunk-XZIW3Q5B.js";
|
|
109
102
|
import "./chunk-OFFL4DCR.js";
|
|
103
|
+
import "./chunk-523DITKR.js";
|
|
110
104
|
import "./chunk-QYPE3TS3.js";
|
|
111
|
-
import "./chunk-
|
|
105
|
+
import "./chunk-R7GCGOGZ.js";
|
|
112
106
|
import "./chunk-4JH2UMJR.js";
|
|
113
107
|
import {
|
|
114
108
|
getCurrentSpaceId
|
|
@@ -118,7 +112,7 @@ import {
|
|
|
118
112
|
createCliChatTurnStream,
|
|
119
113
|
getCliChatSession,
|
|
120
114
|
startCliChatSession
|
|
121
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-ESMZW5PE.js";
|
|
122
116
|
import "./chunk-5RGU3J7P.js";
|
|
123
117
|
import {
|
|
124
118
|
addActiveController,
|
|
@@ -137,24 +131,24 @@ import "./chunk-4LCOCOR5.js";
|
|
|
137
131
|
import "./chunk-YDH3FDFQ.js";
|
|
138
132
|
import {
|
|
139
133
|
selectCurrentServer
|
|
140
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-32ZKZET7.js";
|
|
141
135
|
import "./chunk-XI7DGLUK.js";
|
|
142
|
-
import "./chunk-
|
|
136
|
+
import "./chunk-JWEXJ573.js";
|
|
143
137
|
import "./chunk-UAD2WT54.js";
|
|
144
138
|
import {
|
|
145
139
|
patch,
|
|
146
140
|
read,
|
|
147
141
|
selectById,
|
|
148
142
|
write
|
|
149
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-CDLP56BS.js";
|
|
150
144
|
import "./chunk-3PVYUPXK.js";
|
|
151
|
-
import "./chunk-
|
|
152
|
-
import "./chunk-
|
|
145
|
+
import "./chunk-NHEWV5FD.js";
|
|
146
|
+
import "./chunk-MAYW6V3E.js";
|
|
153
147
|
import {
|
|
154
148
|
selectRuntimeCurrentServer
|
|
155
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-43OFVLWJ.js";
|
|
156
150
|
import "./chunk-UEILX4EV.js";
|
|
157
|
-
import "./chunk-
|
|
151
|
+
import "./chunk-WRCZXJ4N.js";
|
|
158
152
|
import {
|
|
159
153
|
getIsDesktopApp
|
|
160
154
|
} from "./chunk-6Q7UTJKR.js";
|
|
@@ -164,22 +158,22 @@ import {
|
|
|
164
158
|
selectIdentityToken,
|
|
165
159
|
selectIdentityUser,
|
|
166
160
|
selectIdentityUserId
|
|
167
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-PXYBUFDB.js";
|
|
168
162
|
import "./chunk-D2MDMY2M.js";
|
|
169
|
-
import "./chunk-
|
|
170
|
-
import "./chunk-
|
|
163
|
+
import "./chunk-SH3XD4E2.js";
|
|
164
|
+
import "./chunk-YCRROBDY.js";
|
|
171
165
|
import "./chunk-EUGTFFO6.js";
|
|
172
|
-
import "./chunk-
|
|
166
|
+
import "./chunk-AETZ7AD6.js";
|
|
173
167
|
import "./chunk-Y6ORVLSS.js";
|
|
168
|
+
import "./chunk-KHCLMKZZ.js";
|
|
174
169
|
import {
|
|
175
170
|
assertDesktopAgentRuntimeTurnBodyHasNoRawSecrets,
|
|
176
171
|
buildDesktopAgentRuntimeAgentConfigSnapshot,
|
|
177
172
|
buildDesktopAgentRuntimeDialogHistorySnapshot,
|
|
178
|
-
|
|
173
|
+
extractImageUrlsFromMessages,
|
|
179
174
|
stripImagePartsForTextOnlyAgent
|
|
180
|
-
} from "./chunk-
|
|
181
|
-
import "./chunk-
|
|
182
|
-
import "./chunk-IYBIRCQV.js";
|
|
175
|
+
} from "./chunk-ULQAD7ZY.js";
|
|
176
|
+
import "./chunk-U34KT53V.js";
|
|
183
177
|
import {
|
|
184
178
|
projectUserPartForModel
|
|
185
179
|
} from "./chunk-G6OOUQWJ.js";
|
|
@@ -188,20 +182,28 @@ import "./chunk-WJZOQR2J.js";
|
|
|
188
182
|
import {
|
|
189
183
|
isGptProModel,
|
|
190
184
|
shouldBlockForGptPro
|
|
191
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-ZZDVBZOP.js";
|
|
192
186
|
import {
|
|
193
187
|
extractImagePartsFromResponseOutput,
|
|
194
188
|
extractTextFromResponseOutput,
|
|
195
189
|
toResponsesTools
|
|
196
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-4L4K6YR7.js";
|
|
197
191
|
import {
|
|
198
192
|
resolveRuntimeToolSurfaceForAgent
|
|
199
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-3M52COK5.js";
|
|
200
194
|
import "./chunk-3MZAGMYY.js";
|
|
201
|
-
import
|
|
195
|
+
import {
|
|
196
|
+
resolveAgentCallPlan,
|
|
197
|
+
resolveClientWire
|
|
198
|
+
} from "./chunk-TT644UJD.js";
|
|
199
|
+
import {
|
|
200
|
+
isOAuthApiKeyRef,
|
|
201
|
+
resolveAgentContextWindow
|
|
202
|
+
} from "./chunk-F3SOW2EU.js";
|
|
203
|
+
import "./chunk-5ZUL4CUO.js";
|
|
202
204
|
import {
|
|
203
205
|
getModelInfo
|
|
204
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-QA2C5NKI.js";
|
|
205
207
|
import "./chunk-5MMAK75Q.js";
|
|
206
208
|
import "./chunk-DWLEOOGR.js";
|
|
207
209
|
import "./chunk-LIQJTQRN.js";
|
|
@@ -212,6 +214,8 @@ import {
|
|
|
212
214
|
import {
|
|
213
215
|
isAbortError
|
|
214
216
|
} from "./chunk-7DPNBQSV.js";
|
|
217
|
+
import "./chunk-VEA7H5FG.js";
|
|
218
|
+
import "./chunk-4VJAC32I.js";
|
|
215
219
|
import "./chunk-5EBLANFT.js";
|
|
216
220
|
import "./chunk-NYYFIKHI.js";
|
|
217
221
|
import {
|
|
@@ -226,22 +230,24 @@ import {
|
|
|
226
230
|
} from "./chunk-5EMSBTQ6.js";
|
|
227
231
|
import "./chunk-I42VC5KR.js";
|
|
228
232
|
import "./chunk-U6VC4MU4.js";
|
|
229
|
-
import "./chunk-PSJWPSKS.js";
|
|
230
|
-
import {
|
|
231
|
-
isAntigravityOAuthAgent
|
|
232
|
-
} from "./chunk-JGRPBIZZ.js";
|
|
233
|
-
import "./chunk-WWC7I6TA.js";
|
|
234
233
|
import "./chunk-PJNFNEJE.js";
|
|
235
234
|
import {
|
|
236
235
|
estimateTokenCount
|
|
237
236
|
} from "./chunk-PSCNXBYA.js";
|
|
238
|
-
import "./chunk-
|
|
237
|
+
import "./chunk-LCBAMY2M.js";
|
|
238
|
+
import "./chunk-FYYSDHVQ.js";
|
|
239
|
+
import "./chunk-EWO77ZGF.js";
|
|
240
|
+
import {
|
|
241
|
+
isAntigravityOAuthAgent
|
|
242
|
+
} from "./chunk-SQX235S2.js";
|
|
243
|
+
import "./chunk-WWC7I6TA.js";
|
|
244
|
+
import "./chunk-PIG2IUVZ.js";
|
|
239
245
|
import {
|
|
240
246
|
isOpenAiResponsesModel
|
|
241
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-V7PCFWX3.js";
|
|
242
248
|
import {
|
|
243
249
|
getApiEndpoint
|
|
244
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-6EQD4AQL.js";
|
|
245
251
|
import "./chunk-5BHQICF2.js";
|
|
246
252
|
import {
|
|
247
253
|
isRecord
|
|
@@ -252,19 +258,14 @@ import {
|
|
|
252
258
|
import {
|
|
253
259
|
toErrorMessage
|
|
254
260
|
} from "./chunk-HNMXYYJR.js";
|
|
255
|
-
import "./chunk-LCBAMY2M.js";
|
|
256
261
|
import "./chunk-4SN6J65J.js";
|
|
257
262
|
import "./chunk-CF7PE763.js";
|
|
258
263
|
import {
|
|
259
264
|
asOptionalTrimmedString
|
|
260
265
|
} from "./chunk-G3SUCT4W.js";
|
|
261
|
-
import "./chunk-FYYSDHVQ.js";
|
|
262
266
|
import "./chunk-CGFNDIKK.js";
|
|
263
267
|
import "./chunk-QSJ3HFEF.js";
|
|
264
268
|
import "./chunk-ZWQUWF6W.js";
|
|
265
|
-
import "./chunk-KHCLMKZZ.js";
|
|
266
|
-
import "./chunk-VEA7H5FG.js";
|
|
267
|
-
import "./chunk-4VJAC32I.js";
|
|
268
269
|
import "./chunk-4VNS5WPM.js";
|
|
269
270
|
|
|
270
271
|
// packages/ai/agent/isVoiceModel.ts
|
|
@@ -1927,6 +1928,28 @@ function safeParseToolArgs(argsStr) {
|
|
|
1927
1928
|
return { raw: argsStr };
|
|
1928
1929
|
}
|
|
1929
1930
|
}
|
|
1931
|
+
var notifiedOmittedImageUserMessageIds = /* @__PURE__ */ new Set();
|
|
1932
|
+
function notifyOmittedImagesIfPresent({
|
|
1933
|
+
downgraded,
|
|
1934
|
+
messagesBeforeStrip,
|
|
1935
|
+
targetUserMessageId
|
|
1936
|
+
}) {
|
|
1937
|
+
if (!downgraded || !targetUserMessageId) return;
|
|
1938
|
+
if (notifiedOmittedImageUserMessageIds.has(targetUserMessageId)) return;
|
|
1939
|
+
const targetMsg = messagesBeforeStrip.find((m) => m.id === targetUserMessageId);
|
|
1940
|
+
if (!targetMsg) return;
|
|
1941
|
+
const currentMessageImageCount = extractImageUrlsFromMessages([targetMsg]).length;
|
|
1942
|
+
if (currentMessageImageCount <= 0) return;
|
|
1943
|
+
notifiedOmittedImageUserMessageIds.add(targetUserMessageId);
|
|
1944
|
+
if (notifiedOmittedImageUserMessageIds.size > 1e3) {
|
|
1945
|
+
const first = notifiedOmittedImageUserMessageIds.values().next().value;
|
|
1946
|
+
if (first) notifiedOmittedImageUserMessageIds.delete(first);
|
|
1947
|
+
}
|
|
1948
|
+
toast.info(
|
|
1949
|
+
`\u5F53\u524D\u6A21\u578B\u4E0D\u652F\u6301\u56FE\u7247\uFF0C\u672C\u6B21\u53D1\u9001\u7684 ${currentMessageImageCount} \u5F20\u56FE\u7247\u5DF2\u7701\u7565\uFF0C\u6587\u5B57\u4ECD\u4F1A\u53D1\u9001\u3002`,
|
|
1950
|
+
{ id: `image-omitted-${targetUserMessageId}` }
|
|
1951
|
+
);
|
|
1952
|
+
}
|
|
1930
1953
|
var streamAgentChatTurnHandler = async (args, thunkApi) => {
|
|
1931
1954
|
const {
|
|
1932
1955
|
agentKey,
|
|
@@ -3217,6 +3240,7 @@ ${info.actionHint}` : streamError;
|
|
|
3217
3240
|
responseApi: true
|
|
3218
3241
|
});
|
|
3219
3242
|
let appendTempUserInput2 = true;
|
|
3243
|
+
let activeTurnUserMessageId2;
|
|
3220
3244
|
let currentParentMessageId2 = parentMessageId ?? void 0;
|
|
3221
3245
|
const storedResponsesState = currentDialog?.responsesState;
|
|
3222
3246
|
let responsesState = selectResponsesConversationState(
|
|
@@ -3332,27 +3356,42 @@ ${info.actionHint}` : streamError;
|
|
|
3332
3356
|
rawMessages,
|
|
3333
3357
|
agentConfigForCall.dbKey
|
|
3334
3358
|
);
|
|
3335
|
-
if (appendTempUserInput2 && hasAgentRunUserInputContent(agentRunUserInput)
|
|
3336
|
-
visibleMessages
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3359
|
+
if (appendTempUserInput2 && hasAgentRunUserInputContent(agentRunUserInput)) {
|
|
3360
|
+
if (!isLastMessageMatchingUserInput(visibleMessages, agentRunUserInput)) {
|
|
3361
|
+
const tempId = `__tmp_user_${Date.now()}`;
|
|
3362
|
+
visibleMessages = [
|
|
3363
|
+
...visibleMessages,
|
|
3364
|
+
{
|
|
3365
|
+
id: tempId,
|
|
3366
|
+
dbKey: "",
|
|
3367
|
+
role: "user",
|
|
3368
|
+
content: agentRunUserInput,
|
|
3369
|
+
thinkContent: "",
|
|
3370
|
+
cybotKey: agentConfigForCall.dbKey,
|
|
3371
|
+
isStreaming: false
|
|
3372
|
+
}
|
|
3373
|
+
];
|
|
3374
|
+
activeTurnUserMessageId2 = tempId;
|
|
3375
|
+
} else {
|
|
3376
|
+
const lastMsg = visibleMessages[visibleMessages.length - 1];
|
|
3377
|
+
if (lastMsg && typeof lastMsg.id === "string") {
|
|
3378
|
+
activeTurnUserMessageId2 = lastMsg.id;
|
|
3346
3379
|
}
|
|
3347
|
-
|
|
3380
|
+
}
|
|
3348
3381
|
}
|
|
3349
3382
|
const cleanedMessages = filterAndCleanMessages(visibleMessages);
|
|
3350
3383
|
const ctxWindow = resolveAgentContextWindow(agentConfigForCall);
|
|
3351
3384
|
const summaryTokenCount = contexts.dialogSummary ? estimateTokenCount(contexts.dialogSummary) : 0;
|
|
3385
|
+
const messagesBeforeStrip = compressOldToolResults(cleanedMessages);
|
|
3352
3386
|
const preprocessedResult = await stripImagePartsForTextOnlyAgent(
|
|
3353
|
-
|
|
3387
|
+
messagesBeforeStrip,
|
|
3354
3388
|
agentConfigForCall
|
|
3355
3389
|
);
|
|
3390
|
+
notifyOmittedImagesIfPresent({
|
|
3391
|
+
downgraded: preprocessedResult.downgraded,
|
|
3392
|
+
messagesBeforeStrip,
|
|
3393
|
+
targetUserMessageId: activeTurnUserMessageId2
|
|
3394
|
+
});
|
|
3356
3395
|
let processedMessages = trimMessagesWithSummary(
|
|
3357
3396
|
preprocessedResult.messages,
|
|
3358
3397
|
ctxWindow,
|
|
@@ -3454,13 +3493,14 @@ ${info.actionHint}` : streamError;
|
|
|
3454
3493
|
dispatch(clearPendingUserInputQueue({ dialogKey }));
|
|
3455
3494
|
break;
|
|
3456
3495
|
}
|
|
3457
|
-
await dispatch(
|
|
3496
|
+
const persisted = await dispatch(
|
|
3458
3497
|
prepareAndPersistUserMessage({
|
|
3459
3498
|
userInput: queuedText,
|
|
3460
3499
|
dialogConfig: currentDialogConfig
|
|
3461
3500
|
})
|
|
3462
3501
|
).unwrap();
|
|
3463
3502
|
dispatch(dequeueUserInput({ dialogKey }));
|
|
3503
|
+
activeTurnUserMessageId2 = persisted?.id;
|
|
3464
3504
|
continue;
|
|
3465
3505
|
}
|
|
3466
3506
|
if (!meta.hasToolCalls) {
|
|
@@ -3490,6 +3530,7 @@ ${info.actionHint}` : streamError;
|
|
|
3490
3530
|
responseApi: false
|
|
3491
3531
|
});
|
|
3492
3532
|
let appendTempUserInput = true;
|
|
3533
|
+
let activeTurnUserMessageId;
|
|
3493
3534
|
let currentParentMessageId = parentMessageId ?? void 0;
|
|
3494
3535
|
const w = typeof globalThis !== "undefined" && globalThis.window ? globalThis.window : null;
|
|
3495
3536
|
if (w) w.__LOOP_STOP_REASON__ = null;
|
|
@@ -3594,27 +3635,42 @@ ${info.actionHint}` : streamError;
|
|
|
3594
3635
|
rawMessages,
|
|
3595
3636
|
agentConfigForCall.dbKey
|
|
3596
3637
|
);
|
|
3597
|
-
if (appendTempUserInput && hasAgentRunUserInputContent(agentRunUserInput)
|
|
3598
|
-
visibleMessages
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3638
|
+
if (appendTempUserInput && hasAgentRunUserInputContent(agentRunUserInput)) {
|
|
3639
|
+
if (!isLastMessageMatchingUserInput(visibleMessages, agentRunUserInput)) {
|
|
3640
|
+
const tempId = `__tmp_user_${Date.now()}`;
|
|
3641
|
+
visibleMessages = [
|
|
3642
|
+
...visibleMessages,
|
|
3643
|
+
{
|
|
3644
|
+
id: tempId,
|
|
3645
|
+
dbKey: "",
|
|
3646
|
+
role: "user",
|
|
3647
|
+
content: agentRunUserInput,
|
|
3648
|
+
thinkContent: "",
|
|
3649
|
+
cybotKey: agentConfigForCall.dbKey,
|
|
3650
|
+
isStreaming: false
|
|
3651
|
+
}
|
|
3652
|
+
];
|
|
3653
|
+
activeTurnUserMessageId = tempId;
|
|
3654
|
+
} else {
|
|
3655
|
+
const lastMsg = visibleMessages[visibleMessages.length - 1];
|
|
3656
|
+
if (lastMsg && typeof lastMsg.id === "string") {
|
|
3657
|
+
activeTurnUserMessageId = lastMsg.id;
|
|
3608
3658
|
}
|
|
3609
|
-
|
|
3659
|
+
}
|
|
3610
3660
|
}
|
|
3611
3661
|
const cleanedMessages = filterAndCleanMessages(visibleMessages);
|
|
3612
3662
|
const ctxWindow = resolveAgentContextWindow(agentConfigForCall);
|
|
3613
3663
|
const summaryTokenCount = contexts.dialogSummary ? estimateTokenCount(contexts.dialogSummary) : 0;
|
|
3664
|
+
const messagesBeforeStrip = compressOldToolResults(cleanedMessages);
|
|
3614
3665
|
const preprocessedResult = await stripImagePartsForTextOnlyAgent(
|
|
3615
|
-
|
|
3666
|
+
messagesBeforeStrip,
|
|
3616
3667
|
agentConfigForCall
|
|
3617
3668
|
);
|
|
3669
|
+
notifyOmittedImagesIfPresent({
|
|
3670
|
+
downgraded: preprocessedResult.downgraded,
|
|
3671
|
+
messagesBeforeStrip,
|
|
3672
|
+
targetUserMessageId: activeTurnUserMessageId
|
|
3673
|
+
});
|
|
3618
3674
|
let processedMessages = trimMessagesWithSummary(
|
|
3619
3675
|
preprocessedResult.messages,
|
|
3620
3676
|
ctxWindow,
|
|
@@ -3694,13 +3750,14 @@ ${info.actionHint}` : streamError;
|
|
|
3694
3750
|
dispatch(clearPendingUserInputQueue({ dialogKey }));
|
|
3695
3751
|
break;
|
|
3696
3752
|
}
|
|
3697
|
-
await dispatch(
|
|
3753
|
+
const persisted = await dispatch(
|
|
3698
3754
|
prepareAndPersistUserMessage({
|
|
3699
3755
|
userInput: queuedText,
|
|
3700
3756
|
dialogConfig: currentDialogConfig
|
|
3701
3757
|
})
|
|
3702
3758
|
).unwrap();
|
|
3703
3759
|
dispatch(dequeueUserInput({ dialogKey }));
|
|
3760
|
+
activeTurnUserMessageId = persisted?.id;
|
|
3704
3761
|
continue;
|
|
3705
3762
|
}
|
|
3706
3763
|
if (!meta.hasToolCalls) {
|
|
@@ -3769,5 +3826,7 @@ ${info.actionHint}` : streamError;
|
|
|
3769
3826
|
};
|
|
3770
3827
|
export {
|
|
3771
3828
|
classifyLocalTurnStreamError,
|
|
3829
|
+
notifiedOmittedImageUserMessageIds,
|
|
3830
|
+
notifyOmittedImagesIfPresent,
|
|
3772
3831
|
streamAgentChatTurnHandler
|
|
3773
3832
|
};
|
|
@@ -9,17 +9,17 @@ import "./chunk-YDH3FDFQ.js";
|
|
|
9
9
|
import {
|
|
10
10
|
patch,
|
|
11
11
|
selectById
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CDLP56BS.js";
|
|
13
13
|
import "./chunk-3PVYUPXK.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-NHEWV5FD.js";
|
|
15
|
+
import "./chunk-MAYW6V3E.js";
|
|
16
|
+
import "./chunk-43OFVLWJ.js";
|
|
17
17
|
import "./chunk-UEILX4EV.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-WRCZXJ4N.js";
|
|
19
19
|
import "./chunk-6Q7UTJKR.js";
|
|
20
20
|
import "./chunk-QQ56R7KS.js";
|
|
21
21
|
import "./chunk-OW765XBU.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-PXYBUFDB.js";
|
|
23
23
|
import "./chunk-D2MDMY2M.js";
|
|
24
24
|
import "./chunk-7DPNBQSV.js";
|
|
25
25
|
import "./chunk-LOEO7LRC.js";
|
|
@@ -27,10 +27,10 @@ import "./chunk-M2EJHDJP.js";
|
|
|
27
27
|
import "./chunk-5EMSBTQ6.js";
|
|
28
28
|
import "./chunk-I42VC5KR.js";
|
|
29
29
|
import "./chunk-U6VC4MU4.js";
|
|
30
|
+
import "./chunk-LCBAMY2M.js";
|
|
30
31
|
import "./chunk-WWC7I6TA.js";
|
|
31
32
|
import "./chunk-KUG52IAP.js";
|
|
32
33
|
import "./chunk-3EUW3WEO.js";
|
|
33
|
-
import "./chunk-LCBAMY2M.js";
|
|
34
34
|
import "./chunk-4SN6J65J.js";
|
|
35
35
|
import "./chunk-CF7PE763.js";
|
|
36
36
|
import "./chunk-G3SUCT4W.js";
|
|
@@ -8,6 +8,17 @@ import {
|
|
|
8
8
|
import "./chunk-QQ56R7KS.js";
|
|
9
9
|
import "./chunk-OW765XBU.js";
|
|
10
10
|
import "./chunk-7DPNBQSV.js";
|
|
11
|
+
import {
|
|
12
|
+
DEFAULT_NOLO_SERVER_URL
|
|
13
|
+
} from "./chunk-OLZBQWZU.js";
|
|
14
|
+
import {
|
|
15
|
+
NOLO_CLUSTER_SERVERS
|
|
16
|
+
} from "./chunk-LCBAMY2M.js";
|
|
17
|
+
import {
|
|
18
|
+
getCurrentProfile,
|
|
19
|
+
getDefaultProfileConfigPath,
|
|
20
|
+
loadProfileConfig
|
|
21
|
+
} from "./chunk-R5GO3YZP.js";
|
|
11
22
|
import {
|
|
12
23
|
asOptionalFiniteNumber
|
|
13
24
|
} from "./chunk-WWC7I6TA.js";
|
|
@@ -17,21 +28,10 @@ import {
|
|
|
17
28
|
import {
|
|
18
29
|
toErrorMessage
|
|
19
30
|
} from "./chunk-HNMXYYJR.js";
|
|
20
|
-
import {
|
|
21
|
-
DEFAULT_NOLO_SERVER_URL
|
|
22
|
-
} from "./chunk-OLZBQWZU.js";
|
|
23
|
-
import {
|
|
24
|
-
NOLO_CLUSTER_SERVERS
|
|
25
|
-
} from "./chunk-LCBAMY2M.js";
|
|
26
31
|
import "./chunk-CF7PE763.js";
|
|
27
32
|
import {
|
|
28
33
|
asOptionalTrimmedString
|
|
29
34
|
} from "./chunk-G3SUCT4W.js";
|
|
30
|
-
import {
|
|
31
|
-
getCurrentProfile,
|
|
32
|
-
getDefaultProfileConfigPath,
|
|
33
|
-
loadProfileConfig
|
|
34
|
-
} from "./chunk-TNIX77YM.js";
|
|
35
35
|
import {
|
|
36
36
|
asTrimmedLowercaseString
|
|
37
37
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
getToolRequestContext,
|
|
8
8
|
resolveToolApiBaseUrl,
|
|
9
9
|
resolveToolBaseUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MYOH447Z.js";
|
|
11
11
|
import "./chunk-QYPE3TS3.js";
|
|
12
12
|
import "./chunk-OWYYDMGJ.js";
|
|
13
13
|
import "./chunk-YDH3FDFQ.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-PXYBUFDB.js";
|
|
15
15
|
import "./chunk-DWLEOOGR.js";
|
|
16
16
|
import "./chunk-M2EJHDJP.js";
|
|
17
17
|
import "./chunk-KUG52IAP.js";
|