@qianhaoq/dsh-dota2ai 0.2.5 → 0.2.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qianhaoq/dsh-dota2ai",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "dota2.ai for DSH: standalone replay review page, DSH host-model agent, coach tools and skill",
5
5
  "icon": "./icon.svg",
6
6
  "homepage": "https://dota2.ai",
@@ -48,13 +48,20 @@ resolved, so ask for the friend code.
48
48
  `poll_after_sec`, then call again with the **same arguments**.
49
49
  - `pick_hero`: ask the user which hero they played (`heroes` lists the game's);
50
50
  never guess.
51
- - `ready`: `verdict`, `mainline`, `findings` (each with `evidence` clocks and
52
- numbers, `fix`, sometimes a `rule`), `did_well`, `next_game`, `blind_spots`
53
- and `panel_route`. Quote times and numbers as given, say what the review
54
- cannot see (`blind_spots`), and point the user to the `dota2.ai` panel in the
55
- DSH sidebar (the tool card opens it at `panel_route`). The review was written
56
- by the user's own model and is kept on this machine: there is no public link
57
- to it.
51
+ - `ready`: `verdict`, `opening_note`, `highlights` (evidence-backed positives),
52
+ `chapters` (adaptive full-dimension breakdown across draft/lanes, laning,
53
+ skill build, items, teamfights, macro — each with `assessment`, `analysis`,
54
+ `evidence`, and optional `takeaway`), `findings` (high-leverage player-controlled
55
+ improvements, each with `evidence` clocks and numbers, `fix`, optional `rule`),
56
+ `encouragement`, `mainline`, `did_well`, `blind_spots` and `panel_route`.
57
+ Present the review in a warm, respectful, professional coach tone: lead with
58
+ `verdict` + `opening_note`, celebrate `highlights` concretely, walk through
59
+ the key `chapters` and constructive `findings`, and close with
60
+ `encouragement` — never invent mechanical next-game numeric KPI quotas. Quote
61
+ times and numbers as given, say what the review cannot see (`blind_spots`),
62
+ and point the user to the `dota2.ai` panel in the DSH sidebar (the tool card
63
+ opens it at `panel_route`). The review was written by the user's own model
64
+ and is kept on this machine: there is no public link to it.
58
65
  - `failed`: offer to try again; only then call with `retry: true`.
59
66
  - `replay_unavailable` / `unavailable`: if `reason` is `model_not_configured`,
60
67
  ask the user to configure/select a model in DSH. If the replay expired (Valve
@@ -83,9 +90,11 @@ resolved, so ask for the friend code.
83
90
  ## Workflows
84
91
 
85
92
  **"Review my last game"**: `dota2ai_recent_matches` → newest `match_id` and its
86
- hero → `dota2ai_replay_review` (poll until `ready`) → the verdict, the findings
87
- on the player with one piece of evidence each, and the one thing to do next
88
- game → open it in the DSH `dota2.ai` panel.
93
+ hero → `dota2ai_replay_review` (poll until `ready`) → present `verdict` and
94
+ `opening_note`, celebrate the player's `highlights`, summarize the adaptive
95
+ `chapters` and constructive `findings` with their replay evidence, close with
96
+ `encouragement` (no mechanical next-game KPI quotas) → open it in the DSH
97
+ `dota2.ai` panel.
89
98
 
90
99
  **"Why did I lose?"**: the replay review, or `dota2ai_coach_report` with
91
100
  `section: why` → for each cause on the player: what happened (evidence) → what