reactive-md 0.9.0 → 0.9.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 (162) hide show
  1. package/CHANGELOG-ch.md +13 -0
  2. package/CHANGELOG.md +13 -0
  3. package/README-ch.md +6 -6
  4. package/README-en.md +6 -6
  5. package/README.md +6 -6
  6. package/SECURITY-ch.md +3 -3
  7. package/SECURITY.md +3 -3
  8. package/THIRD_PARTY_NOTICES.md +111 -1
  9. package/cli/build.mjs +1 -0
  10. package/cli/init.mjs +1 -1
  11. package/dist-library/{LocalDocumentView-K7Y-2bRJ.js → LocalDocumentView-sthUP0ct.js} +10 -10
  12. package/dist-library/LocalDocumentViewCore-GiWV3bey.js +9829 -0
  13. package/dist-library/LocalReactiveDocumentCore-ZjQSGyHE.js +275 -0
  14. package/dist-library/{authoring-Co_TiE-P.js → authoring-Dsune4Hy.js} +40 -20
  15. package/dist-library/{compile-LhpTKqCR.js → compile-wUv8KEge.js} +1 -1
  16. package/dist-library/{compiler-core-DTxY-qYz.js → compiler-core-As_m-MNm.js} +2449 -1742
  17. package/dist-library/{compiler-DfGbQhyD.js → compiler-eOfcinZs.js} +19 -19
  18. package/dist-library/{component-state-BBJ08vML.js → component-state-C52ZFJGl.js} +1 -1
  19. package/dist-library/{config-BUo-8O5C.js → config-BadfhjdP.js} +1 -1
  20. package/dist-library/{config-validation-C5kJYk-J.js → config-validation-F47AcE6o.js} +49 -1
  21. package/dist-library/{controls-BWiLLtBO.js → controls-CcT6n7k_.js} +2433 -2409
  22. package/dist-library/{coordinate-BSl6enWV.js → coordinate-CWS9p5q_.js} +108 -107
  23. package/dist-library/{data-table-DfvytZKQ.js → data-table-Bgccxd7h.js} +68 -65
  24. package/dist-library/{display-lw3BT1TA.js → display-B-VhqVND.js} +1 -1
  25. package/dist-library/{export-C7IDW9ul.js → export-BqVmTXm8.js} +145 -87
  26. package/dist-library/{gallery-B8kSt1oI.js → gallery-CY6mTx8i.js} +151 -147
  27. package/dist-library/html-CNT4KD-2.js +757 -0
  28. package/dist-library/{incremental-D_6vwAAE.js → incremental-Dv0FSp_U.js} +404 -142
  29. package/dist-library/layout-C0YlEPGr.js +562 -0
  30. package/dist-library/{mount-preset-C5s9ebEH.js → mount-preset-KxvtKgJb.js} +2 -2
  31. package/dist-library/options-1aDLK7JY.js +121 -0
  32. package/dist-library/{package-core-D0POW4Gd.js → package-core-WFK1RhAZ.js} +3 -3
  33. package/dist-library/{parser-standard-OToYcOBL.js → parser-standard-Yuf3A_VI.js} +3270 -3778
  34. package/dist-library/react-D5iGiUdL.js +7 -0
  35. package/dist-library/reactive-md-authoring.js +16 -18
  36. package/dist-library/reactive-md-build.js +51 -51
  37. package/dist-library/reactive-md-compiler-standard.js +10 -9
  38. package/dist-library/reactive-md-compiler.js +3 -3
  39. package/dist-library/reactive-md-export.js +4 -4
  40. package/dist-library/reactive-md-minimal-react-preset.js +3 -3
  41. package/dist-library/reactive-md-pdf.js +127 -3
  42. package/dist-library/reactive-md-plugin-chart.js +2 -2
  43. package/dist-library/reactive-md-plugin-data.js +4 -4
  44. package/dist-library/reactive-md-plugin-diagram.js +3 -3
  45. package/dist-library/reactive-md-plugin-forms.js +2 -2
  46. package/dist-library/reactive-md-plugin-gallery.js +2 -2
  47. package/dist-library/reactive-md-plugin-navigation.js +2 -2
  48. package/dist-library/reactive-md-plugin-network.js +117 -115
  49. package/dist-library/reactive-md-plugin-plot.js +3 -3
  50. package/dist-library/reactive-md-react-minimal.js +4 -4
  51. package/dist-library/reactive-md-react-server.js +6 -6
  52. package/dist-library/reactive-md-react-unstyled.js +10 -11
  53. package/dist-library/reactive-md-react.js +10 -11
  54. package/dist-library/reactive-md-sdk.js +3 -3
  55. package/dist-library/reactive-md-standalone-configured.js +2 -2
  56. package/dist-library/reactive-md-standalone-host.js +2 -2
  57. package/dist-library/reactive-md-testing-browser.js +2 -2
  58. package/dist-library/reactive-md-testing-react.js +6 -6
  59. package/dist-library/reactive-md-testing.js +4 -4
  60. package/dist-library/reactive-md.js +280 -193
  61. package/dist-library/{registry-05JiqmEp.js → registry-B9NGct4d.js} +1 -1
  62. package/dist-library/{resources-IeJomeUT.js → resources-D2GDQS0p.js} +1 -1
  63. package/dist-library/{runtime-CuOyRe9f.js → runtime-kcA7bG7G.js} +341 -341
  64. package/dist-library/{schema-C-AeByPp.js → schema-BufhKUSM.js} +5 -5
  65. package/dist-library/{sdk-core-BJLJaVR5.js → sdk-core-BoJT1SIt.js} +490 -150
  66. package/dist-library/{session-core-BGka5D1J.js → session-core-nmJHuR9c.js} +170 -156
  67. package/dist-library/{shareable-jkGi2g6y.js → shareable-DpbE-59H.js} +207 -242
  68. package/dist-library/types/authoring/catalog.d.ts +1 -2
  69. package/dist-library/types/components/shared/visual-frame.d.ts +6 -2
  70. package/dist-library/types/local/compilation/compiler-capabilities.d.ts +3 -0
  71. package/dist-library/types/local/compilation/compiler-core.d.ts +11 -3
  72. package/dist-library/types/local/compilation/compiler-services.d.ts +8 -4
  73. package/dist-library/types/local/compilation/compiler.d.ts +3 -3
  74. package/dist-library/types/local/compilation/session/incremental.d.ts +20 -5
  75. package/dist-library/types/local/compilation/streaming.d.ts +27 -0
  76. package/dist-library/types/local/configuration/capability-policy.d.ts +3 -0
  77. package/dist-library/types/local/configuration/diagnostic-messages.d.ts +48 -0
  78. package/dist-library/types/local/configuration/options-core.d.ts +1 -2
  79. package/dist-library/types/local/configuration/options.d.ts +1 -0
  80. package/dist-library/types/local/css/author-css.d.ts +66 -0
  81. package/dist-library/types/local/html/extended-fragment.d.ts +41 -0
  82. package/dist-library/types/local/html/html.d.ts +39 -3
  83. package/dist-library/types/local/index.d.ts +1 -1
  84. package/dist-library/types/local/parsing/author-markdown.d.ts +11 -0
  85. package/dist-library/types/local/parsing/parse-session.d.ts +2 -2
  86. package/dist-library/types/local/parsing/parser-convert.d.ts +2 -1
  87. package/dist-library/types/local/parsing/parser-core.d.ts +8 -1
  88. package/dist-library/types/local/parsing/parser.d.ts +2 -2
  89. package/dist-library/types/local/rendering/document/ExtendedHtmlFragment.d.ts +14 -0
  90. package/dist-library/types/local/rendering/document/LocalDocumentViewCore.d.ts +25 -1
  91. package/dist-library/types/local/rendering/document/LocalReactiveDocumentCore.d.ts +1 -1
  92. package/dist-library/types/local/rendering/document/use-author-script.d.ts +3 -0
  93. package/dist-library/types/local/rendering/document/view-render-context.d.ts +11 -1
  94. package/dist-library/types/local/runtime/author-script-protocol.d.ts +59 -0
  95. package/dist-library/types/local/transport/worker.d.ts +27 -4
  96. package/dist-library/types/local/types.d.ts +52 -16
  97. package/dist-library/types/react/component-api.d.ts +10 -1
  98. package/dist-library/types/react/component-utils.d.ts +9 -1
  99. package/dist-library/types/react/sdk-core.d.ts +4 -1
  100. package/dist-library/types/shareable.d.ts +5 -4
  101. package/dist-library/types/standalone/prepare.d.ts +1 -1
  102. package/dist-library/types/standalone/session-core.d.ts +3 -2
  103. package/dist-library/{types-BFC5rzC4.js → types-BeNtPqdY.js} +1 -1
  104. package/dist-library/{validation-BlDL2uD9.js → validation-BEBA_HvS.js} +88 -72
  105. package/dist-library/{visual-frame-G8PHoj1e.js → visual-frame-CyV1FXzs.js} +6 -5
  106. package/dist-library/{visuals-BkYRmYGO.js → visuals-BZbZYA7w.js} +24181 -24180
  107. package/dist-standalone/reactive-md-standalone.js +124 -117
  108. package/docs/README-ch.md +2 -1
  109. package/docs/README.md +2 -1
  110. package/docs/compatibility/compatibility-ch.md +6 -6
  111. package/docs/compatibility/compatibility-en.md +6 -6
  112. package/docs/compatibility/source-versioning-ch.md +1 -1
  113. package/docs/compatibility/source-versioning-en.md +1 -1
  114. package/docs/development/component-development-ch.md +2 -2
  115. package/docs/development/component-development-en.md +2 -2
  116. package/docs/development/component-development-reference-ch.md +2 -2
  117. package/docs/development/component-development-reference-en.md +2 -2
  118. package/docs/development/component-protocol-ch.md +2 -2
  119. package/docs/development/component-protocol-en.md +2 -2
  120. package/docs/development/extension-tutorial-ch.md +3 -3
  121. package/docs/development/extension-tutorial-en.md +3 -3
  122. package/docs/integration/author-tools-ch.md +1 -1
  123. package/docs/integration/author-tools-en.md +1 -1
  124. package/docs/integration/compiler-ch.md +3 -1
  125. package/docs/integration/compiler-en.md +3 -1
  126. package/docs/integration/editor-ch.md +3 -3
  127. package/docs/integration/editor-en.md +3 -3
  128. package/docs/integration/extension-sdk-ch.md +2 -2
  129. package/docs/integration/extension-sdk-en.md +2 -2
  130. package/docs/integration/local-integration-ch.md +130 -8
  131. package/docs/integration/local-integration-en.md +130 -8
  132. package/docs/integration/shareable-export-ch.md +4 -2
  133. package/docs/integration/shareable-export-en.md +4 -2
  134. package/docs/reference/html-compatibility-ch.md +20 -67
  135. package/docs/reference/html-compatibility-en.md +19 -64
  136. package/docs/reference/public-api-ch.md +10 -7
  137. package/docs/reference/public-api-en.md +10 -7
  138. package/docs/releases/release-0.9.1-ch.md +29 -0
  139. package/docs/releases/release-0.9.1-en.md +29 -0
  140. package/examples/component-package/README-ch.md +1 -1
  141. package/examples/component-package/README.md +1 -1
  142. package/examples/game-2048-package/README-ch.md +1 -1
  143. package/examples/game-2048-package/README.md +1 -1
  144. package/examples/integration/README-ch.md +21 -2
  145. package/examples/integration/README.md +21 -2
  146. package/examples/integration/extension-sdk/README-ch.md +1 -1
  147. package/examples/integration/extension-sdk/README.md +1 -1
  148. package/examples/integration/streaming/index.html +48 -0
  149. package/examples/integration/streaming/main.js +175 -0
  150. package/examples/integration/streaming/package.json +13 -0
  151. package/examples/integration/streaming/worker.js +3 -0
  152. package/examples/minimal-extension/README-ch.md +3 -3
  153. package/examples/minimal-extension/README.md +3 -3
  154. package/examples/tetris-package/README-ch.md +1 -1
  155. package/examples/tetris-package/README.md +1 -1
  156. package/package.json +6 -1
  157. package/dist-library/LocalDocumentViewCore-BLG4hMuO.js +0 -9535
  158. package/dist-library/LocalReactiveDocumentCore-DVQ6WA9G.js +0 -259
  159. package/dist-library/component-utils-BvHL8VGt.js +0 -298
  160. package/dist-library/layout-C22VjZh0.js +0 -542
  161. package/dist-library/options-CdSKOi7p.js +0 -116
  162. package/dist-library/react-LY5qsVeP.js +0 -7
