diff --git a/pkgs/m/mcpplibs.llmapi.lua b/pkgs/m/mcpplibs.llmapi.lua new file mode 100644 index 0000000..a6a1ec1 --- /dev/null +++ b/pkgs/m/mcpplibs.llmapi.lua @@ -0,0 +1,32 @@ +-- Form A descriptor: the upstream repo ships its own mcpp.toml from +-- v0.2.4 onwards. mcpp's default-look-up walks the GitHub tarball +-- wrap (`llmapi-/mcpp.toml`) automatically. +package = { + spec = "1", + name = "mcpplibs.llmapi", + description = "Modern C++ LLM API client with openai-compatible support", + licenses = {"Apache-2.0"}, + repo = "https://github.com/mcpplibs/llmapi", + type = "package", + + xpm = { + linux = { + ["0.2.4"] = { + url = "https://github.com/mcpplibs/llmapi/archive/refs/tags/0.2.4.tar.gz", + sha256 = "b1d204576ee2d2069abdac1a7e25078e605c8fae5b1cdad6cee200946cfed0f0", + }, + }, + macosx = { + ["0.2.4"] = { + url = "https://github.com/mcpplibs/llmapi/archive/refs/tags/0.2.4.tar.gz", + sha256 = "b1d204576ee2d2069abdac1a7e25078e605c8fae5b1cdad6cee200946cfed0f0", + }, + }, + windows = { + ["0.2.4"] = { + url = "https://github.com/mcpplibs/llmapi/archive/refs/tags/0.2.4.tar.gz", + sha256 = "b1d204576ee2d2069abdac1a7e25078e605c8fae5b1cdad6cee200946cfed0f0", + }, + }, + }, +} diff --git a/pkgs/m/mcpplibs.tinyhttps.lua b/pkgs/m/mcpplibs.tinyhttps.lua new file mode 100644 index 0000000..e2a053e --- /dev/null +++ b/pkgs/m/mcpplibs.tinyhttps.lua @@ -0,0 +1,32 @@ +-- Form A descriptor: the upstream repo ships its own mcpp.toml from +-- v0.2.1 onwards, so we omit the `mcpp` field — mcpp default-look-up +-- finds //mcpp.toml inside the GitHub tarball wrap. +package = { + spec = "1", + name = "mcpplibs.tinyhttps", + description = "Minimal C++23 HTTP/HTTPS client with SSE streaming support", + licenses = {"Apache-2.0"}, + repo = "https://github.com/mcpplibs/tinyhttps", + type = "package", + + xpm = { + linux = { + ["0.2.1"] = { + url = "https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.2.1.tar.gz", + sha256 = "88adc68b1c1ec635c409604547fdfe8486aa1b376bad28c74858ed1f3ce5391c", + }, + }, + macosx = { + ["0.2.1"] = { + url = "https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.2.1.tar.gz", + sha256 = "88adc68b1c1ec635c409604547fdfe8486aa1b376bad28c74858ed1f3ce5391c", + }, + }, + windows = { + ["0.2.1"] = { + url = "https://github.com/mcpplibs/tinyhttps/archive/refs/tags/0.2.1.tar.gz", + sha256 = "88adc68b1c1ec635c409604547fdfe8486aa1b376bad28c74858ed1f3ce5391c", + }, + }, + }, +}