Skip to content

v0.74.0

Latest

Choose a tag to compare

@github-actions github-actions released this 14 Nov 12:17
· 69 commits to main since this release

Added

  • While Sign in with ChatGPT waits for the browser, Copy URL takes the page to another
    browser; the terminal prints the address too.
  • A ring over the context ring shows how much of its rate limits the current model's
    account has used, when the provider reports them.
  • In the connect form the fields follow the provider: Sign in with ChatGPT shows under
    OpenAI, and an address is asked only of a custom server.
  • More models has a button that asks the providers for their models again.
  • The iOS Simulator in the desktop window on macOS: a phone in the header opens it at
    the right edge. It walks through the setup (Xcode, the iOS runtime, a device) and
    downloads the runtime on request. The device is drawn as a phone with its screen kept
    current; a menu at the top chooses another device. A click on the screen is a tap and
    a drag a swipe; buttons under it press home and lock, open Simulator.app and shut the
    device down. Touches and keys go through AXe, a free command line tool the panel says
    how to install. The agent gets an ios_simulator tool on macOS: a picture of the
    screen in points, its elements as an accessibility tree, taps, swipes, typing,
    buttons, links and installed apps on the booted device. The tree is cut down to one line
    for each labelled element with the point to tap: a home screen goes from about 400 KB of
    JSON to under 2 KB. The core runs simctl and AXe
    without a shell and names a device only by a UDID that parses as one; the web client
    cannot ask for the simulator. A header that was never reshaped takes the new button.
  • A page for the project on GitHub Pages, site/index.html, published by its own
    workflow with the readme's screenshots. No scripts or fonts from other hosts.
  • The readme shows the three clients, says how a model is connected and how sign-in
    with ChatGPT works, and names a way to say thanks.
  • Sign in with ChatGPT: OpenAI connects without an API key. The browser asks the user,
    OpenAI issues this install a client ID of its own, and the plan's models run over the
    Responses API. It is in the provider settings of the desktop window and first in
    /connect of the terminal client. The identity token's signature, issuer, audience,
    expiry and nonce are checked; the record is kept where API keys are kept, and its
    rotating refresh token is saved after every renewal and read again before one, so
    the desktop and terminal clients can run side by side. A record that cannot be read
    leaves the other providers working. A new provider kind, chatgpt,
    cannot be made from a form or pointed at another address. New direct dependency:
    aws-lc-rs, already in the tree under rustls.

Changed

  • The crates are laid out by role: projects/server (was web), projects/clients/
    terminal, desktop and browser (were tui, gui and web-ui),
    projects/plugins/telegram (was external/telegram), and projects/evals with its
    tasks. The crates are named after their places (dusk_server, dusk_terminal,
    dusk_desktop, dusk_browser); the programs keep their names.
  • Inside the crates, each file has one reason to change and each module a documented
    door: the core's helpers without a domain went to the domains that use them, the
    thread's runtime is one runtime/thread module, large files (the desktop's chat
    messages, composer and workspace, the terminal's actions and sidebar, the core's
    sources and platforms) became directories, and the Telegram bot is grouped by feature
    rather than by layer. scripts/structure-map.sh regenerates the map in
    docs/structure.md.
  • Logic the clients each wrote for themselves has one home: schedule text is parsed in
    the protocol, one WAV encoder serves the desktop and the browser, the core reads the
    terminal's git line and decides what an uninstall removes, and the tool and agent
    state the desktop and the browser both show is shared.
  • A temporary chat is marked by a speech bubble drawn in dashes, the sign most apps use
    for it, in place of the hourglass.

Fixed

  • A turn whose model call failed showed as finished with no word of why; it now says
    the error. Behind one such case, ChatGPT answers that are not marked as an event stream
    are read as one, and a JSON answer gives the server's own message.
  • Sign in with ChatGPT refused an identity whose audience lists this app among others
    without naming an authorized party; the check now follows OpenID Connect, and a refusal
    logs the audience it saw.
  • The iOS Simulator panel was slow and its screen took no clicks: frames now come as a
    stream from AXe, a click on the screen is a tap and a drag a swipe, and a device that
    is booting is waited for instead of failing with "Error creating the image".
  • Web: a turn that only thought and answered, with no tool, drew its "Worked for" line
    twice and never showed the answer. The line's fold and the answer had the same key in
    the list, since the fold began with the answer's own thinking.
  • Web: signing in again no longer leaves the earlier stream to the core open beside the
    new one.