package/docs/README-ch.md CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
  - **编写文档**:先读[入门指南](guides/local-guide-ch.md),再查语法参考;可运行的示例见 [examples/local](../examples/local/README-ch.md)。
20
20
  - **接入项目**:先查[公开接口参考](reference/public-api-ch.md)确认入口,再读[本地模式集成](integration/local-integration-ch.md);独立项目示例见 [examples/integration](../examples/integration/README-ch.md)。
21
- - 升级前请参阅[兼容性](compatibility/compatibility-ch.md)和目标版本的发布记录。主文档适用于 0.9.0。
21
+ - 升级前请参阅[兼容性](compatibility/compatibility-ch.md)和目标版本的发布记录。主文档适用于 0.9.1。
22
22
 
23
23
  ## 入门
24
24
 
@@ -72,6 +72,7 @@
72
72
 
73
73
  | 版本 | 中文 |
74
74
  | --- | --- |
75
+ | 0.9.1 | [中文](releases/release-0.9.1-ch.md) |
75
76
  | 0.9.0 | [中文](releases/release-0.9.0-ch.md) |
76
77
  | 0.8.0 | [中文](releases/release-0.8.0-ch.md) |
77
78
  | 0.7.0 | [中文](releases/release-0.7.0-ch.md) |
package/docs/README.md CHANGED
@@ -18,7 +18,7 @@ Documents are grouped by purpose. Each topic has an English version (`-en.md`);
18
18
 
