egatari 0.6.17 → 0.6.19
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 +68 -1
- package/README.ja.md +14 -13
- package/README.md +2 -1
- package/components.lock.json +153 -54
- package/components2.lock.json +1001 -1
- package/kit/build.mjs +1 -1
- package/kit/check-messages.mjs +9 -0
- package/kit/check.mjs +8 -0
- package/kit/core/bookmark.mjs +28 -0
- package/kit/core/build-core.mjs +5 -3
- package/kit/core/check-parity.mjs +6 -0
- package/kit/core/check-rules.mjs +4 -3
- package/kit/core/check-source.mjs +10 -1
- package/kit/core/checks.mjs +79 -0
- package/kit/core/find-replace.mjs +170 -0
- package/kit/core/format.mjs +4 -1
- package/kit/core/image-insert.mjs +197 -0
- package/kit/core/image-size.mjs +1 -1
- package/kit/core/layout-scan.mjs +1 -1
- package/kit/core/llm-fix.mjs +1 -1
- package/kit/core/llm-pack-assemble.mjs +40 -67
- package/kit/core/llm-pack-data.mjs +882 -52
- package/kit/core/llm-pack.mjs +6 -4
- package/kit/core/llm-request.mjs +2 -2
- package/kit/core/new-deck-pack.mjs +38 -44
- package/kit/core/new-deck.mjs +82 -74
- package/kit/core/part-labels.mjs +3 -0
- package/kit/core/portable.mjs +5 -2
- package/kit/core/purposes.mjs +9 -3
- package/kit/core/sample-info.mjs +17 -3
- package/kit/core/scorm.mjs +30 -6
- package/kit/core/script-unclosed.mjs +49 -0
- package/kit/core/slide-ops.mjs +27 -1
- package/kit/core/tate-mix.mjs +25 -0
- package/kit/core/template-text.mjs +2 -0
- package/kit/core/theme-derive.mjs +56 -17
- package/kit/core/theme-shapes.mjs +15 -1
- package/kit/deck.js +124 -6
- package/kit/instruction-version.json +1 -1
- package/kit/layouts.css +8 -0
- package/kit/llm-pack.mjs +5 -7
- package/kit/panes.js +17 -1
- package/kit/player.json +1 -1
- package/kit/player.lock.json +2 -2
- package/kit/presenter.js +36 -4
- package/kit/tools.js +54 -2
- package/kit/track.js +46 -5
- package/package.json +1 -1
- package/server/editor-ui.js +21 -1
- package/vendor/components/CATALOG.md +25 -22
- package/vendor/components/sha256/038f9d32c89c8212ab25d6e3180023b6fe024a53053ab2ef1443ecab92e3ce43/index.js +205 -0
- package/vendor/components/sha256/07479cb6e5194a01b2a8a9029f3646060f0dbb673f2737d2132738af2eb379e5/README.en.md +44 -0
- package/vendor/components/sha256/07479cb6e5194a01b2a8a9029f3646060f0dbb673f2737d2132738af2eb379e5/index.js +306 -0
- package/vendor/components/sha256/077678d8b14a8065c4f74a9fe1669728c68a0f763bfdca18b304f5c3d863632a/README.en.md +54 -0
- package/vendor/components/sha256/077678d8b14a8065c4f74a9fe1669728c68a0f763bfdca18b304f5c3d863632a/index.js +470 -0
- package/vendor/components/sha256/0840322bf51eeb3c8188ce21ad70af17c13974ac0151065a39c430a3813ee07f/README.en.md +23 -0
- package/vendor/components/sha256/0840322bf51eeb3c8188ce21ad70af17c13974ac0151065a39c430a3813ee07f/index.js +289 -0
- package/vendor/components/sha256/0c25d49d23529879054737aa181951519fe585c4728fd505e0e3c8869953eac7/index.js +934 -0
- package/vendor/components/sha256/0dd302b82925f35743a893d5c271898ada3659aa0de2d3249ef45936aad10ae0/LICENSE-strokesvg.txt +115 -0
- package/vendor/components/sha256/0dd302b82925f35743a893d5c271898ada3659aa0de2d3249ef45936aad10ae0/OFL.txt +93 -0
- package/vendor/components/sha256/0dd302b82925f35743a893d5c271898ada3659aa0de2d3249ef45936aad10ae0/index.js +755 -0
- package/vendor/components/sha256/0dd302b82925f35743a893d5c271898ada3659aa0de2d3249ef45936aad10ae0/strokes-CHANGES.md +20 -0
- package/vendor/components/sha256/0e9e92df8d70eb6d9fcf10916c361769c7cd37baacece8d7eb96bbbc7fbcf942/README.en.md +25 -0
- package/vendor/components/sha256/0e9e92df8d70eb6d9fcf10916c361769c7cd37baacece8d7eb96bbbc7fbcf942/index.js +317 -0
- package/vendor/components/sha256/12ef6a11055407f5cddc40154a49cf2737b0786429fe0fcc94ee1d8245597b40/index.js +244 -0
- package/vendor/components/sha256/13c9ce43396b2f5693ce430a924dae4ddcd1e8a4ad0c9b9e724ff52acb874d0c/index.js +354 -0
- package/vendor/components/sha256/15306d854d67d52ca2b1d66135f0d3296882e6b21fd85c029399b8077c8a7f9d/README.en.md +34 -0
- package/vendor/components/sha256/15306d854d67d52ca2b1d66135f0d3296882e6b21fd85c029399b8077c8a7f9d/index.js +398 -0
- package/vendor/components/sha256/1a0f21def0efbbdef64461cafa40f3883bc7f7122adf79d01f09ca4a245e5dcb/index.js +465 -0
- package/vendor/components/sha256/208175d05b37d326855fad792b10137f785e5d05d91a2cde119d0dbd69d2ed98/index.js +100 -0
- package/vendor/components/sha256/218d88998b70f0732c18d91ccc238b2d63f6b0aaa483883b83685a25468f214a/README.en.md +34 -0
- package/vendor/components/sha256/218d88998b70f0732c18d91ccc238b2d63f6b0aaa483883b83685a25468f214a/index.js +246 -0
- package/vendor/components/sha256/2579bcb46b6525902763cd15a2e08fc5ebd9a2695cdaba63438e5b47907a47e0/README.en.md +24 -0
- package/vendor/components/sha256/2579bcb46b6525902763cd15a2e08fc5ebd9a2695cdaba63438e5b47907a47e0/index.js +554 -0
- package/vendor/components/sha256/277ac772315f93737a094cd0f0842726f2435d352d9a90822aebfe0d5d7e79a1/README.en.md +23 -0
- package/vendor/components/sha256/277ac772315f93737a094cd0f0842726f2435d352d9a90822aebfe0d5d7e79a1/index.js +294 -0
- package/vendor/components/sha256/2787e410e533e4ad48b0a3c2b652579cf5797f9c51fcf32f5478212a7acef95f/README.en.md +28 -0
- package/vendor/components/sha256/2787e410e533e4ad48b0a3c2b652579cf5797f9c51fcf32f5478212a7acef95f/index.js +214 -0
- package/vendor/components/sha256/2a011338d0fc3c77e102eaa57cde2b6e3726bc279f133174b0b8c9a654263cbc/index.js +824 -0
- package/vendor/components/sha256/2fce5ab0c31dca0aa1586a2c69237870a9cce46c0bc6ab7392c27968d016bd15/index.js +75 -0
- package/vendor/components/sha256/3417efe4722f569690563d9abcea8b144db2f8fa97b83cf0118fb3a34cd4cb2b/README.en.md +23 -0
- package/vendor/components/sha256/3417efe4722f569690563d9abcea8b144db2f8fa97b83cf0118fb3a34cd4cb2b/index.js +150 -0
- package/vendor/components/sha256/3a7962fa87c670447eed54aca08604ef03cd26bf2c334b4667190060e6a17965/README.en.md +18 -0
- package/vendor/components/sha256/3a7962fa87c670447eed54aca08604ef03cd26bf2c334b4667190060e6a17965/index.js +279 -0
- package/vendor/components/sha256/3be5f64deb1951327b614b29a9b632878fab362687c76e3f48f3af1d1ebbb1cf/README.en.md +47 -0
- package/vendor/components/sha256/3be5f64deb1951327b614b29a9b632878fab362687c76e3f48f3af1d1ebbb1cf/index.js +223 -0
- package/vendor/components/sha256/42450c6b36404d66641568f6d6f55e42a4a036d4d9cdf308f709464913b32fe9/README.en.md +42 -0
- package/vendor/components/sha256/42450c6b36404d66641568f6d6f55e42a4a036d4d9cdf308f709464913b32fe9/index.js +272 -0
- package/vendor/components/sha256/45cea6c1abfb3467e3e3dbe7fec58647716999a0c39cf7163531ae389f898d29/README.en.md +30 -0
- package/vendor/components/sha256/45cea6c1abfb3467e3e3dbe7fec58647716999a0c39cf7163531ae389f898d29/index.js +305 -0
- package/vendor/components/sha256/4c8cae404d551a1bb021e8345af5aa45d4f412f13497aa84b142f11a29a365dc/index.js +124 -0
- package/vendor/components/sha256/5521b5b40a43c48c5ae5a50ce87afb3d47bb23b133b16841086d8322364cdd5e/README.en.md +23 -0
- package/vendor/components/sha256/5521b5b40a43c48c5ae5a50ce87afb3d47bb23b133b16841086d8322364cdd5e/index.js +120 -0
- package/vendor/components/sha256/5fe30fd7a84b937a1325d8af2b8e437211efae82ab46d5a433bc4ef07bcaef11/README.en.md +18 -0
- package/vendor/components/sha256/5fe30fd7a84b937a1325d8af2b8e437211efae82ab46d5a433bc4ef07bcaef11/index.js +243 -0
- package/vendor/components/sha256/631f4c4b90c9a41c0f26c9600d5cf2d6447251d04a20f08f48a85aeb4cb0f6fb/index.js +107 -0
- package/vendor/components/sha256/6749f44ed6476a05d4e3026373c188a0e1a19b77a5836579813f62a1477ac35e/README.en.md +31 -0
- package/vendor/components/sha256/6749f44ed6476a05d4e3026373c188a0e1a19b77a5836579813f62a1477ac35e/index.js +271 -0
- package/vendor/components/sha256/701f1deef79fe05eeb18e1119e5a5c4d60a9dfe265e93a4dff79223bc598dbf0/index.js +521 -0
- package/vendor/components/sha256/711cf58fa946c9c0abc953b2f695d02bf5a5a7f73851b09f834e894baf88be38/index.js +122 -0
- package/vendor/components/sha256/728576c57a5ccb39531ad4cb8074fce95480f01603a77dbf57dca0e52199f7c4/index.js +37 -0
- package/vendor/components/sha256/73edc74a2dc4a63b717106c1c1572967b6d306270574e9635d032de16c8ada72/README.en.md +18 -0
- package/vendor/components/sha256/73edc74a2dc4a63b717106c1c1572967b6d306270574e9635d032de16c8ada72/index.js +382 -0
- package/vendor/components/sha256/76bdb63c3e5e14fbb4816bc9f235490817bb5d7be990a826f5077aa08226702c/index.js +162 -0
- package/vendor/components/sha256/7a5adf73fc053b9f2ca56643b5683b42589edb0f63c845ecb7ae7e6b87eccc30/README.en.md +51 -0
- package/vendor/components/sha256/7a5adf73fc053b9f2ca56643b5683b42589edb0f63c845ecb7ae7e6b87eccc30/index.js +230 -0
- package/vendor/components/sha256/7ab483e7fb05f646b062340d70f2749d070b4f64fed7acc0b8a7754d9ef9fded/README.en.md +26 -0
- package/vendor/components/sha256/7ab483e7fb05f646b062340d70f2749d070b4f64fed7acc0b8a7754d9ef9fded/index.js +322 -0
- package/vendor/components/sha256/7af6e5e6dffb618b39f27d883c691ca128f3af06040ee505e75c79c678bfdcfe/README.en.md +18 -0
- package/vendor/components/sha256/7af6e5e6dffb618b39f27d883c691ca128f3af06040ee505e75c79c678bfdcfe/index.js +103 -0
- package/vendor/components/sha256/7c7b0373cfd38fd5ecb4169021e0b908f0a17be1a29b14f85dd89fdb92e7bf81/README.en.md +44 -0
- package/vendor/components/sha256/7c7b0373cfd38fd5ecb4169021e0b908f0a17be1a29b14f85dd89fdb92e7bf81/index.js +306 -0
- package/vendor/components/sha256/7dea2c3728b85122b04515aa06ab198657529e7cd101b9ab34d4ecb2905ce94e/fixtures/ABCJS-ADAPTER.md +101 -0
- package/vendor/components/sha256/7dea2c3728b85122b04515aa06ab198657529e7cd101b9ab34d4ecb2905ce94e/fixtures/LICENSE-abcjs.txt +21 -0
- package/vendor/components/sha256/7dea2c3728b85122b04515aa06ab198657529e7cd101b9ab34d4ecb2905ce94e/fixtures/chords.json +89 -0
- package/vendor/components/sha256/7dea2c3728b85122b04515aa06ab198657529e7cd101b9ab34d4ecb2905ce94e/fixtures/doremi.json +261 -0
- package/vendor/components/sha256/7dea2c3728b85122b04515aa06ab198657529e7cd101b9ab34d4ecb2905ce94e/fixtures/extras.json +192 -0
- package/vendor/components/sha256/7dea2c3728b85122b04515aa06ab198657529e7cd101b9ab34d4ecb2905ce94e/fixtures/kaeru.json +521 -0
- package/vendor/components/sha256/7dea2c3728b85122b04515aa06ab198657529e7cd101b9ab34d4ecb2905ce94e/fixtures/rhythm.json +248 -0
- package/vendor/components/sha256/7dea2c3728b85122b04515aa06ab198657529e7cd101b9ab34d4ecb2905ce94e/fixtures/ties.json +360 -0
- package/vendor/components/sha256/7dea2c3728b85122b04515aa06ab198657529e7cd101b9ab34d4ecb2905ce94e/index.js +508 -0
- package/vendor/components/sha256/832556ea9c82c292a3ba9e1b332f2405c5c2f969ff8157c91ed80226ec8ac62e/README.en.md +22 -0
- package/vendor/components/sha256/832556ea9c82c292a3ba9e1b332f2405c5c2f969ff8157c91ed80226ec8ac62e/index.js +145 -0
- package/vendor/components/sha256/8a4b6dce84d7a69aaafeb75c1c572fe7904fd49e3169c1c85851ccaeae2a7b11/index.js +41 -0
- package/vendor/components/sha256/8bb511cb90902bc7721e59ca08685b26adbf33539e36a4a45172485d6d3d455b/index.js +250 -0
- package/vendor/components/sha256/8db9c936c36b79b9e3b2be37639487b15502a6937f411ed714621a8091437e9b/README.en.md +21 -0
- package/vendor/components/sha256/8db9c936c36b79b9e3b2be37639487b15502a6937f411ed714621a8091437e9b/index.js +108 -0
- package/vendor/components/sha256/8e5e90c90cb6b06a790b0420e43d79d7da663f1cc19ff06d381ec849b4a8fc57/index.js +312 -0
- package/vendor/components/sha256/939bdae590ebed3d182b0c9940a35b6c03872505bfa242341990a81cae02fd06/README.en.md +34 -0
- package/vendor/components/sha256/939bdae590ebed3d182b0c9940a35b6c03872505bfa242341990a81cae02fd06/index.js +397 -0
- package/vendor/components/sha256/9c5dd0bc0c3279c5f0fea3fdb9d0735870880aef96e8bbf9ecdd77dff0f5ddc8/README.en.md +44 -0
- package/vendor/components/sha256/9c5dd0bc0c3279c5f0fea3fdb9d0735870880aef96e8bbf9ecdd77dff0f5ddc8/index.js +551 -0
- package/vendor/components/sha256/a1c2b2fa06e4229815ab82a9202c266ec887a67632a175854c7d136a92389ca3/index.js +69 -0
- package/vendor/components/sha256/a5b032657720d3beb64f0b3699954e13b0eb985f36161b9ae046c83fd6048ff5/README.en.md +18 -0
- package/vendor/components/sha256/a5b032657720d3beb64f0b3699954e13b0eb985f36161b9ae046c83fd6048ff5/index.js +382 -0
- package/vendor/components/sha256/a7c4282db79d46557bdbaf84ca519606dc46f3c23455db4a26f663453f85813c/README.en.md +38 -0
- package/vendor/components/sha256/a7c4282db79d46557bdbaf84ca519606dc46f3c23455db4a26f663453f85813c/index.js +414 -0
- package/vendor/components/sha256/aac2f8a23cb1b606e9635061cb288f006588c80a7258540cae846ae677f55ff5/index.js +238 -0
- package/vendor/components/sha256/ace7e82e866b577ad42bbc4b64e11bae18982e3236aadceb6c2e6c20f41234cf/README.en.md +45 -0
- package/vendor/components/sha256/ace7e82e866b577ad42bbc4b64e11bae18982e3236aadceb6c2e6c20f41234cf/index.js +211 -0
- package/vendor/components/sha256/aeb0b9b5991a5c1df7191c397780a699f2c7310123ca210a58486c0a23e44006/index.js +342 -0
- package/vendor/components/sha256/af3355efd6739a56c6cb53990100f41703361c475c123b9b2762421c68509036/index.js +315 -0
- package/vendor/components/sha256/b10183a66b58b827a1410cf8b0117af567647684464d5777529dc66f0cea343a/LICENSE-tabler.txt +21 -0
- package/vendor/components/sha256/b10183a66b58b827a1410cf8b0117af567647684464d5777529dc66f0cea343a/index.js +4868 -0
- package/vendor/components/sha256/b10183a66b58b827a1410cf8b0117af567647684464d5777529dc66f0cea343a/names.txt +4808 -0
- package/vendor/components/sha256/b348ea64cc19632df96a91dfd7c435e4a62095aede72b504d03537be70d6d930/index.js +606 -0
- package/vendor/components/sha256/b53bfa03d1e9feb3cb492f440bf9d100c96eb4fe6b76c42b512a56e9158829cd/index.js +351 -0
- package/vendor/components/sha256/b9443e1cdac4850b1ead9f8449a3061678bbb77fbc53eb9b23d01e1cf50750c3/index.js +619 -0
- package/vendor/components/sha256/bc1e2a02c959ac203819d03c0d25b3776a6a9a4290aae860b26cbbe3d29e876d/index.js +268 -0
- package/vendor/components/sha256/beeb180c0e2250bb04490b092c0a235cae47fca2ed1de2d9ef078a5c14b1a963/index.js +429 -0
- package/vendor/components/sha256/c5fd7713e55e96d75824a21146c0251896d7d9dd028b4d169191433135a97981/index.js +200 -0
- package/vendor/components/sha256/c61987e9994940fc668ed8a010e575ee52027b54ed9c5dd1cc9fdf67649092b3/index.js +404 -0
- package/vendor/components/sha256/ccc8bfe174b6903ec254dfef4f5d1c614271ea39963649add7fcb8d83c081eba/index.js +278 -0
- package/vendor/components/sha256/da267bc65fde0a9279127d5a82f6c253ad74984da6fb11391f00604ad9ffe80d/index.js +93 -0
- package/vendor/components/sha256/dea36cd7010991a572ef394ee32b5e17564aeff09d3ec4ed3820d7e43c9a58be/index.js +484 -0
- package/vendor/components/sha256/df3fdb2aed487d4f6e60a8abab1fe0d1e9fa2a4193fd162edf3c384ea8db5a1b/index.js +180 -0
- package/vendor/components/sha256/e27d517f39eb554c7a9ecea7b59fcf1d347c4deeb3fe2250797aa233bfb7e2b0/index.js +747 -0
- package/vendor/components/sha256/e31f6b058503f7980597c89b3e964c512ee08de7cba3fa99904d499abbb5d0e8/README.en.md +20 -0
- package/vendor/components/sha256/e31f6b058503f7980597c89b3e964c512ee08de7cba3fa99904d499abbb5d0e8/index.js +310 -0
- package/vendor/components/sha256/f4100076a37dbde6046d85969d651feffc925bd984ffe9f333ea9bd2b6816918/README.en.md +30 -0
- package/vendor/components/sha256/f4100076a37dbde6046d85969d651feffc925bd984ffe9f333ea9bd2b6816918/index.js +192 -0
- package/vendor/components/sha256/fa6442fa3c5082cf161c29308fe0ecbd85fa33e8e4bad08c12e7961b46b1365b/README.en.md +24 -0
- package/vendor/components/sha256/fa6442fa3c5082cf161c29308fe0ecbd85fa33e8e4bad08c12e7961b46b1365b/index.js +214 -0
- package/vendor/components-2/manifest-2.16.0.json +2919 -0
- package/vendor/components-2/manifest-2.17.0.json +2852 -0
- package/vendor/components-2/manifest-2.18.0.json +3182 -0
- package/vendor/components-2/manifest-2.20.0.json +3217 -0
- package/vendor/components-2/manifest-2.21.0.json +3220 -0
- package/vendor/egatari-spec/SOURCE.json +2 -2
- package/vendor/egatari-spec/schema/deck-meta.schema.json +3 -0
- package/vendor/egatari-spec/schema/egatari-metadata.schema.json +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,71 @@ 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.19] - 2026-11-23
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- Export ▸ For an LMS (SCORM)… now has a Questions choice: not required for completion, completed when all are answered, or completed when all are answered correctly (`metadata.completion.checks`; a working folder also keeps it in egatari.json), and the package reports a score from the questions that parts such as Predict and check ask. The dialog and the docs say that questions check understanding and are not a test: the answers are in the file and judged on the learner's device, and graded tests belong to the LMS's quizzes. `build --scorm` prints the condition (handoff #84)
|
|
16
|
+
- Embedding (Player P5, P8): the `prefs` command applies the viewer's preferences a host kept (layout, the book's text size and background, captions and their size) and replies with those in effect; the player sends a `prefs` event when the viewer changes one with its own controls. `ready` now carries `formats`, `player` and `commands`.
|
|
17
|
+
- Egatari Viewer keeps those preferences (the layout per file, the others for the device; not on a shared device) and sends them back when a file is opened again.
|
|
18
|
+
- File info… can now write the title, creators (one per line), copyright notice, license (seven Creative Commons choices, no license, or another SPDX name) and attribution: a working folder saves them to `metadata` in egatari.json at once, an Egatari file at the next save. The first-save question now asks “Did you make this file?”, and for a file without a license the same dialog offers CC BY 4.0, CC BY-SA 4.0, CC BY-NC 4.0 or no license, with fields for the creators and the copyright notice (handoff #88)
|
|
19
|
+
- The first save of an Egatari file without a license that the “Did you make this file?” question does not cover (made in this Studio, or with no rights information at all) now asks only “Add a license?” with the same choices and fields, once per file: choosing no license leaves the file unchanged and the answer is remembered in the browser for that file (handoff #88)
|
|
20
|
+
- Editor: **Slide ▾ → Insert image…** adds one image to the body of the slide (handoff #85). Choose a PNG, JPEG, WebP or SVG, paste it or drop it into the window (or drop it on the HTML field of the edit panel); pick a placement (in the body at full width, half or one third, or the left or right column, keeping the aspect ratio), alt text (required, or Decorative for `alt=""`) and the step it appears at (`data-step`). It is embedded as `<img src="data:…">` in a `.fig`, with a notice over 1 MB, and can be undone like the other slide operations. The detailed AI instructions (paid plan, and the make skill) now say to write a figure box with a description where a photo is needed; the author adds the image later (the free English pack has no room for the line). Background images are left out until the per-slide background (#226) exists.
|
|
21
|
+
- The editor app has multi-level Undo and Redo (↶ ↷ in the toolbar, ⌘Z / ⇧⌘Z, Ctrl+Z / Ctrl+Shift+Z / Ctrl+Y) across slide actions, HTML edits and script edits while the file is open (saving keeps the history); File ▾ › Revert to last saved… for an Egatari file; Find and replace (magnifier button, ⌘F / Ctrl+F) across the slides and the script, replacing only text so markup stays intact, undoable in one step; a Source line slide template, and one line in the AI instructions asking for a source line on slides with numbers, figures or quotations (handoff #86)
|
|
22
|
+
- Egatari Viewer reopens a file where you left off (player spec P5): the last step is kept on this device per file and sent back as a `seek` after the player's `ready`, with a notice and a 「最初から再生」 (Start over) button. Not on a shared device or for a file with a Live.
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- Parts library 2.20.0 is now the default (release 0a65daf, tarball e493891c…, manifest cc528b69…), imported beside 2.18.0. New part `m-contrast` 2.0.0 (earlier answers and this work side by side, question by question; paid packs only). `m-curves` 2.4.0 (text ticks on the x axis), `m-predict` 2.2.0 (reports the guess through `ctx.answer` when the player passes one), `m-tree` 2.2.0. The parts gallery is re-synced to the 2.20.0 release
|
|
27
|
+
- Parts library 2.21.0 is now the default (release 102c308, tarball 96fcf97e…, manifest 646e758e…), imported beside 2.20.0. `m-predict` 2.3.0 declares its question (`static questions`), so the player counts it for `completion.checks` and the SCORM score (handoff #84). The parts gallery is re-synced to the 2.21.0 release
|
|
28
|
+
- Egatari Player 1.11.0 (the bundled player that files carry, `player` in the index and `deck-meta`): minor release. Slides can carry a source line, `<p class="source">…</p>`: placed directly in the slide it sits just above the conclusion line, small and grey, and the body is shortened to make room; inside the body it ends the body (handoff #86)
|
|
29
|
+
- Egatari Player 1.11.0 also gives parts `ctx.answer(id, correct, value?)` (format §8.4) and counts, when the file opens, the questions every part element declares in `static questions` (also on slides not yet shown; answers to undeclared ids are ignored, and an unanswered question holds back `checks` and counts as wrong in the score): the answer is recorded per question (`<slide key>/<index of the part on the slide>/<id>`, the latest replacing earlier ones, answered and answered correctly counted at least once), sent as the tracking event `answer` `{slideKey, id, correct, value?}`, and `metadata.completion.checks` (`"answered"` or `"correct"`, §9.2) must hold as well for completion. In an LMS the player sends `cmi.core.score.min` 0, `max` 100 and `raw` (the share of questions with a right answer answered correctly) and keeps the answered and correct questions in `cmi.suspend_data` as `qa` and `qc` (SCORM 1.2 binding §2.1); passed and failed are never sent (handoff #84)
|
|
30
|
+
- Egatari Player 1.12.0 (the bundled player that files carry, `player` in the index and `deck-meta`): minor release. A host can keep the viewer's preferences and give them back with the `prefs` command, and `ready` names the formats, the player and the commands it takes (Player P5, P8; handoff #94)
|
|
31
|
+
- The copy of the spec is now snapshot wd-2026-11-22 (egatari-spec ece85be)
|
|
32
|
+
- Viewer: while handwriting is on, its button reads 「手書きを終了」 (End handwriting) and looks pressed, and the top bar's 閉じる now reads 「ファイルを閉じる」 (Close file), so ending handwriting is not mistaken for closing the file. Below 760 px the マークアップ button shows its icon only.
|
|
33
|
+
- Viewer: the マークアップ (Markup) button shows only for a file with a book; a file without one no longer offers it only to say it has no book.
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
|
|
37
|
+
- Add bookmark…, Insert image…, Change theme…, For an LMS (SCORM)…, For participants (play-only)…, Save as…, Revise… (and the other AI dialogs) and the Book panel: pressing the item again while it opens (a double click, or a second press on a slow computer) no longer rebuilds the dialog a moment later and loses what is being typed; the Book panel also keeps unsaved text when it is redrawn after a rebuild (same fix as File info…)
|
|
38
|
+
- File info…: pressing it again while it opens (a double click, or a second press on a slow computer) no longer rebuilds the form a moment later and loses what is being typed (found by test-app-file-info on slow CI runners, handoff #88)
|
|
39
|
+
- Find and replace: pressing Replace (or Next, Previous, Replace all) right after typing no longer loses the selected match to the recount that was still waiting, which made a second Replace only select again (found by test-app-undo on the Windows CI, handoff #86)
|
|
40
|
+
- The quality check (command line and editor) now reports a `<script>` with no `</script>` (new code `scriptUnclosed`, R-components) at the slide where it is, with the headings of the slides it swallows. Before, a part's JSON data left unclosed turned every later slide into script text: those slides got no id, their narration sections were reported as "slide not found" (which read like a heading-normalization mismatch for headings such as 「なぜ POS だけを使うのか」), and the narration of earlier slides was reported missing too. Heading keys were already normalized the same way on both sides (handoff #96)
|
|
41
|
+
|
|
42
|
+
## [0.6.18] - 2026-11-22
|
|
43
|
+
|
|
44
|
+
### Added
|
|
45
|
+
|
|
46
|
+
- Slide bookmarks (format §8.0 `data-bookmark`, Player P4.3, handoff #67): in a talk, jump to a bookmarked slide's final state from the toolbar, the presenter view or `q`, and return with “Back to where you were” or Backspace. In Studio, the Slide menu has Add bookmark… / Rename bookmark… / Remove bookmark
|
|
47
|
+
- Quality check: a bookmark name used on more than one slide (`bookmarkDup`) and a name over 20 characters (`bookmarkLong`), in the command line and in Studio
|
|
48
|
+
- Theme workshop (New…, step ③, **Custom**; backlog #58 stage 2): start from any bundled theme, then choose the font (gothic, mincho or rounded gothic), the background (white, off-white or a pale main colour) and the heading, cover and conclusion line styles, besides the main colour. The choices are the same CSS fragments the bundled themes use (`kit/core/theme-shapes.mjs`); the preview follows each change, a theme started from a bundled theme and left unchanged looks the same as that theme, and the saved `theme.json` records the choices (`look`, `background`, `fontKind`) so that reopening the theme restores them. A new check: white heading text on the main colour needs a contrast ratio of 4.5:1.
|
|
49
|
+
|
|
50
|
+
### Changed (API)
|
|
51
|
+
|
|
52
|
+
- `buildPack(data, opts)` (`kit/llm-pack.mjs`) takes `named`: parts listed by name only in the purposes table (the ranked instructions of New… put the parts that do not fit there)
|
|
53
|
+
|
|
54
|
+
### Changed
|
|
55
|
+
|
|
56
|
+
- Parts library 2.16.0 is now the default (release d31cc5b, tarball 1298668c…, manifest c44e58d5…), imported beside 2.15.0. Fourteen more parts mark what they draw (`data-part`), so the R-geometry check covers them (handoff #45): `m-callout`, `m-collect`, `m-kakijun`, `m-map-japan`, `m-map-world`, `m-market`, `m-numberline`, `m-pie`, `m-scatter`, `m-seq`, `m-tape`, `m-vector`, `m-venn` and `m-codetree`. Drawing changes: `m-codetree` 2.1.0 no longer lets the bits collide in a dense summary, and `m-folds` 2.1.2 centres a group's name in its frame and never draws a negative corner radius. The manifest now labels parts by subject and audience (`subjects.json`, `audiences.json`; handoff #43), and the READMEs and `icons` words follow the 2026-11-20 wording (Egatari file, 対話型の生成 AI; handoff #36, #60), so the AI instructions change. The parts gallery is re-synced to the 2.16.0 release
|
|
57
|
+
- Parts library 2.17.0 is now the default (release d1dd24e, tarball 7bbfc09c…, manifest aba30c35…), imported beside 2.16.0. Two new parts: `m-matrix` (比較の行列 / Comparison matrix: a two-axis positioning table or a studies × elements table, filled step by step; set univ, so described on the paid plan only) and `m-scroll` (縦に送る図 / Scrolling figure: a tall figure in a fixed frame, scrolled to set places by step; set tools). New… lists them with a one-line description and picture; the parts gallery is re-synced to the 2.17.0 release
|
|
58
|
+
- Parts library 2.18.0 is now the default (release faddacb, tarball d4568b35…, manifest 51fb3abb…), imported beside 2.17.0. The words that New… uses to tick a subject from step 2 now come from the manifest (`subjects[].keywords`, handoff #69) instead of a table in Studio; the guesses are the same. `m-matrix` 2.1.0. The parts gallery is re-synced to the 2.18.0 release
|
|
59
|
+
- Bundled samples synced to egatari/examples a3ddee5: nineteen samples carry their labels (`purposes`, `subjects`, `audiences`; handoff #43, #59). With the six samples kept only in Studio, every sample with a `sample.json` (25) is labelled.
|
|
60
|
+
- AI instructions, 国語 (kokugo) set (handoff #70, owner 2026-11-21): keep one file vertical or horizontal. A file that reads a classical or modern Japanese text puts its explanation slides in vertical writing too; only slides with a figure or table that works only horizontally are horizontal, kept together, never alternating
|
|
61
|
+
- Quality check (R-style, a warning in the command-line check and the editor; handoff #70): `tateMixed` when vertical (`layout-tate`) and horizontal slides switch three or more times, not counting the cover and dividers. It names the count and says to keep one direction and put horizontal figure or table slides together. `kit/core/tate-mix.mjs`, `tools/test-tate-mix.mjs`
|
|
62
|
+
- AI instructions, 国語 (kokugo) set (handoff #83): the body of a vertical slide is kept to 15 columns (about 18 characters each, some 270 in all); an item longer than 18 characters takes two columns; if it does not fit, split the slide. Measured: 16 columns fit, the 17th runs into the conclusion column (`bodyConclCol`)
|
|
63
|
+
- New… step 4 asks for labels instead of a list of parts to tick (handoff #43 ④, owner's decision 2026-11-19): **What do you want to show?** (purpose tiles, any number or none), **Subject (optional)** (ticked at first when its words appear in step 2, with the reason), **School level** (only for a school lesson; otherwise the audience comes from step 1) and **Which AI will you paste it into?** (a free AI, or not sure / a paid AI, or as a file). The labels come from the default parts catalogue's manifest only (`PACK.tiers`, which now also copies each purpose's `tile` and `reserved`, the reserved subjects, and how many samples use each part). The part list, part sets, the size meter, the limit and **Untick these** are gone; one foldable line counts the parts that are described and those named only.
|
|
64
|
+
- The instructions are built from a ranking of the parts (`rankParts` in `kit/core/new-deck.mjs`): matching purpose, then subject, then audience, then use in the samples; a part whose subject or audience labels exclude the choice goes last. The light and the detailed instructions use the same ranking: descriptions are added from the top while they fit the limit (light: 45 KB and a paste length of 31,000; detailed: 150 KB), and the rest appear only by name in the purposes table, which tells the AI not to use them (`newDeckPack` in `kit/core/new-deck-pack.mjs`). Starting from a sample chooses its labels and puts its parts first; `node kit/llm-pack.mjs --from-sample` prints the same bytes.
|
|
65
|
+
- `studio.newDeck` in `egatari.json` stores `purposes`, `subjects` and `audience` instead of `parts`; the `parts` of an older record are ignored.
|
|
66
|
+
- Egatari Player 1.10.0 (the bundled player that files carry, `player` in the index and `deck-meta`): minor release. Slide bookmarks (format §8.0, Player P4.3): in a talk, a slide with `data-bookmark` gets a button with its name in the toolbar and in the presenter view; it jumps to that slide's final state, `q` goes to the next bookmark (after the last one, back to where you were), and “Back to where you were” or Backspace returns. The slide overview shows the bookmark name after the title. Nothing is shown in video mode or in print; slides, steps and timing are unchanged
|
|
67
|
+
- AI instructions, R-steps (handoff #65): how a table appears depends on how it compares. Items explained one at a time show their rows in the order spoken; a matrix (things compared down the side, criteria across) or a table crossing two axes is shown whole and then the column or cell under discussion is marked, or it is filled one axis value at a time; in a research-positioning table, the author's own cell says 「本研究」 / “This work” in words (not by colour or bold alone). No part is named in the rule: where `m-matrix` is described, its own description says when to use it
|
|
68
|
+
- Samples (`sample.json`) may carry labels: `purposes`, `subjects` and `audiences`, each a list of ids (empty = fits every one; handoff #43). The ids are not written in Studio: they come from the default parts catalogue's manifest (parts library 2.16.0: 25 purposes, 11 subjects, 5 audiences), which `tools/make-llm-guide.mjs` copies into the AI instruction data with each part's subjects and audiences. The six samples kept only in Studio (heikin-chuouchi, kokugo-kanbun, minimal, pitch-fictional, rashomon, tmlr2026-calibration) are labelled.
|
|
69
|
+
- Egatari Viewer: the 「マークアップ」 button shows a highlighter instead of a pencil, so on narrow screens, where only the icon is shown, it no longer looks like a drawing tool. Its name is unchanged.
|
|
70
|
+
- Japanese wording (handoff #60, owner 2026-11-20): long vowels follow Google's Japanese style word by word (ブラウザ, フォルダ, エディタ, ライブラリ are not lengthened; プレーヤー, ユーザー are), and a half-width space separates full-width characters from half-width letters and digits (生成 AI, 対話型 AI, AI エージェント), but not next to brackets or punctuation. The glossary avoids the other forms, so `npm run lint:terms` reports them
|
|
71
|
+
|
|
72
|
+
### Fixed
|
|
73
|
+
|
|
74
|
+
- Egatari Viewer: a handwriting stroke drawn just after opening a lesson, before the player has said which slide it shows, is no longer dropped; it goes onto that slide and is kept. `tools/test-viewer-ink.mjs` draws before the slide key arrives, and waits for the surface to be painted before drawing instead of drawing again.
|
|
75
|
+
|
|
11
76
|
## [0.6.17] - 2026-11-20
|
|
12
77
|
|
|
13
78
|
### Fixed
|
|
@@ -1653,7 +1718,9 @@ First public release.
|
|
|
1653
1718
|
- 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
|
|
1654
1719
|
- Tests (`npm test`) and GitHub Actions running them on Node 22 and 24, plus a TTS dry-run through video export
|
|
1655
1720
|
|
|
1656
|
-
[Unreleased]: https://github.com/egatari/egatari-studio/compare/v0.6.
|
|
1721
|
+
[Unreleased]: https://github.com/egatari/egatari-studio/compare/v0.6.19...HEAD
|
|
1722
|
+
[0.6.19]: https://github.com/egatari/egatari-studio/compare/v0.6.18...v0.6.19
|
|
1723
|
+
[0.6.18]: https://github.com/egatari/egatari-studio/compare/v0.6.17...v0.6.18
|
|
1657
1724
|
[0.6.17]: https://github.com/egatari/egatari-studio/compare/v0.6.16...v0.6.17
|
|
1658
1725
|
[0.6.16]: https://github.com/egatari/egatari-studio/compare/v0.6.15...v0.6.16
|
|
1659
1726
|
[0.6.15]: https://github.com/egatari/egatari-studio/compare/v0.6.14...v0.6.15
|
package/README.ja.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- i18n: pair=README.md sha256=
|
|
1
|
+
<!-- i18n: pair=README.md sha256=f4d702f8466fb1cf -->
|
|
2
2
|
<p align="center">
|
|
3
3
|
<picture>
|
|
4
4
|
<source media="(prefers-color-scheme: dark)" srcset="assets/logo/egatari-dark.svg">
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
[English](README.md) | 日本語
|
|
14
14
|
|
|
15
|
-
Egatari は、スライド・台本・音声・本を 1 つの HTML
|
|
15
|
+
Egatari は、スライド・台本・音声・本を 1 つの HTML ファイルにまとめる形式です。ブラウザで再生でき、生成 AI で作成・修正できます。Egatari Studio は、その Egatari ファイルを作成・編集するツール。
|
|
16
16
|
|
|
17
17
|
Egatari ファイルは自己完結した 1 つの HTML で、ステップ表示とパーツで説明の順を見せる。1 組のスライドと台本(`deck.html` と `narration.md`)から、スライドショー(先のステップを薄く見せることもできる)・PDF、そして必要なら TTS の動画まで作る。[Claude Code](https://claude.com/claude-code) のスキル(`skills/`)で動かす前提で作ってあるが、どの手順も Node のコマンドなので、Claude Code なしでも使える。
|
|
18
18
|
|
|
@@ -25,8 +25,8 @@ Egatari ファイルは自己完結した 1 つの HTML で、ステップ表示
|
|
|
25
25
|
次のどれか 1 つで始められる。
|
|
26
26
|
|
|
27
27
|
- **編集アプリ(インストール不要)**:Chrome か Edge で <https://studio.egatari.org/> を開き、その場で Egatari ファイルを作成する・開く([編集アプリ](#editor-app))。
|
|
28
|
-
- **対話型AIと**:対話型の生成AI(ChatGPT・Gemini・Claude など)に make のスキル(`egatari-make-skill.zip`)を追加し、作成を依頼する([Codex で使う](#codex) の末尾)。
|
|
29
|
-
- **AIエージェントと**:Claude Code・Codex にスキルをインストールし、自動で更新されるようにして(Claude Code は `/plugin` → Marketplaces → egatari → Enable auto-update、Codex は Studio のリリースのたびに `npx egatari@0.6.x skills update`)、作成を依頼する([Claude Code で使う](#claude-code)、[Codex で使う](#codex))。
|
|
28
|
+
- **対話型 AI と**:対話型の生成 AI(ChatGPT・Gemini・Claude など)に make のスキル(`egatari-make-skill.zip`)を追加し、作成を依頼する([Codex で使う](#codex) の末尾)。
|
|
29
|
+
- **AI エージェントと**:Claude Code・Codex にスキルをインストールし、自動で更新されるようにして(Claude Code は `/plugin` → Marketplaces → egatari → Enable auto-update、Codex は Studio のリリースのたびに `npx egatari@0.6.x skills update`)、作成を依頼する([Claude Code で使う](#claude-code)、[Codex で使う](#codex))。
|
|
30
30
|
- **コマンドライン**:
|
|
31
31
|
|
|
32
32
|
```bash
|
|
@@ -51,7 +51,7 @@ Node.js 22.23.4 以上が要る([要るもの](#requirements))。ほかの
|
|
|
51
51
|
- **発表のツール**:発表者ビュー(台本がカンペになる・タイマー)、スライド一覧、レーザーポインター、ペン、消えるペン、ツールバー
|
|
52
52
|
- **テーマ**:基調色 1 つで切り替える(`themes/<名前>/tokens.css`)。パーツはテーマの変数だけを使う。同梱は 8 つで、新しいファイルは 7 つから選ぶ:藍(`default`)・墨(`sumi`)・国語・常盤・江戸紫・焦茶・浅葱。`business` は、それを使ったファイルをビルドできるように同梱のまま残す([リファレンス](docs/reference.ja.md#テーマ))
|
|
53
53
|
- **品質管理**:規格(R-fit・R-steps など)がスライドと台本の満たすことを決め、品質チェック `kit/check.mjs`(`npm run check`)がはみ出し・文字の大きさ・ステップ・台本の抜け・配色のコントラスト・パーツの再現性・強調・モーフを調べる
|
|
54
|
-
- **開発サーバー**:ブラウザの上で文言と台本を編集し、AIエージェントへのメモを保存できる
|
|
54
|
+
- **開発サーバー**:ブラウザの上で文言と台本を編集し、AI エージェントへのメモを保存できる
|
|
55
55
|
- **Egatari ファイル(`.ega.html`)**:`--portable` で(作業フォルダの最上位に、題名から作った名前で。書いた場所は表示される)、オフラインで再生でき、原稿と音声も中に持つ 1 つの HTML を書く。作業フォルダに戻せる(`npm run portable -- unpack|pack`)。`--play-only` は編集できるスライドと台本を入れないコピー。Egatari ファイルの公開の形式 **Egatari(絵語り)**([仕様](https://github.com/egatari/egatari-spec)、1.0 の草案)に従う。[参照](docs/reference.ja.md#1-ファイル--portable)
|
|
56
56
|
- **出力**:単一の HTML(字・数式と、原稿が参照するローカルの画像・動画・CSS を埋め込み済み、オフラインで開ける)。印刷か `tools/pdf.mjs` で PDF
|
|
57
57
|
|
|
@@ -72,7 +72,7 @@ Node.js 22.23.4 以上が要る([要るもの](#requirements))。ほかの
|
|
|
72
72
|
|
|
73
73
|
| 形 | 中身 | ここで |
|
|
74
74
|
|---|---|---|
|
|
75
|
-
| 作業フォルダ | `deck.html`・`narration.md`・`audio/` … の入ったフォルダ。コマンド・AIエージェント(Claude Code・Codex・Gemini CLI など)・ほかのエディタが読み書きする | 「フォルダで作業する…」(Chrome / Edge)で編集する |
|
|
75
|
+
| 作業フォルダ | `deck.html`・`narration.md`・`audio/` … の入ったフォルダ。コマンド・AI エージェント(Claude Code・Codex・Gemini CLI など)・ほかのエディタが読み書きする | 「フォルダで作業する…」(Chrome / Edge)で編集する |
|
|
76
76
|
| Egatari ファイル(`.ega.html`) | 原稿と音声を中に持つ 1 つの HTML(`--portable`)。ブラウザで開けば再生 | 「開く…」で編集する(どのブラウザでも) |
|
|
77
77
|
| 再生専用(`--play-only`) | 原稿を持たない Egatari ファイル | 編集できない(元の Egatari ファイルか作業フォルダを開く) |
|
|
78
78
|
| ビルドした HTML(`out/deck.html`) | `node kit/build.mjs` の発表用の出力 | 編集できない(作業フォルダを開く) |
|
|
@@ -80,10 +80,10 @@ Node.js 22.23.4 以上が要る([要るもの](#requirements))。ほかの
|
|
|
80
80
|
- **開く:** Chrome か Edge で **<https://studio.egatari.org/>** を開く(インストール不要)。または `npm run build:app` でビルドし、`dist/editor.html`(オフライン版のエディタ、約 10 MB)をダブルクリックで開く
|
|
81
81
|
- **Egatari ファイルを開く(フォルダなしで):** スタート画面の「ファイルを開く(.ega.html)…」(またはファイルをドラッグ&ドロップ)で[Egatari ファイル(`.ega.html`)](docs/reference.ja.md#1-ファイル--portable)を開き、メモリの上で編集する。ファイルは動かさずに Worker の中で取り出す。「保存」で同じファイルに(またはダウンロード)、「名前を付けて保存…」で別のファイルに(「新しいファイルとして保存する」にチェックを入れれば、元のファイルを記録した新しい識別子のファイルに)、「作業フォルダにエクスポート…」で空のフォルダに原稿と音声をエクスポートする。ファイルの識別子と権利の表示は変えず、最初の編集の前にライセンスを見せる(改変を認めないライセンスは確認つき)。台本・音声・秒数の編集は再ビルドせずに保存し、ファイルのその所だけが変わる。スライドを編集したら、編集していないスライドの見え方が変わりうると知らせてから再ビルドする。フォルダを開いているときは「名前を付けて保存…」で Egatari ファイルに。今のどのブラウザでも使える(ファイルを選ぶダイアログがなければ保存はダウンロード)
|
|
82
82
|
- **編集する:** 開発サーバーと同じキー。`e`+ダブルクリックで原稿、`n` で台本、Alt / ⌥ option+クリックで コメント(`comments.json`)、`c` で一覧。バックアップはフォルダの `.cache/edits/` に保存する
|
|
83
|
-
- **作業フォルダを開く:** 作業フォルダ(`deck.html` の入ったもの)を画面にドラッグ&ドロップするか「フォルダで作業する…」を押し、そのフォルダの編集を許可する。「新規作成…」は対話型AIで新しい Egatari ファイルを作成する(新しい作業フォルダはコマンドの `npm run new`)。最近開いた作業フォルダはスタート画面に並ぶ
|
|
84
|
-
- **対話型AIで下書き(AIエージェントなし):** 「新規作成…」で 4 つの問い(使う場面・何について・見た目・AI に渡す指示が軽量か詳細か)に答えると、ChatGPT・Gemini・claude.ai に送信する [AI への指示](docs/authoring-with-llms.ja.md) をコピーでき、AI の出力をスライドと台本の 2 つの欄に貼り付ける(出力の全体をどちらかに貼れば 2 つに分ける)。エディタがスライドに id を付け、新しい Egatari ファイルとして作り(出力にスクリプトがあれば、開いたファイルと同じく動かす前に確認する)、品質チェックを実行する。品質チェックのパネルの「AI への修正依頼をコピー」は、指摘・破った規格・今のファイルを同じチャット向けにコピーし、その出力で「修正…」が今のファイルのスライドを置き換える(識別子と音声は変えない)。「スライドの挿入…」では、選んだスライドの後ろに AI で作成したスライドを挿入できる
|
|
83
|
+
- **作業フォルダを開く:** 作業フォルダ(`deck.html` の入ったもの)を画面にドラッグ&ドロップするか「フォルダで作業する…」を押し、そのフォルダの編集を許可する。「新規作成…」は対話型 AI で新しい Egatari ファイルを作成する(新しい作業フォルダはコマンドの `npm run new`)。最近開いた作業フォルダはスタート画面に並ぶ
|
|
84
|
+
- **対話型 AI で下書き(AI エージェントなし):** 「新規作成…」で 4 つの問い(使う場面・何について・見た目・AI に渡す指示が軽量か詳細か)に答えると、ChatGPT・Gemini・claude.ai に送信する [AI への指示](docs/authoring-with-llms.ja.md) をコピーでき、AI の出力をスライドと台本の 2 つの欄に貼り付ける(出力の全体をどちらかに貼れば 2 つに分ける)。エディタがスライドに id を付け、新しい Egatari ファイルとして作り(出力にスクリプトがあれば、開いたファイルと同じく動かす前に確認する)、品質チェックを実行する。品質チェックのパネルの「AI への修正依頼をコピー」は、指摘・破った規格・今のファイルを同じチャット向けにコピーし、その出力で「修正…」が今のファイルのスライドを置き換える(識別子と音声は変えない)。「スライドの挿入…」では、選んだスライドの後ろに AI で作成したスライドを挿入できる
|
|
85
85
|
- **台本の音声を 1 ステップずつ:** 「音声」でステップの音声を聞き、作った後に台本が変わっていれば「古い」と示す。マイクから録音する(入力レベルの表示つき)、ファイルから取り込む、AI 音声をこの PC で作る(日本語は読み辞書つきの Irodori-TTS、英語は Kokoro。WebGPU が要り、モデルは初回だけ取得)で作り直すのどれかをして、「この音声を使う」。録音し直した音声は `tts/core.py` と同じく整え(無音を削り −20 LUFS)、出どころと一緒に MP3 で保存する([詳しく](docs/editor.ja.md#台本の音声音声のパネル))。Egatari ファイルでは再ビルドせずに保存する
|
|
86
|
-
- **AIエージェントと一緒に:** ほかのもの(Claude Code・Codex・テキストエディタ)がファイルを変えると、2 秒ほどで気づいて再ビルドし、同じスライド・ステップのまま表示する。ビルドに失敗したら、修正されるまでプレビューの上にエラーを表示する
|
|
86
|
+
- **AI エージェントと一緒に:** ほかのもの(Claude Code・Codex・テキストエディタ)がファイルを変えると、2 秒ほどで気づいて再ビルドし、同じスライド・ステップのまま表示する。ビルドに失敗したら、修正されるまでプレビューの上にエラーを表示する
|
|
87
87
|
- **言語:** ふだんはブラウザの言語に合わせる。右上の **English / 日本語** のボタン(または `?lang=en`・`?lang=ja`)で切り替える
|
|
88
88
|
- **ツールの列:** ファイル ▾(新規作成…・開く…・保存・名前を付けて保存…・エクスポート ▸ 参加者用(再生専用)…/スライドを印刷/本を印刷(本のないファイルは台本を印刷)・ファイルの情報…・フォルダで作業する…)、スライド ▾(スライドの挿入…・複製・削除・修正…)、品質チェック(警告の数)、プレビュー ▾(スライドショー・動画で確認、発表者ビュー(台本と次のステップを表示するウィンドウ)で確認)
|
|
89
89
|
|
|
@@ -125,7 +125,7 @@ codex plugin add egatari-studio@egatari
|
|
|
125
125
|
|
|
126
126
|
スライドと台本を書くだけなら `egatari`(Node.js は要らない)、ローカルの品質チェック・ビルド・パーツ作成・動画には `egatari-studio` もインストールする。Codex を再起動して作成を依頼する。Codex の workspace-write サンドボックスはネットとブラウザを塞ぐので、`check` と `build` はサンドボックスの外で、またはネットとブラウザを許して動かす。更新は `codex plugin marketplace upgrade egatari` のあと `codex plugin add egatari@egatari` と `codex plugin add egatari-studio@egatari` をもう一度(Codex に更新だけの命令はない)。`npx egatari@0.6.x skills update` なら、Claude Code にも Codex にも同じことをする。インストールしたスキルが包みより古いときは `npx egatari@0.6.x doctor` が通知する。
|
|
127
127
|
|
|
128
|
-
対話型の生成AI(ChatGPT・Gemini・Claude など)には `egatari-make-skill.zip` をアップロードする。Studio を更新したら、Studio の『AI のスキルをダウンロード』で追加し直す。開発者は `node tools/make-llm-guide.mjs --zip out/release` で作れる。ZIP の `make/` は、生成してコミットする `plugins/egatari/skills/make/` と同じ内容。
|
|
128
|
+
対話型の生成 AI(ChatGPT・Gemini・Claude など)には `egatari-make-skill.zip` をアップロードする。Studio を更新したら、Studio の『AI のスキルをダウンロード』で追加し直す。開発者は `node tools/make-llm-guide.mjs --zip out/release` で作れる。ZIP の `make/` は、生成してコミットする `plugins/egatari/skills/make/` と同じ内容。
|
|
129
129
|
|
|
130
130
|
| スキル | 使いどころ |
|
|
131
131
|
|---|---|
|
|
@@ -198,6 +198,7 @@ node render/render.mjs $D/out/deck.html --out $D/video # 1 ステップだけ
|
|
|
198
198
|
| a | 自動再生(音声があれば流す) |
|
|
199
199
|
| l | 先のステップを薄く見せる(入/切) |
|
|
200
200
|
| b | 黒い画面 |
|
|
201
|
+
| q | 次のしおりへ(最後の次は元の位置へ) |
|
|
201
202
|
| s / Shift+s | 字幕(台本を 2 行ほどずつ)/ 字幕の大きさ S・M・L |
|
|
202
203
|
| o | スライド一覧(矢印で選んで Enter) |
|
|
203
204
|
| x / d / v | レーザーポインター / ペン / 消えるペン。Shift+d(またはツールバーの色のボタン)でペンの色 |
|
|
@@ -315,7 +316,7 @@ npm run dev -- talks/mytalk/deck.html # ブラウザで編集する
|
|
|
315
316
|
npm run check -- talks/mytalk/deck.html # 最後の行が「エラー 0」になればよい
|
|
316
317
|
```
|
|
317
318
|
|
|
318
|
-
`npm run new -- <フォルダ>` は、きれいなテンプレートから `deck.html` と `narration.md` を作る(表紙と、ステップ・数式・強調・パーツの例のスライド。台本は全ステップぶん)。`"componentsCatalogue": "2"` の `egatari.json` も書く:新しいファイルは、対話型AIへの指示が説明するパーツライブラリ 2 でビルドする(その設定のないフォルダ、たとえば前からの作業フォルダは、パーツライブラリ 1 のまま)。選択肢は `--lang en|ja`(既定 `ja`)、`--theme <名前>`(既定 `default`)、`--title "…"`。空でないフォルダには書かない。テーマは後から `<html data-theme="business">` か `--theme business` で変えられる。`<html lang="en">` のスライドは本文の字が Source Sans 3 になり、品質チェックも英語の規格になる。もっと作り込んだサンプルは `examples/minimal/`。
|
|
319
|
+
`npm run new -- <フォルダ>` は、きれいなテンプレートから `deck.html` と `narration.md` を作る(表紙と、ステップ・数式・強調・パーツの例のスライド。台本は全ステップぶん)。`"componentsCatalogue": "2"` の `egatari.json` も書く:新しいファイルは、対話型 AI への指示が説明するパーツライブラリ 2 でビルドする(その設定のないフォルダ、たとえば前からの作業フォルダは、パーツライブラリ 1 のまま)。選択肢は `--lang en|ja`(既定 `ja`)、`--theme <名前>`(既定 `default`)、`--title "…"`。空でないフォルダには書かない。テーマは後から `<html data-theme="business">` か `--theme business` で変えられる。`<html lang="en">` のスライドは本文の字が Source Sans 3 になり、品質チェックも英語の規格になる。もっと作り込んだサンプルは `examples/minimal/`。
|
|
319
320
|
|
|
320
321
|
新しいスライドにはどれも変わらない id(`<section class="slide" id="s-k3f9q2">`)があり、台本の見出しがそれを指す(`## 見出し {#s-k3f9q2}`)。見出しを編集しても、台本・音声・秒数の対応は崩れない。id のない頃に作った作業フォルダは、一度 `npm run ids -- talks/mytalk` を打つ:id を付け、`narration.md`・`audio/manifest.json`・`timeline.json`・`comments.json` のキーを付け替える(バックアップは `.cache/edits/`)。
|
|
321
322
|
|
|
@@ -331,7 +332,7 @@ node server/dev.mjs path/to/deck.html # http://127.0.0.1:8730/ を開
|
|
|
331
332
|
|
|
332
333
|
1. **文字を編集する:`e` → ダブルクリック。** 編集できる要素に点線の枠が出る。ダブルクリックでその部分の原稿(HTML と `\( … \)` の式)が開くので、編集して ⌘/Ctrl+Enter。`deck.html` のその要素だけが書き換わる
|
|
333
334
|
2. **台本を編集する:`n`。** 右に今のステップの台本が出る。編集して保存(発言の追加・削除・話者の変更もできる)。`narration.md` のそのステップだけが書き換わる
|
|
334
|
-
3. **コメントを保存する:Alt+クリック(Mac は ⌥ option キーを押したままクリック)。** 修正したいことを書く(「この図を大きく」「このスライドを 2 枚に分けて」)。メモは `comments.json` に貯まり、`c` で一覧。AIエージェント(Claude Code・Codex・Gemini CLI など)に「comments.json のメモを反映して」と依頼すると修正され、保存した時点で表示される
|
|
335
|
+
3. **コメントを保存する:Alt+クリック(Mac は ⌥ option キーを押したままクリック)。** 修正したいことを書く(「この図を大きく」「このスライドを 2 枚に分けて」)。メモは `comments.json` に貯まり、`c` で一覧。AI エージェント(Claude Code・Codex・Gemini CLI など)に「comments.json のメモを反映して」と依頼すると修正され、保存した時点で表示される
|
|
335
336
|
4. **元に戻す:** 書き換える前の `deck.html`・`narration.md` は `.cache/edits/` に保存される(新しい 30 個)
|
|
336
337
|
|
|
337
338
|
| `e`+ダブルクリック:原稿を編集 | `n`:台本を編集 | Alt / ⌥ option+クリック:コメント |
|
|
@@ -346,7 +347,7 @@ node server/dev.mjs path/to/deck.html # http://127.0.0.1:8730/ を開
|
|
|
346
347
|
|---|---|
|
|
347
348
|
| `docs/contract.ja.md` | 規約(位置と時刻、パーツ、台本、タイムライン、強調、モーフ)。**まずここを読む**([English](docs/contract.md)) |
|
|
348
349
|
| `docs/dev-server.ja.md`、`docs/editor.ja.md`、`docs/video.ja.md`、`docs/distributing.ja.md` | 手引き:開発サーバー、編集アプリ、動画にする、学習者への配布([English](docs/dev-server.md)、[English](docs/editor.md)、[English](docs/video.md)、[English](docs/distributing.md)) |
|
|
349
|
-
| `docs/authoring-with-llms.ja.md` | 対話型の生成AI(ChatGPT・Gemini・Claude など)で初めの下書きを作成する指示。共通の本体(標準パーツ)。セットの指示(stats・data・math・maps・kokugo・english・music・business・tools・science)は `docs/llm-parts/`。`tools/make-llm-guide.mjs` が作り、`node kit/llm-pack.mjs` がビルドする([English](docs/authoring-with-llms.md)) |
|
|
350
|
+
| `docs/authoring-with-llms.ja.md` | 対話型の生成 AI(ChatGPT・Gemini・Claude など)で初めの下書きを作成する指示。共通の本体(標準パーツ)。セットの指示(stats・data・math・maps・kokugo・english・music・business・tools・science)は `docs/llm-parts/`。`tools/make-llm-guide.mjs` が作り、`node kit/llm-pack.mjs` がビルドする([English](docs/authoring-with-llms.md)) |
|
|
350
351
|
| `docs/reference.ja.md` | リファレンス:原稿の記法、台本、長さ、テーマ、キー、URL の引数、すべてのコマンドの選択肢と環境変数([English](docs/reference.md)) |
|
|
351
352
|
| `kit/` | ランタイム(`deck.js` `presenter.js` `tools.js`)、体裁、ビルド、台本の解析、品質チェック、ブラウザの起動。`kit/core/` は Node と編集アプリが共有するビルドの本体、`kit/templates/` は新しいスライドのテンプレート |
|
|
352
353
|
| `vendor/components/` | [egatari/components](https://github.com/egatari/components) のリリース(パーツ)のコピー。取り込んだバージョンをすべて残し、既定のバージョンは `components.lock.json` で固定。一覧は `vendor/components/CATALOG.md`。取り込みは `npm run components:update -- vX.Y.Z` |
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- i18n: pair=README.ja.md sha256=
|
|
1
|
+
<!-- i18n: pair=README.ja.md sha256=c5ab07dbd39dbb27 -->
|
|
2
2
|
<p align="center">
|
|
3
3
|
<picture>
|
|
4
4
|
<source media="(prefers-color-scheme: dark)" srcset="assets/logo/egatari-dark.svg">
|
|
@@ -194,6 +194,7 @@ What video needs (ffmpeg, uv, a TTS server, reference voices) is under Tier 2 in
|
|
|
194
194
|
| a | autoplay (plays the audio if the file has it) |
|
|
195
195
|
| l | show later steps faintly (on/off) |
|
|
196
196
|
| b | black screen |
|
|
197
|
+
| q | next bookmark (after the last one, back to where you were) |
|
|
197
198
|
| s / Shift+s | captions (script, about two lines at a time) / caption size S, M, L |
|
|
198
199
|
| o | slide overview (arrows + Enter) |
|
|
199
200
|
| x / d / v | laser pointer / pen / fading pen; Shift+d (or the swatches in the toolbar) changes the pen color |
|