dsh-ui-workspace
界面增强 活跃维护

dsh-ui-workspace

CH4ACKO3/dsh-ui-workspace

Composable workspace primitives for DeepSeek Harness UI plugins

2
Stars 标星
0
Forks 分支
2
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
289 KB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:CH4ACKO3/dsh-ui-workspace
git clone https://github.com/CH4ACKO3/dsh-ui-workspace.git
git clone git@github.com:CH4ACKO3/dsh-ui-workspace.git
README.md main

dsh-ui-workspace

Composable workspace primitives for DeepSeek Harness browser plugins. The
package provides draggable pane stacks, recursive tree views, tabbed document
editors, document renderers, actions, and VS Code-style explorer behavior.

dsh-ui-workspace builds on
dsh-ui-container and leaves
product-specific navigation, data providers, commands, and styling to the
consumer.

The dependency is intentional: Workspace document surfaces call the
container's useUiSurface() hook at runtime and share its DocumentRef and
DocumentSnapshot contracts. Container remains an independently installed
plugin and owns the single bundle row that provides the shared uiContainer
service; Workspace only consumes that service.

Install Container and Workspace as separate bundles in the same DeepSeek
Harness profile:

dsh plugin --profile web add github:CH4ACKO3/dsh-ui-container
dsh plugin --profile web add github:CH4ACKO3/dsh-ui-workspace

These commands are profile-scoped and can be run from any directory.

Git dependencies run both packages' prepare builds. With pnpm 10 or newer,
approve the exact package keys reported by the first install in the profile's
pnpm-workspace.yaml, then repeat the command. Registry releases and packed
artifacts do not require that approval. Container must remain installed while
Workspace is enabled.

import {
  DocumentSurface,
  ExplorerPaneStack,
  TabbedEditor,
  TreeView,
} from '@ch4acko3/dsh-ui-workspace/client'

The same package remains importable by browser plugins that compose these
primitives into product-specific pages.