Malli value objects for the addon lifecycle: when an addon is mounted, when it is let go, and what stands in for it while it is not mounted.
Shapes are uncompiled malli DATA seeded into a LOCAL composite registry over hive-addon.mount.schema's; never installed as the global default.
Registered keys: :lifecycle/policy :lifecycle/decl :lifecycle/surface :lifecycle/use-state :lifecycle/sweep-plan :lifecycle/activation-report :lifecycle/eviction-report :lifecycle/boot-report.
Malli value objects for the addon lifecycle: when an addon is mounted, when it is let go, and what stands in for it while it is not mounted. Shapes are uncompiled malli DATA seeded into a LOCAL composite registry over hive-addon.mount.schema's; never installed as the global default. Registered keys: :lifecycle/policy :lifecycle/decl :lifecycle/surface :lifecycle/use-state :lifecycle/sweep-plan :lifecycle/activation-report :lifecycle/eviction-report :lifecycle/boot-report.
Milliseconds without use before a :lazy addon (or a part) is evictable.
Milliseconds without use before a :lazy addon (or a part) is evictable.
Why a sweep left an addon mounted.
Why a sweep left an addon mounted.
A resolved lifecycle: every key present.
A resolved lifecycle: every key present.
What a manifest's :addon/lifecycle, or a host override, declares. Open.
What a manifest's :addon/lifecycle, or a host override, declares. Open.
:eager mounted at boot, evicted only on request. :lazy dormant until first use, evicted after :idle-ms without use. :pinned mounted at boot, never evicted; its parts still are.
:eager mounted at boot, evicted only on request. :lazy dormant until first use, evicted after :idle-ms without use. :pinned mounted at boot, never evicted; its parts still are.
Everything a caller can reach an addon through, known WITHOUT mounting it. :tools top-level tool-defs. :commands {host-tool-name [command-name ...]} contributed into host tools. :commands may name the full dispatch token ("carto") or a leaf; the host decides how a stub routes.
Everything a caller can reach an addon through, known WITHOUT mounting it.
:tools top-level tool-defs.
:commands {host-tool-name [command-name ...]} contributed into host tools.
:commands may name the full dispatch token ("carto") or a leaf; the host
decides how a stub routes.:evict is ordered dependents-first, so evicting in order never pulls an instance out from under a live dependent.
:evict is ordered dependents-first, so evicting in order never pulls an instance out from under a live dependent.
A tool an addon contributes, as advertised: an MCP tool-def with no handler.
A tool an addon contributes, as advertised: an MCP tool-def with no handler.
Per-addon runtime state the lifecycle keeps.
Per-addon runtime state the lifecycle keeps.
(validate* ?s x)(validate* ?s x category)(r/ok x) or (r/err category {:explanation ...}).
(r/ok x) or (r/err category {:explanation ...}).
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 |