Repository navigation
Codex/provider mvp support surface - #1
Merged
Merged
Conversation
fix: 修复记忆模块误写入与错误分类问题
…-stopgap fix(provider): 避免流式错误静默结束
- docs: 文件名统一使用 kebab-case,正文全面中文化,并严格按官方规范重写 agents.md。 - refactor(tui): 拆分臃肿的 app.go (分为 app, update, view, commands),将所有交互统一收敛至 slash command (/)。 - feat(tools): 文件系统新增 grep, glob 和 edit 工具,其中 edit 包含严格的防歧义替换拦截机制。 - test: 为 config, registry 和 openai 补充表驱动测试(引入 httptest 模拟 SSE 流),核心模块覆盖率达 80%+。 - chore: 清除全局硬编码配置,并移除 Markdown 文档中无意义的空行。
feat: rebuild neocode as a local coding agent MVP
creatang
pushed a commit
that referenced
this pull request
Apr 14, 2026
test(config): improve selection state branch coverage
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.
背景
当前项目容易让人误以为 NeoCode MVP 已正式支持 OpenAI、Anthropic、Gemini 多 Provider。
但从实际实现看,当前真正可用的只有 OpenAI-compatible,Anthropic 和 Gemini 仍然只是 scaffold。
这会带来几个问题:
本次改动
本 PR 只修改
internal/provider/,先把 Provider 层的支持状态和能力边界定义清楚,作为后续 UI / 配置 / 文档的单一事实来源。主要改动
为 Provider 增加统一描述信息
扩展 Provider 能力
Descriptor()Describe()辅助方法OpenAI-compatible 明确标记为
Anthropic / Gemini 明确标记为
Anthropic / Gemini 的错误信息改为明确说明
为 Registry 增加筛选能力
Descriptors()MVPDescriptors()AvailableDescriptors()预期收益
验证
已执行:
go test ./internal/provider/...