@qwen-code/qwen-code 0.15.12-preview.3 → 0.16.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/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-K6OWOMBN.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-AJSOD5IR.js → chunk-3T4ZT63H.js} +8833 -3600
- package/chunks/{chunk-B7ZL7HUA.js → chunk-4AOCVI6J.js} +2 -1
- package/chunks/{chunk-AOJ3BBY7.js → chunk-4J63U5QO.js} +17 -349
- package/chunks/{chunk-AEJ2DKLP.js → chunk-C6WMLUNB.js} +1 -1
- 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-L34E6AGL.js +19126 -0
- package/chunks/{chunk-CBVB66WY.js → chunk-L5E26RN6.js} +2 -2
- package/chunks/{chunk-UXW7MYAW.js → chunk-MAY32HXD.js} +376 -1
- package/chunks/{chunk-GC5RXNL2.js → chunk-NOAHME6A.js} +115 -23
- package/chunks/{chunk-CM2IESUE.js → chunk-PR4T27R7.js} +1 -1
- package/chunks/{chunk-FYMSCRHM.js → chunk-PVVL5Q3W.js} +32 -1
- package/chunks/{chunk-YHEAJFCI.js → chunk-USE2VQ5P.js} +3 -0
- package/chunks/chunk-VMOAQVBP.js +379 -0
- package/chunks/{chunk-XLQ4E5PS.js → chunk-WCZWAKFG.js} +795 -142
- package/chunks/{chunk-GJXIKCKL.js → chunk-XP27SJMH.js} +76 -5
- package/chunks/{chunk-TPGOGCWM.js → chunk-YJLGXDQJ.js} +1 -1
- package/chunks/{contextCommand-SVLAZMQL.js → contextCommand-7CPNXBLO.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-CBM5NDVK.js} +28 -18
- package/chunks/{en-NRN4QBAT.js → en-HGJ2SPLM.js} +5 -3
- package/chunks/{enter-worktree-FOF5YZIV.js → enter-worktree-XABKPLO6.js} +41 -17
- package/chunks/{exit-worktree-Y6QVAO3C.js → exit-worktree-56MN2PCL.js} +41 -17
- package/chunks/{exitPlanMode-QZKO7GH7.js → exitPlanMode-YDNPCSCJ.js} +15 -17
- package/chunks/{fr-OFJFHLCR.js → fr-CJULI7ZX.js} +3 -3
- package/chunks/{geminiContentGenerator-DYHZPKJX.js → geminiContentGenerator-ZGPNBFDS.js} +3 -3
- package/chunks/{glob-G7XATELV.js → glob-ZHA35VO5.js} +15 -17
- package/chunks/{grep-4SETMY47.js → grep-RV6V6T52.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-5G2OBGE5.js} +27 -17
- package/chunks/notebook-edit-XUBTCT6L.js +756 -0
- package/chunks/{openaiContentGenerator-3H7XOZBW.js → openaiContentGenerator-POYAZQ6I.js} +12 -11
- package/chunks/{pt-ZLE6SA4A.js → pt-M6JULLEQ.js} +3 -3
- package/chunks/{qwenContentGenerator-FAU3QPYO.js → qwenContentGenerator-2E4H56DK.js} +17 -19
- package/chunks/{qwenOAuth2-JSQ7EPR3.js → qwenOAuth2-EEJGROP7.js} +9 -3
- package/chunks/{read-file-WWUQVNCZ.js → read-file-3JIOOXFT.js} +7 -8
- package/chunks/{ripGrep-WCOAIWL6.js → ripGrep-LEI3L6PM.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-CFVRMD4W.js} +8500 -1663
- package/chunks/{shell-IAOKGIJ6.js → shell-3B5DZ437.js} +15 -17
- package/chunks/{skill-NHW6222K.js → skill-STSZUBXR.js} +23 -10
- package/chunks/{src-OWV5HVQQ.js → src-ROFXAPEP.js} +211 -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-ARWOD3GD.js} +7 -8
- package/chunks/{web-fetch-OZE6ZQUF.js → web-fetch-ENQ2I5JA.js} +7 -4
- package/chunks/{write-file-RKCENFZ5.js → write-file-6MRT7TEW.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 +58070 -75930
- 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,44 @@ 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,
|
|
447
516
|
replayUiTelemetryFromConversation,
|
|
517
|
+
resetDenialState,
|
|
448
518
|
resetUtf8BomCache,
|
|
519
|
+
resolveBaseUrl,
|
|
449
520
|
resolveBundleDir,
|
|
450
521
|
resolveCommandPath,
|
|
451
522
|
resolveField,
|
|
452
523
|
resolveGitDir,
|
|
524
|
+
resolveMetadataKey,
|
|
453
525
|
resolveModelConfig,
|
|
454
526
|
resolveModelId,
|
|
455
527
|
resolveNpmRegistry,
|
|
456
528
|
resolveOptionalField,
|
|
529
|
+
resolveOwnsModel,
|
|
457
530
|
resolvePathFromEnv,
|
|
458
531
|
resolvePathPattern,
|
|
459
532
|
resolveRipgrep,
|
|
460
533
|
resolveStopHookBlockingCap,
|
|
461
534
|
resolveToolName,
|
|
535
|
+
restoreWorktreeContext,
|
|
462
536
|
retryWithBackoff,
|
|
463
537
|
rewritePathArgs,
|
|
464
538
|
runForkedAgent,
|
|
465
539
|
runRipgrep,
|
|
540
|
+
runWithForkedChatModel,
|
|
466
541
|
safeAgentId,
|
|
467
542
|
safeLiteralReplace,
|
|
468
543
|
sanitizeTitle,
|
|
@@ -478,7 +553,10 @@ import {
|
|
|
478
553
|
settingsSource,
|
|
479
554
|
shouldAttemptBrowserLaunch,
|
|
480
555
|
shouldDefaultToNodePty,
|
|
556
|
+
shouldFallback,
|
|
481
557
|
shouldFilterSuggestion,
|
|
558
|
+
shouldRunAutoModeForCall,
|
|
559
|
+
shouldShowStep,
|
|
482
560
|
splitCommands,
|
|
483
561
|
splitCompoundCommand,
|
|
484
562
|
splitConditionalSkills,
|
|
@@ -492,6 +570,7 @@ import {
|
|
|
492
570
|
substituteHookVariables,
|
|
493
571
|
summarizeUnifiedDiff,
|
|
494
572
|
templateString,
|
|
573
|
+
tokenPlanProvider,
|
|
495
574
|
toolMatchesRuleToolName,
|
|
496
575
|
truncateJson,
|
|
497
576
|
tryGenerateSessionTitle,
|
|
@@ -506,9 +585,11 @@ import {
|
|
|
506
585
|
writeLine,
|
|
507
586
|
writeLineSync,
|
|
508
587
|
writeRuntimeStatus,
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
588
|
+
writeWorkspaceContextFile,
|
|
589
|
+
writeWorktreeSession,
|
|
590
|
+
writeWorktreeSessionMarker,
|
|
591
|
+
zaiProvider
|
|
592
|
+
} from "./chunk-3T4ZT63H.js";
|
|
512
593
|
import "./chunk-K5PGHDBN.js";
|
|
513
594
|
import "./chunk-O4PICXES.js";
|
|
514
595
|
import "./chunk-TW522KN6.js";
|
|
@@ -518,10 +599,10 @@ import {
|
|
|
518
599
|
} from "./chunk-MLZQVCF3.js";
|
|
519
600
|
import {
|
|
520
601
|
runSideQuery
|
|
521
|
-
} from "./chunk-
|
|
602
|
+
} from "./chunk-CAVZVZX6.js";
|
|
522
603
|
import {
|
|
523
604
|
buildSkillLlmContent
|
|
524
|
-
} from "./chunk-
|
|
605
|
+
} from "./chunk-G7YTSRES.js";
|
|
525
606
|
import {
|
|
526
607
|
AgentType,
|
|
527
608
|
DefaultHookOutput,
|
|
@@ -544,14 +625,14 @@ import {
|
|
|
544
625
|
createHookOutput,
|
|
545
626
|
detectTodoChanges,
|
|
546
627
|
getHookKey
|
|
547
|
-
} from "./chunk-
|
|
628
|
+
} from "./chunk-4AOCVI6J.js";
|
|
548
629
|
import {
|
|
549
630
|
DEFAULT_FILE_FILTERING_OPTIONS,
|
|
550
631
|
DEFAULT_MEMORY_FILE_FILTERING_OPTIONS
|
|
551
632
|
} from "./chunk-77WXWU44.js";
|
|
552
633
|
import {
|
|
553
634
|
KeychainTokenStorage
|
|
554
|
-
} from "./chunk-
|
|
635
|
+
} from "./chunk-F23NCRJ2.js";
|
|
555
636
|
import {
|
|
556
637
|
SUPPORTED_IMAGE_MIME_TYPES,
|
|
557
638
|
TextTokenizer,
|
|
@@ -561,7 +642,7 @@ import {
|
|
|
561
642
|
getUnsupportedImageFormatWarning,
|
|
562
643
|
isSupportedImageMimeType,
|
|
563
644
|
redactProxyCredentials
|
|
564
|
-
} from "./chunk-
|
|
645
|
+
} from "./chunk-CSWBPY3P.js";
|
|
565
646
|
import {
|
|
566
647
|
AGENT_CONTEXT_FILENAME,
|
|
567
648
|
ApiCancelEvent,
|
|
@@ -641,12 +722,15 @@ import {
|
|
|
641
722
|
countFileLines,
|
|
642
723
|
createContentGenerator,
|
|
643
724
|
createContentGeneratorConfig,
|
|
725
|
+
decodeBufferWithEncodingInfo,
|
|
644
726
|
detectBOM,
|
|
645
727
|
detectEncodingFromBuffer,
|
|
646
728
|
detectFileEncoding,
|
|
647
729
|
detectFileType,
|
|
730
|
+
endHookSpan,
|
|
648
731
|
endInteractionSpan,
|
|
649
732
|
endLLMRequestSpan,
|
|
733
|
+
endToolBlockedOnUserSpan,
|
|
650
734
|
endToolExecutionSpan,
|
|
651
735
|
endToolSpan,
|
|
652
736
|
extractExtensionsFromPatterns,
|
|
@@ -737,21 +821,24 @@ import {
|
|
|
737
821
|
refreshSessionContext,
|
|
738
822
|
resetEncodingCache,
|
|
739
823
|
resolveContentGeneratorConfigWithSources,
|
|
824
|
+
resolveOpenAILogDir,
|
|
740
825
|
resolveTelemetrySettings,
|
|
741
826
|
runInToolSpanContext,
|
|
742
827
|
sanitizeHookName,
|
|
743
828
|
setGeminiMdFilename,
|
|
744
829
|
shutdownTelemetry,
|
|
830
|
+
startHookSpan,
|
|
745
831
|
startInteractionSpan,
|
|
746
832
|
startLLMRequestSpan,
|
|
833
|
+
startToolBlockedOnUserSpan,
|
|
747
834
|
startToolExecutionSpan,
|
|
748
835
|
startToolSpan,
|
|
749
836
|
truncateContent,
|
|
837
|
+
truncateSpanError,
|
|
750
838
|
uiTelemetryService,
|
|
751
839
|
validateModelConfig,
|
|
752
840
|
windowsCodePageToEncoding
|
|
753
|
-
} from "./chunk-
|
|
754
|
-
import "./chunk-SYCJMSIJ.js";
|
|
841
|
+
} from "./chunk-WCZWAKFG.js";
|
|
755
842
|
import "./chunk-UWCTAVOD.js";
|
|
756
843
|
import {
|
|
757
844
|
DEFAULT_QWEN_EMBEDDING_MODEL,
|
|
@@ -777,21 +864,26 @@ import {
|
|
|
777
864
|
getAutoMemoryTopicPath,
|
|
778
865
|
getMemoryBaseDir,
|
|
779
866
|
isAutoMemPath
|
|
780
|
-
} from "./chunk-
|
|
867
|
+
} from "./chunk-PR4T27R7.js";
|
|
781
868
|
import {
|
|
782
869
|
CAPPED_DEFAULT_MAX_TOKENS,
|
|
783
870
|
DEFAULT_OUTPUT_TOKEN_LIMIT,
|
|
784
871
|
DEFAULT_TOKEN_LIMIT,
|
|
785
872
|
ESCALATED_MAX_TOKENS,
|
|
873
|
+
RuntimeDiagnosticsCollector,
|
|
786
874
|
hasExplicitOutputLimit,
|
|
875
|
+
isRuntimeDiagnosticsEnabled,
|
|
787
876
|
knownTokenLimit,
|
|
788
877
|
normalize,
|
|
878
|
+
runtimeDiagnostics,
|
|
879
|
+
summarizeAnthropicWireRequest,
|
|
880
|
+
summarizeOpenAIWireRequest,
|
|
789
881
|
tokenLimit
|
|
790
|
-
} from "./chunk-
|
|
791
|
-
import "./chunk-
|
|
882
|
+
} from "./chunk-MAY32HXD.js";
|
|
883
|
+
import "./chunk-D5NTAHYL.js";
|
|
792
884
|
import "./chunk-T4VD6OJ4.js";
|
|
793
885
|
import "./chunk-RDYWTWEM.js";
|
|
794
|
-
import "./chunk-
|
|
886
|
+
import "./chunk-YJLGXDQJ.js";
|
|
795
887
|
import {
|
|
796
888
|
AgentStatistics,
|
|
797
889
|
BaseDeclarativeTool,
|
|
@@ -809,11 +901,14 @@ import {
|
|
|
809
901
|
ToolNamesMigration,
|
|
810
902
|
hasCycleInSchema,
|
|
811
903
|
isTool
|
|
812
|
-
} from "./chunk-
|
|
904
|
+
} from "./chunk-PVVL5Q3W.js";
|
|
813
905
|
import {
|
|
814
906
|
CredentialsClearRequiredError,
|
|
907
|
+
QWEN_CREDENTIAL_FILE_MODE,
|
|
815
908
|
QwenOAuth2Client,
|
|
816
909
|
QwenOAuth2Event,
|
|
910
|
+
QwenOAuthPollError,
|
|
911
|
+
cacheQwenCredentials,
|
|
817
912
|
clearCachedCredentialFile,
|
|
818
913
|
clearQwenCredentials,
|
|
819
914
|
generateCodeChallenge,
|
|
@@ -825,8 +920,8 @@ import {
|
|
|
825
920
|
isDeviceTokenSuccess,
|
|
826
921
|
isErrorResponse,
|
|
827
922
|
qwenOAuth2Events
|
|
828
|
-
} from "./chunk-
|
|
829
|
-
import "./chunk-
|
|
923
|
+
} from "./chunk-GGNTZ2NH.js";
|
|
924
|
+
import "./chunk-KXZ4TJB4.js";
|
|
830
925
|
import {
|
|
831
926
|
BadRequestError,
|
|
832
927
|
FatalAuthenticationError,
|
|
@@ -870,7 +965,7 @@ import {
|
|
|
870
965
|
unescapePath,
|
|
871
966
|
updateSymlink,
|
|
872
967
|
validatePath
|
|
873
|
-
} from "./chunk-
|
|
968
|
+
} from "./chunk-XP27SJMH.js";
|
|
874
969
|
import "./chunk-E7E2MFYM.js";
|
|
875
970
|
import "./chunk-ZERZSAZL.js";
|
|
876
971
|
import "./chunk-QN5NZ3UQ.js";
|
|
@@ -886,6 +981,8 @@ export {
|
|
|
886
981
|
AGENT_WORKTREE_HEX_LENGTH,
|
|
887
982
|
AGENT_WORKTREE_PREFIX,
|
|
888
983
|
AGENT_WORKTREE_SLUG_PATTERN,
|
|
984
|
+
ALIBABA_PROVIDERS,
|
|
985
|
+
ALL_PROVIDERS,
|
|
889
986
|
APPROVAL_MODES,
|
|
890
987
|
APPROVAL_MODE_INFO,
|
|
891
988
|
ARENA_MAX_AGENTS,
|
|
@@ -896,6 +993,7 @@ export {
|
|
|
896
993
|
AUTO_MEMORY_METADATA_FILENAME,
|
|
897
994
|
AUTO_MEMORY_SCHEMA_VERSION,
|
|
898
995
|
AUTO_MEMORY_TYPES,
|
|
996
|
+
AUTO_MODE_DENIAL_LIMITS,
|
|
899
997
|
AUTO_SKILL_THRESHOLD,
|
|
900
998
|
AbortError,
|
|
901
999
|
AgentCore,
|
|
@@ -932,12 +1030,17 @@ export {
|
|
|
932
1030
|
BadRequestError,
|
|
933
1031
|
BaseDeclarativeTool,
|
|
934
1032
|
BaseToolInvocation,
|
|
1033
|
+
BudgetExhaustedError,
|
|
935
1034
|
BuiltinAgentRegistry,
|
|
936
1035
|
CAPPED_DEFAULT_MAX_TOKENS,
|
|
937
1036
|
CODE_ACTION_KIND_LABELS,
|
|
1037
|
+
CODING_PLAN_CHINA_BASE_URL,
|
|
1038
|
+
CODING_PLAN_ENV_KEY,
|
|
1039
|
+
CODING_PLAN_GLOBAL_BASE_URL,
|
|
938
1040
|
COMMON_DIRECTORY_EXCLUDES,
|
|
939
1041
|
COMMON_IGNORE_PATTERNS,
|
|
940
1042
|
CONCURRENCY_SAFE_KINDS,
|
|
1043
|
+
CUSTOM_API_KEY_ENV_PREFIX,
|
|
941
1044
|
ChatRecordingService,
|
|
942
1045
|
CloseDiffRequestSchema,
|
|
943
1046
|
ColorMode,
|
|
@@ -1055,6 +1158,7 @@ export {
|
|
|
1055
1158
|
IdeDiffAcceptedNotificationSchema,
|
|
1056
1159
|
IdeDiffClosedNotificationSchema,
|
|
1057
1160
|
IdeDiffRejectedNotificationSchema,
|
|
1161
|
+
Ignore,
|
|
1058
1162
|
InProcessBackend,
|
|
1059
1163
|
InputFormat,
|
|
1060
1164
|
InvalidStreamError,
|
|
@@ -1080,11 +1184,14 @@ export {
|
|
|
1080
1184
|
MAX_RETAINED_TERMINAL_AGENTS,
|
|
1081
1185
|
MAX_RETAINED_TERMINAL_MONITORS,
|
|
1082
1186
|
MAX_RETAINED_TERMINAL_SHELLS,
|
|
1187
|
+
MAX_TRANSCRIPT_MESSAGES,
|
|
1083
1188
|
MCPDiscoveryState,
|
|
1084
1189
|
MCPOAuthProvider,
|
|
1085
1190
|
MCPOAuthTokenStorage,
|
|
1086
1191
|
MCPServerConfig,
|
|
1087
1192
|
MCPServerStatus,
|
|
1193
|
+
MCP_BUDGET_REARM_FRACTION,
|
|
1194
|
+
MCP_BUDGET_WARN_FRACTION,
|
|
1088
1195
|
MCP_DEFAULT_TIMEOUT_MSEC,
|
|
1089
1196
|
MEDIA_FILE_PATTERNS,
|
|
1090
1197
|
MEMORY_SECTION_HEADER,
|
|
@@ -1116,11 +1223,14 @@ export {
|
|
|
1116
1223
|
OAUTH_AUTH_URL_EVENT,
|
|
1117
1224
|
OAUTH_DISPLAY_MESSAGE_EVENT,
|
|
1118
1225
|
OAuthUtils,
|
|
1226
|
+
OPENROUTER_BASE_URL,
|
|
1227
|
+
OPENROUTER_ENV_KEY,
|
|
1119
1228
|
OpenAILogger,
|
|
1120
1229
|
OpenDiffRequestSchema,
|
|
1121
1230
|
OutputFormat,
|
|
1122
1231
|
OverlayFs,
|
|
1123
1232
|
PATH_ARG_KEYS,
|
|
1233
|
+
PROVIDER_METADATA_NS,
|
|
1124
1234
|
PYTHON_EXCLUDES,
|
|
1125
1235
|
PerformanceMetricType,
|
|
1126
1236
|
PermissionManager,
|
|
@@ -1132,17 +1242,22 @@ export {
|
|
|
1132
1242
|
PreCompactTrigger,
|
|
1133
1243
|
PreToolUseHookOutput,
|
|
1134
1244
|
PromptSuggestionEvent,
|
|
1245
|
+
ProviderInstallError,
|
|
1135
1246
|
QWEN_CODE_COMPANION_EXTENSION_NAME,
|
|
1136
1247
|
QWEN_CODE_SIMPLE_ENV_VAR,
|
|
1248
|
+
QWEN_CREDENTIAL_FILE_MODE,
|
|
1137
1249
|
QWEN_DIR,
|
|
1138
1250
|
QWEN_OAUTH_MODELS,
|
|
1139
1251
|
QwenLogger,
|
|
1140
1252
|
QwenOAuth2Client,
|
|
1141
1253
|
QwenOAuth2Event,
|
|
1254
|
+
QwenOAuthPollError,
|
|
1142
1255
|
RUNTIME_STATUS_SCHEMA_VERSION,
|
|
1143
1256
|
ReadFileTool,
|
|
1144
1257
|
RipGrepTool,
|
|
1145
1258
|
RipgrepFallbackEvent,
|
|
1259
|
+
RuntimeDiagnosticsCollector,
|
|
1260
|
+
SAFE_TOOL_ALLOWLIST,
|
|
1146
1261
|
SESSION_TITLE_MAX_LENGTH,
|
|
1147
1262
|
SHELL_SPECIAL_CHARS,
|
|
1148
1263
|
SHELL_TOOL_NAMES,
|
|
@@ -1175,12 +1290,16 @@ export {
|
|
|
1175
1290
|
Storage,
|
|
1176
1291
|
StreamEventType,
|
|
1177
1292
|
SubagentError,
|
|
1293
|
+
SubagentErrorCode,
|
|
1178
1294
|
SubagentManager,
|
|
1179
1295
|
SubagentValidator,
|
|
1180
1296
|
TERMINAL_CSI_REGEX,
|
|
1181
1297
|
TERMINAL_OSC_REGEX,
|
|
1182
1298
|
TERMINAL_SHIFT_DCS_REGEX,
|
|
1183
1299
|
TEST_ONLY,
|
|
1300
|
+
THIRD_PARTY_PROVIDERS,
|
|
1301
|
+
TOKEN_PLAN_BASE_URL,
|
|
1302
|
+
TOKEN_PLAN_ENV_KEY,
|
|
1184
1303
|
TOOL_NAME_ALIASES,
|
|
1185
1304
|
TOOL_USE_SUMMARY_SYSTEM_PROMPT,
|
|
1186
1305
|
TelemetryTarget,
|
|
@@ -1196,6 +1315,7 @@ export {
|
|
|
1196
1315
|
ToolNamesMigration,
|
|
1197
1316
|
ToolOutputTruncatedEvent,
|
|
1198
1317
|
ToolRegistry,
|
|
1318
|
+
TrustGateError,
|
|
1199
1319
|
Turn,
|
|
1200
1320
|
UiTelemetryService,
|
|
1201
1321
|
UnauthorizedError,
|
|
@@ -1208,6 +1328,8 @@ export {
|
|
|
1208
1328
|
WORKTREE_BRANCH_PREFIX,
|
|
1209
1329
|
WORKTREE_SESSION_FILE,
|
|
1210
1330
|
WorkspaceContext,
|
|
1331
|
+
WorkspaceMemoryFileTooLargeError,
|
|
1332
|
+
WorkspaceMemoryWriteTimeoutError,
|
|
1211
1333
|
__resetActiveGoalStoreForTests,
|
|
1212
1334
|
_recoverObjectsFromLine,
|
|
1213
1335
|
_resetCachedIdeServerHost,
|
|
@@ -1217,6 +1339,7 @@ export {
|
|
|
1217
1339
|
abortGoalForStopHookCap,
|
|
1218
1340
|
abortSpeculation,
|
|
1219
1341
|
acceptSpeculation,
|
|
1342
|
+
activeGoalEquals,
|
|
1220
1343
|
addMCPStatusChangeListener,
|
|
1221
1344
|
addModelOutputAttributes,
|
|
1222
1345
|
addSystemPromptAttributes,
|
|
@@ -1224,16 +1347,23 @@ export {
|
|
|
1224
1347
|
addToolResultAttributes,
|
|
1225
1348
|
addToolSchemaAttributes,
|
|
1226
1349
|
addUserPromptAttributes,
|
|
1350
|
+
alibabaStandardProvider,
|
|
1227
1351
|
allowEditorTypeInSandbox,
|
|
1228
1352
|
appendToLastTextPart,
|
|
1353
|
+
applyAutoModeDecision,
|
|
1354
|
+
applyProviderInstallPlan,
|
|
1229
1355
|
buildApiHistoryFromConversation,
|
|
1230
1356
|
buildBackgroundEntryLabel,
|
|
1231
1357
|
buildDeferredToolsSection,
|
|
1232
1358
|
buildFallbackApproachSummary,
|
|
1233
1359
|
buildHumanReadableRuleLabel,
|
|
1360
|
+
buildInstallPlan,
|
|
1361
|
+
buildModelIdContext,
|
|
1234
1362
|
buildPermissionCheckContext,
|
|
1235
1363
|
buildPermissionRules,
|
|
1364
|
+
buildProviderTemplate,
|
|
1236
1365
|
buildSkillLlmContent,
|
|
1366
|
+
cacheQwenCredentials,
|
|
1237
1367
|
canUseRipgrep,
|
|
1238
1368
|
checkArgumentSafety,
|
|
1239
1369
|
checkCommandPermissions,
|
|
@@ -1250,9 +1380,13 @@ export {
|
|
|
1250
1380
|
clearQwenCredentials,
|
|
1251
1381
|
clearRuntimeStatus,
|
|
1252
1382
|
clearWelcomeBackState,
|
|
1383
|
+
clearWorktreeSession,
|
|
1253
1384
|
cliSource,
|
|
1254
1385
|
cloneFromGit,
|
|
1386
|
+
codingPlanProvider,
|
|
1387
|
+
collectMemoryDiagnostics,
|
|
1255
1388
|
commandExists,
|
|
1389
|
+
computeModelListVersion,
|
|
1256
1390
|
computedSource,
|
|
1257
1391
|
connectAndDiscover,
|
|
1258
1392
|
connectToMcpServer,
|
|
@@ -1265,12 +1399,14 @@ export {
|
|
|
1265
1399
|
copyExtension,
|
|
1266
1400
|
countFileLines,
|
|
1267
1401
|
countLines,
|
|
1402
|
+
crawlCache_exports as crawlCache,
|
|
1268
1403
|
createContentGenerator,
|
|
1269
1404
|
createContentGeneratorConfig,
|
|
1270
1405
|
createDebugLogger,
|
|
1271
1406
|
createDefaultAutoMemoryExtractCursor,
|
|
1272
1407
|
createDefaultAutoMemoryIndex,
|
|
1273
1408
|
createDefaultAutoMemoryMetadata,
|
|
1409
|
+
createDenialState,
|
|
1274
1410
|
createFollowupController,
|
|
1275
1411
|
createForkedChat,
|
|
1276
1412
|
createGoalStopHookCallback,
|
|
@@ -1278,7 +1414,10 @@ export {
|
|
|
1278
1414
|
createTmpDir,
|
|
1279
1415
|
createToolUseSummaryMessage,
|
|
1280
1416
|
createTransport,
|
|
1417
|
+
customProvider,
|
|
1418
|
+
decodeBufferWithEncodingInfo,
|
|
1281
1419
|
decodeTagName,
|
|
1420
|
+
deepseekProvider,
|
|
1282
1421
|
defaultSource,
|
|
1283
1422
|
detectBOM,
|
|
1284
1423
|
detectBackend,
|
|
@@ -1286,6 +1425,7 @@ export {
|
|
|
1286
1425
|
detectEncodingFromBuffer,
|
|
1287
1426
|
detectFileEncoding,
|
|
1288
1427
|
detectFileType,
|
|
1428
|
+
detectIdeFromEnv,
|
|
1289
1429
|
detectLineEnding,
|
|
1290
1430
|
detectRuntime,
|
|
1291
1431
|
detectTodoChanges,
|
|
@@ -1299,8 +1439,11 @@ export {
|
|
|
1299
1439
|
encodeInsightProgressMessage,
|
|
1300
1440
|
encodeInsightReadyMessage,
|
|
1301
1441
|
encodeTagName,
|
|
1442
|
+
encodeTextFileContent,
|
|
1443
|
+
endHookSpan,
|
|
1302
1444
|
endInteractionSpan,
|
|
1303
1445
|
endLLMRequestSpan,
|
|
1446
|
+
endToolBlockedOnUserSpan,
|
|
1304
1447
|
endToolExecutionSpan,
|
|
1305
1448
|
endToolSpan,
|
|
1306
1449
|
ensureAutoMemoryScaffold,
|
|
@@ -1311,6 +1454,7 @@ export {
|
|
|
1311
1454
|
envLayer,
|
|
1312
1455
|
escapePath,
|
|
1313
1456
|
escapeShellArg,
|
|
1457
|
+
evaluateAutoMode,
|
|
1314
1458
|
evaluatePermissionFlow,
|
|
1315
1459
|
evaluatePermissionRules,
|
|
1316
1460
|
evaluateToolCall,
|
|
@@ -1330,6 +1474,8 @@ export {
|
|
|
1330
1474
|
fileExists,
|
|
1331
1475
|
filter,
|
|
1332
1476
|
findGitRoot,
|
|
1477
|
+
findProviderByCredentials,
|
|
1478
|
+
findProviderById,
|
|
1333
1479
|
findReleaseAsset,
|
|
1334
1480
|
fireNotificationHook,
|
|
1335
1481
|
firePermissionRequestHook,
|
|
@@ -1337,12 +1483,14 @@ export {
|
|
|
1337
1483
|
firePostToolUseHook,
|
|
1338
1484
|
firePreToolUseHook,
|
|
1339
1485
|
flatMapTextParts,
|
|
1486
|
+
formatClassifierBlockMessage,
|
|
1340
1487
|
formatLineStats,
|
|
1341
1488
|
formatMemoryUsage,
|
|
1342
1489
|
formatStopHookBlockingCapWarning,
|
|
1343
1490
|
generateAgentWorktreeSlug,
|
|
1344
1491
|
generateCodeChallenge,
|
|
1345
1492
|
generateCodeVerifier,
|
|
1493
|
+
generateCustomEnvKey,
|
|
1346
1494
|
generatePKCEPair,
|
|
1347
1495
|
generatePromptSuggestion,
|
|
1348
1496
|
generateSessionRecap,
|
|
@@ -1353,6 +1501,7 @@ export {
|
|
|
1353
1501
|
getActiveInteractionSpan,
|
|
1354
1502
|
getAllGeminiMdFilenames,
|
|
1355
1503
|
getAllMCPServerStatuses,
|
|
1504
|
+
getAllProviderBaseUrls,
|
|
1356
1505
|
getArenaSystemReminder,
|
|
1357
1506
|
getAutoMemoryConsolidationLockPath,
|
|
1358
1507
|
getAutoMemoryExtractCursorPath,
|
|
@@ -1372,6 +1521,8 @@ export {
|
|
|
1372
1521
|
getCoreSystemPrompt,
|
|
1373
1522
|
getCurrentGeminiMdFilename,
|
|
1374
1523
|
getCustomSystemPrompt,
|
|
1524
|
+
getDefaultBaseUrlForProtocol,
|
|
1525
|
+
getDefaultModelIds,
|
|
1375
1526
|
getDiffCommand,
|
|
1376
1527
|
getDirectoryContextString,
|
|
1377
1528
|
getEditorExecutable,
|
|
@@ -1381,6 +1532,7 @@ export {
|
|
|
1381
1532
|
getErrorStatus,
|
|
1382
1533
|
getErrorType,
|
|
1383
1534
|
getExtensionId,
|
|
1535
|
+
getExternalEditorCommand,
|
|
1384
1536
|
getFilterReason,
|
|
1385
1537
|
getFolderStructure,
|
|
1386
1538
|
getFunctionCalls,
|
|
@@ -1408,6 +1560,7 @@ export {
|
|
|
1408
1560
|
getQwenOAuthClient,
|
|
1409
1561
|
getRateLimitErrorDetails,
|
|
1410
1562
|
getRateLimitRetryDelayMs,
|
|
1563
|
+
getRecentGitStatus,
|
|
1411
1564
|
getResponseText,
|
|
1412
1565
|
getResponseTextFromParts,
|
|
1413
1566
|
getResumePromptTokenCount,
|
|
@@ -1434,11 +1587,13 @@ export {
|
|
|
1434
1587
|
hashValue,
|
|
1435
1588
|
hydrateString,
|
|
1436
1589
|
ideContextStore,
|
|
1590
|
+
idealabProvider,
|
|
1437
1591
|
initializeTelemetry,
|
|
1438
1592
|
injectPermissionRulesIfMissing,
|
|
1439
1593
|
invokeMcpPrompt,
|
|
1440
1594
|
isAbortError,
|
|
1441
1595
|
isApiError,
|
|
1596
|
+
isApproveOutcome,
|
|
1442
1597
|
isAutoEditApproved,
|
|
1443
1598
|
isAutoMemPath,
|
|
1444
1599
|
isBareMode,
|
|
@@ -1457,6 +1612,7 @@ export {
|
|
|
1457
1612
|
isErrorResponse,
|
|
1458
1613
|
isGenericQuotaExceededError,
|
|
1459
1614
|
isGitRepository,
|
|
1615
|
+
isInSafeToolAllowlist,
|
|
1460
1616
|
isInvalidArgumentError,
|
|
1461
1617
|
isModifiableDeclarativeTool,
|
|
1462
1618
|
isNodeError,
|
|
@@ -1466,6 +1622,7 @@ export {
|
|
|
1466
1622
|
isProQuotaExceededError,
|
|
1467
1623
|
isQwenQuotaExceededError,
|
|
1468
1624
|
isRateLimitError,
|
|
1625
|
+
isRuntimeDiagnosticsEnabled,
|
|
1469
1626
|
isSchemaDepthError,
|
|
1470
1627
|
isScopedNpmPackage,
|
|
1471
1628
|
isSdkMcpServerConfig,
|
|
@@ -1476,18 +1633,21 @@ export {
|
|
|
1476
1633
|
isSuccessStatus,
|
|
1477
1634
|
isSupportedImageMimeType,
|
|
1478
1635
|
isTelemetrySdkInitialized,
|
|
1636
|
+
isTerminalEditor,
|
|
1479
1637
|
isTerminalStatus,
|
|
1480
1638
|
isTomlFormat,
|
|
1481
1639
|
isTool,
|
|
1482
1640
|
isToolEnabled,
|
|
1483
1641
|
isTransientCapacityError,
|
|
1484
1642
|
isUnattendedMode,
|
|
1643
|
+
isValidEditorType,
|
|
1485
1644
|
isValidNonThoughtTextPart,
|
|
1486
1645
|
isWindows,
|
|
1487
1646
|
isWithinRoot,
|
|
1488
1647
|
judgeGoal,
|
|
1489
1648
|
knownTokenLimit,
|
|
1490
1649
|
layer,
|
|
1650
|
+
loadIgnoreRules,
|
|
1491
1651
|
loadServerHierarchicalMemory,
|
|
1492
1652
|
logApiCancel,
|
|
1493
1653
|
logApiError,
|
|
@@ -1537,9 +1697,12 @@ export {
|
|
|
1537
1697
|
matchesRule,
|
|
1538
1698
|
maybePromptForSettings,
|
|
1539
1699
|
mcpServerRequiresOAuth,
|
|
1700
|
+
mcpTransportOf,
|
|
1540
1701
|
mergeClaudeConfigs,
|
|
1702
|
+
minimaxProvider,
|
|
1541
1703
|
modelProvidersSource,
|
|
1542
1704
|
modelRegistryKey,
|
|
1705
|
+
modelscopeProvider,
|
|
1543
1706
|
modifyWithEditor,
|
|
1544
1707
|
needsConfirmation,
|
|
1545
1708
|
needsUtf8Bom,
|
|
@@ -1547,9 +1710,11 @@ export {
|
|
|
1547
1710
|
normalizeContent,
|
|
1548
1711
|
normalizeMonitorCommand,
|
|
1549
1712
|
normalizeProxyUrl,
|
|
1713
|
+
normalizeSkillPriority,
|
|
1550
1714
|
normalizeStopHookBlockingCap,
|
|
1551
1715
|
notifyGoalTerminal,
|
|
1552
1716
|
openDiff,
|
|
1717
|
+
openRouterProvider,
|
|
1553
1718
|
openaiLogger,
|
|
1554
1719
|
parse,
|
|
1555
1720
|
parseAndFormatApiError,
|
|
@@ -1569,6 +1734,7 @@ export {
|
|
|
1569
1734
|
parseThought,
|
|
1570
1735
|
partListUnionToString,
|
|
1571
1736
|
partToString,
|
|
1737
|
+
passesAcceptEditsFastPath,
|
|
1572
1738
|
performVariableReplacement,
|
|
1573
1739
|
persistPermissionOutcome,
|
|
1574
1740
|
populateMcpServerCommand,
|
|
@@ -1576,6 +1742,7 @@ export {
|
|
|
1576
1742
|
processSingleFileContent,
|
|
1577
1743
|
promptForSetting,
|
|
1578
1744
|
promptIdContext,
|
|
1745
|
+
providerMatchesCredentials,
|
|
1579
1746
|
qwenOAuth2Events,
|
|
1580
1747
|
read,
|
|
1581
1748
|
readAutoMemoryIndex,
|
|
@@ -1588,7 +1755,9 @@ export {
|
|
|
1588
1755
|
readManyFiles,
|
|
1589
1756
|
readPathFromWorkspace,
|
|
1590
1757
|
readRuntimeStatus,
|
|
1758
|
+
readWorktreeSession,
|
|
1591
1759
|
readWorktreeSessionMarker,
|
|
1760
|
+
recordAllow,
|
|
1592
1761
|
recordApiErrorMetrics,
|
|
1593
1762
|
recordApiRequestBreakdown,
|
|
1594
1763
|
recordApiResponseMetrics,
|
|
@@ -1596,9 +1765,11 @@ export {
|
|
|
1596
1765
|
recordArenaSessionEndedMetrics,
|
|
1597
1766
|
recordArenaSessionStartedMetrics,
|
|
1598
1767
|
recordBaselineComparison,
|
|
1768
|
+
recordBlock,
|
|
1599
1769
|
recordContentRetry,
|
|
1600
1770
|
recordContentRetryFailure,
|
|
1601
1771
|
recordCpuUsage,
|
|
1772
|
+
recordFallbackApprove,
|
|
1602
1773
|
recordFileOperationMetric,
|
|
1603
1774
|
recordGoalIteration,
|
|
1604
1775
|
recordInvalidChunk,
|
|
@@ -1615,6 +1786,7 @@ export {
|
|
|
1615
1786
|
recordToolCallMetrics,
|
|
1616
1787
|
recordToolExecutionBreakdown,
|
|
1617
1788
|
recordToolQueueDepth,
|
|
1789
|
+
recordUnavailable,
|
|
1618
1790
|
recursivelyHydrateStrings,
|
|
1619
1791
|
redactProxyCredentials,
|
|
1620
1792
|
redactStructuredOutputArgsForRecording,
|
|
@@ -1624,18 +1796,23 @@ export {
|
|
|
1624
1796
|
removeMCPStatusChangeListener,
|
|
1625
1797
|
replayUiTelemetryFromConversation,
|
|
1626
1798
|
resetDebugLoggingState,
|
|
1799
|
+
resetDenialState,
|
|
1627
1800
|
resetEncodingCache,
|
|
1628
1801
|
resetUtf8BomCache,
|
|
1629
1802
|
resolveAndValidatePath,
|
|
1803
|
+
resolveBaseUrl,
|
|
1630
1804
|
resolveBundleDir,
|
|
1631
1805
|
resolveCommandPath,
|
|
1632
1806
|
resolveContentGeneratorConfigWithSources,
|
|
1633
1807
|
resolveField,
|
|
1634
1808
|
resolveGitDir,
|
|
1809
|
+
resolveMetadataKey,
|
|
1635
1810
|
resolveModelConfig,
|
|
1636
1811
|
resolveModelId,
|
|
1637
1812
|
resolveNpmRegistry,
|
|
1813
|
+
resolveOpenAILogDir,
|
|
1638
1814
|
resolveOptionalField,
|
|
1815
|
+
resolveOwnsModel,
|
|
1639
1816
|
resolvePath,
|
|
1640
1817
|
resolvePathFromEnv,
|
|
1641
1818
|
resolvePathPattern,
|
|
@@ -1643,6 +1820,7 @@ export {
|
|
|
1643
1820
|
resolveStopHookBlockingCap,
|
|
1644
1821
|
resolveTelemetrySettings,
|
|
1645
1822
|
resolveToolName,
|
|
1823
|
+
restoreWorktreeContext,
|
|
1646
1824
|
retryWithBackoff,
|
|
1647
1825
|
rewritePathArgs,
|
|
1648
1826
|
runForkedAgent,
|
|
@@ -1650,6 +1828,8 @@ export {
|
|
|
1650
1828
|
runRipgrep,
|
|
1651
1829
|
runSideQuery,
|
|
1652
1830
|
runWithDebugLogSession,
|
|
1831
|
+
runWithForkedChatModel,
|
|
1832
|
+
runtimeDiagnostics,
|
|
1653
1833
|
safeAgentId,
|
|
1654
1834
|
safeLiteralReplace,
|
|
1655
1835
|
sanitizeCwd,
|
|
@@ -1670,14 +1850,19 @@ export {
|
|
|
1670
1850
|
shortenPath,
|
|
1671
1851
|
shouldAttemptBrowserLaunch,
|
|
1672
1852
|
shouldDefaultToNodePty,
|
|
1853
|
+
shouldFallback,
|
|
1673
1854
|
shouldFilterSuggestion,
|
|
1855
|
+
shouldRunAutoModeForCall,
|
|
1856
|
+
shouldShowStep,
|
|
1674
1857
|
shutdownTelemetry,
|
|
1675
1858
|
splitCommands,
|
|
1676
1859
|
splitCompoundCommand,
|
|
1677
1860
|
splitConditionalSkills,
|
|
1861
|
+
startHookSpan,
|
|
1678
1862
|
startInteractionSpan,
|
|
1679
1863
|
startLLMRequestSpan,
|
|
1680
1864
|
startSpeculation,
|
|
1865
|
+
startToolBlockedOnUserSpan,
|
|
1681
1866
|
startToolExecutionSpan,
|
|
1682
1867
|
startToolSpan,
|
|
1683
1868
|
stringify,
|
|
@@ -1687,14 +1872,18 @@ export {
|
|
|
1687
1872
|
stripTrailingBackgroundAmp,
|
|
1688
1873
|
subagentGenerator,
|
|
1689
1874
|
substituteHookVariables,
|
|
1875
|
+
summarizeAnthropicWireRequest,
|
|
1876
|
+
summarizeOpenAIWireRequest,
|
|
1690
1877
|
summarizeUnifiedDiff,
|
|
1691
1878
|
templateString,
|
|
1692
1879
|
tildeifyPath,
|
|
1693
1880
|
toFriendlyError,
|
|
1694
1881
|
tokenLimit,
|
|
1882
|
+
tokenPlanProvider,
|
|
1695
1883
|
toolMatchesRuleToolName,
|
|
1696
1884
|
truncateContent,
|
|
1697
1885
|
truncateJson,
|
|
1886
|
+
truncateSpanError,
|
|
1698
1887
|
tryGenerateSessionTitle,
|
|
1699
1888
|
uiTelemetryService,
|
|
1700
1889
|
unescapeJsonString,
|
|
@@ -1713,5 +1902,8 @@ export {
|
|
|
1713
1902
|
writeLine,
|
|
1714
1903
|
writeLineSync,
|
|
1715
1904
|
writeRuntimeStatus,
|
|
1716
|
-
|
|
1905
|
+
writeWorkspaceContextFile,
|
|
1906
|
+
writeWorktreeSession,
|
|
1907
|
+
writeWorktreeSessionMarker,
|
|
1908
|
+
zaiProvider
|
|
1717
1909
|
};
|