Skip to content

Commit ee3f1cf

Browse files
committed
chore(release): sync v1.8.0 and regenerate bindings from alef 0.26.3
Bump alef pin 0.25.60 -> 0.26.3 and the workspace version 1.7.6 -> 1.8.0, then regenerate all alef-managed bindings, stubs, e2e suites, test_apps, and docs. Picks up the Swift & Dart content-union text() accessor fix and Swift capsule-pointer bridging from alef 0.26.x.
1 parent 96eb2ba commit ee3f1cf

1,346 files changed

Lines changed: 1678 additions & 1514 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file is auto-generated by alef. DO NOT EDIT.
2-
# alef:hash:c892c5ad61c5b9376089e0d461b22e97ed9f5766653c5d3c2e5bf8cca5950f37
2+
# alef:hash:633c6ca3d945229d202d1cc5029bc08f1583a5cc88cc0aaa95286a909df9c771
33
# Re-generate with: alef scaffold
44

55
[build]

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated by alef scaffold.
2-
# alef:hash:c892c5ad61c5b9376089e0d461b22e97ed9f5766653c5d3c2e5bf8cca5950f37
2+
# alef:hash:633c6ca3d945229d202d1cc5029bc08f1583a5cc88cc0aaa95286a909df9c771
33
crates/liter-llm-ffi/** linguist-generated=true
44
crates/liter-llm-jni/** linguist-generated=true
55
crates/liter-llm-node/** linguist-generated=true

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.8.0] - 2026-06-22
11+
1012
### Added
1113

1214
- **MCP server: tool annotations on every tool.** Each MCP tool now advertises rmcp `ToolAnnotations` (a human-readable title plus `readOnlyHint`/`destructiveHint`/`idempotentHint`/`openWorldHint`) so clients can present them and decide auto-approval. Query tools are read-only; `create_*` mutate without being destructive; `delete_*`/`cancel_*` are destructive and idempotent; all reach external providers (`openWorldHint`).
1315
- **MCP server: prompts, resources, and argument completion.** Beyond tools, the server now exposes reusable prompt templates (`summarize`, `translate`, `extract`), catalog resources (`liter-llm://models`, `liter-llm://providers`, and the `liter-llm://pricing/{model}` / `liter-llm://provider/{name}` templates), and argument completion for `model` (from the configured models) and provider `name` (from the registry). `get_info` advertises tools, prompts, resources, and completions.
1416

1517
### Fixed
1618

19+
- **Budget middleware: concurrent spend is no longer lost across a window rollover.** On weakly-ordered architectures (arm64) the window-reset path could drop a racing `fetch_add`; the rollover now subtracts the snapshotted prior total instead of storing zero, preserving every concurrent charge.
20+
- **CI: the Kotlin Android build provisions the wrapper-declared Gradle version** (`gradle-version: wrapper`) in `ci-mobile` and `ci-e2e`. AGP 9.2.0 requires Gradle >= 9.4.1; the previous hardcoded `8.13` pin silently overrode the 9.6.0 wrapper and broke `assembleRelease`.
21+
- **Swift & Dart: the untagged content-union `text()` accessor now references the generated payload field** instead of a non-existent binding, mirroring the 1.7.6 Kotlin fix. Regenerated from alef 0.26.3.
1722
- **CI/release: create the draft GitHub Release once in the `prepare` job** so the Swift artifact-bundle upload (the only upload job without its own ensure-release step) can no longer race ahead of release creation and fail with "release not found". Mirrors the html-to-markdown publish pipeline.
1823

24+
### Changed
25+
26+
- **Bindings regenerated from alef 0.26.3** (from 0.25.60): Swift capsule-pointer bridging via `usize` plus `.product` dependency wiring, `RustBridgeC.h` preserved across `alef all --clean`, and the content-union accessors above.
27+
1928
## [1.7.6] - 2026-06-22
2029

2130
### Fixed

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ authors:
1212
repository-code: "https://github.com/kreuzberg-dev/liter-llm"
1313
url: "https://kreuzberg.dev"
1414
license: MIT
15-
version: 1.7.6
15+
version: 1.8.0
1616
date-released: 2026-05-17

Cargo.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ missing-panics-doc = "allow"
5454
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(alef)'] }
5555

5656
[workspace.package]
57-
version = "1.7.6"
57+
version = "1.8.0"
5858
edition = "2024"
5959
license = "MIT"
6060
repository = "https://github.com/kreuzberg-dev/liter-llm"

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ let package = Package(
3333
// sibling RustBridge target below and link against this binary.
3434
.binaryTarget(
3535
name: "RustBridgeBinary",
36-
url: "https://github.com/kreuzberg-dev/liter-llm/releases/download/v1.7.6/LiterLlm-rs.artifactbundle.zip",
36+
url: "https://github.com/kreuzberg-dev/liter-llm/releases/download/v1.8.0/LiterLlm-rs.artifactbundle.zip",
3737
checksum: "__ALEF_SWIFT_CHECKSUM__"
3838
),
3939
// RustBridge: Swift wrapper module owning the swift-bridge generated

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -248,24 +248,26 @@ Build from source as part of this workspace. See [FFI crate](crates/liter-llm-ff
248248
</details>
249249

250250
<details>
251-
<summary><strong>CLI & Proxy Server</strong></summary>
251+
<summary><strong>CLI, Proxy & MCP Server</strong></summary>
252252

253-
The `liter-llm` CLI ships both the OpenAI-compatible proxy and the MCP tool server.
253+
The `liter-llm` CLI ships both the OpenAI-compatible proxy and the MCP tool server. Install it any of these ways:
254254

255255
```sh
256256
brew install kreuzberg-dev/tap/liter-llm
257-
```
258-
259-
```sh
257+
cargo install liter-llm-cli # from crates.io
258+
npx @kreuzberg/liter-llm-cli --help # npm (self-installs the binary)
260259
docker run -p 4000:4000 -e LITER_LLM_MASTER_KEY=sk-your-key ghcr.io/kreuzberg-dev/liter-llm
261260
```
262261

262+
Then run the proxy or the MCP server:
263+
263264
```sh
264-
liter-llm api --config liter-llm.toml # OpenAI-compatible proxy (22 endpoints)
265-
liter-llm mcp --transport stdio # MCP tool server
265+
liter-llm api --config liter-llm-proxy.toml # OpenAI-compatible proxy (22 endpoints)
266+
liter-llm mcp --transport stdio # MCP tool server (stdio)
267+
liter-llm mcp --transport http --port 3001 # MCP tool server (Streamable HTTP)
266268
```
267269

268-
See the [proxy guide](https://docs.liter-llm.kreuzberg.dev/) for routing, virtual keys, and budgets.
270+
See the [MCP server guide](https://docs.liter-llm.kreuzberg.dev/server/mcp-server/) and the [proxy guide](https://docs.liter-llm.kreuzberg.dev/server/proxy-server/) for transports, routing, virtual keys, and budgets. To use the MCP server inside a coding agent, install the **liter-llm plugin** (below) — it auto-registers the server, no manual config required.
269271

270272
</details>
271273

alef.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace]
2-
alef_version = "0.25.60"
2+
alef_version = "0.26.3"
33
languages = [
44
"python",
55
"node",
@@ -1978,7 +1978,7 @@ name = "liter_llm_ffi"
19781978
name = "LiterLlm"
19791979

19801980
[crates.e2e.registry.packages.zig]
1981-
hash = "liter_llm-1.7.6-ITuy7j8Hy2Yavk0BjGZ43I0Ix2GL"
1981+
hash = "liter_llm-1.8.0-ITuy7j8Hy2Yavk0BjGZ43I0Ix2GL"
19821982

19831983
[crates.e2e.registry.packages.homebrew]
19841984
tap = "kreuzberg-dev/homebrew-tap"

crates/liter-llm-cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ default = []
3434
arc-swap = { workspace = true }
3535
axum = { workspace = true }
3636
clap = { workspace = true }
37-
liter-llm = { path = "../liter-llm", version = "1.7.6" }
38-
liter-llm-proxy = { path = "../liter-llm-proxy", version = "1.7.6" }
37+
liter-llm = { path = "../liter-llm", version = "1.8.0" }
38+
liter-llm-proxy = { path = "../liter-llm-proxy", version = "1.8.0" }
3939
mimalloc = { workspace = true, optional = true }
4040
rmcp = { workspace = true }
4141
secrecy = { workspace = true }

0 commit comments

Comments
 (0)