The addon's editor capabilities, published as data into hive-spi.
Function-level companion to hive-emacs.editor.port: the port answers the MCP tool surface, this answers host code that just wants to evaluate elisp or read the focused buffer. Both are registered at IAddon mount and retracted at shutdown; neither is reachable except through hive-spi, so a host never names a hive-emacs namespace.
Capability keys are the host-facing vocabulary — they intentionally match the function names the host used to call directly, so the inversion is a change of ROUTE, not of meaning.
The addon's editor capabilities, published as data into hive-spi. Function-level companion to hive-emacs.editor.port: the port answers the MCP tool surface, this answers host code that just wants to evaluate elisp or read the focused buffer. Both are registered at IAddon mount and retracted at shutdown; neither is reachable except through hive-spi, so a host never names a hive-emacs namespace. Capability keys are the host-facing vocabulary — they intentionally match the function names the host used to call directly, so the inversion is a change of ROUTE, not of meaning.
Capability map published to hive-spi.editor.services.
Evaluation and editor state come from hive-emacs.client; elisp SOURCE construction comes from hive-emacs.elisp — the host generates elisp in several places and that generator is the addon's knowledge, not the host's.
Capability map published to hive-spi.editor.services. Evaluation and editor state come from hive-emacs.client; elisp SOURCE construction comes from hive-emacs.elisp — the host generates elisp in several places and that generator is the addon's knowledge, not the host's.
(register!)Publish the capability map as the :default editor services. Idempotent.
Publish the capability map as the :default editor services. Idempotent.
(unregister!)Drop the :default editor services. No-op when absent.
Drop the :default editor services. 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 |