local addonName, NS = ...

-- Shared namespace bootstrap. Runs early so common metadata exists regardless of load order.
NS.name = addonName
-- Fallback only: `/bl version` and the help header both resolve through Sl:Version(), which prefers
-- the TOC's ## Version and degrades to this when the metadata API is unavailable (headlessly, say).
NS.version = "1.0.0"

-- The persisted-DB shape this build writes. ONE source for both the shipped default
-- (defaults/Global.lua) and the migration runner's target (NS:RunMigrations) — they were separately
-- maintained and had already drifted apart by one (F-008), so a fresh install shipped a value the
-- runner immediately migrated off.
NS.SCHEMA_VERSION = 2

-- Shared chat tag. Cyan (00ffff) is the Ka0s Standard house colour (slash-commands-§4) — every Ka0s
-- addon prints the same cyan bracketed tag so a user running several recognises them at a glance.
-- MUST NOT be substituted with another colour.
NS.PREFIX = "|cff00ffff[BL]|r"

-- Modules publish themselves idempotently (`NS.X = NS.X or {}`); nothing to wire here yet.