19
19
  - **Authors**: read the [beginner guide](guides/local-guide-en.md), then the syntax reference. Runnable examples are in [examples/local](../examples/local/README.md).
20
20
  - **Integrators**: check the [public API reference](reference/public-api-en.md) for every entry, then read [local mode integration](integration/local-integration-en.md). Copyable projects are in [examples/integration](../examples/integration/README.md).
21
- - If you are upgrading, check [compatibility](compatibility/compatibility-en.md) and the release notes for your target version. The main guides cover 0.9.0.
21
+ - If you are upgrading, check [compatibility](compatibility/compatibility-en.md) and the release notes for your target version. The main guides cover 0.9.1.
22
22
 
23
23
  ## Guides
24
24
 
@@ -72,6 +72,7 @@ Documents are grouped by purpose. Each topic has an English version (`-en.md`);
72
72
 
73
73
  | Version | English |
74
74
  | --- | --- |
75
+ | 0.9.1 | [English](releases/release-0.9.1-en.md) |
75
76
  | 0.9.0 | [English](releases/release-0.9.0-en.md) |
76
77
  | 0.8.0 | [English](releases/release-0.8.0-en.md) |
77
78
  | 0.7.0 | [English](releases/release-0.7.0-en.md) |
@@ -2,15 +2,15 @@
2
2
 
3
3
  **中文** · [English](compatibility-en.md)
4
4
 
5
- Reactive MD 目前是 0.x 预览版。本页说明包版本、语法版本、可持久化的内容、诊断契约和当前平台范围。显式修订声明、迁移 API 与 `reactive-md migrate` 见[源码修订与迁移](source-versioning-ch.md),公开 API 与样式接入见[本地模式集成](../integration/local-integration-ch.md),本版本见[0.9.0 发布说明](../releases/release-0.9.0-ch.md),上一版本见[0.8.0 发布说明](../releases/release-0.8.0-ch.md),该 minor 系列见[0.4.0 发布与迁移](../releases/release-0.4.0-ch.md)。
5
+ Reactive MD 目前是 0.x 预览版。本页说明包版本、语法版本、可持久化的内容、诊断契约和当前平台范围。显式修订声明、迁移 API 与 `reactive-md migrate` 见[源码修订与迁移](source-versioning-ch.md),公开 API 与样式接入见[本地模式集成](../integration/local-integration-ch.md),本版本见[0.9.1 发布说明](../releases/release-0.9.1-ch.md),上一版本见[0.9.0 发布说明](../releases/release-0.9.0-ch.md),该 minor 系列见[0.4.0 发布与迁移](../releases/release-0.4.0-ch.md)。
6
6
 
7
7
  ## 版本对应
8
8
 
9
9
  | 项目 | 当前值 | 说明 |
10
10
  | --- | --- | --- |
11
- | 包版本 | `0.9.0` | 稳定版,2026-11-20 |
12
- | 分发标签 | `latest`:`0.9.0` | `next` 独立维护;使用该渠道前请查询 npm |
13
- | SDK 契约 | `0.7.0` | `LOCAL_SDK_VERSION`;与包版本独立,`0.9.0` 不改变它 |
11
+ | 包版本 | `0.9.1` | 稳定版,2026-11-22 |
12
+ | 分发标签 | `latest`:`0.9.1` | `next` 独立维护;使用该渠道前请查询 npm |
13
+ | SDK 契约 | `0.7.0` | `LOCAL_SDK_VERSION`;与包版本独立,`0.9.1` 不改变它 |
14
14
  | 语法版本 | `local-draft-3` | `LOCAL_SYNTAX_VERSION`;本包只接受这一修订 |
15
15
  | 源码修订指令 | 可选 `<!-- reactive-md: local-draft-3 -->` | 文档前导区中的一行;无指令源码继续按当前修订解析 |
16
16
  | 组块协议 | `component-protocol-3` | 贡献与验收契约,见[组块协议](../development/component-protocol-ch.md);不是运行时版本选择参数 |
@@ -19,7 +19,7 @@ Reactive MD 目前是 0.x 预览版。本页说明包版本、语法版本、可
19
19
  | 无样式 React 入口 | `reactive-md/react/unstyled` | 不依赖样式表的 React 渲染器 |
20
20
  | 核心入口 | `reactive-md` | 编译、表达式与运行时,不加载 React |
21
21
  | React 入口 | `reactive-md/react` | `LocalReactiveDocument`、`LocalDocumentView` |
22
- | 编辑器入口 | `reactive-md-editor` | 独立 `0.1.0` 包中的 `ReactiveMarkdownEditor` 及其类型;需要 React 19。引擎 0.8 不再导出 `reactive-md/editor` |
22
+ | 编辑器入口 | `reactive-md-editor` | 独立 `0.2.0` 包中的 `ReactiveMarkdownEditor` 及其类型,面向 `0.9.x` 引擎系列;需要 React 19。引擎 0.8 及之后的版本不再导出 `reactive-md/editor` |
23
23
  | 渲染器样式入口 | `reactive-md/styles.css` | 文档与组块样式,由宿主显式引入 |
24
24
  | 屏幕样式入口 | `reactive-md/screen.css` | `reactive-md/styles.css` 的别名 |
25
25
  | 打印样式入口 | `reactive-md/print.css` | 可选的文档打印布局与页边距 |
