-
mosaic-v0.0.26 — Bootstrap Hotfix
Pre-Releasereleased this
2026-04-05 22:17:59 +00:00 | 16 commits to main since this releasemosaic-v0.0.26 — Bootstrap Hotfix
Fixes four bugs found during real-run testing of
mosaic-v0.0.25.Changes
Bug fixes
-
[CRITICAL] Admin bootstrap 400 regression —
bootstrap.controller.tsimportedBootstrapSetupDtowithimport type, erasing the class at runtime. NestJS@Body()fell back to plainObjectas the metatype, andValidationPipewithwhitelist: true+forbidNonWhitelisted: truerejected every field ("property email should not exist","property password should not exist"). Fixed by changing to a value import so the class reference is preserved fordesign:paramtypes. Covered by a new e2e integration test that binds through the real NestJS DI + Fastify pipeline. -
Wizard reports success after bootstrap failure — the interactive-mode guard in
wizard.tshad an&& headlessRuncondition, so acompleted: falseresult was silently swallowed in interactive mode and the wizard continued to print✔ Wizard complete. Fixed by removing the headless-only gate: bootstrap failure now aborts with a non-zero exit in both interactive and headless modes. -
Gateway port prompt does not prefill
14242—@clack/promptstext()accepts two distinct options:defaultValue(used only when the user submits empty) andinitialValue(prefills the input buffer). The prompter was only passingdefaultValue, so the field appeared blank. AddedinitialValuesupport toWizardPrompter.text(),ClackPrompter, andHeadlessPrompter. All prompts that have defaults now prefill the buffer so the user can press Enter to accept. -
"What is Mosaic?" intro copy missing Pi SDK — the welcome stage listed Claude Code, Codex, and OpenCode but omitted Pi SDK, the underlying agent runtime. Copy updated to include Pi SDK.
Packages
@mosaicstack/mosaic0.0.25 → 0.0.26
Downloads
-