trivia#14
Merged
xiaoland merged 1 commit intoclaude/extension-manager-lifecycle-uBXisfrom Dec 31, 2025
Merged
Conversation
1. 实现 Module Federation 实际加载逻辑 - 使用动态 script 标签加载远程入口 - 支持动态 import 导入远程模块 - 实现 loadRemoteEntry 方法 2. 添加 Client 模型 (src/business/client.ts) - 使用 zod-class 定义客户端模型 - 支持 ping 检查在线状态 - 支持向远程客户端发送请求 - 实现 enableExtension/disableExtension 远程调用 3. 完善配置管理 (src/config.ts) - 添加 zod schema 验证 - 实现 localStorage 持久化 - 添加 LOCAL_CLIENT_ID 字段 - 提供 configUtils 工具函数 4. 扩展 ExtensionManager 功能 - 添加 enableExtensionForClient 方法 - 添加 disableExtensionForClient 方法 - 自动判断本地/远程客户端并调用相应逻辑 系统设计: - 所有节点平等,无"后端"概念 - 本地客户端 ID 存储在 localStorage - 支持联邦化的插件管理
e5856ec
into
claude/extension-manager-lifecycle-uBXis
2 checks passed
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.
No description provided.