@@ -126,4 +126,4 @@ Node 端消费指在 Node 中导入 `reactive-md`、调用 `compileLocal` 和 `c
126
126
  语言范围见[语法规范](../reference/local-interaction-syntax-ch.md),安全边界与宿主责任见[安全策略](../../SECURITY-ch.md)。
127
127
 
128
128
 
129
- 当前语法修订的完整规则见[本地交互语法规范](../reference/local-interaction-syntax-ch.md),升级清单见[0.4.0 发布与迁移](../releases/release-0.4.0-ch.md)。`0.9.0` 使用 `latest` 渠道。
129
+ 当前语法修订的完整规则见[本地交互语法规范](../reference/local-interaction-syntax-ch.md),升级清单见[0.4.0 发布与迁移](../releases/release-0.4.0-ch.md)。`0.9.1` 使用 `latest` 渠道。
@@ -2,15 +2,15 @@
2
2
 
3
3
  **English** · [中文](compatibility-ch.md)
4
4
 
5
- Reactive MD is currently a 0.x preview. This page covers package versions, syntax versions, what can be persisted, the diagnostics contract and the current platform scope. See [Source revisions and migration](source-versioning-en.md) for explicit revision declarations, the migration API and `reactive-md migrate`, [Local mode integration](../integration/local-integration-en.md) for the public API and style integration, the [0.9.0 release notes](../releases/release-0.9.0-en.md) for this release, the [0.8.0 release notes](../releases/release-0.8.0-en.md) for the previous release, and [0.4.0 release and migration](../releases/release-0.4.0-en.md) for that minor series.
5
+ Reactive MD is currently a 0.x preview. This page covers package versions, syntax versions, what can be persisted, the diagnostics contract and the current platform scope. See [Source revisions and migration](source-versioning-en.md) for explicit revision declarations, the migration API and `reactive-md migrate`, [Local mode integration](../integration/local-integration-en.md) for the public API and style integration, the [0.9.1 release notes](../releases/release-0.9.1-en.md) for this release, the [0.9.0 release notes](../releases/release-0.9.0-en.md) for the previous release, and [0.4.0 release and migration](../releases/release-0.4.0-en.md) for that minor series.
6
6
 
7
7
  ## Version mapping
8
8
 
9
9
  | Item | Current value | Notes |
10
10
  | --- | --- | --- |
11
- | Package version | `0.9.0` | Stable release, 2026-11-20 |
12
- | Distribution tags | `latest`: `0.9.0` | `next` is maintained independently; query npm when selecting that channel |
13
- | SDK contract | `0.7.0` | `LOCAL_SDK_VERSION`; independent of the package version and unchanged by `0.9.0` |
11
+ | Package version | `0.9.1` | Stable release, 2026-11-22 |
12
+ | Distribution tags | `latest`: `0.9.1` | `next` is maintained independently; query npm when selecting that channel |
13
+ | SDK contract | `0.7.0` | `LOCAL_SDK_VERSION`; independent of the package version and unchanged by `0.9.1` |
14
14
  | Syntax version | `local-draft-3` | `LOCAL_SYNTAX_VERSION`; this revision is the only one accepted by the package |
15
15
  | Source revision directive | Optional `<!-- reactive-md: local-draft-3 -->` | One line in the document prologue; unversioned source keeps current-revision behavior |
16
16
  | Component protocol | `component-protocol-3` | Contribution and acceptance contract, see [Component protocol](../development/component-protocol-en.md); not a runtime version selection parameter |
@@ -19,7 +19,7 @@ Reactive MD is currently a 0.x preview. This page covers package versions, synta
19
19
  | Unstyled React entry | `reactive-md/react/unstyled` | React renderer without a stylesheet dependency |
20
20
  | Core entry | `reactive-md` | Compilation, expressions and runtime, without loading React |
21
21
  | React entry | `reactive-md/react` | `LocalReactiveDocument`, `LocalDocumentView` |
22
- | Editor entry | `reactive-md-editor` | `ReactiveMarkdownEditor` and its types in the separate `0.1.0` package; requires React 19. Engine 0.8 no longer exports `reactive-md/editor` |
22
+ | Editor entry | `reactive-md-editor` | `ReactiveMarkdownEditor` and its types in the separate `0.2.0` package for the `0.9.x` engine series; requires React 19. Engine 0.8 and later no longer export `reactive-md/editor` |
23
23
  | Renderer style entry | `reactive-md/styles.css` | Document and component styles, explicitly imported by the host |
24
24
  | Screen style entry | `reactive-md/screen.css` | Alias of `reactive-md/styles.css` |
25
25
  | Print style entry | `reactive-md/print.css` | Optional document print layout and page margins |
@@ -126,4 +126,4 @@ Node-side consumption means importing `reactive-md` in Node and calling `compile
126
126
  See the [syntax specification](../reference/local-interaction-syntax-en.md) for the language scope, and the [security policy](../../SECURITY.md) for the security boundary and host responsibilities.
127
127
 
128
128
 
129
- See the [syntax specification](../reference/local-interaction-syntax-en.md) for new tags, colors and slot state, and [0.4.0 release and migration](../releases/release-0.4.0-en.md) for the upgrade checklist. `0.9.0` uses the `latest` channel.
129
+ See the [syntax specification](../reference/local-interaction-syntax-en.md) for new tags, colors and slot state, and [0.4.0 release and migration](../releases/release-0.4.0-en.md) for the upgrade checklist. `0.9.1` uses the `latest` channel.
@@ -159,4 +159,4 @@ reactive-md migrate old.reactive.md --from local-draft-1 --accept-semantic-chang
159
159
 
160
160
  迁移处理声明的元数据变化,并检查正文能否跨越修订边界。它不是旧版读取器:不解释 YAML `state`/`data`/`computed`/`actions` 配置块、directive 或其他 draft 之前的语法,也不改写正文。在 `local-draft-3` 下已经无法编译的源码会保持阻止状态,直到作者修复报告的位置。
161
161
 
162
- `0.8.0` 继续以 `local-draft-3` 作为唯一接受的修订,不新增源码修订。本页的指令规则、迁移 API 和 CLI 选项保持不变,因此在 `0.7.0` 下可编译的文档无需为 `0.8.0` 迁移。从 `local-draft-1` 或 `local-draft-2` 迁移仍以 `local-draft-3` 为目标;迁移 `local-draft-2` 文档时仍会阻止新激活的 `<external>` 标签,作者需要先把它们保存为字面代码。`latest` 渠道的 `0.9.0` 继续使用 `local-draft-3`。
162
+ `0.8.0` 继续以 `local-draft-3` 作为唯一接受的修订,不新增源码修订。本页的指令规则、迁移 API 和 CLI 选项保持不变,因此在 `0.7.0` 下可编译的文档无需为 `0.8.0` 迁移。从 `local-draft-1` 或 `local-draft-2` 迁移仍以 `local-draft-3` 为目标;迁移 `local-draft-2` 文档时仍会阻止新激活的 `<external>` 标签,作者需要先把它们保存为字面代码。`latest` 渠道的 `0.9.1` 继续使用 `local-draft-3`。
@@ -159,4 +159,4 @@ The command migrates one source at a time. This build has no `--write` mode, no
159
159
 
