DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

Zhizhi-2986 /

Zhizhi-2986/dsh-plugins-enhanced

仅 Topic 仓库

这个插件还没有填写简介。

★ 1 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub
README来源: main@967166e5

DSH Plugins Enhanced

Community plugins for DSH Desktop, maintained by @zhizhi-2986. The main plugin enhances the current Session's workspace files and native document preview.

This is an independent community project and is not affiliated with DeepSeek. The compatibility target is DSH Desktop; standalone DSH Web, TUI, and Headless are outside the scope of this repository.

Workspace enhancement

dsh-workspace-enhanced adds actions to Desktop's existing Files area and editing to its native Preview:

  • Find files and content: Quick Open searches filenames and paths, supports path:line, and opens results in native Preview. Content search searches the current workspace.
  • Edit text files: Edit Markdown, code, and plain text directly in Preview. Save explicitly, find text while editing, and retain unsaved drafts when navigating between previews. Conflicts offer options to copy the draft, reload from disk, or continue editing.
  • Create files: Create a blank, Markdown, JSON, or TypeScript file in an existing directory. Existing files are not overwritten.
  • Replace across files: Preview matches before applying Global Replace; version conflicts and partial success are reported per file.
  • Open saved Favorites: View, open, and remove Favorites for the current workspace. Adding Favorites from native file rows is not yet available.
  • Customize conversation views: Switch among the first nine views with Alt/Option + Shift + 1–9 by default; the modifier is configurable. Native view tab reordering is optional and disabled by default. Supported workspace file links in conversations open in native Preview by default.

The native file tree and Preview shell remain in place. Recent files, tree filtering, and adding Favorites from file rows are not currently available. Search and replacement are bounded, and file writes use the version observed when the file was read or previewed. See the plugin README for editing behavior, settings, limits, and security details.

The filesystem boundary in DSH 0.2.1-rc.2 has a documented ancestor-symlink race limitation. Use the plugin with a trusted local workspace that is not being modified concurrently; see the plugin safety notes.

Repository layout

plugins/
  workspace-files/   # Workspace search, editing, creation, replacement, and Preview
  hello-plugin/      # Minimal installable DSH bundle example

Develop

The workspace declares pnpm 10 in package.json. Install dependencies and build from the repository root:

pnpm install
pnpm build

To check the workspace plugin separately:

pnpm --filter dsh-workspace-enhanced test
pnpm --filter dsh-workspace-enhanced exec tsc -p tsconfig.json --noEmit
pnpm --filter dsh-workspace-enhanced build

The plugin's dependency baseline is DSH 0.2.1-rc.2. Tests use mocks and jsdom/SlotCore; they do not establish behavior in a running Desktop instance. See validation evidence for the recorded checks and their scope.

For the starter bundle and local development setup, see hello-plugin. New plugins should export name and apply(ctx), declare required services through inject, and include a cordis.patch.yml patch and dsh.bundle manifest. See the DSH plugin development guide and publishing guide.

License

MIT. The workspace plugin retains its upstream attribution and license notice.

—/ 5

暂无评分

需要先验证清单

Commit 967166e59a04

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于