Saved Search
Saved searches: notes that keep a query of the search language and its results
Saved Search
Keeps queries of the search language as notes of the vault, and shows their results in a tab that stays up to date as the vault changes. The core runs the queries; the plugin saves them, keeps their last good results and shows them.
What It Enables
- Saved searches as notes: A saved search is a note of type
search. Its body holds the query in a fenced blocknumen-query; prose outside the block is free. Reranking and the number of results are part of the query, as.rerank("…")and.top(N). - A tab of results: A note of type
searchopens in the Saved Search tab. It shows when the results were computed, a failed last run with its time and reason, and the results in the order of the core: each passage with its file, its place (page, time or chapter) and its text, and each whole file, found bykindorpathalone, as a row with its title, path and kind. A click, Enter or Space opens the file at that place, a whole file at its start. A field above the results filters them by their text, titles, places and file names, and the Sources list beside it hides or shows the results of each file. The edit button at the top right shows or hides, below the header, the query in a code editor set as code is in a note. It highlights the search language, completes the names of its functions, variables and stages with their description and example from the catalog of the core (functions other plugins add included), and underlines each problem of the query at its line and column. Once typing pauses for a second the query is written into the note and run, unless the core reports a problem, which is underlined instead. - Results that follow the vault: When the index changes, a saved search whose tab is open runs again about 2 seconds later, so that a burst of changes gives one run. A saved search whose tab is closed runs again once its last run is at least the refresh delay old; earlier, it is marked stale and runs when the delay ends while the plugin runs, else at the next index change or when its tab opens. A change of its query runs it at once. These runs show one task, Refreshing saved searches; the core shows no task of its own for them.
- Problems that keep the last results: A run whose query has a syntax error, names an unknown function, or needs a provider that is missing or fails (no reranking connection, no embedding model, a reranking service that does not answer) stops. The tab keeps the last good results, underlines each problem of the query text at its line and column in the query editor, turns the dot after the title red with the error of the run in its tooltip, and tells of the failure in a notice. Warnings of a run turn the dot yellow and show in its tooltip. The run is tried again after the refresh delay.
Tools
saved_search_create: saves a query as a note in the folder the assistant names, else in the folder of the setting, runs it at once and returns the path of the note, its link and how many results the run found. The assistant tries the query withlibrary_queryfirst. A query the core reports problems of writes nothing.saved_search_update: changes the query of a saved search note and runs it again at once.
Commands
- Create saved search (
search.create): asks for a title only, saves a note with an empty query and opens it; the query is written in the note. It is in the command palette, which files the note in the folder of the setting, and in the New menu of a folder of the file tree, which files it in that folder.
Both run their search as an interactive search, which the core shows as its own task.
The Cache
The plugin keeps the last good results of each saved search in a file of its own folder of the vault store, .numen/md.numen.tools.saved.search/, named by the id of the note (<id>.json), or by a hash of its path for a note without an id. The file holds the hash of the query, the floor, the order, the reranking connection and the index generation the core reported, the results, the time of the last good run, the time the index changed after it, and the time and reason of a failed run with the problems of its query. A file of another shape counts as no cache. Losing the folder costs one run of each search.
Settings
- Refresh delay: Minutes a saved search whose tab is closed waits after its last run before an index change runs it again (
10by default);0runs it at once. A saved search whose tab is open does not wait. - Folder of new saved searches: Folder
saved_search_createputs a note in when the assistant names none; empty is the vault folder.
The reranking connections and the limits of a search are settings of the core.
Permissions
- Read your notes, files and tabs.
vault:read - Change your notes and files, and act for you.
vault:write - Read the titles and the search index of your notes.
index:read
Settings
- Refresh delayMinutes between runs of a saved search after the index changes
- Folder of new saved searchesFolder an agent creates a saved search in when it names none
Commands
- Create saved search
search.create
Tabs
- Saved Search
saved-search
Slots
- Create saved searchFile tree menu › New
Checks
- PassedManifestThe manifest matches the schema.
- PassedLicenseAGPL-3.0
- PassedREADMEREADME.md with an introduction.
- PassedScreenshots1 in light and dark.
- PassedHas testsPassed
- PassedMutation score ≥ 80%Passed
- WarningComponents have stories8 of 8 components have no story: EmptyResults.vue, QueryEditor.vue, ResultItem.vue, ResultList.vue, ResultsFilter.vue and 3 more.
- WarningManual pageNo page of the manual names the plugin.
- InfoNetwork requestsNone found in the code or the manifest.
- PassedKnown vulnerabilitiesNo known vulnerabilities.
Dependencies
- Indirect Go modules5
Tests
- Go tests156
- TypeScript tests179
- Stories21
- Mutation score Go88.4%
- Coverage Go82.7%
- Mutation score TypeScript94.2%
- Coverage TypeScript90.1%
2026.11.20
- screenshots of each plugin in the window, taken from stories by one tool (#2705)
- take a plugin's frontend as its TypeScript source (#2697)
- copy the root golangci config into every plugin
- copy the root golangci config into every plugin
- move the file count and hash wrappers into the driven adapter vaultchecks
- satisfy the use case port rules, the plugin config parity and the identity wiring test
- clear the CI findings of the link branch
- 2026.11 wave 2 (tabs, file tree, diagnostics, chat, models)
- 2026.11 bug batch (#2523)
2026.11.19
- support custom fonts and highlight the active line (#2416)
- add the Licenses page with machine activation and deactivation (#2388)
2026.11.18
- delay tooltip appearance, remove plex tag chip tooltips, and guard link command items (#2389)
2026.11.17
- use one Tooltip across the whole application (#2312) (#2384)
- hasTag, hasTagExactly and hasAnyTag query functions (#2295)
2026.11.16
- show an icon on note and saved search tabs (#2309)
2026.11.3
- edit the query in a code editor of the search language (#2199)
2026.11.2
- run saved searches on the core search (#2181)
- query functions from plugins (#2187)
- rerank, top and sort stages in search queries (#2163)
- search query language with numen-cli query (#2158)