160
160
  Migration handles the declared metadata change and checks whether the body can cross the revision boundary. It is not a legacy reader: it does not interpret YAML `state`/`data`/`computed`/`actions` blocks, directives or other pre-draft syntax, and it does not rewrite the body. Source that already fails to compile under `local-draft-3` stays blocked until the author fixes the reported positions.
161
161
 
162
- `0.8.0` keeps `local-draft-3` as the only accepted revision and adds no new source revision. The directive rules, migration API and CLI options on this page apply unchanged, so a document that compiles under `0.7.0` needs no migration for `0.8.0`. Migrating from `local-draft-1` or `local-draft-2` still targets `local-draft-3`; migration from `local-draft-2` continues to block newly active `<external>` tags and requires the author to preserve them as literal code first. `0.9.0` is available on `latest` and continues to use `local-draft-3`.
162
+ `0.8.0` keeps `local-draft-3` as the only accepted revision and adds no new source revision. The directive rules, migration API and CLI options on this page apply unchanged, so a document that compiles under `0.7.0` needs no migration for `0.8.0`. Migrating from `local-draft-1` or `local-draft-2` still targets `local-draft-3`; migration from `local-draft-2` continues to block newly active `<external>` tags and requires the author to preserve them as literal code first. `0.9.1` is available on `latest` and continues to use `local-draft-3`.
@@ -2,14 +2,14 @@
2
2
 
3
3
  **中文** · [English](component-development-en.md) · [完整开发契约](component-development-reference-ch.md)
4
4
 
5
- 先用一个可以展开 Markdown 的提示容器跑通预览。扩展 SDK 随 `reactive-md@0.8.0` 发布,SDK 契约仍为 0.7.0,直接安装即可。
5
+ 先用一个可以展开 Markdown 的提示容器跑通预览。扩展 SDK 自 `reactive-md@0.8.0` 起提供,SDK 契约在 `0.9.1` 中仍为 0.7.0,直接安装当前公开包即可。
6
6
 
7
7
  ## 创建并启动
8
8
 
9
9
  ```sh
10
10
  npx reactive-md init component ../my-note --name my-note --id acme/my-note --form container --props '{"label":{"kind":"string","default":"Note"}}' --yes
11
11
  cd ../my-note
12
- npm install reactive-md@0.8.0 react@^19 react-dom@^19
12
+ npm install reactive-md@0.9.1 react@^19 react-dom@^19
13
13
  npm run dev
14
14
  ```
15
15
 
@@ -2,14 +2,14 @@
2
2
 
3
3
  **English** · [中文](component-development-ch.md) · [Full development contract](component-development-reference-en.md)
4
4
 
5
- Start with a note container that can expand Markdown. The extension SDK ships in `reactive-md@0.8.0` (SDK contract 0.7.0); install the published package.
5
+ Start with a note container that can expand Markdown. The extension SDK has shipped since `reactive-md@0.8.0`, and its `0.7.0` contract is unchanged in `0.9.1`; install the current published package.
6
6
 
7
7
  ## Create and run
8
8
 
9
9
  ```sh
10
10
  npx reactive-md init component ../my-note --name my-note --id acme/my-note --form container --props '{"label":{"kind":"string","default":"Note"}}' --yes
11
11
  cd ../my-note
12
- npm install reactive-md@0.8.0 react@^19 react-dom@^19
12
+ npm install reactive-md@0.9.1 react@^19 react-dom@^19
13
13
  npm run dev
14
14
  ```
15
15
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  这里的插件是宿主通过 npm 安装、显式导入并组合的组件包或主题包。组件声明、React 实现、编辑器信息与资源共同形成开发契约;宿主用 `createLocalConfig` 和 `createReactConfig` 装配它们。
6
6
 
7
- 扩展 SDK 随 `reactive-md@0.8.0` 发布,SDK 契约仍为 0.7.0。以下流程安装公开包;只有测试尚未发布的 SDK 改动时才需要从当前源码打包 tarball。完整类型与限制见 [SDK 指南](../integration/extension-sdk-ch.md)。历史实现与验收记录已归档,不再随文档维护。
7
+ 扩展 SDK 自 `reactive-md@0.8.0` 起提供,SDK 契约仍为 0.7.0。以下流程安装当前公开包;只有测试尚未发布的 SDK 改动时才需要从当前源码打包 tarball。完整类型与限制见 [SDK 指南](../integration/extension-sdk-ch.md)。历史实现与验收记录已归档,不再随文档维护。
8
8
 
9
9
 
10
10
  ## 便捷定义与宿主组合
@@ -51,7 +51,7 @@ export default { plugins: [reactiveMd()] };
51
51
 
52
52
  准备 Node 22.12 或更高版本。React 适配器使用 React 19;模板的构建与浏览器测试依赖以它的 `package.json` 为准。
53
53
 
54
- 把 [examples/component-package](../../examples/component-package/README-ch.md) 复制到仓库之外的新目录,与 ReactiveMD 仓库并列,命名为 `my-reactivemd-plugin`。模板依赖已发布的 `reactive-md@0.8.0`。在新目录执行:
54
+ 把 [examples/component-package](../../examples/component-package/README-ch.md) 复制到仓库之外的新目录,与 ReactiveMD 仓库并列,命名为 `my-reactivemd-plugin`。模板的 `package.json` 声明 `reactive-md@^0.8.0`;新建组件包时,把该范围提升到目标发布版本。在新目录执行:
55
55
 
56
56
  ```sh
57
57
  npm install
@@ -4,7 +4,7 @@
4
4
 
5
5
  A plugin is an npm component or theme package that a host installs, imports and composes explicitly. Its contract consists of data manifests, React implementations, authoring information and resources. Hosts assemble it with `createLocalConfig` and `createReactConfig`.
6
6
 
7
- The SDK ships in `reactive-md@0.8.0`. Install the published package for this workflow; use a tarball built from the current source only when testing unreleased SDK changes. See the [SDK reference](../integration/extension-sdk-en.md) for types and limits. Historical delivery evidence is archived outside the published documentation.
7
+ The SDK has shipped since `reactive-md@0.8.0`. Install the current published package for this workflow; use a tarball built from the current source only when testing unreleased SDK changes. See the [SDK reference](../integration/extension-sdk-en.md) for types and limits. Historical delivery evidence is archived outside the published documentation.
8
8
 
9
9
 
10
10
  ## Convenience packages and host composition
@@ -36,7 +36,7 @@ New documents carry `componentConfigKey` through Worker transport and incrementa
36
36
 
37
37
  Use Node 22.12 or later and React 19 for the React adapter. The template's `package.json` declares its build and browser test dependencies.
38
38
 
39
- Copy [examples/component-package](../../examples/component-package/README.md) into a new sibling directory named `my-reactivemd-plugin`. The template depends on the published `reactive-md@0.8.0`. From that directory run:
39
+ Copy [examples/component-package](../../examples/component-package/README.md) into a new sibling directory named `my-reactivemd-plugin`. The template's `package.json` declares `reactive-md@^0.8.0`; raise the range to the release you target when starting a new package. From that directory run:
40
40
 
41
41
  ```sh
