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