docs(sdk): claude-agent-sdk vs codex-sdk deep-dive (closes #18)#19
Open
s2agi wants to merge 1 commit into
Open
docs(sdk): claude-agent-sdk vs codex-sdk deep-dive (closes #18)#19s2agi wants to merge 1 commit into
s2agi wants to merge 1 commit into
Conversation
Closes #18 11-dim comparison table covering package versions / API entry / session semantics / tool registration / streaming / token budget / error handling / multi-turn / ANTHROPIC_BASE_URL equivalent / settingSources / breaking change cadence + anet wrapper code locations. ZH + EN, sidebar wired, runtimes.md links to deep-dive at the bottom.
This was referenced May 12, 2026
Open
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.
Why
Closes #18
anet 内置 3 个 runtime 但缺 SDK adapter 系统化对比。runtimes.md 是 user how-to,不够深,contributor 想自己接新 SDK 没参考。
What
docs-site/docs/guide/sdk-deep-dive.md+ EN mirror — 11-dim comparison table + each SDK integration notes + how anet wrapper converges differences + how to add new runtime (gemini-cli / qwen-code etc.) using existing pattern..vitepress/config.tsZH+EN sidebar adds the new entry.runtimes.mdend adds pointer to deep-dive (ZH+EN).How to verify
Navigate Guide sidebar → click "SDK Deep-dive" → page renders.
Test evidence
npm run build(worktree, against origin/main):build complete in 52.63s.— no dead-link errors.Checklist