{"_id":"@all3cn/dsh-better-sidebar-n23","name":"@all3cn/dsh-better-sidebar-n23","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@all3cn/dsh-better-sidebar-n23","version":"0.1.0","description":"DSH web plugin: complete workbench (explorer / editors / previews / terminal / git / browser / tasks, side + bottom split panes) plus a VSCode-like shell refactor (full-width 48px header, activity rail, global controls). Service-first: exposes ctx.betterS","type":"module","repository":{"type":"git","url":"git+https://github.com/All3nCN/dsh-better-sidebar-N23.git"},"publishConfig":{"access":"public"},"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"},"./client/service":{"types":"./lib/types/client/service.d.ts","default":"./lib/client.js"},"./client/api":{"types":"./lib/types/client/service.d.ts","default":"./lib/client.js"},"./src/*":"./src/*","./package.json":"./package.json"},"engines":{"node":">=20"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-slots","@deepseek-ai/dsh-client-ui-conversation"],"platform":"web"}},"license":"MIT","peerDependencies":{"@deepseek-ai/cordis":">=0.1.0-rc.6 <0.2.0","@deepseek-ai/dsh-agent":">=0.1.0-rc.6 <0.2.0","@deepseek-ai/dsh-client-locale":">=0.1.0-rc.6 <0.2.0","@deepseek-ai/dsh-client-runtime":">=0.1.0-rc.6 <0.2.0","@deepseek-ai/dsh-client-schema-form":">=0.1.0-rc.6 <0.2.0","@deepseek-ai/dsh-client-ui-conversation":">=0.1.0-rc.6 <0.2.0","@deepseek-ai/dsh-client-ui-primitives":">=0.1.0-rc.6 <0.2.0","@deepseek-ai/dsh-client-ui-settings":">=0.1.0-rc.6 <0.2.0","@deepseek-ai/dsh-client-ui-slots":">=0.1.0-rc.6 <0.2.0","@deepseek-ai/dsh-client-web-react":">=0.1.0-rc.6 <0.2.0","@deepseek-ai/dsh-host-webserver":">=0.1.0-rc.6 <0.2.0","@deepseek-ai/dsh-invariants":">=0.1.0-rc.6 <0.2.0","@deepseek-ai/dsh-llm":">=0.1.0-rc.6 <0.2.0","@deepseek-ai/dsh-session":">=0.1.0-rc.6 <0.2.0","@deepseek-ai/dsh-settings":">=0.1.0-rc.6 <0.2.0","@deepseek-ai/dsh-tools":">=0.1.0-rc.6 <0.2.0","cordis":"^4.0.0-rc.7","react":"^18.2.0","react-dom":"^18.2.0"},"peerDependenciesMeta":{"cordis":{"optional":true}},"dependencies":{"@codemirror/commands":"^6.10.4","@codemirror/lang-cpp":"^6.0.3","@codemirror/lang-css":"^6.3.1","@codemirror/lang-go":"^6.0.1","@codemirror/lang-html":"^6.4.12","@codemirror/lang-java":"^6.0.2","@codemirror/lang-javascript":"^6.2.5","@codemirror/lang-json":"^6.0.2","@codemirror/lang-markdown":"^6.5.2","@codemirror/lang-php":"^6.0.2","@codemirror/lang-python":"^6.2.1","@codemirror/lang-rust":"^6.0.2","@codemirror/lang-sql":"^6.10.0","@codemirror/lang-xml":"^6.1.0","@codemirror/lang-yaml":"^6.1.3","@codemirror/language":"^6.12.4","@codemirror/legacy-modes":"^6.5.3","@codemirror/search":"^6.7.1","@codemirror/state":"^6.7.1","@codemirror/view":"^6.43.8","@lezer/highlight":"^1.2.3","clsx":"^2.1.1","node-pty":"^1.1.0","rxjs":"^7.8.2","schemastery":"^3.18.0","ws":"^8.18.0"},"scripts":{"package:registry":"node scripts/package-registry.mjs","pack:audit":"npm pack --ignore-scripts"},"bugs":{"url":"https://github.com/All3nCN/dsh-better-sidebar-N23/issues"},"homepage":"https://github.com/All3nCN/dsh-better-sidebar-N23#readme","keywords":["dsh-plugin","deepseek-harness","dsh","sidebar","workbench","terminal","git","explorer","codemirror","xterm","cordis"],"author":{"name":"All3nCN"},"contributors":[{"name":"omdsh-dev","url":"upstream dsh-better-sidebar authors"}],"gitHead":"8604e63b36854fb937ec7bf86a5a0331ca590e51","_id":"@all3cn/dsh-better-sidebar-n23@0.1.0","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-nYO3EtW792MnnPw+k95RPWZxtJgKZ7y1fRMSHEX7wQFVe48Frbjs4iZAkeMAFfXChA+bcTi51ExZswlFroXTWQ==","shasum":"5e4c25767508b234d480ee9918949cf68d7faf9b","tarball":"https://registry.npmjs.org/@all3cn/dsh-better-sidebar-n23/-/dsh-better-sidebar-n23-0.1.0.tgz","fileCount":171,"unpackedSize":4109259,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICujCVeJbZhLDn9psXfL8TCHFnT5KzOOUHwsFZEvecUuAiEAliMUihzA8fHGoSnRHDgODCm/0BobqlahjmQRlN+QRNQ="}]},"_npmUser":{"name":"y3ng","email":"157233893@qq.com"},"directories":{},"maintainers":[{"name":"y3ng","email":"157233893@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-better-sidebar-n23_0.1.0_1788196901210_0.7328823173061838"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-31T17:21:40.936Z","0.1.0":"2026-08-31T17:21:41.404Z","modified":"2026-08-31T17:21:41.710Z"},"maintainers":[{"name":"y3ng","email":"157233893@qq.com"}],"description":"DSH web plugin: complete workbench (explorer / editors / previews / terminal / git / browser / tasks, side + bottom split panes) plus a VSCode-like shell refactor (full-width 48px header, activity rail, global controls). Service-first: exposes ctx.betterS","homepage":"https://github.com/All3nCN/dsh-better-sidebar-N23#readme","keywords":["dsh-plugin","deepseek-harness","dsh","sidebar","workbench","terminal","git","explorer","codemirror","xterm","cordis"],"repository":{"type":"git","url":"git+https://github.com/All3nCN/dsh-better-sidebar-N23.git"},"contributors":[{"name":"omdsh-dev","url":"upstream dsh-better-sidebar authors"}],"author":{"name":"All3nCN"},"bugs":{"url":"https://github.com/All3nCN/dsh-better-sidebar-N23/issues"},"license":"MIT","readme":"# @all3cn/dsh-better-sidebar-n23\n\n一个服务化的侧边栏框架 + 一套开箱即用的 DSH 完整工作台。本包是开源插件\n[dsh-better-sidebar](https://github.com/omdsh-dev/DSH-better-sidebar)（MIT）的社区\nfork，在 `@all3cn` 作用域下独立发版；上游致谢见 [UPSTREAM.md](./UPSTREAM.md)。\n\n[English](./README_EN.md) | 中文\n\n## 功能一览\n\n- **文件工作台**：资源管理器（懒加载目录树、软链接按目标类型展示）+ CodeMirror\n  编辑器；图片 / Markdown / HTML / PDF / Office 内联预览\n- **真实终端**：xterm.js + node-pty 真实 shell，断线重连回放；可选为模型注入\n  `terminal_*` 工具\n- **Git 面板**：真 diff + VSCode 式 diff tab、历史、右键暂存 / 提交 / 还原\n- **内嵌浏览器**：多开网页 tab，后退 / 前进 / 刷新；内容运行在沙箱 iframe\n- **后台任务页**：subagent 拓扑 + 后台任务（退出码 / 实时输出 / 强制终止）\n- **双工作区**：右侧栏 + 底部面板，拖 Tab 拆分 / 合并分栏（可跨面板）\n- **外壳重构**：全宽 48px 顶栏 + VSCode 式活动栏（activity rail）+ 全局控制区，\n  对话与工作台并存的 IDE 布局\n- **服务化 API**：通过 `ctx.betterSidebar` 开放给所有插件——\n  `registerTab` / `registerFileViewer` 注册侧边栏页面与文件预览器，内置 tab 与\n  第三方插件走同一套注册接口，能力完全对等\n- **会话隔离**：布局 / Tab / 面板按会话持久化；多语言（zh / en）跟随 DSH 语言\n\n## 兼容性\n\n针对 DSH（DeepSeek Harness）`0.1.1-rc.2` 验证；peer 依赖声明为\n`@deepseek-ai/* >= 0.1.0-rc.6 < 0.2.0`。要求 Node.js >= 20。\n\n## 安装\n\n前置：已装好 DSH（`dsh web` 可正常运行）。\n\n```sh\ndsh plugin --profile web add @all3cn/dsh-better-sidebar-n23\n```\n\n包内声明了 `dsh.bundle.patch`（[cordis.patch.yml](./cordis.patch.yml)），CLI 的\nbundle 协调会自动把它加入 profile 的 bundle 栈，无需手动改 profile 文件。若\nprofile 中残留旧的 `dsh-better-sidebar`（上游或本地 fork）手动挂载行，请先移除\n以免双挂载。卸载：`dsh plugin --profile web remove @all3cn/dsh-better-sidebar-n23`。\n\n也可用包内一键脚本（处理 pnpm 11 构建许可与 minimumReleaseAge 放行）：\n\n```sh\nbash scripts/install.sh            # macOS / Linux / Git Bash\npowershell -File scripts/install.ps1   # Windows\n```\n\n## 其他插件接入\n\n```ts\n// 任一 DSH 插件的 client 半区\nctx.betterSidebar.registerTab({ id: \"my-tab\", title: \"My Tab\", render: ... });\nctx.betterSidebar.registerFileViewer({ pattern: \"**/*.xyz\", render: ... });\n```\n\n## 版本记录\n\n### 0.1.0（fork 首版）\n\n- 基于 upstream `dsh-better-sidebar@0.12.3`，在 `@all3cn` 作用域下独立发版\n- 面板拖拽不再逐帧写 CSS 变量，中央对话只在落点提交时重排一次\n- 完整工作台：Explorer / 编辑器 / 预览 / 终端 / Git / 浏览器 / 任务，侧栏 +\n  底部面板可拆分\n- 外壳重构：全宽 48px 顶栏、活动栏、全局控制区\n- 兼容新 DSH 内核的模块系统加载（懒加载 chunk 修复），在 `0.1.1-rc.2` 验证\n\n## 发布与打包\n\n- npm 发布流程见 [docs/RELEASE.md](./docs/RELEASE.md)（tag `v*` 触发\n  Trusted Publishing + provenance）\n- 免构建的注册表打包（manifest + npm 风格 tarball 审计）：\n  `npm run package:registry -- --dry-run`\n- 本仓库直接跟踪已构建的 `lib/`；`src/` 与 `lib/` 手工保持同步（见\n  [UPSTREAM.md](./UPSTREAM.md)）\n\n## 许可\n\n[MIT](./LICENSE)。fork 自 omdsh-dev/DSH-better-sidebar（MIT），与 DeepSeek 及\n上游作者无隶属关系。\n","readmeFilename":"README.md","_rev":"1-4e2f396d4ff451b960af2ff6507db351"}