feat: 扩展中心支持多模态消息、HTML 渲染、一级导航与应用内通知

This commit is contained in:
Wxw-Gu committed 2026-12-01 14:49:41 +08:00
1 parent b20e514c90
commit 4ea73c3414
63 files changed
+8360 -644

No files matched your search

@@ -75,13 +75,14 @@ function record(overrides: Partial<ExtensionRegistryRecord>): ExtensionRegistryR
}
describe('官方模板目录', () => {
it('列出三个模板,未安装时状态为 not-installed', async () => {
it('列出四个模板,未安装时状态为 not-installed', async () => {
const { catalog } = setup()
const list = await catalog.list()
expect(list.map((item) => item.template.templateId).sort()).toEqual([
'douyin-sender',
'group-chat-bot',
'keyword-bot'
'keyword-bot',
'morning-digest'
])
expect(list.every((item) => item.state === 'not-installed')).toBe(true)
// 版本来自 manifest,不是硬编码。