@qwen-code/qwen-code 0.15.12-preview.2 → 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 +69 -71
- 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/lsp.md +87 -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 +179 -24
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +11 -11
- package/bundled/review/SKILL.md +12 -3
- package/bundled/stuck/SKILL.md +124 -0
- package/chunks/{agent-UQY6A6OS.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-VQSV6JHA.js → ca-UZ7BANMN.js} +29 -3
- package/chunks/{chunk-B7ZL7HUA.js → chunk-4AOCVI6J.js} +2 -1
- package/chunks/{chunk-PCL3EJGY.js → chunk-4U3O4VDA.js} +4722 -3823
- package/chunks/{chunk-AEJ2DKLP.js → chunk-C6WMLUNB.js} +1 -1
- package/chunks/{chunk-FSYKVGER.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-SOIEFHIK.js → chunk-G7YTSRES.js} +1 -100
- 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-2WFU3IUH.js → chunk-OZO6R4KI.js} +11796 -4086
- package/chunks/{chunk-CM2IESUE.js → chunk-PR4T27R7.js} +1 -1
- package/chunks/{chunk-FYMSCRHM.js → chunk-PVVL5Q3W.js} +32 -1
- package/chunks/{chunk-MXBWOU2L.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-MQRG6RMG.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-M2IPQRBS.js → de-V4IE2OOZ.js} +29 -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-3KCBTA25.js → edit-NRL5ZYWP.js} +32 -18
- package/chunks/{en-N5GMPCVT.js → en-HGJ2SPLM.js} +32 -3
- package/chunks/{enter-worktree-VWS5QZTU.js → enter-worktree-TLT6EXVN.js} +41 -17
- package/chunks/{exit-worktree-RVXFWAPD.js → exit-worktree-PE7RZMLE.js} +41 -17
- package/chunks/{exitPlanMode-UL5DILDG.js → exitPlanMode-JYMKAHYD.js} +15 -17
- package/chunks/{fr-BTHRYEXO.js → fr-CJULI7ZX.js} +29 -3
- package/chunks/{geminiContentGenerator-O2OPGHJG.js → geminiContentGenerator-GYIOVT4A.js} +3 -3
- package/chunks/{glob-57BSREPN.js → glob-T7KIVIWT.js} +15 -17
- package/chunks/{grep-XO5JOC7T.js → grep-4KI7ZJR5.js} +15 -17
- package/chunks/{ja-D63TAEBO.js → ja-L7CHRQEW.js} +29 -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-BECPGO3K.js → monitor-L5YPPGVO.js} +45 -26
- package/chunks/notebook-edit-HYXLIC3D.js +756 -0
- package/chunks/{openaiContentGenerator-KEZQHIRM.js → openaiContentGenerator-XRP5JM6P.js} +12 -11
- package/chunks/{pt-XUV7FSKC.js → pt-M6JULLEQ.js} +29 -3
- package/chunks/{qwenContentGenerator-RPMRXTNH.js → qwenContentGenerator-EOX3HZXX.js} +17 -19
- package/chunks/{qwenOAuth2-JSQ7EPR3.js → qwenOAuth2-EEJGROP7.js} +9 -3
- package/chunks/{read-file-LGHEIQNH.js → read-file-3XOYPTIB.js} +7 -8
- package/chunks/{ripGrep-6SFSXZ2G.js → ripGrep-5QUURWGU.js} +15 -17
- package/chunks/{ru-7KHWMN3A.js → ru-QILM4HBC.js} +29 -3
- package/chunks/{send-message-Q2JRAC3J.js → send-message-ULK4MQXJ.js} +23 -2
- package/chunks/{serve-27O2AFE3.js → serve-AZ44ZNWF.js} +8864 -1351
- package/chunks/{shell-J7K5KYCH.js → shell-O6OTTSIP.js} +15 -17
- package/chunks/{skill-2R7P4ATS.js → skill-MUGS3H4M.js} +23 -10
- package/chunks/{src-CGEDVW67.js → src-YCQBAYCP.js} +292 -28
- 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-XOH3ZWVS.js → tool-search-UFDQJOXT.js} +7 -8
- package/chunks/{web-fetch-OZE6ZQUF.js → web-fetch-ENQ2I5JA.js} +7 -4
- package/chunks/{write-file-74NQ27Q2.js → write-file-GBLDDYQT.js} +29 -18
- package/chunks/{zh-VGHU6XBB.js → zh-PWL2NKY3.js} +32 -3
- package/chunks/{zh-TW-O36Q4V7E.js → zh-TW-S3YGWICZ.js} +32 -3
- package/cli.js +61338 -76795
- package/locales/ca.js +44 -5
- package/locales/de.js +44 -5
- package/locales/en.js +49 -5
- package/locales/fr.js +45 -5
- package/locales/ja.js +43 -5
- package/locales/pt.js +43 -5
- package/locales/ru.js +43 -5
- package/locales/zh-TW.js +46 -4
- package/locales/zh.js +46 -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,
|
|
@@ -56,6 +64,7 @@ import {
|
|
|
56
64
|
DEFAULT_LSP_STARTUP_TIMEOUT_MS,
|
|
57
65
|
DEFAULT_LSP_WARMUP_DELAY_MS,
|
|
58
66
|
DEFAULT_LSP_WORKSPACE_SYMBOL_WARMUP_DELAY_MS,
|
|
67
|
+
DEFAULT_STOP_HOOK_BLOCK_CAP,
|
|
59
68
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES,
|
|
60
69
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
|
|
61
70
|
DIAGNOSTIC_SEVERITY_LABELS,
|
|
@@ -73,9 +82,12 @@ import {
|
|
|
73
82
|
ExtensionUpdateState,
|
|
74
83
|
FileDiscoveryService,
|
|
75
84
|
FileEncoding,
|
|
85
|
+
FileHistoryService,
|
|
76
86
|
FileReadCache,
|
|
77
87
|
FileSchema,
|
|
78
88
|
FileSearchFactory,
|
|
89
|
+
GOAL_HOOK_TIMEOUT_MS,
|
|
90
|
+
GOAL_HOOK_TIMEOUT_SECONDS,
|
|
79
91
|
GeminiChat,
|
|
80
92
|
GeminiClient,
|
|
81
93
|
GeminiEventType,
|
|
@@ -100,6 +112,7 @@ import {
|
|
|
100
112
|
IdeDiffAcceptedNotificationSchema,
|
|
101
113
|
IdeDiffClosedNotificationSchema,
|
|
102
114
|
IdeDiffRejectedNotificationSchema,
|
|
115
|
+
Ignore,
|
|
103
116
|
InProcessBackend,
|
|
104
117
|
InvalidStreamError,
|
|
105
118
|
JsonFormatter,
|
|
@@ -113,13 +126,19 @@ import {
|
|
|
113
126
|
MAX_DIFF_SIZE_BYTES,
|
|
114
127
|
MAX_FILES,
|
|
115
128
|
MAX_FILES_FOR_DETAILS,
|
|
129
|
+
MAX_GOAL_ITERATIONS,
|
|
116
130
|
MAX_LINES_PER_FILE,
|
|
131
|
+
MAX_RETAINED_TERMINAL_AGENTS,
|
|
117
132
|
MAX_RETAINED_TERMINAL_MONITORS,
|
|
133
|
+
MAX_RETAINED_TERMINAL_SHELLS,
|
|
134
|
+
MAX_TRANSCRIPT_MESSAGES,
|
|
118
135
|
MCPDiscoveryState,
|
|
119
136
|
MCPOAuthProvider,
|
|
120
137
|
MCPOAuthTokenStorage,
|
|
121
138
|
MCPServerConfig,
|
|
122
139
|
MCPServerStatus,
|
|
140
|
+
MCP_BUDGET_REARM_FRACTION,
|
|
141
|
+
MCP_BUDGET_WARN_FRACTION,
|
|
123
142
|
MCP_DEFAULT_TIMEOUT_MSEC,
|
|
124
143
|
MOCK_TOOL_GET_CONFIRMATION_DETAILS,
|
|
125
144
|
MOCK_TOOL_GET_DEFAULT_PERMISSION,
|
|
@@ -138,17 +157,23 @@ import {
|
|
|
138
157
|
OAUTH_AUTH_URL_EVENT,
|
|
139
158
|
OAUTH_DISPLAY_MESSAGE_EVENT,
|
|
140
159
|
OAuthUtils,
|
|
160
|
+
OPENROUTER_BASE_URL,
|
|
161
|
+
OPENROUTER_ENV_KEY,
|
|
141
162
|
OpenDiffRequestSchema,
|
|
142
163
|
OverlayFs,
|
|
164
|
+
PROVIDER_METADATA_NS,
|
|
143
165
|
PermissionManager,
|
|
166
|
+
ProviderInstallError,
|
|
144
167
|
QWEN_CODE_COMPANION_EXTENSION_NAME,
|
|
145
168
|
QWEN_CODE_SIMPLE_ENV_VAR,
|
|
146
169
|
RUNTIME_STATUS_SCHEMA_VERSION,
|
|
147
170
|
RipGrepTool,
|
|
171
|
+
SAFE_TOOL_ALLOWLIST,
|
|
148
172
|
SESSION_TITLE_MAX_LENGTH,
|
|
149
173
|
SHELL_TOOL_NAMES,
|
|
150
174
|
SKILL_REVIEW_TASK_TYPE,
|
|
151
175
|
STARTUP_CONTEXT_MODEL_ACK,
|
|
176
|
+
STOP_HOOK_BLOCK_CAP_ENV,
|
|
152
177
|
SUGGESTION_PROMPT,
|
|
153
178
|
SYMBOL_KIND_LABELS,
|
|
154
179
|
SdkControlClientTransport,
|
|
@@ -162,37 +187,53 @@ import {
|
|
|
162
187
|
StandardFileSystemService,
|
|
163
188
|
StreamEventType,
|
|
164
189
|
SubagentError,
|
|
190
|
+
SubagentErrorCode,
|
|
165
191
|
SubagentManager,
|
|
166
192
|
SubagentValidator,
|
|
167
193
|
TERMINAL_CSI_REGEX,
|
|
168
194
|
TERMINAL_OSC_REGEX,
|
|
169
195
|
TERMINAL_SHIFT_DCS_REGEX,
|
|
170
196
|
TEST_ONLY,
|
|
197
|
+
THIRD_PARTY_PROVIDERS,
|
|
198
|
+
TOKEN_PLAN_BASE_URL,
|
|
199
|
+
TOKEN_PLAN_ENV_KEY,
|
|
171
200
|
TOOL_NAME_ALIASES,
|
|
172
201
|
TOOL_USE_SUMMARY_SYSTEM_PROMPT,
|
|
173
202
|
TmuxBackend,
|
|
174
203
|
ToolRegistry,
|
|
204
|
+
TrustGateError,
|
|
175
205
|
Turn,
|
|
176
206
|
WORKTREES_DIR,
|
|
177
207
|
WORKTREE_BRANCH_PREFIX,
|
|
178
208
|
WORKTREE_SESSION_FILE,
|
|
179
209
|
WorkspaceContext,
|
|
210
|
+
WorkspaceMemoryFileTooLargeError,
|
|
211
|
+
WorkspaceMemoryWriteTimeoutError,
|
|
212
|
+
__resetActiveGoalStoreForTests,
|
|
180
213
|
_recoverObjectsFromLine,
|
|
181
214
|
_resetCachedIdeServerHost,
|
|
182
215
|
_resetEnsuredDirsCacheForTest,
|
|
183
216
|
_resetRipGrepCachesForTest,
|
|
217
|
+
abortGoalForStopHookCap,
|
|
184
218
|
abortSpeculation,
|
|
185
219
|
acceptSpeculation,
|
|
220
|
+
activeGoalEquals,
|
|
186
221
|
addMCPStatusChangeListener,
|
|
222
|
+
alibabaStandardProvider,
|
|
187
223
|
allowEditorTypeInSandbox,
|
|
188
224
|
appendToLastTextPart,
|
|
225
|
+
applyAutoModeDecision,
|
|
226
|
+
applyProviderInstallPlan,
|
|
189
227
|
buildApiHistoryFromConversation,
|
|
190
228
|
buildBackgroundEntryLabel,
|
|
191
229
|
buildDeferredToolsSection,
|
|
192
230
|
buildFallbackApproachSummary,
|
|
193
231
|
buildHumanReadableRuleLabel,
|
|
232
|
+
buildInstallPlan,
|
|
233
|
+
buildModelIdContext,
|
|
194
234
|
buildPermissionCheckContext,
|
|
195
235
|
buildPermissionRules,
|
|
236
|
+
buildProviderTemplate,
|
|
196
237
|
canUseRipgrep,
|
|
197
238
|
checkArgumentSafety,
|
|
198
239
|
checkCommandPermissions,
|
|
@@ -201,12 +242,18 @@ import {
|
|
|
201
242
|
checkNpmUpdate,
|
|
202
243
|
cleanSummary,
|
|
203
244
|
cleanupTmpDir,
|
|
245
|
+
clearActiveGoal,
|
|
204
246
|
clearCacheSafeParams,
|
|
247
|
+
clearGoalTerminalObserver,
|
|
205
248
|
clearRuntimeStatus,
|
|
206
249
|
clearWelcomeBackState,
|
|
250
|
+
clearWorktreeSession,
|
|
207
251
|
cliSource,
|
|
208
252
|
cloneFromGit,
|
|
253
|
+
codingPlanProvider,
|
|
254
|
+
collectMemoryDiagnostics,
|
|
209
255
|
commandExists,
|
|
256
|
+
computeModelListVersion,
|
|
210
257
|
computedSource,
|
|
211
258
|
connectAndDiscover,
|
|
212
259
|
connectToMcpServer,
|
|
@@ -218,18 +265,24 @@ import {
|
|
|
218
265
|
convertTomlToMarkdown,
|
|
219
266
|
copyExtension,
|
|
220
267
|
countLines,
|
|
268
|
+
crawlCache_exports,
|
|
221
269
|
createDefaultAutoMemoryExtractCursor,
|
|
222
270
|
createDefaultAutoMemoryIndex,
|
|
223
271
|
createDefaultAutoMemoryMetadata,
|
|
272
|
+
createDenialState,
|
|
224
273
|
createFollowupController,
|
|
225
274
|
createForkedChat,
|
|
275
|
+
createGoalStopHookCallback,
|
|
226
276
|
createTmpDir,
|
|
227
277
|
createToolUseSummaryMessage,
|
|
228
278
|
createTransport,
|
|
279
|
+
customProvider,
|
|
229
280
|
decodeTagName,
|
|
281
|
+
deepseekProvider,
|
|
230
282
|
defaultSource,
|
|
231
283
|
detectBackend,
|
|
232
284
|
detectCommandSubstitution,
|
|
285
|
+
detectIdeFromEnv,
|
|
233
286
|
detectLineEnding,
|
|
234
287
|
discoverMcpTools,
|
|
235
288
|
discoverPrompts,
|
|
@@ -241,6 +294,7 @@ import {
|
|
|
241
294
|
encodeInsightProgressMessage,
|
|
242
295
|
encodeInsightReadyMessage,
|
|
243
296
|
encodeTagName,
|
|
297
|
+
encodeTextFileContent,
|
|
244
298
|
ensureAutoMemoryScaffold,
|
|
245
299
|
ensureCrlfLineEndings,
|
|
246
300
|
ensureMacBinarySigned,
|
|
@@ -248,6 +302,7 @@ import {
|
|
|
248
302
|
ensureToolResultPairing,
|
|
249
303
|
envLayer,
|
|
250
304
|
escapeShellArg,
|
|
305
|
+
evaluateAutoMode,
|
|
251
306
|
evaluatePermissionFlow,
|
|
252
307
|
evaluatePermissionRules,
|
|
253
308
|
evaluateToolCall,
|
|
@@ -264,6 +319,8 @@ import {
|
|
|
264
319
|
fetchGitDiffHunks,
|
|
265
320
|
filter,
|
|
266
321
|
findGitRoot,
|
|
322
|
+
findProviderByCredentials,
|
|
323
|
+
findProviderById,
|
|
267
324
|
findReleaseAsset,
|
|
268
325
|
fireNotificationHook,
|
|
269
326
|
firePermissionRequestHook,
|
|
@@ -271,14 +328,19 @@ import {
|
|
|
271
328
|
firePostToolUseHook,
|
|
272
329
|
firePreToolUseHook,
|
|
273
330
|
flatMapTextParts,
|
|
331
|
+
formatClassifierBlockMessage,
|
|
274
332
|
formatLineStats,
|
|
275
333
|
formatMemoryUsage,
|
|
334
|
+
formatStopHookBlockingCapWarning,
|
|
276
335
|
generateAgentWorktreeSlug,
|
|
336
|
+
generateCustomEnvKey,
|
|
277
337
|
generatePromptSuggestion,
|
|
278
338
|
generateSessionRecap,
|
|
279
339
|
generateToolUseId,
|
|
280
340
|
generateToolUseSummary,
|
|
341
|
+
getActiveGoal,
|
|
281
342
|
getAllMCPServerStatuses,
|
|
343
|
+
getAllProviderBaseUrls,
|
|
282
344
|
getArenaSystemReminder,
|
|
283
345
|
getBuiltinRipgrep,
|
|
284
346
|
getCacheSafeParams,
|
|
@@ -287,12 +349,15 @@ import {
|
|
|
287
349
|
getCompressionPrompt,
|
|
288
350
|
getCoreSystemPrompt,
|
|
289
351
|
getCustomSystemPrompt,
|
|
352
|
+
getDefaultBaseUrlForProtocol,
|
|
353
|
+
getDefaultModelIds,
|
|
290
354
|
getDiffCommand,
|
|
291
355
|
getDirectoryContextString,
|
|
292
356
|
getEditorExecutable,
|
|
293
357
|
getEnvContents,
|
|
294
358
|
getEnvironmentContext,
|
|
295
359
|
getExtensionId,
|
|
360
|
+
getExternalEditorCommand,
|
|
296
361
|
getFilterReason,
|
|
297
362
|
getFolderStructure,
|
|
298
363
|
getFunctionCalls,
|
|
@@ -305,14 +370,17 @@ import {
|
|
|
305
370
|
getIdeServerHost,
|
|
306
371
|
getInitialChatHistory,
|
|
307
372
|
getInsightPrompt,
|
|
373
|
+
getLastGoalTerminal,
|
|
308
374
|
getMCPDiscoveryState,
|
|
309
375
|
getMCPServerPrompts,
|
|
310
376
|
getMCPServerStatus,
|
|
377
|
+
getMonitorOutputPath,
|
|
311
378
|
getPlanModeSystemReminder,
|
|
312
379
|
getProjectSummaryInfo,
|
|
313
380
|
getProjectSummaryPrompt,
|
|
314
381
|
getRateLimitErrorDetails,
|
|
315
382
|
getRateLimitRetryDelayMs,
|
|
383
|
+
getRecentGitStatus,
|
|
316
384
|
getResponseText,
|
|
317
385
|
getResponseTextFromParts,
|
|
318
386
|
getResumePromptTokenCount,
|
|
@@ -333,9 +401,11 @@ import {
|
|
|
333
401
|
hashValue,
|
|
334
402
|
hydrateString,
|
|
335
403
|
ideContextStore,
|
|
404
|
+
idealabProvider,
|
|
336
405
|
injectPermissionRulesIfMissing,
|
|
337
406
|
invokeMcpPrompt,
|
|
338
407
|
isApiError,
|
|
408
|
+
isApproveOutcome,
|
|
339
409
|
isAutoEditApproved,
|
|
340
410
|
isBareMode,
|
|
341
411
|
isBinary,
|
|
@@ -347,6 +417,7 @@ import {
|
|
|
347
417
|
isEnabled,
|
|
348
418
|
isGenericQuotaExceededError,
|
|
349
419
|
isGitRepository,
|
|
420
|
+
isInSafeToolAllowlist,
|
|
350
421
|
isInvalidArgumentError,
|
|
351
422
|
isModifiableDeclarativeTool,
|
|
352
423
|
isPathWithinRoot,
|
|
@@ -360,14 +431,18 @@ import {
|
|
|
360
431
|
isSettledStatus,
|
|
361
432
|
isStructuredError,
|
|
362
433
|
isSuccessStatus,
|
|
434
|
+
isTerminalEditor,
|
|
363
435
|
isTerminalStatus,
|
|
364
436
|
isTomlFormat,
|
|
365
437
|
isToolEnabled,
|
|
366
438
|
isTransientCapacityError,
|
|
367
439
|
isUnattendedMode,
|
|
440
|
+
isValidEditorType,
|
|
368
441
|
isValidNonThoughtTextPart,
|
|
369
442
|
isWindows,
|
|
443
|
+
judgeGoal,
|
|
370
444
|
layer,
|
|
445
|
+
loadIgnoreRules,
|
|
371
446
|
loadServerHierarchicalMemory,
|
|
372
447
|
makeFakeConfig,
|
|
373
448
|
matchesCommandPattern,
|
|
@@ -377,15 +452,22 @@ import {
|
|
|
377
452
|
matchesRule,
|
|
378
453
|
maybePromptForSettings,
|
|
379
454
|
mcpServerRequiresOAuth,
|
|
455
|
+
mcpTransportOf,
|
|
380
456
|
mergeClaudeConfigs,
|
|
457
|
+
minimaxProvider,
|
|
381
458
|
modelProvidersSource,
|
|
459
|
+
modelscopeProvider,
|
|
382
460
|
modifyWithEditor,
|
|
383
461
|
needsConfirmation,
|
|
384
462
|
needsUtf8Bom,
|
|
385
463
|
normalizeContent,
|
|
386
464
|
normalizeMonitorCommand,
|
|
387
465
|
normalizeProxyUrl,
|
|
466
|
+
normalizeSkillPriority,
|
|
467
|
+
normalizeStopHookBlockingCap,
|
|
468
|
+
notifyGoalTerminal,
|
|
388
469
|
openDiff,
|
|
470
|
+
openRouterProvider,
|
|
389
471
|
parse,
|
|
390
472
|
parseAndFormatApiError,
|
|
391
473
|
parseDeletedFromNameStatus,
|
|
@@ -402,12 +484,14 @@ import {
|
|
|
402
484
|
parseThought,
|
|
403
485
|
partListUnionToString,
|
|
404
486
|
partToString,
|
|
487
|
+
passesAcceptEditsFastPath,
|
|
405
488
|
performVariableReplacement,
|
|
406
489
|
persistPermissionOutcome,
|
|
407
490
|
populateMcpServerCommand,
|
|
408
491
|
prependToFirstTextPart,
|
|
409
492
|
promptForSetting,
|
|
410
493
|
promptIdContext,
|
|
494
|
+
providerMatchesCredentials,
|
|
411
495
|
read,
|
|
412
496
|
readAutoMemoryIndex,
|
|
413
497
|
readLastJsonStringFieldSync,
|
|
@@ -416,30 +500,45 @@ import {
|
|
|
416
500
|
readManyFiles,
|
|
417
501
|
readPathFromWorkspace,
|
|
418
502
|
readRuntimeStatus,
|
|
503
|
+
readWorktreeSession,
|
|
419
504
|
readWorktreeSessionMarker,
|
|
505
|
+
recordAllow,
|
|
506
|
+
recordBlock,
|
|
507
|
+
recordFallbackApprove,
|
|
508
|
+
recordGoalIteration,
|
|
420
509
|
recordStartupEvent,
|
|
510
|
+
recordUnavailable,
|
|
421
511
|
recursivelyHydrateStrings,
|
|
422
512
|
redactStructuredOutputArgsForRecording,
|
|
513
|
+
registerGoalHook,
|
|
423
514
|
removeMCPServerStatus,
|
|
424
515
|
removeMCPStatusChangeListener,
|
|
516
|
+
repairOrphanedToolUseTurns,
|
|
425
517
|
replayUiTelemetryFromConversation,
|
|
518
|
+
resetDenialState,
|
|
426
519
|
resetUtf8BomCache,
|
|
520
|
+
resolveBaseUrl,
|
|
427
521
|
resolveBundleDir,
|
|
428
522
|
resolveCommandPath,
|
|
429
523
|
resolveField,
|
|
430
524
|
resolveGitDir,
|
|
525
|
+
resolveMetadataKey,
|
|
431
526
|
resolveModelConfig,
|
|
432
527
|
resolveModelId,
|
|
433
528
|
resolveNpmRegistry,
|
|
434
529
|
resolveOptionalField,
|
|
530
|
+
resolveOwnsModel,
|
|
435
531
|
resolvePathFromEnv,
|
|
436
532
|
resolvePathPattern,
|
|
437
533
|
resolveRipgrep,
|
|
534
|
+
resolveStopHookBlockingCap,
|
|
438
535
|
resolveToolName,
|
|
536
|
+
restoreWorktreeContext,
|
|
439
537
|
retryWithBackoff,
|
|
440
538
|
rewritePathArgs,
|
|
441
539
|
runForkedAgent,
|
|
442
540
|
runRipgrep,
|
|
541
|
+
runWithForkedChatModel,
|
|
443
542
|
safeAgentId,
|
|
444
543
|
safeLiteralReplace,
|
|
445
544
|
sanitizeTitle,
|
|
@@ -448,11 +547,17 @@ import {
|
|
|
448
547
|
saveWelcomeBackRestartChoice,
|
|
449
548
|
serializeTerminalToObject,
|
|
450
549
|
serializeTerminalToText,
|
|
550
|
+
setActiveGoal,
|
|
551
|
+
setGoalTerminalObserver,
|
|
552
|
+
setLastGoalTerminal,
|
|
451
553
|
setStartupEventSink,
|
|
452
554
|
settingsSource,
|
|
453
555
|
shouldAttemptBrowserLaunch,
|
|
454
556
|
shouldDefaultToNodePty,
|
|
557
|
+
shouldFallback,
|
|
455
558
|
shouldFilterSuggestion,
|
|
559
|
+
shouldRunAutoModeForCall,
|
|
560
|
+
shouldShowStep,
|
|
456
561
|
splitCommands,
|
|
457
562
|
splitCompoundCommand,
|
|
458
563
|
splitConditionalSkills,
|
|
@@ -466,10 +571,12 @@ import {
|
|
|
466
571
|
substituteHookVariables,
|
|
467
572
|
summarizeUnifiedDiff,
|
|
468
573
|
templateString,
|
|
574
|
+
tokenPlanProvider,
|
|
469
575
|
toolMatchesRuleToolName,
|
|
470
576
|
truncateJson,
|
|
471
577
|
tryGenerateSessionTitle,
|
|
472
578
|
unescapeJsonString,
|
|
579
|
+
unregisterGoalHook,
|
|
473
580
|
updateMCPServerStatus,
|
|
474
581
|
updateSetting,
|
|
475
582
|
validateName,
|
|
@@ -479,9 +586,11 @@ import {
|
|
|
479
586
|
writeLine,
|
|
480
587
|
writeLineSync,
|
|
481
588
|
writeRuntimeStatus,
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
589
|
+
writeWorkspaceContextFile,
|
|
590
|
+
writeWorktreeSession,
|
|
591
|
+
writeWorktreeSessionMarker,
|
|
592
|
+
zaiProvider
|
|
593
|
+
} from "./chunk-OZO6R4KI.js";
|
|
485
594
|
import "./chunk-K5PGHDBN.js";
|
|
486
595
|
import "./chunk-O4PICXES.js";
|
|
487
596
|
import "./chunk-TW522KN6.js";
|
|
@@ -491,16 +600,10 @@ import {
|
|
|
491
600
|
} from "./chunk-MLZQVCF3.js";
|
|
492
601
|
import {
|
|
493
602
|
runSideQuery
|
|
494
|
-
} from "./chunk-
|
|
603
|
+
} from "./chunk-CAVZVZX6.js";
|
|
495
604
|
import {
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
TelemetryTarget,
|
|
499
|
-
buildSkillLlmContent,
|
|
500
|
-
parseBooleanEnvFlag,
|
|
501
|
-
parseTelemetryTargetValue,
|
|
502
|
-
resolveTelemetrySettings
|
|
503
|
-
} from "./chunk-SOIEFHIK.js";
|
|
605
|
+
buildSkillLlmContent
|
|
606
|
+
} from "./chunk-G7YTSRES.js";
|
|
504
607
|
import {
|
|
505
608
|
AgentType,
|
|
506
609
|
DefaultHookOutput,
|
|
@@ -523,14 +626,14 @@ import {
|
|
|
523
626
|
createHookOutput,
|
|
524
627
|
detectTodoChanges,
|
|
525
628
|
getHookKey
|
|
526
|
-
} from "./chunk-
|
|
629
|
+
} from "./chunk-4AOCVI6J.js";
|
|
527
630
|
import {
|
|
528
631
|
DEFAULT_FILE_FILTERING_OPTIONS,
|
|
529
632
|
DEFAULT_MEMORY_FILE_FILTERING_OPTIONS
|
|
530
633
|
} from "./chunk-77WXWU44.js";
|
|
531
634
|
import {
|
|
532
635
|
KeychainTokenStorage
|
|
533
|
-
} from "./chunk-
|
|
636
|
+
} from "./chunk-F23NCRJ2.js";
|
|
534
637
|
import {
|
|
535
638
|
SUPPORTED_IMAGE_MIME_TYPES,
|
|
536
639
|
TextTokenizer,
|
|
@@ -540,7 +643,7 @@ import {
|
|
|
540
643
|
getUnsupportedImageFormatWarning,
|
|
541
644
|
isSupportedImageMimeType,
|
|
542
645
|
redactProxyCredentials
|
|
543
|
-
} from "./chunk-
|
|
646
|
+
} from "./chunk-CSWBPY3P.js";
|
|
544
647
|
import {
|
|
545
648
|
AGENT_CONTEXT_FILENAME,
|
|
546
649
|
ApiCancelEvent,
|
|
@@ -558,6 +661,8 @@ import {
|
|
|
558
661
|
DEFAULT_CONTEXT_FILENAME,
|
|
559
662
|
DEFAULT_ENCODING,
|
|
560
663
|
DEFAULT_FILE_EXCLUDES,
|
|
664
|
+
DEFAULT_OTLP_ENDPOINT,
|
|
665
|
+
DEFAULT_TELEMETRY_TARGET,
|
|
561
666
|
DiscoveredMCPTool,
|
|
562
667
|
EVENT_API_ERROR,
|
|
563
668
|
EVENT_API_RESPONSE,
|
|
@@ -600,6 +705,7 @@ import {
|
|
|
600
705
|
SlashCommandStatus,
|
|
601
706
|
SpeculationEvent,
|
|
602
707
|
StartSessionEvent,
|
|
708
|
+
TelemetryTarget,
|
|
603
709
|
ToolCallEvent,
|
|
604
710
|
ToolExecutionPhase,
|
|
605
711
|
ToolOutputTruncatedEvent,
|
|
@@ -608,21 +714,30 @@ import {
|
|
|
608
714
|
UserFeedbackRating,
|
|
609
715
|
UserPromptEvent,
|
|
610
716
|
UserRetryEvent,
|
|
611
|
-
|
|
717
|
+
addModelOutputAttributes,
|
|
718
|
+
addSystemPromptAttributes,
|
|
719
|
+
addToolInputAttributes,
|
|
720
|
+
addToolResultAttributes,
|
|
721
|
+
addToolSchemaAttributes,
|
|
722
|
+
addUserPromptAttributes,
|
|
612
723
|
countFileLines,
|
|
613
724
|
createContentGenerator,
|
|
614
725
|
createContentGeneratorConfig,
|
|
726
|
+
decodeBufferWithEncodingInfo,
|
|
615
727
|
detectBOM,
|
|
616
728
|
detectEncodingFromBuffer,
|
|
617
729
|
detectFileEncoding,
|
|
618
730
|
detectFileType,
|
|
731
|
+
endHookSpan,
|
|
619
732
|
endInteractionSpan,
|
|
620
733
|
endLLMRequestSpan,
|
|
734
|
+
endToolBlockedOnUserSpan,
|
|
621
735
|
endToolExecutionSpan,
|
|
622
736
|
endToolSpan,
|
|
623
737
|
extractExtensionsFromPatterns,
|
|
624
738
|
fileExists,
|
|
625
739
|
generateValidName,
|
|
740
|
+
getActiveInteractionSpan,
|
|
626
741
|
getAllGeminiMdFilenames,
|
|
627
742
|
getCachedEncodingForBuffer,
|
|
628
743
|
getCurrentGeminiMdFilename,
|
|
@@ -674,6 +789,8 @@ import {
|
|
|
674
789
|
makeSlashCommandEvent,
|
|
675
790
|
modelRegistryKey,
|
|
676
791
|
openaiLogger,
|
|
792
|
+
parseBooleanEnvFlag,
|
|
793
|
+
parseTelemetryTargetValue,
|
|
677
794
|
processSingleFileContent,
|
|
678
795
|
readFileWithEncoding,
|
|
679
796
|
readFileWithEncodingInfo,
|
|
@@ -705,18 +822,24 @@ import {
|
|
|
705
822
|
refreshSessionContext,
|
|
706
823
|
resetEncodingCache,
|
|
707
824
|
resolveContentGeneratorConfigWithSources,
|
|
825
|
+
resolveOpenAILogDir,
|
|
826
|
+
resolveTelemetrySettings,
|
|
827
|
+
runInToolSpanContext,
|
|
708
828
|
sanitizeHookName,
|
|
709
829
|
setGeminiMdFilename,
|
|
710
830
|
shutdownTelemetry,
|
|
831
|
+
startHookSpan,
|
|
711
832
|
startInteractionSpan,
|
|
712
833
|
startLLMRequestSpan,
|
|
834
|
+
startToolBlockedOnUserSpan,
|
|
713
835
|
startToolExecutionSpan,
|
|
714
836
|
startToolSpan,
|
|
837
|
+
truncateContent,
|
|
838
|
+
truncateSpanError,
|
|
715
839
|
uiTelemetryService,
|
|
716
840
|
validateModelConfig,
|
|
717
841
|
windowsCodePageToEncoding
|
|
718
|
-
} from "./chunk-
|
|
719
|
-
import "./chunk-SYCJMSIJ.js";
|
|
842
|
+
} from "./chunk-4U3O4VDA.js";
|
|
720
843
|
import "./chunk-UWCTAVOD.js";
|
|
721
844
|
import {
|
|
722
845
|
DEFAULT_QWEN_EMBEDDING_MODEL,
|
|
@@ -742,21 +865,26 @@ import {
|
|
|
742
865
|
getAutoMemoryTopicPath,
|
|
743
866
|
getMemoryBaseDir,
|
|
744
867
|
isAutoMemPath
|
|
745
|
-
} from "./chunk-
|
|
868
|
+
} from "./chunk-PR4T27R7.js";
|
|
746
869
|
import {
|
|
747
870
|
CAPPED_DEFAULT_MAX_TOKENS,
|
|
748
871
|
DEFAULT_OUTPUT_TOKEN_LIMIT,
|
|
749
872
|
DEFAULT_TOKEN_LIMIT,
|
|
750
873
|
ESCALATED_MAX_TOKENS,
|
|
874
|
+
RuntimeDiagnosticsCollector,
|
|
751
875
|
hasExplicitOutputLimit,
|
|
876
|
+
isRuntimeDiagnosticsEnabled,
|
|
752
877
|
knownTokenLimit,
|
|
753
878
|
normalize,
|
|
879
|
+
runtimeDiagnostics,
|
|
880
|
+
summarizeAnthropicWireRequest,
|
|
881
|
+
summarizeOpenAIWireRequest,
|
|
754
882
|
tokenLimit
|
|
755
|
-
} from "./chunk-
|
|
756
|
-
import "./chunk-
|
|
883
|
+
} from "./chunk-MAY32HXD.js";
|
|
884
|
+
import "./chunk-D5NTAHYL.js";
|
|
757
885
|
import "./chunk-T4VD6OJ4.js";
|
|
758
886
|
import "./chunk-RDYWTWEM.js";
|
|
759
|
-
import "./chunk-
|
|
887
|
+
import "./chunk-YJLGXDQJ.js";
|
|
760
888
|
import {
|
|
761
889
|
AgentStatistics,
|
|
762
890
|
BaseDeclarativeTool,
|
|
@@ -774,11 +902,14 @@ import {
|
|
|
774
902
|
ToolNamesMigration,
|
|
775
903
|
hasCycleInSchema,
|
|
776
904
|
isTool
|
|
777
|
-
} from "./chunk-
|
|
905
|
+
} from "./chunk-PVVL5Q3W.js";
|
|
778
906
|
import {
|
|
779
907
|
CredentialsClearRequiredError,
|
|
908
|
+
QWEN_CREDENTIAL_FILE_MODE,
|
|
780
909
|
QwenOAuth2Client,
|
|
781
910
|
QwenOAuth2Event,
|
|
911
|
+
QwenOAuthPollError,
|
|
912
|
+
cacheQwenCredentials,
|
|
782
913
|
clearCachedCredentialFile,
|
|
783
914
|
clearQwenCredentials,
|
|
784
915
|
generateCodeChallenge,
|
|
@@ -790,8 +921,8 @@ import {
|
|
|
790
921
|
isDeviceTokenSuccess,
|
|
791
922
|
isErrorResponse,
|
|
792
923
|
qwenOAuth2Events
|
|
793
|
-
} from "./chunk-
|
|
794
|
-
import "./chunk-
|
|
924
|
+
} from "./chunk-GGNTZ2NH.js";
|
|
925
|
+
import "./chunk-KXZ4TJB4.js";
|
|
795
926
|
import {
|
|
796
927
|
BadRequestError,
|
|
797
928
|
FatalAuthenticationError,
|
|
@@ -835,7 +966,7 @@ import {
|
|
|
835
966
|
unescapePath,
|
|
836
967
|
updateSymlink,
|
|
837
968
|
validatePath
|
|
838
|
-
} from "./chunk-
|
|
969
|
+
} from "./chunk-XP27SJMH.js";
|
|
839
970
|
import "./chunk-E7E2MFYM.js";
|
|
840
971
|
import "./chunk-ZERZSAZL.js";
|
|
841
972
|
import "./chunk-QN5NZ3UQ.js";
|
|
@@ -851,6 +982,8 @@ export {
|
|
|
851
982
|
AGENT_WORKTREE_HEX_LENGTH,
|
|
852
983
|
AGENT_WORKTREE_PREFIX,
|
|
853
984
|
AGENT_WORKTREE_SLUG_PATTERN,
|
|
985
|
+
ALIBABA_PROVIDERS,
|
|
986
|
+
ALL_PROVIDERS,
|
|
854
987
|
APPROVAL_MODES,
|
|
855
988
|
APPROVAL_MODE_INFO,
|
|
856
989
|
ARENA_MAX_AGENTS,
|
|
@@ -861,6 +994,7 @@ export {
|
|
|
861
994
|
AUTO_MEMORY_METADATA_FILENAME,
|
|
862
995
|
AUTO_MEMORY_SCHEMA_VERSION,
|
|
863
996
|
AUTO_MEMORY_TYPES,
|
|
997
|
+
AUTO_MODE_DENIAL_LIMITS,
|
|
864
998
|
AUTO_SKILL_THRESHOLD,
|
|
865
999
|
AbortError,
|
|
866
1000
|
AgentCore,
|
|
@@ -897,12 +1031,17 @@ export {
|
|
|
897
1031
|
BadRequestError,
|
|
898
1032
|
BaseDeclarativeTool,
|
|
899
1033
|
BaseToolInvocation,
|
|
1034
|
+
BudgetExhaustedError,
|
|
900
1035
|
BuiltinAgentRegistry,
|
|
901
1036
|
CAPPED_DEFAULT_MAX_TOKENS,
|
|
902
1037
|
CODE_ACTION_KIND_LABELS,
|
|
1038
|
+
CODING_PLAN_CHINA_BASE_URL,
|
|
1039
|
+
CODING_PLAN_ENV_KEY,
|
|
1040
|
+
CODING_PLAN_GLOBAL_BASE_URL,
|
|
903
1041
|
COMMON_DIRECTORY_EXCLUDES,
|
|
904
1042
|
COMMON_IGNORE_PATTERNS,
|
|
905
1043
|
CONCURRENCY_SAFE_KINDS,
|
|
1044
|
+
CUSTOM_API_KEY_ENV_PREFIX,
|
|
906
1045
|
ChatRecordingService,
|
|
907
1046
|
CloseDiffRequestSchema,
|
|
908
1047
|
ColorMode,
|
|
@@ -938,6 +1077,7 @@ export {
|
|
|
938
1077
|
DEFAULT_QWEN_EMBEDDING_MODEL,
|
|
939
1078
|
DEFAULT_QWEN_FLASH_MODEL,
|
|
940
1079
|
DEFAULT_QWEN_MODEL,
|
|
1080
|
+
DEFAULT_STOP_HOOK_BLOCK_CAP,
|
|
941
1081
|
DEFAULT_TELEMETRY_TARGET,
|
|
942
1082
|
DEFAULT_TOKEN_LIMIT,
|
|
943
1083
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES,
|
|
@@ -978,12 +1118,15 @@ export {
|
|
|
978
1118
|
FileDiscoveryService,
|
|
979
1119
|
FileEncoding,
|
|
980
1120
|
FileExclusions,
|
|
1121
|
+
FileHistoryService,
|
|
981
1122
|
FileOperation,
|
|
982
1123
|
FileReadCache,
|
|
983
1124
|
FileSchema,
|
|
984
1125
|
FileSearchFactory,
|
|
985
1126
|
FlashFallbackEvent,
|
|
986
1127
|
ForbiddenError,
|
|
1128
|
+
GOAL_HOOK_TIMEOUT_MS,
|
|
1129
|
+
GOAL_HOOK_TIMEOUT_SECONDS,
|
|
987
1130
|
GOOGLE_ACCOUNTS_FILENAME,
|
|
988
1131
|
GeminiChat,
|
|
989
1132
|
GeminiClient,
|
|
@@ -1016,6 +1159,7 @@ export {
|
|
|
1016
1159
|
IdeDiffAcceptedNotificationSchema,
|
|
1017
1160
|
IdeDiffClosedNotificationSchema,
|
|
1018
1161
|
IdeDiffRejectedNotificationSchema,
|
|
1162
|
+
Ignore,
|
|
1019
1163
|
InProcessBackend,
|
|
1020
1164
|
InputFormat,
|
|
1021
1165
|
InvalidStreamError,
|
|
@@ -1036,13 +1180,19 @@ export {
|
|
|
1036
1180
|
MAX_DIFF_SIZE_BYTES,
|
|
1037
1181
|
MAX_FILES,
|
|
1038
1182
|
MAX_FILES_FOR_DETAILS,
|
|
1183
|
+
MAX_GOAL_ITERATIONS,
|
|
1039
1184
|
MAX_LINES_PER_FILE,
|
|
1185
|
+
MAX_RETAINED_TERMINAL_AGENTS,
|
|
1040
1186
|
MAX_RETAINED_TERMINAL_MONITORS,
|
|
1187
|
+
MAX_RETAINED_TERMINAL_SHELLS,
|
|
1188
|
+
MAX_TRANSCRIPT_MESSAGES,
|
|
1041
1189
|
MCPDiscoveryState,
|
|
1042
1190
|
MCPOAuthProvider,
|
|
1043
1191
|
MCPOAuthTokenStorage,
|
|
1044
1192
|
MCPServerConfig,
|
|
1045
1193
|
MCPServerStatus,
|
|
1194
|
+
MCP_BUDGET_REARM_FRACTION,
|
|
1195
|
+
MCP_BUDGET_WARN_FRACTION,
|
|
1046
1196
|
MCP_DEFAULT_TIMEOUT_MSEC,
|
|
1047
1197
|
MEDIA_FILE_PATTERNS,
|
|
1048
1198
|
MEMORY_SECTION_HEADER,
|
|
@@ -1074,11 +1224,14 @@ export {
|
|
|
1074
1224
|
OAUTH_AUTH_URL_EVENT,
|
|
1075
1225
|
OAUTH_DISPLAY_MESSAGE_EVENT,
|
|
1076
1226
|
OAuthUtils,
|
|
1227
|
+
OPENROUTER_BASE_URL,
|
|
1228
|
+
OPENROUTER_ENV_KEY,
|
|
1077
1229
|
OpenAILogger,
|
|
1078
1230
|
OpenDiffRequestSchema,
|
|
1079
1231
|
OutputFormat,
|
|
1080
1232
|
OverlayFs,
|
|
1081
1233
|
PATH_ARG_KEYS,
|
|
1234
|
+
PROVIDER_METADATA_NS,
|
|
1082
1235
|
PYTHON_EXCLUDES,
|
|
1083
1236
|
PerformanceMetricType,
|
|
1084
1237
|
PermissionManager,
|
|
@@ -1090,22 +1243,28 @@ export {
|
|
|
1090
1243
|
PreCompactTrigger,
|
|
1091
1244
|
PreToolUseHookOutput,
|
|
1092
1245
|
PromptSuggestionEvent,
|
|
1246
|
+
ProviderInstallError,
|
|
1093
1247
|
QWEN_CODE_COMPANION_EXTENSION_NAME,
|
|
1094
1248
|
QWEN_CODE_SIMPLE_ENV_VAR,
|
|
1249
|
+
QWEN_CREDENTIAL_FILE_MODE,
|
|
1095
1250
|
QWEN_DIR,
|
|
1096
1251
|
QWEN_OAUTH_MODELS,
|
|
1097
1252
|
QwenLogger,
|
|
1098
1253
|
QwenOAuth2Client,
|
|
1099
1254
|
QwenOAuth2Event,
|
|
1255
|
+
QwenOAuthPollError,
|
|
1100
1256
|
RUNTIME_STATUS_SCHEMA_VERSION,
|
|
1101
1257
|
ReadFileTool,
|
|
1102
1258
|
RipGrepTool,
|
|
1103
1259
|
RipgrepFallbackEvent,
|
|
1260
|
+
RuntimeDiagnosticsCollector,
|
|
1261
|
+
SAFE_TOOL_ALLOWLIST,
|
|
1104
1262
|
SESSION_TITLE_MAX_LENGTH,
|
|
1105
1263
|
SHELL_SPECIAL_CHARS,
|
|
1106
1264
|
SHELL_TOOL_NAMES,
|
|
1107
1265
|
SKILL_REVIEW_TASK_TYPE,
|
|
1108
1266
|
STARTUP_CONTEXT_MODEL_ACK,
|
|
1267
|
+
STOP_HOOK_BLOCK_CAP_ENV,
|
|
1109
1268
|
SUGGESTION_PROMPT,
|
|
1110
1269
|
SUPPORTED_IMAGE_MIME_TYPES,
|
|
1111
1270
|
SYMBOL_KIND_LABELS,
|
|
@@ -1132,12 +1291,16 @@ export {
|
|
|
1132
1291
|
Storage,
|
|
1133
1292
|
StreamEventType,
|
|
1134
1293
|
SubagentError,
|
|
1294
|
+
SubagentErrorCode,
|
|
1135
1295
|
SubagentManager,
|
|
1136
1296
|
SubagentValidator,
|
|
1137
1297
|
TERMINAL_CSI_REGEX,
|
|
1138
1298
|
TERMINAL_OSC_REGEX,
|
|
1139
1299
|
TERMINAL_SHIFT_DCS_REGEX,
|
|
1140
1300
|
TEST_ONLY,
|
|
1301
|
+
THIRD_PARTY_PROVIDERS,
|
|
1302
|
+
TOKEN_PLAN_BASE_URL,
|
|
1303
|
+
TOKEN_PLAN_ENV_KEY,
|
|
1141
1304
|
TOOL_NAME_ALIASES,
|
|
1142
1305
|
TOOL_USE_SUMMARY_SYSTEM_PROMPT,
|
|
1143
1306
|
TelemetryTarget,
|
|
@@ -1153,6 +1316,7 @@ export {
|
|
|
1153
1316
|
ToolNamesMigration,
|
|
1154
1317
|
ToolOutputTruncatedEvent,
|
|
1155
1318
|
ToolRegistry,
|
|
1319
|
+
TrustGateError,
|
|
1156
1320
|
Turn,
|
|
1157
1321
|
UiTelemetryService,
|
|
1158
1322
|
UnauthorizedError,
|
|
@@ -1165,24 +1329,42 @@ export {
|
|
|
1165
1329
|
WORKTREE_BRANCH_PREFIX,
|
|
1166
1330
|
WORKTREE_SESSION_FILE,
|
|
1167
1331
|
WorkspaceContext,
|
|
1332
|
+
WorkspaceMemoryFileTooLargeError,
|
|
1333
|
+
WorkspaceMemoryWriteTimeoutError,
|
|
1334
|
+
__resetActiveGoalStoreForTests,
|
|
1168
1335
|
_recoverObjectsFromLine,
|
|
1169
1336
|
_resetCachedIdeServerHost,
|
|
1170
1337
|
_resetEnsuredDirsCacheForTest,
|
|
1171
1338
|
_resetRipGrepCachesForTest,
|
|
1172
1339
|
_resetValidatePathCacheForTest,
|
|
1340
|
+
abortGoalForStopHookCap,
|
|
1173
1341
|
abortSpeculation,
|
|
1174
1342
|
acceptSpeculation,
|
|
1343
|
+
activeGoalEquals,
|
|
1175
1344
|
addMCPStatusChangeListener,
|
|
1345
|
+
addModelOutputAttributes,
|
|
1346
|
+
addSystemPromptAttributes,
|
|
1347
|
+
addToolInputAttributes,
|
|
1348
|
+
addToolResultAttributes,
|
|
1349
|
+
addToolSchemaAttributes,
|
|
1350
|
+
addUserPromptAttributes,
|
|
1351
|
+
alibabaStandardProvider,
|
|
1176
1352
|
allowEditorTypeInSandbox,
|
|
1177
1353
|
appendToLastTextPart,
|
|
1354
|
+
applyAutoModeDecision,
|
|
1355
|
+
applyProviderInstallPlan,
|
|
1178
1356
|
buildApiHistoryFromConversation,
|
|
1179
1357
|
buildBackgroundEntryLabel,
|
|
1180
1358
|
buildDeferredToolsSection,
|
|
1181
1359
|
buildFallbackApproachSummary,
|
|
1182
1360
|
buildHumanReadableRuleLabel,
|
|
1361
|
+
buildInstallPlan,
|
|
1362
|
+
buildModelIdContext,
|
|
1183
1363
|
buildPermissionCheckContext,
|
|
1184
1364
|
buildPermissionRules,
|
|
1365
|
+
buildProviderTemplate,
|
|
1185
1366
|
buildSkillLlmContent,
|
|
1367
|
+
cacheQwenCredentials,
|
|
1186
1368
|
canUseRipgrep,
|
|
1187
1369
|
checkArgumentSafety,
|
|
1188
1370
|
checkCommandPermissions,
|
|
@@ -1191,16 +1373,21 @@ export {
|
|
|
1191
1373
|
checkNpmUpdate,
|
|
1192
1374
|
cleanSummary,
|
|
1193
1375
|
cleanupTmpDir,
|
|
1376
|
+
clearActiveGoal,
|
|
1194
1377
|
clearAutoMemoryRootCache,
|
|
1195
1378
|
clearCacheSafeParams,
|
|
1196
1379
|
clearCachedCredentialFile,
|
|
1380
|
+
clearGoalTerminalObserver,
|
|
1197
1381
|
clearQwenCredentials,
|
|
1198
1382
|
clearRuntimeStatus,
|
|
1199
|
-
clearSessionTracingForTesting,
|
|
1200
1383
|
clearWelcomeBackState,
|
|
1384
|
+
clearWorktreeSession,
|
|
1201
1385
|
cliSource,
|
|
1202
1386
|
cloneFromGit,
|
|
1387
|
+
codingPlanProvider,
|
|
1388
|
+
collectMemoryDiagnostics,
|
|
1203
1389
|
commandExists,
|
|
1390
|
+
computeModelListVersion,
|
|
1204
1391
|
computedSource,
|
|
1205
1392
|
connectAndDiscover,
|
|
1206
1393
|
connectToMcpServer,
|
|
@@ -1213,19 +1400,25 @@ export {
|
|
|
1213
1400
|
copyExtension,
|
|
1214
1401
|
countFileLines,
|
|
1215
1402
|
countLines,
|
|
1403
|
+
crawlCache_exports as crawlCache,
|
|
1216
1404
|
createContentGenerator,
|
|
1217
1405
|
createContentGeneratorConfig,
|
|
1218
1406
|
createDebugLogger,
|
|
1219
1407
|
createDefaultAutoMemoryExtractCursor,
|
|
1220
1408
|
createDefaultAutoMemoryIndex,
|
|
1221
1409
|
createDefaultAutoMemoryMetadata,
|
|
1410
|
+
createDenialState,
|
|
1222
1411
|
createFollowupController,
|
|
1223
1412
|
createForkedChat,
|
|
1413
|
+
createGoalStopHookCallback,
|
|
1224
1414
|
createHookOutput,
|
|
1225
1415
|
createTmpDir,
|
|
1226
1416
|
createToolUseSummaryMessage,
|
|
1227
1417
|
createTransport,
|
|
1418
|
+
customProvider,
|
|
1419
|
+
decodeBufferWithEncodingInfo,
|
|
1228
1420
|
decodeTagName,
|
|
1421
|
+
deepseekProvider,
|
|
1229
1422
|
defaultSource,
|
|
1230
1423
|
detectBOM,
|
|
1231
1424
|
detectBackend,
|
|
@@ -1233,6 +1426,7 @@ export {
|
|
|
1233
1426
|
detectEncodingFromBuffer,
|
|
1234
1427
|
detectFileEncoding,
|
|
1235
1428
|
detectFileType,
|
|
1429
|
+
detectIdeFromEnv,
|
|
1236
1430
|
detectLineEnding,
|
|
1237
1431
|
detectRuntime,
|
|
1238
1432
|
detectTodoChanges,
|
|
@@ -1246,8 +1440,11 @@ export {
|
|
|
1246
1440
|
encodeInsightProgressMessage,
|
|
1247
1441
|
encodeInsightReadyMessage,
|
|
1248
1442
|
encodeTagName,
|
|
1443
|
+
encodeTextFileContent,
|
|
1444
|
+
endHookSpan,
|
|
1249
1445
|
endInteractionSpan,
|
|
1250
1446
|
endLLMRequestSpan,
|
|
1447
|
+
endToolBlockedOnUserSpan,
|
|
1251
1448
|
endToolExecutionSpan,
|
|
1252
1449
|
endToolSpan,
|
|
1253
1450
|
ensureAutoMemoryScaffold,
|
|
@@ -1258,6 +1455,7 @@ export {
|
|
|
1258
1455
|
envLayer,
|
|
1259
1456
|
escapePath,
|
|
1260
1457
|
escapeShellArg,
|
|
1458
|
+
evaluateAutoMode,
|
|
1261
1459
|
evaluatePermissionFlow,
|
|
1262
1460
|
evaluatePermissionRules,
|
|
1263
1461
|
evaluateToolCall,
|
|
@@ -1277,6 +1475,8 @@ export {
|
|
|
1277
1475
|
fileExists,
|
|
1278
1476
|
filter,
|
|
1279
1477
|
findGitRoot,
|
|
1478
|
+
findProviderByCredentials,
|
|
1479
|
+
findProviderById,
|
|
1280
1480
|
findReleaseAsset,
|
|
1281
1481
|
fireNotificationHook,
|
|
1282
1482
|
firePermissionRequestHook,
|
|
@@ -1284,19 +1484,25 @@ export {
|
|
|
1284
1484
|
firePostToolUseHook,
|
|
1285
1485
|
firePreToolUseHook,
|
|
1286
1486
|
flatMapTextParts,
|
|
1487
|
+
formatClassifierBlockMessage,
|
|
1287
1488
|
formatLineStats,
|
|
1288
1489
|
formatMemoryUsage,
|
|
1490
|
+
formatStopHookBlockingCapWarning,
|
|
1289
1491
|
generateAgentWorktreeSlug,
|
|
1290
1492
|
generateCodeChallenge,
|
|
1291
1493
|
generateCodeVerifier,
|
|
1494
|
+
generateCustomEnvKey,
|
|
1292
1495
|
generatePKCEPair,
|
|
1293
1496
|
generatePromptSuggestion,
|
|
1294
1497
|
generateSessionRecap,
|
|
1295
1498
|
generateToolUseId,
|
|
1296
1499
|
generateToolUseSummary,
|
|
1297
1500
|
generateValidName,
|
|
1501
|
+
getActiveGoal,
|
|
1502
|
+
getActiveInteractionSpan,
|
|
1298
1503
|
getAllGeminiMdFilenames,
|
|
1299
1504
|
getAllMCPServerStatuses,
|
|
1505
|
+
getAllProviderBaseUrls,
|
|
1300
1506
|
getArenaSystemReminder,
|
|
1301
1507
|
getAutoMemoryConsolidationLockPath,
|
|
1302
1508
|
getAutoMemoryExtractCursorPath,
|
|
@@ -1316,6 +1522,8 @@ export {
|
|
|
1316
1522
|
getCoreSystemPrompt,
|
|
1317
1523
|
getCurrentGeminiMdFilename,
|
|
1318
1524
|
getCustomSystemPrompt,
|
|
1525
|
+
getDefaultBaseUrlForProtocol,
|
|
1526
|
+
getDefaultModelIds,
|
|
1319
1527
|
getDiffCommand,
|
|
1320
1528
|
getDirectoryContextString,
|
|
1321
1529
|
getEditorExecutable,
|
|
@@ -1325,6 +1533,7 @@ export {
|
|
|
1325
1533
|
getErrorStatus,
|
|
1326
1534
|
getErrorType,
|
|
1327
1535
|
getExtensionId,
|
|
1536
|
+
getExternalEditorCommand,
|
|
1328
1537
|
getFilterReason,
|
|
1329
1538
|
getFolderStructure,
|
|
1330
1539
|
getFunctionCalls,
|
|
@@ -1338,10 +1547,12 @@ export {
|
|
|
1338
1547
|
getIdeServerHost,
|
|
1339
1548
|
getInitialChatHistory,
|
|
1340
1549
|
getInsightPrompt,
|
|
1550
|
+
getLastGoalTerminal,
|
|
1341
1551
|
getMCPDiscoveryState,
|
|
1342
1552
|
getMCPServerPrompts,
|
|
1343
1553
|
getMCPServerStatus,
|
|
1344
1554
|
getMemoryBaseDir,
|
|
1555
|
+
getMonitorOutputPath,
|
|
1345
1556
|
getOrCreateSharedDispatcher,
|
|
1346
1557
|
getPlanModeSystemReminder,
|
|
1347
1558
|
getProjectHash,
|
|
@@ -1350,6 +1561,7 @@ export {
|
|
|
1350
1561
|
getQwenOAuthClient,
|
|
1351
1562
|
getRateLimitErrorDetails,
|
|
1352
1563
|
getRateLimitRetryDelayMs,
|
|
1564
|
+
getRecentGitStatus,
|
|
1353
1565
|
getResponseText,
|
|
1354
1566
|
getResponseTextFromParts,
|
|
1355
1567
|
getResumePromptTokenCount,
|
|
@@ -1376,11 +1588,13 @@ export {
|
|
|
1376
1588
|
hashValue,
|
|
1377
1589
|
hydrateString,
|
|
1378
1590
|
ideContextStore,
|
|
1591
|
+
idealabProvider,
|
|
1379
1592
|
initializeTelemetry,
|
|
1380
1593
|
injectPermissionRulesIfMissing,
|
|
1381
1594
|
invokeMcpPrompt,
|
|
1382
1595
|
isAbortError,
|
|
1383
1596
|
isApiError,
|
|
1597
|
+
isApproveOutcome,
|
|
1384
1598
|
isAutoEditApproved,
|
|
1385
1599
|
isAutoMemPath,
|
|
1386
1600
|
isBareMode,
|
|
@@ -1399,6 +1613,7 @@ export {
|
|
|
1399
1613
|
isErrorResponse,
|
|
1400
1614
|
isGenericQuotaExceededError,
|
|
1401
1615
|
isGitRepository,
|
|
1616
|
+
isInSafeToolAllowlist,
|
|
1402
1617
|
isInvalidArgumentError,
|
|
1403
1618
|
isModifiableDeclarativeTool,
|
|
1404
1619
|
isNodeError,
|
|
@@ -1408,6 +1623,7 @@ export {
|
|
|
1408
1623
|
isProQuotaExceededError,
|
|
1409
1624
|
isQwenQuotaExceededError,
|
|
1410
1625
|
isRateLimitError,
|
|
1626
|
+
isRuntimeDiagnosticsEnabled,
|
|
1411
1627
|
isSchemaDepthError,
|
|
1412
1628
|
isScopedNpmPackage,
|
|
1413
1629
|
isSdkMcpServerConfig,
|
|
@@ -1418,17 +1634,21 @@ export {
|
|
|
1418
1634
|
isSuccessStatus,
|
|
1419
1635
|
isSupportedImageMimeType,
|
|
1420
1636
|
isTelemetrySdkInitialized,
|
|
1637
|
+
isTerminalEditor,
|
|
1421
1638
|
isTerminalStatus,
|
|
1422
1639
|
isTomlFormat,
|
|
1423
1640
|
isTool,
|
|
1424
1641
|
isToolEnabled,
|
|
1425
1642
|
isTransientCapacityError,
|
|
1426
1643
|
isUnattendedMode,
|
|
1644
|
+
isValidEditorType,
|
|
1427
1645
|
isValidNonThoughtTextPart,
|
|
1428
1646
|
isWindows,
|
|
1429
1647
|
isWithinRoot,
|
|
1648
|
+
judgeGoal,
|
|
1430
1649
|
knownTokenLimit,
|
|
1431
1650
|
layer,
|
|
1651
|
+
loadIgnoreRules,
|
|
1432
1652
|
loadServerHierarchicalMemory,
|
|
1433
1653
|
logApiCancel,
|
|
1434
1654
|
logApiError,
|
|
@@ -1478,9 +1698,12 @@ export {
|
|
|
1478
1698
|
matchesRule,
|
|
1479
1699
|
maybePromptForSettings,
|
|
1480
1700
|
mcpServerRequiresOAuth,
|
|
1701
|
+
mcpTransportOf,
|
|
1481
1702
|
mergeClaudeConfigs,
|
|
1703
|
+
minimaxProvider,
|
|
1482
1704
|
modelProvidersSource,
|
|
1483
1705
|
modelRegistryKey,
|
|
1706
|
+
modelscopeProvider,
|
|
1484
1707
|
modifyWithEditor,
|
|
1485
1708
|
needsConfirmation,
|
|
1486
1709
|
needsUtf8Bom,
|
|
@@ -1488,7 +1711,11 @@ export {
|
|
|
1488
1711
|
normalizeContent,
|
|
1489
1712
|
normalizeMonitorCommand,
|
|
1490
1713
|
normalizeProxyUrl,
|
|
1714
|
+
normalizeSkillPriority,
|
|
1715
|
+
normalizeStopHookBlockingCap,
|
|
1716
|
+
notifyGoalTerminal,
|
|
1491
1717
|
openDiff,
|
|
1718
|
+
openRouterProvider,
|
|
1492
1719
|
openaiLogger,
|
|
1493
1720
|
parse,
|
|
1494
1721
|
parseAndFormatApiError,
|
|
@@ -1508,6 +1735,7 @@ export {
|
|
|
1508
1735
|
parseThought,
|
|
1509
1736
|
partListUnionToString,
|
|
1510
1737
|
partToString,
|
|
1738
|
+
passesAcceptEditsFastPath,
|
|
1511
1739
|
performVariableReplacement,
|
|
1512
1740
|
persistPermissionOutcome,
|
|
1513
1741
|
populateMcpServerCommand,
|
|
@@ -1515,6 +1743,7 @@ export {
|
|
|
1515
1743
|
processSingleFileContent,
|
|
1516
1744
|
promptForSetting,
|
|
1517
1745
|
promptIdContext,
|
|
1746
|
+
providerMatchesCredentials,
|
|
1518
1747
|
qwenOAuth2Events,
|
|
1519
1748
|
read,
|
|
1520
1749
|
readAutoMemoryIndex,
|
|
@@ -1527,7 +1756,9 @@ export {
|
|
|
1527
1756
|
readManyFiles,
|
|
1528
1757
|
readPathFromWorkspace,
|
|
1529
1758
|
readRuntimeStatus,
|
|
1759
|
+
readWorktreeSession,
|
|
1530
1760
|
readWorktreeSessionMarker,
|
|
1761
|
+
recordAllow,
|
|
1531
1762
|
recordApiErrorMetrics,
|
|
1532
1763
|
recordApiRequestBreakdown,
|
|
1533
1764
|
recordApiResponseMetrics,
|
|
@@ -1535,10 +1766,13 @@ export {
|
|
|
1535
1766
|
recordArenaSessionEndedMetrics,
|
|
1536
1767
|
recordArenaSessionStartedMetrics,
|
|
1537
1768
|
recordBaselineComparison,
|
|
1769
|
+
recordBlock,
|
|
1538
1770
|
recordContentRetry,
|
|
1539
1771
|
recordContentRetryFailure,
|
|
1540
1772
|
recordCpuUsage,
|
|
1773
|
+
recordFallbackApprove,
|
|
1541
1774
|
recordFileOperationMetric,
|
|
1775
|
+
recordGoalIteration,
|
|
1542
1776
|
recordInvalidChunk,
|
|
1543
1777
|
recordMemoryDreamMetrics,
|
|
1544
1778
|
recordMemoryExtractMetrics,
|
|
@@ -1553,38 +1787,51 @@ export {
|
|
|
1553
1787
|
recordToolCallMetrics,
|
|
1554
1788
|
recordToolExecutionBreakdown,
|
|
1555
1789
|
recordToolQueueDepth,
|
|
1790
|
+
recordUnavailable,
|
|
1556
1791
|
recursivelyHydrateStrings,
|
|
1557
1792
|
redactProxyCredentials,
|
|
1558
1793
|
redactStructuredOutputArgsForRecording,
|
|
1559
1794
|
refreshSessionContext,
|
|
1795
|
+
registerGoalHook,
|
|
1560
1796
|
removeMCPServerStatus,
|
|
1561
1797
|
removeMCPStatusChangeListener,
|
|
1798
|
+
repairOrphanedToolUseTurns,
|
|
1562
1799
|
replayUiTelemetryFromConversation,
|
|
1563
1800
|
resetDebugLoggingState,
|
|
1801
|
+
resetDenialState,
|
|
1564
1802
|
resetEncodingCache,
|
|
1565
1803
|
resetUtf8BomCache,
|
|
1566
1804
|
resolveAndValidatePath,
|
|
1805
|
+
resolveBaseUrl,
|
|
1567
1806
|
resolveBundleDir,
|
|
1568
1807
|
resolveCommandPath,
|
|
1569
1808
|
resolveContentGeneratorConfigWithSources,
|
|
1570
1809
|
resolveField,
|
|
1571
1810
|
resolveGitDir,
|
|
1811
|
+
resolveMetadataKey,
|
|
1572
1812
|
resolveModelConfig,
|
|
1573
1813
|
resolveModelId,
|
|
1574
1814
|
resolveNpmRegistry,
|
|
1815
|
+
resolveOpenAILogDir,
|
|
1575
1816
|
resolveOptionalField,
|
|
1817
|
+
resolveOwnsModel,
|
|
1576
1818
|
resolvePath,
|
|
1577
1819
|
resolvePathFromEnv,
|
|
1578
1820
|
resolvePathPattern,
|
|
1579
1821
|
resolveRipgrep,
|
|
1822
|
+
resolveStopHookBlockingCap,
|
|
1580
1823
|
resolveTelemetrySettings,
|
|
1581
1824
|
resolveToolName,
|
|
1825
|
+
restoreWorktreeContext,
|
|
1582
1826
|
retryWithBackoff,
|
|
1583
1827
|
rewritePathArgs,
|
|
1584
1828
|
runForkedAgent,
|
|
1829
|
+
runInToolSpanContext,
|
|
1585
1830
|
runRipgrep,
|
|
1586
1831
|
runSideQuery,
|
|
1587
1832
|
runWithDebugLogSession,
|
|
1833
|
+
runWithForkedChatModel,
|
|
1834
|
+
runtimeDiagnostics,
|
|
1588
1835
|
safeAgentId,
|
|
1589
1836
|
safeLiteralReplace,
|
|
1590
1837
|
sanitizeCwd,
|
|
@@ -1595,21 +1842,29 @@ export {
|
|
|
1595
1842
|
saveWelcomeBackRestartChoice,
|
|
1596
1843
|
serializeTerminalToObject,
|
|
1597
1844
|
serializeTerminalToText,
|
|
1845
|
+
setActiveGoal,
|
|
1598
1846
|
setDebugLogSession,
|
|
1599
1847
|
setGeminiMdFilename,
|
|
1848
|
+
setGoalTerminalObserver,
|
|
1849
|
+
setLastGoalTerminal,
|
|
1600
1850
|
setStartupEventSink,
|
|
1601
1851
|
settingsSource,
|
|
1602
1852
|
shortenPath,
|
|
1603
1853
|
shouldAttemptBrowserLaunch,
|
|
1604
1854
|
shouldDefaultToNodePty,
|
|
1855
|
+
shouldFallback,
|
|
1605
1856
|
shouldFilterSuggestion,
|
|
1857
|
+
shouldRunAutoModeForCall,
|
|
1858
|
+
shouldShowStep,
|
|
1606
1859
|
shutdownTelemetry,
|
|
1607
1860
|
splitCommands,
|
|
1608
1861
|
splitCompoundCommand,
|
|
1609
1862
|
splitConditionalSkills,
|
|
1863
|
+
startHookSpan,
|
|
1610
1864
|
startInteractionSpan,
|
|
1611
1865
|
startLLMRequestSpan,
|
|
1612
1866
|
startSpeculation,
|
|
1867
|
+
startToolBlockedOnUserSpan,
|
|
1613
1868
|
startToolExecutionSpan,
|
|
1614
1869
|
startToolSpan,
|
|
1615
1870
|
stringify,
|
|
@@ -1619,17 +1874,23 @@ export {
|
|
|
1619
1874
|
stripTrailingBackgroundAmp,
|
|
1620
1875
|
subagentGenerator,
|
|
1621
1876
|
substituteHookVariables,
|
|
1877
|
+
summarizeAnthropicWireRequest,
|
|
1878
|
+
summarizeOpenAIWireRequest,
|
|
1622
1879
|
summarizeUnifiedDiff,
|
|
1623
1880
|
templateString,
|
|
1624
1881
|
tildeifyPath,
|
|
1625
1882
|
toFriendlyError,
|
|
1626
1883
|
tokenLimit,
|
|
1884
|
+
tokenPlanProvider,
|
|
1627
1885
|
toolMatchesRuleToolName,
|
|
1886
|
+
truncateContent,
|
|
1628
1887
|
truncateJson,
|
|
1888
|
+
truncateSpanError,
|
|
1629
1889
|
tryGenerateSessionTitle,
|
|
1630
1890
|
uiTelemetryService,
|
|
1631
1891
|
unescapeJsonString,
|
|
1632
1892
|
unescapePath,
|
|
1893
|
+
unregisterGoalHook,
|
|
1633
1894
|
updateMCPServerStatus,
|
|
1634
1895
|
updateSetting,
|
|
1635
1896
|
updateSymlink,
|
|
@@ -1643,5 +1904,8 @@ export {
|
|
|
1643
1904
|
writeLine,
|
|
1644
1905
|
writeLineSync,
|
|
1645
1906
|
writeRuntimeStatus,
|
|
1646
|
-
|
|
1907
|
+
writeWorkspaceContextFile,
|
|
1908
|
+
writeWorktreeSession,
|
|
1909
|
+
writeWorktreeSessionMarker,
|
|
1910
|
+
zaiProvider
|
|
1647
1911
|
};
|