v1.0.4 — External sites.json path + native-element steering
Added
BRICKS_SITES_PATH— keepsites.jsonoutside the server folder (absolute / relative /~paths), for setups that collect MCP servers in one shared directory. Falls back to the bundled./sites.jsonwhen unset (backward-compatible); fails loudly if the path is set but missing, so a typo can't silently connect you to the wrong site. No more symlinkingsites.jsoninto the repo.
Changed
- Native-element model steering. The server now sends an MCP
instructionspreamble (injected into the client's system context on every request, for any model) telling the model to prefer Bricks' structured path — theme styles, global classes,settings.style, native elements — over freelancing raw_cssCustom/inline styling. The same THEME-FIRST guidance now also rides onbricks_update_pageandbricks_patch_page(previously only on create/append/build). Closes the gap where models with weaker tool-calling discipline injected custom CSS/classes instead of using the tools.
h/t the r/BricksBuilder DDEV/opencode discussion.