nolo-cli 0.209.0-alpha.1 → 0.210.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-C4BBPBMI.js → _executeModel-VVQEOY3D.js} +26 -26
- package/{action-HNG2JKWK.js → action-U235TV4P.js} +3 -3
- package/{addContentAction-FEN3H2EE.js → addContentAction-7C76J7ST.js} +6 -6
- package/{addDialogAgentAction-DDA6S3WS.js → addDialogAgentAction-KTYANUEC.js} +5 -5
- package/{agentDeleteCommand-WUCCLXRY.js → agentDeleteCommand-WHRU6VDJ.js} +38 -38
- package/{agentEmailCommands-S3TIFYYC.js → agentEmailCommands-ALLHXPW3.js} +38 -38
- package/{agentListCommands-AZX2PX4F.js → agentListCommands-POKMEKMS.js} +10 -10
- package/{agentMachineCommands-YYYQWXPK.js → agentMachineCommands-WJLZLBPI.js} +8 -8
- package/{agentRecordCommands-KA42VBIY.js → agentRecordCommands-OULZW3KM.js} +35 -35
- package/{agentRunCommand-AKFBUJY5.js → agentRunCommand-ZNG4LGNQ.js} +40 -40
- package/{agentRuntimeLocal-YP5JION7.js → agentRuntimeLocal-YMUHFV5M.js} +7 -7
- package/{agentSlice-HFQKZPGI.js → agentSlice-WNGUIMQZ.js} +6 -6
- package/{appDeleteCommands-TGZMTUXA.js → appDeleteCommands-6MXPLAVF.js} +7 -7
- package/{appDeployCommands-527YN47H.js → appDeployCommands-ERRSVASW.js} +7 -7
- package/{appDeployStatusCommands-KUSAKEME.js → appDeployStatusCommands-ULICISLI.js} +7 -7
- package/{appGetCommands-5KUXJ4VE.js → appGetCommands-WYYYWROF.js} +7 -7
- package/{appListCommands-FJDBOSMG.js → appListCommands-DFCUCRCV.js} +7 -7
- package/{authCommand-AUP7FHGM.js → authCommand-ZJMWXFMA.js} +6 -6
- package/{chunk-GTQFLOYM.js → chunk-25M2K6OA.js} +2 -2
- package/{createPageAction-AO5OKX3T.js → chunk-3J3U3KXB.js} +9 -69
- package/{chunk-MOCY5LJI.js → chunk-4WCEC56C.js} +2 -2
- package/{chunk-UAOZTOFA.js → chunk-5ORJGHTL.js} +3 -3
- package/{chunk-ZKF7ZGN6.js → chunk-7IYBN7IA.js} +4 -4
- package/{chunk-IQ52JEVT.js → chunk-ADBWFYJD.js} +5 -5
- package/{chunk-HWZT5DKX.js → chunk-BSISWVB4.js} +1 -1
- package/chunk-C6KNNXWU.js +185 -0
- package/{chunk-QAYCF4CH.js → chunk-DQLB4NQ3.js} +2 -2
- package/{chunk-CTZ4O3XD.js → chunk-F6UUQOG6.js} +1 -1
- package/{chunk-WYKMOZTW.js → chunk-HD3WR3TD.js} +1 -1
- package/{chunk-RXUKDHS5.js → chunk-IIHY4ZAI.js} +1 -1
- package/{chunk-5P5RH265.js → chunk-JKW6LERJ.js} +12 -12
- package/{chunk-WYOJXAIC.js → chunk-LT3EAHJY.js} +33 -33
- package/{chunk-GWXL4KVM.js → chunk-M4NTDZG3.js} +30 -30
- package/{chunk-JBFZMJ4J.js → chunk-MBS6CTZB.js} +18 -18
- package/{chunk-BXLWFS62.js → chunk-NHQKWPLP.js} +20 -12
- package/{chunk-T3U2KQF4.js → chunk-NLT32XBZ.js} +3 -3
- package/{chunk-W4MOO6XC.js → chunk-NV572QM3.js} +9 -2
- package/{chunk-Z3MQYKRN.js → chunk-NXCGNS4N.js} +2 -2
- package/{chunk-B2WYM23T.js → chunk-OP7PTBAJ.js} +4 -4
- package/{chunk-6K2AKJAD.js → chunk-PAFTGNWA.js} +2 -2
- package/{chunk-GL7W7TTR.js → chunk-QQM464AL.js} +2 -2
- package/{chunk-SOEYACRP.js → chunk-RXCCWVA2.js} +2 -2
- package/{chunk-KULR4QDX.js → chunk-RYWO5AKN.js} +6 -6
- package/{chunk-V77PUU5T.js → chunk-SCYQJPGA.js} +1 -1
- package/{chunk-32GANJHJ.js → chunk-UCPAVEQB.js} +1 -1
- package/{chunk-OHYCQKPW.js → chunk-UMEGDH6A.js} +6 -6
- package/{chunk-TZFDJZLM.js → chunk-V3M6IXQI.js} +31 -31
- package/{chunk-W7DFYXGQ.js → chunk-WI6OGHXJ.js} +1 -1
- package/{chunk-GITM3OZS.js → chunk-YKFP6UGT.js} +20 -11
- package/{chunk-JYL7LFKD.js → chunk-YLTLB5A7.js} +3 -3
- package/{chunk-GHSXAOWH.js → chunk-ZN5AH4BY.js} +5 -5
- package/{chunk-2VDB25VM.js → chunk-ZOO3WJIE.js} +15 -15
- package/{commandRegistry-DYVXLHEI.js → commandRegistry-FI2IOQ3U.js} +58 -58
- package/{contentThunks-E4QWF36P.js → contentThunks-5LKNNDGY.js} +12 -12
- package/{createAgentAutomationAction-NS3WKF2O.js → createAgentAutomationAction-TI4QG4CY.js} +12 -12
- package/{createDialogAction-UG2SNRXX.js → createDialogAction-TJ3JKLO4.js} +13 -13
- package/createPageAction-GKXT6WEH.js +80 -0
- package/{dbSlice-JK7LWBDO.js → dbSlice-LPMZ2DGJ.js} +5 -5
- package/{deleteFile-CE24BROO.js → deleteFile-EPUQHKPA.js} +3 -3
- package/desktopFolderProjects-SFY5EZS3.js +45 -0
- package/{dialogCommands-T7KQMAQO.js → dialogCommands-IWPXIZ5P.js} +7 -7
- package/{dialogSlice-ZR5REV4T.js → dialogSlice-ZWNNS7GZ.js} +10 -10
- package/{docCreateCommands-L3ZCQ7XR.js → docCreateCommands-HFSPKJSI.js} +7 -7
- package/{docDeleteCommands-HUG57JRT.js → docDeleteCommands-CRL62POH.js} +7 -7
- package/{docReadCommands-BYMKBKNL.js → docReadCommands-QOTOX3XW.js} +7 -7
- package/{docStore-XWLUIDGI.js → docStore-WYLRB7ED.js} +6 -6
- package/{docUpdateCommands-JHJDZRII.js → docUpdateCommands-7BMH4MCA.js} +7 -7
- package/{handleSendMessageAction-OSA5S6SH.js → handleSendMessageAction-P27YP2DQ.js} +62 -25
- package/index.js +4 -4
- package/{localRuntimeAdapter-D3C4PG66.js → localRuntimeAdapter-GP6ZSSO3.js} +34 -34
- package/{machineCommands-MSY2I3CV.js → machineCommands-6Z6H4BFX.js} +39 -39
- package/{machineWsRunDispatch-JQQ35APL.js → machineWsRunDispatch-F2ZIXMYM.js} +35 -35
- package/{memberThunks-WT2KVRP4.js → memberThunks-YSEFJF47.js} +6 -6
- package/package.json +1 -1
- package/projectArchive-PIGEOX3D.js +121 -0
- package/{read-ILTT75DW.js → read-DIIQBOOO.js} +3 -3
- package/{readDocTool-374CFJYO.js → readDocTool-HXYGOEA7.js} +1 -1
- package/{readlineWorkspace-IPCX6XLM.js → readlineWorkspace-UG25G7KC.js} +53 -53
- package/{removeDialogAgentAction-UQFCQO6L.js → removeDialogAgentAction-ALJDUJ2E.js} +7 -7
- package/{runAgentClientLoop-Z63BHKC2.js → runAgentClientLoop-IO5F7TCZ.js} +24 -24
- package/{setDialogExtraReferencesAction-GBIT7WAG.js → setDialogExtraReferencesAction-O3SVMD5A.js} +6 -6
- package/{setPrimaryDialogAgentAction-23PMBXWD.js → setPrimaryDialogAgentAction-HE7RVFFF.js} +7 -7
- package/{settingThunks-SWYDFUYT.js → settingThunks-BWWJQG4L.js} +5 -5
- package/{skillDiscovery-BKLWW2EZ.js → skillDiscovery-XKHROSH2.js} +2 -2
- package/{spaceCommands-BKEULUSP.js → spaceCommands-UAELIFEI.js} +7 -7
- package/{streamAgentChatTurn-BCOVALCO.js → streamAgentChatTurn-VUKZQYJR.js} +68 -53
- package/{switchDialogAgentAction-O7WTPLKG.js → switchDialogAgentAction-3VZS7SOS.js} +5 -5
- package/{tableCommands-QYB64L5I.js → tableCommands-D7WR4QSM.js} +1 -1
- package/{tools-56LSBUVX.js → tools-VRXJAVYI.js} +21 -21
- package/{tuiSummaryLlmCaller-4QCQ2TIN.js → tuiSummaryLlmCaller-TGCHZLSW.js} +2 -2
- package/{updateDialogTitleAction-BFBSDYW2.js → updateDialogTitleAction-MULWCJCW.js} +12 -12
- package/{chunk-6Q7UTJKR.js → chunk-AGP3YSEC.js} +0 -0
- package/{chunk-SZ4ADZFT.js → chunk-LNYHAKBP.js} +3 -3
- package/{chunk-3QKILTO3.js → chunk-NTSRCTUX.js} +3 -3
- package/{chunk-3IBHFELR.js → chunk-TCTSYFDM.js} +3 -3
- package/{chunk-CMLBKYEI.js → chunk-ZRSNONOB.js} +0 -0
- package/{workloadLifecycle-JA75D6JR.js → workloadLifecycle-4BEQHMSD.js} +3 -3
|
@@ -4,24 +4,6 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
buildCliPrompt
|
|
6
6
|
} from "./chunk-ATNTHIZI.js";
|
|
7
|
-
import {
|
|
8
|
-
applyImageConfigRuntimeOverride,
|
|
9
|
-
buildDynamicContexts,
|
|
10
|
-
buildForegroundTurnAdmissionFetchInit,
|
|
11
|
-
buildStaticContexts,
|
|
12
|
-
compressOldToolResults,
|
|
13
|
-
consumeAgentRunStream,
|
|
14
|
-
mergeAgentToolsWithRuntime,
|
|
15
|
-
mergeContexts,
|
|
16
|
-
projectDesktopToolUiContent,
|
|
17
|
-
resolveImageGenerationStreamingState,
|
|
18
|
-
resolveTurnToolContext,
|
|
19
|
-
trimMessagesWithSummary,
|
|
20
|
-
validateAccessAndBalance
|
|
21
|
-
} from "./chunk-GITM3OZS.js";
|
|
22
|
-
import {
|
|
23
|
-
resolveUserSkillRuntime
|
|
24
|
-
} from "./chunk-NEZGPBL7.js";
|
|
25
7
|
import {
|
|
26
8
|
deliverHtmlArtifactToolResult,
|
|
27
9
|
filterAndCleanMessages,
|
|
@@ -30,11 +12,11 @@ import {
|
|
|
30
12
|
readStreamChunk,
|
|
31
13
|
sendOpenAICompletionsRequest,
|
|
32
14
|
updateTotalUsage
|
|
33
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JKW6LERJ.js";
|
|
34
16
|
import "./chunk-JEXVIMYZ.js";
|
|
35
17
|
import {
|
|
36
18
|
prepareTools
|
|
37
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-25M2K6OA.js";
|
|
38
20
|
import {
|
|
39
21
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
40
22
|
buildInvalidToolCallSelfHealResult,
|
|
@@ -45,35 +27,54 @@ import {
|
|
|
45
27
|
sanitizeOutboundResponsesInput,
|
|
46
28
|
selectResponsesConversationState,
|
|
47
29
|
updateResponsesConversationState
|
|
48
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-NV572QM3.js";
|
|
49
31
|
import "./chunk-HS7MLR74.js";
|
|
50
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-LT3EAHJY.js";
|
|
51
33
|
import "./chunk-KFHREHUQ.js";
|
|
52
34
|
import {
|
|
53
35
|
isOwnedAgentRecord,
|
|
54
36
|
resolveBillingSource
|
|
55
37
|
} from "./chunk-YXOBCDNW.js";
|
|
56
38
|
import "./chunk-OXME3PEE.js";
|
|
39
|
+
import "./chunk-NXCGNS4N.js";
|
|
57
40
|
import "./chunk-KSTEXKL6.js";
|
|
58
|
-
import
|
|
41
|
+
import {
|
|
42
|
+
applyImageConfigRuntimeOverride,
|
|
43
|
+
buildDynamicContexts,
|
|
44
|
+
buildForegroundTurnAdmissionFetchInit,
|
|
45
|
+
buildStaticContexts,
|
|
46
|
+
compressOldToolResults,
|
|
47
|
+
consumeAgentRunStream,
|
|
48
|
+
mergeAgentToolsWithRuntime,
|
|
49
|
+
mergeContexts,
|
|
50
|
+
projectDesktopToolUiContent,
|
|
51
|
+
resolveImageGenerationStreamingState,
|
|
52
|
+
resolveTurnToolContext,
|
|
53
|
+
trimMessagesWithSummary,
|
|
54
|
+
validateAccessAndBalance,
|
|
55
|
+
withRequestContextBlocks
|
|
56
|
+
} from "./chunk-YKFP6UGT.js";
|
|
57
|
+
import {
|
|
58
|
+
resolveUserSkillRuntime
|
|
59
|
+
} from "./chunk-NEZGPBL7.js";
|
|
59
60
|
import {
|
|
60
61
|
isContextOverflowText,
|
|
61
62
|
parseApiError,
|
|
62
63
|
performServerProxyFetchWithRetry
|
|
63
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-ZN5AH4BY.js";
|
|
64
65
|
import {
|
|
65
66
|
createSSEParser,
|
|
66
67
|
selectMaxExecutionTime,
|
|
67
68
|
waitForAbortableDelay
|
|
68
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-RYWO5AKN.js";
|
|
69
70
|
import "./chunk-NF64D32W.js";
|
|
70
71
|
import "./chunk-3L2WKC3W.js";
|
|
71
72
|
import "./chunk-I5PBXF7O.js";
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-JYL7LFKD.js";
|
|
73
|
+
import "./chunk-YLTLB5A7.js";
|
|
74
74
|
import "./chunk-MYOH447Z.js";
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
75
|
+
import "./chunk-VF4K2QE6.js";
|
|
76
|
+
import "./chunk-IIHY4ZAI.js";
|
|
77
|
+
import "./chunk-HD3WR3TD.js";
|
|
77
78
|
import "./chunk-AGIM7IMJ.js";
|
|
78
79
|
import "./chunk-A2ZMIRLN.js";
|
|
79
80
|
import {
|
|
@@ -81,11 +82,8 @@ import {
|
|
|
81
82
|
getPublicImageAgentMode
|
|
82
83
|
} from "./chunk-VIDPVFP3.js";
|
|
83
84
|
import "./chunk-63W5N6P3.js";
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import {
|
|
87
|
-
getCurrentSpaceId
|
|
88
|
-
} from "./chunk-5XBUWM6I.js";
|
|
85
|
+
import "./chunk-7IYBN7IA.js";
|
|
86
|
+
import "./chunk-NHQKWPLP.js";
|
|
89
87
|
import {
|
|
90
88
|
addToolMessage,
|
|
91
89
|
addUserMessage,
|
|
@@ -103,20 +101,23 @@ import {
|
|
|
103
101
|
toast,
|
|
104
102
|
updateTokens,
|
|
105
103
|
updateToolMessage
|
|
106
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-MBS6CTZB.js";
|
|
107
105
|
import "./chunk-TZXPT53C.js";
|
|
108
106
|
import "./chunk-LEC5ALIN.js";
|
|
109
107
|
import "./chunk-523DITKR.js";
|
|
110
|
-
import "./chunk-
|
|
108
|
+
import "./chunk-ADBWFYJD.js";
|
|
109
|
+
import {
|
|
110
|
+
getCurrentSpaceId
|
|
111
|
+
} from "./chunk-5XBUWM6I.js";
|
|
111
112
|
import "./chunk-BYXBJQAS.js";
|
|
112
113
|
import "./chunk-QYPE3TS3.js";
|
|
113
114
|
import {
|
|
114
115
|
createCliChatTurnStream,
|
|
115
116
|
getCliChatSession,
|
|
116
117
|
startCliChatSession
|
|
117
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-NLT32XBZ.js";
|
|
118
119
|
import "./chunk-4JH2UMJR.js";
|
|
119
|
-
import "./chunk-
|
|
120
|
+
import "./chunk-DQLB4NQ3.js";
|
|
120
121
|
import "./chunk-UAD2WT54.js";
|
|
121
122
|
import "./chunk-5RGU3J7P.js";
|
|
122
123
|
import "./chunk-ZRAU6T47.js";
|
|
@@ -134,27 +135,27 @@ import {
|
|
|
134
135
|
tokenUsageLiveUpdate
|
|
135
136
|
} from "./chunk-OWYYDMGJ.js";
|
|
136
137
|
import "./chunk-YDH3FDFQ.js";
|
|
137
|
-
import "./chunk-
|
|
138
|
+
import "./chunk-QQM464AL.js";
|
|
138
139
|
import {
|
|
139
140
|
selectCurrentServer
|
|
140
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-BSISWVB4.js";
|
|
141
142
|
import {
|
|
142
143
|
patch,
|
|
143
144
|
read,
|
|
144
145
|
selectById,
|
|
145
146
|
write
|
|
146
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-UMEGDH6A.js";
|
|
147
148
|
import "./chunk-3PVYUPXK.js";
|
|
148
|
-
import "./chunk-
|
|
149
|
-
import "./chunk-
|
|
149
|
+
import "./chunk-4WCEC56C.js";
|
|
150
|
+
import "./chunk-PAFTGNWA.js";
|
|
150
151
|
import {
|
|
151
152
|
selectRuntimeCurrentServer
|
|
152
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-UCPAVEQB.js";
|
|
153
154
|
import "./chunk-UEILX4EV.js";
|
|
154
155
|
import "./chunk-X4F26D5K.js";
|
|
155
156
|
import {
|
|
156
157
|
getIsDesktopApp
|
|
157
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-AGP3YSEC.js";
|
|
158
159
|
import "./chunk-QQ56R7KS.js";
|
|
159
160
|
import "./chunk-OW765XBU.js";
|
|
160
161
|
import {
|
|
@@ -175,9 +176,7 @@ import {
|
|
|
175
176
|
buildDesktopAgentRuntimeDialogHistorySnapshot,
|
|
176
177
|
extractImageUrlsFromMessages,
|
|
177
178
|
stripImagePartsForTextOnlyAgent
|
|
178
|
-
} from "./chunk-
|
|
179
|
-
import "./chunk-2WZXXAQD.js";
|
|
180
|
-
import "./chunk-DA7CTWT4.js";
|
|
179
|
+
} from "./chunk-LNYHAKBP.js";
|
|
181
180
|
import {
|
|
182
181
|
projectUserPartForModel
|
|
183
182
|
} from "./chunk-4KB6WQUL.js";
|
|
@@ -196,6 +195,8 @@ import {
|
|
|
196
195
|
resolveRuntimeToolSurfaceForAgent
|
|
197
196
|
} from "./chunk-6HVBI6TI.js";
|
|
198
197
|
import "./chunk-YUXQAVRD.js";
|
|
198
|
+
import "./chunk-2WZXXAQD.js";
|
|
199
|
+
import "./chunk-DA7CTWT4.js";
|
|
199
200
|
import "./chunk-WJZOQR2J.js";
|
|
200
201
|
import {
|
|
201
202
|
resolveAgentCallPlan,
|
|
@@ -223,7 +224,7 @@ import {
|
|
|
223
224
|
isAbortError
|
|
224
225
|
} from "./chunk-7DPNBQSV.js";
|
|
225
226
|
import "./chunk-G7Y4GXTY.js";
|
|
226
|
-
import "./chunk-
|
|
227
|
+
import "./chunk-ZRSNONOB.js";
|
|
227
228
|
import "./chunk-4VJAC32I.js";
|
|
228
229
|
import "./chunk-AKE53VMW.js";
|
|
229
230
|
import "./chunk-ZC3CMUKU.js";
|
|
@@ -1239,6 +1240,7 @@ function buildDesktopAgentRuntimeTurnBody(args) {
|
|
|
1239
1240
|
const body = {
|
|
1240
1241
|
agentRef: args.agentRef,
|
|
1241
1242
|
input: args.input,
|
|
1243
|
+
...Array.isArray(args.contextBlocks) && args.contextBlocks.length > 0 ? { contextBlocks: args.contextBlocks } : {},
|
|
1242
1244
|
...args.runtimeContext ? { runtimeContext: args.runtimeContext } : {},
|
|
1243
1245
|
...continueDialogId ? { continueDialogId } : {},
|
|
1244
1246
|
...continueDialogId && asTrimmedString(args.dialogKey) ? { dialogKey: asTrimmedString(args.dialogKey) } : {},
|
|
@@ -1971,7 +1973,8 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
|
|
|
1971
1973
|
parentMessageId,
|
|
1972
1974
|
runtimeOptions,
|
|
1973
1975
|
quickChatPerfStartedAt,
|
|
1974
|
-
ephemeralReferences
|
|
1976
|
+
ephemeralReferences,
|
|
1977
|
+
contextBlocks
|
|
1975
1978
|
} = args;
|
|
1976
1979
|
const { getState, dispatch, rejectWithValue } = thunkApi;
|
|
1977
1980
|
const state = getState();
|
|
@@ -2096,7 +2099,10 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
|
|
|
2096
2099
|
const w2 = typeof globalThis !== "undefined" && globalThis.window ? globalThis.window : null;
|
|
2097
2100
|
if (w2) w2.__LOOP_STOP_REASON__ = null;
|
|
2098
2101
|
const userText = extractAgentRunUserText(userInput);
|
|
2099
|
-
const prompt = buildCliPrompt(
|
|
2102
|
+
const prompt = buildCliPrompt(
|
|
2103
|
+
[agentConfig.prompt, ...contextBlocks ?? []].filter((part) => typeof part === "string" && part.trim().length > 0).join("\n\n"),
|
|
2104
|
+
userText
|
|
2105
|
+
);
|
|
2100
2106
|
const dialogConfig = selectDialogConfigByKey(currentState, explicitDialogKey) ?? selectCurrentDialogConfig(currentState);
|
|
2101
2107
|
if (!dialogConfig) {
|
|
2102
2108
|
return rejectWithValue("Dialog config not found");
|
|
@@ -2172,6 +2178,7 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
|
|
|
2172
2178
|
body: JSON.stringify({
|
|
2173
2179
|
agentKey,
|
|
2174
2180
|
userInput: agentRunUserInput,
|
|
2181
|
+
...Array.isArray(contextBlocks) && contextBlocks.length > 0 ? { contextBlocks } : {},
|
|
2175
2182
|
messages: cleanedMessages,
|
|
2176
2183
|
stream: true,
|
|
2177
2184
|
persistDialog: false,
|
|
@@ -2610,6 +2617,7 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
|
|
|
2610
2617
|
const eventStream = runDesktopAgentRuntimeTurnStream({
|
|
2611
2618
|
agentRef: desktopAgentRef,
|
|
2612
2619
|
input: userInput,
|
|
2620
|
+
...Array.isArray(contextBlocks) && contextBlocks.length > 0 ? { contextBlocks } : {},
|
|
2613
2621
|
continueDialogId: dialogId,
|
|
2614
2622
|
dialogKey,
|
|
2615
2623
|
cwd: runtimeOptions?.cwd,
|
|
@@ -3033,6 +3041,7 @@ ${info.actionHint}` : streamError;
|
|
|
3033
3041
|
const remoteRequestBody = JSON.stringify({
|
|
3034
3042
|
agentKey,
|
|
3035
3043
|
userInput: agentRunUserInput,
|
|
3044
|
+
...Array.isArray(contextBlocks) && contextBlocks.length > 0 ? { contextBlocks } : {},
|
|
3036
3045
|
messages: cleanedMessages,
|
|
3037
3046
|
stream: true,
|
|
3038
3047
|
persistDialog: false,
|
|
@@ -3375,7 +3384,10 @@ ${info.actionHint}` : streamError;
|
|
|
3375
3384
|
logQuickChatPerfStage2(quickChatPerfStartedAt, "stream-agent-dynamic-context-ready", {
|
|
3376
3385
|
responseApi: true
|
|
3377
3386
|
});
|
|
3378
|
-
const contexts =
|
|
3387
|
+
const contexts = withRequestContextBlocks(
|
|
3388
|
+
mergeContexts(staticContexts2, dynamicContexts),
|
|
3389
|
+
contextBlocks
|
|
3390
|
+
);
|
|
3379
3391
|
const rawMessages = selectAllMsgs(loopState, dialogId);
|
|
3380
3392
|
let visibleMessages = buildAgentViewMessages(
|
|
3381
3393
|
rawMessages,
|
|
@@ -3654,7 +3666,10 @@ ${info.actionHint}` : streamError;
|
|
|
3654
3666
|
logQuickChatPerfStage2(quickChatPerfStartedAt, "stream-agent-dynamic-context-ready", {
|
|
3655
3667
|
responseApi: false
|
|
3656
3668
|
});
|
|
3657
|
-
const contexts =
|
|
3669
|
+
const contexts = withRequestContextBlocks(
|
|
3670
|
+
mergeContexts(staticContexts, dynamicContexts),
|
|
3671
|
+
contextBlocks
|
|
3672
|
+
);
|
|
3658
3673
|
const rawMessages = selectAllMsgs(loopState, dialogId);
|
|
3659
3674
|
let visibleMessages = buildAgentViewMessages(
|
|
3660
3675
|
rawMessages,
|
|
@@ -9,14 +9,14 @@ import "./chunk-YDH3FDFQ.js";
|
|
|
9
9
|
import {
|
|
10
10
|
patch,
|
|
11
11
|
selectById
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UMEGDH6A.js";
|
|
13
13
|
import "./chunk-3PVYUPXK.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-4WCEC56C.js";
|
|
15
|
+
import "./chunk-PAFTGNWA.js";
|
|
16
|
+
import "./chunk-UCPAVEQB.js";
|
|
17
17
|
import "./chunk-UEILX4EV.js";
|
|
18
18
|
import "./chunk-X4F26D5K.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-AGP3YSEC.js";
|
|
20
20
|
import "./chunk-QQ56R7KS.js";
|
|
21
21
|
import "./chunk-OW765XBU.js";
|
|
22
22
|
import "./chunk-PXYBUFDB.js";
|
|
@@ -8,52 +8,52 @@ import {
|
|
|
8
8
|
toolQueryFunc,
|
|
9
9
|
toolQueryFunctionSchema,
|
|
10
10
|
toolRegistry
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LT3EAHJY.js";
|
|
12
12
|
import "./chunk-KFHREHUQ.js";
|
|
13
13
|
import "./chunk-YXOBCDNW.js";
|
|
14
14
|
import "./chunk-OXME3PEE.js";
|
|
15
|
+
import "./chunk-NXCGNS4N.js";
|
|
15
16
|
import "./chunk-KSTEXKL6.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-KULR4QDX.js";
|
|
17
|
+
import "./chunk-RYWO5AKN.js";
|
|
18
18
|
import "./chunk-NF64D32W.js";
|
|
19
19
|
import "./chunk-3L2WKC3W.js";
|
|
20
20
|
import "./chunk-I5PBXF7O.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-JYL7LFKD.js";
|
|
21
|
+
import "./chunk-YLTLB5A7.js";
|
|
23
22
|
import "./chunk-MYOH447Z.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-VF4K2QE6.js";
|
|
24
|
+
import "./chunk-IIHY4ZAI.js";
|
|
25
|
+
import "./chunk-HD3WR3TD.js";
|
|
26
26
|
import "./chunk-AGIM7IMJ.js";
|
|
27
27
|
import "./chunk-63W5N6P3.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-JBFZMJ4J.js";
|
|
28
|
+
import "./chunk-7IYBN7IA.js";
|
|
29
|
+
import "./chunk-NHQKWPLP.js";
|
|
30
|
+
import "./chunk-MBS6CTZB.js";
|
|
32
31
|
import "./chunk-TZXPT53C.js";
|
|
33
32
|
import "./chunk-LEC5ALIN.js";
|
|
34
33
|
import "./chunk-523DITKR.js";
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-ADBWFYJD.js";
|
|
35
|
+
import "./chunk-5XBUWM6I.js";
|
|
36
36
|
import "./chunk-BYXBJQAS.js";
|
|
37
37
|
import "./chunk-QYPE3TS3.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-NLT32XBZ.js";
|
|
39
39
|
import "./chunk-4JH2UMJR.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-DQLB4NQ3.js";
|
|
41
41
|
import "./chunk-UAD2WT54.js";
|
|
42
42
|
import "./chunk-5RGU3J7P.js";
|
|
43
43
|
import "./chunk-ZRAU6T47.js";
|
|
44
44
|
import "./chunk-4LCOCOR5.js";
|
|
45
45
|
import "./chunk-OWYYDMGJ.js";
|
|
46
46
|
import "./chunk-YDH3FDFQ.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-QQM464AL.js";
|
|
48
|
+
import "./chunk-BSISWVB4.js";
|
|
49
|
+
import "./chunk-UMEGDH6A.js";
|
|
50
50
|
import "./chunk-3PVYUPXK.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-4WCEC56C.js";
|
|
52
|
+
import "./chunk-PAFTGNWA.js";
|
|
53
|
+
import "./chunk-UCPAVEQB.js";
|
|
54
54
|
import "./chunk-UEILX4EV.js";
|
|
55
55
|
import "./chunk-X4F26D5K.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-AGP3YSEC.js";
|
|
57
57
|
import "./chunk-QQ56R7KS.js";
|
|
58
58
|
import "./chunk-OW765XBU.js";
|
|
59
59
|
import "./chunk-PXYBUFDB.js";
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
canUsePlatformChatProvider,
|
|
8
8
|
parsePlatformChatCompletionResponse,
|
|
9
9
|
resolvePlatformChatProviderConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TCTSYFDM.js";
|
|
11
11
|
import "./chunk-HNUWUO75.js";
|
|
12
|
-
import "./chunk-DA7CTWT4.js";
|
|
13
12
|
import "./chunk-56GBUMO5.js";
|
|
14
13
|
import "./chunk-CVCRAO6Q.js";
|
|
15
14
|
import "./chunk-E2BESSAW.js";
|
|
15
|
+
import "./chunk-DA7CTWT4.js";
|
|
16
16
|
import "./chunk-CKOO42G5.js";
|
|
17
17
|
import {
|
|
18
18
|
COMPACTION_SUMMARY_SYSTEM_PROMPT
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateContentTitle
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-5XBUWM6I.js";
|
|
3
|
+
} from "./chunk-NHQKWPLP.js";
|
|
5
4
|
import {
|
|
6
5
|
format,
|
|
7
6
|
isAssistantToolStub,
|
|
8
7
|
selectAllMsgs
|
|
9
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MBS6CTZB.js";
|
|
10
9
|
import "./chunk-TZXPT53C.js";
|
|
11
10
|
import "./chunk-LEC5ALIN.js";
|
|
12
11
|
import {
|
|
@@ -15,12 +14,13 @@ import {
|
|
|
15
14
|
} from "./chunk-523DITKR.js";
|
|
16
15
|
import {
|
|
17
16
|
runLlm
|
|
18
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ADBWFYJD.js";
|
|
18
|
+
import "./chunk-5XBUWM6I.js";
|
|
19
19
|
import "./chunk-BYXBJQAS.js";
|
|
20
20
|
import "./chunk-QYPE3TS3.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-NLT32XBZ.js";
|
|
22
22
|
import "./chunk-4JH2UMJR.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-DQLB4NQ3.js";
|
|
24
24
|
import {
|
|
25
25
|
normalizeSpaceId
|
|
26
26
|
} from "./chunk-UAD2WT54.js";
|
|
@@ -32,18 +32,18 @@ import {
|
|
|
32
32
|
} from "./chunk-4LCOCOR5.js";
|
|
33
33
|
import "./chunk-OWYYDMGJ.js";
|
|
34
34
|
import "./chunk-YDH3FDFQ.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-BSISWVB4.js";
|
|
36
36
|
import {
|
|
37
37
|
patch,
|
|
38
38
|
selectById
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-UMEGDH6A.js";
|
|
40
40
|
import "./chunk-3PVYUPXK.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-4WCEC56C.js";
|
|
42
|
+
import "./chunk-PAFTGNWA.js";
|
|
43
|
+
import "./chunk-UCPAVEQB.js";
|
|
44
44
|
import "./chunk-UEILX4EV.js";
|
|
45
45
|
import "./chunk-X4F26D5K.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-AGP3YSEC.js";
|
|
47
47
|
import "./chunk-QQ56R7KS.js";
|
|
48
48
|
import "./chunk-OW765XBU.js";
|
|
49
49
|
import {
|
|
File without changes
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
resolveAgentImageInputSupport
|
|
3
|
-
} from "./chunk-DA7CTWT4.js";
|
|
4
1
|
import {
|
|
5
2
|
TOOL_HAD_IMAGES,
|
|
6
3
|
hadToolImages
|
|
7
4
|
} from "./chunk-E2BESSAW.js";
|
|
5
|
+
import {
|
|
6
|
+
resolveAgentImageInputSupport
|
|
7
|
+
} from "./chunk-DA7CTWT4.js";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
10
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
streamSseDataValues
|
|
3
3
|
} from "./chunk-HNUWUO75.js";
|
|
4
|
-
import {
|
|
5
|
-
resolveToolImagePolicy
|
|
6
|
-
} from "./chunk-DA7CTWT4.js";
|
|
7
4
|
import {
|
|
8
5
|
projectOpenAiToolImages
|
|
9
6
|
} from "./chunk-E2BESSAW.js";
|
|
7
|
+
import {
|
|
8
|
+
resolveToolImagePolicy
|
|
9
|
+
} from "./chunk-DA7CTWT4.js";
|
|
10
10
|
import {
|
|
11
11
|
getAntigravityUserAgent,
|
|
12
12
|
readAntigravityProjectId,
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readSseFrames
|
|
3
3
|
} from "./chunk-HNUWUO75.js";
|
|
4
|
-
import {
|
|
5
|
-
resolveToolImagePolicy
|
|
6
|
-
} from "./chunk-DA7CTWT4.js";
|
|
7
4
|
import {
|
|
8
5
|
accumulateToolCallDelta,
|
|
9
6
|
createThinkParserState,
|
|
@@ -31,6 +28,9 @@ import {
|
|
|
31
28
|
toOpenAiCompatibleMessages,
|
|
32
29
|
toResponsesTools
|
|
33
30
|
} from "./chunk-CVCRAO6Q.js";
|
|
31
|
+
import {
|
|
32
|
+
resolveToolImagePolicy
|
|
33
|
+
} from "./chunk-DA7CTWT4.js";
|
|
34
34
|
import {
|
|
35
35
|
isMeaningfulChatCompletionOutput,
|
|
36
36
|
isMeaningfulResponsesOutput
|
|
File without changes
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Database
|
|
3
|
+
} from "./chunk-IT3ZZRJE.js";
|
|
1
4
|
import {
|
|
2
5
|
DOCKER_SANDBOX_BACKEND_ID,
|
|
3
6
|
confirmDockerSandboxStopped,
|
|
@@ -10,9 +13,6 @@ import {
|
|
|
10
13
|
createDockerToolChannel,
|
|
11
14
|
dockerExecutionToolNames
|
|
12
15
|
} from "./chunk-HGDKT2D6.js";
|
|
13
|
-
import {
|
|
14
|
-
Database
|
|
15
|
-
} from "./chunk-IT3ZZRJE.js";
|
|
16
16
|
import "./chunk-PWTNI4N7.js";
|
|
17
17
|
import "./chunk-R5GO3YZP.js";
|
|
18
18
|
import "./chunk-4VNS5WPM.js";
|