---
title: Kaeso 0.2.0
description: 发布于 2026年10月18日，包含 46 项变更。
url: https://kaeso.app/zh-CN/changelog/0.2.0
markdown: https://kaeso.app/zh-CN/changelog/0.2.0.md
language: zh-CN
alternates:
  en: https://kaeso.app/changelog/0.2.0.md
  de: https://kaeso.app/de/changelog/0.2.0.md
published: 2026-10-18
kaeso_version: 0.2.0
index: https://kaeso.app/zh-CN/llms.txt
---

# Kaeso 0.2.0

发布于 2026年10月18日，包含 46 项变更。

> Kaeso 的所有页面、文章和文档页面都列在 https://kaeso.app/zh-CN/llms.txt 中。

[GitHub 上的版本](https://github.com/logicplanes/kaeso/releases/tag/v0.2.0)

版本说明为英文。

## 概要

Kaeso 0.2.0 lets self-hosted installs learn about new releases and, with the optional updater, apply them in one click. It also adds installs that sign in with single sign-on alone, CORS for browser apps, and model availability in the project catalogue. Requests that a provider or model would refuse, such as Anthropic Messages requests without max_tokens, are now refused before they are sent, so check any app that relied on Kaeso filling in the limit. The gateway no longer logs the setup link, the console no longer shows an API key's secret a second time, and the documentation is rewritten, with diagrams, code tabs and a changelog page.

- **Breaking:** Anthropic Messages requests without `max_tokens` are now refused with 400, as Anthropic refuses them. Forced tool choice for Claude Fable 5.1, Opus 5.5 and Sonnet 5.5, and OpenAI Responses output limits below 16, are also refused before sending. Apps that relied on Kaeso filling in the output limit must send `max_tokens` themselves. ([#34](https://github.com/logicplanes/kaeso/pull/34))

**Contributors:** @dvnold

**Full changes:** [v0.1.0...v0.2.0](https://github.com/logicplanes/kaeso/compare/v0.1.0...v0.2.0)

## 新增

### Gateway

- Web apps can call the model API from a browser: `KAESO_CORS_ALLOWED_ORIGINS` lists their origins, which then get CORS headers on `/v1`, preflights answered without a key, and readable `kaeso-*` and `retry-after` headers. Nothing changes while it is empty, the default, and `*` is refused. ([#33](https://github.com/logicplanes/kaeso/pull/33))

### UI library

- `ThemeSelect`, a select for the system, light or dark theme, with its label and choices in the provider's language, beside `ThemeMenu`. The documentation site's sidebar now shows the same language and theme selects as the showcase. Every `ThemeProvider` on a page follows the same theme choice, so a `ThemeMenu` or `ThemeSelect` in one island changes the others too. ([#25](https://github.com/logicplanes/kaeso/pull/25))
- `icons.update` in the UI library's icon vocabulary.

### Documentation

- A changelog page on the documentation site, after the introduction, made from `CHANGELOG.md` in English, German and Simplified Chinese. It shows every release with its date in the page's language, an address such as `/changelog#v0.1.0`, Latest and pre-release marks, and links to its GitHub release and to the changes since the release before. The showcase's changelog shows the same releases, marks and links, with its section names in the page's language, and shows unreleased changes only when there are any. ([#29](https://github.com/logicplanes/kaeso/pull/29))
- Both sites list every page in every language in `sitemap.xml`, with `hreflang` alternates and `x-default`, and name the sitemap in `robots.txt`. Every page has a canonical address and Open Graph and Twitter tags with a preview image. Not-found pages and the showcase's examples and states pages stay out of search results. On phones, both sites open search from a button in the header, for which `AppFrame` takes `phoneActions`. The showcase's View source links, `llms.txt` and changelog links open the release's tag instead of `dev`, and its German and Chinese page descriptions and its German search placeholder are fixed. ([#28](https://github.com/logicplanes/kaeso/pull/28))
- Diagrams in the documentation are `mermaid` code blocks drawn at build time into a light and a dark SVG in Kaeso's colours and type. They follow the theme, are named for screen readers by `accTitle` and `accDescr`, and are searchable by their labels; no Mermaid code reaches the browser. A diagram that doesn't parse, or a code block that draws with box-drawing characters, fails the build with its file and line. The UI library adds `ThemeImage`, which follows the theme and prints the light version, and `Code flow="text"`, so long inline code breaks with its sentence. A nested folder's page is named by its title in the sidebar. ([#54](https://github.com/logicplanes/kaeso/pull/54))
- Code examples in the documentation show as language tabs, such as curl, Python and TypeScript, and the reader's choice carries to every group on the page and on the next page. Next steps show as link cards, and every heading links to itself. In `@logicplanes/kaeso-ui`, `CodeBlock` takes `tab` and `onTabChange`, and `Link` gains the `heading` and `card` variants. ([#91](https://github.com/logicplanes/kaeso/pull/91))
- A new guide, Automate with the Platform API, walks from creating a project, adding a provider key and a model, and creating an app's key with a service account, to calling the model and reading usage and logs. It takes every key from the environment. ([#99](https://github.com/logicplanes/kaeso/pull/99))
- Ideas and questions have a home in GitHub Discussions: the issue chooser links to it, an Ideas discussion asks for the idea in a sentence or two, and the contributing page explains the categories and how an agreed idea becomes a feature request. ([#31](https://github.com/logicplanes/kaeso/pull/31))
- Documentation pages show the current version wherever they write `{{version}}`, replaced at build time from the repository's version in text, code and frontmatter, so a release never needs a page edited. A backslash before it keeps it literal.

### Self-hosting

- Updates for self-hosted installs: the gateway checks GitHub for new releases twice a day and shows the running and newest versions, with release notes, under Settings › Instance › Updates. `KAESO_UPDATES_CHECK=false` turns the check off. The optional updater (`COMPOSE_PROFILES=updater`, `KAESO_UPDATER_TOKEN`) applies a release in one click: it verifies the signed build provenance, pulls images by digest, waits for migrations, and rolls back when the new version doesn't start and the database wasn't migrated. Major releases and releases with manual steps update by hand, and every update is audited. Caddy serves an updating page in three languages meanwhile, and each release carries an attested `release.json` and the `kaeso-updater` image. ([#40](https://github.com/logicplanes/kaeso/pull/40))

## 变更

- The README shows a short recording of the console, in a light and a dark version, instead of a screenshot: connecting a provider key, creating an API key, sending a request and watching it arrive in the request logs. `pnpm demo` records it again on the seeded development stack.

### Gateway

- The project catalogue knows whether each model's provider serves it to the project's provider key. Check availability on the Models page (`POST …/models/check`) asks the provider, requests teach it too, and a model marked Unavailable is left out of `GET /v1/models`. Changing a provider key resets its models to Not checked. Models that models.dev marks deprecated show Deprecated and have `lifecycle: "deprecated"` in Anthropic listings. A request for a model the provider doesn't serve fails with 404 and `param: model` in the app's format, with a message that names the provider and the model. Kaeso confirms this with the provider's model endpoint first and never retries. ([#37](https://github.com/logicplanes/kaeso/pull/37))

### Console

- Smaller console downloads: a project's overview loads 25 kB less JavaScript and the sign-in page 4 kB less, the documentation site's frame 3.6 kB less, and a page's code is requested while the console starts instead of after its first render. `AppFrame` loads its phone navigation sheet once the page is idle or on the first tap, and the charts no longer need d3-scale's colour and number-format modules. ([#35](https://github.com/logicplanes/kaeso/pull/35))

### Documentation

- The documentation follows one binding style guide, with page types, voice, code examples and a checklist. It is now ordered by the reader's journey: introduction, get started, concepts, console, API, self-hosting and development. Moved pages keep their old addresses through redirects, and the concepts overview defines Kaeso's terms once and ends with its pages as next steps. ([#73](https://github.com/logicplanes/kaeso/pull/73), [#74](https://github.com/logicplanes/kaeso/pull/74), [#83](https://github.com/logicplanes/kaeso/pull/83), [#97](https://github.com/logicplanes/kaeso/pull/97))
- The introduction, quick start, calling models, coding tools and model API pages lead with requests you can run in curl, Python or TypeScript. Coding tools walks through Claude Code, Codex and other tools step by step, and the get started overview lists its pages as next steps. ([#49](https://github.com/logicplanes/kaeso/pull/49), [#90](https://github.com/logicplanes/kaeso/pull/90), [#93](https://github.com/logicplanes/kaeso/pull/93), [#94](https://github.com/logicplanes/kaeso/pull/94), [#117](https://github.com/logicplanes/kaeso/pull/117), [#133](https://github.com/logicplanes/kaeso/pull/133))
- Request flow explains each step with a diagram that fits a phone and says that Kaeso's own 503 answers reach OpenAI-format apps as 500. Format translation lists what Kaeso refuses per target, and the rights page explains its notes once and states each grant rule plainly. ([#95](https://github.com/logicplanes/kaeso/pull/95), [#96](https://github.com/logicplanes/kaeso/pull/96), [#98](https://github.com/logicplanes/kaeso/pull/98))
- The model API, errors and Platform API pages are rewritten and checked against the gateway. The errors page opens with a failing request, shows how to read its `kaeso-request-id` and lists one cause per row. The Platform API reference leads with a runnable request and corrects which actions need a recent sign-in, and the API overview is a short list of its pages. ([#48](https://github.com/logicplanes/kaeso/pull/48), [#85](https://github.com/logicplanes/kaeso/pull/85), [#100](https://github.com/logicplanes/kaeso/pull/100), [#101](https://github.com/logicplanes/kaeso/pull/101))
- The console pages are rewritten as task guides and checked against the console, with labels from its catalogs. This covers organizations and members, provider keys and models, API keys and limits, request logs and the Playground, and account and instance administration. A new section explains recent sign-in, and the overview is a short map of the console's pages. ([#51](https://github.com/logicplanes/kaeso/pull/51), [#103](https://github.com/logicplanes/kaeso/pull/103), [#104](https://github.com/logicplanes/kaeso/pull/104), [#105](https://github.com/logicplanes/kaeso/pull/105), [#106](https://github.com/logicplanes/kaeso/pull/106), [#107](https://github.com/logicplanes/kaeso/pull/107), [#108](https://github.com/logicplanes/kaeso/pull/108))
- The self-hosting pages are rewritten and corrected against the code. Configuration is the one reference for every setting, and a new page explains how an install works. Domains, email and sign-in are task guides, Upgrades leads with the update by hand and leaves updater internals to the architecture page, and Troubleshooting gives each message its own fix. Corrections include the email delivery limits and that only PostgreSQL keeps the password it was created with. ([#50](https://github.com/logicplanes/kaeso/pull/50), [#75](https://github.com/logicplanes/kaeso/pull/75), [#121](https://github.com/logicplanes/kaeso/pull/121), [#122](https://github.com/logicplanes/kaeso/pull/122), [#123](https://github.com/logicplanes/kaeso/pull/123), [#124](https://github.com/logicplanes/kaeso/pull/124), [#125](https://github.com/logicplanes/kaeso/pull/125))
- The development guides are rewritten. Local setup is one path from a fresh clone to passing tests, with a new Development stack page and Colima on macOS. Contributing follows the order in which a contributor works, and the testing and releasing pages keep to the commands and steps. ([#52](https://github.com/logicplanes/kaeso/pull/52), [#76](https://github.com/logicplanes/kaeso/pull/76), [#112](https://github.com/logicplanes/kaeso/pull/112), [#114](https://github.com/logicplanes/kaeso/pull/114), [#115](https://github.com/logicplanes/kaeso/pull/115))
- The architecture and KPP internals pages are tightened and corrected. Reasoning across formats and codec design have pages of their own, every mapping page opens with what it is for, and the longest sentences become lists and tables. ([#53](https://github.com/logicplanes/kaeso/pull/53), [#119](https://github.com/logicplanes/kaeso/pull/119), [#120](https://github.com/logicplanes/kaeso/pull/120), [#128](https://github.com/logicplanes/kaeso/pull/128), [#129](https://github.com/logicplanes/kaeso/pull/129), [#130](https://github.com/logicplanes/kaeso/pull/130), [#131](https://github.com/logicplanes/kaeso/pull/131))
- German and Chinese documentation pages use the glossary's terms and the console's labels throughout: German with the formal imperative, Chinese with 实例 for an install and 身份提供商 for the identity provider. Links follow the anchors that changed. ([#132](https://github.com/logicplanes/kaeso/pull/132), [#137](https://github.com/logicplanes/kaeso/pull/137), [#138](https://github.com/logicplanes/kaeso/pull/138))
- The documentation's and the showcase's changelog pages refuse raw HTML, and links other than http, https and mailto, in `CHANGELOG.md`. Each site checks every part it renders with the Markdown parser that renders it, and the build fails and names the line, so a changelog entry can never run code on either site. HTML written in a code span or a code block is fine.

## 移除

### Documentation

- The performance, dependencies and KPP field classes pages are gone. The licence policy lives under Contributing and the field classes under KPP internals, and each old address leads to the page that replaces it. ([#111](https://github.com/logicplanes/kaeso/pull/111), [#113](https://github.com/logicplanes/kaeso/pull/113), [#127](https://github.com/logicplanes/kaeso/pull/127))

## 修复

- German and Chinese read consistently across the console, the UI library, the showcase, the documentation site, the emails and the updating page. German addresses the reader as Sie and Chinese as 您, both follow the translation glossary, and every Platform API message now has a German and a Chinese translation in the console. CI fails on text left in English, on informal address and on mixed punctuation, and a gateway test fails when a Platform API message has no console translation. ([#84](https://github.com/logicplanes/kaeso/pull/84), [#86](https://github.com/logicplanes/kaeso/pull/86), [#87](https://github.com/logicplanes/kaeso/pull/87), [#88](https://github.com/logicplanes/kaeso/pull/88), [#89](https://github.com/logicplanes/kaeso/pull/89), [#92](https://github.com/logicplanes/kaeso/pull/92), [#110](https://github.com/logicplanes/kaeso/pull/110))

### Gateway

- Requests are refused before sending wherever the API or the model would refuse them. Anthropic Messages requests without `max_tokens` get Anthropic's 400 `invalid_request_error` instead of the model's output limit, while the OpenAI formats still get it; OpenAI Responses requests with `max_output_tokens` below 16 are refused, also from other formats; Claude Fable 5.1, Opus 5.5 and Sonnet 5.5 requests with a forced tool choice are refused, with a new catalogue field, Accepts a forced tool choice, to change it per model; and adaptive thinking for a Claude model without it is refused. Anthropic-format error bodies carry the request's id in `request_id`, and capability refusals name the app's own field. ([#34](https://github.com/logicplanes/kaeso/pull/34))
- Rights changes no longer leave a right without one it needs. A change to a member's, service account's or role's rights is refused with `400` when it removes a needed right, also when that right already lacked another of its needs. A custom role change that would leave any member, project member or service account who holds the role with a right but without its need is refused with `400`, in the console too. The message names the right, its need and how many holders it affects, and nobody's rights change. ([#41](https://github.com/logicplanes/kaeso/pull/41), [#42](https://github.com/logicplanes/kaeso/pull/42))
- A single sign-on refused by the identity provider, such as with `access_denied`, ends its sign-in flow and returns to the sign-in page with `next`. When the sign-in began from an organization's sign-in link, it also keeps `org`, so that organization's button shows again. Requests refused before they reach a model in another format name the field the app sent, such as `max_completion_tokens` or `max_tokens` rather than `max_output_tokens`. The bundled Caddy has a health check, so `docker compose up -d --wait` returns only once Caddy serves too. ([#44](https://github.com/logicplanes/kaeso/pull/44))
- Model availability is recorded more reliably. The request log keeps the provider's own 404 message, while the app still gets Kaeso's explanation. A check or request under way while an org admin replaced, assigned, made default or deleted a provider key no longer records the old key's answer over the reset; the check reports such models as `key_changed`. A provider that answers 404 to `GET /v1/models/{model}`, such as an OpenAI-compatible service without that endpoint, no longer makes every model Unavailable. Kaeso marks a model unavailable only when the provider's listing answers and lacks it; otherwise it passes the 404 through and reports the check as `inconclusive`. ([#46](https://github.com/logicplanes/kaeso/pull/46))

### Console

- The console's audit logs show the actor's profile picture, in the Actor column and in the actor filter, instead of only an initial, and a project's API keys show their owner's picture. ([#30](https://github.com/logicplanes/kaeso/pull/30))
- Everything typed after ⌘K or Ctrl+K reaches the search of the documentation site and the console's command palette, also while its code is still loading and in the moment before its field has focus. `CommandPalette` takes `query` to show a query its host keeps. ([#61](https://github.com/logicplanes/kaeso/pull/61))
- Turning two-factor authentication on or off, or changing your password, no longer signs you out when the console was loading something at the same moment.

### UI library

- Collapsible, Accordion and the sidebar no longer shift their content while they open or close, so a press during the animation is no longer lost. ([#22](https://github.com/logicplanes/kaeso/pull/22))
- The component registry in `@logicplanes/kaeso-ui` lists every component's default variants again, without an extra `_DEFAULT` entry per component. ([#27](https://github.com/logicplanes/kaeso/pull/27))
- Dialogs whose content changes, such as a `StepDialog`'s steps or a `LayerDialog`'s layers, stay centered and resize smoothly instead of jumping. `StepDialog` takes `result` to show what the last step made in the same dialog, so creating a key or a platform key, or setting up two-factor authentication, no longer opens a second dialog. A dialog stays open while its work is underway: `Dialog` and `LayerDialog` take `busy`, and `StepDialog` and `AlertDialog` are busy while they submit. Closing Create key while the key is being created no longer loses its one-time secret, and no console action can be sent twice. ([#38](https://github.com/logicplanes/kaeso/pull/38))
- The parts of `@logicplanes/kaeso-ui` that load their code on demand recover from a failed download instead of staying broken until a reload. This covers `AppFrame`'s phone navigation and the collapsed sidebar's peek, the sidebar's menus, tooltips, date pickers, and a list's checkboxes and later rows. The next tap, hover, focus or scroll loads the code again, from a fresh address in Chromium and WebKit; nothing retries on its own. While `AppFrame`'s sheet is still on its way, Escape, a tap outside or the toggle takes the tap back, and a pointer that leaves the button cancels the peek. ([#45](https://github.com/logicplanes/kaeso/pull/45))
- `ScrollArea`, and with it the tables in the documentation, scrolls only in its own direction and only when its content overflows, so a table that fits no longer bounces or holds back the page's scroll. Inline `Code` in the documentation flows with the text around it and has 4px of padding inside the chip, so a comma or closing bracket after it stays beside it. `Code` takes `flow="cell"` for long code in a table cell. ([#58](https://github.com/logicplanes/kaeso/pull/58))
- On touch screens, code blocks keep their first line clear of the copy button, so the end of a one-line command is no longer hidden on a phone. ([#78](https://github.com/logicplanes/kaeso/pull/78))
- A step dialog that moves on while a select is still closing no longer causes ResizeObserver loop errors. Every resize observer in the library now applies its changes together on the next frame. ([#82](https://github.com/logicplanes/kaeso/pull/82))

### Documentation

- Tables in the documentation keep their words whole and scroll inside a named region when they are wider than the screen, and the previous and next links show their label above the page title. A ScrollArea with an `aria-label` is now a region that screen readers announce. ([#24](https://github.com/logicplanes/kaeso/pull/24))
- The introduction's diagram runs top to bottom, so it fits a phone in every language. ([#80](https://github.com/logicplanes/kaeso/pull/80))
- Statements that no longer matched the gateway and the codecs are corrected. Among them are which instance and update settings need a recent sign-in, what effort `none` does on Claude, and which OpenAI error bodies reach which apps. ([#136](https://github.com/logicplanes/kaeso/pull/136))

### Self-hosting

- The console image sets the permissions of its files itself, so an image built with a strict umask serves the console instead of restarting silently, and it names any file it can't read. Each release pulls both images for both platforms without signing in and fails with what to do when a package is private, and the guides use `docker compose up -d --wait` and show a proxy in Docker on a network of its own. Both sites ship their Content Security Policy in a `<meta>` and in `csp.txt` and `_headers`, with the documentation under `script-src 'self'; style-src 'self'`, now that ScrollArea and Select no longer add an inline `<style>` element. ([#36](https://github.com/logicplanes/kaeso/pull/36))

## 安全

### Gateway

- The gateway no longer logs the setup link, which anyone reading its logs could have used to take over an install before its first user existed; it says to run `kaeso setup-link` instead. Installs can sign in with single sign-on alone: the sign-in page offers the identity provider's button when it is the only one or comes from an organization's sign-in link (`/sign-in?org=…`), and can start at the provider without a click. `GET /platform/v1/auth/oidc/start` links straight to the provider. Setup with passwords off asks for none, and `kaeso user sign-in-link <email>` prints an audited one-time link. Single sign-on returns to the page in `next`, which must be a console path, and the cross-site refusal names the `Origin` header to send. ([#39](https://github.com/logicplanes/kaeso/pull/39))

### Console

- The console no longer shows an API key's secret again after its dialog was closed; until a reload, the next Create key opened on the last key's secret. The secret now leaves the page and the console's memory once the dialog has closed. Every console dialog opens fresh, including transfer ownership, add owner, send test email, change email, change password, export requests and add models, through `DialogScope` in `@logicplanes/kaeso-ui`, which mounts its content anew on each open. The command palette keeps its results while it closes, and the documentation search opens with an empty query. ([#32](https://github.com/logicplanes/kaeso/pull/32))

## 更多版本

- 较早版本：[Kaeso 0.1.0](https://kaeso.app/zh-CN/changelog/0.1.0.md)（2026年10月16日）：The first release of Kaeso, the open-source AI gateway you run yourself: the gateway, KPP, the console, the UI library and the documentation, from one repository under one version.
- 较新版本：[Kaeso 0.2.1](https://kaeso.app/zh-CN/changelog/0.2.1.md)（2026年10月18日）：Kaeso 0.2.1 changes only how releases are published on GitHub.

[所有版本](https://kaeso.app/zh-CN/changelog.md)

## 不是服务。是您自己运行的软件

一条命令即可在任何装有 Docker 的 Linux 服务器上安装最新版本 Kaeso 0.7.0，以及 Caddy、控制台、PostgreSQL、ClickHouse 和 Valkey。

```bash
curl -fsSL https://kaeso.app/install.sh | sh
```

[安装 Kaeso](https://docs.kaeso.app/zh-CN/self-hosting/installation) · [打开在线演示](https://demo.kaeso.app)
