dsh-web
zhu1090093659
DeepSeek Harness (DSH) Web 插件聚合生态 · 万物皆插件,通过创意工坊分发||DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop
ApeInCodeMountain/llm-wiki-sidebar
LLM Wiki workbench for dsh-better-sidebar: browse and lint a Karpathy-style interlinked markdown wiki, open pages with the native markdown viewer, clickable [[wikilinks]] and provenance/relative .md links, and backlinks. Ships the llm-wiki agent skill.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:ApeInCodeMountain/llm-wiki-sidebar
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 简体中文
LLM Wiki workbench for
dsh-better-sidebar: browse and lint a
Karpathy-style interlinked markdown wiki directly in the DSH sidebar, with full-fidelity page
preview/editing, clickable [[wikilinks]] and provenance links, backlinks, and the llm-wiki
agent skill that drives ingest/query/maintenance — packaged as one DSH plugin.
conf: low, contested), one-click open
via betterSidebar.openFile, and a refresh button that re-reads the wiki from disk.[[wikilinks]] — preview-mode DOM decoration resolves [[target]] /
[[target|label]] against the wiki map and jumps via openFile (page text is never modified,
so editing/saving stays safe). Unresolvable links render struck-through with a tooltip..md links — provenance markers (^([来源](raw/...))) and
any in-site relative markdown link are clickable in the preview and open through the same
openFile path as the catalog. The shared markdown renderer drops relative link destinations,
so the plugin pairs source-parsed links with their rendered label text instead — fp.content
is never rewritten, keeping edit-mode saves byte-identical.scripts/wiki_lint.py.llm-wiki skill — skills/llm-wiki/SKILL.md + scripts/wiki_lint.py are
mounted by a dedicated dsh-skill-filesystem instance scoped to this package, so the plugin
and its skill install and uninstall as one unit.openFile
capability; tested against 0.18.0)The wiki lives at <session workspace>/wiki (the sidebar file routes enforce the workspace
fence, so workspace-relative is the supported location).
dsh plugin --profile web add "github:ApeInCodeMountain/llm-wiki-sidebar"
Then restart dsh --profile web and hard-refresh the browser.
dsh plugin --profile web add llm-wiki-sidebar
git clone https://github.com/ApeInCodeMountain/llm-wiki-sidebar
cp -r llm-wiki-sidebar ~/.dsh/profiles/web/
ln -sfn ../llm-wiki-sidebar ~/.dsh/profiles/web/node_modules/llm-wiki-sidebar
# register as a link: dependency so pnpm keeps the symlink
node -e "const fs=require('fs');const f=process.env.HOME+'/.dsh/profiles/web/package.json';const j=JSON.parse(fs.readFileSync(f));j.dependencies['llm-wiki-sidebar']='link:llm-wiki-sidebar';fs.writeFileSync(f,JSON.stringify(j,null,2)+'\n')"
Then restart dsh --profile web and hard-refresh the browser (Cmd/Ctrl+Shift+R).
Remove the package via dsh plugin --profile web remove llm-wiki-sidebar (or delete both rows
from ~/.dsh/profiles/web/cordis.patch.yml, the profile package.json entry, the
node_modules/llm-wiki-sidebar symlink and the ~/.dsh/profiles/web/llm-wiki-sidebar
directory); restart DSH. Uninstalling also withdraws the packaged llm-wiki skill (it lives
inside the plugin directory).
llm-wiki skill creates wiki/ with SCHEMA.md, index.md, log.md and the layered
directories, then ingests sources.[[wikilinks]], provenance links and backlinks are
clickable; editing in the sidebar writes the file directly (bump updated).| Route | Body | Purpose |
|---|---|---|
POST /llm-wiki/api/scan |
{ cwd } |
wiki page catalog |
POST /llm-wiki/api/lint |
{ cwd } |
lint report |
POST /llm-wiki/api/map |
{ cwd } |
slug→page map + backlink graph + raw index |
All routes enforce the same browser-trust fence as the /api gateway
(loopback/trusted Host + same-origin markers) and read only through the
sandbox-aware fs service. The plugin never writes to disk.
node --check lib/client.js && node --check lib/index.js # syntax
node test/impl.test.mjs # unit + regression (no DOM required)
The design notes for the clickable-link pipeline (why it pairs source links with rendered
label text instead of intercepting anchors) live in
docs/design-source-link-navigation-v2.md.
llm-wiki skill from the hermes-agent project — the packaged
skills/llm-wiki skill is a DSH edition of that pattern.lib/index.js is a behavioral port of the
/api gateway's fence from @deepseek-ai/dsh-client-connection (MIT).betterSidebar service.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: dsh-better-sidebar、markdown。