概要
概要
Kaeso 0.7.1 adds sources, keys that let clients report the calls they make straight to their provider so Kaeso can log and count them as observed requests. MCP servers, existing ones included, now auto-approve detected tool changes by default, and streaming latency and per-chunk CPU are cut; apps written for 0.7.0 can still set and read an MCP server's change_policy. The release also carries security fixes and fixes for Gemini apps on Google's Go SDK, OpenRouter-style reasoning requests and the installer's settings check, and no change in it is marked as breaking.
新增12
新增
- 01#1438
Projects can add sources: keys that let clients such as Claude Code, Codex, Gemini CLI and Antigravity, other gateways and scripts report the calls they make straight to their provider. Kaeso logs and counts them as observed requests but is not in their path and cannot refuse them. Each source has its own
sk-kso-src-…key, which never works as an API key, managed through Platform API endpoints under/orgs/{org}/projects/{project}/sourcesand the rightssources.viewandsources.manage; observed requests count toward project, member and budget limits. - 02#1441
Sources report over
/ingest/otlp/v1/logs,/tracesand/metrics(OTLP/HTTP, protobuf or JSON),/ingest/v1/events,/ingest/v1/litellmand/ingest/v1/antigravity, with the source key inAuthorization: Bearerorx-kaeso-source-key. No or an unknown key gets 401, a disabled or archived source or project 403, an oversized body 413 and too many batches 429 withRetry-After. Compose, Helm and the AWS, GCP and DigitalOcean templates route/ingest/*to the gateway. - 03#1443
Usage and the timeline group by
sourceand filter bysource, where the keygatewaystands for the gateway's own requests; request and tool-call logs carrysource_idand filter by it. A spend or token limit showsobserved, the part of its use that sources reported, and it isnullfor rate limits.gemini-cli,antigravityandlitellmuser agents name the client app. - 04#1446
The console has a Sources page in the project sidebar, shown with
sources.view, with a list, Active, Archived and All tabs, and a sheet for each source. Add source (sources.manage) picks the client, shows the key once with the setup for that client and polls until the first event arrives. The UI library gainsSourceBadge. - 05#1454
A source's batch is read within bounded memory: a batch holds at most 1,000 records (was 5,000), and a source may send 6,000 records a minute and 200,000 a day besides its 600 batches a minute, past which it gets 429 with
Retry-After. The events, LiteLLM and Antigravity endpoints answer too many records with 413 before reading them; JSON may be 8 MiB once unzipped, and protobuf stays at 16 MiB. A prompt that Claude Code or Gemini CLI reports once for a turn is kept with the first request it led to, not copied onto every request of a tool loop. - 06#1455
A source counts only while its own member or service account does: once the member can no longer see the project, or the service account is archived, every record is refused as
inactive. Matching members by email is opt-in, withmatch_membersdefaulting tofalsein the API and the Add source dialog, and a record is capped at 10 million of each token count (was 100 million) and $100 of reported cost (was $10,000). - 07#1459
Grok Build can be added as a source, with its own kind
grok, setup lines in the Add source dialog, xAI's provider mark on the source badge and a guide in the docs. A migration addsgrokto the allowed source kinds, and its usual provider is xAI. - 08#1450
MCP servers get an
auto_approve_tool_changessetting, on by default for new servers and, through a migration, for existing ones. When on, detected tool changes apply right away, are recorded in the server's tool-change history (GET /platform/v1/orgs/{org}/mcp-servers/{server}/tool-changes) and audit-logged astool.auto_approve, without review notifications; it never turns a tool on in a project that has it off. When off, changed tools are held for review and reported to MCP server managers, as before; switching it on approves the changes that are waiting.
Console
09- 09#1447
Observed requests show in the request log with an Observed tag, a Reported by filter and an optional Source column, in analytics under By source for people with
sources.view, and in the tool-call log. Limits with an observed part note the amount sources reported, which Kaeso counts but cannot stop.
Documentation
10–12- 10#1432
A Performance page in the self-hosting docs compares Kaeso 0.7.0 with LiteLLM, Bifrost and Portkey on BerriAI's ai-gateway-bench. With 64 clients, a zero-delay mock and two dedicated cores per gateway, Kaeso serves 6,338 requests a second and LiteLLM Rust 3,211; the page says the run was single-host and run by Kaeso's author.
- 11#1434
A KPMR section in the docs explains the registry, how the gateway syncs it, the catalogue format, the public API, and retirements and model lines, in English, German and Chinese. It replaces the former
concepts/kpmrpage, and links to it now point into the section. - 12#1449
A Sources concept page and a Sources section explain observed requests, whose requests they are, limits and refusals, with a setup guide for Claude Code, Codex, Gemini CLI, Antigravity, LiteLLM, OpenRouter, OpenTelemetry and HTTP, in English, German and Chinese.
变更5
变更
- 01#1431
The Helm chart, the gateway image's description and the security policy describe Kaeso as it is in 0.7. The chart gains a description, icon, keywords, Artifact Hub fields and a README, the image label names Gemini and ElevenLabs as well as alias routes, budgets, guardrails, request logs and the MCP portal, and
SECURITY.mdlists the supported versions. - 02#1440
Account › Notifications no longer has a Send a test email button; instance admins test mail under Instance › Settings › Email or with
kaeso mail test, both unchanged. ThePOST /platform/v1/me/notifications/testendpoint is removed. - 03#1444
Background jobs log runs that found nothing to do at
debuginstead ofinfo, while runs that did work or hit failures stay atinfoand job errors aterror. A quiet live install had produced about 1,070 lines an hour; the filterinfo,kaeso_server::jobs=debugshows idle runs. - 04#1453
Streaming latency and per-chunk CPU are cut. Same-dialect SSE streams of OpenAI Chat Completions, OpenAI Responses and Anthropic Messages are forwarded byte for byte when content logging, reply guardrails, reasoning continuity and built-in unmasking are inactive. An OpenAI Responses stream translated to another format skips the wire-override diffing that foreign encoders ignore, and ready chunks after the first byte are written together.
Gateway
05- 05#1465
A fresh install starts with KPMR's model data as of 21 November 2026, 02:59 UTC: 2,936 models from the 50 providers Kaeso calls, up from 2,934, with no model removed, none newly deprecated and no status changed.
minimax-latestgives way tominimax-m-latestandminimax-m-flash-latestat 14 providers; a project that followsminimax-latestkeeps its current model, and the line shows that KPMR no longer lists it.
修复19
修复
- 01#1426
The installer checks the install's settings before every start of an existing install, not only right after it writes a new
compose.yaml; a fresh install still skips the check. When the gateway container still runs the releasecompose.yaml.previousnames whilecompose.yamlnames a newer one, the run counts as an update from that release, and if the new release refuses the settings the installer putscompose.yamlback, removescompose.yaml.previousand the old release keeps running. A re-run that is not an update stops before starting and changes no files. - 02#1427
Versions and names with a hyphen, such as 0.7.0-rc.1 in the update history, read as written instead of spaced out. Text with a hyphen next to a letter keeps proportional figures in charts and UI library components, while dates, times and numbers keep tabular ones, and time zone offsets west of Greenwich are written with a minus sign.
- 03#1433
After Load more, focus moves to the first new row and a polite status announces how many rows came. A page that arrives while the button only has focus, without being pressed, keeps the button in view instead, and focus that has moved on is left alone. In the request logs, the near-end loader waits while Load more has focus and loads again once focus leaves it.
- 04#1436
Gemini apps using Google's Go SDK stream and return tool results cleanly: the SSE keepalive frame is two newlines instead of one, which had broken Go clients with an invalid stream chunk error. A Gemini content whose parts are all
functionResponsewithout athoughtSignaturedecodes as a user turn whatever its wirerole, as upstreams such as Anthropic Messages require, and the original role is kept so same-dialect Gemini round trips stay exact. - 05#1442
OpenRouter-compatible apps can send the
reasoningobject (effort,max_tokens,enabled,exclude) across Claude, Gemini and OpenAI models; it was refused whenever a request crossed to Anthropic Messages, Gemini or OpenAI Responses. OpenRouter, Vercel and Ollama Cloud keep the object, other Chat Completions providers receivereasoning_effortor their thinking switch, and unknownreasoning.*keys are still refused for providers that don't take the object and across formats.exclude: truehides reasoning from replies and streams, and on Chat Completions usage still reports the reasoning tokens. - 06#1456
Apps written for 0.7.0 can still set and read an MCP server's
change_policy, which now stands forauto_approve_tool_changes:POSTandPATCHaccept it again, whereholdmeansfalseandacceptmeanstrue, and sent together withauto_approve_tool_changesthey must agree, else 400 withparam: change_policy. The server view showschange_policyagain, andPOST …/refreshanswers withacceptedbesideauto_approved. Their descriptions inopenapi.jsoncall them deprecated, and switching toacceptbehaves as switching auto-approve on, which approves the changes held for review. - 07#1445
No provider or model tile shows a letter any more; Amazon Bedrock models no longer show a grey letter. Rows about one model show the mark of the company that made it, read from the model id, on the new-models card, the request log's model column, the route editor's model tree and the model picker; a model under a namespace no maker owns shows the host's mark. Amazon Bedrock, fal and Baidu Qianfan, whose owners' terms don't allow their logos, show the provider icon, as do Amazon's and Baidu's own models, and KoboldCpp and TabbyAPI get marks.
- 08#1451#1457
SGLang and MLX LM show the provider icon: SGLang's logo is licensed CC BY-NC-ND 4.0, so a redrawn copy can't ship under MIT, and MLX LM showed Apple's logo, which Apple's guidelines reserve. DeepSeek keeps its published blue on the dark theme too, and SpaceX shows xAI's square mark again. Source badges and client buttons for Claude Code, Gemini CLI, Antigravity and OpenTelemetry, and Claude's connect button, show their marks in their makers' colours, while Codex, OpenRouter, Cursor, GitHub Copilot and ChatGPT stay black and white.
- 09#1458
Sources count each request once: a request a client sends through the gateway and also reports to a source is matched to the gateway's request and counted as a duplicate, and a GenAI call exported as a span and as a log event counts once. A prompt, Codex's request start and Codex's conversation provider that arrive one export before the request are kept for it across export batches. Requests are priced at the provider they used, not a hard-coded one, and a LiteLLM
response_costof 0 withresponse_cost_failure_debug_infois an unknown cost, not $0. MCP tool calls a source reports now count in Analytics' daily tool-call counts. - 10#1460
A link in a section's actions keeps its words on one line, so "On GitHub" beside a release on Instance › Updates no longer wraps its last word. The Updates history columns are resized so the When column shows the whole time in English, German and Chinese.
- 11#1464
A status keeps a Chinese or Japanese word whole in a narrow row; on a phone in Chinese, source statuses such as connected and waiting no longer split across two lines. A status with several Latin words can still wrap between them.
- 12
The Claude plugin declares no MCP server again and asks for no address, because the plugin directory refuses a server whose address is a setting; its skill connects your install in Claude Code with a command and everywhere else with the custom connector link, and the console and documentation no longer mention
/plugin configure.
Gateway
13–14- 13#1429
A video whose API key is gone before it ends is still logged as the app's video, with that key, its tags and its client, instead of as a Playground video. Videos and image generations keep the id of the key that started them; videos that had already lost their key id can't be told apart from Playground videos, and the migration leaves them as they are.
- 14#1437
Webhook signing secrets are re-wrapped by
kaeso master-key rewrapduring master key rotation, and startup checks catch an unconfigured master key that still wraps webhook secrets. Token prefixes are also redacted in OpenTelemetry span error messages and in fallback and tool-call log error messages.
Console
15–17- 15#1448
Buttons on the sign-in, sign-up, invitation, setup, password reset and agent authorization pages, the recent sign-in dialog and the sidebar's Create organization now say what they still need. They stay focusable, show the reason on hover and focus, and screen readers hear it; Authorize asks for a name in Customize, and Enter in a field doesn't send a form whose button is waiting.
- 16#1462
The audit log names an approved or auto-approved MCP tool instead of showing its id for
tool.approveandtool.auto_approveentries. Atool.rejectentry keeps only the hash and still shows the id. - 17#1463
Table headers leave room for the sort arrow, so a header that fills its column, such as "Änderung" in German analytics breakdowns and "缓存命中" in Chinese project analytics tables, isn't cut. A header that already had room is unchanged.
UI library
18–19- 18#1430
The UI showcase's View source and its
llms.txtsource link open the commit the site was built from instead of a release tag, which returned a 404 for a pre-release build. Its search finds components by their parts, props, description and examples and shows why each result matched, in English, German and Chinese. - 19#1461
View source on the showcase opens the file each component is written in; 45 of 113 component pages have no folder of their own because their component is written beside others, so the old link answered 404. The build now stops when a page's source isn't in the checkout.
安全17
安全
- 01#1435
urlis updated to 2.5.9, which fixes RUSTSEC-2026-0592:Url::origin()recursed once per nestedblob:prefix and could overflow the stack. Kaeso callsorigin()on URLs from configuration, update feeds, sign-in issuers and MCP server addresses, none of which is ablob:URL in practice, so nothing changes for them. - 02
A started video or image generation holds its highest possible cost against hard budgets until it is billed, and a video nobody asks about again is billed when it ends, so jobs started one after another no longer run past a hard budget. (GHSA-7vfp-ggg2-hhwm(在新标签页中打开))
- 03
Transcriptions, translations and voice changes hold the longest their uploaded audio can last against hard budgets while they run, so uploads sent side by side no longer run past a hard budget. (GHSA-g48f-v4f7-4m95(在新标签页中打开))
- 04
Batches check and hold hard token and spend budgets before they start, and refuse features that have no price. (GHSA-5hx3-cg7v-33c7(在新标签页中打开))
- 05
kaeso-edge takes the client address from the nearest untrusted hop of
X-Forwarded-For, and on Railway fromX-Real-IP. (GHSA-rwrp-468m-3jv3(在新标签页中打开)) - 06
Replacing or removing an organization's single sign-on connection, unlinking an account from it, requiring single sign-on or removing a member through SCIM also ends the agents and portal clients approved in the sessions that end. (GHSA-v89c-fm8p-fh9j(在新标签页中打开))
- 07
Account › Agents and agent grants follow the session's open organizations and sign-in rules. (GHSA-qgxw-mmg2-92qp(在新标签页中打开))
- 08
Account › Connections and muting an organization's emails follow the organization's sign-in rules, and an MCP sign-in finishes only while the person still belongs to the organization. (GHSA-gwf4-xf89-jr57(在新标签页中打开))
- 09
MCP server sign-ins accept only
httpssign-in addresses, orhttpones for anhttpserver, and the console opens only web pages for them. (GHSA-25wg-9wmh-9rcg(在新标签页中打开)) - 10
Turning automatic updates on, or changing their channel, window or time zone while they are on, needs
instance.updates.applyand a recent sign-in. (GHSA-c92c-rh4f-h5hm(在新标签页中打开)) - 11
Members with
webhooks.viewalone see only each webhook address's origin, and the audit log masks webhook addresses. (GHSA-rw8m-ggwj-8mmc(在新标签页中打开)) - 12
The weekly summary email shows a project's cost only to members who may see costs. (GHSA-3mc2-72rx-4792(在新标签页中打开))
- 13
Provider errors on batches, media jobs and realtime sockets no longer carry key or account tokens. (GHSA-wx5j-mvf7-crwx(在新标签页中打开))
- 14
Responses requests refuse
item_referenceitems, sendstore: falsewhen Kaeso keeps no stored responses, and batch lines are checked the same way. (GHSA-2x35-h4qp-x2r3(在新标签页中打开)) - 15
Batch uploads hold the translation memory budget, and request bodies are checked for depth before their fields are read. (GHSA-469r-9qrh-476q(在新标签页中打开))
- 16
Realtime speech-to-text checks
audio_formatbefore it connects, defaults topcm_16000, and bills the audio by that format. (GHSA-w6r4-vxjx-5g7r(在新标签页中打开)) - 17
The AWS managed stack passes the PostgreSQL and Valkey addresses to ECS through Secrets Manager instead of the task definition's environment. (GHSA-x9fh-c3x2-88fh(在新标签页中打开))































