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.
(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.
(app-row {:keys [module port error ok]})One line of artcraft command=apps.
One line of `artcraft command=apps`.
The closed command vocabulary of the artcraft tool.
The closed command vocabulary of the `artcraft` tool.
(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.
(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.
(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).
The host tool artcraft is contributed into: code command="artcraft <verb>" app=....
The host tool `artcraft` is contributed into: `code command="artcraft <verb>" app=...`.
(mount-all reg config getenv)Mount every registry app against the merged addon config.
Mount every registry app against the merged addon config.
(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.
(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.
(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.
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 |