github can1357/oh-my-pi v19.4.5

one hour ago

@oh-my-pi/pi-ai

Added

  • Added AuthStorage.usage.setRefreshInterval(): sets how long fetched usage reports stay fresh, or turns background usage polling off with null (#21208, #20812)
  • Added version exchange between auth-broker clients and the broker: clients log a warning when the broker runs a different omp version, and the broker logs each client's version and records it per client (#19592 by @will-bogusz)

Fixed

  • Fixed account selection skipping a Claude or Codex account after a saved reset was spent on it when the follow-up usage refresh failed: the pre-reset quota no longer gates the recovered account (#21839)

@oh-my-pi/browser-relay

Fixed

  • Fixed a relay tab keeping a password manager's frame visible when its page finished loading after omp emptied it

@oh-my-pi/pi-catalog

Added

  • Added the snapcompact-frame-size catalog rule and moved snapcompact's remaining per-model frame shapes into snapcompact-variant and snapcompact-frame-size rules, so a model line or host sets its frames in KDL (#19880 by @will-bogusz)
  • Added the opt-in snapcompact-text-archive rule, set for DeepSeek V4.1 Flash on every host: it reads its snapcompact archive as text instead of image frames whose 8px glyphs it can barely read (#21647 by @will-bogusz)

Changed

  • Devin's Gemini 4 Carbon and Hydrogen now get 1568px snapcompact frames instead of Gemini's 2048px, which they read back more exactly (#21623 by @will-bogusz)

Fixed

  • Explicitly dated model IDs no longer inherit intelligence or speed scores from a different dated snapshot (#21816 by @yyydddkkk)
  • Grok and Xiaomi MiMo get their reasoning-effort handling on every host, custom gateways included: Grok models without an effort dial (grok-4, grok-4-fast, grok-4.1-fast, grok-4.20, grok-code-fast, grok-build) no longer send reasoning_effort, and minimal/xhigh map to the levels each model serves
  • Venice's xiaomi-mimo-* models are recognized as MiMo
  • Models listed under a bare id (e.g. OpenCode Go's deepseek-v4.1-flash) show the intelligence score of their dated snapshot (deepseek-v4.1-flash-1017) when it is the only snapshot of that model
  • Fixed LiteLLM models whose metadata does not list supported_openai_params sending no reasoning_effort when another provider's bundled row for the same model does not take it (#21664 by @byhow)
  • Added from="<instant>" to the auth disabled "<reason>" rule: a provider can be scheduled to turn off at a set time (for announced shutdowns), including in sessions already running

@oh-my-pi/pi-coding-agent

Added

  • Every saved-reset spend attempt, automatic or from /usage reset and omp usage reset, is now recorded in the omp log, so it shows which process spent an account's reset and why (#19626 by @will-bogusz)
  • Added the local omp version to omp auth-broker status, flagging a broker that runs a different version (#19592 by @will-bogusz)
  • Added usage.refreshInterval (30s, 1m, 5m, off): how often omp polls provider usage endpoints for the status-line quota and account ranking; off stops background polls (#21208, #20812)
  • Added fallbackImageCountBudget to models.yml: the per-request image limit for models no catalog rule or imageCountBudget covers (default 5), or off to send every image (#20477)
  • /resume folds a conversation's rewinds, edits and retries into one row that resumes its newest branch (#21826)
  • /tree has a Branches graph of where the session's branches part and end, and opens on it once a session has branched; Alt+B (app.tree.graph) swaps between it and the entry list, keeping the selection, and Tern shows the graph beside every tab (#21826)
  • In Tern, /rewind docks a clickable map of the current branch's split points, each counting the branches (and forked sessions) that leave it; fork columns count the branches under them (#21826)
  • Alt+E in /resume unfolds a conversation into its tree: the prompt each branch split after, and each resumable branch named by what it asked next (#21826)

Changed

  • / command autocomplete ranks commands by frecency: recent uses count more than old ones, so commands you have stopped using drift down

Fixed

  • Fixed the browser's in-page dialog watcher renewing the page's user activation twice a second during runs, which let pages open popups and pass other activation checks no one made
  • Fixed a PDF a link opened in a relay tab not being saved as the tab's download when Chrome's viewer took longer than 1.5s to show it
  • Fixed pty commands and services ended by a signal exiting before the programs they ended were gone
  • Fixed eval cells on a slow machine dropping file changes from their result while the change tracker was still starting
  • Fixed pasting a Chinese or other non-Latin sentence with an English word in it (为什么我的Docker容器启动之后马上就退出了) opening the "Secret detected" dialog as a high-entropy token (#21845)
  • Fixed folded ask questions highlighting the options you did not pick; the picked option now carries the highlight (#21602)
  • Fixed the browser tab.frame() miss listing a malformed iframe URL with its raw control characters, and log redaction keeping credentials in an unparseable URL whose password holds / or @
  • Fixed a saved reset the provider applied being recorded and reported as an error when omp then failed to write its reset marker
  • Fixed isolated runs outside Git rejecting their own patch when a file's timestamp changed but its contents did not (#21818 by @jchanghong023)
  • Fixed two Evals starting together on Windows failing or hanging while both set up the touch hook (#21819 by @jchanghong023)
  • Fixed ACP session/new, session/load and session/resume failing on Windows when the client passes a \\?\-prefixed cwd (#21783, #21788 by @koeria)
  • Bash utility builtins (touch, cp, mkdir, …) keep non-UTF-8 file name operands as the bytes the shell expanded instead of replacing them with U+FFFD (#21785, #21786 by @zhaob1n)
  • Sessions launched with flags are resumed again after a Rex restart: the OSC 7577 resume report puts --restore right after the command (#21769, #21787 by @koeria)
  • A kept-alive subagent restarted by an advisor now delivers its revised result to the parent when it consumed a parent steer (#21768, #21806 by @koeria)
  • A new session whose memory context reset fails (Mnemopi, Hindsight) keeps answering prompts instead of going silent (#21762 by @sjawhar)
  • Fixed a background job or subagent's status chip appearing inside longer words in replies (a job named run chipped "running"), and inside code, paths and links
  • Fixed macOS background drags reporting success when their slider or scroll bar did not move; a web slider finished by a press at the release has its value named in the drag's output (#19195 by @will-bogusz)
  • Fixed computer results repeating the macOS secure-input note on every run while a password field kept focus; it now comes in full with the first run after secure input turns on or its holder changes, and later runs while it holds carry a one-line reminder (#21667 by @will-bogusz)
  • Fixed eval results leaving out the cell's log() lines, which reached only the user's status display, so a cell that only logged read as (no output) to the model; the result now carries them after the printed text, in Python and JavaScript (#21678 by @will-bogusz)
  • Fixed browser tab.waitFor and tab.waitForSelector (and their frame versions) given a timeout waiting it out on a selector Chromium cannot parse; they fail at once, as without one (#21662 by @will-bogusz)
  • Fixed the browser tool's tab.frame() refusing a miss without saying which frames exist on Chromium, WebKit and Tern tabs: the refusal lists the page's child frames by name and URL, without each URL's query or fragment, and names the iframe[src*="…"] selector that picks a frame by part of its src (#21795 by @will-bogusz)
  • Fixed DeepSeek V4.1 Flash getting its snapcompact archive as image frames whose 8px glyphs it can barely read: it now reads the archive's text, as a model without image input does, and its own snapcompact compaction sizes the archive by that text. Screenshots and other images it is sent still go as images (#21647 by @will-bogusz)
  • Fixed the compaction check before a resumed session's first request, and the fit check for a retry or switch onto a model on another compaction boundary, counting a snapcompact archive's frames for a model that reads its text instead (a model without image input, or DeepSeek V4.1 Flash) (#21647 by @will-bogusz)
  • A snapcompact archive is now re-rendered in the frame shape of the model reading it after a model switch, from its kept text, instead of sending the frames drawn for the model that compacted: a Gemini model after GPT gets Gemini's 2048 px frames, and a model given its own snapcompactShape gets that shape. Switching back sends the original frames. When no installed font can draw that model's frames, it reads the archive as text within its share of the window, as compaction falls back to text (#19620 by @will-bogusz)
  • Fixed a subagent's browser.open taking over a tab another agent opened under the same name: it drove the other agent's page, or, on another browser, was told to close it. The open is now refused and names the agent that holds the tab; a subagent can still reuse a tab its parent opened, as it is (#21676 by @will-bogusz)
  • The computer tool's guidance now says UserIntervened also comes from Windows takeovers, which wait for you to pause before they start (#20019 by @will-bogusz)
  • Fixed quitting printing the "Resume this session with" hint before omp finished handing the terminal back, so the last screen update and terminal resets landed after the hint; /restart likewise waits for the hand-back before starting the new process (#21829 by @oshinop)
  • Fixed Auto-Learn capture running indefinitely in the background: each capture stops after autolearn.maxTurns model requests (default 10), or earlier when it keeps repeating a tool call, and shows a notice saying why (#21828)
  • Fixed Node and Bun programs run from the bash tool in an interactive Windows session reporting process.connected as true, because they inherited omp's restart-supervisor IPC channel (#21748)

@oh-my-pi/pi-natives

Breaking Changes

  • DesktopCapabilities.displayCount is now displayCount?: number, absent while the backend cannot tell how many displays it can use; it was always a number (#19618 by @will-bogusz)

Fixed

  • Fixed macOS background drags reporting success when their slider or scroll bar did not move; a Chrome or Electron slider the drag left short is finished with a press at the release, and one that still cannot be confirmed throws InputFailed (#19195 by @will-bogusz)
  • Fixed stale native addon caches never being reclaimed on Linux hosts running a systemd user session, such as most desktops and WSL
  • Fixed Wayland capabilities() reporting zero displays before the first capture; the count is now absent until known (#19618 by @will-bogusz)
  • Fixed Windows computer takeovers starting while you type, so your keys went into the target: a takeover now waits until the session has had no input for 5 s (pointer moves included) and you hold no mouse button or modifier, and returns UserIntervened with nothing sent if that does not come before the call's deadline; once started, a takeover still runs to the end if you type (#20019 by @will-bogusz)
  • Fixed Wayland window screenshots on Hyprland and wlroots cropping the wrong pixels after a monitor was moved or rescaled while the screen share stayed open, and a coordinate check there swapping in a new share that could time out the next still-screen screenshot
  • Fixed Wayland screenshots of a still screen failing after 5 s with PipeWire frame timed out on Hyprland and the wlroots compositors sway, river, labwc and wayfire: on those compositors the screen share now stays open between screenshots and closes after 120 s without a screenshot or coordinate input. Other compositors, GNOME and KDE included, still open and close a share for each screenshot (#19615 by @will-bogusz)
  • Fixed Windows setValue to set a WPF slider to a number in its range (at most 15 significant digits) or a combo box/list to the exact name of an exposed item, then read it back. The app must already be in front; these writes are refused behind other windows (#20178 by @will-bogusz)
  • Fixed Windows WPF scroll silently dropping posted wheel input: a WPF window in front with no Chromium/WebView2 child window scrolls the UI Automation scroll container under the point; other WPF scrolls throw BackgroundUnavailable with nothing sent, which the default background fallback reruns in takeover; a sent step whose movement cannot be read back throws AxUnconfirmed, and one that left the content in place throws InputFailed (#19870 by @will-bogusz)
  • Fixed non-finite desktop scroll deltas reaching platform input; WPF UI Automation scrolls now refuse requests outside the posted wheel's signed 16-bit range before sending any input (#19870 by @will-bogusz)
  • Fixed Windows computer press() on a WPF button or check box behind other windows being refused: it now requests the control's default action without bringing the window forward; a check box changes state without running its Click handler (#20179 by @will-bogusz)

@oh-my-pi/snapcompact

Added

  • Added setFallbackProviderImageBudget(): overrides the 5-image budget for deployments no catalog rule names, or lifts it with "off" (#20477)
  • Added readerTakesArchiveText(): whether a model reads an archive's kept text in place of its frames (catalog snapcompact-text-archive) (#21647 by @will-bogusz)
  • Added archiveInShape(), which tells whether an archive's frames are drawn in a given shape (#19620 by @will-bogusz)

Changed

  • Snapcompact frame shapes now follow the catalog's classification of the reading model instead of matching its id: a custom model gets its lineage's (one classified as Gemini gets Gemini's 2048px frames), and OpenAI o-series models on Anthropic and Bedrock wires and Abliteration's GLM models now get their lineage's grid instead of their wire's (#19880 by @will-bogusz)

@oh-my-pi/pi-tui

Added

  • Native surfaces send program stylesheets registered with installNativeStylesheet to terminals with the styles feature, for the el nodes components describe; nativeFeature(name) reports a native terminal's features

Fixed

  • Fixed closing the terminal producing a spurious "Cleanup callback failed: setRawMode failed" error on exit (#21755, #21774 by @koeria)

@oh-my-pi/pi-wire

Added

  • el node kind (TspElProps: plain HTML elements styled by program stylesheets) and the s stylesheet verb (TspStylesheet)

What's Changed

  • fix(natives): stop macOS background drags reporting moves that did not happen by @will-bogusz in #19195
  • fix(cli): kept the restart supervisor's ipc env out of child processes by @roboomp in #21750
  • feat(ai,coding-agent): exchanged omp versions between auth-broker clients and the broker by @will-bogusz in #19592
  • fix(natives): keep the Wayland ScreenCast stream open between screenshots on Hyprland and wlroots by @will-bogusz in #19615
  • fix(natives): report the Wayland display count as unknown before the first capture by @will-bogusz in #19618
  • fix(snapcompact,coding-agent): re-render a snapcompact archive in the frame shape of the model reading it by @will-bogusz in #19620
  • feat(coding-agent): log every saved-reset spend attempt at info by @will-bogusz in #19626
  • fix(natives): scroll WPF windows through UI Automation and report a scroll that moved nothing by @will-bogusz in #19870
  • fix(natives): wait for the user to pause before a Windows takeover by @will-bogusz in #20019
  • fix(natives): set WPF sliders and combo boxes through RangeValue and SelectionItem by @will-bogusz in #20178
  • fix(natives): press WPF controls behind other windows through their default action by @will-bogusz in #20179
  • fix(browser): refuse an unparseable selector at once when a wait is given a timeout by @will-bogusz in #21662
  • fix(coding-agent): send the macOS secure-input note in full once per holder, then one line per computer run by @will-bogusz in #21667
  • fix(browser): refuse opening a tab name another agent holds by @will-bogusz in #21676
  • fix(coding-agent): show a cell's log() lines in eval results by @will-bogusz in #21678
  • fix(coding-agent): list the page's frames when tab.frame() finds none by @will-bogusz in #21795
  • fix(coding-agent): await in-flight Shell.stop() before exiting or restarting by @oshinop in #21829
  • fix(tui): tolerate Bun's codeless setRawMode errno error on closed terminals by @koeria in #21774
  • fix(builtins): preserve non-UTF-8 operand bytes in utility builtins by @zhaob1n in #21786
  • fix(coding-agent): put --restore before launch flags in OSC 7577 resume report by @koeria in #21787
  • fix(coding-agent): strip Windows extended-length cwd prefix for session dirs by @koeria in #21788
  • fix(coding-agent): observe agent-initiated continuation turns on kept-alive subagents by @koeria in #21806
  • fix(catalog): keep dated snapshot metrics separate by @yyydddkkk in #21816
  • fix(iso): skip unchanged text entries in isolation diffs by @jchanghong023 in #21818
  • fix(eval): reuse an already published touch-hook script on Windows by @jchanghong023 in #21819
  • fix(coding-agent): kept a new session answering when its memory context reset fails by @sjawhar in #21762
  • feat(coding-agent): fold rewind families in /resume with a fork graph by @H4vC in #21835
  • fix(coding-agent): stopped flagging non-ascii pasted prose as secrets by @roboomp in #21846
  • fix(ai): dropped restored limits from a reset account's cached usage report by @roboomp in #21843
  • fix(autolearn): bounded the capture turn by @roboomp in #21830
  • fix(mnemopi): shared the recall word pattern and pinned the coverage ordering of query-centered previews by @itskaism in #21851
  • feat(coding-agent): rank slash-command autocomplete by frecency by @H4vC in #21877
  • feat(coding-agent): conversation tree in /tree and /rewind by @H4vC in #21876
  • fix(coding-agent): fix the races behind CI timing flakes by @H4vC in #21884

New Contributors

Full Changelog: v19.4.4...v19.4.5

Don't miss a new oh-my-pi release

NewReleases is sending notifications on new releases.