Skip to content

v0.17.1

Latest

Choose a tag to compare

@devoidfury devoidfury released this 30 Nov 01:32
· 40 commits to main since this release
  • webui - workbench fixes and polish.

    • The tree now marks the file the viewer is showing and scrolls it into view when tabs change.
    • Directories gained an Upload action in their context menu.
    • editor drag-selection survives the pointer leaving the box.
    • the editor and viewer render faster.
    • now prevents 1pass/bitwarden/lastpass from hijacking search/text fields (except login).
    • the file viewer now shows images. A tab opened on an image renders centered in the pane; the bytes stream straight from the download route's new ?inline=1 mode.
  • webui - expanded themes.

    • the palette button opens a full theme editor (settings-style dialog).
    • new builtin themes: solarized-dark and solarized-light styles (inspired by (ethanschoonover.com/solarized)[https://ethanschoonover.com/solarized/])
    • when the OS prefers a light scheme, new users now default to solarized-light (stored theme choice is used instead if set).
  • webui - chat polish and fixes.

    • Ctrl+K opens a palette over the composer: type to filter the slash commands, arrows and Enter run a pick, Escape hands focus back. The deescription shows next to the command name, and the filter matches descriptions too -- type "usage" to find /tokens.
    • when the opt-in modelPricing table prices the session's model, the header stamps session cost: $X, replayed sessions included.
    • edit-and-resend, and a retry on failed turn. Edit a sent prompt inline and the session rewinds to that prompt and runs the edited text.
    • A failed turn's row shows a Retry action while it is the last row and the session is idle, re-running its prompt unchanged.
    • A disconnected Enter no longer evaporates, send persists to a per-session localStorage outbox, renders as queued while offline, and flushes FIFO on reconnect. The server admits each clientMessageId once per session to prevent double-submits.
  • ui-interactive-cli - UX polish and fixes.

    • codemode - the split renderer's inner tool rows show more information what each call was doing. (eg, command passed to bash)
    • multi-line composer, Alt+Enter (and Ctrl+J; the set is uiInteractiveCli.newLineKeys) inserts a newline in the prompt instead of submitting, so composing a multi-line message no longer needs a paste. Only changed in split-renderer; legacy renderer keeps readline's old keys.
    • /sessions is a session browser now. On the split renderer it opens an interactive picker over live sessions and stored logs.
    • the split renderer's status row now shows the correct session info. It was subscribed to the session the process booted with, so after /fork (and now a /sessions resume) the working edge,
      in-flight call rows and queue chip stopped arriving while the abandoned session's cost and context numbers kept painting under the new session.
  • core/llm improvements

    • fix for OpenRouter-style upstream/model ids. the old last-slash truncation turned openrouter/nvidia/model:free into model:free on every request.
    • quieter requests, OpenRouter's attribution headers (HTTP-Referer, X-Title, categories) now go only to openrouter.ai.
    • bounded retries, no retry ever waits more than 60s; maxRetries accepts up to 50.
    • endpoint URLs in error output strip user:pass@ as well as query strings.
    • token usage from split usage events no longer undercounts. Gateways that stream prompt usage early and completion usage late were merged last-event-wins, silently zeroing the fields the earlier events carried -- plausible-looking stats that understated the context gauge and session cost. Usage now merges per field.
  • ui-rpc - hotdog rpc: a machine interface over stdin/stdout. A persistent JSONL command/event session (versioned protocol): prompt, cancel, interrupt, status, answer, shutdown. Question-tool prompts and user-gate approvals round-trip as ask/answer records, and a cancel or a closed connection releases held asks honestly as unanswered, never as silent defaults. One-shot mode gains --json-events: the same records for a single turn on stdout, ending in a terminal result record. Protocol spec: docs/machine-rpc.md.

  • extensions - install bundles from npm, git, or file specifiers. An extensionPaths entry may now name an npm specifier (npm: prefix), a git URL, or a local file: source; it installs with bun add --ignore-scripts into a user-level tree (~/.hotdog/extensions) and loads offline from there afterwards. Managed with hotdog extension install / update / list.

  • syntax - infinite loop in the markup scanner fixed (found by a new tokenizer fuzz). The loop-head whitespace branch in tokenizeMarkup tested a literal set (" " \t \n \r \f) while the attribute scan excluded the whole /\s/ class; a char in the difference (VT, NBSP, U+2000–200A, U+2028/9, U+205F, U+3000, U+FEFF) fell through every branch, matched the attribute scan at position 0, and produced a zero-length run no branch advances past: <F plus a single U+FEFF hung the tokenizer forever.

Full Changelog: v0.17.0...v0.17.1