A read-write 9P file per document: write a link target, read back its structural resolution. resolve_target dispatches by target syntax, mirroring Emacs org-link-search precedence but terminating in a section id rather than a buffer position: #custom-id / id:uuid / *Headline -> dedicated (exact section) http(s)/mailto/ftp/file -> external (OS-handled) bare target naming a heading -> fuzzy (section) otherwise -> notfound Response schema carries kind/section/offset; the offset field is wired now (0 for current cases) so Phase 2 fuzzy text/<<target>>/#+NAME search with an intra-section byte offset slots in without changing the contract. Resolved ids are directly valid 9P paths (/<doc>/<id>). |
||
|---|---|---|
| .. | ||
| org-ast | ||
| org-parser | ||
| ork-cli | ||
| ork-server | ||