This repository was archived by the owner on Sep 5, 2026. It is now read-only.
Repository navigation
feat(protocol): share typed WebView messages with the native host - #4
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
页面与宿主目前独立维护字符串消息,未知动作和参数错配只能在运行时被忽略。本改动从固定的 Engine 契约生成 TypeScript 消息类型,校验发送及接收,并让候选窗、工具栏和菜单复用同一份运行时。删除宿主未实现的 snapLayout 消息,由现有原生命中测试负责最大化按钮交互。
跨仓架构改造仍在进行,此 PR 保持草稿,等待组合 CI 与后续边界验证。