Standalone Dota 2 post-match review page in the DSH sidebar (10-player scoreboard, checked replay evidence cards, 10-hero minimap moment replay, coach chat rail, and next-game goal tracking) plus seven dota2ai_* coach tools and a dota2ai skill, running replay investigations and follow-up Q&A on your configured DSH host models over cached replay traces from dota2.ai.
Install
# from npm (prebuilt)
dsh plugin --profile web add @qianhaoq/dsh-dota2ai
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:qianhaoq/dota2.ai#path:/packages/dsh
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
A native DSH (DeepSeek Harness) plugin that brings the full dota2.ai experience into DSH:
- Standalone
dota2.aipage in the DSH sidebar: home, recent games, patch advisor, and the full replay review page (10-player scoreboard, clickable replay evidence cards, 10-hero minimap moment replay, coach chat rail, and next-game habit tracking). - Powered by your DSH host models (
ctx.llm): deep replay investigations (runDeepReview+verifyReview), follow-up chat (runChat+verifyText) and the patch advisor all run locally using the models you configured in DSH — defaulting to your selected DSH model, with an in-page switcher to compare any model in your DSH profile on the same match. - Session tools, skill & clickable chat cards: seven
dota2ai_*tools and adota2aiskill sharing the same local$DSH_HOME/dota2aitrace/review cache, with chat cards that open the match page in one click.
Install
Desktop App (Recommended — no terminal needed)
- Download and install the DeepSeek Harness desktop app (macOS / Windows) from https://www.deepseek.com/harness/, open it, and enter your DeepSeek API Key.
- Paste this one sentence into a chat in DeepSeek Harness and press Enter:
Install the dota2.ai Dota 2 replay coach plugin @qianhaoq/dsh-dota2ai into my active desktop profile, then tell me how to open dota2.ai in the left sidebar.
- Reload if prompted, then click dota2.ai in the left sidebar.
Update
- Desktop App: paste into a chat in DeepSeek Harness and press Enter:
Update my @qianhaoq/dsh-dota2ai plugin to the latest version and reload if needed.
- CLI (
dsh web):
dsh plugin --profile web update @qianhaoq/dsh-dota2ai
CLI / Linux (dsh web)
Needs Node 24.9 or newer and DSH 0.2.x (≥ 0.2.1-rc.3): verified on 0.2.1-rc.3 and 0.2.2-rc.5, which is
npm's latest. DSH installs plugins with pnpm, so pnpm must be on your PATH.
npm install -g pnpm @deepseek-ai/dsh@0.2.2-rc.5
dsh plugin --profile web add @qianhaoq/dsh-dota2ai
DEEPSEEK_API_KEY=sk-... dsh web # or start plain `dsh web` and enter the key in DSH's own API-key dialog
Then open dota2.ai in the DSH sidebar, paste a match ID and pick your hero. The review runs on your own
DeepSeek key, so it has no queue and no daily limit. A deep review is a few hundred thousand input tokens.
To check the download, fetch SHA256SUMS from the same
release and run sha256sum -c SHA256SUMS.
One archive serves Linux, macOS and Windows: there is no native code. Parsed replay traces (~250 KB gzipped) are fetched from dota2.ai (or built locally when extractorBin is set) and cached under $DSH_HOME/dota2ai/traces/. Reviews, chats and your goal stay on your machine under $DSH_HOME/dota2ai. The public dota2.ai/r/<match> page does not show them.
Web site, DSH or an agent?
| dota2.ai web | DSH plugin | Agent over MCP | |
|---|---|---|---|
| Model that writes the review | dota2.ai's | yours (any model in your DSH) | dota2.ai's (replay_review) |
| Limits | per caller, and a daily limit for the whole site | none of ours | same as web |
| Where the review is kept | dota2.ai | your machine | dota2.ai |
Troubleshooting
installation rejected … incompatible with dsh: your DSH is outside the range above. Install a DSH from the range (npm install -g @deepseek-ai/dsh@0.2.2-rc.5) or a newer plugin release.pnpmnot found / plugin command failed:npm install -g pnpm, then rundsh plugin … addagain.- The panel says no model / the tool answers
model_not_configured: DSH has no model with a key yet. Startdsh webwithDEEPSEEK_API_KEYset, or enter the key in DSH's API-key dialog, and pick a model. - No dota2.ai entry in the sidebar, or no tools: the profile's
package.jsonmust list the package independenciesand indsh.profile.bundles, anddsh --profile web --dump-configshould list adota2aientry. In GUI profiles (dsh weband Desktop), DSH'stypert-loaderloads./typertandDota2AiRemoteattaches toctx.typert. In headless CLI profiles withouttypert, the sevendota2ai_*tools and thedota2aiskill still activate.
Tools
| Tool | What it does |
|---|---|
dota2ai_replay_review |
Deep replay review investigated locally by your DSH model and checked against the replay (verifyReview). Never blocks: parsing / reviewing mean call again after poll_after_sec; pick_hero means ask the user; ready has the verdict, checked findings, rules for next game, and blind spots |
dota2ai_recent_matches |
A player's recent public games (account: Steam friend code or profile link) |
dota2ai_coach_report |
Without hero: the roster. With it: section summary · why · lane · deaths · items · fights · plan · all |
dota2ai_coach_cases |
Pro games on the same problem: one that avoided it, one that repeated it |
dota2ai_coach_ask |
A follow-up question, answered locally by your DSH model (with replay lookup tools when a trace is cached, else from the report) |
dota2ai_goal_check |
Judge a later game against a finding's goal (or the active goal saved in $DSH_HOME/dota2ai/profile.json) |
dota2ai_hero_matchup |
Hero vs hero from pro games; by_rank from STRATZ (credit STRATZ when quoting it) |
Settings
In the profile's cordis.patch.yml, under the dota2ai entry:
| Field | Default | Meaning |
|---|---|---|
enabled |
true |
Enable the UI panel and register the tools |
lang |
en |
Default answer language when a tool call names none (en or zh) |
apiBase |
https://dota2.ai |
dota2.ai origin for match data and parsed replay traces |
skillEnabled |
true |
Register the dota2ai skill |
homeDir |
"" |
Custom local storage directory (defaults to $DSH_HOME/dota2ai or ~/.dsh/dota2ai) |
extractorBin |
"" |
Optional local dota-extract binary path for offline replay parsing |
Develop
npx vitest run packages/dsh # host LLM bridge, trace pipeline, local service, UI panel & bundle
node packages/dsh/scripts/pack.mjs # dist/qianhaoq-dsh-dota2ai-<version>.tgz + SHA256SUMS
node packages/dsh/scripts/installed-smoke.mjs packages/dsh/dist/*.tgz \
--dsh <dir>/node_modules/@deepseek-ai/dsh/lib/bin.js [--browser]
# a real review on a real model through a real `dsh web` (spends the key's account; see the script's header)
DEEPSEEK_API_KEY=… node packages/dsh/scripts/live-review.mjs packages/dsh/dist/*.tgz \
--dsh <dir>/node_modules/@deepseek-ai/dsh/lib/bin.js [--lang zh] [--browser <screenshot dir>]
简体中文
原生 DSH(DeepSeek Harness)插件,在 DSH 内完整复刻 dota2.ai 页面并直接使用 DSH 宿主模型:
- 左侧栏独立
dota2.ai页面:包含首页选局、玩家近期比赛、版本顾问与完整复盘页(10 人记分板、可展开录像原始证据卡、10 英雄逐秒走位与眼位小地图回放、右侧流式追问栏、下局训练目标追踪)。 - 由你的 DSH 宿主模型驱动(
ctx.llm):录像深度调查复盘(runDeepReview+verifyReview事实核查)、录像查证追问(runChat+verifyText)与版本顾问均在本机调用你在 DSH 配置的模型——默认跟随 DSH 当前模型,同时保留页面内模型切换器,支持同一局用不同模型对比复盘。 - 会话工具与卡片联动:7 个
dota2ai_*工具与独立页面共享本地$DSH_HOME/dota2ai缓存,聊天内的工具卡片可一键跳转到对应复盘页。
桌面客户端傻瓜式安装(推荐,免命令行):
- 前往 https://www.deepseek.com/harness/ 下载并安装 DeepSeek Harness 桌面客户端(macOS / Windows),打开后填入你的 DeepSeek API Key。
- 直接把下面这句话粘贴到桌面客户端的聊天框发送:
帮我安装 dota2.ai 的 Dota 2 复盘插件 @qianhaoq/dsh-dota2ai 到当前桌面端 profile,装好后告诉我怎么在左侧栏打开 dota2.ai。
- 按提示刷新或重启后,点左侧栏 dota2.ai 即可使用。
更新插件:
- 桌面客户端:直接把下面这句话粘贴到聊天框发送:
帮我把 @qianhaoq/dsh-dota2ai 插件更新到最新版本,如需刷新或重启请提示我。
- 命令行(
dsh web):
dsh plugin --profile web update @qianhaoq/dsh-dota2ai
命令行安装(Linux / dsh web)(需要 Node ≥ 24.9,DSH 0.2.x (≥ 0.2.1-rc.3),npm 上的 latest 是 0.2.2-rc.5;DSH 用 pnpm 装插件):
npm install -g pnpm @deepseek-ai/dsh@0.2.2-rc.5
dsh plugin --profile web add @qianhaoq/dsh-dota2ai
DEEPSEEK_API_KEY=sk-... dsh web # 或者直接 dsh web,在 DSH 弹出的 API Key 窗口里填
然后在 DSH 左侧栏打开 dota2.ai,贴比赛 ID、选英雄即可。复盘用的是你自己的 DeepSeek Key:不排队、不限次(一次深度复盘大约几十万输入 token)。复盘、追问和训练目标都保存在你自己电脑的 $DSH_HOME/dota2ai 下,公开的 dota2.ai/r/<比赛> 页面看不到它们。
常见问题
installation rejected … incompatible with dsh:你的 DSH 版本不在上面的范围内。装范围内的版本(npm install -g @deepseek-ai/dsh@0.2.2-rc.5),或者换更新的插件版本。- 找不到
pnpm/ plugin command failed:先npm install -g pnpm,再重新执行dsh plugin … add。 - 页面提示没有模型 / 工具返回
model_not_configured:DSH 里还没有可用的模型。启动dsh web时带上DEEPSEEK_API_KEY,或者在 DSH 的 API Key 窗口里填写,然后选一个模型。 - 左侧栏没有 dota2.ai、会话里没有工具:profile 的
package.json需要同时在dependencies和dsh.profile.bundles里列出本插件,dsh --profile web --dump-config里应能看到dota2ai。
同一个包适用于 Linux、macOS 和 Windows(无原生编译二进制)。配置项(cordis.patch.yml 下 dota2ai):enabled、lang、apiBase、skillEnabled、homeDir、extractorBin。
Links
More in this category
PC2005-cloud/dsh-pet#dsh-pet★ 6798
Desktop pet for the DSH Web UI on Windows, macOS and Linux: 106 transparent animations in the browser overlay or a transparent always-on-top desktop window, throw-and-bounce drag physics with squash and particle scoring, a work-status bubble driven by live session events, self-talk and chat with persistent memory, balance display, meme-image bubbles, multiple pets on screen, and drop-in custom animations and pet packs.
flizzywine/dsh-tavern#dsh-tavern★ 1790
An agent-powered tavern for DeepSeek Harness with SillyTavern compatibility, character card imports, support for multiple models, and mobile play. Install the tavern from Settings → Tavern Launcher on desktop. A launcher derived from 2NF/dsh-profile-bridge (MIT): it downloads the tavern into a separate DSH profile and switches profiles on restart. Install this launcher or the upstream plugin, not both — they claim the same /profile-bridge channel.
Alterssss/dsh-bili-whale★ 1141
A Bilibili companion that keeps its own schedule. A 60-second tick in the plugin host wakes a dedicated agent session at a random moment inside the configured time windows (opting out of a day is a configurable chance), then hands it a bundled CLI of 38 subcommands — feed, subtitles, danmaku, comments, ffmpeg frame grabs, and two diaries. Shares at most N items a day by commenting on them and @-mentioning the owner (default 3, enforced from a written quota log, and it stops on rate-limit or captcha signals). Also polls comment replies, direct messages and live-room danmaku; replies to anyone but the owner are queued for approval in Settings. Settings → 养鱼 writes ~/.dsh/bili-whale.config.json; cookies live separately in ~/.bili-ai/credentials.json and are never echoed back. The HTTP routes are loopback-only behind DSH's trust fence. Needs Node 18+ and ffmpeg on PATH for frame extraction.
Nagi-ovo/dsh-ads★ 737
Parody ads in 2005-Chinese-web style: sidebar banners, in-chat feeds, corner popups, and a close button whose hit area is smaller than it looks. All fictional.
yyh-001/dsh-meme★ 607
Chat meme stickers: text-only send, mood auto-send, QQ/WeChat-style picker, auto-learn, custom packs.
vlln/whale-girl★ 418
Desktop pet (QQ-pet style): floats in the corner, draggable, feedable, playable.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.