@objectstack/spec@16.1.0
Minor Changes
-
9e45b63: feat(cli): preflight that every
requirescapability has an installable provider
in the current edition (#3366)A capability listed in
requires: [...]was only checked atserve/starttime,
and a missing provider produced a generic "not installed — add it to your
dependencies" error even when the provider has no installable version in the
current edition.os validate(token-vocabulary only) andos build(never
resolved providers) both passed, so avalidate && build && testCI script never
caught it — it surfaced only as an opaque boot crash. Seen upgrading an
open-edition app from14.7to16after@objectstack/service-aiwent
cloud-only (ADR-0025).@objectstack/spec/kernelnow exportsPLATFORM_CAPABILITY_PROVIDERS
(token → provider package + edition) and a pureclassifyRequiredCapability()—
one machine-readable source of truth for the provider/edition knowledge the
serve resolver previously encoded informally.os buildandos validategained a provider preflight. Arequiresentry
whose provider has no installable version in the active edition (e.g.ai→
@objectstack/service-ai, cloud-only) now fails fast with an edition-aware
message; an absent-but-installable provider is an advisorypnpm addhint, not
a hard error; a satisfiedrequireslist passes unchanged.- The
os serveboot error now renders the same classification, so preflight and
boot read identically.