Skip to content

v1.0.4 — External sites.json path + native-element steering

Choose a tag to compare

@developer2013 developer2013 released this 04 Jun 20:06
· 41 commits to main since this release
3024983

Added

  • BRICKS_SITES_PATH — keep sites.json outside the server folder (absolute / relative / ~ paths), for setups that collect MCP servers in one shared directory. Falls back to the bundled ./sites.json when 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 symlinking sites.json into the repo.

Changed

  • Native-element model steering. The server now sends an MCP instructions preamble (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 on bricks_update_page and bricks_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.