@qwen-code/qwen-code 0.15.12-preview.3 → 0.16.0-nightly.20260522.48b0a8bfc
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 +59 -61
- 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 +134 -10
- package/bundled/review/SKILL.md +12 -3
- package/chunks/{agent-LIAWUWAO.js → agent-GRCSD6XI.js} +15 -17
- package/chunks/{anthropicContentGenerator-4QE6LTVV.js → anthropicContentGenerator-RQJNXJIY.js} +7 -4
- package/chunks/{askUserQuestion-QFSCBTUO.js → askUserQuestion-PQPMPNM3.js} +2 -2
- package/chunks/{ca-S3XJMT6P.js → ca-UZ7BANMN.js} +3 -3
- package/chunks/{chunk-B7ZL7HUA.js → chunk-4AOCVI6J.js} +2 -1
- package/chunks/{chunk-XLQ4E5PS.js → chunk-4U3O4VDA.js} +800 -142
- package/chunks/{chunk-AEJ2DKLP.js → chunk-C6WMLUNB.js} +1 -1
- package/chunks/{chunk-GC5RXNL2.js → chunk-C7PY32RJ.js} +115 -23
- package/chunks/{chunk-JMZQICAL.js → chunk-CAVZVZX6.js} +2 -2
- package/chunks/{chunk-CAWKL3UC.js → chunk-CSWBPY3P.js} +2 -2
- package/chunks/{chunk-G27O2LD2.js → chunk-D5NTAHYL.js} +1 -1
- package/chunks/{chunk-BXNCPI75.js → chunk-DMIMF3CG.js} +2 -2
- package/chunks/{chunk-OCC4MZRS.js → chunk-F23NCRJ2.js} +1 -1
- package/chunks/{chunk-5QQ5FGTU.js → chunk-G7YTSRES.js} +1 -1
- package/chunks/{chunk-SQNQIOD5.js → chunk-GGNTZ2NH.js} +92 -21
- package/chunks/{chunk-FKVKVE6N.js → chunk-KXZ4TJB4.js} +1 -1
- package/chunks/{chunk-CBVB66WY.js → chunk-L5E26RN6.js} +2 -2
- package/chunks/{chunk-UXW7MYAW.js → chunk-MAY32HXD.js} +376 -1
- package/chunks/{chunk-AJSOD5IR.js → chunk-OZO6R4KI.js} +9167 -3624
- package/chunks/{chunk-CM2IESUE.js → chunk-PR4T27R7.js} +1 -1
- package/chunks/{chunk-FYMSCRHM.js → chunk-PVVL5Q3W.js} +32 -1
- package/chunks/{chunk-AOJ3BBY7.js → chunk-TM4RMEYN.js} +17 -349
- package/chunks/{chunk-YHEAJFCI.js → chunk-USE2VQ5P.js} +3 -0
- package/chunks/chunk-UY2AYRZF.js +19126 -0
- package/chunks/{chunk-GJXIKCKL.js → chunk-XP27SJMH.js} +76 -5
- package/chunks/chunk-XTYIPAUG.js +379 -0
- package/chunks/{chunk-TPGOGCWM.js → chunk-YJLGXDQJ.js} +1 -1
- package/chunks/{contextCommand-SVLAZMQL.js → contextCommand-O2OLCMOG.js} +17 -19
- package/chunks/{cron-create-WUTD5ZTH.js → cron-create-IGYXQVG4.js} +28 -2
- package/chunks/{cron-delete-N3UQYCRA.js → cron-delete-ETKIZCWT.js} +2 -2
- package/chunks/{cron-list-Z6RJJ4YH.js → cron-list-BVCUSWRU.js} +2 -2
- 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-VNAZBIZR.js → edit-NRL5ZYWP.js} +28 -18
- package/chunks/{en-NRN4QBAT.js → en-HGJ2SPLM.js} +5 -3
- package/chunks/{enter-worktree-FOF5YZIV.js → enter-worktree-TLT6EXVN.js} +41 -17
- package/chunks/{exit-worktree-Y6QVAO3C.js → exit-worktree-PE7RZMLE.js} +41 -17
- package/chunks/{exitPlanMode-QZKO7GH7.js → exitPlanMode-JYMKAHYD.js} +15 -17
- package/chunks/{fr-OFJFHLCR.js → fr-CJULI7ZX.js} +3 -3
- package/chunks/{geminiContentGenerator-DYHZPKJX.js → geminiContentGenerator-GYIOVT4A.js} +3 -3
- package/chunks/{glob-G7XATELV.js → glob-T7KIVIWT.js} +15 -17
- package/chunks/{grep-4SETMY47.js → grep-4KI7ZJR5.js} +15 -17
- package/chunks/{ja-V6OQ6VL7.js → ja-L7CHRQEW.js} +3 -3
- package/chunks/{keychain-token-storage-DMFP5IJM.js → keychain-token-storage-335UOLJ6.js} +2 -2
- package/chunks/{ls-SUILOZZB.js → ls-7HD6XG3V.js} +3 -3
- package/chunks/{lsp-6TQBWVMZ.js → lsp-ZZSFCIWD.js} +2 -2
- package/chunks/{monitor-JTLJBJ7H.js → monitor-L5YPPGVO.js} +27 -17
- package/chunks/notebook-edit-HYXLIC3D.js +756 -0
- package/chunks/{openaiContentGenerator-3H7XOZBW.js → openaiContentGenerator-XRP5JM6P.js} +12 -11
- package/chunks/{pt-ZLE6SA4A.js → pt-M6JULLEQ.js} +3 -3
- package/chunks/{qwenContentGenerator-FAU3QPYO.js → qwenContentGenerator-EOX3HZXX.js} +17 -19
- package/chunks/{qwenOAuth2-JSQ7EPR3.js → qwenOAuth2-EEJGROP7.js} +9 -3
- package/chunks/{read-file-WWUQVNCZ.js → read-file-3XOYPTIB.js} +7 -8
- package/chunks/{ripGrep-WCOAIWL6.js → ripGrep-5QUURWGU.js} +15 -17
- package/chunks/{ru-A4OHIUNN.js → ru-QILM4HBC.js} +3 -3
- package/chunks/{send-message-Q2JRAC3J.js → send-message-ULK4MQXJ.js} +23 -2
- package/chunks/{serve-VJEEEXA6.js → serve-AZ44ZNWF.js} +8500 -1663
- package/chunks/{shell-IAOKGIJ6.js → shell-O6OTTSIP.js} +15 -17
- package/chunks/{skill-NHW6222K.js → skill-MUGS3H4M.js} +23 -10
- package/chunks/{src-OWV5HVQQ.js → src-YCQBAYCP.js} +213 -19
- package/chunks/{syntheticOutput-S4DRGMQM.js → syntheticOutput-IS2X5OZ2.js} +3 -3
- package/chunks/{task-stop-7THHVAQS.js → task-stop-7QSJGSSP.js} +2 -2
- package/chunks/{todoWrite-WKUGUTPX.js → todoWrite-7CVACFUX.js} +3 -3
- package/chunks/{tool-search-MSJ6SXLI.js → tool-search-UFDQJOXT.js} +7 -8
- package/chunks/{web-fetch-OZE6ZQUF.js → web-fetch-ENQ2I5JA.js} +7 -4
- package/chunks/{write-file-RKCENFZ5.js → write-file-GBLDDYQT.js} +25 -18
- package/chunks/{zh-RN3JULHO.js → zh-PWL2NKY3.js} +5 -3
- package/chunks/{zh-TW-XZEHEV5S.js → zh-TW-S3YGWICZ.js} +5 -3
- package/cli.js +58094 -75935
- package/locales/ca.js +4 -5
- package/locales/de.js +4 -5
- package/locales/en.js +8 -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 +6 -4
- package/locales/zh.js +6 -4
- package/package.json +2 -2
- package/chunks/chunk-5P5XGNYH.js +0 -93
- 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,9 +247,13 @@ import {
|
|
|
216
247
|
clearGoalTerminalObserver,
|
|
217
248
|
clearRuntimeStatus,
|
|
218
249
|
clearWelcomeBackState,
|
|
250
|
+
clearWorktreeSession,
|
|
219
251
|
cliSource,
|
|
220
252
|
cloneFromGit,
|
|
253
|
+
codingPlanProvider,
|
|
254
|
+
collectMemoryDiagnostics,
|
|
221
255
|
commandExists,
|
|
256
|
+
computeModelListVersion,
|
|
222
257
|
computedSource,
|
|
223
258
|
connectAndDiscover,
|
|
224
259
|
connectToMcpServer,
|
|
@@ -230,19 +265,24 @@ import {
|
|
|
230
265
|
convertTomlToMarkdown,
|
|
231
266
|
copyExtension,
|
|
232
267
|
countLines,
|
|
268
|
+
crawlCache_exports,
|
|
233
269
|
createDefaultAutoMemoryExtractCursor,
|
|
234
270
|
createDefaultAutoMemoryIndex,
|
|
235
271
|
createDefaultAutoMemoryMetadata,
|
|
272
|
+
createDenialState,
|
|
236
273
|
createFollowupController,
|
|
237
274
|
createForkedChat,
|
|
238
275
|
createGoalStopHookCallback,
|
|
239
276
|
createTmpDir,
|
|
240
277
|
createToolUseSummaryMessage,
|
|
241
278
|
createTransport,
|
|
279
|
+
customProvider,
|
|
242
280
|
decodeTagName,
|
|
281
|
+
deepseekProvider,
|
|
243
282
|
defaultSource,
|
|
244
283
|
detectBackend,
|
|
245
284
|
detectCommandSubstitution,
|
|
285
|
+
detectIdeFromEnv,
|
|
246
286
|
detectLineEnding,
|
|
247
287
|
discoverMcpTools,
|
|
248
288
|
discoverPrompts,
|
|
@@ -254,6 +294,7 @@ import {
|
|
|
254
294
|
encodeInsightProgressMessage,
|
|
255
295
|
encodeInsightReadyMessage,
|
|
256
296
|
encodeTagName,
|
|
297
|
+
encodeTextFileContent,
|
|
257
298
|
ensureAutoMemoryScaffold,
|
|
258
299
|
ensureCrlfLineEndings,
|
|
259
300
|
ensureMacBinarySigned,
|
|
@@ -261,6 +302,7 @@ import {
|
|
|
261
302
|
ensureToolResultPairing,
|
|
262
303
|
envLayer,
|
|
263
304
|
escapeShellArg,
|
|
305
|
+
evaluateAutoMode,
|
|
264
306
|
evaluatePermissionFlow,
|
|
265
307
|
evaluatePermissionRules,
|
|
266
308
|
evaluateToolCall,
|
|
@@ -277,6 +319,8 @@ import {
|
|
|
277
319
|
fetchGitDiffHunks,
|
|
278
320
|
filter,
|
|
279
321
|
findGitRoot,
|
|
322
|
+
findProviderByCredentials,
|
|
323
|
+
findProviderById,
|
|
280
324
|
findReleaseAsset,
|
|
281
325
|
fireNotificationHook,
|
|
282
326
|
firePermissionRequestHook,
|
|
@@ -284,16 +328,19 @@ import {
|
|
|
284
328
|
firePostToolUseHook,
|
|
285
329
|
firePreToolUseHook,
|
|
286
330
|
flatMapTextParts,
|
|
331
|
+
formatClassifierBlockMessage,
|
|
287
332
|
formatLineStats,
|
|
288
333
|
formatMemoryUsage,
|
|
289
334
|
formatStopHookBlockingCapWarning,
|
|
290
335
|
generateAgentWorktreeSlug,
|
|
336
|
+
generateCustomEnvKey,
|
|
291
337
|
generatePromptSuggestion,
|
|
292
338
|
generateSessionRecap,
|
|
293
339
|
generateToolUseId,
|
|
294
340
|
generateToolUseSummary,
|
|
295
341
|
getActiveGoal,
|
|
296
342
|
getAllMCPServerStatuses,
|
|
343
|
+
getAllProviderBaseUrls,
|
|
297
344
|
getArenaSystemReminder,
|
|
298
345
|
getBuiltinRipgrep,
|
|
299
346
|
getCacheSafeParams,
|
|
@@ -302,12 +349,15 @@ import {
|
|
|
302
349
|
getCompressionPrompt,
|
|
303
350
|
getCoreSystemPrompt,
|
|
304
351
|
getCustomSystemPrompt,
|
|
352
|
+
getDefaultBaseUrlForProtocol,
|
|
353
|
+
getDefaultModelIds,
|
|
305
354
|
getDiffCommand,
|
|
306
355
|
getDirectoryContextString,
|
|
307
356
|
getEditorExecutable,
|
|
308
357
|
getEnvContents,
|
|
309
358
|
getEnvironmentContext,
|
|
310
359
|
getExtensionId,
|
|
360
|
+
getExternalEditorCommand,
|
|
311
361
|
getFilterReason,
|
|
312
362
|
getFolderStructure,
|
|
313
363
|
getFunctionCalls,
|
|
@@ -330,6 +380,7 @@ import {
|
|
|
330
380
|
getProjectSummaryPrompt,
|
|
331
381
|
getRateLimitErrorDetails,
|
|
332
382
|
getRateLimitRetryDelayMs,
|
|
383
|
+
getRecentGitStatus,
|
|
333
384
|
getResponseText,
|
|
334
385
|
getResponseTextFromParts,
|
|
335
386
|
getResumePromptTokenCount,
|
|
@@ -350,9 +401,11 @@ import {
|
|
|
350
401
|
hashValue,
|
|
351
402
|
hydrateString,
|
|
352
403
|
ideContextStore,
|
|
404
|
+
idealabProvider,
|
|
353
405
|
injectPermissionRulesIfMissing,
|
|
354
406
|
invokeMcpPrompt,
|
|
355
407
|
isApiError,
|
|
408
|
+
isApproveOutcome,
|
|
356
409
|
isAutoEditApproved,
|
|
357
410
|
isBareMode,
|
|
358
411
|
isBinary,
|
|
@@ -364,6 +417,7 @@ import {
|
|
|
364
417
|
isEnabled,
|
|
365
418
|
isGenericQuotaExceededError,
|
|
366
419
|
isGitRepository,
|
|
420
|
+
isInSafeToolAllowlist,
|
|
367
421
|
isInvalidArgumentError,
|
|
368
422
|
isModifiableDeclarativeTool,
|
|
369
423
|
isPathWithinRoot,
|
|
@@ -377,15 +431,18 @@ import {
|
|
|
377
431
|
isSettledStatus,
|
|
378
432
|
isStructuredError,
|
|
379
433
|
isSuccessStatus,
|
|
434
|
+
isTerminalEditor,
|
|
380
435
|
isTerminalStatus,
|
|
381
436
|
isTomlFormat,
|
|
382
437
|
isToolEnabled,
|
|
383
438
|
isTransientCapacityError,
|
|
384
439
|
isUnattendedMode,
|
|
440
|
+
isValidEditorType,
|
|
385
441
|
isValidNonThoughtTextPart,
|
|
386
442
|
isWindows,
|
|
387
443
|
judgeGoal,
|
|
388
444
|
layer,
|
|
445
|
+
loadIgnoreRules,
|
|
389
446
|
loadServerHierarchicalMemory,
|
|
390
447
|
makeFakeConfig,
|
|
391
448
|
matchesCommandPattern,
|
|
@@ -395,17 +452,22 @@ import {
|
|
|
395
452
|
matchesRule,
|
|
396
453
|
maybePromptForSettings,
|
|
397
454
|
mcpServerRequiresOAuth,
|
|
455
|
+
mcpTransportOf,
|
|
398
456
|
mergeClaudeConfigs,
|
|
457
|
+
minimaxProvider,
|
|
399
458
|
modelProvidersSource,
|
|
459
|
+
modelscopeProvider,
|
|
400
460
|
modifyWithEditor,
|
|
401
461
|
needsConfirmation,
|
|
402
462
|
needsUtf8Bom,
|
|
403
463
|
normalizeContent,
|
|
404
464
|
normalizeMonitorCommand,
|
|
405
465
|
normalizeProxyUrl,
|
|
466
|
+
normalizeSkillPriority,
|
|
406
467
|
normalizeStopHookBlockingCap,
|
|
407
468
|
notifyGoalTerminal,
|
|
408
469
|
openDiff,
|
|
470
|
+
openRouterProvider,
|
|
409
471
|
parse,
|
|
410
472
|
parseAndFormatApiError,
|
|
411
473
|
parseDeletedFromNameStatus,
|
|
@@ -422,12 +484,14 @@ import {
|
|
|
422
484
|
parseThought,
|
|
423
485
|
partListUnionToString,
|
|
424
486
|
partToString,
|
|
487
|
+
passesAcceptEditsFastPath,
|
|
425
488
|
performVariableReplacement,
|
|
426
489
|
persistPermissionOutcome,
|
|
427
490
|
populateMcpServerCommand,
|
|
428
491
|
prependToFirstTextPart,
|
|
429
492
|
promptForSetting,
|
|
430
493
|
promptIdContext,
|
|
494
|
+
providerMatchesCredentials,
|
|
431
495
|
read,
|
|
432
496
|
readAutoMemoryIndex,
|
|
433
497
|
readLastJsonStringFieldSync,
|
|
@@ -436,33 +500,45 @@ import {
|
|
|
436
500
|
readManyFiles,
|
|
437
501
|
readPathFromWorkspace,
|
|
438
502
|
readRuntimeStatus,
|
|
503
|
+
readWorktreeSession,
|
|
439
504
|
readWorktreeSessionMarker,
|
|
505
|
+
recordAllow,
|
|
506
|
+
recordBlock,
|
|
507
|
+
recordFallbackApprove,
|
|
440
508
|
recordGoalIteration,
|
|
441
509
|
recordStartupEvent,
|
|
510
|
+
recordUnavailable,
|
|
442
511
|
recursivelyHydrateStrings,
|
|
443
512
|
redactStructuredOutputArgsForRecording,
|
|
444
513
|
registerGoalHook,
|
|
445
514
|
removeMCPServerStatus,
|
|
446
515
|
removeMCPStatusChangeListener,
|
|
516
|
+
repairOrphanedToolUseTurns,
|
|
447
517
|
replayUiTelemetryFromConversation,
|
|
518
|
+
resetDenialState,
|
|
448
519
|
resetUtf8BomCache,
|
|
520
|
+
resolveBaseUrl,
|
|
449
521
|
resolveBundleDir,
|
|
450
522
|
resolveCommandPath,
|
|
451
523
|
resolveField,
|
|
452
524
|
resolveGitDir,
|
|
525
|
+
resolveMetadataKey,
|
|
453
526
|
resolveModelConfig,
|
|
454
527
|
resolveModelId,
|
|
455
528
|
resolveNpmRegistry,
|
|
456
529
|
resolveOptionalField,
|
|
530
|
+
resolveOwnsModel,
|
|
457
531
|
resolvePathFromEnv,
|
|
458
532
|
resolvePathPattern,
|
|
459
533
|
resolveRipgrep,
|
|
460
534
|
resolveStopHookBlockingCap,
|
|
461
535
|
resolveToolName,
|
|
536
|
+
restoreWorktreeContext,
|
|
462
537
|
retryWithBackoff,
|
|
463
538
|
rewritePathArgs,
|
|
464
539
|
runForkedAgent,
|
|
465
540
|
runRipgrep,
|
|
541
|
+
runWithForkedChatModel,
|
|
466
542
|
safeAgentId,
|
|
467
543
|
safeLiteralReplace,
|
|
468
544
|
sanitizeTitle,
|
|
@@ -478,7 +554,10 @@ import {
|
|
|
478
554
|
settingsSource,
|
|
479
555
|
shouldAttemptBrowserLaunch,
|
|
480
556
|
shouldDefaultToNodePty,
|
|
557
|
+
shouldFallback,
|
|
481
558
|
shouldFilterSuggestion,
|
|
559
|
+
shouldRunAutoModeForCall,
|
|
560
|
+
shouldShowStep,
|
|
482
561
|
splitCommands,
|
|
483
562
|
splitCompoundCommand,
|
|
484
563
|
splitConditionalSkills,
|
|
@@ -492,6 +571,7 @@ import {
|
|
|
492
571
|
substituteHookVariables,
|
|
493
572
|
summarizeUnifiedDiff,
|
|
494
573
|
templateString,
|
|
574
|
+
tokenPlanProvider,
|
|
495
575
|
toolMatchesRuleToolName,
|
|
496
576
|
truncateJson,
|
|
497
577
|
tryGenerateSessionTitle,
|
|
@@ -506,9 +586,11 @@ import {
|
|
|
506
586
|
writeLine,
|
|
507
587
|
writeLineSync,
|
|
508
588
|
writeRuntimeStatus,
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
589
|
+
writeWorkspaceContextFile,
|
|
590
|
+
writeWorktreeSession,
|
|
591
|
+
writeWorktreeSessionMarker,
|
|
592
|
+
zaiProvider
|
|
593
|
+
} from "./chunk-OZO6R4KI.js";
|
|
512
594
|
import "./chunk-K5PGHDBN.js";
|
|
513
595
|
import "./chunk-O4PICXES.js";
|
|
514
596
|
import "./chunk-TW522KN6.js";
|
|
@@ -518,10 +600,10 @@ import {
|
|
|
518
600
|
} from "./chunk-MLZQVCF3.js";
|
|
519
601
|
import {
|
|
520
602
|
runSideQuery
|
|
521
|
-
} from "./chunk-
|
|
603
|
+
} from "./chunk-CAVZVZX6.js";
|
|
522
604
|
import {
|
|
523
605
|
buildSkillLlmContent
|
|
524
|
-
} from "./chunk-
|
|
606
|
+
} from "./chunk-G7YTSRES.js";
|
|
525
607
|
import {
|
|
526
608
|
AgentType,
|
|
527
609
|
DefaultHookOutput,
|
|
@@ -544,14 +626,14 @@ import {
|
|
|
544
626
|
createHookOutput,
|
|
545
627
|
detectTodoChanges,
|
|
546
628
|
getHookKey
|
|
547
|
-
} from "./chunk-
|
|
629
|
+
} from "./chunk-4AOCVI6J.js";
|
|
548
630
|
import {
|
|
549
631
|
DEFAULT_FILE_FILTERING_OPTIONS,
|
|
550
632
|
DEFAULT_MEMORY_FILE_FILTERING_OPTIONS
|
|
551
633
|
} from "./chunk-77WXWU44.js";
|
|
552
634
|
import {
|
|
553
635
|
KeychainTokenStorage
|
|
554
|
-
} from "./chunk-
|
|
636
|
+
} from "./chunk-F23NCRJ2.js";
|
|
555
637
|
import {
|
|
556
638
|
SUPPORTED_IMAGE_MIME_TYPES,
|
|
557
639
|
TextTokenizer,
|
|
@@ -561,7 +643,7 @@ import {
|
|
|
561
643
|
getUnsupportedImageFormatWarning,
|
|
562
644
|
isSupportedImageMimeType,
|
|
563
645
|
redactProxyCredentials
|
|
564
|
-
} from "./chunk-
|
|
646
|
+
} from "./chunk-CSWBPY3P.js";
|
|
565
647
|
import {
|
|
566
648
|
AGENT_CONTEXT_FILENAME,
|
|
567
649
|
ApiCancelEvent,
|
|
@@ -641,12 +723,15 @@ import {
|
|
|
641
723
|
countFileLines,
|
|
642
724
|
createContentGenerator,
|
|
643
725
|
createContentGeneratorConfig,
|
|
726
|
+
decodeBufferWithEncodingInfo,
|
|
644
727
|
detectBOM,
|
|
645
728
|
detectEncodingFromBuffer,
|
|
646
729
|
detectFileEncoding,
|
|
647
730
|
detectFileType,
|
|
731
|
+
endHookSpan,
|
|
648
732
|
endInteractionSpan,
|
|
649
733
|
endLLMRequestSpan,
|
|
734
|
+
endToolBlockedOnUserSpan,
|
|
650
735
|
endToolExecutionSpan,
|
|
651
736
|
endToolSpan,
|
|
652
737
|
extractExtensionsFromPatterns,
|
|
@@ -737,21 +822,24 @@ import {
|
|
|
737
822
|
refreshSessionContext,
|
|
738
823
|
resetEncodingCache,
|
|
739
824
|
resolveContentGeneratorConfigWithSources,
|
|
825
|
+
resolveOpenAILogDir,
|
|
740
826
|
resolveTelemetrySettings,
|
|
741
827
|
runInToolSpanContext,
|
|
742
828
|
sanitizeHookName,
|
|
743
829
|
setGeminiMdFilename,
|
|
744
830
|
shutdownTelemetry,
|
|
831
|
+
startHookSpan,
|
|
745
832
|
startInteractionSpan,
|
|
746
833
|
startLLMRequestSpan,
|
|
834
|
+
startToolBlockedOnUserSpan,
|
|
747
835
|
startToolExecutionSpan,
|
|
748
836
|
startToolSpan,
|
|
749
837
|
truncateContent,
|
|
838
|
+
truncateSpanError,
|
|
750
839
|
uiTelemetryService,
|
|
751
840
|
validateModelConfig,
|
|
752
841
|
windowsCodePageToEncoding
|
|
753
|
-
} from "./chunk-
|
|
754
|
-
import "./chunk-SYCJMSIJ.js";
|
|
842
|
+
} from "./chunk-4U3O4VDA.js";
|
|
755
843
|
import "./chunk-UWCTAVOD.js";
|
|
756
844
|
import {
|
|
757
845
|
DEFAULT_QWEN_EMBEDDING_MODEL,
|
|
@@ -777,21 +865,26 @@ import {
|
|
|
777
865
|
getAutoMemoryTopicPath,
|
|
778
866
|
getMemoryBaseDir,
|
|
779
867
|
isAutoMemPath
|
|
780
|
-
} from "./chunk-
|
|
868
|
+
} from "./chunk-PR4T27R7.js";
|
|
781
869
|
import {
|
|
782
870
|
CAPPED_DEFAULT_MAX_TOKENS,
|
|
783
871
|
DEFAULT_OUTPUT_TOKEN_LIMIT,
|
|
784
872
|
DEFAULT_TOKEN_LIMIT,
|
|
785
873
|
ESCALATED_MAX_TOKENS,
|
|
874
|
+
RuntimeDiagnosticsCollector,
|
|
786
875
|
hasExplicitOutputLimit,
|
|
876
|
+
isRuntimeDiagnosticsEnabled,
|
|
787
877
|
knownTokenLimit,
|
|
788
878
|
normalize,
|
|
879
|
+
runtimeDiagnostics,
|
|
880
|
+
summarizeAnthropicWireRequest,
|
|
881
|
+
summarizeOpenAIWireRequest,
|
|
789
882
|
tokenLimit
|
|
790
|
-
} from "./chunk-
|
|
791
|
-
import "./chunk-
|
|
883
|
+
} from "./chunk-MAY32HXD.js";
|
|
884
|
+
import "./chunk-D5NTAHYL.js";
|
|
792
885
|
import "./chunk-T4VD6OJ4.js";
|
|
793
886
|
import "./chunk-RDYWTWEM.js";
|
|
794
|
-
import "./chunk-
|
|
887
|
+
import "./chunk-YJLGXDQJ.js";
|
|
795
888
|
import {
|
|
796
889
|
AgentStatistics,
|
|
797
890
|
BaseDeclarativeTool,
|
|
@@ -809,11 +902,14 @@ import {
|
|
|
809
902
|
ToolNamesMigration,
|
|
810
903
|
hasCycleInSchema,
|
|
811
904
|
isTool
|
|
812
|
-
} from "./chunk-
|
|
905
|
+
} from "./chunk-PVVL5Q3W.js";
|
|
813
906
|
import {
|
|
814
907
|
CredentialsClearRequiredError,
|
|
908
|
+
QWEN_CREDENTIAL_FILE_MODE,
|
|
815
909
|
QwenOAuth2Client,
|
|
816
910
|
QwenOAuth2Event,
|
|
911
|
+
QwenOAuthPollError,
|
|
912
|
+
cacheQwenCredentials,
|
|
817
913
|
clearCachedCredentialFile,
|
|
818
914
|
clearQwenCredentials,
|
|
819
915
|
generateCodeChallenge,
|
|
@@ -825,8 +921,8 @@ import {
|
|
|
825
921
|
isDeviceTokenSuccess,
|
|
826
922
|
isErrorResponse,
|
|
827
923
|
qwenOAuth2Events
|
|
828
|
-
} from "./chunk-
|
|
829
|
-
import "./chunk-
|
|
924
|
+
} from "./chunk-GGNTZ2NH.js";
|
|
925
|
+
import "./chunk-KXZ4TJB4.js";
|
|
830
926
|
import {
|
|
831
927
|
BadRequestError,
|
|
832
928
|
FatalAuthenticationError,
|
|
@@ -870,7 +966,7 @@ import {
|
|
|
870
966
|
unescapePath,
|
|
871
967
|
updateSymlink,
|
|
872
968
|
validatePath
|
|
873
|
-
} from "./chunk-
|
|
969
|
+
} from "./chunk-XP27SJMH.js";
|
|
874
970
|
import "./chunk-E7E2MFYM.js";
|
|
875
971
|
import "./chunk-ZERZSAZL.js";
|
|
876
972
|
import "./chunk-QN5NZ3UQ.js";
|
|
@@ -886,6 +982,8 @@ export {
|
|
|
886
982
|
AGENT_WORKTREE_HEX_LENGTH,
|
|
887
983
|
AGENT_WORKTREE_PREFIX,
|
|
888
984
|
AGENT_WORKTREE_SLUG_PATTERN,
|
|
985
|
+
ALIBABA_PROVIDERS,
|
|
986
|
+
ALL_PROVIDERS,
|
|
889
987
|
APPROVAL_MODES,
|
|
890
988
|
APPROVAL_MODE_INFO,
|
|
891
989
|
ARENA_MAX_AGENTS,
|
|
@@ -896,6 +994,7 @@ export {
|
|
|
896
994
|
AUTO_MEMORY_METADATA_FILENAME,
|
|
897
995
|
AUTO_MEMORY_SCHEMA_VERSION,
|
|
898
996
|
AUTO_MEMORY_TYPES,
|
|
997
|
+
AUTO_MODE_DENIAL_LIMITS,
|
|
899
998
|
AUTO_SKILL_THRESHOLD,
|
|
900
999
|
AbortError,
|
|
901
1000
|
AgentCore,
|
|
@@ -932,12 +1031,17 @@ export {
|
|
|
932
1031
|
BadRequestError,
|
|
933
1032
|
BaseDeclarativeTool,
|
|
934
1033
|
BaseToolInvocation,
|
|
1034
|
+
BudgetExhaustedError,
|
|
935
1035
|
BuiltinAgentRegistry,
|
|
936
1036
|
CAPPED_DEFAULT_MAX_TOKENS,
|
|
937
1037
|
CODE_ACTION_KIND_LABELS,
|
|
1038
|
+
CODING_PLAN_CHINA_BASE_URL,
|
|
1039
|
+
CODING_PLAN_ENV_KEY,
|
|
1040
|
+
CODING_PLAN_GLOBAL_BASE_URL,
|
|
938
1041
|
COMMON_DIRECTORY_EXCLUDES,
|
|
939
1042
|
COMMON_IGNORE_PATTERNS,
|
|
940
1043
|
CONCURRENCY_SAFE_KINDS,
|
|
1044
|
+
CUSTOM_API_KEY_ENV_PREFIX,
|
|
941
1045
|
ChatRecordingService,
|
|
942
1046
|
CloseDiffRequestSchema,
|
|
943
1047
|
ColorMode,
|
|
@@ -1055,6 +1159,7 @@ export {
|
|
|
1055
1159
|
IdeDiffAcceptedNotificationSchema,
|
|
1056
1160
|
IdeDiffClosedNotificationSchema,
|
|
1057
1161
|
IdeDiffRejectedNotificationSchema,
|
|
1162
|
+
Ignore,
|
|
1058
1163
|
InProcessBackend,
|
|
1059
1164
|
InputFormat,
|
|
1060
1165
|
InvalidStreamError,
|
|
@@ -1080,11 +1185,14 @@ export {
|
|
|
1080
1185
|
MAX_RETAINED_TERMINAL_AGENTS,
|
|
1081
1186
|
MAX_RETAINED_TERMINAL_MONITORS,
|
|
1082
1187
|
MAX_RETAINED_TERMINAL_SHELLS,
|
|
1188
|
+
MAX_TRANSCRIPT_MESSAGES,
|
|
1083
1189
|
MCPDiscoveryState,
|
|
1084
1190
|
MCPOAuthProvider,
|
|
1085
1191
|
MCPOAuthTokenStorage,
|
|
1086
1192
|
MCPServerConfig,
|
|
1087
1193
|
MCPServerStatus,
|
|
1194
|
+
MCP_BUDGET_REARM_FRACTION,
|
|
1195
|
+
MCP_BUDGET_WARN_FRACTION,
|
|
1088
1196
|
MCP_DEFAULT_TIMEOUT_MSEC,
|
|
1089
1197
|
MEDIA_FILE_PATTERNS,
|
|
1090
1198
|
MEMORY_SECTION_HEADER,
|
|
@@ -1116,11 +1224,14 @@ export {
|
|
|
1116
1224
|
OAUTH_AUTH_URL_EVENT,
|
|
1117
1225
|
OAUTH_DISPLAY_MESSAGE_EVENT,
|
|
1118
1226
|
OAuthUtils,
|
|
1227
|
+
OPENROUTER_BASE_URL,
|
|
1228
|
+
OPENROUTER_ENV_KEY,
|
|
1119
1229
|
OpenAILogger,
|
|
1120
1230
|
OpenDiffRequestSchema,
|
|
1121
1231
|
OutputFormat,
|
|
1122
1232
|
OverlayFs,
|
|
1123
1233
|
PATH_ARG_KEYS,
|
|
1234
|
+
PROVIDER_METADATA_NS,
|
|
1124
1235
|
PYTHON_EXCLUDES,
|
|
1125
1236
|
PerformanceMetricType,
|
|
1126
1237
|
PermissionManager,
|
|
@@ -1132,17 +1243,22 @@ export {
|
|
|
1132
1243
|
PreCompactTrigger,
|
|
1133
1244
|
PreToolUseHookOutput,
|
|
1134
1245
|
PromptSuggestionEvent,
|
|
1246
|
+
ProviderInstallError,
|
|
1135
1247
|
QWEN_CODE_COMPANION_EXTENSION_NAME,
|
|
1136
1248
|
QWEN_CODE_SIMPLE_ENV_VAR,
|
|
1249
|
+
QWEN_CREDENTIAL_FILE_MODE,
|
|
1137
1250
|
QWEN_DIR,
|
|
1138
1251
|
QWEN_OAUTH_MODELS,
|
|
1139
1252
|
QwenLogger,
|
|
1140
1253
|
QwenOAuth2Client,
|
|
1141
1254
|
QwenOAuth2Event,
|
|
1255
|
+
QwenOAuthPollError,
|
|
1142
1256
|
RUNTIME_STATUS_SCHEMA_VERSION,
|
|
1143
1257
|
ReadFileTool,
|
|
1144
1258
|
RipGrepTool,
|
|
1145
1259
|
RipgrepFallbackEvent,
|
|
1260
|
+
RuntimeDiagnosticsCollector,
|
|
1261
|
+
SAFE_TOOL_ALLOWLIST,
|
|
1146
1262
|
SESSION_TITLE_MAX_LENGTH,
|
|
1147
1263
|
SHELL_SPECIAL_CHARS,
|
|
1148
1264
|
SHELL_TOOL_NAMES,
|
|
@@ -1175,12 +1291,16 @@ export {
|
|
|
1175
1291
|
Storage,
|
|
1176
1292
|
StreamEventType,
|
|
1177
1293
|
SubagentError,
|
|
1294
|
+
SubagentErrorCode,
|
|
1178
1295
|
SubagentManager,
|
|
1179
1296
|
SubagentValidator,
|
|
1180
1297
|
TERMINAL_CSI_REGEX,
|
|
1181
1298
|
TERMINAL_OSC_REGEX,
|
|
1182
1299
|
TERMINAL_SHIFT_DCS_REGEX,
|
|
1183
1300
|
TEST_ONLY,
|
|
1301
|
+
THIRD_PARTY_PROVIDERS,
|
|
1302
|
+
TOKEN_PLAN_BASE_URL,
|
|
1303
|
+
TOKEN_PLAN_ENV_KEY,
|
|
1184
1304
|
TOOL_NAME_ALIASES,
|
|
1185
1305
|
TOOL_USE_SUMMARY_SYSTEM_PROMPT,
|
|
1186
1306
|
TelemetryTarget,
|
|
@@ -1196,6 +1316,7 @@ export {
|
|
|
1196
1316
|
ToolNamesMigration,
|
|
1197
1317
|
ToolOutputTruncatedEvent,
|
|
1198
1318
|
ToolRegistry,
|
|
1319
|
+
TrustGateError,
|
|
1199
1320
|
Turn,
|
|
1200
1321
|
UiTelemetryService,
|
|
1201
1322
|
UnauthorizedError,
|
|
@@ -1208,6 +1329,8 @@ export {
|
|
|
1208
1329
|
WORKTREE_BRANCH_PREFIX,
|
|
1209
1330
|
WORKTREE_SESSION_FILE,
|
|
1210
1331
|
WorkspaceContext,
|
|
1332
|
+
WorkspaceMemoryFileTooLargeError,
|
|
1333
|
+
WorkspaceMemoryWriteTimeoutError,
|
|
1211
1334
|
__resetActiveGoalStoreForTests,
|
|
1212
1335
|
_recoverObjectsFromLine,
|
|
1213
1336
|
_resetCachedIdeServerHost,
|
|
@@ -1217,6 +1340,7 @@ export {
|
|
|
1217
1340
|
abortGoalForStopHookCap,
|
|
1218
1341
|
abortSpeculation,
|
|
1219
1342
|
acceptSpeculation,
|
|
1343
|
+
activeGoalEquals,
|
|
1220
1344
|
addMCPStatusChangeListener,
|
|
1221
1345
|
addModelOutputAttributes,
|
|
1222
1346
|
addSystemPromptAttributes,
|
|
@@ -1224,16 +1348,23 @@ export {
|
|
|
1224
1348
|
addToolResultAttributes,
|
|
1225
1349
|
addToolSchemaAttributes,
|
|
1226
1350
|
addUserPromptAttributes,
|
|
1351
|
+
alibabaStandardProvider,
|
|
1227
1352
|
allowEditorTypeInSandbox,
|
|
1228
1353
|
appendToLastTextPart,
|
|
1354
|
+
applyAutoModeDecision,
|
|
1355
|
+
applyProviderInstallPlan,
|
|
1229
1356
|
buildApiHistoryFromConversation,
|
|
1230
1357
|
buildBackgroundEntryLabel,
|
|
1231
1358
|
buildDeferredToolsSection,
|
|
1232
1359
|
buildFallbackApproachSummary,
|
|
1233
1360
|
buildHumanReadableRuleLabel,
|
|
1361
|
+
buildInstallPlan,
|
|
1362
|
+
buildModelIdContext,
|
|
1234
1363
|
buildPermissionCheckContext,
|
|
1235
1364
|
buildPermissionRules,
|
|
1365
|
+
buildProviderTemplate,
|
|
1236
1366
|
buildSkillLlmContent,
|
|
1367
|
+
cacheQwenCredentials,
|
|
1237
1368
|
canUseRipgrep,
|
|
1238
1369
|
checkArgumentSafety,
|
|
1239
1370
|
checkCommandPermissions,
|
|
@@ -1250,9 +1381,13 @@ export {
|
|
|
1250
1381
|
clearQwenCredentials,
|
|
1251
1382
|
clearRuntimeStatus,
|
|
1252
1383
|
clearWelcomeBackState,
|
|
1384
|
+
clearWorktreeSession,
|
|
1253
1385
|
cliSource,
|
|
1254
1386
|
cloneFromGit,
|
|
1387
|
+
codingPlanProvider,
|
|
1388
|
+
collectMemoryDiagnostics,
|
|
1255
1389
|
commandExists,
|
|
1390
|
+
computeModelListVersion,
|
|
1256
1391
|
computedSource,
|
|
1257
1392
|
connectAndDiscover,
|
|
1258
1393
|
connectToMcpServer,
|
|
@@ -1265,12 +1400,14 @@ export {
|
|
|
1265
1400
|
copyExtension,
|
|
1266
1401
|
countFileLines,
|
|
1267
1402
|
countLines,
|
|
1403
|
+
crawlCache_exports as crawlCache,
|
|
1268
1404
|
createContentGenerator,
|
|
1269
1405
|
createContentGeneratorConfig,
|
|
1270
1406
|
createDebugLogger,
|
|
1271
1407
|
createDefaultAutoMemoryExtractCursor,
|
|
1272
1408
|
createDefaultAutoMemoryIndex,
|
|
1273
1409
|
createDefaultAutoMemoryMetadata,
|
|
1410
|
+
createDenialState,
|
|
1274
1411
|
createFollowupController,
|
|
1275
1412
|
createForkedChat,
|
|
1276
1413
|
createGoalStopHookCallback,
|
|
@@ -1278,7 +1415,10 @@ export {
|
|
|
1278
1415
|
createTmpDir,
|
|
1279
1416
|
createToolUseSummaryMessage,
|
|
1280
1417
|
createTransport,
|
|
1418
|
+
customProvider,
|
|
1419
|
+
decodeBufferWithEncodingInfo,
|
|
1281
1420
|
decodeTagName,
|
|
1421
|
+
deepseekProvider,
|
|
1282
1422
|
defaultSource,
|
|
1283
1423
|
detectBOM,
|
|
1284
1424
|
detectBackend,
|
|
@@ -1286,6 +1426,7 @@ export {
|
|
|
1286
1426
|
detectEncodingFromBuffer,
|
|
1287
1427
|
detectFileEncoding,
|
|
1288
1428
|
detectFileType,
|
|
1429
|
+
detectIdeFromEnv,
|
|
1289
1430
|
detectLineEnding,
|
|
1290
1431
|
detectRuntime,
|
|
1291
1432
|
detectTodoChanges,
|
|
@@ -1299,8 +1440,11 @@ export {
|
|
|
1299
1440
|
encodeInsightProgressMessage,
|
|
1300
1441
|
encodeInsightReadyMessage,
|
|
1301
1442
|
encodeTagName,
|
|
1443
|
+
encodeTextFileContent,
|
|
1444
|
+
endHookSpan,
|
|
1302
1445
|
endInteractionSpan,
|
|
1303
1446
|
endLLMRequestSpan,
|
|
1447
|
+
endToolBlockedOnUserSpan,
|
|
1304
1448
|
endToolExecutionSpan,
|
|
1305
1449
|
endToolSpan,
|
|
1306
1450
|
ensureAutoMemoryScaffold,
|
|
@@ -1311,6 +1455,7 @@ export {
|
|
|
1311
1455
|
envLayer,
|
|
1312
1456
|
escapePath,
|
|
1313
1457
|
escapeShellArg,
|
|
1458
|
+
evaluateAutoMode,
|
|
1314
1459
|
evaluatePermissionFlow,
|
|
1315
1460
|
evaluatePermissionRules,
|
|
1316
1461
|
evaluateToolCall,
|
|
@@ -1330,6 +1475,8 @@ export {
|
|
|
1330
1475
|
fileExists,
|
|
1331
1476
|
filter,
|
|
1332
1477
|
findGitRoot,
|
|
1478
|
+
findProviderByCredentials,
|
|
1479
|
+
findProviderById,
|
|
1333
1480
|
findReleaseAsset,
|
|
1334
1481
|
fireNotificationHook,
|
|
1335
1482
|
firePermissionRequestHook,
|
|
@@ -1337,12 +1484,14 @@ export {
|
|
|
1337
1484
|
firePostToolUseHook,
|
|
1338
1485
|
firePreToolUseHook,
|
|
1339
1486
|
flatMapTextParts,
|
|
1487
|
+
formatClassifierBlockMessage,
|
|
1340
1488
|
formatLineStats,
|
|
1341
1489
|
formatMemoryUsage,
|
|
1342
1490
|
formatStopHookBlockingCapWarning,
|
|
1343
1491
|
generateAgentWorktreeSlug,
|
|
1344
1492
|
generateCodeChallenge,
|
|
1345
1493
|
generateCodeVerifier,
|
|
1494
|
+
generateCustomEnvKey,
|
|
1346
1495
|
generatePKCEPair,
|
|
1347
1496
|
generatePromptSuggestion,
|
|
1348
1497
|
generateSessionRecap,
|
|
@@ -1353,6 +1502,7 @@ export {
|
|
|
1353
1502
|
getActiveInteractionSpan,
|
|
1354
1503
|
getAllGeminiMdFilenames,
|
|
1355
1504
|
getAllMCPServerStatuses,
|
|
1505
|
+
getAllProviderBaseUrls,
|
|
1356
1506
|
getArenaSystemReminder,
|
|
1357
1507
|
getAutoMemoryConsolidationLockPath,
|
|
1358
1508
|
getAutoMemoryExtractCursorPath,
|
|
@@ -1372,6 +1522,8 @@ export {
|
|
|
1372
1522
|
getCoreSystemPrompt,
|
|
1373
1523
|
getCurrentGeminiMdFilename,
|
|
1374
1524
|
getCustomSystemPrompt,
|
|
1525
|
+
getDefaultBaseUrlForProtocol,
|
|
1526
|
+
getDefaultModelIds,
|
|
1375
1527
|
getDiffCommand,
|
|
1376
1528
|
getDirectoryContextString,
|
|
1377
1529
|
getEditorExecutable,
|
|
@@ -1381,6 +1533,7 @@ export {
|
|
|
1381
1533
|
getErrorStatus,
|
|
1382
1534
|
getErrorType,
|
|
1383
1535
|
getExtensionId,
|
|
1536
|
+
getExternalEditorCommand,
|
|
1384
1537
|
getFilterReason,
|
|
1385
1538
|
getFolderStructure,
|
|
1386
1539
|
getFunctionCalls,
|
|
@@ -1408,6 +1561,7 @@ export {
|
|
|
1408
1561
|
getQwenOAuthClient,
|
|
1409
1562
|
getRateLimitErrorDetails,
|
|
1410
1563
|
getRateLimitRetryDelayMs,
|
|
1564
|
+
getRecentGitStatus,
|
|
1411
1565
|
getResponseText,
|
|
1412
1566
|
getResponseTextFromParts,
|
|
1413
1567
|
getResumePromptTokenCount,
|
|
@@ -1434,11 +1588,13 @@ export {
|
|
|
1434
1588
|
hashValue,
|
|
1435
1589
|
hydrateString,
|
|
1436
1590
|
ideContextStore,
|
|
1591
|
+
idealabProvider,
|
|
1437
1592
|
initializeTelemetry,
|
|
1438
1593
|
injectPermissionRulesIfMissing,
|
|
1439
1594
|
invokeMcpPrompt,
|
|
1440
1595
|
isAbortError,
|
|
1441
1596
|
isApiError,
|
|
1597
|
+
isApproveOutcome,
|
|
1442
1598
|
isAutoEditApproved,
|
|
1443
1599
|
isAutoMemPath,
|
|
1444
1600
|
isBareMode,
|
|
@@ -1457,6 +1613,7 @@ export {
|
|
|
1457
1613
|
isErrorResponse,
|
|
1458
1614
|
isGenericQuotaExceededError,
|
|
1459
1615
|
isGitRepository,
|
|
1616
|
+
isInSafeToolAllowlist,
|
|
1460
1617
|
isInvalidArgumentError,
|
|
1461
1618
|
isModifiableDeclarativeTool,
|
|
1462
1619
|
isNodeError,
|
|
@@ -1466,6 +1623,7 @@ export {
|
|
|
1466
1623
|
isProQuotaExceededError,
|
|
1467
1624
|
isQwenQuotaExceededError,
|
|
1468
1625
|
isRateLimitError,
|
|
1626
|
+
isRuntimeDiagnosticsEnabled,
|
|
1469
1627
|
isSchemaDepthError,
|
|
1470
1628
|
isScopedNpmPackage,
|
|
1471
1629
|
isSdkMcpServerConfig,
|
|
@@ -1476,18 +1634,21 @@ export {
|
|
|
1476
1634
|
isSuccessStatus,
|
|
1477
1635
|
isSupportedImageMimeType,
|
|
1478
1636
|
isTelemetrySdkInitialized,
|
|
1637
|
+
isTerminalEditor,
|
|
1479
1638
|
isTerminalStatus,
|
|
1480
1639
|
isTomlFormat,
|
|
1481
1640
|
isTool,
|
|
1482
1641
|
isToolEnabled,
|
|
1483
1642
|
isTransientCapacityError,
|
|
1484
1643
|
isUnattendedMode,
|
|
1644
|
+
isValidEditorType,
|
|
1485
1645
|
isValidNonThoughtTextPart,
|
|
1486
1646
|
isWindows,
|
|
1487
1647
|
isWithinRoot,
|
|
1488
1648
|
judgeGoal,
|
|
1489
1649
|
knownTokenLimit,
|
|
1490
1650
|
layer,
|
|
1651
|
+
loadIgnoreRules,
|
|
1491
1652
|
loadServerHierarchicalMemory,
|
|
1492
1653
|
logApiCancel,
|
|
1493
1654
|
logApiError,
|
|
@@ -1537,9 +1698,12 @@ export {
|
|
|
1537
1698
|
matchesRule,
|
|
1538
1699
|
maybePromptForSettings,
|
|
1539
1700
|
mcpServerRequiresOAuth,
|
|
1701
|
+
mcpTransportOf,
|
|
1540
1702
|
mergeClaudeConfigs,
|
|
1703
|
+
minimaxProvider,
|
|
1541
1704
|
modelProvidersSource,
|
|
1542
1705
|
modelRegistryKey,
|
|
1706
|
+
modelscopeProvider,
|
|
1543
1707
|
modifyWithEditor,
|
|
1544
1708
|
needsConfirmation,
|
|
1545
1709
|
needsUtf8Bom,
|
|
@@ -1547,9 +1711,11 @@ export {
|
|
|
1547
1711
|
normalizeContent,
|
|
1548
1712
|
normalizeMonitorCommand,
|
|
1549
1713
|
normalizeProxyUrl,
|
|
1714
|
+
normalizeSkillPriority,
|
|
1550
1715
|
normalizeStopHookBlockingCap,
|
|
1551
1716
|
notifyGoalTerminal,
|
|
1552
1717
|
openDiff,
|
|
1718
|
+
openRouterProvider,
|
|
1553
1719
|
openaiLogger,
|
|
1554
1720
|
parse,
|
|
1555
1721
|
parseAndFormatApiError,
|
|
@@ -1569,6 +1735,7 @@ export {
|
|
|
1569
1735
|
parseThought,
|
|
1570
1736
|
partListUnionToString,
|
|
1571
1737
|
partToString,
|
|
1738
|
+
passesAcceptEditsFastPath,
|
|
1572
1739
|
performVariableReplacement,
|
|
1573
1740
|
persistPermissionOutcome,
|
|
1574
1741
|
populateMcpServerCommand,
|
|
@@ -1576,6 +1743,7 @@ export {
|
|
|
1576
1743
|
processSingleFileContent,
|
|
1577
1744
|
promptForSetting,
|
|
1578
1745
|
promptIdContext,
|
|
1746
|
+
providerMatchesCredentials,
|
|
1579
1747
|
qwenOAuth2Events,
|
|
1580
1748
|
read,
|
|
1581
1749
|
readAutoMemoryIndex,
|
|
@@ -1588,7 +1756,9 @@ export {
|
|
|
1588
1756
|
readManyFiles,
|
|
1589
1757
|
readPathFromWorkspace,
|
|
1590
1758
|
readRuntimeStatus,
|
|
1759
|
+
readWorktreeSession,
|
|
1591
1760
|
readWorktreeSessionMarker,
|
|
1761
|
+
recordAllow,
|
|
1592
1762
|
recordApiErrorMetrics,
|
|
1593
1763
|
recordApiRequestBreakdown,
|
|
1594
1764
|
recordApiResponseMetrics,
|
|
@@ -1596,9 +1766,11 @@ export {
|
|
|
1596
1766
|
recordArenaSessionEndedMetrics,
|
|
1597
1767
|
recordArenaSessionStartedMetrics,
|
|
1598
1768
|
recordBaselineComparison,
|
|
1769
|
+
recordBlock,
|
|
1599
1770
|
recordContentRetry,
|
|
1600
1771
|
recordContentRetryFailure,
|
|
1601
1772
|
recordCpuUsage,
|
|
1773
|
+
recordFallbackApprove,
|
|
1602
1774
|
recordFileOperationMetric,
|
|
1603
1775
|
recordGoalIteration,
|
|
1604
1776
|
recordInvalidChunk,
|
|
@@ -1615,6 +1787,7 @@ export {
|
|
|
1615
1787
|
recordToolCallMetrics,
|
|
1616
1788
|
recordToolExecutionBreakdown,
|
|
1617
1789
|
recordToolQueueDepth,
|
|
1790
|
+
recordUnavailable,
|
|
1618
1791
|
recursivelyHydrateStrings,
|
|
1619
1792
|
redactProxyCredentials,
|
|
1620
1793
|
redactStructuredOutputArgsForRecording,
|
|
@@ -1622,20 +1795,26 @@ export {
|
|
|
1622
1795
|
registerGoalHook,
|
|
1623
1796
|
removeMCPServerStatus,
|
|
1624
1797
|
removeMCPStatusChangeListener,
|
|
1798
|
+
repairOrphanedToolUseTurns,
|
|
1625
1799
|
replayUiTelemetryFromConversation,
|
|
1626
1800
|
resetDebugLoggingState,
|
|
1801
|
+
resetDenialState,
|
|
1627
1802
|
resetEncodingCache,
|
|
1628
1803
|
resetUtf8BomCache,
|
|
1629
1804
|
resolveAndValidatePath,
|
|
1805
|
+
resolveBaseUrl,
|
|
1630
1806
|
resolveBundleDir,
|
|
1631
1807
|
resolveCommandPath,
|
|
1632
1808
|
resolveContentGeneratorConfigWithSources,
|
|
1633
1809
|
resolveField,
|
|
1634
1810
|
resolveGitDir,
|
|
1811
|
+
resolveMetadataKey,
|
|
1635
1812
|
resolveModelConfig,
|
|
1636
1813
|
resolveModelId,
|
|
1637
1814
|
resolveNpmRegistry,
|
|
1815
|
+
resolveOpenAILogDir,
|
|
1638
1816
|
resolveOptionalField,
|
|
1817
|
+
resolveOwnsModel,
|
|
1639
1818
|
resolvePath,
|
|
1640
1819
|
resolvePathFromEnv,
|
|
1641
1820
|
resolvePathPattern,
|
|
@@ -1643,6 +1822,7 @@ export {
|
|
|
1643
1822
|
resolveStopHookBlockingCap,
|
|
1644
1823
|
resolveTelemetrySettings,
|
|
1645
1824
|
resolveToolName,
|
|
1825
|
+
restoreWorktreeContext,
|
|
1646
1826
|
retryWithBackoff,
|
|
1647
1827
|
rewritePathArgs,
|
|
1648
1828
|
runForkedAgent,
|
|
@@ -1650,6 +1830,8 @@ export {
|
|
|
1650
1830
|
runRipgrep,
|
|
1651
1831
|
runSideQuery,
|
|
1652
1832
|
runWithDebugLogSession,
|
|
1833
|
+
runWithForkedChatModel,
|
|
1834
|
+
runtimeDiagnostics,
|
|
1653
1835
|
safeAgentId,
|
|
1654
1836
|
safeLiteralReplace,
|
|
1655
1837
|
sanitizeCwd,
|
|
@@ -1670,14 +1852,19 @@ export {
|
|
|
1670
1852
|
shortenPath,
|
|
1671
1853
|
shouldAttemptBrowserLaunch,
|
|
1672
1854
|
shouldDefaultToNodePty,
|
|
1855
|
+
shouldFallback,
|
|
1673
1856
|
shouldFilterSuggestion,
|
|
1857
|
+
shouldRunAutoModeForCall,
|
|
1858
|
+
shouldShowStep,
|
|
1674
1859
|
shutdownTelemetry,
|
|
1675
1860
|
splitCommands,
|
|
1676
1861
|
splitCompoundCommand,
|
|
1677
1862
|
splitConditionalSkills,
|
|
1863
|
+
startHookSpan,
|
|
1678
1864
|
startInteractionSpan,
|
|
1679
1865
|
startLLMRequestSpan,
|
|
1680
1866
|
startSpeculation,
|
|
1867
|
+
startToolBlockedOnUserSpan,
|
|
1681
1868
|
startToolExecutionSpan,
|
|
1682
1869
|
startToolSpan,
|
|
1683
1870
|
stringify,
|
|
@@ -1687,14 +1874,18 @@ export {
|
|
|
1687
1874
|
stripTrailingBackgroundAmp,
|
|
1688
1875
|
subagentGenerator,
|
|
1689
1876
|
substituteHookVariables,
|
|
1877
|
+
summarizeAnthropicWireRequest,
|
|
1878
|
+
summarizeOpenAIWireRequest,
|
|
1690
1879
|
summarizeUnifiedDiff,
|
|
1691
1880
|
templateString,
|
|
1692
1881
|
tildeifyPath,
|
|
1693
1882
|
toFriendlyError,
|
|
1694
1883
|
tokenLimit,
|
|
1884
|
+
tokenPlanProvider,
|
|
1695
1885
|
toolMatchesRuleToolName,
|
|
1696
1886
|
truncateContent,
|
|
1697
1887
|
truncateJson,
|
|
1888
|
+
truncateSpanError,
|
|
1698
1889
|
tryGenerateSessionTitle,
|
|
1699
1890
|
uiTelemetryService,
|
|
1700
1891
|
unescapeJsonString,
|
|
@@ -1713,5 +1904,8 @@ export {
|
|
|
1713
1904
|
writeLine,
|
|
1714
1905
|
writeLineSync,
|
|
1715
1906
|
writeRuntimeStatus,
|
|
1716
|
-
|
|
1907
|
+
writeWorkspaceContextFile,
|
|
1908
|
+
writeWorktreeSession,
|
|
1909
|
+
writeWorktreeSessionMarker,
|
|
1910
|
+
zaiProvider
|
|
1717
1911
|
};
|