Repository navigation
v5.2.0
✨ Features
-
@maz-ui/node: Start the installed @maz-ui/mcp and keep hand-edited rules (1e6a38a74)
When the project installs
@maz-ui/mcp,setupAgentswrites MCP configs that start it through the project's package manager (pnpm exec maz-ui-mcp,yarn run maz-ui-mcp,npx --no-install maz-ui-mcp...), with no download and the version from the lockfile. Otherwise, they runnpx -y @maz-ui/mcp@<version>, pinned with the newmcpVersionoption.mcpServerCommand(rootDir, version)returns this command.Generated rules edited by hand are kept and no longer updated. To get the rules of a new version, delete the file or the
AGENTS.mdsection.In a monorepo, files are written atomically. Rules or the pinned version are never downgraded by an app running an older maz-ui. Packages are now found in the workspaces listed in
pnpm-workspace.yamlor in theworkspacesfield ofpackage.json. -
@maz-ui/mcp: Init starts the installed @maz-ui/mcp or pins its version (1c3b7222f)
Install the package in the project (
pnpm add -D @maz-ui/mcp), then runnpx @maz-ui/mcp init. The MCP configs start the installed version through your package manager, in about a second. Otherwise, they runnpx -y @maz-ui/mcp@<version>, pinned to the version ofinit. Using@latestwould make npx query the registry at every start.An existing entry running
@maz-ui/mcp@latestgets the new command and keeps its other fields. A command written by hand is left untouched. -
@maz-ui/mcp: Tell agents which icon format to use for each usage (2d3a5b34f)
find_iconsand the server instructions recommend@maz-ui/icons/rawfor icon props,staticdirectly in a template, andlazyonly for icons not visible at first render. -
@maz-ui/mcp: Report buttons that show only an icon without an accessible name (f67e9a9ad)
The new
icon-button-labelrule ofreview_codewarns about aMazBtnwith only an icon and notext, content, oraria-label. -
@maz-ui/nuxt: Pin the maz-ui MCP server and explain how to start it faster (f65a0558d)
The
agentsoption pins the version of@maz-ui/mcpinstalled for the app in the MCP configs, and starts it through your package manager when the project root installs it. Its log suggests adding@maz-ui/mcpto the root's dev dependencies, and addingagents-mdtoagents.targetswhenAGENTS.mdis not written. -
agent-docs: Give AI agents the icon formats, the plugins to enable, and the role of each package (f8a01a36a)
-
Start the @maz-ui/mcp installed in the project from the Claude Code plugin (881e24597)
-
@maz-ui/node: Let
setupAgentsconfigure the agents of another tool (6fa96842b)setupAgentsconfigures maz-ui by default. Any package that ships an MCP server and rules for AI agents can now be set up with the newtooloption (anAgentsTool: name, MCP package, bin, and arguments) and its rules passed withagentDocs. It writes.claude/rules/<name>.md, the<name>section ofAGENTS.md, and the<name>MCP server, with the same guarantees as for maz-ui. Several tools can be set up in the same project, and each manages only its own files, section, and server entry.mcpServerCommand,installsMcpPackage,readManagedVersion, andisEditedManagedContenttake the tool as last argument, and thePackageManagertype is exported. Nothing changes for maz-ui. -
@maz-ui/mcp: Register the MCP server with init only in projects without maz-ui (9d660fa5b)
The rules document the maz-ui components. In a project that only uses @maz-ui/utils or @maz-ui/node, init no longer fails and registers the MCP server, which serves the docs bundled with @maz-ui/mcp. Pass
--docsto write the rules anyway.The fallback tool errors now point to the docs folder in use.
⚡ Performance
-
@maz-ui/mcp: Install a single package and answer agents right away (d624b026f)
Runtime dependencies are bundled:
npx @maz-ui/mcpdownloads one package of less than 1 MB instead of a hundred, so the first start stays under the agents' start timeout, even behind a slow registry. The server answers on start and loads the search index, the Vue compiler, and Babel on first use.
📖 Documentation
- docs: Document the fast start of the MCP server, monorepos, and icon formats (96c929315)
📦 Build
-
deps: Publish internal dependencies with caret ranges (aa5baf40a)
workspace:*is published as the exact version, so a project that installs another version of an internal package (@maz-ui/utils...) gets two copies.workspace:^is published as^<version>, so package managers deduplicate them.
❤️ Contributors
- LouisMazel (@LouisMazel)