Skip to content

feat: add mcpplibs-xpkg package (libxpkg 0.0.1)#6

Merged
Sunrisepeak merged 4 commits intomainfrom
add-mcpplibs-xpkg
Mar 1, 2026
Merged

feat: add mcpplibs-xpkg package (libxpkg 0.0.1)#6
Sunrisepeak merged 4 commits intomainfrom
add-mcpplibs-xpkg

Conversation

@Sunrisepeak
Copy link
Member

Summary

  • Add mcpplibs-xpkg package definition for libxpkg v0.0.1
  • Add smoke test that imports mcpplibs.xpkg and creates a Package struct
  • Register test in tests/xmake.lua and add CI change detection + build steps

Details

mcpplibs-xpkg is the C++23 reference implementation of the xpkg package specification. It provides:

  • mcpplibs.xpkg — data model (Package, PackageIndex, etc.)
  • mcpplibs.xpkg.loader — parse .lua package files
  • mcpplibs.xpkg.index — search, resolve, merge indices
  • mcpplibs.xpkg.executor — execute package Lua hooks

Depends on: mcpplibs-capi-lua

Test plan

  • CI builds and runs mcpplibs-xpkg_test on Linux/macOS/Windows

🤖 Generated with Claude Code

Sunrisepeak and others added 4 commits March 1, 2026 19:07
Add the xpkg package specification C++23 reference implementation
to the mcpplibs index with package definition, smoke test, and CI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The libxpkg repo uses v-prefixed tags (v0.0.1), so the URL template
needs v$(version) instead of $(version).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The phony `xpkg` target produces no installable artifacts. Install
each of the 5 real library targets individually to properly export
module files and static libraries while avoiding examples/tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The installed loader/executor cppm files import mcpplibs.capi.lua,
so the test target needs explicit access to that module for scanning.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Sunrisepeak Sunrisepeak merged commit 76ab670 into main Mar 1, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant