Declare shared Agent dispatch and tool protocol dependencies for CUA

This commit is contained in:
creatixchu committed 2026-11-19 12:38:29 +08:00
1 parent f7b9547bb4
commit 06ff7d3a6c
3 files changed
+10 -7

No files matched your search

+4 -3
View File
@@ -102,7 +102,8 @@
"@deepseek-ai/dsh-scope": "workspace:*",
"@deepseek-ai/dsh-ptc-runtime-node": "workspace:*",
"@deepseek-ai/dsh-tools": "workspace:*",
"@deepseek-ai/dsh-tool-executor-ptc": "workspace:*"
"@deepseek-ai/dsh-tool-executor-ptc": "workspace:*",
"@deepseek-ai/dsh-agent": "workspace:*"
},
"dependencies": {
"@deepseek-ai/dsh-brand": "workspace:*",
@@ -110,7 +111,8 @@
"zod": "4.6.6",
"@deepseek-ai/dsh-atomic-write": "workspace:*",
"@deepseek-ai/dsh-typert-protocol": "workspace:*",
"@deepseek-ai/dsh-storage-domain": "workspace:*"
"@deepseek-ai/dsh-storage-domain": "workspace:*",
"@deepseek-ai/dsh-llm": "workspace:*"
},
"devDependencies": {
"@deepseek-ai/dsh-computer-use": "workspace:*",
@@ -126,7 +128,6 @@
"@deepseek-ai/dsh-attachment": "workspace:*",
"@deepseek-ai/dsh-attachment-local": "workspace:*",
"@deepseek-ai/dsh-error": "workspace:*",
"@deepseek-ai/dsh-llm": "workspace:*",
"@deepseek-ai/dsh-session": "workspace:*",
"@deepseek-ai/dsh-session-projection": "workspace:*",
"@deepseek-ai/dsh-system-prompt": "workspace:*",
+3 -3
View File
@@ -10572,6 +10572,9 @@ importers:
'@deepseek-ai/dsh-brand':
specifier: workspace:*
version: link:../../util/brand
'@deepseek-ai/dsh-llm':
specifier: workspace:*
version: link:../../llm/llm
'@deepseek-ai/dsh-storage-domain':
specifier: workspace:*
version: link:../../storage/storage-domain
@@ -10675,9 +10678,6 @@ importers:
'@deepseek-ai/dsh-hmr':
specifier: workspace:*
version: link:../../boot/hmr
'@deepseek-ai/dsh-llm':
specifier: workspace:*
version: link:../../llm/llm
'@deepseek-ai/dsh-llm-deepseek':
specifier: workspace:*
version: link:../../llm/llm-deepseek
+3 -1
View File
@@ -76,6 +76,8 @@ const SAFE_HOST_DEPENDENCY_EXPORTS = {
/** Runtime exports that require every consumer to resolve the provider's shared peer instance. */
const PEER_REQUIRED_HOST_EXPORTS = {
// Agent notifications must use the installed Agent and scope dispatch implementation.
'@deepseek-ai/dsh-agent': ['emitAgentEvent'],
// Profile settings must match the installed Node provider's configuration schema.
'@deepseek-ai/dsh-ptc-runtime-node/configuration': ['resolvePersistentExecution'],
// CUA mounts the installed provider and shares executor error classes with PTC.
@@ -102,7 +104,7 @@ const PEER_REQUIRED_HOST_EXPORTS = {
// Imported titles follow the installed title service's normalization.
'@deepseek-ai/dsh-session-title': ['normalizeSessionTitle'],
// Error classes have instance identity; CUA and Liveshare throw the registry's own copy so `instanceof` against it matches.
'@deepseek-ai/dsh-tools': ['defineTool', 'ToolArgsError', 'ToolContextUnavailableError'],
'@deepseek-ai/dsh-tools': ['defineTool', 'ToolArgsError', 'ToolContextUnavailableError', 'RUN_CODE_NAME'],
// Readers recognize a deadline's TimeoutReason only by `instanceof` against their own copy.
'@deepseek-ai/dsh-timeout': ['deadline', 'timeoutOf'],
// Imported web tool results must render exactly like the installed web tools' results and cards.