Release · Oh My Pi · can1357

Oh My Pi v19.3.0

What's new in Oh My Pi v19.3.0, released Nov 29, 2026 (). This is the latest version.

Release notes

Oh My Pi v19.3.0

@oh-my-pi/pi-agent-core

Added
  • Added Agent.inheritToolDescriptions() and Agent.normalizedTools() so forked agents can reuse their parent’s prompt cache when tool descriptions differ only in wording.
  • Added CompactionSettings.summaryMaxTokens to control the output token budget for regular compaction summaries. Compaction preserves history that fits alongside the previous summary and the requested output budget (#18688).
Changed
  • Capped the default reserve-based compaction threshold at 690,000 tokens for large context windows. Explicit percentage and fixed thresholds, as well as baseWindowTokens overrides, remain uncapped.
Fixed
  • Turn-end hooks can now identify calls that did not name a tool through AgentTurnEndContext.unresolvedToolCallIds (#10876).
  • generateHandoffFromContext now sets an output limit so handoffs cannot stream indefinitely on servers without their own limit. Handoffs that reach the limit without finishing report an incomplete-output error (#18031).
  • Reduced authentication-gateway request sizes by excluding internal host state from tool definitions.
  • OpenTelemetry chat spans now report the model that actually served the response.
  • Fixed shake recovery increasing context size by replacing tool results that were smaller than the replacement text (#7204).
  • Fixed context token counts used by the status line and compaction to include $ Python output, @file mentions, and terminal images from ! commands, while excluding !! output that is not sent to the model (#20834 by @sjawhar).
  • Fixed token counting failing on stored custom messages whose content is neither text nor content blocks (#20834 by @sjawhar).
  • Compaction now stops in-flight summary requests and avoids sending new ones after cancellation or failure, including during split-turn compaction (#20713 by @sjawhar, #20887 by @sjawhar).

@oh-my-pi/pi-ai

Breaking Changes
  • Removed KnownProvider and OAuthProvider. Use Provider and OAuthProviderId, respectively; provider IDs are plain strings.
  • Rename OpenAI promptCache.breakpoint from latest-stable-message to message-boundaries in your configuration. Explicit caching now marks the leading instructions, each user message, and each consecutive group of tool outputs so later requests can reuse cached prefixes. Nested gateway cache markers are rejected (#12880 by @ZenAlexa).
  • Import the SPEECH_FORMATS value from @oh-my-pi/pi-catalog/types. The SpeechFormat type is still exported by this package (#19183 by @Xytronix).
Added
  • Added encryption at rest for SQLite credentials, backed by the OS credential vault. Set encrypt: true on SqliteAuthCredentialStore.open() or .unlock() to enable it, or encrypt: false to decrypt existing credentials and stop using the vault. The "auto" mode preserves an existing store’s mode and encrypts a new store only if the vault is available without prompting. Local agent.db uses "auto" unless overridden by auth.encrypt or OMP_AUTH_ENCRYPT. macOS builds without a Team ID signature do not access the vault.
  • omp usage now reports Venice USD and DIEM balances, available bundled credits, and the DIEM epoch reset with a regular API key (#20701 by @dagurval).
  • Added xAI speech-to-text transcription (xai-stt), including through the authentication gateway (#19184 by @Xytronix).
  • Mock provider responses can set upstreamModel to report a serving model different from the one requested (#20466 by @byhow).
  • Devin models now support the priority service tier for faster inference at the corresponding priority price.
  • synthesizeSpeech uses the model’s configured voice when none is requested. Use speechModelSupportsFormat to check which audio formats a model supports via Model.speechFormats (#19183 by @Xytronix).
  • Added kimi-code-global support for streaming and quota reporting through Kimi Code’s global region (#15889 by @z80dev, #20509 by @digi4care).
  • Added the onDiscardedAttempt stream callback to track attempts discarded during safe retries that may still incur charges. Attempts with neither token usage nor charges are omitted (#20667, #20806 by @wapenshaw).
  • Factory Droid now supports xhigh thinking on Gemini models that offer it, such as Gemini 4 Neon (#19841).
  • Set PI_ANTHROPIC_OAUTH_CALLBACK_PORT to override the Anthropic OAuth callback port. The default is 54545; use 0 to select a free port automatically (#14135).
  • Added the sign-out provider hook and OAuthApi.signOut. Removing a login now runs the provider’s hook to clear secrets stored outside the credential store and revoke the OAuth grant.
Changed
  • GitHub Copilot now distinguishes AI-credit billing from premium-request billing. Claude and GPT replies record server-reported AI-credit charges and their token-type breakdown in usage.aiu, or set usage.aiuMissing when no charge was reported. AI-credit accounts show “AI Credits” in quota reports and omit usage.premiumRequests estimates; request-billed accounts retain their existing reporting, and accounts with unknown billing still retain the estimate (#20667, #20806 by @wapenshaw, #20807 by @wapenshaw).
  • GitHub Copilot’s gpt-6.2-sol now defaults to detailed reasoning summaries to avoid blank summaries. Explicit settings still take precedence (#20804 by @wapenshaw).
  • xAI text-to-speech now supports configurable playback speed, PCM output, and inputs up to 60,000 characters.
  • The tool-call loop guard now catches repeated calls that differ only in numeric arguments when the assistant repeats its text, without interrupting pagination or work across distinct file paths (#13426 by @nick-maderight).
Fixed
  • Codex accounts with only a weekly quota are no longer deprioritized by the 85% short-window usage guard (#20958).

…