egatari 0.6.10-rc.1 → 0.6.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +28 -1
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -8,6 +8,32 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
8
8
 
9
9
  <!-- Unreleased changes are fragments in changes/*.md (see CONTRIBUTING.md "Changelog"); node tools/changelog.mjs --release X.Y.Z moves them here. -->
10
10
 
11
+ ## [0.6.10] - 2026-11-13
12
+
13
+ ### Added
14
+
15
+ - Quality check (`npm run check` and the editor app): a warning `predictAnswerWithCount` (R-steps) when a prediction (`m-predict`) opens its answer at the same step as the vote count, that is `answer-step` 1 or less (read as the part reads it: missing, `0` and non-numbers mean the default 2). The class would see the answer before counting; set `answer-step` to 2 or more. The warning goes into the fix request
16
+ - Quality check (`npm run check` and the editor app): a warning `predictAnswerNeverShown` (R-steps) when an `m-predict` has a `steps` attribute below its answer step, so the answer never shows (the player stops a part at its `steps`); set `steps` to `answer-step` or more. It replaces `predictAnswerWithCount` on the same part
17
+ - Site player (`tools/build-site-player.mjs`, `play/site-player.mjs`): plays a sample lesson on a static site such as egatari.org the way Egatari Viewer plays a file, after checking its bytes against the site's lock.
18
+ - The make and studio skills tell the user once per conversation when they are older than the Studio in use, and keep working: “The Egatari skill is an old version (<version>). You can update it with /plugin (Marketplaces → egatari → Enable auto-update keeps it updated automatically).” (in Codex, `npx egatari@0.6.x skills update`). studio compares its version with the new `egatari doctor` line; make compares it with the Studio version recorded in a file the user opens (`generator.version` in the `deck-meta` of a `.ega.html`, or `version` in the `deck-meta` of a working folder's `out/deck.html`). No network calls
19
+ - `egatari doctor` prints the skill instructions and Studio version it carries: `ok skills 指示の版 b2ad9e7c(Studio 0.6.10)/ skill instructions b2ad9e7c (Studio 0.6.10)`. Both skills carry a generated skill version line (`**スキルの版:…**` / `**Skill version: …**`) under the instruction version
20
+
21
+ ### Changed
22
+
23
+ - Quality check (`npm run check` and the editor app): the Japanese messages now say 「ステップ」 for a click-forward within a slide, as the glossary decides, instead of 「段階」 (for example 「ステップ 2」, 「結論のステップ」, 「このステップの口述原稿がない」). The wording of the messages is otherwise unchanged and the English messages are untouched. The terms lint (`npm run lint:terms`) now scans `kit/check-messages.mjs` too, so the old word cannot come back; the spec and file-name words that the messages quote on purpose (口述原稿, 部品, デッキ and so on) are listed in `docs/terms-allow.json`
24
+ - Quality check (`npm run check`, the editor app and the fix request) and the AI instructions (the instruction pack in New…, `docs/authoring-with-llms*`, `docs/llm-parts/*`, the make and studio skills, and the insert and outline requests) now use the glossary words (`docs/terms.md`), so the AI reads the same words in the instructions and in the findings: 部品 → パーツ (component → part), 口述原稿 → 台本 (narration → script), デッキ → 教材 (deck → lesson, for example 「教材全体」 / “Whole lesson”), 雛形 → テンプレート, 検査 → 品質チェック (for example 「品質チェックが終わっていない」 / “the quality check did not finish”), 注目の演出 → 強調 (attention marks → emphasis), 1 ファイル → Egatari ファイル (the single file → the Egatari file). The English stale-audio finding is now in English after its fixed head `audio: stale —`. File names, tags, codes and rule names (`deck.html`, `narration.md`, `<m-…>`, `R-components`) are unchanged. The part notes that come from the parts library keep its own words
25
+ - Components 2.0 lessons use egatari/components **v2.6.2** by default. `m-flow` 2.0.4: an edge between two boxes that are apart along one axis now ends at the middle of the target's facing side and leaves from the nearest point of the source's facing side; a fan-out from one box to a column of boxes no longer ends in the gaps between them. An edge whose `shift` pushes it off its side is reported (`[flow] … leaves the side of its box`, a layout warning in the quality check). `m-predict` 2.0.5: the `answer-step` description now says it must be 2 or more (after the count at step 1); the part itself is unchanged. No other part changes version
26
+ - Egatari Player 1.5.1 (the bundled player that files carry, `player` in the index and `deck-meta`): patch release. Only the script parser's warnings changed (`kit/core/narration-parse.mjs`): they say 「ステップ」 and 「ステップの指定」 instead of 「段階」, and an unusable `[k]` lists the valid step labels (「使えるステップの指定は [0]・[1]…・[concl]」). Playback, keys and the embed commands are unchanged
27
+ - Install steps (README “Get started”, “Using it with Claude Code” and “Using it with Codex”, docs/with-claude, both skills) now say to turn on auto-update right after installing: in Claude Code `/plugin` → Marketplaces → egatari → Enable auto-update (third-party marketplaces start with auto-update off); in Codex `npx egatari@0.6.x skills update` after each Studio release, because the skill's instructions and quality checks change with each release.
28
+ The editor's “Download the AI skill” hint (New… and, newly, Help) adds “Add it again when Studio is updated”
29
+ - Quality check, the build warnings and the fix request: the words that were kept with a narrower sense now follow the glossary too. A slide's key is 「スライドの id」 / “slide id” (for example 「スライドの id「…」が手書きの data-key で決まっている」); the `[0]` … `[concl]` at the start of a script line is 「ステップの指定」 / “step label”, with the valid ones listed on first use (「使えるステップの指定は [0] [1] [concl]」); 「アクセスの鍵」 → 「アクセスキー」; 原稿 meaning `deck.html` → 「スライド(deck.html)」; 「書き出し直す」 → 「元のアプリでエクスポートし直す」; 「TTS が読み」 → 「AI 音声が読み」 (“the AI voice reads it”), also in the stale-audio finding; the box around a figure label is 「ラベルの枠」 / “label frame”. The script parser's warnings say 「ステップ」 and 「ステップの指定」 instead of 「段階」, and the build refusals say 「パーツ」 and 「パーツライブラリ」 instead of 「部品」 and 「部品庫」. 秘密鍵, `data-mode="lecture"`, 古い形式の Office and the verb 「囲み」 (wrap the math in `\( … \)`) are kept
30
+ - AI instructions (the instruction pack in New…, `docs/authoring-with-llms*`, `docs/llm-parts/*`, the make and studio skills) and the fix, insert and outline requests use the same words as the findings: 段階 → ステップ, 段階の印 → ステップの指定 (English “step markers” → “step labels”), and コードの囲み → コードブロック, written 「灰色の枠(コードブロック)」 on first mention. The part notes that come from the parts library keep their own words (段階, 部品, 口述原稿) until components 2.7.0
31
+ - Glossary (`docs/terms.md`): two new rows, slide-id (スライドの id / Slide id) and step-label (ステップの指定 / Step label), which avoid 鍵, スライドの鍵 and ステップの鍵. The Japanese guides (`docs/reference.ja.md`, `docs/editor.ja.md`, `docs/distributing.ja.md`, `docs/contract.ja.md`) say 「スライドの id」 and 「スライドの id とステップ」 instead. New lessons start their script with 「# 台本:」 / “# Script:”. The terms lint also checks the AI instructions for 段階, 部品 and 口述原稿
32
+ - English guides (`docs/reference.md`, `docs/editor.md`, `docs/distributing.md`, `docs/contract.md`) say “slide id” (and “slide id and step”) instead of “slide key”, as the Japanese ones do; the spec's term is written “slide key (spec)”. The old anchor `#slide-keys` in the reference still works. The command-line messages of `render`, `npm run ids`, `tools/narration-json.mjs` and `egatari --help` / `egatari doctor` use the same words (ステップ, スライドの id, 台本, テンプレート, パーツ, Egatari ファイル, AI 音声), and the book's citation messages say 「引用キー」 / “citation key”
33
+ - Viewer: the Markup button shows whenever a lesson plays; with no book on screen its bar says highlights go in the book (表示 → 本) and not yet in the script, or that the lesson has no book.
34
+ - Viewer: the page's HTML is served with `Cache-Control: … no-transform`, so the CDN never rewrites it (Cloudflare Web Analytics cannot inject its beacon script).
35
+ - Viewer markup: a ruby segment is one unit. A selection inside a word with one reading (代表値) is stored as the whole word, painted and hidden in 暗記 together with its reading as one box; per-character readings stay per character. Older highlights ending inside such a word are widened once when the lesson opens, keeping their id, colour and date.
36
+
11
37
  ## [0.6.9] - 2026-11-11
12
38
 
13
39
  ### Added
@@ -1447,7 +1473,8 @@ First public release.
1447
1473
  - Docs: README (English and Japanese), the contract (`docs/contract.md`), a reference of every option, syntax and key (`docs/reference.md`, `docs/reference.ja.md`), guides for the dev server and video, CONTRIBUTING, SECURITY, issue forms
1448
1474
  - Tests (`npm test`) and GitHub Actions running them on Node 22 and 24, plus a TTS dry-run through video export
1449
1475
 
1450
- [Unreleased]: https://github.com/egatari/egatari-studio/compare/v0.6.9...HEAD
1476
+ [Unreleased]: https://github.com/egatari/egatari-studio/compare/v0.6.10...HEAD
1477
+ [0.6.10]: https://github.com/egatari/egatari-studio/compare/v0.6.9...v0.6.10
1451
1478
  [0.6.9]: https://github.com/egatari/egatari-studio/compare/v0.6.8...v0.6.9
1452
1479
  [0.6.8]: https://github.com/egatari/egatari-studio/compare/v0.6.7...v0.6.8
1453
1480
  [0.6.7]: https://github.com/egatari/egatari-studio/compare/v0.6.6...v0.6.7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egatari",
3
- "version": "0.6.10-rc.1",
3
+ "version": "0.6.10",
4
4
  "license": "MIT",
5
5
  "homepage": "https://studio.egatari.org/",
6
6
  "repository": {