Skip to content

omfp v0.4.3

Choose a tag to compare

@github-actions github-actions released this 23 Nov 17:48
· 55 commits to master since this release
v0.4.3
19e60fb

Added

  • A turn cut by a daemon restart (an upgrade, omfp desktop restarting its background daemon, Quit) is no longer
    lost silently: the daemon remembers which threads were working when it stopped, and once it runs again their chat
    ends with a notice saying the last turn was interrupted, with a Resume button (:resume) that restarts the agent and
    tells it to check what was in progress and continue. Any message you send clears the notice too. Agents see it as
    interruptedAt on the thread's summary and resume with thread.resume (#264).
  • omfp daemon restart restarts the running daemon onto the omfp you run it with, after an upgrade: the daemon
    stops as on Quit (marking the turns it cuts) and becomes the new build in the same process, with its arguments,
    environment and address, so open windows reconnect and omfp desktop waits for it instead of starting a daemon of
    its own. It also works from the shell of one of omfp's own threads, which finds the daemon through OMFP_DATA_DIR,
    and under systemd. A daemon of an earlier release cannot restart this way: stop it once and start it again (#282).
  • The daemon can run as a systemd user service: the flake's home-manager module
    (homeManagerModules.default, services.omfp.enable = true;, optionally tray = true;) restarts it when it fails
    and whenever the package changes, and the Linux Nix packages ship the unit as lib/systemd/user/omfp.service
    (contrib/systemd/omfp.service elsewhere). See the overview's Install (#282).

Changed

  • The daemon writes its log to <data-dir>/daemon.log however it was started (from a terminal, the session's
    autostart, a service), not only when omfp desktop starts it, besides stderr; the file no longer holds colour
    escapes (#282).
  • Agents' omfp_call of a reading thread.* method (thread.session, thread.state, thread.mcp_servers, …)
    without threadId now reads their own thread; the other thread.* methods still need it, and their error names the
    agent's own thread id (#284).
  • omfp now runs omp 19.1.0. When the agent asks you something with its ask tool, the whole form shows at once in
    the chat: its explanations, every question, radio and checkbox choices with an "Other" answer, text and number
    fields. Required fields, limits and patterns are checked before the answer goes out, so the agent always gets a
    complete answer; Cancel still dismisses it (#100).
  • Tools omp offers as commands of its shell (lsp, ast_grep, ast_edit, debug, MCP tools) keep their own cards
    in the chat, and the tool cards keep showing what each call is for, which omp 19 otherwise leaves out of omfp's
    sessions.
  • The macOS app needs macOS 14.5 or later: the built-in themes, the matugen template and theme files use CSS
    light-dark() for their light and dark palettes (a user theme written the old way still works).
  • Copying standalone omp's logins lets SQLite take the snapshot of its agent.db, so SQLite may leave -wal/-shm
    files beside it, as omp itself does.
  • The daemon refuses a database from a pre-release omfp build (before 0.1.0) instead of migrating it: delete it, or
    start an older omfp once.
  • The file picker (Space f) is built like the other pickers: it shows its keys and says when no file matches.

Removed

  • TSX views ({ "view": "./views/<name>.tsx" } in views.json) and the layout components of omfp/sdk (Row,
    Col, Tabs, Stack, Widget): build computed views with views.add in .omfp/init.ts instead.
  • The user component library: user:<name> widgets in <data-dir>/widgets, omfp_component_save,
    omfp_component_list, widgets.save, widgets.library and :widget save. Copy widget folders between workspaces
    instead; user:init is unchanged.
  • The pre-0.1.0 command ids theme.set and widget in keymaps and omfp_window_run, and the retired
    omfp:subagents reference in views.json (use window.theme, widget.manage and omfp:background).

Fixed

  • Threads started together right after the daemon's first start (or several title, model and login checks at once on
    a fresh install) no longer fail with "omp did not become ready": omp 19.1 crashes when two of its processes create
    its credential store at the same time, so the daemon starts the first omp of its profile alone.
  • A repository without commits (right after git init) no longer stops the changes view of its whole workspace: it
    shows its branch and every file as added. A repository whose git status fails for another reason shows that error
    in omfp:changes while the others keep updating, and the daemon logs it once instead of every 30 s (#268).
  • Refreshing an MCP server's OAuth login asks for the same scope as the original sign-in, as omp 19.1 does, so
    Microsoft Entra servers whose client is also the resource keep working.
  • Images an agent shows in the chat appear: a card of omfp:file on an image or a PDF gives the viewer a height of
    its own instead of an empty strip, and an image in the agent's reply whose source is a file path
    (![map](out/map.png), relative to the workspace folder, or absolute) loads that file (#294, #295).