deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
A DeepSeek Harness Web GUI plugin that shows a file directory tree in the left workspace area.
sidebar.footer.action).It is fully additive: nothing shipped is shadowed; closing the panel restores the normal session browser.
| Half | File | Role |
|---|---|---|
| Host | lib/index.js |
Cordis plugin registering the exact route POST /plugins/file-explorer/fs: one directory level with files and directories (name-sorted, hidden-flagged) plus the {op:"drives"} drive-selection listing. The shipped host.listDirectory wire only returns directories, so this route exists. |
| Browser | lib/client.js |
Hand-authored window.__ModuleLoader__.load bundle (no build step): registers the footer toggle + overlay card, renders the tree / drives page / breadcrumbs, fetches listings from the host route. |
Make the package resolvable from the profile (Node walks $DSH_HOME/profiles/<name>/node_modules → $DSH_HOME/profiles/node_modules → …). A junction into this repo works:
New-Item -ItemType Junction -Path "$env:DSH_HOME\profiles\node_modules\dsh-file-explorer" -Target D:\Codes\dsh-file-explorer
Add a row in the profile's cordis.patch.yml:
- insert:
- id: file-explorer
name: dsh-file-explorer
Restart the profile (dsh web) and refresh the page. The browser bundle is picked up by the client-modules scan; subsequent edits to lib/client.js hot-reload through the HMR poll without a server restart.
sidebar.footer.action (list, additive) and shell.overlay (list, additive); both are root-scoped, declared by the shipped ui-sidebar / ui-layout entries.POST with content-type: application/json (cross-origin pages are forced into a CORS preflight the server never answers — the same fence the /api gateway relies on).CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。