feat: add DSH plugin marketplace and shared MCP

GoodBuddy could share Skills across runtimes, but custom MCP remained limited and DeepSeek Harness could not manage third-party extensions. The app now provides a default-off DSH npm marketplace with managed installation, configuration, failure isolation, and packaged npm support, while assigned custom MCP is available to managed OpenCode, Continue Agent, and DeepSeek Harness in Execute.

Third-party DSH install scripts, initialization, and tools run with the current user's permissions. Ask remains read-only at dispatch, and turning off the marketplace hides management without disabling installed plugins.

Release note: 新增默认关闭的 DSH 插件市场,并让自定义 MCP 可分配给 OpenCode、Continue 和 DeepSeek Harness;安装第三方插件前会明确提示当前用户权限边界。
This commit is contained in:
mesalogo
2026-08-16 11:47:11 +08:00
parent 9e6f664e06
commit ff61b5f81d
67 changed files with 9337 additions and 443 deletions
+10
View File
@@ -94,6 +94,10 @@ import type {
DocumentParsingTestPurpose
} from './document-parsing-contracts'
import type { SettingsWarning } from './settings-warning-contracts'
import type {
RuntimeExtensionAction,
RuntimeExtensionMarketplaceSnapshot
} from './runtime-extension-contracts'
import type {
KnowledgeChunkDeleteInput,
KnowledgeChunkPage,
@@ -1518,6 +1522,12 @@ export type DesktopApi = {
profileId: string
) => Promise<CapabilitySnapshot>
}
runtimeExtensions: {
getSnapshot: () => Promise<RuntimeExtensionMarketplaceSnapshot>
apply: (
action: RuntimeExtensionAction
) => Promise<RuntimeExtensionMarketplaceSnapshot>
}
context: {
selectFiles: () => Promise<ContextAttachment[]>
onFileSelectionProgress: (