Minor Changes
- b35c8cb: Add an in-app changelog ("What's new") surface. Every app can now ship a
user-facingCHANGELOG.mdthat renders in the command menu (Cmd+K) and in
settings. Core provides<ChangelogDialog>,<ChangelogSettingsCard>, a
changelogprop onCommandMenu(with an unseen-release dot), and an
agent-native changelog add|release|listCLI that authors changeset-style
pending entry files and rolls them up into the datedCHANGELOG.md.
Patch Changes
- b35c8cb: Fix MCP app embeds for OpenAI's default web-sandbox origin and keep an Open in new tab fallback available when inline app loading fails.
- b35c8cb: Return native redirect responses from web OAuth callbacks so successful sign-ins
land on the clean return URL instead of retaining provider callback query
parameters. - b35c8cb: Add a public
GET /_agent-native/healthroute that runs a trivialSELECT 1
to report database liveness and, as a side effect, keep a scale-to-zero
serverless database (e.g. Neon) warm. A scheduled ping against this endpoint
prevents the multi-second cold-start that otherwise stalls the first request
to an idle app. The probe always responds (apps with no database report
db: falserather than failing) and is never cached. Disable it with the
disableHealthcore-routes option. - b35c8cb: Fix MCP app embeds rendering only a flashing/permanent loading state in Codex
and Cursor. These standards-track hosts render theui://resource in a strict
opaque-origin sandbox (sandbox="allow-scripts") and talk to it over the
postMessageui/*bridge. The shell's handshake was already correct, but for
these hosts it fell through to self-navigating the sandboxed iframe to the real
app origin, which tears down the host bridge and loses the opaque-origin auth
context. Any host connected through the native MCP Apps bridge (Codex, Cursor,
the SDK App fallback, our own renderer) now transplants the app document into
the shell — the same robust path Claude already uses — keeping the bridge alive
and loading via embed-token auth. Also handle the spechost-context-changed
notification and bump the cached resource shell version so hosts refetch. - b35c8cb: Fix the missing inline screenshot on PR Visual Recap comments. The
recap shot
command runspage.evaluate/addInitScriptpayloads that contain named inner
functions; when the CLI is run throughtsx/esbuild (CI's trusted-workspace
path), esbuild'skeepNameswraps those functions in__name(...), which
Playwright then serializes into the browser where__nameis undefined —
throwingReferenceError: __name is not defined, dropping the screenshot, and
falling back to a link-only comment.runShotnow injects an identity__name
shim as the first browser init script, so every main-world payload is safe
regardless of how the CLI was transpiled (the tsc-built published package, which
never emits__name, is unaffected). - b35c8cb: When a long agent run is cut off mid-stream while assembling one large tool input (a generation that exceeds the ~40s soft-timeout window), the auto-continue nudge now points the resumed model at the incremental-edit path for that specific action instead of only handling
create-extension. Designs (generate-design→edit-design), plans (create-visual-plan/create-ui-plan→update-visual-plan/patch-visual-plan-source), and dashboards (update-dashboardincrementalops) get tailored "ship a compact first version, then refine" guidance, with a generic compact-first fallback for any other large-payload action. This breaks the re-stream-the-same-oversized-payload thrash loop that could otherwise burn the whole continuation budget without making progress. - b35c8cb: Capture first-touch referral attribution and enrich the signup event (
referral_source,referrer_user, UTM,first_touch_path) to measure app virality. The browser records an anonymous visitor's first-touch context (ref/via/utm_*params, landing path, and referring host) into anan_attributionlocalStorage key and a first-partyan_ftcookie, and the server-sidesignupevent is enriched from that cookie so every template can see where new users came from.