Repository navigation
Releases
v0.33.0
Queue follow-up prompts while a chat turn is running, then manage them without losing the composer draft.
- FIFO follow-ups: Enter during an active reply queues a separate turn. Each prompt starts after the preceding turn completes, including its tool calls.
- Queue manager: Alt+Q opens the pending list. Edit saved text with Enter, open an empty replacement editor with Option/Alt+Enter, reorder prompts with Alt+Up/Down, or remove and clear pending items. Selected skills stay attached to each prompt.
- Visible state and controls: Ready/Paused state, the next send condition, and Pause/Resume controls remain visible without opening help. Automatic sending waits while the manager or mode selector is open.
- Explicit recovery: Failure or cancellation pauses pending work. Resume with r when ready. Blank Enter can retry an eligible failed current prompt while keeping pending work paused.
- Bounded session queue: Up to 64 pending prompts of 64 KiB each. Prompts use the selected execution mode at dispatch and enter recorded history when sent. Pending items last only for the current chat process.
- Platform-aware mode hint: macOS identifies the mode shortcut as Option+M.
See the chat queue guide for controls, state transitions, and recovery behavior.
v0.32.0
What's Changed
- Report saved chat sessions to supporting terminals with OSC 7577 by @iancleary in #141
Full Changelog: v0.31.0...v0.32.0
v0.31.0
What's Changed
- Separate inference health polling from request timeouts by @iancleary in #139
- Treat empty-string tool arguments as absent and load SKILL.md as instructions by @iancleary in #138
Full Changelog: v0.30.0...v0.31.0
v0.30.0
Interactive model requests no longer carry a hidden 120-second total HTTP deadline. Slow prefill, extended reasoning, or a long stream was previously terminated at exactly two minutes regardless of whether useful work was still occurring; issue #132 recorded two transport failures at exactly that timing.
- An interactive request now has no total budget. Connection setup (DNS, TCP, TLS) is bounded to 30 seconds, and each transport read is polled every 2 seconds. A poll expiry is a checkpoint to recheck cancellation, never a failure by itself, so a silent prefill or reasoning phase waits as long as the provider needs.
- Esc now closes a connection whose upstream has gone silent within one read poll. Previously a cancel during a silent stream waited out the 120-second cap before the socket closed.
- Explicit turn deadlines (
ahi delegateworkers,ahi exec --timeout) keep one total budget covering connection, request, and response, expiring just after the deadline. The hidden 120-second clamp inside that budget is gone, so a long assignment is no longer cut down by an arbitrary request cap. - A gateway that accepts a connection but never starts responding fails within the read poll with a distinct message and is still never retried, because the request may already have been processed.
No upgrade steps are required: this is a client-side change, the service protocol is unchanged, and running daemons are unaffected.
Changes: #135 · Fixes #132 · Full comparison
v0.29.0
Previously, upgrading the CLI could prevent ahi tui from opening even when the session protocol had not changed, forcing a daemon restart that could interrupt active turns.
ahi servenow advertisesprotocol_version: 1alongside the release inhealth. Local TUI startup, reconnect, andahi execcompare the protocol instead of the release.- The client never stops or replaces a running daemon. Missing, malformed, and incompatible protocol versions are refused; existing feature capability checks, standalone mode, and
--viaare unchanged.
Upgrade note: daemons through v0.28.1 do not report a protocol. Once active turns finish, stop that daemon once and retry. Later releases that speak the same protocol can reuse it.
Changes: #133 · Full comparison
v0.28.1
One manual upgrade is required from v0.28.0 or earlier. This is the first CLI release signed by ahi-sh/ahi. Install it once with cargo install ahi --locked --version 0.28.1, or follow the platform-specific instructions. On Apple Silicon use the installer from this tag. Do not bypass the old updater’s attestation checks. After that one installation, use ahi update normally on supported platforms. Existing sessions, credentials and settings do not need to move.
ahi devnow usesghcr.io/ahi-sh/ahi-dev.--flavor rustand--flavor pythonselect images under the same organization. Explicit image references and digest pins are not rewritten. See the migration guide.- The source includes the PNG and SVG organization avatar and its generator, derived from the TUI wordmark (
b752296).
Changes: #131 · Full comparison
v0.28.0
ahi dev --flavor NAME selects ghcr.io/iancleary/ahi-dev-NAME for a single invocation. For example:
ahi dev --flavor rust # Open a development shell
ahi dev --flavor python run -- uv --version # Run one command in the image
ahi dev --flavor fpga status # Inspect local image selection without pullingThe flag works with the existing ahi dev commands and tag selection. status shows whether the image came from --flavor. A valid flavor name does not guarantee the image is published. For project defaults, continue to set image: in ahi.dev.yaml; for custom references or digests, use --image instead. Bare ahi dev and sandbox/device permissions are unchanged. (#130)
v0.27.2
Fixed a timeout that could interrupt slow gateway inference even when the turn had time left. For example, a turn with a 180-second budget can now complete a gateway request that takes 126 seconds to return its first byte. Later requests use the time remaining in that same turn; they do not start a new 180-second budget. Unbounded requests and OpenAI browser login are unchanged. (#129)
v0.27.1
Chat shortcuts and streaming
- Shortcut change: Shift+Tab now cycles thinking effort. Use Alt+M to cycle execution modes or
/modeto choose one. Full Access still requires explicit confirmation; neither shortcut enters it. - Use ↑/↓ to recall recent inputs, Ctrl+U to stash an unsent draft, and Ctrl+R to search both. Enter in search returns the match to the composer for editing, not execution. Recall is local to the open chat.
- Chat shows
Thinking...while a reply streams. Ctrl+O reveals the live text. Completed and interrupted text is preserved; approvals, errors and command progress stay visible. #127
Tool-call feedback
- If a completed reply starts with literal
<tool_call>and the turn received no structured calls, chat keeps the answer and explains that no tool ran. The notice appears on exit too. No markup is executed and no request is retried. Actual Plan denials still show the tool and policy reason. #128 - The offline Python suite now runs under pytest, including regressions for scoring answers about two real Git merges. These are harness checks, not claims about live model quality. #128
v0.27.0
Resident scratch delegation
An authorized parent can start a mode-bounded local ahi child in a dedicated Rex session and keep chatting. Follow-ups reuse the same conversation but require fresh authorization. Detaching, cancelling the current run and closing the child are separate actions. This is local scratch delegation, not remote task recovery. #124
Trust the tool record
- A command that actually exits 126 is no longer mistaken for a policy denial. When a service submission loses its acknowledgment, ahi identifies the run instead of submitting it again.
- Read ranges, search links and tool-output previews better reflect the source, including when the model received less than the terminal shows. The TUI checks for a service-version mismatch before entering the picker.
- ahi no longer clamps replies to 4,096 tokens. It uses the configured/provider limit where supported. An explicit provider cutoff preserves streamed text without running partial calls or retrying. Anthropic Messages needs known
maxTokensmetadata.
Shared model instructions
Chat Completions, Responses (including browser login), and Anthropic Messages now get the same short instructions to investigate within scope, preserve unrelated work, and report what was verified. This does not change tool permissions. The new workflow evaluation separates offline wire checks from opt-in live model comparisons. #126