@reqvire-org/ads 0.0.0-stage → 0.3.0
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/LICENSE +21 -0
- package/README.md +284 -2
- package/dist/assets.mjs +52 -0
- package/dist/bootstrap-ds/ADS.md +203 -0
- package/dist/bootstrap-ds/README.md +98 -0
- package/dist/bootstrap-ds/biome.css.json +21 -0
- package/dist/bootstrap-ds/design-system/assets/brand/README.md +28 -0
- package/dist/bootstrap-ds/design-system/assets/fonts/.gitkeep +0 -0
- package/dist/bootstrap-ds/design-system/components/.gitkeep +0 -0
- package/dist/bootstrap-ds/design-system/composition/.gitkeep +0 -0
- package/dist/bootstrap-ds/design-system/index.ts +5 -0
- package/dist/bootstrap-ds/design-system/patterns/.gitkeep +0 -0
- package/dist/bootstrap-ds/design-system/showcase/mcp/index.html +1 -0
- package/dist/bootstrap-ds/design-system/showcase/mcp/main.tsx +8 -0
- package/dist/bootstrap-ds/design-system/styles.css +5 -0
- package/dist/bootstrap-ds/design-system/tokens/Foundation.fixture.ts +47 -0
- package/dist/bootstrap-ds/design-system/tokens/Foundation.scenario.tsx +14 -0
- package/dist/bootstrap-ds/design-system/tokens/base.css +27 -0
- package/dist/bootstrap-ds/design-system/tokens/colors.css +29 -0
- package/dist/bootstrap-ds/design-system/tokens/elevation.css +15 -0
- package/dist/bootstrap-ds/design-system/tokens/spacing.css +15 -0
- package/dist/bootstrap-ds/design-system/tokens/typography.css +13 -0
- package/dist/bootstrap-ds/ds.config.json +13 -0
- package/dist/bootstrap-ds/gitignore.template +8 -0
- package/dist/bootstrap-ds/package-lock.json +4660 -0
- package/dist/bootstrap-ds/package.json +41 -0
- package/dist/bootstrap-ds/scripts/build-mcp-previews.mjs +33 -0
- package/dist/bootstrap-ds/src/vite-env.d.ts +7 -0
- package/dist/bootstrap-ds/tsconfig.build.json +12 -0
- package/dist/bootstrap-ds/tsconfig.json +20 -0
- package/dist/bootstrap-ds/vite.config.ts +21 -0
- package/dist/boundaries.mjs +130 -0
- package/dist/brand-assets.mjs +82 -0
- package/dist/check.mjs +222 -0
- package/dist/cli.mjs +106 -0
- package/dist/config.mjs +181 -0
- package/dist/contracts/tokens.json +52 -0
- package/dist/html.mjs +30 -0
- package/dist/index.mjs +9 -0
- package/dist/init.mjs +194 -0
- package/dist/lint-config.mjs +40 -0
- package/dist/mcp/THIRD_PARTY_NOTICES.md +786 -0
- package/dist/mcp/apps.mjs +53 -0
- package/dist/mcp/build-status.mjs +164 -0
- package/dist/mcp/catalog.mjs +65 -0
- package/dist/mcp/context.mjs +69 -0
- package/dist/mcp/mutations.mjs +301 -0
- package/dist/mcp/patch.mjs +114 -0
- package/dist/mcp/preview-watch.mjs +169 -0
- package/dist/mcp/preview-widget.bundle.js +113 -0
- package/dist/mcp/project-widget.bundle.js +113 -0
- package/dist/mcp/prompts.mjs +28 -0
- package/dist/mcp/resource-loader.js +138 -0
- package/dist/mcp/sandbox-host.mjs +22 -0
- package/dist/mcp/server.mjs +377 -0
- package/dist/mcp/showcase-host.mjs +68 -0
- package/dist/mcp/skills.mjs +77 -0
- package/dist/mcp/widget.bundle.js +150 -0
- package/dist/oxlint.mjs +81 -0
- package/dist/preview-resources.mjs +198 -0
- package/dist/project-documents.mjs +27 -0
- package/dist/public-props.mjs +74 -0
- package/dist/scenarios-compiler.mjs +287 -0
- package/dist/scenarios-vite.d.mts +3 -0
- package/dist/scenarios-vite.mjs +71 -0
- package/dist/scenarios.mjs +212 -0
- package/dist/showcase/client.bundle.js +127 -0
- package/dist/showcase/index.html +17 -0
- package/dist/showcase/sandbox.js +30 -0
- package/dist/showcase/style.css +7 -0
- package/dist/showcase-coverage.mjs +118 -0
- package/dist/showcase.mjs +77 -0
- package/dist/skills/README.md +68 -0
- package/dist/skills/ads-assimilate/SKILL.md +292 -0
- package/dist/skills/ads-assimilate/agents/openai.yaml +4 -0
- package/dist/skills/ads-assimilate/references/cli.md +111 -0
- package/dist/skills/ads-assimilate/references/lint-and-docs.md +87 -0
- package/dist/skills/ads-assimilate/references/native-implementation.md +98 -0
- package/dist/skills/ads-assimilate/references/testing.md +107 -0
- package/dist/skills/ads-break-ui/LICENSE.upstream +21 -0
- package/dist/skills/ads-break-ui/README.md +16 -0
- package/dist/skills/ads-break-ui/SKILL.md +235 -0
- package/dist/skills/ads-break-ui/agents/openai.yaml +4 -0
- package/dist/skills/ads-break-ui/references/catalog.md +135 -0
- package/dist/skills/ads-break-ui/references/verification.md +48 -0
- package/dist/skills/ads-designer/LICENSE.upstream +21 -0
- package/dist/skills/ads-designer/README.md +19 -0
- package/dist/skills/ads-designer/SKILL.md +400 -0
- package/dist/skills/ads-designer/agents/openai.yaml +4 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/ADS.md +203 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/README.md +98 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/biome.css.json +21 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/assets/brand/README.md +28 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/assets/fonts/.gitkeep +0 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/components/.gitkeep +0 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/composition/.gitkeep +0 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/index.ts +5 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/patterns/.gitkeep +0 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/showcase/mcp/index.html +1 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/showcase/mcp/main.tsx +8 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/styles.css +5 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/tokens/Foundation.fixture.ts +47 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/tokens/Foundation.scenario.tsx +14 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/tokens/base.css +27 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/tokens/colors.css +29 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/tokens/elevation.css +15 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/tokens/spacing.css +15 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/tokens/typography.css +13 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/ds.config.json +13 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/gitignore.template +8 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/package-lock.json +4660 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/package.json +41 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/scripts/build-mcp-previews.mjs +33 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/src/vite-env.d.ts +7 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/tsconfig.build.json +12 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/tsconfig.json +20 -0
- package/dist/skills/ads-designer/assets/bootstrap-ds/vite.config.ts +21 -0
- package/dist/skills/ads-designer/references/cli.md +111 -0
- package/dist/skills/ads-designer/references/design-craft.md +65 -0
- package/dist/skills/ads-designer/references/mobile.md +73 -0
- package/dist/skills/ads-import/SKILL.md +335 -0
- package/dist/skills/ads-import/agents/openai.yaml +4 -0
- package/dist/skills/ads-import/references/branding.md +44 -0
- package/dist/skills/ads-import/references/cli.md +111 -0
- package/dist/skills/ads-import/references/implementation.md +111 -0
- package/dist/skills/ads-import/references/tokens.md +96 -0
- package/dist/skills/ads-motion/LICENSE.upstream +21 -0
- package/dist/skills/ads-motion/README.md +22 -0
- package/dist/skills/ads-motion/SKILL.md +217 -0
- package/dist/skills/ads-motion/agents/openai.yaml +4 -0
- package/dist/skills/ads-motion/references/audit.md +44 -0
- package/dist/skills/ads-motion/references/build.md +81 -0
- package/dist/skills/ads-motion/references/performance.md +55 -0
- package/dist/skills/ads-motion/references/review.md +35 -0
- package/dist/skills/ads-motion/references/verification.md +39 -0
- package/dist/token-policy.mjs +10 -0
- package/dist/tokens.mjs +142 -0
- package/dist/ui-framework.mjs +59 -0
- package/dist/units.mjs +168 -0
- package/docs/ADS.md +310 -0
- package/docs/ARCHITECTURE.md +311 -0
- package/docs/CHANGELOG.md +106 -0
- package/docs/GUIDE.md +722 -0
- package/docs/MCP.md +690 -0
- package/package.json +107 -4
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
- Rebrand the tool as ADS — Agentic Design System: `@reqvire-org/ads`, the `ads`
|
|
6
|
+
CLI, `ads_*` MCP tools, `ads://` resources and `ads-*` skills. Keep project
|
|
7
|
+
`design-system/`, `@ds`, token prefixes, `ds.config.json` and `.ds/` conventions.
|
|
8
|
+
- Add opt-in guarded MCP editing: send only a Git unified diff for one ADS-owned
|
|
9
|
+
unit, including its colocated scenarios and fixtures. Discover ownership with
|
|
10
|
+
`ads_units`; read bounded source ranges. Reject peer-unit changes, unrelated
|
|
11
|
+
public re-exports, malformed or mismatched patches. Cover foundation, guides,
|
|
12
|
+
original branding/fonts and project configuration/registered guard extensions.
|
|
13
|
+
Accept Git binary patches and patch-file references to keep bytes out of context.
|
|
14
|
+
- Validate reconstructed files in a temporary project copy with core guards,
|
|
15
|
+
registered Oxlint and project checks before writing. Reject concurrent edits,
|
|
16
|
+
cancelled checks and source-writing validators; preserve original Git tracking
|
|
17
|
+
checks, regenerate branding and refresh previews after acceptance. Accepted
|
|
18
|
+
configuration changes replace the shared compiler without disconnecting MCP.
|
|
19
|
+
- Mark the mutation tool as a model-only write and enforce App tool visibility in
|
|
20
|
+
both browser hosts. Update prompts, skills and documentation for the unit workflow.
|
|
21
|
+
|
|
22
|
+
## 0.3.0
|
|
23
|
+
|
|
24
|
+
- Align protocol errors for invalid skill/directory/cursor and expired asset
|
|
25
|
+
requests; notify resource discovery when a published asset catalogue changes.
|
|
26
|
+
Keep source-discovery caches for build-only changes.
|
|
27
|
+
- Replace the MCP explorer's long build-status line with compact state counts
|
|
28
|
+
and expandable per-preview details, with failures first.
|
|
29
|
+
|
|
30
|
+
- Publish one shared preview dependency graph for React and native Preact. The
|
|
31
|
+
reusable `ui://ads/preview` App loads selected scenario modules, extracted CSS,
|
|
32
|
+
fonts and worker assets through MCP resources, with content verification and
|
|
33
|
+
native ESM sharing. Heavy dynamic imports remain lazy.
|
|
34
|
+
- Preserve the showcase App across selections and successful source updates.
|
|
35
|
+
Mount/unmount adapters own scenario cleanup; failed validation/builds retain
|
|
36
|
+
a visibly stale view. Successful caches survive unchanged watcher restarts.
|
|
37
|
+
- Keep all project execution and styling inside the App iframe. Both local hosts
|
|
38
|
+
use a separate-origin sandbox proxy and the standard Apps lifecycle. The
|
|
39
|
+
showcase no longer uses a direct-artifact shortcut or custom ready message.
|
|
40
|
+
- Add resource integrity, retained revisions, recovery, lazy dependency, worker,
|
|
41
|
+
framework and sandbox tests. Update architecture, MCP/setup guides, skills
|
|
42
|
+
and the bundled empty starter. Existing HTML adapters remain supported until
|
|
43
|
+
a project explicitly configures `mcp.previewManifest`.
|
|
44
|
+
|
|
45
|
+
Migration: use the starter graph compiler and mount/unmount adapter, keep the
|
|
46
|
+
configured `framework` consistent with JSX, and add
|
|
47
|
+
`mcp.previewManifest: ".ds/preview/manifest.json"`. Production builds and owned
|
|
48
|
+
UI APIs do not change. External hosts require resource forwarding and the App
|
|
49
|
+
CSP capabilities documented in [MCP.md](MCP.md#host-boundary-and-compatibility).
|
|
50
|
+
|
|
51
|
+
## 0.2.0
|
|
52
|
+
|
|
53
|
+
- Add `ads init --framework react|preact`, persist and reuse the explicit choice,
|
|
54
|
+
reject conflicting saved/JSX settings before writes, and generate native hook
|
|
55
|
+
imports for the selected foundation scenario. Existing configs without the
|
|
56
|
+
field remain readable; their next init requires the flag once.
|
|
57
|
+
- Add a stdio MCP server with public UI/token inspection, checks, workflow prompts,
|
|
58
|
+
packaged skill resources, native Skills discovery for newer clients, and
|
|
59
|
+
experimental Apps. One managed project compiler supplies previews and reports
|
|
60
|
+
build revisions, diagnostics, failures and recovery.
|
|
61
|
+
- Introduce independently mountable scenarios with colocated fixtures. Components
|
|
62
|
+
and patterns keep their scenarios beside the owner; larger scenarios live under
|
|
63
|
+
`design-system/composition/`. Filename-derived IDs and one discovered registry
|
|
64
|
+
connect the regular showcase and individual MCP previews.
|
|
65
|
+
- Add token scenarios to that same registry/compiler/App pipeline. Token fixtures
|
|
66
|
+
and sample patterns are project-owned; the tool contains no project token list
|
|
67
|
+
or visual sample templates. Missing token coverage, invented references and
|
|
68
|
+
unreachable claimed coverage fail `ads check` and the project build. The empty
|
|
69
|
+
starter includes a foundation-value scenario without components or patterns.
|
|
70
|
+
- Replace the Mocks section with Composition. Public renderable UI now needs a
|
|
71
|
+
registered scenario with reachable public render references, including unused
|
|
72
|
+
exports. Runtime imports/re-exports of colocated scenarios and fixtures fail.
|
|
73
|
+
- Reject direct global networking in ADS implementations and scenarios while
|
|
74
|
+
preserving injected services, lazy implementation imports and workers.
|
|
75
|
+
- Update architecture, setup documentation, the empty starter and all five skills.
|
|
76
|
+
Add a checkout-only MCP explorer for real Apps, resources, tools, prompts,
|
|
77
|
+
skills, notifications and build diagnostics.
|
|
78
|
+
- Ship the showcase as a minimal shell, modern HTTP MCP client and Apps host.
|
|
79
|
+
`ads mcp` starts the website alongside stdio; `ads showcase` supports browser-only
|
|
80
|
+
use. Both transports share the compiler. Notifications refresh menus and
|
|
81
|
+
automatically reload successful active previews; errors mark retained output stale.
|
|
82
|
+
Four sections share aligned branding/pane collapse, theme switching, direct
|
|
83
|
+
URLs and retained selections; project browser page files are no longer required.
|
|
84
|
+
- Mount selected compiled Apps directly in the built-in showcase. Build updates
|
|
85
|
+
retain source discovery caches, and preview compilers run architecture gates
|
|
86
|
+
once per source change alongside compilation. Both must succeed before a
|
|
87
|
+
preview becomes current. Token value and elevation samples keep long names and
|
|
88
|
+
computed values readable.
|
|
89
|
+
|
|
90
|
+
- Support React and native Preact JSX/factories and DOM/CSS prop guards. Convert
|
|
91
|
+
the checkout's working example to native Preact 11 with signals for token review;
|
|
92
|
+
keep the React starter and receiving projects' runtime choices.
|
|
93
|
+
- Share a content-validated preview cache and scheduler across project compiler
|
|
94
|
+
adapters. Reuse successful outputs across restarts, rebuild changed dependencies,
|
|
95
|
+
prioritize the selected preview and preserve failure/revision reporting.
|
|
96
|
+
- Split the leaf App bridge and exclude unused browser diagnostic language packs
|
|
97
|
+
while retaining the official MCP Apps SDK and protocol/schema validation.
|
|
98
|
+
|
|
99
|
+
Migration: move entries/fixtures beside their owners (or into `composition/`)
|
|
100
|
+
and add static metadata plus independently mountable defaults. Add token entries
|
|
101
|
+
with explicit fixture names and reachable coverage for every foundation token;
|
|
102
|
+
existing projects fail the new coverage gates until those entries are supplied.
|
|
103
|
+
Configure the
|
|
104
|
+
project compiler, use `ads_status.showcaseUrl` or `ads showcase`, and retire the
|
|
105
|
+
project browser/page catalogue. Legacy custom pages/grouped Apps remain supported
|
|
106
|
+
while migrating. Production source and optimization remain project-owned.
|