42
42
  npm install
@@ -2,7 +2,7 @@
2
2
 
3
3
  **中文** · [English](component-protocol-en.md)
4
4
 
5
- 协议修订 `component-protocol-3` · 适用语法 `local-draft-3` · 当前包版本 `0.8.0`
5
+ 协议修订 `component-protocol-3` · 适用语法 `local-draft-3` · 当前包版本 `0.9.1`
6
6
 
7
7
  Reactive MD 的组块就是语言中的组件。本协议规定组块在贡献、实现和验收中的共同契约,连接作者语法、编译器、运行时、React 参考适配器和机器验收数据。作者写文档时以[本地交互语法规范](../reference/local-interaction-syntax-ch.md)为准;宿主接入以[本地模式集成](../integration/local-integration-ch.md)为准;本文供贡献者、评审和测试使用。
8
8
 
@@ -498,7 +498,7 @@ range-slider 和 coordinate 的每个数值槽位也独占拥有绑定;范围
498
498
 
499
499
  本修订描述组件贡献要求和第 14 节的旧宿主接口。`LOCAL_COMPONENTS` 是默认预设的内部兼容投影;`hostComponents` 为单次编译接受纯 schema 数据,并作为输入适配到统一内核,组件实现由宿主提供。
500
500
 
501
- [扩展 SDK](../integration/extension-sdk-ch.md)随 `reactive-md@0.8.0` 发布,使用独立的 `reactive-md-component/v1` 数据契约和实例级配置,提供注册校验、React 实现绑定、编辑器目录、离线构建、版本恢复和公开合规工具。48 个默认渲染与结构组件采用同一公开契约。组件代码由宿主主动安装,文档声明不会装载代码。
501
+ [扩展 SDK](../integration/extension-sdk-ch.md)自 `reactive-md@0.8.0` 起提供,使用独立的 `reactive-md-component/v1` 数据契约和实例级配置,提供注册校验、React 实现绑定、编辑器目录、离线构建、版本恢复和公开合规工具。48 个默认渲染与结构组件采用同一公开契约。组件代码由宿主主动安装,文档声明不会装载代码。
502
502
 
503
503
  ## 10. 兼容、名称治理、修订和迁移
504
504
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  **English** · [中文](component-protocol-ch.md)
4
4
 
5
- Protocol revision `component-protocol-3` · applicable syntax `local-draft-3` · current package version `0.8.0`
5
+ Protocol revision `component-protocol-3` · applicable syntax `local-draft-3` · current package version `0.9.1`
6
6
 
7
7
  Components are the building blocks of the Reactive MD language. This protocol defines the shared contract for contribution, implementation and acceptance, connecting author syntax, the compiler, the runtime, the React reference adapter and machine conformance data. Authors writing documents follow the [local interaction syntax specification](../reference/local-interaction-syntax-en.md); hosts integrating follow [local mode integration](../integration/local-integration-en.md); this document is for contributors, reviewers and tests.
8
8
 
@@ -499,7 +499,7 @@ Components that reuse public rules need a definition, implementation and registr
499
499
 
500
500
  This revision describes contribution requirements and the legacy host interface in section 14. `LOCAL_COMPONENTS` is an internal compatibility projection of the default preset. `hostComponents` accepts plain schema data for one compilation and adapts it to the shared kernel, with implementations supplied by the host.
501
501
 
502
- The source tree's [extension SDK](../integration/extension-sdk-en.md) ships in `reactive-md@0.8.0` and uses a separate `reactive-md-component/v1` data contract and instance configuration for registration validation, React implementations, editor catalogs, offline builds, versioned restoration and public compliance tools. All 48 default rendered and structural components use this contract. Hosts explicitly install component code; document declarations never load it.
502
+ The source tree's [extension SDK](../integration/extension-sdk-en.md) has shipped since `reactive-md@0.8.0` and uses a separate `reactive-md-component/v1` data contract and instance configuration for registration validation, React implementations, editor catalogs, offline builds, versioned restoration and public compliance tools. All 48 default rendered and structural components use this contract. Hosts explicitly install component code; document declarations never load it.
503
503
 
504
504
  ## 10. Compatibility, name governance, revisions and migration
505
505
 
@@ -32,10 +32,10 @@ npm install
32
32
  npm run preview
33
33
  ```
34
34
 
35
- 模板依赖 `reactive-md@^0.8.0`。引擎尚未发布时,用当前源码打包的 tarball 替换 registry 安装:
35
+ 模板声明 `reactive-md@^0.8.0`,安装前先把范围提升到目标发布版本。测试尚未发布的候选版本时,用当前源码打包的 tarball 替换 registry 安装:
36
36
 
37
37
  ```sh
38
- npm install ../reactive-md-0.8.0.tgz
38
+ npm install ../reactive-md-<version>.tgz
39
39
  ```
40
40
 
41
41
  该命令同时安装 `react`、`react-dom` 和开发依赖。打开 Vite 打印的地址(默认 `http://localhost:5173`),确认页面出现示例文档、评分卡和内置数字框。
@@ -284,7 +284,7 @@ npm test
284
284
  npm pack --ignore-scripts
285
285
  ```
286
286
 
287
- 把 tarball 安装到一个全新项目,验证 `.`、`./react`(以及可选的 `./theme`、`./styles.css`)能导入,SSR 和离线导出都能运行。`package.json` 写明 `peerDependencies` 或依赖范围;组件契约或 SDK 范围变化时提升插件自己的版本并给出迁移说明。模板的 `reactive-md` 依赖范围是 `^0.8.0`,SDK 契约版本以实际发布包为准。
287
+ 把 tarball 安装到一个全新项目,验证 `.`、`./react`(以及可选的 `./theme`、`./styles.css`)能导入,SSR 和离线导出都能运行。`package.json` 写明 `peerDependencies` 或依赖范围;组件契约或 SDK 范围变化时提升插件自己的版本并给出迁移说明。模板的 `reactive-md` 依赖范围是 `^0.8.0`,面向更新的引擎时应提升该范围;SDK 契约版本以实际发布包为准。
288
288
 
289
289
  Demo 仓库消费候选包时使用内容摘要命名的 vendor tarball 加 lockfile 完整性,不使用 `file:..` 或源码别名。候选包更新流程见 Demo 仓库的[更新候选安装包](https://github.com/yao1145/ReactiveMD-Demo/blob/main/docs/candidate-package-updates-ch.md);vendor 清单见 [Demo vendor README](https://github.com/yao1145/ReactiveMD-Demo/blob/main/vendor/README-ch.md)。
290
290
 
@@ -32,10 +32,10 @@ npm install
32
32
  npm run preview
33
33
  ```
