Files
deepseek-harness/packages/boot/plugin-manager/package.json
T
sjw1231 255c58d8b0 feat(plugin-manager): add PluginManagerError and a coded lock timeout
plugin_manager argument checks now throw ToolArgsError (INVALID_ARGS).
Failures thrown outside a change result carry PluginManagerError:
PLUGIN_MANAGER_PROFILE_READ_FAILED when listPlugins or listBundles
cannot read the profile manifest, patches, version exemptions, or
installation manifest, and PLUGIN_MANAGER_UNAVAILABLE after disposal.

atomic-write now throws FileLockError (FILE_LOCK_TIMEOUT, naming
lockPath) when another writer holds the lock past the deadline, so
every withFileLock caller, including plugin_manager, reports a
structured lock timeout. Both packages depend on @deepseek-ai/dsh-error
for HarnessError.

Refs #7869
2026-11-09 15:13:52 +08:00

133 lines
4.3 KiB
JSON

{
"name": "@deepseek-ai/dsh-plugin-manager",
"description": "Current-profile plugin and bundle management shared by dsh CLI, Web and agent tools",
"version": "0.2.2-rc.1",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
"directory": "packages/boot/plugin-manager"
},
"type": "module",
"main": "lib/index.js",
"types": "lib/types/index.d.ts",
"exports": {
".": {
"types": "./lib/types/index.d.ts",
"default": "./lib/index.js"
},
"./types": {
"types": "./lib/types/types.d.ts",
"default": "./lib/types/types.js"
},
"./registry": {
"types": "./lib/types/registry.d.ts",
"default": "./lib/types/registry.js"
},
"./typert": {
"types": "./lib/typert.host.d.ts",
"default": "./lib/typert.host.js"
},
"./remote": {
"types": "./lib/typert.remote-client.d.ts",
"default": "./lib/typert.remote-client.js"
},
"./src/*": "./src/*",
"./package.json": "./package.json",
"./operations": {
"types": "./lib/types/operations.d.ts",
"default": "./lib/types/operations.js"
},
"./tools": {
"types": "./lib/types/tools.d.ts",
"default": "./lib/types/tools.js"
},
"./tools/locale/*.json": "./locale/tools/*.json",
"./locale/*.json": "./locale/*.json",
"./diagnostic": {
"types": "./lib/types/diagnostic.d.ts",
"default": "./lib/types/diagnostic.js"
}
},
"files": [
"locale/*.json",
"locale/tools/*.json",
"lib/index.js",
"lib/types/**/*.js",
"lib/types/**/*.d.ts",
"lib/types/**/*.d.ts.map",
"lib/**/*.js.map",
"lib/typert.host.js",
"lib/typert.host.d.ts",
"lib/typert.remote-client.js",
"lib/typert.remote-client.d.ts",
"lib/typert.remote-client.d.ts.map",
"src"
],
"license": "MIT",
"dependencies": {
"@deepseek-ai/dsh-app-boot": "workspace:*",
"@deepseek-ai/dsh-atomic-write": "workspace:*",
"@deepseek-ai/dsh-official-bundles": "workspace:*",
"@deepseek-ai/schemastery": "workspace:~",
"execa": "^10.0.1",
"semver": "^7.8.5",
"yaml": "^2.9.0",
"zod": "4.6.6",
"@deepseek-ai/dsh-util-values": "workspace:*",
"@deepseek-ai/dsh-plugin-detail": "workspace:*",
"@deepseek-ai/dsh-timeout": "workspace:*",
"hosted-git-info": "^9.0.3"
},
"peerDependencies": {
"@deepseek-ai/cordis": "workspace:~",
"@deepseek-ai/cordis-plugin-loader": "workspace:~",
"@deepseek-ai/dsh-host-plugin-inventory": "workspace:*",
"@deepseek-ai/dsh-subprocess": "workspace:*",
"@deepseek-ai/dsh-typert-protocol": "workspace:*",
"@deepseek-ai/dsh-tools": "workspace:*",
"@deepseek-ai/dsh-error": "workspace:*",
"@deepseek-ai/dsh-hmr": "workspace:*",
"@deepseek-ai/dsh-brand": "workspace:*",
"@deepseek-ai/dsh-sandbox-policy": "workspace:*",
"@deepseek-ai/dsh-sandbox": "workspace:*",
"@deepseek-ai/dsh-user-approval": "workspace:*"
},
"peerDependenciesMeta": {
"@deepseek-ai/dsh-hmr": {
"optional": true
},
"@deepseek-ai/dsh-user-approval": {
"optional": true
}
},
"devDependencies": {
"chokidar": "^4.0.3",
"@types/semver": "^7.8.0",
"@deepseek-ai/dsh-package-manifest": "workspace:*",
"@deepseek-ai/cordis": "workspace:~",
"@deepseek-ai/cordis-plugin-loader": "workspace:~",
"@deepseek-ai/dsh-host-plugin-inventory": "workspace:*",
"@deepseek-ai/dsh-subprocess": "workspace:*",
"@deepseek-ai/dsh-typert-protocol": "workspace:*",
"@deepseek-ai/dsh-tool-executor-native": "workspace:*",
"@deepseek-ai/dsh-tool-testkit": "workspace:*",
"@deepseek-ai/dsh-tools": "workspace:*",
"@deepseek-ai/dsh-error": "workspace:*",
"@deepseek-ai/dsh-system-prompt": "workspace:*",
"@deepseek-ai/dsh-hmr": "workspace:*",
"@deepseek-ai/cordis-plugin-timer": "workspace:~",
"@deepseek-ai/dsh-brand": "workspace:*",
"@deepseek-ai/dsh-sandbox-policy": "workspace:*",
"@deepseek-ai/dsh-agent": "workspace:*",
"@deepseek-ai/dsh-session": "workspace:*",
"@deepseek-ai/dsh-session-projection": "workspace:*",
"@deepseek-ai/dsh-sandbox": "workspace:*",
"@deepseek-ai/dsh-user-approval": "workspace:*",
"@deepseek-ai/dsh-client-connection": "workspace:*",
"@types/hosted-git-info": "^3.0.5"
}
}