Skip to content

omfp v0.4.2

Choose a tag to compare

@github-actions github-actions released this 22 Nov 15:42
· 74 commits to master since this release
v0.4.2
76eb751

Added

  • The voice of live sessions is now a setting: :voice maple (or :set live_voice=…, [ui] live_voice) picks one
    of omp's nine voices — arbor, breeze, cove, ember, juniper, maple, sol (the default), spruce,
    vale — for every window, from the next session on; on a phone it is two taps in the Commands sheet. Agents set
    ui.liveVoice with settings.set, or pass voice to thread.live_connect/thread.live_start (#240).
  • A new thread can start in live voice: the draft thread's composer has the mic button too. Pressing it opens the
    microphone, creates the thread (with what you typed, if anything, as its first message) and starts talking to it in
    one tap; a thread started by voice is named after the first thing you say (#243).
  • Alt-j / Alt-k (:next-thread / :prev-thread) select the next or previous thread of the left column from
    anywhere, also while typing in the composer, whose focus moves to the new thread's composer. They go on into the
    next or previous workspace and wrap around at the ends, skipping archived threads, collapsed workspaces and the
    threads the column's filter hides. Rebindable in keymap.json (#217).
  • A wide window's left column collapses to nothing with Hide threads (the button at the end of its logo's row),
    Space b or :threads.collapse, so the view takes the whole window; Show threads at the start of the mode line,
    Space b again or Space t (which also focuses it) bring it back. Each window remembers it across reloads (#216).
  • Agents can draw a widget right in the chat with the omfp_card tool: a terminal to show you something, a chart, a
    question with its own controls. The card lives in the conversation only (never in your views), collapses once the
    turn ends and comes back live when you open it. With wait the agent waits for your answer, given through the
    widget (useAnswer() in omfp/sdk) or the card's Cancel, optionally with a timeout; meanwhile the thread needs
    you, as with a question (#229).
  • omfp can reuse standalone omp's logins: on a fresh install the welcome offers Use my omp logins (…), and
    :import-logins copies them at any time. Only model-provider logins are copied, and only when you ask (or an agent
    or MCP client acting for you does); MCP credentials, settings and model configuration stay behind. omfp never runs
    omp on standalone omp's own login database: it makes a read-only copy of it in omfp's private data folder, lets omp's
    own auth export read that copy, deletes it right after, and imports the provider logins with auth import.
    The copy waits up to 2 s for a write standalone omp has in progress, is taken again when omp saved meanwhile, and
    creates nothing beside omp's database, so a read-only omp folder works too.
    The database is found with omp 18.22.0's directory rules from omfp's environment: omp's .env files are not read,
    and in the Flatpak a database under the host's $XDG_DATA_HOME/omp is not found. A browser (OAuth) login then lives
    in both apps, so a provider that rotates refresh tokens may sign one of them out later: log in there again. Copying
    is refused while a login runs (#199).

Changed

  • The threads a prompt job makes no longer fill their workspace's thread list in the left column: they are listed
    under their job in Jobs (N), whose row gets an Open thread button next to Run that selects the job's thread (the
    latest run's for a job making a new thread per run). The job's row is the current one while its thread is selected,
    and shows when one of its threads needs you or failed, as do the collapsed Jobs (N) marks; Space a, the thread
    picker and the filter still find them, while j/k and Alt-j/Alt-k skip them. Archived ones stay under
    Archived, and threads of a job no longer declared stay in the list (#219).
  • The terminal (omfp:terminal and the kit's TerminalEmulator) follows the app's theme instead of drawing white on
    black: its background, text, cursor, selection and 16 ANSI colors come from the theme, in both skins and color
    schemes and with user themes too, and switching theme or color scheme repaints open terminals without restarting
    them. Widgets can still set their own colors through options.theme (#214).
  • A window keeps the 20 threads you last switched away from followed (was 5), so going back to one shows it at once,
    and a kept thread no longer keeps its omp process alive: once idle it stops after the idle timeout like a thread no
    window shows, its transcript stays in the window with the stopped state, and it starts again when you use it.
    [ui] recent_threads (0–100, or "all" to keep every thread opened in the window; :set recent_threads=<n>)
    sets how many threads a window keeps; each costs the window memory (about its snapshot, a few MB for a very long
    thread, so "all" can reach gigabytes after hundreds of long threads, too much for a phone). Clients keep a thread
    subscription without watching it with subscribe { topic, watch: false } and switch it with the new
    watch { topic, watch } (#226).
  • Opening a thread no longer starts its omp: only sending something does (a message, a / command, a model or
    thinking change, Restart), so browsing threads with Alt-j/Alt-k costs no omp processes. A thread shown after
    the daemon restarted shows its conversation, read from its session file, in the stopped state; its / completion
    offers the commands its omp last announced, which the daemon now keeps with the thread, and is asked only once you
    type /. thread.commands never starts omp any more, and a window asks the usable models of stopped threads once
    per login instead of starting a short-lived omp for every thread it shows (#231).

Fixed

  • The daemon gives back the memory of threads you looked at: a thread whose omp is stopped and that no window shows
    or keeps leaves memory after the idle timeout (idle_timeout_minutes, 15 by default), and showing it again reads
    it from its session file. On Linux the omfp binary now allocates with jemalloc, which returns freed memory to the
    system; before, a daemon that had shown a few long threads stayed at a gigabyte or more until restarted (#260).
  • Boring skin: the focused composer shows one accent ring around its rounded box instead of a misaligned second
    ring around the text area inside it (#215).
  • Copy and paste work in the terminal (omfp:terminal): Ctrl+Shift+C copies the selection and Ctrl+Shift+V pastes,
    Cmd+C and Cmd+V on macOS, in the browser and in the desktop window. Plain Ctrl+C and Ctrl+V still reach the program
    (#213).
  • A terminal (omfp:terminal, the kit's TerminalEmulator) closed or re-created right after it opened, e.g. by
    switching tabs quickly, no longer reports an uncaught TypeError (this._renderer.value.dimensions) from
    xterm.js among the window's errors (#225).
  • The Linux desktop window zooms like a browser: Ctrl with + (or =), - and 0, and Ctrl with the mouse wheel,
    which no longer scrolls. An image viewer keeps Ctrl with the wheel for its own zoom; Ctrl with the wheel over a row
    of view tabs zooms too, in browsers as well. Ctrl with the wheel over a conversation that follows its newest output
    keeps following it (#202).

Release limitations

  • macOS downloads are signed ad-hoc and are not notarized unless the release explicitly says otherwise. On first
    launch, allow the app in System Settings → Privacy & Security → Open Anyway. Updates may request microphone
    permission again.
  • The Flatpak deliberately runs oh-my-pi, git and job commands on the host with your account's permissions; it is
    not an isolation boundary. Keep workspaces under your home directory. On NixOS, use the Nix package or configure
    a compatible omp_bin. Job processes left behind after their shell exits are not killed on the host.
  • Standalone downloads do not cover Windows, Intel Macs or ARM Linux.
  • Multi-select prompts of the ask tool do not show yet which choices are checked: oh-my-pi 18.22 sends that state,
    but omfp's prompt card does not use it yet.
  • oh-my-pi always loads its own user agent/mcp.json from omfp's profile: omfp never writes it and neither lists nor
    calls its servers, but a thread's agent still sees a hand-written one.