npm / @docsearch/modal
@docsearch/modal
What changed in @docsearch/modal 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
5 breaking10 new APIs and options2 behavior and defaults1 tooling3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@docsearch/modal 521 changes
Breaking changes 5
The Ask AI assistantId option was renamed to agentId.
The Ask AI transport layer was removed.
Ask AI-related props are now nested under a single root askai option.
appId and apiKey configuration moved into @docsearch/core so they can be configured once and shared.
The Sidepanel no longer accepts the indexName prop.
New APIs and options 10
Agent Studio integration adds core tools, dynamic tool calls, and dynamic index selection.
The Ask AI modal is split into its own component.
Conversation memory support is added for Ask AI.
Faceted search with filter chips is added.
Feedback integration adds feedback notes and tags.
Hit breadcrumbs are added to search results.
MCP plugin support is added.
Prompt suggestions are available in keyword search and as follow-up suggestions.
Result badges are added to search results.
Split JavaScript bundles support search-only usage and JavaScript-based hybrid mode.
Behavior and default changes 2
Facet defaults can now be read from the index searchParameters.
The search UI is refreshed with an improved dark theme, sources panel, and accessibility.
Tooling 1
A new package provides CLI tooling for MCP setup and search.
Fixes and other changes 3
Fixed a crash when importing DocSearch bundles on Safari 14, which could not parse the regex pattern selected by the build.
DocSearch is compatible with the Algolia MCP search tool, including aggregated MCP search tool calls.
Nested grouping of search results was restored.