OpenViking
volcengine
Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:gekailin/dsh-super-chat
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A Super Chat panel for DeepSeek Harness: its core is a super-chat Source for the dsh-superagent-prototype bundle, turning chat messages into Superagent Tickets. The panel keeps one general chat stream where messages can carry several topic tags; topics act as task-dispatch cues and untagged messages are left for Superagent to decide. Without that prototype, the plugin falls back to a single general DSH Session.
English | 简体中文

super-chat Source that turns chat messages into Tickets; it also provides one tagged chat stream, SQLite storage and topic-filtered views.orchestrator service; acknowledgements and results return to the same stream. Prototype code is not modified; a single general DSH Session is the fallback when the prototype is absent.wechat/: an optional WeChat File Transfer Helper bridge. It defaults to the general chat and uses @topic to tag messages.| Path | What it is | Checks |
|---|---|---|
root (src/, tests/, docs/) |
the standalone plugin (dsh-super-chat package) |
pnpm check at the root |
wechat/ |
the WeChat bridge (separate Node.js process) | cd wechat && npm test |
The root plugin and the separately installed dsh-superagent-prototype are independent. The plugin reaches the prototype only through its public orchestrator service; when that service is absent or unconfigured, one general DSH Session takes over.
super-chat dispatch thread; untagged messages go to general and Superagent decides. Tags never force the outcome.用 gemini-4-argon 模型启动一个新 worker 做… or use gemini-4-argon model to start a new worker for… gives that one new worker the named model without changing the default.chat.json is migrated once.@topic in natural language. There is no command system.0.2.x Web profile (@deepseek-ai/dsh-base + @deepseek-ai/dsh-web-app).Published package:
dsh plugin --profile web add dsh-super-chat
From a checkout (build first; a link: install does not build it):
git clone <this repository> dsh-super-chat
cd dsh-super-chat
pnpm install
pnpm build
dsh plugin --profile web add "$PWD"
A git-URL install runs the package's prepare build; pnpm may ask you to allow that script.
dsh plugin add installs the package and appends it to the profile's dsh.profile.bundles. Restart the profile, then open Super Chat from the shortcut at the right of the Superagent sidebar row.
Every option has a working default. Override it in the profile's cordis.patch.yml:
- id: super-chat
config:
# Directory for chat.sqlite; defaults to $DSH_HOME/state/super-chat.
stateDir: /home/you/.dsh/state/super-chat
# Workspace for the fallback Session when superagent is unavailable.
cwd: /home/you/src/my-project
# Optional agent preset for the fallback Session.
agentPreset: standard
# Optional permission preset for the fallback Session.
permissionPreset: danger-full-access
| Option | Default | Meaning |
|---|---|---|
stateDir |
$DSH_HOME/state/super-chat |
Directory holding chat.sqlite, owner-only. |
cwd |
process.cwd() |
Workspace directory of the fallback Session. |
agentPreset |
profile default | Agent preset for the fallback Session. |
permissionPreset |
profile default | Permission preset applied to the fallback Session. |
browser (client slots "main" + "sidebar.panellist")
│ GET/POST /super-chat/api/chat?topic=…&before=…
▼
host plugin (dsh-super-chat)
├─ chat.sqlite message / topic / message_topic, indexed
├─ ChatTransportRouter
│ ├─ superagent registers the super-chat Source; first tag → dispatch thread
│ └─ GeneralSession (fallback) one DSH Session super-chat-general
└─ sessionController.list patch (hides super-chat-* Sessions)
[topics: …] cue; the chat itself keeps the original text.super-chat:general, leaving it to Superagent's assessment to accept, split or ignore them.When dsh-superagent-prototype is installed in the same profile, its runtime exposes the public orchestrator SourceHost service. The plugin registers a Source named super-chat and seeds its Policy with the fixed local sender, local.
super-chat:topic:<topicId> dispatch thread; every tag is carried in Trigger meta and the text cue. Tags are hints, not hard constraints.super-chat:general; the general chat is left entirely to Superagent.gh CLI. When both GitHub fields are empty the plugin wraps the prototype's Setup class in memory, accepts an empty deployment and asks the prototype to restart. No prototype file is modified. Workers in that mode have no GitHub tooling. This compatibility path covers the chat Source only; if Feishu is also needed, configure GitHub as the prototype expects so its original setup can handle Feishu.docs/architecture.md records the mechanics and limits.eval.model and executor.model through the prototype's public settings API and writes them back with the current block revision, so it shares the prototype's validation and history. Saving the orchestrator model also appends a model selection to the live orchestrator Session, so it takes effect on its next request; the worker model applies to worker Sessions created afterwards.worker-<ticket id> Session as DSH creates it, before the prototype seeds the configured default. The chat shows a short note once the model is applied. An unknown or ambiguous name is reported and the message is not sent.GeneralSession handles every message in one DSH Session; topic tags are only hints.permissionPreset is set. The panel has no approval UI, so an asking preset can leave a turn waiting.wechat/ is a separate Node.js bridge for WeChat's File Transfer Helper. Opening the panel's WeChat access starts the bridge on demand, so it does not need to be launched first; while saved credentials (stateDir/wechat/creds.json) exist, the host also automatically resumes and keeps the bridge alive across restarts and background checks; an already-running external bridge is reused. It defaults to the general chat: ordinary text goes there, and @topic tokens are extracted from the body as tags, for example:
帮我看下 @设计 这个页面
sends 帮我看下 这个页面 tagged 设计. Several @topic tokens become several tags. There are no /list, /use or /new commands; everything is natural language. Tagged agent replies appear in WeChat as 「设计」reply.
Run it manually only for troubleshooting or when the bridge should stay resident independently of DSH; point it at the panel port:
cd wechat
SUPERCHAT_URL=http://127.0.0.1:3082 ./run-superchat.sh
The bridge listens on 127.0.0.1:8790; the on-demand manager stores login and cursors under stateDir/wechat/ (an old manual wechat/creds.json is copied once). Credentials and chat data are ignored by git. Use a secondary WeChat account: personal-account automation carries a ban risk. See wechat/README.md for configuration, tests and limits.
chat.sqlite under stateDir and never uploaded by this plugin. Messages reach the configured model provider like any DSH Session; do not paste secrets into a chat.x-super-chat-request: 1, a matching Host and no foreign Origin. This is CSRF protection, not authentication; the DSH Web Server still authenticates the human. Keep it on loopback unless you understand the exposure./super-chat HTTP route, reads Session events and, on an explicit panel save or a worker-model chat directive, saves a role model or appends a model selection.dsh-superagent-prototype.provider/model when a bare id is ambiguous). A pending directive is forgotten after 30 minutes./super-chat/api paths and checks the configured bind host; path-prefix or different-authority reverse proxies are not supported.pnpm install
pnpm typecheck
pnpm test
pnpm build
pnpm check
cd wechat && npm test
For a local run, install the checkout into a disposable profile on an unused port and point stateDir at a temporary directory.
Layout: src/index.ts (host entry), src/store.ts (SQLite), src/session.ts (fallback Session), src/transport.ts (transport selection), src/superagent.ts (super-chat Source, model settings and the chat-only patch), src/models.ts (role models, catalog resolution and the worker-model directive), src/tagger.ts (auto-tagging), src/wechat-bridge.ts (WeChat bridge lifecycle), src/workspace-group.ts and src/workspace-group-host.ts (Superagent workspace grouping), src/api.ts (HTTP API), src/monkey.ts (list patch), src/protocol.ts (shared types), src/client/ (browser half).
MIT. The topic-list layout and CSS are adapted from the dsh-superagent prototype, also MIT.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: rag、storage。