Liking cljdoc? Tell your friends :D

hive-artcraft.addon

Single IAddon hive.artcraft with ONE tool, artcraft. Every app in the registry data list mounts under it: :mount apps forward to their own addon's tool handler, :native apps are served by hive-artcraft.service from their catalog and transport shape.

Single IAddon hive.artcraft with ONE tool, `artcraft`. Every app in the registry data list
mounts under it: :mount apps forward to their own addon's tool handler, :native apps are
served by hive-artcraft.service from their catalog and transport shape.
raw docstring

addon-ctorclj

(addon-ctor config)

Host manifest entry point. Config: {:apps {"<app>" AppConfig}}; :registry and :getenv are test seams.

Host manifest entry point. Config: {:apps {"<app>" AppConfig}}; :registry and :getenv are test seams.
sourceraw docstring

app-rowclj

(app-row {:keys [module port error ok]})

One line of artcraft command=apps.

One line of `artcraft command=apps`.
sourceraw docstring

commandsclj

The closed command vocabulary of the artcraft tool.

The closed command vocabulary of the `artcraft` tool.
sourceraw docstring

contributionclj

(contribution state)

The artcraft subdomain for the host tool: one verb per command, each routed through dispatch against whatever is mounted in STATE at call time. Params (with the app enum) come from the same descriptor tool builds.

The `artcraft` subdomain for the host tool: one verb per command, each routed through
dispatch against whatever is mounted in STATE at call time. Params (with the `app` enum)
come from the same descriptor `tool` builds.
sourceraw docstring

dispatchclj

(dispatch mounted order args)

Route one artcraft call over the mounted apps; always answers an MCP tool result.

Route one `artcraft` call over the mounted apps; always answers an MCP tool result.
sourceraw docstring

dispatch-nativeclj

(dispatch-native {:keys [module port ok]} args)

Serve a :native app's command from its catalog and transport; call/control get the same id/params defaults as mounted apps (mount/with-request-defaults).

Serve a :native app's command from its catalog and transport; call/control get the same
id/params defaults as mounted apps (mount/with-request-defaults).
sourceraw docstring

host-toolclj

The host tool artcraft is contributed into: code command="artcraft <verb>" app=....

The host tool `artcraft` is contributed into: `code command="artcraft <verb>" app=...`.
sourceraw docstring

mount-allclj

(mount-all reg config getenv)

Mount every registry app against the merged addon config.

Mount every registry app against the merged addon config.
sourceraw docstring

mount-appclj

(mount-app module app-cfg getenv)

Bring one module up from its config: a :mount delegate or a :native catalog + transport.

Bring one module up from its config: a :mount delegate or a :native catalog + transport.
sourceraw docstring

stringify-argsclj

(stringify-args args)

MCP args may arrive keyword- or string-keyed; delegates expect string keys. A client that still holds the host tool's schema from before artcraft was contributed sends params as JSON text, so a string that decodes to a JSON object becomes that map.

MCP args may arrive keyword- or string-keyed; delegates expect string keys. A client that
still holds the host tool's schema from before `artcraft` was contributed sends `params`
as JSON text, so a string that decodes to a JSON object becomes that map.
sourceraw docstring

toolclj

(tool mounted order)

The one consolidated tool descriptor; app is an enum of the mounted apps.

The one consolidated tool descriptor; `app` is an enum of the mounted apps.
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