8.4 Upgrade Guide¶
This guide describes the breaking change to account for when upgrading @orchestrator-ui/orchestrator-ui-components
from 8.3 to 8.4.
Agent feature removed¶
UI Library 8.4 removes the experimental Agent page feature which is being moved to a different client.
The following exported Agent components were removed:
WfoAgentWfoAgentTableWfoAgentLineChartandWfoAgentPieChartWfoAgentVisualizationWfoPlanProgressWfoQueryArtifact
The supporting Agent integrations were also removed, including:
useAgentPlanEventsanduseAgentAvailability;useGetAgentQueryResultsQueryand the internaluseLazyGetAgentExportQueryquery hook;- the Agent availability request to
/agent/; - the
agentfeature type inWfoAvailabilityCheckandWfoBackendUnavailable.
The UI Library no longer depends on @ag-ui/client, @copilotkit/react-core, @copilotkit/react-ui,
@copilotkit/runtime, or @elastic/charts. Do not rely on these packages being installed transitively by the UI
Library after upgrading.
What you need to do¶
If your application follows example-orchestrator-ui or has its own Agent integration:
- Remove the Agent page and its navigation item.
- Remove the CopilotKit API route that proxies requests to the Agent backend.
- Remove
WfoAgentusage. - Remove
@copilotkitnamespaced dependencies that are no longer used elsewhere in your application. - Remove imports of the components, hooks, and query hooks listed above.
- If you use
WfoAvailabilityCheckorWfoBackendUnavailable, stop passingfeatureType="agent"; these components now support onlyfeatureType="search".
See example-orchestrator-ui PR #102 for a
reference migration that removes pages/agent.tsx, pages/api/copilotkit.ts, the Agent navigation entry, and the
unused CopilotKit packages.