Release notes
Hax v0.6.0
Added
- DeepSeek provider (
deepseek): setDEEPSEEK_API_KEY;/usageshows the account balance. See docs/providers.md for pricing and privacy caveats. - Shell-like Tab completion for
/commands and their arguments, including model ids and config keys and values. Press Tab again to list matches; a dim hint shows the next argument. /provider <id>,/model <id>, and/effort <level>switch directly without a picker./model <id>also works when the provider cannot list models;/provider <id>uses its default model, or leaves it unset until you choose one.- Preset shorthand:
hax reviewmeanshax --preset review; it also works with-p. - Built-in pickers support Ctrl-J/Ctrl-K to move the selection and Ctrl-W or Alt-Backspace to delete a query word, matching fzf.
reasoning_requiredprovider setting for Chat Completions proxies that require a reasoning field even when empty;autofollows the model catalog.
Changed
- One-shot runs are now unlimited by default, rather than stopping after 100 model round-trips.
max_turnsdefaults to0in both modes;autois no longer accepted. Set a positive number to keep a limit. - Custom providers must now set
catalog_idexplicitly (for example"catalog_id": "groq") to retain models.dev pricing and context metadata. Local servers and proxies without one never trigger a catalog download. See docs/providers.md. HAX_REASONING_ROUNDTRIPis renamedHAX_OPENAI_REASONING_ROUNDTRIPfor consistency with the otheropenai-compatibleenvironment variables; the old name is no longer read./sessiontotals survive resume and include undone user turns and retried requests. The report shows tokens per model, undone turns, and inherited fork context separately from the fork's own usage. Resume also restores the last user turn's stats line.- Session files are append-only:
/undorecords the cut instead of truncating the file. Scripts reading sessions should handle the new records described in docs/sessions.md. - Prompt history (Up, Ctrl-R) is now scoped to the working directory, beside its session files.
The old global
~/.local/state/hax/historyis no longer read; prompts from other projects no longer appear in recall. - Chat Completions providers replay reasoning by default in the field the server streamed,
preserving thinking models' earlier reasoning on custom and local servers, including Ollama.
reasoning_roundtripacceptsauto,off, or a field name;onnow meansauto, not alwaysreasoning_content. /modeland/effortbriefly wait for catalog refreshes to show pricing and context metadata on a cold cache. Model listings and catalog downloads now use compression.- The "enter to continue" hint appears inside the prompt after a pause or interruption; continuing no longer leaves an empty prompt row.
- Tool headers wrap long arguments instead of dropping them. Collapsed rows preserve suffixes
such as line ranges and identify
task_waittargets on resume. - Collapsed bash previews cover read-only git commands (
log,show,diff,status,blame) and tolerate separators such asecho ---between searches. - Model guidance favors native tools for ordinary file operations and reserves backgrounding for useful concurrent work rather than an immediate wait.
Fixed
- DeepSeek models on OpenCode Go and Zen no longer fail mid-task with missing
reasoning_content. Models whose catalog entry names a reasoning field now receive it even when empty. - Multi-line YAML skill descriptions, including
>and|block scalars, are read in full instead of being dropped or cut off. - Background task completion notes distinguish "output pending" from "nothing to collect";
task_waiton a collected task returns its final status instead ofno such task. - Quitting or switching conversations no longer adds a shutdown delay for each running background task. Fast turns no longer wait half a second for the keep-awake helper, and bash commands cancelled just after launch respond to SIGTERM without waiting for SIGKILL.
- Credential updates preserve
auth.jsonsymlinks and no longer lose concurrent changes made through different links to the same file. - Theme colors are more legible, especially quiet text in
lightand therosetint indark.