Release notes
Oh My Pi v18.22.2
@oh-my-pi/pi-ai
Added
- Added the native Kiro provider: sign in with AWS IAM Identity Center, AWS Builder ID, Google, GitHub, or a Kiro API key (
KIRO_API_KEY), stream responses with reasoning, tool calls, and images, and report Kiro credits in/usage(#18955 by @Xytronix, based on #14215 by @ajdiyassin) - Added a
definitiveoption toOAuthError;isDefinitiveOAuthFailurenow takes the error object and disables a credential marked definitive without matching its message (#18955 by @Xytronix) buildAnthropicSearchHeaderstakesextraBetas, request-specific betas sent beside the web search beta (#18125 by @will-bogusz)- Added
omitDemotedReasoningtoStreamOptions: an Anthropic request leaves out other models' reasoning that it would otherwise replay as text, and a refused request reports how many such blocks it carried indemotedReasoningBlocks(#10407) (#17610 by @will-bogusz)
Fixed
- Fixed shutting down or cancelling an omp session making every other session sharing the agent directory see its OAuth accounts as depleted for 5 minutes; still-valid tokens are also served during shutdown (#19607)
- OAuth accounts refreshed through an auth broker keep their stored routing metadata (such as an API endpoint) in the key built for the request, instead of losing it after the first refresh (#18955 by @Xytronix, based on #14215 by @ajdiyassin)
- Fenced (```thinking) reasoning with very long unbroken lines no longer slows down as it streams (#19493 by @H4vC)
- Fixed Anthropic requests that replay a signed server-compaction block still asking for a message thread, which the API refuses (
thread_unsupported_request), so every such request first paid a rejected round trip before resending without the thread (#19473 by @alphastorm) - Anthropic requests whose connection drops before any response now say how long after the request started it dropped and whether the request body was still uploading or had all been written to the socket, with its size, instead of a bare "Connection error." (#18624 by @will-bogusz)
- Fixed Anthropic requests dropping the reasoning of earlier non-Claude turns signed in under another credential, or kept through a compaction; it is now replayed like other models' reasoning (#7241) (#17610 by @will-bogusz)
@oh-my-pi/pi-catalog
Added
- Added Kiro to the model catalog with automatic discovery of every model available to the signed-in Kiro account (#18955 by @Xytronix, based on #14215 by @ajdiyassin)
- Added Factory Droid's Claude Fable 5.2, Gemini 4 Carbon (with its launch credit promotion, half the input rate until 2026-12-01) and Kimi K3.1 Pro, each listed once the account's feature flag enables it, and GPT Image 2.6 and GPT Image 2.6 Flare ahead of GPT Image 2.5 in the
imagerole's Factory defaults (#19191 by @will-bogusz) - Added
writeModelCacheAsync()andforEachInSlices(): model refreshes now build and cache discovered models in slices that yield to the event loop;writeModelCache()returns its outcome and no longer rewrites a provider whose rows are unchanged
Changed
readModelCache()parses a payload once per process: cache files holding identical rows return the same shared row objects
@oh-my-pi/pi-coding-agent
Added
- Computer
el.setValue(75)now writes the number as"75"instead of refusing a non-string;NaN,Infinity, booleans and objects are still refused, as are a whole number past 2^53 and a number that prints with an exponent, which are passed as text in digits instead (#19405 by @will-bogusz) - Added a report of native windows to browser results on macOS for visible managed browsers, spawned Chromium browsers and a loopback relay: a
<select>menu, colour or date picker, or a print, save, sign-in, passkey or permission sheet or bubble a call raised over its tab is named with itscomputer.window()id while the browser's tab list shows that tab in front of its window, by the next call when it shows just after the call returned, and on failed calls too; connected CDP endpoints, remote relays and page-backed popup windows are excluded (#18925 by @will-bogusz) - Added Kiro as a built-in provider: run
/login kiro, pick Identity Center, Builder ID, or an API key, and choose a discoveredkiro/<model-id>model. Each/login kiroadds an account (#18955 by @Xytronix, based on #14215 by @ajdiyassin) - Added Google and GitHub to
/login kiro: approve a one-time code atapp.kiro.dev, then sign in with that account (#18955 by @Xytronix, based on #14215 by @ajdiyassin) /usageandomp usagenow show Kiro credits: the monthly plan credits with their reset date, active bonus credits with their expiry, and overage credits and charges when overage is enabled (#18955 by @Xytronix, based on #14215 by @ajdiyassin)
Changed
- Model registries in one process (SDK embedders, tests) now share discovered-model builds, so refreshing another registry skips rebuilding models an earlier one already built
Fixed
- Fixed the UI freezing briefly when a prompt is submitted: prompt history is now written to disk in the background (within 100 ms, and on exit) instead of on the Enter keystroke
- Fixed the UI freezing while discovered models from large provider catalogs are merged: the merge now runs in slices that yield to the event loop
- Fixed closing omp's headless browser taking about 7 s when Chromium never finishes a graceful shutdown (seen with Chrome for Testing 150 on macOS 27): a browser on an omp-created profile is now killed at once
- Failed computer runs retain text and screenshots already produced in JavaScript and Python Eval, so agents can inspect partial actions without losing the error; direct computer calls also show the failure's name and message alongside partial output (#19100
…