Hide workspace and agent content when the native sidebar rail is collapsed. Add persistent whole-composer collapse controls and a temporary Zen mode that removes side panels, chat header, and composer while keeping an in-chat exit control available. Cover state transitions, Escape handling, React rerender idempotence, and cleanup with a dependency-free DOM regression test.
37 lines
788 B
JSON
37 lines
788 B
JSON
{
|
|
"name": "dsh-compact-sidebar",
|
|
"description": "dsh web plugin: hide optional sidebar chrome and suppress the workspace or agent tree while the native sidebar rail is collapsed. Client-only.",
|
|
"version": "0.1.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": "^22.19.0 || >=24.0.0"
|
|
},
|
|
"main": "lib/index.js",
|
|
"exports": {
|
|
".": {
|
|
"default": "./lib/index.js"
|
|
},
|
|
"./client": {
|
|
"default": "./lib/client.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"dsh": {
|
|
"engines": {
|
|
"dsh": ">=0.1.2-alpha.1"
|
|
},
|
|
"bundle": {
|
|
"patch": "./cordis.patch.yml"
|
|
},
|
|
"client": {
|
|
"inject": [],
|
|
"platform": "web"
|
|
}
|
|
},
|
|
"files": [
|
|
"lib/**/*.js",
|
|
"cordis.patch.yml"
|
|
],
|
|
"license": "MIT"
|
|
}
|