Repository navigation
3.10.0 — guide and global-search
Two new plugins, both requiring kit 0.31.0.
guide
First release of guide: an in-app user guide about the app itself, written by the developer's
coding agent and kept in sync with the code by a Claude Code Stop hook.
- Content is the host's:
docs/guide/(aguide.config.jsonplus markdown pages with
audience,sourcesandverifiedfrontmatter), seeded once and never overwritten. The
guideskill builds it intoapps/web/src/host/guide/content.generated.ts; a config test fails
the gate while that module is stale. guide.sync(a daily cron, and a lazy check on every/api/guiderequest) indexes one PLATFORM
knowledge document per page section — sourcesguide:memberandguide:admin— and prunes the
rest. Embeddings are required; without them admins see a banner and search is keyword-only./guide: a three-pane reader with search and "Ask the Guide" (AG-UI,search_guideonly,
citations as CUSTOMguide.answer); a?header button and?key open Ask from any screen.
Admin pages are a 404 for members.- The kit's
search_knowledgecovers the guide for the reader's audience, every agent run gets
search_guide, and aglobal-search.providerscontribution adds guide hits to ⌘K when the
global-searchplugin is installed. - The
guideskill:/guide init|write|sync|audit,guide-build.mjsanddocs-stale.mjs.
global-search
First release of global-search: a ⌘K palette in the header and a /search/all page over every registered search provider, fused with RRF and optionally re-ranked per organisation.
GET /api/global-search?q&kinds&limitcalls every provider the reader may use in parallel, each within 1.5 seconds and its ownAbortSignal, and answers{ items, semantic, degraded, ranking }. A provider that times out, throws or answers something that does not parse is listed indegradedand never fails the request.- Results are fused by Reciprocal Rank Fusion (k = 60) on
href, with a weight per hit (0.5 for a dense-only hit). The top 50 are re-ranked when the organisation has a re-ranker switched on; a timeout or failure keeps the fused order andranking.rerank.reasonsays why. - Any plugin registers providers under
ServerPlugin.extensions['global-search.providers']without importing this plugin. Registrations are validated with zod; an invalid one, an id outside the registering plugin's namespace, a duplicate id or a kind declared twice is refused with an error naming the contributing plugins. - Built-in providers:
global-search:people(members by name or email,manage TenantMember, linked to Settings → People),global-search:agents(registered agents throughlistAgents(),read AgentRun, linked to/agents?agentKey=),global-search:chats(only the reader's own conversations,read Conversation) andglobal-search:documents(tenant documents throughsearchKnowledge, best passage per document, deep-linked as the kit's/searchlinks a passage;read Document). Names are matched with an escapedILIKE, exact first. - The palette's first rows need no request: Go to ranks every destination from the kit's
useNavigationEntries()(nav, settings tabs, Home links, already guard-filtered) and Commands ranks the entries any plugin declares underUiPlugin.extensions['global-search.commands']({ id, label, to, keywords?, group?, guard? }, validated with zod, each filtered byuseNavGuard). Built-in commands: New chat, Invite people, Upload a document, Create an API key. GET /api/global-search/providerslists the providers the reader may use, with their kinds, labels, badges, tones and snippet labels, for the UI.- Settings → Search (owners and admins) stores a Cohere, Voyage AI, Fireworks AI or compatible
/rerankendpoint, model and key inglobal_search_settings, the key sealed withsealSecret.GET/PUT /api/global-search/settingsandPOST /api/global-search/settings/test.
Every other plugin is unchanged apart from the version stamp.
Full changelog: 3.9.0...3.10.0