From a8635250d02cf13a935aa206b71db01ab9cb1043 Mon Sep 17 00:00:00 2001 From: fengkun Date: Fri, 15 May 2026 17:02:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=8D=95=E7=8B=AC=20?= =?UTF-8?q?markdown=20=E5=AF=BC=E5=87=BA=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...chat-sdk-add-markdown-export_2026-05-15-09-02.json | 11 +++++++++++ packages/chat-sdk/package.json | 9 ++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 common/changes/@coze/chat-sdk/feat-chat-sdk-add-markdown-export_2026-05-15-09-02.json diff --git a/common/changes/@coze/chat-sdk/feat-chat-sdk-add-markdown-export_2026-05-15-09-02.json b/common/changes/@coze/chat-sdk/feat-chat-sdk-add-markdown-export_2026-05-15-09-02.json new file mode 100644 index 00000000..76a70786 --- /dev/null +++ b/common/changes/@coze/chat-sdk/feat-chat-sdk-add-markdown-export_2026-05-15-09-02.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "packageName": "@coze/chat-sdk", + "comment": "添加单独 markdown 导出支持", + "type": "minor" + } + ], + "packageName": "@coze/chat-sdk", + "email": "fengkun@bytedance.com" +} diff --git a/packages/chat-sdk/package.json b/packages/chat-sdk/package.json index c91f390f..aa5a73c8 100644 --- a/packages/chat-sdk/package.json +++ b/packages/chat-sdk/package.json @@ -6,6 +6,10 @@ "author": "gaoding.devingao@bytedance.com", "exports": { ".": "./dist/lib-source/src/exports/index.js", + "./markdown": { + "import": "./dist/lib-source/src/exports/markdown/index.js", + "types": "./dist/lib-source/src/exports/markdown/index.d.ts" + }, "./webJs": { "import": "./dist/lib-h5/exports/index.js", "types": "./dist/lib-source/src/exports/index.d.ts" @@ -24,6 +28,9 @@ "*": { "webJs": [ "./dist/lib-source/src/exports/index.d.ts" + ], + "markdown": [ + "./dist/lib-source/src/exports/markdown/index.d.ts" ] } }, @@ -167,4 +174,4 @@ "css": "Less", "framework": "React" } -} \ No newline at end of file +}