unstale

npm / @copilotkit/shared

@copilotkit/shared

What changed in @copilotkit/shared 1, from its official release notes, upgrade guides and advisories. Also covers @copilotkit/react-core, @copilotkit/react-ui, @copilotkit/runtime, @copilotkit/runtime-client-gql, @copilotkit/sdk-js. Sources checked 2026-10-18.

12 breaking10 new APIs and options2 performance8 behavior and defaults1 tooling43 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@copilotkit/shared 176 changes

Breaking changes 12

  • The headers builder runs when each request is sent rather than on each provider render. Switching users requires remounting the provider or calling setHeaders to avoid showing the previous user's threads.

    1.79.0release notes

  • With OPENAI_BASE_URL set to a host other than OpenAI or Azure, openai/... model strings now use Chat Completions, so Responses-only models and options no longer work through those proxies.

    1.78.0release notes

  • Choose which OpenAI API to use; set COPILOTKIT_OPENAI_API=responses to keep the Responses API when routing through a proxy.

    1.78.0release notes

  • The adapter now defaults to gemini-3.5-flash.

    1.78.0release notes

  • A learning object without trajectoryId now starts Trajectory capture after mount; set autoStart: false to keep starting capture yourself with startTrajectory().

    1.78.0release notes

  • Inspector conversations are easier to read, with improved tool-call presentation.

    1.77.0release notes

  • @copilotkit/react-core now requires @tanstack/react-virtual ^3.14.13; older lockfile versions should be updated to avoid a one-frame scroll twitch in long chats.

    1.75.0release notes

  • BuiltInAgent now delivers Learning skills automatically.

    1.73.0release notes

  • Removes the deprecated useRenderTool shim from React Native.

    1.72.0release notes

  • Removed the optional diagnostic-feedback instruction from the Threads and Learning setup prompt while retaining the instruction not to reveal credentials.

    1.71.2release notes

  • Remove this option from Fetch, Express, and Hono handler configurations; Inspector Learning now requires an Intelligence runtime with a configured Learning container.

    1.70.3release notes

  • Home and launcher Learning status now comes from Learning's own endpoint rather than Memory availability.

    1.70.3release notes

New APIs and options 10

  • Trajectories can now be assigned to Learning Spaces on the server.

    1.79.1release notes

  • An option lets developers hide the Inspector indefinitely.

    1.77.0release notes

  • Auto-mounting the intelligence indicator is configurable, letting developers control whether it mounts automatically.

    1.77.0release notes

  • Raw browser activity can be captured as AG-UI events.

    1.77.0release notes

  • CopilotKit adds AG-UI 1.0 support.

    1.76.0release notes

  • Added transformMessages to CopilotChatMessageView.

    1.75.0release notes

  • The web inspector tracks launcher HUD impressions and actions.

    1.74.0release notes

  • Adds messageFilter for trimming conversation history.

    1.73.1release notes

  • Agent configuration can now be specified at the provider level.

    1.71.0release notes

  • Adds optional Inspector metadata with normalization that preserves valid usage and sibling modules when an expiry leaf is malformed; missing usage.expiringSoonCount is valid V1, while 0 remains a known zero.

    1.67.0release notes

Performance 2

  • Vue stops cloning run state six times per row for message slots.

    1.75.2release notes

  • React hook performance is improved.

    1.71.1release notes

Behavior and default changes 8

  • Clicked controls are named with privacy-safe labels for learning.

    1.79.0release notes

  • Trajectory setup errors are now distinguished when connecting.

    1.77.2release notes

  • Learned skills can be consumed from multiple containers across SDKs.

    1.74.0release notes

  • Onboarding copies a hosted prompt link instead of a CLI command.

    1.73.3release notes

  • Runtime telemetry is richer.

    1.73.0release notes

  • The Inspector's onboarding experience is improved.

    1.71.1release notes

  • Provider-level tools now wait for respond, keep parallel calls independent, and report an error when aborted instead of an empty success.

    1.70.3release notes

  • A2UI generation prompts now specify the id="root" entry-point requirement, helping models produce schema-valid root entries more reliably.

    1.56.4release notes

