dsh-aha-tutor 1.11.0 → 1.11.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this plugin are recorded here. Versions follow [SemVer](https://semver.org/); GitHub Release notes for each version live in `docs/releases/`.
4
4
 
5
+ ## 1.11.1 - 2026-11-04
6
+
7
+ ### Fixed
8
+
9
+ - **"Drag the slider" now has a graph and a slider to drag**: a learner reported that the teacher sometimes asked to look at a graph and drag its slider when the board had a graph without a slider, or neither. A slider the model named r (a rate), θ or theta (an angle) was refused, and with it every curve that used it, so the whole graph went; one named e (an eccentricity) was read as Euler's number and lost its slider. A slider written with another key (`param`, `var`), a `range`, as an object of sliders by name, with an end missing, its ends swapped or equal, or as a fifth or sixth slider, went the same way. All of these are now kept: only the variable a curve runs over (x, t of a parametric curve, θ of a polar one), y and π are refused, and a missing range is taken around the slider's value. A slider no curve uses is left out instead of moving nothing. Formulas also read a Greek letter under its name (a slider ω answers to `omega`), LaTeX that slips in (`\frac{1}{x}`, `\sqrt{x}`, `e^{-x}`, `\cdot`, `\left(`, `v_{0}`, also a backslash lost in JSON), square brackets and `mod`. The board prompt now gives a slider's shape and names, says to draw a comparison a formula gives as curves of one plot, and to ask for dragging only while a plot with sliders is on the board.
10
+ - **A check no longer hides the sliders it asks about**: the question card covers the bottom of the board, where the plot just written and its sliders were. The board now moves what was written last above the card, in both board views, and a plot too tall for the room left shows its sliders and the curve above them; they can be dragged while the question is open.
11
+ - **An animation's own slider is not cut off**: in a column narrower than the animation was written for, its canvas shrank but a slider or buttons under it did not, and the frame cut them off. The animation now reports how tall its content is and the frame grows to fit, up to 640 px.
12
+
5
13
  ## 1.11.0 - 2026-10-29
6
14
 
7
15
  ### Changed
package/README.en.md CHANGED
@@ -42,7 +42,7 @@ Two sample courses ship with the plugin (harmonic motion and Bayesian thinking,
42
42
 
43
43
  You need the **DeepSeek Harness** desktop app (0.2.x, from 0.2.1) with at least one working model. See the [DSH instructions](https://github.com/deepseek-ai/deepseek-harness#run) if you do not have it yet.
44
44
 
45
- 1. Open **Plugins** in the desktop app, click **Add plugin** and enter `dsh-aha-tutor` as the package, with the official registry as the source. Within 24 hours of a new release DSH's pnpm holds new versions back; enter an exact version such as `dsh-aha-tutor@1.11.0` then.
45
+ 1. Open **Plugins** in the desktop app, click **Add plugin** and enter `dsh-aha-tutor` as the package, with the official registry as the source. Within 24 hours of a new release DSH's pnpm holds new versions back; enter an exact version such as `dsh-aha-tutor@1.11.1` then.
46
46
  2. **Quit and reopen** the desktop app. Refreshing the page does not load the plugin's host side.
47
47
  3. Open **Aha · AI tutor** in the left sidebar (shown as 「开窍 · AI 私人老师」 in Chinese).
48
48
 
package/README.md CHANGED
@@ -48,7 +48,7 @@
48
48
  dsh-aha-tutor
49
49
  ```
50
50
 
51
- 安装源选择**官方源**,点击**安装**。新版本刚发布的 24 小时内,DSH 的 pnpm 会因为发布冷却期暂缓安装,这时请填入精确版本,例如 `dsh-aha-tutor@1.11.0`。
51
+ 安装源选择**官方源**,点击**安装**。新版本刚发布的 24 小时内,DSH 的 pnpm 会因为发布冷却期暂缓安装,这时请填入精确版本,例如 `dsh-aha-tutor@1.11.1`。
52
52
 
53
53
  2. **完全退出并重新打开** DSH 桌面应用。只刷新页面不会加载 Host 端的新插件。
54
54
 
@@ -1,12 +1,14 @@
1
1
  {
2
- "latestTested": "0.2.1-rc.3",
2
+ "latestTested": "0.2.1-rc.5",
3
3
  "acceptedRuntimeRange": ">=0.2.1-rc.1 <0.3.0-0",
4
4
  "supported": [
5
5
  "0.2.1-rc.2",
6
- "0.2.1-rc.3"
6
+ "0.2.1-rc.3",
7
+ "0.2.1-rc.5"
7
8
  ],
8
9
  "validation": {
9
10
  "0.2.1-rc.2": "Development baseline. Offline suite against the published 0.2.1-rc.2 packages; desktop verification is recorded in CHANGELOG.md.",
10
- "0.2.1-rc.3": "Desktop runtime since 2026-10-23. Verified 2026-10-26 in a scratch web profile with the bundled 0.2.1-rc.3 CLI: the tutor preset loads (rc.3 requires tool-fs-search sampleOverCapGlobResults), and classroom corrections, scanned materials and quizzes work with DeepSeek-V4.1-Flash."
11
+ "0.2.1-rc.3": "Desktop runtime since 2026-10-23. Verified 2026-10-26 in a scratch web profile with the bundled 0.2.1-rc.3 CLI: the tutor preset loads (rc.3 requires tool-fs-search sampleOverCapGlobResults), and classroom corrections, scanned materials and quizzes work with DeepSeek-V4.1-Flash.",
12
+ "0.2.1-rc.5": "Desktop runtime by 2026-11-04. Verified 2026-11-04 in scratch web profiles with the bundled 0.2.1-rc.5 CLI, without a model: the 1.11.1 tarball installs and the plugin and the tutor preset load; an imported course plays its board with plots and their sliders kept above a check card, and an animation's own slider, in both board views, light, dark and narrow."
11
13
  }
12
14
  }
package/lib/agent.js CHANGED
@@ -1,4 +1,4 @@
1
- import { At as normalizePractice, I as generateJson, Kt as newId, Rt as text, q as readProfile, t as getRuntime, u as detectLanguage, w as quizPrompt } from "./runtime-DL1sWVKI.js";
1
+ import { At as normalizePractice, I as generateJson, Kt as newId, Rt as text, q as readProfile, t as getRuntime, u as detectLanguage, w as quizPrompt } from "./runtime-CvdutoBG.js";
2
2
  import { defineTool } from "@deepseek-ai/dsh-tools";
3
3
  //#region src/agent.js
4
4
  const name = "aha-tutor-agent";