Skip to content

@agent-native/core@0.232.0

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Nov 16:56
· 21 commits to main since this release
676bf89

Minor Changes

  • bf07e40: The agent's resource writes can now refuse to write over a newer save. An agent's resource read starts with a [revision …, scope …] line, and the resources write action, write-resource and pnpm action resource-write --expected-revision take that revision back: when someone saved the file after the read, nothing is written and the write fails with save_conflict and the revision there now. Writes report the new revision, and a write without one still replaces what's there. POST /_agent-native/resources returns the revision too, and with ifNotExists it now creates only where no file is, so of two creates at once the second gets the first one's file instead of writing over it, and a shared create in an organization gets the organization's file from before organizations instead of hiding it behind a new copy. useCreateResource accepts ifNotExists, and resourcePutIfSnapshot takes visibility, threadId, runId and expiresAt. Toolkit's personalization settings save their instructions over the version each edit started from, merging onto a newer save and asking which version to keep when both changed the text.

  • 089091b: Publish app capability manifests and standardize tab-scoped navigation. Enable realtime sync by default, acknowledge settled screens, and let embedded app frames handle view tools.

  • 41c2b0e: Add extension points a deployment can register its own policy through, with no change until something registers:

    • fetchWithProviderCallGate (from @agent-native/core/provider-api and @agent-native/core/provider-api/call-gates) sends a request made with a package's own client through the registered provider call gates, so a gate refuses, debits or rate-limits it exactly as it would a provider-api request. precheckProviderCall takes the request URL when known, so a gate that claims requests by URL is prechecked too, and a caller that must precheck before its own work (such as a token refresh) calls precheckGatedProviderCall, which bounds the precheck by the same admission deadline (ProviderCallGateAdmissionTimeoutError), and passes the receipt as prechecked so it runs once. The scheduling Google Calendar provider sends every request through it as provider google_calendar, takes an optional getAccountIdentity(credentialId) that gates receive as the request's accountId (a lookup that misses the admission deadline arrives as ProviderAccountLookupTimeoutError in accountIdError), and an optional appId (default "scheduling") that gates receive as the consuming app.
    • registerA2AActionCallHook (from @agent-native/core/a2a) lets a hook add JSON-RPC params to outgoing actions/invoke calls and, on the receiving app, refuse an incoming call or admit it as foreground work (isA2AForegroundCall()), optionally in a verified organization. A refusal reaches the caller as A2ACallRefusedError.
    • registerMcpTurnGrantAdmitter (from @agent-native/core/mcp) admits a turn grant the framework's own store does not recognize, such as one another service minted for the user's current turn. An admitted decision names the grant's ownerEmail and appId, and the framework refuses it unless both match the call. An admitter that does not answer within 5 seconds refuses the grant.
    • defineConfig client options take buildId and commitSha, so one build process can compile apps that report different builds.
    • agent-native.json doctor.testEnvKeys lists non-secret env keys an app's tests may read without the no-env-credentials guard flagging them; credential-like names (including *_URI connection strings, webhooks, passphrases and JWT) are refused.
  • f67e71b: Add userTurn: "direct" for actions that write on the user's own behalf. Over MCP the call needs an admitted user-turn grant, then runs immediately when the action's per-call needsApproval predicate returns exactly false; any other answer, including a throw, sends it to the app's review page. Existing read and approval actions behave as before.

  • 0a90ec1: Add shared connection budgets, explicit stale reads, and a durable provider write queue with scoped progress and reconciliation.

  • c8d851d: Automatic Builder setup at signup can now be enabled for exact hosted hostnames with onboarding.builderSignupHostedHosts, so an app copied from a template does not switch it on for its own domain. The sign-in page asks for an assignment only when the server has enabled the experiment for the request host, and the framework default stays off.

  • 75c90a5: Add agent.interactiveChatTurns (AGENT_INTERACTIVE_CHAT_TURNS). When enabled, a chat turn its signed-in owner sends from the app's own page runs as interactive provider work, and a durable run it hands off to carries a turn grant signed for that run, so its own tool calls stay interactive and isProviderInteractiveScope reports them as interactive to provider call gates; a recovery successor run does not inherit the grant. Off by default.

  • 554a6aa: Turn MCP Apps cards on by default. A chat app signed in as a person through the app's own OAuth sign-in (as Claude and ChatGPT are) or a connect token, with write access, now gets cards without turning anything on, and the "App cards in chat apps" lab is gone from Settings → Labs. A card can open the whole app, so other connections get plain results with links: a read-only connection, a shared ACCESS_TOKEN (even with AGENT_NATIVE_OWNER_EMAIL set), an A2A token, a standalone stdio server, or a service principal. The ChatGPT app-directory catalog and first-party clients are unchanged. A chat app connected while the lab was off may keep its old tool list until it is reconnected. The retired AGENT_NATIVE_MCP_APPS_INLINE and AGENT_NATIVE_MCP_APPS_INLINE_ALLOW_EMAILS variables still do nothing; a mounted MCP server logs one warning at startup if either is set.

  • efcefaa: Scripts on the MCP script catalog can now call actions that change data, once an app turns on AGENT_NATIVE_MCP_SCRIPT_WRITES. An action opts in with mcpScript: "write" and an mcpScriptWrite contract in defineAction: an upper bound on the rows one call can change, the receipt it commits with its change, a reconcile function that says whether that receipt exists, and a fence function that closes the receipt's key unless the write already committed. Before a write runs, its rows are reserved against the script's budget (AGENT_NATIVE_MCP_SCRIPT_WRITE_ROW_BUDGET, 200 by default) and a row is written to a new script ledger; a write whose ledger row cannot be written does not run. Each write is then settled as committed, not applied, or unknown, and a recurring sweep settles the unclear ones from their receipts. From 2 minutes after a write starts (AGENT_NATIVE_MCP_SCRIPT_WRITE_RECOVERY_MS), the sweep fences a write that left no receipt, so it can never commit, and records it as not applied. Audit rows and change markers for committed writes are delivered through the ledger's outbox and retried until they land. A new get-script-run tool shows a run's writes and refused calls to the person who ran it, and to an admin of their organization without their arguments, and run-script is no longer marked read-only where writes are on.

  • 2308970: Add a user-level no-approvals mode (no-approvals setting and AGENT_NATIVE_NO_APPROVALS_EMAILS default-on env list) checked at preparedCallNeedsApproval in @agent-native/core, plus the Agent settings Approvals toggle in @agent-native/toolkit.

  • 08abf8f: Resource uploads and workspace file appends no longer write over another save. POST /_agent-native/resources/upload used to replace whatever was at the path; now an upload onto a taken name is stored under the next free one (notes.md becomes notes-2.md), and the response is the resource it made, with its revision for text files. Resending a text file that's already there unchanged, at its own path or at the numbered name it was given, counts as done (200, that resource). In an organization, a shared file from before organizations at the path counts as taken. Free names also skip the names that shared files from before organizations hold, counting only the ones the organization can see. When no name comes free the upload is refused with name_taken and a suggested name, and useUploadResource now throws the server's message, errorCode and details instead of only the status. The workspace files append adds its text onto the version it read and writes only if nothing changed since, reading again when another save landed first, so two appends at once both land; an append onto an organization file from before organizations that changed meanwhile takes its write back and starts over, and after five tries it fails with nothing appended.

  • 708b59e: Comments & Review Kit: a registration can now set comments.resolveRole, the lowest role that may resolve and reopen threads (default editor), and resolveTitle, resolveUrl(resourceId, comment) and email: { preferenceKey, settingsName } for the comment email, which then names the resource, links to the thread's slide or page and reads the app's own email setting. The agent's reactions are kept as its own, apart from the person it works for, reactions match whatever the case of the email, and react-to-review-comment toggles under the comment's row lock when active is left out. reviewActorKindFromContext() and reviewReactionActor() are exported. mirrorReviewComments(resource, copies, { onlyMissing: true }) adds only the comments the kit lacks, for an app's last copy once it has switched, lockMirroredReviewThreads(resource) lets an app deleting a resource lock its threads in the order comment writes do, and linkMirroredReviewReplies(resource, links) gives replies an app once saved with no parent their thread's first comment as parent, so deleting one no longer deletes the thread. delete-review-comment takes onlyOwnComments, which refuses a delete that would take anyone else's comment, checked as the thread locks, for an agent deleting without approval. A registration can also set comments.agentDeleteApproval, so that delete-review-comment asks an agent's person before it deletes anyone else's comment and, without that approval, keeps the agent to its own. queryReviewComments can list one thread (threadId) and skip a number of comments (offset). Slides now reads and writes its comments through the kit.

  • 3c2c2f1: Add an optional signed sign-in route for automated test runners.

  • aabbdba: Breaking: replace standalone manifest discovery (get_app_manifest, app://manifest, GET /_agent-native/manifest.json, deriveAppManifest, resolveScreenPath, and navigate screen/params inputs) with optional, versioned agent-native/app-capabilities metadata in the grant-filtered tools/list _meta catalog (resolveAppCapabilities(discovery, mount)). Legacy manifest inputs passed to defineAppManifest or defineAppConfig({ manifest }) are adapted to v1 automatically. Correlate rendered navigation receipts to their target tab and keep background sync opt-in.

  • 68cd6e5: Meaning search's pgvector table can be made at release, since hosted request functions refuse every schema statement. semanticVectorStoreMigration({ version, name }) is a named migration that installs vector and makes the meaning lane's table at 1,024 dimensions (DEFAULT_EMBEDDING_DIMENSIONS, which every built-in embedding family uses; pass dimensions for another size), and pgVectorIndexMigration({ version, name, namespace, dimensions }) does the same for any namespace, and refuses an empty dimensions list, a bad size, a size above the 2,000 dimensions pgvector's HNSW index takes, or a bad namespace when it's built, before a release makes any table. A database without pgvector defers either one to a later release, as does a server migrating at boot whose database role may not install the extension or make the table; a release fails instead. ensurePgVectorIndex now checks that the table its name finds has its audience_ids column and both indexes before sending any schema statement, so a request can use a table the release made. A migration entry can set changesSchema: true so a run callback that makes tables uses the migration connection, as SQL migrations do, rather than the app's, and a failing run callback is logged with its migration's name. searchNamespaceIdentifiers refuses a namespace too long for its vector table names, which Postgres would cut short at 63 characters.

  • 66de1ad: Add opt-in sharing, members and credential options: ShareButton takes autoFocusInvite (focus the add-people field on open and return focus to the opener on close), confirmOrganization (skips only the organization prompt; confirmVisibility still asks, and useShareButtonController takes the same opt-out as confirmOrgVisibility: false) and onLinkCopied; MembersSection takes showDisabledInviteForMembers and onInvite; workspace credential services take allowDraftEdits so an app can save a disabled, unvalidated draft and activate it after validation; an update that omits draft keeps a draft a draft. Defaults are unchanged.

Patch Changes

  • be7b76a: Replies that link a Content database row add-database-item just created are no longer replaced with "I could not verify the document URL…". The artifact detector and the A2A reply check now read the created row from the action's mutation receipt, as they already did for upsert-database-item-by-key and mutate-content-database-block, so Slack and ask_app answers that name the new row go through. Both now keep a receipt link only when it names that row.

  • dd11f68: A delegated call from an app with no workspace domain now runs in the person's one workspace in the receiving app, with that workspace's connections, and saves what it makes there, unless they have picked their personal space there. With no workspace or several, it stays in their personal scope. If the receiving app can't read its workspace list, the call stops with a "try again" error instead of running in the wrong place.

  • 43c82f1: A2A calls no longer carry the caller's Google access token, and the receiving agent takes the run's user only from a verified A2A token, never from a Google token in message metadata.

  • 0f4643c: The persisted action query cache no longer scans every localStorage key for each query cache notification while a write is already queued. Epoch and clear-intent checks still run before each storage write and each new queue.

  • 7d73a2e: Save the pending action query cache write as soon as a mutation succeeds or the page is hidden, so a reload right after a write no longer restores the state from before it.

  • 2d3661c: currentActionOriginCaller() from @agent-native/core/action names the caller that started the action calls running now, such as "mcp" for an outside agent's tool call, so server code deep inside an action can tell who started it without trusting anything the request sent.

  • 3a185b9: When a run ends with an empty reply right after a tool call was refused as no longer available, it now fails as tool_unavailable naming the tool instead of blaming the model's output-token budget.

  • 4502521: Agent calls from the built-in chat, MCP, WebMCP, and A2A now share one isAgentCaller check. Read-only actions, write actions, and detail opens keep the user's current view by default across createNavigateAction() and the application-state store unless intent: "open" (or allowsAgentNavigation: true on an explicit UI-opening action) is set, and navigateAfterWrite skips post-write navigation for agents without an open intent.

  • abf512f: The agent's framework prompt now says that <current-url> shows a query value only for keys the app declares through urlQueryKeys, and <redacted> for the rest.

  • 062955d: Agent replies in toolkit chat now open with a line counting the pages, web pages, files and searches the agent read, which opens to list them with links. Reads and searches that still failed show above it in amber with their reason, and stay when the chat is reopened. Core's recover rule now asks the agent to name a needed read or search that still fails and say what the answer may lack.

  • abf512f: The agent's __url__ page state now redacts every query value except the keys an app declares, attribution parameters (utm_*, gclid, ref and the rest) included: pass urlQueryKeys (exact names and prefix* patterns) to the toolkit's AgentSidebar. scrubLocationState and scrubUrl's keepParams and keepAttribution options are exported from @agent-native/core/client/url-scrub.

  • 85b37f1: Allow app role descriptors with identical values to be registered again during server reloads while still rejecting conflicting descriptors.

  • 44e3803: update-resource-suggestion takes an optional baseRevision: the resource revision the amendment's operations were written against. The adapter validates it as it does a new suggestion's, and the suggestion moves onto it, so an author can keep amending a suggestion after the resource changed elsewhere. An amendment's operations must target what the suggestion already targets.

  • 43c82f1: Approving a paused tool call now requires the call's pending ask id (approvedToolCallAskIds) alongside its key, and agentNative.submitChat carries approvedToolCalls only when the message comes from the app's own origin.

  • 0c77205: When ask_app_status rejects a task handle as invalid or expired, the error now tells the caller how to keep polling the same task: call ask_app_status with the app and taskId from the ask_app result and no taskHandle, and don't resubmit ask_app, which can duplicate work. Before, the error gave no way forward once a handle expired, an hour after ask_app returned it. The MCP docs describe the same fallback, and a new report (tools-list-size.perf.spec.ts, run by hand) measures how many tokens each app's tools/list costs a connected model under read-only and read-and-write scopes.

  • 2d3661c: Background run-code executions now run as the caller that queued them, over the same network protocol, and a background data-program run that an outside caller started keeps that caller. Before, both ran as the app's own agent, so an outside agent's tool calls in them skipped the limits and approvals of a foreground run.

  • 43c82f1: Durable background chat runs now carry a signed copy of the initiator they resume as, and the worker refuses to start when the stored initiator differs from it or when that person is no longer a member of the run's organization.

  • 75c90a5: Refresh active action queries after explicit host refresh requests without requiring realtime sync.

  • ac21d0b: Retry empty Builder.io GPT responses with lower reasoning effort while retaining the larger retry token budget. Include request size and token-budget details in gateway failure diagnostics.

  • ac21d0b: Use the socket protocol for Builder connect links on loopback when no forwarded protocol is provided, so HTTP links work in production builds.

  • 5be6e23: Fixes automatic Builder.io account setup reliability across signup paths: a cold-start request to the Builder signup route now waits for the route instead of falling through, and signup callbacks during bootstrap no longer skip setup; Google signup from the login view and mobile/desktop Google exchanges are enrolled; cross-browser magic-link signups keep consent through a single-use landing disclosure; first-run onboarding sends users with an existing Builder account straight to sign-in; and provisioning failures keep a stable provision_failed code.

  • 1314760: New Builder starter apps now tell their coding agent to style with Tailwind utilities, or to write any custom CSS before or alongside the markup that uses it. The preview reloads on every file write, so an agent that wrote the page markup first and its stylesheet later showed users a fully unstyled page while it worked.

  • 962e79d: Google Calendar connections made before the calendar list scope was added stay connected; the scope is still requested on new connections.

  • 4f80390: Keep a user's Google Calendar connection available after switching workspaces, while preserving owner and app-grant isolation.

  • a6affb8: Let an open tab's change feed catch up when the change log is busy with other people's resources. A poll checked access to them one at a time and stopped at the first unchecked one, so on a busy deployment a tab fell minutes behind and missed new changes, such as an agent's suggested edit, until a reload. A poll now starts the checks its changes need together, as one batch per resource type.

  • 43c82f1: A messaging channel's configuration now records the organization that set it up, so changing the owner's active organization no longer changes who can replace it. Signed-out OAuth callbacks name the starting account only for a desktop flow bound to its browser.

  • 862e5bf: Inbound messages on a channel set up by an organization run only for members of that organization. Deployment admins can take over a channel's setup from any organization.

  • 205f078: When two apps share an origin, a link opens the app whose base path matches it most closely instead of the first one listed.

  • b578994: Chat-first Dispatch asks its app route which app a sent message is about while the agent's turn starts, and opens that app's pane as soon as the route answers instead of waiting for the agent to open it. It starts the app's embed session right away. If the agent then opens the same app, that pane moves to the agent's page; if it opens a different app, that app replaces it. Nothing opens for a chat-only, failed, unconfigured or late answer. Nothing opens either when the answer arrives after a newer message, after a send was rejected, after the agent or the person changed the pane, or after the person left that chat. @agent-native/core/client/agent-chat exports reportAgentChatComposerSubmit, withdrawAgentChatComposerSubmit, subscribeAgentChatComposerSubmit and agentChatPreviousTurnText; the toolkit chat reports each visible send through them.

  • 6363906: An app can now keep the chats of quiet background runs out of the person's chat history. Pass historyHiddenScopeTypes to createAgentChatPlugin with the scope types those runs use, and the chat list and chat search leave them out unless a request asks for that scope. Opening one of those chats by id still works, so a "show in chat" link keeps working. The thread store's listThreads and searchThreads take the matching excludeScopeTypes option.

  • 56c5a76: useChatModels now returns defaultSelection, the model and engine a picker starts on before anyone chooses. A host that keeps an unavailable saved choice, such as Content's comment AI, can offer the same default the other pickers use.

  • ac21d0b: Open the new thread as soon as an edited message starts its reply. Preserve work duration after reload, display model refusals as replies, and show each failed run with a single recovery card.

  • 75c90a5: Prevent a saved chat snapshot from recreating a previously persisted thread after it has been deleted.

  • ac21d0b: Show invalid model requests as request rejections in chat and retain the gateway request ID in Details.

  • ccb0316: Adding the same connected account again now refreshes its saved sign-in instead of listing it twice, including when the email differs only in capitalization or spacing. Accounts that were already listed twice now show once, and disconnecting an account removes every copy of it.

  • ac21d0b: Use the configured Builder.io model for new chats across provider groups, and preserve explicit model selections.

  • d4e0116: agent-native create with AGENT_NATIVE_CREATE_USE_LOCAL_CORE=1 now packs the local @agent-native/design-system along with toolkit and agentkit, so a generated app installs the workspace's design system instead of the published one.

  • 9508ba0: When a provider key is saved only as teammates' Personal keys, the missing-key error no longer blames an integration, job or automation, which was wrong in a person's own chat. Every run now gets the same shared-key fix, then a short explanation, both ahead of the list of keys tried, so the fix stays in a stop's one-line reason even for the longest key names; and a request on a selected workspace connection no longer gets shared-key advice that can't fix it. A stop's one-line reason now ends on a whole sentence or word, never mid-word, and fits in 240 characters with its closing punctuation.

  • ba8ddd5: Avoid classifying unrelated credential store failures as database credential errors in error reporting.

  • 43c82f1: The same-origin check on cookie-bearing writes compares the request's media type exactly and now also covers template /api/* routes. Form-style bodies (text/plain, multipart/form-data, application/x-www-form-urlencoded) need Sec-Fetch-Site: same-origin or the X-Agent-Native-CSRF header.

  • 793d773: A foreground data program now shares one run with everyone in the org who can open it, when the run used only the org's own credentials. On a cache miss in an org it first runs with org credentials only and records every credential it reads. It keeps that run for the org only if every credential was the org's own stored secret or setting, no provider lookup failed, and its only tool calls were provider API requests that read. A provider write, staged dataset or saved file is refused in that run before it's sent, and so is any other tool call; a person's OAuth account isn't even looked up. A viewer is served the shared run only when each of those credentials, and each provider it called, resolves the same way for them. Anyone with their own key or connection for one of them gets their own run, as before, within what's left of the same time limit. Runs that read a personal credential, a workspace connection or app data stay per viewer. Background programs are unchanged.

  • 22cc51c: Let data programs emit their documented 4 MiB result in background runs and in the production sandbox, and report a cut-off result as result_too_large instead of a parse error.

  • fa3c6d2: A foreground data program in an org can now have a scheduled refresh. Saved with scheduledRefresh: true, the server reruns it with its default params every refreshTtlMs from the framework's once-a-minute recurring sweep, so the org's shared run is fresh before anyone opens a panel and no browser has to be open. The scheduled run is the org-shared run with all its rules: org credentials only, reads only, and served to a viewer only when their own run would read the same credentials. A run that isn't shareable is saved as a refusal and tried again a day later, never followed by a run with someone's own key. It runs as the program's owner, checked first the way automations check theirs; an owner who has left the org gets a failed schedule_owner_invalid run, checked again after refreshTtlMs. A run is refreshed three minutes before it would go stale, and a failed refresh is tried again five minutes later. A scheduled run gets only what's left of the sweep, so one that runs out of time is saved as schedule_timed_out, which doesn't hold back viewers' shared runs, and is tried again after refreshTtlMs. get-data-program now returns scheduledRefresh and an orgSharedRun summary with no rows or row count. The setting needs an org, refreshMode: "ttl" and a refreshTtlMs of at least 15 minutes, and background programs can't have it yet.

  • cf35296: The shared external-agents skill no longer tells authors to expose get-design-system and list-design-systems, and the MCP baselines no longer list the Design actions removed with the Creative context and Design Systems features.

  • 6d231e9: Add the Design screen capture contract and link parser, for keeping a picture of a Design screen in another app's page: the request and the capture Design answers with (the screen's picture as a PNG at one width, its fingerprint and its design's sharing), the status read that reports each screen's fingerprint and open comments, and parseDesignScreenLink, which reads a screen's copied link (/design/<designId>?screen=<fileId>) and tells a whole board's link apart.

    SourceEmbedFrame's header now wraps on a narrow page: its actions move under the title instead of squeezing it, and the source line wraps instead of being cut off.

  • 8629141: Remove the Code panel from the bundled Design visual-edit skill, since Design no longer has a code editor.

  • a6d83c7: Prevent editor startup failures in browsers without native Object.hasOwn by installing a compatible method before client modules load.

  • 2848774: Targeted text edits now say why a find missed when the find has \n-style escapes where the stored text has real line breaks, and export findEditThatRemovedText and editRemovedTextMessage so ordered edit batches can name the earlier edit that changed a later edit's text.

  • 43c82f1: Inbound email now counts a sender as verified only when the provider's DKIM result passes for a domain aligned with the From address; a bare SPF pass or an Authentication-Results header carried in the message no longer does.

  • 93ee658: In-app navigation keeps the router history position in step when an embedded app navigates without a reload.

  • 20cd8b7: Embedded app navigation no longer triggers a full page reload when the desktop app switches apps or opens a draft.

  • 43c82f1: The extension render route now serves its document under a header sandbox policy (allow-scripts allow-forms allow-downloads) and answers 403 when loaded as a top-level page; extensions continue to render inside the app's frames.

  • a6c569c: Fix source-copy eject dry runs on Windows while rejecting unsafe manifest paths.

  • ca81d31: Register workspace OAuth start and callback routes for every supported provider.

  • 43c82f1: An embedded app now accepts the agentNative.frameOrigin handshake only from its own origin, Builder, first-party agent-native hosts, the MCP hosts that frame apps, loopback hosts during local development, and the origins listed in CORS_ALLOWED_ORIGINS or the app and workspace URLs. Any other parent, including an opaque sandbox, is accepted only while the app runs on an embed session that the server resolves.

  • 43c82f1: The frame host handshake from an unlisted parent now needs a signed-in embed session, OAuth callbacks refuse a session that differs from the account that started the flow, and the Slack workspace install keeps a configuration owned by another organization.

  • 30a7e14: Preserve caller-provided headers on keepalive action requests.

  • 67b4202: Google Calendar connections request the calendar list scope so calendar colors can be changed.

  • 43c82f1: Signing in with Google for an address that only had an unverified password ends the sessions that password had started.

  • 862e5bf: Scheduling a job on a paired computer, editing job files, and sending web requests other than GET or HEAD from chat ask for approval first.

  • ac21d0b: Hide Remove for inherited app defaults and show the server’s reason when a resource cannot be removed.

  • 43c82f1: Builder connect pages escape every value written into their inline scripts, and raw or downloaded resources are served as sandboxed documents.

  • 43c82f1: A messaging channel's settings can only be changed from inside the organization that configured it, and inbound webhook verification reads workspace or deployment credentials only.

  • 43c82f1: Scheduled jobs run as their resource owner: a personal job's creator must match its owner, and an organization or deployment job's declared organization must match where it is stored.

  • 0956607: Keep the model's original draft when a final-response guard's retry fails. A guard that sets exhaustedDraftPrefix now shows the earlier draft with that label when the retry returns an empty response, throws a provider error, or ends with an empty draft. After a provider error the normal error still follows the draft, except for a rejected request (invalid_request), which ends with the draft alone. An error the turn continues from (timeouts, 5xx, throttling) shows no draft, so the continuation does not repeat it. The failure is recorded on the run as an agent-native.response-guard rich event. read-attachment failures now also return an errorCode (attachment_not_stored, attachment_reread_failed, attachment_read_failed); the error text is unchanged.

  • 642f2a0: Record bounded lease-renewal timing and outcomes in local agent-run traces, including pending and overdue attempts, without adding database work to the heartbeat path.

  • ac21d0b: Allow loopback authentication URLs in explicitly local production builds and name the configured URL setting when validation fails. Let apps limit automatic cookie consent prompts to public pages while retaining visitor-initiated cookie settings.

  • Release all public npm packages with a patch version bump.

  • 0341d35: MCP catalog conformance now registers tool-search like the production server, so the default catalog check counts only tools a host actually sees listed.

  • 2ed6bcf: mcpServerUrlMatchesProvider and callMcpTool's providerId now know content: a connected MCP server on content.agent-native.com (and its subdomains, such as beta) is Agent-Native Content's.

  • 3c8b439: Initialize the standard MCP Apps bridge alongside ChatGPT bridge support in embedded app widgets.

  • 3c8b439: Connect embedded app widgets to the ChatGPT bridge when it is provided by a same-origin ancestor frame.

  • f63105f: Honor the x-agent-native-browser-tab header on authenticated MCP tool calls when resolving the call's browserTabTarget for tab-scoped application state (navigation, navigate, and tab selection), falling back to the user's most recently used tab when the header is absent or malformed. getCurrentRequestBrowserTabId() remains null for MCP calls so editor-origin checks stay enforced.

  • f2b5851: Ensure MCP review gates resolve no-approvals mode from verified MCP user identity when request-context email is absent, and ensure window agent-native:tool-done events reliably refetch active useActionQuery queries in place across multi-subscriber useDbSync trees and apps without useDbSync.

  • 798b8b1: Actions can ask for MCP approval from server state and say why. mcpNeedsApproval asks over MCP only, through the same grants, prompt and review page as needsApproval, without changing the action's listing, annotations or A2A exposure. approvalNotice adds server-computed facts, such as a cost and when an allowance expires, to the prompt, the review link and the review page; it runs with ctx.askedAt, the time the grant records as when the person was asked, and a notice over 2,000 characters fails the call. approvalProof: "review-page" accepts only the person's approval on the review page: a client's form answer never approves the call, and no-approvals mode does not skip it. defineAction refuses it on a reversible-write inline approval, which never links to the review page. An identical call uses the person's approval even after server state stops asking. currentActionApproval() from @agent-native/core/action tells a running action whether the review page or the client's prompt approved it, and currentActionApprovalAskedAt() when the person was asked for a review-page approval, so an allowance that expires at a set time can be recorded for the day they were asked.

  • 862e5bf: Apps opened from an MCP app sandbox confirm their embed session before they accept the host frame.

  • 35ff895: MCP tool-search now names the closest actions an app's own agent can run that the connection can't call. They come back under notServed, up to three with a short description each, with a message to hand the task to ask_app, so a capability kept off MCP no longer reads as one the app lacks. Only a signed-in person who may call ask_app gets them, and never for a menu search or a readOnlyOnly one. Denied, framework and turn-ending actions stay unnamed, as does anything the caller's OAuth scope or the app's discovery checks hide. When those checks fail or run past the search's deadline, the search comes back without notServed. externalAgents.writes: "ask_app_only", set or implied by authenticatedReads: "auto", is deprecated and warns once at startup: decide each write on its action instead, with mcpTool: false to keep it in the app.

  • eff1145: Add mcpTool: "search", a third MCP decision for an action: outside agents can use it, but it stays out of their tool list on the default catalogs, so a long catalog stays short. tool-search finds it and marks it callWith: "call-tool", and a new call-tool tool (listed only when an app has such actions) runs it with the same deny list, grants, scopes and approvals as a direct call. Clients that can call tools by name may call it directly. Full catalogs list it as usual, as does an app with its own call-tool action or one that denies tool-search or call-tool, and when writes go through ask_app only its reads are served. Its MCP App widget can be read like a listed tool's. tool-search finds unlisted tools only inside a service principal's grant, as it does listed ones.

  • 7cfc978: Two fixes for loading more people in useShareOrgMemberSearch. When a later page fails to load, the hook keeps the people already found and its place in the list, so loadMore tries that page again; before, the failure dropped the place, and the people after it couldn't be reached without changing the search. And when the search changes while a later page is still loading, the new search can load more; before, the old page's loading flag stayed on and blocked it.

  • 13bd13e: The review-prs skill shipped with new apps now says to bring a PR up to date with main only when GitHub reports a conflict, not just because the branch is behind.

  • 02a4f47: Record content-free request sizes and stream milestones for each main-loop model attempt in local traces, including failed attempts and retry waits. Keep unreported usage and absent first-event timestamps distinguishable from measured zero values.

  • 26622ed: Fix mounted app landing redirects so client navigation does not duplicate the app path.

  • 36e3dcd: Keep workspace connection OAuth callbacks under the mounted app path.

  • bbb1fc4: Return a successful, typed { kept: true, navigated: false, reason, currentView, message } result instead of throwing AgentNavigationRefusedError when an agent navigate call would move the user off their current view without intent: "open" (for detail views or during/after agent writes). Direct navigate writes from read-only actions and non-navigate write actions remain refused so reads and writes never move the user's view.

  • c42b10b: Let a standalone Netlify app's scale-to-zero database sleep while the app is idle. The minute recurring-jobs function now skips the sweep, without touching the database, until a visitor arrives or something the sweep handles falls due, and sweeps at least once an hour (AGENT_NATIVE_IDLE_SWEEP_MAX_MINUTES; 0 restores the every-minute sweep). Sweep handlers can report when their work is next due through registerRecurringSweepHandler's nextDueAt.

    The Netlify guide adds the A2A_SECRET and make-it-public steps that automations need, deploy commands that work on Windows, and a section on automations and an idle database.

  • adb8282: Apply no-approvals mode across direct-write and turn-grant MCP approval gates.

  • 75c90a5: Include the SSRF dispatcher's runtime dependency in Node production output.

  • 91c224a: When a signed-in user connects a workspace OAuth account already linked to another user, the callback now returns them to the in-app return URL with oauth_error=account_already_linked and oauth_account instead of a dead-end error page. Added OAUTH_ACCOUNT_ALREADY_LINKED_ERROR and readConnectionOAuthCallbackError (from @agent-native/core/connections/oauth-callback-error) to read it.

  • 43c82f1: OAuth state now expires after 30 minutes, and a browser OAuth callback connects the account to the session it arrives with. oauthCallbackOwner is exported for app callbacks, and resolveOAuthOwner takes the flow's desktop and mobile flags.

  • 9a59177: Keep the app on screen when a route chunk fails to load while the browser is offline, and retry the clicked route once the connection returns instead of treating the failure as a stale deploy.

  • abf512f: Scrub URLs with one allowlist: only attribution parameters (ref, via, utm_*, click ids) keep their values in a query or hash, and analytics, Sentry and error reports send the route template (/share/:shareId) instead of the raw path. scrubUrl is also exported from @agent-native/core/client/url-scrub with a routePath option. configureTracking takes routeTemplates: false for a public content site that needs its real page paths.

  • 43c82f1: Deployment-wide resources and messaging channels without an active organization are now managed only by bootstrap admins or on a local self-hosted runtime.

  • d09e703: Restored action results now show a value the user just changed. The cache adopts its own tab's mutation epoch once the refetch settles, and still ignores epochs bumped by other tabs.

  • ba3ef91: Accept personal OAuth grants containing additional scopes while recording only the requested scopes.

  • 658a9f5: Continue delivering sync changes when individual events cannot be read, and refresh clients for those entries.

  • ac21d0b: Keep the HTTP status of a private action failure and give forms a code for an unavailable browser session while protecting response bodies, including validation errors from actions it calls.

  • 05e6e34: Saving a chat that ran a private action (such as an import) no longer fails with a server error. Redacting the private run now keeps how far each omitted event range reaches, so the saved events still validate and the "Save failed" notice no longer appears.

  • d855c8a: Stop auto-continuing a private turn into a continuation that cannot resume it, so saving a draft no longer ends with "Private content omitted", and keep the real framework error code on failed private runs.

  • 32e2797: Stop private agent turns that already wrote their final reply from being auto-continued into a failed run.

  • 2e43eec: Resume a private turn after a continuation instead of failing it: completed private tool steps are recovered from their redacted ledger entries, later writes in that turn are refused rather than repeated, and an unresumable private turn now reports a clear "send the request again" message instead of "Private content omitted".

  • 8d3ea4f: Allow turn continuations to resume completed private tool pairs without persisting private content, and preserve safe user-facing messages for allowlisted private framework error codes.

  • 4537c00: Reading a workspace credential profile no longer refuses with forbidden when a concurrent successful use only updated the connection's or grant's last-used time. Label, config, grant, credential-reference and updated-at changes still refuse.

  • 8815d89: Clarify and localize recovery guidance when an AI provider requires email verification, and distinguish the app account verification email action.

  • a46cbdd: Retain server-owned execution context for queued provider writes and reconciliation without changing retry identities.

  • 4afd461: Stop reporting a stale-chunk recovery failure when several chunks fail while the page's own recovery reload is still unloading.

  • ac21d0b: Keep HTTP action execution errors readable and machine-identifiable. Allow private action rejections to finish streaming and expose schema-validated error metadata to callers that opt in.

  • 72e02ef: Reconnecting a provider account now updates the existing workspace connection for that owner, scope, provider, and account instead of inserting a duplicate row.

  • abf512f: Redact secrets in server track() properties, browser and server Sentry events and spans (by key name, in text, and in request URLs and query strings), and drop Sentry request headers named for a secret, token or signature. A token, distinct_id or time property can no longer replace Mixpanel's project token, user or event time.

  • abf512f: Make the credential redaction used on error messages and stack traces run in linear time, so a long run of repeated key-like text can no longer stall the process that redacts it.

  • 4701235: Keep "please remember this" requests across chats by saving them to shared memory.

  • ac21d0b: Compose resource metadata and content queries with typed SQL fragments and bound values.

  • 1995091: Restore replies when a chat run finishes while its saved thread snapshot is still catching up.

  • 0acd938: Add shared reversible-write approval policy helpers (reversibleWriteNeedsApproval, createReversibleWriteApprovalPolicy, isReversibleWriteNoApprovalsMode, isReversibleWriteInlineApprovalAction) that clear review at the default setting and ask inline in an MCP form (never a review-page link) when approvals are turned on. Scope allowsAgentNavigation: true to the outermost write action so nested actions cannot bypass a parent write guard, and replace hardcoded /admin and /integrations path checks in isDefaultDetailNavigation with declared per-app agent.detailRoutes.

  • 2d92e7d: Comments & Review Kit: a comment copied with mirrorReviewComments can carry its kind, resolutionTarget and consumedAt, for an app that keeps them, and compareMirroredReviewComments checks each one a copy names. A copy that leaves one out keeps the kit's value, as before. Plan now mirrors every comment write into the kit and copies its existing comments once at startup.

  • d471c42: Comments & Review Kit: resolve-review-thread now refuses a resource registered with commentsWrittenByApp, whatever its resolve role, so a thread can't be resolved, reopened or given a resolution note through the kit while the app still writes its comments. Before, a resource that let viewers resolve could still take a resolution note on an already-resolved thread. Clips now mirrors every comment write into the kit and copies its existing comments once at startup.

  • ac21d0b: Keep recovery of an unscoped scheduled run with the app that started it so other schedulers cannot overwrite its status, until that app misses the run's deadline.

  • 675a614: A fresh database now installs the framework schema snapshot in one statement instead of one round trip per statement. On hosted Postgres the per-statement install took about 26s of a first publish.

  • 032c910: Shared personal memories deleted in one app no longer survive as files, and reading a memory another app wrote now returns the saved row so edits save against the right revision.

  • cb3d88c: Scrub the query and hash of every URL in a browser session's registered context, not only the top-level url. route.search, route.hash, session.url, screen.url, and screen.route.search and .hash went to the server and on to the agent as the page had them, so a token in the page's query or hash reached view-browser-session. They now go through the same allowlist as the page URL: attribution parameters keep their values and everything else is redacted.

  • abf512f: scrubUrl rebuilds the query and hash parameters in one pass, so a URL with thousands of distinct keys is scrubbed in milliseconds instead of seconds or minutes.

  • abf512f: Scrub the other places a page URL leaves the app: the hash of the __url__ state the agent reads, the page URL sent with the Builder waitlist form, and the URL registered by browser-session and WebMCP sessions, so a token in a query or fragment no longer travels to the model, to Builder, or to an external agent host.

  • abf512f: scrubUrl drops user:password@ from a URL it cannot parse, so a malformed address no longer keeps its credentials when the query and hash are removed.

  • 384bcc5: Meaning-search indexing stops retrying pages every few minutes when the embedding provider refuses its credentials. Indexing now treats a 401 or 403 as a refusal of the credentials: the pages in the refused call wait two hours and are then retried one at a time, and the same owner's other pages wait an hour with no attempt counted. Owners sharing the credentials each learn of the refusal from one call of their own, and with a documentBudget the hour holds all indexing with those credentials on every server. If a refusal is about one page's content, the other pages still index, though with a documentBudget each retry of that page holds them back for an hour.

  • eea5c17: Meaning search gets headroom under an embedding provider's rate limit. Indexing with Builder's gateway makes at most two calls a minute per key, counted across every server, which leaves searches room under the limit the gateway gave a free space. A search refused for the rate limit holds back indexing for two minutes, and an indexing refusal holds back indexing on every server instead of each drain meeting it. An embedding family sets documentBudget to pace its indexing this way.

  • bc7c1b3: Show labeled "Testing…" progress and a persistent, honest result when testing a stored or candidate secret in Settings.

  • e037d08: Update the default scaffold's Vite pin to 8.3.8 to fix GHSA-p4f5-76q4-ffq7.

  • 862e5bf: Two-factor, integration settings, and channel enable, disable and setup requests need the same-origin marker, like other cookie-authenticated writes. Setting an organization's auto-join domain needs a verified email.

  • 1a0a9db: Every action core shares with all apps now decides its MCP exposure. Review comments, suggestions, version history, sharing reads, Creative Context, user groups, upload-image, manage-automations, navigate (in Dispatch too) and view-screen are served to outside agents with mcpTool: "search": tool-search finds them and call-tool runs them, but they stay out of tools/list. Credential, account-connection, workspace-settings, staged-dataset, personal-preference and admin-review actions are mcpTool: false, and so is Dispatch's view-screen, which summarizes its run-debugging, vault and audit screens. It and the view-screens of Calendar, Clips, Content and Forms now declare readOnly: true. Deleting someone else's review comment, deciding a suggestion or proposal, restoring a version, unsharing, Creative Context imports, purges, memberships and governance, archiving a context pack, and user-group writes now ask outside agents (MCP, HTTP, CLI, A2A and automation calls) for approval through isOutsideAgentCall, which @agent-native/core/action now re-exports. The app's UI and its own agent don't ask, though the agent calls those actions directly rather than from sandbox code or parallel batches. An action marked "search" stays listed where an app's mcp.connectorCatalog or mcpApp.compactCatalog already lists it.

  • 99491ba: Surface catalog-backed typed action errors and explicit failed read states with retry. Restore focus to state-driven popover openers while preserving native keyboard and modal focus behavior.

  • abf512f: Redact secrets in error text, tool errors, audit rows, trace captures and desktop logs with one shared redactor (@agent-native/core/shared/secret-redaction). It now also covers JSON keys, ?key= and ?code= style query values, database connection strings, bare provider keys, JWTs, PEM blocks, webhook URLs and Bearer tokens that some of those sinks used to let through.

  • 862e5bf: Production sign-in returns only to the app's own origins.

  • e01adee: The sign-in page now shows the cookie banner to visitors in the consent region, under the sign-in card and in the page's language, so a visitor can accept before signing up and have their signup attributed. Accept all, Reject all and Manage settings work as in the app. A visitor sent to the sign-in page from an app page keeps that page's utm_* and other source fields: captureAttribution takes a landingSearch, read when the sign-in URL has no source of its own. The server signup event now says why it carries no attribution: attribution_consent when targeting was not allowed and analytics_consent when performance was not, each "withheld" (the visitor said no, or their country needs a choice they hadn't made) or "unknown" (no choice and no usable country). Core now exports the banner copy as @agent-native/core/localization/privacy-choice-messages.

  • ac21d0b: Let apps open a chat from a skill description and opt into recoverable skill removal. Open Skills settings without writing default files.

  • 862e5bf: agent-native skills now starts npx through the same quoted Windows command-line handling as the other CLI commands, and the unused delegated-call metadata object in call-agent is removed.

  • 43c82f1: The default Slack identity resolver now applies the same member checks to channel mentions as to DMs: guests, external members, and senders whose Slack identity could not be confirmed are declined.

  • 43c82f1: Organization SSO signs an address in only when the provider's verified domain covers it or the provider's organization already has that address as a member, and SCIM attaches existing users to an organization on the same terms.

  • 88dad0f: Keep a stopped chat reply's text the same live and after reload: Stop tells the server the last part of the reply the browser showed, the server saves the reply only up to there, and a run whose Stop reached another server still saves its reply.

  • ac21d0b: Allow apps to schedule durable chat queue admission and manage sharing for their own conversations. A fork the app keeps unshared is refused with 403 rather than reported missing, and queue admission inside an app's transaction commits or rolls back with it under an execution lease.

  • 25164d9: Stop one sync event for another app's resource type from making every poll fail with a 409 and re-reading data in a loop.

  • bbc14e5: useDbSync no longer re-polls and invalidates every query on each repeated SYNC_EVENT_READ_UNAVAILABLE response. Only the first one of an outage resyncs; repeats take the backed-off failure path, and the next successful poll recovers.

  • 4ddc78e: Improve targeted edit failure diagnostics with relevant bounded excerpts and occurrence context for safe retries.

  • 6f7869b: Add a privacy-safe diagnostic distinguishing stale execution fences from unclassified terminal status persistence errors, and redact private execution lease release errors.

  • c7fcaf0: Restore stored chat messages that omit their parts and safely verify folded private-run history.

  • 8599a50: Find TypeScript compilers and tsx in ancestor node_modules directories, delegate PATH lookup to the process launcher, and preserve execution errors with a neutral hint when a compiler cannot be started.

  • b91cb5a: Report actionable permission diagnostics when the TypeScript compiler cannot be executed.

  • dc0b85b: Fix "submissionPayload does not match this message" when sending several image attachments whose bytes were not stored.

  • ddbb81e: A Vercel workspace deploy with Content or another app of a few hundred assets now deploys. Each app's long-lived cache headers come from one short pattern route that applies only to files Vercel serves, instead of one route listing every asset, which Vercel rejected as longer than 4096 characters.

  • 55925c6: Allow the workspace app chat capability to read GET /runs/list, so Dispatch's embedded app panes stop getting a 401 when they list background runs.

  • 0cc6bb3: Allow active organization members to open deployment-configured workspace apps before an administrator first visits, while reserving organization claims for owners and admins.

    Give shared Vitest setup and teardown hooks the same 30-second budget as test bodies so PGlite initialization can finish under parallel test load.

  • d799e8b: Add shared preview and interaction checks for generated workspace apps and extensions, and improve workspace app creation guidance.

  • Updated dependencies [6facea0]

  • Updated dependencies [4163448]

  • Updated dependencies

  • Updated dependencies [88dad0f]

    • @agent-native/agentkit@0.232.0
    • @agent-native/recap-cli@0.5.107