@kubohiroya/turbowarp-diagnostic-overlay 0.4.0 → 0.5.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +15 -3
  3. package/dist/diagnostic-overlay.js +8258 -93
  4. package/dist/lib/config.d.ts +1 -0
  5. package/dist/lib/config.d.ts.map +1 -1
  6. package/dist/lib/config.js +2 -1
  7. package/dist/lib/config.js.map +1 -1
  8. package/dist/lib/editor-schema.d.ts +4 -0
  9. package/dist/lib/editor-schema.d.ts.map +1 -0
  10. package/dist/lib/editor-schema.js +12 -0
  11. package/dist/lib/editor-schema.js.map +1 -0
  12. package/dist/lib/extension.d.ts +2 -0
  13. package/dist/lib/extension.d.ts.map +1 -1
  14. package/dist/lib/extension.js +24 -2
  15. package/dist/lib/extension.js.map +1 -1
  16. package/dist/lib/fixed-input-editors.d.ts +10 -0
  17. package/dist/lib/fixed-input-editors.d.ts.map +1 -0
  18. package/dist/lib/fixed-input-editors.js +60 -0
  19. package/dist/lib/fixed-input-editors.js.map +1 -0
  20. package/dist/lib/fixed-input-schema.d.ts +4 -0
  21. package/dist/lib/fixed-input-schema.d.ts.map +1 -0
  22. package/dist/lib/fixed-input-schema.js +14 -0
  23. package/dist/lib/fixed-input-schema.js.map +1 -0
  24. package/dist/lib/source-editor.d.ts +9 -0
  25. package/dist/lib/source-editor.d.ts.map +1 -0
  26. package/dist/lib/source-editor.js +68 -0
  27. package/dist/lib/source-editor.js.map +1 -0
  28. package/dist/schemas/block-editor-fixed-inputs.schema.json +24 -0
  29. package/dist/schemas/diagnostic.schema.json +63 -0
  30. package/docs/index.html +29 -5
  31. package/docs/ja/index.html +3 -2
  32. package/docs/schemas/block-editor-fixed-inputs.schema.json +24 -0
  33. package/docs/source-forms.ja.md +20 -0
  34. package/docs/stage2-release-verification.ja.md +26 -0
  35. package/package.json +19 -8
  36. package/schemas/block-editor-fixed-inputs.schema.json +24 -0
  37. package/schemas/diagnostic.schema.json +63 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,29 @@
2
2
 
3
3
  このプロジェクトの注目すべき変更を記録します。形式は[Keep a Changelog](https://keepachangelog.com/ja/1.1.0/)に基づき、[Semantic Versioning](https://semver.org/lang/ja/)に従います。
4
4
 
5
+ ## [0.5.1] - 2026-10-19
6
+
7
+ ### Changed
8
+
9
+ - 既存の公開API・保存形式・既定OFFのフラグを維持し、共通エディターとビルド依存を検証済みの最新npm改訂版へ固定しました。
10
+ - 公開パッケージに基準Git SHAとリリース用変更状態のメタデータを追加しました。
11
+
12
+ ### Compatibility
13
+
14
+ - 既存データの移行は不要です。flagをOFFにして再読込するか、`@kubohiroya/turbowarp-diagnostic-overlay@0.5.0`へ固定してロールバックできます。
15
+
16
+ ## [0.5.0] - 2026-10-18
17
+
18
+ ### Added
19
+
20
+ - 固定Schemaに基づくSource/Form編集とseverity選択、既存GUIの編集導線に必要なblock iconを追加しました。
21
+ - 起動時固定・既定OFFの`blockEditorSourceForms`と`blockEditorDialogs`により段階導入します。
22
+
23
+ ### Compatibility
24
+
25
+ - 既存APIとraw保存形式を保持します。無変更・Cancelでは元の入力を維持します。
26
+ - flagをOFFにして再読込するか、`@kubohiroya/turbowarp-diagnostic-overlay@0.4.0`へ固定してロールバックできます。
27
+
5
28
  ## [0.4.0] - 2026-09-13
6
29
 
7
30
  ### Added
package/README.md CHANGED
@@ -25,13 +25,13 @@ TurboWarp Desktop and allow it to **run without the sandbox**.
25
25
  When installing from npm, pin the reviewed version:
26
26
 
27
27
  ```bash
28
- pnpm add --save-exact @kubohiroya/turbowarp-diagnostic-overlay@0.4.0
28
+ pnpm add --save-exact @kubohiroya/turbowarp-diagnostic-overlay@0.5.1
29
29
  ```
30
30
 
31
31
  The standalone extension is also available from this version-pinned CDN URL:
32
32
 
33
33
  ```text
34
- https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-diagnostic-overlay@0.4.0/dist/diagnostic-overlay.js
34
+ https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-diagnostic-overlay@0.5.1/dist/diagnostic-overlay.js
35
35
  ```
36
36
 
37
37
  The machine-readable block API manifest is generated from `src/block-definitions.json` during the
@@ -39,7 +39,7 @@ build. Consumers can pin and verify the extension ID, opcodes, block types, argu
39
39
  and menu references without evaluating the runtime bundle:
40
40
 
41
41
  ```text
42
- https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-diagnostic-overlay@0.4.0/dist/extension-manifest.json
42
+ https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-diagnostic-overlay@0.5.1/dist/extension-manifest.json
43
43
  ```
44
44
 
45
45
  ## Diagnostic JSON
@@ -193,3 +193,15 @@ pinning the preceding version.
193
193
  ## License
194
194
 
195
195
  SPDX-License-Identifier: MPL-2.0
196
+
197
+ ## 固定引数の編集フォーム(S3-4)
198
+
199
+ 共通エディターの起動時フラグ `blockEditorFixedInputs` とDialogsがONのGUIでは、`showDiagnostic` の `SEVERITY` だけを固定フォームとして登録します。旧GUI・フラグOFFでは追加登録を行いません。Schemaの正本は `schemas/block-editor-fixed-inputs.schema.json#/$defs/showDiagnostic/properties/SEVERITY`、codecと登録は `src/fixed-input-editors.ts` です。既存raw値・未変更alias・未知enumは無操作保存で書き換えず、reporterを評価しません。明示変更だけを検査し、他の引数やブロック宣言、保存形式を変更しません。
200
+
201
+ SEVERITYの候補はinfo/warning/error/fatalです。既存runtimeのtrim/lowercaseを投影へ適用し、未変更の原文は保持します。CODE/MESSAGEは今回のbindingに追加しません。
202
+
203
+ 登録はoptional API(apiVersion:1)に限定し、RUNTIME_DISPOSED/明示disposeで解除します。起動フラグOFF+再読込で従来経路へ切り戻せます。依存を戻す場合はmanifest/lock/実解決を一組で復旧します。npm公開や後続段階の動的候補は含みません。
204
+
205
+ Schemaが記述する契約の根拠は実getInfoの宣言と既存の純粋なruntime変換です。SchemaBundleのretrievalUriはこのローカル文書の識別子であり、URL配信済み・HTTP取得によるref解決を意味しません。Schemaは同梱文書だけでcompileします。
206
+
207
+ Registration uses the optional editor API available when the extension instance is constructed. Adding or replacing that API later is not followed automatically; reload the GUI and reconstruct the extension instance after changing the startup configuration.