Tooling 1

  • Development-only warnings flag unmatched tool-call renderers and A2UI surfaces that never render or cannot resolve their root component.

    1.70.3release notes

Fixes and other changes 43

  • Types RendererProps.children as (id, basePath?).

    1.79.1release notes

  • The web inspector now coalesces streaming transcript refreshes.

    1.79.1release notes

  • App context is folded into the leading system message.

    1.79.0release notes

  • CopilotChat stays visible beside the threads drawer in a flex row.

    1.79.0release notes

  • Text edits are debounced during learning capture.

    1.79.0release notes

  • Features remain enabled when the entitlement lookup times out.

    1.78.0release notes

  • Slash model ids are now kept intact.

    1.78.0release notes

  • A lookup for a thread that has not yet been created is logged at debug rather than error level.

    1.78.0release notes

  • Generated UI handlers are guided to render results.

    1.77.1release notes

  • Tool handler results of type ContentPart[] are passed through to the tool message.

    1.77.0release notes

  • Generated controls no longer submit host forms.

    1.77.0release notes

  • LangGraph catalogs are preserved when AG-UI properties are merged.

    1.77.0release notes

  • Malformed component values are contained by the A2UI renderer.

    1.77.0release notes

  • The Learning setup prompt click now sends onboarding_run_id.

    1.77.0release notes

  • Popup rounded corners are preserved in React and Vue.

    1.77.0release notes

  • MCP tools whose names collide are prefixed instead of dropped.

    1.76.0release notes

  • Runtime no longer reuses per-response provider IDs as message IDs.

    1.76.0release notes

  • Standard interrupt resumes now use new run IDs.

    1.75.2release notes

  • Single-route mode now enforces the basePath segment boundary.

    1.75.0release notes

  • The reconnect cursor is kept when a control frame repeats an old checkpoint.

    1.75.0release notes

  • The automatic HUD intro is distinguished from a user opening the HUD.

    1.74.0release notes

  • A Memory policy that grants nothing no longer causes the run to fail.

    1.74.0release notes

  • Per-message state cloning is stopped, along with the virtual-scroll tug of war.

    1.74.0release notes

  • Credentials are no longer refreshed for a socket that never opens.

    1.74.0release notes

  • What's New supports targeted notifications.

    1.74.0release notes

  • When thread naming fails, the first user message is used.

    1.74.0release notes

  • The threads drawer no longer locks when an entitlement is unresolved.

    1.74.0release notes

  • Inspector keeps conversation results and failures accurate.

    1.73.3release notes

  • Express is now an optional peer dependency, allowing Express 5 apps to compile against the runtime.

    1.73.1release notes

  • Fixes several human-in-the-loop issues across the client and runtime.

    1.73.1release notes

  • Fixes several Intelligence transport issues across the client and runtime.

    1.73.1release notes

  • Fixes several MCP issues across the client and runtime.

    1.73.1release notes

  • SSE streaming is more resilient.

    1.73.0release notes

  • Repairs several v1 runtime surfaces that had been silently broken since v1.50.0.

    1.72.0release notes

  • Runtime MCP fixes are included in this release.

    1.71.1release notes

  • Copilot context timing during page navigation is improved.

    1.71.0release notes

  • Fixes issues with nullable tool schemas.

    1.71.0release notes

  • Preserves unread request payloads when body-parser sets an empty body but skips parsing, including multipart and plain-text requests.

    1.70.3release notes

  • Enabled launcher toggles now appear green.

    1.70.3release notes

  • React and web-component renderers now consistently prefer nested surface IDs.

    1.70.3release notes

  • Custom renderers can return null to hide selected tool calls without a type error.

    1.70.3release notes

  • Restores the lambda client export in the CommonJS build, allowing developers using that build to import it.

    1.60.2release notes

  • The package was republished at a matching version to repair the broken 1.57.2 artifact and align installs and peer-dependency resolution.

    1.57.3release notes