Refactor Nucleus into agent-native protocol boundary#22
Merged
Conversation
added 4 commits
July 3, 2026 19:07
- 移除能力节点中的模块、提供者等复杂字段,仅保留基本能力信息 - 删除 capabilityProvider、manifestCapabilityProvider、CapabilityModule、matchingImports 等函数 - 从 constants.go 中移除 providerConfigKey、capabilitySQL、capabilityMongo 等常量定义 - 从 description.go 中移除 CapabilityNode 的 Provider 和 Module 字段 - 添加 SymbolGraph、SymbolNode、SymbolEdge 和 SourceSpan 结构体用于 AI 分析 - 在 Description 中添加 SymbolGraph 和 Diagnostics 字段 - 修改 editSurfaces 函数以支持推断清单场景 - 更新 describeDiagnostics 函数以处理缺失清单情况 - 添加 inferredManifest 和非空切片辅助函数 - 在 lint 中简化 capabilityGraph 检查逻辑,仅验证 http 能力 - 更新测试文件以匹配新的清单格式版本 "2.0"
- 将 cap 子模块 URL 从 github.com 更改为 anniext.cn - 将 contract 子模块 URL 从 github.com 更改为 anniext.cn - 将 core 子模块 URL 从 github.com 更改为 anniext.cn - 将 grpc 子模块 URL 从 github.com 更改为 anniext.cn - 将 http 子模块 URL 从 github.com 更改为 anniext.cn - 将 worker 子模块 URL 从 github.com 更改为 anniext.cn
- 将合约子模块的URL从 anniext.cn 更改为 github.com - 保持路径和分支配置不变
spelens-gud
approved these changes
Jul 6, 2026
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.
Summary
Verification