PermissionSelect returns as the Access seat's wired occupant: options and the current value read from the 'permissions' projection through the standard-kit useProjection (no fetch, no mount timing — the resident composer's mount-once fetch bug dies with the fetch), key absence renders nothing (permission-less host, or a Draft with no session), and a pick submits the '/permission <preset>' command line through the new ComposerBarInjected.command callback (Session.command = command.execute admission; the pushed projection frame lands the confirmed value). The READONLY_OPTIONS placeholder and its local state leave InputBar. The connection fixture mirrors the host: a permissions unit fold (three knob events over the fixture preset table), the projections block + baseline/push frames carry the key, and /permission joins the command catalog with the same switch-through-knob-events handler shape.
73 lines
2.1 KiB
JSON
73 lines
2.1 KiB
JSON
{
|
|
"name": "@deepseek-ai/dsh-client-ui-conversation",
|
|
"description": "Conversation domain: skeleton (header/tabs/composer), chat view, ctx.toolviews registry, minimal details panel",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "lib/index.js",
|
|
"types": "lib/types/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./lib/types/index.d.ts",
|
|
"default": "./lib/index.js"
|
|
},
|
|
"./invariant": {
|
|
"types": "./lib/types/invariant.d.ts",
|
|
"default": "./lib/invariant.js"
|
|
},
|
|
"./client": {
|
|
"types": "./lib/types/client/index.d.ts",
|
|
"default": "./lib/client.js"
|
|
},
|
|
"./src/*": "./src/*",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"dshClient": {
|
|
"inject": [
|
|
"@deepseek-ai/dsh-client-locale",
|
|
"@deepseek-ai/dsh-client-runtime",
|
|
"@deepseek-ai/dsh-client-ui-layout"
|
|
],
|
|
"platform": "web"
|
|
},
|
|
"scripts": {
|
|
"bundle": "tsdown",
|
|
"watch": "tsdown --watch"
|
|
},
|
|
"license": "BSD-3-Clause",
|
|
"dependencies": {
|
|
"clsx": "^2.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@deepseek-ai/dsh-client-runtime": "^0.0.1",
|
|
"@deepseek-ai/dsh-client-ui-primitives": "^0.0.1",
|
|
"@deepseek-ai/dsh-client-ui-slash": "^0.0.1",
|
|
"@deepseek-ai/dsh-client-ui-slots": "^0.0.1",
|
|
"@deepseek-ai/dsh-invariants": "^0.0.1",
|
|
"cordis": "^4.0.0-rc.7",
|
|
"react": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@deepseek-ai/dsh-client-runtime": "workspace:^",
|
|
"@deepseek-ai/dsh-client-ui-layout": "workspace:^",
|
|
"@deepseek-ai/dsh-client-ui-primitives": "workspace:^",
|
|
"@deepseek-ai/dsh-client-ui-slash": "workspace:^",
|
|
"@deepseek-ai/dsh-client-ui-slots": "workspace:^",
|
|
"@deepseek-ai/dsh-invariants": "workspace:^",
|
|
"@deepseek-ai/dsh-permission": "workspace:^",
|
|
"@deepseek-ai/dsh-session-projection": "workspace:^",
|
|
"@deepseek-ai/dsh-tool-todo": "workspace:^",
|
|
"@types/react": "~18.3.1",
|
|
"cordis": "^4.0.0-rc.7",
|
|
"react": "^18.2.0"
|
|
},
|
|
"files": [
|
|
"lib/index.js",
|
|
"lib/invariant.js",
|
|
"lib/client.js",
|
|
"lib/types/**/*.d.ts",
|
|
"lib/types/**/*.d.ts.map",
|
|
"src"
|
|
]
|
|
}
|