@qwen-code/qwen-code 0.16.0-preview.0 → 0.16.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/bundled/qc-helper/docs/configuration/settings.md +39 -37
- package/bundled/qc-helper/docs/features/_meta.ts +2 -0
- package/bundled/qc-helper/docs/features/approval-mode.md +119 -2
- package/bundled/qc-helper/docs/features/auto-mode.md +263 -0
- package/bundled/qc-helper/docs/features/commands.md +11 -10
- package/bundled/qc-helper/docs/features/skills.md +3 -0
- package/bundled/qc-helper/docs/features/structured-output.md +309 -0
- package/bundled/qc-helper/docs/features/sub-agents.md +47 -5
- package/bundled/qc-helper/docs/qwen-serve.md +119 -14
- package/bundled/review/SKILL.md +12 -3
- package/chunks/{agent-ZNQPH67I.js → agent-2JCG7FDJ.js} +9 -11
- package/chunks/{anthropicContentGenerator-ICBDZ6R2.js → anthropicContentGenerator-RQJNXJIY.js} +6 -3
- package/chunks/{askUserQuestion-WQILGUSQ.js → askUserQuestion-PQPMPNM3.js} +1 -1
- package/chunks/{ca-S3XJMT6P.js → ca-UZ7BANMN.js} +3 -3
- package/chunks/{chunk-XVHR7ATJ.js → chunk-4AOCVI6J.js} +1 -0
- package/chunks/chunk-7LMPOVYW.js +956 -0
- package/chunks/{chunk-MNPZ2WO6.js → chunk-BAZDG3QU.js} +9104 -3955
- package/chunks/{chunk-AEJ2DKLP.js → chunk-C6WMLUNB.js} +1 -1
- package/chunks/{chunk-PPHYLJSS.js → chunk-CAVZVZX6.js} +2 -2
- package/chunks/{chunk-VTPOO6GV.js → chunk-CSWBPY3P.js} +1 -1
- package/chunks/chunk-D6LBYOCX.js +19126 -0
- package/chunks/{chunk-NAID3ZWF.js → chunk-DMIMF3CG.js} +1 -1
- package/chunks/{chunk-2B7UBDY5.js → chunk-GGNTZ2NH.js} +90 -19
- package/chunks/chunk-HW5S7L73.js +379 -0
- package/chunks/{chunk-C3LHPHN2.js → chunk-JCR2WRXZ.js} +1227 -657
- package/chunks/{chunk-EDYSNFEM.js → chunk-L5E26RN6.js} +2 -2
- package/chunks/{chunk-CW44BRRA.js → chunk-MAY32HXD.js} +375 -0
- package/chunks/{chunk-7QXHXMC6.js → chunk-N6GSJHZ4.js} +96 -20
- package/chunks/{chunk-FZIUV27X.js → chunk-PVVL5Q3W.js} +31 -0
- package/chunks/{chunk-YHEAJFCI.js → chunk-USE2VQ5P.js} +3 -0
- package/chunks/{chunk-JYQUJ5DS.js → chunk-YJLGXDQJ.js} +1 -1
- package/chunks/{contextCommand-IGBCEXI4.js → contextCommand-XVRGKS3Q.js} +11 -13
- package/chunks/{cron-create-AVI3Q267.js → cron-create-IGYXQVG4.js} +27 -1
- package/chunks/{cron-delete-ZCEGDXXV.js → cron-delete-ETKIZCWT.js} +1 -1
- package/chunks/{cron-list-VN653OK5.js → cron-list-BVCUSWRU.js} +1 -1
- package/chunks/{de-MNR4SMAI.js → de-V4IE2OOZ.js} +3 -3
- package/chunks/{dist-RRYNPBOE.js → dist-4L54HRX2.js} +2 -2
- package/chunks/{dist-WP4AH3VK.js → dist-BXDUQ2QY.js} +1 -1
- package/chunks/{dist-M6GFCZ7S.js → dist-MN2PDDPR.js} +1 -1
- package/chunks/{edit-74Q4AFHQ.js → edit-3MLXHQPW.js} +22 -12
- package/chunks/{en-FIUWJSZR.js → en-HGJ2SPLM.js} +4 -3
- package/chunks/{enter-worktree-H72HXC7D.js → enter-worktree-OCA4SG6D.js} +35 -11
- package/chunks/{exit-worktree-FGIQO3S3.js → exit-worktree-6EDLXVEV.js} +35 -11
- package/chunks/{exitPlanMode-NBR2PK2D.js → exitPlanMode-H75KHRX4.js} +9 -11
- package/chunks/{fr-OFJFHLCR.js → fr-CJULI7ZX.js} +3 -3
- package/chunks/{geminiContentGenerator-33RP4WKD.js → geminiContentGenerator-E7Y6TCPU.js} +1 -1
- package/chunks/{glob-WEE3CJL6.js → glob-JFFSKARO.js} +9 -11
- package/chunks/{grep-DZKSBFZK.js → grep-7TAFR7MX.js} +9 -11
- package/chunks/{ja-V6OQ6VL7.js → ja-L7CHRQEW.js} +3 -3
- package/chunks/{ls-6F3VSP6S.js → ls-7HD6XG3V.js} +1 -1
- package/chunks/{lsp-67Y7DJN5.js → lsp-ZZSFCIWD.js} +1 -1
- package/chunks/{monitor-EDZWEZVS.js → monitor-YX2ABLXH.js} +21 -11
- package/chunks/notebook-edit-EEJEGFZR.js +756 -0
- package/chunks/{openaiContentGenerator-5NQG3W64.js → openaiContentGenerator-BSAWHGQJ.js} +9 -8
- package/chunks/{pt-ZLE6SA4A.js → pt-M6JULLEQ.js} +3 -3
- package/chunks/{qwenContentGenerator-4DPUUS6R.js → qwenContentGenerator-47XRHQXM.js} +11 -13
- package/chunks/{qwenOAuth2-JE7H47TE.js → qwenOAuth2-EEJGROP7.js} +7 -1
- package/chunks/{read-file-CQOF7BQ2.js → read-file-O53WD46Y.js} +4 -5
- package/chunks/{ripGrep-KR5LKGTI.js → ripGrep-OXNZ5Z3T.js} +9 -11
- package/chunks/{ru-A4OHIUNN.js → ru-QILM4HBC.js} +3 -3
- package/chunks/{send-message-GB4AQZNC.js → send-message-ULK4MQXJ.js} +22 -1
- package/chunks/{serve-GAD2PEST.js → serve-H2REZAYD.js} +13728 -3026
- package/chunks/{shell-E2HMCBGR.js → shell-DET66JID.js} +9 -11
- package/chunks/{skill-KDZH6UZ6.js → skill-ZIXPX3L3.js} +19 -6
- package/chunks/{src-LY4RU5AI.js → src-PN3XGQYP.js} +205 -13
- package/chunks/{syntheticOutput-HFL3DE7R.js → syntheticOutput-IS2X5OZ2.js} +2 -2
- package/chunks/{task-stop-ZQF26RXS.js → task-stop-7QSJGSSP.js} +1 -1
- package/chunks/{todoWrite-U4SC643O.js → todoWrite-7CVACFUX.js} +2 -2
- package/chunks/{tool-search-U4XQVLFU.js → tool-search-GTYLSGZ3.js} +4 -5
- package/chunks/{web-fetch-BRWZ4WSE.js → web-fetch-ENQ2I5JA.js} +5 -2
- package/chunks/{write-file-NBLRMNGB.js → write-file-NILNEZCR.js} +19 -12
- package/chunks/{zh-V32QONGV.js → zh-PWL2NKY3.js} +4 -3
- package/chunks/{zh-TW-552S24LR.js → zh-TW-S3YGWICZ.js} +4 -3
- package/cli.js +14832 -49049
- package/locales/ca.js +4 -5
- package/locales/de.js +4 -5
- package/locales/en.js +6 -5
- package/locales/fr.js +4 -5
- package/locales/ja.js +4 -5
- package/locales/pt.js +4 -5
- package/locales/ru.js +4 -5
- package/locales/zh-TW.js +5 -4
- package/locales/zh.js +5 -4
- package/package.json +2 -2
- package/chunks/chunk-3MBY4GKN.js +0 -350
- package/chunks/chunk-5P5XGNYH.js +0 -93
- package/chunks/chunk-JHMX4QTD.js +0 -2306
- package/chunks/chunk-SYCJMSIJ.js +0 -82
- package/chunks/chunk-Y6Z2O3WR.js +0 -33
|
@@ -4,11 +4,14 @@ import {
|
|
|
4
4
|
AGENT_WORKTREE_HEX_LENGTH,
|
|
5
5
|
AGENT_WORKTREE_PREFIX,
|
|
6
6
|
AGENT_WORKTREE_SLUG_PATTERN,
|
|
7
|
+
ALIBABA_PROVIDERS,
|
|
8
|
+
ALL_PROVIDERS,
|
|
7
9
|
APPROVAL_MODES,
|
|
8
10
|
APPROVAL_MODE_INFO,
|
|
9
11
|
ARENA_MAX_AGENTS,
|
|
10
12
|
AUTO_MEMORY_SCHEMA_VERSION,
|
|
11
13
|
AUTO_MEMORY_TYPES,
|
|
14
|
+
AUTO_MODE_DENIAL_LIMITS,
|
|
12
15
|
AUTO_SKILL_THRESHOLD,
|
|
13
16
|
AbortError,
|
|
14
17
|
AgentCore,
|
|
@@ -31,8 +34,13 @@ import {
|
|
|
31
34
|
BackgroundAgentResumeService,
|
|
32
35
|
BackgroundShellRegistry,
|
|
33
36
|
BackgroundTaskRegistry,
|
|
37
|
+
BudgetExhaustedError,
|
|
34
38
|
BuiltinAgentRegistry,
|
|
35
39
|
CODE_ACTION_KIND_LABELS,
|
|
40
|
+
CODING_PLAN_CHINA_BASE_URL,
|
|
41
|
+
CODING_PLAN_ENV_KEY,
|
|
42
|
+
CODING_PLAN_GLOBAL_BASE_URL,
|
|
43
|
+
CUSTOM_API_KEY_ENV_PREFIX,
|
|
36
44
|
ChatRecordingService,
|
|
37
45
|
CloseDiffRequestSchema,
|
|
38
46
|
ColorMode,
|
|
@@ -104,6 +112,7 @@ import {
|
|
|
104
112
|
IdeDiffAcceptedNotificationSchema,
|
|
105
113
|
IdeDiffClosedNotificationSchema,
|
|
106
114
|
IdeDiffRejectedNotificationSchema,
|
|
115
|
+
Ignore,
|
|
107
116
|
InProcessBackend,
|
|
108
117
|
InvalidStreamError,
|
|
109
118
|
JsonFormatter,
|
|
@@ -122,11 +131,14 @@ import {
|
|
|
122
131
|
MAX_RETAINED_TERMINAL_AGENTS,
|
|
123
132
|
MAX_RETAINED_TERMINAL_MONITORS,
|
|
124
133
|
MAX_RETAINED_TERMINAL_SHELLS,
|
|
134
|
+
MAX_TRANSCRIPT_MESSAGES,
|
|
125
135
|
MCPDiscoveryState,
|
|
126
136
|
MCPOAuthProvider,
|
|
127
137
|
MCPOAuthTokenStorage,
|
|
128
138
|
MCPServerConfig,
|
|
129
139
|
MCPServerStatus,
|
|
140
|
+
MCP_BUDGET_REARM_FRACTION,
|
|
141
|
+
MCP_BUDGET_WARN_FRACTION,
|
|
130
142
|
MCP_DEFAULT_TIMEOUT_MSEC,
|
|
131
143
|
MOCK_TOOL_GET_CONFIRMATION_DETAILS,
|
|
132
144
|
MOCK_TOOL_GET_DEFAULT_PERMISSION,
|
|
@@ -145,13 +157,18 @@ import {
|
|
|
145
157
|
OAUTH_AUTH_URL_EVENT,
|
|
146
158
|
OAUTH_DISPLAY_MESSAGE_EVENT,
|
|
147
159
|
OAuthUtils,
|
|
160
|
+
OPENROUTER_BASE_URL,
|
|
161
|
+
OPENROUTER_ENV_KEY,
|
|
148
162
|
OpenDiffRequestSchema,
|
|
149
163
|
OverlayFs,
|
|
164
|
+
PROVIDER_METADATA_NS,
|
|
150
165
|
PermissionManager,
|
|
166
|
+
ProviderInstallError,
|
|
151
167
|
QWEN_CODE_COMPANION_EXTENSION_NAME,
|
|
152
168
|
QWEN_CODE_SIMPLE_ENV_VAR,
|
|
153
169
|
RUNTIME_STATUS_SCHEMA_VERSION,
|
|
154
170
|
RipGrepTool,
|
|
171
|
+
SAFE_TOOL_ALLOWLIST,
|
|
155
172
|
SESSION_TITLE_MAX_LENGTH,
|
|
156
173
|
SHELL_TOOL_NAMES,
|
|
157
174
|
SKILL_REVIEW_TASK_TYPE,
|
|
@@ -170,21 +187,28 @@ import {
|
|
|
170
187
|
StandardFileSystemService,
|
|
171
188
|
StreamEventType,
|
|
172
189
|
SubagentError,
|
|
190
|
+
SubagentErrorCode,
|
|
173
191
|
SubagentManager,
|
|
174
192
|
SubagentValidator,
|
|
175
193
|
TERMINAL_CSI_REGEX,
|
|
176
194
|
TERMINAL_OSC_REGEX,
|
|
177
195
|
TERMINAL_SHIFT_DCS_REGEX,
|
|
178
196
|
TEST_ONLY,
|
|
197
|
+
THIRD_PARTY_PROVIDERS,
|
|
198
|
+
TOKEN_PLAN_BASE_URL,
|
|
199
|
+
TOKEN_PLAN_ENV_KEY,
|
|
179
200
|
TOOL_NAME_ALIASES,
|
|
180
201
|
TOOL_USE_SUMMARY_SYSTEM_PROMPT,
|
|
181
202
|
TmuxBackend,
|
|
182
203
|
ToolRegistry,
|
|
204
|
+
TrustGateError,
|
|
183
205
|
Turn,
|
|
184
206
|
WORKTREES_DIR,
|
|
185
207
|
WORKTREE_BRANCH_PREFIX,
|
|
186
208
|
WORKTREE_SESSION_FILE,
|
|
187
209
|
WorkspaceContext,
|
|
210
|
+
WorkspaceMemoryFileTooLargeError,
|
|
211
|
+
WorkspaceMemoryWriteTimeoutError,
|
|
188
212
|
__resetActiveGoalStoreForTests,
|
|
189
213
|
_recoverObjectsFromLine,
|
|
190
214
|
_resetCachedIdeServerHost,
|
|
@@ -193,16 +217,23 @@ import {
|
|
|
193
217
|
abortGoalForStopHookCap,
|
|
194
218
|
abortSpeculation,
|
|
195
219
|
acceptSpeculation,
|
|
220
|
+
activeGoalEquals,
|
|
196
221
|
addMCPStatusChangeListener,
|
|
222
|
+
alibabaStandardProvider,
|
|
197
223
|
allowEditorTypeInSandbox,
|
|
198
224
|
appendToLastTextPart,
|
|
225
|
+
applyAutoModeDecision,
|
|
226
|
+
applyProviderInstallPlan,
|
|
199
227
|
buildApiHistoryFromConversation,
|
|
200
228
|
buildBackgroundEntryLabel,
|
|
201
229
|
buildDeferredToolsSection,
|
|
202
230
|
buildFallbackApproachSummary,
|
|
203
231
|
buildHumanReadableRuleLabel,
|
|
232
|
+
buildInstallPlan,
|
|
233
|
+
buildModelIdContext,
|
|
204
234
|
buildPermissionCheckContext,
|
|
205
235
|
buildPermissionRules,
|
|
236
|
+
buildProviderTemplate,
|
|
206
237
|
canUseRipgrep,
|
|
207
238
|
checkArgumentSafety,
|
|
208
239
|
checkCommandPermissions,
|
|
@@ -216,10 +247,13 @@ import {
|
|
|
216
247
|
clearGoalTerminalObserver,
|
|
217
248
|
clearRuntimeStatus,
|
|
218
249
|
clearWelcomeBackState,
|
|
250
|
+
clearWorktreeSession,
|
|
219
251
|
cliSource,
|
|
220
252
|
cloneFromGit,
|
|
253
|
+
codingPlanProvider,
|
|
221
254
|
collectMemoryDiagnostics,
|
|
222
255
|
commandExists,
|
|
256
|
+
computeModelListVersion,
|
|
223
257
|
computedSource,
|
|
224
258
|
connectAndDiscover,
|
|
225
259
|
connectToMcpServer,
|
|
@@ -231,19 +265,24 @@ import {
|
|
|
231
265
|
convertTomlToMarkdown,
|
|
232
266
|
copyExtension,
|
|
233
267
|
countLines,
|
|
268
|
+
crawlCache_exports,
|
|
234
269
|
createDefaultAutoMemoryExtractCursor,
|
|
235
270
|
createDefaultAutoMemoryIndex,
|
|
236
271
|
createDefaultAutoMemoryMetadata,
|
|
272
|
+
createDenialState,
|
|
237
273
|
createFollowupController,
|
|
238
274
|
createForkedChat,
|
|
239
275
|
createGoalStopHookCallback,
|
|
240
276
|
createTmpDir,
|
|
241
277
|
createToolUseSummaryMessage,
|
|
242
278
|
createTransport,
|
|
279
|
+
customProvider,
|
|
243
280
|
decodeTagName,
|
|
281
|
+
deepseekProvider,
|
|
244
282
|
defaultSource,
|
|
245
283
|
detectBackend,
|
|
246
284
|
detectCommandSubstitution,
|
|
285
|
+
detectIdeFromEnv,
|
|
247
286
|
detectLineEnding,
|
|
248
287
|
discoverMcpTools,
|
|
249
288
|
discoverPrompts,
|
|
@@ -255,6 +294,7 @@ import {
|
|
|
255
294
|
encodeInsightProgressMessage,
|
|
256
295
|
encodeInsightReadyMessage,
|
|
257
296
|
encodeTagName,
|
|
297
|
+
encodeTextFileContent,
|
|
258
298
|
ensureAutoMemoryScaffold,
|
|
259
299
|
ensureCrlfLineEndings,
|
|
260
300
|
ensureMacBinarySigned,
|
|
@@ -262,6 +302,7 @@ import {
|
|
|
262
302
|
ensureToolResultPairing,
|
|
263
303
|
envLayer,
|
|
264
304
|
escapeShellArg,
|
|
305
|
+
evaluateAutoMode,
|
|
265
306
|
evaluatePermissionFlow,
|
|
266
307
|
evaluatePermissionRules,
|
|
267
308
|
evaluateToolCall,
|
|
@@ -278,6 +319,8 @@ import {
|
|
|
278
319
|
fetchGitDiffHunks,
|
|
279
320
|
filter,
|
|
280
321
|
findGitRoot,
|
|
322
|
+
findProviderByCredentials,
|
|
323
|
+
findProviderById,
|
|
281
324
|
findReleaseAsset,
|
|
282
325
|
fireNotificationHook,
|
|
283
326
|
firePermissionRequestHook,
|
|
@@ -285,16 +328,19 @@ import {
|
|
|
285
328
|
firePostToolUseHook,
|
|
286
329
|
firePreToolUseHook,
|
|
287
330
|
flatMapTextParts,
|
|
331
|
+
formatClassifierBlockMessage,
|
|
288
332
|
formatLineStats,
|
|
289
333
|
formatMemoryUsage,
|
|
290
334
|
formatStopHookBlockingCapWarning,
|
|
291
335
|
generateAgentWorktreeSlug,
|
|
336
|
+
generateCustomEnvKey,
|
|
292
337
|
generatePromptSuggestion,
|
|
293
338
|
generateSessionRecap,
|
|
294
339
|
generateToolUseId,
|
|
295
340
|
generateToolUseSummary,
|
|
296
341
|
getActiveGoal,
|
|
297
342
|
getAllMCPServerStatuses,
|
|
343
|
+
getAllProviderBaseUrls,
|
|
298
344
|
getArenaSystemReminder,
|
|
299
345
|
getBuiltinRipgrep,
|
|
300
346
|
getCacheSafeParams,
|
|
@@ -303,12 +349,15 @@ import {
|
|
|
303
349
|
getCompressionPrompt,
|
|
304
350
|
getCoreSystemPrompt,
|
|
305
351
|
getCustomSystemPrompt,
|
|
352
|
+
getDefaultBaseUrlForProtocol,
|
|
353
|
+
getDefaultModelIds,
|
|
306
354
|
getDiffCommand,
|
|
307
355
|
getDirectoryContextString,
|
|
308
356
|
getEditorExecutable,
|
|
309
357
|
getEnvContents,
|
|
310
358
|
getEnvironmentContext,
|
|
311
359
|
getExtensionId,
|
|
360
|
+
getExternalEditorCommand,
|
|
312
361
|
getFilterReason,
|
|
313
362
|
getFolderStructure,
|
|
314
363
|
getFunctionCalls,
|
|
@@ -331,6 +380,7 @@ import {
|
|
|
331
380
|
getProjectSummaryPrompt,
|
|
332
381
|
getRateLimitErrorDetails,
|
|
333
382
|
getRateLimitRetryDelayMs,
|
|
383
|
+
getRecentGitStatus,
|
|
334
384
|
getResponseText,
|
|
335
385
|
getResponseTextFromParts,
|
|
336
386
|
getResumePromptTokenCount,
|
|
@@ -351,9 +401,11 @@ import {
|
|
|
351
401
|
hashValue,
|
|
352
402
|
hydrateString,
|
|
353
403
|
ideContextStore,
|
|
404
|
+
idealabProvider,
|
|
354
405
|
injectPermissionRulesIfMissing,
|
|
355
406
|
invokeMcpPrompt,
|
|
356
407
|
isApiError,
|
|
408
|
+
isApproveOutcome,
|
|
357
409
|
isAutoEditApproved,
|
|
358
410
|
isBareMode,
|
|
359
411
|
isBinary,
|
|
@@ -365,6 +417,7 @@ import {
|
|
|
365
417
|
isEnabled,
|
|
366
418
|
isGenericQuotaExceededError,
|
|
367
419
|
isGitRepository,
|
|
420
|
+
isInSafeToolAllowlist,
|
|
368
421
|
isInvalidArgumentError,
|
|
369
422
|
isModifiableDeclarativeTool,
|
|
370
423
|
isPathWithinRoot,
|
|
@@ -378,15 +431,18 @@ import {
|
|
|
378
431
|
isSettledStatus,
|
|
379
432
|
isStructuredError,
|
|
380
433
|
isSuccessStatus,
|
|
434
|
+
isTerminalEditor,
|
|
381
435
|
isTerminalStatus,
|
|
382
436
|
isTomlFormat,
|
|
383
437
|
isToolEnabled,
|
|
384
438
|
isTransientCapacityError,
|
|
385
439
|
isUnattendedMode,
|
|
440
|
+
isValidEditorType,
|
|
386
441
|
isValidNonThoughtTextPart,
|
|
387
442
|
isWindows,
|
|
388
443
|
judgeGoal,
|
|
389
444
|
layer,
|
|
445
|
+
loadIgnoreRules,
|
|
390
446
|
loadServerHierarchicalMemory,
|
|
391
447
|
makeFakeConfig,
|
|
392
448
|
matchesCommandPattern,
|
|
@@ -396,17 +452,22 @@ import {
|
|
|
396
452
|
matchesRule,
|
|
397
453
|
maybePromptForSettings,
|
|
398
454
|
mcpServerRequiresOAuth,
|
|
455
|
+
mcpTransportOf,
|
|
399
456
|
mergeClaudeConfigs,
|
|
457
|
+
minimaxProvider,
|
|
400
458
|
modelProvidersSource,
|
|
459
|
+
modelscopeProvider,
|
|
401
460
|
modifyWithEditor,
|
|
402
461
|
needsConfirmation,
|
|
403
462
|
needsUtf8Bom,
|
|
404
463
|
normalizeContent,
|
|
405
464
|
normalizeMonitorCommand,
|
|
406
465
|
normalizeProxyUrl,
|
|
466
|
+
normalizeSkillPriority,
|
|
407
467
|
normalizeStopHookBlockingCap,
|
|
408
468
|
notifyGoalTerminal,
|
|
409
469
|
openDiff,
|
|
470
|
+
openRouterProvider,
|
|
410
471
|
parse,
|
|
411
472
|
parseAndFormatApiError,
|
|
412
473
|
parseDeletedFromNameStatus,
|
|
@@ -423,12 +484,14 @@ import {
|
|
|
423
484
|
parseThought,
|
|
424
485
|
partListUnionToString,
|
|
425
486
|
partToString,
|
|
487
|
+
passesAcceptEditsFastPath,
|
|
426
488
|
performVariableReplacement,
|
|
427
489
|
persistPermissionOutcome,
|
|
428
490
|
populateMcpServerCommand,
|
|
429
491
|
prependToFirstTextPart,
|
|
430
492
|
promptForSetting,
|
|
431
493
|
promptIdContext,
|
|
494
|
+
providerMatchesCredentials,
|
|
432
495
|
read,
|
|
433
496
|
readAutoMemoryIndex,
|
|
434
497
|
readLastJsonStringFieldSync,
|
|
@@ -437,33 +500,45 @@ import {
|
|
|
437
500
|
readManyFiles,
|
|
438
501
|
readPathFromWorkspace,
|
|
439
502
|
readRuntimeStatus,
|
|
503
|
+
readWorktreeSession,
|
|
440
504
|
readWorktreeSessionMarker,
|
|
505
|
+
recordAllow,
|
|
506
|
+
recordBlock,
|
|
507
|
+
recordFallbackApprove,
|
|
441
508
|
recordGoalIteration,
|
|
442
509
|
recordStartupEvent,
|
|
510
|
+
recordUnavailable,
|
|
443
511
|
recursivelyHydrateStrings,
|
|
444
512
|
redactStructuredOutputArgsForRecording,
|
|
445
513
|
registerGoalHook,
|
|
446
514
|
removeMCPServerStatus,
|
|
447
515
|
removeMCPStatusChangeListener,
|
|
516
|
+
repairOrphanedToolUseTurns,
|
|
448
517
|
replayUiTelemetryFromConversation,
|
|
518
|
+
resetDenialState,
|
|
449
519
|
resetUtf8BomCache,
|
|
520
|
+
resolveBaseUrl,
|
|
450
521
|
resolveBundleDir,
|
|
451
522
|
resolveCommandPath,
|
|
452
523
|
resolveField,
|
|
453
524
|
resolveGitDir,
|
|
525
|
+
resolveMetadataKey,
|
|
454
526
|
resolveModelConfig,
|
|
455
527
|
resolveModelId,
|
|
456
528
|
resolveNpmRegistry,
|
|
457
529
|
resolveOptionalField,
|
|
530
|
+
resolveOwnsModel,
|
|
458
531
|
resolvePathFromEnv,
|
|
459
532
|
resolvePathPattern,
|
|
460
533
|
resolveRipgrep,
|
|
461
534
|
resolveStopHookBlockingCap,
|
|
462
535
|
resolveToolName,
|
|
536
|
+
restoreWorktreeContext,
|
|
463
537
|
retryWithBackoff,
|
|
464
538
|
rewritePathArgs,
|
|
465
539
|
runForkedAgent,
|
|
466
540
|
runRipgrep,
|
|
541
|
+
runWithForkedChatModel,
|
|
467
542
|
safeAgentId,
|
|
468
543
|
safeLiteralReplace,
|
|
469
544
|
sanitizeTitle,
|
|
@@ -479,7 +554,10 @@ import {
|
|
|
479
554
|
settingsSource,
|
|
480
555
|
shouldAttemptBrowserLaunch,
|
|
481
556
|
shouldDefaultToNodePty,
|
|
557
|
+
shouldFallback,
|
|
482
558
|
shouldFilterSuggestion,
|
|
559
|
+
shouldRunAutoModeForCall,
|
|
560
|
+
shouldShowStep,
|
|
483
561
|
splitCommands,
|
|
484
562
|
splitCompoundCommand,
|
|
485
563
|
splitConditionalSkills,
|
|
@@ -493,6 +571,7 @@ import {
|
|
|
493
571
|
substituteHookVariables,
|
|
494
572
|
summarizeUnifiedDiff,
|
|
495
573
|
templateString,
|
|
574
|
+
tokenPlanProvider,
|
|
496
575
|
toolMatchesRuleToolName,
|
|
497
576
|
truncateJson,
|
|
498
577
|
tryGenerateSessionTitle,
|
|
@@ -507,9 +586,11 @@ import {
|
|
|
507
586
|
writeLine,
|
|
508
587
|
writeLineSync,
|
|
509
588
|
writeRuntimeStatus,
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
589
|
+
writeWorkspaceContextFile,
|
|
590
|
+
writeWorktreeSession,
|
|
591
|
+
writeWorktreeSessionMarker,
|
|
592
|
+
zaiProvider
|
|
593
|
+
} from "./chunk-BAZDG3QU.js";
|
|
513
594
|
import "./chunk-K5PGHDBN.js";
|
|
514
595
|
import "./chunk-O4PICXES.js";
|
|
515
596
|
import "./chunk-TW522KN6.js";
|
|
@@ -519,7 +600,7 @@ import {
|
|
|
519
600
|
} from "./chunk-MLZQVCF3.js";
|
|
520
601
|
import {
|
|
521
602
|
runSideQuery
|
|
522
|
-
} from "./chunk-
|
|
603
|
+
} from "./chunk-CAVZVZX6.js";
|
|
523
604
|
import {
|
|
524
605
|
buildSkillLlmContent
|
|
525
606
|
} from "./chunk-G7YTSRES.js";
|
|
@@ -545,7 +626,7 @@ import {
|
|
|
545
626
|
createHookOutput,
|
|
546
627
|
detectTodoChanges,
|
|
547
628
|
getHookKey
|
|
548
|
-
} from "./chunk-
|
|
629
|
+
} from "./chunk-4AOCVI6J.js";
|
|
549
630
|
import {
|
|
550
631
|
DEFAULT_FILE_FILTERING_OPTIONS,
|
|
551
632
|
DEFAULT_MEMORY_FILE_FILTERING_OPTIONS
|
|
@@ -562,7 +643,7 @@ import {
|
|
|
562
643
|
getUnsupportedImageFormatWarning,
|
|
563
644
|
isSupportedImageMimeType,
|
|
564
645
|
redactProxyCredentials
|
|
565
|
-
} from "./chunk-
|
|
646
|
+
} from "./chunk-CSWBPY3P.js";
|
|
566
647
|
import {
|
|
567
648
|
AGENT_CONTEXT_FILENAME,
|
|
568
649
|
ApiCancelEvent,
|
|
@@ -642,12 +723,15 @@ import {
|
|
|
642
723
|
countFileLines,
|
|
643
724
|
createContentGenerator,
|
|
644
725
|
createContentGeneratorConfig,
|
|
726
|
+
decodeBufferWithEncodingInfo,
|
|
645
727
|
detectBOM,
|
|
646
728
|
detectEncodingFromBuffer,
|
|
647
729
|
detectFileEncoding,
|
|
648
730
|
detectFileType,
|
|
731
|
+
endHookSpan,
|
|
649
732
|
endInteractionSpan,
|
|
650
733
|
endLLMRequestSpan,
|
|
734
|
+
endToolBlockedOnUserSpan,
|
|
651
735
|
endToolExecutionSpan,
|
|
652
736
|
endToolSpan,
|
|
653
737
|
extractExtensionsFromPatterns,
|
|
@@ -738,21 +822,24 @@ import {
|
|
|
738
822
|
refreshSessionContext,
|
|
739
823
|
resetEncodingCache,
|
|
740
824
|
resolveContentGeneratorConfigWithSources,
|
|
825
|
+
resolveOpenAILogDir,
|
|
741
826
|
resolveTelemetrySettings,
|
|
742
827
|
runInToolSpanContext,
|
|
743
828
|
sanitizeHookName,
|
|
744
829
|
setGeminiMdFilename,
|
|
745
830
|
shutdownTelemetry,
|
|
831
|
+
startHookSpan,
|
|
746
832
|
startInteractionSpan,
|
|
747
833
|
startLLMRequestSpan,
|
|
834
|
+
startToolBlockedOnUserSpan,
|
|
748
835
|
startToolExecutionSpan,
|
|
749
836
|
startToolSpan,
|
|
750
837
|
truncateContent,
|
|
838
|
+
truncateSpanError,
|
|
751
839
|
uiTelemetryService,
|
|
752
840
|
validateModelConfig,
|
|
753
841
|
windowsCodePageToEncoding
|
|
754
|
-
} from "./chunk-
|
|
755
|
-
import "./chunk-SYCJMSIJ.js";
|
|
842
|
+
} from "./chunk-JCR2WRXZ.js";
|
|
756
843
|
import "./chunk-UWCTAVOD.js";
|
|
757
844
|
import {
|
|
758
845
|
DEFAULT_QWEN_EMBEDDING_MODEL,
|
|
@@ -784,15 +871,20 @@ import {
|
|
|
784
871
|
DEFAULT_OUTPUT_TOKEN_LIMIT,
|
|
785
872
|
DEFAULT_TOKEN_LIMIT,
|
|
786
873
|
ESCALATED_MAX_TOKENS,
|
|
874
|
+
RuntimeDiagnosticsCollector,
|
|
787
875
|
hasExplicitOutputLimit,
|
|
876
|
+
isRuntimeDiagnosticsEnabled,
|
|
788
877
|
knownTokenLimit,
|
|
789
878
|
normalize,
|
|
879
|
+
runtimeDiagnostics,
|
|
880
|
+
summarizeAnthropicWireRequest,
|
|
881
|
+
summarizeOpenAIWireRequest,
|
|
790
882
|
tokenLimit
|
|
791
|
-
} from "./chunk-
|
|
883
|
+
} from "./chunk-MAY32HXD.js";
|
|
792
884
|
import "./chunk-D5NTAHYL.js";
|
|
793
885
|
import "./chunk-T4VD6OJ4.js";
|
|
794
886
|
import "./chunk-RDYWTWEM.js";
|
|
795
|
-
import "./chunk-
|
|
887
|
+
import "./chunk-YJLGXDQJ.js";
|
|
796
888
|
import {
|
|
797
889
|
AgentStatistics,
|
|
798
890
|
BaseDeclarativeTool,
|
|
@@ -810,11 +902,14 @@ import {
|
|
|
810
902
|
ToolNamesMigration,
|
|
811
903
|
hasCycleInSchema,
|
|
812
904
|
isTool
|
|
813
|
-
} from "./chunk-
|
|
905
|
+
} from "./chunk-PVVL5Q3W.js";
|
|
814
906
|
import {
|
|
815
907
|
CredentialsClearRequiredError,
|
|
908
|
+
QWEN_CREDENTIAL_FILE_MODE,
|
|
816
909
|
QwenOAuth2Client,
|
|
817
910
|
QwenOAuth2Event,
|
|
911
|
+
QwenOAuthPollError,
|
|
912
|
+
cacheQwenCredentials,
|
|
818
913
|
clearCachedCredentialFile,
|
|
819
914
|
clearQwenCredentials,
|
|
820
915
|
generateCodeChallenge,
|
|
@@ -826,7 +921,7 @@ import {
|
|
|
826
921
|
isDeviceTokenSuccess,
|
|
827
922
|
isErrorResponse,
|
|
828
923
|
qwenOAuth2Events
|
|
829
|
-
} from "./chunk-
|
|
924
|
+
} from "./chunk-GGNTZ2NH.js";
|
|
830
925
|
import "./chunk-KXZ4TJB4.js";
|
|
831
926
|
import {
|
|
832
927
|
BadRequestError,
|
|
@@ -887,6 +982,8 @@ export {
|
|
|
887
982
|
AGENT_WORKTREE_HEX_LENGTH,
|
|
888
983
|
AGENT_WORKTREE_PREFIX,
|
|
889
984
|
AGENT_WORKTREE_SLUG_PATTERN,
|
|
985
|
+
ALIBABA_PROVIDERS,
|
|
986
|
+
ALL_PROVIDERS,
|
|
890
987
|
APPROVAL_MODES,
|
|
891
988
|
APPROVAL_MODE_INFO,
|
|
892
989
|
ARENA_MAX_AGENTS,
|
|
@@ -897,6 +994,7 @@ export {
|
|
|
897
994
|
AUTO_MEMORY_METADATA_FILENAME,
|
|
898
995
|
AUTO_MEMORY_SCHEMA_VERSION,
|
|
899
996
|
AUTO_MEMORY_TYPES,
|
|
997
|
+
AUTO_MODE_DENIAL_LIMITS,
|
|
900
998
|
AUTO_SKILL_THRESHOLD,
|
|
901
999
|
AbortError,
|
|
902
1000
|
AgentCore,
|
|
@@ -933,12 +1031,17 @@ export {
|
|
|
933
1031
|
BadRequestError,
|
|
934
1032
|
BaseDeclarativeTool,
|
|
935
1033
|
BaseToolInvocation,
|
|
1034
|
+
BudgetExhaustedError,
|
|
936
1035
|
BuiltinAgentRegistry,
|
|
937
1036
|
CAPPED_DEFAULT_MAX_TOKENS,
|
|
938
1037
|
CODE_ACTION_KIND_LABELS,
|
|
1038
|
+
CODING_PLAN_CHINA_BASE_URL,
|
|
1039
|
+
CODING_PLAN_ENV_KEY,
|
|
1040
|
+
CODING_PLAN_GLOBAL_BASE_URL,
|
|
939
1041
|
COMMON_DIRECTORY_EXCLUDES,
|
|
940
1042
|
COMMON_IGNORE_PATTERNS,
|
|
941
1043
|
CONCURRENCY_SAFE_KINDS,
|
|
1044
|
+
CUSTOM_API_KEY_ENV_PREFIX,
|
|
942
1045
|
ChatRecordingService,
|
|
943
1046
|
CloseDiffRequestSchema,
|
|
944
1047
|
ColorMode,
|
|
@@ -1056,6 +1159,7 @@ export {
|
|
|
1056
1159
|
IdeDiffAcceptedNotificationSchema,
|
|
1057
1160
|
IdeDiffClosedNotificationSchema,
|
|
1058
1161
|
IdeDiffRejectedNotificationSchema,
|
|
1162
|
+
Ignore,
|
|
1059
1163
|
InProcessBackend,
|
|
1060
1164
|
InputFormat,
|
|
1061
1165
|
InvalidStreamError,
|
|
@@ -1081,11 +1185,14 @@ export {
|
|
|
1081
1185
|
MAX_RETAINED_TERMINAL_AGENTS,
|
|
1082
1186
|
MAX_RETAINED_TERMINAL_MONITORS,
|
|
1083
1187
|
MAX_RETAINED_TERMINAL_SHELLS,
|
|
1188
|
+
MAX_TRANSCRIPT_MESSAGES,
|
|
1084
1189
|
MCPDiscoveryState,
|
|
1085
1190
|
MCPOAuthProvider,
|
|
1086
1191
|
MCPOAuthTokenStorage,
|
|
1087
1192
|
MCPServerConfig,
|
|
1088
1193
|
MCPServerStatus,
|
|
1194
|
+
MCP_BUDGET_REARM_FRACTION,
|
|
1195
|
+
MCP_BUDGET_WARN_FRACTION,
|
|
1089
1196
|
MCP_DEFAULT_TIMEOUT_MSEC,
|
|
1090
1197
|
MEDIA_FILE_PATTERNS,
|
|
1091
1198
|
MEMORY_SECTION_HEADER,
|
|
@@ -1117,11 +1224,14 @@ export {
|
|
|
1117
1224
|
OAUTH_AUTH_URL_EVENT,
|
|
1118
1225
|
OAUTH_DISPLAY_MESSAGE_EVENT,
|
|
1119
1226
|
OAuthUtils,
|
|
1227
|
+
OPENROUTER_BASE_URL,
|
|
1228
|
+
OPENROUTER_ENV_KEY,
|
|
1120
1229
|
OpenAILogger,
|
|
1121
1230
|
OpenDiffRequestSchema,
|
|
1122
1231
|
OutputFormat,
|
|
1123
1232
|
OverlayFs,
|
|
1124
1233
|
PATH_ARG_KEYS,
|
|
1234
|
+
PROVIDER_METADATA_NS,
|
|
1125
1235
|
PYTHON_EXCLUDES,
|
|
1126
1236
|
PerformanceMetricType,
|
|
1127
1237
|
PermissionManager,
|
|
@@ -1133,17 +1243,22 @@ export {
|
|
|
1133
1243
|
PreCompactTrigger,
|
|
1134
1244
|
PreToolUseHookOutput,
|
|
1135
1245
|
PromptSuggestionEvent,
|
|
1246
|
+
ProviderInstallError,
|
|
1136
1247
|
QWEN_CODE_COMPANION_EXTENSION_NAME,
|
|
1137
1248
|
QWEN_CODE_SIMPLE_ENV_VAR,
|
|
1249
|
+
QWEN_CREDENTIAL_FILE_MODE,
|
|
1138
1250
|
QWEN_DIR,
|
|
1139
1251
|
QWEN_OAUTH_MODELS,
|
|
1140
1252
|
QwenLogger,
|
|
1141
1253
|
QwenOAuth2Client,
|
|
1142
1254
|
QwenOAuth2Event,
|
|
1255
|
+
QwenOAuthPollError,
|
|
1143
1256
|
RUNTIME_STATUS_SCHEMA_VERSION,
|
|
1144
1257
|
ReadFileTool,
|
|
1145
1258
|
RipGrepTool,
|
|
1146
1259
|
RipgrepFallbackEvent,
|
|
1260
|
+
RuntimeDiagnosticsCollector,
|
|
1261
|
+
SAFE_TOOL_ALLOWLIST,
|
|
1147
1262
|
SESSION_TITLE_MAX_LENGTH,
|
|
1148
1263
|
SHELL_SPECIAL_CHARS,
|
|
1149
1264
|
SHELL_TOOL_NAMES,
|
|
@@ -1176,12 +1291,16 @@ export {
|
|
|
1176
1291
|
Storage,
|
|
1177
1292
|
StreamEventType,
|
|
1178
1293
|
SubagentError,
|
|
1294
|
+
SubagentErrorCode,
|
|
1179
1295
|
SubagentManager,
|
|
1180
1296
|
SubagentValidator,
|
|
1181
1297
|
TERMINAL_CSI_REGEX,
|
|
1182
1298
|
TERMINAL_OSC_REGEX,
|
|
1183
1299
|
TERMINAL_SHIFT_DCS_REGEX,
|
|
1184
1300
|
TEST_ONLY,
|
|
1301
|
+
THIRD_PARTY_PROVIDERS,
|
|
1302
|
+
TOKEN_PLAN_BASE_URL,
|
|
1303
|
+
TOKEN_PLAN_ENV_KEY,
|
|
1185
1304
|
TOOL_NAME_ALIASES,
|
|
1186
1305
|
TOOL_USE_SUMMARY_SYSTEM_PROMPT,
|
|
1187
1306
|
TelemetryTarget,
|
|
@@ -1197,6 +1316,7 @@ export {
|
|
|
1197
1316
|
ToolNamesMigration,
|
|
1198
1317
|
ToolOutputTruncatedEvent,
|
|
1199
1318
|
ToolRegistry,
|
|
1319
|
+
TrustGateError,
|
|
1200
1320
|
Turn,
|
|
1201
1321
|
UiTelemetryService,
|
|
1202
1322
|
UnauthorizedError,
|
|
@@ -1209,6 +1329,8 @@ export {
|
|
|
1209
1329
|
WORKTREE_BRANCH_PREFIX,
|
|
1210
1330
|
WORKTREE_SESSION_FILE,
|
|
1211
1331
|
WorkspaceContext,
|
|
1332
|
+
WorkspaceMemoryFileTooLargeError,
|
|
1333
|
+
WorkspaceMemoryWriteTimeoutError,
|
|
1212
1334
|
__resetActiveGoalStoreForTests,
|
|
1213
1335
|
_recoverObjectsFromLine,
|
|
1214
1336
|
_resetCachedIdeServerHost,
|
|
@@ -1218,6 +1340,7 @@ export {
|
|
|
1218
1340
|
abortGoalForStopHookCap,
|
|
1219
1341
|
abortSpeculation,
|
|
1220
1342
|
acceptSpeculation,
|
|
1343
|
+
activeGoalEquals,
|
|
1221
1344
|
addMCPStatusChangeListener,
|
|
1222
1345
|
addModelOutputAttributes,
|
|
1223
1346
|
addSystemPromptAttributes,
|
|
@@ -1225,16 +1348,23 @@ export {
|
|
|
1225
1348
|
addToolResultAttributes,
|
|
1226
1349
|
addToolSchemaAttributes,
|
|
1227
1350
|
addUserPromptAttributes,
|
|
1351
|
+
alibabaStandardProvider,
|
|
1228
1352
|
allowEditorTypeInSandbox,
|
|
1229
1353
|
appendToLastTextPart,
|
|
1354
|
+
applyAutoModeDecision,
|
|
1355
|
+
applyProviderInstallPlan,
|
|
1230
1356
|
buildApiHistoryFromConversation,
|
|
1231
1357
|
buildBackgroundEntryLabel,
|
|
1232
1358
|
buildDeferredToolsSection,
|
|
1233
1359
|
buildFallbackApproachSummary,
|
|
1234
1360
|
buildHumanReadableRuleLabel,
|
|
1361
|
+
buildInstallPlan,
|
|
1362
|
+
buildModelIdContext,
|
|
1235
1363
|
buildPermissionCheckContext,
|
|
1236
1364
|
buildPermissionRules,
|
|
1365
|
+
buildProviderTemplate,
|
|
1237
1366
|
buildSkillLlmContent,
|
|
1367
|
+
cacheQwenCredentials,
|
|
1238
1368
|
canUseRipgrep,
|
|
1239
1369
|
checkArgumentSafety,
|
|
1240
1370
|
checkCommandPermissions,
|
|
@@ -1251,10 +1381,13 @@ export {
|
|
|
1251
1381
|
clearQwenCredentials,
|
|
1252
1382
|
clearRuntimeStatus,
|
|
1253
1383
|
clearWelcomeBackState,
|
|
1384
|
+
clearWorktreeSession,
|
|
1254
1385
|
cliSource,
|
|
1255
1386
|
cloneFromGit,
|
|
1387
|
+
codingPlanProvider,
|
|
1256
1388
|
collectMemoryDiagnostics,
|
|
1257
1389
|
commandExists,
|
|
1390
|
+
computeModelListVersion,
|
|
1258
1391
|
computedSource,
|
|
1259
1392
|
connectAndDiscover,
|
|
1260
1393
|
connectToMcpServer,
|
|
@@ -1267,12 +1400,14 @@ export {
|
|
|
1267
1400
|
copyExtension,
|
|
1268
1401
|
countFileLines,
|
|
1269
1402
|
countLines,
|
|
1403
|
+
crawlCache_exports as crawlCache,
|
|
1270
1404
|
createContentGenerator,
|
|
1271
1405
|
createContentGeneratorConfig,
|
|
1272
1406
|
createDebugLogger,
|
|
1273
1407
|
createDefaultAutoMemoryExtractCursor,
|
|
1274
1408
|
createDefaultAutoMemoryIndex,
|
|
1275
1409
|
createDefaultAutoMemoryMetadata,
|
|
1410
|
+
createDenialState,
|
|
1276
1411
|
createFollowupController,
|
|
1277
1412
|
createForkedChat,
|
|
1278
1413
|
createGoalStopHookCallback,
|
|
@@ -1280,7 +1415,10 @@ export {
|
|
|
1280
1415
|
createTmpDir,
|
|
1281
1416
|
createToolUseSummaryMessage,
|
|
1282
1417
|
createTransport,
|
|
1418
|
+
customProvider,
|
|
1419
|
+
decodeBufferWithEncodingInfo,
|
|
1283
1420
|
decodeTagName,
|
|
1421
|
+
deepseekProvider,
|
|
1284
1422
|
defaultSource,
|
|
1285
1423
|
detectBOM,
|
|
1286
1424
|
detectBackend,
|
|
@@ -1288,6 +1426,7 @@ export {
|
|
|
1288
1426
|
detectEncodingFromBuffer,
|
|
1289
1427
|
detectFileEncoding,
|
|
1290
1428
|
detectFileType,
|
|
1429
|
+
detectIdeFromEnv,
|
|
1291
1430
|
detectLineEnding,
|
|
1292
1431
|
detectRuntime,
|
|
1293
1432
|
detectTodoChanges,
|
|
@@ -1301,8 +1440,11 @@ export {
|
|
|
1301
1440
|
encodeInsightProgressMessage,
|
|
1302
1441
|
encodeInsightReadyMessage,
|
|
1303
1442
|
encodeTagName,
|
|
1443
|
+
encodeTextFileContent,
|
|
1444
|
+
endHookSpan,
|
|
1304
1445
|
endInteractionSpan,
|
|
1305
1446
|
endLLMRequestSpan,
|
|
1447
|
+
endToolBlockedOnUserSpan,
|
|
1306
1448
|
endToolExecutionSpan,
|
|
1307
1449
|
endToolSpan,
|
|
1308
1450
|
ensureAutoMemoryScaffold,
|
|
@@ -1313,6 +1455,7 @@ export {
|
|
|
1313
1455
|
envLayer,
|
|
1314
1456
|
escapePath,
|
|
1315
1457
|
escapeShellArg,
|
|
1458
|
+
evaluateAutoMode,
|
|
1316
1459
|
evaluatePermissionFlow,
|
|
1317
1460
|
evaluatePermissionRules,
|
|
1318
1461
|
evaluateToolCall,
|
|
@@ -1332,6 +1475,8 @@ export {
|
|
|
1332
1475
|
fileExists,
|
|
1333
1476
|
filter,
|
|
1334
1477
|
findGitRoot,
|
|
1478
|
+
findProviderByCredentials,
|
|
1479
|
+
findProviderById,
|
|
1335
1480
|
findReleaseAsset,
|
|
1336
1481
|
fireNotificationHook,
|
|
1337
1482
|
firePermissionRequestHook,
|
|
@@ -1339,12 +1484,14 @@ export {
|
|
|
1339
1484
|
firePostToolUseHook,
|
|
1340
1485
|
firePreToolUseHook,
|
|
1341
1486
|
flatMapTextParts,
|
|
1487
|
+
formatClassifierBlockMessage,
|
|
1342
1488
|
formatLineStats,
|
|
1343
1489
|
formatMemoryUsage,
|
|
1344
1490
|
formatStopHookBlockingCapWarning,
|
|
1345
1491
|
generateAgentWorktreeSlug,
|
|
1346
1492
|
generateCodeChallenge,
|
|
1347
1493
|
generateCodeVerifier,
|
|
1494
|
+
generateCustomEnvKey,
|
|
1348
1495
|
generatePKCEPair,
|
|
1349
1496
|
generatePromptSuggestion,
|
|
1350
1497
|
generateSessionRecap,
|
|
@@ -1355,6 +1502,7 @@ export {
|
|
|
1355
1502
|
getActiveInteractionSpan,
|
|
1356
1503
|
getAllGeminiMdFilenames,
|
|
1357
1504
|
getAllMCPServerStatuses,
|
|
1505
|
+
getAllProviderBaseUrls,
|
|
1358
1506
|
getArenaSystemReminder,
|
|
1359
1507
|
getAutoMemoryConsolidationLockPath,
|
|
1360
1508
|
getAutoMemoryExtractCursorPath,
|
|
@@ -1374,6 +1522,8 @@ export {
|
|
|
1374
1522
|
getCoreSystemPrompt,
|
|
1375
1523
|
getCurrentGeminiMdFilename,
|
|
1376
1524
|
getCustomSystemPrompt,
|
|
1525
|
+
getDefaultBaseUrlForProtocol,
|
|
1526
|
+
getDefaultModelIds,
|
|
1377
1527
|
getDiffCommand,
|
|
1378
1528
|
getDirectoryContextString,
|
|
1379
1529
|
getEditorExecutable,
|
|
@@ -1383,6 +1533,7 @@ export {
|
|
|
1383
1533
|
getErrorStatus,
|
|
1384
1534
|
getErrorType,
|
|
1385
1535
|
getExtensionId,
|
|
1536
|
+
getExternalEditorCommand,
|
|
1386
1537
|
getFilterReason,
|
|
1387
1538
|
getFolderStructure,
|
|
1388
1539
|
getFunctionCalls,
|
|
@@ -1410,6 +1561,7 @@ export {
|
|
|
1410
1561
|
getQwenOAuthClient,
|
|
1411
1562
|
getRateLimitErrorDetails,
|
|
1412
1563
|
getRateLimitRetryDelayMs,
|
|
1564
|
+
getRecentGitStatus,
|
|
1413
1565
|
getResponseText,
|
|
1414
1566
|
getResponseTextFromParts,
|
|
1415
1567
|
getResumePromptTokenCount,
|
|
@@ -1436,11 +1588,13 @@ export {
|
|
|
1436
1588
|
hashValue,
|
|
1437
1589
|
hydrateString,
|
|
1438
1590
|
ideContextStore,
|
|
1591
|
+
idealabProvider,
|
|
1439
1592
|
initializeTelemetry,
|
|
1440
1593
|
injectPermissionRulesIfMissing,
|
|
1441
1594
|
invokeMcpPrompt,
|
|
1442
1595
|
isAbortError,
|
|
1443
1596
|
isApiError,
|
|
1597
|
+
isApproveOutcome,
|
|
1444
1598
|
isAutoEditApproved,
|
|
1445
1599
|
isAutoMemPath,
|
|
1446
1600
|
isBareMode,
|
|
@@ -1459,6 +1613,7 @@ export {
|
|
|
1459
1613
|
isErrorResponse,
|
|
1460
1614
|
isGenericQuotaExceededError,
|
|
1461
1615
|
isGitRepository,
|
|
1616
|
+
isInSafeToolAllowlist,
|
|
1462
1617
|
isInvalidArgumentError,
|
|
1463
1618
|
isModifiableDeclarativeTool,
|
|
1464
1619
|
isNodeError,
|
|
@@ -1468,6 +1623,7 @@ export {
|
|
|
1468
1623
|
isProQuotaExceededError,
|
|
1469
1624
|
isQwenQuotaExceededError,
|
|
1470
1625
|
isRateLimitError,
|
|
1626
|
+
isRuntimeDiagnosticsEnabled,
|
|
1471
1627
|
isSchemaDepthError,
|
|
1472
1628
|
isScopedNpmPackage,
|
|
1473
1629
|
isSdkMcpServerConfig,
|
|
@@ -1478,18 +1634,21 @@ export {
|
|
|
1478
1634
|
isSuccessStatus,
|
|
1479
1635
|
isSupportedImageMimeType,
|
|
1480
1636
|
isTelemetrySdkInitialized,
|
|
1637
|
+
isTerminalEditor,
|
|
1481
1638
|
isTerminalStatus,
|
|
1482
1639
|
isTomlFormat,
|
|
1483
1640
|
isTool,
|
|
1484
1641
|
isToolEnabled,
|
|
1485
1642
|
isTransientCapacityError,
|
|
1486
1643
|
isUnattendedMode,
|
|
1644
|
+
isValidEditorType,
|
|
1487
1645
|
isValidNonThoughtTextPart,
|
|
1488
1646
|
isWindows,
|
|
1489
1647
|
isWithinRoot,
|
|
1490
1648
|
judgeGoal,
|
|
1491
1649
|
knownTokenLimit,
|
|
1492
1650
|
layer,
|
|
1651
|
+
loadIgnoreRules,
|
|
1493
1652
|
loadServerHierarchicalMemory,
|
|
1494
1653
|
logApiCancel,
|
|
1495
1654
|
logApiError,
|
|
@@ -1539,9 +1698,12 @@ export {
|
|
|
1539
1698
|
matchesRule,
|
|
1540
1699
|
maybePromptForSettings,
|
|
1541
1700
|
mcpServerRequiresOAuth,
|
|
1701
|
+
mcpTransportOf,
|
|
1542
1702
|
mergeClaudeConfigs,
|
|
1703
|
+
minimaxProvider,
|
|
1543
1704
|
modelProvidersSource,
|
|
1544
1705
|
modelRegistryKey,
|
|
1706
|
+
modelscopeProvider,
|
|
1545
1707
|
modifyWithEditor,
|
|
1546
1708
|
needsConfirmation,
|
|
1547
1709
|
needsUtf8Bom,
|
|
@@ -1549,9 +1711,11 @@ export {
|
|
|
1549
1711
|
normalizeContent,
|
|
1550
1712
|
normalizeMonitorCommand,
|
|
1551
1713
|
normalizeProxyUrl,
|
|
1714
|
+
normalizeSkillPriority,
|
|
1552
1715
|
normalizeStopHookBlockingCap,
|
|
1553
1716
|
notifyGoalTerminal,
|
|
1554
1717
|
openDiff,
|
|
1718
|
+
openRouterProvider,
|
|
1555
1719
|
openaiLogger,
|
|
1556
1720
|
parse,
|
|
1557
1721
|
parseAndFormatApiError,
|
|
@@ -1571,6 +1735,7 @@ export {
|
|
|
1571
1735
|
parseThought,
|
|
1572
1736
|
partListUnionToString,
|
|
1573
1737
|
partToString,
|
|
1738
|
+
passesAcceptEditsFastPath,
|
|
1574
1739
|
performVariableReplacement,
|
|
1575
1740
|
persistPermissionOutcome,
|
|
1576
1741
|
populateMcpServerCommand,
|
|
@@ -1578,6 +1743,7 @@ export {
|
|
|
1578
1743
|
processSingleFileContent,
|
|
1579
1744
|
promptForSetting,
|
|
1580
1745
|
promptIdContext,
|
|
1746
|
+
providerMatchesCredentials,
|
|
1581
1747
|
qwenOAuth2Events,
|
|
1582
1748
|
read,
|
|
1583
1749
|
readAutoMemoryIndex,
|
|
@@ -1590,7 +1756,9 @@ export {
|
|
|
1590
1756
|
readManyFiles,
|
|
1591
1757
|
readPathFromWorkspace,
|
|
1592
1758
|
readRuntimeStatus,
|
|
1759
|
+
readWorktreeSession,
|
|
1593
1760
|
readWorktreeSessionMarker,
|
|
1761
|
+
recordAllow,
|
|
1594
1762
|
recordApiErrorMetrics,
|
|
1595
1763
|
recordApiRequestBreakdown,
|
|
1596
1764
|
recordApiResponseMetrics,
|
|
@@ -1598,9 +1766,11 @@ export {
|
|
|
1598
1766
|
recordArenaSessionEndedMetrics,
|
|
1599
1767
|
recordArenaSessionStartedMetrics,
|
|
1600
1768
|
recordBaselineComparison,
|
|
1769
|
+
recordBlock,
|
|
1601
1770
|
recordContentRetry,
|
|
1602
1771
|
recordContentRetryFailure,
|
|
1603
1772
|
recordCpuUsage,
|
|
1773
|
+
recordFallbackApprove,
|
|
1604
1774
|
recordFileOperationMetric,
|
|
1605
1775
|
recordGoalIteration,
|
|
1606
1776
|
recordInvalidChunk,
|
|
@@ -1617,6 +1787,7 @@ export {
|
|
|
1617
1787
|
recordToolCallMetrics,
|
|
1618
1788
|
recordToolExecutionBreakdown,
|
|
1619
1789
|
recordToolQueueDepth,
|
|
1790
|
+
recordUnavailable,
|
|
1620
1791
|
recursivelyHydrateStrings,
|
|
1621
1792
|
redactProxyCredentials,
|
|
1622
1793
|
redactStructuredOutputArgsForRecording,
|
|
@@ -1624,20 +1795,26 @@ export {
|
|
|
1624
1795
|
registerGoalHook,
|
|
1625
1796
|
removeMCPServerStatus,
|
|
1626
1797
|
removeMCPStatusChangeListener,
|
|
1798
|
+
repairOrphanedToolUseTurns,
|
|
1627
1799
|
replayUiTelemetryFromConversation,
|
|
1628
1800
|
resetDebugLoggingState,
|
|
1801
|
+
resetDenialState,
|
|
1629
1802
|
resetEncodingCache,
|
|
1630
1803
|
resetUtf8BomCache,
|
|
1631
1804
|
resolveAndValidatePath,
|
|
1805
|
+
resolveBaseUrl,
|
|
1632
1806
|
resolveBundleDir,
|
|
1633
1807
|
resolveCommandPath,
|
|
1634
1808
|
resolveContentGeneratorConfigWithSources,
|
|
1635
1809
|
resolveField,
|
|
1636
1810
|
resolveGitDir,
|
|
1811
|
+
resolveMetadataKey,
|
|
1637
1812
|
resolveModelConfig,
|
|
1638
1813
|
resolveModelId,
|
|
1639
1814
|
resolveNpmRegistry,
|
|
1815
|
+
resolveOpenAILogDir,
|
|
1640
1816
|
resolveOptionalField,
|
|
1817
|
+
resolveOwnsModel,
|
|
1641
1818
|
resolvePath,
|
|
1642
1819
|
resolvePathFromEnv,
|
|
1643
1820
|
resolvePathPattern,
|
|
@@ -1645,6 +1822,7 @@ export {
|
|
|
1645
1822
|
resolveStopHookBlockingCap,
|
|
1646
1823
|
resolveTelemetrySettings,
|
|
1647
1824
|
resolveToolName,
|
|
1825
|
+
restoreWorktreeContext,
|
|
1648
1826
|
retryWithBackoff,
|
|
1649
1827
|
rewritePathArgs,
|
|
1650
1828
|
runForkedAgent,
|
|
@@ -1652,6 +1830,8 @@ export {
|
|
|
1652
1830
|
runRipgrep,
|
|
1653
1831
|
runSideQuery,
|
|
1654
1832
|
runWithDebugLogSession,
|
|
1833
|
+
runWithForkedChatModel,
|
|
1834
|
+
runtimeDiagnostics,
|
|
1655
1835
|
safeAgentId,
|
|
1656
1836
|
safeLiteralReplace,
|
|
1657
1837
|
sanitizeCwd,
|
|
@@ -1672,14 +1852,19 @@ export {
|
|
|
1672
1852
|
shortenPath,
|
|
1673
1853
|
shouldAttemptBrowserLaunch,
|
|
1674
1854
|
shouldDefaultToNodePty,
|
|
1855
|
+
shouldFallback,
|
|
1675
1856
|
shouldFilterSuggestion,
|
|
1857
|
+
shouldRunAutoModeForCall,
|
|
1858
|
+
shouldShowStep,
|
|
1676
1859
|
shutdownTelemetry,
|
|
1677
1860
|
splitCommands,
|
|
1678
1861
|
splitCompoundCommand,
|
|
1679
1862
|
splitConditionalSkills,
|
|
1863
|
+
startHookSpan,
|
|
1680
1864
|
startInteractionSpan,
|
|
1681
1865
|
startLLMRequestSpan,
|
|
1682
1866
|
startSpeculation,
|
|
1867
|
+
startToolBlockedOnUserSpan,
|
|
1683
1868
|
startToolExecutionSpan,
|
|
1684
1869
|
startToolSpan,
|
|
1685
1870
|
stringify,
|
|
@@ -1689,14 +1874,18 @@ export {
|
|
|
1689
1874
|
stripTrailingBackgroundAmp,
|
|
1690
1875
|
subagentGenerator,
|
|
1691
1876
|
substituteHookVariables,
|
|
1877
|
+
summarizeAnthropicWireRequest,
|
|
1878
|
+
summarizeOpenAIWireRequest,
|
|
1692
1879
|
summarizeUnifiedDiff,
|
|
1693
1880
|
templateString,
|
|
1694
1881
|
tildeifyPath,
|
|
1695
1882
|
toFriendlyError,
|
|
1696
1883
|
tokenLimit,
|
|
1884
|
+
tokenPlanProvider,
|
|
1697
1885
|
toolMatchesRuleToolName,
|
|
1698
1886
|
truncateContent,
|
|
1699
1887
|
truncateJson,
|
|
1888
|
+
truncateSpanError,
|
|
1700
1889
|
tryGenerateSessionTitle,
|
|
1701
1890
|
uiTelemetryService,
|
|
1702
1891
|
unescapeJsonString,
|
|
@@ -1715,5 +1904,8 @@ export {
|
|
|
1715
1904
|
writeLine,
|
|
1716
1905
|
writeLineSync,
|
|
1717
1906
|
writeRuntimeStatus,
|
|
1718
|
-
|
|
1907
|
+
writeWorkspaceContextFile,
|
|
1908
|
+
writeWorktreeSession,
|
|
1909
|
+
writeWorktreeSessionMarker,
|
|
1910
|
+
zaiProvider
|
|
1719
1911
|
};
|