| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: kit-bash-completion | Distribution: openSUSE Tumbleweed |
| Version: 0.145.0 | Vendor: openSUSE |
| Release: 1.1 | Build date: Fri Nov 27 14:53:54 2026 |
| Group: System/Shells | Build host: reproducible |
| Size: 15973 | Source RPM: kit-0.145.0-1.1.src.rpm |
| Packager: https://bugs.opensuse.org | |
| Url: https://github.com/mark3labs/kit | |
| Summary: Bash Completion for kit | |
The official bash completion script for kit, generated during the build.
MIT and Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause
* Thu Nov 26 2026 Egbert Eich <eich@suse.com>
- Update to version 0.145.0
* Features
- acp:
- ACP mode now supports permissions, client file system and
terminal access, slash commands, plans and authentication
errors.
- Extensions now work in ACP mode.
- acpserver:
- The ACP server supports changing the model of a session
(`session/set_model`).
- agent:
- Failed streaming steps are resumed after transient errors.
- agents:
- Agents can be defined by name, and each agent can have its
own tool restrictions.
- app:
- Token counts and context fill are updated after every step.
- auth:
- Kit starts without API keys, and a `/connect` dialog lets
you enter a key.
- codemode:
- A new code mode tool runs JavaScript that calls other tools.
- compaction:
- Compaction uses adaptive budgets, estimates tokens over
full message parts and anchors its summaries.
- On context overflow errors, the conversation is compacted
automatically and the request is retried.
- config:
- A `noOAuth` flag skips OAuth for public MCP servers.
- Custom models can set their own `baseUrl` and `apiKey`.
- daemon:
- Sessions can be detached, reattached and shared between
several clients.
- Images can be pasted into remote sessions, and an image
preview is shown.
- Added local sessions, a session multiplexer and a hub for
multiple hosts.
- Detachable sessions are the default when a daemon runs.
- Remote access uses pairing (protocol v3).
- An in-process go-iroh transport replaces the Rust kit-tunnel
sidecar.
- The protocol is now stable, and sessions survive a restart
of the daemon.
- examples:
- The subagent-monitor example is rebuilt around `ShowOverlay`.
- extensions:
- The extension context has new functions: `Abort`, `IsIdle`,
`Compact`, `SendMultimodalMessage`, `GetSessionUsage`,
`GetSystemPrompt` and `GetTheme`.
- Added a GitHub handler extension and access to environment
variables.
- Added `OnLLMUsage`, `SetState` and a more detailed
`AgentEndEvent`.
- Added `OnMCPToolsReady`, which gives a summary of the MCP
servers.
- Extensions can render custom widgets, and widgets can fill
the full height of the transcript.
- Added hooks for a presentation mode.
- Extensions reload automatically when their files change,
and a `/reload-ext` command is available.
- Added a popup-terminal example with a persistent shell and
a preferred-models example.
- New APIs give the terminal size, the thinking level and the
turn state.
- Inline bash in the editor is expanded in interactive mode.
- `ToolOutputEvent` is available to extensions.
- Extensions can read model pricing and OAuth status.
- Extensions can use the decide API with a configured default
model.
- Registering and dispatching keyboard shortcuts is more
robust.
- Extensions can be loaded from a system-wide directory.
- Subagent monitor panes show the agent name.
- github:
- GitHub integration works end-to-end through a core command
and an action.
- hooks:
- `OnPrepareStep` gives access to the tool choice of each
step.
- jobs:
- Added background jobs, and the conversation continues when
job events arrive.
- mcp:
- Remote MCP servers support OAuth.
- MCP servers can be loaded and unloaded while Kit runs.
- Embedded resources in prompt messages are handled.
- Added configuration for SSE servers, with support for the
Authorization header.
- Environment variables can be set in the MCP configuration.
- models:
- Custom model configurations have a new `apiModelName` field.
- Experimental mode controls are available in the TUI.
- Each model can have its own default generation parameters
and system prompt.
- Reasoning levels, tiered pricing and model status come from
the catalog.
- Bedrock and Vertex can be configured in Kit's own configuration
files.
- Requests to opencode providers include an `x-opencode-session`
header.
- Reasoning effort levels can be specific to a model.
- Silent truncation at the max-tokens limit is reported and
prevented.
- prompts:
- Added `$+` for required variadic arguments, and code is no
longer treated as placeholders.
- Prompts and extensions reload automatically from the XDG
configuration directory.
- read:
- Image files are returned to the model as images it can view.
- session:
- Added local and remote session management.
- Shared sessions include the system prompt and the model.
- shell:
- Bang commands stream coloured output.
- skills:
- Skills can be activated with `/<name>`.
- Skills fully comply with the agentskills.io specification.
- subagent:
- Added `/kill-subagent` to stop running subagents.
- Child sessions are linked to their parent and can be resumed.
- An invalid model gives an error immediately, with no silent
fallback.
- subagents:
- Child conversations can be inspected natively.
- ui:
- New slash commands: `/copy` copies the last message, `/edit`
opens a fuzzy file picker, `/retry` sends the last user
message again, and `/undo` rolls back the last turn.
- The input editor autocompletes `:shortcode` emoji.
- The session selector and the tree selector have a bordered
container and better styling.
- Images are shown as horizontal tiles, and a modal shows the
full image preview.
- Long lines are truncated in the Ls tool output and in
streaming bash output.
- `/model` opens as an overlay, lists all models and disables
models that have no credentials.
- Added a subagent status bar and a run picker.
- The startup wordmark is animated with a shine and a scanner
sweep.
- `/skill:<name>` slash commands are autocompleted.
- The steer keybinding changed to the `Ctrl+X s` leader chord.
- Syntax colours come from the theme, and palette collisions
are fixed.
- The spinner shows the subagent type.
- Image previews in the transcript use the Kitty graphics
protocol, and attached images get half-block thumbnails.
- Live activity has its own row, and the surrounding chrome
is quieter.
- `@file` tokens in user messages are highlighted with the
accent colour.
- Mouse selection works at character level, supports copy and
stays after a copy. The PRIMARY selection is set.
- Quit with `/quit` or Ctrl+C.
- The slash command popup has better contrast.
- The TUI layout and animations use bloom, with more polished
transitions and feedback.
- The startup banner lists the loaded extensions.
- `/fork` and `/new` create a new session file.
- All parts use one gutter style, tool receipts are quieter,
and the splash screen scales.
- The `Ctrl+X e` chord opens an external `$EDITOR`.
- The message navigation inspector is improved, and the
markdown theme is fixed.
- Prompts with arguments fill the input and are not sent
automatically.
- `/resume` and `/import` show the session history.
- The scrollback is repainted when the theme changes.
- Terminal capabilities are detected when needed and for each
client.
- `/help` and the info commands open as modal sheets that
support mouse selection.
- Subagent results show a clean summary instead of raw output.
- Subagents get the same live view as the parent.
- Bash output streams in the TUI.
- Added `/new <prompt>` and `ctx.NewSession` for handoffs
between phases.
- A warning is shown when the provider reports no token usage.
- Added custom models through the configuration file.
- Added extension installation from git repositories (`kit
install`), with a multi-select when a repository has more
than one extension.
- Updated model aliases for Anthropic, OpenAI and Google Gemini.
- Added the `!` and `!!` shell command prefixes, with a spinner
and a command header while the command runs.
- Added a `/model` slash command with an interactive fuzzy-finding
selector.
- Added a `/share` command and a session viewer.
- Added a `/theme` command with 22 built-in themes and file-based
theme discovery, and a KITT-inspired theme system with unified
markdown colours.
- Added `@file` autocomplete and context attachment, with MIME
detection and MCP resource support.
- Added an ACP server mode.
- Added Google Vertex AI support for Claude models.
- Added the OpenAI Responses API for codex, gpt-5, o3 and o4
models.
- Added Pi-style prompt templates.
- New extension events and APIs:
- `OnContextPrepare` filters and injects content in the context
window.
- `OnModelChange` and `ctx.Exit()`.
- `OnEvent` and `SubscribeSubagent` stream subagent events
in real time.
- `UIVisibility` and `GetContextStats`.
- Session before-hooks (`OnBeforeFork`, `OnBeforeSessionSwitch`)
and the `OnBeforeCompact` compaction event.
- APIs for sessions, persistence, editor text and the status
bar.
- Rich tool metadata in extension events.
- Extensions can now add:
- Custom header and footer regions, widget slots and custom
message rendering.
- Custom tool rendering, with compact tool renderers.
- Editor interceptors.
- Interactive prompts (select, confirm, input) and modal
overlay dialogs.
- Keyboard shortcuts, tool context, and a source field in
`ToolCallEvent`.
- Themes, registered and switched from code.
- Tab completion for the arguments of their slash commands.
- Added tool management, model management, options, an event
bus, LLM completion, steer mode and 10 example extensions.
- Added example extensions: go-edit-lint, kit-kit, kit-telegram,
subagent monitoring and subagent-widget.
- The TUI can be suspended.
- Paste images from the clipboard with Ctrl+V.
- Added copy and paste support.
- Added first-class subagents for delegating tasks. Subagents
run in-process instead of as separate processes.
- Added frequency-penalty and presence-penalty parameters.
- The bash tool asks for the sudo password interactively.
- Added live streaming text in the scroll viewport.
- The edit tool supports multiple edits in one call.
- Added visual selection highlighting with theme colours.
- Added streaming of compaction summaries.
- Added thinking model support with configurable reasoning
levels.
- Models are validated with advisory messages, and a Vercel
provider is added.
- Empty sessions are removed on shutdown and on `/resume`.
- Custom prompts and skills reload automatically when their
files change.
- Prompt caching is automatic to reduce cost.
- A double ESC cancels tool calls without breaking API call/result
pairs.
- The height of streaming bash output is capped, and the output
is replaced by the tool result when the command completes.
- Model notation changed from `provider:model` to `provider/model`.
- Added a daemon mode with remote sessions over iroh, a
single-instance lock, `kit daemon status` and a systemd user
service.
- One daemon endpoint serves multiple sessions, with teardown
for each session.
- Tools run in parallel, and the status display shows several
tools.
- Hooks can give feedback to the LLM.
- Requests identify themselves as KIT.
- Full alt screen mode with an in-memory scrollback.
- Compaction is improved: it handles split turns, tracks files
and keeps the persisted history.
- Bash tool timeouts can be configured in `kit.yml`.
- The model selection, thinking level and theme are kept across
sessions.
- models.dev replaces catwalk, and OpenAI-compatible providers
are routed automatically.
- A KITT-style red scanning animation replaces the spinner.
- System prompts are supported.
- Token usage is updated after each step in multi-step turns.
- Added a `/history` command.
- Added the Azure OpenAI provider.
- Added Google Gemini support.
- A KIT logo is shown above the startup information in the TUI.
- Added OpenAI ChatGPT/Codex OAuth authentication next to
Anthropic authentication.
- Added built-in HTTP functionality.
- gpt-codex-spark models give a clear error message.
- Added a hooks system for lifecycle events.
- Providers declare their wire protocol explicitly.
- Message navigation and an inspector are available with `Ctrl+X
m`.
- A message window prevents overloading the context.
- Ctrl+S steers the agent mid-turn.
- The Google type converter supports number and integer types.
- Thinking tags are parsed in ACP mode.
- Added usage statistics and handling of overloaded errors.
* Bug Fixes
- acp:
- The ACP server follows the ACP v1 specification.
- `mcpServers` defaults to an empty array when a client omits
it.
- The configured thinking defaults are kept for new sessions.
- The startup message is no longer written to stdio output.
- agent:
- `AddTools` and `RemoveTools` take effect at the next LLM
step of a running turn.
- Streaming is more resilient, and retries are safe.
- Anthropic prompt caching is now effective.
- Kit recovers when the provider rejects image tool results.
- Overload errors are retried even without a transient flag.
- Tool call arguments are tracked for each call when tools
run in parallel.
- anthropic:
- `output_config.effort` is sent for models that support
effort levels.
- app:
- The layout resets after a widget is removed.
- Queued messages are sent after `/compact` completes.
- `ctx.NewSession` waits until the agent is idle.
- auth:
- OAuth credentials work in ACP mode, and tokens refresh
automatically.
- compaction:
- The API token baseline is kept after compaction.
- config:
- The default model is now claude-sonnet-5-5.
- core:
- Bash output is no longer truncated in the middle of the
output.
- A bash line that is too long no longer stops the streaming.
- The read tool returns an error when used on a directory.
- The `jobs_list` schema sends an empty required array.
- daemon:
- A lone Escape is delivered on idle time without waiting for
more input.
- Sockets are found across different runtime environments.
- Hosted sessions get the full environment of the caller.
- The terminal is handed back correctly, the alt screen is
kept, and the sidecar is never left orphaned.
- Escape-sequence handling is more robust.
- Ctrl-V is intercepted under the kitty keyboard protocol.
- Choices on the same daemon stay local.
- Session size and truecolor are kept across attach.
- The connection stays alive across a session switch.
- The detach chord stays armed across the kitty Ctrl-X release.
- The pairing window stays open after a failed attempt, and
approvals queued after the window expires are rejected.
- Remote sessions are listed on attach, and the client terminal
is forwarded.
- Client control requests and attach can be cancelled.
- Clipboard images are published next to their destination.
- Terminal capabilities are refreshed in live sessions.
- A shared session grows again when its smallest client leaves.
- Terminal modes are replayed to clients that attach during
a session.
- A session whose client never learned its ID is retired.
- Sessions shut down predictably across daemon restarts.
- The picker starts new sessions on the connected host.
- The session is told which multiplexer the client runs in.
- Stdin is unblocked after a picker closes.
- extbridge:
- The run error is kept, and `OnComplete` fires when a subagent
returns no result.
- extensions:
- go-edit-lint runs once per turn.
- Spawning a subagent no longer blocks and returns a usable
handle.
- Extension state stays consistent during hot-reload.
- Deadlocks in TUI callback notifications are prevented.
- The model in use is reported correctly.
- Blocked or disabled tools return their reason to the LLM.
- Handler calls are serialized for each extension to prevent
data races.
- `_test.go` files and example subdirectories that are not
extensions are skipped.
- Logging respects the configured log level.
- The manifest `Include` is kept on update.
- kit:
- Streaming works for subagent child instances.
- Prompt changes made at runtime are kept across a model
switch.
- The system-prompt file path is resolved correctly.
- mcp:
- OAuth configuration applies to servers added at runtime.
- Connections are released when tool discovery fails.
- MCP tool failures are reported as soft errors and no longer
abort the run.
- `tasksMode` is validated, and subagents inherit the task
options.
- models:
- gpt-5.4 supports reasoning levels, with automatic adjustment.
- New OpenAI models are routed to the Responses API automatically,
including gpt-6 and later.
- Unpriced models are no longer shown as free.
- Automatic routing honours the provider API set for each
model.
- Stored OpenAI OAuth credentials take priority over API keys.
- Provider-qualified catalog keys are resolved.
- Auto-discovered providers are routed by their wire protocol.
- opencode gpt-* and grok-* models use the Responses API.
- Thinking and prompt caching work for Claude on Bedrock and
Vertex.
- ollama:
- The model is no longer reloaded on every run.
- pkg:
- `<think>` tags in the stream are handled transparently.
- session:
- Sessions with lines longer than 1 MiB are listed.
- Persisting sessions is more robust: locking, ownership,
repair of torn lines and atomic writes.
- Kept messages are ordered before the branch created after
compaction.
- Circular parent references in tree sessions are prevented.
- Tree diagnostics are logged at debug level.
- skills:
- Symlinked skill entries and resources are followed.
- Skills activated from files stay current.
- Name collision messages go to the log file at info level.
- Empty activation and a workspace resource policy are
supported.
- Saved runtime skills activate even when the catalogue is
empty.
- startup:
- The model selector opens when a provider error occurs.
- steer:
- Steering messages are kept for the whole turn and are never
dropped.
- subagent:
- The resume session ID is shown in the tool result text.
- Duplicate MCP tool names and unnecessary reloads are
prevented.
- Subagents no longer fail immediately when the parent context
has already ended.
- The biased model example is removed from the tool schema.
- tui:
- Log output goes to a file so that it does not corrupt the
TUI.
- tunnel:
- The number of over-cap rejection tasks is limited.
- Slot reservations made before authentication expire.
- Stalled session slots are released after a timeout.
- ui:
- Token usage is added up over all steps of a turn, and context
tracking includes cache tokens.
- Layout: all blocks share one left edge and one geometry,
and every message block uses the full width.
- User messages have a uniform background fill and a full-height
left border.
- Background banding is fixed.
- Image previews are not redrawn when nothing changed.
- Long lines are clipped in fallback tool result output.
- Queued and steering messages are shown as styled, truncated
blocks with a QUEUED badge, anchored to the input.
- Labels for user and info messages are corrected.
- Mouse selection no longer drifts with reasoning blocks,
extension widgets, code blocks or while output streams.
- Only extension tools are counted in the extension tool
count.
- The image preview mode follows the detected terminal
capabilities.
- The name column in the slash command popup has a dynamic
width.
- Slash commands run in the TUI and are not sent to the LLM.
- Wide markdown tables fit the chat width.
- The reasoning counter stops when the last token is processed.
- Usage costs are hidden for all subscription OAuth providers.
- The activity row stays visible during message navigation,
and the layout adapts when the row appears or disappears.
- Plain shell output rows keep the theme colour.
- Models without credentials can still be found in the model
selector.
- Ctrl+C clears the input first, and a double Ctrl+C is needed
to quit.
- Messages are no longer rendered twice after reasoning-only
responses.
- Auto-scroll is enabled again when a new message is sent.
- Visual noise in the TUI is reduced.
- Typography, spinner frames and colours are refreshed when
the theme changes.
- Agent messages have no border, and user messages have a
left border in the primary colour.
- Text inputs have no character limits, and the transcript
resizes when the composer grows.
- j/k navigation is removed from fuzzy selectors.
- The autocomplete badge is a theme-coloured chip, and the
description of the cursor row stays visible.
- Selectors are drawn in the alt screen buffer.
- The queue deadlock is fixed.
- Startup information messages are shown again in the interactive
TUI, in the correct order.
- MCP tools are shown in `/tools` and in the status bar after
they load asynchronously.
- All lines of a prompt are shown.
- Pasted images are previewed in the input and in the transcript.
- Confirmations are shown only once.
- Diffs no longer overflow narrow terminals.
- The response is no longer duplicated after an interrupted
turn.
- Empty blocks no longer appear when session messages are
loaded.
- Assistant messages, user messages and reasoning blocks wrap
to the terminal width.
- Tool error output is shown in a caution alert block.
- watcher:
- New subdirectories are watched for skill and prompt reloads.
- Debug logging that corrupted the TUI is removed.
- `/tree` and `/fork` no longer lose context.
- Malformed properties no longer cause a panic.
- ESC now cancels the agent response.
- Shell command output is truncated to the same limits as the
core bash tool.
- Temperature and top_p no longer conflict for the Anthropic
API.
- The client terminal is cleaned up after a remote session
exits.
- Orphaned terminal rows are cleared after stream content is
flushed.
- JSON Schema draft-07 exclusive bounds are converted to draft-04
format.
- Fuzzy match positions and diff generation in the edit tool
are fixed.
- Token usage and cost tracking are correct for multi-step tool
calls and are no longer counted twice.
- Sending tool results to Anthropic and Google no longer crashes.
- Diff and code background colours come from the active theme.
- Subagent contexts no longer depend on the parent deadline.
- "Finished without output" is no longer shown for empty assistant
messages.
- Escape sequences no longer leak from spinner instances.
- MCP tool results show readable text instead of raw JSON.
- Subagents recover from bad model names and use the parent
provider for bare model names.
- Custom provider models and bare model names are kept correctly.
- Input keybindings, user message rendering and scrollback
ordering are improved.
- Steering messages include pasted images and appear immediately.
- The vim interceptor stays active in both modes, so Esc returns
to normal mode.
- Anthropic `cache_control` blocks are limited to 4.
- The TUI responds to terminal resizing at any size.
- `.wav` files use the `audio/wav` MIME type.
- The bash tool uses bash as `SHELL` and no longer hangs on
long-running or background processes.
- Image file parts are passed to the model.
- Completed messages and tool calls are kept in the session
when ESC cancels.
- The full content is kept in the scrollback.
- The spinner animation no longer runs at double speed.
- Text is no longer duplicated when streaming content is flushed
before tool calls.
- A null `required` field in MCP tool schemas no longer breaks
the OpenAI API.
- Thinking tags from Qwen and DeepSeek models are handled.
- The line-number gutter is removed from ls tool output.
- Reasoning blocks are shown when a session is resumed.
- Scrolling works in reattached and busy sessions.
- `/new` resets the usage, and costs are no longer estimated.
- opencode models use the correct provider API.
- Before-hook callbacks no longer deadlock the TUI.
- Health check logging appears only in debug output.
- Long lines are truncated so that they do not break the TUI.
- Thinking output blocks have a uniform background.
- Token counting updates when the model changes during a session.
- Extension names from `main.go` use the name of the immediate
parent directory.
- `reasoning_content` is omitted when empty in OpenAI messages.
* Maintenance
- ui:
- Thinking blocks have a subdued, colour-coded, italic style.
- Keybindings work better in terminal multiplexers.
- Tool names in the spinner are simpler.
- All popups, including the session picker, use one popup
list.
- Message rendering uses the herald typography library.
- The splash stripe is removed.
- The scanner LEDs are segmented, and the logo text is centred.
- Markdown rendering moved from glamour to herald-md.
- Extension discovery works in repositories that mix extensions
with other content.
- Select and copy are disabled.
- The embedded model catalog is refreshed from models.dev.
- What was new in version 0.144.0
* Features
- acp: ACP server mode.
- acp: Support for permissions, client file system and terminal
access, slash commands, plans and clearer authentication
errors.
- acpserver: The session/set_model ACP method is now implemented.
- agent: Streaming steps that fail because of transient errors
are now resumed.
- agents: Named agent definitions, each with its own tool
restrictions.
- app: Token counts and context fill update after every step.
- auth: Kit starts without API keys, and a new /connect dialog
lets you enter keys.
- codemode: New code mode tool that runs JavaScript, which can
call other tools.
- compaction: Adaptive budgets, token estimation over all message
parts, and anchored summaries.
- compaction: When the context overflows, Kit compacts automatically
and retries.
- compaction: Better compaction with split-turn handling and
file tracking, and the history is kept on disk.
- compaction: Compaction summaries now stream.
- config: New noOAuth flag skips OAuth on public MCP servers.
- config: Custom models can set their own baseUrl and apiKey.
- config: Bash tool timeouts can be set in kit.yml.
- config: MCP server configuration accepts environment variables.
- config: YAML configuration files are supported.
- daemon: Daemon mode with remote sessions over iroh.
- daemon: Single-instance lock, a daemon status query, and a
systemd user service.
- daemon: Sessions can be detached, reattached and shared between
several clients.
- daemon: Sessions are detachable by default when a daemon runs.
- daemon: Local sessions, a session multiplexer and a hub for
multiple hosts.
- daemon: Several sessions share one endpoint and are torn down
one at a time.
- daemon: Remote access uses pairing (protocol v3).
- daemon: Images can be pasted into remote sessions, and a
preview is shown.
- daemon: The remote transport now runs inside Kit, so no
separate tunnel sidecar is needed.
- daemon: Sessions keep running when the daemon restarts, and
the protocol version is stable.
- examples: The subagent-monitor example now uses ShowOverlay.
- extensions: New context functions: Abort, IsIdle, Compact,
SendMultimodalMessage, GetSessionUsage, GetSystemPrompt and
GetTheme.
- extensions: New OnLLMUsage, OnMCPToolsReady, OnContextPrepare,
OnModelChange and ToolOutputEvent hooks, SetState, a richer
AgentEndEvent, and ctx.Exit().
- extensions: Session before-hooks (OnBeforeFork, OnBeforeSessionSwitch)
and a compaction hook (OnBeforeCompact).
- extensions: APIs for terminal size, thinking level, turn
state, model pricing, OAuth status, UI visibility and context
statistics.
- extensions: APIs for session management, persistence, editor
text and the status bar.
- extensions: Access to the decide API with a configured default
model.
- extensions: Custom widget rendering, widget slots for persistent
TUI content, and widgets that can fill the transcript height.
- extensions: Custom header and footer regions, custom tool
rendering, compact tool renderers and custom message rendering.
- extensions: Modal overlay dialogs and interactive prompts
(select, confirm, input).
- extensions: Editor interceptor system, and inline bash expansion
in the editor in interactive mode.
- extensions: Keyboard shortcuts, with more robust registration
and dispatch, plus tool context.
- extensions: Tab completion for the arguments of extension
slash commands.
- extensions: API to register and switch themes.
- extensions: Hooks for a presentation mode.
- extensions: Hot reload with file watching and a /reload-ext
command.
- extensions: Extensions can be loaded from a system-wide
directory.
- extensions: Hooks can send feedback to the LLM.
- extensions: Extension types are exported from pkg/extensions.
- extensions: Tool, model and option management, an event bus,
LLM completion, steer mode and 10 example extensions.
- extensions: New git-based install command for distributing
extensions, which shows a multi-select when a repository holds
several extensions.
- extensions: GitHub handler extension, with access to environment
variables.
- extensions: New examples: popup-terminal with a persistent
shell, preferred-models, kit-kit meta-agent, subagent-widget,
kit-telegram, and go-edit-lint with TUI diagnostics.
- extensions: Subagent monitoring extension with a horizontal
widget layout, which shows the agent name in each pane.
- extensions: Tool events carry richer metadata.
- github: The GitHub integration works end to end through a
core command and a GitHub action.
- hooks: OnPrepareStep can set ToolChoice for each step.
- hooks: Hooks system for lifecycle events.
- jobs: Background jobs and event-driven continuation.
- mcp: OAuth support for remote MCP servers.
- mcp: MCP servers can be loaded and unloaded while Kit runs.
- mcp: Embedded resources in prompt messages are handled.
- mcp: SSE servers can be configured, including Authorization
headers, and remote SSE MCP servers are supported.
- models: New apiModelName field for custom models.
- models: Experimental mode controls in the TUI.
- models: Per-model defaults for generation parameters and
per-model system prompts.
- models: Reasoning levels, tiered pricing and model status
come from the catalog.
- models: Model-specific reasoning effort levels.
- models: Bedrock and Vertex can be configured in Kit's own
configuration files.
- models: The x-opencode-session header is sent to opencode
providers.
- models: Silent truncation at the max-tokens limit is reported
and prevented.
- models: Custom models can be defined in the configuration
file.
- models: Updated model aliases for Anthropic, OpenAI and Google
Gemini.
- models: Google Vertex AI support for Claude models.
- models: OpenAI Responses API support for codex, gpt-5, o3 and
o4 models.
- models: Support for thinking models, with configurable reasoning
levels.
- models: Frequency-penalty and presence-penalty parameters.
- models: Advisory model validation, and a new Vercel provider.
- models: models.dev replaces catwalk, and OpenAI-compatible
providers are routed automatically.
- models: Model notation changes from provider:model to
provider/model.
- models: The selected model and thinking level are kept across
sessions.
- models: Azure OpenAI and Google Gemini providers.
- models: OpenAI ChatGPT/Codex OAuth authentication, in addition
to Anthropic authentication.
- models: Requests identify themselves as coming from KIT.
- models: Prompts are cached automatically to cut costs.
- prompts: Placeholders support $+ (required variadic), and
code is not scanned for placeholders.
- prompts: Prompts and extensions in the XDG config directory
reload automatically.
- prompts: Pi-style prompt templates, and custom prompts and
skills reload automatically when changed.
- read: Image files are returned to the model as images it can
view.
- session: Local and remote session management.
- session: Shared sessions include the system prompt and the
model.
- session: Session management features: picker, history, /name,
/export and /import.
- session: Empty sessions are removed on shutdown and on /resume.
- session: /new and /fork create a new session file, as Pi does.
- shell: Bang commands stream coloured output.
- shell: ! and !! shell command prefixes, with a spinner while
the command runs.
- shell: The bash tool shows an interactive sudo password prompt.
- skills: Skills can be activated with /<name>, and Kit now
fully follows the agentskills.io specification.
- subagent: First-class subagent support for delegating tasks,
with subagents running inside the Kit process.
- subagent: New /kill-subagent command stops running subagents.
- subagent: Child sessions are linked to their parent and can
be resumed.
- subagent: An invalid model now returns an error at once instead
of silently using a fallback.
- subagents: Native inspection of child conversations.
- ui: New slash commands: /copy, /edit (with a fuzzy file
picker), /retry, /undo, /model, /share, /theme, /history and
/quit.
- ui: :shortcode emoji autocompletion in the input editor.
- ui: @file autocompletion and context attachment, smart @
attachments with MIME detection and MCP resource support, and
@file tokens highlighted in user messages.
- ui: Autocompletion for /skill:<name> commands.
- ui: Theme system with 22 built-in themes, themes discovered
from files, and the theme choice kept across sessions.
- ui: Syntax colours come from the theme, and the scrollback
is repainted when the theme changes.
- ui: Image previews drawn with the Kitty graphics protocol,
half-block thumbnails, horizontal image tiles and a full image
preview modal.
- ui: Clipboard image paste (Ctrl+V), and copy and paste.
- ui: Character-level mouse text selection and copy, with
theme-coloured highlighting; the selection stays after a copy,
and PRIMARY is set.
- ui: Full alt screen mode with in-memory scrollback.
- ui: Bash output streams live, with a command header, line
truncation and a height limit.
- ui: Line truncation in the ls tool renderer.
- ui: Parallel tool execution with a status display for multiple
tools.
- ui: Subagent status bar and run picker, the subagent type in
the spinner, a short summary of subagent results, and the
same live view for subagents as for the parent.
- ui: Session and tree selectors have bordered containers, and
/model opens as a popup overlay that lists all models and
disables those without credentials.
- ui: The startup wordmark is animated, with a KITT-style
scanning spinner; the TUI uses a new layout and animations,
and the splash screen scales.
- ui: The startup banner lists the loaded extensions.
- ui: Live activity has its own row, tool receipts are quieter,
and gutters look the same everywhere.
- ui: /help and info commands open as modal sheets.
- ui: Message navigation and inspector (Ctrl+X m).
- ui: Mid-turn steering, now on the Ctrl+X s leader chord, and
the external $EDITOR opens with the Ctrl+X e chord.
- ui: Session history is shown on /resume and /import.
- ui: Prompts that take arguments fill the input instead of
being submitted automatically.
- ui: /new <prompt> and ctx.NewSession hand work over between
phases.
- ui: Kit warns when the provider reports no token usage.
- ui: TUI suspend support.
- ui: Double-ESC cancels tool calls without breaking API pairs.
- ui: Token usage updates after each step of a multi-step turn.
- ui: Usage statistics, and a message window that prevents
context overload.
- ui: The edit tool supports several edits in one call.
- ui: Built-in HTTP functionality.
- ui: System prompt support.
* Bug Fixes
- acp: mcpServers defaults to an empty array for clients that
leave it out.
- acp: The ACP server follows the ACP v1 specification.
- acp: New sessions keep the configured thinking defaults.
- acp: The startup message no longer appears in stdio output.
- acp: Extensions work in ACP mode.
- acp: Thinking tags are parsed.
- agent: AddTools and RemoveTools take effect mid-turn, at the
next LLM step.
- agent: Streaming is more resilient, and retries are safe.
- agent: Anthropic prompt caching now works, with at most 4
cache_control blocks.
- agent: Kit recovers when the provider rejects image tool
results.
- agent: Overload errors are retried even when they are not
marked as transient.
- agent: Tool call arguments are tracked separately for parallel
calls.
- anthropic: output_config.effort is sent for models with graded
effort.
- anthropic: Conflicting temperature and top_p values are
cleared.
- app: The layout resets after a widget is removed.
- app: Queued messages are sent after /compact completes.
- app: ctx.NewSession waits until the agent is idle.
- auth: OAuth credentials work in ACP mode, and tokens refresh
automatically.
- compaction: The API token baseline is kept after compaction.
- core: Bash output is no longer cut off mid-drain, and very
long lines are handled.
- core: The read tool returns an error when given a directory.
- core: The bash tool no longer hangs on long-running or
background processes, and commands always run with bash.
- core: Fuzzy match positions and diff generation in the edit
tool are correct.
- daemon: A lone Escape key is delivered when input goes idle.
- daemon: Sockets are found in all runtime environments.
- daemon: Hosted sessions get the caller's full environment.
- daemon: The terminal is handed back correctly, the alt screen
is kept, and no sidecar is left orphaned.
- daemon: Escape sequences are handled more robustly.
- daemon: Ctrl-V and the detach chord work under the kitty
keyboard protocol.
- daemon: Session size and truecolor are kept across attach,
and terminal capabilities refresh in live sessions.
- daemon: The connection stays open across a session switch.
- daemon: The pairing window stays open after a failed attempt,
and approvals queued after it expires are rejected.
- daemon: Remote sessions are listed on attach, and the client
terminal is forwarded.
- daemon: Client control requests and attach can be cancelled.
- daemon: Clipboard images are published next to their destination.
- daemon: A shared session grows back when its smallest client
leaves.
- daemon: Clients that attach mid-session get the current
terminal modes.
- daemon: Sessions shut down predictably across daemon restarts.
- daemon: The picker starts new sessions on the connected host,
and stdin works again after a picker closes.
- daemon: The session is told which multiplexer the client runs
in.
- daemon: The client terminal is cleaned up after a remote
session exits, and scrolling works in reattached and busy
sessions.
- examples: Fixed a race in status-footer, kept the MCP table
when presentation.go is loaded too, and fixed tool names in
two gate examples.
- extensions: A subagent run error is kept, and OnComplete fires
when the subagent result is nil.
- extensions: go-edit-lint runs once per turn.
- extensions: Spawning a subagent no longer blocks and returns
a usable handle.
- extensions: Hot reload keeps the extension state consistent.
- extensions: TUI callback notifications no longer deadlock,
and before-hooks run without locking up the TUI.
- extensions: The extension context reports the model in use.
- extensions: Blocked or disabled tools return their reason to
the LLM.
- extensions: Calls to the same extension's handlers are
serialized, which prevents data races.
- extensions: _test.go files and non-extension example directories
are skipped.
- extensions: Logging is structured and respects log levels.
- extensions: The manifest Include list is written in one pass
and kept on update.
- extensions: Extension names for main.go come from the directory
that directly contains the file.
- extensions: The vim interceptor stays active in both modes,
so Esc returns to normal mode.
- kit: Subagent child instances stream.
- kit: Runtime prompt changes are kept across a model switch.
- kit: The system-prompt file path is resolved correctly.
- mcp: OAuth configuration applies to servers added at runtime.
- mcp: Connections are released when tool discovery fails.
- mcp: MCP tool failures are reported as soft errors instead
of critical aborts.
- mcp: MCP tool results are shown as readable text instead of
raw JSON.
- mcp: A null 'required' field in tool schemas no longer breaks
the OpenAI API, and JSON Schema draft-07 exclusive bounds are
converted to draft-04.
- models: gpt-5.4 reasoning levels are supported and adjusted
automatically.
- models: New OpenAI models, gpt-6+ models, and opencode gpt-*
and grok-* models are routed to the Responses API.
- models: Unpriced models are shown differently from free ones.
- models: The per-model ProviderAPI is honoured in auto-routing,
and auto-discovered providers are routed by wire protocol.
- models: Stored OpenAI OAuth credentials take precedence over
API keys.
- models: Provider-qualified catalog keys are resolved.
- models: Thinking and prompt caching work for Claude on Bedrock
and Vertex.
- models: Opencode models are routed through the correct provider
API.
- models: Persistence of custom provider models and bare model
names is fixed.
- models: A clear error message is shown for gpt-codex-spark
models.
- models: The Google type converter handles number and integer
types.
- models: reasoning_content is omitted from OpenAI messages
when empty.
- models: Sending tool_result to Anthropic and Google no longer
crashes.
- ollama: The model is no longer reloaded on every run.
- pkg: <think> tags in the stream, including those from Qwen
and DeepSeek models, are handled.
- session: Session files are handled more robustly: ownership
and locking, atomic writes, repair of torn lines, and
all-or-nothing appends.
- session: Sessions with lines longer than 1 MiB are listed and
loaded.
- session: Circular parent references in tree sessions are
prevented.
- session: Tree diagnostics are logged at debug level.
- session: /tree and /fork no longer lose context.
- session: Completed messages and tool calls are kept when you
cancel with ESC, and ESC really cancels the agent response.
- session: Reasoning blocks are shown when resuming sessions.
- skills: Symlinked skill directories and resources are followed.
- skills: Freshness of file-backed activation is kept.
- skills: Collision logs go to the log file at info level.
- skills: Empty activation and the workspace resource policy
are supported.
- skills: Saved runtime skills activate from an empty catalogue.
- startup: The model selector opens when the provider reports
errors.
- steer: Steering messages are kept for the whole turn and never
dropped, and they include pasted images and are shown
immediately.
- subagent: The session id for resuming appears in the tool
result text.
- subagent: Duplicate MCP tool names and redundant reloads are
prevented.
- subagent: Subagents no longer fail at once because of a parent
context that has already ended, and are detached from the
parent deadline.
- subagent: A biased model example was removed from the tool
schema.
- subagent: Bad model names are handled gracefully, and bare
model names inherit the parent provider.
- subagent: Subagent events are forwarded to the parent once,
without duplicates.
- tui: Log output goes to a file, so it no longer corrupts the
TUI, and health check logging appears only in debug output.
- tunnel: Rejection tasks are bounded, pre-authentication slots
expire, and stalled session slots are released.
- ui: Token usage and cost tracking is correct across multi-step
turns, cache tokens and model switches, with no double counting,
and /new resets usage.
- ui: Usage costs are hidden for all subscription OAuth providers.
- ui: Message blocks share one geometry and full width, with
consistent alignment, padding and background fill.
- ui: Assistant, user and reasoning messages, wide markdown
tables and diffs wrap or fit to the terminal width.
- ui: Long lines in tool output are truncated, and shell output
is limited to 20 lines, using the same limits as the bash
tool.
- ui: Mouse selection no longer drifts or ends up off by one.
- ui: Slash commands run in the TUI instead of going to the
LLM, and the popup is centred with a column width that fits
the commands.
- ui: Queued messages show as single-line, full-width blocks
with a QUEUED badge, and a queue deadlock is fixed.
- ui: Double ctrl+c is needed to quit, and the first ctrl+c
clears the input.
- ui: Duplicate or double-rendered responses and confirmations
are gone.
- ui: The spinner, herald typography, diff and code backgrounds
follow the theme.
- ui: The reasoning duration counter stops when the reasoning
ends.
- ui: The transcript resizes when the composer grows, and
textarea inputs have no character limit.
- ui: MCP tools appear in /tools and the status bar after loading
in the background.
- ui: The TUI responds to terminal resizing at any size.
- ui: Startup messages appear in the correct order.
- ui: Auto-scroll turns back on when you submit a new message.
- ui: Tool errors are wrapped in a caution block.
- ui: The ls tool output no longer shows a line-number gutter.
- ui: Uncredentialed models can still be found in the model
selector, and j/k navigation was removed from fuzzy selectors.
- ui: Script mode displays correctly.
- watcher: New subdirectories are watched for skill and prompt
reloads, and debug logging that corrupted the TUI was removed.
- Reading malformed properties no longer causes a panic.
- The .wav MIME type is normalized to audio/wav.
* Other Changes
- ui: Keybindings work better inside terminal multiplexers.
- ui: Thinking blocks and message spacing have a refined,
colour-coded style.
- ui: The KIT logo and a separator are shown above the startup
info.
- ui: Markdown is now rendered with herald-md.
- The embedded models.dev model database was refreshed.
- What was new in version 0.143.0
* Features
- acp:
- Added an ACP server mode.
- Added support for permissions, client file system and
terminal access, slash commands, plans and authentication
errors.
- Added the session/set_model ACP method.
- Added thinking tag parsing.
- agent:
- Failed streaming steps are resumed after transient errors.
- agents:
- Added named agent definitions with per-agent tool restrictions.
- app:
- Token counts and context fill are updated after every step.
- auth:
- Kit can start without API keys, and a /connect dialog lets
you enter keys.
- Added OpenAI ChatGPT/Codex OAuth authentication alongside
Anthropic authentication.
- codemode:
- Added a code mode tool that runs JavaScript which calls
other tools.
- compaction:
- Added adaptive budgets, full-part token estimation and
anchored summaries.
- Kit compacts automatically and retries when the context
overflows.
- Compaction summaries are streamed.
- Improved compaction with split-turn handling, file tracking
and non-destructive persistence.
- config:
- Added a noOAuth flag to skip OAuth on public MCP servers.
- Added per-model baseUrl and apiKey settings for custom
models.
- Custom models can be added through the config file.
- Added support for env in the MCP configuration.
- YAML configuration files are supported.
- Bash tool timeouts can be configured in kit.yml.
- daemon:
- Added detach, reattach and shared multi-client sessions.
- Added local sessions, a session multiplexer and a multi-host
hub.
- Detachable sessions are the default when a daemon runs.
- Added pairing-based remote access.
- Added image paste over remote sessions, with an image
preview.
- Replaced the Rust kit-tunnel sidecar with an in-process
go-iroh transport.
- Sessions survive a daemon restart.
- Added daemon mode with iroh remote sessions.
- Added a single-instance lock and a systemd user service.
- Multiple sessions can run over one endpoint, with per-session
teardown.
- extensions:
- Added Abort, IsIdle, Compact, SendMultimodalMessage,
GetSessionUsage and GetSystemPrompt to the extension context.
- Added a GitHub handler extension and environment variable
access.
- Added OnLLMUsage, SetState, OnMCPToolsReady and an enriched
AgentEndEvent.
- Added ctx.GetTheme() to read the active theme, and an API
to register and switch themes.
- Added custom widget rendering, widget slots, and widgets
that fill the transcript height.
- Added hooks for a presentation mode.
- Added hot-reload with file watching and a /reload-ext
command.
- Added the popup-terminal, preferred-models, kit-kit,
kit-telegram, subagent-widget and subagent-monitor examples.
- Added APIs for terminal size, thinking level and turn state.
- Inline bash in the editor is expanded in interactive mode.
- Exposed ToolOutputEvent, model pricing, OAuth status and
the decide API with a configured default model.
- Hardened keyboard shortcut registration and dispatch.
- Extensions can be loaded from a system-wide directory.
- The subagent monitor panes show the agent name.
- Added custom header and footer regions, custom tool rendering
and custom message rendering.
- Added an editor interceptor system.
- Added an interactive prompt system (select, confirm, input)
and a modal overlay dialog system.
- Added session management, persistence, editor text and
status bar APIs.
- Added the session before-hooks OnBeforeFork and
OnBeforeSessionSwitch, and the OnBeforeCompact event.
- Added the OnContextPrepare event for context window filtering
and injection.
- Added the OnModelChange event and ctx.Exit().
- Added UIVisibility and GetContextStats APIs.
- Added argument tab-completion for extension slash commands.
- Added keyboard shortcuts, tool context and a source field
for ToolCallEvent.
- Added tool management, model management, an event bus, LLM
completion and steer mode.
- Added the go-edit-lint extension with TUI diagnostics.
- Added git-based extension distribution.
- Tree navigation, skills, templates and model resolution are
available to extensions.
- github:
- The GitHub integration works end-to-end.
- hooks:
- Added a hooks system for lifecycle events, with LLM feedback
capabilities.
- Per-step ToolChoice is exposed through OnPrepareStep.
- jobs:
- Added background jobs and event-driven continuation.
- mcp:
- Added OAuth support for remote MCP servers.
- Added dynamic loading and unloading of MCP servers.
- Embedded resources in prompt messages are handled.
- Added support for remote SSE MCP servers, with Authorization
header support.
- models:
- Added an apiModelName field to the custom model configuration.
- Added experimental mode controls.
- Added per-model generation parameter defaults and per-model
system prompts.
- Reasoning levels, tiered pricing and status come from the
catalog.
- Bedrock and Vertex can be configured in Kit's own files.
- The x-opencode-session header is sent to opencode providers.
- Added support for model-specific reasoning effort levels.
- Silent max-tokens truncation is now shown and prevented.
- Updated model aliases for Anthropic, OpenAI and Google
Gemini.
- Added Google Vertex AI support for Claude models.
- Added OpenAI Responses API support for codex, gpt-5, o3 and
o4 models.
- Added Azure OpenAI and Google Gemini providers.
- Added thinking model support with configurable reasoning
levels.
- Added frequency-penalty and presence-penalty parameters.
- Added advisory model validation and the vercel provider.
- Replaced catwalk with models.dev, and openai-compatible
providers are routed automatically.
- The model notation changed from provider:model to provider/model.
- The model selection and thinking level are kept across
sessions.
- Added automatic prompt caching to reduce cost.
- Added a clear error message for gpt-codex-spark models.
- Requests identify themselves as KIT.
- prompts:
- Added the $+ required variadic placeholder, and code is
skipped in placeholders.
- Prompts and extensions reload automatically from the XDG
config.
- Added Pi-style prompt templates.
- read:
- Image files are returned to the model as viewable images.
- sandbox:
- Added an official Kit sandbox image.
- session:
- Added local and remote session management.
- Shared sessions include the system prompt and the model.
- Compaction creates a new leaf with no parent.
- Added a session picker, history, /name, /export, /import
and /history.
- Added a /share command and a session viewer.
- Empty sessions are removed on shutdown and on /resume.
- Added a message window to prevent context overload.
- shell:
- Bang commands stream coloured output.
- Added the ! and !! shell command prefixes, with a spinner
while they run.
- Added an interactive sudo password prompt for the bash tool.
- skills:
- Skills can be activated with /<name>.
- Added full agentskills.io spec compliance.
- Custom prompts and skills reload automatically on file
change.
- subagent:
- Added /kill-subagent to stop running subagents.
- Child sessions link to their parent and can be resumed.
- An invalid model returns an early error instead of a silent
fallback.
- Added native child conversation inspection.
- Added first-class subagent support for task delegation.
- In-process subagents replace subprocess spawning.
- The subagent tool is always available.
- ui:
- Added the /copy, /edit (with fuzzy file picker), /retry,
/undo and /quit slash commands.
- Added :shortcode emoji autocomplete to the input editor.
- Improved the session and tree selectors with bordered
containers.
- Added horizontal image tiles, a full image preview modal
and half-block thumbnails for attached images.
- Image previews in the transcript use the Kitty graphics
protocol.
- Added line truncation to the Ls tool renderer and to bash
streaming output.
- /model is shown as an overlay and lists all models, disabling
those without credentials.
- Added a subagent status bar and a run picker.
- The startup wordmark is animated with a shine and scanner
sweep.
- /skill:<name> slash commands are autocompleted.
- The steer keybinding changed to the Ctrl+X s leader chord.
- Syntax colours are derived from the theme.
- The subagent type is shown in the spinner.
- Live activity has its own row, and the surrounding chrome
is quieter.
- @file tokens in user messages are highlighted.
- Added character-level mouse text selection and copy, and
the selection is kept after a copy and sets PRIMARY.
- Improved the slash command popup contrast.
- Loaded extensions are listed in the startup banner.
- /fork and /new create a new session file.
- An external $EDITOR opens with the Ctrl+X e chord.
- Polished the message navigation inspector (Ctrl+X m).
- Prompts with arguments populate the input instead of
submitting automatically.
- Session history is rendered on /resume and /import.
- The scrollback repaints when the theme changes.
- Terminal capabilities are resolved lazily and per client.
- /help and info commands are shown as modal sheets with mouse
selection.
- Subagent results show a clean summary, and subagents use
the same live view as the parent.
- Bash output is streamed, with a command header and a capped
height.
- Added /new <prompt> and ctx.NewSession for phase handoffs.
- A warning is shown when the provider reports no token usage.
- Added a /theme command with 22 built-in themes and file-based
discovery, and the theme selection is kept across sessions.
- Added a KITT-inspired theme system with a KITT-style scanning
animation.
- Added @file autocomplete with MIME detection and MCP resource
support.
- Added clipboard image paste (Ctrl+V) and copy and paste
support.
- Added visual selection highlighting with theme colours.
- Added TUI suspend.
- Tool calls can be cancelled with a double ESC.
- Parallel tool execution shows a multi-tool status display.
- Added mid-turn steering.
- Added a full alt screen mode with in-memory scrollback.
- Token usage is updated after each step in multi-step turns.
- Added compact tool renderers and colour-coded thinking
blocks.
- Improved keybindings for terminal multiplexers.
* Bug Fixes
- acp:
- The ACP server follows the ACP v1 spec.
- mcpServers defaults to an empty array for clients that omit
it.
- Configured thinking defaults are kept for new sessions.
- The startup message no longer appears on stdio output.
- Extensions work in ACP mode.
- agent:
- AddTools and RemoveTools take effect mid-turn at the next
LLM step.
- Improved streaming resilience and safe retries.
- Anthropic prompt caching is effective.
- Kit recovers when the provider rejects image tool results.
- Overload errors are retried.
- Tool call arguments are tracked correctly for parallel
calls.
- anthropic:
- output_config.effort is sent for effort-graded models.
- Conflicting temperature and top_p values are cleared.
- The number of cache_control blocks is limited to 4.
- app:
- The layout resets after a widget is removed.
- Queued messages are sent after /compact completes.
- ctx.NewSession waits for the agent to be idle.
- auth:
- OAuth credentials work in ACP mode, and tokens refresh
automatically.
- compaction:
- The API token baseline is kept after compaction.
- core:
- Bash streaming no longer stalls or truncates output on long
lines.
- The read tool returns an error when used on a directory.
- The bash tool no longer hangs on long-running or background
processes.
- The SHELL variable is set to bash for command execution.
- Fixed fuzzy match position mapping and diff generation in
the edit tool.
- daemon:
- A lone Escape is delivered without waiting for more input.
- Sockets are found across runtime environments.
- Hosted sessions get the caller's full environment.
- The terminal is handed back, the alt screen is kept, and
sidecars are never orphaned.
- Ctrl-V and the detach chord work under the kitty keyboard
protocol.
- The session size and truecolor are kept across attach.
- The connection stays alive across a session switch.
- The pairing window stays alive after a failed attempt, and
approvals after it expires are rejected.
- Remote sessions are listed on attach, and the client terminal
is forwarded.
- A shared session grows again when its smallest client leaves.
- Terminal modes are replayed to clients that attach mid-session.
- Sessions shut down deterministically across daemon restarts.
- New sessions start on the connected host from the picker.
- The client terminal is cleaned after a remote session exits.
- Scrolling works in reattached and busy sessions.
- extensions:
- Fixed TUI callback deadlocks and data races in handler
calls.
- Blocked or disabled tools return the reason to the LLM.
- Non-blocking subagent spawn returns a usable handle.
- The model in use is reported correctly.
- go-edit-lint runs once per turn.
- Extension logging respects log levels.
- Extension manifests are kept on update.
- Before-hook callbacks no longer deadlock the TUI.
- The vim interceptor stays active so Esc returns to normal
mode.
- mcp:
- OAuth configuration is applied to servers added at runtime.
- Connections are released when tool discovery fails.
- MCP tool failures are soft errors, not critical aborts.
- Readable text is extracted from MCP tool results instead
of raw JSON.
- A null 'required' in MCP tool schemas no longer breaks the
OpenAI API.
- JSON Schema draft-07 exclusive bounds are converted to
draft-04.
- models:
- Added gpt-5.4 reasoning level support.
- New OpenAI models, gpt-6+ models and opencode gpt-* and
grok-* models are routed to the Responses API.
- Unpriced models are shown differently from free ones.
- Stored OpenAI OAuth is preferred over API keys.
- Provider-qualified catalog keys are resolved.
- Auto-discovered providers are routed by wire protocol.
- Thinking and prompt caching work for Claude on Bedrock and
Vertex.
- Custom provider model persistence and bare model names are
handled.
- Opencode models use the correct provider API.
- <think> tags from Qwen and DeepSeek models are handled.
- ollama:
- The model is no longer reloaded on every run.
- session:
- Sessions with lines longer than 1 MiB are listed and loaded.
- Circular parent references in the session tree are prevented.
- Improved session file locking and crash safety.
- /tree and /fork no longer lose context.
- Completed messages and tool calls are kept on ESC cancellation.
- Reasoning blocks are rendered when sessions are resumed.
- skills:
- Symlinked entries in skill directories are followed.
- Added support for empty activation and a workspace resource
policy.
- Activated runtime skills are restored from an empty catalogue.
- startup:
- The model selector opens on provider errors.
- steer:
- Steering messages are kept for the whole turn and never
dropped.
- Pasted images are included in steering messages.
- subagent:
- The resume session id is shown in the tool result.
- Duplicate MCP tool names and redundant reloads are prevented.
- Subagents no longer fail instantly due to dead parent
contexts or parent deadlines.
- Bad model names are recovered from, and bare model names
use the parent provider.
- Streaming works for subagent child instances.
- ui:
- Token usage and context tracking are accurate across steps,
cache tokens and model switches.
- Fixed layout, alignment, padding, background fill and
wrapping of messages, reasoning blocks and tool output.
- Fixed mouse selection offsets and drift.
- Slash commands run in the TUI instead of being sent to the
LLM.
- Wide markdown tables fit the chat width.
- Usage costs are hidden for subscription OAuth providers.
- Uncredentialed models remain findable in the model selector.
- Ctrl+C clears the input first, and quitting requires a
double Ctrl+C.
- Fixed double-rendered and duplicated responses.
- Selectors render in the alt screen buffer.
- The transcript resizes when the composer grows, and input
is no longer capped.
- Fixed a queue deadlock, and queued messages are shown as
styled blocks.
- MCP tools appear in /tools and the status bar after async
loading.
- Pasted image previews are shown in the input and transcript.
- Narrow terminals no longer overflow on diffs.
- The TUI is responsive to terminal resizing.
- Spinners, typography and colours update on theme change.
- ESC cancel actually cancels the agent response.
- Shell command output is truncated in the TUI.
- watcher:
- New subdirectories are watched for skill and prompt reload.
- Debug logging no longer corrupts the TUI.
* Other Changes
- models:
- Refreshed the embedded models.dev database.
- What was new in version 0.142.0
* Features
- acp:
- Permissions, client file system and terminal access, slash
commands, plans and authentication error reporting.
- ACP server mode.
- Thinking tag parsing.
- acpserver:
- Support for the `session/set_model` method.
- agent:
- Failed streaming steps resume after transient errors.
- agents:
- Named agent definitions with per-agent tool restrictions.
- app:
- Token counts and context fill update after every step.
- auth:
- Kit starts without API keys, and a new `/connect` dialog
lets you enter keys.
- OpenAI ChatGPT/Codex OAuth authentication alongside Anthropic
authentication.
- codemode:
- New code mode tool that runs JavaScript, which can call
other tools.
- compaction:
- Adaptive budgets, token estimation over full message parts,
and anchored summaries.
- Automatic compaction and retry on context overflow errors.
- Better compaction with split-turn handling, file tracking
and non-destructive persistence.
- Compaction summaries stream as they are generated.
- config:
- New `noOAuth` flag skips OAuth on public MCP servers.
- Per-model `baseUrl` and `apiKey` for custom models.
- Custom models can be defined in the config file.
- YAML config files are supported.
- Bash tool timeouts can be set in `kit.yml`.
- Core tools can be disabled in the configuration.
- Environment variables can be set in the MCP config.
- Configurable system prompt.
- daemon:
- Daemon mode with iroh-based remote sessions.
- Sessions can be detached and reattached, and several clients
can share one session.
- Detachable sessions are the default when a daemon runs.
- Local sessions, a session multiplexer and a multi-host hub.
- Several sessions run over one endpoint, and each session
shuts down on its own.
- Pairing-based remote access (protocol v3).
- Images can be pasted into remote sessions, with an image
preview.
- The Rust `kit-tunnel` sidecar is replaced by an in-process
go-iroh transport.
- A stable protocol constant, and sessions that survive a
daemon restart.
- Single-instance lock, a status query and a systemd user
service.
- examples:
- The subagent-monitor example is rebuilt around `ShowOverlay`.
- New kit-telegram example extension.
- extensions:
- New context APIs: `Abort`, `IsIdle`, `Compact`,
`SendMultimodalMessage`, `GetSessionUsage`, `GetSystemPrompt`
and `GetTheme`.
- New `OnLLMUsage`, `SetState` and `OnMCPToolsReady` APIs,
and a richer `AgentEndEvent`.
- A GitHub handler extension and access to environment
variables.
- Custom widget rendering, and widgets that can fill the
transcript height.
- Hooks for a presentation mode.
- Hot-reload with file watching, and a new `/reload-ext`
command.
- New popup-terminal (persistent shell), preferred-models,
kit-kit meta-agent, subagent-widget and go-edit-lint examples,
plus 10 more example extensions.
- APIs for terminal size, thinking level and turn state.
- Inline bash in the editor expands in interactive mode.
- `ToolOutputEvent`, model pricing and OAuth status are
available to extensions.
- The Decide API is available, with a configured default
model.
- Keyboard shortcut registration and dispatch are more robust.
- Extensions load from a system-wide directory.
- Subagent monitor panes show the agent name.
- `OnContextPrepare` event for filtering and injecting
context-window content.
- `OnEvent` callback for real-time subagent event streaming.
- `OnModelChange` event and `ctx.Exit()`.
- TUI suspend and custom message rendering.
- `UIVisibility` and `GetContextStats` APIs, and compact tool
renderers.
- Tab completion for arguments of extension slash commands.
- Custom header and footer regions, custom tool rendering,
and an editor interceptor system.
- An API to register and switch themes.
- Widget slots for persistent TUI content.
- Interactive prompts (select, confirm, input) and a modal
overlay dialog system.
- Keyboard shortcuts, tool context, and a source field in
`ToolCallEvent`.
- Rich tool metadata in extension events.
- Session before-hooks (`OnBeforeFork`, `OnBeforeSessionSwitch`)
and a compaction event (`OnBeforeCompact`).
- APIs for session management, persistence, editor text and
the status bar.
- Tool management, model management, options, an event bus,
LLM completion and steer mode.
- Tree navigation, skills, templates and model resolution are
available to extensions.
- Git-based extension distribution with `kit install`.
- Subagent monitoring extension with a horizontal widget
layout.
- github:
- The GitHub integration now works end to end.
- hooks:
- `OnPrepareStep` exposes the tool choice for each step.
- Hooks can send feedback to the LLM.
- A complete hooks system for lifecycle events.
- jobs:
- Background jobs and event-driven continuation.
- mcp:
- OAuth support for remote MCP servers.
- MCP servers can be loaded and unloaded at runtime.
- Embedded resources in prompt messages are handled.
- Remote SSE MCP servers, with an Authorization header.
- models:
- New `apiModelName` field in the custom model config.
- Experimental mode controls in the TUI.
- Per-model generation parameter defaults and per-model system
prompts.
- Reasoning levels, tiered pricing and status come from the
catalog.
- Bedrock and Vertex can be configured in Kit's own files.
- The `x-opencode-session` header is sent to opencode providers.
- Model-specific reasoning effort levels.
- Kit reports max-tokens truncation and prevents it from
happening silently.
- Model aliases updated for Anthropic, OpenAI and Google
Gemini.
- Google Vertex AI support for Claude models.
- OpenAI Responses API support for codex, gpt-5, o3 and o4
models.
- Azure OpenAI, Google/Gemini and Vercel providers.
- Thinking models with configurable reasoning levels.
- Frequency-penalty and presence-penalty parameters.
- Advisory model validation and a model database update
command.
- The models.dev catalog replaces catwalk, and OpenAI-compatible
providers are routed automatically.
- Model notation changes from `provider:model` to `provider/model`.
- Model selection and thinking level persist across sessions.
- Automatic prompt caching to reduce cost.
- Requests identify themselves as KIT.
- A clear error message for gpt-codex-spark models.
- Claude Max support.
- prompts:
- Required variadic placeholders (`$+`), and code is skipped
when placeholders are expanded.
- Prompts and extensions reload automatically from the XDG
config directory.
- Pi-style prompt templates.
- Custom prompts and skills reload automatically when their
files change.
- read:
- Image files are sent to the model as viewable images.
- session:
- Local and remote session management.
- Shared sessions include the system prompt and model.
- Session picker, history, `/name`, `/export`, `/import` and
`/history` commands.
- `/share` command and session viewer.
- Empty sessions are cleaned up automatically on shutdown and
on `/resume`.
- `/new` and `/fork` create a new session file.
- A message window prevents context overload.
- shell:
- Bang commands stream coloured output.
- `!` and `!!` shell command prefixes, with a spinner and a
command header while they run.
- Interactive sudo password prompt for the bash tool.
- Built-in HTTP functionality.
- skills:
- Skills activate with `/<name>`, and Kit now fully complies
with the agentskills.io specification.
- subagent:
- New `/kill-subagent` command stops running subagents.
- Child sessions link to their parent and can be resumed.
- An invalid model gives an early error instead of a silent
fallback.
- Native inspection of child conversations.
- First-class subagent support for task delegation, and
subagents run in-process.
- The subagent tool is always available.
- ui:
- New slash commands: `/copy`, `/edit` (fuzzy file picker),
`/retry`, `/undo`, `/quit`, `/model`, `/theme` (22 built-in
themes) and `/help` (a modal sheet).
- `:shortcode` emoji autocomplete in the input editor.
- `/skill:<name>` autocomplete, and `@file` autocomplete with
context attachments, MIME detection and MCP resource support.
- Styled, bordered session and tree selectors, and a reusable
popup list for `/model` and other popups.
- Horizontal image tiles, a full image preview modal, half-block
thumbnails, and Kitty graphics image previews in the
transcript.
- Line truncation for the `ls` tool and for bash streaming
output, with a capped output height.
- Subagent status bar, run picker, subagent type in the
spinner, clean summaries of subagent results, and the same
live view as the parent.
- Animated startup wordmark, KIT logo, KITT-style scanning
spinner and KITT-inspired theme system.
- The steer keybinding is now the Ctrl+X s chord, Ctrl+S
steers mid-turn, and Ctrl+X e opens `$EDITOR`.
- Message navigation and inspector (Ctrl+X m).
- Syntax colours come from the theme, and the scrollback
repaints when the theme changes.
- Live activity has its own row, the surrounding chrome is
quieter, gutters are consistent, and tool receipts are
quieter.
- `@file` tokens in user messages are highlighted.
- Character-level mouse text selection and copy, which keeps
the selection after a copy and sets PRIMARY.
- `/model` lists all models and disables the ones that lack
credentials.
- The startup banner lists loaded extensions.
- Prompts with arguments fill the input instead of being
submitted automatically.
- Session history renders on `/resume` and `/import`.
- Terminal capabilities are detected lazily and for each
client.
- Info commands show as modal sheets with mouse selection.
- Streaming bash output.
- `/new <prompt>` and `ctx.NewSession` for phase handoffs.
- A warning when the provider reports no token usage.
- Clipboard image paste (Ctrl+V) and copy-and-paste support.
- Double ESC cancels tool calls.
- Parallel tool execution with a status display for several
tools.
- Full alt-screen mode with in-memory scrollback.
- Visual selection highlighting with theme colours.
- Theme selection persists across sessions.
- Token usage updates after each step.
- Compact mode and autocomplete.
* Bug Fixes
- acp:
- The ACP server follows the ACP v1 specification.
- `mcpServers` defaults to an empty array for clients that
omit it.
- New sessions keep the configured thinking defaults.
- The startup message no longer appears in stdio output.
- Extensions work in ACP mode.
- agent:
- Tools added or removed mid-turn take effect at the next LLM
step.
- Streaming is more resilient, and retries are safer.
- Anthropic prompt caching is effective.
- Kit recovers when the provider rejects image tool results.
- Overload errors are retried.
- Parallel tool calls track their arguments correctly.
- agents:
- The `--no-agents` flag works.
- anthropic:
- `output_config.effort` is sent for effort-graded models.
- Conflicting temperature and top_p values are cleared.
- Cache_control blocks are limited to the maximum of 4.
- app:
- The layout resets after a widget is removed.
- Queued messages are sent after `/compact` completes.
- `ctx.NewSession` waits until the agent is idle.
- auth:
- OAuth credentials work in ACP mode, and tokens refresh
automatically.
- compaction:
- The API token baseline is kept after compaction.
- core:
- Bash output is no longer cut off mid-drain or blocked by a
very long line.
- The read tool returns an error when used on a directory.
- The bash tool no longer hangs on long-running or background
processes.
- Commands run with `SHELL` set to bash.
- Fuzzy match positions and diff generation in the edit tool
are correct.
- daemon:
- Escape key handling is more reliable, including a single
Escape when idle.
- Sockets are found in all runtime environments.
- Hosted sessions get the caller's full environment.
- The terminal is handed back correctly, the alt screen is
kept, and sidecars are not left orphaned.
- Ctrl-V and the detach chord work under the kitty keyboard
protocol.
- Session size and truecolor are kept across attach.
- The connection stays alive across a session switch.
- Pairing is more reliable, and approvals queued after the
pairing window expires are rejected.
- Remote sessions are listed on attach, and the client terminal
is forwarded.
- Terminal capabilities and terminal modes are refreshed for
clients that attach mid-session.
- A shared session grows again when its smallest client leaves.
- Sessions shut down deterministically across daemon restarts.
- The picker starts new sessions on the connected host.
- Stdin works again after a picker closes.
- Scrolling works in reattached and busy sessions, and the
client terminal is cleaned after a remote session exits.
- extensions:
- Non-blocking subagent spawn returns a usable handle.
- Hot-reload, TUI callbacks and handler calls no longer cause
deadlocks or data races.
- The model in use is reported correctly.
- Blocked or disabled tools return their reason to the LLM.
- go-edit-lint runs once per turn.
- Logging respects log levels.
- The manifest Include is written in one pass and kept on
update.
- Extension names for `main.go` use the immediate parent
directory.
- kit:
- Subagent child instances stream.
- Runtime prompt changes are kept across a model switch.
- mcp:
- OAuth config applies to servers added at runtime.
- Connections are released when tool discovery fails.
- MCP tool failures are reported as soft errors.
- Text is extracted from MCP tool results instead of showing
raw JSON.
- Null `required` fields in tool schemas no longer break the
OpenAI API.
- JSON Schema draft-07 exclusive bounds are converted to
draft-04.
- models:
- Reasoning levels for gpt-5.4 adjust automatically.
- New OpenAI, gpt-6+ and opencode gpt-*/grok-* models are
routed to the Responses API.
- Unpriced models are distinguished from free ones.
- Stored OpenAI OAuth credentials take precedence over API
keys.
- Provider-qualified catalog keys and auto-discovered providers
are resolved correctly.
- Thinking and prompt caching work for Claude on Bedrock and
Vertex.
- Custom provider model persistence and bare model names work.
- Opencode models use the correct provider API.
- Token counts update when you switch models mid-session.
- ollama:
- The model is no longer reloaded on every run.
- pkg:
- `<think>` tags from Qwen and DeepSeek models are handled.
- session:
- Sessions with lines longer than 1 MiB are listed and loaded.
- Session ownership, locking and persistence are more robust.
- Circular parent references in tree sessions are prevented.
- `/tree` and `/fork` keep their context.
- Completed messages and tool calls are kept when you cancel
with ESC.
- Reasoning blocks render when you resume a session.
- `/new` resets usage.
- skills:
- Symlinked entries in skill directories are followed.
- Empty activation and a workspace resource policy are
supported.
- Saved runtime skills activate from an empty catalogue.
- startup:
- The model selector opens on provider errors.
- steer:
- Steering messages are kept for the whole turn and include
pasted images.
- subagent:
- The resume session ID appears in the tool result text.
- Duplicate MCP tool names and redundant reloads are prevented.
- Subagents no longer fail instantly because of an already-dead
parent context or deadline.
- Bad model names are handled, and bare model names inherit
the parent provider.
- tui:
- Log output goes to a file so that it no longer corrupts the
TUI.
- ui:
- Token usage and context tracking are accurate across steps,
including cache tokens.
- Usage costs are hidden for subscription OAuth providers.
- Message blocks are aligned, full width, wrapped to the
terminal width, and have a uniform background.
- Mouse selection no longer drifts.
- Wide markdown tables fit the chat width, and diffs no longer
overflow narrow terminals.
- The reasoning counter freezes when reasoning ends.
- Slash commands run in the TUI instead of being sent to the
LLM.
- Ctrl+C clears the input first, and you must press Ctrl+C
twice to quit.
- Responses are no longer duplicated after reasoning-only or
interrupted turns.
- The transcript resizes when the composer grows, and textarea
inputs have no character limit.
- Queued messages render as styled blocks with a QUEUED badge,
and the queue no longer deadlocks.
- MCP tools show in `/tools` and the status bar after
asynchronous loading.
- Pasted image previews show in the input and the transcript.
- Tool error output appears in a caution block.
- Spinner, herald typography and colours update on theme
change.
- Uncredentialed models can still be found in the model
selector.
- The TUI adapts to terminal resizing at any size.
- Long lines are truncated, and shell output is limited to
20 lines.
- Diff and code background colours come from the active theme.
- The spinner no longer leaks escape sequences or runs at
double speed.
- watcher:
- New subdirectories are watched for skill and prompt reloads.
- Debug logging no longer corrupts the TUI.
* Maintenance
- ui:
- Keybindings work better with terminal multiplexers.
- Thinking blocks use subdued, colour-coded, italic styling.
- Markdown rendering moved from glamour to herald-md.
- All popups use one shared popup list.
- The KITT scanner LEDs are segmented and the logo text is
centred.
- What was new in version 0.141.0
* Features
- acp:
- Add an ACP server mode.
- Add permissions, client file system and terminal access,
slash commands, plans and auth error reporting.
- Support selecting the model of a session.
- Parse thinking tags.
- agent:
- Resume failed streaming steps after transient errors.
- Add named agent definitions with per-agent tool restrictions.
- app:
- Update token counts and context fill after every step.
- auth:
- Start without API keys and enter a key with the new /connect
dialog.
- Add OpenAI ChatGPT/Codex OAuth authentication alongside
Anthropic authentication.
- codemode:
- Add a code mode tool that runs JavaScript which calls other
tools.
- compaction:
- Use adaptive budgets, full-part token estimation and anchored
summaries.
- Auto-compact and retry on context overflow errors.
- Improve compaction with split-turn handling, file tracking
and non-destructive persistence.
- Stream compaction summaries.
- Add compact mode.
- config:
- Add a noOAuth flag to skip OAuth on public MCP servers.
- Allow per-model baseUrl and apiKey for custom models.
- Add custom models via the configuration file.
- Support env settings in the MCP configuration.
- Make bash tool timeouts configurable in kit.yml.
- Allow YAML configuration files.
- daemon:
- Add a daemon mode with remote sessions.
- Detach, reattach and share sessions between multiple clients.
- Make detachable sessions the default when a daemon runs.
- Add local sessions, a session multiplexer and a multi-host
hub.
- Add pairing-based remote access.
- Support image paste over remote sessions and render the
preview.
- Replace the kit-tunnel sidecar with an in-process transport.
- Keep sessions alive across daemon restarts.
- Add a single-instance lock, a status query and a systemd
user service.
- Serve multiple sessions over one endpoint with per-session
teardown.
- extensions:
- Add Abort, IsIdle, Compact, SendMultimodalMessage,
GetSessionUsage and GetSystemPrompt to the extension context.
- Add a GitHub handler extension and access to environment
variables.
- Add OnLLMUsage, SetState and an enriched AgentEndEvent.
- Add OnMCPToolsReady with a summary of the MCP servers.
- Add ctx.GetTheme() to read the active theme.
- Add custom widget rendering and let widgets fill the
transcript height.
- Add hooks for a presentation mode.
- Add hot-reload with file watching and the /reload-ext
command.
- Add popup-terminal, preferred-models, kit-kit, kit-telegram,
go-edit-lint, subagent-widget and subagent monitoring
examples.
- Add terminal size, thinking level and turn state APIs.
- Expand inline bash in the editor in interactive mode.
- Expose ToolOutputEvent, model pricing, OAuth status and the
decide API with a configured default model.
- Harden keyboard shortcut registration and dispatch.
- Load extensions from a system-wide directory.
- Show the agent name in subagent monitor panes.
- Install extensions from git repositories.
- Add OnContextPrepare, OnModelChange, OnBeforeFork,
OnBeforeSessionSwitch and OnBeforeCompact events and
ctx.Exit().
- Add custom header and footer regions, custom tool rendering,
widget slots and modal overlay dialogs.
- Add an editor interceptor system.
- Add theme registration and switching.
- Add interactive prompts (select, confirm, input).
- Add keyboard shortcuts and tool context.
- Add session management, persistence, editor text and status
bar APIs.
- Add UIVisibility and GetContextStats APIs and compact tool
renderers.
- Add argument tab-completion for extension slash commands.
- Add tool management, model management, an event bus, LLM
completion and steer mode.
- Add tree navigation, skills, templates and model resolution.
- Enhance hooks with LLM feedback capabilities.
- github:
- Make the GitHub integration work end-to-end.
- jobs:
- Add background jobs and event-driven continuation.
- mcp:
- Add OAuth support for remote MCP servers.
- Add dynamic MCP server loading and unloading.
- Handle embedded resources in prompt messages.
- Support connections to remote SSE MCP servers with Authorization
headers.
- models:
- Add the apiModelName field to custom model configuration.
- Add experimental mode controls.
- Add per-model generation parameter defaults and system
prompts.
- Use catalog-driven reasoning levels, tiered pricing and
status.
- Configure Bedrock and Vertex in Kit's own files.
- Send the x-opencode-session header to opencode providers.
- Support model-specific reasoning effort levels.
- Surface and prevent silent max-tokens truncation.
- Add Google Vertex AI support for Claude models.
- Add Azure OpenAI and Google Gemini providers.
- Add OpenAI Responses API support for codex, gpt-5, o3 and
o4 models.
- Add thinking model support with configurable reasoning
levels.
- Add frequency-penalty and presence-penalty parameters.
- Use models.dev as model catalog and auto-route OpenAI-compatible
providers.
- Add advisory model validation and the vercel provider.
- Change model notation from provider:model to provider/model.
- Persist model selection and thinking level across sessions.
- Use automatic prompt caching to reduce cost.
- Identify requests with KIT.
- Disable tools for models that do not support them.
- prompts:
- Add $+ required variadic arguments and skip code in
placeholders.
- Auto-reload prompts and extensions from the XDG configuration.
- Add prompt templates.
- read:
- Return image files to the model as viewable images.
- session:
- Add local and remote session management.
- Include system prompt and model in shared sessions.
- Add a session picker, history, /name, /export, /import and
/history.
- Add the /share command and a session viewer.
- Remove empty sessions automatically on shutdown and /resume.
- shell:
- Stream coloured output for bang commands.
- Add ! and !! shell command prefixes with a spinner.
- Add an interactive sudo password prompt for the bash tool.
- skills:
- Activate skills with /<name> and comply fully with the
agentskills.io specification.
- Auto-reload prompts and skills on file change.
- subagent:
- Add /kill-subagent to stop running subagents.
- Link child sessions to the parent and support resume.
- Return an error for an invalid model instead of a silent
fallback.
- Add native child conversation inspection.
- Add first-class, in-process subagents for task delegation.
- ui:
- Add /copy, /edit, /retry, /undo, /quit, /model, /theme and
/help slash commands.
- Add :shortcode emoji autocomplete and @file autocomplete
with context attachment.
- Add bordered containers to the session and tree selectors.
- Add horizontal image tiles, half-block thumbnails and a
full image preview modal.
- Draw image previews with the Kitty graphics protocol.
- Truncate long lines in Ls tool and bash streaming output.
- Add a subagent status bar and run picker and show subagents
with the same live view as the parent.
- Animate the startup wordmark and list loaded extensions in
the startup banner.
- Autocomplete /skill:<name> slash commands.
- Change the steer keybinding to the Ctrl+X s chord and add
mid-turn steering.
- Derive syntax colours from the theme.
- Give live activity its own row.
- Highlight @file tokens in user messages.
- Add character-level mouse text selection and copy and set
PRIMARY.
- List all models in /model and disable the ones without
credentials.
- Make /fork and /new create a new session file.
- Open the external $EDITOR with the Ctrl+X e chord.
- Add message navigation and an inspector (Ctrl+X m).
- Populate the input instead of auto-submitting prompts with
arguments.
- Render session history on /resume and /import.
- Repaint scrollback when the theme changes.
- Show a clean summary for subagent results.
- Stream bash output in the TUI with a command header and
capped height.
- Support /new <prompt> and ctx.NewSession for phase handoffs.
- Warn when the provider reports no token usage.
- Add 22 built-in themes with file-based discovery and persist
the theme selection.
- Add clipboard image paste (Ctrl+V) and copy and paste
support.
- Add smart @ attachments with MIME detection and MCP resource
support.
- Support @file references in non-interactive mode.
- Add a full alt screen mode with in-memory scrollback.
- Enable parallel tool execution with multi-tool status
display.
- Cancel tool calls with double-ESC.
- Update token usage after each step in multi-step turns.
- Replace the spinner with a scanning animation.
- Improve keybinding ergonomics for terminal multiplexers.
- Composite all overlays over the view instead of replacing
it.
* Bug Fixes
- acp:
- Default mcpServers to an empty array for clients that omit
it.
- Follow the ACP v1 specification.
- Preserve configured thinking defaults for new sessions.
- Remove the startup message from stdio output.
- Make extensions work in ACP mode.
- agent:
- Honor tool additions and removals mid-turn at the next LLM
step.
- Improve streaming resilience and safe retries.
- Make Anthropic prompt caching effective.
- Recover when the provider rejects image tool results.
- Retry overload errors.
- Track tool call arguments correctly for parallel calls.
- anthropic:
- Send output_config.effort for effort-graded models.
- Clear conflicting temperature and top_p.
- Limit cache_control blocks to a maximum of 4.
- app:
- Reset the layout after a widget is removed.
- Flush queued messages after /compact completes.
- Make ctx.NewSession wait for the agent to be idle.
- auth:
- Support OAuth credentials in ACP mode and auto-refresh
tokens.
- compaction:
- Preserve the API token baseline after compaction.
- core:
- Fix truncated and blocked bash output.
- Return an error when the read tool is used on a directory.
- Prevent the bash tool from hanging on long-running or
background processes.
- Use bash as SHELL for command execution.
- daemon:
- Fix Escape key, Ctrl-V and detach chord handling, including
under the kitty keyboard protocol.
- Discover sockets across runtime environments.
- Give hosted sessions the caller's full environment.
- Hand the terminal back cleanly and keep the alt screen.
- Keep session size, truecolor and terminal modes across
attach.
- Keep the connection alive across a session switch.
- Keep the pairing window alive after a failed attempt and
reject expired approvals.
- List remote sessions on attach and forward the client
terminal.
- Make attach and control requests cancellable.
- Refresh terminal capabilities in live sessions.
- Regrow a shared session when its smallest client leaves.
- Shut sessions down deterministically across daemon restarts.
- Start new sessions on the connected host from the picker.
- Clean up the client terminal after remote session exit.
- Restore scrolling in reattached and busy sessions.
- extensions:
- Implement non-blocking subagent spawn.
- Prevent deadlocks and data races in extension handlers.
- Report the model in use.
- Let the LLM see the reason for blocked or disabled tools.
- Fix extension discovery and naming.
- mcp:
- Propagate OAuth configuration for runtime-added servers.
- Release connections when tool discovery fails.
- Surface MCP tool failures as soft errors.
- Show human-readable text from MCP tool results.
- Fix tool schemas with null required fields or draft-07
bounds.
- models:
- Add gpt-5.4 reasoning level support.
- Route new OpenAI, gpt-6+, opencode gpt-* and grok-* models
to the Responses API.
- Distinguish unpriced models from free ones.
- Prefer stored OpenAI OAuth over API keys.
- Route auto-discovered providers by wire protocol.
- Fix thinking and prompt caching for Claude on Bedrock and
Vertex.
- Handle <think> tags from Qwen and DeepSeek models.
- Handle custom provider model persistence and bare model
names.
- ollama:
- Stop reloading the model on every run.
- session:
- Make session persistence more robust.
- List sessions with lines longer than 1 MiB.
- Prevent circular parent references in tree sessions.
- Keep context with /tree and /fork.
- Render reasoning blocks when resuming sessions.
- skills:
- Follow symlinked entries in skill directories.
- Support empty activation.
- startup:
- Open the model selector on provider errors.
- steer:
- Keep steering messages for the whole turn.
- Include pasted images in steering messages.
- subagent:
- Expose the resume session ID in the tool result.
- Prevent duplicate MCP tool names and instant failures.
- Detach subagent context from the parent deadline.
- Inherit the parent provider for bare model names.
- ui:
- Fix token usage, context and cost tracking across steps and
model switches.
- Hide usage costs for subscription OAuth providers.
- Fix mouse selection drift and offsets.
- Wrap messages and reasoning blocks to terminal width and
truncate long lines.
- Fix layout, alignment and background banding of message
blocks.
- Render queued messages as styled blocks.
- Require double Ctrl+C to quit and clear input first.
- Keep uncredentialed models findable in the model selector.
- Execute slash commands in the TUI instead of sending them
to the LLM.
- Prevent double-rendered and duplicated responses.
- Show MCP tools in /tools and the status bar after async
loading.
- Show pasted image previews in the input and transcript.
- Resize the transcript when the composer grows.
- Update spinner and typography on theme change.
- Make the TUI responsive to terminal resizing.
- Let ESC cancel the agent response while preserving completed
messages and tool calls.
- Fix the fuzzy match and diff generation in the edit tool.
- watcher:
- Watch new subdirectories for skill and prompt reload.
- What was new in version 0.140.1
* Features
- acp:
- Added permissions, client file system and terminal access,
slash commands, plans and authentication error reporting.
- acpserver:
- Added the session/set_model ACP method.
- agent:
- Failed streaming steps now resume after transient errors.
- agents:
- Added named agent definitions with per-agent tool restrictions.
- app:
- Token counts and context fill now update after every step.
- auth:
- Kit can start without API keys, and a new /connect dialog
lets you enter keys.
- codemode:
- Added a code mode tool that runs JavaScript, which can call
other tools.
- compaction:
- Added adaptive budgets, full-part token estimation and
anchored summaries.
- Kit now compacts automatically and retries when the context
overflows.
- config:
- Added a noOAuth flag to skip OAuth on public MCP servers.
- Custom models can have their own baseUrl and apiKey.
- daemon:
- Added detach, reattach and shared multi-client sessions.
- Added local sessions, a session multiplexer and a multi-host
hub.
- Sessions are detachable by default when a daemon runs.
- Added pairing-based remote access (protocol v3).
- Images can be pasted over remote sessions, with an image
preview.
- Sessions survive daemon restarts.
- examples:
- Rebuilt the subagent-monitor example around ShowOverlay.
- extensions:
- Added Abort, IsIdle, Compact, SendMultimodalMessage and
GetSessionUsage to the extension context.
- Added GetSystemPrompt to the extension context.
- Added a GitHub handler extension and environment variable
access.
- Added OnLLMUsage, SetState and an enriched AgentEndEvent.
- Added OnMCPToolsReady, which gives a summary of the MCP
servers.
- Added ctx.GetTheme() to read the active theme.
- Added custom widget rendering and fixed UI fields that had
no effect.
- Added hooks for a presentation mode.
- Added hot-reload with file watching and the /reload-ext
command.
- Added a popup-terminal example with a persistent shell.
- Added a preferred-models example.
- Added APIs for terminal size, thinking level and turn state.
- Inline bash in the editor is expanded in interactive mode.
- Extension types are exported from pkg/extensions.
- ToolOutputEvent is available to extensions.
- Model pricing and OAuth status are available to extensions.
- The decide API is available, using a configured default
model.
- Keyboard shortcut registration and dispatch are more robust.
- Widgets can fill the full transcript height.
- Extensions can load from a system-wide directory.
- Subagent monitor panes show the agent name.
- github:
- The GitHub integration now works end-to-end through a core
command and an action.
- hooks:
- Per-step ToolChoice is available through OnPrepareStep.
- jobs:
- Added background jobs and event-driven continuation.
- mcp:
- Added OAuth support for remote MCP servers.
- MCP servers can be loaded and unloaded at runtime.
- Embedded resources in prompt messages are now handled.
- models:
- Added the apiModelName field to the custom model configuration.
- Added experimental mode controls to the TUI.
- Added per-model defaults for generation parameters.
- Added per-model system prompts.
- Reasoning levels, tiered pricing and model status now come
from the catalog.
- Bedrock and Vertex can be configured in Kit's own files.
- The x-opencode-session header is sent to opencode providers.
- Added model-specific reasoning effort levels.
- Kit now reports max-tokens truncation and prevents it from
happening silently.
- prompts:
- Added the $+ required variadic placeholder, and code is
skipped when placeholders are expanded.
- Prompts and extensions reload automatically from the XDG
config directory.
- read:
- Image files are returned to the model as viewable images.
- session:
- Added local and remote session management.
- Shared sessions include the system prompt and the model.
- shell:
- Bang commands stream coloured output.
- skills:
- Skills can be activated with /<name>, and the gaps to the
agentskills.io specification are closed.
- Kit fully complies with the agentskills.io specification.
- subagent:
- Added /kill-subagent to stop running subagents.
- Child sessions are linked to their parent and can be resumed.
- An invalid model now gives an early error instead of a
silent fallback.
- subagents:
- Child conversations can be inspected natively.
- ui:
- Added the /copy, /edit (with a fuzzy file picker), /retry
and /undo slash commands.
- Added :shortcode emoji autocompletion in the input editor.
- The session selector and the tree selector have bordered
containers and improved styling.
- Added horizontal image tiles and a full image preview modal.
- The Ls tool renderer and the bash streaming output truncate
long output by line.
- Added a reusable popup list, and /model renders as an
overlay.
- Added a subagent status bar and a run picker.
- The startup wordmark is animated with a shine and a scanner
sweep.
- /skill:<name> slash commands are autocompleted.
- The steer keybinding is now the Ctrl+X s leader chord.
- Syntax colours come from the theme, and palette collisions
are fixed.
- The spinner shows the subagent type.
- Transcript image previews are drawn with the Kitty graphics
protocol, and pasted images show half-block thumbnails.
- Live activity has its own row, and the surrounding interface
is quieter.
- @file tokens in user messages are highlighted with the
accent colour.
- Added character-level mouse text selection and copy. The
selection stays after a copy, and the PRIMARY selection is
set.
- Added a graceful quit with /quit and Ctrl+C.
- The slash command popup has better contrast, with full-width
backgrounds.
- /model lists all models and disables the ones that have no
credentials.
- The startup banner lists the loaded extensions.
- /fork creates a new session file.
- The gutter style is consistent, tool receipts are quieter
and the splash screen scales.
- Ctrl+X e opens the external $EDITOR.
- The message navigation inspector is improved, and the
markdown theme is fixed.
- Prompts with arguments now fill the input instead of being
submitted automatically.
- Session history is shown on /resume and /import.
- Scrollback is repainted when the theme changes.
- Subagent results show a clean summary instead of raw output.
- Subagents use the same live view as the parent.
- Bash output streams in the TUI.
- /new accepts a prompt, and ctx.NewSession supports phase
handoffs.
- Kit warns when the provider reports no token usage.
- Added custom models through the configuration file.
- Added kit install for git-based extension distribution.
- Updated the model aliases for Anthropic, OpenAI and Google
Gemini.
- Added the ! and !! shell command prefixes.
- Added the /model slash command with an interactive fuzzy-finding
selector.
- Added the /share command and a session viewer.
- Added the /theme command with 22 built-in themes and file-based
theme discovery.
- Added @file autocompletion and context attachment.
- Added ACP server mode (kit acp).
- Added Google Vertex AI support for Claude models.
- Added a KITT-inspired theme system with unified markdown
colours.
- Added the OnContextPrepare event to filter and inject context.
- Added the OnModelChange event and ctx.Exit() for extensions.
- Added OpenAI Responses API support for codex, gpt-5, o3 and
o4 models.
- Added Pi-style prompt templates.
- Added TUI suspend, custom message rendering and extension
hot-reload.
- Added the UIVisibility and GetContextStats APIs and compact
tool renderers.
- Added tab-completion of arguments for extension slash commands.
- Added clipboard image paste (Ctrl+V).
- Added copy and paste support.
- Added custom header and footer regions for extensions.
- Added custom tool rendering for extensions.
- Added an editor interceptor system for extensions.
- Added an extension API to register and switch themes.
- Added extension widget slots for persistent TUI content.
- Added first-class subagent support for task delegation.
- Added the frequency-penalty and presence-penalty parameters.
- Added the go-edit-lint extension, which shows diagnostics in
the TUI.
- Added interactive prompts for extensions (select, confirm,
input).
- Added an interactive sudo password prompt for the bash tool.
- Added keyboard shortcuts, tool context and the ToolCallEvent
source field for extensions.
- Added the kit-kit meta-agent extension example.
- Streaming text is shown live in the viewport.
- Added a modal overlay dialog system for extensions.
- The edit tool supports multiple edits.
- Extension events include rich tool metadata.
- Added session before-hooks (OnBeforeFork, OnBeforeSessionSwitch)
and the OnBeforeCompact compaction event.
- Added session management features: a picker, history, /name,
/export and /import.
- Added session management, persistence, editor text and status
bar APIs for extensions.
- Added smart @ attachments with MIME detection and MCP resource
support.
- Compaction summaries stream.
- Added a subagent monitoring extension with a horizontal widget
layout.
- Added the subagent-widget extension example.
- Added support for thinking models with configurable reasoning
levels.
- Added tool management, model management, options, an event
bus, LLM completion, steer mode and 10 example extensions.
- Added visual selection highlighting with theme colours.
- Added advisory model validation and the vercel provider.
- Empty sessions are removed automatically on shutdown and on
/resume.
- Custom prompts and skills reload automatically when their
files change.
- Prompts are cached automatically to reduce cost.
- A double ESC cancels tool calls without breaking API call
pairs.
- Streaming bash output has a height limit and is replaced by
the tool result when it finishes.
- Model notation changed from provider:model to provider/model.
- Added daemon mode with iroh remote sessions (kit daemon, kit
- -remote).
- The daemon has a single-instance lock, a status command (kit
daemon status) and a systemd user service.
- Tools run in parallel, and the status display shows several
tools at once.
- Hooks can give feedback to the LLM.
- Requests identify themselves as KIT.
- Added a full alt screen mode with in-memory scrollback.
- Compaction is improved, with split-turn handling, file tracking
and non-destructive persistence.
- Subagents run in-process instead of as separate processes.
- /new creates a new session file.
- Bash tool timeouts can be configured in kit.yml.
- The daemon runs several sessions over one endpoint and tears
down each session separately.
- The model selection and thinking level persist across sessions.
- The theme selection persists across sessions.
- The model catalog now comes from models.dev, and OpenAI-compatible
providers are routed automatically.
- The spinner is now a KITT-style red scanning animation.
- Streaming output shows the bash command as a header.
- A spinner shows while shell commands (! and !!) run.
- The MCP configuration supports env.
- Added system prompt support.
- Token usage updates after each step of a multi-step turn.
* Bug Fixes
- acp:
- mcpServers defaults to an empty array for clients that do
not send it.
- The ACP server follows the ACP v1 specification.
- The configured thinking defaults are kept for new sessions.
- The startup message no longer appears in the stdio output.
- Extensions now work in ACP mode.
- agent:
- Tools added or removed mid-turn take effect at the next LLM
step.
- Streaming is more resilient, and retries are safe.
- Anthropic prompt caching now works as intended.
- Kit recovers when the provider rejects image tool results.
- Overload errors are retried even when they are not marked
as transient.
- Tool call arguments are tracked correctly for parallel
calls.
- anthropic:
- output_config.effort is sent for effort-graded models.
- app:
- The layout resets after a widget is removed.
- Queued messages are sent after /compact finishes.
- ctx.NewSession waits until the agent is idle.
- auth:
- OAuth credentials work in ACP mode, and tokens refresh
automatically.
- compaction:
- The API token baseline is kept after compaction.
- core:
- Bash streaming no longer stops on an oversized line.
- The read tool returns an error when used on a directory.
- The jobs_list schema sends an empty required array.
- Bash output is no longer truncated while it is being read.
- daemon:
- A single Escape is delivered after an idle time, without
waiting for more input.
- Sockets are found in different runtime environments.
- Hosted sessions get the full environment of the caller.
- The terminal is handed back correctly, the alt screen is
kept and no orphan sidecar process is left.
- Escape-sequence handling is more robust.
- Ctrl-V is intercepted under the kitty keyboard protocol.
- Choices on the same daemon stay local.
- The session size and truecolor are kept across attach.
- The connection stays alive across a session switch.
- The detach chord stays armed across the kitty Ctrl-X release.
- The pairing window stays open after a failed attempt.
- Remote sessions are listed on attach, and the client terminal
is forwarded.
- Client control requests and attaching can be cancelled, and
the local dial has a time limit.
- Clipboard images are published next to their destination.
- Terminal capabilities are refreshed in live sessions.
- A shared session grows again when its smallest client leaves.
- Approvals queued after the pairing window expires are
rejected.
- Terminal modes are replayed to clients that attach mid-session.
- A session is retired when its client never received its id.
- Sessions shut down predictably across daemon restarts.
- New sessions from the picker start on the connected host.
- The session is told which terminal multiplexer the client
runs in.
- Stdin is unblocked after a picker closes, and the alt screen
is kept.
- examples:
- Fixed a race between check and render in the status-footer
example.
- The MCP table is kept when presentation.go is also loaded.
- Two gate examples now match the registered tool names.
- extbridge:
- The run error is kept, and OnComplete fires when a subagent
returns no result.
- extensions:
- go-edit-lint runs once per turn.
- Subagents are spawned without blocking and return a usable
handle.
- Hot-reload stays in sync with the loaded extensions.
- Deadlocks in TUI callback notifications are prevented.
- The model in use is reported correctly.
- Blocked or disabled tools no longer return an error, so the
LLM sees the reason.
- Handler calls are serialized per extension to prevent data
races.
- _test.go files and example subdirectories that are not
extensions are skipped.
- Logging is structured and respects log levels.
- The manifest Include is written in a single pass and kept
on update.
- kit:
- Streaming is enabled for subagent child instances.
- Runtime prompt changes are kept across a model switch.
- The system prompt file path is resolved correctly.
- mcp:
- The OAuth configuration applies to servers added at runtime.
- Connections are released when tool discovery fails.
- MCP tool failures are reported as soft errors instead of
critical aborts.
- models:
- Added gpt-5.4 reasoning level support with automatic
adjustment.
- New OpenAI models are registered automatically for Responses
API routing.
- Unpriced models are shown differently from free models.
- Stored OpenAI OAuth credentials are preferred over API keys.
- Provider-qualified catalog keys are resolved.
- Auto-discovered providers are routed by wire protocol.
- gpt-6 and later models are routed to the OpenAI Responses
API.
- opencode gpt-* and grok-* models are routed to the Responses
API.
- Thinking and prompt caching work for Claude on Bedrock and
Vertex.
- ollama:
- The model is no longer reloaded on every run.
- pkg:
- <think> tags in the stream are handled transparently.
- session:
- Sessions with lines longer than 1 MiB are listed.
- Circular parent references in the session tree are prevented.
- Session files are written more safely, with better locking,
fsync and rollback on errors.
- Tree diagnostics are logged at debug level.
- skills:
- Symlinked entries in skill directories are followed.
- File-backed skill activations stay up to date.
- Skill name collision messages are logged to a file at info
level.
- Empty activation and the workspace resource policy are
supported.
- startup:
- The model selector opens when the provider reports an error.
- steer:
- Steering messages are kept for the whole turn and are never
dropped.
- subagent:
- The resume session id is shown in the tool result text.
- Duplicate MCP tool names and unnecessary reloads are
prevented.
- Subagents no longer fail immediately when the parent context
has already ended.
- Removed a biased model example from the tool schema.
- tui:
- Log output goes to a file so that it does not corrupt the
TUI.
- tunnel:
- Concurrent rejection tasks above the connection limit are
bounded.
- Slot reservations made before authentication expire.
- Stalled session slots are released after a timeout.
- ui:
- Token usage adds up across all steps of a turn, and context
tracking includes cache tokens.
- User messages have a subtle background fill, a uniform
background and a full-height left border in the primary
colour.
- All blocks align on one left edge and share one geometry,
without horizontal staggering.
- Image previews are no longer redrawn without need.
- Long lines are clipped in the fallback tool result rendering.
- Queued messages are shown as styled, full-width, left-aligned
blocks with a QUEUED badge, and long ones are truncated.
- Labels for user and info messages are correct.
- Mouse selection no longer drifts with reasoning blocks,
extension widgets, streaming or code blocks.
- The extension tool count includes only extension tools.
- The preview mode is chosen from the detected terminal
capabilities.
- The slash command name column in the popup is sized to fit.
- Slash commands run in the TUI instead of being sent to the
LLM.
- The reasoning counter stops when the last token is processed.
- Usage costs are hidden for all subscription OAuth providers.
- The activity row stays visible during message navigation,
and the layout adjusts when it appears or disappears.
- Plain shell output rows keep the theme colour.
- Models without credentials can still be found in the model
selector.
- Ctrl+C clears the input before quitting, and a double Ctrl+C
is required to quit.
- Messages are no longer rendered twice after reasoning-only
responses.
- Startup messages are printed in the correct order.
- Auto-scroll is enabled again when a new message is submitted.
- The TUI has less visual noise and a better layout.
- Typography, spinner frames and colours refresh when the
theme changes.
- Textarea inputs no longer have a character limit.
- j/k navigation is removed from fuzzy selectors.
- Agent messages span the full width without borders.
- The autocomplete badge is a theme-coloured chip, and the
description of the cursor row stays visible.
- Selectors render in the alt screen buffer.
- The transcript resizes when the input grows, and the input
height is no longer capped.
- A queue deadlock is fixed, and queued messages are anchored
to the input.
- MCP tools appear in /tools and the status bar after
asynchronous loading.
- All lines of a prompt are shown.
- Pasted images show previews in the input and in the transcript.
- Blocks no longer draw a gutter beside trailing blank rows.
- The response is no longer duplicated after an interrupted
turn.
- Confirmations are no longer shown twice, and the field
separator is consistent.
- Diffs no longer overflow narrow terminals.
- Empty blocks no longer appear when sessions are loaded.
- Assistant messages, reasoning blocks and user messages wrap
to the terminal width.
- Tool error output is shown in a caution block.
- watcher:
- New subdirectories are watched for skill and prompt reloads.
- Debug logging that corrupted the TUI is removed.
- /tree and /fork no longer lose context.
- Malformed properties no longer cause a panic.
- ESC now cancels the agent response.
- Saved runtime skills activate from an empty catalogue.
- Shell command output is truncated to 20 lines on screen, with
the same limits as the bash tool.
- The slash command popup is centred so it does not overflow
at the bottom.
- The terminal is cleaned up after a remote session exits.
- Conflicting temperature and top_p values are cleared for the
Anthropic API.
- Orphaned terminal rows are cleared after streamed content is
flushed.
- JSON Schema draft-07 exclusive bounds are converted to the
draft-04 format.
- Fuzzy match positions and diff generation in the edit tool
are correct.
- Token usage and cost tracking are correct for multi-step tool
calls, without double counting.
- Fixed a crash when sending tool results to Anthropic and
Google.
- Blank lines no longer appear at the bottom of the TUI.
- Diff and code background colours come from the active theme.
- The subagent context no longer depends on the parent deadline.
- 'Finished without output' is no longer shown for empty assistant
messages.
- Escape sequences no longer leak from the spinner.
- All message blocks appear below the previous content in the
scrollback.
- MCP tool results show readable text instead of raw JSON.
- Subagents recover from bad model names, and bare model names
inherit the parent provider.
- Custom provider models persist, and bare model names are
handled.
- Input keybindings, user message rendering and scrollback
ordering are improved.
- Pasted images are included in steering messages.
- The vim interceptor stays active in both modes, so Esc returns
to normal mode.
- Anthropic cache_control blocks are limited to a maximum of
4.
- The TUI adapts to terminal resizing at any size.
- .wav files have the audio/wav MIME type.
- Commands run with SHELL set to bash.
- Image files are passed to the model.
- Completed messages and tool calls are kept in the session
when ESC cancels a response.
- The full content is kept in the scrollback.
- The bash tool no longer hangs on long-running or background
processes.
- The spinner no longer animates at double speed.
- Text is no longer duplicated when streamed content is flushed
before tool calls.
- A null 'required' in MCP tool schemas no longer breaks the
OpenAI API.
- Thinking tags from Qwen and DeepSeek models are handled.
- The line-number gutter is removed from the ls tool output.
- Reasoning blocks are shown when sessions are resumed.
- A steering message shows immediately when it is used mid-turn.
- Scrolling works again in reattached and busy sessions.
- /new resets the token usage, and costs are no longer estimated.
- opencode models use the correct provider API.
- Before-hook callbacks no longer deadlock the TUI.
- Health check messages are logged only in the debug output.
- Token usage shows correctly in all display modes.
- Long lines in tool messages are truncated instead of wrapped.
- Thinking output blocks have a uniform background.
- Token counts update when you switch models mid-session.
- Extensions in main.go are named after their immediate parent
directory.
* Documentation
- Added comprehensive theming documentation.
- Documented remote sessions (kit daemon, kit --remote).
- Documented detach, reattach and shared remote sessions.
- Documented detachable sessions, local sessions and the Ctrl+]
keymap and session prefix.
- Documented the cross-host attach picker and terminal forwarding.
- Documented the noOAuth MCP server configuration field.
- Added an example of custom headers for MCP servers.
- Documented model pricing and OAuth status in the extensions
guide.
- Documented shortcut key handling.
- Documented subagent monitoring events and the extension.
- Documented subagent status, run selection, native inspection
and retained runs.
- Explained the trust boundaries of tool execution.
- Added custom provider documentation.
- Added the status-footer extension example.
* Maintenance
- Refreshed the embedded model database from models.dev, and
removed dead model aliases.
- ui:
- Thinking blocks have a subdued, colour-coded and italic
style.
- Keybindings work better in terminal multiplexers.
- Message spacing and styling are more consistent.
- The splash stripe is removed.
- The session picker and all popups use the same popup list.
- Tool names in the spinner are simpler.
- The find, grep, ls, read and bash tool outputs use a figure
layout.
- The KITT scanner LEDs are segmented, and the logo text is
centred.
- The Read tool gutter style matches the Write tool.
- Select and copy are disabled.
- A multi-select appears automatically when a repository has
several extensions.
- Extension discovery in mixed repositories is fixed.
* Other Changes
- Added the /history command.
- Added the Azure OpenAI provider.
- Added Google Gemini support.
- The KIT logo shows above the startup information, followed
by a visual separator.
- Added OpenAI ChatGPT/Codex OAuth authentication next to
Anthropic authentication.
- reasoning_content is omitted when empty in OpenAI messages.
- Added built-in HTTP functionality.
- Added a clear error message for gpt-codex-spark models.
- Added a hooks system for lifecycle events.
- Providers declare their wire protocol explicitly.
- Added the kit-telegram example extension.
- Added message navigation and an inspector (Ctrl+X m).
- Added a message window so that the context is not overloaded.
- Added mid-turn steering with Ctrl+S.
- Added number and integer types to the Google type converter.
- Added configuration for SSE servers and Authorization header
support.
- Kit can connect to remote SSE MCP servers.
- Added thinking tag parsing for ACP.
- Added usage statistics and handling of overloaded errors.
- YAML configuration files are allowed.
- The subagent tool is always added.
- Added autocompletion.
- SDK features are available to extensions: tree navigation,
skills, templates and model resolution.
- Core tools can be disabled in the configuration.
- Added Claude Max support.
- Added compact mode.
- All overlays are drawn on top of the view instead of replacing
it.
- Tools are disabled for models that do not support them.
- Tool calls and responses are no longer buffered.
- Added environment variable substitution.
- Added Copilot login.
- What was new in version 0.140.0
* Features
- acp:
- Added an ACP server mode.
- Added permissions, client file system and terminal access,
slash commands, plans, and clearer authentication errors.
- Added support for the session/set_model ACP method.
- Added thinking tag parsing.
- agent:
- Failed streaming steps resume after transient errors.
- Added named agent definitions with per-agent tool restrictions.
- app:
- Token counts and context fill update after every step.
- auth:
- Kit starts without API keys, and a new /connect dialog lets
you enter a key.
- Added OpenAI ChatGPT/Codex OAuth authentication alongside
Anthropic authentication.
- Added Copilot login.
- Added Claude Max support.
- codemode:
- Added a code mode tool that runs JavaScript, which can call
other tools.
- compaction:
- Added adaptive budgets, full-part token estimation and
anchored summaries.
- Kit compacts automatically and retries on context overflow
errors.
- Compaction handles split turns, tracks files and keeps the
original history.
- Compaction summaries stream.
- Added a compact mode.
- Added a message window to keep the context from overloading.
- config:
- Added a noOAuth flag to skip OAuth on public MCP servers.
- Added per-model baseUrl and apiKey for custom models.
- Custom models can be added in the config file.
- Added support for env in the MCP config.
- Added environment variable substitution.
- Added YAML configuration files.
- Bash tool timeouts can be set in kit.yml.
- Core tools can be disabled in the configuration.
- daemon:
- Added a daemon mode with iroh remote sessions.
- Added a single-instance lock and a systemd user service.
- One endpoint serves multiple sessions, and each session
tears down on its own.
- Added detach, reattach and shared multi-client sessions.
- Detachable sessions are the default when a daemon runs.
- Added local sessions, a session multiplexer and a multi-host
hub.
- Added pairing-based remote access (protocol v3).
- Images can be pasted over remote sessions, with an image
preview.
- The external tunnel sidecar is replaced by an in-process
go-iroh transport.
- The protocol constant is stable, and sessions survive a
daemon restart.
- examples:
- The subagent-monitor example is rebuilt around ShowOverlay.
- Added a kit-kit meta-agent example extension.
- Added a subagent-widget example extension.
- Added a kit-telegram example extension.
- Added a popup-terminal example with a persistent shell.
- Added a preferred-models example.
- extensions:
- Added Abort, IsIdle, Compact, SendMultimodalMessage and
GetSessionUsage to the extension context.
- Added GetSystemPrompt and ctx.GetTheme() to the extension
context.
- Added a GitHub handler extension and environment variable
access.
- Added OnLLMUsage, SetState and a richer AgentEndEvent.
- Added OnMCPToolsReady for a summary of the MCP servers.
- Added OnContextPrepare to filter and inject context window
content.
- Added OnModelChange and ctx.Exit().
- Added session before-hooks (OnBeforeFork, OnBeforeSessionSwitch)
and the OnBeforeCompact event.
- Added custom widget rendering, and widgets can fill the
transcript height.
- Added widget slots for persistent TUI content.
- Added custom header and footer regions.
- Added custom tool rendering and custom message rendering.
- Added hooks for a presentation mode.
- Added hot-reload with file watching and the /reload-ext
command.
- Added terminal size, thinking level and turn state APIs.
- Added UIVisibility and GetContextStats APIs and compact
tool renderers.
- Inline bash in the editor expands in interactive mode.
- Extension types are exported from pkg/extensions.
- ToolOutputEvent is available to extensions.
- Extensions can read model pricing and OAuth status.
- Extensions can use the decide API with a configured default
model.
- Keyboard shortcut registration and dispatch are more robust.
- Added keyboard shortcuts, tool context and a source field
on ToolCallEvent.
- Extensions load from a system-wide directory.
- Subagent monitor panes show the agent name.
- Added an editor interceptor system.
- Added an API to register and switch themes.
- Added interactive prompts (select, confirm, input).
- Added a modal overlay dialog system.
- Added tab-completion for extension slash command arguments.
- Added rich tool metadata to extension events.
- Added session management, persistence, editor text and
status bar APIs.
- Added tool management, model management, options, an event
bus, LLM completion, steer mode and 10 example extensions.
- Added the go-edit-lint extension with TUI diagnostics
visibility.
- Added a subagent monitoring extension with a horizontal
widget layout.
- Added a kit install command to distribute extensions from
git, with a multi-select when a repository has several
extensions.
- Tree navigation, skills, templates and model resolution are
available to extensions.
- Added TUI suspend.
- github:
- GitHub integration works end-to-end through a core command
and an action.
- hooks:
- OnPrepareStep exposes the per-step ToolChoice.
- Added a hooks system for lifecycle events.
- Hooks can send feedback to the LLM.
- Added an option to require approval before tool execution.
- jobs:
- Added background jobs and event-driven continuation.
- mcp:
- Added OAuth support for remote MCP servers.
- MCP servers can be loaded and unloaded at runtime.
- Embedded resources in prompt messages are handled.
- Added SSE server configuration with Authorization header
support, including remote SSE MCP servers.
- Added a connection pool.
- models:
- Added the apiModelName field to the custom model configuration.
- Added experimental mode controls to the TUI.
- Added per-model generation parameter defaults and per-model
system prompts.
- Added catalog-driven reasoning levels, tiered pricing and
model status.
- Bedrock and Vertex can be configured in Kit's own files.
- The x-opencode-session header is sent to opencode providers.
- Added model-specific reasoning effort levels.
- Silent max-tokens truncation is shown and prevented.
- Added thinking model support with configurable reasoning
levels.
- Added OpenAI Responses API support for codex, gpt-5, o3 and
o4 models.
- Added Google Vertex AI support for Claude models.
- Added Azure OpenAI and Google Gemini providers.
- Added the vercel provider and advisory model validation.
- Model aliases for Anthropic, OpenAI and Google Gemini are
updated.
- The model catalog comes from models.dev, and openai-compatible
providers are routed automatically.
- Providers declare their wire protocol explicitly.
- Model notation changed from provider:model to provider/model.
- Added frequency-penalty and presence-penalty parameters.
- Added automatic prompt caching to reduce cost.
- Requests identify themselves as KIT.
- Tools are disabled for models that do not support them.
- A clear error message is shown for gpt-codex-spark models.
- prompts:
- Added the $+ required variadic placeholder, and code is
skipped in placeholders.
- Prompts and extensions reload automatically from the XDG
config.
- Added Pi-style prompt templates.
- Custom prompts and skills reload automatically when files
change.
- Added system prompt support.
- read:
- Image files return to the model as viewable images.
- session:
- Added local and remote session management.
- Shared sessions include the system prompt and model.
- Added a session picker, history, /name, /export and /import.
- Added the /share command and a session viewer.
- Added the /history command.
- Empty sessions are cleaned up on shutdown and on /resume.
- Model selection, thinking level and theme persist across
sessions.
- shell:
- Bang commands stream coloured output.
- Added the ! and !! shell command prefixes.
- A spinner shows while shell commands run, and a header shows
the bash command.
- Added an interactive sudo password prompt for the bash tool.
- Added built-in HTTP functionality.
- skills:
- Skills activate with /<name>, with full agentskills.io spec
compliance.
- subagent:
- Added first-class subagent support for task delegation, and
the subagent tool is always available.
- Subagents run in-process instead of as subprocesses.
- Added /kill-subagent to stop running subagents.
- Child sessions link to the parent and can be resumed.
- An invalid model returns an early error instead of a silent
fallback.
- Added native child conversation inspection.
- ui:
- Added slash commands: /copy, /edit (with a fuzzy file
picker), /retry, /undo, /model (with a fuzzy selector) and
/theme (with 22 built-in themes).
- Added :shortcode emoji autocomplete to the input editor.
- Added @file autocomplete, context attachment and smart @
attachments with MIME detection and MCP resource support.
- /skill:<name> slash commands autocomplete.
- Added autocomplete.
- The session and tree selectors have a bordered container
and improved styling.
- Added horizontal image tiles and a full image preview modal.
- Image previews render with the Kitty graphics protocol,
with half-block thumbnails as a fallback.
- Added clipboard image paste (Ctrl+V) and copy and paste
support.
- Added character-level mouse text selection and copy, with
visual selection highlighting.
- The selection stays after a copy, and the PRIMARY selection
is set.
- Ls tool output and bash streaming output are truncated by
line.
- Bash output streams in the TUI, with a height cap.
- Added a reusable popup list, and /model renders as an
overlay.
- All overlays are composited over the view.
- Added a subagent status bar and a run picker.
- Subagents show the same live view as the parent, and their
results show a clean summary.
- The subagent type shows in the spinner.
- The startup wordmark has an animation, with a KIT logo above
the startup info.
- The spinner is replaced by a KITT-style scanning animation.
- Added a KITT-inspired theme system with unified markdown
colors.
- The steer keybind changed to the Ctrl+X s chord.
- Added mid-turn steering.
- Ctrl+X e opens the external $EDITOR.
- Added message navigation and an inspector (Ctrl+X m).
- Syntax colors derive from the theme.
- Live activity has its own row, with quieter surrounding
chrome.
- @file tokens in user messages are highlighted.
- /quit and Ctrl+C quit gracefully.
- The slash command popup has better contrast.
- /model lists all models and disables those without credentials.
- The startup banner lists loaded extensions.
- /fork and /new create a new session file, and /new accepts
a prompt.
- Prompts with arguments populate the input instead of
submitting automatically.
- Session history renders on /resume and /import.
- Scrollback repaints when the theme changes.
- Terminal capabilities are detected lazily and per client.
- A warning shows when the provider reports no token usage.
- Added a full alt screen mode with in-memory scrollback.
- Added live streaming text in the viewport.
- Parallel tool execution is enabled, with a multi-tool status
display.
- Double-ESC cancels tool calls.
- Token usage updates after each step in multi-step turns.
- Usage stats show, and overloaded errors are handled.
- edit:
- The edit tool supports multiple edits.
* Bug Fixes
- acp:
- mcpServers defaults to an empty array for clients that omit
it.
- The ACP server follows the ACP v1 spec.
- Configured thinking defaults are kept for new sessions.
- The startup message is removed from stdio output.
- Extensions work in ACP mode.
- OAuth credentials work in ACP mode, and tokens refresh
automatically.
- agent:
- AddTools and RemoveTools take effect mid-turn at the next
LLM step.
- Streaming is more resilient, and retries are safe.
- Anthropic prompt caching works as intended, with at most 4
cache_control blocks.
- Kit recovers when the provider rejects image tool results.
- Overload errors are retried.
- Tool call arguments are tracked per call for parallel calls.
- Conflicting temperature and top_p settings are cleared for
the Anthropic API.
- Sending tool results to Anthropic and Google no longer
crashes.
- Kit no longer panics on malformed properties.
- JSON Schema draft-07 exclusive bounds convert to draft-04
format.
- A null 'required' field in MCP tool schemas no longer breaks
the OpenAI API.
- reasoning_content is omitted when empty in OpenAI messages.
- Number and integer types work with Google.
- <think> tags in the stream are handled transparently,
including for Qwen and DeepSeek models.
- The SHELL environment variable is set to bash for command
execution.
- The bash tool no longer hangs on long-running or background
processes.
- Tool calls and responses are no longer buffered.
- anthropic:
- output_config.effort is sent for effort-graded models.
- app:
- The layout resets after a widget is removed.
- Queued messages are sent after /compact completes.
- ctx.NewSession waits for the agent to be idle.
- compaction:
- The API token baseline is kept after compaction.
- core:
- Bash streaming no longer stalls on an oversized line.
- The read tool returns an error when used on a directory.
- Bash output is no longer truncated mid-drain.
- The edit tool maps fuzzy match positions and generates diffs
correctly.
- daemon:
- A lone Escape is delivered on idle without waiting for more
input.
- Sockets are found across runtime environments.
- Hosted sessions get the caller's full environment.
- The terminal is handed back, the alt screen is kept, and
the sidecar is never orphaned.
- Escape sequences are handled more robustly.
- Ctrl-V is intercepted under the kitty keyboard protocol.
- Choices on the same daemon stay local.
- Session size and truecolor are kept across attach.
- The connection stays alive across a session switch.
- The detach chord stays armed across the kitty Ctrl-X release.
- The pairing window stays open after a failed attempt.
- Remote sessions are listed on attach, and the client terminal
is forwarded.
- Client control requests and attach can be cancelled.
- Clipboard images are published beside their destination.
- Terminal capabilities refresh in live sessions.
- A shared session grows again when its smallest client leaves.
- Approvals queued after the pairing window expires are
rejected.
- Terminal modes replay to clients that attach mid-session.
- A session whose client never learned its ID is retired.
- Sessions shut down deterministically across daemon restarts.
- New sessions start on the connected host from the picker.
- The session knows which multiplexer the client runs in.
- Stdin unblocks after a picker closes.
- The client terminal is cleaned up after a remote session
exits.
- Scrolling works in reattached and busy sessions.
- examples:
- The MCP table is kept when presentation.go is also loaded.
- Two gate examples use the registered tool names.
- A race in the status-footer example is fixed.
- extensions:
- go-edit-lint runs once per turn.
- Subagent spawn does not block and returns a usable handle.
- OnComplete fires, and the run error is kept, when a subagent
result is empty.
- Hot-reload keeps extension state consistent.
- TUI callback notifications no longer deadlock.
- Extensions report the model in use.
- The LLM sees the reason when a tool is blocked or disabled.
- Handler calls are serialized per extension to prevent data
races.
- _test.go files and non-extension example subdirectories are
skipped.
- Logging respects log levels.
- The manifest Include is written in a single pass and kept
on update.
- Extensions in main.go are named after their immediate parent
directory.
- Before-hook callbacks no longer deadlock the TUI.
- kit:
- Subagent child instances stream.
- Runtime prompt changes are kept across a model switch.
- The system-prompt file path resolves correctly.
- mcp:
- OAuth configuration applies to servers added at runtime.
- Connections are released when tool discovery fails.
- MCP tool failures are soft errors, not critical aborts.
- MCP tool results show human-readable text instead of raw
JSON.
- models:
- Added gpt-5.4 reasoning level support with automatic
adjustment.
- New OpenAI models register automatically for Responses API
routing.
- Unpriced models are shown differently from free ones.
- Stored OpenAI OAuth is preferred over API keys.
- Provider-qualified catalog keys resolve.
- Auto-discovered providers are routed by wire protocol.
- gpt-6+ models route to the OpenAI Responses API.
- opencode gpt-* and grok-* models route to the Responses
wire, and opencode models use the correct provider API.
- Thinking and prompt caching work for Claude on Bedrock and
Vertex.
- Custom provider models and bare model names persist correctly.
- ollama:
- The model no longer reloads on every run.
- session:
- Sessions with lines longer than 1 MiB are listed.
- Ownership and repair errors fail closed.
- Session writes are more robust: temp files are synced before
rename, header rewrites are guarded, and failed appends
roll back.
- Circular parent references in tree sessions are prevented.
- /tree and /fork no longer lose context.
- Completed messages and tool calls are kept on ESC cancellation.
- Reasoning blocks render when a session resumes.
- skills:
- Symlinked entries in skill directories are followed.
- File-backed activation stays up to date.
- Collision logs go to the log file at info level.
- Empty activation and the workspace resource policy are
supported.
- Saved runtime skills activate from an empty catalogue.
- startup:
- The model selector opens on provider errors.
- steer:
- Steering messages are kept for the whole turn and never
dropped.
- Pasted images are included in steering messages.
- Steering messages render immediately mid-turn.
- subagent:
- The resume session ID is shown in the tool result text.
- Duplicate MCP tool names and redundant reloads are prevented.
- Subagents no longer fail instantly when the parent context
has ended, and are detached from the parent deadline.
- The biased model example is removed from the tool schema.
- Bad model names are handled gracefully, and bare model names
inherit the parent provider.
- Subagent events are forwarded to the parent once, not
duplicated.
- tui:
- Log output goes to a file so the TUI is not corrupted.
- Health check logging appears only in debug output.
- tunnel:
- Over-cap rejection tasks are bounded.
- Pre-authentication slot reservations expire.
- Stalled session slots are released after a timeout.
- ui:
- Token usage accumulates across all steps in a turn, and
context tracking includes cache tokens.
- Token and cost tracking is correct for multi-step tool calls
and no longer double-counts.
- /new resets usage, and token counting updates when the model
changes.
- Usage costs are hidden for subscription OAuth providers.
- User, assistant, reasoning and queued message blocks are
full width, aligned, wrapped to the terminal width and
filled with a uniform background.
- Labels for user and info messages are correct.
- Mouse selection no longer drifts during streaming, with
extension widgets, or in reasoning blocks.
- Only extension tools count in the extension tool count.
- The image preview mode follows the detected capabilities,
and image previews no longer redraw needlessly.
- Pasted image previews show in the input and the transcript.
- Long lines are clipped or truncated in tool output instead
of wrapping.
- Shell command output is truncated to 20 lines, using the
same limits as the bash tool.
- Queued messages render as styled blocks with a QUEUED badge,
preserve newlines and stay anchored to the input.
- A queue deadlock is fixed.
- The reasoning counter freezes on the last token.
- Slash commands run in the TUI instead of going to the LLM.
- The slash command popup sizes its name column to fit and
is centered.
- The activity row stays alive across message navigation, and
the layout updates when it appears or disappears.
- Plain shell output rows keep the theme colour.
- Models without credentials can still be found in the model
selector.
- Ctrl+C clears the input before quitting, and quitting needs
a double Ctrl+C.
- Messages are no longer rendered twice after reasoning-only
responses or interrupted turns.
- Auto-scroll turns on again when a new message is submitted.
- The TUI has less visual noise and a better layout.
- Typography, spinner frames and diff and code backgrounds
follow the active theme.
- Character limits are removed from textarea inputs, and the
transcript resizes when the composer grows.
- j/k navigation is removed from fuzzy selectors.
- The autocomplete badge renders as a theme-coloured chip.
- Selectors render in the alt screen buffer.
- Startup info messages are restored and print in order.
- MCP tools show in /tools and the status bar after asynchronous
loading.
- All lines of a prompt are shown.
- Blocks no longer draw a gutter beside trailing blank rows.
- Confirmations no longer show twice.
- Diffs no longer overflow narrow terminals.
- Tool error output is wrapped in a caution block.
- Empty assistant messages no longer show 'Finished without
output'.
- Escape sequences no longer leak from the spinner, and the
spinner no longer runs at double speed.
- Message blocks appear below previous content in scrollback,
and scrollback keeps the full content.
- Blank lines at the bottom of the TUI and orphaned terminal
rows are removed.
- Streamed text is no longer duplicated before tool calls.
- The ls tool output has no line-number gutter.
- Thinking output blocks have a uniform background.
- The TUI resizes correctly at any terminal size.
- Input keybindings and user message rendering are improved.
- The vim interceptor stays active in both modes, so Esc
returns to normal mode.
- ESC cancels the agent response.
- Token usage displays consistently across all visual modes.
- watcher:
- New subdirectories are watched for skill and prompt reload.
- Debug logging that corrupted the TUI is removed.
- media:
- .wav files use the audio/wav MIME type.
* Other Changes
- models:
- The embedded model catalog is refreshed from models.dev,
and dead aliases are removed.
- ui:
- Keybindings work better in terminal multiplexers.
- Thinking blocks use subdued, colour-coded styling.
- A visual separator follows the startup info.
- deps:
- Packages are updated to fix security issues.
- What was new in version 0.139.0
* Features
- acp:
- New ACP server mode (`kit acp`).
- Support for permissions, client file system and terminal
access, slash commands, plans and auth error reporting.
- Support for the session/set_model ACP method.
- agent:
- Failed streaming steps resume after transient errors.
- Parallel tool execution, with a status display for multiple
tools.
- Tool calls can be cancelled with a double ESC without
breaking API request pairs.
- Hooks can send feedback to the LLM.
- A comprehensive hooks system for lifecycle events.
- Optional approval before a tool runs.
- Automatic prompt caching to reduce cost.
- Tools are disabled for models that do not support them.
- A message window prevents overloading the context.
- Requests identify themselves as KIT.
- agents:
- Named agent definitions with per-agent tool restrictions.
- app:
- Token counts and context fill update after every step,
including in multi-step turns.
- auth:
- Kit can start without API keys, and a new /connect dialog
lets you enter a key.
- OpenAI ChatGPT/Codex OAuth authentication alongside Anthropic
authentication.
- GitHub Copilot login.
- Support for Claude Max subscriptions.
- codemode:
- New code mode tool that runs JavaScript, which can call
other tools.
- compaction:
- Adaptive budgets, token estimation over full message parts,
and anchored summaries.
- Automatic compaction and retry on context overflow errors.
- Improved compaction with split-turn handling, file tracking
and non-destructive persistence.
- Compaction summaries stream as they are generated.
- New compact mode.
- config:
- New noOAuth flag skips OAuth on public MCP servers.
- Custom models can have their own baseUrl and apiKey.
- Custom models can be defined in the config file.
- YAML config files and environment variable substitution are
supported.
- Bash tool timeouts can be set in kit.yml.
- Core tools can be disabled.
- System prompt support.
- daemon:
- Daemon mode with iroh-based remote sessions.
- Sessions can be detached, reattached and shared between
several clients.
- Local sessions, a session multiplexer and a multi-host hub.
- Sessions are detachable by default when a daemon runs.
- Pairing-based remote access (protocol v3).
- Images can be pasted into remote sessions, with an image
preview.
- The Rust kit-tunnel sidecar is replaced by an in-process
go-iroh transport.
- A stable protocol constant, and sessions that survive a
daemon restart.
- Multiple sessions run over one endpoint, and each session
is torn down on its own.
- Single-instance lock, a `kit daemon status` command and a
systemd user service.
- examples:
- The subagent-monitor example is rebuilt around ShowOverlay.
- New example extensions: kit-kit meta-agent, subagent-widget,
popup-terminal with a persistent shell, kit-telegram, and
10 more.
- extensions:
- The extension context gains Abort, IsIdle, Compact,
SendMultimodalMessage, GetSessionUsage, GetSystemPrompt and
GetTheme.
- New GitHub handler extension, and extensions can read
environment variables.
- New OnLLMUsage, SetState, OnMCPToolsReady, OnContextPrepare,
OnModelChange and ctx.Exit.
- AgentEndEvent carries more data.
- Custom widget rendering, widget slots for persistent TUI
content, and widgets that can fill the transcript height.
- Custom header and footer regions, custom tool rendering and
custom message rendering.
- Hooks for a presentation mode.
- Hot-reload with file watching, and a /reload-ext command.
- New APIs for terminal size, thinking level and turn state.
- Inline bash in the editor expands in interactive mode.
- ToolOutputEvent, model pricing and OAuth status are available
to extensions.
- Extensions can use the decide API with a configured default
model.
- Keyboard shortcut registration and dispatch are more robust.
- Extensions can be loaded from a system-wide directory.
- The agent name shows in subagent monitor panes.
- An editor interceptor system.
- Interactive prompts (select, confirm, input) and modal
overlay dialogs.
- APIs to register and switch themes.
- Keyboard shortcuts, tool context and a source field on
ToolCallEvent.
- Rich tool metadata in extension events.
- Session before-hooks (OnBeforeFork, OnBeforeSessionSwitch)
and a compaction event (OnBeforeCompact).
- APIs for session management, persistence, editor text and
the status bar.
- APIs for tool management, model management, options, an
event bus, LLM completion and steer mode.
- UIVisibility and GetContextStats APIs, and compact tool
renderers.
- Extension slash command arguments can be tab-completed.
- Extensions get tree navigation, skills, templates and model
resolution.
- Support for the TUI suspend.
- New `kit install` command for distributing extensions through
git, with a multi-select when a repository contains several
extensions.
- New go-edit-lint extension, with diagnostics shown in the
TUI.
- New subagent monitoring extension with a horizontal widget
layout.
- github:
- GitHub integration works end to end through a core command
and an action.
- hooks:
- OnPrepareStep exposes the ToolChoice for each step.
- mcp:
- OAuth support for remote MCP servers.
- MCP servers can be loaded and unloaded at run time.
- Embedded resources in prompt messages are handled.
- Environment variables can be set in the MCP config.
- Config support for SSE servers, including remote SSE servers
and the Authorization header.
- Connection pool.
- Built-in HTTP functionality.
- models:
- New apiModelName field in custom model config.
- Experimental mode controls in the TUI.
- Per-model defaults for generation parameters, and per-model
system prompts.
- Reasoning levels, tiered pricing and status come from the
model catalog.
- Bedrock and Vertex can be configured in Kit's own files.
- The x-opencode-session header is sent to opencode providers.
- Model-specific reasoning effort levels.
- Silent truncation at max-tokens is reported and prevented.
- Thinking model support with configurable reasoning levels.
- Frequency-penalty and presence-penalty parameters.
- Google Vertex AI support for Claude models.
- OpenAI Responses API support for codex/gpt-5/o3/o4 models.
- New providers: Azure OpenAI, Google/Gemini and Vercel.
- Updated model aliases for Anthropic, OpenAI and Google
Gemini.
- Model notation changes from provider:model to provider/model.
- models.dev replaces catwalk, and OpenAI-compatible providers
are routed automatically.
- Advisory model validation.
- Model selection and thinking level persist across sessions.
- Explicit wire protocol declarations for providers.
- A clear error message for gpt-codex-spark models.
- Usage statistics and handling of overloaded errors.
- prompts:
- New `$+` required variadic placeholder, and code is skipped
when placeholders are expanded.
- Prompts, extensions and skills reload automatically when
files in the XDG config change.
- Pi-style prompt templates.
- read:
- Image files go back to the model as viewable images.
- session:
- Local and remote session management.
- Shared sessions include the system prompt and the model.
- Session picker, history, /name, /export, /import and /history.
- New /share command and session viewer.
- /new and /fork create a new session file.
- Empty sessions are removed on shutdown and on /resume.
- shell:
- Bang commands stream coloured output.
- New `!` and `!!` shell command prefixes, with a spinner
while the command runs.
- The bash tool prompts interactively for a sudo password.
- skills:
- Skills activate with /<name>, and the implementation follows
the agentskills.io spec in full.
- subagent:
- New /kill-subagent command stops running subagents.
- Child sessions link to their parent and can be resumed.
- An invalid model gives an early error instead of a silent
fallback.
- Native inspection of child conversations.
- First-class subagent support for task delegation, with
in-process subagents.
- The subagent tool is always available.
- ui:
- New slash commands: /copy, /edit (with a fuzzy file picker),
/retry, /undo, /model, /theme and /quit.
- `:shortcode` emoji autocomplete in the input editor.
- The session and tree selectors have bordered containers and
improved styling.
- Horizontal image tiles, a full image preview modal, half-block
thumbnails and Kitty graphics protocol previews.
- Line truncation for Ls tool output and bash streaming output.
- Reusable popup list, with /model shown as an overlay.
- Subagent status bar and run picker; subagents use the same
live view as the parent and show a clean summary of results.
- The startup wordmark is animated, and the startup banner
lists loaded extensions.
- Autocomplete for /skill:<name> slash commands.
- The steer keybind changes to the Ctrl+X s leader key chord.
- Mid-turn steering.
- Syntax colors come from the theme.
- Live activity has its own row, and the surrounding chrome
is quieter.
- @file tokens in user messages are highlighted.
- Character-level mouse text selection and copy; the selection
stays after a copy, and PRIMARY is set.
- Clipboard image paste (Ctrl+V) and copy+paste support.
- Slash command popup contrast is improved.
- /model lists all models, and models without credentials are
disabled.
- Consistent gutters, quieter tool receipts and a scalable
splash screen.
- An external $EDITOR opens with the Ctrl+X e chord.
- Message navigation and inspector (Ctrl+X m).
- Prompts with arguments fill the input instead of being
submitted at once.
- Session history shows on /resume and /import.
- Scrollback repaints when the theme changes, and the theme
selection persists.
- Terminal capabilities are detected lazily and per client.
- Streaming bash output shows a command header and a capped
height.
- /new <prompt> and ctx.NewSession support phase handoffs.
- A warning shows when the provider reports no token usage.
- Theme system with 22 built-in themes, file-based discovery
and unified markdown colors.
- @file autocomplete, and smart @ attachments with MIME
detection and MCP resource support.
- Full alt screen mode with in-memory scrollback.
- A KITT-style scanning animation replaces the spinner.
- Visual selection highlighting with theme colors.
- Keybindings work better in terminal multiplexers.
- Thinking blocks have updated, subdued styling.
- The KIT logo shows above the startup info, followed by a
separator.
- Overlays are drawn over the view instead of replacing it.
* Bug Fixes
- acp:
- mcpServers defaults to an empty array for clients that omit
it.
- The ACP server follows the ACP v1 spec.
- New sessions keep the configured thinking defaults.
- The startup message no longer appears on stdio output.
- Extensions work in ACP mode.
- File attachments work, and thinking tags are parsed correctly.
- agent:
- Streaming is more resilient, and retries are safe.
- Anthropic prompt caching is effective, with at most 4
cache_control blocks.
- Kit recovers when the provider rejects image tool results.
- Overload errors are retried.
- Tool call arguments are tracked correctly for parallel
calls.
- ESC cancellation cancels the agent response and keeps
completed messages and tool calls.
- Tool calls and responses are no longer buffered.
- Deadlocks are fixed.
- anthropic:
- output_config.effort is sent for effort-graded models.
- Conflicting temperature and top_p values are cleared.
- app:
- The layout resets after a widget is removed.
- Queued messages are sent after /compact completes.
- ctx.NewSession waits until the agent is idle.
- The queue stops draining when the app closes.
- auth:
- OAuth credentials work in ACP mode, and tokens refresh
automatically.
- compaction:
- The API token baseline is kept after compaction.
- core:
- Bash streaming no longer hangs on oversized lines, and bash
output is no longer cut off.
- The read tool returns an error when used on a directory.
- The bash tool no longer hangs on long-running or background
processes.
- Commands always run with SHELL set to bash.
- Fuzzy match position mapping and diff generation in the
edit tool are fixed.
- daemon:
- A lone Escape is delivered without waiting for more input.
- Sockets are found across runtime environments.
- Hosted sessions get the caller's full environment.
- The terminal is handed back correctly, the alt screen is
kept, and no sidecar process is left behind.
- Escape-sequence handling is more robust.
- Ctrl-V and the detach chord work under the kitty keyboard
protocol.
- Session size and truecolor are kept across attach.
- The connection stays alive across a session switch.
- The pairing window stays open after a failed attempt, and
approvals after it expires are rejected.
- Remote sessions are listed on attach, and the client terminal
is forwarded.
- Client control requests and attach can be cancelled.
- Clipboard images are published next to their destination.
- Terminal capabilities refresh in live sessions.
- A shared session grows again when its smallest client leaves.
- Terminal modes are replayed to clients that attach mid-session.
- Sessions shut down deterministically across daemon restarts.
- The picker starts new sessions on the connected host.
- The session knows which multiplexer the client runs in.
- Stdin is unblocked after a picker closes.
- The client terminal is cleaned up after a remote session
exits.
- Scrolling works in reattached and busy sessions.
- examples:
- Fixed a race in the status-footer example, and the MCP table
stays when presentation.go is also loaded.
- The gate examples match the registered tool names.
- extbridge:
- The run error is kept, and OnComplete fires when a subagent
returns no result.
- extensions:
- go-edit-lint runs once per turn.
- Subagent spawns do not block and return a usable handle.
- Hot-reload, TUI callback notifications and handler calls
no longer cause deadlocks or data races.
- Blocked or disabled tools return their reason to the LLM.
- _test.go files and non-extension example subdirectories are
skipped.
- Logging respects log levels.
- The manifest Include is kept on update.
- Extensions from main.go files are named after their immediate
parent directory.
- Before-hook callbacks no longer deadlock the TUI.
- The vim interceptor stays active in both modes, so Esc
returns to normal mode.
- kit:
- Subagent child instances stream output.
- Runtime prompt changes are kept across a model switch.
- The system-prompt file path is resolved correctly.
- mcp:
- OAuth config applies to servers added at run time.
- Connections are released when tool discovery fails.
- MCP tool failures are soft errors, not critical aborts.
- MCP tool results show readable text instead of raw JSON.
- A null 'required' in MCP tool schemas no longer breaks the
OpenAI API.
- JSON Schema draft-07 exclusive bounds are converted to
draft-04.
- Health check logging only goes to debug output.
- models:
- gpt-5.4 supports reasoning levels, with automatic adjustment.
- New OpenAI models, gpt-6+ models, and opencode gpt-* and
grok-* models use the Responses API.
- Unpriced models are no longer shown as free.
- Stored OpenAI OAuth is preferred over API keys.
- Provider-qualified catalog keys resolve correctly.
- Auto-discovered providers and opencode models are routed
by wire protocol.
- Thinking and prompt caching work for Claude on Bedrock and
Vertex.
- Custom provider models and bare model names persist correctly.
- OpenAI Codex endpoint, headers and model family detection
are fixed.
- Google number and integer types are converted correctly.
- Sending tool_result to Anthropic and Google no longer
crashes.
- pkg:
- `<think>` tags in the stream are handled, including those
from Qwen/DeepSeek models.
- session:
- Sessions with lines longer than 1 MiB are listed.
- Circular parent references in tree sessions are prevented.
- Session file persistence is more robust (locking, ownership,
atomic writes and rollback on errors).
- /tree and /fork no longer lose context.
- Reasoning blocks show when a session resumes.
- Malformed properties no longer cause a panic.
- skills:
- Symlinked entries in skill directories are followed.
- File-backed activation stays fresh.
- Collision logs go to the log file.
- Empty activation works, and the workspace resource policy
is supported.
- Saved runtime skills activate from an empty catalogue.
- startup:
- The model selector opens on provider errors.
- steer:
- Steering messages are kept for the whole turn and are never
dropped.
- Pasted images are included in steering messages.
- Steering messages show immediately.
- subagent:
- The resume session ID shows in the tool result text.
- Duplicate MCP tool names and redundant reloads are prevented.
- Subagents no longer fail at once because of a dead parent
context, and they no longer use the parent's deadline.
- The biased model example is removed from the tool schema.
- Bad model names are handled gracefully, and bare model names
inherit the parent provider.
- tui:
- Log output goes to a file to prevent TUI corruption.
- tunnel:
- Over-capacity rejections are bounded, pre-authentication
reservations expire, and stalled session slots are released.
- ui:
- Token usage and costs are tracked correctly across steps,
cache tokens, model switches and /new.
- Usage costs are hidden for subscription OAuth providers.
- Transcript blocks share one geometry, a left edge, full
width and consistent padding and backgrounds.
- Image previews show in the input and the transcript without
redundant redraws.
- Long lines are clipped or truncated, and shell output is
truncated to the core bash tool limits.
- Queued and steering messages render as single-line, full-width
blocks with a QUEUED badge.
- Mouse selection no longer drifts with reasoning blocks,
extension widgets or streaming.
- Slash commands run in the TUI instead of going to the LLM;
the popup is centered and sized dynamically.
- The reasoning counter stops when the last token is processed.
- Uncredentialed models can still be found in the model
selector.
- Ctrl+C clears the input first, and quitting needs a double
Ctrl+C.
- Responses no longer render twice after reasoning-only or
interrupted turns, and confirmations no longer show twice.
- Auto-scroll turns back on when a new message is submitted.
- Textarea inputs have no character limits, and the transcript
resizes as the composer grows.
- Selectors render in the alt screen buffer, and j/k navigation
is removed from fuzzy selectors.
- Typography, the spinner and diff/code backgrounds follow
the theme.
- Startup messages appear in order.
- Assistant, user and reasoning messages wrap to the terminal
width.
- Tool errors show in a caution alert block.
- MCP tools show in /tools and the status bar after async
loading.
- Diffs no longer overflow narrow terminals.
- The TUI adapts to terminal resizing at any size.
- Spinner escape-sequence leaks, double-speed animation,
duplicate text and blank lines are fixed.
- The line-number gutter is removed from ls tool output.
- Streaming messages auto-scroll correctly.
- watcher:
- New subdirectories are watched for skill and prompt reloads.
- Debug logging no longer corrupts the TUI.
* Other Changes
- models:
- The embedded model database is refreshed from models.dev.
- normalize:
- The .wav MIME type is normalized to audio/wav.
- What was new in version 0.138.0
* Features
- acp:
- Added permissions, client file system and terminal access,
slash commands, plans, and clearer authentication errors.
- Added support for switching the model during a session.
- Added ACP server mode (`kit acp`).
- agent:
- Failed streaming steps are resumed after transient errors.
- Requests are identified as coming from KIT.
- agents:
- Added named agent definitions with per-agent tool restrictions.
- app:
- Token counts and context fill are updated after every step,
including multi-step turns.
- auth:
- Kit can start without API keys; a `/connect` dialog lets
you enter keys.
- Added OpenAI ChatGPT/Codex OAuth authentication alongside
Anthropic authentication.
- Added Copilot login.
- codemode:
- Added a code mode tool that runs JavaScript which can call
other tools.
- compaction:
- Added adaptive budgets, full-part token estimation and
anchored summaries.
- Conversations are compacted automatically and retried on
context overflow errors.
- Improved compaction with split-turn handling, file tracking
and non-destructive persistence.
- Compaction summaries are streamed.
- Added a compact mode.
- config:
- Added a `noOAuth` flag to skip OAuth on public MCP servers.
- Custom models can have their own `baseUrl` and `apiKey`.
- Custom models can be defined in the config file.
- Added environment variable support and substitution in the
MCP configuration.
- YAML configuration files are supported.
- Bash tool timeouts can be configured in `kit.yml`.
- Added support for a system prompt.
- Added an option to require approval before a tool runs.
- daemon:
- Added daemon mode with remote sessions (`kit daemon` / `kit
- -remote`).
- Sessions can be detached, reattached and shared between
multiple clients.
- Detachable sessions are the default when a daemon is running.
- Added local sessions, a session multiplexer and a multi-host
hub.
- Added pairing-based remote access.
- Images can be pasted into remote sessions, with an image
preview.
- Remote transport now runs inside the Kit process, so the
separate tunnel helper is no longer needed.
- Sessions keep running when the daemon restarts.
- Multiple sessions run over one endpoint and can be shut
down one at a time.
- Added a single-instance lock, `kit daemon status` and a
systemd user service.
- extensions:
- Added `Abort`, `IsIdle`, `Compact`, `SendMultimodalMessage`,
`GetSessionUsage`, `GetSystemPrompt` and `GetTheme` to the
extension context.
- Added a GitHub handler extension and access to environment
variables.
- Added `OnLLMUsage`, `SetState`, a richer `AgentEndEvent`,
`OnMCPToolsReady`, `OnContextPrepare`, `OnModelChange`,
`ctx.Exit()`, before-hooks for session fork and switch, and
a before-compaction event.
- Added custom widget rendering, widget slots, custom header
and footer regions, and widgets that fill the transcript
height.
- Added hooks for a presentation mode.
- Added hot-reload with file watching and a `/reload-ext`
command.
- Added a popup-terminal example with a persistent shell, a
subagent monitoring extension, a subagent widget, a kit-kit
meta-agent and a Telegram example extension.
- Added terminal size, thinking level and turn state APIs.
- Inline bash in the editor is expanded in interactive mode.
- Exposed `ToolOutputEvent`, model pricing, OAuth status and
the decide API with a configured default model.
- Keyboard shortcut registration and dispatch are more robust.
- Extensions can be loaded from a system-wide directory.
- Subagent monitor panes show the agent name.
- Added custom tool rendering, an editor interceptor system,
interactive prompts (select, confirm, input) and modal
overlay dialogs.
- Added an API to register and switch themes from extensions.
- Added session management, persistence, editor text and
status bar APIs.
- Added `UIVisibility` and `GetContextStats` APIs.
- Added tab completion for extension slash command arguments.
- Added keyboard shortcuts, tool context and a source field
on `ToolCallEvent`.
- Added tool management, model management, options, an event
bus, LLM completion, steer mode and 10 example extensions.
- Added rich tool metadata to extension events.
- Added real-time subagent event streaming (`OnEvent`,
`SubscribeSubagent`).
- Added the go-edit-lint extension with TUI diagnostics.
- Added a testing package for extensions.
- Extensions can be distributed through git (`kit install`).
- Tree navigation, skills, templates and model resolution are
available to extensions.
- github:
- The GitHub integration works end-to-end through a core
command and an action.
- hooks:
- The tool choice for each step is exposed through `OnPrepareStep`.
- Hooks can send feedback to the LLM.
- Added a hooks system for lifecycle events.
- mcp:
- Added OAuth support for remote MCP servers.
- MCP servers can be loaded and unloaded at runtime.
- Embedded resources in prompt messages are supported.
- Added support for remote SSE servers, with Authorization
headers.
- Added a connection pool.
- models:
- Added an `apiModelName` field to the custom model config.
- Added experimental mode controls.
- Added per-model defaults for generation parameters and
per-model system prompts.
- Reasoning levels, tiered pricing and model status now come
from the model catalog.
- Bedrock and Vertex can be configured in Kit's own files.
- Default URLs are resolved for all registered providers.
- Requests to opencode providers include an `x-opencode-session`
header.
- Reasoning effort levels can be set per model.
- Kit now reports and prevents silent truncation at the
max-tokens limit.
- Added Google Vertex AI support for Claude models, Azure
OpenAI, Google Gemini and the Vercel provider.
- Added OpenAI Responses API support for codex, gpt-5, o3 and
o4 models.
- Added thinking model support with configurable reasoning
levels.
- Added frequency-penalty and presence-penalty parameters.
- Model aliases for Anthropic, OpenAI and Google Gemini are
updated.
- Model notation changed from `provider:model` to `provider/model`.
- The model catalog now comes from models.dev, and OpenAI-compatible
providers are routed automatically.
- Model names are checked and a warning is shown for unknown
names.
- Model selection and thinking level are kept across sessions.
- Prompt caching is applied automatically to reduce cost.
- Tools are disabled for models that do not support them.
- The embedded model catalog has been refreshed and dead
aliases removed.
- prompts:
- Added a `$+` required variadic placeholder; placeholders
inside code are skipped.
- Prompts and extensions are reloaded automatically from the
XDG config directory.
- Added Pi-style prompt templates.
- Custom prompts and skills are reloaded automatically when
their files change.
- read:
- Image files are returned to the model as viewable images.
- session:
- Added local and remote session management.
- Shared sessions include the system prompt and model.
- Added a session picker, history, `/name`, `/export`, `/import`
and `/history`.
- Added a `/share` command and a session viewer.
- Empty sessions are deleted automatically on shutdown and
on `/resume`.
- `/new` and `/fork` create a new session file.
- Added a message window so the context does not overflow.
- shell:
- Bang commands stream coloured output.
- Added the `!` and `!!` shell command prefixes, with a spinner
while they run.
- Added an interactive sudo password prompt for the bash tool.
- The bash tool shows a command header and caps streaming
output height.
- skills:
- Skills can be activated with `/<name>`, and Kit now fully
follows the agentskills.io spec.
- subagent:
- Added `/kill-subagent` to stop running subagents.
- Child sessions are linked to their parent and can be resumed.
- An invalid model now gives an error right away instead of
silently falling back to another model.
- Added native inspection of child conversations.
- Added first-class subagent support for task delegation;
subagents run in-process.
- ui:
- Added `/copy`, `/edit` (with a fuzzy file picker), `/retry`,
`/undo`, `/model`, `/theme` and `/quit` slash commands.
- Added `:shortcode` emoji autocomplete in the input editor.
- Session and tree selectors have a bordered container and
better styling.
- Added horizontal image tiles, a full image preview modal,
half-block thumbnails and Kitty graphics image previews.
- Output of the ls tool and streaming bash is truncated by
line.
- `/model` opens as an overlay and lists all models; models
without credentials are disabled.
- Added a subagent status bar and run picker; subagents use
the same live view as the parent and show a clean result
summary.
- The startup wordmark is animated and the startup banner
lists loaded extensions.
- `/skill:<name>` slash commands are autocompleted.
- The steer keybinding changed to the `Ctrl+X s` chord; added
mid-turn steering.
- Syntax colors are derived from the theme.
- Transcript image previews use the graphics protocol.
- Live activity has its own row, with less surrounding clutter.
- `@file` tokens in user messages are highlighted.
- Added character-level mouse text selection and copy; the
selection is kept after a copy and the PRIMARY selection
is set.
- Slash command popups have better contrast.
- The external `$EDITOR` opens with the `Ctrl+X e` chord.
- Improved the message navigation inspector (`Ctrl+X m`).
- Prompts with arguments fill the input instead of being
submitted automatically.
- Session history is shown on `/resume` and `/import`.
- Scrollback is repainted when the theme changes; added 22
built-in themes with file-based discovery, and the theme
choice is kept across sessions.
- Terminal capabilities are detected lazily and separately
for each client.
- `/new <prompt>` is supported for handing off between phases.
- A warning is shown when the provider reports no token usage.
- Added `@file` autocomplete, smart attachments with MIME
detection and MCP resource support.
- Added clipboard image paste (`Ctrl+V`) and copy and paste
support.
- Added full alt screen mode with in-memory scrollback.
- Added a KITT-style theme system and scanning animation.
- Tool calls can be cancelled with a double ESC without
breaking the conversation.
- Tools run in parallel, with a status display for multiple
tools.
- Added visual selection highlighting with theme colors.
- Added autocomplete.
- non-interactive mode:
- Positional arguments are the main non-interactive mode, and
`@file` references are supported.
- Added `--bare` to run without project context.
- Added `--json` output.
- Added `--tls-skip-verify` for self-signed certificates.
* Bug Fixes
- acp:
- The ACP server now follows the ACP v1 spec.
- `mcpServers` defaults to an empty array for clients that
leave it out.
- Configured thinking defaults are kept for new sessions.
- The startup message no longer goes to stdio output.
- Extensions work in ACP mode.
- Fixed file attachments and thinking tag parsing.
- agent:
- Added tools and removed tools now take effect at the next
LLM step of the current turn.
- Improved streaming resilience and safe retries; overload
errors are retried.
- Anthropic prompt caching now works as intended; at most 4
cache blocks are used.
- Kit recovers when the provider rejects image tool results.
- Tool call arguments are tracked correctly for parallel
calls.
- Fixed a crash when sending tool results to Anthropic and
Google.
- A blocked tool call no longer ends the turn.
- anthropic:
- The effort setting is sent for models that support effort
grading.
- Conflicting temperature and top_p settings are cleared.
- app:
- Layout resets after a widget is removed.
- Queued messages are sent after `/compact` completes.
- `ctx.NewSession` waits until the agent is idle.
- auth:
- OAuth credentials work in ACP mode and tokens are refreshed
automatically.
- Fixed character encoding on the OAuth success page.
- compaction:
- The API token baseline is kept after compaction.
- core:
- Bash output is no longer cut short or stuck on oversized
lines.
- The read tool returns an error when used on a directory.
- The bash tool no longer hangs on long-running or background
processes; commands run with `SHELL` set to bash.
- Fixed fuzzy match positions and diff generation in the edit
tool, and added multi-edit support.
- daemon:
- Fixed Escape handling, Ctrl-V under the kitty keyboard
protocol and the detach chord.
- Sockets are found across runtime environments.
- Hosted sessions get the caller's full environment.
- The terminal is handed back cleanly, the alt screen is kept,
and terminal modes, size and truecolor are kept across
attaches.
- Connections survive a session switch; the pairing window
stays open after a failed attempt and rejects approvals
after it expires.
- Remote sessions are listed on attach and the client terminal
is forwarded.
- A shared session grows back when its smallest client leaves.
- Sessions shut down reliably across daemon restarts.
- New sessions start on the connected host from the picker.
- Scrolling works in reattached and busy sessions; the client
terminal is cleaned after a remote session ends.
- extensions:
- go-edit-lint runs once per turn.
- Subagents can be started without blocking and return a
usable handle.
- Fixed deadlocks and data races in callbacks and during
hot-reload.
- Blocked or disabled tools now tell the LLM why.
- Test files and non-extension example directories are skipped.
- Logging respects log levels.
- The manifest `Include` is kept on update.
- Extension names come from the immediate parent directory
of `main.go`.
- kit:
- Subagent child instances stream output.
- Runtime prompt changes are kept across a model switch.
- The system prompt file path is resolved correctly.
- mcp:
- OAuth config applies to servers added at runtime.
- Connections are released when tool discovery fails.
- MCP tool failures are reported as soft errors instead of
aborting.
- Readable text is extracted from MCP tool results instead
of raw JSON.
- A null `required` field in tool schemas no longer breaks
the OpenAI API; draft-07 exclusive bounds are converted.
- models:
- Added gpt-5.4 reasoning levels with automatic adjustment.
- New OpenAI models, gpt-6+ and opencode gpt-*/grok-* models
are routed to the Responses API.
- Unpriced models are no longer shown as free.
- Stored OpenAI OAuth credentials are preferred over API keys.
- Provider-qualified catalog keys and auto-discovered providers
are resolved correctly.
- Thinking and prompt caching work for Claude on Bedrock and
Vertex.
- `<think>` tags from Qwen/DeepSeek models are handled.
- Custom provider models and bare model names are kept
correctly.
- Fixed OpenAI Codex endpoint, headers and model family
detection; a clear error is shown for gpt-codex-spark models.
- The system prompt is no longer lost when switching models.
- session:
- Session files are more robust against crashes, long lines
and ownership conflicts.
- Circular parent references are prevented.
- `/tree` and `/fork` keep the context.
- Completed messages and tool calls are kept when you cancel
with ESC, and ESC now actually cancels the response.
- Reasoning blocks are shown when resuming sessions.
- skills:
- Symlinked entries in skill directories are followed.
- Skill files that change are activated with their latest
content.
- Empty activation and saved runtime skills work.
- startup:
- The model selector opens on provider errors.
- steer:
- Steering messages are kept for the whole turn, include
pasted images and are shown right away.
- subagent:
- The resume session id is shown in the tool result.
- Duplicate MCP tool names and redundant reloads are prevented.
- Subagents no longer fail at once because of a finished
parent context or the parent's deadline.
- Bad model names are handled, and bare model names use the
parent's provider.
- tui:
- Log output goes to a file so it does not corrupt the TUI.
- ui:
- Token usage and cost tracking are accurate across steps,
cache tokens and model switches; `/new` resets usage.
- Usage costs are hidden for subscription OAuth providers.
- Message blocks share one layout, wrap to the terminal width
and have consistent backgrounds.
- Mouse selection no longer drifts with reasoning blocks,
widgets or streaming.
- Slash commands run in the TUI instead of being sent to the
LLM.
- Queued and steering messages are shown as styled, truncated
blocks.
- `Ctrl+C` clears the input first and quitting needs a double
`Ctrl+C`.
- Long lines are truncated, and the TUI responds to resizing
at any size.
- MCP tools appear in `/tools` and the status bar after they
finish loading.
- Pasted image previews are shown in the input and transcript.
- Responses are no longer duplicated after interrupted or
reasoning-only turns.
- Diffs no longer overflow narrow terminals.
- Spinner and typography follow theme changes.
- Character limits were removed from text inputs; j/k navigation
was removed from fuzzy selectors.
- Selectors render in the alt screen.
- Uncredentialed models can still be found in the model
selector.
- watcher:
- New subdirectories are watched for skill and prompt reloads.
- Debug logging no longer corrupts the TUI.
* Other Changes
- ui:
- Message rendering now uses the herald typography library,
with cleaner thinking blocks and tool output.
- Keybindings work better inside terminal multiplexers.
- Popups use one shared list style.
- What was new in version 0.137.0
* Features
* acp:
- Permissions, client file system and terminal access, slash
commands, plans and authentication errors are supported.
- The session/set_model ACP method is implemented.
- New ACP server mode (`kit acp`).
* agent:
- Failed streaming steps resume after transient errors.
- Parallel tool execution, with a status display for multiple
tools.
- Optional approval before tool execution.
- Double-ESC cancels tool calls without breaking API request
pairs.
- Tools are disabled for models that do not support them.
- Mid-turn steering of the agent.
- Automatic prompt caching to reduce cost.
* agents:
- Named agent definitions with per-agent tool restrictions.
* app:
- Token counts and context fill update after every step, also
in multi-step turns.
- A message window prevents overloading the context.
* auth:
- Kit starts without API keys; keys can be entered in a new
`/connect` dialog.
- OpenAI ChatGPT/Codex OAuth authentication alongside Anthropic
authentication.
- GitHub Copilot login and Claude Max support.
* codemode:
- New code mode tool that runs JavaScript which calls other
tools.
* compaction:
- Adaptive budgets, full-part token estimation and anchored
summaries.
- Automatic compaction and retry on context overflow errors.
- Better compaction with split-turn handling, file tracking and
non-destructive persistence.
- Compaction summaries are streamed.
- New compact mode.
* config:
- New `noOAuth` flag skips OAuth on public MCP servers.
- Per-model `baseUrl` and `apiKey` for custom models.
- Custom models can be defined in the configuration file.
- Bash tool timeouts can be set in `kit.yml`.
- Environment variables in MCP configuration and environment
variable substitution.
- YAML configuration files are allowed.
- Core tools can be disabled through the configuration.
* daemon:
- Daemon mode with remote sessions over iroh (`kit daemon` /
`kit --remote`).
- Detach, reattach and shared multi-client sessions.
- Local sessions, a session multiplexer and a multi-host hub.
- Detachable sessions are the default when a daemon runs.
- Pairing-based remote access for clients.
- Image paste over remote sessions, with image preview.
- An in-process go-iroh transport replaces the Rust kit-tunnel
sidecar.
- Stable protocol, and sessions that survive a daemon restart.
- Single-instance lock, `kit daemon status` and a systemd user
service.
- Multiple sessions over one endpoint, with per-session teardown.
* extensions:
- New context APIs: Abort, IsIdle, Compact, SendMultimodalMessage,
GetSessionUsage, GetSystemPrompt, GetTheme, terminal size,
thinking level and turn state.
- New events and hooks: OnLLMUsage, OnMCPToolsReady, OnContextPrepare,
OnModelChange, OnBeforeFork, OnBeforeSessionSwitch,
OnBeforeCompact, ToolOutputEvent and presentation mode hooks.
- SetState, an enriched AgentEndEvent and `ctx.Exit()`.
- GitHub handler extension and access to environment variables.
- Custom widget rendering, widget slots, and widgets that fill
the transcript height.
- Custom header and footer regions, custom tool rendering and
custom message rendering.
- Hot-reload with file watching and a `/reload-ext` command.
- Extensions load from a system-wide directory.
- Inline bash in the editor expands in interactive mode.
- Model pricing and OAuth status are available to extensions.
- Keyboard shortcut registration and dispatch are more robust.
- Modal overlay dialogs and interactive prompts (select, confirm,
input).
- Editor interceptor system.
- Programmatic theme registration and switching.
- Session management, persistence, editor text and status bar
APIs.
- Tool management, model management, options, event bus, LLM
completion and steer mode, with ten example extensions.
- UIVisibility and GetContextStats APIs, and compact tool
renderers.
- Tab-completion of arguments for extension slash commands.
- Rich tool metadata in extension events.
- Tree navigation, skills, templates and model resolution are
available to extensions.
- Real-time subagent event streaming (OnEvent, SubscribeSubagent).
- `kit install` for git-based extension distribution.
- TUI suspend support.
- Testing package for extensions.
- New example extensions: popup-terminal with a persistent
shell, subagent-monitor (with agent names in panes),
subagent-widget, go-edit-lint, kit-kit meta-agent and
kit-telegram.
* github:
- The GitHub integration works end-to-end through a core command
and an action.
* hooks:
- Per-step ToolChoice is available through OnPrepareStep.
- Hooks can give feedback to the LLM.
- Hooks system for lifecycle events.
* mcp:
- OAuth support for remote MCP servers.
- MCP servers can be loaded and unloaded at runtime.
- Embedded resources in prompt messages are handled.
- Remote SSE MCP servers, with Authorization header support.
- Built-in HTTP functionality and a connection pool.
* models:
- New `apiModelName` field in custom model configuration.
- Experimental mode controls in the TUI.
- Per-model defaults for generation parameters.
- Per-model system prompts.
- Reasoning levels, tiered pricing and status come from the
model catalog.
- Model-specific reasoning effort levels.
- Bedrock and Vertex can be configured in Kit's own files.
- Google Vertex AI support for Claude models.
- The x-opencode-session header is sent to opencode providers.
- Silent max-tokens truncation is reported and prevented.
- OpenAI Responses API support for codex, gpt-5, o3 and o4
models.
- Thinking models with configurable reasoning levels.
- The models.dev catalog replaces catwalk; OpenAI-compatible
providers are routed automatically.
- Model notation changes from `provider:model` to `provider/model`.
- Model selection and thinking level persist across sessions.
- Advisory model validation and a Vercel provider.
- Azure OpenAI and Google Gemini providers.
- Updated model aliases for Anthropic, OpenAI and Google Gemini.
- Frequency-penalty and presence-penalty parameters.
- Explicit wire protocol declarations for providers.
* prompts:
- `$+` required variadic placeholder; code in placeholders is
skipped.
- Prompts and extensions reload automatically from the XDG
configuration directory.
- Pi-style prompt templates.
- Custom prompts and skills reload automatically when files
change.
- Prompts with arguments fill the input instead of submitting
automatically.
* read:
- Image files go to the model as viewable images.
* session:
- Local and remote session management.
- Shared sessions include the system prompt and the model.
- Compaction creates a new leaf with no parent.
- Session picker, history, `/name`, `/export` and `/import`.
- `/share` command and session viewer.
- `/history` command.
- Empty sessions are removed on shutdown and on `/resume`.
- `/new` and `/fork` create a new session file.
* shell:
- Coloured output streams for bang commands.
- `!` and `!!` shell command prefixes, with a spinner while
they run.
- Interactive sudo password prompt for the bash tool.
* skills:
- Skills activate with `/<name>`.
- Full agentskills.io specification compliance.
* subagent:
- `/kill-subagent` stops running subagents.
- Child sessions link to their parent and can be resumed.
- An invalid model gives an early error instead of a silent
fallback.
- Native inspection of child conversations.
- First-class subagent support for task delegation.
- In-process subagents replace subprocess spawning.
- The subagent tool is always available.
* ui:
- New slash commands: `/copy`, `/edit` (with a fuzzy file
picker), `/retry`, `/undo`, `/model`, `/theme` and `/quit`.
- `/new <prompt>` for phase handoffs.
- `:shortcode` emoji autocomplete in the input editor.
- Autocomplete for `/skill:<name>` commands.
- `@file` autocomplete and context attachment, with MIME detection
and MCP resource support.
- `@file` tokens are highlighted in user messages.
- Bordered containers and better styling for the session and
tree selectors.
- Horizontal image tiles and a full image preview modal.
- Image previews with the Kitty graphics protocol, and half-block
thumbnails for attached images.
- Clipboard image paste (Ctrl+V) and copy and paste support.
- Character-level mouse text selection and copy; the selection
stays after a copy and sets PRIMARY.
- Visual selection highlighting with theme colours.
- Line truncation for ls output and streaming bash output.
- Streaming bash output with a command header and a height
limit.
- Subagent status bar and run picker; subagents use the same
live view as the parent.
- Subagent type in the spinner and a clean summary for subagent
results.
- Animated startup wordmark.
- Steer key binding changes to the Ctrl+X s chord.
- Ctrl+X e opens an external `$EDITOR`.
- Message navigation and inspector (Ctrl+X m).
- Syntax colours come from the theme.
- Live activity has its own row.
- `/model` lists all models and disables models without
credentials.
- Loaded extensions appear in the startup banner.
- Session history is shown on `/resume` and `/import`.
- Scrollback repaints when the theme changes.
- Terminal capabilities are resolved lazily and per client.
- Warning when a provider reports no token usage.
- Unified Bubble Tea TUI with full alt screen mode and in-memory
scrollback.
- KITT-style theme system with 22 built-in themes; theme selection
persists across sessions.
- KITT-style scanning animation replaces the spinner.
- KIT logo above the startup information.
- Overlays are drawn over the view instead of replacing it.
* Bug Fixes
* acp:
- The ACP server follows the ACP v1 specification.
- `mcpServers` defaults to an empty array for clients that omit
it.
- Configured thinking defaults are kept for new sessions.
- No startup message on stdio output.
- Extensions work in ACP mode.
- File attachments and thinking tag parsing work correctly.
* agent:
- Streaming is more resilient and retries are safe.
- Anthropic prompt caching is effective.
- Recovery when the provider rejects image tool results.
- Overload errors are retried.
- Tool call arguments are tracked correctly for parallel calls.
- Tool changes in the middle of a turn apply at the next LLM
step.
- A blocked tool call no longer ends the turn.
* anthropic:
- `output_config.effort` is sent for effort-graded models.
- Conflicting temperature and top_p values are cleared.
- Cache control blocks are limited to a maximum of four.
* app:
- Queued messages are sent after `/compact` completes.
- `ctx.NewSession` waits until the agent is idle.
- The layout resets after a widget is removed.
* auth:
- OAuth credentials work in ACP mode, and tokens refresh
automatically.
* compaction:
- The API token baseline is kept after compaction.
* core:
- Bash output is no longer truncated during draining or by
oversized lines.
- The read tool returns an error when used on a directory.
- The bash tool no longer hangs on long-running or background
processes.
- The edit tool maps fuzzy match positions and generates diffs
correctly.
* daemon:
- An idle Escape key is delivered without waiting for more
input.
- Sockets are found across runtime environments.
- Hosted sessions get the full environment of the caller.
- The terminal is handed back correctly, the alt screen is kept,
and no sidecar is left orphaned.
- Ctrl-V works with the kitty keyboard protocol, and the detach
chord stays armed.
- Session size and truecolor are kept across attach.
- The connection stays alive across a session switch.
- The pairing window stays open after a failed attempt; approvals
queued after it expires are rejected.
- Remote sessions are listed on attach, and the client terminal
is forwarded.
- Client control requests and attach can be cancelled.
- Live sessions refresh terminal capabilities.
- A shared session grows again when its smallest client leaves.
- Terminal modes are replayed to clients that attach mid-session.
- Sessions shut down reliably across daemon restarts.
- The picker starts new sessions on the connected host, and
stdin is unblocked after it closes.
- Sessions know which multiplexer the client runs in.
- The client terminal is cleaned after a remote session exits.
- Scrolling works in reattached and busy sessions.
* extensions:
- Subagents spawn without blocking and return a usable handle.
- TUI callback notifications and before-hooks no longer deadlock.
- Blocked or disabled tools show the reason to the LLM.
- Handler calls are serialized per extension to prevent data
races.
- Test files and non-extension example directories are skipped.
- Logging respects log levels.
- The manifest Include is kept on update.
- Extension names from `main.go` use the immediate parent
directory.
* kit:
- Runtime prompt changes are kept across a model switch.
- Subagent child instances stream output.
- The system prompt is kept when switching models in interactive
mode.
* mcp:
- OAuth configuration applies to servers added at runtime.
- Connections are released when tool discovery fails.
- MCP tool failures are soft errors instead of critical aborts.
- Human-readable text is shown for MCP tool results instead of
raw JSON.
- A null `required` in MCP tool schemas no longer breaks the
OpenAI API.
- JSON Schema draft-07 exclusive bounds are converted to draft-04.
* models:
- gpt-5.4 reasoning levels are supported with automatic adjustment.
- New OpenAI models, gpt-6+ models and opencode gpt-* and grok-*
models are routed to the Responses API.
- Unpriced models are distinct from free models.
- Stored OpenAI OAuth credentials are preferred over API keys.
- Provider-qualified catalog keys resolve correctly.
- Auto-discovered providers are routed by wire protocol.
- Thinking and prompt caching work for Claude on Bedrock and
Vertex.
- `<think>` tags from Qwen/DeepSeek models are handled in the
stream.
- Custom provider model persistence and bare model names are
handled.
- opencode models use the correct provider API.
- Clear error message for gpt-codex-spark models.
- OpenAI Codex endpoint, headers and model family detection are
fixed.
* session:
- Session ownership and repair errors fail closed, and appends
are all-or-nothing.
- Sessions with lines longer than 1 MiB are listed and loaded.
- Circular parent references in session trees are prevented.
- Kept messages are ordered before the post-compaction branch.
- `/tree` and `/fork` no longer lose context.
- Completed messages and tool calls are kept when cancelling
with ESC.
* skills:
- Symlinked entries in skill directories are followed.
- File-backed activation stays fresh.
- Empty activation and workspace resource policy are supported.
- Saved runtime skills activate from an empty catalogue.
- New subdirectories are watched for skill and prompt reload.
* startup:
- The model selector opens on provider errors.
* steer:
- Steering messages are kept for the whole turn and never
dropped.
- Pasted images are included in steering messages.
* subagent:
- The resume session ID is shown in the tool result text.
- Duplicate MCP tool names and redundant reloads are prevented.
- Subagents no longer fail at once because of a dead parent
context, and are detached from the parent deadline.
- Bad model names are recovered gracefully; bare model names
inherit the parent provider.
* ui:
- Token usage and cost are tracked correctly across steps, cache
tokens and model switches; `/new` resets usage.
- Usage costs are hidden for subscription OAuth providers.
- Message blocks are full width, aligned on one left edge and
wrapped to the terminal width.
- Long lines are truncated or clipped instead of breaking the
layout.
- Diffs no longer overflow narrow terminals.
- Mouse selection no longer drifts with reasoning blocks,
extension widgets or streaming.
- Queued messages show as styled blocks with a QUEUED badge,
and the queue no longer deadlocks.
- Slash commands run in the TUI instead of being sent to the
LLM.
- Double Ctrl+C is needed to quit; Ctrl+C first clears the
input.
- Responses are no longer duplicated after interrupted turns
or reasoning-only responses.
- Confirmations are no longer shown twice.
- The transcript resizes when the composer grows; textarea
character limits are removed.
- Uncredentialed models stay findable in the model selector.
- MCP tools show in `/tools` and the status bar after loading.
- Pasted image previews show in the input and transcript.
- The spinner, typography and code colours follow the active
theme.
- The reasoning counter stops when reasoning ends.
- Log output goes to a file to prevent TUI corruption.
- The TUI responds to terminal resizing at any size.
- ESC cancels the agent response.
- Vim mode Esc returns to normal mode.
- Shell command output is truncated with the same limits as the
bash tool.
- Reasoning blocks show when resuming sessions.
- `j`/`k` navigation is removed from fuzzy selectors.
* Other fixes:
- `.wav` files use the `audio/wav` MIME type.
- Commands run with `SHELL` set to bash.
- Tool results with Anthropic and Google no longer crash.
- Malformed properties no longer cause a panic.
* Other Changes
* ui:
- Better key bindings for terminal multiplexers.
- Thinking blocks use subdued, colour-coded italic text.
- All popups use one shared popup list.
- Markdown is rendered with herald-md.
- What was new in version 0.136.0
* Features
- acp:
- Add an ACP server mode (`kit acp`).
- Add permissions, client file system and terminal access,
slash commands, plans and authentication error reporting.
- Add support for the `session/set_model` method.
- Parse thinking tags in ACP output.
- agent:
- Resume failed streaming steps after transient errors.
- Enable parallel tool execution, with a status display for
multiple tools.
- Add automatic prompt caching to reduce cost.
- Disable tools for models that do not support them.
- Do not buffer tool calls and responses.
- Add a message window so that the context does not get
overloaded.
- Add an option to require approval before a tool runs.
- Add built-in HTTP functionality.
- Add usage statistics and handle overloaded errors.
- agents:
- Add named agent definitions with per-agent tool restrictions.
- auth:
- Start without API keys and enter keys in a new `/connect`
dialog.
- Add OpenAI ChatGPT/Codex OAuth authentication alongside
Anthropic authentication.
- Add GitHub Copilot login.
- Add Claude Max support.
- codemode:
- Add a code mode tool that runs JavaScript which calls other
tools.
- compaction:
- Add adaptive budgets, token estimation over all message
parts, and anchored summaries.
- Compact automatically and retry when the context overflows.
- Improve compaction with split-turn handling, file tracking
and non-destructive persistence.
- Stream compaction summaries.
- Add a compact mode.
- config:
- Add a `noOAuth` flag to skip OAuth on public MCP servers.
- Add per-model `baseUrl` and `apiKey` for custom models.
- Add custom models through the configuration file.
- Make bash tool timeouts configurable in `kit.yml`.
- Support environment variables in the MCP configuration, and
environment variable substitution.
- Allow YAML configuration files.
- Add configuration support to disable core tools.
- Support a system prompt.
- daemon:
- Add a daemon mode with iroh remote sessions (`kit daemon`
/ `kit --remote`).
- Add a single-instance lock, `kit daemon status` and a systemd
user service.
- Run multiple sessions over one endpoint, with teardown per
session.
- Detach, reattach and share sessions between multiple clients.
- Make detachable sessions the default when a daemon runs.
- Add local sessions, a session multiplexer and a multi-host
hub.
- Add pairing-based remote access.
- Paste images in remote sessions and show a preview of them.
- Replace the Rust kit-tunnel sidecar with an in-process
go-iroh transport.
- Use a stable protocol, and keep sessions alive when the
daemon stops.
- examples:
- Rebuild the subagent-monitor example around `ShowOverlay`.
- Add the kit-kit meta-agent, subagent-widget, popup-terminal
(with a persistent shell) and kit-telegram example extensions.
- extensions:
- Add `Abort`, `IsIdle`, `Compact`, `SendMultimodalMessage`,
`GetSessionUsage`, `GetSystemPrompt` and `GetTheme` to the
extension context.
- Add a GitHub handler extension and access to environment
variables.
- Add `OnLLMUsage`, `SetState`, an enriched `AgentEndEvent`,
and `OnMCPToolsReady` for a summary of the MCP servers.
- Add `OnContextPrepare` to filter and inject context, and
`OnModelChange` and `ctx.Exit()`.
- Add session before-hooks (`OnBeforeFork`, `OnBeforeSessionSwitch`)
and a compaction event (`OnBeforeCompact`).
- Add hooks for a presentation mode.
- Add custom widget rendering, widget slots for persistent
TUI content, and widgets that fill the transcript height.
- Add custom header and footer regions, custom tool rendering
and custom message rendering.
- Add an editor interceptor system, and expand inline bash
in the editor in interactive mode.
- Add interactive prompts (select, confirm, input) and modal
overlay dialogs.
- Add an API to register and switch themes.
- Add hot-reload with file watching, and the `/reload-ext`
command.
- Add terminal size, thinking level, turn state, `UIVisibility`
and `GetContextStats` APIs.
- Expose `ToolOutputEvent`, rich tool metadata, model pricing
and OAuth status to extensions.
- Add keyboard shortcuts and tool context, and make shortcut
registration and dispatch more robust.
- Load extensions from a system-wide directory.
- Show the agent name in subagent monitor panes.
- Add tab completion for the arguments of extension slash
commands.
- Add tool management, model management, options, an event
bus, LLM completion and steer mode, with 10 example extensions.
- Add session management, persistence, editor text and status
bar APIs.
- Add tree navigation, skills, templates and model resolution
to the extension system.
- Add real-time streaming of subagent events (`OnEvent`,
`SubscribeSubagent`).
- Add a go-edit-lint extension that shows diagnostics in the
TUI.
- Add a subagent monitoring extension with a horizontal widget
layout.
- Suspend the TUI on request.
- github:
- Make the GitHub integration work end-to-end through a core
command and an action.
- hooks:
- Add a hooks system for lifecycle events.
- Let hooks give feedback to the LLM.
- Expose the tool choice for each step through `OnPrepareStep`.
- mcp:
- Add OAuth support for remote MCP servers.
- Load and unload MCP servers dynamically.
- Handle embedded resources in prompt messages.
- Support SSE servers, including remote SSE servers and the
`Authorization` header.
- Add a connection pool.
- models:
- Add an `apiModelName` field to the custom model configuration.
- Add experimental mode controls to the TUI.
- Add per-model defaults for generation parameters, and a
per-model system prompt.
- Derive reasoning levels from the catalog, and add tiered
pricing and model status.
- Support reasoning effort levels that are specific to a
model.
- Configure Bedrock and Vertex in Kit's own files.
- Send the `x-opencode-session` header to opencode providers.
- Show and prevent silent truncation at the maximum token
limit.
- Add thinking model support with configurable reasoning
levels.
- Add the frequency-penalty and presence-penalty parameters.
- Add OpenAI Responses API support for codex, gpt-5, o3 and
o4 models.
- Add Google Vertex AI support for Claude models.
- Add Google Gemini, Azure OpenAI and Vercel providers.
- Update the model aliases for Anthropic, OpenAI and Google
Gemini.
- Use models.dev as the model catalog, and route OpenAI-compatible
providers automatically.
- Validate models as advisory only.
- Change the model notation from `provider:model` to
`provider/model`.
- Keep the model selection and thinking level across sessions.
- Identify requests as coming from KIT.
- Show a clear error message for gpt-codex-spark models.
- prompts:
- Add the `$+` required variadic placeholder, and do not
substitute placeholders inside code.
- Reload prompts and extensions automatically from the XDG
configuration.
- Add prompt templates.
- Reload custom prompts and skills automatically when a file
changes.
- read:
- Return image files to the model as images that it can view.
- session:
- Add local and remote session management.
- Include the system prompt and the model in shared sessions.
- Add a session picker, history, `/name`, `/export` and
`/import`.
- Add the `/share` command and a session viewer.
- Add the `/history` command.
- Remove empty sessions automatically on shutdown and on
`/resume`.
- Make `/new` and `/fork` create a new session file.
- shell:
- Add the `!` and `!!` shell command prefixes.
- Stream coloured output for bang commands.
- Show a spinner while shell commands run.
- Add an interactive sudo password prompt for the bash tool.
- Add multi-edit support to the edit tool.
- skills:
- Activate skills with `/<name>`, and fully comply with the
agentskills.io specification.
- subagent:
- Add first-class subagent support for task delegation, and
run subagents in the same process.
- Add `/kill-subagent` to stop running subagents.
- Link child sessions to their parent, and support resuming
them.
- Return an error early for an invalid model instead of
silently using a fallback.
- Add native inspection of child conversations.
- Always add the subagent tool.
- ui:
- Add the `/copy`, `/edit` (with a fuzzy file picker), `/retry`,
`/undo`, `/quit`, `/model` and `/theme` slash commands.
- Add 22 built-in themes, a KITT-inspired theme system and
theme discovery from files, and keep the theme selection
across sessions.
- Add `@file` autocomplete with MIME detection and MCP resource
attachments, and highlight `@file` tokens in user messages.
- Add `:shortcode` emoji autocomplete and `/skill:<name>`
autocomplete in the input editor.
- Add a full alt screen mode with in-memory scrollback.
- Paste clipboard images (Ctrl+V), copy and paste text, and
select and copy text with the mouse at character level.
- Keep the mouse selection after a copy, and set the PRIMARY
selection.
- Show image previews as horizontal tiles, half-block thumbnails
and a full preview modal, and draw them with the Kitty
graphics protocol.
- Add mid-turn steering, bound to the Ctrl+X s leader key
chord.
- Open the external `$EDITOR` with the Ctrl+X e chord.
- Add message navigation and an inspector (Ctrl+X m).
- Add a subagent status bar and run picker, show subagents
with the same live view as the parent, and show a clean
summary of subagent results.
- Stream bash output in the TUI, with a command header, a
height limit and line truncation.
- Truncate lines in the ls tool output.
- Give live activity its own row, and replace the spinner
with a KITT-style scanning animation.
- Animate the startup wordmark, show the KIT logo, and list
loaded extensions in the startup banner.
- Derive syntax colors from the theme, and repaint the
scrollback when the theme changes.
- Add bordered containers to the session and tree selectors,
and show `/model` and other popups as overlays.
- List all models in `/model`, and disable the ones that have
no credentials.
- Show the session history on `/resume` and `/import`.
- Fill the input instead of submitting at once when a prompt
takes arguments.
- Support `/new <prompt>` for phase handoffs.
- Warn when the provider reports no token usage.
- Update token usage and context fill after each step.
- Resolve terminal capabilities lazily and for each client.
- Cancel tool calls with a double ESC.
- Use one gutter style, quieter tool receipts, a scalable
splash screen and better slash command popup contrast.
* Bug Fixes
- acp:
- Follow the ACP v1 specification.
- Use an empty array as the default for `mcpServers` when the
client omits it.
- Keep the configured thinking defaults for new sessions.
- Remove the startup message from the stdio output.
- Make extensions work in ACP mode.
- Fix file attachments and thinking tag parsing.
- agent:
- Make streaming more resilient, and retry only when it is
safe to do so.
- Make Anthropic prompt caching effective.
- Recover when the provider rejects image tool results.
- Retry overload errors even when they are not marked as
transient.
- Track the arguments of parallel tool calls correctly.
- Clear conflicting temperature and top_p values for the
Anthropic API, and limit Anthropic `cache_control` blocks
to 4.
- Fix a crash when a tool result is sent to Anthropic and
Google.
- Fix the object schema error for tools without input parameters,
and prevent a null `required` field in MCP tool schemas
from breaking the OpenAI API.
- Convert JSON Schema draft-07 exclusive bounds to the draft-04
format.
- Handle `<think>` tags from Qwen and DeepSeek models.
- Fix the system prompt that was missing after a model switch
in interactive mode.
- Fix deadlocks, multiple requests at the same time, and
message batching and persistence on cancellation.
- anthropic:
- Send `output_config.effort` for models that support effort
levels.
- app:
- Reset the layout after a widget is removed.
- Send queued messages after `/compact` completes.
- Stop the queue when the application closes.
- auth:
- Support OAuth credentials in ACP mode, and refresh tokens
automatically.
- compaction:
- Keep the API token baseline after compaction.
- core:
- Do not truncate bash output, and do not stop when a line
is too long.
- Return an error when the read tool is used on a directory.
- Prevent the bash tool from hanging on long-running or
background processes.
- Use bash as `SHELL` when commands run.
- Fix fuzzy match positions and diff generation in the edit
tool.
- daemon:
- Deliver a single Escape key without waiting for more input,
and handle escape sequences more reliably.
- Find sockets across different runtime environments.
- Give hosted sessions the full environment of the caller.
- Give the terminal back, keep the alt screen, and clean up
the client terminal after a remote session exits.
- Intercept Ctrl-V and keep the detach chord armed under the
kitty keyboard protocol.
- Keep the session size and truecolor across attach, and
refresh terminal capabilities in live sessions.
- Keep the connection alive across a session switch, and keep
same-daemon choices local.
- Keep the pairing window open after a failed attempt, and
reject approvals that are queued after it expires.
- List remote sessions on attach, and forward the client
terminal.
- Make client control requests and attach cancellable.
- Put clipboard images next to their destination.
- Grow a shared session again when its smallest client leaves.
- Replay terminal modes to clients that attach during a
session.
- Shut sessions down in a predictable way across daemon
restarts.
- Start new sessions on the connected host from the picker.
- Tell the session which multiplexer the client runs in.
- Unblock input after a picker closes.
- Restore scrolling in reattached and busy sessions.
- examples:
- Keep the MCP table when the presentation example is also
loaded.
- Use the registered tool names in two gate examples.
- Fix a race in the status-footer example.
- extensions:
- Report the run error and call `OnComplete` when a subagent
returns no result.
- Run go-edit-lint once per turn.
- Spawn subagents without blocking, and return a usable handle.
- Prevent deadlocks in TUI callbacks and before-hook callbacks.
- Report blocked or disabled tools without an error so that
the LLM sees the reason.
- Call handlers one at a time for each extension to prevent
data races.
- Skip `_test.go` files and example subdirectories that are
not extensions.
- Use structured logging that respects log levels.
- Keep the manifest `Include` list on update.
- Make `ctx.NewSession` wait until the agent is idle.
- Apply tools added or removed mid-turn at the next LLM step.
- Use the immediate parent directory as the name of `main.go`
extensions.
- kit:
- Enable streaming for subagent child instances.
- Keep prompt changes made at runtime across a model switch.
- Resolve the system prompt file path correctly.
- mcp:
- Apply the OAuth configuration to servers added at runtime.
- Release connections when tool discovery fails.
- Report MCP tool failures as soft errors instead of critical
aborts.
- Show human-readable text from MCP tool results instead of
raw JSON.
- models:
- Add reasoning level support for gpt-5.4, with automatic
adjustment.
- Route new OpenAI models, gpt-6 and later models, and opencode
gpt-* and grok-* models to the Responses API.
- Distinguish models without a price from free models.
- Prefer stored OpenAI OAuth credentials over API keys.
- Resolve provider-qualified catalog keys.
- Route auto-discovered providers by their wire protocol, and
route opencode models through the correct provider API.
- Fix thinking and prompt caching for Claude on Bedrock and
Vertex.
- Handle model persistence for custom providers, and bare
model names.
- Fix the OpenAI Codex endpoint, headers and model family
detection.
- Fix issues with the Anthropic, OpenAI, Ollama and Google
providers.
- pkg:
- Handle `<think>` tags in the stream transparently.
- session:
- List sessions that contain lines longer than 1 MiB.
- Prevent circular parent references in the session tree.
- Put kept messages before the post-compaction branch.
- Make session file locking, rewrites and rollbacks on error
more robust.
- Fix `/tree` and `/fork` losing context.
- skills:
- Follow symlinked entries in skill directories.
- Keep skill activations from files up to date.
- Support empty activation and a workspace resource policy.
- Activate saved runtime skills from an empty catalog.
- Write collision messages to the log file.
- startup:
- Open the model selector on provider errors.
- steer:
- Keep steering messages for the whole turn and never drop
them, and include pasted images in them.
- subagent:
- Show the session ID needed to resume a subagent in the tool
result.
- Prevent duplicate MCP tool names and unnecessary reloads.
- Prevent subagents from failing at once because of a parent
context that has already ended, or because of the parent
deadline.
- Recover from bad model names, and use the parent provider
for bare model names.
- Remove a biased model example from the tool schema.
- ui:
- Write log output to a file so that it does not corrupt the
TUI.
- Count token usage and cost correctly across all steps,
including cache tokens, without counting anything twice,
and reset usage on `/new`.
- Update token counting when the model changes during a
session.
- Hide usage costs for all subscription OAuth providers.
- Wrap user messages, assistant messages and reasoning blocks
to the terminal width.
- Truncate long lines, queued messages and steering messages
to prevent overflow, and limit shell command output to 20
lines.
- Stop the diff from overflowing narrow terminals.
- Fix mouse selection offsets and drift with reasoning blocks,
extension widgets, code blocks and streaming.
- Execute slash commands in the TUI instead of sending them
to the LLM.
- Require a double Ctrl+C to quit, and clear the input first.
- Prevent duplicate messages after reasoning-only responses,
after an interrupted turn, and before tool calls.
- Fix ordering in the scrollback, and keep the full content
in it.
- Make the TUI responsive when the terminal is resized to any
size.
- Show MCP tools in `/tools` and in the status bar after they
load.
- Show pasted image previews in the input and in the transcript.
- Resize the transcript when the input grows, and remove
character limits from text inputs.
- Keep uncredentialed models findable in the model selector.
- Remove j/k navigation from fuzzy selectors, and center the
slash command popup.
- Refresh typography and spinner frames when the theme changes,
and derive diff and code background colors from the active
theme.
- Freeze the reasoning duration counter when the answer starts.
- Render reasoning blocks when resuming sessions.
- Show the steering message at once when the agent picks it
up.
- Make ESC cancel the agent response, and keep completed
messages and tool calls.
- Turn auto-scroll back on when a new message is submitted.
- Fix escape sequence leaks, blank lines and orphaned rows
at the bottom of the TUI, and double-speed spinner animation.
- Remove the line-number gutter from the ls tool output.
- Show tool errors in a caution block.
- Align all message blocks on one left edge, make them full
width, and fix background banding.
- Do not show "Finished without output" for empty assistant
messages.
- Fix the streaming display in script mode, and compact mode
in scripts.
- watcher:
- Watch new subdirectories for skill and prompt reloads.
- Remove debug logging that corrupts the TUI.
- general:
- Do not panic when reading malformed properties.
- Normalize the `.wav` MIME type to `audio/wav`.
- Write health check messages only to the debug output.
- What was new in version 0.135.0
* Features
- acp:
- New ACP server mode.
- ACP sessions support permissions, client file system and
terminal access, slash commands, plans and authentication
error reporting.
- The `session/set_model` method is implemented.
- agent:
- Streaming steps that fail because of transient errors are
resumed.
- Parallel tool execution, with a status display for multiple
tools.
- Option to require approval before a tool runs.
- Tools are disabled for models that do not support them.
- Message window to keep the context from overloading.
- Automatic prompt caching to reduce cost.
- agents:
- Named agent definitions, each with its own tool restrictions.
- app:
- Token counts and context fill are updated after every step.
- auth:
- Kit can start without API keys, and a `/connect` dialog
lets you enter keys.
- OpenAI ChatGPT/Codex OAuth authentication, in addition to
Anthropic authentication.
- Copilot login and Claude Max support.
- codemode:
- New code mode tool that runs JavaScript which can call other
tools.
- compaction:
- Adaptive budgets, token estimates that cover all message
parts, and anchored summaries.
- Kit compacts automatically and retries when the context
overflows.
- Better compaction: split turns are handled, files are tracked
and history is kept on disk.
- Compaction summaries are streamed.
- New compact mode.
- config:
- New `noOAuth` flag to skip OAuth on public MCP servers.
- Custom models can set their own `baseUrl` and `apiKey`.
- Custom models can be defined in the config file.
- Bash tool timeouts can be set in `kit.yml`.
- MCP server configs support environment variables and
environment variable substitution.
- System prompts can be configured.
- YAML config files are supported.
- Core tools can be disabled in the config.
- daemon:
- Daemon mode with remote sessions over iroh.
- Single-instance lock, a daemon status query and a systemd
user service.
- One endpoint serves several sessions, and each session is
torn down on its own.
- Sessions can be detached, reattached and shared by several
clients.
- When a daemon runs, sessions are detachable by default.
- Local sessions, a session multiplexer and a hub for several
hosts.
- Remote access uses pairing (protocol v3).
- Stable protocol, and sessions that survive a daemon restart.
- Images can be pasted into remote sessions and are shown as
a preview.
- examples:
- The subagent-monitor example is rebuilt around `ShowOverlay`.
- New example extensions: kit-telegram, kit-kit meta-agent,
subagent-widget, popup-terminal with a persistent shell,
and go-edit-lint with diagnostics shown in the TUI.
- extensions:
- New context functions: `Abort`, `IsIdle`, `Compact`,
`SendMultimodalMessage`, `GetSessionUsage`, `GetSystemPrompt`,
`GetTheme` and `Exit`.
- New events and hooks: `OnLLMUsage`, `OnMCPToolsReady`,
`OnContextPrepare`, `OnModelChange`, `OnBeforeFork`,
`OnBeforeSessionSwitch` and `OnBeforeCompact`; `AgentEndEvent`
carries more data.
- `ToolOutputEvent` is exposed, and extension events carry
rich tool metadata.
- `SetState`, plus APIs for terminal size, thinking level,
turn state, model pricing, OAuth status, UI visibility and
context statistics.
- New GitHub handler extension, and extensions can read
environment variables.
- Custom widget rendering, widget slots for persistent TUI
content, and widgets that can fill the transcript height.
- Custom header and footer regions, custom tool rendering,
custom message rendering and compact tool renderers.
- Hooks for a presentation mode.
- Hot-reload with file watching, and a `/reload-ext` command.
- Inline bash in the editor is expanded in interactive mode.
- Extension types are exported from `pkg/extensions`.
- Keyboard shortcut registration and dispatch are more robust;
keyboard shortcuts, tool context and a source field on
`ToolCallEvent`.
- Extensions can be loaded from a system-wide directory.
- Subagent monitor panes show the agent name.
- Live subagent event streaming, per tool call.
- Interactive prompts (select, confirm, input) and modal
overlay dialogs.
- Editor interceptors.
- Themes can be registered and switched from extensions.
- Extension slash commands get tab completion for their
arguments.
- APIs for tool management, model management, options, an
event bus, LLM completion and steer mode.
- APIs for session management, persistence, editor text and
the status bar.
- Access to tree navigation, skills, templates and model
resolution.
- Extensions can be installed from git repositories; a
multi-select list appears when a repository holds more than
one extension.
- The TUI can be suspended.
- github:
- GitHub integration works end to end, through a core command
and an action.
- hooks:
- `OnPrepareStep` exposes the tool choice for each step.
- Hooks system for lifecycle events, and hooks can send
feedback to the LLM.
- mcp:
- OAuth support for remote MCP servers.
- MCP servers can be loaded and unloaded at runtime.
- Embedded resources in prompt messages are handled.
- SSE servers can connect remotely and send an Authorization
header.
- Connection pool for MCP servers.
- Built-in HTTP functionality.
- models:
- New `apiModelName` field in custom model configs.
- Experimental mode controls in the TUI.
- Default generation parameters and system prompts can be set
per model.
- Reasoning levels, tiered pricing and model status come from
the model catalog; models can have their own reasoning
effort levels.
- Bedrock and Vertex can be configured in Kit's own files.
- Default URLs are resolved for all registered providers.
- Opencode providers receive the `x-opencode-session` header.
- Kit reports truncation at the max-tokens limit and prevents
silent truncation.
- Updated model aliases for Anthropic, OpenAI and Google
Gemini.
- Google Vertex AI support for Claude models; Azure OpenAI,
Google Gemini and Vercel providers.
- OpenAI Responses API support for codex, gpt-5, o3 and o4
models.
- Thinking models are supported, with configurable reasoning
levels.
- Frequency penalty and presence penalty parameters.
- Model notation changes from `provider:model` to `provider/model`.
- The model selection and the thinking level persist across
sessions.
- The model catalog now comes from models.dev, and OpenAI-compatible
providers are routed automatically; models are checked, but
only with warnings.
- Clear error message for gpt-codex-spark models.
- The embedded model catalog is refreshed.
- prompts:
- New `$+` placeholder for required variadic arguments; code
is skipped when placeholders are expanded.
- Prompts, skills and extensions in the XDG config directory
reload automatically when they change.
- Prompt templates.
- read:
- Image files are returned to the model as images it can view.
- session:
- Local and remote session management.
- Shared sessions include the system prompt and the model.
- Session picker, `/history`, `/name`, `/export`, `/import`
and `/share`, plus a session viewer.
- Empty sessions are removed on shutdown and on `/resume`.
- `/new` and `/fork` create a new session file.
- shell:
- Bang commands stream coloured output.
- New `!` and `!!` prefixes for shell commands, with a spinner
while they run.
- The bash tool prompts interactively for a sudo password.
- Streaming bash output shows a command header and has a
capped height.
- skills:
- Skills can be activated with `/<name>`, and Kit fully
complies with the agentskills.io spec.
- subagent:
- New `/kill-subagent` command to stop running subagents.
- Child sessions are linked to their parent and can be resumed.
- An invalid model gives an early error instead of a silent
fallback.
- Child conversations can be inspected natively.
- First-class subagent support for delegating tasks; subagents
run in-process, and the subagent tool is always available.
- ui:
- New `/copy`, `/edit` (with a fuzzy file picker), `/retry`,
`/undo`, `/model`, `/theme` and `/quit` commands.
- `:shortcode` emoji autocomplete, `@file` autocomplete with
context attachment, and `/skill:<name>` autocomplete.
- Smart `@` attachments with MIME detection and MCP resource
support.
- The session and tree selectors have a bordered container.
- Images show as horizontal tiles, as half-block thumbnails,
or with the Kitty graphics protocol, with a full preview
modal; clipboard images can be pasted with Ctrl+V.
- Line truncation in the ls tool display and in streaming
bash output.
- Popup lists, with `/model` shown as an overlay; all overlays
are drawn on top of the view.
- Subagent status bar and run picker; subagents get the same
live view as the parent, show a clean result summary, and
show their type in the spinner.
- The startup wordmark is animated, the KIT logo is shown,
and loaded extensions are listed in the startup banner.
- The steer key binding is now the Ctrl+X s chord; mid-turn
steering.
- Ctrl+X e opens the external `$EDITOR`; Ctrl+X m opens message
navigation and an inspector.
- Syntax colours come from the theme; 22 built-in themes,
with themes also loaded from files; the KITT-inspired theme
system; the theme selection persists, and scrollback is
repainted when the theme changes.
- Live activity has its own row; gutters are consistent, tool
receipts are quieter, and the splash screen scales.
- `@file` tokens in user messages are highlighted.
- Mouse text selection works per character and supports
copying; the selection stays after a copy and sets PRIMARY.
- Slash command popup has better contrast.
- `/model` lists all models and disables those that lack
credentials.
- Prompts with arguments fill the input instead of being sent
at once.
- `/resume` and `/import` show the session history.
- Terminal capabilities are detected lazily and for each
client.
- Streaming bash output in the TUI.
- `/new <prompt>` starts a new session with a prompt.
- Kit warns when a provider reports no token usage, and token
usage is updated after each step.
- Full alt screen mode with in-memory scrollback.
- KITT-style scanning animation replaces the spinner.
- Double ESC cancels tool calls.
- The edit tool supports several edits at once.
- Keyboard shortcuts are easier to use in terminal multiplexers.
- Thinking blocks are styled differently.
* Bug Fixes
- acp:
- Kit follows the ACP v1 spec.
- `mcpServers` defaults to an empty array when a client leaves
it out.
- New sessions keep the configured thinking defaults.
- The startup message no longer appears in stdio output.
- Extensions work in ACP mode.
- File attachments and thinking tag parsing work.
- agent:
- Tools added or removed mid-turn take effect at the next LLM
step.
- Streaming is more resilient, and retries are safe; overload
errors are retried.
- Anthropic prompt caching works as intended.
- Kit recovers when a provider rejects image tool results.
- Tool call arguments are tracked correctly for parallel
calls.
- anthropic:
- `output_config.effort` is sent for models that support
effort levels.
- Conflicting temperature and top_p values are cleared, and
at most 4 cache_control blocks are used.
- app:
- The layout resets after a widget is removed.
- Queued messages are sent after `/compact` completes.
- `ctx.NewSession` waits for the agent to be idle.
- The queue stops draining when the app closes.
- auth:
- OAuth credentials work in ACP mode, and tokens refresh
automatically.
- compaction:
- The API token baseline is kept after compaction.
- core:
- Bash output is no longer truncated or blocked by very long
lines.
- The read tool returns an error when used on a directory.
- The bash tool no longer hangs on long-running or background
processes.
- Command execution uses bash as `SHELL`.
- daemon:
- A lone Escape key is delivered promptly.
- Sockets are found across different runtime environments.
- Hosted sessions get the caller's full environment.
- The terminal is handed back cleanly, the alt screen is kept,
and no sidecar is left running.
- Escape sequences are handled more robustly; Ctrl-V and the
detach chord work under the kitty keyboard protocol.
- Session size and truecolor are kept across attach; terminal
modes and capabilities are replayed or refreshed for clients
that attach later.
- The connection stays alive across a session switch, and
remote sessions are listed on attach.
- The pairing window stays open after a failed attempt, and
approvals queued after it expires are rejected.
- Client control requests and attach can be cancelled.
- Clipboard images are published next to their destination.
- A shared session grows again when its smallest client leaves.
- Sessions shut down cleanly across daemon restarts.
- The picker starts new sessions on the connected host, and
stdin works again after a picker closes.
- The session is told which multiplexer the client runs in.
- Scrolling works again in reattached and busy sessions, and
the client terminal is cleaned up after a remote session
exits.
- examples:
- The MCP table stays when the presentation example is also
loaded.
- The gate examples use the correct registered tool names.
- Fixed a race in the status-footer example.
- extensions:
- go-edit-lint runs once per turn, as a batch.
- Subagents can be spawned without blocking, and return a
handle you can use.
- Hot-reload stays consistent.
- Deadlocks caused by TUI callbacks and before-hooks are
fixed; handler calls are serialized for each extension.
- Blocked or disabled tools tell the LLM why.
- `_test.go` files and example subdirectories that are not
extensions are skipped.
- Logging respects log levels.
- The manifest `Include` is kept on update.
- Extension names come from the immediate parent directory
of `main.go`.
- A nil subagent result keeps the run error and fires
`OnComplete`.
- kit:
- Subagent child instances stream their output.
- Runtime prompt changes persist across a model switch, and
the system prompt is no longer lost when switching models.
- The system-prompt file path is resolved correctly.
- mcp:
- Servers added at runtime get their OAuth config.
- Connections are released when tool discovery fails.
- MCP tool failures are reported as soft errors.
- MCP tool results show readable text instead of raw JSON.
- Tool schemas with a null `required` field or no parameters
no longer break the API.
- JSON Schema draft-07 exclusive bounds are converted to
draft-04.
- models:
- gpt-5.4 reasoning levels are supported and adjusted
automatically.
- New OpenAI models, gpt-6 and later models, and opencode
gpt-* and grok-* models are routed to the Responses API.
- Unpriced models are distinguished from free ones.
- Stored OpenAI OAuth is preferred over API keys.
- Provider-qualified catalog keys are resolved, and auto-discovered
providers are routed by wire protocol.
- Thinking and prompt caching work for Claude on Bedrock and
Vertex.
- `<think>` tags from Qwen/DeepSeek and other models are
handled in streams.
- Custom provider models persist, and bare model names work.
- Fixed issues with OpenAI Codex endpoints, Anthropic, OpenAI,
Ollama and opencode routing.
- Fixed crashes when sending tool results to Anthropic and
Google.
- session:
- Session files are more robust: locking, ownership checks,
all-or-nothing appends and repair of torn lines.
- Sessions with lines longer than 1 MiB can be listed and
loaded.
- Circular parent references are prevented, and kept messages
are ordered correctly after compaction.
- `/tree` and `/fork` no longer lose context.
- Completed messages and tool calls are kept when you cancel
with ESC, and ESC actually cancels the response.
- skills:
- Symlinked entries in skill directories are followed.
- Skills loaded from files stay up to date when activated.
- Skill collision logs go to the log file.
- Empty activation and a workspace resource policy are
supported; saved runtime skills activate from an empty
catalogue.
- startup:
- The model selector opens when the provider reports an error.
- steer:
- Steering messages last for the whole turn and are never
dropped; pasted images are included, and the messages show
at once.
- subagent:
- The resume session ID appears in the tool result.
- Duplicate MCP tool names and needless reloads are prevented.
- Subagents no longer fail at once because the parent context
has ended; they are detached from the parent's deadline.
- Bad model names are handled gracefully, and bare model names
inherit the parent's provider.
- The tool schema no longer contains a biased model example.
- tui:
- Log output goes to a file so it no longer corrupts the TUI.
- tunnel:
- Connection rejections are limited, pre-authentication
reservations expire, and stalled session slots time out.
- ui:
- Token usage and context tracking are accurate, including
cache tokens, multi-step turns and model switches; `/new`
resets usage.
- All message blocks share one geometry, one left edge and
full width, with consistent padding and backgrounds.
- Messages, reasoning blocks and diffs wrap or are clipped
to the terminal width.
- Mouse selection no longer drifts with reasoning blocks,
extension widgets or streaming output.
- Slash commands run in the TUI instead of being sent to the
LLM.
- Queued messages are shown as styled blocks with a QUEUED
badge, and a queue deadlock is fixed.
- Double Ctrl+C quits; the first Ctrl+C clears the input.
- Textarea inputs have no character limit, and the transcript
resizes when the input box grows.
- j/k navigation is removed from fuzzy selectors.
- MCP tools show in `/tools` and the status bar after they
load.
- Pasted image previews show in the input and the transcript,
without needless redraws.
- Responses are no longer rendered twice after reasoning-only
replies or interrupted turns.
- The spinner, the herald typography and the diff/code colours
follow the theme.
- The TUI adapts to terminal resizing at any size.
- Scrollback keeps its full content in the correct order.
- Reasoning blocks show when sessions are resumed, and the
reasoning timer stops correctly.
- Shell command output is truncated to the same limits as the
bash tool.
- Escape sequence leaks and a double-speed spinner are fixed.
- Usage costs are hidden for subscription OAuth providers.
- The model selector can still find models without credentials.
- The vim interceptor stays active so Esc returns to normal
mode.
- Autoscroll works for streaming messages.
- watcher:
- New subdirectories are watched for skill and prompt reloads.
- Debug logging no longer corrupts the TUI.
- Malformed properties no longer cause a panic.
- The edit tool maps fuzzy matches and generates diffs correctly.
- `.wav` files use the MIME type `audio/wav`.
- Multiple simultaneous requests work.
- What was new in version 0.134.0
* Features
* acp:
- Permissions, client file system and terminal access, slash
commands, plans and authentication error reporting are now
supported.
- The session/set_model ACP method is now implemented.
- An ACP server mode is now available.
* agent:
- Streaming steps that fail after transient errors are now
resumed.
- Named agent definitions with per-agent tool restrictions are
now supported.
* app:
- Token counts and context fill are now updated after every
step.
* auth:
- Kit can now start without API keys, and a /connect dialog
lets you enter keys.
- OpenAI ChatGPT/Codex OAuth authentication is now available
alongside Anthropic authentication.
- GitHub Copilot login is now supported.
* codemode:
- A code mode tool is added that runs JavaScript which can call
other tools.
* compaction:
- Compaction now uses adaptive budgets, full-part token estimation
and anchored summaries.
- On context overflow errors, the conversation is now compacted
automatically and the request is retried.
- Compaction now handles split turns, tracks files and keeps
the full history (non-destructive).
- Compaction summaries are now streamed.
- A compact mode is now available.
* config:
- A noOAuth flag skips OAuth on public MCP servers.
- Custom models can now have their own baseUrl and apiKey.
- Custom models can now be defined in the configuration file.
- Bash tool timeouts can now be set in kit.yml.
- Environment variables can now be set in the MCP configuration.
- Environment variable substitution is now supported in the
configuration.
- YAML configuration files are now accepted.
- Core tools can now be disabled through the configuration.
- An option to require approval before a tool runs is now
available.
* daemon:
- Sessions can now be detached and reattached, and several
clients can share one session.
- Images can now be pasted into remote sessions, and a preview
of the pasted image is shown.
- Local sessions, a session multiplexer and a multi-host hub
are now available.
- Detachable sessions are now the default when a daemon runs.
- Remote access now uses pairing-based client authorization
(protocol v3).
- The external tunnel helper is replaced by a built-in transport.
- Sessions now survive a restart of the daemon, and the protocol
version is stable.
- Daemon mode with remote sessions is now available.
- Only one daemon instance can run at a time, its status can
be queried, and a systemd user service is provided.
- One daemon endpoint can now serve multiple sessions, each of
which can be stopped on its own.
* extensions:
- The extension context now provides Abort, IsIdle, Compact,
SendMultimodalMessage and GetSessionUsage.
- The extension context now provides GetSystemPrompt.
- A GitHub handler extension is added, and extensions can now
read environment variables.
- OnLLMUsage and SetState are added, and AgentEndEvent carries
more information.
- OnMCPToolsReady gives a summary of the MCP servers.
- ctx.GetTheme() returns the active theme.
- Extensions can now render custom widgets.
- Hooks for a presentation mode are added.
- Extensions are reloaded automatically when their files change,
and a /reload-ext command is added.
- A popup-terminal example with a persistent shell is added.
- APIs for terminal size, thinking level and turn state are
added.
- Inline bash in the editor is now expanded in interactive mode.
- ToolOutputEvent is now available to extensions.
- Model pricing and OAuth status are now available to extensions.
- Keyboard shortcut registration and dispatch are more robust.
- Extensions can now be loaded from a system-wide directory.
- Subagent monitor panes now show the agent name.
- OnContextPrepare lets extensions filter and add to the context
window.
- An OnEvent callback streams subagent events in real time.
- OnModelChange and ctx.Exit() are added.
- SubscribeSubagent streams events for each tool call.
- Extensions can now suspend the TUI and render custom messages.
- UIVisibility and GetContextStats APIs are added, and tool
renderers are more compact.
- Tab completion now works for arguments of extension slash
commands.
- Extensions can now define custom header and footer areas.
- Extensions can now render tools in their own way.
- Extensions can now intercept editor input.
- Extensions can now register and switch themes.
- A testing package for extensions is added.
- Widget slots let extensions show persistent content in the
TUI.
- A go-edit-lint extension shows diagnostics in the TUI.
- Extensions can now ask the user to select, confirm or enter
text.
- Keyboard shortcuts, tool context and a source field in
ToolCallEvent are added.
- A kit-kit meta-agent example extension is added.
- Modal overlay dialogs are available to extensions.
- Tool, model and option management, an event bus, LLM completion,
steer mode and ten example extensions are added.
- Session before-hooks (OnBeforeFork, OnBeforeSessionSwitch)
and a compaction event (OnBeforeCompact) are added.
- Extensions can now manage sessions, persist data, read and
set editor text, and use the status bar.
- Subagent monitoring and subagent-widget example extensions
are added.
- Events now carry rich tool metadata.
- Tree navigation, skills, templates and model resolution are
now available to extensions.
- Extensions can now be installed from git repositories, with
a multi-select list when a repository has several extensions.
- A kit-telegram example extension is added.
- A status-footer example extension is added.
- Hooks can now give feedback to the LLM.
- A hook system for lifecycle events is added.
- OnPrepareStep now exposes the tool choice for each step.
* github:
- The GitHub integration now works end to end through a core
command and a GitHub action.
* mcp:
- OAuth is now supported for remote MCP servers.
- MCP servers can now be loaded and unloaded at runtime.
- Embedded resources in prompt messages are now handled.
- Remote SSE MCP servers are supported, including configuration
and Authorization headers.
- A connection pool for MCP servers is added.
- A built-in HTTP function is added.
* models:
- Custom models can now have an apiModelName field.
- Experimental mode controls are added to the TUI.
- Generation parameter defaults can now be set per model.
- A system prompt can now be set per model.
- Reasoning levels, tiered pricing and model status now come
from the model catalog.
- Bedrock and Vertex can now be configured in Kit's own files.
- Default URLs are now resolved for all registered providers.
- Requests to opencode providers now include an x-opencode-session
header.
- Model-specific reasoning effort levels are now supported.
- Silent truncation at the max-tokens limit is now reported and
prevented.
- Model aliases for Anthropic, OpenAI and Google Gemini are
updated.
- Google Vertex AI is supported for Claude models.
- The OpenAI Responses API is supported for codex, gpt-5, o3
and o4 models.
- Frequency-penalty and presence-penalty parameters are added.
- Thinking models are supported with configurable reasoning
levels.
- Model validation is now advisory, models can be updated, and
a Vercel provider is added.
- The model notation changes from provider:model to provider/model.
- The model catalog now comes from models.dev, and OpenAI-compatible
providers are routed automatically.
- Model selection and thinking level are now kept across sessions.
- An Azure OpenAI provider is added.
- Google Gemini is supported.
- Claude Max subscriptions are supported.
- Tools are disabled for models that do not support them.
- Ollama and GPU handling are improved.
- Prompt caching is now applied automatically to reduce cost.
- Requests now identify themselves as KIT.
* prompts:
- A required variadic placeholder ($+) is added, and code is
skipped when placeholders are processed.
- Prompts and extensions are now reloaded automatically from
the XDG configuration directory.
- Pi-style prompt templates are added.
- Custom prompts and skills are reloaded automatically when
their files change.
* read:
- Image files are now given to the model as viewable images.
* sandbox:
- An official Kit sandbox image is now available.
* session:
- Local and remote session management is added.
- Shared sessions now include the system prompt and the model.
- Compaction now creates a new leaf with no parent.
- Saved sessions are now supported.
- A session picker, history, /name, /export and /import are
added.
- Empty sessions are removed automatically at shutdown and on
/resume.
- /new now creates a new session file.
- A /share command and a session viewer are added.
- A /history command is added.
- A message window prevents overloading the context.
* shell:
- Output of bang commands is now streamed in colour.
- The ! and !! shell command prefixes are added.
- A spinner is shown while shell commands run.
- The bash tool now asks interactively for a sudo password.
* skills:
- Skills can now be activated with /<name>, and the remaining
agentskills.io specification gaps are closed.
- Skills now fully comply with the agentskills.io specification.
- A skill to install the kit-extensions skill is added.
* subagent:
- /kill-subagent stops running subagents.
- Child sessions are now linked to the parent session and can
be resumed.
- An invalid model now returns an error early instead of silently
using a fallback.
- Child conversations can now be inspected directly.
- First-class subagent support for task delegation is added.
- Subagents now run in-process instead of in separate processes.
- The subagent tool is now always added.
* ui:
- A /copy command copies the last message.
- An /edit command with a fuzzy file picker is added.
- A /retry command resubmits the last user message.
- An /undo command rolls back the last turn.
- Emoji autocomplete with :shortcode is added to the input
editor.
- The session selector and the tree selector now have a bordered
container and better styling.
- Images are shown as horizontal tiles, with a full image preview
window.
- Output of the ls tool and of streaming bash is now truncated
by lines.
- /model is now shown as an overlay list.
- A subagent status bar and run picker are added.
- The startup wordmark is animated.
- /skill:<name> commands are autocompleted.
- The steer key binding changes to the Ctrl+X s chord.
- Syntax colours now come from the theme, and palette collisions
are fixed.
- The subagent type is shown in the spinner.
- Image previews in the transcript are drawn with the Kitty
graphics protocol.
- Live activity now has its own row, and the surrounding elements
are quieter.
- @file tokens in user messages are highlighted with the accent
colour.
- Text can now be selected and copied with the mouse, character
by character.
- /quit and Ctrl+C now quit gracefully.
- The slash command popup has better contrast with full-width
backgrounds.
- The mouse selection stays after a copy, and the PRIMARY
selection is set.
- /model lists all models and disables those without credentials.
- Loaded extensions are listed in the startup banner.
- /fork now creates a new session file.
- Gutters are consistent, tool receipts are quieter, and the
splash screen scales.
- An external $EDITOR can be opened with the Ctrl+X e chord.
- The message navigation inspector is improved, and the markdown
theme is fixed.
- Prompts with arguments now fill the input instead of being
submitted automatically.
- Half-block thumbnails are shown for attached images.
- Session history is shown on /resume and /import.
- The scrollback is redrawn when the theme changes.
- Terminal capabilities are detected lazily and per client.
- Subagent results are shown as a clean summary instead of raw
output.
- Subagents are shown with the same live view as the parent.
- Bash output is streamed in the TUI, with a command header,
capped height and replacement by the tool result.
- /new <prompt> starts a new session with a prompt.
- A warning is shown when the provider reports no token usage.
- The interactive mode now uses a unified TUI.
- A /theme command with 22 built-in themes and file-based theme
discovery is added.
- Theme selection is kept across sessions.
- A KITT-inspired theme system with unified markdown colours
is added.
- A /model command with an interactive fuzzy selector is added.
- @file autocomplete and context attachment are added.
- @ attachments detect MIME types and support MCP resources.
- Images can be pasted from the clipboard with Ctrl+V.
- Copy and paste are supported.
- Selections are highlighted with theme colours.
- Double-ESC cancels tool calls safely.
- Tools run in parallel, and the status of multiple tools is
shown.
- A full alternate screen mode with in-memory scrollback is
added.
- The spinner is replaced by a KITT-style scanning animation.
- Token usage is updated after each step in multi-step turns.
- A KIT logo is shown above the startup information.
- Message navigation and an inspector are available with Ctrl+X
m.
- Mid-turn steering is added.
- Autocomplete is added.
- Overlays are drawn over the view instead of replacing it.
- Thinking blocks use subdued, colour-coded, italic text.
- Key bindings work better in terminal multiplexers.
- A system prompt can be set.
* Bug Fixes
* acp:
- File paths and plan replay are fixed.
- mcpServers now defaults to an empty array for clients that
omit it.
- The ACP server now follows the ACP v1 specification.
- Configured thinking defaults are kept for new sessions.
- The startup message is no longer written to the stdio output.
- Extensions now work in ACP mode.
- File attachments and thinking tag parsing are fixed.
* agent:
- Network retries are more robust.
- Tools added or removed mid-turn now take effect at the next
LLM step.
- Streaming is more resilient, and retries are safe.
- Anthropic prompt caching is now effective.
- Kit now recovers when the provider rejects image tool results.
- Overload errors are now retried.
- Arguments of parallel tool calls are now tracked correctly.
- Overloaded errors are handled, and usage statistics are shown.
* agents:
- The tool contract for agents is clearer.
* anthropic:
- output_config.effort is now sent for effort-graded models.
- Conflicting temperature and top_p settings are cleared.
- The number of cache_control blocks is limited to four.
* app:
- The layout now resets after a widget is removed.
- Queued messages are sent after /compact completes.
- ctx.NewSession now waits until the agent is idle.
- The message queue stops when the application closes.
* auth:
- OAuth credentials now work in ACP mode, and tokens are refreshed
automatically.
- The character encoding of the OAuth success page is fixed.
* compaction:
- Overflow recovery is fixed.
- The API token baseline is kept after compaction.
* core:
- The pipe is drained when bash streaming meets a very long
line.
- The read tool now returns an error when used on a directory.
- Bash output is no longer truncated while it is still being
read.
- The bash tool no longer hangs on long-running or background
processes.
- Commands now run with SHELL set to bash.
- Fuzzy match positions and diff generation in the edit tool
are fixed.
- The line-number gutter is removed from ls output.
* daemon:
- Cancellation handling and reporting are fixed.
- A single Escape key is now delivered without waiting for more
input.
- Sockets are found across runtime environments.
- Hosted sessions now get the caller's full environment.
- The terminal is given back correctly, and the alternate screen
is kept.
- Escape-sequence handling is more robust.
- Ctrl-V is intercepted under the kitty keyboard protocol.
- Choices on the same daemon now stay local.
- Session size and truecolor are kept across attach.
- The connection stays alive across a session switch.
- The detach chord works across the kitty Ctrl-X release.
- The pairing window stays open after a failed attempt.
- Remote sessions are listed on attach, and the client terminal
is forwarded.
- Client control requests can be cancelled.
- Attach cancellation is propagated, and the local connection
attempt has a time limit.
- Clipboard images are stored beside their destination.
- Terminal capabilities are refreshed in live sessions.
- A shared session grows again when its smallest client leaves.
- Approvals queued after the pairing window closes are rejected.
- Terminal modes are replayed to clients that attach mid-session.
- A session whose client never learned its ID is retired.
- Sessions shut down predictably across daemon restarts.
- New sessions started from the picker run on the connected
host.
- The session is told which multiplexer the client runs in.
- Standard input is unblocked after a picker closes.
- Pre-authentication slots expire, and stalled session slots
are released.
- The client terminal is cleaned after a remote session ends.
- Scrolling works again in reattached and busy sessions.
* extensions:
- A subagent can now be spawned without blocking, with a usable
handle.
- Blocked or disabled tools now report the reason to the LLM.
- Handler calls are serialized per extension to prevent data
races.
- Test files and non-extension example directories are skipped.
- Logging now respects log levels.
- The manifest Include list is written in one pass and kept on
update.
- go-edit-lint runs once per turn.
- The MCP table is kept when the presentation extension is also
loaded.
- Tool names in two gate examples are fixed.
- Names of main.go extensions now use the immediate parent
directory.
- OnComplete is now called and the run error is kept when a
subagent result is empty.
- Before-hook callbacks no longer cause a TUI deadlock.
* kit:
- Streaming is enabled for subagent child instances.
- Runtime prompt changes are kept across a model switch.
- The system-prompt file path is resolved correctly.
* mcp:
- OAuth configuration is now applied to servers added at runtime.
- Connections are released when tool discovery fails.
- MCP tool failures are now soft errors instead of critical
aborts.
- tasksMode is validated, and subagents inherit task options.
- MCP tool results are shown as readable text instead of raw
JSON.
- A null 'required' field in MCP tool schemas no longer breaks
the OpenAI API.
- JSON Schema draft-07 exclusive bounds are converted to draft-04.
- Tools without input parameters no longer fail with a missing
properties error.
- Malformed properties no longer cause a panic.
- MCP tools are shown in /tools and the status bar after they
load.
* media:
- Reading images is safer.
- The .wav MIME type is normalized to audio/wav.
* models:
- gpt-5.4 reasoning levels are supported and adjusted automatically.
- New OpenAI models are routed to the Responses API.
- Models without a price are no longer shown as free.
- Stored OpenAI OAuth credentials are preferred over API keys.
- Provider-qualified catalog keys are resolved.
- Auto-discovered providers are routed by their wire protocol.
- gpt-6 and newer models are routed to the OpenAI Responses
API.
- opencode gpt-* and grok-* models use the Responses API.
- Thinking and prompt caching work for Claude on Bedrock and
Vertex.
- <think> tags from Qwen and DeepSeek models are handled in the
stream.
- opencode models are routed through the correct provider API.
- Custom provider model persistence and bare model names are
fixed.
- Sending tool results to Anthropic and Google no longer crashes.
- reasoning_content is omitted when empty in OpenAI messages.
- Number and integer types are supported in the Google type
converter.
- The OpenAI Codex endpoint, headers and model family detection
are fixed.
- A clear error is shown for gpt-codex-spark models.
- Fixes for Anthropic, OpenAI and Ollama are included.
- The system prompt is no longer lost when switching models in
interactive mode.
- Token counting is updated when the model changes mid-session.
* sandbox:
- Nix is found on the default PATH for all users.
* session:
- Sessions with lines longer than 1 MiB are now listed.
- Session files are more robust against write errors and
concurrent access.
- Kept messages are ordered before the post-compaction branch.
- Circular parent references in the session tree are prevented.
- /tree and /fork no longer lose context.
- Completed messages and tool calls are kept in the session
when ESC cancels a response.
- Reasoning blocks are shown when sessions are resumed.
* skills:
- Symlinked entries in skill directories are followed.
- File-backed skill activation stays current.
- Skill name collisions are logged to a file.
- Empty activation and a workspace resource policy are supported.
- Saved runtime skills can be activated from an empty catalogue.
* startup:
- The model selector opens on provider errors.
* steer:
- Steering messages are kept for the whole turn and never
dropped.
- Pasted images are included in steering messages.
- Steering messages are shown immediately when they are consumed
mid-turn.
* subagent:
- The resume session ID is shown in the tool result text.
- Duplicate MCP tool names and redundant reloads are prevented.
- Subagents no longer fail instantly because of an ended parent
context.
- The subagent context no longer depends on the parent deadline.
- Bad model names are handled gracefully, and bare model names
use the parent provider.
* ui:
- Token usage is now added up across all steps of a turn,
including cache tokens.
- Token usage and cost are no longer counted twice, and /new
resets usage.
- User messages have a subtle background fill and a full-height
left border.
- All blocks are aligned on one left edge and use full width.
- Redundant image preview redraws are avoided.
- Long lines in tool results are clipped or truncated instead
of wrapped.
- Queued messages are shown as styled, left-aligned blocks with
a QUEUED badge.
- Mouse selection no longer drifts with reasoning blocks, widgets
or streaming.
- Only extension tools are counted in the extension tool count.
- The image preview mode now depends on the detected terminal
capabilities.
- The slash command popup is sized and centred correctly.
- Slash commands now run in the TUI instead of being sent to
the LLM.
- The reasoning counter stops when the reasoning ends.
- Usage costs are hidden for subscription OAuth providers.
- The activity row stays visible during message navigation.
- Plain shell output rows keep the theme colour.
- Models without credentials can still be found in the model
selector.
- Ctrl+C clears the input first, and a double Ctrl+C quits.
- Messages are no longer shown twice after reasoning-only or
interrupted responses.
- Auto-scroll is enabled again when a new message is submitted.
- Visual noise is reduced and the layout is improved.
- Typography and spinner frames are updated when the theme
changes.
- Textarea inputs no longer have a character limit.
- j/k navigation is removed from fuzzy selectors.
- Selectors are shown in the alternate screen.
- The transcript is resized when the input area grows.
- A queue deadlock is fixed.
- Confirmations are no longer shown twice.
- Diffs no longer overflow narrow terminals.
- Tool error output is shown in a caution block.
- Assistant, user and reasoning messages are wrapped to the
terminal width.
- The TUI now responds to terminal resizing at any size.
- Long single lines no longer break the TUI.
- Shell command output is truncated in the TUI.
- Diff and code background colours come from the active theme.
- Escape sequences no longer leak from the spinner.
- The spinner no longer runs at double speed.
- Duplicate text before tool calls is prevented.
- Log output goes to a file so it does not corrupt the TUI.
- 'Finished without output' is no longer shown for empty assistant
messages.
- The full content is kept in the scrollback.
- Thinking output blocks have a uniform background.
- The vim interceptor stays active so Esc returns to normal
mode.
- ESC now really cancels the agent response.
- Autoscroll for streaming messages is fixed.
- Deadlocks are fixed.
- Message batching and cancellation persistence are fixed.
- The prompt input accepts longer text.
- Tool calls and responses are no longer buffered.
- Multiple requests at the same time are handled.
* watcher:
- New subdirectories are watched for skill and prompt reloads.
- Debug logging no longer corrupts the TUI.
- What was new in version 0.133.1
* Features
- acp:
- Added permissions, client file system and terminal access,
slash commands, plans and auth error reporting.
- Added support for the session/set_model ACP method.
- Added an ACP server mode.
- agent:
- Streaming steps that fail on a transient error now resume.
- agents:
- Added named agent definitions, each with its own tool
restrictions.
- app:
- Token counts and context fill now update after every step.
- auth:
- Kit can now start without API keys, and a new /connect
dialog lets you enter keys.
- Added OpenAI ChatGPT/Codex OAuth authentication alongside
Anthropic auth.
- Added GitHub Copilot login.
- codemode:
- Added a code mode tool that runs JavaScript which can call
other tools.
- compaction:
- Added adaptive budgets, token estimation over all message
parts, and anchored summaries.
- Kit now compacts automatically and retries when the context
overflows.
- Improved compaction with split-turn handling, file tracking
and non-destructive persistence.
- Compaction summaries now stream.
- Added a compact mode.
- config:
- Added a noOAuth flag to skip OAuth on public MCP servers.
- Custom models can now have their own baseUrl and apiKey.
- Custom models can be defined in the config file.
- Bash tool timeouts can be set in kit.yml.
- Added environment variable substitution in config files.
- Added env support in the MCP config.
- YAML config files are now accepted.
- Core tools can be disabled in the config.
- Added an option to require approval before a tool runs.
- daemon:
- Added a daemon mode with remote sessions over iroh.
- Sessions can now be detached, reattached and shared between
several clients.
- Detachable sessions are now the default when a daemon is
running.
- Added local sessions, a session multiplexer and a hub for
several hosts.
- Remote access now uses pairing.
- Image paste now works in remote sessions, with an image
preview.
- The Rust tunnel sidecar was replaced by an in-process
transport.
- Sessions now outlive a daemon restart, and the protocol
version is stable.
- Added a single-instance lock, a daemon status report and a
systemd user service.
- One endpoint now serves several sessions, and each session
shuts down on its own.
- extensions:
- Added Abort, IsIdle, Compact, SendMultimodalMessage and
GetSessionUsage to the extension context.
- Added GetSystemPrompt to the extension context.
- Added a GitHub handler extension and access to environment
variables.
- Added OnLLMUsage, SetState and a richer AgentEndEvent.
- Added OnMCPToolsReady, which gives a summary of the MCP
servers.
- Added ctx.GetTheme() to read the active theme.
- Added custom widget rendering.
- Added hooks for a presentation mode.
- Added hot-reload with file watching and a /reload-ext
command.
- Added a popup-terminal example with a persistent shell.
- Added APIs for terminal size, thinking level and turn state.
- Inline bash is now expanded in the editor in interactive
mode.
- ToolOutputEvent is now available to extensions.
- Model pricing and OAuth status are now available to extensions.
- Keyboard shortcut registration and dispatch are more robust.
- Extensions can now load from a system-wide directory.
- Subagent monitor panes now show the agent name.
- The subagent-monitor example now uses ShowOverlay.
- Added an OnContextPrepare event to filter and inject context
window content.
- Added an OnEvent callback for real-time subagent events.
- Added an OnModelChange event and ctx.Exit().
- Added the SubscribeSubagent API for event streaming per
tool call.
- Added TUI suspend, custom message rendering and extension
hot-reload.
- Added UIVisibility and GetContextStats APIs and compact
tool renderers.
- Added tab completion of arguments for extension slash
commands.
- Added custom header and footer regions.
- Added custom tool rendering.
- Added an editor interceptor system.
- Added an API to register and switch themes.
- Added widget slots for persistent TUI content.
- Added an interactive prompt system (select, confirm, input).
- Added keyboard shortcuts, tool context and a source field
on ToolCallEvent.
- Added a modal overlay dialog system.
- Added rich tool metadata to extension events.
- Added session before-hooks (OnBeforeFork, OnBeforeSessionSwitch)
and an OnBeforeCompact event.
- Added APIs for session management, persistence, editor text
and the status bar.
- Added tool management, model management, options, an event
bus, LLM completion, steer mode and 10 example extensions.
- Added the go-edit-lint extension, which shows diagnostics
in the TUI.
- Added the kit-kit meta-agent, subagent-widget, subagent
monitoring and kit-telegram example extensions.
- Tree navigation, skills, templates and model resolution are
now available to extensions.
- github:
- GitHub integration now works end to end through a core
command and an action.
- hooks:
- The tool choice for each step is now available through
OnPrepareStep.
- Hooks can now give feedback to the LLM.
- Added a hooks system for lifecycle events.
- mcp:
- Added OAuth support for remote MCP servers.
- MCP servers can now be loaded and unloaded at runtime.
- Embedded resources in prompt messages are now handled.
- Added support for remote SSE MCP servers, with Authorization
header support.
- Added builtin HTTP functionality.
- Added a connection pool.
- models:
- Added an apiModelName field to the custom model config.
- Added experimental mode controls to the TUI.
- Added default generation parameters for each model.
- Added a system prompt for each model.
- Reasoning levels, tiered pricing and model status now come
from the model catalog.
- Bedrock and Vertex can now be configured in Kit's own files.
- Default URLs are now resolved for all registered providers.
- Kit now sends the x-opencode-session header to opencode
providers.
- Added reasoning effort levels specific to each model.
- Silent truncation at the max-tokens limit is now reported
and prevented.
- Added Google Vertex AI support for Claude models.
- Added OpenAI Responses API support for codex, gpt-5, o3 and
o4 models.
- Added thinking model support with configurable reasoning
levels.
- Added frequency-penalty and presence-penalty parameters.
- Added advisory model validation and the vercel provider.
- Model notation changed from provider:model to provider/model.
- The model catalog now comes from models.dev, and openai-compatible
providers are routed automatically.
- Updated model aliases for Anthropic, OpenAI and Google
Gemini.
- Model selection and thinking level now persist across
sessions.
- Added automatic prompt caching to reduce cost.
- Requests now identify themselves as KIT.
- Added the Azure OpenAI provider.
- Added Google Gemini support.
- Added Claude Max support.
- Added explicit wire protocol declarations for providers.
- Tools are disabled for models that do not support them.
- Improved Ollama and GPU handling.
- Added a clear error message for gpt-codex-spark models.
- prompts:
- Added the $+ placeholder for required variadic arguments,
and code is no longer treated as placeholders.
- Prompts and extensions from the XDG config directory now
reload automatically.
- Added Pi-style prompt templates.
- Custom prompts and skills reload automatically when their
files change.
- Added system prompt support.
- read:
- Image files are now returned to the model as images it can
view.
- session:
- Added local and remote session management.
- Shared sessions now include the system prompt and model.
- Compaction now creates a new leaf with no parent.
- Added session management features (picker, history, /name,
/export, /import).
- Added /share and a session viewer.
- Empty sessions are removed on shutdown and on /resume.
- /new now creates a new session file.
- Added saved sessions.
- Session storage is now durable, with atomic steps, locking
and crash repair.
- Added a /history command.
- Added a message window so the context is not overloaded.
- shell:
- Bang commands now stream coloured output.
- Added ! and !! shell command prefixes.
- A spinner now shows while a shell command runs.
- Added an interactive sudo password prompt for the bash tool.
- The bash command header now shows in streaming output.
- Streaming bash output has a height limit and is replaced
by the tool result when done.
- skills:
- Skills can now be activated with /<name>.
- Added full agentskills.io spec compliance.
- subagent:
- Added /kill-subagent to stop running subagents.
- Child sessions are now linked to their parent and can be
resumed.
- An invalid model now gives an early error instead of a
silent fallback.
- Added native inspection of child conversations.
- Added first-class subagent support for task delegation.
- Subagents now run in-process instead of as separate processes.
- The subagent tool is now always available.
- Subagents now inherit tools from the parent.
- ui:
- Added the /copy, /edit (with a fuzzy file picker), /retry
and /undo slash commands.
- Session and tree selectors now have a bordered container
and improved styling.
- Added horizontal image tiles and a full image preview modal.
- Ls tool output and bash streaming output are now truncated.
- Added a reusable popup list, and /model now shows as an
overlay.
- Added a subagent status bar and a run picker.
- The startup wordmark is now animated.
- /skill:<name> slash commands now autocomplete.
- The steer keybind changed to the Ctrl+X s chord.
- Syntax colors now come from the theme, and palette collisions
are fixed.
- The spinner now shows the subagent type.
- Image previews now use the Kitty graphics protocol.
- Live activity now has its own row, and the surrounding
chrome is quieter.
- @file tokens in user messages are highlighted with the
accent color.
- Added character-level mouse text selection and copy.
- Added a graceful quit with /quit and Ctrl+C.
- The slash command popup has better contrast.
- The mouse selection now stays after a copy, and the PRIMARY
selection is set.
- /model now lists all models and disables those without
credentials.
- The startup banner lists loaded extensions.
- /fork now creates a new session file.
- Added one gutter style, quieter tool receipts and a scalable
splash screen.
- Ctrl+X e now opens the external $EDITOR.
- The message navigation inspector is polished, and the
markdown theme is fixed.
- Prompts with arguments now fill the input instead of being
sent at once.
- Attached images now show half-block thumbnails.
- /resume and /import now show the session history.
- Scrollback is repainted when the theme changes.
- Terminal capabilities are now resolved lazily and for each
client.
- Subagent results now show a clean summary instead of raw
output.
- Subagents now use the same live view as the parent.
- Bash output now streams in the TUI.
- Added /new <prompt> and ctx.NewSession for phase handoffs.
- A warning shows when the provider reports no token usage.
- Added a /theme command with 22 built-in themes and themes
from files.
- Added @file autocomplete and context attachment.
- Added a KITT-inspired theme system with unified markdown
colors.
- Added clipboard image paste (Ctrl+V).
- Added copy and paste support.
- Added visual selection highlighting with theme colors.
- Added parallel tool execution with a status display for
several tools.
- Added full alt screen mode with in-memory scrollback.
- The spinner is now a KITT-style red scanning animation.
- Theme selection persists across sessions.
- Added smart @ attachments with MIME detection and MCP
resource support.
- Tool calls can be cancelled with double ESC.
- @file references now work in non-interactive mode and as
positional arguments.
- Token usage now updates after each step in multi-step turns.
- Added message navigation and an inspector (Ctrl+X m).
- Added mid-turn steering.
- Added autocomplete.
- Added the KIT logo above the startup info.
- Added usage stats.
- All overlays are now drawn over the view instead of replacing
it.
- edit:
- Added multi-edit support to the edit tool, and the single-edit
mode was removed.
* Bug Fixes
- acp:
- Fixed file paths and plan replay.
- mcpServers now defaults to an empty array for clients that
omit it.
- The ACP server now follows the ACP v1 spec.
- Configured thinking defaults are kept for new sessions.
- The startup message no longer appears in stdio output.
- Extensions now work in ACP mode.
- Fixed file attachment support and thinking tag parsing.
- agent:
- Network retries are improved, and streaming is more resilient
with safe retries.
- AddTools and RemoveTools now take effect at the next LLM
step during a turn.
- Anthropic prompt caching is now effective.
- Kit now recovers when the provider rejects image tool
results.
- Overload errors are retried even without a transient flag.
- Tool call arguments are tracked correctly for parallel
calls.
- agents:
- The --no-agents option now works.
- anthropic:
- output_config.effort is now sent for effort-graded models.
- Conflicting temperature and top_p values are cleared.
- Cache control blocks are limited to the maximum of 4.
- app:
- The layout now resets after a widget is removed.
- Queued messages are sent after /compact completes.
- ctx.NewSession now waits for the agent to be idle.
- The queue stops when the app is closing.
- auth:
- OAuth credentials now work in ACP mode, and tokens refresh
automatically.
- compaction:
- Overflow recovery is fixed.
- The API token baseline is kept after compaction.
- core:
- Bash streaming no longer stalls on an oversized line or
truncates output.
- The read tool now returns an error for a directory.
- The bash tool no longer hangs on long-running or background
processes.
- The SHELL variable is set to bash for command execution.
- Fixed fuzzy match positions and diff generation in the edit
tool.
- daemon:
- An idle Escape key is now delivered without waiting for
more input.
- Sockets are now found across runtime environments.
- Hosted sessions now get the full environment of the caller.
- The terminal is handed back, the alt screen is kept, and
no sidecar is left behind.
- Escape sequence handling is more robust.
- Ctrl-V is intercepted under the kitty keyboard protocol.
- Session size and truecolor are kept across attach.
- The connection stays alive across a session switch.
- The detach chord stays armed across the kitty Ctrl-X release.
- The pairing window stays open after a failed attempt, and
approvals queued after it expires are rejected.
- Remote sessions are listed on attach, and the client terminal
is forwarded.
- Client control requests can be cancelled.
- Clipboard images are published next to their destination.
- Terminal capabilities are refreshed in live sessions.
- A shared session grows again when its smallest client leaves.
- Terminal modes are replayed to clients that attach mid-session.
- A session whose client never learned its id is retired.
- Sessions shut down predictably across daemon restarts.
- The picker now starts new sessions on the connected host.
- The session is told which multiplexer the client runs in.
- Stdin is unblocked after a picker closes.
- The client terminal is cleaned after a remote session exits.
- Scrolling works again in reattached and busy sessions.
- extensions:
- Subagents can now be spawned without blocking, with a usable
handle.
- Blocked or disabled tools now show the reason to the LLM.
- Handler calls are serialized per extension to prevent data
races.
- Test files and non-extension example directories are skipped.
- Logging now respects log levels.
- The manifest Include is preserved on update.
- go-edit-lint now runs once per turn.
- Extension names for main.go now come from the immediate
parent directory.
- The run error is kept, and OnComplete fires when a subagent
returns no result.
- kit:
- Streaming is enabled for subagent child instances.
- Runtime prompt changes are kept across a model switch.
- The system-prompt file path is resolved correctly.
- mcp:
- OAuth config is passed to servers added at runtime.
- Connections are released when tool discovery fails.
- MCP tool failures are soft errors, not critical aborts.
- Readable text is shown for MCP tool results instead of raw
JSON.
- A null required field in MCP tool schemas no longer breaks
the OpenAI API.
- JSON Schema draft-07 exclusive bounds are converted to
draft-04 format.
- Tools without input parameters no longer cause a missing
properties error.
- models:
- Added gpt-5.4 reasoning level support with automatic
adjustment.
- New OpenAI models are routed to the Responses API.
- Unpriced models are no longer shown as free.
- Stored OpenAI OAuth credentials are preferred over API keys.
- Provider-qualified catalog keys are resolved.
- Auto-discovered providers are routed by wire protocol.
- gpt-6 and newer models use the OpenAI Responses API.
- opencode gpt-* and grok-* models use the Responses API, and
opencode models use the correct provider API.
- Thinking and prompt caching now work for Claude on Bedrock
and Vertex.
- <think> tags from Qwen, DeepSeek and other models are handled
in the stream.
- Custom provider model persistence and bare model names are
handled.
- Fixed the OpenAI Codex endpoint, headers and model family
detection.
- Fixed issues with Anthropic, OpenAI, Ollama and Google tool
results.
- The system prompt is kept when switching models in interactive
mode.
- session:
- Session locking, file repair and persistence are more robust.
- Sessions with lines longer than 1 MiB are listed.
- Kept messages are ordered before the post-compact branch.
- Circular parent references in the session tree are prevented.
- /tree and /fork no longer lose context.
- Completed messages and tool calls are kept when cancelling
with ESC.
- skills:
- Symlinked entries in skill directories are followed.
- File-backed activation stays fresh.
- Skill collision logs go to the log file.
- Empty activation and a workspace resource policy are
supported.
- Saved runtime skills activate from an empty catalogue.
- startup:
- The model selector opens on provider errors.
- steer:
- Steering messages are kept for the whole turn and never
dropped.
- Pasted images are included in steering messages.
- Steering messages show immediately when consumed mid-turn.
- subagent:
- The resume session id is shown in the tool result.
- Duplicate MCP tool names and redundant reloads are prevented.
- Subagents no longer fail at once because of a dead parent
context.
- The subagent context is detached from the parent deadline.
- Bad model names are handled, and bare model names inherit
the parent provider.
- tui:
- Log output goes to a file so the TUI is not corrupted.
- ui:
- Token usage and cost tracking are accurate across steps,
including cache tokens and model switches.
- /new resets usage.
- Usage costs are hidden for subscription OAuth providers.
- User messages, queued messages and thinking blocks have
improved styling and alignment.
- Message blocks, tool output and diffs are aligned, wrapped
and truncated correctly at any terminal width.
- Mouse selection no longer drifts with reasoning blocks,
extension widgets or streaming.
- Image preview redraws are reduced, and the preview mode
comes from resolved capabilities.
- The extension tool count includes only extension tools.
- Slash commands run in the TUI instead of being sent to the
LLM.
- The slash command popup is sized and placed correctly.
- The reasoning duration counter stops at the right time.
- The activity row stays across message navigation, and the
layout adjusts when it changes.
- The theme colour is kept on plain shell output rows.
- Models without credentials can still be found in the model
selector.
- Ctrl+C clears the input first, and two presses are needed
to quit.
- Messages are no longer rendered twice after reasoning-only
responses or interrupted turns.
- Startup messages are shown in order.
- Auto-scroll is enabled again when a new message is sent.
- Typography and spinner frames update on theme change.
- Textarea inputs have no character limit.
- j/k navigation is removed from fuzzy selectors.
- Queued messages show with a QUEUED badge, and a queue
deadlock is fixed.
- Selectors render in the alt screen buffer.
- The transcript resizes when the composer grows.
- MCP tools show in /tools and the status bar after loading.
- Pasted image previews show in the input and the transcript.
- Confirmations are no longer shown twice.
- Tool errors are shown in a caution block.
- The TUI responds to terminal resizing at any size.
- Diff and code background colors come from the active theme.
- Reasoning blocks are shown when sessions resume.
- Shell command output is truncated with the same limits as
the bash tool.
- The vim interceptor keeps Esc working in both modes.
- Fixed blank lines, duplicate text and escape sequence leaks
in streaming output.
- Fixed the usage widget visibility at startup.
- watcher:
- New subdirectories are watched for skill and prompt reload.
- Debug logging no longer corrupts the TUI.
- general:
- Malformed properties no longer cause a panic.
- ESC now cancels the agent response.
- .wav files use the audio/wav MIME type.
- Fixed deadlocks, a nil pointer issue and handling of several
requests at once.
- Fixed message batching and cancellation persistence.
- Health check logging goes to debug output only.
* Other Changes
- ui:
- Keybindings work better in terminal multiplexers.
- Thinking blocks use subdued, color-coded italic text.
- The splash stripe is removed.
- Message rendering uses a new typography library.
- Markdown rendering moved to herald-md.
- Tool names in the spinner are simpler.
- extensions:
- A multi-select list shows when a repository has several
extensions.
- Extension discovery in mixed repositories is fixed.
- What was new in version 0.133.0
* Features
- acp: Add an ACP server mode.
- acp: Support permissions, client file system and terminal
access, slash commands, plans and auth error reporting.
- acp: Support selecting the model for a session.
- agent: Resume failed streaming steps after transient errors.
- agents: Add named agent definitions with per-agent tool
restrictions.
- app: Update token counts and context fill after every step,
including in multi-step turns.
- auth: Allow starting without API keys and add a `/connect`
dialog to enter keys.
- auth: Add OpenAI ChatGPT/Codex OAuth authentication next to
Anthropic authentication.
- auth: Add GitHub Copilot login.
- codemode: Add a code mode tool that runs JavaScript which
calls other tools.
- compaction: Add adaptive budgets, full-part token estimation
and anchored summaries.
- compaction: Compact automatically and retry when the context
overflows.
- compaction: Improve compaction with split-turn handling, file
tracking and non-destructive persistence.
- compaction: Stream compaction summaries.
- compaction: Add a compact mode.
- config: Add a `noOAuth` flag to skip OAuth on public MCP
servers.
- config: Add per-model `baseUrl` and `apiKey` for custom models.
- config: Add custom models through the configuration file.
- config: Support environment variables and environment variable
substitution in the MCP configuration.
- config: Make bash tool timeouts configurable in `kit.yml`.
- config: Allow YAML configuration files.
- config: Allow disabling core tools.
- daemon: Add a daemon mode with remote sessions over iroh.
- daemon: Add detach, reattach and shared multi-client sessions;
detachable sessions are the default when a daemon runs.
- daemon: Add local sessions, a session multiplexer and a
multi-host hub.
- daemon: Add pairing-based remote access.
- daemon: Support image paste in remote sessions and show the
image preview.
- daemon: Use an in-process transport instead of a separate
tunnel sidecar.
- daemon: Keep sessions alive when the daemon restarts.
- daemon: Add a single-instance lock, a status query and a
systemd user service.
- daemon: Serve multiple sessions over one endpoint with
per-session teardown.
- extensions: Add `Abort`, `IsIdle`, `Compact`, `SendMultimodalMessage`
and `GetSessionUsage` to the extension context.
- extensions: Add `GetSystemPrompt` and `GetTheme` to the
extension context.
- extensions: Add a GitHub handler extension and environment
variable access.
- extensions: Add `OnLLMUsage`, `SetState` and an enriched
`AgentEndEvent`.
- extensions: Add `OnMCPToolsReady` with a summary of the MCP
servers.
- extensions: Add custom widget rendering, widget slots and
custom header/footer regions.
- extensions: Add hooks for a presentation mode.
- extensions: Add hot-reload with file watching and a `/reload-ext`
command.
- extensions: Add terminal size, thinking level and turn state
APIs.
- extensions: Expand inline bash in the editor in interactive
mode.
- extensions: Expose `ToolOutputEvent`, model pricing and OAuth
status.
- extensions: Harden keyboard shortcut registration and dispatch.
- extensions: Load extensions from a system-wide directory.
- extensions: Show the agent name in subagent monitor panes.
- extensions: Add popup-terminal, subagent-monitor, subagent-widget,
go-edit-lint, kit-kit, kit-telegram, status-footer and other
example extensions.
- extensions: Add `OnContextPrepare` for context window filtering
and injection.
- extensions: Add `OnModelChange`, `ctx.Exit()` and `ctx.NewSession`.
- extensions: Add session before-hooks (`OnBeforeFork`,
`OnBeforeSessionSwitch`) and a compaction event (`OnBeforeCompact`).
- extensions: Add session management, persistence, editor text
and status bar APIs.
- extensions: Add an interactive prompt system (select, confirm,
input) and modal overlay dialogs.
- extensions: Add an editor interceptor system.
- extensions: Add custom tool rendering and custom message
rendering.
- extensions: Add theme registration and switching.
- extensions: Add keyboard shortcuts, tool context and a source
field for tool call events.
- extensions: Add tab completion for arguments of extension
slash commands.
- extensions: Add tool management, model management, options,
an event bus, LLM completion and steer mode.
- extensions: Add `UIVisibility` and `GetContextStats` APIs.
- extensions: Add rich tool metadata to extension events.
- extensions: Add real-time subagent event streaming.
- extensions: Add tree navigation, skills, templates and model
resolution.
- extensions: Add a testing package for extensions.
- extensions: Show a multi-select when a repository contains
multiple extensions.
- github: Make the GitHub integration work end-to-end.
- hooks: Expose the per-step tool choice in `OnPrepareStep`.
- hooks: Add a hooks system for lifecycle events with LLM
feedback capabilities.
- mcp: Add OAuth support for remote MCP servers.
- mcp: Load and unload MCP servers dynamically.
- mcp: Handle embedded resources in prompt messages.
- mcp: Support SSE servers and the Authorization header.
- mcp: Add a connection pool.
- models: Add an `apiModelName` field to the custom model
configuration.
- models: Add experimental mode controls.
- models: Add per-model generation parameter defaults and
per-model system prompts.
- models: Add catalog-driven reasoning levels, tiered pricing
and status.
- models: Support model-specific reasoning effort levels.
- models: Configure Bedrock and Vertex in Kit's own files.
- models: Send the `x-opencode-session` header to opencode
providers.
- models: Report and prevent silent max-tokens truncation.
- models: Add thinking model support with configurable reasoning
levels.
- models: Add OpenAI Responses API support for codex/gpt-5/o3/o4
models.
- models: Add Google Vertex AI support for Claude models.
- models: Add Google Gemini, Azure OpenAI and Vercel providers.
- models: Use models.dev as the model catalog and route
OpenAI-compatible providers automatically.
- models: Validate models in advisory mode.
- models: Change the model notation from `provider:model` to
`provider/model`.
- models: Update model aliases for Anthropic, OpenAI and Google
Gemini.
- models: Add frequency-penalty and presence-penalty parameters.
- models: Add automatic prompt caching to reduce cost.
- models: Persist the model selection and thinking level across
sessions.
- models: Disable tools for models that do not support them.
- models: Identify requests as coming from Kit.
- prompts: Add Pi-style prompt templates.
- prompts: Add the `$+` required variadic placeholder and skip
code in placeholders.
- prompts: Reload prompts, skills and extensions automatically
from the XDG configuration when files change.
- read: Return image files to the model as viewable images.
- sandbox: Provide an official Kit sandbox image.
- session: Add local and remote session management.
- session: Include the system prompt and model in shared sessions.
- session: Make compaction create a new leaf with no parent.
- session: Add session management (picker, history, `/name`,
`/export`, `/import`).
- session: Add saved sessions and make session storage durable
with atomic steps, locking and crash repair.
- session: Add the `/share` command and a session viewer.
- session: Remove empty sessions automatically on shutdown and
on `/resume`.
- session: Make `/new` create a new session file.
- shell: Add `!` and `!!` shell command prefixes with a spinner
and coloured streaming output.
- skills: Activate skills with `/<name>` and comply fully with
the agentskills.io specification.
- subagent: Add first-class, in-process subagents for task
delegation.
- subagent: Add `/kill-subagent` to stop running subagents.
- subagent: Link child sessions to the parent and support resume.
- subagent: Return an early error for an invalid model instead
of a silent fallback.
- subagent: Add native inspection of child conversations.
- subagent: Inherit tools from the parent and always add the
subagent tool.
- tools: Add multi-edit support to the edit tool.
- tools: Add an interactive sudo password prompt for the bash
tool.
- tools: Run tools in parallel with a multi-tool status display.
- tools: Add an option to require approval before tool execution.
- tools: Add built-in HTTP functionality.
- ui: Add `/copy`, `/edit` (with a fuzzy file picker), `/retry`,
`/undo`, `/history`, `/model` and `/theme` slash commands.
- ui: Add a theme system with 22 built-in themes and file-based
discovery, and persist the theme selection.
- ui: Derive syntax colours from the theme and repaint the
scrollback when the theme changes.
- ui: Add bordered containers to the session and tree selectors.
- ui: Add horizontal image tiles, half-block thumbnails and a
full image preview.
- ui: Draw image previews with the Kitty graphics protocol.
- ui: Truncate lines in the ls tool and the bash streaming
output.
- ui: Stream bash output in the TUI with a command header and
a capped height.
- ui: List all models in `/model` and disable the ones without
credentials.
- ui: Add a subagent status bar and run picker, and show subagents
with the same live view as the parent.
- ui: Show a clean summary for subagent results.
- ui: Animate the startup wordmark and replace the spinner with
a KITT-style scanning animation.
- ui: Autocomplete `/skill:<name>` slash commands.
- ui: Use `Ctrl+X s` for steering and `Ctrl+X e` to open the
external `$EDITOR`.
- ui: Add mid-turn steering.
- ui: Add message navigation and an inspector (`Ctrl+X m`).
- ui: Give live activity its own row and reduce surrounding
chrome.
- ui: Highlight `@file` tokens in user messages.
- ui: Add character-level mouse text selection and copy, keep
the selection after copy and set PRIMARY.
- ui: Add a graceful quit with `/quit` and double `Ctrl+C`.
- ui: Improve slash command popup contrast.
- ui: List loaded extensions in the startup banner.
- ui: Make `/fork` create a new session file.
- ui: Render session history on `/resume` and `/import`.
- ui: Populate the input instead of submitting prompts with
arguments automatically.
- ui: Support `/new <prompt>` for phase handoffs.
- ui: Warn when the provider reports no token usage.
- ui: Add `@file` autocomplete and smart attachments with MIME
detection and MCP resource support.
- ui: Add clipboard image paste (`Ctrl+V`) and copy and paste
support.
- ui: Add a full alt screen mode with in-memory scrollback.
- ui: Cancel tool calls with double `Esc`.
- ui: Add TUI suspend.
- ui: Add visual selection highlighting with theme colours.
- ui: Show the subagent type in the spinner.
- ui: Show the KIT logo above the startup information.
- ui: Add autocomplete.
* Bug Fixes
- acp: Follow the ACP v1 specification.
- acp: Use an empty list when the client omits MCP servers.
- acp: Keep configured thinking defaults for new sessions.
- acp: Remove the startup message from the stdio output.
- acp: Make extensions work in ACP mode.
- acp: Fix file attachments and thinking tag parsing, and prevent
double-sending of thinking content.
- agent: Improve streaming resilience and retry safely, including
overload errors and network errors.
- agent: Apply tool changes mid-turn at the next LLM step.
- agent: Make Anthropic prompt caching effective.
- agent: Recover when the provider rejects image tool results.
- agent: Track tool call arguments correctly for parallel calls.
- anthropic: Send the effort setting for effort-graded models.
- anthropic: Clear conflicting temperature and top_p settings
and limit cache_control blocks to four.
- app: Flush queued messages after `/compact` completes.
- app: Reset the layout after a widget is removed.
- app: Make `ctx.NewSession` wait until the agent is idle.
- app: Stop draining the queue when the application is closing.
- app: Fix deadlocks and multiple simultaneous requests.
- auth: Support OAuth credentials in ACP mode and refresh tokens
automatically.
- auth: Fix character encoding in the OAuth success page.
- compaction: Keep the API token baseline after compaction.
- core: Prevent bash output truncation and pipe stalls on
oversized lines.
- core: Return an error when the read tool is used on a directory.
- core: Prevent the bash tool from hanging on long-running or
background processes.
- core: Use bash as `SHELL` in command execution.
- core: Fix fuzzy match position mapping and diff generation
in the edit tool.
- daemon: Fix escape key handling, `Ctrl-V` and the detach chord
under the kitty keyboard protocol.
- daemon: Discover sockets across runtime environments.
- daemon: Give hosted sessions the full environment of the
caller.
- daemon: Return the terminal correctly, keep the alt screen
and clean up the client terminal after exit.
- daemon: Keep the session size and truecolor across attach,
and regrow a shared session when its smallest client leaves.
- daemon: Keep the connection alive across a session switch.
- daemon: Keep the pairing window alive after a failed attempt
and reject approvals after it expires.
- daemon: List remote sessions on attach and forward the client
terminal.
- daemon: Make attach and control requests cancellable.
- daemon: Refresh terminal capabilities and replay terminal
modes for clients that attach mid-session.
- daemon: Shut sessions down reliably across daemon restarts.
- daemon: Start new sessions on the connected host from the
picker.
- daemon: Tell the session which terminal multiplexer the client
runs in.
- daemon: Restore scrolling in reattached and busy sessions.
- extensions: Run a subagent spawn without blocking and return
a usable handle.
- extensions: Return the reason for blocked or disabled tools
to the LLM; a blocked tool call no longer ends the turn.
- extensions: Serialize handler calls per extension to prevent
data races.
- extensions: Skip test files and non-extension example
directories.
- extensions: Batch go-edit-lint per turn.
- extensions: Preserve the manifest `Include` on update.
- extensions: Use the immediate parent directory for `main.go`
extension names.
- kit: Keep runtime prompt changes across a model switch.
- kit: Enable streaming for subagents.
- mcp: Propagate the OAuth configuration for servers added at
runtime.
- mcp: Release connections when tool discovery fails.
- mcp: Report MCP tool failures as soft errors.
- mcp: Show human-readable text from MCP tool results instead
of raw JSON.
- mcp: Prevent a null `required` field in MCP tool schemas and
convert JSON Schema draft-07 bounds to draft-04.
- mcp: Fix the missing properties error for tools without input
parameters.
- models: Add gpt-5.4 reasoning level support.
- models: Route new OpenAI models, gpt-6+ models and opencode
gpt/grok models to the Responses API.
- models: Distinguish unpriced models from free ones.
- models: Prefer stored OpenAI OAuth credentials over API keys.
- models: Resolve provider-qualified catalog keys and route
auto-discovered providers by wire protocol.
- models: Fix thinking and prompt caching for Claude on Bedrock
and Vertex.
- models: Handle `<think>` tags from Qwen/DeepSeek models in
the stream.
- models: Fix custom provider model persistence and bare model
names.
- models: Fix OpenAI Codex endpoint, headers and model family
detection.
- models: Fix Ollama, OpenAI and Anthropic handling.
- models: Fix the missing system prompt when switching models
in interactive mode.
- models: Update token counting when switching models.
- session: Make session persistence robust with locking, atomic
writes and repair of torn lines.
- session: List sessions with very long lines.
- session: Order kept messages correctly after compaction.
- session: Prevent circular parent references in the session
tree.
- session: Fix `/tree` and `/fork` losing context.
- session: Keep completed messages and tool calls when cancelling
with `Esc`.
- skills: Keep file-backed activation up to date and support
empty activation and a workspace resource policy.
- skills: Activate saved runtime skills from an empty catalogue.
- startup: Open the model selector on provider errors.
- steer: Keep steering messages for the whole turn and include
pasted images.
- subagent: Show the resume session id in the tool result.
- subagent: Prevent duplicate MCP tool names and redundant
reloads.
- subagent: Detach the subagent context from the parent deadline
and prevent instant failures.
- subagent: Recover from bad model names and inherit the parent
provider for bare model names.
- ui: Fix token usage and cost tracking, including cache tokens,
multi-step turns and resets on `/new`.
- ui: Hide usage costs for subscription OAuth providers.
- ui: Align all transcript blocks on one left edge with a shared
geometry and full width.
- ui: Fix mouse selection drift and offsets.
- ui: Execute slash commands in the TUI instead of sending them
to the LLM.
- ui: Improve rendering of queued and steering messages.
- ui: Make `Ctrl+C` clear the input before quitting and require
a double `Ctrl+C` to quit.
- ui: Prevent duplicated responses and double-rendered messages.
- ui: Wrap assistant, user and reasoning messages to the terminal
width.
- ui: Resize the transcript when the composer grows and remove
input character limits.
- ui: Show MCP tools in `/tools` and the status bar after
asynchronous loading.
- ui: Show pasted image previews in the input and transcript.
- ui: Prevent diffs from overflowing narrow terminals.
- ui: Truncate long lines in tool output and shell command
output.
- ui: Refresh typography and spinner frames on theme change.
- ui: Keep uncredentialed models findable in the model selector.
- ui: Remove j/k navigation from fuzzy selectors.
- ui: Redirect log output to a file to prevent TUI corruption.
- ui: Make the TUI respond correctly to terminal resizing.
- ui: Render reasoning blocks when resuming sessions.
- ui: Freeze the reasoning duration counter correctly.
- ui: Derive diff and code background colours from the active
theme.
- ui: Fix autoscroll for streaming messages.
- ui: Keep the vim interceptor active so `Esc` returns to normal
mode.
- ui: Make `Esc` cancel the agent response.
- watcher: Watch new subdirectories for skill and prompt reload.
- Normalize the `.wav` MIME type to `audio/wav`.
- Prevent a crash when reading malformed properties.
* Other Changes
- models: Refresh the embedded model catalog.
- ui: Restyle thinking blocks and tool output.
- ui: Improve keybinding ergonomics for terminal multiplexers.
- ui: Render the session picker and all popups with a shared
popup list.
- ui: Composite overlays over the view instead of replacing it.
- ui: Show the full grep or ls result in the inspector.
- Add a message window to prevent overloading the context.
- Add usage statistics and handle overloaded errors.
- Add a clear error message for gpt-codex-spark models.
- Remove the single-edit mode from the edit tool.
- What was new in version 0.132.0
* Features
- acp:
- Added an ACP server mode.
- Added permissions, client file system and terminal access,
slash commands, plans and auth error reporting.
- Added the `session/set_model` method.
- agent:
- Streaming steps that fail with transient errors now resume.
- agents:
- Added named agent definitions with per-agent tool restrictions.
- app:
- Token counts and context fill now update after every step.
- auth:
- Kit now starts without API keys, and a `/connect` dialog
lets you enter a key.
- codemode:
- Added a code mode tool that runs JavaScript, which can call
other tools.
- compaction:
- Added adaptive budgets, full-part token estimation and
anchored summaries.
- On context overflow errors, Kit now compacts automatically
and retries.
- Improved compaction with split-turn handling, file tracking
and non-destructive persistence.
- Compaction summaries now stream.
- config:
- Added a `noOAuth` flag to skip OAuth on public MCP servers.
- Custom models can now have their own `baseUrl` and `apiKey`.
- Custom models can be defined in the config file.
- Bash tool timeouts can be set in `kit.yml`.
- MCP server configs now support `env`.
- Added system prompt support.
- daemon:
- Added a daemon mode with remote sessions over iroh.
- Added a single-instance lock, a status query and a systemd
user service.
- Sessions can be detached, reattached and shared by several
clients.
- Detachable sessions are now the default when a daemon runs.
- Added local sessions, a session multiplexer and a multi-host
hub.
- Added pairing-based remote access.
- Images can be pasted into remote sessions, and the image
preview is shown.
- The remote transport now runs in-process (go-iroh) and
replaces the separate tunnel sidecar.
- Sessions now survive a daemon restart, and the protocol
constant is stable.
- Several sessions can share one daemon endpoint and are torn
down one by one.
- extensions:
- Added `Abort`, `IsIdle`, `Compact`, `SendMultimodalMessage`
and `GetSessionUsage` to the extension context.
- Added `GetSystemPrompt` and `GetTheme` to the extension
context.
- Added a GitHub handler extension and access to environment
variables.
- Added `OnLLMUsage`, `SetState` and a richer `AgentEndEvent`.
- Added `OnMCPToolsReady`, which gives a summary of the MCP
servers.
- Added custom widget rendering and fixed UI fields that did
nothing.
- Added hot-reload with file watching and a `/reload-ext`
command.
- Added a popup-terminal example with a persistent shell.
- Added APIs for terminal size, thinking level and turn state.
- Inline bash in the editor is now expanded in interactive
mode.
- Exposed `ToolOutputEvent`, model pricing and OAuth status
to extensions.
- Made keyboard shortcut registration and dispatch more robust.
- Extensions can now load from a system-wide directory.
- Subagent monitor panes now show the agent name.
- Rebuilt the subagent-monitor example around `ShowOverlay`.
- Added custom header and footer regions, custom tool rendering
and widget slots for persistent TUI content.
- Added an editor interceptor system.
- Added an API to register and switch themes.
- Added an interactive prompt system (select, confirm, input)
and a modal overlay dialog system.
- Added keyboard shortcuts, tool context and a source field
on `ToolCallEvent`.
- Added the `OnContextPrepare` event to filter and inject
into the context window.
- Added an `OnEvent` callback and the `SubscribeSubagent` API
to stream subagent events.
- Added the `OnModelChange` event and `ctx.Exit()`.
- Added the `OnBeforeFork`, `OnBeforeSessionSwitch` and
`OnBeforeCompact` hooks.
- Added APIs for session management, persistence, editor text
and the status bar.
- Added the `UIVisibility` and `GetContextStats` APIs and
compact tool renderers.
- Added tab-completion for arguments of extension slash
commands.
- Added TUI suspend and custom message rendering.
- Added rich tool metadata to extension events.
- Added APIs for tool management, model management, options,
an event bus, LLM completion and steer mode, with 10 example
extensions.
- Added a testing package for extensions.
- Added these example extensions: go-edit-lint (diagnostics
shown in the TUI), kit-kit meta-agent, subagent monitor and
subagent widget.
- Added git-based distribution of extensions.
- github:
- GitHub integration now works end to end through a core
command and an action.
- hooks:
- The per-step `ToolChoice` is now available through
`OnPrepareStep`.
- Hooks can now give feedback to the LLM.
- mcp:
- Added OAuth support for remote MCP servers.
- MCP servers can now be loaded and unloaded at runtime.
- Embedded resources in prompt messages are now handled.
- models:
- Added the `apiModelName` field to the custom model config.
- Added experimental mode controls to the TUI.
- Added default generation parameters per model.
- Added a system prompt per model.
- Reasoning levels, tiered pricing and status now come from
the model catalog.
- Models can have their own reasoning effort levels.
- Opencode providers now receive the `x-opencode-session`
header.
- Silent truncation at the max-token limit is now reported
and prevented.
- Added thinking model support with configurable reasoning
levels.
- Added the frequency-penalty and presence-penalty parameters.
- Added OpenAI Responses API support for codex, gpt-5, o3 and
o4 models.
- Added Google Vertex AI support for Claude models.
- Updated model aliases for Anthropic, OpenAI and Google
Gemini.
- Model notation changed from `provider:model` to `provider/model`.
- The model catalog now comes from models.dev, and OpenAI-compatible
providers are routed automatically.
- Added advisory model validation and the Vercel provider.
- The model selection and thinking level are now kept across
sessions.
- prompts:
- Added the `$+` required variadic placeholder, and code is
no longer scanned for placeholders.
- Prompts and extensions in the XDG config directory now
reload automatically.
- Added Pi-style prompt templates.
- Custom prompts and skills reload when their files change.
- read:
- Image files are now returned to the model as images it can
view.
- session:
- Added local and remote session management.
- Shared sessions now include the system prompt and the model.
- Compaction now creates a new leaf with no parent.
- Added a session picker, history, and the `/name`, `/export`
and `/import` commands.
- Added a `/share` command and a session viewer.
- Empty sessions are removed automatically on shutdown and
on `/resume`.
- `/new` and `/fork` now create a new session file.
- shell:
- Bang commands now stream coloured output.
- Added the `!` and `!!` shell command prefixes.
- A spinner is shown while shell commands run.
- skills:
- Skills can be activated with `/<name>`.
- Skills now fully comply with the agentskills.io spec.
- subagent:
- Added `/kill-subagent` to stop running subagents.
- Child sessions are linked to their parent and can be resumed.
- An invalid model now gives an early error instead of a
silent fallback.
- Child conversations can be inspected natively.
- Added first-class subagent support for task delegation.
- Subagents now run in-process instead of as subprocesses.
- ui:
- Added the `/copy`, `/edit` (with a fuzzy file picker),
`/retry` and `/undo` slash commands.
- Added a `/model` command with a fuzzy-finding selector,
shown as an overlay; it lists all models and disables the
ones without credentials.
- Added a `/theme` command with 22 built-in themes and themes
loaded from files; the theme choice is kept across sessions.
- Added a KITT-inspired theme system with unified markdown
colours.
- Session and tree selectors now have a bordered container
and better styling.
- Added horizontal image tiles, a full image preview modal
and half-block thumbnails for attached images.
- Image previews now use the Kitty graphics protocol, also
in the transcript.
- Long lines are truncated in Ls tool output and in streaming
bash output.
- Added a subagent status bar and a run picker; the spinner
shows the subagent type.
- The startup wordmark is animated, and the startup banner
lists loaded extensions.
- `/skill:<name>` slash commands are autocompleted.
- The steer keybinding is now the `Ctrl+X s` chord, and `Ctrl+X
e` opens the external `$EDITOR`.
- Syntax colours now come from the theme, and palette collisions
are fixed.
- Live activity has its own row, and the surrounding UI is
quieter.
- `@file` tokens in user messages are shown in the accent
colour.
- Added character-level mouse text selection and copy; the
selection stays after a copy, and PRIMARY is set.
- Added a graceful quit through `/quit` and `Ctrl+C`.
- The slash command popup has better contrast.
- Unified the gutter style, made tool receipts quieter and
made the splash screen scale.
- Polished the message navigation inspector and fixed the
markdown theme.
- Prompts with arguments now fill the input instead of being
submitted automatically.
- Session history is shown on `/resume` and `/import`.
- Scrollback is repainted when the theme changes.
- Terminal capabilities are detected lazily and for each
client.
- Subagent results show a clean summary instead of raw output.
- Bash output streams in the TUI with a command header and a
capped height.
- Added `/new <prompt>` and `ctx.NewSession` for handing off
between phases.
- A warning is shown when the provider reports no token usage.
- Replaced the spinner with a KITT-style red scanning animation.
- Added a full alt screen mode with in-memory scrollback.
- Added `@file` autocomplete and context attachment, including
smart attachments with MIME detection and MCP resources.
- Added image paste from the clipboard (`Ctrl+V`) and crush-style
copy and paste.
- Added visual selection highlighting in theme colours.
- Parallel tool calls now run together, with a status display
for several tools.
- Tool calls can be cancelled with double-ESC.
- Added an interactive sudo password prompt for the bash tool.
- Added multi-edit support to the edit tool.
- Added automatic prompt caching to reduce cost.
- Token usage now updates after each step in multi-step turns.
- Requests now identify themselves as KIT.
* Bug Fixes
- acp:
- Fixed file paths and plan replay.
- `mcpServers` defaults to an empty array for clients that
omit it.
- The ACP server now follows the ACP v1 spec.
- Removed the startup message from stdio output.
- Extensions now work in ACP mode.
- agent:
- Network retries are now more robust.
- Added and removed tools take effect mid-turn at the next
LLM step.
- Made streaming more resilient and retries safer.
- Anthropic prompt caching now works.
- Kit recovers when the provider rejects image tool results.
- Overload errors are now retried even without a transient
flag.
- Tool call arguments of parallel calls are now tracked
separately.
- anthropic:
- `output_config.effort` is now sent for effort-graded models.
- Conflicting temperature and top_p settings are cleared.
- Fixed `cache_control` handling so no more than 4 blocks are
sent.
- app:
- The layout now resets after a widget is removed.
- Queued messages are sent after `/compact` completes.
- `ctx.NewSession` waits until the agent is idle.
- The queue stops draining when the app is closing.
- auth:
- Fixed handling of provider keys.
- OAuth credentials now work in ACP mode, and tokens refresh
automatically.
- compaction:
- Fixed overflow recovery.
- The API token baseline is kept after compaction.
- core:
- Bash streaming no longer stops on oversized lines, and
output is no longer cut off.
- The read tool now returns an error when used on a directory.
- The bash tool no longer hangs on long-running or background
processes.
- The SHELL environment variable is set to bash for command
execution.
- daemon:
- Fixed the pairing model, cancellation handling, remote image
paste and remote sessions.
- A lone Escape is delivered on idle time without waiting for
more input.
- Sockets are found in all runtime environments.
- Hosted sessions get the caller's full environment.
- The terminal is handed back correctly, and the alt screen
is kept.
- Made escape-sequence handling more robust.
- `Ctrl-V` and the detach chord now work with the kitty
keyboard protocol.
- Choices on the same daemon stay local.
- Session size and truecolor are kept across attach.
- The connection stays alive across a session switch.
- The pairing window stays open after a failed attempt, and
approvals queued after it expires are rejected.
- Remote sessions are listed on attach, and the client terminal
is forwarded.
- Client control requests and attach can be cancelled.
- Clipboard images are published next to their destination.
- Live sessions refresh terminal capabilities.
- A shared session grows again when its smallest client leaves.
- Terminal modes are replayed to clients that attach mid-session.
- Sessions whose client never learned the session ID are
retired.
- Sessions shut down predictably across daemon restarts.
- New sessions started from the picker run on the connected
host.
- The session is told which terminal multiplexer the client
runs in.
- Stdin is unblocked after a picker closes.
- The client terminal is cleaned up after a remote session
exits.
- Scrolling works again in reattached and busy sessions.
- extensions:
- Subagent errors are kept, and `OnComplete` fires when there
is no subagent result.
- Fixed the system extension directories.
- go-edit-lint now runs once per turn.
- Subagents can be spawned without blocking, and the returned
handle is usable.
- Fixed extension state on hot-reload.
- The LLM now sees the reason when a tool is blocked or
disabled.
- Handler calls are serialized per extension to prevent data
races.
- `_test.go` files and examples subdirectories that are not
extensions are skipped.
- Logging respects log levels.
- The manifest `Include` is kept on update.
- Extension names for `main.go` come from the immediate parent
directory.
- kit:
- Fixed bare mode.
- Subagents now stream.
- Runtime prompt changes are kept across a model switch.
- The system-prompt file path is now resolved correctly.
- mcp:
- Runtime-added servers now get their OAuth config.
- Connections are released when tool discovery fails.
- MCP tool failures are now soft errors instead of critical
aborts.
- Task options are validated and passed on to subagents.
- MCP tool results now show readable text instead of raw JSON.
- A null `required` field in MCP tool schemas no longer breaks
the OpenAI API.
- JSON Schema draft-07 exclusive bounds are converted to
draft-04 format.
- media:
- Reading images is now safer.
- `.wav` files get the MIME type `audio/wav`.
- models:
- Added reasoning level support for gpt-5.4, with automatic
adjustment.
- New OpenAI models are routed to the Responses API automatically,
including gpt-6 and later.
- Unpriced models are now shown differently from free ones.
- A stored OpenAI OAuth login is preferred over API keys.
- Provider-qualified catalog keys are resolved.
- Auto-discovered providers are routed by wire protocol.
- Opencode models (including gpt-* and grok-*) are routed
through the correct API.
- `<think>` tags in the stream are handled, including those
from Qwen and DeepSeek models.
- Fixed model persistence for custom providers and bare model
names.
- session:
- Session storage is more durable: locking, all-or-nothing
appends, crash and torn-line repair, and safe header rewrites.
- Sessions with lines longer than 1 MiB are now listed.
- Tree diagnostics are logged at debug level.
- Kept messages come before the post-compaction branch.
- Circular parent references in tree sessions are prevented.
- `/tree` and `/fork` no longer lose context.
- shell:
- Fixed the colour of bang-command output.
- Shell command output is truncated with the same limits as
the core bash tool.
- skills:
- File-backed skill activation stays current.
- Empty activation and the workspace resource policy are
supported.
- Skill name collisions are logged to the log file at info
level.
- Saved runtime skills can be activated from an empty catalogue.
- startup:
- The model selector opens when the provider reports errors.
- steer:
- Steering messages are kept for the whole turn and never
dropped.
- Pasted images are included in steering messages.
- Steering messages are shown at once when consumed mid-turn.
- subagent:
- The ID needed to resume a session is shown in the tool
result text.
- Duplicate MCP tool names and repeated reloads are prevented.
- Subagents no longer fail at once when the parent context
has already ended.
- Removed a biased model example from the tool schema.
- Subagent contexts no longer inherit the parent's deadline.
- Bad model names are handled gracefully, and bare model names
use the parent's provider.
- Subagent events are no longer emitted twice on the parent
event bus.
- ui:
- Token usage is now added up across all steps in a turn,
including cache tokens.
- Fixed token and cost double-counting, and fixed counting
after a model switch and after `/new`.
- Usage costs are hidden for all subscription OAuth providers.
- Fixed the layout, alignment, padding and background fill
of messages, queued messages and tool blocks.
- Assistant, user, reasoning and tool messages wrap or truncate
to the terminal width.
- Fixed mouse selection offsets and drift.
- Fixed graphics capability detection and image preview
redraws.
- Slash commands now run in the TUI instead of being sent to
the LLM.
- Messages are no longer rendered twice after reasoning-only
responses or interrupted turns.
- `Ctrl+C` clears the input first, and quitting needs a double
`Ctrl+C`.
- Auto-scroll is turned back on when a new message is submitted.
- The spinner and markdown typography now follow theme changes.
- Fixed a queue deadlock.
- MCP tools now show up in `/tools` and the status bar after
they load.
- Pasted images are previewed in the input and the transcript.
- Text inputs no longer have a character limit, and the
transcript resizes as the composer grows.
- Removed j/k navigation from fuzzy selectors.
- Confirmations are no longer shown twice.
- Diffs no longer overflow narrow terminals.
- Tool error output is shown in a caution block.
- Log output goes to a file so it does not corrupt the TUI.
- The TUI now adjusts to any terminal size.
- Diff and code background colours come from the active theme.
- Reasoning blocks are shown when resuming a session, and the
reasoning timer stops when reasoning ends.
- The slash command popup is centred and no longer overflows
at the bottom.
- Removed the line-number gutter from ls output.
- The vim interceptor stays active so Esc returns to normal
mode.
- Fixed spinner animation speed and escape sequence leaks.
- watcher:
- New subdirectories are watched for skill and prompt reloads.
- Removed debug logging that corrupted the TUI.
- ESC now really cancels the agent response, and completed
messages and tool calls are kept.
- Fixed fuzzy match positions and diff generation in the edit
tool.
- Fixed a crash when sending tool results with Anthropic and
Google.
- Malformed properties no longer cause a panic.
- Before-hook callbacks no longer deadlock the TUI.
- Health check logging only goes to debug output.
* Other Changes
- acp:
- Added thinking tag parsing.
- Fixed file attachment support.
- Thinking content is no longer sent twice.
- extensions:
- Extensions can now use tree navigation, skills, templates
and model resolution.
- Added a kit-telegram example extension.
- models:
- Added the Azure OpenAI and Google Gemini providers.
- Added OpenAI ChatGPT/Codex OAuth authentication, Claude Max
support and Copilot login.
- Fixed the OpenAI Codex endpoint, headers and model family
detection, and `max_output_tokens` is skipped for the Codex
OAuth provider.
- gpt-codex-spark models now give a clear error message.
- Providers now declare their wire protocol explicitly.
- Tools are disabled for models that do not support them.
- Improved Ollama and GPU handling.
- Integer and number types are supported in the Google type
converter.
- The embedded model catalog was refreshed from models.dev.
- mcp:
- Added SSE server support with Authorization headers.
- Added a connection pool.
- Added builtin HTTP functionality.
- Tool arguments that are empty or malformed are now cleaned
up.
- Fixed tools that have no input parameters.
- Images returned by tools are supported.
- ui:
- Added the `/history` command.
- Added message navigation and an inspector (`Ctrl+X m`) that
shows full tool arguments and complete grep and ls results.
- Added mid-turn steering.
- Added the KIT logo and startup info, with a separator, in
the scrollback.
- Overlays are now drawn over the view instead of replacing
it.
- Added compact mode, smoother rendering, streaming output
and autocomplete.
- Fixed autoscroll for streaming messages and scrolling past
the end of content.
- Increased the maximum prompt input length.
- Added theme configuration.
- Added a hooks system for lifecycle events.
- Added an option to require approval before a tool runs.
- Core tools can be disabled in the config.
- Added YAML config files and environment variable substitution.
- Added saved sessions, and session storage now uses atomic
steps, locking and crash repair.
- Added a message window so the context does not overload.
- Added scripting support.
- The subagent tool is always available, and subagents inherit
the parent's tools.
- Added usage statistics and handling of overloaded errors.
- Fixed deadlocks, simultaneous requests, message batching,
saving after cancellation, and the system prompt being lost
on a model switch.
- What was new in version 0.131.1
* Features
- acp:
- Added permissions, client file system and terminal access,
slash commands, plans and authentication error reporting.
- Added support for the session/set_model method.
- Added ACP server mode (`kit acp`).
- Added parsing of thinking tags.
- agent:
- Streaming steps that fail after transient errors are now
resumed.
- agents:
- Added named agent definitions, with tool restrictions for
each agent.
- app:
- Token counts and context fill are updated after every step.
- auth:
- Kit now starts without API keys, and a new `/connect` dialog
lets you enter keys.
- Added OpenAI ChatGPT/Codex OAuth authentication alongside
Anthropic authentication.
- Added GitHub Copilot login.
- codemode:
- Added a code mode tool that runs JavaScript, which can call
other tools.
- compaction:
- Added adaptive budgets, token estimation over all message
parts, and anchored summaries.
- Context is compacted automatically and the request retried
when the context overflows.
- Improved compaction with split-turn handling, file tracking
and non-destructive persistence.
- Compaction summaries are now streamed.
- Added compact mode.
- config:
- Added a `noOAuth` flag to skip OAuth on public MCP servers.
- Custom models can have their own `baseUrl` and `apiKey`.
- Custom models can be defined in the config file.
- Bash tool timeouts can be set in `kit.yml`.
- Added environment variable substitution in the configuration.
- Added `env` support in the MCP configuration.
- YAML configuration files are now accepted.
- Added theme configuration.
- Core tools can be disabled.
- daemon:
- Added daemon mode with remote sessions over iroh (`kit
daemon`, `kit --remote`).
- Added detach, reattach and shared sessions with more than
one client.
- Added local sessions, a session multiplexer and a hub for
multiple hosts.
- Detachable sessions are the default when a daemon runs.
- Added pairing-based remote access.
- Images can be pasted into remote sessions, and a preview
is shown.
- The remote transport now runs in-process and no longer needs
a separate sidecar.
- Sessions now survive daemon restarts.
- Only one daemon instance can run, `kit daemon status` was
added, and a systemd user service is provided.
- One endpoint can serve more than one session, and each
session is shut down on its own.
- extensions:
- Added Abort, IsIdle, Compact, SendMultimodalMessage and
GetSessionUsage to the extension context.
- Added a GitHub handler extension and access to environment
variables.
- Added OnLLMUsage and SetState, and AgentEndEvent now carries
more data.
- Added `ctx.GetTheme()` to read the active theme.
- Added custom widget rendering.
- Added hot-reload with file watching and the `/reload-ext`
command.
- Added a popup-terminal example with a persistent shell.
- Added APIs for terminal size, thinking level and turn state.
- Inline bash in the editor is expanded in interactive mode.
- Exposed ToolOutputEvent, model pricing and OAuth status to
extensions.
- Keyboard shortcut registration and dispatch are more robust.
- Extensions can be loaded from a system-wide directory.
- The subagent monitor shows the agent name in its panes, and
the subagent-monitor example now uses ShowOverlay.
- Added `kit install` to distribute extensions from git
repositories.
- Added custom header and footer regions, custom tool rendering,
editor interceptors, widget slots and modal overlay dialogs.
- Added interactive prompts (select, confirm, input).
- Added APIs for theme registration and switching.
- Added APIs for session management, persistence, editor text
and the status bar.
- Added tool management, model management, options, an event
bus, LLM completion, steer mode and 10 example extensions.
- Added keyboard shortcuts, tool context and a source field
in ToolCallEvent.
- Added the OnContextPrepare, OnModelChange, OnBeforeFork,
OnBeforeSessionSwitch and OnBeforeCompact events, and
`ctx.Exit()`.
- Added an OnEvent callback and a SubscribeSubagent API to
stream subagent events.
- Added UIVisibility and GetContextStats APIs, and compact
tool renderers.
- Added rich tool metadata to extension events.
- Added tab completion of arguments for extension slash
commands.
- Added TUI suspend and custom message rendering.
- Added a testing package for extensions.
- Added the go-edit-lint, kit-kit, kit-telegram, subagent-widget
and subagent monitoring example extensions.
- Tree navigation, skills, templates and model resolution are
now available to extensions.
- `ctx.NewSession` supports phase handoffs.
- github:
- The GitHub integration now works end-to-end with a core
command and an action.
- hooks:
- The tool choice for each step is exposed through OnPrepareStep.
- Added a hooks system for lifecycle events.
- Hooks can give feedback to the LLM.
- mcp:
- Added OAuth support for remote MCP servers.
- MCP servers can be loaded and unloaded at runtime.
- Embedded resources in prompt messages are handled.
- Added support for remote SSE servers and the Authorization
header.
- Added a connection pool.
- Added built-in HTTP functionality.
- models:
- Added the `apiModelName` field to custom model configuration.
- Added experimental mode controls to the TUI.
- Added default generation parameters for each model.
- Added a system prompt for each model.
- Reasoning levels, tiered pricing and model status now come
from the model catalog.
- Default URLs are resolved for all registered providers.
- The x-opencode-session header is sent to opencode providers.
- Silent truncation at the maximum token limit is now reported
and prevented.
- Updated model aliases for Anthropic, OpenAI and Google
Gemini.
- Added OpenAI Responses API support for codex, gpt-5, o3 and
o4 models.
- Added Google Vertex AI support for Claude models.
- Added Google Gemini and Azure OpenAI providers.
- Added advisory model validation and the Vercel provider.
- The model catalog now comes from models.dev, and OpenAI-compatible
providers are routed automatically.
- Model notation changed from `provider:model` to `provider/model`.
- Added thinking models with configurable reasoning levels.
- Added frequency-penalty and presence-penalty parameters.
- Prompts are cached automatically to reduce cost.
- Tools are disabled for models that do not support them.
- Requests now identify themselves as KIT.
- prompts:
- Added the `$+` required variadic placeholder, and code is
skipped when placeholders are expanded.
- Prompts and extensions in the XDG config directory are
reloaded automatically.
- Added Pi-style prompt templates.
- Custom prompts and skills are reloaded automatically when
their files change.
- read:
- Image files are returned to the model as images it can view.
- session:
- Added local and remote session management.
- Shared sessions include the system prompt and the model.
- Compaction creates a new leaf with no parent.
- Added a session picker, history, `/name`, `/export` and
`/import`.
- Added the `/share` command and a session viewer.
- Empty sessions are removed on shutdown and on `/resume`.
- The model selection, thinking level and theme are kept
across sessions.
- Sessions are saved.
- Default session storage is durable, with atomic steps,
locking and crash repair.
- shell:
- Bang commands stream coloured output.
- Added the `!` and `!!` shell command prefixes.
- A spinner is shown while shell commands run.
- Added an interactive sudo password prompt for the bash tool.
- skills:
- Skills can be activated with `/<name>`.
- Skills fully comply with the agentskills.io specification.
- subagent:
- Added first-class subagents for task delegation, which now
run in-process.
- Added `/kill-subagent` to stop running subagents.
- Child sessions are linked to their parent and can be resumed.
- An invalid model now gives an error instead of a silent
fallback.
- Added inspection of child conversations.
- The subagent tool is always available, and subagents inherit
tools from their parent.
- ui:
- Added the `/copy`, `/edit` (with fuzzy file picker), `/retry`,
`/undo`, `/history`, `/model` and `/theme` (22 built-in
themes) commands.
- Session and tree selectors now have a bordered container
and better styling.
- Added horizontal image tiles, a full image preview modal
and half-block thumbnails for attached images.
- Image previews are drawn with the Kitty graphics protocol.
- The output of the Ls tool and of streaming bash is truncated
by lines.
- Added a reusable popup list, and `/model` is shown as an
overlay.
- Added a subagent status bar and run picker, and the subagent
type is shown in the spinner.
- The startup wordmark is animated, and the spinner was
replaced with a KITT-style scanning animation.
- Added autocompletion for `/skill:<name>` commands.
- The steer keybinding is now the Ctrl+X s chord, and Ctrl+X
e opens the external `$EDITOR`.
- Syntax colours are derived from the theme.
- Live activity has its own row.
- `@file` tokens in user messages are highlighted.
- Added mouse text selection by character, and copy.
- Added `/quit` and graceful quit with Ctrl+C.
- The slash command popup has better contrast.
- `/model` lists all models and disables those without
credentials.
- The startup banner lists loaded extensions and shows the
KIT logo.
- `/fork` and `/new` create new session files, and `/new
<prompt>` is supported.
- Gutters are consistent, tool receipts are quieter and the
splash screen scales.
- The message navigation inspector is improved.
- Prompts with arguments now fill the input instead of being
sent at once.
- Session history is shown on `/resume` and `/import`.
- Scrollback is repainted when the theme changes.
- Terminal capabilities are resolved lazily, for each client.
- Subagent results are shown as a clean summary.
- Bash output is streamed, with a command header and a height
limit.
- A warning is shown when the provider reports no token usage.
- Added a KITT-inspired theme system with consistent markdown
colours.
- Added `@file` autocompletion and attachments, with MIME
detection and MCP resource support.
- Added clipboard image paste (Ctrl+V) and copy and paste.
- Added visual selection highlighting with theme colours.
- Added full alt screen mode with in-memory scrollback.
- Tool calls can be cancelled with a double Esc.
- Tools run in parallel, with a status display for multiple
tools.
- Added message navigation and an inspector (Ctrl+X m), which
shows full tool arguments and complete grep and ls results.
- Added mid-turn steering.
- Added an option to require approval before a tool runs.
- Added usage statistics.
- Added a message window to prevent context overload.
- Overlays are drawn over the view instead of replacing it.
- Keybindings work better in terminal multiplexers.
- Markdown rendering now uses herald-md.
- Other:
- The read tool supports multiple edits in the edit tool.
- Token usage is updated after each step in turns with multiple
steps.
- Added support for a system prompt.
- Added the `--no-exit` option and scripting support.
- Added non-interactive mode.
* Bug Fixes
- acp:
- The ACP server now follows the ACP v1 specification.
- `mcpServers` defaults to an empty array for clients that
do not send it.
- The startup message is no longer written to stdio output.
- Extensions now work in ACP mode.
- File paths, plan replay, file attachments and thinking tag
parsing are fixed, and thinking content is no longer sent
twice.
- agent:
- Streaming is more resilient, and retries are safe.
- Anthropic prompt caching is now effective.
- Kit recovers when the provider rejects image tool results.
- Overload errors are retried.
- Tool changes made during a turn are used at the next LLM
step.
- Tool call arguments are tracked correctly for parallel
calls.
- anthropic:
- `output_config.effort` is sent for effort-graded models.
- Conflicting temperature and top_p values are cleared, and
cache_control blocks are limited to 4.
- app:
- The layout is reset after a widget is removed.
- Queued messages are sent after `/compact` completes.
- `ctx.NewSession` waits until the agent is idle.
- auth:
- OAuth credentials work in ACP mode, and tokens are refreshed
automatically.
- compaction:
- The API token baseline is kept after compaction.
- core:
- Bash streaming no longer stops on very long lines or truncates
output.
- The read tool returns an error when used on a directory.
- The bash tool no longer hangs on long-running or background
processes.
- SHELL is set to bash when commands run.
- daemon:
- Sockets are found across runtime environments.
- Hosted sessions get the full environment of the caller.
- The terminal is handed back correctly, and the alt screen
is kept.
- Escape handling, Ctrl-V under the kitty keyboard protocol
and the detach chord work correctly.
- Session size, truecolor and terminal modes are kept across
attach.
- The connection stays alive across a session switch.
- The pairing window stays open after a failed attempt, and
approvals after it expires are rejected.
- Remote sessions are listed on attach, and the client terminal
is forwarded.
- A shared session grows again when its smallest client leaves.
- Terminal capabilities are refreshed in live sessions.
- New sessions from the picker start on the connected host.
- Sessions are told which multiplexer the client runs in.
- Stdin is no longer blocked after a picker closes.
- The client terminal is cleaned after a remote session exits,
and scrolling works in reattached sessions.
- extensions:
- Subagents can be started without blocking, with a usable
handle.
- Blocked or disabled tools return their reason to the LLM.
- Handler calls are serialized for each extension to prevent
data races.
- Test files and non-extension example directories are skipped.
- Logging respects log levels.
- The manifest Include field is kept on update.
- Extension names come from the immediate parent directory
of `main.go`.
- mcp:
- OAuth configuration is used for servers added at runtime.
- Connections are released when tool discovery fails.
- MCP tool failures are soft errors and no longer abort the
turn.
- Human-readable text is shown for MCP tool results instead
of raw JSON.
- A null `required` field in tool schemas no longer breaks
the OpenAI API.
- JSON Schema draft-07 exclusive bounds are converted to
draft-04.
- Tools without input parameters no longer cause a schema
error.
- models:
- Added gpt-5.4 reasoning levels with automatic adjustment.
- New OpenAI models, gpt-6 and later, and opencode gpt-* and
grok-* models are routed to the Responses API.
- Unpriced models are distinguished from free ones.
- Stored OpenAI OAuth credentials are preferred over API keys.
- Provider-qualified catalog keys are resolved.
- Auto-discovered providers are routed by wire protocol.
- `<think>` tags from Qwen and DeepSeek models are handled.
- Custom provider models and bare model names are persisted
correctly.
- Ollama, OpenAI Codex and the system prompt after a model
switch are fixed.
- sdk:
- A blocked tool call no longer ends the turn.
- session:
- Session file locking and repair are more robust.
- Sessions with lines longer than 1 MiB are listed.
- Circular parent references are prevented.
- Messages are ordered correctly after compaction.
- `/tree` and `/fork` no longer lose context.
- skills:
- File-backed activations stay current.
- Empty activation and a workspace resource policy are
supported.
- Saved runtime skills are activated from an empty catalogue.
- startup:
- The model selector opens on provider errors.
- steer:
- Steering messages are kept for the whole turn, include
pasted images and are shown at once.
- subagent:
- The resume session ID is shown in the tool result.
- Duplicate MCP tool names and redundant reloads are prevented.
- Subagents no longer fail at once because of dead parent
contexts or the parent deadline.
- Bad model names are recovered from, and bare model names
inherit the parent provider.
- Subagents stream their output.
- tui:
- Log output goes to a file to prevent TUI corruption.
- ui:
- Token usage and context tracking are accurate, including
cache tokens, steps in a turn and model switches.
- `/new` resets usage, and costs are hidden for subscription
OAuth providers.
- Message blocks are aligned, full width and wrapped to the
terminal width.
- Mouse selection no longer drifts.
- Slash commands run in the TUI instead of being sent to the
LLM.
- Uncredentialed models can still be found in the model
selector.
- Ctrl+C clears the input first, and a double Ctrl+C is needed
to quit.
- Double-rendered and duplicated responses are fixed.
- Queued messages are shown as styled blocks with a QUEUED
badge.
- The transcript resizes when the composer grows, and input
is no longer limited.
- MCP tools are shown in `/tools` and the status bar after
loading.
- Pasted image previews are shown in the input and the
transcript.
- Diffs no longer overflow narrow terminals.
- Long lines in tool output are truncated.
- The spinner, headings and colours follow theme changes.
- Reasoning blocks are shown when sessions are resumed.
- The TUI responds to terminal resizing at any size.
- Esc cancels the agent response and keeps completed messages
and tool calls.
- The fuzzy match position and diff in the edit tool are
correct.
- The vim interceptor stays active so Esc returns to normal
mode.
- watcher:
- New subdirectories are watched for skill and prompt reload.
- What was new in version 0.131.0
* Features
- acp:
- Permissions, client file system and terminal access, slash
commands, plans and authentication error reporting.
- New ACP server mode (`kit acp`).
- Thinking tag parsing for ACP.
- acpserver:
- Support for the `session/set_model` ACP method.
- agent:
- Failed streaming steps resume after transient errors.
- agents:
- Named agent definitions with per-agent tool restrictions.
- app:
- Token counts and context fill update after every step.
- auth:
- Kit starts without API keys, and a `/connect` dialog lets
you enter keys.
- OpenAI ChatGPT/Codex OAuth authentication alongside Anthropic
authentication.
- GitHub Copilot login.
- Claude Max subscription support.
- codemode:
- New code mode tool that runs JavaScript which can call other
tools.
- compaction:
- Adaptive budgets, full-part token estimation and anchored
summaries.
- Automatic compaction and retry on context overflow errors.
- Better compaction with split-turn handling, file tracking
and non-destructive persistence.
- Compaction summaries stream.
- New compact mode.
- config:
- New `noOAuth` flag to skip OAuth on public MCP servers.
- Per-model `baseUrl` and `apiKey` for custom models.
- Custom models can be defined in the config file.
- Environment variables are supported in the MCP config, and
environment variables are substituted in the config file.
- YAML configuration files are supported.
- Core tools can be disabled.
- Bash tool timeouts can be set in `kit.yml`.
- Theme can be set in the configuration.
- daemon:
- Daemon mode with remote iroh sessions.
- Detach, reattach and shared multi-client sessions.
- Local sessions, a session multiplexer and a multi-host hub.
- Detachable sessions are the default when a daemon runs.
- Pairing-based remote access.
- Image paste over remote sessions, with an image preview.
- The Rust kit-tunnel sidecar is replaced with an in-process
transport.
- Sessions survive daemon restarts.
- Multiple sessions run over one endpoint, with per-session
teardown.
- Single-instance lock, a daemon status command and a systemd
user service.
- examples:
- The subagent-monitor extension example now uses overlays.
- extensions:
- New Context functions to abort, check if the agent is idle,
compact, send multimodal messages and get session usage.
- GitHub handler extension and access to environment variables.
- New `OnLLMUsage` and `SetState` APIs, and a richer
`AgentEndEvent`.
- `ctx.GetTheme()` reads the active theme.
- Custom widget rendering, widget slots for persistent TUI
content and custom header/footer regions.
- Hot-reload with file watching and a `/reload-ext` command.
- Popup-terminal example with a persistent shell.
- APIs for terminal size, thinking level and turn state.
- Inline bash in the editor expands in interactive mode.
- `ToolOutputEvent`, model pricing and OAuth status are
available to extensions.
- Keyboard shortcut registration and dispatch are more robust.
- Extensions can load from a system-wide directory.
- Subagent monitor panes show the agent name.
- Git-based extension installation (`kit install`).
- Custom tool rendering, an editor interceptor system, a modal
overlay dialog system and interactive prompts (select,
confirm, input).
- APIs to register and switch themes.
- Extension testing package.
- Session management, persistence, editor text and status bar
APIs.
- Tool management, model management, options, event bus, LLM
completion and steer mode, with 10 example extensions.
- New events: `OnContextPrepare` (filter and inject context),
`OnModelChange`, `OnBeforeFork`, `OnBeforeSessionSwitch`
and `OnBeforeCompact`, plus `ctx.Exit()`.
- Real-time subagent event streaming (`OnEvent`, `SubscribeSubagent`).
- `UIVisibility` and `GetContextStats` APIs, and compact tool
renderers.
- Tab completion for arguments of extension slash commands.
- Keyboard shortcuts, tool context and a source field in
`ToolCallEvent`.
- Rich tool metadata in extension events.
- TUI suspend and custom message rendering.
- Tree navigation, skills, templates and model resolution are
available to extensions.
- New example extensions: go-edit-lint with TUI diagnostics,
kit-kit meta-agent, subagent monitoring with a horizontal
widget layout, subagent-widget and kit-telegram.
- github:
- GitHub integration works end-to-end through a core command
and a GitHub Action.
- hooks:
- `OnPrepareStep` gives per-step `ToolChoice`.
- Hooks can give feedback to the LLM.
- New hooks system for lifecycle events.
- mcp:
- OAuth for remote MCP servers.
- MCP servers can load and unload at runtime.
- Embedded resources in prompt messages are handled.
- Remote SSE MCP servers, with Authorization header support.
- Connection pool for MCP servers.
- Built-in HTTP functionality.
- models:
- New `apiModelName` field in the custom model config.
- Experimental mode controls in the TUI.
- Per-model defaults for generation parameters.
- Per-model system prompts.
- Reasoning levels, tiered pricing and model status come from
the model catalog.
- Default URLs for all registered providers.
- The `x-opencode-session` header is sent to opencode providers.
- Silent max-tokens truncation is shown and prevented.
- Model aliases updated for Anthropic, OpenAI and Google
Gemini.
- The model catalog now comes from models.dev, and OpenAI-compatible
providers are routed automatically.
- Model notation changes from `provider:model` to `provider/model`.
- Advisory model validation and a new Vercel provider.
- OpenAI Responses API support for codex, gpt-5, o3 and o4
models.
- Google Vertex AI support for Claude models.
- Azure OpenAI provider.
- Google Gemini support.
- Thinking models with configurable reasoning levels.
- Frequency-penalty and presence-penalty parameters.
- Automatic prompt caching to reduce cost.
- Requests identify themselves as KIT.
- Tools are disabled for models that do not support them.
- Model selection and thinking level persist across sessions.
- Clear error message for gpt-codex-spark models.
- Usage statistics, and handling of overloaded errors.
- prompts:
- `$+` marks a required variadic argument, and code is skipped
in placeholders.
- Prompts and extensions reload automatically from the XDG
config directory.
- Pi-style prompt templates.
- Custom prompts and skills reload automatically when files
change.
- read:
- Image files go to the model as viewable images.
- session:
- Local and remote session management.
- Shared sessions include the system prompt and the model.
- Compaction creates a new leaf with no parent.
- Session management: picker, history, `/name`, `/export` and
`/import`.
- `/share` command and a session viewer.
- `/new` and `/fork` create a new session file.
- Empty sessions are removed on shutdown and on `/resume`.
- Saved sessions.
- Default session storage is durable: atomic steps, locking
and crash repair.
- `/history` command.
- shell:
- Bang commands stream coloured output.
- New `!` and `!!` shell command prefixes, with a spinner
while they run.
- Interactive sudo password prompt for the bash tool.
- skills:
- Activate skills with `/<name>`.
- Full agentskills.io specification compliance.
- subagent:
- New `/kill-subagent` command stops running subagents.
- Child sessions link to their parent and can be resumed.
- An invalid model gives an early error instead of a silent
fallback.
- Native inspection of child conversations.
- First-class subagent support for task delegation, running
in-process.
- Subagents inherit tools from the parent, and the subagent
tool is always added.
- ui:
- New slash commands: `/copy` (copy the last message), `/edit`
(fuzzy file picker), `/retry` (resubmit the last user
message), `/undo` (roll back the last turn), `/model` (fuzzy
model selector), `/theme` (22 built-in themes and file-based
discovery) and `/quit`.
- Bordered containers and better styling in the session and
tree selectors.
- Horizontal image tiles and a full image preview modal.
- Image previews with the Kitty graphics protocol and half-block
thumbnails for attached images.
- Line truncation in the ls tool renderer and in streaming
bash output.
- Reusable popup lists, with `/model` shown as an overlay.
- Subagent status bar and run picker.
- Animated startup wordmark, and the loaded extensions are
listed in the startup banner.
- Autocomplete for `/skill:<name>` commands.
- The steer keybinding is now the `Ctrl+X s` chord, and `Ctrl+X
e` opens the external `$EDITOR`.
- Syntax colours come from the theme.
- The spinner shows the subagent type.
- Live activity has its own row, and the surrounding chrome
is quieter.
- `@file` tokens are highlighted in user messages.
- Character-level mouse text selection and copy.
- Better contrast in the slash command popup.
- `/model` lists all models and disables the ones without
credentials.
- Consistent gutters, quieter tool receipts and a scalable
splash screen.
- Better message navigation inspector, and message navigation
with `Ctrl+X m`.
- Prompts with arguments fill the input instead of submitting
automatically.
- `/resume` and `/import` show the session history.
- Scrollback repaints when the theme changes.
- Terminal capabilities are detected lazily and per client.
- Subagent results show a clean summary.
- Streaming bash output, with a command header and a capped
height.
- `/new <prompt>` for phase handoffs.
- Warning when the provider reports no token usage.
- Unified TUI with full alt-screen mode and in-memory scrollback.
- KITT-inspired theme system and scanning animation.
- `@file` autocomplete and context attachment, smart `@`
attachments with MIME detection, and MCP resource support.
- Clipboard image paste (`Ctrl+V`) and copy and paste support.
- Visual selection highlighting with theme colours.
- Parallel tool execution with a status display for multiple
tools.
- Double-Esc cancels tool calls.
- Theme selection persists across sessions.
- Mid-turn steering.
- KIT logo above the startup info.
- Option to require approval before a tool runs.
- Autocomplete.
- general:
- `--bare` mode runs without project context.
- The edit tool can make multiple edits at once.
- Token usage updates after each step in multi-step turns.
- Message window to avoid overloading the context.
- Images returned from tools are supported.
- System prompt support.
- Scripting mode.
* Bug Fixes
- acp:
- Default `mcpServers` to an empty array for clients that
omit it.
- The ACP server follows the ACP v1 specification.
- Remove the startup message from stdio output.
- Extensions work in ACP mode.
- Fix file attachment support and thinking tag parsing, and
stop thinking content being sent twice.
- agent:
- Better streaming resilience and safer retries, including
network retries.
- Tools added or removed mid-turn take effect at the next LLM
step.
- Anthropic prompt caching is now effective.
- Recover when the provider rejects image tool results.
- Retry overload errors that have no transient flag.
- Track tool call arguments correctly for parallel calls.
- anthropic:
- Send `output_config.effort` for effort-graded models.
- Clear conflicting temperature/top_p values, and keep cache
control blocks within the limit of 4.
- app:
- Layout resets after a widget is removed.
- Queued messages are sent after `/compact` completes.
- `ctx.NewSession` waits for the agent to be idle.
- The queue stops draining when the app closes.
- auth:
- OAuth credentials work in ACP mode, and tokens refresh
automatically.
- compaction:
- Keep the API token baseline after compaction.
- core:
- Bash streaming no longer hangs on oversized lines or truncates
output.
- The read tool returns an error when used on a directory.
- The bash tool no longer hangs on long-running or background
processes.
- daemon:
- An idle Escape is delivered without waiting for more input.
- Sockets are found across runtime environments.
- Hosted sessions get the caller's full environment.
- The terminal is handed back correctly and the alt screen
is kept.
- `Ctrl-V` is intercepted under the kitty keyboard protocol.
- Session size and truecolor are kept across attach.
- The connection stays alive across a session switch.
- The detach chord works with the kitty keyboard protocol.
- The pairing window stays open after a failed attempt, and
approvals queued after it expires are rejected.
- Remote sessions are listed on attach, and the client terminal
is forwarded.
- Client control requests and attach can be cancelled.
- Clipboard images are published next to their destination.
- Terminal capabilities refresh in live sessions.
- A shared session grows again when its smallest client leaves.
- Terminal modes are replayed to clients that attach mid-session.
- Sessions shut down reliably across daemon restarts.
- New sessions start on the connected host from the picker.
- The session knows which multiplexer the client runs in.
- Stdin is unblocked after a picker closes.
- The client terminal is clean after a remote session exits.
- Scrolling works in reattached and busy sessions.
- extensions:
- Subagents spawn without blocking and return a usable handle.
- Hot-reload stays consistent.
- Blocked or disabled tools return the reason to the LLM.
- Handler calls are serialized per extension to prevent data
races.
- Test files and non-extension example directories are skipped.
- Logging respects log levels.
- The manifest `Include` is kept on update.
- go-edit-lint runs once per turn.
- The extension name is taken from the parent directory of
`main.go`.
- Multi-select is shown when a repository has multiple
extensions.
- kit:
- Streaming works for subagents.
- The system prompt file path is resolved correctly.
- mcp:
- OAuth configuration applies to servers added at runtime.
- Connections are released when tool discovery fails.
- MCP tool failures are soft errors, not critical aborts.
- MCP tool results show readable text instead of raw JSON.
- A null `required` field in MCP tool schemas no longer breaks
the OpenAI API.
- JSON Schema draft-07 exclusive bounds are converted to
draft-04.
- Tools without input parameters no longer cause a
missing-properties error.
- media:
- Image reading is safer.
- models:
- gpt-5.4 reasoning levels are supported and adjusted
automatically.
- New OpenAI models, gpt-6+ models, and opencode gpt-* and
grok-* models are routed to the Responses API.
- Unpriced models are no longer shown as free.
- Stored OpenAI OAuth is preferred over API keys.
- Provider-qualified catalog keys are resolved.
- Auto-discovered providers and opencode models are routed
by wire protocol.
- Custom provider model persistence and bare model names work.
- Fixes for the OpenAI Codex endpoint, headers and model
family detection.
- Fixes for Anthropic, OpenAI, Ollama and Google tool results.
- pkg:
- `<think>` tags in the stream are handled transparently,
including for Qwen and DeepSeek models.
- session:
- Session storage is more robust: locking, ownership, torn-line
repair and all-or-nothing appends.
- Sessions with lines longer than 1 MiB are listed.
- Kept messages are ordered correctly after compaction.
- Circular parent references in tree sessions are prevented.
- `/tree` and `/fork` no longer lose context.
- Completed messages and tool calls are kept when you cancel
with Esc.
- Reasoning blocks show when you resume sessions.
- skills:
- Skill collision messages go to the log file.
- Empty activation and a workspace resource policy are
supported.
- Saved runtime skills activate from an empty catalogue.
- startup:
- The model selector opens on provider errors.
- steer:
- Steering messages are kept for the whole turn and never
dropped.
- Pasted images are included in steering messages.
- subagent:
- The resume session ID is shown in the tool result.
- Duplicate MCP tool names and redundant reloads are prevented.
- Subagents no longer fail at once because of parent contexts
that are already dead, and they are no longer bound to the
parent deadline.
- Bad or bare model names are handled, and bare names use the
parent provider.
- tui:
- Log output goes to a file so it does not corrupt the TUI.
- ui:
- Token usage and context tracking are accurate across steps,
cache tokens and model switches.
- Usage costs are hidden for subscription OAuth providers.
- Layout and alignment of messages, blocks and input are
consistent, and wrap to the terminal width.
- Mouse selection drift and offsets are fixed.
- Slash commands run in the TUI instead of going to the LLM.
- Queued messages show correctly, and a queue deadlock is
fixed.
- Theme changes refresh typography and the spinner.
- Uncredentialed models stay findable in the model selector.
- `Ctrl+C` clears the input first, and quitting needs a double
`Ctrl+C`.
- Messages no longer render twice after reasoning-only responses
or interrupted turns.
- The transcript resizes when the composer grows, and input
is no longer capped.
- MCP tools show in `/tools` and the status bar after async
loading.
- Pasted image previews show in the input and the transcript.
- Diffs no longer overflow narrow terminals.
- Tool errors show in a caution block, and long lines are
truncated.
- Auto-scroll is enabled again when you submit a message.
- Character limits are removed from text inputs.
- j/k navigation is removed from fuzzy selectors.
- The slash command popup is centred and sized dynamically.
- Esc cancel stops the agent response.
- The TUI responds to terminal resizing at any size.
- Spinner animation and escape sequence leaks are fixed.
- Shell command output is truncated to the same limits as the
bash tool.
- The inspector shows all of a grep or ls result and the full
tool arguments.
- watcher:
- New subdirectories are watched for skill and prompt reload.
- Debug logging no longer corrupts the TUI.
- general:
- The edit tool maps fuzzy match positions and generates diffs
correctly.
- The `SHELL` variable is set to bash when commands run.
- `.wav` files use the `audio/wav` MIME type.
- Malformed properties no longer cause a panic.
- Missing system prompt after a model switch in interactive
mode is fixed.
- Tool arguments that are empty or malformed are cleaned up.
- Several deadlocks and multiple simultaneous requests are
fixed.
* Maintenance
- ui:
- Keybindings work better with terminal multiplexers.
- Thinking blocks have new styling.
- The edit tool no longer has a separate single-edit mode.
- What was new in version 0.130.0
* Features
- acp:
- Permissions, client file system and terminal access, slash
commands, plans and authentication errors are supported.
- The session/set_model method is implemented.
- agent:
- Failed streaming steps resume after transient errors.
- agents:
- Named agent definitions with per-agent tool restrictions
are added.
- app:
- Token counts and context fill update after every step.
- auth:
- Kit starts without API keys, and a /connect dialog lets you
enter keys.
- codemode:
- A code mode tool runs JavaScript that can call other tools.
- compaction:
- Compaction uses adaptive budgets, estimates tokens for full
message parts and anchors its summaries.
- On context overflow errors, Kit compacts automatically and
retries.
- config:
- A noOAuth flag skips OAuth on public MCP servers.
- Custom models can set their own baseUrl and apiKey.
- daemon:
- Sessions can be detached and reattached, and several clients
can share one session.
- Images can be pasted into remote sessions, with a preview.
- Local sessions, a session multiplexer and a multi-host hub
are added.
- Sessions are detachable by default when a daemon runs.
- Remote client access uses pairing.
- An in-process go-iroh transport replaces the separate
kit-tunnel sidecar.
- Sessions survive a daemon restart, and the protocol constant
is stable.
- extensions:
- Context gains Abort, IsIdle, Compact, SendMultimodalMessage
and GetSessionUsage.
- A GitHub handler extension and environment variable access
are added.
- OnLLMUsage and SetState are added, and AgentEndEvent carries
more data.
- ctx.GetTheme() reads the active theme.
- Extensions can render custom widgets.
- Hot-reload watches files, and /reload-ext reloads extensions.
- A popup-terminal example with a persistent shell is added.
- APIs for terminal size, thinking level and turn state are
added.
- Inline bash in the editor expands in interactive mode.
- Extension types are exported from pkg/extensions.
- ToolOutputEvent is available to extensions.
- Model pricing and OAuth status are exposed.
- Keyboard shortcut registration and dispatch are more robust.
- Extensions can load from a system-wide directory.
- Subagent monitor panes show the agent name.
- The subagent-monitor example is rebuilt around ShowOverlay.
- github:
- The GitHub integration works end to end through a core
command and an action.
- mcp:
- Remote MCP servers support OAuth.
- MCP servers can be loaded and unloaded at runtime.
- Embedded resources in prompt messages are handled.
- models:
- Custom model configs accept an apiModelName field.
- The TUI has experimental mode controls.
- Each model can have default generation parameters.
- Each model can have its own system prompt.
- Reasoning levels, tiered pricing and status come from the
model catalog.
- Default URLs are resolved for all registered providers.
- Requests to opencode providers include an x-opencode-session
header.
- Kit reports and prevents silent truncation at the max-tokens
limit.
- prompts:
- A required variadic placeholder ($+) is added, and code in
placeholders is skipped.
- Prompts and extensions in the XDG config directory reload
automatically.
- read:
- Image files are returned to the model as viewable images.
- session:
- Local and remote session management is added.
- Shared sessions include the system prompt and the model.
- shell:
- Bang commands stream coloured output.
- skills:
- /<name> activates a skill, and remaining agentskills.io
spec gaps are closed.
- Kit fully complies with the agentskills.io spec.
- subagent:
- /kill-subagent stops running subagents.
- Child sessions link to their parent and can be resumed.
- An invalid model returns an error immediately instead of
silently falling back.
- Child conversations can be inspected natively.
- ui:
- New slash commands: /copy copies the last message, /edit
opens a fuzzy file picker, /retry resubmits the last user
message and /undo rolls back the last turn.
- The session and tree selectors have a bordered container
and better styling.
- Images show as horizontal tiles and can open in a full
preview modal.
- Long lines are truncated in Ls tool output and in streaming
bash output.
- A reusable popup list is added, and /model opens as an
overlay.
- A subagent status bar and a run picker are added.
- The startup wordmark is animated with a shine and a scanner
sweep.
- /skill:<name> slash commands autocomplete.
- The steer keybinding is now the Ctrl+X s leader chord.
- Syntax colours come from the theme, and palette collisions
are fixed.
- The spinner shows the subagent type.
- Transcript image previews use the graphics protocol (Kitty
graphics).
- Live activity has its own row, and the surrounding interface
is quieter.
- @file tokens in user messages are highlighted in the accent
colour.
- Mouse text selection and copy work at character level.
- /quit and Ctrl+C quit gracefully.
- The slash command popup has better contrast with full-width
backgrounds.
- /model lists all models and disables those without credentials.
- The startup banner lists loaded extensions.
- /fork creates a new session file.
- Gutter styling is uniform, tool receipts are quieter and
the splash screen scales.
- Ctrl+X e opens the external $EDITOR.
- The message navigation inspector is polished, and the
markdown theme is fixed.
- Prompts with arguments fill the input instead of submitting
automatically.
- Attached images show as half-block thumbnails.
- /resume and /import render the session history.
- Scrollback repaints when the theme changes.
- Terminal capabilities are detected lazily and for each
client.
- Subagent results show a clean summary instead of raw output.
- Bash output streams in the TUI.
- /new <prompt> and ctx.NewSession support handoffs between
phases.
- A warning appears when the provider reports no token usage.
- ACP server mode (kit acp) is added.
- Custom models can be defined in the config file.
- Model aliases for Anthropic, OpenAI and Google Gemini are
updated.
- The ! and !! shell command prefixes are added.
- /model opens an interactive fuzzy-finding model selector.
- /share and a session viewer are added.
- /theme offers 22 built-in themes and finds theme files.
- @file autocompletes and attaches files to the context.
- Google Vertex AI supports Claude models.
- A KITT-inspired theme system unifies markdown colours.
- The OpenAI Responses API is supported for codex, gpt-5, o3
and o4 models.
- Pi-style prompt templates are added.
- Ctrl+V pastes images from the clipboard.
- Copy and paste are supported.
- First-class subagents can take delegated tasks.
- frequency-penalty and presence-penalty parameters are added.
- The bash tool prompts interactively for the sudo password.
- Streaming text shows live in the viewport.
- The edit tool supports multiple edits.
- Session management adds a picker, history, /name, /export and
/import.
- @ attachments detect MIME types and support MCP resources.
- Compaction summaries stream.
- Thinking models are supported with configurable reasoning
levels.
- Visual selection is highlighted with theme colours.
- Model validation is advisory, and a vercel provider is added.
- Empty sessions are cleaned up on shutdown and on /resume.
- Custom prompts and skills reload when their files change.
- Automatic prompt caching reduces cost.
- Double ESC cancels tool calls without breaking API call/result
pairs.
- Streaming bash output has a height cap and is replaced by the
tool result when done.
- Model notation changes from provider:model to provider/model.
- Daemon mode provides iroh remote sessions (kit daemon / kit
- -remote).
- The daemon uses a single-instance lock and has a 'kit daemon
status' command and a systemd user service.
- Tools run in parallel, and a status display shows multiple
tools.
- Hooks can send feedback to the LLM.
- Requests identify themselves as KIT.
- A full alt screen mode with in-memory scrollback is added.
- Compaction handles split turns, tracks files and keeps the
original history.
- Subagents run in-process instead of as subprocesses.
- /new creates a new session file.
- Bash tool timeouts are configurable in kit.yml.
- One daemon endpoint serves multiple sessions, and each session
tears down separately.
- The model selection, thinking level and theme persist across
sessions.
- models.dev replaces catwalk as the model catalog, and
OpenAI-compatible providers are routed automatically.
- A KITT-style red scanning animation replaces the spinner.
- Streaming bash output shows a command header.
- A spinner shows while ! and !! shell commands run.
- MCP configs accept environment variables.
- A system prompt can be set.
- Token usage updates after each step in multi-step turns.
* Bug Fixes
- acp:
- mcpServers defaults to an empty array for clients that omit
it.
- The ACP server follows the ACP v1 spec.
- The startup message no longer appears in stdio output.
- Extensions work in ACP mode.
- agent:
- Streaming is more resilient, and retries are safe.
- Anthropic prompt caching is effective.
- Kit recovers when the provider rejects image tool results.
- Overload errors are retried even without a transient flag.
- Tools added or removed mid-turn take effect at the next LLM
step.
- Tool call arguments are tracked per call for parallel calls.
- anthropic:
- output_config.effort is sent for effort-graded models.
- app:
- Layout resets after a widget is removed.
- Queued messages are sent after /compact completes.
- ctx.NewSession waits until the agent is idle.
- The queue stops draining when the app closes.
- auth:
- OAuth credentials work in ACP mode, and tokens refresh
automatically.
- compaction:
- The API token baseline is kept after compaction.
- core:
- Bash streaming keeps draining output after an oversized
line.
- The read tool returns an error when used on a directory.
- Bash output is no longer cut off during the final drain.
- daemon:
- A lone Escape is delivered on idle time without waiting for
more input.
- Sockets are found across different runtime environments.
- Hosted sessions get the caller's full environment.
- The terminal is handed back correctly, the alt screen is
kept and no sidecar process is left behind.
- Ctrl-V is intercepted under the kitty keyboard protocol.
- Choices on the same daemon stay local.
- Session size and truecolor are kept across attach.
- The connection stays alive across a session switch.
- The detach chord stays armed across the kitty Ctrl-X key
release.
- The pairing window stays open after a failed attempt.
- Remote sessions are listed on attach, and the client terminal
is forwarded.
- Client control requests can be cancelled.
- Clipboard images are published next to their destination.
- Terminal capabilities refresh in live sessions.
- A shared session grows back when its smallest client leaves.
- Approvals queued after the pairing window expires are
rejected.
- Clients attaching mid-session get the terminal modes replayed.
- A session whose client never learned its id is retired.
- Sessions shut down deterministically across daemon restarts.
- The picker starts new sessions on the connected host.
- The session knows which multiplexer the client runs in.
- stdin works again after a picker closes, and the alt screen
is kept.
- Attach cancellation is propagated, and the local dial has
a time limit.
- extbridge:
- The run error is kept, and OnComplete fires when a subagent
returns no result.
- extensions:
- go-edit-lint runs once per turn.
- Subagent spawn is non-blocking and returns a usable handle.
- The LLM sees the reason when a tool is blocked or disabled.
- Handler calls run one at a time per extension to prevent
data races.
- _test.go files and examples that are not extensions are
skipped.
- Logging respects log levels.
- The manifest Include field is written in one pass and kept
on update.
- kit:
- Streaming works in subagent child instances.
- The system-prompt file path is resolved correctly.
- mcp:
- OAuth config applies to servers added at runtime.
- Connections are released when tool discovery fails.
- MCP tool failures are reported as soft errors instead of
critical aborts.
- models:
- gpt-5.4 supports reasoning levels, with automatic adjustment.
- New OpenAI models are registered automatically for Responses
API routing.
- Unpriced models are shown differently from free models.
- Stored OpenAI OAuth credentials take precedence over API
keys.
- Provider-qualified catalog keys are resolved.
- Auto-discovered providers are routed by wire protocol.
- gpt-6 and later models use the OpenAI Responses API.
- opencode gpt-* and grok-* models use the Responses API.
- pkg:
- <think> tags in the stream are handled transparently.
- session:
- Session storage is more robust: ownership locks, all-or-nothing
appends with rollback, safe header rewrites, directory
syncing and torn-line repair.
- Sessions with lines longer than 1 MiB can be listed and
loaded.
- Tree diagnostics are logged at debug level.
- Kept messages come before the post-compaction branch.
- Circular parent references in the session tree are prevented.
- skills:
- Skill name collision logs go to the log file at info level.
- startup:
- The model selector opens when the provider reports an error.
- steer:
- Steering messages are kept for the whole turn and are never
dropped.
- subagent:
- The tool result text includes the session id needed to
resume.
- Duplicate MCP tool names and redundant reloads are prevented.
- Subagents no longer fail instantly when the parent context
has already ended.
- The tool schema no longer includes a biased model example.
- tui:
- Log output goes to a file so it does not corrupt the TUI.
- tunnel:
- Over-capacity rejections are limited, pre-authentication
slot reservations expire and stalled session slots are
released.
- ui:
- Token usage adds up across all steps of a turn, and context
tracking includes cache tokens.
- User messages have a subtle, uniform background fill with
a full-height border.
- All transcript blocks share one geometry and one left edge,
and use the full width.
- Image previews are not redrawn unnecessarily.
- Long lines are clipped in fallback tool result rendering.
- Queued messages show as styled full-width blocks with a
QUEUED badge, keep their newlines and are truncated to
prevent overflow.
- Mouse selection offsets are fixed for reasoning blocks,
extension widgets, code blocks and streaming.
- The extension tool count includes only extension tools.
- The preview mode depends on the detected terminal capabilities,
not on the environment.
- The command name column in the slash command popup sizes
itself to fit.
- Slash commands run in the TUI instead of being sent to the
LLM.
- The reasoning counter stops at the last token.
- Usage costs are hidden for all subscription OAuth providers.
- The activity row stays visible during message navigation,
and the layout adjusts when it appears or disappears.
- Plain shell output rows keep the theme colour.
- Models without credentials can still be found in the model
selector.
- Ctrl+C clears the input first, and quitting needs a double
Ctrl+C.
- Messages are no longer rendered twice after reasoning-only
responses.
- Auto-scroll turns back on when you submit a new message.
- The TUI has less visual noise and a better layout.
- Typography and spinner frames refresh when the theme changes.
- Text inputs have no character limits, and the transcript
resizes when the composer grows.
- j/k navigation is removed from fuzzy selectors.
- The autocomplete badge is a theme-coloured chip, and the
description of the current row stays visible.
- Selectors render in the alt screen buffer.
- A queue deadlock is fixed, and queued messages stay anchored
to the input.
- Startup info messages show again in the interactive TUI.
- MCP tools show in /tools and in the status bar after they
finish loading.
- Pasted images show previews in the input and in the transcript.
- The response is no longer duplicated after an interrupted
turn.
- Confirmations no longer show twice.
- Diffs no longer overflow narrow terminals.
- Loading session messages no longer produces empty blocks.
- Assistant, reasoning and user messages wrap to the terminal
width.
- Tool error output appears in a caution block.
- watcher:
- New subdirectories are watched for skill and prompt reload.
- Debug logging that corrupted the TUI is removed.
- /tree and /fork no longer lose context.
- Malformed properties no longer cause a panic.
- ESC cancels the agent response.
- Saved runtime skills activate even when the skill catalogue
is empty.
- Shell command output is truncated to 20 lines for display,
using the same limits as the core bash tool.
- The slash command popup is centered so it does not overflow
at the bottom.
- The client terminal is cleaned up after a remote session
exits.
- Conflicting temperature and top_p values are cleared for the
Anthropic API.
- Orphaned terminal rows are cleared after stream content is
flushed.
- JSON Schema draft-07 exclusive bounds are converted to draft-04
format.
- Fuzzy match positions and diff generation in the edit tool
are correct.
- Token usage and cost tracking are correct for multi-step tool
calls, and double counting is fixed.
- Sending a tool_result to Anthropic or Google no longer crashes.
- Blank lines no longer appear at the bottom of the TUI.
- Diff and code background colours come from the active theme.
- A subagent's context is no longer tied to the parent's deadline.
- Empty assistant messages no longer show 'Finished without
output'.
- Spinner escape sequences no longer leak.
- Message blocks appear below previous content in scrollback.
- MCP tool results show human-readable text instead of raw JSON.
- The reasoning duration counter stops when assistant text
starts.
- Subagents recover from bad model names and use the parent's
provider for bare model names.
- Model selection persists for custom providers, and bare model
names work.
- Input keybindings, user message rendering and scrollback
ordering are improved.
- Pasted images are included in steering messages.
- The vim interceptor stays active in both modes so Esc returns
to normal mode.
- Anthropic cache_control blocks are limited to four, counting
existing blocks.
- The TUI responds to terminal resizing at any size.
- The .wav MIME type is normalized to audio/wav.
- Commands run with SHELL set to bash.
- Image file parts reach the model.
- Completed messages and tool calls are kept when you cancel
with ESC.
- Scrollback keeps the full content.
- The bash tool no longer hangs on long-running or background
processes.
- The spinner no longer animates at double speed.
- Text is no longer duplicated when streaming content is flushed
before tool calls.
- A null 'required' field in MCP tool schemas no longer breaks
the OpenAI API.
- Thinking tags from Qwen and DeepSeek models are handled.
- ls tool output no longer has a line-number gutter.
- Reasoning blocks render when a session is resumed.
- A steering message shows as soon as it is consumed mid-turn.
- Scrolling works in reattached and busy sessions.
- /new resets usage, and costs are no longer estimated.
- opencode models use the correct provider API.
- Before-hooks no longer deadlock the TUI.
- Health check logging appears only in debug output.
- Long lines are truncated instead of wrapped so the TUI layout
stays intact.
- Token counting updates when you switch models mid-session.
- Extensions in a main.go file are named after their immediate
parent directory.
* Other Changes
- acp:
- File attachments work in ACP mode.
- Thinking tags are parsed in ACP mode, including the <think>
format, and thinking content is no longer sent twice.
- ui:
- Thinking blocks use subdued, colour-coded italic text.
- Keybindings work better inside terminal multiplexers.
- Markdown rendering uses the herald typography library.
- A /history command is added.
- /compact compacts the conversation based on token counts.
- An Azure OpenAI provider is added.
- Google Gemini is supported.
- The KIT logo shows above the startup info, followed by a
visual separator.
- OpenAI ChatGPT/Codex OAuth authentication is added next to
Anthropic authentication.
- Claude Max is supported.
- GitHub Copilot login is added.
- Built-in HTTP functionality is added.
- gpt-codex-spark models show a clear error message.
- A hooks system covers lifecycle events.
- Providers can declare their wire protocol explicitly, and
wire overrides are supported.
- A kit-telegram example extension is added.
- Ctrl+X m opens message navigation and an inspector, which
shows full tool arguments and complete grep and ls results.
- A message window keeps the context from getting too large.
- Ctrl+S steers the agent mid-turn.
- SSE MCP servers can be configured, including remote servers
and Authorization headers.
- Usage statistics are shown, and overloaded errors are handled.
- YAML config files are supported.
- The subagent tool is always available and inherits tools from
its parent.
- Autocomplete is added.
- Core tools can be disabled in the config.
- A compact mode is added.
- Overlays are drawn over the view instead of replacing it.
- Tools are disabled for models that do not support them.
- Tool calls and responses are no longer buffered.
- Environment variable substitution is supported in the config.
- An option requires approval before a tool runs.
- MCP connections are pooled.
- The OpenAI Codex endpoint, headers and model family detection
are fixed, and max_output_tokens is not sent for the Codex
OAuth provider.
- Autoscroll for streaming messages is fixed.
- Deadlocks and a nil pointer issue are fixed.
- The system prompt is kept when you switch models in interactive
mode.
- Several requests can run at the same time.
- Tools without input parameters no longer cause an object
schema error.
- Ollama and GPU handling are improved.
- Sessions can be saved, and the default session storage is
durable (atomic steps, locking and crash repair).
- The prompt input accepts longer text.
- Scrolling stops at the bottom of the content.
- Images returned by tools are supported.
- Empty or malformed tool arguments are sanitized.
- Scripting is supported.
- Startup info shows in alt screen mode.
- The UI is smoother.
- Responses stream.
- Themes can be set in the config.
- What was new in version 0.129.2
* Features
- acp:
- Added ACP server mode.
- Added support for permissions, client file system and
terminal access, slash commands, plans and authentication
error reporting.
- Implemented the `session/set_model` ACP method.
- Added parsing of thinking tags.
- agent:
- Failed streaming steps now resume after transient errors.
- Tool calls can now run in parallel, and a status display
shows multiple tools at once.
- Prompt caching is now automatic to reduce cost.
- Tool calls can be cancelled with a double ESC without
breaking API request pairs.
- Added an option to require approval before a tool runs.
- Tools are now disabled for models that do not support them.
- Added a message window so that the context is not overloaded.
- Added mid-turn steering.
- agents:
- Added named agent definitions with per-agent tool restrictions.
- app:
- Token counts and context fill now update after every step,
including in multi-step turns.
- auth:
- Kit now starts without API keys, and a `/connect` dialog
lets you enter keys.
- Added OpenAI ChatGPT/Codex OAuth authentication alongside
Anthropic authentication.
- Added GitHub Copilot login.
- Added Claude Max support.
- codemode:
- Added a code mode tool that runs JavaScript which calls
other tools.
- compaction:
- Added adaptive budgets, full-part token estimation and
anchored summaries.
- Kit now compacts automatically and retries on context
overflow errors.
- Improved compaction with split-turn handling, file tracking
and non-destructive persistence.
- Compaction summaries are now streamed.
- Added the `/compact` command with token-based compaction.
- config:
- Added a `noOAuth` flag to skip OAuth on public MCP servers.
- Added per-model `baseUrl` and `apiKey` settings for custom
models.
- Custom models can now be defined in the config file.
- Added support for `env` in the MCP configuration.
- Added support for a custom system prompt.
- Bash tool timeouts can now be set in `kit.yml`.
- YAML configuration files are now accepted.
- Added environment variable substitution in the configuration.
- Added a theme setting to the configuration.
- Core tools can now be disabled through the configuration.
- daemon:
- Added daemon mode with remote sessions over iroh.
- Sessions can now be detached and reattached, and several
clients can share one session.
- Added local sessions, a session multiplexer and a multi-host
hub.
- Detachable sessions are now the default when a daemon is
running.
- Added pairing-based remote access.
- The in-process go-iroh transport replaces the separate
tunnel helper.
- Sessions now survive a daemon restart, and the daemon uses
a stable protocol version.
- One endpoint now serves multiple sessions, and each session
is torn down separately.
- Added a single-instance lock and a systemd user service.
- Images can now be pasted into remote sessions, with a
preview.
- extensions:
- Added `Abort`, `IsIdle`, `Compact`, `SendMultimodalMessage`,
`GetSessionUsage` and `SendMessage` to the extension context.
- Added a GitHub handler extension and access to environment
variables.
- Added `OnLLMUsage`, `SetState` and an enriched `AgentEndEvent`.
- Added `ctx.GetTheme()` to read the active theme, and an API
to register and switch themes.
- Added custom widget rendering, widget slots for persistent
TUI content, and custom header and footer regions.
- Added hot reload with file watching and the `/reload-ext`
command.
- Added APIs for terminal size, thinking level and turn state.
- Inline bash in the editor is now expanded in interactive
mode.
- Extension types are now exported from `pkg/extensions`.
- Exposed `ToolOutputEvent`, model pricing and OAuth status
to extensions.
- Keyboard shortcut registration and dispatch are more robust,
and shortcuts and tool context are now available.
- Extensions can now be loaded from a system-wide directory.
- Subagent monitor panes now show the agent name.
- Added the `OnContextPrepare` event to filter and inject
context window content.
- Added `OnEvent` and `SubscribeSubagent` to stream subagent
events in real time.
- Added the `OnModelChange` event and `ctx.Exit()`.
- Added the `UIVisibility` and `GetContextStats` APIs and
compact tool renderers.
- Added tab completion of arguments for extension slash
commands.
- Added custom tool rendering, custom message rendering, TUI
suspend and an editor interceptor system.
- Added interactive prompts (select, confirm, input) and modal
overlay dialogs.
- Added rich tool metadata to extension events.
- Added the session before-hooks `OnBeforeFork`,
`OnBeforeSessionSwitch` and `OnBeforeCompact`.
- Added APIs for session management, persistence, editor text
and the status bar.
- Added APIs for tool management, model management, options,
an event bus, LLM completion and steer mode.
- Extensions now have access to tree navigation, skills,
templates and model resolution.
- Added `kit install` to distribute extensions through git,
and a multi-select appears when a repository contains several
extensions.
- Added example extensions: popup terminal, go-edit-lint
diagnostics, kit-kit meta-agent, subagent monitor, subagent
widget, kit-telegram and LSP diagnostics.
- github:
- The GitHub integration now works end to end through a core
command and a GitHub Action.
- hooks:
- Added a hooks system for lifecycle events.
- Hooks can now send feedback to the LLM.
- mcp:
- Added OAuth support for remote MCP servers.
- MCP servers can now be loaded and unloaded at runtime.
- Embedded resources in prompt messages are now handled.
- Added support for SSE servers, including remote SSE servers
and the Authorization header.
- Added built-in HTTP functionality.
- Added a connection pool.
- models:
- Added the `apiModelName` field to the custom model
configuration.
- Added experimental mode controls to the TUI.
- Added per-model defaults for generation parameters.
- Added per-model system prompts.
- Reasoning levels, tiered pricing and model status now come
from the model catalog.
- Kit now sends the `x-opencode-session` header to opencode
providers.
- Kit now reports max-tokens truncation and prevents it from
happening silently.
- Default URLs are now resolved for all registered providers.
- Updated model aliases for Anthropic, OpenAI and Google
Gemini.
- The models.dev catalog replaces catwalk, and OpenAI-compatible
providers are routed automatically.
- Model validation is now advisory, and a Vercel provider was
added.
- Model notation changed from `provider:model` to `provider/model`.
- Added Google Vertex AI support for Claude models.
- Added OpenAI Responses API support for codex, gpt-5, o3 and
o4 models.
- Added support for thinking models with configurable reasoning
levels.
- Added the frequency-penalty and presence-penalty parameters.
- Added the Azure OpenAI provider.
- Added Google Gemini support.
- Improved Ollama and GPU handling.
- Providers now declare their wire protocol explicitly.
- The model selection and the thinking level are now kept
across sessions.
- Added a clear error message for gpt-codex-spark models.
- prompts:
- Added the `$+` required variadic placeholder, and code is
no longer treated as placeholders.
- Added prompt templates.
- Prompts, skills and extensions in the XDG config directory
now reload automatically when they change.
- read:
- Image files are now returned to the model as viewable images.
- session:
- Added local and remote session management.
- Shared sessions now include the system prompt and the model.
- Added session management features: a picker, history,
`/name`, `/export` and `/import`.
- Added saved sessions and the `/history` command.
- Added the `/share` command and a session viewer.
- Empty sessions are now removed on shutdown and on `/resume`.
- `/new` and `/fork` now create a new session file.
- Default session storage is now durable, with atomic steps,
locking and crash repair.
- shell:
- Added the `!` and `!!` shell command prefixes.
- Bang commands now stream coloured output and show a spinner.
- skills:
- Skills can now be activated with `/<name>` and with
`/skill:name`, and Kit now fully follows the agentskills.io
specification.
- Added context loading, skills metadata and a default system
prompt.
- subagent:
- Added first-class subagent support for task delegation.
- Subagents now run in-process instead of as separate processes.
- Added `/kill-subagent` to stop running subagents.
- Child sessions are now linked to their parent session and
can be resumed.
- An invalid model now returns an early error instead of a
silent fallback.
- Added native inspection of child conversations.
- The subagent tool is now always added, and subagents inherit
tools from the parent.
- ui:
- Added the `/copy`, `/edit` (with a fuzzy file picker),
`/retry`, `/undo` and `/quit` slash commands.
- Added the `/model` command with an interactive fuzzy selector.
`/model` now lists all models, disables the ones without
credentials and is shown as an overlay.
- Added the `/theme` command with 22 built-in themes and
themes loaded from files. The selected theme is kept across
sessions.
- Added a theme system with unified markdown colors. Syntax
colors now come from the theme.
- Added `@file` autocomplete and context attachment, with
MIME detection and MCP resource support. `@file` tokens in
user messages are highlighted.
- Added clipboard image paste (Ctrl+V), copy and paste support,
and visual selection highlighting.
- Added character-level mouse text selection and copy.
- Added horizontal image tiles, a full image preview modal,
half-block thumbnails, and image previews drawn with the
Kitty graphics protocol.
- Added full alt screen mode with in-memory scrollback.
- Added streaming bash output with a command header. Output
height is capped, and long lines are truncated.
- Added line truncation to the ls tool renderer.
- Added a subagent status bar and a run picker. The spinner
shows the subagent type, and subagent results show a clean
summary.
- Added message navigation and an inspector (Ctrl+X m). The
inspector shows full tool arguments and complete grep and
ls results.
- The external `$EDITOR` now opens with the Ctrl+X e chord,
and the steer keybinding moved to Ctrl+X s.
- The startup wordmark is animated, a KITT logo appears above
the startup info, and the startup banner lists loaded
extensions.
- Live activity now has its own row, and the surrounding UI
is quieter.
- The spinner is replaced with a KITT-style scanning animation.
- Prompts with arguments now fill the input instead of being
submitted at once.
- `/resume` and `/import` now render the session history.
- Scrollback repaints when the theme changes.
- Terminal capabilities are now detected lazily and separately
for each client.
- `/new <prompt>` is now supported for phase handoffs.
- Kit now warns when a provider reports no token usage, and
usage statistics are shown.
- Added bordered containers to the session and tree selectors,
and improved slash command popup contrast.
- Overlays are now drawn over the view instead of replacing
it.
- Added autocomplete, a compact mode, smoother rendering and
streaming responses.
- tools:
- The edit tool now supports multiple edits.
- The bash tool now asks for a sudo password interactively.
- Images returned from tools are now supported.
* Bug Fixes
- acp:
- `mcpServers` now defaults to an empty array for clients
that omit it.
- The ACP server now follows the ACP v1 specification.
- The startup message no longer appears in stdio output.
- Extensions now work in ACP mode.
- Fixed file attachments, thinking tag parsing, and thinking
content being sent twice.
- agent:
- Tool additions and removals now take effect at the next LLM
step during a turn.
- Improved streaming resilience and made retries safe.
- Anthropic prompt caching now works as intended.
- Kit now recovers when a provider rejects image tool results.
- Overload errors are now retried even without a transient
flag.
- Tool call arguments are now tracked correctly for parallel
calls.
- anthropic:
- Kit now sends `output_config.effort` for effort-graded
models.
- Conflicting temperature and top_p values are now cleared.
- Kit now sends at most 4 `cache_control` blocks.
- app:
- The layout now resets after a widget is removed.
- Queued messages are now sent after `/compact` completes.
- `ctx.NewSession` now waits until the agent is idle.
- The queue stops draining when the app closes.
- auth:
- OAuth credentials now work in ACP mode, and tokens refresh
automatically.
- Fixed a crash when the OAuth handler fails to start, and
fixed character encoding on the OAuth success page.
- compaction:
- The API token baseline is now kept after compaction.
- core:
- Bash streaming now keeps reading when it meets an oversized
line, and bash output is no longer cut off.
- The read tool now returns an error when used on a directory.
- The bash tool no longer hangs on long-running or background
processes.
- The `SHELL` environment variable is now set to bash when
commands run.
- daemon:
- A lone Escape is now delivered on idle time without waiting
for more input, and escape-sequence handling is more robust.
- Sockets are now found across different runtime environments.
- Hosted sessions now get the caller's full environment.
- The terminal is handed back correctly, the alt screen is
kept, and background helper processes are not left behind.
- Ctrl-V is now intercepted under the kitty keyboard protocol,
and the detach chord stays armed across the kitty Ctrl-X
release.
- Session size and truecolor are kept across attach.
- The connection stays alive across a session switch.
- The pairing window stays open after a failed attempt, and
approvals queued after the window expires are rejected.
- Remote sessions are now listed on attach, and the client
terminal is forwarded.
- Client control requests and attach can now be cancelled,
and the local connection attempt has a time limit.
- Clipboard images are now placed next to their destination.
- Terminal capabilities now refresh in live sessions.
- A shared session grows back when its smallest client leaves.
- Terminal modes are replayed to clients that attach mid-session.
- A session whose client never learned its ID is now retired.
- Sessions shut down predictably across daemon restarts.
- The picker now starts new sessions on the connected host.
- The session is now told which terminal multiplexer the
client runs in.
- Input works again after a picker closes, and the alt screen
is kept.
- Choices on the same daemon now stay local.
- Scrolling works again in reattached and busy sessions, and
the client terminal is cleaned up after a remote session
ends.
- extensions:
- The run error is kept, and `OnComplete` now fires, when a
subagent returns no result.
- go-edit-lint now runs once per turn.
- Subagents now spawn without blocking and return a usable
handle.
- Blocked or disabled tools now give their reason to the LLM.
- Handler calls are now serialized per extension to prevent
data races.
- `_test.go` files and example subdirectories that are not
extensions are now skipped.
- Extension logging now respects log levels.
- The manifest `Include` is now written in a single pass and
kept on update.
- `main.go` extensions are now named after their immediate
parent directory.
- Fixed extension discovery in repositories that contain other
code.
- kit:
- Streaming now works for subagent child instances.
- The system-prompt file path is now resolved correctly.
- mcp:
- OAuth configuration now reaches servers added at runtime.
- Connections are released when tool discovery fails.
- MCP tool failures are now soft errors instead of critical
aborts.
- MCP tool results now show readable text instead of raw JSON.
- A null `required` field in MCP tool schemas no longer breaks
the OpenAI API.
- JSON Schema draft-07 exclusive bounds are now converted to
draft-04 format.
- Tools without input parameters no longer cause a
missing-properties error.
- Tool arguments are now sanitized to handle empty or malformed
input.
- models:
- Added gpt-5.4 reasoning level support with automatic
adjustment.
- New OpenAI models are now registered automatically for
Responses API routing.
- Unpriced models are now shown differently from free ones.
- Stored OpenAI OAuth credentials are now preferred over API
keys.
- Provider-qualified catalog keys are now resolved.
- Auto-discovered providers are now routed by wire protocol.
- gpt-6+ models, and opencode gpt-* and grok-* models, are
now routed to the OpenAI Responses API.
- opencode models now go through the correct provider API.
- Persistence of custom provider models and bare model names
now works.
- Fixed the OpenAI Codex endpoint, headers, model family
detection and instructions parameter, and `max_output_tokens`
is no longer sent for Codex OAuth.
- Fixed issues with Anthropic, OpenAI, Ollama and Google,
including a crash when tool results were sent to Anthropic
and Google.
- Added number and integer types to the Google type converter.
- `<think>` tags from Qwen, DeepSeek and other models are now
handled in the stream.
- The system prompt is no longer lost when switching models
in interactive mode.
- session:
- Sessions with lines longer than 1 MiB can now be listed and
loaded.
- Circular parent references in tree sessions are now prevented.
- Kept messages now come before the post-compaction branch.
- Session storage is better protected against crashes and
concurrent access.
- Tree diagnostics are now logged at debug level.
- `/tree` and `/fork` no longer lose context.
- Completed messages and tool calls are now kept in the session
when you cancel with ESC.
- skills:
- Collision logs now go to the log file at info level.
- startup:
- The model selector now opens on provider errors.
- steer:
- Steering messages are now kept for the whole turn and never
dropped. Pasted images are included, and the message shows
immediately.
- subagent:
- The resume session ID now appears in the tool result text.
- Duplicate MCP tool names and unneeded reloads are now
prevented.
- Subagents no longer fail at once because of a parent context
that has already ended, and they no longer depend on the
parent's deadline.
- Removed a biased model example from the tool schema.
- Bad model names are now handled gracefully, and bare model
names inherit the parent provider.
- Subagent events are now forwarded correctly to the parent
and are not sent twice.
- tui:
- Log output now goes to a file so that it does not corrupt
the TUI.
- ui:
- Token usage and cost are now tracked correctly, including
across steps, with cache tokens, after a model switch and
after `/new`. The usage display stays visible.
- User, assistant, reasoning and tool messages now wrap or
truncate to the terminal width. All blocks share one geometry
and left edge.
- Fixed background banding and borders on user messages and
thinking blocks.
- Slash commands now run in the TUI instead of being sent to
the LLM.
- Ctrl+C now clears the input first, and quitting needs a
double Ctrl+C.
- Fixed mouse selection drift during streaming, with extension
widgets, and around reasoning blocks.
- Fixed duplicate messages after reasoning-only responses and
after interrupted turns, and duplicate text before tool
calls.
- Queued messages are now shown as full-width styled blocks
with a QUEUED badge, and a queue deadlock was fixed.
- Long queued and steering messages are now truncated.
- The transcript resizes when the composer grows, and character
limits were removed from text inputs.
- Removed j/k navigation from fuzzy selectors.
- The model selector still finds models that lack credentials.
- MCP tools now appear in `/tools` and the status bar after
they finish loading.
- Pasted image previews now appear in the input and the
transcript.
- Usage costs are hidden for subscription OAuth providers.
- Spinner frames, typography and diff and code backgrounds
now follow the active theme.
- The reasoning counter now stops correctly.
- Diffs no longer overflow narrow terminals.
- Reasoning blocks now render when you resume a session.
- The TUI now adapts to terminal resizing at any size.
- Fixed autoscroll, scrolling past the bottom, blank lines,
escape-sequence leaks and the double-speed spinner.
- The usage widget is now visible at startup.
- Fixed the fuzzy-match position mapping and diff generation
in the edit tool.
- Removed the line-number gutter from ls tool output.
- Shell command output is now truncated to the same limits
as the bash tool.
- The display in script mode was fixed, including compact
mode.
- watcher:
- New subdirectories are now watched so that skills and prompts
reload.
- Removed debug logging that corrupted the TUI.
- general:
- Fixed a crash when reading malformed properties.
- ESC now actually cancels the agent response.
- Before-hook callbacks no longer deadlock the TUI.
- Fixed deadlocks, multiple simultaneous requests and a nil
pointer crash.
- The `.wav` MIME type is now normalized to `audio/wav`.
- Fixed a panic in a dependency.
- Health check logging now goes to debug output only.
- Increased the maximum length of the prompt input.
* Changes
- extensions:
- The go-edit-lint extension moved to global scope.
- models:
- The embedded model catalog was refreshed from models.dev,
and dead aliases were removed.
- ui:
- Thinking blocks now use subdued, color-coded, italic text.
- Keybindings now work better in terminal multiplexers.
- Improved message spacing and styling consistency.
- All popups, including the session picker, now use one shared
list style.
- Tool names in the spinner display are shorter.
- The KITT scanner LEDs are now segmented, and the logo text
is centered.
- The Read tool gutter styling now matches the Write tool.
- Text selection and copy are disabled.
- What was new in version 0.129.1
* Features
- acp:
- Added permissions, client file system and terminal access,
slash commands, plans and auth error reporting.
- Added an ACP server mode (`kit acp`).
- Added thinking tag parsing for ACP.
- acpserver:
- Implemented the `session/set_model` ACP method.
- agent:
- Failed streaming steps are now resumed after transient
errors.
- agents:
- Added named agent definitions with per-agent tool restrictions.
- app:
- Token counts and context fill are updated after every step.
- auth:
- Kit can now start without API keys, and a `/connect` dialog
was added to enter keys.
- Added OpenAI ChatGPT/Codex OAuth authentication alongside
Anthropic authentication.
- Added GitHub Copilot login and Claude Max subscription
support.
- codemode:
- Added a code mode tool that runs JavaScript which calls
other tools.
- compaction:
- Added adaptive budgets, full-part token estimation and
anchored summaries.
- Kit now compacts automatically and retries when the context
overflows.
- Improved compaction with split-turn handling, file tracking
and non-destructive persistence.
- Compaction summaries are now streamed.
- Added a `/compact` command for token-based compaction.
- config:
- Added a `noOAuth` flag to skip OAuth on public MCP servers.
- Added per-model `baseUrl` and `apiKey` for custom models.
- Custom models can be defined in the config file.
- Bash tool timeouts can be configured in `kit.yml`.
- Added support for `env` in the MCP config, environment
variable substitution and YAML config files.
- Core tools can be disabled from the config.
- Added theme configuration.
- daemon:
- Added a daemon mode with remote sessions over iroh (`kit
daemon` / `kit --remote`).
- Sessions can be detached, reattached and shared between
several clients.
- Detachable sessions are the default when a daemon runs.
- Added local sessions, a session multiplexer and a multi-host
hub.
- Added pairing-based remote access.
- Sessions can now outlive the daemon.
- Images can be pasted over remote sessions, and the image
preview is rendered.
- Several sessions are multiplexed over one endpoint and torn
down per session.
- Added a single-instance lock, `kit daemon status` and a
systemd user service.
- examples:
- Rebuilt the subagent-monitor example around `ShowOverlay`.
- extensions:
- Added a Yaegi-based in-process extension system with event
handlers, tool and command registration, and styled output.
- Added `Abort`, `IsIdle`, `Compact`, `SendMultimodalMessage`,
`GetSessionUsage` and `SendMessage` to the extension context.
- Added a GitHub handler extension and environment variable
access.
- Added `OnLLMUsage`, `SetState` and an enriched `AgentEndEvent`.
- Added `ctx.GetTheme()` to read the active theme, plus an
API to register and switch themes.
- Added custom widget rendering and widget slots for persistent
TUI content.
- Added hot-reload with file watching and a `/reload-ext`
command.
- Added a popup-terminal example with a persistent shell.
- Added terminal size, thinking level and turn state APIs.
- Inline bash is expanded in the editor in interactive mode.
- Extension types are now exported for use by extensions.
- `ToolOutputEvent` is exposed to extensions.
- Model pricing and OAuth status are exposed to extensions.
- Keyboard shortcut registration and dispatch were hardened.
- Extensions can be loaded from a system-wide directory.
- Subagent monitor panes show the agent name.
- Added `OnContextPrepare` to filter and inject into the
context window.
- Added `OnEvent` to stream subagent events in real time.
- Added `OnModelChange` and `ctx.Exit()`.
- Added TUI suspend, custom message rendering and hot-reload
of extensions.
- Added the `UIVisibility` and `GetContextStats` APIs and
compact tool renderers.
- Added tab-completion for arguments of extension slash
commands.
- Added custom header and footer regions, custom tool rendering
and an editor interceptor system.
- Added interactive prompts (select, confirm, input) and modal
overlay dialogs.
- Added keyboard shortcuts, tool context and a source field
on `ToolCallEvent`.
- Added rich tool metadata to extension events.
- Added the `OnBeforeFork`, `OnBeforeSessionSwitch` and
`OnBeforeCompact` hooks.
- Added APIs for session management, persistence, editor text
and the status bar.
- Added tool management, model management, options, an event
bus, LLM completion and steer mode, with 10 example extensions.
- Tree navigation, skills, templates and model resolution are
available to extensions.
- Added a `kit install` command to install extensions from
git repositories.
- Added the go-edit-lint, kit-kit meta-agent, subagent
monitoring, subagent-widget, kit-telegram and LSP diagnostics
example extensions.
- github:
- GitHub integration now works end to end through a core
command and an action.
- hooks:
- Per-step `ToolChoice` is exposed through `OnPrepareStep`.
- Added a hooks system for lifecycle events, and hooks can
now send feedback to the LLM.
- mcp:
- Added OAuth support for remote MCP servers.
- MCP servers can be loaded and unloaded at runtime.
- Embedded resources in prompt messages are now handled.
- Added support for remote SSE servers, including config and
the `Authorization` header.
- models:
- Added an `apiModelName` field to custom model config.
- Added experimental mode controls to the TUI.
- Added per-model defaults for generation parameters and
per-model system prompts.
- Reasoning levels, tiered pricing and status now come from
the model catalog.
- Default URLs are resolved for all registered providers.
- An `x-opencode-session` header is sent to opencode providers.
- Kit now reports silent max-tokens truncation and prevents
it.
- Updated model aliases for Anthropic, OpenAI and Google
Gemini.
- Added OpenAI Responses API support for codex, gpt-5, o3 and
o4 models.
- Added Google Vertex AI support for Claude models.
- Added Azure OpenAI and Google Gemini providers.
- Added thinking model support with configurable reasoning
levels.
- Added frequency-penalty and presence-penalty parameters.
- Added advisory model validation and the Vercel provider.
- The model catalog now comes from models.dev, and OpenAI-compatible
providers are routed automatically.
- Model notation changed from `provider:model` to `provider/model`.
- The selected model and thinking level are kept across
sessions.
- Automatic prompt caching reduces cost.
- Tools are disabled for models that do not support them.
- prompts:
- Added the `$+` required variadic placeholder, and code is
no longer parsed for placeholders.
- Prompts and extensions are reloaded automatically from the
XDG config.
- Added prompt templates.
- Custom prompts and skills are reloaded automatically when
their files change.
- read:
- Image files are returned to the model as viewable images.
- session:
- Added local and remote session management.
- Shared sessions include the system prompt and model.
- Added a session picker, history, `/name`, `/export`, `/import`
and `/share` with a session viewer.
- Empty sessions are cleaned up on shutdown and on `/resume`.
- `/new` creates a new session file.
- Added saved sessions.
- Default session storage is now durable, with atomic steps,
locking and crash repair.
- shell:
- Bang commands stream coloured output.
- Added the `!` and `!!` shell command prefixes, with a spinner
while they run.
- skills:
- Skills can be activated with `/<name>`, and the remaining
agentskills.io spec gaps were closed.
- Skills now fully comply with the agentskills.io spec.
- Added context loading, skills metadata, a default system
prompt and `/skill:name` expansion.
- subagent:
- Added `/kill-subagent` to stop running subagents.
- Child sessions are linked to their parent and can be resumed.
- An invalid model now returns an error immediately instead
of falling back silently.
- Added first-class subagent support for task delegation.
- Subagents now run in-process instead of as subprocesses.
- The subagent tool is always available, and subagents inherit
tools from their parent.
- subagents:
- Child conversations can be inspected natively.
- ui:
- Added the `/copy`, `/edit` (with a fuzzy file picker),
`/retry`, `/undo`, `/history` and `/model` slash commands.
- Added bordered containers and better styling to the session
and tree selectors.
- Added horizontal image tiles and a full image preview modal.
- Ls tool output and bash streaming output are truncated by
lines.
- `/model` and other popups use a reusable popup list rendered
as an overlay.
- Added a subagent status bar and run picker.
- The startup wordmark is animated with a shine and scanner
sweep.
- `/skill:<name>` slash commands are autocompleted.
- The steer keybinding changed to the `Ctrl+X s` leader chord.
- Syntax colors are derived from the theme, and palette
collisions were fixed.
- The spinner shows the subagent type.
- Image previews in the transcript are drawn with the Kitty
graphics protocol, and attached images get half-block
thumbnails.
- Live activity has its own row, and the surrounding chrome
is quieter.
- `@file` tokens in user messages are highlighted with the
accent color.
- Added character-level mouse text selection and copy, plus
visual selection highlighting.
- Added graceful quit through `/quit` and `Ctrl+C`.
- Slash command popups have better contrast with full-width
backgrounds.
- `/model` lists all models and disables those without
credentials.
- The startup banner lists loaded extensions and shows the
KIT logo.
- `/fork` creates a new session file.
- One gutter style throughout, quieter tool receipts and a
scalable splash screen.
- An external `$EDITOR` can be opened with the `Ctrl+X e`
chord.
- Polished the message navigation inspector and fixed the
markdown theme.
- Prompts with arguments now fill the input instead of
submitting automatically.
- Session history is rendered on `/resume` and `/import`.
- Scrollback is repainted when the theme changes.
- Terminal capabilities are detected lazily and per client.
- Subagent results are shown as a clean summary instead of
raw output.
- Bash output is streamed in the TUI with a command header,
a height cap and replacement by the tool result.
- Added `/new <prompt>` and `ctx.NewSession` for phase handoffs.
- A warning is shown when the provider reports no token usage.
- Added a `/theme` command with 22 built-in themes and
file-based discovery.
- Added a KITT-inspired theme system with unified markdown
colors and a KITT-style scanning spinner.
- The theme selection is kept across sessions.
- Added `@file` autocomplete and context attachment, with
MIME detection and MCP resource support.
- Added clipboard image paste (`Ctrl+V`) and copy and paste
support.
- Added interactive sudo password prompts for the bash tool.
- Added full alt screen mode with in-memory scrollback.
- Parallel tool execution is shown with a multi-tool status
display.
- Tool calls can be cancelled with double-ESC.
- Added message navigation and an inspector (`Ctrl+X m`).
- Added mid-turn steering.
- Added compact mode, autocomplete and smoother UI rendering.
- Overlays are drawn over the view instead of replacing it.
- Added an option to require approval before tool execution.
- General:
- Added multi-edit support to the edit tool.
- Token usage is updated after each step in multi-step turns.
- Added support for a system prompt.
- Added built-in HTTP functionality, a connection pool and
streaming output.
- Added a message window to keep the context from overloading.
- Added usage statistics and handling of overloaded errors.
- Added scripting support.
- Images returned by tools are supported.
- The maximum length of the prompt input was increased.
- Improved Ollama and GPU handling.
- Added a clear error message for gpt-codex-spark models.
* Bug Fixes
- acp:
- The ACP server now follows the ACP v1 spec.
- `mcpServers` defaults to an empty array for clients that
omit it.
- The startup message no longer appears in stdio output.
- Extensions now work in ACP mode.
- Fixed file attachments, thinking tag parsing and double-sent
thinking content.
- agent:
- Mid-turn `AddTools`/`RemoveTools` changes take effect at
the next LLM step.
- Improved streaming resilience and safe retries, including
retries for overload errors and permanent network errors.
- Anthropic prompt caching now works as intended.
- Kit recovers when the provider rejects image tool results.
- Tool call arguments are tracked per call for parallel calls.
- agents:
- Wired up the `--no-agents` option and clarified how agent
tool lists work.
- anthropic:
- `output_config.effort` is sent for effort-graded models.
- app:
- The layout resets after a widget is removed.
- Queued messages are sent after `/compact` completes.
- `ctx.NewSession` waits until the agent is idle.
- The queue stops draining when the app is closing.
- auth:
- OAuth credentials work in ACP mode, and tokens refresh
automatically.
- compaction:
- The API token baseline is kept after compaction.
- core:
- Bash streaming no longer stalls on oversized lines or
truncates output mid-drain.
- The read tool returns an error when used on a directory.
- daemon:
- An idle Escape key is delivered without waiting for more
input.
- Sockets are found across runtime environments.
- Hosted sessions get the caller's full environment.
- The terminal is handed back correctly, and the alt screen
is kept.
- Hardened escape-sequence handling and fixed `Ctrl-V` and
the detach chord under the kitty keyboard protocol.
- Same-daemon choices stay local.
- Session size and truecolor are kept across attach.
- The connection stays alive across a session switch.
- The pairing window stays open after a failed attempt, and
approvals queued after it expires are rejected.
- Remote sessions are listed on attach, and the client terminal
is forwarded.
- Client control requests and attach can be cancelled.
- Clipboard images are placed next to their destination.
- Terminal capabilities are refreshed in live sessions.
- A shared session grows back when its smallest client leaves.
- Terminal modes are replayed to clients that attach mid-session.
- Sessions whose client never learned their ID are retired.
- Sessions shut down reliably across daemon restarts.
- New sessions started from the picker run on the connected
host.
- The session is told which multiplexer the client runs in.
- Stdin is unblocked after a picker closes.
- The client terminal is cleaned up after a remote session
exits.
- Scrolling works again in reattached and busy sessions.
- extensions:
- go-edit-lint runs once per turn.
- Non-blocking subagent spawn returns a usable handle.
- Hot-reload keeps extension state consistent.
- Blocked or disabled tools return their reason to the LLM.
- Handler calls are serialized per extension to prevent data
races.
- Test files and non-extension subdirectories are no longer
loaded as extensions.
- Extension logging respects log levels.
- The manifest `Include` list is kept on update.
- Extension names for `main.go` use the immediate parent
directory.
- kit:
- Streaming is enabled for subagent child instances.
- System prompt file paths are resolved correctly.
- mcp:
- OAuth config is passed on to servers added at runtime.
- MCP tool failures are reported as soft errors instead of
critical aborts.
- models:
- Added gpt-5.4 reasoning level support with automatic
adjustment.
- New OpenAI models, gpt-6+ models and opencode gpt-*/grok-*
models are routed to the Responses API.
- Unpriced models are now distinguished from free ones.
- Stored OpenAI OAuth credentials are preferred over API keys.
- Provider-qualified catalog keys are resolved.
- Auto-discovered providers and opencode models are routed
by wire protocol.
- pkg:
- `<think>` tags in the stream are handled transparently.
- session:
- Session ownership, locking and crash repair were hardened.
- Sessions with lines longer than 1 MiB can be listed and
loaded.
- Tree diagnostics are logged at debug level.
- Kept messages are ordered before the post-compaction branch.
- Circular parent references in tree sessions are prevented.
- skills:
- Skill name collision logs go to the log file at info level.
- startup:
- The model selector opens on provider errors.
- steer:
- Steering messages are kept for the whole turn and are never
dropped.
- subagent:
- The resume session ID is shown in the tool result text.
- Duplicate MCP tool names and redundant reloads are prevented.
- Subagents no longer fail immediately because of a parent
context that has already ended.
- Removed a biased model example from the tool schema.
- tui:
- Log output goes to a file to prevent TUI corruption.
- ui:
- Token usage is added up across all steps of a turn, and
context tracking includes cache tokens.
- User messages have a subtle, uniform background with a
full-height left border.
- All blocks share one left edge and geometry, and messages
span the full width.
- Fixed redundant image preview redraws.
- Long lines are clipped in tool results.
- Queued messages are shown as styled, left-aligned, full-width
blocks with a QUEUED badge, and long ones are truncated.
- Fixed mouse selection offsets with reasoning blocks, extension
widgets, code blocks and streaming.
- The extension tool count only counts extension tools.
- The image preview mode is chosen from the detected terminal
capabilities.
- The slash command popup sizes its name column to fit and
is centered.
- Slash commands run in the TUI instead of being sent to the
LLM.
- The reasoning counter stops when the last token arrives.
- Usage costs are hidden for subscription OAuth providers.
- The activity row stays alive during message navigation.
- Plain shell output keeps the theme colour.
- Models without credentials can still be found in the model
selector.
- `Ctrl+C` clears the input first, and quitting needs a double
`Ctrl+C`.
- Messages are no longer rendered twice after reasoning-only
responses or interrupted turns.
- Auto-scroll is turned back on when a new message is submitted.
- Reduced visual noise and improved the layout.
- Typography and spinner frames refresh when the theme changes.
- The layout adjusts when the activity row appears or disappears,
or when the composer grows.
- Removed character limits from text inputs.
- Removed j/k navigation from fuzzy selectors.
- Autocomplete badges are theme-colored chips, and the
description of the current row stays visible.
- Selectors are rendered in the alt screen buffer.
- Fixed a queue deadlock.
- Startup info messages are shown in the correct order.
- MCP tools show up in `/tools` and the status bar after they
finish loading.
- Pasted image previews appear in the input and the transcript.
- Confirmations are no longer shown twice.
- Diffs no longer overflow narrow terminals.
- Assistant, user and reasoning messages wrap to the terminal
width.
- Tool error output is shown in a caution block.
- watcher:
- New subdirectories are watched for skill and prompt reload.
- Removed debug logging that corrupted the TUI.
- General:
- `/tree` and `/fork` no longer lose context.
- Malformed properties no longer cause a panic.
- ESC now actually cancels the agent response, and completed
messages and tool calls are kept.
- Shell command output is truncated to the same limits as the
bash tool.
- Conflicting temperature/top_p settings are cleared for the
Anthropic API.
- Orphaned terminal rows and blank lines at the bottom of the
TUI are cleared.
- JSON Schema draft-07 exclusive bounds are converted to
draft-04.
- Fixed fuzzy match positions and diff generation in the edit
tool.
- Token usage and cost tracking are correct for multi-step
tool calls, and double-counting was removed.
- Fixed a crash when sending tool results with Anthropic and
Google.
- Diff and code background colors come from the active theme.
- Subagents no longer inherit the parent's deadline.
- "Finished without output" is no longer shown for empty
assistant messages.
- Escape sequences no longer leak from the spinner.
- Message blocks always appear below earlier content in
scrollback.
- Readable text is extracted from MCP tool results instead
of raw JSON.
- Bad model names in subagents are handled, and bare model
names inherit the parent provider.
- Custom provider model persistence and bare model names are
handled.
- Improved input keybindings, user message rendering and
scrollback ordering.
- Pasted images are included in steering messages.
- The vim interceptor stays active so Esc returns to normal
mode.
- Anthropic `cache_control` blocks are limited to 4.
- The TUI adapts to terminal resizing at any size.
- The `.wav` MIME type is normalized to `audio/wav`.
- The `SHELL` environment variable is set to bash for command
execution.
- Image file parts are passed to the model.
- Full content is kept in scrollback.
- The bash tool no longer hangs on long-running or background
processes.
- Fixed a double-speed spinner animation.
- Fixed duplicate text when streaming content is flushed
before tool calls.
- A null `required` in MCP tool schemas no longer breaks the
OpenAI API.
- Tags from Qwen/DeepSeek models are handled.
- Removed the line-number gutter from ls tool output.
- Reasoning blocks are rendered when sessions are resumed.
- Mid-turn steering messages are rendered immediately.
- Token tracking is reliable, and `/new` resets usage.
- Before-hook callbacks no longer deadlock the TUI.
- Fixed the streaming display in script mode and compact mode
in scripts.
- Long lines are truncated instead of wrapped in tool messages.
- Thinking output blocks have a uniform background.
- Token counting is updated when switching models mid-session.
- Fixed a panic by upgrading eino.
- Fixed OpenAI `reasoning_content`, the OpenAI Codex endpoint,
headers, instructions parameter, model family detection and
`max_output_tokens` handling.
- Fixed issues with the Anthropic, OpenAI and Ollama providers,
and Google number/integer types.
- Fixed autoscroll, deadlocks, message batching and cancellation
persistence.
- The system prompt is kept when switching models in interactive
mode.
- Fixed simultaneous requests.
- Fixed the missing object schema properties error for tools
without input parameters.
- Fixed tool call content messages and stopped buffering tool
calls and responses.
- Fixed usage widget visibility at startup and its updates
on stop.
- Tool arguments that are empty or malformed are sanitized.
- Scrolling past the bottom of content is prevented.
* Maintenance
- models:
- The embedded model catalog was refreshed, and dead aliases
were removed.
- ui:
- Thinking blocks use subdued, colour-coded italic text.
- Keybindings work better in terminal multiplexers.
- Message spacing and styling are more consistent.
- Removed the splash stripe.
- The session picker uses the shared popup list, like all
other popups.
- Message and tool output rendering moved to the herald
typography library.
- Tool names in the spinner are simpler.
- The KITT scanner LEDs are segmented and the logo text is
centered.
- The Read tool gutter matches the Write tool.
- General:
- Markdown rendering moved to herald-md.
- The edit tool no longer has a separate single-edit mode.
- A multi-select is shown automatically when a repository
holds several extensions, and extension discovery in mixed
repositories was fixed.
- Mouse select and copy were temporarily disabled.
- What was new in version 0.129.0
* Features
- acp:
- Added ACP server mode (`kit acp`).
- Added permissions, client file system and terminal access,
slash commands, plans, and authentication error reporting.
- Added the `session/set_model` method.
- Added file attachments and thinking tag parsing.
- agent:
- The agent resumes failed streaming steps after transient
errors.
- Tool calls can run in parallel, and a status display shows
multiple tools.
- A tool call can be cancelled with double-ESC.
- Added an option to require approval before a tool runs.
- Added mid-turn steering.
- Prompt caching is applied automatically to reduce cost.
- A message window keeps the context from getting overloaded.
- Tools are disabled for models that do not support them.
- agents:
- Added named agent definitions with per-agent tool restrictions.
- auth:
- Kit can start without API keys, and a `/connect` dialog
lets you enter a key.
- Added OpenAI ChatGPT/Codex OAuth, GitHub Copilot login, and
Claude Max authentication.
- codemode:
- Added a code mode tool that runs JavaScript, which can call
other tools.
- compaction:
- Added the `/compact` command with token-based compaction.
- Compaction handles split turns, tracks files, and keeps
history instead of deleting it.
- Added adaptive budgets, token estimation over full message
parts, and anchored summaries.
- Kit compacts automatically and retries when the context
overflows.
- Compaction summaries are streamed.
- Added compact mode.
- config:
- Custom models can be defined in the configuration file.
- Custom models can have their own `baseUrl`, `apiKey`, and
`apiModelName`.
- Added the `noOAuth` flag to skip OAuth on public MCP servers.
- Added environment variable substitution, YAML configuration,
and `env` in MCP server configuration.
- Bash tool timeouts can be set in `kit.yml`.
- Core tools can be disabled.
- The theme can be set in the configuration.
- daemon:
- Added daemon mode with remote sessions over iroh.
- Added a single-instance lock, a status query, and a systemd
user service.
- One daemon endpoint can serve multiple sessions, and each
session is torn down separately.
- Sessions can be detached and reattached, and several clients
can share one session.
- Detachable sessions are the default when a daemon runs.
- Added local sessions, a session multiplexer, and a multi-host
hub.
- Remote access uses pairing.
- Images can be pasted in remote sessions, with a preview.
- The Rust tunnel sidecar was replaced by an in-process
transport.
- Sessions survive a daemon restart.
- extensions:
- Added the in-process extension system, with event handlers,
tool and command registration, and styled output.
- Extensions are hot-reloaded when their files change, and a
`/reload-ext` command was added.
- Extensions can be loaded from a system-wide directory.
- Extensions can be installed from git repositories with `kit
install`. When a repository has several extensions, a
multi-select is shown.
- Added custom widgets, widget slots, header and footer
regions, custom tool rendering, and custom message rendering.
- Added modal overlay dialogs and interactive prompts (select,
confirm, input, multi-select).
- Added an editor interceptor, inline bash expansion in the
editor, and editor text access.
- Added keyboard shortcuts with more robust registration and
dispatch, plus tab-completion for slash command arguments.
- Added theme registration, theme switching, and `ctx.GetTheme()`.
- Added APIs for session management, persistence, the status
bar, UI visibility, context statistics, terminal size,
thinking level, turn state, model pricing, and OAuth status.
- Added context functions `Abort`, `IsIdle`, `Compact`,
`SendMessage`, `SendMultimodalMessage`, `GetSessionUsage`,
`NewSession`, and `Exit`.
- Added the events `OnLLMUsage`, `OnContextPrepare`,
`OnModelChange`, `OnBeforeFork`, `OnBeforeSessionSwitch`,
`OnBeforeCompact`, and `ToolOutputEvent`, plus an enriched
`AgentEndEvent`.
- Tool events carry richer metadata.
- Added `SetState`, an event bus, tool and model management,
LLM completion, and steer mode.
- Added subagent event streaming (`OnEvent`, `SubscribeSubagent`).
- Added tree navigation, skills, templates, and model resolution.
- The TUI can be suspended.
- Extension types are exported from `pkg/extensions`.
- Added access to environment variables and a GitHub handler
extension.
- Added example extensions: popup terminal, subagent monitor,
subagent widget, go-edit-lint, LSP diagnostics, kit-kit
meta-agent, and Telegram.
- Subagent monitor panes show the agent name.
- github:
- The GitHub integration works end to end through a core
command and an action.
- hooks:
- Added a hooks system for lifecycle events.
- Hooks can send feedback to the LLM.
- Per-step tool choice is exposed through `OnPrepareStep`.
- mcp:
- Added OAuth for remote MCP servers.
- MCP servers can be loaded and unloaded at runtime.
- Embedded resources in prompt messages are handled.
- Added SSE servers with Authorization header support, and
custom HTTP headers.
- Added a connection pool and built-in HTTP functionality.
- models:
- Model data now comes from models.dev, and OpenAI-compatible
providers are routed automatically.
- Model notation changed from `provider:model` to `provider/model`.
- Added the Vercel provider, advisory model validation, and
a command to update the model list.
- Added Google Gemini, Azure OpenAI, and Google Vertex AI
(Claude models).
- Added the OpenAI Responses API for codex, gpt-5, o3, and
o4 models.
- Added thinking models with configurable reasoning levels.
- Reasoning levels, tiered pricing, and model status come
from the catalog.
- Added per-model generation parameter defaults and per-model
system prompts.
- Added frequency penalty and presence penalty parameters.
- Added experimental mode controls in the TUI.
- Kit warns when output is truncated by the max-tokens limit
and tries to prevent it.
- The `x-opencode-session` header is sent to opencode providers.
- Updated model aliases for Anthropic, OpenAI, and Google
Gemini.
- The selected model and thinking level are kept across
sessions.
- A system prompt can be set.
- prompts:
- Added prompt templates.
- Added the `$+` required variadic placeholder. Code is no
longer treated as placeholders.
- Prompts, skills, and extensions reload automatically,
including from the XDG configuration directory.
- read:
- Image files are returned to the model as images it can view.
- session:
- Added saved sessions, a session picker, history, `/name`,
`/export`, `/import`, and `/history`.
- Added local and remote session management.
- Added `/share` and a session viewer. Shared sessions include
the system prompt and model.
- `/new` and `/fork` create new session files.
- Compaction starts a new leaf with no parent.
- Empty sessions are removed at shutdown and on `/resume`.
- Session storage is more durable: steps are written atomically,
files are locked, and damaged files are repaired after a
crash.
- shell:
- Added the `!` and `!!` shell command prefixes. A spinner
shows while they run, and their output is streamed in colour.
- Added an interactive sudo password prompt for the bash tool.
- edit:
- The edit tool can make multiple edits in one call.
- skills:
- Skills follow the agentskills.io specification fully.
- Skills can be activated with `/<name>` or `/skill:<name>`.
- Added context file loading, skills metadata, and a default
system prompt.
- subagent:
- Added first-class subagents for task delegation. They run
in-process, inherit the parent's tools, and the subagent
tool is always available.
- Child sessions are linked to their parent and can be resumed.
- Added `/kill-subagent` to stop running subagents.
- Added inspection of child conversations, a subagent status
bar, and a run picker.
- An invalid model now returns an error early instead of
falling back silently.
- ui:
- Added a full alt-screen mode with in-memory scrollback.
- Added the slash commands `/model` (fuzzy selector shown as
an overlay), `/theme` (22 built-in themes), `/copy`, `/edit`
(fuzzy file picker), `/retry`, `/undo`, and `/quit`.
- `/model` lists all models and disables the ones without
credentials.
- `/new <prompt>` starts a new session with a prompt.
- Prompt templates with arguments now fill the input instead
of being sent at once.
- Added `@file` autocomplete and attachments, with MIME
detection and MCP resources. `@file` tokens are highlighted.
- Added clipboard image paste (Ctrl+V) and copy and paste.
- Added character-level mouse selection and copy, with
theme-coloured highlighting.
- Image previews use the Kitty graphics protocol, half-block
thumbnails, horizontal tiles, and a full preview modal.
- Added message navigation and an inspector (Ctrl+X m). The
inspector shows full tool arguments and full grep and ls
results.
- Steering moved to the Ctrl+X s chord, and Ctrl+X e opens
the external `$EDITOR`.
- Keybindings work better inside terminal multiplexers.
- Bash output is streamed, shows a command header, and is
capped in height and line length.
- Live activity has its own row, and tool output is quieter.
- Added a KITT-style theme system and scanning spinner, plus
an animated startup wordmark.
- Syntax colours come from the theme, and the scrollback is
repainted when the theme changes.
- The theme selection is kept across sessions.
- The session and tree selectors have borders. All popups use
the same list style with better contrast.
- The startup banner lists loaded extensions.
- Subagent results are shown as a clean summary, and the
spinner shows the subagent type.
- Session history is shown on `/resume` and `/import`.
- Terminal capabilities are detected lazily and for each
client.
- Kit warns when a provider reports no token usage.
- Token usage is updated after each step.
- Thinking blocks have new styling.
* Bug Fixes
- acp:
- The ACP server follows the ACP v1 specification.
- `mcpServers` defaults to an empty array when a client leaves
it out.
- The startup message is no longer written to stdio.
- Extensions work in ACP mode.
- OAuth credentials work in ACP mode and tokens are refreshed
automatically.
- Thinking content is no longer sent twice.
- agent:
- Streaming is more resilient, and retries are safe. Overload
errors are retried.
- Anthropic prompt caching now works. Kit uses no more than
four cache blocks, and temperature and top_p no longer
conflict.
- Kit recovers when a provider rejects image tool results.
- Tools added or removed mid-turn take effect at the next
step.
- Tool call arguments are tracked correctly for parallel
calls.
- ESC really cancels the response. Completed messages and
tool calls are kept.
- The `output_config.effort` setting is sent for Anthropic
models that support effort levels.
- Fixed crashes when sending tool results to Anthropic and
Google.
- `<think>` tags from Qwen and DeepSeek models are handled.
- MCP tool schemas with a null `required` field no longer
break the OpenAI API.
- JSON Schema draft-07 exclusive bounds are converted to
draft-04.
- Tools without input parameters no longer fail with a missing
object properties error.
- Empty or malformed tool arguments are cleaned up.
- app:
- Queued messages are sent after `/compact` completes.
- `ctx.NewSession` waits until the agent is idle.
- The layout resets after a widget is removed.
- compaction:
- The token baseline is kept after compaction.
- core:
- The bash tool no longer hangs on long-running or background
processes, and its output is no longer truncated.
- Commands run with `SHELL` set to bash.
- The read tool returns an error when used on a directory.
- The edit tool maps fuzzy matches and generates diffs
correctly.
- daemon:
- The terminal is returned cleanly after a remote session
ends, and the alt screen is kept.
- Terminal size, truecolor, terminal modes, and capabilities
are kept across attach and refreshed in live sessions.
- The connection stays open across a session switch.
- Escape, Ctrl-V, and the detach chord work under the kitty
keyboard protocol.
- Sockets are found in different runtime environments, and
hosted sessions get the caller's full environment.
- Remote sessions are listed on attach, and new sessions start
on the connected host.
- A shared session grows back when its smallest client leaves.
- The pairing window stays open after a failed attempt.
Approvals that arrive after it expires are rejected.
- Sessions shut down predictably across daemon restarts.
- The tunnel is protected against stalled or excess connections.
- extensions:
- Blocked or disabled tools now give the LLM the reason.
- Handler calls are serialized per extension to prevent data
races.
- Test files and non-extension example directories are skipped.
- Logging follows log levels.
- The manifest `Include` is kept when an extension is updated.
- Subagents can be spawned without blocking, and you get a
usable handle.
- mcp:
- OAuth configuration is applied to servers added at runtime.
- MCP tool failures are reported as soft errors.
- MCP tool results show readable text instead of raw JSON.
- models:
- Added reasoning levels for gpt-5.4.
- New OpenAI models, gpt-6+ models, and opencode gpt-* and
grok-* models are routed to the Responses API.
- Auto-discovered providers and opencode models are routed
by their wire protocol.
- Provider-qualified catalog keys resolve correctly.
- Unpriced models are no longer shown as free.
- A stored OpenAI OAuth login is used before API keys.
- Custom provider models and bare model names are saved
correctly.
- The system prompt is kept when you switch models.
- session:
- Sessions with lines longer than 1 MiB can be listed and
loaded.
- Circular parent references are prevented.
- Kept messages come before the post-compaction branch.
- `/tree` and `/fork` no longer lose context.
- Reasoning blocks are shown when a session is resumed.
- startup:
- The model selector opens when the provider reports an error.
- steer:
- Steering messages are kept for the whole turn and are never
dropped. Pasted images are included.
- subagent:
- The resume session ID is shown in the tool result.
- Duplicate MCP tool names and unneeded reloads are prevented.
- Subagents no longer fail at once when the parent context
is gone, and they no longer inherit the parent's deadline.
- Bad or bare model names are handled, and bare names use the
parent's provider.
- Subagents stream their output.
- ui:
- Log output goes to a file so it does not corrupt the TUI.
- Token usage and context tracking are accurate, including
cache tokens, multi-step turns, and model switches. `/new`
resets usage.
- Usage costs are hidden for subscription OAuth providers.
- Messages, reasoning blocks, and tool output wrap or are
truncated to the terminal width.
- The TUI adapts to terminal resizing.
- All blocks are full width and aligned on one left edge,
with even backgrounds.
- Messages are no longer duplicated or rendered twice, including
after interrupted turns.
- Slash commands are run in the TUI instead of being sent to
the LLM.
- Ctrl+C clears the input first, and quitting needs Ctrl+C
twice.
- Queued messages are shown as styled blocks with a QUEUED
badge, and a queue deadlock was fixed.
- Mouse selection no longer drifts.
- MCP tools appear in `/tools` and the status bar after they
finish loading.
- The diff view fits narrow terminals.
- The spinner, typography, and diff and code backgrounds
follow the active theme.
- Auto-scroll is turned back on when a new message is sent,
and scrolling works in reattached and busy sessions.
- The input fields no longer have a character limit, and the
transcript resizes when the input grows.
- Uncredentialed models can still be found in the model
selector.
- watcher:
- New subdirectories are watched so skills and prompts reload.
* Other Changes
- edit:
- The single-edit mode of the edit tool was removed.
- ui:
- Text selection and copy are disabled for now.
- The KITT scanner LEDs are segmented.
- Tool names in the spinner are shorter.
- What was new in version 0.128.0
* Features
- acp:
- Added an ACP server mode.
- Added permissions, client filesystem and terminal access,
slash commands, plans and auth error reporting.
- Added support for the session/set_model method.
- agents:
- Added named agent definitions with per-agent tool restrictions.
- app:
- Token counts and context fill now update after every step.
- auth:
- Kit can now start without API keys, and a new /connect
dialog lets you enter a key.
- Added OpenAI ChatGPT/Codex OAuth authentication alongside
Anthropic authentication.
- Added GitHub Copilot login.
- codemode:
- Added a code mode tool that runs JavaScript which can call
other tools.
- compaction:
- Added adaptive budgets, full-part token estimation and
anchored summaries.
- Kit now compacts automatically and retries when the context
overflows.
- Improved compaction with split-turn handling, file tracking
and non-destructive persistence.
- Compaction summaries now stream.
- Added a /compact command with token-based compaction.
- Compaction now creates a new leaf with no parent.
- config:
- Added a noOAuth flag to skip OAuth on public MCP servers.
- Custom models can now have their own baseUrl and apiKey.
- Custom models can now be defined in the config file.
- Bash tool timeouts can now be set in kit.yml.
- Environment variables can now be set in the MCP config.
- Added environment variable substitution in the configuration.
- YAML configuration files are now supported.
- Added theme configuration.
- Core tools can now be disabled in the configuration.
- daemon:
- Added a daemon mode with remote sessions over iroh.
- Sessions can now be detached, reattached and shared between
several clients.
- Added local sessions, a session multiplexer and a multi-host
hub.
- Detachable sessions are now the default when a daemon runs.
- Added pairing-based remote access.
- Pasted images now work in remote sessions, with an image
preview.
- The Rust tunnel sidecar was replaced with an in-process
go-iroh transport.
- Sessions now survive a daemon restart, and the protocol
version is stable.
- The daemon now runs as a single instance, can report its
status and can run as a systemd user service.
- One endpoint can now serve multiple sessions, and each
session can be torn down on its own.
- extensions:
- Added a Yaegi-based in-process extension system with event
handlers, tool and command registration, and styled output.
- Added Abort, IsIdle, Compact, SendMultimodalMessage,
GetSessionUsage and SendMessage to the extension context.
- Added a GitHub handler extension and environment variable
access.
- Added OnLLMUsage, SetState and a richer AgentEndEvent.
- Added ctx.GetTheme() to read the active theme and an API
to register and switch themes.
- Added custom widget rendering, widget slots for persistent
TUI content, and custom header and footer regions.
- Added hot-reload with file watching and a /reload-ext
command.
- Added APIs for terminal size, thinking level and turn state.
- Inline bash in the editor is now expanded in interactive
mode.
- ToolOutputEvent is now available to extensions.
- Model pricing and OAuth status are now available to extensions.
- Keyboard shortcut registration and dispatch are more robust.
- Extensions can now be loaded from a system-wide directory.
- Subagent monitor panes now show the agent name.
- Added OnContextPrepare to filter and inject content into
the context window.
- Added OnModelChange and ctx.Exit().
- Added OnEvent and SubscribeSubagent for real-time subagent
event streaming.
- Added UIVisibility and GetContextStats APIs, and compact
tool renderers.
- Added custom tool rendering, custom message rendering, and
TUI suspend.
- Added an editor interceptor system.
- Added interactive prompts (select, confirm, input) and modal
overlay dialogs.
- Added keyboard shortcuts, tool context and a source field
on ToolCallEvent.
- Added rich tool metadata to extension events.
- Added session before-hooks (OnBeforeFork, OnBeforeSessionSwitch)
and OnBeforeCompact.
- Added APIs for session management, persistence, editor text
and the status bar.
- Added tool management, model management, options, an event
bus, LLM completion and steer mode.
- Exposed tree navigation, skills, templates and model
resolution to extensions.
- Added tab completion for extension slash command arguments.
- Added an extension testing package.
- Added extensions that are distributed through git with an
install command, with multi-select when a repository contains
several extensions.
- Added example extensions: popup terminal, go-edit-lint,
kit-kit meta-agent, subagent monitor, subagent widget,
status footer, LSP diagnostics, kit-telegram and others.
- github:
- The GitHub integration now works end to end through a core
command and a GitHub action.
- hooks:
- Added a hooks system for lifecycle events.
- Hooks can now give feedback to the LLM.
- Per-step ToolChoice is now available through OnPrepareStep.
- mcp:
- Added OAuth support for remote MCP servers.
- MCP servers can now be loaded and unloaded at runtime.
- Embedded resources in prompt messages are now handled.
- Added support for SSE servers, remote SSE servers and
Authorization headers.
- Added a connection pool.
- models:
- Added an apiModelName field to custom model configuration.
- Added experimental mode controls to the TUI.
- Added per-model defaults for generation parameters.
- Added per-model system prompts.
- Reasoning levels, tiered pricing and status now come from
the model catalog.
- Default URLs are now resolved for all registered providers.
- The x-opencode-session header is now sent to opencode
providers.
- Kit now reports max-tokens truncation and prevents it where
possible.
- Model notation changed from provider:model to provider/model.
- The model catalog now comes from models.dev, and OpenAI-compatible
providers are routed automatically.
- Added advisory model validation, a model update command and
a Vercel provider.
- Added support for thinking models with configurable reasoning
levels.
- Added the OpenAI Responses API for codex, gpt-5, o3 and o4
models.
- Added Google Vertex AI support for Claude models.
- Added the Azure OpenAI provider and Google Gemini support.
- Updated model aliases for Anthropic, OpenAI and Google
Gemini.
- Added frequency-penalty and presence-penalty parameters.
- Prompt caching is now automatic to reduce cost.
- The model selection and thinking level are now kept across
sessions.
- Tools are now disabled for models that do not support them.
- Added a clear error message for gpt-codex-spark models.
- prompts:
- Added prompt templates.
- Added the $+ required variadic placeholder, and code is now
skipped when placeholders are parsed.
- Prompts, skills and extensions are reloaded automatically
from the XDG config when their files change.
- read:
- Image files are now returned to the model as viewable images.
- sandbox:
- Added an official Kit sandbox image.
- session:
- Added local and remote session management.
- Shared sessions now include the system prompt and the model.
- Added /share and a session viewer.
- Added a session picker, history, /name, /export and /import.
- Added saved sessions.
- Default session storage is now durable, with atomic steps,
locking and crash repair.
- Empty sessions are now removed on shutdown and on /resume.
- /new and /fork now create a new session file.
- shell:
- Added the ! and !! shell command prefixes.
- Bang commands now stream coloured output and show a spinner
while they run.
- The bash tool can now ask for a sudo password interactively.
- skills:
- Skills can be activated with /<name>, and Kit now fully
follows the agentskills.io spec.
- Added context loading, skills metadata, a default system
prompt and /skill:name expansion.
- subagent:
- Added first-class subagent support for task delegation.
- Subagents now run in-process instead of as subprocesses.
- Added /kill-subagent to stop running subagents.
- Child sessions are linked to their parent and can be resumed.
- An invalid model now returns an error early instead of
silently falling back.
- Added native inspection of child conversations.
- Subagents now inherit tools from their parent, and the
subagent tool is always available.
- tools:
- The edit tool now supports multiple edits.
- Tools now run in parallel, with a status display for several
tools.
- Tool calls can be cancelled with a double ESC without
breaking API pairs.
- Added an option to require approval before a tool runs.
- Added built-in HTTP functionality.
- Tools can now return images.
- ui:
- Added /copy, /edit (with a fuzzy file picker), /retry,
/undo, /history, /model, /theme and /quit.
- Added 22 built-in themes, file-based theme discovery and a
KITT-inspired theme system; the theme selection is kept
across sessions.
- Added @file autocomplete and context attachment, with MIME
detection and MCP resource support.
- @file tokens in user messages are highlighted.
- Added clipboard image paste (Ctrl+V), half-block thumbnails,
horizontal image tiles, a full image preview and Kitty
graphics protocol previews.
- Added copy and paste support, character-level mouse text
selection and visual selection highlighting.
- Added mid-turn steering; the steer keybinding is now the
Ctrl+X s chord.
- Ctrl+X e opens the external $EDITOR.
- Added message navigation and an inspector (Ctrl+X m) that
shows full tool arguments and full grep and ls results.
- Added a subagent status bar and run picker; the spinner
shows the subagent type, and subagent results are shown as
a clean summary.
- Added a full alt screen mode with in-memory scrollback.
- Bash output streams in the TUI with a command header, a
capped height and line truncation.
- The ls tool output is truncated and has no line-number
gutter.
- The startup wordmark is animated, the KITT logo appears at
startup, and the spinner is a KITT-style scanner.
- Live activity has its own row, and the surrounding chrome
is quieter.
- Syntax colors come from the theme, and the scrollback is
repainted when the theme changes.
- /model lists all models and disables the ones without
credentials.
- The startup banner lists loaded extensions.
- Prompts with arguments now fill the input instead of being
submitted automatically.
- /resume and /import now show the session history.
- /new accepts a prompt for phase handoffs.
- Terminal capabilities are detected lazily and per client.
- A warning is shown when a provider reports no token usage.
- Token usage updates after each step in multi-step turns.
- The session and tree selectors have a bordered container
and better styling.
- The slash command popup has better contrast, and /model is
shown as an overlay.
- Keybindings work better in terminal multiplexers.
- Thinking blocks have subdued, color-coded styling.
- Added autocomplete.
- Added a compact mode.
- All overlays are now drawn on top of the view.
- general:
- Added a mode to run without project context.
- Added a JSON output mode for non-interactive prompts.
- Added @file references in non-interactive mode.
- Added an option to skip TLS verification for self-signed
certificates.
- Added a non-interactive mode and scripting mode.
- Added system prompt support.
- Added a message window to prevent context overload.
- Added usage statistics and handling of overloaded errors.
* Bug Fixes
- acp:
- The ACP server now follows the ACP v1 spec.
- mcpServers now defaults to an empty array when a client
does not send it.
- The startup message no longer appears in stdio output.
- Extensions now work in ACP mode.
- OAuth credentials now work in ACP mode, and tokens refresh
automatically.
- Fixed file attachments, thinking tag parsing and duplicate
thinking content.
- Fixed file path handling and plan replay.
- agent:
- Added more robust streaming and safe retries.
- Anthropic prompt caching is now effective.
- Kit now recovers when a provider rejects image tool results.
- Overload errors are retried.
- Tools added or removed mid-turn take effect at the next
step.
- Tool call arguments for parallel calls are tracked correctly.
- A blocked tool call no longer ends the turn.
- The agent loop ends when a tool returns Halt.
- anthropic:
- output_config.effort is now sent for effort-graded models.
- Conflicting temperature and top_p values are cleared.
- Cache control blocks are limited to four.
- Fixed a crash when sending tool results to Anthropic and
Google.
- app:
- Queued messages are sent after /compact completes.
- ctx.NewSession waits for the agent to become idle.
- The layout resets after a widget is removed.
- The queue stops draining when the app closes.
- compaction:
- The API token baseline is kept after compaction.
- core:
- The read tool returns an error when used on a directory.
- Bash output is no longer truncated while it is being read,
and oversized lines no longer block streaming.
- The bash tool no longer hangs on long-running or background
processes.
- SHELL is set to bash when commands run.
- Fixed fuzzy match positions and diff generation in the edit
tool.
- daemon:
- Sockets are found across different runtime environments.
- Hosted sessions get the full environment of the caller.
- The terminal is handed back correctly, the alt screen is
kept, and the sidecar is never orphaned.
- Escape handling, Ctrl-V and the detach chord work correctly,
including with the kitty keyboard protocol.
- Session size, truecolor and terminal modes are kept across
attach.
- The connection stays alive across a session switch.
- The pairing window stays open after a failed attempt, and
approvals after it expires are rejected.
- Remote sessions are listed on attach, and the client terminal
is forwarded.
- Client control requests and attach can be cancelled.
- Clipboard images are published next to their destination.
- Terminal capabilities are refreshed in live sessions.
- A shared session grows again when its smallest client leaves.
- Sessions shut down reliably across daemon restarts.
- New sessions from the picker start on the connected host.
- The session knows which multiplexer the client runs in.
- Stdin is unblocked after a picker closes.
- The client terminal is cleaned up after a remote session
exits.
- Scrolling works in reattached and busy sessions.
- extensions:
- go-edit-lint runs once per turn.
- Non-blocking subagent spawn returns a usable handle.
- Blocked or disabled tools return their reason to the LLM.
- Handler calls are serialized per extension to prevent data
races.
- Test files and non-extension example directories are skipped.
- Logging respects log levels.
- The manifest Include field is kept on update.
- Extension names for main.go files use the parent directory.
- mcp:
- OAuth configuration is applied to servers added at runtime.
- MCP tool failures are soft errors instead of critical aborts.
- Readable text is shown for MCP tool results instead of raw
JSON.
- A null 'required' field in MCP tool schemas no longer breaks
the OpenAI API.
- JSON Schema draft-07 exclusive bounds are converted to
draft-04.
- Tools without input parameters no longer cause a missing
properties error.
- Empty or malformed tool arguments are handled.
- models:
- Added gpt-5.4 reasoning level support with automatic
adjustment.
- New OpenAI models, gpt-6+ models, and opencode gpt-* and
grok-* models are routed to the Responses API.
- Unpriced models are shown differently from free models.
- Stored OpenAI OAuth credentials take priority over API keys.
- Provider-qualified catalog keys are resolved.
- Auto-discovered providers are routed by wire protocol.
- <think> tags from Qwen and DeepSeek models are handled.
- Fixed persistence of custom provider models and bare model
names.
- Fixed the OpenAI Codex endpoint, headers and model family
detection.
- Fixed Ollama, OpenAI and Anthropic issues.
- The system prompt is kept when you switch models in interactive
mode.
- session:
- Sessions with lines longer than 1 MiB can be listed.
- Kept messages are ordered before the post-compaction branch.
- Circular parent references are prevented.
- Session writes are safer, with locking, ownership checks
and repair of damaged lines.
- /tree and /fork no longer lose context.
- Completed messages and tool calls are kept when you cancel
with ESC.
- Reasoning blocks are shown when a session is resumed.
- skills:
- Skill name collisions are logged to a file.
- startup:
- The model selector opens on provider errors.
- steer:
- Steering messages are kept for the whole turn and are never
dropped.
- Pasted images are included in steering messages.
- subagent:
- The resume session ID is shown in the tool result.
- Duplicate MCP tool names and unnecessary reloads are
prevented.
- Subagents no longer fail at once because of a dead parent
context or the parent deadline.
- Bad model names are handled, and bare model names use the
parent provider.
- Streaming works for subagents.
- ui:
- Token usage and cost tracking are correct across steps,
cache tokens and model switches; /new resets usage.
- Usage costs are hidden for subscription OAuth providers.
- Messages, reasoning blocks and tool output wrap or truncate
correctly at the terminal width.
- Fixed layout alignment, background banding, borders and
spacing of message blocks.
- Mouse selection no longer drifts or is offset.
- Slash commands run in the TUI instead of being sent to the
LLM.
- Ctrl+C clears the input first and must be pressed twice to
quit.
- Textarea inputs have no character limit, and the transcript
resizes when the input grows.
- Queued messages are shown correctly, and a queue deadlock
was fixed.
- MCP tools appear in /tools and the status bar after async
loading.
- Pasted image previews are shown in the input and the
transcript.
- Responses are no longer duplicated after an interrupted
turn or a reasoning-only response.
- Confirmations are no longer shown twice.
- Diffs no longer overflow narrow terminals.
- The spinner, typography and colors update on theme change.
- The slash command popup is centred and its name column is
sized dynamically.
- Fuzzy selectors no longer use j/k navigation.
- The vim interceptor stays active so Esc returns to normal
mode.
- ESC now cancels the agent response.
- Log output goes to a file so it does not corrupt the TUI.
- The TUI responds to terminal resizing at any size.
- Autoscroll works for streaming messages, and scrolling stops
at the bottom.
- The reasoning duration counter stops at the right time.
- watcher:
- New subdirectories are watched for skill and prompt reload.
- general:
- Malformed properties no longer cause a panic.
- .wav files use the audio/wav MIME type.
- Fixed deadlocks and handling of simultaneous requests.
- What was new in version 0.127.0
* Features
- acp:
- Added permissions, client file system and terminal access,
slash commands, plans and authentication error reporting.
- Implemented the `session/set_model` ACP method.
- Added an ACP server mode.
- agents:
- Added named agent definitions with per-agent tool restrictions.
- app:
- Token counts and context fill are now updated after every
step.
- auth:
- Kit can now start without API keys, and a `/connect` dialog
was added for entering keys.
- codemode:
- Added a code mode tool that runs JavaScript which can call
other tools.
- compaction:
- Added adaptive budgets, full-part token estimation and
anchored summaries.
- Kit now compacts automatically and retries when the context
overflows.
- Added the `/compact` command with token-based compaction.
- Compaction summaries now stream.
- Improved compaction with split-turn handling, file tracking
and non-destructive persistence.
- config:
- Added a `noOAuth` flag to skip OAuth on public MCP servers.
- Added per-model `baseUrl` and `apiKey` for custom models.
- Custom models can now be defined in the config file.
- Bash tool timeouts can now be set in `kit.yml`.
- daemon:
- Added a daemon mode with iroh-based remote sessions.
- Added detach, reattach and shared multi-client sessions.
- Sessions are now detachable by default when a daemon runs.
- Added local sessions, a session multiplexer and a multi-host
hub.
- Added pairing-based remote access.
- Images can now be pasted over remote sessions, with an image
preview.
- The separate tunnel sidecar was replaced by an in-process
go-iroh transport.
- Sessions now survive a daemon restart, and the protocol
constant is stable.
- Added a single-instance lock, a status report and a systemd
user service.
- Multiple sessions can now run over one endpoint, with
per-session teardown.
- extensions:
- Added `Abort`, `IsIdle`, `Compact`, `SendMultimodalMessage`
and `GetSessionUsage` to the extension context.
- Added a GitHub handler extension and access to environment
variables.
- Added `OnLLMUsage` and `SetState`, and enriched `AgentEndEvent`.
- Added `ctx.GetTheme()` for reading the active theme.
- Added custom widget rendering.
- Added hot-reload with file watching and a `/reload-ext`
command.
- Added a popup-terminal example with a persistent shell.
- Added APIs for terminal size, thinking level and turn state.
- Inline bash is now expanded in the editor in interactive
mode.
- Exposed `ToolOutputEvent` to extensions.
- Exposed model pricing and OAuth status.
- Hardened keyboard shortcut registration and dispatch.
- Extensions can now be loaded from a system-wide directory.
- Subagent monitor panes now show the agent name.
- Rebuilt the subagent-monitor example around `ShowOverlay`.
- Added a Yaegi-based in-process extension system with event
handlers, tool and command registration, and styled output.
- Added a hook system with priority ordering and tool
interception.
- Added custom header and footer regions, custom tool rendering,
widget slots and modal overlay dialogs.
- Added an editor interceptor system.
- Added interactive prompts (select, confirm, input).
- Added an API to register and switch themes programmatically.
- Added keyboard shortcuts, tool context and a source field
on `ToolCallEvent`.
- Added APIs for session management, persistence, editor text
and the status bar.
- Added tab completion of arguments for extension slash
commands.
- Added the `OnContextPrepare` event for filtering and injecting
into the context window.
- Added the `OnModelChange` event and `ctx.Exit()`.
- Added session before-hooks (`OnBeforeFork`, `OnBeforeSessionSwitch`)
and the `OnBeforeCompact` event.
- Added the `OnEvent` callback and the `SubscribeSubagent`
API for streaming subagent events in real time.
- Added TUI suspend, custom message rendering and extension
hot-reload.
- Added the `UIVisibility` and `GetContextStats` APIs and
compact tool renderers.
- Added tool management, model management, options, an event
bus, LLM completion and steer mode.
- Added rich tool metadata to extension events.
- Added `SendMessage` to the extension context.
- Extensions now have access to tree navigation, skills,
templates and model resolution.
- Extensions can now be installed from git repositories.
- Added example extensions: go-edit-lint with diagnostics in
the TUI, kit-kit meta-agent, subagent monitor, subagent
widget, kit-telegram and LSP diagnostics.
- github:
- The GitHub integration now works end to end through a core
command and an action.
- hooks:
- Exposed the per-step tool choice through `OnPrepareStep`.
- Added a hooks system for lifecycle events.
- Hooks can now give feedback to the LLM.
- mcp:
- Added OAuth support for remote MCP servers.
- MCP servers can now be loaded and unloaded at runtime.
- Embedded resources in prompt messages are now handled.
- Added support for SSE servers, including Authorization
headers.
- Added built-in HTTP support.
- Added a connection pool.
- Environment variables can now be set in the MCP configuration.
- models:
- Added an `apiModelName` field to the custom model configuration.
- Added per-model defaults for generation parameters.
- Added per-model system prompts.
- Reasoning levels, tiered pricing and model status now come
from the catalog.
- Default API URLs are now resolved for all registered
providers.
- The `x-opencode-session` header is now sent to opencode
providers.
- Kit now reports max-tokens truncation and prevents it from
happening silently.
- Updated the model aliases for Anthropic, OpenAI and Google
Gemini.
- Added OpenAI Responses API support for codex, gpt-5, o3 and
o4 models.
- The model catalog now comes from models.dev, and OpenAI-compatible
providers are routed automatically.
- Model notation changed from `provider:model` to `provider/model`.
- Added advisory model validation and the Vercel provider.
- Added Google Vertex AI support for Claude models.
- Added support for thinking models with configurable reasoning
levels.
- Added the frequency-penalty and presence-penalty parameters.
- The model selection and thinking level are now kept across
sessions.
- Added automatic prompt caching to reduce cost.
- Added the Azure OpenAI and Google Gemini providers.
- Added explicit wire protocol declarations for providers.
- Tools are now disabled for models that do not support them.
- Improved Ollama and GPU handling.
- prompts:
- Added the `$+` required variadic placeholder, and code is
no longer treated as a placeholder.
- Prompts and extensions in the XDG config directory now
reload automatically.
- Added prompt templates.
- Custom prompts and skills now reload automatically when
their files change.
- read:
- Image files are now returned to the model as viewable images.
- session:
- Added local and remote session management.
- Shared sessions now include the system prompt and the model.
- Compaction now creates a new leaf with no parent.
- Added the `/share` command and a session viewer.
- Added a session picker, session history, and the `/name`,
`/export` and `/import` commands.
- `/new` now creates a new session file.
- Empty sessions are now removed on shutdown and on `/resume`.
- Added saved sessions.
- Default session storage is now durable, with atomic steps,
locking and crash repair.
- shell:
- Bang commands now stream coloured output.
- Added the `!` and `!!` shell command prefixes, with a spinner
while they run.
- Added an interactive sudo password prompt for the bash tool.
- Streaming bash output now shows the command in a header,
and its height is capped.
- skills:
- Skills can now be activated with `/<name>`.
- Kit now complies fully with the agentskills.io specification.
- Added context loading, skill metadata, a default system
prompt and `/skill:name` expansion.
- subagent:
- Added `/kill-subagent` to stop running subagents.
- Child sessions are now linked to their parent and can be
resumed.
- An invalid model now returns an error immediately instead
of silently falling back.
- Added native inspection of child conversations.
- Added first-class subagent support for delegating tasks.
- Subagents now run in-process instead of as separate processes.
- Subagents now inherit tools from their parent, and the
subagent tool is always added.
- ui:
- Added the `/copy`, `/edit` (with a fuzzy file picker),
`/retry`, `/undo`, `/history` and `/theme` commands.
- Added `/model` with an interactive fuzzy-finding selector,
shown as an overlay; it lists all models and disables the
ones without credentials.
- The session and tree selectors now have a bordered container
and improved styling.
- Added horizontal image tiles and a full image preview modal.
- Image previews are now drawn with the Kitty graphics protocol,
with half-block thumbnails as a fallback.
- Output of the ls tool and streaming bash output is now
truncated to a line limit.
- Added a subagent status bar and run picker.
- The startup wordmark is now animated, and loaded extensions
are listed in the startup banner.
- Added autocompletion for `/skill:<name>` commands and general
autocompletion.
- The steer keybinding changed to the `Ctrl+X s` chord, and
the external `$EDITOR` now opens with `Ctrl+X e`.
- Syntax colours now come from the theme.
- The spinner now shows the subagent type.
- Live activity now has its own row, and the surrounding
interface is quieter.
- `@file` tokens in user messages are now highlighted.
- Added character-level mouse text selection and copy, with
visual selection highlighting.
- Added graceful quit with `/quit` and `Ctrl+C`.
- Improved the contrast of the slash command popup.
- `/fork` now creates a new session file.
- Unified the gutter style, made tool receipts quieter and
made the splash screen scale.
- Polished the message navigation inspector (`Ctrl+X m`).
- Prompts with arguments now fill the input instead of
submitting automatically.
- Session history is now shown on `/resume` and `/import`.
- The scrollback is now repainted when the theme changes.
- Terminal capabilities are now detected lazily and per client.
- Subagent results are now shown as a clean summary instead
of raw output.
- `/new <prompt>` is now supported.
- Kit now warns when the provider reports no token usage.
- Added 22 built-in themes with file-based discovery, a
KITT-inspired theme system, and the theme selection is kept
across sessions.
- Added `@file` autocompletion and attachments with MIME
detection and MCP resource support.
- Added clipboard image paste (`Ctrl+V`) and copy and paste
support.
- Double-Esc now cancels tool calls without breaking API
pairs.
- Added a full alternate screen mode with in-memory scrollback.
- Tools now run in parallel, with a status display for multiple
tools.
- The spinner was replaced by a KITT-style red scanning
animation.
- Added mid-turn steering.
- Added compact mode.
- Added an option to require approval before a tool runs.
- Added a message window to keep the context from getting too
large.
- Added multi-edit support to the edit tool.
- Added the `fetch_extract` tool.
* Bug Fixes
- acp:
- `mcpServers` now defaults to an empty array for clients
that leave it out.
- The ACP server now follows the ACP v1 specification.
- The startup message no longer appears in the stdio output.
- Extensions now work in ACP mode.
- Fixed file attachments, thinking tag parsing, and thinking
content being sent twice.
- agent:
- Improved streaming resilience, with safe retries and handling
of permanent network errors.
- Tool additions and removals made mid-turn now take effect
at the next LLM step.
- Anthropic prompt caching is now effective.
- Kit now recovers when the provider rejects image tool
results.
- Tool call arguments are now tracked per call when tools run
in parallel.
- anthropic:
- `output_config.effort` is now sent for effort-graded models.
- Conflicting temperature and top_p settings are now cleared.
- Cache control blocks are now limited to 4.
- app:
- The layout now resets after a widget is removed.
- Queued messages are now sent after `/compact` completes.
- `ctx.NewSession` now waits until the agent is idle.
- The message queue stops draining when the app closes.
- auth:
- OAuth credentials now work in ACP mode, and tokens refresh
automatically.
- compaction:
- The API token baseline is now kept after compaction.
- core:
- Bash streaming now drains the pipe when it hits an oversized
line, and output is no longer cut off mid-drain.
- The read tool now returns an error when used on a directory.
- The bash tool no longer hangs on long-running or background
processes.
- `SHELL` is now set to bash when commands run.
- daemon:
- A lone Escape key is now delivered on idle time without
waiting for more input, and escape-sequence handling is
more robust.
- Sockets are now found across runtime environments.
- Hosted sessions now get the caller's full environment.
- The terminal is handed back correctly, the alternate screen
is kept, and no sidecar process is left orphaned.
- `Ctrl-V` and the detach chord now work under the kitty
keyboard protocol.
- Session size and truecolor are kept across attach, and
terminal modes are replayed to clients that attach mid-session.
- The connection stays alive across a session switch.
- The pairing window stays open after a failed attempt, and
approvals queued after it expires are rejected.
- Remote sessions are listed on attach, and the client terminal
is forwarded.
- Client control requests and attach can now be cancelled.
- Clipboard images are now saved next to their destination.
- Terminal capabilities are refreshed in live sessions.
- A shared session grows back when its smallest client leaves.
- Sessions shut down deterministically across daemon restarts,
and sessions whose client never received an ID are retired.
- New sessions now start on the connected host when chosen
from the picker.
- The session is now told which multiplexer the client runs
in.
- Stdin is unblocked after a picker closes.
- The client terminal is cleaned up after a remote session
exits.
- Scrolling works again in reattached and busy sessions.
- extensions:
- Subagents can now be spawned without blocking, and the
returned handle is usable.
- Blocked or disabled tools now report the reason to the LLM.
- Handler calls are now serialized per extension to prevent
data races.
- `_test.go` files and example subdirectories that are not
extensions are now skipped.
- Logging now respects log levels.
- The manifest `Include` is now written in one pass and kept
on update.
- go-edit-lint now batches its checks per turn.
- A subagent run error is now kept, and `OnComplete` fires
when the subagent returns no result.
- Extension names for `main.go` extensions now come from the
immediate parent directory.
- kit:
- Streaming is now enabled for subagent child instances.
- The system prompt file path is now resolved correctly.
- mcp:
- OAuth configuration is now applied to servers added at
runtime.
- MCP tool failures are now reported as soft errors instead
of critical aborts.
- MCP tool results now show human-readable text instead of
raw JSON.
- A null `required` field in MCP tool schemas no longer breaks
the OpenAI API.
- JSON Schema draft-07 exclusive bounds are now converted to
the draft-04 format.
- models:
- Added gpt-5.4 reasoning levels with automatic adjustment.
- New OpenAI models, gpt-6+ models, and opencode gpt-* and
grok-* models are now routed to the Responses API.
- Unpriced models are now distinguished from free ones.
- Stored OpenAI OAuth credentials now take precedence over
API keys.
- Provider-qualified catalog keys are now resolved.
- Auto-discovered providers and opencode models are now routed
by their wire protocol.
- `<think>` tags in the stream, including those from Qwen and
DeepSeek models, are now handled transparently.
- Fixed persistence of custom provider models and the handling
of bare model names.
- Fixed the OpenAI Codex endpoint, headers and model family
detection, and `max_output_tokens` is no longer sent to the
Codex OAuth provider.
- Fixed issues with the Anthropic, OpenAI and Ollama providers,
including a crash when sending tool results to Anthropic
and Google.
- session:
- Sessions with lines longer than 1 MiB can now be listed and
loaded.
- Session tree diagnostics are now logged at debug level.
- Session storage now fails safely on ownership and repair
errors, appends are all-or-nothing, and locking and file
syncing are more robust.
- Kept messages are now ordered before the post-compaction
branch.
- Circular parent references in the session tree are now
prevented.
- `/tree` and `/fork` no longer lose context.
- skills:
- Skill name collision messages now go to the log file at
info level.
- startup:
- The model selector now opens when the provider reports an
error.
- steer:
- Steering messages are now kept for the whole turn and never
dropped.
- Pasted images are now included in steering messages.
- subagent:
- The session ID for resuming is now shown in the tool result.
- Duplicate MCP tool names and unnecessary reloads are now
prevented.
- Subagents no longer fail instantly when the parent context
has already ended, and they are detached from the parent's
deadline.
- Removed a biased model example from the tool schema.
- Subagents now recover from bad model names, and bare model
names inherit the parent's provider.
- tui:
- Log output now goes to a file so it no longer corrupts the
TUI.
- tunnel:
- The number of concurrent over-capacity rejection tasks is
now limited.
- Slot reservations made before authentication now expire,
and stalled session slots are released after a timeout.
- ui:
- Token usage is now added up across all steps of a turn,
cache tokens are counted, and token and cost tracking is
correct for multi-step tool calls.
- User messages now have a uniform background fill with a
full-height border.
- All blocks now line up on one left edge, span the full width
and share the same geometry.
- Image preview redraws are no longer repeated unnecessarily,
and the preview mode now depends on the detected terminal
capabilities.
- Long lines in tool results are now clipped, and diffs no
longer overflow narrow terminals.
- Queued messages are now shown as full-width, left-aligned
blocks with a QUEUED badge and are truncated to prevent
overflow.
- Mouse selection no longer drifts with reasoning blocks,
extension widgets or during streaming.
- The extension tool count now includes only extension tools.
- The name column of the slash command popup is now sized to
fit, and the popup is centered.
- Slash commands now run in the TUI instead of being sent to
the LLM.
- The reasoning duration counter now stops when reasoning
ends.
- Usage costs are now hidden for all subscription OAuth
providers.
- Uncredentialed models can still be found in the model
selector.
- `Ctrl+C` now clears the input first and must be pressed
twice to quit.
- Messages are no longer rendered twice after reasoning-only
responses or interrupted turns, and confirmations are no
longer shown twice.
- The spinner, typography and shell output now follow theme
changes.
- Fuzzy selectors no longer use j/k for navigation.
- Text inputs no longer have character limits, and the
transcript resizes when the input grows.
- Fixed a queue deadlock.
- Startup information is shown again and in the correct order.
- MCP tools now appear in `/tools` and the status bar after
they finish loading asynchronously.
- Pasted image previews are shown in the input and the
transcript.
- Assistant, user and reasoning messages now wrap to the
terminal width.
- Tool error output is now shown in a caution block.
- Auto-scroll is re-enabled when a new message is submitted,
and scrolling past the end of the content is prevented.
- The TUI now adapts to any terminal size when resized.
- Esc now really cancels the agent response and keeps completed
messages and tool calls.
- Shell command output is now truncated with the same limits
as the bash tool.
- Diff and code background colours now come from the active
theme.
- The vim interceptor stays active so that Esc returns to
normal mode.
- Reasoning blocks are now shown when resuming sessions.
- `/new` now resets usage, and token counting is updated when
switching models.
- The system prompt is no longer lost when switching models
in interactive mode.
- Fixed the usage widget's visibility at startup.
- watcher:
- New subdirectories are now watched for skill and prompt
reloads.
- Removed debug logging that corrupted the TUI.
- Kit no longer panics when reading malformed properties.
- Fixed the fuzzy match position mapping and diff generation
in the edit tool.
- `.wav` files now get the `audio/wav` MIME type.
- Before-hook callbacks no longer deadlock the TUI.
- Tools without input parameters no longer cause an error about
missing schema properties.
- Empty or malformed tool arguments are now handled.
* Maintenance
- core:
- Removed the redundant single-edit mode from the edit tool.
- ui:
- Thinking blocks now use subdued, colour-coded, italic text.
- Keybindings now work better inside terminal multiplexers.
- Improved message spacing and made styling more consistent.
- All popups, including the session picker, now use the same
popup list.
- Message and markdown rendering now uses the herald typography
library.
- The KITT scanner LEDs are now segmented, and the logo text
is centered.
- The Read tool gutter now matches the Write tool.
- Extension installation now shows a multi-select list when a
repository has multiple extensions.
- What was new in version 0.126.0
- What was new in version 0.125.0
* Features
- ui: Added a subagent status bar and a run picker.
* Documentation
- subagents: Explained subagent status, run selection and how
to migrate commands.
* Maintenance
- prompts: Removed prompt templates that were moved to the
global dotfiles.
- What was new in version 0.124.2
* Bug Fixes
- ui: Avoid redundant image preview redraws.
- What was new in version 0.124.1
* Maintenance
- Updated the model catalog.
- What was new in version 0.124.0
* Features
- session: Added local and remote session management.
- ui: Added horizontal image tiles and a full image preview
modal.
* Bug Fixes
- Use worktrees and correct master branch references.
- What was new in version 0.123.0
* Features
- subagents: Added native inspection of child conversations.
* Bug Fixes
- subagents: Fixed several issues found during code review.
* Documentation
- subagents: Documented native inspection and retained subagent
runs.
- What was new in version 0.122.0
* Bug Fixes
- daemon: Terminal capabilities are now refreshed in live
sessions.
- What was new in version 0.121.1
* Bug Fixes
- daemon: Discover sockets across runtime environments.
- What was new in version 0.121.0
* Bug Fixes
- agent: Improved streaming resilience and made retries safe.
- agent: Handling of permanent network errors during retries
has been improved.
- What was new in version 0.120.0
* Bug Fixes
- ui: Usage costs are now hidden for all subscription OAuth
providers.
- What was new in version 0.119.0
* Bug Fixes
- models: Stored OpenAI OAuth credentials are now preferred
over API keys.
- session: Session storage now fails closed on ownership and
repair errors.
- session: Session ownership is preserved across file replacement
by using sidecar locks.
- session: The session lock is re-claimed around header rewrites,
and directory entries are synced to disk.
- session: Appending a step is now all-or-nothing, so a failed
write no longer leaves a partial entry.
- session: Rollback of failed appends is serialized when several
managers share a session.
- session: A session whose reopen after a failed rewrite does
not succeed is now marked unusable.
- session: Fixes to session locking and repair of partially
written lines.
* Other Changes
- Default session storage is now durable, with atomic steps,
locking and repair after crashes.
- What was new in version 0.118.0
* Features
- shell: Output from bang commands is now streamed with colour
preserved.
* Bug Fixes
- daemon: Session size and truecolor support are now kept when
re-attaching to a session.
- shell: Fixed several problems with colour output in bang
commands.
- ui: Plain shell output rows now keep the theme colour.
- What was new in version 0.117.0
* Features
- codemode: Add a code mode tool that runs JavaScript, which
can call other tools.
* Bug Fixes
- agent: Make Anthropic prompt caching work as intended.
- What was new in version 0.116.0
* Features
- acp: Added support for permissions, client file system and
terminal access, slash commands, plans and authentication
errors.
* Bug Fixes
- acp: Fixed file path handling and plan replay. The ACP server
now follows the ACP v1 specification.
- session: Sessions with lines longer than 1 MiB can now be
listed. Session tree diagnostics are now logged at debug
level.
- startup: The model selector now opens when a provider error
occurs.
* Other Changes
- extensions: Extensions are now compiled in parallel, while
their initialization still runs in order.
- models: The models cache is now parsed in parallel with the
embedded catalog, which speeds up startup.
- session: Decoded messages are cached and a single context
walk is shared. Listing sessions reads only the head of each
entry. Session lines are split without copying the file.
- ui: Scroll lists cache split lines and the selection frame
for faster rendering. Typing in the composer no longer flushes
stream chunks. Streaming markdown is rendered incrementally.
The stream flush window widens as the streaming message grows.
- What was new in version 0.115.2
* Bug Fixes
- ui: Long lines are now clipped when tool results are shown
in the fallback renderer.
- What was new in version 0.115.1
* Maintenance
- deps: Refreshed the embedded model catalog.
- What was new in version 0.115.0
* Features
- subagent: Added the `/kill-subagent` command to stop running
subagents.
* Bug Fixes
- agent: The agent now recovers when the provider rejects image
tool results.
- What was new in version 0.114.0
* Features
- read: Image files are now returned to the model as viewable
images.
* Bug Fixes
- media: Image reads are now handled more safely.
- What was new in version 0.113.4
* Bug Fixes
- daemon: Hosted sessions now get the caller's full environment.
- What was new in version 0.113.3
* Bug Fixes
- steer: Steering messages are now kept for the whole turn and
are never dropped.
- What was new in version 0.113.2
* Maintenance
- deps: Refreshed the embedded model catalog.
- What was new in version 0.113.1
* Bug Fixes
- Restore scrolling in reattached and busy sessions.
- What was new in version 0.113.0
* Other Changes
- models: The global model registry is now built only when it
is first needed, which speeds up startup.
- What was new in version 0.112.0
- What was new in version 0.111.0
* Features
- daemon: Added a stable protocol constant, and sessions now
keep running when the daemon stops.
* Bug Fixes
- daemon: Fixed handling of session hosts and the daemon protocol.
- daemon: Client control requests can now be cancelled.
- daemon: A session is now retired if its client never received
the session id.
- What was new in version 0.110.0
* Features
- extensions: Extension types are now exported from `pkg/extensions`.
* Bug Fixes
- anthropic: `output_config.effort` is now sent for effort-graded
models.
- models: Provider-qualified catalog keys are now resolved
correctly.
- Updated Limit-internal-tools-to-subagent-provide-adapted-system-prompt.patch
* Thu Nov 26 2026 Egbert Eich <eich@suse.com>
- Update to version 0.109.0
* Features
- ui: List all models in /model and disable the ones that lack
credentials.
* Bug Fixes
- ui: Keep models without credentials findable in the model
selector.
- What was new in version 0.108.2
* Refactor
- ui: The session picker is now shown as a popup list.
- What was new in version 0.108.1
* Bug Fixes
- daemon: Replay terminal modes to clients attaching mid-session.
- What was new in version 0.108.0
* Features
- daemon: Detachable sessions are now the default when a daemon
is running.
* Wed Sep 16 2026 Egbert Eich <eich@suse.com>
- Update to version v0.107.0
* feat(cmd): support HTTP headers in --mcp for remote servers
- Form version v0.106.0:
* feat(sdk): durability seams for external SessionManager
implementations
- From version v0.105.0:
* feat(auth): start without API keys and add /connect key dialog
* feat(skills): activate skills with / and close agentskills.io
spec gaps
* fix(docs):compare live ToolName to "shell", not the legacy
"bash" name.
* fix(ui): render autocomplete badge as a theme-colored chip and
keep cursor-row description visible.
- From version v0.104.0:
* feat(cli): add --mcp flag to load an MCP server without a
config file.
* fix(daemon): start new sessions on the connected host from
the picker.
- From version v0.103.0:
* feat(daemon): replace Rust kit-tunnel sidecar with in-process
go-iroh transport.
* feat(models): send x-opencode-session header to opencode providers.
* fix(ci): scope continue-on-error to the staticcheck step.
* fix(daemon): address CodeRabbit review on go-iroh transport.
* fix(models): route gpt-6+ models to the OpenAI Responses API.
* fix(sdk): address CodeRabbit review on ErrNoSession and deprecations.
* fix(sdk): scope provider endpoint overrides to their provider on
model switch.
* chore(deps): update go deps and refresh embedded model catalog.
* chore: remove dead exported symbols in internal/.
* refactor(cmd): split runNormalMode into phase functions.
* refactor(models): drop gpt-6 Responses-routing hack, use fantasy
v0.43.1 native support.
* refactor: SDK hygiene, dedup clusters, split bridge/generate.
* core: make the shell configurable and name the tool after it.
* core: simplify the empty-element check with slices.Contains.
* extensions: scope the shell tool's earlier name to the core tool.
* extensions: take the runner lock when reading extensions.
- From version 0.102.1:
* docs(prompts): drop bogus issue arg from /create-pr reference.
* docs(prompts): handle CodeRabbit rate limits in resolve-reviews
* fix(popup-terminal): probe tmux on the server it created the session
on.
- From version 0.102.0:
* feat(extensions): add popup-terminal example with persistent shell.
* feat(models): catalog-driven reasoning levels, tiered pricing, status.
* fix(daemon): tell the session which multiplexer the client runs in.
* fix(extensions): keep extMu in sync with extensions on hot-reload.
* build(deps): update all dependencies and require Go 1.27.
* chore(models): refresh model catalog and prune dead aliases.
- From version 101.3:
* fix(daemon): publish clipboard images beside their destination.
- From version 101.2:
* fix(daemon): list remote sessions on attach, forward client terminal.
* docs: document cross-host attach picker and terminal forwarding.
- From version 101.1:
* fix(daemon): address CodeRabbit review on cancellation handling
* fix(daemon): address CodeRabbit review on cancellation reporting.
* fix(daemon): address CodeRabbit review on context propagation.
* fix(daemon): hand the terminal back, keep the alt screen, and never
orphan a sidecar.
* fix(daemon): regrow a shared session when its smallest client
leaves.
* fix(daemon): tie the terminal reader to the client context.
- From version 101.0:
* feat(daemon): local sessions, a session multiplexer, and a
multi-host hub.
* fix(daemon): keep same-daemon choices local.
* fix(daemon): keep the connection alive across a session switch.
* fix(daemon): keep the detach chord armed across the kitty
Ctrl-X release.
* fix(daemon): make process signalling portable.
* fix(daemon): propagate attach cancellation and bound the local
dial.
* fix(daemon): shut sessions down deterministically across daemon
restarts.
* fix(daemon): unblock stdin after a picker closes; keep the
alt screen.
* docs: document detachable sessions and the Ctrl+] keymap.
* docs: document local sessions and the Ctrl-] session prefix.
* refactor(daemon): route frames through a transport-agnostic
connection set.
* Mon Aug 31 2026 Egbert Eich <eich@suse.com>
- From v0.100.0
* feat(daemon): detach, reattach and shared multi-client sessions.
* feat(daemon): image paste over remote sessions.
* feat(daemon): pairing-based client access (protocol v3, wip).
* feat(daemon): pairing-based remote access (protocol v3).
* feat(daemon): render the image preview for remote pastes.
* feat: daemon mode with iroh remote sessions (kit daemon / kit --remote).
* feat: daemon single-instance lock, 'kit daemon status', systemd user
service.
* feat: multi-session daemon over one endpoint, per-session teardown,
embedded sidecar.
* fix(ci): map windows/arm64 to a Rust target for the sidecar.
* fix(ci): stage a macOS SDK for the darwin sidecar cross builds.
* fix(ci): stop persisting checkout credentials in test jobs.
* fix(daemon): address CodeRabbit re-review on pairing model.
* fix(daemon): address CodeRabbit review on pairing model.
* fix(daemon): address CodeRabbit review on remote image paste.
* fix(daemon): address CodeRabbit review on remote sessions.
* fix(daemon): deliver an idle Escape without waiting for more input.
* fix(daemon): flush a lone Escape on idle time, not chunk arrival.
* fix(daemon): harden keyScanner escape-sequence handling.
* fix(daemon): intercept Ctrl-V under the kitty keyboard protocol.
* fix(daemon): reject approvals queued after the pairing window expires.
* fix(tunnel): bound concurrent over-cap rejection tasks.
* fix(tunnel): bound over-cap rejection tasks.
* fix(tunnel): expire pre-authentication slot reservations.
* fix(tunnel): time out accept_bi to release stalled session slots.
* fix: check f.Close error in ReadStatus probe.
* fix: clean client terminal after remote session exit.
* fix: task dev builds the kit-tunnel sidecar.
* docs: document detach, reattach and shared remote sessions.
* docs: document remote sessions (kit daemon / kit --remote).
* build: release pipeline ships the embedded kit-tunnel sidecar.
* chore(tunnel): document the wire protocol as v1.
* chore(tunnel): fix unused-mut and dead-code warnings.
* chore: remove stray embedded sidecar binary from contrib.
* refactor(ui): avoid string concatenation in WriteString calls.
- From v0.99.0
* feat: add --bare for running without project context.
* fix(cmd): keep non-JSON output off stdout in --json mode.
* fix(core): drain the pipe when bash streaming hits an oversized line.
* fix(core): guard the bash streaming test callback against concurrent
append.
* fix(core): stop cmd.Wait truncating bash output mid-drain.
* fix(kit): address CodeRabbit review on bare mode.
* fix(session): address CodeRabbit follow-up review on bare mode.
* fix(ui): count only extension tools in the extension tool count.
* chore: apply modernize fixes for Go 1.26.
- From v0.98.0
feat(ui): draw transcript image previews with kitty graphics
chore(deps): update go deps and refresh embedded model catalog
- From v0.97.0
* feat(extensions): load extensions from a system-wide directory.
* feat(ui): render image previews with the Kitty graphics protocol.
* feat(ui): use the graphics protocol for transcript image previews.
* fix(extensions): address CodeRabbit review on system extension dirs.
* fix(ui): address CodeRabbit review on graphics capability and image
cleanup.
* fix(ui): decide the preview mode from resolved capabilities, not the
environment.
* docs(cli): describe graphics-protocol image previews.
- From v0.96.3
fix(models): route opencode gpt-* and grok-* to the Responses wire.
- From v0.96.2
chore(deps): update go and web deps, refresh embedded model catalog
- From v0.96.1
feat(examples): rebuild subagent-monitor around ShowOverlay.
fix(ui): relayout when the activity row appears or disappears.
docs(agents): require ASD-STE100 simplified technical english.
- From v0.96.0
* feat(extensions): add ctx.GetTheme() for reading the active theme.
- From v0.95.0
* feat(extensions): add custom widget rendering and fix dead UI fields.
* feat(extensions): harden keyboard shortcut registration and dispatch.
* docs: document shortcut key handling and fix callout syntax.
- From v0.94.0
* feat(ui): polish message nav inspector and fix markdown theme.
* feat(ui): resolve terminal capabilities lazily and per-client.
* fix(app): address CodeRabbit review on session store.
* fix(ui): address CodeRabbit review on session snapshot refactor.
* fix(ui): correct SetTerminalCapabilities goroutine-safety contract.
* docs(app): address CodeRabbit review on Event union docs.
* refactor(app): expose session state as value snapshots.
* refactor(app): type event fan-out with sealed Event union.
* refactor(ui): move session discovery and file I/O to app layer.
- From v0.93.0
* repaint scrollback when the theme changes.
* fix(www): drop npm lockfile and patch 11 high-severity advisories.
* chore(www): re-record cyberpunk demo with scrollback repaint.
refactor(ui): drive animations from a shared frame clock
- From v0.92.1
* feat(www): add cyberpunk terminal demo and VHS recording setup.
- From v0.92.0
* feat(ui): animate the startup wordmark with a shine and scanner sweep.
- From v0.91.1
* fix(ui): keep the activity row alive across message navigation.
- From v0.91.0
* feat(extensions): add terminal size, thinking level, and turn state APIs.
* feat(extensions): expose model pricing and OAuth status.
* fix(examples): close check-then-render race in status-footer.
* fix(models): distinguish unpriced models from free ones.
* fix(ui): accumulate token usage across all steps in a turn.
* fix(ui): give every transcript block one shared geometry.
* fix(ui): stop blocks drawing a gutter beside trailing blank rows.
* fix(ui): stop the diff overflowing narrow terminals, unify tool
body geometry.
* docs(examples): add status-footer extension.
* docs(ui): correct UTF-8 byte count in padRight test comment.
* docs: credit @nunix for the status footer design.
* docs: document model pricing and OAuth status in extensions guide.
* docs: document pricing, OAuth, and chrome APIs across doc surfaces
* chore(deps): update indirect deps and refresh models.dev snapshot.
- From v0.90.0
* fix(ui): address CodeRabbit review on message navigation overlays.
* fix(ui): stop duplicating response after an interrupted turn.
* Add message navigation and inspector (Ctrl+X m).
* Composite all overlays over the view instead of replacing it.
* Make the inspector show all of a grep or ls result.
* Show full tool arguments in the message inspector (@ezynda3)
* Write tool argument parts directly into the builder
- From v0.89.0
* feat(extensions): show agent name in subagent monitor panes.
* feat(ui): derive syntax colors from the theme; fix palette collisions.
* feat(ui): give live activity its own row; quiet the surrounding chrome.
* feat(ui): one gutter vocabulary, quieter tool receipts, scalable splash.
* feat: make bash tool timeouts configurable via kit.yml.
* chore(deps): update go dependencies and refresh models.dev snapshot.
* refactor(ui): drop input-hint state left dead by the composer rework.
* refactor(ui): drop the splash stripe.
- From v0.88.0
* feat(ui): display subagent type in StreamComponent spinner.
* chore(deps): bump fantasy to v0.38.1 and refresh models.dev snapshot.
* perf(ui): optimize agent name validation with compiled regexp (@kskarthik)
* security(ui): sanitize agent name in spinner display.
- From v0.87.0
* chore(deps): update go dependencies and models.dev snapshot.
* refactor: seal SDK type leaks and deduplicate auth/UI/extension paths.
- From v0.86.0
* chore(deps): update go dependencies and models.dev snapshot.
* Add WithProviderWire functional option for SDK parity.
* Add explicit wire protocol declarations for providers.
* Document provider wire overrides across all doc surfaces.
* perf(ui): fix memory leaks, deadlocks, and hot-path rendering costs.
- From v0.85.1
* feat(agents): named agent definitions with per-agent tool restrictions.
* feat(compaction): adaptive budgets, full-part token estimation, anchored
summaries.
* feat(compaction): auto-compact and retry on context overflow errors.
* feat(hooks): expose per-step ToolChoice via OnPrepareStep.
* feat(subagent): link child sessions to parent and support resume.
* fix(agents): deep-copy agent getters, wire --no-agents flag, clarify
* tools contract.
* fix(compaction): address coderabbit review on overflow recovery.
* fix(compaction): preserve API token baseline after compaction.
* fix(extbridge): preserve run error and fire OnComplete on nil subagent
result.
* fix(extensions): implement non-blocking subagent spawn with usable handle.
* fix(session): address CodeRabbit review on subagent session linking.
* fix(session): fsync temp file before rename in SetParentLink.
* fix: normalize .wav MIME type to audio.
* docs(agents): note allowlist intersection on SubagentConfig.Tools
* chore(deps): update go dependencies and models.dev snapshot.
* chore(deps): update go dependencies and models.dev snapshot.
* chore(prompts): add /resolve-reviews bot-review polling loop.
* perf(ui): fix memory leaks, deadlocks, and hot-path rendering costs/
- From v0.85.0
* feat(agents): named agent definitions with per-agent tool restrictions.
* feat(compaction): adaptive budgets, full-part token estimation, anchored
summaries.
* feat(compaction): auto-compact and retry on context overflow errors.
* feat(hooks): expose per-step ToolChoice via OnPrepareStep.
* feat(subagent): link child sessions to parent and support resume.
* fix(agents): deep-copy agent getters, wire --no-agents flag, clarify
tools contract.
* fix(compaction): address coderabbit review on overflow recovery.
* fix(compaction): preserve API token baseline after compaction.
* fix(extbridge): preserve run error and fire OnComplete on nil subagent
result.
* fix(extensions): implement non-blocking subagent spawn with usable handle.
* fix(session): address CodeRabbit review on subagent session linking.
* fix(session): fsync temp file before rename in SetParentLink.
* fix: normalize .wav MIME type to audio/wav
- From v0.84.0
* feat(ui): warn when provider reports no token usage
- From v0.83.1
* fix(sandbox): make nix discoverable on default PATH for all users.
* fix(skills): route collision logs to file at info level.
* build(sandbox): add go developer tooling to sandbox image.
* build(sandbox): add nix flakes and direnv to sandbox image.
* Mon Jun 29 2026 Egbert Eich <eich@suse.com>
- Update to version 0.83.0
* feat(sandbox): official Kit sandbox image + GHCR workflow.
* fix(cmd): avoid nil pointer panic when OAuth handler init fails.
* fix(subagent): prevent duplicate MCP tool names and redundant.
reloads.
* build(sandbox): pre-install uv and bun in sandbox image.
- From version 0.82.1:
* fix(agent): honor AddTools/RemoveTools mid-turn at next LLM
step.
- From version 0.82.0:
* feat(ui): add /undo slash command to roll back the last turn
* feat(pkg/kit): expose runtime add/remove of native Go tools
- From version 0.81.0:
* feat(kit): Add option for mutually exclusive
include/exclude-core-tools lists.
- From version 0.80.0:
* feat(sdk): harden pkg/kit embedder surface with scoped
additions.
* refactor(sdk): drop unreachable kit.AgentConfig surface.
- From version 0.79.1:
* fix(app): make ctx.NewSession wait for agent idle.
* build(deps): bump go module dependencies.
* chore(models): refresh embedded models database from models.dev.
- From version 0.79.0:
* feat(models): add apiModelName field to custom model config.
* feat(ui): support /new and ctx.NewSession for phase handoffs.
- From version 0.78.0:
* feat(github): make GitHub integration work end-to-end via core
command + action.
- From version 0.77.0:
* feat(cmd): add kit github install command.
- From version 0.76.0:
* cmd: add --no-skills, --skill, and --skills-dir CLI flags
& config.
- From version 0.75.1:
* refactor: dedupe cross-package logic and remove dead code from
audit.
- From version 0.75.0:
* Feat/copilot login.
* Make subagent inherit tools from parent.
- From version 0.74.1:
* fix(cmd): route prefixed models through custom wire when
- -provider-url is set.
- From version 0.74.0:
* feat(ui): add /edit slash command with fuzzy file picker.
* feat(ui): add /retry slash command for resubmitting last user
message.
* refactor(ui): standardize all popups on shared PopupList.
- From version 0.73.0:
* feat(models): resolve SDK default URLs for all registered
providers.
* refactor: address code audit findings across SDK, cmd, and
internals.
- From version 0.72.0:
* feat(ui): render half-block thumbnails for attached images.
* fix(ui): show pasted image previews in input and transcript.
* chore(models): update embedded model database from models.dev.
- From version 0.71.0:
* feat(kit): isolate viper config per Kit instance + add NewAgent.
* fix(models): route auto-discovered providers by wire protocol.
* docs(config): add example support of custom headers for mcp
servers.
* CLI & Config changes to support disabling core tools.
- Modify default config created by kit when none is found to
disable all internal tools except for the `subagent` tool.
The internal tools do not provide ways to limit what they
will be able to access.
Instead, we will provide a list of tools through MCP which
are security hardened sufficiently.
* Fri May 22 2026 Egbert Eich <eich@suse.com>
- Update to version 0.70.4
* fix(agent): track tool call args per `ToolCallID` for parallel
calls.
- Changes from earlier versions:
* chore(models): refresh embedded models.dev snapshot.
* perf(session): parallelize session list extraction.
* fix(app): deliver trailing widget update so layout resets
after removal.
* fix(ui): correct mouse selection drift with extension widgets.
* feat(prompts): auto-reload prompts and extensions from XDG
config.
* feat(ui): list loaded extensions in startup banner.
* chore: move go-edit-lint extension to global scope.
* feat(ui): add /copy slash command to copy last message.
* fix(ui): eliminate mouse copy-selection drift during
streaming.
* fix(mcp): surface MCP tool failures as soft errors, not
critical aborts.
* fix(sdk): stop leaking fantasy types through
`pkg/kit.AgentConfig`.
* feat(ui): autocomplete /skill: slash commands.
* fix(app): flush queued messages after /compact completes.
* fix(cmd): nil-guard CLI when emitting system-prompt notice in
quiet mode.
* fix(kit): resolve system-prompt file path before
`PromptBuilder`.
* fix(cmd): wrap bare fn refs in `extensions.Context` as
closures.
* fix(session): strip illegal characters from windows session
dir.
* docs(session): correct `DefaultSessionDir` convention comment.
* feat(mcp): add MCP Tasks support at the SDK level.
* fix(mcp): validate `tasksMode` and inherit task options in
`Subagent`.
* docs(mcp): document MCP Tasks support.
* fix(models): auto-register new OpenAI models for Responses API
routing.
* fix(extensions): return nil error for blocked/disabled tools
so LLM sees the reason.
* feat(app): update token counts and context fill after every
step.
* perf(ui): cache item heights in ScrollList to eliminate
redundant renders.
* feat(sdk): add missing LLM type aliases and remove fantasy
dependency leakage.
* feat(sdk): expose remaining Fantasy lifecycle callbacks as
events and hooks.
* fix(kit): enable streaming for subagent child instances.
* fix(sdk): infer `ToolResponse.Type` for binary data in
`NewTool`/`NewParallelTool`
* fix(ui): reduce TUI visual noise and improve layout.
* feat(events): mirror Fantasy tool input streaming callbacks
as Kit events.
* docs: document `noOAuth` MCP server config field.
* feat(config): add `noOAuth` flag to skip OAuth on public MCP
servers.
* fix(cmd): fix character encoding in OAuth success page.
* fix(ui): require double `ctrl+c` to quit, matching double-esc
pattern.
* fix(ui): wrap reasoning blocks to terminal width to prevent
clipping.
* feat(cmd): add `--set-default` flag and improve auth error
messages.
* fix(models): add gpt-5.4 reasoning level support with
auto-adjustment.
* fix(session): prevent circular parent references in tree
session.
* fix(ui): make `ctrl+c` clear input before quitting.
* fix(subagent): remove biased model example from tool schema.
- Integrate vulnchecker into %check stage (optional).
- Fix CVE-2026-39827, CVE-2026-39834, CVE-2026-39828, CVE-2026-39829,
CVE-2026-39831, CVE-2026-42508, CVE-2026-39833, CVE-2026-39830,
CVE-2026-39832, CVE-2026-46597, CVE-2026-46598, CVE-2026-46595,
CVE-2026-39835 (bsc#1266049)
Update golang.org/x/crypto to v0.52.0.
* Tue Apr 21 2026 Egbert Eich <eich@suse.com>
- Initial version of kit: 0.56.1
/usr/share/bash-completion /usr/share/bash-completion/completions /usr/share/bash-completion/completions/kit
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Nov 28 22:00:45 2026