Liking cljdoc? Tell your friends :D

hive-addon.lifecycle.schema

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.
raw docstring

ActivationReportclj/s

source

BootReportclj/s

source

EvictionReportclj/s

source

explainclj/s

(explain ?s x)
source

humanize-errorsclj/s

(humanize-errors ?s x)
source

IdleMsclj/s

Milliseconds without use before a :lazy addon (or a part) is evictable.

Milliseconds without use before a :lazy addon (or a part) is evictable.
sourceraw docstring

KeepReasonclj/s

Why a sweep left an addon mounted.

Why a sweep left an addon mounted.
sourceraw docstring

Lifecycleclj/s

A resolved lifecycle: every key present.

A resolved lifecycle: every key present.
sourceraw docstring

LifecycleDeclclj/s

What a manifest's :addon/lifecycle, or a host override, declares. Open.

What a manifest's :addon/lifecycle, or a host override, declares. Open.
sourceraw docstring

Phaseclj/s

source

Policyclj/s

: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.
sourceraw docstring

registryclj/s

source

Surfaceclj/s

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.
sourceraw docstring

SweepPlanclj/s

: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.
sourceraw docstring

ToolDeclclj/s

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.
sourceraw docstring

UseStateclj/s

Per-addon runtime state the lifecycle keeps.

Per-addon runtime state the lifecycle keeps.
sourceraw docstring

validateclj/s

(validate ?s x)
source

validate*clj/s

(validate* ?s x)
(validate* ?s x category)

(r/ok x) or (r/err category {:explanation ...}).

(r/ok x) or (r/err category {:explanation ...}).
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