dsh-aha-tutor 1.8.0 → 1.9.0

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/index.js CHANGED
@@ -7020,6 +7020,7 @@ const PREF_DEFAULTS = Object.freeze({
7020
7020
  boardTheme: "auto",
7021
7021
  boardFont: "hand",
7022
7022
  boardView: "canvas",
7023
+ textSize: "standard",
7023
7024
  ttsProvider: "openai",
7024
7025
  tts: Object.fromEntries(TTS_PROVIDERS.map((provider) => [provider, providerDefaults(provider)]))
7025
7026
  });
@@ -7051,6 +7052,11 @@ function cleanPrefs(input = {}, base = PREF_DEFAULTS) {
7051
7052
  ].includes(input.boardTheme)) next.boardTheme = input.boardTheme;
7052
7053
  if (["hand", "standard"].includes(input.boardFont)) next.boardFont = input.boardFont;
7053
7054
  if (["canvas", "pages"].includes(input.boardView)) next.boardView = input.boardView;
7055
+ if ([
7056
+ "standard",
7057
+ "large",
7058
+ "larger"
7059
+ ].includes(input.textSize)) next.textSize = input.textSize;
7054
7060
  if (TTS_PROVIDERS.includes(input.ttsProvider)) next.ttsProvider = input.ttsProvider;
7055
7061
  for (const provider of TTS_PROVIDERS) {
7056
7062
  const patch = input.tts?.[provider];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-aha-tutor",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
4
4
  "description": "开窍 Aha Tutor: a personal AI tutor for DeepSeek Harness that builds a course around you and teaches it on a narrated handwriting whiteboard",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",