nolo-cli 0.176.0-alpha.1 → 0.177.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-OV72YSE4.js → _executeModel-6WX5JUK7.js} +14 -14
- package/{accountResolver-YGMLY3WW.js → accountResolver-OHS53Q75.js} +2 -2
- package/{agentDeleteCommand-HOWS5BAT.js → agentDeleteCommand-JQG2LSA5.js} +17 -17
- package/{agentEmailCommands-3EETPZFC.js → agentEmailCommands-OXTDO2NF.js} +19 -19
- package/{agentListCommands-7ZZHM4GC.js → agentListCommands-4EXK3SYL.js} +7 -7
- package/{agentMachineCommands-BGQVXERS.js → agentMachineCommands-EY7STQGY.js} +8 -8
- package/{agentRecordCommands-L2O46J54.js → agentRecordCommands-YBMNP36Y.js} +18 -18
- package/{agentRunCommand-7HDQ4RLO.js → agentRunCommand-RLLMSTZO.js} +19 -19
- package/{agentRuntimeLocal-3QX3FMER.js → agentRuntimeLocal-JNX6T5PK.js} +7 -7
- package/{agentSlice-VC7BZD5N.js → agentSlice-FYQAPKX5.js} +1 -1
- package/{appDeleteCommands-NJAVC6F4.js → appDeleteCommands-26FQDO25.js} +7 -7
- package/{appDeployCommands-POTCQDWQ.js → appDeployCommands-SUWSMHNK.js} +7 -7
- package/{appDeployStatusCommands-YIG5S2ET.js → appDeployStatusCommands-KQ7ENQE4.js} +7 -7
- package/{appGetCommands-HSXKEA64.js → appGetCommands-HGMGWU5B.js} +7 -7
- package/{appListCommands-GKLZKGKZ.js → appListCommands-2N6XHLGI.js} +7 -7
- package/{authCommand-2IUG2PX7.js → authCommand-44AMFHPM.js} +2 -2
- package/{chromeCommands-Z5LDHMYN.js → chromeCommands-VANHVOCE.js} +2 -2
- package/{chromeOpsCommands-CHBIUDJD.js → chromeOpsCommands-RY776THN.js} +2 -2
- package/{chunk-IR55JAHL.js → chunk-33BY55WF.js} +3 -3
- package/{chunk-33AGCT5W.js → chunk-3MZ33FL7.js} +1 -1
- package/{chunk-GHNRJ3TK.js → chunk-4NB4XLNL.js} +3 -3
- package/{chunk-CS4FUKMG.js → chunk-5VNY3X7V.js} +1 -1
- package/{chunk-SYIWIP4D.js → chunk-5ZTCH2Y6.js} +2 -2
- package/{chunk-MR7SWXO4.js → chunk-72ILVFRF.js} +15 -15
- package/{chunk-36OQE7ZU.js → chunk-ABEZP6S7.js} +9 -9
- package/{chunk-U3YGSKXD.js → chunk-AEZBL2MY.js} +1 -1
- package/{chunk-TV6QW46C.js → chunk-C2M3QZBC.js} +8 -8
- package/{chunk-DRR5E2EM.js → chunk-CY2NSJL5.js} +1 -1
- package/{chunk-GJU7F5IR.js → chunk-DN2DBFJ2.js} +1 -1
- package/{chunk-JJE5HQ6M.js → chunk-E23Y7NIR.js} +5 -5
- package/{chunk-XIM37FAU.js → chunk-FR2AHCB6.js} +8 -8
- package/{chunk-SRZ6BQIP.js → chunk-HIVDQPQR.js} +9 -1
- package/{chunk-QMFYP3O4.js → chunk-ITSMLMHJ.js} +1 -1
- package/{chunk-CCWUO2ZE.js → chunk-IZAL4EF7.js} +2 -2
- package/{chunk-IJOJMOCX.js → chunk-KYAMW3AY.js} +4 -4
- package/{chunk-3ERN2PSD.js → chunk-LP4XBYE7.js} +3 -3
- package/{chunk-LQRXBYTS.js → chunk-MBFXRU2T.js} +8 -8
- package/{chunk-P3KTMRQ2.js → chunk-NF5NWGPH.js} +1 -1
- package/{chunk-S4SXPMPC.js → chunk-NRO3AZRC.js} +2 -2
- package/{chunk-QA5LXQFO.js → chunk-PAI4KXWW.js} +55 -19
- package/{chunk-73FHDE7C.js → chunk-PN2D6STE.js} +2 -2
- package/{chunk-GA4NE7QH.js → chunk-RX7AYZIB.js} +3 -3
- package/{chunk-DPQYIS6D.js → chunk-YUXSWHQC.js} +3 -2
- package/{chunk-UPJVQK5J.js → chunk-YWEMVIRS.js} +2 -2
- package/{commandRegistry-B24YK3LB.js → commandRegistry-VUSP6YAY.js} +51 -51
- package/{contentThunks-F4Y7V4IH.js → contentThunks-HLBN6LDG.js} +3 -3
- package/{createAgentAutomationAction-7K5M7ULU.js → createAgentAutomationAction-KZHZ7RGX.js} +3 -3
- package/{createDialogAction-SYA2LFEN.js → createDialogAction-R4QDGQPX.js} +4 -4
- package/{createPageAction-FAYZZVYI.js → createPageAction-BEQBAYSA.js} +3 -3
- package/{dialogCommands-K6AQZTAS.js → dialogCommands-TH32KIJ4.js} +7 -7
- package/{dialogSlice-QRWP73XJ.js → dialogSlice-XUN4AEE6.js} +2 -2
- package/{docCreateCommands-3ZDCDYLH.js → docCreateCommands-DU2MJR2G.js} +7 -7
- package/{docDeleteCommands-O74MHZEA.js → docDeleteCommands-6POYBBEE.js} +7 -7
- package/{docReadCommands-QJPAFQS3.js → docReadCommands-SN2JJSMI.js} +7 -7
- package/{docStore-TABPPAGD.js → docStore-YGM3R64V.js} +1 -1
- package/{docUpdateCommands-M3THSN6V.js → docUpdateCommands-JBC4GWE6.js} +7 -7
- package/{handleSendMessageAction-FRBUFXEC.js → handleSendMessageAction-I3TYJFAZ.js} +7 -7
- package/index.js +4 -4
- package/{localRuntimeAdapter-2YSA5D7P.js → localRuntimeAdapter-MUGE4TRL.js} +17 -17
- package/{machineCommands-LVRRVNPD.js → machineCommands-EEFNO3WU.js} +18 -18
- package/{machineWsRunDispatch-HUQ6HPSC.js → machineWsRunDispatch-SXNCWZNO.js} +18 -18
- package/package.json +1 -1
- package/{readlineWorkspace-N74QNU7H.js → readlineWorkspace-W23GKNU7.js} +19 -19
- package/{runAgentClientLoop-NYZWX6JF.js → runAgentClientLoop-HZU57DWI.js} +12 -12
- package/{spaceCommands-5ZN5J2X3.js → spaceCommands-2D7RAC6A.js} +7 -7
- package/{streamAgentChatTurn-LP3RQ3K5.js → streamAgentChatTurn-YGVG54KM.js} +15 -15
- package/{tools-KYFVARQ5.js → tools-EHK4XG4X.js} +7 -7
- package/{tuiSummaryLlmCaller-OM3V6TZG.js → tuiSummaryLlmCaller-2MLU3QOG.js} +3 -3
- package/{updateDialogTitleAction-4ESKJ7L6.js → updateDialogTitleAction-FRLRJMQY.js} +3 -3
|
@@ -17,23 +17,23 @@ import "./chunk-RPZNVBA5.js";
|
|
|
17
17
|
import "./chunk-NBTY7YJF.js";
|
|
18
18
|
import "./chunk-VF4K2QE6.js";
|
|
19
19
|
import "./chunk-UAD2WT54.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-PAI4KXWW.js";
|
|
21
|
+
import "./chunk-ITSMLMHJ.js";
|
|
22
22
|
import "./chunk-ZNFJWEN4.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-CY2NSJL5.js";
|
|
24
24
|
import "./chunk-HNUWUO75.js";
|
|
25
25
|
import "./chunk-CHOZJMJS.js";
|
|
26
26
|
import "./chunk-PWTNI4N7.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-HIVDQPQR.js";
|
|
28
|
+
import "./chunk-5VNY3X7V.js";
|
|
29
29
|
import "./chunk-2WZXXAQD.js";
|
|
30
30
|
import "./chunk-XRU4QTSX.js";
|
|
31
31
|
import "./chunk-G6OOUQWJ.js";
|
|
32
32
|
import "./chunk-56GBUMO5.js";
|
|
33
33
|
import "./chunk-WJZOQR2J.js";
|
|
34
34
|
import "./chunk-ZEOR6XPJ.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-AEZBL2MY.js";
|
|
36
|
+
import "./chunk-KYAMW3AY.js";
|
|
37
37
|
import "./chunk-2GRXE3YJ.js";
|
|
38
38
|
import "./chunk-JLR5NWP2.js";
|
|
39
39
|
import "./chunk-XAFCJN32.js";
|
|
@@ -18,23 +18,23 @@ import "./chunk-RPZNVBA5.js";
|
|
|
18
18
|
import "./chunk-NBTY7YJF.js";
|
|
19
19
|
import "./chunk-VF4K2QE6.js";
|
|
20
20
|
import "./chunk-UAD2WT54.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-PAI4KXWW.js";
|
|
22
|
+
import "./chunk-ITSMLMHJ.js";
|
|
23
23
|
import "./chunk-ZNFJWEN4.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-CY2NSJL5.js";
|
|
25
25
|
import "./chunk-HNUWUO75.js";
|
|
26
26
|
import "./chunk-CHOZJMJS.js";
|
|
27
27
|
import "./chunk-PWTNI4N7.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-HIVDQPQR.js";
|
|
29
|
+
import "./chunk-5VNY3X7V.js";
|
|
30
30
|
import "./chunk-2WZXXAQD.js";
|
|
31
31
|
import "./chunk-XRU4QTSX.js";
|
|
32
32
|
import "./chunk-G6OOUQWJ.js";
|
|
33
33
|
import "./chunk-56GBUMO5.js";
|
|
34
34
|
import "./chunk-WJZOQR2J.js";
|
|
35
35
|
import "./chunk-ZEOR6XPJ.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-AEZBL2MY.js";
|
|
37
|
+
import "./chunk-KYAMW3AY.js";
|
|
38
38
|
import "./chunk-2GRXE3YJ.js";
|
|
39
39
|
import "./chunk-JLR5NWP2.js";
|
|
40
40
|
import "./chunk-XAFCJN32.js";
|
|
@@ -18,23 +18,23 @@ import "./chunk-RPZNVBA5.js";
|
|
|
18
18
|
import "./chunk-NBTY7YJF.js";
|
|
19
19
|
import "./chunk-VF4K2QE6.js";
|
|
20
20
|
import "./chunk-UAD2WT54.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-PAI4KXWW.js";
|
|
22
|
+
import "./chunk-ITSMLMHJ.js";
|
|
23
23
|
import "./chunk-ZNFJWEN4.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-CY2NSJL5.js";
|
|
25
25
|
import "./chunk-HNUWUO75.js";
|
|
26
26
|
import "./chunk-CHOZJMJS.js";
|
|
27
27
|
import "./chunk-PWTNI4N7.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-HIVDQPQR.js";
|
|
29
|
+
import "./chunk-5VNY3X7V.js";
|
|
30
30
|
import "./chunk-2WZXXAQD.js";
|
|
31
31
|
import "./chunk-XRU4QTSX.js";
|
|
32
32
|
import "./chunk-G6OOUQWJ.js";
|
|
33
33
|
import "./chunk-56GBUMO5.js";
|
|
34
34
|
import "./chunk-WJZOQR2J.js";
|
|
35
35
|
import "./chunk-ZEOR6XPJ.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-AEZBL2MY.js";
|
|
37
|
+
import "./chunk-KYAMW3AY.js";
|
|
38
38
|
import "./chunk-2GRXE3YJ.js";
|
|
39
39
|
import "./chunk-JLR5NWP2.js";
|
|
40
40
|
import "./chunk-XAFCJN32.js";
|
|
@@ -65,10 +65,10 @@ import {
|
|
|
65
65
|
detectLocalDevinCredentials,
|
|
66
66
|
extractDevinToken,
|
|
67
67
|
fetchAntigravityCloudCodeCompletion
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-ITSMLMHJ.js";
|
|
69
69
|
import "./chunk-HNUWUO75.js";
|
|
70
70
|
import "./chunk-XRU4QTSX.js";
|
|
71
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-KYAMW3AY.js";
|
|
72
72
|
import "./chunk-XAFCJN32.js";
|
|
73
73
|
import "./chunk-5ZUL4CUO.js";
|
|
74
74
|
import "./chunk-UKZX3NHN.js";
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
REQUIRED_CHROME_CONNECTOR_FEATURES,
|
|
8
8
|
createChromeConnectorClient,
|
|
9
9
|
resolveUploadRoots
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-YUXSWHQC.js";
|
|
11
|
+
import "./chunk-HIVDQPQR.js";
|
|
12
12
|
import "./chunk-KUG52IAP.js";
|
|
13
13
|
import {
|
|
14
14
|
toErrorMessage
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-72ILVFRF.js";
|
|
5
5
|
import {
|
|
6
6
|
t
|
|
7
7
|
} from "./chunk-TDX2L4W2.js";
|
|
8
8
|
import {
|
|
9
9
|
clipMultilineText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5ZTCH2Y6.js";
|
|
11
11
|
import {
|
|
12
12
|
runLocalAgentTurn
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PAI4KXWW.js";
|
|
14
14
|
import {
|
|
15
15
|
applyToolSurfaceConstraints
|
|
16
16
|
} from "./chunk-2GRXE3YJ.js";
|
|
@@ -347,7 +347,7 @@ var slice = createSliceWithThunks({
|
|
|
347
347
|
const overrides = {};
|
|
348
348
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
349
349
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
350
|
-
const { _executeModel } = await import("./_executeModel-
|
|
350
|
+
const { _executeModel } = await import("./_executeModel-6WX5JUK7.js");
|
|
351
351
|
return _executeModel(
|
|
352
352
|
{
|
|
353
353
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -368,7 +368,7 @@ var slice = createSliceWithThunks({
|
|
|
368
368
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
369
369
|
*/
|
|
370
370
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
371
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
371
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-HZU57DWI.js");
|
|
372
372
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
373
373
|
{
|
|
374
374
|
agentKey: args.agentKey,
|
|
@@ -384,7 +384,7 @@ var slice = createSliceWithThunks({
|
|
|
384
384
|
* 聊天轮次流式 Agent 调用
|
|
385
385
|
*/
|
|
386
386
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
387
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
387
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-YGVG54KM.js");
|
|
388
388
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
389
389
|
}),
|
|
390
390
|
/**
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-VYNMQ6HW.js";
|
|
9
9
|
import {
|
|
10
10
|
fetchAndCacheTableRows
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DN2DBFJ2.js";
|
|
12
12
|
import {
|
|
13
13
|
require_react
|
|
14
14
|
} from "./chunk-YDH3FDFQ.js";
|
|
@@ -521,7 +521,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
521
521
|
if (!executionInput) {
|
|
522
522
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
523
523
|
}
|
|
524
|
-
const { findToolExecutor } = await import("./tools-
|
|
524
|
+
const { findToolExecutor } = await import("./tools-EHK4XG4X.js");
|
|
525
525
|
const { executor } = findToolExecutor(run.toolName);
|
|
526
526
|
toolRunStarted({
|
|
527
527
|
id: run.id,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
createChromeConnectorClientResolver,
|
|
52
52
|
createVerifiedChromeConnectorClient,
|
|
53
53
|
executeChromeConnectorTool
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-YUXSWHQC.js";
|
|
55
55
|
import {
|
|
56
56
|
applyPublicAgentCatalogOverride
|
|
57
57
|
} from "./chunk-W6E5IXIP.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
import {
|
|
65
65
|
inlineImageUrlsForCustomProvider,
|
|
66
66
|
prepareTools
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-IZAL4EF7.js";
|
|
68
68
|
import {
|
|
69
69
|
getServerProviderSecret
|
|
70
70
|
} from "./chunk-HS7MLR74.js";
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
resolveCliLocalRuntimeKeyCapability,
|
|
87
87
|
resolveCliLocalSpawnDispatch,
|
|
88
88
|
resolveStartAgentRunCwd
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-C2M3QZBC.js";
|
|
90
90
|
import {
|
|
91
91
|
deriveCredentialGroup,
|
|
92
92
|
deriveCustomProviderCredentialGroup
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
} from "./chunk-KFHREHUQ.js";
|
|
98
98
|
import {
|
|
99
99
|
resolveAgentRequiredPackIds
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-5ZTCH2Y6.js";
|
|
101
101
|
import {
|
|
102
102
|
applyBuiltinAgentRuntimeOverride,
|
|
103
103
|
applyTokenUsageToDayStats,
|
|
@@ -106,14 +106,14 @@ import {
|
|
|
106
106
|
resolveBuiltinPlatformAgentConfig,
|
|
107
107
|
runKeyed,
|
|
108
108
|
validateAskChoiceInput
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-MBFXRU2T.js";
|
|
110
110
|
import {
|
|
111
111
|
BUILTIN_DIALOG_LLM_CHAT_FALLBACK_MODEL,
|
|
112
112
|
BUILTIN_TITLE_LLM_CONFIG
|
|
113
113
|
} from "./chunk-523DITKR.js";
|
|
114
114
|
import {
|
|
115
115
|
fetchServerSyncedCredential
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-4NB4XLNL.js";
|
|
117
117
|
import {
|
|
118
118
|
isTombstoneRecord
|
|
119
119
|
} from "./chunk-D2MDMY2M.js";
|
|
@@ -170,7 +170,7 @@ import {
|
|
|
170
170
|
runExecShellGates,
|
|
171
171
|
validateConfiguredRootExecutionLease,
|
|
172
172
|
verifyOwnerRouteAck
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-PAI4KXWW.js";
|
|
174
174
|
import {
|
|
175
175
|
accumulateGeminiChunks,
|
|
176
176
|
buildGeminiGenerateContentRequest,
|
|
@@ -182,7 +182,7 @@ import {
|
|
|
182
182
|
resolveAntigravityFinishReason,
|
|
183
183
|
resolveGeminiModelQuirks,
|
|
184
184
|
shouldUseGeminiNativeToolRoute
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-ITSMLMHJ.js";
|
|
186
186
|
import {
|
|
187
187
|
PlatformStreamInterruptedError,
|
|
188
188
|
buildPlatformChatCompletionRequest,
|
|
@@ -193,14 +193,14 @@ import {
|
|
|
193
193
|
readPlatformChatSseCompletion,
|
|
194
194
|
resolvePlatformChatProviderConfig,
|
|
195
195
|
shouldUsePlatformChatProvider
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-CY2NSJL5.js";
|
|
197
197
|
import {
|
|
198
198
|
readSseDataValues,
|
|
199
199
|
readSseFrames
|
|
200
200
|
} from "./chunk-HNUWUO75.js";
|
|
201
201
|
import {
|
|
202
202
|
resolveAgentRuntimeConfigFromRecord
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-5VNY3X7V.js";
|
|
204
204
|
import {
|
|
205
205
|
resolveHistoricalToolContentCap
|
|
206
206
|
} from "./chunk-2WZXXAQD.js";
|
|
@@ -213,7 +213,7 @@ import {
|
|
|
213
213
|
findAgentStatePairingIssues,
|
|
214
214
|
stablePromptCacheKey,
|
|
215
215
|
toResponsesTools
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-AEZBL2MY.js";
|
|
217
217
|
import {
|
|
218
218
|
EMPTY_TOOL_RESULT_TEXT,
|
|
219
219
|
createToolImageBudget,
|
|
@@ -222,7 +222,7 @@ import {
|
|
|
222
222
|
toolImageOmission,
|
|
223
223
|
toolImageSource,
|
|
224
224
|
toolImages
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-KYAMW3AY.js";
|
|
226
226
|
import {
|
|
227
227
|
buildNoloWorkspaceOpenAiTools,
|
|
228
228
|
filterClientNoloWorkspaceToolNames,
|
|
@@ -827,13 +827,13 @@ function buildAnthropicMessagesBody(args) {
|
|
|
827
827
|
const notices = toolImageNotices(message);
|
|
828
828
|
const imageBlocks = [];
|
|
829
829
|
if (resolveToolImagePolicy({ ...args.agentConfig, routeKind: "anthropic" }).supportsToolImages) {
|
|
830
|
-
for (const image of images) {
|
|
830
|
+
for (const [imageIndex, image] of images.entries()) {
|
|
831
831
|
const decision = imageBudget(image);
|
|
832
832
|
if (decision === "duplicate") continue;
|
|
833
833
|
if (decision !== "delivered") {
|
|
834
834
|
if (!notices.seen.has(image)) {
|
|
835
835
|
notices.seen.add(image);
|
|
836
|
-
notices.text.push(toolImageOmission(toolImageSource(message), decision === "impossible"));
|
|
836
|
+
notices.text.push(toolImageOmission(toolImageSource(message, imageIndex), decision === "impossible"));
|
|
837
837
|
}
|
|
838
838
|
} else {
|
|
839
839
|
imageBlocks.push({ type: "image", source: {
|
|
@@ -9659,7 +9659,7 @@ async function createLocalDockerWorkload(args) {
|
|
|
9659
9659
|
const createLifecycle = args.createLifecycle ?? (async () => {
|
|
9660
9660
|
const [{ DockerWorkloadLifecycle, createDockerBindingAuthorizer }, accounts] = await Promise.all([
|
|
9661
9661
|
import("./workloadLifecycle-MZ2V5L43.js"),
|
|
9662
|
-
import("./accountResolver-
|
|
9662
|
+
import("./accountResolver-OHS53Q75.js")
|
|
9663
9663
|
]);
|
|
9664
9664
|
const resolveAccount = args.resolveAccount ?? accounts.createDockerAccountResolver({
|
|
9665
9665
|
env: args.env,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
resolveRawAgentInput,
|
|
10
10
|
resolveServerUrl,
|
|
11
11
|
writeUsage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NF5NWGPH.js";
|
|
13
13
|
import {
|
|
14
14
|
getReadableCliDb
|
|
15
15
|
} from "./chunk-62TBKWTV.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
resolveFileWriteGateEnabled,
|
|
32
32
|
resolveLocalUserId,
|
|
33
33
|
validateInstaboxWorkspaceSelection
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-72ILVFRF.js";
|
|
35
35
|
import {
|
|
36
36
|
clearCredentialAvailability,
|
|
37
37
|
readEffectiveCredentialEntry,
|
|
@@ -79,14 +79,14 @@ import {
|
|
|
79
79
|
} from "./chunk-BMQ2MJUK.js";
|
|
80
80
|
import {
|
|
81
81
|
resolveCliLocalRuntimeKeyCapability
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-C2M3QZBC.js";
|
|
83
83
|
import {
|
|
84
84
|
isTransientFetchError
|
|
85
85
|
} from "./chunk-KFHREHUQ.js";
|
|
86
86
|
import {
|
|
87
87
|
parseUiCard,
|
|
88
88
|
uiCardFallback
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-5ZTCH2Y6.js";
|
|
90
90
|
import {
|
|
91
91
|
isGatewayHttpStatus
|
|
92
92
|
} from "./chunk-NF64D32W.js";
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
chooseMemoryOwners,
|
|
96
96
|
loadMemoryCandidatesFromDb,
|
|
97
97
|
resolveAgentMemoryPolicy
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-PN2D6STE.js";
|
|
99
99
|
import {
|
|
100
100
|
API_REPORTED_COST_MULTIPLIER,
|
|
101
101
|
estimateMessagesTokens,
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
resolveAgentContextWindow,
|
|
104
104
|
resolveOccupancy,
|
|
105
105
|
resolveOccupancyWindow
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-MBFXRU2T.js";
|
|
107
107
|
import {
|
|
108
108
|
buildSkillDiscoveryContextLayer
|
|
109
109
|
} from "./chunk-AU7AXHUL.js";
|
|
@@ -115,10 +115,10 @@ import {
|
|
|
115
115
|
LOCAL_AGENT_CONFIG_MISSING_CODE,
|
|
116
116
|
LOCAL_TURN_ABORTED_CODE,
|
|
117
117
|
readActionGate
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-PAI4KXWW.js";
|
|
119
119
|
import {
|
|
120
120
|
resolveAgentRuntimeConfigFromRecord
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-5VNY3X7V.js";
|
|
122
122
|
import {
|
|
123
123
|
createThinkParserState,
|
|
124
124
|
flushThinkParser,
|
|
@@ -11376,7 +11376,7 @@ function isBalanceExhaustedError(error) {
|
|
|
11376
11376
|
|
|
11377
11377
|
// packages/cli/client/agentRun.ts
|
|
11378
11378
|
async function loadRunLocalAgentTurn() {
|
|
11379
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
11379
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-JNX6T5PK.js");
|
|
11380
11380
|
return runLocalAgentTurn;
|
|
11381
11381
|
}
|
|
11382
11382
|
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();
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
toolRunUpdated,
|
|
21
21
|
uiCardFallback,
|
|
22
22
|
waitForAbortableDelay
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5ZTCH2Y6.js";
|
|
24
24
|
import {
|
|
25
25
|
isGatewayHttpStatus
|
|
26
26
|
} from "./chunk-NF64D32W.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
} from "./chunk-VF4K2QE6.js";
|
|
65
65
|
import {
|
|
66
66
|
createDocState
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-NRO3AZRC.js";
|
|
68
68
|
import {
|
|
69
69
|
addMemberSpace,
|
|
70
70
|
fetchAuthoritativeRemoteSpace,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "./chunk-BAWAKW7X.js";
|
|
80
80
|
import {
|
|
81
81
|
createDialogAction
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-PN2D6STE.js";
|
|
83
83
|
import {
|
|
84
84
|
setDialogExtraReferencesAction
|
|
85
85
|
} from "./chunk-IF7V3CBU.js";
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
updateContentCategory,
|
|
103
103
|
updateContentTitle,
|
|
104
104
|
writeStoredCollapsedCategories
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-DN2DBFJ2.js";
|
|
106
106
|
import {
|
|
107
107
|
buildDatabaseFileContentUrl,
|
|
108
108
|
deleteDialog,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
selectMsgById,
|
|
116
116
|
uiAskChoiceFunc,
|
|
117
117
|
uiAskChoiceFunctionSchema
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-MBFXRU2T.js";
|
|
119
119
|
import {
|
|
120
120
|
buildMediaToolConfirmation,
|
|
121
121
|
normalizeMediaConfirmExecutionRevision
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
runLlm,
|
|
127
127
|
streamAgentChatTurn,
|
|
128
128
|
updateAgent
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-4NB4XLNL.js";
|
|
130
130
|
import {
|
|
131
131
|
getCurrentSpaceId,
|
|
132
132
|
getCurrentSpaceIdRaw,
|
|
@@ -3882,7 +3882,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
3882
3882
|
const deletedDialogIds = [];
|
|
3883
3883
|
const deletedDialogKeys = [];
|
|
3884
3884
|
const failures = [];
|
|
3885
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
3885
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-XUN4AEE6.js");
|
|
3886
3886
|
for (const target of targets) {
|
|
3887
3887
|
try {
|
|
3888
3888
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -18563,7 +18563,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18563
18563
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
18564
18564
|
};
|
|
18565
18565
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
18566
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
18566
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-YGM3R64V.js");
|
|
18567
18567
|
if (getDocState().pageKey === id) {
|
|
18568
18568
|
applyExternalDocUpdate({
|
|
18569
18569
|
slateData: finalSlateData,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
mergeReferences,
|
|
8
8
|
resolveReferenceAssets,
|
|
9
9
|
resolveToolsFromKeys
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YWEMVIRS.js";
|
|
11
11
|
import {
|
|
12
12
|
UI_CARD_ENVELOPE_MAX_BYTES,
|
|
13
13
|
getAllToolRuns,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
selectSpaceContextLevel,
|
|
21
21
|
selectUserTonePreset,
|
|
22
22
|
uiCardFallback
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5ZTCH2Y6.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveToolBaseUrl
|
|
26
26
|
} from "./chunk-MYOH447Z.js";
|
|
@@ -32,15 +32,15 @@ import {
|
|
|
32
32
|
} from "./chunk-TDNAAXUQ.js";
|
|
33
33
|
import {
|
|
34
34
|
getDocState
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-NRO3AZRC.js";
|
|
36
36
|
import {
|
|
37
37
|
getTableState
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-DN2DBFJ2.js";
|
|
39
39
|
import {
|
|
40
40
|
PERSONALIZATION_DIALOG_CATEGORY,
|
|
41
41
|
buildPersonalizationDialogPolicyContext,
|
|
42
42
|
selectAllMsgs
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-MBFXRU2T.js";
|
|
44
44
|
import {
|
|
45
45
|
getCurrentSpaceIdRaw,
|
|
46
46
|
getViewMode
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IZAL4EF7.js";
|
|
9
9
|
import {
|
|
10
10
|
CONFIRMATION_INPUT_KEYS,
|
|
11
11
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
performFetchRequest,
|
|
15
15
|
sanitizeOutboundMessages,
|
|
16
16
|
stripModelToolArgs
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RX7AYZIB.js";
|
|
18
18
|
import {
|
|
19
19
|
findToolExecutor,
|
|
20
20
|
toolDefinitionsByName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-C2M3QZBC.js";
|
|
22
22
|
import {
|
|
23
23
|
classifyApiError,
|
|
24
24
|
classifyGenerationError,
|
|
25
25
|
extractErrorDiagnostics
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-YWEMVIRS.js";
|
|
27
27
|
import {
|
|
28
28
|
createSSEParser,
|
|
29
29
|
createToolRunId,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
toolRunSetPending,
|
|
33
33
|
toolRunStarted,
|
|
34
34
|
toolRunSucceeded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-5ZTCH2Y6.js";
|
|
36
36
|
import {
|
|
37
37
|
getPublicImageAgentMode
|
|
38
38
|
} from "./chunk-VIDPVFP3.js";
|
|
@@ -42,10 +42,10 @@ import {
|
|
|
42
42
|
messageStreaming,
|
|
43
43
|
toolResultNeedsUserConfirmation,
|
|
44
44
|
updateToolMessage
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-MBFXRU2T.js";
|
|
46
46
|
import {
|
|
47
47
|
streamAgentChatTurn
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-4NB4XLNL.js";
|
|
49
49
|
import {
|
|
50
50
|
getCurrentSpaceId
|
|
51
51
|
} from "./chunk-ZJ7UHBJS.js";
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
} from "./chunk-56GBUMO5.js";
|
|
86
86
|
import {
|
|
87
87
|
normalizeChatCompletionsBodyForProvider
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-AEZBL2MY.js";
|
|
89
89
|
import {
|
|
90
90
|
EMPTY_ASSISTANT_REPAIR_PROMPT
|
|
91
91
|
} from "./chunk-T7HBI3WZ.js";
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
// packages/agent-runtime/imageSummary.ts
|
|
2
|
+
function formatImageSummary(summary) {
|
|
3
|
+
return `[${summary.kind} ${summary.width}x${summary.height} ${summary.bytes} bytes \u2192 ${summary.path}]`;
|
|
4
|
+
}
|
|
5
|
+
|
|
1
6
|
// packages/agent-runtime/readImage.ts
|
|
2
7
|
import { readFile } from "node:fs/promises";
|
|
3
8
|
import { extname } from "node:path";
|
|
@@ -57,12 +62,15 @@ async function readLocalImage(path, options) {
|
|
|
57
62
|
height = resized.info.height;
|
|
58
63
|
mimeType = "image/jpeg";
|
|
59
64
|
}
|
|
65
|
+
const imageSummary = { width, height, bytes: output.length, path };
|
|
60
66
|
return {
|
|
61
|
-
|
|
67
|
+
imageSummary,
|
|
68
|
+
content: formatImageSummary({ kind: "image", ...imageSummary }),
|
|
62
69
|
images: [{ mimeType, dataBase64: output.toString("base64") }]
|
|
63
70
|
};
|
|
64
71
|
}
|
|
65
72
|
|
|
66
73
|
export {
|
|
74
|
+
formatImageSummary,
|
|
67
75
|
readLocalImage
|
|
68
76
|
};
|