@qwen-code/qwen-code 0.18.0-preview.2 → 0.18.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/_meta.ts +1 -0
- package/bundled/qc-helper/docs/configuration/settings.md +3 -5
- 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/followup-suggestions.md +2 -2
- package/bundled/qc-helper/docs/features/sub-agents.md +32 -11
- package/bundled/qc-helper/docs/qwen-serve-deploy-local.md +221 -0
- package/bundled/qc-helper/docs/qwen-serve.md +234 -24
- package/chunks/{agent-QB7TZ4HW.js → agent-LOTJK6AH.js} +23 -23
- package/chunks/{agent-headless-APVHH7QM.js → agent-headless-TU3EPMYU.js} +23 -23
- package/chunks/{anthropicContentGenerator-M45EVVRM.js → anthropicContentGenerator-2HBRNQ3B.js} +7 -7
- package/chunks/{askUserQuestion-WM2KHM3K.js → askUserQuestion-OGCMIBQM.js} +45 -3
- package/chunks/{chunk-MVIVIPCU.js → chunk-2Y5SYSD3.js} +361 -583
- package/chunks/chunk-3DHXZ6EV.js +241 -0
- package/chunks/{chunk-JVQOQ3OU.js → chunk-3HTIVKZE.js} +1 -1
- package/chunks/{chunk-BNESGOSJ.js → chunk-55ZMG67I.js} +1 -1
- package/chunks/{chunk-ZK4AMNIU.js → chunk-6YIUGZTC.js} +1041 -210
- package/chunks/{chunk-C6WMLUNB.js → chunk-72LDN5PP.js} +1 -1
- package/chunks/{chunk-AVW55ZCO.js → chunk-7BCMOPIM.js} +11 -9
- package/chunks/{chunk-JUGRPQAB.js → chunk-A7B4ISQP.js} +1 -1
- package/chunks/{chunk-UAMOBVVW.js → chunk-B7HXHOHU.js} +1 -1
- package/chunks/{chunk-CNSMKPK6.js → chunk-BIVG75CP.js} +1 -1
- package/chunks/{chunk-LR62TEET.js → chunk-EYENRK4D.js} +1 -1
- package/chunks/{chunk-SZOEIL6S.js → chunk-H6BD2ELD.js} +1 -0
- package/chunks/{chunk-PAEBHDIO.js → chunk-HLPLOD42.js} +1 -1
- package/chunks/{chunk-JXAZUMDW.js → chunk-HR7SV7AY.js} +1 -2
- package/chunks/{chunk-P4J26VDS.js → chunk-IDX6COTE.js} +2 -2
- package/chunks/{chunk-QCG6KPNM.js → chunk-IWAYOW5Q.js} +14760 -10735
- package/chunks/{chunk-HGJPQK33.js → chunk-J5MDQKJL.js} +518 -519
- package/chunks/{chunk-USE2VQ5P.js → chunk-JTQAQBTV.js} +21 -0
- package/chunks/{chunk-HXJE7VOG.js → chunk-LBP46COL.js} +1001 -139
- package/chunks/{chunk-NW5QBUYO.js → chunk-LEJ42GNY.js} +14 -14
- package/chunks/{chunk-Y7R6H6FT.js → chunk-M6VTDSVR.js} +1 -1
- package/chunks/{chunk-CNHFPN7T.js → chunk-MFBBBTNY.js} +1 -1
- package/chunks/{chunk-ICOI4E4S.js → chunk-OHEGWO4L.js} +101 -23
- package/chunks/{chunk-7YKXFA3D.js → chunk-PL3MVCWD.js} +5 -5
- package/chunks/chunk-QQDPRDVW.js +25 -0
- package/chunks/{chunk-HV3ZZ7G4.js → chunk-R7ODSGTK.js} +2 -2
- package/chunks/{chunk-GX7VH5JQ.js → chunk-SEGYWKIH.js} +1 -1
- package/chunks/{chunk-KC6ZMJ5X.js → chunk-SNGELLWX.js} +1 -1
- package/chunks/chunk-XBY7E2FX.js +605 -0
- package/chunks/{chunk-2ZTWI7KH.js → chunk-XV4HCEVI.js} +22 -1
- package/chunks/{chunk-WFVXF3OM.js → chunk-Z2Z3GUXZ.js} +1 -0
- package/chunks/{chunk-CWV3SJZS.js → chunk-ZTZ4DDQE.js} +2 -2
- package/chunks/{computer-use-B7VIUI7F.js → computer-use-3RH2DOM6.js} +23 -23
- package/chunks/contextCommand-K347QT6O.js +52 -0
- package/chunks/{cron-create-FI5LJVUS.js → cron-create-YJL3KFWI.js} +3 -3
- package/chunks/{cron-delete-ZGUXWBTG.js → cron-delete-WKWSJZQA.js} +3 -3
- package/chunks/{cron-list-QNNZGMN3.js → cron-list-B52XEXAZ.js} +3 -3
- package/chunks/{devtools-IXE4UP72.js → devtools-FM6GJPYG.js} +1 -1
- package/chunks/{dist-R2SXPG74.js → dist-4LXD6L6X.js} +2 -2
- package/chunks/{dist-TE5QKMGR.js → dist-H6ONXVLG.js} +1 -1
- package/chunks/{dist-ZMQ4TXD5.js → dist-KAZ3SEBX.js} +2 -2
- package/chunks/{dist-BXDUQ2QY.js → dist-PK7DFCAW.js} +1 -1
- package/chunks/{edit-6UBTS2J5.js → edit-KU4PJGEX.js} +24 -24
- package/chunks/{en-HSQQNQUB.js → en-DHGYHIHX.js} +4 -0
- package/chunks/{enter-worktree-NN7LIXCM.js → enter-worktree-PPYIDCWI.js} +23 -23
- package/chunks/enterPlanMode-5CZDMCB4.js +158 -0
- package/chunks/{exit-worktree-GGSS5KIE.js → exit-worktree-UY3CGHKC.js} +23 -23
- package/chunks/exitPlanMode-3DN4QNSG.js +703 -0
- package/chunks/{geminiContentGenerator-I4H2NLJG.js → geminiContentGenerator-7A6I2RWB.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-OFNQSS52.js} +23 -23
- package/chunks/{grep-7HXIMDOW.js → grep-6J2MSUM5.js} +26 -23
- package/chunks/{keychain-token-storage-LB46DAEK.js → keychain-token-storage-6IU6ORQN.js} +3 -3
- package/chunks/{ls-6PEZUK6O.js → ls-V3O6A5PT.js} +4 -4
- package/chunks/{lsp-JZSJOVT7.js → lsp-G2OCIFUA.js} +3 -3
- package/chunks/{monitor-SQO7MVAV.js → monitor-FKLHV423.js} +23 -23
- package/chunks/{notebook-edit-72L3EBAL.js → notebook-edit-KTBYFKWG.js} +24 -24
- package/chunks/{openaiContentGenerator-FTR7CDWF.js → openaiContentGenerator-L5KSWQY7.js} +15 -15
- package/chunks/{qwenContentGenerator-U5UFQ566.js → qwenContentGenerator-PYOXLMBW.js} +25 -25
- package/chunks/{qwenOAuth2-EFSECGHF.js → qwenOAuth2-2KCKWDCF.js} +6 -5
- package/chunks/{read-file-UA64EEQC.js → read-file-JQVRK4NU.js} +11 -11
- package/chunks/{ripGrep-WSYCWZVK.js → ripGrep-2L4LPNAJ.js} +23 -23
- package/chunks/{scheduler-VBASHOCA.js → scheduler-FGNXY4JQ.js} +23 -23
- package/chunks/{send-message-OYJZ5TPG.js → send-message-SZFWNOCL.js} +3 -3
- package/chunks/{serve-A7E2OJDR.js → serve-N2IBLA3G.js} +13581 -4977
- package/chunks/{shell-3NFOT6F5.js → shell-PTEG6UX4.js} +23 -23
- package/chunks/{skill-RA5YUREY.js → skill-X4NTK4NH.js} +64 -113
- package/chunks/{src-NFCMARMT.js → src-GLLQ3R5W.js} +154 -38
- package/chunks/{syntheticOutput-DETQ2YM6.js → syntheticOutput-IKAY5F6X.js} +4 -4
- package/chunks/{task-create-Y3ZKTJIG.js → task-create-MQICOJFV.js} +7 -7
- package/chunks/{task-list-ONXJ3I3A.js → task-list-RIHJCH32.js} +6 -6
- package/chunks/{task-stop-UHDC4N5B.js → task-stop-FWZRFANS.js} +3 -3
- package/chunks/{task-update-TCNOU3P5.js → task-update-2LHPXOYM.js} +20 -9
- package/chunks/{team-create-6SR4OVRG.js → team-create-2E4PF4KN.js} +26 -25
- package/chunks/{team-delete-EJ4U4DDP.js → team-delete-DAUDQS4J.js} +8 -6
- package/chunks/{todoWrite-TEYDRS5L.js → todoWrite-HTUACZES.js} +5 -5
- package/chunks/{tool-search-OD435A3X.js → tool-search-KTVULRES.js} +11 -11
- package/chunks/{web-fetch-6W67H5PO.js → web-fetch-CZ7LLKPE.js} +5 -5
- package/chunks/{workflow-62DHH4EO.js → workflow-L2ZUUDT2.js} +268 -16
- package/chunks/{write-file-475L5OPP.js → write-file-ZEB2JDYH.js} +24 -24
- package/chunks/{zh-VCLWO26Y.js → zh-7H5OQC4I.js} +5 -1
- package/chunks/{zh-TW-G3HFHVVT.js → zh-TW-P4IDHD3M.js} +5 -1
- package/cli.js +5955 -3128
- 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/en.js +6 -0
- package/locales/zh-TW.js +5 -0
- package/locales/zh.js +5 -0
- package/package.json +3 -2
- package/chunks/chunk-AJIR24J2.js +0 -59
- package/chunks/chunk-XBFVXFB2.js +0 -216
- package/chunks/contextCommand-63RZ3O5R.js +0 -52
- package/chunks/exitPlanMode-H323NHB2.js +0 -235
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
AuthProviderType,
|
|
30
30
|
BACKGROUND_AGENT_CONCURRENCY_ENV,
|
|
31
31
|
BASELINE_COMMIT_MESSAGE,
|
|
32
|
+
BTW_MAX_INPUT_LENGTH,
|
|
32
33
|
BUNDLE_CHUNK_DIR,
|
|
33
34
|
BackgroundAgentResumeService,
|
|
34
35
|
BackgroundShellRegistry,
|
|
@@ -65,7 +66,9 @@ import {
|
|
|
65
66
|
DEFAULT_LSP_WARMUP_DELAY_MS,
|
|
66
67
|
DEFAULT_LSP_WORKSPACE_SYMBOL_WARMUP_DELAY_MS,
|
|
67
68
|
DEFAULT_MAX_CONCURRENT_BACKGROUND_AGENTS,
|
|
69
|
+
DEFAULT_MAX_INLINE_MEDIA_BYTES,
|
|
68
70
|
DEFAULT_STOP_HOOK_BLOCK_CAP,
|
|
71
|
+
DEFAULT_TOOL_OUTPUT_BATCH_BUDGET,
|
|
69
72
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES,
|
|
70
73
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
|
|
71
74
|
DIAGNOSTIC_SEVERITY_LABELS,
|
|
@@ -115,6 +118,7 @@ import {
|
|
|
115
118
|
IdeDiffRejectedNotificationSchema,
|
|
116
119
|
Ignore,
|
|
117
120
|
InProcessBackend,
|
|
121
|
+
InvalidMcpConfigError,
|
|
118
122
|
InvalidStreamError,
|
|
119
123
|
JsonFormatter,
|
|
120
124
|
LITE_READ_BUF_SIZE,
|
|
@@ -134,6 +138,7 @@ import {
|
|
|
134
138
|
MAX_RETAINED_TERMINAL_AGENTS,
|
|
135
139
|
MAX_RETAINED_TERMINAL_MONITORS,
|
|
136
140
|
MAX_RETAINED_TERMINAL_SHELLS,
|
|
141
|
+
MAX_SNAPSHOTS,
|
|
137
142
|
MAX_TRANSCRIPT_MESSAGES,
|
|
138
143
|
MCPDiscoveryState,
|
|
139
144
|
MCPOAuthProvider,
|
|
@@ -145,8 +150,11 @@ import {
|
|
|
145
150
|
MCP_DEFAULT_TIMEOUT_MSEC,
|
|
146
151
|
MOCK_TOOL_GET_CONFIRMATION_DETAILS,
|
|
147
152
|
MOCK_TOOL_GET_DEFAULT_PERMISSION,
|
|
153
|
+
McpBudgetWouldExceedError,
|
|
148
154
|
McpClient,
|
|
149
155
|
McpClientManager,
|
|
156
|
+
McpServerSpawnFailedError,
|
|
157
|
+
McpTransportPool,
|
|
150
158
|
MemoryManager,
|
|
151
159
|
MessageBus,
|
|
152
160
|
MessageBusType,
|
|
@@ -164,6 +172,7 @@ import {
|
|
|
164
172
|
OPENROUTER_ENV_KEY,
|
|
165
173
|
OpenDiffRequestSchema,
|
|
166
174
|
OverlayFs,
|
|
175
|
+
POOLED_TRANSPORTS_DEFAULT,
|
|
167
176
|
PROVIDER_METADATA_NS,
|
|
168
177
|
PermissionManager,
|
|
169
178
|
ProviderInstallError,
|
|
@@ -215,6 +224,7 @@ import {
|
|
|
215
224
|
WORKTREE_BRANCH_PREFIX,
|
|
216
225
|
WORKTREE_SESSION_FILE,
|
|
217
226
|
WorkspaceContext,
|
|
227
|
+
WorkspaceMcpBudget,
|
|
218
228
|
WorkspaceMemoryFileTooLargeError,
|
|
219
229
|
WorkspaceMemoryWriteTimeoutError,
|
|
220
230
|
__resetActiveGoalStoreForTests,
|
|
@@ -234,9 +244,14 @@ import {
|
|
|
234
244
|
appendToLastTextPart,
|
|
235
245
|
applyAutoModeDecision,
|
|
236
246
|
applyProviderInstallPlan,
|
|
247
|
+
approxBase64Bytes,
|
|
237
248
|
buildAddedMcpToolsReminder,
|
|
249
|
+
buildAddedSkillsReminder,
|
|
238
250
|
buildApiHistoryFromConversation,
|
|
251
|
+
buildAvailableSkillsReminder,
|
|
239
252
|
buildBackgroundEntryLabel,
|
|
253
|
+
buildBtwCacheSafeParams,
|
|
254
|
+
buildBtwPrompt,
|
|
240
255
|
buildDeferredToolsReminder,
|
|
241
256
|
buildFallbackApproachSummary,
|
|
242
257
|
buildHumanReadableRuleLabel,
|
|
@@ -255,13 +270,12 @@ import {
|
|
|
255
270
|
checkForExtensionUpdate,
|
|
256
271
|
checkHasEditorType,
|
|
257
272
|
checkNpmUpdate,
|
|
273
|
+
clampInlineMediaPart,
|
|
258
274
|
cleanSummary,
|
|
259
275
|
cleanupTmpDir,
|
|
260
276
|
clearActiveGoal,
|
|
261
|
-
clearAllInboxes,
|
|
262
277
|
clearCacheSafeParams,
|
|
263
278
|
clearGoalTerminalObserver,
|
|
264
|
-
clearInbox,
|
|
265
279
|
clearRuntimeStatus,
|
|
266
280
|
clearWelcomeBackState,
|
|
267
281
|
clearWorktreeSession,
|
|
@@ -272,10 +286,11 @@ import {
|
|
|
272
286
|
commandExists,
|
|
273
287
|
computeModelListVersion,
|
|
274
288
|
computeThresholds,
|
|
289
|
+
computeUniqueBranchTitle,
|
|
275
290
|
computedSource,
|
|
276
291
|
connectAndDiscover,
|
|
277
292
|
connectToMcpServer,
|
|
278
|
-
|
|
293
|
+
connectionIdOf,
|
|
279
294
|
convertClaudeAgentConfig,
|
|
280
295
|
convertClaudePluginPackage,
|
|
281
296
|
convertClaudeToQwenConfig,
|
|
@@ -301,6 +316,7 @@ import {
|
|
|
301
316
|
decodeTagName,
|
|
302
317
|
deepseekProvider,
|
|
303
318
|
defaultSource,
|
|
319
|
+
deserializeSnapshots,
|
|
304
320
|
detectBackend,
|
|
305
321
|
detectCommandSubstitution,
|
|
306
322
|
detectIdeFromEnv,
|
|
@@ -312,6 +328,7 @@ import {
|
|
|
312
328
|
downloadFromGitHubRelease,
|
|
313
329
|
downloadFromNpmRegistry,
|
|
314
330
|
editorCommands,
|
|
331
|
+
encodeInsightErrorMessage,
|
|
315
332
|
encodeInsightProgressMessage,
|
|
316
333
|
encodeInsightReadyMessage,
|
|
317
334
|
encodeTagName,
|
|
@@ -394,13 +411,13 @@ import {
|
|
|
394
411
|
getGitRepoName,
|
|
395
412
|
getIdeInstaller,
|
|
396
413
|
getIdeServerHost,
|
|
397
|
-
getInboxPath,
|
|
398
414
|
getInitialChatHistory,
|
|
399
415
|
getInsightPrompt,
|
|
400
416
|
getLastGoalTerminal,
|
|
401
417
|
getMCPDiscoveryState,
|
|
402
418
|
getMCPServerPrompts,
|
|
403
419
|
getMCPServerStatus,
|
|
420
|
+
getMaxInlineMediaBytes,
|
|
404
421
|
getMonitorOutputPath,
|
|
405
422
|
getPlanModeSystemReminder,
|
|
406
423
|
getProjectSummaryInfo,
|
|
@@ -471,6 +488,7 @@ import {
|
|
|
471
488
|
isWindows,
|
|
472
489
|
judgeGoal,
|
|
473
490
|
layer,
|
|
491
|
+
listMcpPrompts,
|
|
474
492
|
loadIgnoreRules,
|
|
475
493
|
loadServerHierarchicalMemory,
|
|
476
494
|
loadUsageHistory,
|
|
@@ -499,8 +517,10 @@ import {
|
|
|
499
517
|
notifyGoalTerminal,
|
|
500
518
|
openDiff,
|
|
501
519
|
openRouterProvider,
|
|
520
|
+
oversizedMediaPlaceholder,
|
|
502
521
|
parse,
|
|
503
522
|
parseAndFormatApiError,
|
|
523
|
+
parseConnectionId,
|
|
504
524
|
parseDeletedFromNameStatus,
|
|
505
525
|
parseGitDiff,
|
|
506
526
|
parseGitHubRepoForReleases,
|
|
@@ -526,7 +546,6 @@ import {
|
|
|
526
546
|
providerMatchesCredentials,
|
|
527
547
|
read,
|
|
528
548
|
readAutoMemoryIndex,
|
|
529
|
-
readInbox,
|
|
530
549
|
readLastJsonStringFieldSync,
|
|
531
550
|
readLastJsonStringFieldsSync,
|
|
532
551
|
readLines,
|
|
@@ -581,15 +600,16 @@ import {
|
|
|
581
600
|
sanitizeToolCallResultForRecording,
|
|
582
601
|
saveCacheSafeParams,
|
|
583
602
|
saveWelcomeBackRestartChoice,
|
|
584
|
-
|
|
603
|
+
serializeSnapshot,
|
|
585
604
|
serializeTerminalToObject,
|
|
586
605
|
serializeTerminalToText,
|
|
606
|
+
sessionIdContext,
|
|
587
607
|
setActiveGoal,
|
|
588
608
|
setGoalTerminalObserver,
|
|
589
609
|
setLastGoalTerminal,
|
|
610
|
+
setMCPDiscoveryState,
|
|
590
611
|
setStartupEventSink,
|
|
591
612
|
settingsSource,
|
|
592
|
-
shouldAttemptBrowserLaunch,
|
|
593
613
|
shouldDefaultToNodePty,
|
|
594
614
|
shouldFallback,
|
|
595
615
|
shouldFilterSuggestion,
|
|
@@ -625,13 +645,12 @@ import {
|
|
|
625
645
|
write,
|
|
626
646
|
writeLine,
|
|
627
647
|
writeLineSync,
|
|
628
|
-
writeMessage,
|
|
629
648
|
writeRuntimeStatus,
|
|
630
649
|
writeWorkspaceContextFile,
|
|
631
650
|
writeWorktreeSession,
|
|
632
651
|
writeWorktreeSessionMarker,
|
|
633
652
|
zaiProvider
|
|
634
|
-
} from "./chunk-
|
|
653
|
+
} from "./chunk-IWAYOW5Q.js";
|
|
635
654
|
import "./chunk-K5PGHDBN.js";
|
|
636
655
|
import {
|
|
637
656
|
AgentStatus,
|
|
@@ -640,16 +659,28 @@ import {
|
|
|
640
659
|
isSuccessStatus,
|
|
641
660
|
isTerminalStatus
|
|
642
661
|
} from "./chunk-SKBPNJEW.js";
|
|
662
|
+
import {
|
|
663
|
+
runSideQuery
|
|
664
|
+
} from "./chunk-HLPLOD42.js";
|
|
643
665
|
import "./chunk-O4PICXES.js";
|
|
644
666
|
import "./chunk-TW522KN6.js";
|
|
645
667
|
import {
|
|
668
|
+
clearAllInboxes,
|
|
669
|
+
clearInbox,
|
|
670
|
+
consumeUnread,
|
|
671
|
+
disposeInboxLocks,
|
|
646
672
|
forwardApproval,
|
|
673
|
+
getInboxPath,
|
|
647
674
|
getLeader,
|
|
675
|
+
readInbox,
|
|
648
676
|
registerLeader,
|
|
677
|
+
sendStructuredMessage,
|
|
649
678
|
unregisterLeader,
|
|
650
|
-
wrapConfirmWithBadge
|
|
651
|
-
|
|
679
|
+
wrapConfirmWithBadge,
|
|
680
|
+
writeMessage
|
|
681
|
+
} from "./chunk-3DHXZ6EV.js";
|
|
652
682
|
import {
|
|
683
|
+
RECIPROCAL_CALLER,
|
|
653
684
|
TaskOwnershipError,
|
|
654
685
|
assertValidTaskId,
|
|
655
686
|
blockTask,
|
|
@@ -666,9 +697,10 @@ import {
|
|
|
666
697
|
resetTaskList,
|
|
667
698
|
unassignTeammateTasks,
|
|
668
699
|
updateTask
|
|
669
|
-
} from "./chunk-
|
|
700
|
+
} from "./chunk-XBY7E2FX.js";
|
|
670
701
|
import {
|
|
671
702
|
assignTeammateColor,
|
|
703
|
+
classifyShutdownResponse,
|
|
672
704
|
clearTeammateColors,
|
|
673
705
|
createTeamFile,
|
|
674
706
|
deleteTeamDirs,
|
|
@@ -687,14 +719,11 @@ import {
|
|
|
687
719
|
setMemberActive,
|
|
688
720
|
tryReclaimStaleTeam,
|
|
689
721
|
writeTeamFile
|
|
690
|
-
} from "./chunk-
|
|
722
|
+
} from "./chunk-J5MDQKJL.js";
|
|
691
723
|
import {
|
|
692
724
|
InputFormat,
|
|
693
725
|
OutputFormat
|
|
694
726
|
} from "./chunk-MLZQVCF3.js";
|
|
695
|
-
import {
|
|
696
|
-
runSideQuery
|
|
697
|
-
} from "./chunk-PAEBHDIO.js";
|
|
698
727
|
import {
|
|
699
728
|
INBOXES_DIR,
|
|
700
729
|
LEADER_NAME,
|
|
@@ -717,7 +746,7 @@ import {
|
|
|
717
746
|
import {
|
|
718
747
|
applySkillAllowedTools,
|
|
719
748
|
buildSkillLlmContent
|
|
720
|
-
} from "./chunk-
|
|
749
|
+
} from "./chunk-OHEGWO4L.js";
|
|
721
750
|
import {
|
|
722
751
|
AgentType,
|
|
723
752
|
DefaultHookOutput,
|
|
@@ -744,15 +773,14 @@ import {
|
|
|
744
773
|
detectTodoChanges,
|
|
745
774
|
getHookKey,
|
|
746
775
|
sanitizeUserPromptExpansionAdditionalContext
|
|
747
|
-
} from "./chunk-
|
|
776
|
+
} from "./chunk-SNGELLWX.js";
|
|
748
777
|
import {
|
|
749
778
|
DEFAULT_FILE_FILTERING_OPTIONS,
|
|
750
779
|
DEFAULT_MEMORY_FILE_FILTERING_OPTIONS
|
|
751
780
|
} from "./chunk-77WXWU44.js";
|
|
752
781
|
import {
|
|
753
782
|
KeychainTokenStorage
|
|
754
|
-
} from "./chunk-
|
|
755
|
-
import "./chunk-64WXLC72.js";
|
|
783
|
+
} from "./chunk-A7B4ISQP.js";
|
|
756
784
|
import {
|
|
757
785
|
AGENT_CONTEXT_FILENAME,
|
|
758
786
|
ApiCancelEvent,
|
|
@@ -767,6 +795,8 @@ import {
|
|
|
767
795
|
COMMON_DIRECTORY_EXCLUDES,
|
|
768
796
|
COMMON_IGNORE_PATTERNS,
|
|
769
797
|
ConversationFinishedEvent,
|
|
798
|
+
DAEMON_TRACEPARENT_META_KEY,
|
|
799
|
+
DAEMON_TRACESTATE_META_KEY,
|
|
770
800
|
DEFAULT_CONTEXT_FILENAME,
|
|
771
801
|
DEFAULT_ENCODING,
|
|
772
802
|
DEFAULT_FILE_EXCLUDES,
|
|
@@ -825,21 +855,24 @@ import {
|
|
|
825
855
|
UserFeedbackRating,
|
|
826
856
|
UserPromptEvent,
|
|
827
857
|
UserRetryEvent,
|
|
858
|
+
addDaemonRequestAttribute,
|
|
828
859
|
addModelOutputAttributes,
|
|
829
860
|
addSystemPromptAttributes,
|
|
830
861
|
addToolInputAttributes,
|
|
831
862
|
addToolResultAttributes,
|
|
832
863
|
addToolSchemaAttributes,
|
|
833
864
|
addUserPromptAttributes,
|
|
834
|
-
|
|
865
|
+
captureDaemonTelemetryContext,
|
|
835
866
|
countFileLines,
|
|
836
867
|
createContentGenerator,
|
|
837
868
|
createContentGeneratorConfig,
|
|
869
|
+
createDaemonBridgeTelemetry,
|
|
838
870
|
decodeBufferWithEncodingInfo,
|
|
839
871
|
detectBOM,
|
|
840
872
|
detectEncodingFromBuffer,
|
|
841
873
|
detectFileEncoding,
|
|
842
874
|
detectFileType,
|
|
875
|
+
emitDaemonLog,
|
|
843
876
|
endHookSpan,
|
|
844
877
|
endInteractionSpan,
|
|
845
878
|
endLLMRequestSpan,
|
|
@@ -847,8 +880,10 @@ import {
|
|
|
847
880
|
endToolBlockedOnUserSpan,
|
|
848
881
|
endToolExecutionSpan,
|
|
849
882
|
endToolSpan,
|
|
883
|
+
extractDaemonTraceContext,
|
|
850
884
|
extractExtensionsFromPatterns,
|
|
851
885
|
fileExists,
|
|
886
|
+
forceFlushMetrics,
|
|
852
887
|
generateValidName,
|
|
853
888
|
getActiveInteractionSpan,
|
|
854
889
|
getAllGeminiMdFilenames,
|
|
@@ -856,7 +891,10 @@ import {
|
|
|
856
891
|
getCurrentGeminiMdFilename,
|
|
857
892
|
getSpecificMimeType,
|
|
858
893
|
getSystemEncoding,
|
|
894
|
+
hashDaemonWorkspace,
|
|
895
|
+
initializeDaemonMetrics,
|
|
859
896
|
initializeTelemetry,
|
|
897
|
+
injectDaemonTraceContext,
|
|
860
898
|
isBinaryFile,
|
|
861
899
|
isPerformanceMonitoringActive,
|
|
862
900
|
isTelemetrySdkInitialized,
|
|
@@ -919,6 +957,15 @@ import {
|
|
|
919
957
|
recordContentRetry,
|
|
920
958
|
recordContentRetryFailure,
|
|
921
959
|
recordCpuUsage,
|
|
960
|
+
recordDaemonBridgeError,
|
|
961
|
+
recordDaemonCancel,
|
|
962
|
+
recordDaemonChannelLifecycle,
|
|
963
|
+
recordDaemonError,
|
|
964
|
+
recordDaemonHttpRequest,
|
|
965
|
+
recordDaemonHttpResponse,
|
|
966
|
+
recordDaemonPromptDuration,
|
|
967
|
+
recordDaemonPromptQueueWait,
|
|
968
|
+
recordDaemonSessionLifecycle,
|
|
922
969
|
recordFileOperationMetric,
|
|
923
970
|
recordInvalidChunk,
|
|
924
971
|
recordMemoryDreamMetrics,
|
|
@@ -934,12 +981,14 @@ import {
|
|
|
934
981
|
recordToolExecutionBreakdown,
|
|
935
982
|
recordToolQueueDepth,
|
|
936
983
|
refreshSessionContext,
|
|
984
|
+
registerDaemonGaugeCallbacks,
|
|
937
985
|
resetEncodingCache,
|
|
938
986
|
resolveContentGeneratorConfigWithSources,
|
|
939
987
|
resolveOpenAILogDir,
|
|
940
988
|
resolveTelemetrySettings,
|
|
941
989
|
runInSubagentSpanContext,
|
|
942
990
|
runInToolSpanContext,
|
|
991
|
+
runWithDaemonTelemetryContext,
|
|
943
992
|
sanitizeHookName,
|
|
944
993
|
setGeminiMdFilename,
|
|
945
994
|
shutdownTelemetry,
|
|
@@ -955,8 +1004,12 @@ import {
|
|
|
955
1004
|
truncateSpanError,
|
|
956
1005
|
uiTelemetryService,
|
|
957
1006
|
validateModelConfig,
|
|
958
|
-
windowsCodePageToEncoding
|
|
959
|
-
|
|
1007
|
+
windowsCodePageToEncoding,
|
|
1008
|
+
withDaemonBridgeSpan,
|
|
1009
|
+
withDaemonRequestSpan,
|
|
1010
|
+
withDaemonSpan,
|
|
1011
|
+
withInteractionSpan
|
|
1012
|
+
} from "./chunk-6YIUGZTC.js";
|
|
960
1013
|
import "./chunk-3PJXIDKI.js";
|
|
961
1014
|
import "./chunk-UWCTAVOD.js";
|
|
962
1015
|
import {
|
|
@@ -989,9 +1042,9 @@ import {
|
|
|
989
1042
|
isAnyAutoMemPath,
|
|
990
1043
|
isAutoMemPath,
|
|
991
1044
|
isUserAutoMemPath
|
|
992
|
-
} from "./chunk-
|
|
993
|
-
import "./chunk-
|
|
994
|
-
import "./chunk-
|
|
1045
|
+
} from "./chunk-3HTIVKZE.js";
|
|
1046
|
+
import "./chunk-IDX6COTE.js";
|
|
1047
|
+
import "./chunk-BIVG75CP.js";
|
|
995
1048
|
import {
|
|
996
1049
|
AgentStatistics,
|
|
997
1050
|
BaseDeclarativeTool,
|
|
@@ -1009,7 +1062,7 @@ import {
|
|
|
1009
1062
|
ToolNamesMigration,
|
|
1010
1063
|
hasCycleInSchema,
|
|
1011
1064
|
isTool
|
|
1012
|
-
} from "./chunk-
|
|
1065
|
+
} from "./chunk-XV4HCEVI.js";
|
|
1013
1066
|
import {
|
|
1014
1067
|
CredentialsClearRequiredError,
|
|
1015
1068
|
QWEN_CREDENTIAL_FILE_MODE,
|
|
@@ -1023,20 +1076,25 @@ import {
|
|
|
1023
1076
|
generateCodeVerifier,
|
|
1024
1077
|
generatePKCEPair,
|
|
1025
1078
|
getQwenOAuthClient,
|
|
1079
|
+
isBrowserCommandBlocked,
|
|
1026
1080
|
isDeviceAuthorizationSuccess,
|
|
1027
1081
|
isDeviceTokenPending,
|
|
1028
1082
|
isDeviceTokenSuccess,
|
|
1029
1083
|
isErrorResponse,
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1084
|
+
openBrowserSecurely,
|
|
1085
|
+
qwenOAuth2Events,
|
|
1086
|
+
shouldAttemptBrowserLaunch,
|
|
1087
|
+
shouldLaunchBrowser
|
|
1088
|
+
} from "./chunk-2Y5SYSD3.js";
|
|
1089
|
+
import "./chunk-SEGYWKIH.js";
|
|
1090
|
+
import "./chunk-64WXLC72.js";
|
|
1033
1091
|
import {
|
|
1034
1092
|
atomicWriteFile,
|
|
1035
1093
|
atomicWriteFileSync,
|
|
1036
1094
|
atomicWriteJSON,
|
|
1037
1095
|
renameWithRetry,
|
|
1038
1096
|
renameWithRetrySync
|
|
1039
|
-
} from "./chunk-
|
|
1097
|
+
} from "./chunk-B7HXHOHU.js";
|
|
1040
1098
|
import {
|
|
1041
1099
|
SUPPORTED_IMAGE_MIME_TYPES,
|
|
1042
1100
|
TextTokenizer,
|
|
@@ -1046,7 +1104,7 @@ import {
|
|
|
1046
1104
|
getUnsupportedImageFormatWarning,
|
|
1047
1105
|
isSupportedImageMimeType,
|
|
1048
1106
|
redactProxyCredentials
|
|
1049
|
-
} from "./chunk-
|
|
1107
|
+
} from "./chunk-EYENRK4D.js";
|
|
1050
1108
|
import {
|
|
1051
1109
|
CAPPED_DEFAULT_MAX_TOKENS,
|
|
1052
1110
|
DEFAULT_OUTPUT_TOKEN_LIMIT,
|
|
@@ -1061,9 +1119,9 @@ import {
|
|
|
1061
1119
|
summarizeAnthropicWireRequest,
|
|
1062
1120
|
summarizeOpenAIWireRequest,
|
|
1063
1121
|
tokenLimit
|
|
1064
|
-
} from "./chunk-
|
|
1065
|
-
import "./chunk-
|
|
1066
|
-
import "./chunk-
|
|
1122
|
+
} from "./chunk-M6VTDSVR.js";
|
|
1123
|
+
import "./chunk-55ZMG67I.js";
|
|
1124
|
+
import "./chunk-H6BD2ELD.js";
|
|
1067
1125
|
import "./chunk-5IFG2VC4.js";
|
|
1068
1126
|
import {
|
|
1069
1127
|
BadRequestError,
|
|
@@ -1111,14 +1169,14 @@ import {
|
|
|
1111
1169
|
unescapePath,
|
|
1112
1170
|
updateSymlink,
|
|
1113
1171
|
validatePath
|
|
1114
|
-
} from "./chunk-
|
|
1172
|
+
} from "./chunk-HR7SV7AY.js";
|
|
1115
1173
|
import "./chunk-ZERZSAZL.js";
|
|
1116
1174
|
import "./chunk-QN5NZ3UQ.js";
|
|
1117
1175
|
import "./chunk-BR4QREVK.js";
|
|
1118
1176
|
import {
|
|
1119
1177
|
SpanStatusCode,
|
|
1120
1178
|
ValueType
|
|
1121
|
-
} from "./chunk-
|
|
1179
|
+
} from "./chunk-Z2Z3GUXZ.js";
|
|
1122
1180
|
import "./chunk-A4BMJM77.js";
|
|
1123
1181
|
import "./chunk-J2S4EL5Y.js";
|
|
1124
1182
|
export {
|
|
@@ -1169,6 +1227,7 @@ export {
|
|
|
1169
1227
|
BASELINE_COMMIT_MESSAGE,
|
|
1170
1228
|
BINARY_EXTENSIONS,
|
|
1171
1229
|
BINARY_FILE_PATTERNS,
|
|
1230
|
+
BTW_MAX_INPUT_LENGTH,
|
|
1172
1231
|
BUNDLE_CHUNK_DIR,
|
|
1173
1232
|
BackgroundAgentResumeService,
|
|
1174
1233
|
BackgroundShellRegistry,
|
|
@@ -1199,6 +1258,8 @@ export {
|
|
|
1199
1258
|
CoreToolScheduler,
|
|
1200
1259
|
CredentialsClearRequiredError,
|
|
1201
1260
|
CronScheduler,
|
|
1261
|
+
DAEMON_TRACEPARENT_META_KEY,
|
|
1262
|
+
DAEMON_TRACESTATE_META_KEY,
|
|
1202
1263
|
DEFAULT_AUTO_DREAM_MIN_HOURS,
|
|
1203
1264
|
DEFAULT_AUTO_DREAM_MIN_SESSIONS,
|
|
1204
1265
|
DEFAULT_BACKGROUND_AGENT_CONTINUATION_MESSAGE,
|
|
@@ -1218,6 +1279,7 @@ export {
|
|
|
1218
1279
|
DEFAULT_LSP_WARMUP_DELAY_MS,
|
|
1219
1280
|
DEFAULT_LSP_WORKSPACE_SYMBOL_WARMUP_DELAY_MS,
|
|
1220
1281
|
DEFAULT_MAX_CONCURRENT_BACKGROUND_AGENTS,
|
|
1282
|
+
DEFAULT_MAX_INLINE_MEDIA_BYTES,
|
|
1221
1283
|
DEFAULT_MEMORY_FILE_FILTERING_OPTIONS,
|
|
1222
1284
|
DEFAULT_OTLP_ENDPOINT,
|
|
1223
1285
|
DEFAULT_OUTPUT_TOKEN_LIMIT,
|
|
@@ -1227,6 +1289,7 @@ export {
|
|
|
1227
1289
|
DEFAULT_STOP_HOOK_BLOCK_CAP,
|
|
1228
1290
|
DEFAULT_TELEMETRY_TARGET,
|
|
1229
1291
|
DEFAULT_TOKEN_LIMIT,
|
|
1292
|
+
DEFAULT_TOOL_OUTPUT_BATCH_BUDGET,
|
|
1230
1293
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES,
|
|
1231
1294
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
|
|
1232
1295
|
DIAGNOSTIC_SEVERITY_LABELS,
|
|
@@ -1311,6 +1374,7 @@ export {
|
|
|
1311
1374
|
Ignore,
|
|
1312
1375
|
InProcessBackend,
|
|
1313
1376
|
InputFormat,
|
|
1377
|
+
InvalidMcpConfigError,
|
|
1314
1378
|
InvalidStreamError,
|
|
1315
1379
|
JsonFormatter,
|
|
1316
1380
|
KeychainTokenStorage,
|
|
@@ -1338,6 +1402,7 @@ export {
|
|
|
1338
1402
|
MAX_RETAINED_TERMINAL_AGENTS,
|
|
1339
1403
|
MAX_RETAINED_TERMINAL_MONITORS,
|
|
1340
1404
|
MAX_RETAINED_TERMINAL_SHELLS,
|
|
1405
|
+
MAX_SNAPSHOTS,
|
|
1341
1406
|
MAX_TEAMMATES,
|
|
1342
1407
|
MAX_TRANSCRIPT_MESSAGES,
|
|
1343
1408
|
MAX_USER_PROMPT_EXPANSION_ADDITIONAL_CONTEXT_LENGTH,
|
|
@@ -1355,8 +1420,11 @@ export {
|
|
|
1355
1420
|
MOCK_TOOL_GET_DEFAULT_PERMISSION,
|
|
1356
1421
|
MODEL_GENERATION_CONFIG_FIELDS,
|
|
1357
1422
|
MUTATOR_KINDS,
|
|
1423
|
+
McpBudgetWouldExceedError,
|
|
1358
1424
|
McpClient,
|
|
1359
1425
|
McpClientManager,
|
|
1426
|
+
McpServerSpawnFailedError,
|
|
1427
|
+
McpTransportPool,
|
|
1360
1428
|
MemoryDreamEvent,
|
|
1361
1429
|
MemoryExtractEvent,
|
|
1362
1430
|
MemoryManager,
|
|
@@ -1386,6 +1454,7 @@ export {
|
|
|
1386
1454
|
OutputFormat,
|
|
1387
1455
|
OverlayFs,
|
|
1388
1456
|
PATH_ARG_KEYS,
|
|
1457
|
+
POOLED_TRANSPORTS_DEFAULT,
|
|
1389
1458
|
PROVIDER_METADATA_NS,
|
|
1390
1459
|
PYTHON_EXCLUDES,
|
|
1391
1460
|
PerformanceMetricType,
|
|
@@ -1409,6 +1478,7 @@ export {
|
|
|
1409
1478
|
QwenOAuth2Client,
|
|
1410
1479
|
QwenOAuth2Event,
|
|
1411
1480
|
QwenOAuthPollError,
|
|
1481
|
+
RECIPROCAL_CALLER,
|
|
1412
1482
|
REDACTED_URL_CREDENTIAL,
|
|
1413
1483
|
RUNTIME_SNAPSHOT_PREFIX,
|
|
1414
1484
|
RUNTIME_STATUS_SCHEMA_VERSION,
|
|
@@ -1498,6 +1568,7 @@ export {
|
|
|
1498
1568
|
WORKTREE_BRANCH_PREFIX,
|
|
1499
1569
|
WORKTREE_SESSION_FILE,
|
|
1500
1570
|
WorkspaceContext,
|
|
1571
|
+
WorkspaceMcpBudget,
|
|
1501
1572
|
WorkspaceMemoryFileTooLargeError,
|
|
1502
1573
|
WorkspaceMemoryWriteTimeoutError,
|
|
1503
1574
|
__resetActiveGoalStoreForTests,
|
|
@@ -1511,6 +1582,7 @@ export {
|
|
|
1511
1582
|
acceptSpeculation,
|
|
1512
1583
|
acquireSleepInhibitor,
|
|
1513
1584
|
activeGoalEquals,
|
|
1585
|
+
addDaemonRequestAttribute,
|
|
1514
1586
|
addMCPStatusChangeListener,
|
|
1515
1587
|
addModelOutputAttributes,
|
|
1516
1588
|
addSystemPromptAttributes,
|
|
@@ -1525,6 +1597,7 @@ export {
|
|
|
1525
1597
|
applyAutoModeDecision,
|
|
1526
1598
|
applyProviderInstallPlan,
|
|
1527
1599
|
applySkillAllowedTools,
|
|
1600
|
+
approxBase64Bytes,
|
|
1528
1601
|
assertValidTaskId,
|
|
1529
1602
|
assignTeammateColor,
|
|
1530
1603
|
atomicWriteFile,
|
|
@@ -1532,8 +1605,12 @@ export {
|
|
|
1532
1605
|
atomicWriteJSON,
|
|
1533
1606
|
blockTask,
|
|
1534
1607
|
buildAddedMcpToolsReminder,
|
|
1608
|
+
buildAddedSkillsReminder,
|
|
1535
1609
|
buildApiHistoryFromConversation,
|
|
1610
|
+
buildAvailableSkillsReminder,
|
|
1536
1611
|
buildBackgroundEntryLabel,
|
|
1612
|
+
buildBtwCacheSafeParams,
|
|
1613
|
+
buildBtwPrompt,
|
|
1537
1614
|
buildDeferredToolsReminder,
|
|
1538
1615
|
buildFallbackApproachSummary,
|
|
1539
1616
|
buildHumanReadableRuleLabel,
|
|
@@ -1549,12 +1626,15 @@ export {
|
|
|
1549
1626
|
buildTeammatePromptAddendum,
|
|
1550
1627
|
cacheQwenCredentials,
|
|
1551
1628
|
canUseRipgrep,
|
|
1629
|
+
captureDaemonTelemetryContext,
|
|
1552
1630
|
checkArgumentSafety,
|
|
1553
1631
|
checkCommandPermissions,
|
|
1554
1632
|
checkForExtensionUpdate,
|
|
1555
1633
|
checkHasEditorType,
|
|
1556
1634
|
checkNpmUpdate,
|
|
1557
1635
|
claimTask,
|
|
1636
|
+
clampInlineMediaPart,
|
|
1637
|
+
classifyShutdownResponse,
|
|
1558
1638
|
cleanSummary,
|
|
1559
1639
|
cleanupTmpDir,
|
|
1560
1640
|
clearActiveGoal,
|
|
@@ -1562,7 +1642,6 @@ export {
|
|
|
1562
1642
|
clearAutoMemoryRootCache,
|
|
1563
1643
|
clearCacheSafeParams,
|
|
1564
1644
|
clearCachedCredentialFile,
|
|
1565
|
-
clearDetailedSpanState,
|
|
1566
1645
|
clearGoalTerminalObserver,
|
|
1567
1646
|
clearInbox,
|
|
1568
1647
|
clearQwenCredentials,
|
|
@@ -1577,9 +1656,11 @@ export {
|
|
|
1577
1656
|
commandExists,
|
|
1578
1657
|
computeModelListVersion,
|
|
1579
1658
|
computeThresholds,
|
|
1659
|
+
computeUniqueBranchTitle,
|
|
1580
1660
|
computedSource,
|
|
1581
1661
|
connectAndDiscover,
|
|
1582
1662
|
connectToMcpServer,
|
|
1663
|
+
connectionIdOf,
|
|
1583
1664
|
consumeUnread,
|
|
1584
1665
|
convertClaudeAgentConfig,
|
|
1585
1666
|
convertClaudePluginPackage,
|
|
@@ -1593,6 +1674,7 @@ export {
|
|
|
1593
1674
|
crawlCache_exports as crawlCache,
|
|
1594
1675
|
createContentGenerator,
|
|
1595
1676
|
createContentGeneratorConfig,
|
|
1677
|
+
createDaemonBridgeTelemetry,
|
|
1596
1678
|
createDebugLogger,
|
|
1597
1679
|
createDefaultAutoMemoryExtractCursor,
|
|
1598
1680
|
createDefaultAutoMemoryIndex,
|
|
@@ -1616,6 +1698,7 @@ export {
|
|
|
1616
1698
|
defaultSource,
|
|
1617
1699
|
deleteTask,
|
|
1618
1700
|
deleteTeamDirs,
|
|
1701
|
+
deserializeSnapshots,
|
|
1619
1702
|
detectBOM,
|
|
1620
1703
|
detectBackend,
|
|
1621
1704
|
detectCommandSubstitution,
|
|
@@ -1629,10 +1712,13 @@ export {
|
|
|
1629
1712
|
discoverMcpTools,
|
|
1630
1713
|
discoverPrompts,
|
|
1631
1714
|
discoverTools,
|
|
1715
|
+
disposeInboxLocks,
|
|
1632
1716
|
doesToolInvocationMatch,
|
|
1633
1717
|
downloadFromGitHubRelease,
|
|
1634
1718
|
downloadFromNpmRegistry,
|
|
1635
1719
|
editorCommands,
|
|
1720
|
+
emitDaemonLog,
|
|
1721
|
+
encodeInsightErrorMessage,
|
|
1636
1722
|
encodeInsightProgressMessage,
|
|
1637
1723
|
encodeInsightReadyMessage,
|
|
1638
1724
|
encodeTagName,
|
|
@@ -1661,6 +1747,7 @@ export {
|
|
|
1661
1747
|
executeToolCall,
|
|
1662
1748
|
exists,
|
|
1663
1749
|
expandHomeDir,
|
|
1750
|
+
extractDaemonTraceContext,
|
|
1664
1751
|
extractExtensionsFromPatterns,
|
|
1665
1752
|
extractFile,
|
|
1666
1753
|
extractJsonStringField,
|
|
@@ -1684,6 +1771,7 @@ export {
|
|
|
1684
1771
|
firePostToolUseHook,
|
|
1685
1772
|
firePreToolUseHook,
|
|
1686
1773
|
flatMapTextParts,
|
|
1774
|
+
forceFlushMetrics,
|
|
1687
1775
|
formatAgentId,
|
|
1688
1776
|
formatClassifierBlockMessage,
|
|
1689
1777
|
formatDateForContext,
|
|
@@ -1764,6 +1852,7 @@ export {
|
|
|
1764
1852
|
getMCPDiscoveryState,
|
|
1765
1853
|
getMCPServerPrompts,
|
|
1766
1854
|
getMCPServerStatus,
|
|
1855
|
+
getMaxInlineMediaBytes,
|
|
1767
1856
|
getMemoryBaseDir,
|
|
1768
1857
|
getMonitorOutputPath,
|
|
1769
1858
|
getOrCreateSharedDispatcher,
|
|
@@ -1813,12 +1902,15 @@ export {
|
|
|
1813
1902
|
hasNonFinalTopLevelBackgroundOperator,
|
|
1814
1903
|
hasShellSubstitution,
|
|
1815
1904
|
hasUnsafeMonitorBackgroundOperator,
|
|
1905
|
+
hashDaemonWorkspace,
|
|
1816
1906
|
hashValue,
|
|
1817
1907
|
hookEventSupportsMatcher,
|
|
1818
1908
|
hydrateString,
|
|
1819
1909
|
ideContextStore,
|
|
1820
1910
|
idealabProvider,
|
|
1911
|
+
initializeDaemonMetrics,
|
|
1821
1912
|
initializeTelemetry,
|
|
1913
|
+
injectDaemonTraceContext,
|
|
1822
1914
|
injectPermissionRulesIfMissing,
|
|
1823
1915
|
invokeMcpPrompt,
|
|
1824
1916
|
isAbortError,
|
|
@@ -1830,6 +1922,7 @@ export {
|
|
|
1830
1922
|
isBareMode,
|
|
1831
1923
|
isBinary,
|
|
1832
1924
|
isBinaryFile,
|
|
1925
|
+
isBrowserCommandBlocked,
|
|
1833
1926
|
isClaudePluginConfig,
|
|
1834
1927
|
isCommandAllowed,
|
|
1835
1928
|
isCommandAvailable,
|
|
@@ -1884,6 +1977,7 @@ export {
|
|
|
1884
1977
|
judgeGoal,
|
|
1885
1978
|
knownTokenLimit,
|
|
1886
1979
|
layer,
|
|
1980
|
+
listMcpPrompts,
|
|
1887
1981
|
listTasks,
|
|
1888
1982
|
listTeamNames,
|
|
1889
1983
|
loadIgnoreRules,
|
|
@@ -1956,12 +2050,15 @@ export {
|
|
|
1956
2050
|
notifyGoalTerminal,
|
|
1957
2051
|
notifyTasksUpdated,
|
|
1958
2052
|
onTasksUpdated,
|
|
2053
|
+
openBrowserSecurely,
|
|
1959
2054
|
openDiff,
|
|
1960
2055
|
openRouterProvider,
|
|
1961
2056
|
openaiLogger,
|
|
2057
|
+
oversizedMediaPlaceholder,
|
|
1962
2058
|
parse,
|
|
1963
2059
|
parseAndFormatApiError,
|
|
1964
2060
|
parseBooleanEnvFlag,
|
|
2061
|
+
parseConnectionId,
|
|
1965
2062
|
parseDeletedFromNameStatus,
|
|
1966
2063
|
parseGitDiff,
|
|
1967
2064
|
parseGitHubRepoForReleases,
|
|
@@ -2017,6 +2114,15 @@ export {
|
|
|
2017
2114
|
recordContentRetry,
|
|
2018
2115
|
recordContentRetryFailure,
|
|
2019
2116
|
recordCpuUsage,
|
|
2117
|
+
recordDaemonBridgeError,
|
|
2118
|
+
recordDaemonCancel,
|
|
2119
|
+
recordDaemonChannelLifecycle,
|
|
2120
|
+
recordDaemonError,
|
|
2121
|
+
recordDaemonHttpRequest,
|
|
2122
|
+
recordDaemonHttpResponse,
|
|
2123
|
+
recordDaemonPromptDuration,
|
|
2124
|
+
recordDaemonPromptQueueWait,
|
|
2125
|
+
recordDaemonSessionLifecycle,
|
|
2020
2126
|
recordFallbackApprove,
|
|
2021
2127
|
recordFileOperationMetric,
|
|
2022
2128
|
recordGoalIteration,
|
|
@@ -2040,6 +2146,7 @@ export {
|
|
|
2040
2146
|
redactStructuredOutputArgsForRecording,
|
|
2041
2147
|
redactUrlCredentials,
|
|
2042
2148
|
refreshSessionContext,
|
|
2149
|
+
registerDaemonGaugeCallbacks,
|
|
2043
2150
|
registerGoalHook,
|
|
2044
2151
|
registerLeader,
|
|
2045
2152
|
releaseOwnedTask,
|
|
@@ -2085,6 +2192,7 @@ export {
|
|
|
2085
2192
|
runInToolSpanContext,
|
|
2086
2193
|
runRipgrep,
|
|
2087
2194
|
runSideQuery,
|
|
2195
|
+
runWithDaemonTelemetryContext,
|
|
2088
2196
|
runWithDebugLogSession,
|
|
2089
2197
|
runWithForkedChatModel,
|
|
2090
2198
|
runWithTeammateIdentity,
|
|
@@ -2100,13 +2208,16 @@ export {
|
|
|
2100
2208
|
saveCacheSafeParams,
|
|
2101
2209
|
saveWelcomeBackRestartChoice,
|
|
2102
2210
|
sendStructuredMessage,
|
|
2211
|
+
serializeSnapshot,
|
|
2103
2212
|
serializeTerminalToObject,
|
|
2104
2213
|
serializeTerminalToText,
|
|
2214
|
+
sessionIdContext,
|
|
2105
2215
|
setActiveGoal,
|
|
2106
2216
|
setDebugLogSession,
|
|
2107
2217
|
setGeminiMdFilename,
|
|
2108
2218
|
setGoalTerminalObserver,
|
|
2109
2219
|
setLastGoalTerminal,
|
|
2220
|
+
setMCPDiscoveryState,
|
|
2110
2221
|
setMemberActive,
|
|
2111
2222
|
setStartupEventSink,
|
|
2112
2223
|
settingsSource,
|
|
@@ -2117,6 +2228,7 @@ export {
|
|
|
2117
2228
|
shouldFilterSuggestion,
|
|
2118
2229
|
shouldFirePermissionDeniedForAutoMode,
|
|
2119
2230
|
shouldForceAutoModeReviewForAllow,
|
|
2231
|
+
shouldLaunchBrowser,
|
|
2120
2232
|
shouldRunAutoModeForCall,
|
|
2121
2233
|
shouldShowStep,
|
|
2122
2234
|
shutdownTelemetry,
|
|
@@ -2170,6 +2282,10 @@ export {
|
|
|
2170
2282
|
validatePath,
|
|
2171
2283
|
validateVariables,
|
|
2172
2284
|
windowsCodePageToEncoding,
|
|
2285
|
+
withDaemonBridgeSpan,
|
|
2286
|
+
withDaemonRequestSpan,
|
|
2287
|
+
withDaemonSpan,
|
|
2288
|
+
withInteractionSpan,
|
|
2173
2289
|
worktreeBranchForSlug,
|
|
2174
2290
|
wrapConfirmWithBadge,
|
|
2175
2291
|
write,
|