@reqvire-org/ads 0.3.6 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atomic-composition.mjs +214 -0
- package/dist/atomic-trace.mjs +287 -0
- package/dist/check.mjs +5 -0
- package/dist/cli.mjs +1 -1
- package/dist/mcp/server.mjs +4 -2
- package/dist/public-api.mjs +37 -1
- package/dist/scenarios.mjs +23 -3
- package/dist/skills/ads-break-ui/SKILL.md +7 -0
- package/dist/skills/ads-break-ui/references/atomic-styles.md +186 -0
- package/dist/skills/ads-designer/SKILL.md +7 -0
- package/dist/skills/ads-designer/references/atomic-styles.md +186 -0
- package/dist/skills/ads-import/SKILL.md +7 -0
- package/dist/skills/ads-import/references/atomic-styles.md +186 -0
- package/dist/skills/ads-migrate/SKILL.md +7 -0
- package/dist/skills/ads-migrate/references/atomic-styles.md +186 -0
- package/dist/skills/ads-motion/SKILL.md +7 -0
- package/dist/skills/ads-motion/references/atomic-styles.md +186 -0
- package/docs/ADS.md +17 -0
- package/docs/ARCHITECTURE.md +9 -0
- package/docs/BEHAVIORS.md +13 -0
- package/docs/CHANGELOG.md +22 -0
- package/docs/MCP.md +16 -0
- package/package.json +4 -2
package/docs/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.3.8
|
|
6
|
+
|
|
7
|
+
- Trace local atomic class helpers and explicit component class forwarding,
|
|
8
|
+
preserving alternatives and spread order. Report composition paths, DOM
|
|
9
|
+
targets, writing-mode risks and bounded informational analysis limits;
|
|
10
|
+
suppress safely established literal-equivalent overlaps. Keep review warnings
|
|
11
|
+
nonblocking and use registered rendered checks for intended geometry.
|
|
12
|
+
- Count calls to attached methods of public callable behavioral APIs through
|
|
13
|
+
aliases, namespace imports and re-exports, including mounted event handlers.
|
|
14
|
+
|
|
15
|
+
## 0.3.7
|
|
16
|
+
|
|
17
|
+
- Warn about statically traceable atomic CSS property overlaps without blocking
|
|
18
|
+
checks or guarded edits. Include source pairs, concrete correction guidance and
|
|
19
|
+
a guide inside every ADS skill's references folder, also served by MCP.
|
|
20
|
+
Keep regression cases
|
|
21
|
+
generic and validate computed geometry in a dummy compiled preview.
|
|
22
|
+
|
|
23
|
+
- Preserve callable-object and factory-result recognition in the fast source
|
|
24
|
+
guard using lazy project type discovery. Name invalid scenario `exercises`
|
|
25
|
+
entries without discarding independent UI render coverage.
|
|
26
|
+
|
|
5
27
|
## 0.3.6
|
|
6
28
|
|
|
7
29
|
- Isolate managed resource-graph output by session; reuse verified compiled
|
package/docs/MCP.md
CHANGED
|
@@ -188,6 +188,22 @@ resources. No arbitrary filesystem reader is exposed. Prefer bounded tools for
|
|
|
188
188
|
large catalogues; explicit resource reads can enter model context and a client
|
|
189
189
|
may truncate large payloads.
|
|
190
190
|
|
|
191
|
+
`ads_check` and `ads://project/checks` return nonblocking atomic composition
|
|
192
|
+
warnings under `advisories` with `severity: "warning"`, related source declarations
|
|
193
|
+
and `guidanceUri: "ads://guides/atomic-styles"`. Read that guide for causes and
|
|
194
|
+
component-level fixes. The full guide lives in every ADS skill as
|
|
195
|
+
`references/atomic-styles.md` for standalone clients; MCP serves the packaged
|
|
196
|
+
[skill-local reference](../skills/ads-designer/references/atomic-styles.md).
|
|
197
|
+
Guarded mutation results preserve these warnings without rejecting valid source.
|
|
198
|
+
An overlap warning is a review signal; failed registered rendered checks remain
|
|
199
|
+
blocking.
|
|
200
|
+
Warnings can carry a `composition` source path, a statically reached DOM `target`
|
|
201
|
+
and `writingModeDependent`. Unresolved paths appear as bounded
|
|
202
|
+
`atomic-composition-limit` advisories with `severity: "info"`; neither an
|
|
203
|
+
informational limit nor a traced target proves a rendered failure or success.
|
|
204
|
+
Bounded check results put warnings before informational limits; the checks
|
|
205
|
+
resource retains complete results.
|
|
206
|
+
|
|
191
207
|
### Behavioral verification
|
|
192
208
|
|
|
193
209
|
Read `ads://guides/behaviors` or the [behavior guide](BEHAVIORS.md) for the contract
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reqvire-org/ads",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A design system your agent can see and shape. Your components. Your look. Your code.",
|
|
6
6
|
"repository": {
|
|
@@ -34,8 +34,10 @@
|
|
|
34
34
|
"generate:icons": "node scripts/generate-icons.mjs",
|
|
35
35
|
"sync:skill-starter": "node scripts/sync-skill-starter.mjs",
|
|
36
36
|
"check:skill-starter": "node scripts/sync-skill-starter.mjs --check",
|
|
37
|
+
"sync:skill-references": "node scripts/sync-skill-references.mjs",
|
|
38
|
+
"check:skill-references": "node scripts/sync-skill-references.mjs --check",
|
|
37
39
|
"lint": "npm run lint:tool",
|
|
38
|
-
"lint:tool": "npm run check:skill-starter && oxlint --deny-warnings src preview-client showcase-client mcp-explorer tests/*.test.mjs scripts/build-ads-tool.mjs scripts/pack-ads-tool.mjs",
|
|
40
|
+
"lint:tool": "npm run check:skill-starter && npm run check:skill-references && oxlint --deny-warnings src preview-client showcase-client mcp-explorer tests/*.test.mjs scripts/build-ads-tool.mjs scripts/pack-ads-tool.mjs scripts/sync-skill-references.mjs",
|
|
39
41
|
"lint:project": "npm run lint:ds && npm run lint:style && npm run check:skill-starter",
|
|
40
42
|
"lint:ds": "node dist/cli.mjs lint-config && node dist/cli.mjs check && oxlint --deny-warnings --config .ds/oxlintrc.json src design-system",
|
|
41
43
|
"lint:style": "biome lint --config-path=biome.css.json .",
|