34
34
 
35
- The template targets `reactive-md@^0.8.0`. Before the engine ships, install the tarball packed from the current source instead of the registry version:
35
+ The template declares `reactive-md@^0.8.0`; raise the range to the release you target before installing. To test an unreleased candidate, install the tarball packed from the current source instead of the registry version:
36
36
 
37
37
  ```sh
38
- npm install ../reactive-md-0.8.0.tgz
38
+ npm install ../reactive-md-<version>.tgz
39
39
  ```
40
40
 
41
41
  That command also installs `react`, `react-dom` and the dev dependencies. Open the Vite URL (default `http://localhost:5173`) and confirm the sample document, the rating card and the built-in number field all appear.
@@ -284,7 +284,7 @@ npm test
284
284
  npm pack --ignore-scripts
285
285
  ```
286
286
 
287
- Install the tarball into a fresh project and verify that `.`, `./react` (plus optional `./theme` and `./styles.css`) import, and that SSR and offline export run. Declare `peerDependencies` or version ranges in `package.json`. Raise the plugin's own version with migration notes when its contract or SDK range changes. The template's `reactive-md` range is `^0.8.0`; the SDK contract version follows the published package.
287
+ Install the tarball into a fresh project and verify that `.`, `./react` (plus optional `./theme` and `./styles.css`) import, and that SSR and offline export run. Declare `peerDependencies` or version ranges in `package.json`. Raise the plugin's own version with migration notes when its contract or SDK range changes. The template's `reactive-md` range is `^0.8.0`; raise it when targeting a newer engine. The SDK contract version follows the published package.
288
288
 
289
289
  The Demo repository consumes candidate packages as content-addressed vendor tarballs with lockfile integrity, never `file:..` or source aliases. The update procedure is [Updating candidate packages](https://github.com/yao1145/ReactiveMD-Demo/blob/main/docs/candidate-package-updates-en.md); the fixture list is in the [Demo vendor README](https://github.com/yao1145/ReactiveMD-Demo/blob/main/vendor/README.md).
290
290
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  **中文** · [English](author-tools-en.md)
4
4
 
5
- 安装 `reactive-md@0.8.0` 即可使用 CLI 和不依赖 React 的 `reactive-md/authoring` 入口。从本仓库开发时,先构建语言包:
5
+ 安装 `reactive-md@0.9.1` 即可使用 CLI 和不依赖 React 的 `reactive-md/authoring` 入口。从本仓库开发时,先构建语言包:
6
6
 
7
7
  ```sh
8
8
  npm ci
@@ -2,7 +2,7 @@
2
2
 
3
3
  **English** · [中文](author-tools-ch.md)
4
4
 
5
- Install `reactive-md@0.8.0` to use the CLI and the React-free `reactive-md/authoring` entry. To work from this repository, build the package first:
5
+ Install `reactive-md@0.9.1` to use the CLI and the React-free `reactive-md/authoring` entry. To work from this repository, build the package first:
6
6
 
7
7
  ```sh
8
8
  npm ci
@@ -42,6 +42,8 @@ try {
42
42
 
43
43
  旧根入口的 `compileLocal(source, options)`、编辑会话和 Worker 默认保持严格语义,并保留原有返回类型。有恢复时会附加 `recoveries` 及对应 warning。显式传入 `strict: false` 可启用[局部恢复](local-integration-ch.md#严格解析与局部恢复)。
44
44
 
45
- 最小入口保留 CommonMark、RMD 结构、表达式、绑定与预算。GFM 语法、原生 HTML 解析与修复、Lezer 块规划、KaTeX 显示和绘图公式语义由 standard 与兼容入口显式装配;缺少某项能力时返回明确的能力诊断,而不是静默改变含义,例如最小入口会以 `local.capability.html` 拒绝 `enableCss`。最小入口的运行与声明依赖图不再包含 `parse5`、`@lezer/markdown`、`remark-gfm` 或 KaTeX,也不再加载默认预设及其作者信息。standard 保留完整行为。
45
+ 单次入口始终只做最终编译:`compileLocal`、`createCompiler().compile` 和 `createStandardCompiler().compile` 不承担流式生命周期,不会返回 `status: 'partial'` 或暂态诊断,`sourcePhase` 选项也不会把它们变成流式入口。仍在生成中的源码应交给 `createLocalCompileSession()`、`LocalCompileScheduler`、Worker 或 `LocalReactiveDocument`;见[流式源码编译](local-integration-ch.md#流式源码编译)。
46
+
47
+ 最小入口保留 CommonMark、RMD 结构、表达式、绑定与预算。作者能力开关独立于 RMD 解析和绑定。原生 HTML 片段解析和净化、GFM、Lezer 块规划、KaTeX 和绘图公式语义由标准入口与兼容入口提供。最小入口的运行与声明依赖图不包含 `parse5`、`@lezer/markdown`、`remark-gfm`、KaTeX、默认预设及其作者信息。
46
48
 
47
49
  构建后运行 `npm run test:compiler-entry`,检查直接 ESM 导入、生产共享 chunk、声明依赖和浏览器消费。源码行为回归使用 `npm test -- tests/compiler-entry.test.ts`。
@@ -29,6 +29,8 @@ In loose mode, each finalized recovery produces at most one warning at `causeRan
29
29
 
