nolo-cli 0.207.0 → 0.208.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-J7C6BIAS.js → _executeModel-F4GZ3K75.js} +17 -17
- package/{agentDeleteCommand-KMRFMAZZ.js → agentDeleteCommand-F2HW7SZI.js} +23 -23
- package/{agentEmailCommands-6QO4IX72.js → agentEmailCommands-6PJSMXBQ.js} +25 -25
- package/{agentListCommands-CPI4EWX4.js → agentListCommands-S54ZR3L7.js} +13 -13
- package/{agentMachineCommands-HSSTZYNV.js → agentMachineCommands-HN7VKXOV.js} +11 -11
- package/{agentProviderCommands-EMKA6NAN.js → agentProviderCommands-MN3ABDME.js} +2 -2
- package/{agentRecordCommands-ZL5I4ODT.js → agentRecordCommands-SZ6JTRZG.js} +23 -23
- package/{agentRunCommand-ROWADWSO.js → agentRunCommand-XEV3BK3L.js} +24 -24
- package/{agentRunControl-45EM36PW.js → agentRunControl-AF7BMR22.js} +3 -3
- package/{agentRuntimeLocal-MYHHTO4B.js → agentRuntimeLocal-KCC7QW7Z.js} +9 -9
- package/{agentSlice-OGOKIDXG.js → agentSlice-QHBCIRZZ.js} +1 -1
- package/{appDeleteCommands-DKINMBOK.js → appDeleteCommands-7O4SMBTL.js} +12 -12
- package/{appDeployCommands-C3JX4GRQ.js → appDeployCommands-4Y46KPQJ.js} +12 -12
- package/{appDeployStatusCommands-LVRMBYUP.js → appDeployStatusCommands-WRAXA7AH.js} +12 -12
- package/{appGetCommands-CSD32O6F.js → appGetCommands-RKC3OW5T.js} +12 -12
- package/{appListCommands-YFEJLREL.js → appListCommands-3QVE4TSI.js} +12 -12
- package/{authCommand-22FYBEGY.js → authCommand-AUP7FHGM.js} +9 -9
- package/{chunk-RIGJPEBW.js → chunk-25OB36GU.js} +1 -1
- package/{chunk-U6QSCADP.js → chunk-27E2CBBY.js} +1 -1
- package/{chunk-Q54YKNWP.js → chunk-2UZ22L3V.js} +3 -3
- package/{chunk-7VTNQXNS.js → chunk-35DNCETZ.js} +17 -17
- package/{chunk-UVXVWXYH.js → chunk-3IBHFELR.js} +2 -2
- package/{chunk-UYY2CECP.js → chunk-3QKILTO3.js} +2 -2
- package/{chunk-WBSCOXFS.js → chunk-3V2QMRNN.js} +1 -1
- package/{chunk-XKH3DAKH.js → chunk-4LEGTOSR.js} +1 -1
- package/{chunk-ZG6RWZGY.js → chunk-64D757HH.js} +3 -3
- package/{chunk-QVUYL2TW.js → chunk-AD26C3WW.js} +1 -1
- package/{chunk-DTVCIIUZ.js → chunk-AJ65N2PX.js} +5 -5
- package/{chunk-DLTR5MMT.js → chunk-ALBTWLUE.js} +7 -7
- package/{chunk-2NZUZIHB.js → chunk-B2WYM23T.js} +3 -3
- package/{chunk-FSGQN6RC.js → chunk-BF3TXGWM.js} +3 -3
- package/{chunk-PQTOTGMI.js → chunk-C2XZM3K4.js} +1 -1
- package/{chunk-2GALTKXN.js → chunk-CAB2CZ5H.js} +13 -13
- package/{chunk-UDHMQGMR.js → chunk-CGQSAFXP.js} +10 -10
- package/{chunk-QWHAFJIJ.js → chunk-CKOO42G5.js} +1 -1
- package/{chunk-WADDWY7O.js → chunk-COWSUNBH.js} +1 -1
- package/{chunk-2REKDWYL.js → chunk-DA7CTWT4.js} +2 -2
- package/{chunk-3YYHTRF7.js → chunk-DNQ5NOAR.js} +2 -2
- package/{chunk-AFHKLTOB.js → chunk-FPCPCTSA.js} +1 -1
- package/{chunk-5FMSOP2W.js → chunk-FQQWTOBR.js} +2 -2
- package/{chunk-E32ZPIX6.js → chunk-JRTNUU5Z.js} +18 -0
- package/{chunk-AJ7K2REY.js → chunk-MKK2YY5Q.js} +2 -2
- package/{chunk-EI77BHWD.js → chunk-MONJ5H3H.js} +3 -3
- package/{chunk-HXHPAEAN.js → chunk-PLYWH7XM.js} +1 -1
- package/{chunk-EPRYABUO.js → chunk-PV6JJAUB.js} +1 -1
- package/{chunk-BRA5E6CI.js → chunk-QOI7USOV.js} +2 -2
- package/{chunk-36ZR37HK.js → chunk-RIALQUSF.js} +2 -2
- package/{chunk-VY3D2DSK.js → chunk-SN5XE6GQ.js} +1 -1
- package/{chunk-JUNMZOX6.js → chunk-SU3QL7YG.js} +1 -1
- package/{chunk-XXYDK7L5.js → chunk-SZ4ADZFT.js} +1 -1
- package/{chunk-XYKRRB5Z.js → chunk-THE5CKB2.js} +4 -4
- package/{chunk-XDLQYUBV.js → chunk-UTBQCL6N.js} +5 -5
- package/{chunk-RTAVELOC.js → chunk-WWSPE2GG.js} +10 -10
- package/{chunk-XBZDTBTK.js → chunk-XDMGY5IU.js} +1 -1
- package/{chunk-7WSZHITX.js → chunk-YCEA47VH.js} +2 -2
- package/{chunk-Q55XFXQ6.js → chunk-YY37MQSS.js} +2 -2
- package/{commandRegistry-3WR5YAN4.js → commandRegistry-XVFA25FB.js} +55 -55
- package/{contentThunks-4AJV2XJY.js → contentThunks-V3CDW4YX.js} +4 -4
- package/{createAgentAutomationAction-YMY5N7IX.js → createAgentAutomationAction-FGWAYVEP.js} +4 -4
- package/{createDialogAction-RIMBMOTA.js → createDialogAction-UXAMBNR4.js} +5 -5
- package/{createPageAction-MDNA4BXK.js → createPageAction-S6HULJP6.js} +4 -4
- package/{dialogCommands-LH6ILXLQ.js → dialogCommands-HW6WWUII.js} +13 -13
- package/{dialogSlice-JWULZZKI.js → dialogSlice-TBITWBDH.js} +3 -3
- package/{docCreateCommands-ZJV2YVBO.js → docCreateCommands-ETFMIYE5.js} +11 -11
- package/{docDeleteCommands-5YMS6VX6.js → docDeleteCommands-HEDB7AHB.js} +12 -12
- package/{docReadCommands-UCHOA64J.js → docReadCommands-4T5EQQW6.js} +11 -11
- package/{docStore-IGB6VYJW.js → docStore-NFLRMEX3.js} +1 -1
- package/{docUpdateCommands-R7DXVPBN.js → docUpdateCommands-TYM5V565.js} +11 -11
- package/{getPricing-RPAQXFXY.js → getPricing-OQXBJ6VZ.js} +1 -1
- package/{handleSendMessageAction-2TN3FOIF.js → handleSendMessageAction-UCFZXCXP.js} +12 -12
- package/index.js +4 -4
- package/{localRuntimeAdapter-QLD7V33U.js → localRuntimeAdapter-JBXUIVNU.js} +21 -21
- package/{machineCommands-3TQNL2KD.js → machineCommands-FDQA6NCY.js} +22 -22
- package/{machineWsRunDispatch-6Z6KSDUJ.js → machineWsRunDispatch-VBTEUSVI.js} +22 -22
- package/package.json +1 -1
- package/{providerPresetApply-YKCAQCBR.js → providerPresetApply-ZYMLQA46.js} +3 -3
- package/{providerRegistry-QBBABMUW.js → providerRegistry-E34XWDLJ.js} +3 -3
- package/{readlineWorkspace-NHPGVRF6.js → readlineWorkspace-SJY4M4YP.js} +30 -30
- package/{removeDialogAgentAction-GZ56EZZI.js → removeDialogAgentAction-UQFCQO6L.js} +1 -1
- package/{runAgentClientLoop-P3ZALQBG.js → runAgentClientLoop-V4KMRRPJ.js} +15 -15
- package/{runtimeDoctorCommands-3R3ZOZVS.js → runtimeDoctorCommands-PGAA47G5.js} +3 -3
- package/{setPrimaryDialogAgentAction-JPTPBQH4.js → setPrimaryDialogAgentAction-23PMBXWD.js} +1 -1
- package/{spaceCommands-VZ4FGE6E.js → spaceCommands-JMU4R5LB.js} +11 -11
- package/{streamAgentChatTurn-TXTRBFOW.js → streamAgentChatTurn-SUWOIV4S.js} +19 -19
- package/{tools-72N432Y2.js → tools-JW4EEFK7.js} +11 -11
- package/{tuiSummaryLlmCaller-WJBM4E2H.js → tuiSummaryLlmCaller-4QCQ2TIN.js} +6 -6
- package/{updateDialogTitleAction-EWTTA5A4.js → updateDialogTitleAction-EDXTLVGM.js} +4 -4
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
resolveClaudeCodeVersion,
|
|
9
9
|
resolveServerSyncConfig,
|
|
10
10
|
xaiRefresh
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SN5XE6GQ.js";
|
|
12
12
|
import {
|
|
13
13
|
defaultLoopbackRequest
|
|
14
14
|
} from "./chunk-VP3BINY7.js";
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
import {
|
|
72
72
|
inlineImageUrlsForCustomProvider,
|
|
73
73
|
prepareTools
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-YY37MQSS.js";
|
|
75
75
|
import {
|
|
76
76
|
getServerProviderSecret
|
|
77
77
|
} from "./chunk-HS7MLR74.js";
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
resolveCliLocalRuntimeKeyCapability,
|
|
94
94
|
resolveCliLocalSpawnDispatch,
|
|
95
95
|
resolveStartAgentRunCwd
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-WWSPE2GG.js";
|
|
97
97
|
import {
|
|
98
98
|
fetchWithTransientRetry,
|
|
99
99
|
isTransientFetchError
|
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
import {
|
|
102
102
|
deriveCredentialGroup,
|
|
103
103
|
deriveCustomProviderCredentialGroup
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-AD26C3WW.js";
|
|
105
105
|
import {
|
|
106
106
|
resolveAgentRequiredPackIds,
|
|
107
107
|
resolveUserEnabledSkills
|
|
@@ -114,14 +114,14 @@ import {
|
|
|
114
114
|
resolveBuiltinPlatformAgentConfig,
|
|
115
115
|
runKeyed,
|
|
116
116
|
validateAskChoiceInput
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-CGQSAFXP.js";
|
|
118
118
|
import {
|
|
119
119
|
BUILTIN_DIALOG_LLM_CHAT_FALLBACK_MODEL,
|
|
120
120
|
BUILTIN_TITLE_LLM_CONFIG
|
|
121
121
|
} from "./chunk-523DITKR.js";
|
|
122
122
|
import {
|
|
123
123
|
fetchServerSyncedCredential
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-64D757HH.js";
|
|
125
125
|
import {
|
|
126
126
|
getDefaultCliLocalRuntimeDb
|
|
127
127
|
} from "./chunk-AZMYUSVF.js";
|
|
@@ -181,7 +181,7 @@ import {
|
|
|
181
181
|
runExecShellGates,
|
|
182
182
|
validateConfiguredRootExecutionLease,
|
|
183
183
|
verifyOwnerRouteAck
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-UTBQCL6N.js";
|
|
185
185
|
import {
|
|
186
186
|
accumulateGeminiChunks,
|
|
187
187
|
buildGeminiGenerateContentRequest,
|
|
@@ -193,7 +193,7 @@ import {
|
|
|
193
193
|
resolveAntigravityFinishReason,
|
|
194
194
|
resolveGeminiModelQuirks,
|
|
195
195
|
shouldUseGeminiNativeToolRoute
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-3QKILTO3.js";
|
|
197
197
|
import {
|
|
198
198
|
PlatformStreamInterruptedError,
|
|
199
199
|
buildPlatformChatCompletionRequest,
|
|
@@ -204,20 +204,20 @@ import {
|
|
|
204
204
|
readPlatformChatSseCompletion,
|
|
205
205
|
resolvePlatformChatProviderConfig,
|
|
206
206
|
shouldUsePlatformChatProvider
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-3IBHFELR.js";
|
|
208
208
|
import {
|
|
209
209
|
readSseDataValues,
|
|
210
210
|
readSseFrames
|
|
211
211
|
} from "./chunk-HNUWUO75.js";
|
|
212
212
|
import {
|
|
213
213
|
resolveAgentRuntimeConfigFromRecord
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-SZ4ADZFT.js";
|
|
215
215
|
import {
|
|
216
216
|
resolveHistoricalToolContentCap
|
|
217
217
|
} from "./chunk-2WZXXAQD.js";
|
|
218
218
|
import {
|
|
219
219
|
resolveToolImagePolicy
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-DA7CTWT4.js";
|
|
221
221
|
import {
|
|
222
222
|
collectStablePromptPrefix,
|
|
223
223
|
convertMessagesToResponsesInput,
|
|
@@ -303,7 +303,7 @@ import {
|
|
|
303
303
|
} from "./chunk-LOEO7LRC.js";
|
|
304
304
|
import {
|
|
305
305
|
isAntigravityOAuthAgent
|
|
306
|
-
} from "./chunk-
|
|
306
|
+
} from "./chunk-PLYWH7XM.js";
|
|
307
307
|
import {
|
|
308
308
|
ackRunRecord,
|
|
309
309
|
appendRunQueue,
|
|
@@ -327,7 +327,7 @@ import {
|
|
|
327
327
|
terminateRunProcess,
|
|
328
328
|
transitionRunToTerminal,
|
|
329
329
|
withQueueLock
|
|
330
|
-
} from "./chunk-
|
|
330
|
+
} from "./chunk-C2XZM3K4.js";
|
|
331
331
|
import {
|
|
332
332
|
TASK_PREVIEW_MAX,
|
|
333
333
|
formatListRunsCard,
|
|
@@ -347,7 +347,7 @@ import {
|
|
|
347
347
|
import {
|
|
348
348
|
buildProviderSessionHeaders,
|
|
349
349
|
resolvePlatformAuthToken
|
|
350
|
-
} from "./chunk-
|
|
350
|
+
} from "./chunk-PV6JJAUB.js";
|
|
351
351
|
import {
|
|
352
352
|
anthropicOAuthModelMaxOutputTokens,
|
|
353
353
|
findModelConfig,
|
|
@@ -356,7 +356,7 @@ import {
|
|
|
356
356
|
import {
|
|
357
357
|
CLI_PROVIDER_VALUES,
|
|
358
358
|
isCliProvider
|
|
359
|
-
} from "./chunk-
|
|
359
|
+
} from "./chunk-JRTNUU5Z.js";
|
|
360
360
|
import {
|
|
361
361
|
toErrorMessage
|
|
362
362
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -12695,7 +12695,7 @@ function createCliLocalRuntimeAdapter(deps) {
|
|
|
12695
12695
|
emitRunIsolationNotice(fact, { runId });
|
|
12696
12696
|
try {
|
|
12697
12697
|
const { writeFileSync: writeFileSync4, mkdirSync: mkdirSync4 } = await import("node:fs");
|
|
12698
|
-
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-
|
|
12698
|
+
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-AF7BMR22.js");
|
|
12699
12699
|
recordLocalRunExecutionIsolation({
|
|
12700
12700
|
runId,
|
|
12701
12701
|
runsDir: resolveRunsDir2(deps.env),
|
|
@@ -12720,7 +12720,7 @@ function createCliLocalRuntimeAdapter(deps) {
|
|
|
12720
12720
|
dockerWorkloadReleased = true;
|
|
12721
12721
|
dockerWorkloadLoad = null;
|
|
12722
12722
|
if (loaded) {
|
|
12723
|
-
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-
|
|
12723
|
+
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-AF7BMR22.js");
|
|
12724
12724
|
const exportRunDiff = deps.exportDockerRunDiffArtifact ?? exportDockerRunDiffArtifact;
|
|
12725
12725
|
const warn = (message) => process.stderr.write(`[nolo] ${message}
|
|
12726
12726
|
`);
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-HNUWUO75.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveToolImagePolicy
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DA7CTWT4.js";
|
|
7
7
|
import {
|
|
8
8
|
accumulateToolCallDelta,
|
|
9
9
|
createThinkParserState,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
resolvePlatformAuthToken,
|
|
48
48
|
resolvePlatformServerUrl,
|
|
49
49
|
resolveProviderTransportDecision
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-PV6JJAUB.js";
|
|
51
51
|
import {
|
|
52
52
|
isRecord
|
|
53
53
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-HNUWUO75.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveToolImagePolicy
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DA7CTWT4.js";
|
|
7
7
|
import {
|
|
8
8
|
projectOpenAiToolImages
|
|
9
9
|
} from "./chunk-E2BESSAW.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
getAntigravityUserAgent,
|
|
12
12
|
readAntigravityProjectId,
|
|
13
13
|
resolveAntigravityCloudCodeBaseUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PLYWH7XM.js";
|
|
15
15
|
import {
|
|
16
16
|
asOptionalTrimmedString
|
|
17
17
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -458,7 +458,7 @@ var slice = createSliceWithThunks({
|
|
|
458
458
|
const overrides = {};
|
|
459
459
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
460
460
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
461
|
-
const { _executeModel } = await import("./_executeModel-
|
|
461
|
+
const { _executeModel } = await import("./_executeModel-F4GZ3K75.js");
|
|
462
462
|
return _executeModel(
|
|
463
463
|
{
|
|
464
464
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -479,7 +479,7 @@ var slice = createSliceWithThunks({
|
|
|
479
479
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
480
480
|
*/
|
|
481
481
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
482
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
482
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-V4KMRRPJ.js");
|
|
483
483
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
484
484
|
{
|
|
485
485
|
agentKey: args.agentKey,
|
|
@@ -495,7 +495,7 @@ var slice = createSliceWithThunks({
|
|
|
495
495
|
* 聊天轮次流式 Agent 调用
|
|
496
496
|
*/
|
|
497
497
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
498
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
498
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-SUWOIV4S.js");
|
|
499
499
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
500
500
|
}),
|
|
501
501
|
/**
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
mergeReferences,
|
|
8
8
|
resolveReferenceAssets,
|
|
9
9
|
resolveToolsFromKeys
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DNQ5NOAR.js";
|
|
11
11
|
import {
|
|
12
12
|
UI_CARD_ENVELOPE_MAX_BYTES,
|
|
13
13
|
getAllToolRuns,
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
selectSpaceContextLevel,
|
|
19
19
|
selectUserTonePreset,
|
|
20
20
|
uiCardFallback
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YCEA47VH.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveAgentRecommendedSkillNames,
|
|
24
24
|
resolveAgentRequiredPackIds
|
|
25
25
|
} from "./chunk-I5PBXF7O.js";
|
|
26
26
|
import {
|
|
27
27
|
getDocState
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QOI7USOV.js";
|
|
29
29
|
import {
|
|
30
30
|
resolveToolBaseUrl
|
|
31
31
|
} from "./chunk-MYOH447Z.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "./chunk-A2ZMIRLN.js";
|
|
38
38
|
import {
|
|
39
39
|
getTableState
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-COWSUNBH.js";
|
|
41
41
|
import {
|
|
42
42
|
getCurrentSpaceIdRaw,
|
|
43
43
|
getViewMode
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
PERSONALIZATION_DIALOG_CATEGORY,
|
|
47
47
|
buildPersonalizationDialogPolicyContext,
|
|
48
48
|
selectAllMsgs
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-CGQSAFXP.js";
|
|
50
50
|
import {
|
|
51
51
|
selectPendingFiles
|
|
52
52
|
} from "./chunk-OWYYDMGJ.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YY37MQSS.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-THE5CKB2.js";
|
|
18
18
|
import {
|
|
19
19
|
findToolExecutor,
|
|
20
20
|
toolDefinitionsByName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-WWSPE2GG.js";
|
|
22
22
|
import {
|
|
23
23
|
classifyApiError,
|
|
24
24
|
classifyGenerationError,
|
|
25
25
|
extractErrorDiagnostics
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-DNQ5NOAR.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-YCEA47VH.js";
|
|
36
36
|
import {
|
|
37
37
|
getPublicImageAgentMode
|
|
38
38
|
} from "./chunk-VIDPVFP3.js";
|
|
@@ -46,10 +46,10 @@ import {
|
|
|
46
46
|
toast,
|
|
47
47
|
toolResultNeedsUserConfirmation,
|
|
48
48
|
updateToolMessage
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-CGQSAFXP.js";
|
|
50
50
|
import {
|
|
51
51
|
streamAgentChatTurn
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-64D757HH.js";
|
|
53
53
|
import {
|
|
54
54
|
addActiveController,
|
|
55
55
|
getActiveDialogKey,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
parseFlagWithOptionalValue,
|
|
4
4
|
runCloudflareOAuthLogin,
|
|
5
5
|
upsertEnvVariable
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-27E2CBBY.js";
|
|
7
7
|
import {
|
|
8
8
|
ANTHROPIC_OAUTH_AUTHORIZE_URL,
|
|
9
9
|
ANTHROPIC_OAUTH_CALLBACK_PORT,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
startCallbackServer,
|
|
48
48
|
validateXAIEndpoint,
|
|
49
49
|
xaiOAuthDiscovery
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-SN5XE6GQ.js";
|
|
51
51
|
import {
|
|
52
52
|
defaultOpenBrowser
|
|
53
53
|
} from "./chunk-XE4Q46FF.js";
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
detectLocalDevinCredentials,
|
|
61
61
|
extractDevinToken,
|
|
62
62
|
fetchAntigravityCloudCodeCompletion
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-3QKILTO3.js";
|
|
64
64
|
import {
|
|
65
65
|
createOAuthTokenStore,
|
|
66
66
|
resolveFreshAccessToken
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-35DNCETZ.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YCEA47VH.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UTBQCL6N.js";
|
|
11
11
|
import {
|
|
12
12
|
applyToolSurfaceConstraints
|
|
13
13
|
} from "./chunk-6HVBI6TI.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
resolveRawAgentInput,
|
|
10
10
|
resolveServerUrl,
|
|
11
11
|
writeUsage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FPCPCTSA.js";
|
|
13
13
|
import {
|
|
14
14
|
parsePositiveFiniteNumberOrFallback
|
|
15
15
|
} from "./chunk-Y5GCAMGP.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
readDbRecord,
|
|
21
21
|
resolveAgentRecordFromHybridStore
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XDMGY5IU.js";
|
|
23
23
|
import {
|
|
24
24
|
INSTABOX_RUN_CONFIG_ENV,
|
|
25
25
|
createCliLocalRuntimeAdapter,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
resolveFileWriteGateEnabled,
|
|
39
39
|
resolveLocalUserId,
|
|
40
40
|
validateInstaboxWorkspaceSelection
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-35DNCETZ.js";
|
|
42
42
|
import {
|
|
43
43
|
clearCredentialAvailability,
|
|
44
44
|
readEffectiveCredentialEntry,
|
|
@@ -72,14 +72,14 @@ import {
|
|
|
72
72
|
} from "./chunk-BMQ2MJUK.js";
|
|
73
73
|
import {
|
|
74
74
|
resolveCliLocalRuntimeKeyCapability
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-WWSPE2GG.js";
|
|
76
76
|
import {
|
|
77
77
|
isTransientFetchError
|
|
78
78
|
} from "./chunk-KFHREHUQ.js";
|
|
79
79
|
import {
|
|
80
80
|
parseUiCard,
|
|
81
81
|
uiCardFallback
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-YCEA47VH.js";
|
|
83
83
|
import {
|
|
84
84
|
isGatewayHttpStatus
|
|
85
85
|
} from "./chunk-NF64D32W.js";
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
chooseMemoryOwners,
|
|
89
89
|
loadMemoryCandidatesFromDb,
|
|
90
90
|
resolveAgentMemoryPolicy
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-MKK2YY5Q.js";
|
|
92
92
|
import {
|
|
93
93
|
API_REPORTED_COST_MULTIPLIER,
|
|
94
94
|
estimateMessagesTokens,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
resolveAgentContextWindow,
|
|
97
97
|
resolveOccupancy,
|
|
98
98
|
resolveOccupancyWindow
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-CGQSAFXP.js";
|
|
100
100
|
import {
|
|
101
101
|
isCliAuthorityBrokerProtocolError,
|
|
102
102
|
isCliAuthorityBrokerTimeoutError,
|
|
@@ -116,10 +116,10 @@ import {
|
|
|
116
116
|
LOCAL_AGENT_CONFIG_MISSING_CODE,
|
|
117
117
|
LOCAL_TURN_ABORTED_CODE,
|
|
118
118
|
readActionGate
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-UTBQCL6N.js";
|
|
120
120
|
import {
|
|
121
121
|
resolveAgentRuntimeConfigFromRecord
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-SZ4ADZFT.js";
|
|
123
123
|
import {
|
|
124
124
|
createThinkParserState,
|
|
125
125
|
flushThinkParser,
|
|
@@ -178,7 +178,7 @@ import {
|
|
|
178
178
|
} from "./chunk-M2EJHDJP.js";
|
|
179
179
|
import {
|
|
180
180
|
isAntigravityOAuthAgent
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-PLYWH7XM.js";
|
|
182
182
|
import {
|
|
183
183
|
createRunActivityTracker,
|
|
184
184
|
createShellApprovalChild,
|
|
@@ -193,7 +193,7 @@ import {
|
|
|
193
193
|
serverOriginForDialog,
|
|
194
194
|
settleRunTerminalAuthoritatively,
|
|
195
195
|
spawnLocalBackgroundRun
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-C2XZM3K4.js";
|
|
197
197
|
import {
|
|
198
198
|
formatAgentListCard,
|
|
199
199
|
formatFinishedRunCard,
|
|
@@ -206,7 +206,7 @@ import {
|
|
|
206
206
|
} from "./chunk-PJNFNEJE.js";
|
|
207
207
|
import {
|
|
208
208
|
resolveClientVersion
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-PV6JJAUB.js";
|
|
210
210
|
import {
|
|
211
211
|
findModelConfig
|
|
212
212
|
} from "./chunk-SM3NSZJV.js";
|
|
@@ -11412,7 +11412,7 @@ function isBalanceExhaustedError(error) {
|
|
|
11412
11412
|
|
|
11413
11413
|
// packages/cli/client/agentRun.ts
|
|
11414
11414
|
async function loadRunLocalAgentTurn() {
|
|
11415
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
11415
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-KCC7QW7Z.js");
|
|
11416
11416
|
return runLocalAgentTurn;
|
|
11417
11417
|
}
|
|
11418
11418
|
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();
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-523DITKR.js";
|
|
12
12
|
import {
|
|
13
13
|
runLlm
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-64D757HH.js";
|
|
15
15
|
import {
|
|
16
16
|
isMediaToolConfirmation
|
|
17
17
|
} from "./chunk-QYPE3TS3.js";
|
|
@@ -11077,7 +11077,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
11077
11077
|
runtimeOptions: args.runtimeOptions
|
|
11078
11078
|
});
|
|
11079
11079
|
if (agentKeyToUse) {
|
|
11080
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
11080
|
+
const { streamAgentChatTurn } = await import("./agentSlice-QHBCIRZZ.js");
|
|
11081
11081
|
await dispatch(
|
|
11082
11082
|
streamAgentChatTurn({
|
|
11083
11083
|
agentKey: agentKeyToUse,
|
|
@@ -13891,7 +13891,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13891
13891
|
}
|
|
13892
13892
|
if (isCurrentDialog) {
|
|
13893
13893
|
await thunkApi.dispatch(resetMsgs());
|
|
13894
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
13894
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-TBITWBDH.js");
|
|
13895
13895
|
dispatch(clearPendingAttachments2());
|
|
13896
13896
|
}
|
|
13897
13897
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -13899,15 +13899,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13899
13899
|
|
|
13900
13900
|
// packages/chat/dialog/dialogSlice.ts
|
|
13901
13901
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
13902
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
13902
|
+
const { createDialogAction } = await import("./createDialogAction-UXAMBNR4.js");
|
|
13903
13903
|
return createDialogAction(args, thunkApi);
|
|
13904
13904
|
};
|
|
13905
13905
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
13906
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
13906
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-FGWAYVEP.js");
|
|
13907
13907
|
return createAgentAutomationAction(args, thunkApi);
|
|
13908
13908
|
};
|
|
13909
13909
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
13910
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
13910
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-EDXTLVGM.js");
|
|
13911
13911
|
return updateDialogTitleAction(args, thunkApi);
|
|
13912
13912
|
};
|
|
13913
13913
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -13915,11 +13915,11 @@ var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
|
13915
13915
|
return addDialogAgentAction(args, thunkApi);
|
|
13916
13916
|
};
|
|
13917
13917
|
var runRemoveDialogAgentAction = async (args, thunkApi) => {
|
|
13918
|
-
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-
|
|
13918
|
+
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-UQFCQO6L.js");
|
|
13919
13919
|
return removeDialogAgentAction(args, thunkApi);
|
|
13920
13920
|
};
|
|
13921
13921
|
var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
|
|
13922
|
-
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-
|
|
13922
|
+
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-23PMBXWD.js");
|
|
13923
13923
|
return setPrimaryDialogAgentAction(args, thunkApi);
|
|
13924
13924
|
};
|
|
13925
13925
|
var runSwitchDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -13931,7 +13931,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
13931
13931
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
13932
13932
|
};
|
|
13933
13933
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
13934
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
13934
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-UCFZXCXP.js");
|
|
13935
13935
|
return handleSendMessageAction(args, thunkApi);
|
|
13936
13936
|
};
|
|
13937
13937
|
function clearDialogState() {
|
|
@@ -13944,7 +13944,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
13944
13944
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
13945
13945
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
13946
13946
|
try {
|
|
13947
|
-
const { createDocState } = await import("./docStore-
|
|
13947
|
+
const { createDocState } = await import("./docStore-NFLRMEX3.js");
|
|
13948
13948
|
const pageKey = await createDocState(
|
|
13949
13949
|
{ slateData, title },
|
|
13950
13950
|
{ dispatch, getState }
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
clipMultilineText,
|
|
3
3
|
fetchAndSerializeTable,
|
|
4
4
|
waitForAbortableDelay
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YCEA47VH.js";
|
|
6
6
|
import {
|
|
7
7
|
isGatewayHttpStatus
|
|
8
8
|
} from "./chunk-NF64D32W.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-AGIM7IMJ.js";
|
|
22
22
|
import {
|
|
23
23
|
fetchAndCacheMessages
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-CGQSAFXP.js";
|
|
25
25
|
import {
|
|
26
26
|
createSpaceKey
|
|
27
27
|
} from "./chunk-UAD2WT54.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchReferenceContents,
|
|
3
3
|
resolveReferenceAssets
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DNQ5NOAR.js";
|
|
5
5
|
import {
|
|
6
6
|
updateTokensAction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CGQSAFXP.js";
|
|
8
8
|
import {
|
|
9
9
|
applyUpdateTokensFulfilled
|
|
10
10
|
} from "./chunk-OWYYDMGJ.js";
|
|
@@ -25,6 +25,24 @@ var CLI_PROVIDER_DISPLAY_LABELS = {
|
|
|
25
25
|
grok: "Grok CLI\uFF08grok\uFF09",
|
|
26
26
|
kimi: "Kimi Code CLI\uFF08kimi\uFF09"
|
|
27
27
|
};
|
|
28
|
+
var CLI_PROVIDER_GROUPS = [
|
|
29
|
+
{
|
|
30
|
+
id: "coding",
|
|
31
|
+
label: "\u4EE3\u7801\u4E0E\u5DE5\u7A0B\u534F\u540C CLI",
|
|
32
|
+
items: ["copilot", "claude", "codex", "qoder", "opencode"].map((value) => ({
|
|
33
|
+
value,
|
|
34
|
+
label: CLI_PROVIDER_DISPLAY_LABELS[value]
|
|
35
|
+
}))
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
id: "multimodal",
|
|
39
|
+
label: "\u63A8\u7406\u4E0E\u901A\u7528\u591A\u6A21\u6001 CLI",
|
|
40
|
+
items: ["gemini", "grok", "kimi", "agy"].map((value) => ({
|
|
41
|
+
value,
|
|
42
|
+
label: CLI_PROVIDER_DISPLAY_LABELS[value]
|
|
43
|
+
}))
|
|
44
|
+
}
|
|
45
|
+
];
|
|
28
46
|
var CLI_PROVIDER_OPTIONS = CREATABLE_CLI_PROVIDERS.map((value) => ({
|
|
29
47
|
value,
|
|
30
48
|
label: CLI_PROVIDER_DISPLAY_LABELS[value]
|