@qianhaoq/dsh-dota2ai 0.2.8 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +404 -99
- package/lib/index.js +353 -64
- package/package.json +1 -1
- package/skills/dota2ai/SKILL.md +1 -7
package/package.json
CHANGED
package/skills/dota2ai/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: dota2ai
|
|
3
|
-
description: Review a player's own public Dota 2 games with dota2.ai inside DSH — the replay review with checked evidence, why the game went that way (lane, deaths, items, fights), pro games on the same problem, follow-up questions,
|
|
3
|
+
description: Review a player's own public Dota 2 games with dota2.ai inside DSH — the replay review with checked evidence, why the game went that way (lane, deaths, items, fights), pro games on the same problem, follow-up questions, and hero-vs-hero matchups. Use when someone asks to review a Dota 2 match, why they lost, what to practise, or how their last game went.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# dota2.ai coach (DSH plugin)
|
|
@@ -31,7 +31,6 @@ your own. Answer in the user's language and pass it as `lang` (`en` or `zh`).
|
|
|
31
31
|
| Why it went this way, one chapter | `dota2ai_coach_report({match_id, hero, section})`: `summary` · `why` · `lane` · `deaths` · `items` · `fights` · `plan` · `all` |
|
|
32
32
|
| Pro games on the same problem | `dota2ai_coach_cases({match_id, hero})` |
|
|
33
33
|
| A follow-up question | `dota2ai_coach_ask({match_id, hero, question})` |
|
|
34
|
-
| Did a later game meet a goal | `dota2ai_goal_check({match_id, hero, goal})` |
|
|
35
34
|
| Hero vs hero, no match needed | `dota2ai_hero_matchup({hero, vs, rank?})` |
|
|
36
35
|
|
|
37
36
|
`hero`: key (`queen_of_pain`), English or Chinese name, or hero id. `account`:
|
|
@@ -100,11 +99,6 @@ hero → `dota2ai_replay_review` (poll until `ready`) → present `verdict` and
|
|
|
100
99
|
`section: why` → for each cause on the player: what happened (evidence) → what
|
|
101
100
|
to do (fix). Then offer `dota2ai_coach_cases`.
|
|
102
101
|
|
|
103
|
-
**"Did I do what I practised?"**: keep the finding's `goal` object from
|
|
104
|
-
`dota2ai_coach_report` (`section: all`), then `dota2ai_goal_check` on the later
|
|
105
|
-
game → `met`, `missed`, `no_opportunity` or `unknown` with its evidence. Only
|
|
106
|
-
the goal owner's own games.
|
|
107
|
-
|
|
108
102
|
## Never
|
|
109
103
|
|
|
110
104
|
- Invent numbers, timings, items, hero or ability facts not in the output.
|