A successful `pnpm add` is no longer the end of `plugins/install`: a new package that declares neither a bundle nor a plugin module, or a bundle whose row id a composed layer already owns, is removed again and reported under `removed` with its reason, while a package the probe refused stays for the view to explain. The profile manifest is snapshotted before the run and restored when pnpm fails. The manager refuses a second mutation while one runs (`plugins/busy`) instead of racing on the manifest and user layers, and `install`/`uninstall` refuse while a session is running (`plugins/agents-running`), because pnpm rewrites the directory those sessions import from. `resolveProfileLayer` factors one bundle's layer out of `loadProfile` so the manager can judge a candidate against the composed layers.
78 lines
2.4 KiB
JSON
78 lines
2.4 KiB
JSON
{
|
|
"name": "@deepseek-ai/dsh-host-plugin-manager",
|
|
"description": "Plugin management over the booted profile: install, enable, disable, and retry bundles, add rows to the global or a preset's user layer, and report each package's state through the plugins Remote",
|
|
"version": "0.1.2-rc.1",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
|
|
"directory": "packages/host/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"
|
|
},
|
|
"./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"
|
|
},
|
|
"files": [
|
|
"lib/index.js",
|
|
"lib/types/**/*.js",
|
|
"lib/types/**/*.d.ts",
|
|
"lib/typert.host.js",
|
|
"lib/typert.host.d.ts",
|
|
"lib/typert.remote-client.js",
|
|
"lib/typert.remote-client.d.ts"
|
|
],
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@deepseek-ai/schemastery": "workspace:^",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"peerDependencies": {
|
|
"@deepseek-ai/cordis": "workspace:^",
|
|
"@deepseek-ai/cordis-plugin-loader": "workspace:^",
|
|
"@deepseek-ai/dsh-agent": "workspace:^",
|
|
"@deepseek-ai/dsh-agent-presets": "workspace:^",
|
|
"@deepseek-ai/dsh-app-boot": "workspace:^",
|
|
"@deepseek-ai/dsh-patch-file": "workspace:^",
|
|
"@deepseek-ai/dsh-typert-protocol": "workspace:^",
|
|
"@deepseek-ai/dsh-util-values": "workspace:^"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@deepseek-ai/dsh-agent-presets": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@deepseek-ai/cordis": "workspace:^",
|
|
"@deepseek-ai/cordis-plugin-group": "workspace:^",
|
|
"@deepseek-ai/cordis-plugin-include": "workspace:^",
|
|
"@deepseek-ai/cordis-plugin-loader": "workspace:^",
|
|
"@deepseek-ai/dsh-agent": "workspace:^",
|
|
"@deepseek-ai/dsh-agent-presets": "workspace:^",
|
|
"@deepseek-ai/dsh-app-boot": "workspace:^",
|
|
"@deepseek-ai/dsh-patch-file": "workspace:^",
|
|
"@deepseek-ai/dsh-typert-protocol": "workspace:^",
|
|
"@deepseek-ai/dsh-util-values": "workspace:^"
|
|
}
|
|
}
|