30
30
  The root `compileLocal(source, options)` entry, editing sessions and Workers keep strict semantics by default and retain their existing result types. Results include `recoveries` and their warnings when present. Pass `strict: false` to enable [local recovery](local-integration-en.md#strict-parsing-and-local-recovery).
31
31
 
32
- The minimal entry keeps CommonMark, RMD structure, expressions, bindings and budgets. GFM syntax, native HTML parsing and repair, Lezer block planning, KaTeX display and plot formula semantics are capabilities installed by the standard and compatibility assemblies. Omitting one produces an explicit capability diagnostic instead of silently changing meaning; for example, the minimal entry rejects `enableCss` with `local.capability.html`. The minimal runtime and declaration graphs no longer reach `parse5`, `@lezer/markdown`, `remark-gfm` or KaTeX, and they no longer load the default preset or its authoring copy. The standard entry keeps the full experience.
32
+ One-shot entries always compile a final document: `compileLocal`, `createCompiler().compile` and `createStandardCompiler().compile` do not own a streaming lifecycle, never return `status: 'partial'` or transient diagnostics, and the `sourcePhase` option does not turn them into streaming entries. Submit source that is still being generated through `createLocalCompileSession()`, `LocalCompileScheduler`, a Worker or `LocalReactiveDocument`; see [Streaming source compilation](local-integration-en.md#streaming-source-compilation).
33
+
34
+ The minimal entry keeps CommonMark, RMD structure, expressions, bindings and budgets. Author capability switches are independent of RMD parsing and bindings. Use the standard or compatibility entry for native HTML fragment parsing and sanitization, GFM, Lezer block planning, KaTeX and plot formula semantics. The minimal runtime and declaration graphs exclude `parse5`, `@lezer/markdown`, `remark-gfm`, KaTeX, the default preset and its authoring copy.
33
35
 
34
36
  After building, run `npm run test:compiler-entry` to check direct ESM imports, production chunks, declaration dependencies and browser consumption. Run `npm test -- tests/compiler-entry.test.ts` for source behavior checks.
@@ -2,7 +2,7 @@
2
2
 
3
3
  **中文** · [English](editor-en.md)
4
4
 
5
- `reactive-md@0.8.0` 将编辑器拆分到独立的 `reactive-md-editor@0.1.0`,引擎先发布,编辑器随后发布。编辑器基于 CodeMirror 6,事务、共享分析和源码坐标约定见下文。
5
+ `reactive-md-editor@0.2.0` 支持 `reactive-md@0.9.x` 系列。编辑器自 `reactive-md@0.8.0` / 编辑器 `0.1.0` 起独立为单独的包。编辑器基于 CodeMirror 6,事务、共享分析和源码坐标约定见下文。
6
6
 
7
7
  `reactive-md-editor` 是用于 Reactive MD 源码的受控 React 19 编辑器,由 Playground 编辑器抽出。它提供源码高亮、格式与插入工具栏、补全、绑定导航、重命名与格式化、撤销重做、行号及滚动同步。编辑器内置字数底栏及编辑、并排、预览三种视图。宿主保存源码,并提供预览内容、持久化和导出。
8
8
 
@@ -13,11 +13,11 @@
13
13
  ## 安装
14
14
 
15
15
  ```sh
16
- npm install reactive-md@0.8.0 reactive-md-editor@0.1.0
16
+ npm install reactive-md@0.9.1 reactive-md-editor@0.2.0
17
17
  npm install react@19 react-dom@19
18
18
  ```
19
19
 
20
- 以上命令用于两个正式版本发布之后;准备期间安装各自经过验证的本地 tarball。包只提供 ESM,工具和服务端渲染需要 Node.js 22.12 或更新版本。
20
+ 两个正式版本均已发布;只有测试尚未发布的候选版本时,才需要安装从当前源码打包的 tarball。包只提供 ESM,工具和服务端渲染需要 Node.js 22.12 或更新版本。
21
21
 
22
22
  ## 最小受控编辑器
23
23
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  **English** · [中文](editor-ch.md)
4
4
 
5
- `reactive-md@0.8.0` moves the editor into the independent `reactive-md-editor@0.1.0` package; the engine publishes before the editor. The CM6 transaction, shared analysis and source-coordinate contract is described below.
5
+ `reactive-md-editor@0.2.0` supports the `reactive-md@0.9.x` series. The editor has been a separate package since `reactive-md@0.8.0` / editor `0.1.0`. The CM6 transaction, shared analysis and source-coordinate contract is described below.
6
6
 
7
7
  `reactive-md-editor` is a controlled React 19 editor for Reactive MD source. It comes from the Playground editor and provides source highlighting, a formatting and insertion toolbar, completion, binding navigation, rename and format commands, undo and redo, line numbers and scroll synchronization. Its built-in status bar provides a character count and Edit, Split and Preview views. The host keeps the source text and supplies preview content, persistence and export.
8
8
 
@@ -13,11 +13,11 @@ Replace the old `reactive-md/editor` subpaths and styles with the independent pa
13
13
  ## Install
14
14
 
15
15
  ```sh
16
- npm install reactive-md@0.8.0 reactive-md-editor@0.1.0
16
+ npm install reactive-md@0.9.1 reactive-md-editor@0.2.0
17
17
  npm install react@19 react-dom@19
18
18
  ```
19
19
 
20
- Use these commands after both stable versions are published; during preparation, install their verified local tarballs. The packages ship ESM only and need Node.js 22.12 or newer for tooling and server rendering.
20
+ Both releases are published. A tarball built from the current source is only needed for an unreleased candidate. The packages ship ESM only and need Node.js 22.12 or newer for tooling and server rendering.
21
21
 
22
22
  ## Minimal controlled editor
23
23
 
@@ -2,10 +2,10 @@
2
2
 
3
3
  **中文** · [English](extension-sdk-en.md)
4
4
 
5
- `0.8.0` 包正式包含扩展 SDK,覆盖公开扩展与默认组件统一。安装公开包即可;只有测试尚未发布的改动时才需要从源码打包 tarball。
5
+ 扩展 SDK 自 `reactive-md@0.8.0` 起提供,覆盖公开扩展与默认组件统一;`0.9.1` 保持同一 `0.7.0` 契约。安装当前公开包即可;只有测试尚未发布的改动时才需要从源码打包 tarball。
6
6
 
7
7
  ```sh
8
- npm install reactive-md@0.8.0
8
+ npm install reactive-md@0.9.1
9
9
  ```
10
10
 
11
11
  registry 包包含 `reactive-md/build`、`reactive-md/testing` 和第三阶段的其他入口。仓库内消费检查在源码树之外安装公开包,因此公开导入面按发布形态接受检查,而不是依赖源码别名。SDK 版本范围写 `^0.7.0`。
@@ -2,10 +2,10 @@
2
2
 
3
3
  **English** · [中文](extension-sdk-ch.md)
4
4
 
5
- The `0.8.0` package includes the extension SDK for public extensions and unified default components. Install the published package; use a source-built tarball only when testing unreleased changes.
5
+ The extension SDK has shipped since `reactive-md@0.8.0` for public extensions and unified default components; `0.9.1` keeps it at the same `0.7.0` contract. Install the current published package; use a source-built tarball only when testing unreleased changes.
6
6
 
7
7
  ```sh
8
- npm install reactive-md@0.8.0
8
+ npm install reactive-md@0.9.1
9
9
  ```
10
10
 
11
11
  The registry package contains `reactive-md/build`, `reactive-md/testing` and the other phase-three entries. The consumer checks install the published package outside the repository, so the public import surface is exercised as published rather than through source aliases. SDK version ranges name `^0.7.0`.