nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:leixlabs/dsh-honcho-memory-viz
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness (dsh) Web UI plugin that adds a Memory panel to the left sidebar: browse, search and visualize the memory stored on your Honcho server — peer cards, conclusions, sessions and messages, semantic search, and a peer ↔ session relationship graph.
It is read-only. Your Honcho API key never leaves the Host process: the
browser only talks to a same-origin /honcho-memory route.
| Tab | What it shows |
|---|---|
| Overview (概览) | Conclusion / session / peer counts, the derivation queue, core memory (peer card + representation), recent conclusions, recent sessions, workspace list |
| Conclusions (结论) | Paged conclusions, filterable by observer peer, observed peer, session and level (explicit / deductive); click a peer chip to drill down, click a session to see its source messages |
| Sessions (会话) | Session list with a message timeline and short/long summaries; load older messages page by page |
| Graph (图谱) | Peer observation relationships and session membership from the most recent conclusions; node size = activity; click a node to drill down |
| Search (搜索) | Semantic message search across all workspaces, plus conclusion search scoped to an observer/observed pair |
Extras:
dsh, hermes, …); the
plugin lists every workspace on the server.dsh web / the desktop app), dsh >= 0.2.0-rc.2.https://api.honcho.dev) or a
self-hosted instance (http://localhost:8000, http://macmini.local:8000, …).^22.19.0 || >=24.0.0 (the version bundled with dsh is fine).In the dsh Web UI open Plugins, choose install bundle, and enter:
dsh-honcho-memory-viz
or, from an agent session:
plugin_manager(install_bundle, target: "dsh-honcho-memory-viz")
Environment plugins installed into the Electron-managed desktop profile are
usually active right away (the app hot-loads them); restart dsh if the
Memory icon does not appear.
dsh plugin --profile <profile> add dsh-honcho-memory-viz
This installs the package into the profile's node_modules and appends it
to dsh.profile.bundles in ~/.dsh/profiles/<profile>/package.json.
Restart dsh afterwards, then open the Memory icon in the left sidebar.
For the Electron-managed desktop profile the CLI still works, but the in-app
Plugin Manager (Option A) is the smoother path.
The plugin should be listed as installed and enabled in the in-app Plugin
Manager. Note that the desktop profile is managed by the Electron app, so the
standalone CLI refuses dsh --profile desktop --dump-config ("managed
exclusively by the Electron application"); use the Plugin Manager for that
profile.
For CLI-managed profiles (e.g. a custom profile booted with dsh web) you can
also verify the composed row directly:
dsh --profile <profile> --dump-config | grep -A2 honcho-memory-viz
should print the bundle patch row:
# == dsh-honcho-memory-viz
- id: honcho-memory-viz
name: dsh-honcho-memory-viz
If the row is missing, the bundle was installed but not registered: add
"dsh-honcho-memory-viz" to dsh.profile.bundles in the profile's
package.json and restart.
Desktop app: open the in-app Plugin Manager and remove/uninstall
dsh-honcho-memory-viz.
CLI profile:
dsh plugin --profile <profile> remove dsh-honcho-memory-viz
Then remove dsh-honcho-memory-viz from dsh.profile.bundles if it is still
listed, and restart.
The plugin reads the same config file as the official
@honcho-ai/dsh-honcho
plugin, so you normally configure Honcho once:
~/.honcho/config.json (%USERPROFILE%\.honcho\config.json on Windows):
{
"baseUrl": "http://macmini.local:8000",
"peerName": "lei",
"auth": { "apiKey": "${HONCHO_API_KEY}" },
"hosts": {
"dsh": { "workspace": "dsh" }
}
}
Fields:
| Field | Meaning |
|---|---|
baseUrl |
Honcho server base URL. Defaults to https://api.honcho.dev. A trailing /v3 is accepted and stripped. |
auth.apiKey |
Bearer token. Supports ${ENV_VAR} expansion. Optional — omit it for a self-hosted server without auth. |
hosts.dsh.workspace |
Default workspace for dsh; overrides the root-level workspace. |
hosts.dsh.peerName / peerName |
Default observer peer name. |
Environment variables HONCHO_URL and HONCHO_API_KEY are also honoured (lowest
precedence).
Resolution order (highest first): plugin config → hosts.dsh.* → root fields →
environment → built-in defaults (https://api.honcho.dev, workspace default,
peer user).
Plugin config can be set through the bundle row (e.g. config: { baseUrl, workspace, peerName, timeoutMs, configPath, userAgent }); configPath points
the plugin at a different config file.
Open the Memory icon in the left sidebar. The panel is read-only: it only
issues GET (and Honcho's read-style POST .../list) requests. Nothing is ever
written back to Honcho.
The workspace selector appears in the panel header once the workspace list has loaded; the refresh button drops all caches (workspaces/stats 30 s, overview 15 s, graph 45 s) and re-fetches.
Everything the browser needs is served by the Host under /honcho-memory:
| Route | Purpose |
|---|---|
GET /api/workspaces |
Config + workspace list with per-workspace counts |
GET /api/overview?ws= |
Workspace overview: stats, queue, peer card, representation, recent conclusions/sessions |
GET /api/conclusions?ws=&page=&size=&observer=&observed=&session=&level= |
Paged conclusions |
GET /api/sessions?ws=&page=&size= |
Paged sessions |
GET /api/session?ws=&session=&page=&size= |
Session detail: summary + paged messages |
GET /api/peer?ws=&peer=&page=&size= |
Peer detail: card, representation, conclusions about/by it |
GET /api/graph?ws= |
Graph data from the latest ≤300 conclusions |
GET /api/search?ws=&q=&observer=&observed=&limit= |
Semantic search over messages and conclusions |
GET /api/status |
Resolved config and server reachability |
GET /api/refresh |
Clear the Host caches |
/honcho-memory/api/* routes, so no
CORS/gateway changes are needed.git clone https://github.com/leixlabs/dsh-honcho-memory-viz.git
cd dsh-honcho-memory-viz
# link the local checkout into a profile (pnpm link protocol)
dsh plugin --profile desktop add link:$PWD
# the CLI registers the bundle automatically; verify:
dsh --profile desktop --dump-config | grep -A2 honcho-memory-viz
Then restart dsh. After that, editing client.js only needs a page refresh;
editing index.js (the Host half) needs a dsh restart.
Checks (no browser or network required):
npm run check # node --check on both halves
npm test # client module/slot/dictionary check + headless render test
tests/host-test.mjs and tests/edge-test.mjs exercise the HTTP API against a
real Honcho server and are run manually:
node tests/host-test.mjs
node tests/edge-test.mjs
Layout:
index.js Host half: Honcho v3 REST reads, caches, /honcho-memory routes
client.js Browser half: __ModuleLoader__ module, sidebar icon and main panel
cordis.patch.yml Bundle patch: inserts the honcho-memory-viz row
locale/{en,zh}.json Plugin-manager title/description strings
icon.svg Plugin icon
tests/ Offline + live check scripts
安装(dsh Web UI / 桌面版即可):
dsh plugin --profile desktop add dsh-honcho-memory-viz
装完重启 dsh,左侧栏会出现「记忆」图标。
配置:把 Honcho 服务器地址写进 ~/.honcho/config.json(Windows 为
%USERPROFILE%\.honcho\config.json):
{
"baseUrl": "http://macmini.local:8000",
"peerName": "lei",
"auth": { "apiKey": "local-no-auth" },
"hosts": { "dsh": { "workspace": "dsh" } }
}
apiKey;baseUrl 不带 /v3
也可以(插件会自动去掉)。@honcho-ai/dsh-honcho 共用同一个配置文件,配置一次即可。打开「记忆」面板:概览 / 结论 / 会话 / 图谱 / 搜索五个 tab,右上角可切换 workspace,刷新按钮会清空缓存重新拉取。插件只读,不会写入 Honcho,API key 不会进入浏览器。
卸载:dsh plugin --profile desktop remove dsh-honcho-memory-viz,再从
profile 的 dsh.profile.bundles 里删掉,重启 dsh。
MIT © 2026 Lei (leixlabs)
Honcho is a separate project by Plastic Labs; this plugin is an independent, community-built read-only viewer and is not affiliated with Plastic Labs or DeepSeek.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: memory。