@reqvire-org/ads 0.3.29 → 0.3.31

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.
Files changed (36) hide show
  1. package/dist/config.mjs +7 -2
  2. package/dist/mcp/build-status.mjs +1 -1
  3. package/dist/mcp/mutations.mjs +48 -8
  4. package/dist/mcp/server.mjs +14 -10
  5. package/dist/preview-files.mjs +19 -12
  6. package/dist/preview-inputs.mjs +6 -17
  7. package/dist/preview-resources.mjs +25 -3
  8. package/dist/project-documents.mjs +4 -0
  9. package/dist/scenario-trace.mjs +2 -1
  10. package/dist/showcase/client.bundle.js +22 -22
  11. package/dist/showcase/index.html +1 -1
  12. package/dist/showcase/style.css +3 -0
  13. package/dist/skills/ads-break-ui/references/behaviors.md +2 -0
  14. package/dist/skills/ads-break-ui/references/layers.md +6 -0
  15. package/dist/skills/ads-break-ui/references/validation.md +16 -0
  16. package/dist/skills/ads-designer/references/behaviors.md +2 -0
  17. package/dist/skills/ads-designer/references/layers.md +6 -0
  18. package/dist/skills/ads-designer/references/validation.md +16 -0
  19. package/dist/skills/ads-import/references/behaviors.md +2 -0
  20. package/dist/skills/ads-import/references/layers.md +6 -0
  21. package/dist/skills/ads-import/references/validation.md +16 -0
  22. package/dist/skills/ads-motion/references/behaviors.md +2 -0
  23. package/dist/skills/ads-motion/references/layers.md +6 -0
  24. package/dist/skills/ads-motion/references/validation.md +16 -0
  25. package/dist/skills/ads-port/references/behaviors.md +2 -0
  26. package/dist/skills/ads-port/references/layers.md +6 -0
  27. package/dist/skills/ads-port/references/validation.md +16 -0
  28. package/dist/test-boundaries.mjs +3 -2
  29. package/dist/units.mjs +1 -1
  30. package/dist/validation-inputs.mjs +132 -0
  31. package/dist/validation.mjs +3 -17
  32. package/docs/ARCHITECTURE.md +26 -5
  33. package/docs/BEHAVIORS.md +2 -0
  34. package/docs/CHANGELOG.md +37 -0
  35. package/docs/MCP.md +38 -4
  36. package/package.json +1 -1
package/docs/MCP.md CHANGED
@@ -66,7 +66,11 @@ managed project compiler on demand and after relevant source changes.
66
66
  Switching entries updates the scenario inside the existing App. A quiet monochrome
67
67
  indicator in the upper-right header reports compilation, checking, readiness or
68
68
  failure; hover or click reveals details. The preview remains interactive during
69
- background checks. Token presentation comes from project-owned scenarios, fixtures and
69
+ background checks. Switching to another entry shows a loading spinner in the
70
+ preview pane until that selection mounts. Editing the current entry uses only
71
+ the header ring, without covering the preview. Messages from the previous
72
+ selection cannot clear navigation's loading state.
73
+ Token presentation comes from project-owned scenarios, fixtures and
70
74
  development-only review helpers, using the project's real foundation CSS and extracted
71
75
  styles. The App runtime contains no token sample templates or named token ordering.
72
76
  The generic definition inspector remains available without a scenario build.
@@ -319,7 +323,10 @@ Results and subscribed resource notifications are available through
319
323
  During a run, `ads_status.behaviors.progress` exposes completed/active/pending
320
324
  checks, timings and the profile's whole-run timeout. Candidate mutation checks use
321
325
  `ads_status.mutations.progress`. Requested MCP progress notifications also report
322
- runner activity. Playwright uses the project's workers and filters selected case
326
+ runner activity. Profiles accept an explicit `timeoutMs` from 100 to 900000 ms
327
+ (up to fifteen minutes), with a 60000 ms default. This covers the complete
328
+ selected suite; each runner's individual test/hook timeouts are separate.
329
+ Playwright uses the project's workers and filters selected case
323
330
  tags; ADS does not silently change timeout or parallelism policy. Timeout results
324
331
  retain partial outcomes and reports under `.ds/verification/`, but incomplete
325
332
  runs still block application and cannot establish passing guarantees. See the
@@ -603,8 +610,8 @@ project settings. The project continues to own its architecture and extensions.
603
610
 
604
611
  One unit patch is limited to 32 entries and 256 KiB inline, or 16 MiB through
605
612
  `patchFile`. Each original/resulting file is limited to 16 MiB. Validation snapshots
606
- are bounded to 20,000 files and 128 MiB, and retain the original project's Git
607
- tracking checks. Malformed or mismatched patches, changed project inputs and
613
+ copy relevant inputs only, are bounded to 100,000 files and 2 GiB, and retain the
614
+ original project's Git tracking checks. Malformed or mismatched patches, changed project inputs and
608
615
  cancelled checks leave source unchanged. Write failures roll back applied entries.
609
616
 
610
617
  Acceptance refreshes discovery, generated branding and previews. Configuration
@@ -1299,3 +1306,30 @@ boundaries, script selection and limits. Full audits include configured scripts
1299
1306
  and registered guarantees; changed mode narrows behavior owners while core and
1300
1307
  opaque project scripts remain complete. Neither mode rewrites npm test commands
1301
1308
  or treats compiled live previews as verification evidence.
1309
+
1310
+ Source freshness covers the configured ADS and UI roots, public assets, local
1311
+ imports/workers/assets, registered configuration and command entrypoints, package
1312
+ manifests/locks/patches, and supported project tests with their dependencies.
1313
+ Unrelated native/backend/documentation changes do not reject an ADS mutation or
1314
+ stale its preview. Every patched file remains protected, including documentation.
1315
+ Changes to either the original or proposed configuration's inputs reject a stale
1316
+ candidate; validation commands that write candidate source still fail.
1317
+ Unrelated source symlinks are omitted from the temporary copy; tracked source
1318
+ paths retain their symlink checks.
1319
+ The HTTP host uses its shared observer for change detection. Serving immutable
1320
+ resource bytes does not initialize a second source/build scan per request, and
1321
+ still verifies the resource digest. Explicit status and validation retain their
1322
+ freshness checks.
1323
+
1324
+ For opaque command inputs that static imports cannot reveal, add project-relative
1325
+ files or directories to `validation.inputs`, for example:
1326
+
1327
+ ```json
1328
+ { "validation": { "inputs": ["schemas/ui.json", "tools/check-data"] } }
1329
+ ```
1330
+
1331
+ These are additive source paths, not globs or exclusions. Missing paths are tracked
1332
+ so later creation invalidates evidence. Dependencies, metadata and generated output
1333
+ are not source inputs. The setting defaults to an empty list and accepts up to 200
1334
+ unique canonical paths below the project root. Declare data read dynamically by
1335
+ selected commands; ADS cannot infer arbitrary filesystem access inside a command.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reqvire-org/ads",
3
- "version": "0.3.29",
3
+ "version": "0.3.31",
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": {