Repository navigation
@agent-native/core@0.205.0
Minor Changes
- fc06d55: Export the shared credentialed A2A URL and workspace-origin helpers for secure app-to-app uploads.
Patch Changes
-
b7e32e4: Cut serverless cold-start time for action-heavy apps:
defineActionno longer converts an action's full schema to JSON Schema when a compactagentInputSchemais set, since only the compact one is ever advertised (Plan's cold import drops from about 2.3s to 0.8s in a local CI-shaped build). -
e7416e0: Fence Agent Teams retries to their current queue attempt, persist each attempt's transcript separately, keep continuation and completion effects recoverable, and distinguish unreadable agent discovery from missing peers.
-
4f42efa: Stop a chat run's event pump from re-arming itself forever once the AgentKit adapter is disposed. The pump restarted whenever its loop ended without a terminal event, so a run the adapter no longer tracked spun the event loop at full CPU.
-
b7e32e4: A chat that still shows a run as running after the server stopped tracking it now reloads the thread and refreshes the app's data, instead of waiting for the user to retry; a status check that cannot reach the server shows its own notice rather than "running" or "done". Threads created without a request org adopt their run's org so Human Review can open them, and a one-time migration backfills existing ones. A classifier that cannot run now emits
$ai_sentiment_failedwith a coarse reason, a failed trace write is counted and logged once per run, a thumbs-down for a run with no persisted trace is saved instead of answering 404, and the thumbs-down popover gains reason chips and Copy details. A run that endsconnection_requirednow leaves a note for the thread's next run (named providers, who can connect them) so the agent stops retrying the same unconnected provider, and the card says who can grant it. Pre-model reference retrieval and the per-turn screen, URL and selection blocks report a typed status (ok,empty,timed_out,failed) and add a one-line context note only when degraded; traces record the context statuses and the requested reasoning effort. Tool search ranks an exact tool-name query first. -
ab41d2b: Record actions called by outside agents over MCP, WebMCP, or A2A as the agent acting for the user, not as the user. Rows recorded before this change read the same way, and the Settings audit log names the protocol ("Agent via MCP").
-
afc1fed: Preserve browser analytics sessions on successful signup events.
-
a881977: Treat missing uploaded objects as successfully deleted.
-
cbc151c: Offer DeepSeek V4.1 Flash and Z-AI GLM 5.3 Flash through Builder.
-
de66ff4: Make Clips object storage optional during onboarding, keep local recordings previewable and downloadable, and clarify Builder account setup with a retry action when connection status cannot be read.
-
d9ab440: Bundle a
builder-code-starterscaffold template as a layer over the Chat template:agent-native template materialize --template builder-code-startercopies Chat, removes the Chat shell, applies the starter's unified-diff patches to the Chat files it changes, adds its own files, and merges its Drizzle scripts and dependencies into Chat'spackage.json. A bundled template opts into layering with atemplate-layer.jsonnaming its base; a patch that no longer applies fails the materialize instead of dropping the change.skills update scaffoldassembles the starter's patched skills the same way for apps markedscaffold.template: "builder-code-starter". -
1341328: Preserve optional action parameters across OpenAI-compatible providers by explicitly disabling strict function-tool schemas, including a transport adapter for OpenRouter's SDK.
-
fc06d55: Keep user-bound A2A tokens scoped to a verified organization without sending the organization-domain claim that can downgrade them to an organization principal when secrets collide.
-
e16da0c: Sync the packaged Chat action guidance with the workspace skill.
-
947f911: Keep agent chat on a turn the server recovers after a crash: an open chat follows the successor run live, a reload no longer shows the interrupted attempt as a failed run above the answer, and a failed run's card stays in its own turn instead of moving below newer replies.
-
b7e32e4: Stop showing a finished chat reply twice when its run called a tool that returns a structured result.
-
e453592: Forward the engine selected for each chat turn to the agent request.
-
fc06d55: Allow A2A callers to require user identity tokens without organization-principal fallbacks.
-
b49b511: A collaborator's resource event that names its sending tab (for example Slides deck saves and deletions) now wakes the shared polling transport when no event stream is connected, so an open deck learns it was deleted within seconds instead of at the 1-5 minute idle cadence. A tab's own saves and unnamed server events still do not boost polling.
-
ae5aed6: A directory MCP App widget now fills a Codex or ChatGPT side pane that sizes its frame only from the height the widget reports: the shell reports the tallest height the viewer's screen can show instead of the app's content height, tells the nested app the frame has a fixed height so it lifts its inline-card clamp, and asks a host that offers fullscreen for it once on the first click into the app.
-
79892cb: Omit unavailable runtime turn IDs from AgentKit observability metadata so run events remain valid JSON.
-
b119a3d: Rebuild request URLs with the validated forwarded origin behind trusted proxies.
-
6f32f61: Give scheduled and event automation runs the same current date and time context as chat, using the automation's timezone.
-
b119a3d: Upgrade Nitro and H3 to include the srvx Node adapter body-state fixes.
-
1b1d976: Distinguish confirmed automation work, explicitly declared no-op skips, and undelivered failures in run history and automation status. Preserve failure causes and recovery codes without pausing legitimate no-op runs.
-
8ab4068: Record a bounded
http.routeon everyhttp.server.request.durationpoint andhttp.serverspan: framework endpoints get their route template (/_agent-native/auth/session,/_agent-native/agent-chat/runs/:runId/events), app file routes their Nitro template, and everything else a fixed bucket (/_agent-native/*,/api/*,static,page,other), so 4xx traffic can be attributed to an endpoint without recording raw paths. -
Release all public npm packages with a patch version bump.
-
76d00e9: Fix MCP tool results for GET actions that declare
readOnly: false: the ChatGPT directory profile no longer collapses a read like Slidesget-deckinto "<title> is ready.", so the model receives the slides, not just the deck title. -
5c5e00e: Close worker-owned database clients during dev server shutdown so
.envrestarts can reopen PGlite safely. -
0733f04: Stop a poll that hit the row limit from waiting on an unrelated access check.
-
ae5aed6: Read-only directory widgets can invoke only WebMCP tools allowed by their capability, even when a session is also authenticated.
-
e453592: Require user approval before writing organization-wide learnings, including in
existing workspaces. -
99e3425: Sync the chat template's action-field reference with the shared workspace skill.
-
4bccb4c: Browser telemetry URL scrubbing now redacts the signed
agent_accessquery token, so opening an agent-access link in a tracked app no longer copies its bearer into pageview, referrer, error-report or session-replay URLs. -
5c5e00e: Preserve explicit dev server shutdown while Vite is creating a replacement server.
-
ae5aed6: Keep MCP App resources out of directory catalogs without an explicit widget target.
-
37ae12f: Preserve locally issued connect-token identity when the deployment and organization A2A secrets match, while retaining the stored-token ownership and revocation checks.
-
8418b84: Run the once-a-minute scheduled sweep on Vercel and Cloudflare Workers. Vercel builds now add a cron job that calls the sweep with
CRON_SECRET, and Cloudflare builds add a Cron Trigger whosescheduledhandler calls it with a token signed byA2A_SECRET, so scheduled automations, queued event automations, and stale-run cleanup no longer stop on those hosts. Vercel Hobby rejects a deployment whose cron runs more than once a day, so Hobby projects must setAGENT_NATIVE_VERCEL_CRON_SCHEDULEto a daily expression such as0 9 * * *before deploying this version. Both schedulers request the public sweep path, so a customruntime.frameworkRoutePrefixor app base path is honored. A workspace Vercel deploy takes each app's cron from that app's own build, so every app in the workspace must build with this version of@agent-native/core; the deploy fails and names any app whose build scheduled no sweep. The Automations page now names a missing trigger secret and no longer claims event automations still run on a host without a scheduler or in a build with recurring jobs turned off.On a cold Cloudflare Worker, framework routes no longer return 404 or wait out the readiness timeout: the request telemetry hook no longer throws where
AsyncLocalStorage.enterWith()is unavailable, and pending plugin initialization is passed towaitUntilso it can continue after the response is sent. -
cc79bd1: The inferred-sentiment classifier now defaults to
gpt-6-luna, a model the Builder gateway lists (the retiredgpt-5-6-lunamade every hosted classification fail asengine_unavailable), and an engine that does not list the configured model now reports the distinct$ai_sentiment_failedreasonmodel_unsupported. -
dfc1d2c: Upload Sentry source maps for the Nitro server bundle so server errors resolve to original source.
-
e453592: Require approval for shared memory changes and retain prompt-derived chat titles when generation fails.
-
9e00e7b: Document the Slides context-menu adapter exception.
-
4f42efa: Fix live-stream collaboration updates that arrived 15-55 seconds late. The
/_agent-native/eventsstream dropped a collaborator's first event for a resource whenever that user's cached access had expired (every 30 seconds), leaving recovery to a much later poll. The stream now waits for the running access check and keeps events in order behind it, and closes the stream so the client re-polls if the check outlasts 10 seconds. -
ae5aed6: Preserve existing MCP App container dimensions when hosts send partial size updates.
-
b7e32e4: Keep mixed-organization thread history out of org-scoped review and keep peer-supplied connection text out of agent instructions.
-
004f2a9: Continuing a stopped agent run no longer repeats the steps it already finished. A run the server ends after its worker died now saves its finished tool calls to the thread, a new message after an unfinished turn tells the agent what that turn already did, and the run failure card offers Continue, which resumes the stopped run's own turn so a finished send or charge is not run again. AgentKit transports can implement the new optional
continueRun. -
8318b23: Polish the MCP connection page accordion separators, chevrons, and spacing.
-
5c5e00e: Prevent PGlite database locks from getting stuck during development server restarts.
-
ae5aed6: An MCP App widget document now stays a widget for its whole life:
isMcpAppWidgetEmbed()keeps its first positive answer and marks<html data-agent-native-mcp-widget>,useIsMcpAppWidgetEmbed()subscribes to that change, a directory widget capability token identifies a widget without the chat-bridge query flag, and/_agent-native/embed/startalways adds the flag for directory widget tickets.AppProvidersemits a first-paint script that sets the marker before the server-rendered skeleton paints, andAppShellSkeletonrenders blank in a widget so the app's own sidebar never flashes. -
ae5aed6: MCP App widgets now fill a host-owned side panel or fullscreen frame instead of stopping at the inline card height, apps can detect a widget embed with
isMcpAppWidgetEmbed()/useIsMcpAppWidgetEmbed()to drop their own navigation chrome, directory MCP servers attach the widget only to tools listed inwidgetTargetsso read tools no longer open a pane on every call, and a read-only directory widget session (isMcpDirectoryWidgetReadOnlyEmbed()) answers application-state requests the server would refuse with the same 401 locally, so callers behave as before without the failed request. -
Updated dependencies [b7e32e4]
-
Updated dependencies [e7416e0]
-
Updated dependencies
-
Updated dependencies [5c5e00e]
-
Updated dependencies [004f2a9]
- @agent-native/agentkit@0.205.0
- @agent-native/recap-cli@0.5.67