feat(editor): implement note editing flow with autosave
Add edit command to open notes in the editor with autosave support:
- New `edit` command in cmd extension that searches notes and opens
them in the editor. Shows dropdown for multiple matches, opens
directly for single exact match.
- Editor now supports loading items from datastore via itemId URL param.
When editing a datastore item, content is autosaved after 1.5s of
inactivity (debounced).
- Save status indicator in editor toolbar shows "Saved", "Saving...",
or "Unsaved" state. Only visible when editing datastore items.
- Context mode set to 'editor' when editing items, reset to 'default'
on close.
- Publishes editor:changed event on save for other extensions to react.
Flow: cmd:edit {search} -> dropdown -> select -> editor opens with
note content -> autosave on changes -> close returns to default context.