v1.2.0
[1.2.0] - 2026-08-25
Added
- Anthropic Messages API shim (
POST /v1/messages,POST /v1/messages/count_tokens) so Claude Code runs against Aegis viaANTHROPIC_BASE_URL;x-api-keyauth accepted. - Agentic CLI conversations (requests carrying
tools) are routed into Sessions: follow-up turns are recognized by transcript prefix and resume the same SDK session, sending only new turns. The client system prompt is recorded on the session. - Delete revoked API keys from the dashboard and
DELETE /admin/api/keys/{id}; usage history keeps its tenant attribution. - Completions: searchable tenant filter, redesigned detail view with collapsible system prompt, tool calls, and markdown rendering.
- Compose host port override via
AEGIS_PORT.
Changed
- OpenAI shim returns real
tool_callsfor requests withtools(previously ignored), reports failures as HTTP 502 / SSEerrorframes instead of assistant text, returnscontent: nullfor tool-only replies, and serves the full model catalog on/v1/models. - Client system prompts are embedded in the prompt body instead of replacing the CLI system prompt.
Fixed
- Client disconnects mid-stream no longer poison the SQLite connection pool.
- Large client system prompts no longer fail with a spurious "out of extra usage" error.
Full Changelog: v1.1.0...v1.2.0