@shellraining/dsh-streamdown 0.1.0 → 0.1.2

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # dsh-streamdown
1
+ # Streamdown
2
2
 
3
- 替换助手回复的渲染方式:生成时按平滑的节奏出字,正在生成的段落逐字淡入;回复写完后继续用同一棵渲染树,排版不会跳。流式引擎 fork 自 [lobehub/streamdown](https://github.com/lobehub/streamdown)(MIT),改成能在 DSH 的 React 18 上运行。
3
+ 让助手回复平滑出字、逐字淡入,生成结束时保持排版稳定。流式引擎 fork 自 [lobehub/streamdown](https://github.com/lobehub/streamdown)(MIT),改成能在 DSH 的 React 18 上运行。
4
4
 
5
5
  ## 安装
6
6
 
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Streamdown",
4
+ "description": "Smoothly stream assistant replies with character fade-ins and stable layout when generation ends."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Streamdown",
4
+ "description": "让助手回复平滑出字、逐字淡入,生成结束时保持排版稳定。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,19 +1,21 @@
1
1
  {
2
2
  "name": "@shellraining/dsh-streamdown",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
- "description": "Streamdown 风格的助手输出渲染:平滑出字、逐字淡入,生成中与生成后共用同一渲染管线",
5
+ "description": "让助手回复平滑出字、逐字淡入,生成结束时保持排版稳定。",
6
6
  "main": "./lib/index.js",
7
7
  "exports": {
8
8
  ".": "./lib/index.js",
9
9
  "./client": "./lib/client.js",
10
- "./package.json": "./package.json"
10
+ "./package.json": "./package.json",
11
+ "./locale/*.json": "./locale/*.json"
11
12
  },
12
13
  "files": [
13
14
  "lib",
14
15
  "cordis.patch.yml",
15
16
  "LICENSE",
16
- "README.md"
17
+ "README.md",
18
+ "locale"
17
19
  ],
18
20
  "engines": {
19
21
  "node": ">=20"