Skip to content

formatSearchResults

formatSearchResults(results): string[]

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/history/historyFormat.ts:38

Render FTS search hits: a header line per hit plus its snippet (or a prompt preview when the snippet is empty). Returns a friendly single line when there are none.

SessionSearchResult[]

string[]