Bm plugin (bm)
Bookmark plugin
Command: /bm
Demo


Universal search
Bookmarks provides search:v1 and resource-view:v1.
Core's header search queries title, URL, summary, description, category and tags
in the saved bm_bookmarks table in local db.sqlite. This is a literal substring
search with bound SQL parameters, escaped wildcard characters, exact-title-first
ordering, then newest creation time and ID. Results include title, category, URL
and summary. Opaque query-scoped cursors paginate bounded database reads; concurrent
edits may shift offset-based pages, so start a new search to refresh them.
search-provider.ts owns both registrations. Resource addresses use the stable
package provider ID appweaver-bm-plugin/resource-view/v1, resource type bookmark
and the saved numeric ID as a string, with surface: "timeline". Opening an address
renders the /bm list widget and focuses the matched bookmark treeItem
(focused: true), collapsing unrelated branches while expanding the bookmark's
category ancestors. Search/open never create drafts,
modify queue state or publish anything. Deleted bookmarks return an explicit
not-found view. Existing mutation/review flows are preserved.
See the plugin author guide.