DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Loci Dsh — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
L

loci-dsh

Loci Dsh

loci 第二大脑插件,用于 DeepSeek Harness (dsh):从网页侧边栏搜索 / 询问 / 记住您的本地知识库

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:IvenKooLab/loci-dsh#99da1c27b827c761f3e47ccef05bb2e3d197d919
README兼容性版本
searchaskmemoriesstatus

兼容性与来源证明

Loci Dsh 以 loci-dsh 发布,当前版本为 0.1.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/19

版本

0.1.1stable
2026/9/19

相关插件

正在加载相关插件…

最新版
0.1.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/19
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 memory-context 分类下经过校验的插件。

Mnemondsh-mnemon面向 DeepSeek Harness 的可组合三层记忆控制平面:持久化运行时上下文、可搜索的项目文档、可插拔的长期记忆、受保护的策略、WebUI 和无头工具。Memory@furongjun1999/dsh-memory灵枢(Lingshu·líng shū)DeepSeek Harness 插件:完整大脑——长期记忆/知识飞轮/自我认知/递归反思接入 DSH,对话自动沉淀进 md_cg 认知图(md 文档)Rewind Plugindsh-rewind-plugin同窗口内对话回退并恢复工作区文件Meow Memorymeow-memoryDeepSeek Harness 的跨会话项目记忆:七层 SQLite 记忆、首轮快照注入、每条消息的关键词命中、memory_remember/search/project 工具、带 reflection-fold UI 的自动反思,以及由空闲触发的梦境整合

README

loci-dsh

[!TIP] 🧠 Your loci second brain, living in the DeepSeek Harness (dsh) web UI sidebar.

中文文档:README.zh-CN.md

loci-dsh is a UI-layer plugin for dsh ("everything is a plugin"): it mounts a 🧠 loci memory tab in the web sidebar where you can search, ask questions, jot down memories, and inspect your loci knowledge base — without leaving the conversation.

SearchAsk
searchask
MemoriesStatus
memoriesstatus

How it works

Pure UI layer — no Python embedded, no core fork. The plugin's host half (Node) mounts /loci-dsh/api/* routes on the dsh web server and proxies them to a local loci serve-http instance (REST + Bearer auth). The client half (React) registers the sidebar tab via dsh-better-sidebar and talks to the host half same-origin — so loci never needs CORS.

loci-dsh architecture

  • Search — hybrid retrieval with result count, memories-only (tag=memory) and path filters
  • Ask — LLM answers from your knowledge base with citation chips, optional claim-by-claim verification
  • Memories — keyword-driven memory retrieval grouped by day, plus quick capture (title / text / tags)
  • Status — connection state, store summary, per-source chunk counts

loci's HTTP API answers in plain-text envelopes, so the host half re-derives structure (search blocks, stats, citations, memory timestamps from filenames). Parsers live in src/parse.ts and track loci's de-facto wire format.

Requirements

  1. Node.js ≥ 24 (dsh's launcher uses import.meta.main; Node 20/22 exit silently)

  2. dsh: npm i -g @deepseek-ai/dsh

  3. The sidebar host: dsh plugin --profile web add dsh-better-sidebar

  4. loci ≥ v0.6.2 with its HTTP server running and a fixed token in loci's config.toml:

    [http]
    token = "<a random string>"
    
    loci serve-http   # defaults to 127.0.0.1:8765; --host/--port or the [http] section override
    

Install

# from npm (once published)
dsh plugin --profile web add loci-dsh

# or straight from git (lib/ artifacts are committed — no local build needed)
dsh plugin --profile web add github:IvenKooLab/loci-dsh

Then point the plugin at your loci instance. Edit ~/.dsh/profiles/web/cordis.patch.yml and add an id-targeted override row (no insert — the bundle is already mounted by dsh plugin add; a second insert of the same id fails the boot with a duplicate-entry error):

- id: loci-dsh
  config:
    baseUrl: 'http://127.0.0.1:8765'
    token: '<same value as [http] token in loci config.toml>'

dsh patch rows replace config wholesale (no deep merge) — restate every key you care about.

Alternatively use the LOCI_URL / LOCI_TOKEN environment variables before starting dsh web.

Launch dsh web — the 🧠 loci memory tab appears in the bottom workbench sidebar.

Configuration

KeyDefaultDescription
baseUrlhttp://127.0.0.1:8765loci serve-http address
token(empty)Bearer token, matching loci's [http] token
timeoutMs20000Short-request timeout (health/stats/search/remember)
askTimeoutMs180000/ask timeout — a full LLM round-trip (~21 s with glm-4.6)

Development

pnpm install
pnpm build        # tsc typecheck + tsdown dual-entry bundle → lib/
pnpm watch        # rebuild on change

# mount into a profile as a live link (rebuild + browser hard-refresh to apply)
cd ~/.dsh && dsh plugin --profile web add /absolute/path/to/loci-dsh
  • src/index.ts — host half: route mounting, loci proxy, error mapping
  • src/loci-client.ts — loci HTTP client (fetch + AbortSignal timeouts)
  • src/parse.ts — plain-text → structured parsers (search blocks / stats / citations)
  • src/trust-fence.ts — Host-header loopback fence (same semantics as dsh's /api gateway)
  • src/client/ — client half: tab registration, views, zh/en dictionaries

Structured after the dsh-better-sidebar external-plugin guide and dsh-sentinel's standalone build.

Related

  • loci — local-first second brain CLI (pip install loci-rag)
  • DeepSeek Harness — the harness this plugin extends
  • dsh-better-sidebar — the sidebar foundation hosting the tab

License

MIT