Commit Graph

3 Commits

Author SHA1 Message Date
Levi Neely 6e1fc063fa Remove event stream and pubsub bus; add file rename on metadata change
The pubsub event endpoint was only used for physical file sync, which is
no longer needed now that reads/writes go directly through 9P. Removed
the /event file, pubsub message bus, and all Publish calls.

Added renameNote helper that renames the physical file and updates
note.Path whenever title, keywords, signature, or body frontmatter
changes, keeping the denote filename in sync with in-memory metadata.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 22:10:37 +01:00
Levi Neely 8a6c90f160 Add event stream via pubsub
- Add /event file for pub/sub event notifications
- Events: n (new), u (update), r (rename), d (delete)
- Format: '<type> <identifier>' per line
- Blocking read with 30s timeout
2026-03-20 18:00:34 +01:00
Levi Neely bb6eeec1b3 Initial commit: denotesrv 9P server for denote notes 2026-03-20 16:46:47 +01:00