Sanity Studio v6.2.0: Search in dereferenced list preview fields, new skills command, and bugfixes

This release improves search functionality to match on reference fields, fixes initialization crashes, adds a skills install command, and resolves various UI and editor issues including comment truncation bugs.

Make reference fields searchable in list previews

List preview and global search now match on reference fields used in a document's preview, such as subtitle of author.name, not just direct fields.

New skills command

The CLI now includes a new sanity skills install command lets you install Sanity skills manually for various AI tools and agents. Previously you could install skills as part of the init process, but now you (or your agents) can add skills to existing projects.

🐛 Notable bugfixes and improvements

CLI: Prevent init from crashing when an npm version lookup stalls.

Spreading the incoming markdown plugin props and setting enabled: false now disables the built-in markdown shortcuts plugin. Previously this combination didn't typecheck.

Fixes a crash in test runners using the node environment caused by accessing CSS.supports when the CSS global is undefined.

The structure tool's document list pane now provides Default sort and Default view menu items to restore the structure-configured default ordering and layout after a manual change.

In the expanded (fullscreen) Portable Text Editor, the drag-and-drop drop indicator (the line that marks where a dragged block will land) stretched the full width of the editor instead of lining up with the content. It now aligns to the content column.

Disabled native browser autocomplete/autofill suggestions on Studio form fields (string, number, email, url, tel, text, date, slug, and array-of-primitives items).

Fixes a bug where a comment could be silently truncated when submitted during fast, uninterrupted typing, dropping the characters typed just before it was saved.