CH4ACKO3/dsh-ui-workspace0

@ch4acko3/dsh-ui-workspace

Composable workspace primitives for DeepSeek Harness UI plugins

AI 分析

核心用途是提供可拖拽面板、树状视图、标签页编辑器等 VS Code 风格的 UI 基础组件。适合需要为 DSH 开发复杂 IDE 式交互界面的插件开发者。

パッケージ
@ch4acko3/dsh-ui-workspace
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/14

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:CH4ACKO3/dsh-ui-workspace

ドキュメント

README 全文を読む ↗

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. The Workspace bundle installs and activates the Container bundle row so the browser owns one shared uiContainer 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

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.