Liking cljdoc? Tell your friends :D

hive-emacs.tools.cider

CIDER verb handlers for the code tool's :cider subtree — addon-owned.

Every verb generates elisp against the hive-mcp-cider bridge and evaluates it through hive-emacs.client. The subtree is contributed to the host's code composite tool at addon init (addon wins over the core shadow); hive-mcp core needs no cider knowledge.

spawn accepts the full CLI surface: extra_args, aliases, extra_deps, middleware — see hive-mcp-cider-nrepl-build-command.

CIDER verb handlers for the `code` tool's :cider subtree — addon-owned.

Every verb generates elisp against the hive-mcp-cider bridge and evaluates
it through hive-emacs.client. The subtree is contributed to the host's
`code` composite tool at addon init (addon wins over the core shadow);
hive-mcp core needs no cider knowledge.

spawn accepts the full CLI surface: extra_args, aliases, extra_deps,
middleware — see hive-mcp-cider-nrepl-build-command.
raw docstring

*eval-fn*clj

Elisp evaluation boundary: (f code) or (f code timeout-ms) -> {:success bool :result any :error any}. Tests bind a stub recording calls.

Elisp evaluation boundary: (f code) or (f code timeout-ms) ->
{:success bool :result any :error any}. Tests bind a stub recording calls.
sourceraw docstring

commandsclj

Command contribution map for the host's :extension/contribute-commands! runtime port.

Command contribution map for the host's :extension/contribute-commands!
runtime port.
sourceraw docstring

contribute!clj

(contribute! runtime-ports)

Register the :cider subtree into the host's code composite tool and the EmacsCiderPort into the hive-spi cider registry. RUNTIME-PORTS is the host-injected port vocabulary (:extension/contribute-commands!) — nil outside a live host, making this a no-op. Idempotent.

Register the :cider subtree into the host's `code` composite tool and the
EmacsCiderPort into the hive-spi cider registry. RUNTIME-PORTS is the
host-injected port vocabulary (:extension/contribute-commands!) — nil
outside a live host, making this a no-op. Idempotent.
sourceraw docstring

ensure-connectedclj

(ensure-connected project-dir)

ICiderPort auto-connect verb: the name of a connected session for PROJECT-DIR, spawning one when none is connected. Nil PROJECT-DIR falls back to the daemon's project root. Throws ex-info on failure.

ICiderPort auto-connect verb: the name of a connected session for
PROJECT-DIR, spawning one when none is connected. Nil PROJECT-DIR falls
back to the daemon's project root. Throws ex-info on failure.
sourceraw docstring

handle-aproposclj

(handle-apropos {:keys [pattern search_docs session_name]})

Search symbols matching a pattern, optionally inside SESSION_NAME's REPL.

Search symbols matching a pattern, optionally inside SESSION_NAME's REPL.
sourceraw docstring

handle-cider-subdomainclj

Entry point contributed to code under "cider": strips the prefix and dispatches into the addon's verb tree.

Entry point contributed to `code` under "cider": strips the prefix and
dispatches into the addon's verb tree.
sourceraw docstring

handle-completeclj

(handle-complete {:keys [prefix session_name]})

Completions for a prefix, optionally inside SESSION_NAME's REPL.

Completions for a prefix, optionally inside SESSION_NAME's REPL.
sourceraw docstring

handle-connectclj

(handle-connect {:keys [name host port repl_type agent_id project_dir]})

Connect to an existing nREPL server as a named session. project_dir labels the REPL buffer for cross-project sessions.

Connect to an existing nREPL server as a named session.
project_dir labels the REPL buffer for cross-project sessions.
sourceraw docstring

handle-docclj

(handle-doc {:keys [symbol session_name]})

Docstring for a symbol, optionally inside SESSION_NAME's REPL.

Docstring for a symbol, optionally inside SESSION_NAME's REPL.
sourceraw docstring

handle-evalclj

(handle-eval {:keys [mode session_name] :as params})

Evaluate Clojure code via CIDER. mode selects silent (default) or explicit; session_name routes to a named session instead.

Evaluate Clojure code via CIDER. mode selects silent (default) or explicit;
session_name routes to a named session instead.
sourceraw docstring

handle-infoclj

(handle-info {:keys [symbol session_name]})

Full semantic info for a symbol, optionally inside SESSION_NAME's REPL.

Full semantic info for a symbol, optionally inside SESSION_NAME's REPL.
sourceraw docstring

handle-kill-allclj

(handle-kill-all _)

Kill all CIDER sessions.

Kill all CIDER sessions.
sourceraw docstring

handle-kill-sessionclj

(handle-kill-session {:keys [session_name]})

Kill a specific named session. Blank name errors; elisp errors surface.

Kill a specific named session. Blank name errors; elisp errors surface.
sourceraw docstring

handle-sessionsclj

(handle-sessions _)

List all active CIDER sessions with their status and ports.

List all active CIDER sessions with their status and ports.
sourceraw docstring

handle-spawnclj

(handle-spawn {:keys [name project_dir agent_id repl_type port extra_args
                      aliases extra_deps middleware]})

Spawn a new named CIDER session with its own nREPL server. Full CLI surface: extra_args (raw, pre--M), aliases (-M selection), extra_deps (EDN strings merged into -Sdeps), middleware (appended). local.deps.edn in the project dir is always auto-detected.

Spawn a new named CIDER session with its own nREPL server.
Full CLI surface: extra_args (raw, pre--M), aliases (-M selection),
extra_deps (EDN strings merged into -Sdeps), middleware (appended).
local.deps.edn in the project dir is always auto-detected.
sourceraw docstring

handle-statusclj

(handle-status _)

Get CIDER connection status.

Get CIDER connection status.
sourceraw docstring

handlersclj

The addon-owned :cider verb tree for the code composite tool.

The addon-owned :cider verb tree for the `code` composite tool.
sourceraw docstring

retract!clj

(retract! runtime-ports)

Retract the addon's code contributions and the cider port. No-op outside a live host.

Retract the addon's `code` contributions and the cider port. No-op outside
a live host.
sourceraw docstring

schema-paramsclj

The addon-contributed code schema params for the whole :cider subtree — core's code tool advertises no cider keys of its own.

The addon-contributed `code` schema params for the whole :cider subtree —
core's `code` tool advertises no cider keys of its own.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close