IEditorPort reification over the addon's verb handlers.
The port is the hive-spi contract face of hive-emacs.tools.emacs: same params maps in, same MCP response maps out. Registered as the :default editor port when the addon initializes; consumers resolve it through hive-spi.editor.registry, never through this ns.
Surfaces implemented: substrate, buffer, docs. IEditorDaemonPort is deliberately absent — hive-emacs' daemon layer has no verb handlers yet, so the adapter reports the surface as unsupported rather than reifying methods that would throw.
IEditorPort reification over the addon's verb handlers. The port is the hive-spi contract face of hive-emacs.tools.emacs: same params maps in, same MCP response maps out. Registered as the :default editor port when the addon initializes; consumers resolve it through hive-spi.editor.registry, never through this ns. Surfaces implemented: substrate, buffer, docs. IEditorDaemonPort is deliberately absent — hive-emacs' daemon layer has no verb handlers yet, so the adapter reports the surface as unsupported rather than reifying methods that would throw.
(->port)An uninitialized EmacsEditorPort. No Emacs or host mutation occurs.
An uninitialized EmacsEditorPort. No Emacs or host mutation occurs.
(register!)Install the EmacsEditorPort as the :default editor port. Idempotent.
Install the EmacsEditorPort as the :default editor port. Idempotent.
(unregister!)Drop the :default editor port. No-op when absent.
Drop the :default editor port. No-op when absent.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |