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:
@@ -8,6 +8,7 @@ import type {
|
||||
} from './runtime'
|
||||
import type { ModelToolProviderLike } from './model-tool-provider'
|
||||
import type { RuntimeSkillPackage } from '../capabilities/capability-service'
|
||||
import type { ControlledHarnessExtensionPackage } from './deepseek-harness-extension-loader'
|
||||
import {
|
||||
assertObjectJsonSchema,
|
||||
validateJsonSchemaValue
|
||||
@@ -137,6 +138,7 @@ export type DeepSeekHarnessLaunchOptions = {
|
||||
model: string
|
||||
credentialRefs: readonly string[]
|
||||
skillPackages: readonly RuntimeSkillPackage[]
|
||||
extensionPackages: readonly ControlledHarnessExtensionPackage[]
|
||||
}
|
||||
|
||||
export type DeepSeekHarnessRuntimeOptions = {
|
||||
@@ -154,6 +156,7 @@ export type DeepSeekHarnessRuntimeOptions = {
|
||||
maxRequestOutputCharacters?: number
|
||||
credentialRefs?: Readonly<Record<string, string>>
|
||||
skillPackages?: RuntimeSkillPackage[]
|
||||
extensionPackages?: ControlledHarnessExtensionPackage[]
|
||||
toolProvider?: ModelToolProviderLike
|
||||
loadAcpSdk?: () => Promise<DeepSeekHarnessAcpSdk>
|
||||
}
|
||||
@@ -694,7 +697,8 @@ export class DeepSeekHarnessRuntime implements AgentRuntime {
|
||||
credentialRefs: Object.keys(
|
||||
this.options.credentialRefs ?? {}
|
||||
),
|
||||
skillPackages: this.options.skillPackages ?? []
|
||||
skillPackages: this.options.skillPackages ?? [],
|
||||
extensionPackages: this.options.extensionPackages ?? []
|
||||
}),
|
||||
this.initializationTimeoutMs,
|
||||
'启动'
|
||||
|
||||
Reference in New Issue
Block a user