feat: mcpp-first README + project templates (openai default); release prep 0.2.7#17
Merged
Merged
Conversation
README now leads with the mcpp ecosystem workflow (mcpp new --template
llmapi / mcpp add llmapi) like imgui-m; the xmake package usage moved
from README into docs/{en,zh,zh-hant}/xmake.md and getting-started is
rewritten mcpp-first. All three README languages stay in sync.
templates/openai (default): minimal one-shot OpenAI chat.
templates/chat: interactive streaming chat CLI.
templates/anthropic: Claude via AnthropicConfig.
templates/deepseek: OpenAI-compatible endpoint via baseUrl.
Generated projects pin {{self.version}} under [dependencies.mcpplibs],
so the scaffold can never drift from the library version it shipped
with. Consumed by mcpp package templates:
`mcpp new app --template llmapi[:chat|anthropic|deepseek]` /
`mcpp new --list-templates llmapi`.
mcpp 0.0.13 is no longer resolvable from the xim index locally; 0.0.53 is the current release (and the floor for package templates is 0.0.48). mcpp.lock regenerated by mcpp 0.0.53 (lock v2, tinyhttps 0.2.3).
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
README (en/zh/zh-hant): now leads with the mcpp ecosystem workflow —
mcpp new myagent --template llmapi,mcpp add llmapi— mirroring imgui-m's style. The xmake package usage moved out of the README intodocs/{en,zh,zh-hant}/xmake.md; getting-started rewritten mcpp-first.Project templates (consumed by
mcpp new <name> --template llmapi[:<tmpl>], mcpp ≥ 0.0.48):openai(default)chatanthropicAnthropicConfigdeepseekbaseUrlGenerated projects pin
{{self.version}}under[dependencies.mcpplibs]so the scaffold version-tracks the library.Release prep:
mcpp.tomlversion → 0.2.7; workspace mcpp pin 0.0.13 → 0.0.53 (0.0.13 is no longer resolvable from the xim index);mcpp.lockregenerated (lock v2).Verification
mcpp buildgreen locally on mcpp 0.0.53 (gcc 16.1.0).mcpp testfails identically onorigin/main(pre-existing, CI only gatesmcpp build).mcpp new --template llmapiadditionally needs an mcpp-side fix for namespaced template packages (fetch loses themcpplibsnamespace) — tracked separately in mcpp-community/mcpp.Part of the llmapi mcpp-ecosystem closed loop: release 0.2.7 → mcpp-index entry → mcpp-res (gitcode CN mirror) →
mcpp new xxx --template llmapiverified end-to-end.