baikangwang/dsh-ide-ui--packages-client-ui-ide ↗★ 0
dsh-client-ide-ui
ide-ui client half: VSCode-style Explorer / Search / Source Control / Sessions sidebar and editor column for the DeepSeek Harness Web UI. Unofficial community plugin.
AI 분석
核心用途是提供 IDE 风格的客户端前端展示。适合需要直观浏览代码树、查看 Git Diff 和多标签页编辑文件的用户,需配合 Host 端插件使用。
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗
dsh-client-ide-ui
ide-ui 的 Client 半(非官方社区插件):统一左侧栏(资源管理器 / 搜索 / 源代码管理 / 会话管理)+ 编辑器标签页。纯展示层——文件 / git / 查找原语通过挂载 dsh-ide-ui 的 ide Remote(ctx.remote.$mount(ideRemote))到达,会话 / 工作区数据来自框架的全局 useSessions / useWorkspaces 钩子。
- 注册到
sidebar.workspaces(priority: -1占据整栏)。 - 编辑器注册进
conversation.view的「编辑器」标签页(可分发,官方零修改)。
Model Experience
None, as the sidebar and editor column are pure presentation over the ide Remote and framework slot hooks — they contribute no model-visible surface.
KV Cache effect
Independent: this package adds no model-request tokens, so it cannot invalidate a reusable KV-cache prefix.
Known Limitations and Deferred Work
- JSX / 样式封装 — 组件用
createElement(非 JSX)书写;样式在styles.module.css中全部以:global()包裹(类名保持字面量)。DSH 惯用法是 JSX + 语义 token 的 scoped CSS Modules——正规化清单见docs/refactor-plan-v4.md§4。 - 注册边界
as any—ctx.slots.register的组件参数在注册点做了as any转换(组合 props 含 owner + framework shares);组件内部 props 已按IdeSidebarProps/EditorViewProps强类型。 - 编辑器是
conversation.view标签页 — 官方槽,可分发;与对话为时序切换(看编辑器时看不到聊天)。独立并排列需要壳扩展(改官方 ui-layout),不属于插件能力(docs/refactor-plan-v4.md§1)。