Skip to content

Commit 452f864

Browse files
Sunrisepeakclaude
andcommitted
feat: add mcpplibs-tinyhttps package, update llmapi to 0.2.0
- Add mcpplibs-tinyhttps 0.1.0: standalone HTTP/HTTPS client extracted from llmapi - Update llmapi 0.2.0: depends on mcpplibs-tinyhttps instead of embedded copy Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent de04ec9 commit 452f864

File tree

2 files changed

+26
-7
lines changed

2 files changed

+26
-7
lines changed

packages/l/llmapi/xmake.lua

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,26 @@
11
package("llmapi")
22

3-
--set_kind("library", {headeronly = true})
4-
53
set_homepage("https://github.com/mcpplibs/llmapi")
64
set_description("Modern C++ LLM API client with openai-compatible support")
75
set_license("Apache-2.0")
86

97
add_urls(
10-
-- https://github.com/mcpplibs/llmapi/archive/refs/tags/0.0.1.tar.gz
118
"https://github.com/mcpplibs/llmapi/archive/refs/tags/$(version).tar.gz",
129
"https://github.com/mcpplibs/llmapi.git"
1310
)
1411

12+
add_versions("0.2.0", "fcbbe09a35904137f75d4e65c8bbd8ade170c1f2fcea198d928dbf985868924f")
1513
add_versions("0.1.0", "f01f5b0b6d11242b655f7c383e82a71e30a7696cdf4468d7ab3a3ae72f99b3e5")
1614
add_versions("0.0.1", "174f86d3afdf48a57ad1cc9688718d1f1100a78a7e56686c823c573c3ccf99f4")
1715

1816
add_includedirs("include")
19-
add_deps("mbedtls 3.6.1")
17+
add_deps("mcpplibs-tinyhttps 0.1.0")
2018

2119
on_load(function (package)
2220
package:add("links", "llmapi")
23-
package:add("links", "tinyhttps")
2421
end)
2522

2623
on_install(function (package)
2724
local configs = {}
28-
import("package.tools.xmake").install(package, configs, {target = "tinyhttps"})
29-
import("package.tools.xmake").install(package, configs, {target = "llmapi"})
25+
import("package.tools.xmake").install(package, configs)
3026
end)
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package("mcpplibs-tinyhttps")
2+
3+
set_homepage("https://github.com/mcpplibs/tinyhttps")
4+
set_description("Minimal C++23 HTTP/HTTPS client with SSE streaming support")
5+
set_license("Apache-2.0")
6+
7+
add_urls(
8+
"https://github.com/mcpplibs/tinyhttps/archive/refs/tags/$(version).tar.gz",
9+
"https://github.com/mcpplibs/tinyhttps.git"
10+
)
11+
12+
add_versions("0.1.0", "af7daa6a63f264070a1ac8fe42725713ba7ea54e58f1e8b8e190d1b4c58a0896")
13+
14+
add_deps("mbedtls 3.6.1")
15+
16+
on_load(function (package)
17+
package:add("links", "tinyhttps")
18+
end)
19+
20+
on_install(function (package)
21+
local configs = {}
22+
import("package.tools.xmake").install(package, configs)
23+
end)

0 commit comments

Comments
 (0)