AITMONDO

A2UI CLI 0.3.0 adds a catalog lint command

A desk lamp lights a laptop showing abstract lines and rectangles. A sheet next to it shows a proposed arrangement of interface elements.
Illustration of checking interface component definitions with a command-line tool. Illustration: AITMONDO (AI-generated).

The A2UI project released A2UI CLI v0.3.0 on November 11. The new `a2ui lint` command checks catalog JSON schemas against protocol rules and points to findings using JSON Pointer. The release now requires `a2ui_core ^0.7.0`.

A new command checks catalog JSON schemas and uses JSON Pointer to show where problems occur. The version requirement for the a2ui_core dependency has changed.
AITMONDO graphic based on primary sources.

Checks for identifiers and reserved names

The command checks identifiers, which must follow Unicode UAX 31 in A2UI v1.0, fields that distinguish types of components and functions, and the reserved component name `Surface`. It also checks the v1.0 restrictions on callers related to `requiresUserActivation` and redundant wrappers using `ComponentCommon` or `FunctionCommon`. The JSON Pointer attached to each finding locates it within the JSON document.

A new version requirement for the public API’s core dependency

The project described the core dependency update as a breaking change because the public API of `a2ui_cli` exposes types from `a2ui_core`. The release notes also listed `LintCommand`, `lintCatalog`, `CatalogLintFinding` and `LintSeverity` among the items related to linting.

Primary sources