@qwen-code/qwen-code 0.18.0-preview.2 → 0.18.1-nightly.20260616.a68b2e1e7
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/loop/SKILL.md +2 -1
- package/bundled/qc-helper/docs/_meta.ts +1 -0
- package/bundled/qc-helper/docs/common-workflow.md +4 -4
- package/bundled/qc-helper/docs/configuration/auth.md +1 -1
- package/bundled/qc-helper/docs/configuration/model-providers.md +13 -6
- package/bundled/qc-helper/docs/configuration/settings.md +90 -89
- package/bundled/qc-helper/docs/features/approval-mode.md +10 -14
- package/bundled/qc-helper/docs/features/commands.md +33 -11
- package/bundled/qc-helper/docs/features/dual-output.md +37 -3
- package/bundled/qc-helper/docs/features/followup-suggestions.md +2 -2
- package/bundled/qc-helper/docs/features/skills.md +29 -3
- package/bundled/qc-helper/docs/features/sub-agents.md +34 -12
- package/bundled/qc-helper/docs/qwen-serve-deploy-local.md +221 -0
- package/bundled/qc-helper/docs/qwen-serve.md +250 -31
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +30 -30
- package/chunks/{agent-QB7TZ4HW.js → agent-PXMT2XR5.js} +25 -24
- package/chunks/agent-headless-SY7VJUHV.js +51 -0
- package/chunks/{anthropicContentGenerator-M45EVVRM.js → anthropicContentGenerator-DCI26OQF.js} +7 -7
- package/chunks/{askUserQuestion-WM2KHM3K.js → askUserQuestion-NDNFGC35.js} +45 -3
- package/chunks/{ca-BARBRL6N.js → ca-RK4QPLIX.js} +18 -1
- package/chunks/{chunk-CNSMKPK6.js → chunk-26QELEL2.js} +1 -1
- package/chunks/{chunk-CWV3SJZS.js → chunk-3NRO6NHX.js} +2 -2
- package/chunks/{chunk-BNESGOSJ.js → chunk-55ZMG67I.js} +1 -1
- package/chunks/{chunk-2ZTWI7KH.js → chunk-6WPY6ES3.js} +62 -22
- package/chunks/{chunk-ZK4AMNIU.js → chunk-A3OEZT2F.js} +1294 -314
- package/chunks/{chunk-HXJE7VOG.js → chunk-ABRZC6FA.js} +1074 -144
- package/chunks/{chunk-JUGRPQAB.js → chunk-B4ZF2KSI.js} +1 -1
- package/chunks/chunk-BJ5HQ23U.js +178 -0
- package/chunks/{chunk-ICOI4E4S.js → chunk-CPVI5J2L.js} +101 -23
- package/chunks/{chunk-GX7VH5JQ.js → chunk-FIQECJTQ.js} +1 -1
- package/chunks/{chunk-QCG6KPNM.js → chunk-H4ZDM3N6.js} +18039 -11622
- package/chunks/{chunk-SZOEIL6S.js → chunk-H6BD2ELD.js} +1 -0
- package/chunks/{chunk-JXAZUMDW.js → chunk-HA2UEYZP.js} +7 -4
- package/chunks/{chunk-MVIVIPCU.js → chunk-IDYDPBBN.js} +361 -583
- package/chunks/{chunk-JVQOQ3OU.js → chunk-IQHSD7K5.js} +1 -1
- package/chunks/{chunk-CNHFPN7T.js → chunk-JZFEL3RB.js} +1 -1
- package/chunks/{chunk-UAMOBVVW.js → chunk-LXYWINWF.js} +1 -1
- package/chunks/{chunk-P4J26VDS.js → chunk-LYRSMKLS.js} +2 -2
- package/chunks/{chunk-Y7R6H6FT.js → chunk-LYSND7KR.js} +9 -4
- package/chunks/{chunk-AVW55ZCO.js → chunk-M5PJ5QAF.js} +37 -16
- package/chunks/{chunk-LR62TEET.js → chunk-NNIYWQIS.js} +1 -1
- package/chunks/chunk-OMX7CUOE.js +356 -0
- package/chunks/{chunk-HV3ZZ7G4.js → chunk-OT6JA3KQ.js} +2 -2
- package/chunks/{chunk-C6WMLUNB.js → chunk-QP4R5FTG.js} +1 -1
- package/chunks/chunk-QQDPRDVW.js +25 -0
- package/chunks/chunk-SFRV6BGY.js +243 -0
- package/chunks/{chunk-NW5QBUYO.js → chunk-TSBXGR73.js} +14 -14
- package/chunks/{chunk-7YKXFA3D.js → chunk-UOB6KPGG.js} +11 -11
- package/chunks/{chunk-USE2VQ5P.js → chunk-VU6A2OBJ.js} +41 -6
- package/chunks/{chunk-PAEBHDIO.js → chunk-VXHYMZXW.js} +1 -1
- package/chunks/{chunk-HGJPQK33.js → chunk-WPTCDQN6.js} +188 -534
- package/chunks/{chunk-WFVXF3OM.js → chunk-Z2Z3GUXZ.js} +1 -0
- package/chunks/{chunk-KC6ZMJ5X.js → chunk-ZMIBJS45.js} +1 -1
- package/chunks/chunk-ZOFNJQNJ.js +607 -0
- package/chunks/computer-use-7SEQDSHB.js +2052 -0
- package/chunks/contextCommand-KM5OWV65.js +53 -0
- package/chunks/cron-create-7CXEAJ2K.js +184 -0
- package/chunks/{cron-delete-ZGUXWBTG.js → cron-delete-2FQYYNQ6.js} +28 -5
- package/chunks/{cron-list-QNNZGMN3.js → cron-list-QCAJ73XE.js} +40 -7
- package/chunks/{de-YGKK2BC4.js → de-FGPM4KW5.js} +18 -1
- package/chunks/{devtools-IXE4UP72.js → devtools-FM6GJPYG.js} +1 -1
- package/chunks/{dist-R2SXPG74.js → dist-2UCAYOX7.js} +2 -2
- package/chunks/{dist-TE5QKMGR.js → dist-33LHH26D.js} +1 -1
- package/chunks/{dist-BXDUQ2QY.js → dist-KF43SZZV.js} +1 -1
- package/chunks/{dist-ZMQ4TXD5.js → dist-PF2IYSMD.js} +2 -2
- package/chunks/{edit-6UBTS2J5.js → edit-BMUKPLA7.js} +27 -28
- package/chunks/{en-HSQQNQUB.js → en-VP6XPGEC.js} +9 -2
- package/chunks/{enter-worktree-NN7LIXCM.js → enter-worktree-LXJ5WJ5A.js} +25 -24
- package/chunks/enterPlanMode-QWRZ54ZF.js +159 -0
- package/chunks/{exit-worktree-GGSS5KIE.js → exit-worktree-5HTQPNZO.js} +25 -24
- package/chunks/exitPlanMode-5WQAXNDA.js +743 -0
- package/chunks/{fr-JXBKPJKQ.js → fr-ATYBVCLT.js} +18 -1
- package/chunks/{geminiContentGenerator-I4H2NLJG.js → geminiContentGenerator-CAKHT5YE.js} +7 -7
- package/chunks/{getMachineId-bsd-F7GNPTER.js → getMachineId-bsd-4CASPIU4.js} +1 -1
- package/chunks/{getMachineId-darwin-T73DJL27.js → getMachineId-darwin-HPQPEMZR.js} +1 -1
- package/chunks/{getMachineId-linux-MKQTFPQM.js → getMachineId-linux-AUARKYHL.js} +1 -1
- package/chunks/{getMachineId-unsupported-MUR5KOQE.js → getMachineId-unsupported-S32ZDA2T.js} +1 -1
- package/chunks/{getMachineId-win-CDYFC6ZM.js → getMachineId-win-4EFLHYIJ.js} +1 -1
- package/chunks/{glob-OLCX57MD.js → glob-5DN6NSCD.js} +25 -24
- package/chunks/{grep-7HXIMDOW.js → grep-BJILOLCD.js} +37 -30
- package/chunks/{ja-TGPZSP2B.js → ja-W2QEA2OI.js} +18 -1
- package/chunks/{keychain-token-storage-LB46DAEK.js → keychain-token-storage-QSTRHKKL.js} +3 -3
- package/chunks/{ls-6PEZUK6O.js → ls-XVGXRYWD.js} +4 -4
- package/chunks/{lsp-JZSJOVT7.js → lsp-S6SHPULC.js} +3 -3
- package/chunks/{monitor-SQO7MVAV.js → monitor-SUEMSRN3.js} +25 -24
- package/chunks/{notebook-edit-72L3EBAL.js → notebook-edit-6F6Z5P6U.js} +26 -25
- package/chunks/{openaiContentGenerator-FTR7CDWF.js → openaiContentGenerator-DO27LL6O.js} +15 -15
- package/chunks/{pt-TIBG6BIO.js → pt-ZKEWJFBW.js} +18 -1
- package/chunks/{qwenContentGenerator-U5UFQ566.js → qwenContentGenerator-DQLGLQSH.js} +27 -26
- package/chunks/{qwenOAuth2-EFSECGHF.js → qwenOAuth2-KK433U33.js} +6 -5
- package/chunks/{read-file-UA64EEQC.js → read-file-3TBLYTOQ.js} +11 -11
- package/chunks/ripGrep-3INYT3QV.js +49 -0
- package/chunks/{ru-JBCHCK4L.js → ru-VEKTPJ74.js} +18 -1
- package/chunks/{scheduler-VBASHOCA.js → scheduler-23KQW6CX.js} +25 -24
- package/chunks/{send-message-OYJZ5TPG.js → send-message-SMNR5DBG.js} +3 -3
- package/chunks/{serve-A7E2OJDR.js → serve-Y5E4LKUI.js} +13164 -3840
- package/chunks/{shell-3NFOT6F5.js → shell-4H6XQXVY.js} +25 -24
- package/chunks/{skill-RA5YUREY.js → skill-SE6FECZR.js} +64 -113
- package/chunks/{src-NFCMARMT.js → src-76DUBH3A.js} +176 -44
- package/chunks/{syntheticOutput-DETQ2YM6.js → syntheticOutput-KMNF7YG6.js} +4 -4
- package/chunks/{task-create-Y3ZKTJIG.js → task-create-LIJHK75G.js} +8 -7
- package/chunks/{task-list-ONXJ3I3A.js → task-list-S4GNSILM.js} +7 -6
- package/chunks/{task-stop-UHDC4N5B.js → task-stop-3GBRYJHM.js} +3 -3
- package/chunks/{task-update-TCNOU3P5.js → task-update-F3UTVJMS.js} +21 -9
- package/chunks/{team-create-6SR4OVRG.js → team-create-Q5DTDDH4.js} +28 -26
- package/chunks/{team-delete-EJ4U4DDP.js → team-delete-54434EB7.js} +9 -6
- package/chunks/{todoWrite-TEYDRS5L.js → todoWrite-4ENGSBUX.js} +5 -5
- package/chunks/{tool-search-OD435A3X.js → tool-search-ABZMSDTU.js} +11 -11
- package/chunks/{web-fetch-6W67H5PO.js → web-fetch-RHZMF3MP.js} +5 -5
- package/chunks/workflow-NEMDQB75.js +1414 -0
- package/chunks/{write-file-475L5OPP.js → write-file-VAEHZPSL.js} +26 -25
- package/chunks/{zh-VCLWO26Y.js → zh-OIXDDQHB.js} +10 -3
- package/chunks/{zh-TW-G3HFHVVT.js → zh-TW-6YFNCKTA.js} +10 -3
- package/cli-entry.js +19 -0
- package/cli.js +11155 -6656
- package/examples/starter/QWEN.md +30 -0
- package/examples/starter/README.md +59 -0
- package/examples/starter/agents/diary.md +86 -0
- package/examples/starter/commands/writing/polish.md +13 -0
- package/examples/starter/example.ts +64 -0
- package/examples/starter/package.json +18 -0
- package/examples/starter/qwen-extension.json +12 -0
- package/examples/starter/skills/synonyms/SKILL.md +48 -0
- package/examples/starter/tsconfig.json +13 -0
- package/fzfWorker.js +1083 -0
- package/locales/ca.js +20 -2
- package/locales/de.js +21 -2
- package/locales/en.js +13 -4
- package/locales/fr.js +22 -2
- package/locales/ja.js +22 -2
- package/locales/pt.js +21 -2
- package/locales/ru.js +20 -2
- package/locales/zh-TW.js +11 -4
- package/locales/zh.js +11 -4
- package/package.json +5 -3
- package/chunks/agent-headless-APVHH7QM.js +0 -50
- package/chunks/chunk-AJIR24J2.js +0 -59
- package/chunks/chunk-SKBPNJEW.js +0 -45
- package/chunks/chunk-XBFVXFB2.js +0 -216
- package/chunks/computer-use-B7VIUI7F.js +0 -825
- package/chunks/contextCommand-63RZ3O5R.js +0 -52
- package/chunks/cron-create-FI5LJVUS.js +0 -140
- package/chunks/exitPlanMode-H323NHB2.js +0 -235
- package/chunks/ripGrep-WSYCWZVK.js +0 -48
- package/chunks/workflow-62DHH4EO.js +0 -708
|
@@ -19,6 +19,8 @@ import {
|
|
|
19
19
|
AgentEventType,
|
|
20
20
|
AgentHeadless,
|
|
21
21
|
AgentInteractive,
|
|
22
|
+
AgentStatus,
|
|
23
|
+
AgentTerminateMode,
|
|
22
24
|
ApprovalMode,
|
|
23
25
|
ArenaAgentClient,
|
|
24
26
|
ArenaEventEmitter,
|
|
@@ -29,6 +31,7 @@ import {
|
|
|
29
31
|
AuthProviderType,
|
|
30
32
|
BACKGROUND_AGENT_CONCURRENCY_ENV,
|
|
31
33
|
BASELINE_COMMIT_MESSAGE,
|
|
34
|
+
BTW_MAX_INPUT_LENGTH,
|
|
32
35
|
BUNDLE_CHUNK_DIR,
|
|
33
36
|
BackgroundAgentResumeService,
|
|
34
37
|
BackgroundShellRegistry,
|
|
@@ -65,7 +68,10 @@ import {
|
|
|
65
68
|
DEFAULT_LSP_WARMUP_DELAY_MS,
|
|
66
69
|
DEFAULT_LSP_WORKSPACE_SYMBOL_WARMUP_DELAY_MS,
|
|
67
70
|
DEFAULT_MAX_CONCURRENT_BACKGROUND_AGENTS,
|
|
71
|
+
DEFAULT_MAX_INLINE_MEDIA_BYTES,
|
|
68
72
|
DEFAULT_STOP_HOOK_BLOCK_CAP,
|
|
73
|
+
DEFAULT_TOOL_OUTPUT_BATCH_BUDGET,
|
|
74
|
+
DEFAULT_TOOL_RESULTS_TOTAL_CHARS_THRESHOLD,
|
|
69
75
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES,
|
|
70
76
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
|
|
71
77
|
DIAGNOSTIC_SEVERITY_LABELS,
|
|
@@ -115,6 +121,7 @@ import {
|
|
|
115
121
|
IdeDiffRejectedNotificationSchema,
|
|
116
122
|
Ignore,
|
|
117
123
|
InProcessBackend,
|
|
124
|
+
InvalidMcpConfigError,
|
|
118
125
|
InvalidStreamError,
|
|
119
126
|
JsonFormatter,
|
|
120
127
|
LITE_READ_BUF_SIZE,
|
|
@@ -134,6 +141,7 @@ import {
|
|
|
134
141
|
MAX_RETAINED_TERMINAL_AGENTS,
|
|
135
142
|
MAX_RETAINED_TERMINAL_MONITORS,
|
|
136
143
|
MAX_RETAINED_TERMINAL_SHELLS,
|
|
144
|
+
MAX_SNAPSHOTS,
|
|
137
145
|
MAX_TRANSCRIPT_MESSAGES,
|
|
138
146
|
MCPDiscoveryState,
|
|
139
147
|
MCPOAuthProvider,
|
|
@@ -145,8 +153,11 @@ import {
|
|
|
145
153
|
MCP_DEFAULT_TIMEOUT_MSEC,
|
|
146
154
|
MOCK_TOOL_GET_CONFIRMATION_DETAILS,
|
|
147
155
|
MOCK_TOOL_GET_DEFAULT_PERMISSION,
|
|
156
|
+
McpBudgetWouldExceedError,
|
|
148
157
|
McpClient,
|
|
149
158
|
McpClientManager,
|
|
159
|
+
McpServerSpawnFailedError,
|
|
160
|
+
McpTransportPool,
|
|
150
161
|
MemoryManager,
|
|
151
162
|
MessageBus,
|
|
152
163
|
MessageBusType,
|
|
@@ -164,6 +175,7 @@ import {
|
|
|
164
175
|
OPENROUTER_ENV_KEY,
|
|
165
176
|
OpenDiffRequestSchema,
|
|
166
177
|
OverlayFs,
|
|
178
|
+
POOLED_TRANSPORTS_DEFAULT,
|
|
167
179
|
PROVIDER_METADATA_NS,
|
|
168
180
|
PermissionManager,
|
|
169
181
|
ProviderInstallError,
|
|
@@ -215,6 +227,7 @@ import {
|
|
|
215
227
|
WORKTREE_BRANCH_PREFIX,
|
|
216
228
|
WORKTREE_SESSION_FILE,
|
|
217
229
|
WorkspaceContext,
|
|
230
|
+
WorkspaceMcpBudget,
|
|
218
231
|
WorkspaceMemoryFileTooLargeError,
|
|
219
232
|
WorkspaceMemoryWriteTimeoutError,
|
|
220
233
|
__resetActiveGoalStoreForTests,
|
|
@@ -234,14 +247,20 @@ import {
|
|
|
234
247
|
appendToLastTextPart,
|
|
235
248
|
applyAutoModeDecision,
|
|
236
249
|
applyProviderInstallPlan,
|
|
250
|
+
approxBase64Bytes,
|
|
237
251
|
buildAddedMcpToolsReminder,
|
|
252
|
+
buildAddedSkillsReminder,
|
|
238
253
|
buildApiHistoryFromConversation,
|
|
254
|
+
buildAvailableSkillsReminder,
|
|
239
255
|
buildBackgroundEntryLabel,
|
|
256
|
+
buildBtwCacheSafeParams,
|
|
257
|
+
buildBtwPrompt,
|
|
240
258
|
buildDeferredToolsReminder,
|
|
241
259
|
buildFallbackApproachSummary,
|
|
242
260
|
buildHumanReadableRuleLabel,
|
|
243
261
|
buildInstallPlan,
|
|
244
262
|
buildMcpServerInstructionsReminder,
|
|
263
|
+
buildMissedCronNotification,
|
|
245
264
|
buildModelIdContext,
|
|
246
265
|
buildPermissionCheckContext,
|
|
247
266
|
buildPermissionRules,
|
|
@@ -255,13 +274,12 @@ import {
|
|
|
255
274
|
checkForExtensionUpdate,
|
|
256
275
|
checkHasEditorType,
|
|
257
276
|
checkNpmUpdate,
|
|
277
|
+
clampInlineMediaPart,
|
|
258
278
|
cleanSummary,
|
|
259
279
|
cleanupTmpDir,
|
|
260
280
|
clearActiveGoal,
|
|
261
|
-
clearAllInboxes,
|
|
262
281
|
clearCacheSafeParams,
|
|
263
282
|
clearGoalTerminalObserver,
|
|
264
|
-
clearInbox,
|
|
265
283
|
clearRuntimeStatus,
|
|
266
284
|
clearWelcomeBackState,
|
|
267
285
|
clearWorktreeSession,
|
|
@@ -269,13 +287,15 @@ import {
|
|
|
269
287
|
cloneFromGit,
|
|
270
288
|
codingPlanProvider,
|
|
271
289
|
collectMemoryDiagnostics,
|
|
290
|
+
collectToolCallIdsFromHistory,
|
|
272
291
|
commandExists,
|
|
273
292
|
computeModelListVersion,
|
|
274
293
|
computeThresholds,
|
|
294
|
+
computeUniqueBranchTitle,
|
|
275
295
|
computedSource,
|
|
276
296
|
connectAndDiscover,
|
|
277
297
|
connectToMcpServer,
|
|
278
|
-
|
|
298
|
+
connectionIdOf,
|
|
279
299
|
convertClaudeAgentConfig,
|
|
280
300
|
convertClaudePluginPackage,
|
|
281
301
|
convertClaudeToQwenConfig,
|
|
@@ -299,8 +319,10 @@ import {
|
|
|
299
319
|
createTransport,
|
|
300
320
|
customProvider,
|
|
301
321
|
decodeTagName,
|
|
322
|
+
dedupeToolCallsById,
|
|
302
323
|
deepseekProvider,
|
|
303
324
|
defaultSource,
|
|
325
|
+
deserializeSnapshots,
|
|
304
326
|
detectBackend,
|
|
305
327
|
detectCommandSubstitution,
|
|
306
328
|
detectIdeFromEnv,
|
|
@@ -312,6 +334,7 @@ import {
|
|
|
312
334
|
downloadFromGitHubRelease,
|
|
313
335
|
downloadFromNpmRegistry,
|
|
314
336
|
editorCommands,
|
|
337
|
+
encodeInsightErrorMessage,
|
|
315
338
|
encodeInsightProgressMessage,
|
|
316
339
|
encodeInsightReadyMessage,
|
|
317
340
|
encodeTagName,
|
|
@@ -394,13 +417,13 @@ import {
|
|
|
394
417
|
getGitRepoName,
|
|
395
418
|
getIdeInstaller,
|
|
396
419
|
getIdeServerHost,
|
|
397
|
-
getInboxPath,
|
|
398
420
|
getInitialChatHistory,
|
|
399
421
|
getInsightPrompt,
|
|
400
422
|
getLastGoalTerminal,
|
|
401
423
|
getMCPDiscoveryState,
|
|
402
424
|
getMCPServerPrompts,
|
|
403
425
|
getMCPServerStatus,
|
|
426
|
+
getMaxInlineMediaBytes,
|
|
404
427
|
getMonitorOutputPath,
|
|
405
428
|
getPlanModeSystemReminder,
|
|
406
429
|
getProjectSummaryInfo,
|
|
@@ -411,6 +434,7 @@ import {
|
|
|
411
434
|
getResponseText,
|
|
412
435
|
getResponseTextFromParts,
|
|
413
436
|
getResumePromptTokenCount,
|
|
437
|
+
getResumeTokenCounts,
|
|
414
438
|
getRuleDisplayName,
|
|
415
439
|
getScopedEnvContents,
|
|
416
440
|
getShellAbortReasonKind,
|
|
@@ -427,6 +451,7 @@ import {
|
|
|
427
451
|
hasNonFinalTopLevelBackgroundOperator,
|
|
428
452
|
hasShellSubstitution,
|
|
429
453
|
hasUnsafeMonitorBackgroundOperator,
|
|
454
|
+
hashMcpServerConfig,
|
|
430
455
|
hashValue,
|
|
431
456
|
hookEventSupportsMatcher,
|
|
432
457
|
hydrateString,
|
|
@@ -446,6 +471,7 @@ import {
|
|
|
446
471
|
isDenialFallbackReason,
|
|
447
472
|
isEditorAvailable,
|
|
448
473
|
isEnabled,
|
|
474
|
+
isGatedMcpScope,
|
|
449
475
|
isGenericQuotaExceededError,
|
|
450
476
|
isGitRepository,
|
|
451
477
|
isInSafeToolAllowlist,
|
|
@@ -459,9 +485,12 @@ import {
|
|
|
459
485
|
isSchemaDepthError,
|
|
460
486
|
isScopedNpmPackage,
|
|
461
487
|
isSdkMcpServerConfig,
|
|
488
|
+
isSettledStatus,
|
|
462
489
|
isStructuredError,
|
|
490
|
+
isSuccessStatus,
|
|
463
491
|
isSystemReminderContent,
|
|
464
492
|
isTerminalEditor,
|
|
493
|
+
isTerminalStatus,
|
|
465
494
|
isTomlFormat,
|
|
466
495
|
isToolEnabled,
|
|
467
496
|
isTransientCapacityError,
|
|
@@ -471,6 +500,7 @@ import {
|
|
|
471
500
|
isWindows,
|
|
472
501
|
judgeGoal,
|
|
473
502
|
layer,
|
|
503
|
+
listMcpPrompts,
|
|
474
504
|
loadIgnoreRules,
|
|
475
505
|
loadServerHierarchicalMemory,
|
|
476
506
|
loadUsageHistory,
|
|
@@ -492,6 +522,7 @@ import {
|
|
|
492
522
|
needsConfirmation,
|
|
493
523
|
needsUtf8Bom,
|
|
494
524
|
normalizeContent,
|
|
525
|
+
normalizeModelToolCallIds,
|
|
495
526
|
normalizeMonitorCommand,
|
|
496
527
|
normalizeProxyUrl,
|
|
497
528
|
normalizeSkillPriority,
|
|
@@ -499,8 +530,10 @@ import {
|
|
|
499
530
|
notifyGoalTerminal,
|
|
500
531
|
openDiff,
|
|
501
532
|
openRouterProvider,
|
|
533
|
+
oversizedMediaPlaceholder,
|
|
502
534
|
parse,
|
|
503
535
|
parseAndFormatApiError,
|
|
536
|
+
parseConnectionId,
|
|
504
537
|
parseDeletedFromNameStatus,
|
|
505
538
|
parseGitDiff,
|
|
506
539
|
parseGitHubRepoForReleases,
|
|
@@ -526,7 +559,6 @@ import {
|
|
|
526
559
|
providerMatchesCredentials,
|
|
527
560
|
read,
|
|
528
561
|
readAutoMemoryIndex,
|
|
529
|
-
readInbox,
|
|
530
562
|
readLastJsonStringFieldSync,
|
|
531
563
|
readLastJsonStringFieldsSync,
|
|
532
564
|
readLines,
|
|
@@ -581,15 +613,16 @@ import {
|
|
|
581
613
|
sanitizeToolCallResultForRecording,
|
|
582
614
|
saveCacheSafeParams,
|
|
583
615
|
saveWelcomeBackRestartChoice,
|
|
584
|
-
|
|
616
|
+
serializeSnapshot,
|
|
585
617
|
serializeTerminalToObject,
|
|
586
618
|
serializeTerminalToText,
|
|
619
|
+
sessionIdContext,
|
|
587
620
|
setActiveGoal,
|
|
588
621
|
setGoalTerminalObserver,
|
|
589
622
|
setLastGoalTerminal,
|
|
623
|
+
setMCPDiscoveryState,
|
|
590
624
|
setStartupEventSink,
|
|
591
625
|
settingsSource,
|
|
592
|
-
shouldAttemptBrowserLaunch,
|
|
593
626
|
shouldDefaultToNodePty,
|
|
594
627
|
shouldFallback,
|
|
595
628
|
shouldFilterSuggestion,
|
|
@@ -625,31 +658,36 @@ import {
|
|
|
625
658
|
write,
|
|
626
659
|
writeLine,
|
|
627
660
|
writeLineSync,
|
|
628
|
-
writeMessage,
|
|
629
661
|
writeRuntimeStatus,
|
|
630
662
|
writeWorkspaceContextFile,
|
|
631
663
|
writeWorktreeSession,
|
|
632
664
|
writeWorktreeSessionMarker,
|
|
633
665
|
zaiProvider
|
|
634
|
-
} from "./chunk-
|
|
666
|
+
} from "./chunk-H4ZDM3N6.js";
|
|
635
667
|
import "./chunk-K5PGHDBN.js";
|
|
636
668
|
import {
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
isSettledStatus,
|
|
640
|
-
isSuccessStatus,
|
|
641
|
-
isTerminalStatus
|
|
642
|
-
} from "./chunk-SKBPNJEW.js";
|
|
669
|
+
runSideQuery
|
|
670
|
+
} from "./chunk-VXHYMZXW.js";
|
|
643
671
|
import "./chunk-O4PICXES.js";
|
|
644
672
|
import "./chunk-TW522KN6.js";
|
|
673
|
+
import "./chunk-BJ5HQ23U.js";
|
|
645
674
|
import {
|
|
675
|
+
clearAllInboxes,
|
|
676
|
+
clearInbox,
|
|
677
|
+
consumeUnread,
|
|
678
|
+
disposeInboxLocks,
|
|
646
679
|
forwardApproval,
|
|
680
|
+
getInboxPath,
|
|
647
681
|
getLeader,
|
|
682
|
+
readInbox,
|
|
648
683
|
registerLeader,
|
|
684
|
+
sendStructuredMessage,
|
|
649
685
|
unregisterLeader,
|
|
650
|
-
wrapConfirmWithBadge
|
|
651
|
-
|
|
686
|
+
wrapConfirmWithBadge,
|
|
687
|
+
writeMessage
|
|
688
|
+
} from "./chunk-SFRV6BGY.js";
|
|
652
689
|
import {
|
|
690
|
+
RECIPROCAL_CALLER,
|
|
653
691
|
TaskOwnershipError,
|
|
654
692
|
assertValidTaskId,
|
|
655
693
|
blockTask,
|
|
@@ -666,9 +704,10 @@ import {
|
|
|
666
704
|
resetTaskList,
|
|
667
705
|
unassignTeammateTasks,
|
|
668
706
|
updateTask
|
|
669
|
-
} from "./chunk-
|
|
707
|
+
} from "./chunk-ZOFNJQNJ.js";
|
|
670
708
|
import {
|
|
671
709
|
assignTeammateColor,
|
|
710
|
+
classifyShutdownResponse,
|
|
672
711
|
clearTeammateColors,
|
|
673
712
|
createTeamFile,
|
|
674
713
|
deleteTeamDirs,
|
|
@@ -687,14 +726,12 @@ import {
|
|
|
687
726
|
setMemberActive,
|
|
688
727
|
tryReclaimStaleTeam,
|
|
689
728
|
writeTeamFile
|
|
690
|
-
} from "./chunk-
|
|
729
|
+
} from "./chunk-WPTCDQN6.js";
|
|
730
|
+
import "./chunk-OMX7CUOE.js";
|
|
691
731
|
import {
|
|
692
732
|
InputFormat,
|
|
693
733
|
OutputFormat
|
|
694
734
|
} from "./chunk-MLZQVCF3.js";
|
|
695
|
-
import {
|
|
696
|
-
runSideQuery
|
|
697
|
-
} from "./chunk-PAEBHDIO.js";
|
|
698
735
|
import {
|
|
699
736
|
INBOXES_DIR,
|
|
700
737
|
LEADER_NAME,
|
|
@@ -717,7 +754,7 @@ import {
|
|
|
717
754
|
import {
|
|
718
755
|
applySkillAllowedTools,
|
|
719
756
|
buildSkillLlmContent
|
|
720
|
-
} from "./chunk-
|
|
757
|
+
} from "./chunk-CPVI5J2L.js";
|
|
721
758
|
import {
|
|
722
759
|
AgentType,
|
|
723
760
|
DefaultHookOutput,
|
|
@@ -744,15 +781,14 @@ import {
|
|
|
744
781
|
detectTodoChanges,
|
|
745
782
|
getHookKey,
|
|
746
783
|
sanitizeUserPromptExpansionAdditionalContext
|
|
747
|
-
} from "./chunk-
|
|
784
|
+
} from "./chunk-ZMIBJS45.js";
|
|
748
785
|
import {
|
|
749
786
|
DEFAULT_FILE_FILTERING_OPTIONS,
|
|
750
787
|
DEFAULT_MEMORY_FILE_FILTERING_OPTIONS
|
|
751
788
|
} from "./chunk-77WXWU44.js";
|
|
752
789
|
import {
|
|
753
790
|
KeychainTokenStorage
|
|
754
|
-
} from "./chunk-
|
|
755
|
-
import "./chunk-64WXLC72.js";
|
|
791
|
+
} from "./chunk-B4ZF2KSI.js";
|
|
756
792
|
import {
|
|
757
793
|
AGENT_CONTEXT_FILENAME,
|
|
758
794
|
ApiCancelEvent,
|
|
@@ -767,6 +803,8 @@ import {
|
|
|
767
803
|
COMMON_DIRECTORY_EXCLUDES,
|
|
768
804
|
COMMON_IGNORE_PATTERNS,
|
|
769
805
|
ConversationFinishedEvent,
|
|
806
|
+
DAEMON_TRACEPARENT_META_KEY,
|
|
807
|
+
DAEMON_TRACESTATE_META_KEY,
|
|
770
808
|
DEFAULT_CONTEXT_FILENAME,
|
|
771
809
|
DEFAULT_ENCODING,
|
|
772
810
|
DEFAULT_FILE_EXCLUDES,
|
|
@@ -825,21 +863,24 @@ import {
|
|
|
825
863
|
UserFeedbackRating,
|
|
826
864
|
UserPromptEvent,
|
|
827
865
|
UserRetryEvent,
|
|
866
|
+
addDaemonRequestAttribute,
|
|
828
867
|
addModelOutputAttributes,
|
|
829
868
|
addSystemPromptAttributes,
|
|
830
869
|
addToolInputAttributes,
|
|
831
870
|
addToolResultAttributes,
|
|
832
871
|
addToolSchemaAttributes,
|
|
833
872
|
addUserPromptAttributes,
|
|
834
|
-
|
|
873
|
+
captureDaemonTelemetryContext,
|
|
835
874
|
countFileLines,
|
|
836
875
|
createContentGenerator,
|
|
837
876
|
createContentGeneratorConfig,
|
|
877
|
+
createDaemonBridgeTelemetry,
|
|
838
878
|
decodeBufferWithEncodingInfo,
|
|
839
879
|
detectBOM,
|
|
840
880
|
detectEncodingFromBuffer,
|
|
841
881
|
detectFileEncoding,
|
|
842
882
|
detectFileType,
|
|
883
|
+
emitDaemonLog,
|
|
843
884
|
endHookSpan,
|
|
844
885
|
endInteractionSpan,
|
|
845
886
|
endLLMRequestSpan,
|
|
@@ -847,8 +888,10 @@ import {
|
|
|
847
888
|
endToolBlockedOnUserSpan,
|
|
848
889
|
endToolExecutionSpan,
|
|
849
890
|
endToolSpan,
|
|
891
|
+
extractDaemonTraceContext,
|
|
850
892
|
extractExtensionsFromPatterns,
|
|
851
893
|
fileExists,
|
|
894
|
+
forceFlushMetrics,
|
|
852
895
|
generateValidName,
|
|
853
896
|
getActiveInteractionSpan,
|
|
854
897
|
getAllGeminiMdFilenames,
|
|
@@ -856,7 +899,10 @@ import {
|
|
|
856
899
|
getCurrentGeminiMdFilename,
|
|
857
900
|
getSpecificMimeType,
|
|
858
901
|
getSystemEncoding,
|
|
902
|
+
hashDaemonWorkspace,
|
|
903
|
+
initializeDaemonMetrics,
|
|
859
904
|
initializeTelemetry,
|
|
905
|
+
injectDaemonTraceContext,
|
|
860
906
|
isBinaryFile,
|
|
861
907
|
isPerformanceMonitoringActive,
|
|
862
908
|
isTelemetrySdkInitialized,
|
|
@@ -919,6 +965,15 @@ import {
|
|
|
919
965
|
recordContentRetry,
|
|
920
966
|
recordContentRetryFailure,
|
|
921
967
|
recordCpuUsage,
|
|
968
|
+
recordDaemonBridgeError,
|
|
969
|
+
recordDaemonCancel,
|
|
970
|
+
recordDaemonChannelLifecycle,
|
|
971
|
+
recordDaemonError,
|
|
972
|
+
recordDaemonHttpRequest,
|
|
973
|
+
recordDaemonHttpResponse,
|
|
974
|
+
recordDaemonPromptDuration,
|
|
975
|
+
recordDaemonPromptQueueWait,
|
|
976
|
+
recordDaemonSessionLifecycle,
|
|
922
977
|
recordFileOperationMetric,
|
|
923
978
|
recordInvalidChunk,
|
|
924
979
|
recordMemoryDreamMetrics,
|
|
@@ -934,12 +989,14 @@ import {
|
|
|
934
989
|
recordToolExecutionBreakdown,
|
|
935
990
|
recordToolQueueDepth,
|
|
936
991
|
refreshSessionContext,
|
|
992
|
+
registerDaemonGaugeCallbacks,
|
|
937
993
|
resetEncodingCache,
|
|
938
994
|
resolveContentGeneratorConfigWithSources,
|
|
939
995
|
resolveOpenAILogDir,
|
|
940
996
|
resolveTelemetrySettings,
|
|
941
997
|
runInSubagentSpanContext,
|
|
942
998
|
runInToolSpanContext,
|
|
999
|
+
runWithDaemonTelemetryContext,
|
|
943
1000
|
sanitizeHookName,
|
|
944
1001
|
setGeminiMdFilename,
|
|
945
1002
|
shutdownTelemetry,
|
|
@@ -955,8 +1012,12 @@ import {
|
|
|
955
1012
|
truncateSpanError,
|
|
956
1013
|
uiTelemetryService,
|
|
957
1014
|
validateModelConfig,
|
|
958
|
-
windowsCodePageToEncoding
|
|
959
|
-
|
|
1015
|
+
windowsCodePageToEncoding,
|
|
1016
|
+
withDaemonBridgeSpan,
|
|
1017
|
+
withDaemonRequestSpan,
|
|
1018
|
+
withDaemonSpan,
|
|
1019
|
+
withInteractionSpan
|
|
1020
|
+
} from "./chunk-A3OEZT2F.js";
|
|
960
1021
|
import "./chunk-3PJXIDKI.js";
|
|
961
1022
|
import "./chunk-UWCTAVOD.js";
|
|
962
1023
|
import {
|
|
@@ -989,9 +1050,9 @@ import {
|
|
|
989
1050
|
isAnyAutoMemPath,
|
|
990
1051
|
isAutoMemPath,
|
|
991
1052
|
isUserAutoMemPath
|
|
992
|
-
} from "./chunk-
|
|
993
|
-
import "./chunk-
|
|
994
|
-
import "./chunk-
|
|
1053
|
+
} from "./chunk-IQHSD7K5.js";
|
|
1054
|
+
import "./chunk-LYRSMKLS.js";
|
|
1055
|
+
import "./chunk-26QELEL2.js";
|
|
995
1056
|
import {
|
|
996
1057
|
AgentStatistics,
|
|
997
1058
|
BaseDeclarativeTool,
|
|
@@ -1009,7 +1070,7 @@ import {
|
|
|
1009
1070
|
ToolNamesMigration,
|
|
1010
1071
|
hasCycleInSchema,
|
|
1011
1072
|
isTool
|
|
1012
|
-
} from "./chunk-
|
|
1073
|
+
} from "./chunk-6WPY6ES3.js";
|
|
1013
1074
|
import {
|
|
1014
1075
|
CredentialsClearRequiredError,
|
|
1015
1076
|
QWEN_CREDENTIAL_FILE_MODE,
|
|
@@ -1023,20 +1084,25 @@ import {
|
|
|
1023
1084
|
generateCodeVerifier,
|
|
1024
1085
|
generatePKCEPair,
|
|
1025
1086
|
getQwenOAuthClient,
|
|
1087
|
+
isBrowserCommandBlocked,
|
|
1026
1088
|
isDeviceAuthorizationSuccess,
|
|
1027
1089
|
isDeviceTokenPending,
|
|
1028
1090
|
isDeviceTokenSuccess,
|
|
1029
1091
|
isErrorResponse,
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1092
|
+
openBrowserSecurely,
|
|
1093
|
+
qwenOAuth2Events,
|
|
1094
|
+
shouldAttemptBrowserLaunch,
|
|
1095
|
+
shouldLaunchBrowser
|
|
1096
|
+
} from "./chunk-IDYDPBBN.js";
|
|
1097
|
+
import "./chunk-FIQECJTQ.js";
|
|
1098
|
+
import "./chunk-64WXLC72.js";
|
|
1033
1099
|
import {
|
|
1034
1100
|
atomicWriteFile,
|
|
1035
1101
|
atomicWriteFileSync,
|
|
1036
1102
|
atomicWriteJSON,
|
|
1037
1103
|
renameWithRetry,
|
|
1038
1104
|
renameWithRetrySync
|
|
1039
|
-
} from "./chunk-
|
|
1105
|
+
} from "./chunk-LXYWINWF.js";
|
|
1040
1106
|
import {
|
|
1041
1107
|
SUPPORTED_IMAGE_MIME_TYPES,
|
|
1042
1108
|
TextTokenizer,
|
|
@@ -1046,7 +1112,7 @@ import {
|
|
|
1046
1112
|
getUnsupportedImageFormatWarning,
|
|
1047
1113
|
isSupportedImageMimeType,
|
|
1048
1114
|
redactProxyCredentials
|
|
1049
|
-
} from "./chunk-
|
|
1115
|
+
} from "./chunk-NNIYWQIS.js";
|
|
1050
1116
|
import {
|
|
1051
1117
|
CAPPED_DEFAULT_MAX_TOKENS,
|
|
1052
1118
|
DEFAULT_OUTPUT_TOKEN_LIMIT,
|
|
@@ -1061,9 +1127,9 @@ import {
|
|
|
1061
1127
|
summarizeAnthropicWireRequest,
|
|
1062
1128
|
summarizeOpenAIWireRequest,
|
|
1063
1129
|
tokenLimit
|
|
1064
|
-
} from "./chunk-
|
|
1065
|
-
import "./chunk-
|
|
1066
|
-
import "./chunk-
|
|
1130
|
+
} from "./chunk-LYSND7KR.js";
|
|
1131
|
+
import "./chunk-55ZMG67I.js";
|
|
1132
|
+
import "./chunk-H6BD2ELD.js";
|
|
1067
1133
|
import "./chunk-5IFG2VC4.js";
|
|
1068
1134
|
import {
|
|
1069
1135
|
BadRequestError,
|
|
@@ -1111,14 +1177,14 @@ import {
|
|
|
1111
1177
|
unescapePath,
|
|
1112
1178
|
updateSymlink,
|
|
1113
1179
|
validatePath
|
|
1114
|
-
} from "./chunk-
|
|
1180
|
+
} from "./chunk-HA2UEYZP.js";
|
|
1115
1181
|
import "./chunk-ZERZSAZL.js";
|
|
1116
1182
|
import "./chunk-QN5NZ3UQ.js";
|
|
1117
1183
|
import "./chunk-BR4QREVK.js";
|
|
1118
1184
|
import {
|
|
1119
1185
|
SpanStatusCode,
|
|
1120
1186
|
ValueType
|
|
1121
|
-
} from "./chunk-
|
|
1187
|
+
} from "./chunk-Z2Z3GUXZ.js";
|
|
1122
1188
|
import "./chunk-A4BMJM77.js";
|
|
1123
1189
|
import "./chunk-J2S4EL5Y.js";
|
|
1124
1190
|
export {
|
|
@@ -1169,6 +1235,7 @@ export {
|
|
|
1169
1235
|
BASELINE_COMMIT_MESSAGE,
|
|
1170
1236
|
BINARY_EXTENSIONS,
|
|
1171
1237
|
BINARY_FILE_PATTERNS,
|
|
1238
|
+
BTW_MAX_INPUT_LENGTH,
|
|
1172
1239
|
BUNDLE_CHUNK_DIR,
|
|
1173
1240
|
BackgroundAgentResumeService,
|
|
1174
1241
|
BackgroundShellRegistry,
|
|
@@ -1199,6 +1266,8 @@ export {
|
|
|
1199
1266
|
CoreToolScheduler,
|
|
1200
1267
|
CredentialsClearRequiredError,
|
|
1201
1268
|
CronScheduler,
|
|
1269
|
+
DAEMON_TRACEPARENT_META_KEY,
|
|
1270
|
+
DAEMON_TRACESTATE_META_KEY,
|
|
1202
1271
|
DEFAULT_AUTO_DREAM_MIN_HOURS,
|
|
1203
1272
|
DEFAULT_AUTO_DREAM_MIN_SESSIONS,
|
|
1204
1273
|
DEFAULT_BACKGROUND_AGENT_CONTINUATION_MESSAGE,
|
|
@@ -1218,6 +1287,7 @@ export {
|
|
|
1218
1287
|
DEFAULT_LSP_WARMUP_DELAY_MS,
|
|
1219
1288
|
DEFAULT_LSP_WORKSPACE_SYMBOL_WARMUP_DELAY_MS,
|
|
1220
1289
|
DEFAULT_MAX_CONCURRENT_BACKGROUND_AGENTS,
|
|
1290
|
+
DEFAULT_MAX_INLINE_MEDIA_BYTES,
|
|
1221
1291
|
DEFAULT_MEMORY_FILE_FILTERING_OPTIONS,
|
|
1222
1292
|
DEFAULT_OTLP_ENDPOINT,
|
|
1223
1293
|
DEFAULT_OUTPUT_TOKEN_LIMIT,
|
|
@@ -1227,6 +1297,8 @@ export {
|
|
|
1227
1297
|
DEFAULT_STOP_HOOK_BLOCK_CAP,
|
|
1228
1298
|
DEFAULT_TELEMETRY_TARGET,
|
|
1229
1299
|
DEFAULT_TOKEN_LIMIT,
|
|
1300
|
+
DEFAULT_TOOL_OUTPUT_BATCH_BUDGET,
|
|
1301
|
+
DEFAULT_TOOL_RESULTS_TOTAL_CHARS_THRESHOLD,
|
|
1230
1302
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES,
|
|
1231
1303
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
|
|
1232
1304
|
DIAGNOSTIC_SEVERITY_LABELS,
|
|
@@ -1311,6 +1383,7 @@ export {
|
|
|
1311
1383
|
Ignore,
|
|
1312
1384
|
InProcessBackend,
|
|
1313
1385
|
InputFormat,
|
|
1386
|
+
InvalidMcpConfigError,
|
|
1314
1387
|
InvalidStreamError,
|
|
1315
1388
|
JsonFormatter,
|
|
1316
1389
|
KeychainTokenStorage,
|
|
@@ -1338,6 +1411,7 @@ export {
|
|
|
1338
1411
|
MAX_RETAINED_TERMINAL_AGENTS,
|
|
1339
1412
|
MAX_RETAINED_TERMINAL_MONITORS,
|
|
1340
1413
|
MAX_RETAINED_TERMINAL_SHELLS,
|
|
1414
|
+
MAX_SNAPSHOTS,
|
|
1341
1415
|
MAX_TEAMMATES,
|
|
1342
1416
|
MAX_TRANSCRIPT_MESSAGES,
|
|
1343
1417
|
MAX_USER_PROMPT_EXPANSION_ADDITIONAL_CONTEXT_LENGTH,
|
|
@@ -1355,8 +1429,11 @@ export {
|
|
|
1355
1429
|
MOCK_TOOL_GET_DEFAULT_PERMISSION,
|
|
1356
1430
|
MODEL_GENERATION_CONFIG_FIELDS,
|
|
1357
1431
|
MUTATOR_KINDS,
|
|
1432
|
+
McpBudgetWouldExceedError,
|
|
1358
1433
|
McpClient,
|
|
1359
1434
|
McpClientManager,
|
|
1435
|
+
McpServerSpawnFailedError,
|
|
1436
|
+
McpTransportPool,
|
|
1360
1437
|
MemoryDreamEvent,
|
|
1361
1438
|
MemoryExtractEvent,
|
|
1362
1439
|
MemoryManager,
|
|
@@ -1386,6 +1463,7 @@ export {
|
|
|
1386
1463
|
OutputFormat,
|
|
1387
1464
|
OverlayFs,
|
|
1388
1465
|
PATH_ARG_KEYS,
|
|
1466
|
+
POOLED_TRANSPORTS_DEFAULT,
|
|
1389
1467
|
PROVIDER_METADATA_NS,
|
|
1390
1468
|
PYTHON_EXCLUDES,
|
|
1391
1469
|
PerformanceMetricType,
|
|
@@ -1409,6 +1487,7 @@ export {
|
|
|
1409
1487
|
QwenOAuth2Client,
|
|
1410
1488
|
QwenOAuth2Event,
|
|
1411
1489
|
QwenOAuthPollError,
|
|
1490
|
+
RECIPROCAL_CALLER,
|
|
1412
1491
|
REDACTED_URL_CREDENTIAL,
|
|
1413
1492
|
RUNTIME_SNAPSHOT_PREFIX,
|
|
1414
1493
|
RUNTIME_STATUS_SCHEMA_VERSION,
|
|
@@ -1498,6 +1577,7 @@ export {
|
|
|
1498
1577
|
WORKTREE_BRANCH_PREFIX,
|
|
1499
1578
|
WORKTREE_SESSION_FILE,
|
|
1500
1579
|
WorkspaceContext,
|
|
1580
|
+
WorkspaceMcpBudget,
|
|
1501
1581
|
WorkspaceMemoryFileTooLargeError,
|
|
1502
1582
|
WorkspaceMemoryWriteTimeoutError,
|
|
1503
1583
|
__resetActiveGoalStoreForTests,
|
|
@@ -1511,6 +1591,7 @@ export {
|
|
|
1511
1591
|
acceptSpeculation,
|
|
1512
1592
|
acquireSleepInhibitor,
|
|
1513
1593
|
activeGoalEquals,
|
|
1594
|
+
addDaemonRequestAttribute,
|
|
1514
1595
|
addMCPStatusChangeListener,
|
|
1515
1596
|
addModelOutputAttributes,
|
|
1516
1597
|
addSystemPromptAttributes,
|
|
@@ -1525,6 +1606,7 @@ export {
|
|
|
1525
1606
|
applyAutoModeDecision,
|
|
1526
1607
|
applyProviderInstallPlan,
|
|
1527
1608
|
applySkillAllowedTools,
|
|
1609
|
+
approxBase64Bytes,
|
|
1528
1610
|
assertValidTaskId,
|
|
1529
1611
|
assignTeammateColor,
|
|
1530
1612
|
atomicWriteFile,
|
|
@@ -1532,13 +1614,18 @@ export {
|
|
|
1532
1614
|
atomicWriteJSON,
|
|
1533
1615
|
blockTask,
|
|
1534
1616
|
buildAddedMcpToolsReminder,
|
|
1617
|
+
buildAddedSkillsReminder,
|
|
1535
1618
|
buildApiHistoryFromConversation,
|
|
1619
|
+
buildAvailableSkillsReminder,
|
|
1536
1620
|
buildBackgroundEntryLabel,
|
|
1621
|
+
buildBtwCacheSafeParams,
|
|
1622
|
+
buildBtwPrompt,
|
|
1537
1623
|
buildDeferredToolsReminder,
|
|
1538
1624
|
buildFallbackApproachSummary,
|
|
1539
1625
|
buildHumanReadableRuleLabel,
|
|
1540
1626
|
buildInstallPlan,
|
|
1541
1627
|
buildMcpServerInstructionsReminder,
|
|
1628
|
+
buildMissedCronNotification,
|
|
1542
1629
|
buildModelIdContext,
|
|
1543
1630
|
buildPermissionCheckContext,
|
|
1544
1631
|
buildPermissionRules,
|
|
@@ -1549,12 +1636,15 @@ export {
|
|
|
1549
1636
|
buildTeammatePromptAddendum,
|
|
1550
1637
|
cacheQwenCredentials,
|
|
1551
1638
|
canUseRipgrep,
|
|
1639
|
+
captureDaemonTelemetryContext,
|
|
1552
1640
|
checkArgumentSafety,
|
|
1553
1641
|
checkCommandPermissions,
|
|
1554
1642
|
checkForExtensionUpdate,
|
|
1555
1643
|
checkHasEditorType,
|
|
1556
1644
|
checkNpmUpdate,
|
|
1557
1645
|
claimTask,
|
|
1646
|
+
clampInlineMediaPart,
|
|
1647
|
+
classifyShutdownResponse,
|
|
1558
1648
|
cleanSummary,
|
|
1559
1649
|
cleanupTmpDir,
|
|
1560
1650
|
clearActiveGoal,
|
|
@@ -1562,7 +1652,6 @@ export {
|
|
|
1562
1652
|
clearAutoMemoryRootCache,
|
|
1563
1653
|
clearCacheSafeParams,
|
|
1564
1654
|
clearCachedCredentialFile,
|
|
1565
|
-
clearDetailedSpanState,
|
|
1566
1655
|
clearGoalTerminalObserver,
|
|
1567
1656
|
clearInbox,
|
|
1568
1657
|
clearQwenCredentials,
|
|
@@ -1574,12 +1663,15 @@ export {
|
|
|
1574
1663
|
cloneFromGit,
|
|
1575
1664
|
codingPlanProvider,
|
|
1576
1665
|
collectMemoryDiagnostics,
|
|
1666
|
+
collectToolCallIdsFromHistory,
|
|
1577
1667
|
commandExists,
|
|
1578
1668
|
computeModelListVersion,
|
|
1579
1669
|
computeThresholds,
|
|
1670
|
+
computeUniqueBranchTitle,
|
|
1580
1671
|
computedSource,
|
|
1581
1672
|
connectAndDiscover,
|
|
1582
1673
|
connectToMcpServer,
|
|
1674
|
+
connectionIdOf,
|
|
1583
1675
|
consumeUnread,
|
|
1584
1676
|
convertClaudeAgentConfig,
|
|
1585
1677
|
convertClaudePluginPackage,
|
|
@@ -1593,6 +1685,7 @@ export {
|
|
|
1593
1685
|
crawlCache_exports as crawlCache,
|
|
1594
1686
|
createContentGenerator,
|
|
1595
1687
|
createContentGeneratorConfig,
|
|
1688
|
+
createDaemonBridgeTelemetry,
|
|
1596
1689
|
createDebugLogger,
|
|
1597
1690
|
createDefaultAutoMemoryExtractCursor,
|
|
1598
1691
|
createDefaultAutoMemoryIndex,
|
|
@@ -1612,10 +1705,12 @@ export {
|
|
|
1612
1705
|
customProvider,
|
|
1613
1706
|
decodeBufferWithEncodingInfo,
|
|
1614
1707
|
decodeTagName,
|
|
1708
|
+
dedupeToolCallsById,
|
|
1615
1709
|
deepseekProvider,
|
|
1616
1710
|
defaultSource,
|
|
1617
1711
|
deleteTask,
|
|
1618
1712
|
deleteTeamDirs,
|
|
1713
|
+
deserializeSnapshots,
|
|
1619
1714
|
detectBOM,
|
|
1620
1715
|
detectBackend,
|
|
1621
1716
|
detectCommandSubstitution,
|
|
@@ -1629,10 +1724,13 @@ export {
|
|
|
1629
1724
|
discoverMcpTools,
|
|
1630
1725
|
discoverPrompts,
|
|
1631
1726
|
discoverTools,
|
|
1727
|
+
disposeInboxLocks,
|
|
1632
1728
|
doesToolInvocationMatch,
|
|
1633
1729
|
downloadFromGitHubRelease,
|
|
1634
1730
|
downloadFromNpmRegistry,
|
|
1635
1731
|
editorCommands,
|
|
1732
|
+
emitDaemonLog,
|
|
1733
|
+
encodeInsightErrorMessage,
|
|
1636
1734
|
encodeInsightProgressMessage,
|
|
1637
1735
|
encodeInsightReadyMessage,
|
|
1638
1736
|
encodeTagName,
|
|
@@ -1661,6 +1759,7 @@ export {
|
|
|
1661
1759
|
executeToolCall,
|
|
1662
1760
|
exists,
|
|
1663
1761
|
expandHomeDir,
|
|
1762
|
+
extractDaemonTraceContext,
|
|
1664
1763
|
extractExtensionsFromPatterns,
|
|
1665
1764
|
extractFile,
|
|
1666
1765
|
extractJsonStringField,
|
|
@@ -1684,6 +1783,7 @@ export {
|
|
|
1684
1783
|
firePostToolUseHook,
|
|
1685
1784
|
firePreToolUseHook,
|
|
1686
1785
|
flatMapTextParts,
|
|
1786
|
+
forceFlushMetrics,
|
|
1687
1787
|
formatAgentId,
|
|
1688
1788
|
formatClassifierBlockMessage,
|
|
1689
1789
|
formatDateForContext,
|
|
@@ -1764,6 +1864,7 @@ export {
|
|
|
1764
1864
|
getMCPDiscoveryState,
|
|
1765
1865
|
getMCPServerPrompts,
|
|
1766
1866
|
getMCPServerStatus,
|
|
1867
|
+
getMaxInlineMediaBytes,
|
|
1767
1868
|
getMemoryBaseDir,
|
|
1768
1869
|
getMonitorOutputPath,
|
|
1769
1870
|
getOrCreateSharedDispatcher,
|
|
@@ -1778,6 +1879,7 @@ export {
|
|
|
1778
1879
|
getResponseText,
|
|
1779
1880
|
getResponseTextFromParts,
|
|
1780
1881
|
getResumePromptTokenCount,
|
|
1882
|
+
getResumeTokenCounts,
|
|
1781
1883
|
getRuleDisplayName,
|
|
1782
1884
|
getScopedEnvContents,
|
|
1783
1885
|
getShellAbortReasonKind,
|
|
@@ -1813,12 +1915,16 @@ export {
|
|
|
1813
1915
|
hasNonFinalTopLevelBackgroundOperator,
|
|
1814
1916
|
hasShellSubstitution,
|
|
1815
1917
|
hasUnsafeMonitorBackgroundOperator,
|
|
1918
|
+
hashDaemonWorkspace,
|
|
1919
|
+
hashMcpServerConfig,
|
|
1816
1920
|
hashValue,
|
|
1817
1921
|
hookEventSupportsMatcher,
|
|
1818
1922
|
hydrateString,
|
|
1819
1923
|
ideContextStore,
|
|
1820
1924
|
idealabProvider,
|
|
1925
|
+
initializeDaemonMetrics,
|
|
1821
1926
|
initializeTelemetry,
|
|
1927
|
+
injectDaemonTraceContext,
|
|
1822
1928
|
injectPermissionRulesIfMissing,
|
|
1823
1929
|
invokeMcpPrompt,
|
|
1824
1930
|
isAbortError,
|
|
@@ -1830,6 +1936,7 @@ export {
|
|
|
1830
1936
|
isBareMode,
|
|
1831
1937
|
isBinary,
|
|
1832
1938
|
isBinaryFile,
|
|
1939
|
+
isBrowserCommandBlocked,
|
|
1833
1940
|
isClaudePluginConfig,
|
|
1834
1941
|
isCommandAllowed,
|
|
1835
1942
|
isCommandAvailable,
|
|
@@ -1842,6 +1949,7 @@ export {
|
|
|
1842
1949
|
isEditorAvailable,
|
|
1843
1950
|
isEnabled,
|
|
1844
1951
|
isErrorResponse,
|
|
1952
|
+
isGatedMcpScope,
|
|
1845
1953
|
isGenericQuotaExceededError,
|
|
1846
1954
|
isGitRepository,
|
|
1847
1955
|
isInProcessTeammate,
|
|
@@ -1884,6 +1992,7 @@ export {
|
|
|
1884
1992
|
judgeGoal,
|
|
1885
1993
|
knownTokenLimit,
|
|
1886
1994
|
layer,
|
|
1995
|
+
listMcpPrompts,
|
|
1887
1996
|
listTasks,
|
|
1888
1997
|
listTeamNames,
|
|
1889
1998
|
loadIgnoreRules,
|
|
@@ -1949,6 +2058,7 @@ export {
|
|
|
1949
2058
|
needsUtf8Bom,
|
|
1950
2059
|
normalize,
|
|
1951
2060
|
normalizeContent,
|
|
2061
|
+
normalizeModelToolCallIds,
|
|
1952
2062
|
normalizeMonitorCommand,
|
|
1953
2063
|
normalizeProxyUrl,
|
|
1954
2064
|
normalizeSkillPriority,
|
|
@@ -1956,12 +2066,15 @@ export {
|
|
|
1956
2066
|
notifyGoalTerminal,
|
|
1957
2067
|
notifyTasksUpdated,
|
|
1958
2068
|
onTasksUpdated,
|
|
2069
|
+
openBrowserSecurely,
|
|
1959
2070
|
openDiff,
|
|
1960
2071
|
openRouterProvider,
|
|
1961
2072
|
openaiLogger,
|
|
2073
|
+
oversizedMediaPlaceholder,
|
|
1962
2074
|
parse,
|
|
1963
2075
|
parseAndFormatApiError,
|
|
1964
2076
|
parseBooleanEnvFlag,
|
|
2077
|
+
parseConnectionId,
|
|
1965
2078
|
parseDeletedFromNameStatus,
|
|
1966
2079
|
parseGitDiff,
|
|
1967
2080
|
parseGitHubRepoForReleases,
|
|
@@ -2017,6 +2130,15 @@ export {
|
|
|
2017
2130
|
recordContentRetry,
|
|
2018
2131
|
recordContentRetryFailure,
|
|
2019
2132
|
recordCpuUsage,
|
|
2133
|
+
recordDaemonBridgeError,
|
|
2134
|
+
recordDaemonCancel,
|
|
2135
|
+
recordDaemonChannelLifecycle,
|
|
2136
|
+
recordDaemonError,
|
|
2137
|
+
recordDaemonHttpRequest,
|
|
2138
|
+
recordDaemonHttpResponse,
|
|
2139
|
+
recordDaemonPromptDuration,
|
|
2140
|
+
recordDaemonPromptQueueWait,
|
|
2141
|
+
recordDaemonSessionLifecycle,
|
|
2020
2142
|
recordFallbackApprove,
|
|
2021
2143
|
recordFileOperationMetric,
|
|
2022
2144
|
recordGoalIteration,
|
|
@@ -2040,6 +2162,7 @@ export {
|
|
|
2040
2162
|
redactStructuredOutputArgsForRecording,
|
|
2041
2163
|
redactUrlCredentials,
|
|
2042
2164
|
refreshSessionContext,
|
|
2165
|
+
registerDaemonGaugeCallbacks,
|
|
2043
2166
|
registerGoalHook,
|
|
2044
2167
|
registerLeader,
|
|
2045
2168
|
releaseOwnedTask,
|
|
@@ -2085,6 +2208,7 @@ export {
|
|
|
2085
2208
|
runInToolSpanContext,
|
|
2086
2209
|
runRipgrep,
|
|
2087
2210
|
runSideQuery,
|
|
2211
|
+
runWithDaemonTelemetryContext,
|
|
2088
2212
|
runWithDebugLogSession,
|
|
2089
2213
|
runWithForkedChatModel,
|
|
2090
2214
|
runWithTeammateIdentity,
|
|
@@ -2100,13 +2224,16 @@ export {
|
|
|
2100
2224
|
saveCacheSafeParams,
|
|
2101
2225
|
saveWelcomeBackRestartChoice,
|
|
2102
2226
|
sendStructuredMessage,
|
|
2227
|
+
serializeSnapshot,
|
|
2103
2228
|
serializeTerminalToObject,
|
|
2104
2229
|
serializeTerminalToText,
|
|
2230
|
+
sessionIdContext,
|
|
2105
2231
|
setActiveGoal,
|
|
2106
2232
|
setDebugLogSession,
|
|
2107
2233
|
setGeminiMdFilename,
|
|
2108
2234
|
setGoalTerminalObserver,
|
|
2109
2235
|
setLastGoalTerminal,
|
|
2236
|
+
setMCPDiscoveryState,
|
|
2110
2237
|
setMemberActive,
|
|
2111
2238
|
setStartupEventSink,
|
|
2112
2239
|
settingsSource,
|
|
@@ -2117,6 +2244,7 @@ export {
|
|
|
2117
2244
|
shouldFilterSuggestion,
|
|
2118
2245
|
shouldFirePermissionDeniedForAutoMode,
|
|
2119
2246
|
shouldForceAutoModeReviewForAllow,
|
|
2247
|
+
shouldLaunchBrowser,
|
|
2120
2248
|
shouldRunAutoModeForCall,
|
|
2121
2249
|
shouldShowStep,
|
|
2122
2250
|
shutdownTelemetry,
|
|
@@ -2170,6 +2298,10 @@ export {
|
|
|
2170
2298
|
validatePath,
|
|
2171
2299
|
validateVariables,
|
|
2172
2300
|
windowsCodePageToEncoding,
|
|
2301
|
+
withDaemonBridgeSpan,
|
|
2302
|
+
withDaemonRequestSpan,
|
|
2303
|
+
withDaemonSpan,
|
|
2304
|
+
withInteractionSpan,
|
|
2173
2305
|
worktreeBranchForSlug,
|
|
2174
2306
|
wrapConfirmWithBadge,
|
|
2175
2307
|
write,
|