Repository navigation
feat(harmonyos): 接入本地 GenUI、原生能力与 Aurora 动效 - #2
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
鸿蒙侧新增独立的 Local GenUI:用户从侧栏“创建小应用”进入,通过手机配置的模型 API 生成、保存和再次打开交互式小应用,无需连接桌面端。
改动
这是完整 Local GenUI 首次接入,包含 224 个文件;主要体量来自组件运行时、生成契约及厂商资源。
验证
pnpm run check通过(架构、移动 UI 契约、颜色、版本及 i18n)。local-genui-*.test.cjs测试通过,涵盖日历、协作宿主、桌面卡片、编辑、手势、图标资源、方向、应用归属与流式处理。harmony-local-genui-browser.test.mjs通过,覆盖手机与宽屏渲染。验证边界