Skip to content

Commit 160c504

Browse files
committed
feat: add mcpplibs.tinyhttps 0.2.1 + mcpplibs.llmapi 0.2.4 descriptors
Both upstream packages ship their own `mcpp.toml` from these versions onwards, so Form A descriptors are sufficient — no inline `mcpp = {}` segment needed. mcpplibs.tinyhttps 0.2.1 — first tag containing mcpp manifest url https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.2.1.tar.gz sha256 88adc68b1c1ec635c409604547fdfe8486aa1b376bad28c74858ed1f3ce5391c mcpplibs.llmapi 0.2.4 — first tag containing mcpp manifest url https://github.com/mcpplibs/llmapi/archive/refs/tags/0.2.4.tar.gz sha256 b1d204576ee2d2069abdac1a7e25078e605c8fae5b1cdad6cee200946cfed0f0 End-to-end smoke verified locally: `mcpp build` of llmapi pulls mbedtls + tinyhttps from the index, compiles all module interfaces + 108 mbedtls .c files, and packs into a 4.5 MB libllmapi.a (125 objects).
1 parent 71c9d36 commit 160c504

2 files changed

Lines changed: 64 additions & 0 deletions

File tree

pkgs/m/mcpplibs.llmapi.lua

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
-- Form A descriptor: the upstream repo ships its own mcpp.toml from
2+
-- v0.2.4 onwards. mcpp's default-look-up walks the GitHub tarball
3+
-- wrap (`llmapi-<tag>/mcpp.toml`) automatically.
4+
package = {
5+
spec = "1",
6+
name = "mcpplibs.llmapi",
7+
description = "Modern C++ LLM API client with openai-compatible support",
8+
licenses = {"Apache-2.0"},
9+
repo = "https://github.com/mcpplibs/llmapi",
10+
type = "package",
11+
12+
xpm = {
13+
linux = {
14+
["0.2.4"] = {
15+
url = "https://github.com/mcpplibs/llmapi/archive/refs/tags/0.2.4.tar.gz",
16+
sha256 = "b1d204576ee2d2069abdac1a7e25078e605c8fae5b1cdad6cee200946cfed0f0",
17+
},
18+
},
19+
macosx = {
20+
["0.2.4"] = {
21+
url = "https://github.com/mcpplibs/llmapi/archive/refs/tags/0.2.4.tar.gz",
22+
sha256 = "b1d204576ee2d2069abdac1a7e25078e605c8fae5b1cdad6cee200946cfed0f0",
23+
},
24+
},
25+
windows = {
26+
["0.2.4"] = {
27+
url = "https://github.com/mcpplibs/llmapi/archive/refs/tags/0.2.4.tar.gz",
28+
sha256 = "b1d204576ee2d2069abdac1a7e25078e605c8fae5b1cdad6cee200946cfed0f0",
29+
},
30+
},
31+
},
32+
}

pkgs/m/mcpplibs.tinyhttps.lua

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
-- Form A descriptor: the upstream repo ships its own mcpp.toml from
2+
-- v0.2.1 onwards, so we omit the `mcpp` field — mcpp default-look-up
3+
-- finds <verdir>/<repo-tag>/mcpp.toml inside the GitHub tarball wrap.
4+
package = {
5+
spec = "1",
6+
name = "mcpplibs.tinyhttps",
7+
description = "Minimal C++23 HTTP/HTTPS client with SSE streaming support",
8+
licenses = {"Apache-2.0"},
9+
repo = "https://github.com/mcpplibs/tinyhttps",
10+
type = "package",
11+
12+
xpm = {
13+
linux = {
14+
["0.2.1"] = {
15+
url = "https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.2.1.tar.gz",
16+
sha256 = "88adc68b1c1ec635c409604547fdfe8486aa1b376bad28c74858ed1f3ce5391c",
17+
},
18+
},
19+
macosx = {
20+
["0.2.1"] = {
21+
url = "https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.2.1.tar.gz",
22+
sha256 = "88adc68b1c1ec635c409604547fdfe8486aa1b376bad28c74858ed1f3ce5391c",
23+
},
24+
},
25+
windows = {
26+
["0.2.1"] = {
27+
url = "https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.2.1.tar.gz",
28+
sha256 = "88adc68b1c1ec635c409604547fdfe8486aa1b376bad28c74858ed1f3ce5391c",
29+
},
30+
},
31+
},
32+
}

0 commit comments

Comments
 (0)