CLI app plugins register their account runtime with the Host service ctx.cliAccounts instead of a browser registry. The registry serves every account through one cliAccounts Remote and starts or cancels only the operations each account lists. One browser half renders each account's section, tag, activation prompt, confirmations, and notices from the plugin's LocalizedText and the kit's shared dictionary, and keeps link opening, notices, and the pending-action guard per browser. The account runtime replaces its follow stream with observe(), which the registry uses.
89 lines
2.7 KiB
JSON
89 lines
2.7 KiB
JSON
{
|
|
"name": "@deepseek-ai/dsh-client-ui-cli-account",
|
|
"description": "CLI account surfaces for CLI app plugins: the Host registry plugins register their accounts with, and the Plugins page section, title tag, activation prompt, and notices it serves over one Remote",
|
|
"version": "0.2.2-alpha.2",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
|
|
"directory": "packages/client/ui-cli-account"
|
|
},
|
|
"type": "module",
|
|
"main": "lib/index.js",
|
|
"types": "lib/types/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./lib/types/index.d.ts",
|
|
"default": "./lib/index.js"
|
|
},
|
|
"./client": {
|
|
"types": "./lib/types/client/index.d.ts",
|
|
"default": "./lib/client.js"
|
|
},
|
|
"./src/*": "./src/*",
|
|
"./package.json": "./package.json",
|
|
"./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"
|
|
},
|
|
"./locale/*.json": "./locale/*.json"
|
|
},
|
|
"dsh": {
|
|
"client": {
|
|
"inject": [
|
|
"@deepseek-ai/dsh-api-remotes",
|
|
"@deepseek-ai/dsh-client-locale",
|
|
"@deepseek-ai/dsh-client-ui-layout",
|
|
"@deepseek-ai/dsh-client-ui-plugin-manager"
|
|
],
|
|
"platform": "web"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"bundle": "tsdown",
|
|
"watch": "tsdown --watch"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@deepseek-ai/dsh-typert-protocol": "workspace:*",
|
|
"zod": "4.4.3"
|
|
},
|
|
"peerDependencies": {
|
|
"@deepseek-ai/cordis": "workspace:~"
|
|
},
|
|
"devDependencies": {
|
|
"@deepseek-ai/cordis": "workspace:~",
|
|
"@deepseek-ai/dsh-api-gateway": "workspace:*",
|
|
"@deepseek-ai/dsh-api-remotes": "workspace:*",
|
|
"@deepseek-ai/dsh-cli-account": "workspace:*",
|
|
"@deepseek-ai/dsh-client-locale": "workspace:*",
|
|
"@deepseek-ai/dsh-client-store": "workspace:*",
|
|
"@deepseek-ai/dsh-client-test-runtime": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-layout": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-plugin-manager": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-primitives": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-renderer": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-slots": "workspace:*",
|
|
"@deepseek-ai/dsh-package-manifest": "workspace:*",
|
|
"@testing-library/react": "^16.3.3",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"files": [
|
|
"locale/*.json",
|
|
"lib/index.js",
|
|
"lib/client.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"
|
|
]
|
|
}
|