@qianhaoq/dsh-dota2ai 0.2.12 → 0.2.14
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 +169 -21
- package/lib/index.js +469 -85
- package/package.json +1 -1
- package/skills/dota2ai/SKILL.md +6 -1
package/package.json
CHANGED
package/skills/dota2ai/SKILL.md
CHANGED
|
@@ -60,7 +60,12 @@ resolved, so ask for the friend code.
|
|
|
60
60
|
times and numbers as given, say what the review cannot see (`blind_spots`),
|
|
61
61
|
and point the user to the `dota2.ai` panel in the DSH sidebar (the tool card
|
|
62
62
|
opens it at `panel_route`). The review was written by the user's own model
|
|
63
|
-
and is kept on this machine
|
|
63
|
+
and is kept on this machine (local private cache under `$DSH_HOME/dota2ai`,
|
|
64
|
+
separate from the public web cache; only parsed replay traces are reused):
|
|
65
|
+
there is no public link to it. Reopening the same `(match, hero, lang, model)`
|
|
66
|
+
returns the cached review immediately — including compatible reviews from an
|
|
67
|
+
earlier coach version (`stale_version: true`); only pass `refresh: true` when
|
|
68
|
+
the user explicitly asks to regenerate under the latest coach version.
|
|
64
69
|
- `failed`: offer to try again; only then call with `retry: true`.
|
|
65
70
|
- `replay_unavailable` / `unavailable`: if `reason` is `model_not_configured`,
|
|
66
71
|
ask the user to configure/select a model in DSH. If the replay expired (Valve
|