The IAddon. Wiring only.
Note what this namespace does NOT require: hive-mcp. hive-mcp is the host,
a runtime rather than a dependency, and a load-time require on it would make
the published jar unresolvable from a maven fetch. What the host needs from
this addon is expressed as a contract, hive-addon.protocol/IAddon, and the
host injects itself.
initialize! deliberately does NOT connect to GIMP. Mounting an addon must
not fail because an unrelated desktop application is closed, and the socket
transport opens per command anyway, so there is no connection to establish
at mount time. GIMP being absent is reported by health and diagnosed by
gimp_doctor, which is where a user can act on it.
The IAddon. Wiring only. Note what this namespace does NOT require: `hive-mcp`. hive-mcp is the host, a runtime rather than a dependency, and a load-time require on it would make the published jar unresolvable from a maven fetch. What the host needs from this addon is expressed as a contract, `hive-addon.protocol/IAddon`, and the host injects itself. `initialize!` deliberately does NOT connect to GIMP. Mounting an addon must not fail because an unrelated desktop application is closed, and the socket transport opens per command anyway, so there is no connection to establish at mount time. GIMP being absent is reported by `health` and diagnosed by `gimp_doctor`, which is where a user can act on it.
(addon-ctor config)Host entry point. config may carry :host, :port, :timeout-ms,
:connect-timeout-ms and :python-executable; anything absent resolves from
the environment.
Host entry point. `config` may carry :host, :port, :timeout-ms, :connect-timeout-ms and :python-executable; anything absent resolves from the environment.
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 |