foundry-design-web-adapter 0.2.0-beta.16 → 0.2.0-beta.18
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/README.md +11 -4
- package/dist/adapter.js +3151 -229
- package/dist/component-workshop.d.ts +115 -0
- package/dist/component-workshop.d.ts.map +1 -0
- package/dist/design-decisions.d.ts +25 -0
- package/dist/design-decisions.d.ts.map +1 -0
- package/dist/design-memory.d.ts +51 -1
- package/dist/design-memory.d.ts.map +1 -1
- package/dist/health.d.ts +6 -0
- package/dist/health.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/intelligence.d.ts +1 -1
- package/dist/intelligence.d.ts.map +1 -1
- package/dist/motion.d.ts +114 -1
- package/dist/motion.d.ts.map +1 -1
- package/dist/responsive-lab.d.ts +77 -0
- package/dist/responsive-lab.d.ts.map +1 -0
- package/dist/semantic.d.ts +15 -4
- package/dist/semantic.d.ts.map +1 -1
- package/dist/stress-testing.d.ts +26 -0
- package/dist/stress-testing.d.ts.map +1 -0
- package/dist/visual-recipes.d.ts +45 -0
- package/dist/visual-recipes.d.ts.map +1 -0
- package/dist/workspace.d.ts +1 -1
- package/dist/workspace.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,11 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Foundry is a local-first precision design workbench for Codex, Cursor, and Claude Code. It lets design engineers manipulate rendered interface elements, resolve each gesture to the right project-native source intent, review one structured change batch, and verify the rebuilt result across recorded states.
|
|
4
4
|
|
|
5
|
+
Responsive Design Lab links one live selection across native mobile, tablet, desktop, current, and custom viewport contexts. It exposes real breakpoint transitions, overflow, clipping, awkward wrapping, and temporary browser zoom, text-scale, and long-content stress tests without changing saved product state.
|
|
6
|
+
|
|
7
|
+
Design Branches keeps parallel visual directions isolated inside one local session. Teams can switch and compare rendered alternatives, combine selected decisions, preserve rejection rationale, and explicitly promote one direction into Review and apply without changing source early.
|
|
8
|
+
|
|
5
9
|
## Beta installation
|
|
6
10
|
|
|
7
11
|
Foundry is distributed through npm, so testers do not need GitHub access.
|
|
8
12
|
|
|
9
|
-
> **
|
|
13
|
+
> **Current public beta:** `0.2.0-beta.17`. Both npm `latest` and `beta` resolve to this release.
|
|
10
14
|
|
|
11
15
|
Full documentation is available at [withfoundry.ai](https://withfoundry.ai).
|
|
12
16
|
|
|
@@ -137,7 +141,7 @@ If an npm mirror or existing `npx` cache reports an old tag, bypass it with a te
|
|
|
137
141
|
|
|
138
142
|
```bash
|
|
139
143
|
FOUNDRY_NPX_CACHE="$(mktemp -d)"
|
|
140
|
-
npx --yes --prefer-online --registry=https://registry.npmjs.org --cache "$FOUNDRY_NPX_CACHE" --package=foundry-design@0.2.0-beta.
|
|
144
|
+
npx --yes --prefer-online --registry=https://registry.npmjs.org --cache "$FOUNDRY_NPX_CACHE" --package=foundry-design@0.2.0-beta.17 foundry-design
|
|
141
145
|
```
|
|
142
146
|
|
|
143
147
|
The beta supports Node.js 20 or newer. Read the [local-first safety model](https://withfoundry.ai/#safety) before using it with sensitive work.
|
|
@@ -154,7 +158,7 @@ Foundry remains local-first. Installing the plugin does not create an account, e
|
|
|
154
158
|
|
|
155
159
|
### Cursor one-click connection
|
|
156
160
|
|
|
157
|
-
[Add the Foundry MCP bridge to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=foundry-design-control&config=
|
|
161
|
+
[Add the Foundry MCP bridge to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=foundry-design-control&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIi0tcHJlZmVyLW9ubGluZSIsImZvdW5kcnktZGVzaWduLW1jcC1zZXJ2ZXJAMC4yLjAtYmV0YS4xNiJdLCJlbnYiOnsiRk9VTkRSWV9ERVNJR05fUlVOVElNRV9VUkwiOiJodHRwOi8vMTI3LjAuMC4xOjQzODcifX0%3D), then run `npx foundry-design` inside the project. The repository's Cursor plugin additionally bundles the Foundry skill and session-start hook for marketplace distribution.
|
|
158
162
|
|
|
159
163
|
## Current capabilities
|
|
160
164
|
|
|
@@ -163,13 +167,16 @@ Foundry remains local-first. Installing the plugin does not create an account, e
|
|
|
163
167
|
- A searchable, collapsible, virtualized live layer hierarchy with mapped-source context, Shadow DOM traversal, drag reordering, and selection persistence across HMR
|
|
164
168
|
- Multi-selection, measured spacing annotations, sibling-aware resize snapping, keyboard nudging, alignment, distribution, and preview undo/redo
|
|
165
169
|
- A revisioned local design graph for CSS tokens, components, Storybook variants, breakpoints, themes, states, and motion presets
|
|
170
|
+
- A Design System workspace that resolves semantic alias chains, surfaces broken and circular references, traces native tokens from definition to indexed usages, groups recurring literals into existing-token-first promotion plans, and sends exact source refactors through Review without changing source automatically
|
|
166
171
|
- Semantic source-mapping choices that block ambiguous changes until the user selects the intended implementation
|
|
167
172
|
- Fixed, hug, fill, and min/max sizing; flex and grid flow; linked spacing; aspect ratio; overflow; and positional controls
|
|
168
|
-
- Project-native spacing, radius, typography, and color choices with token-only filtering, exact token
|
|
173
|
+
- Project-native spacing, radius, typography, and color choices with token-only filtering, exact and nearest-token ranking, component variants, type presets, gradients, opacity, and live contrast guidance
|
|
169
174
|
- Layout, typography, color, content, asset, accessibility, responsive, and motion controls
|
|
170
175
|
- Before/after toggles, continuous comparison scrubbing, side-by-side source comparison, isolation, per-element reset, keyboard shortcuts, and a searchable command palette
|
|
171
176
|
- Design Health scans for contrast, overflow and clipping, touch targets, accessible names, reduced-motion coverage, and project spacing consistency, with evidence, intentional-issue ignores, and safe corrections routed into review
|
|
172
177
|
- An in-app state workbench with real viewport frames, theme switching, forced interaction states, motion controls, and contextual verification
|
|
178
|
+
- A dedicated Motion Studio for live CSS and Web Animation discovery, preview-only transport, timeline scrubbing, keyframe editing, complete timing controls, performance classification, and reduced-motion review
|
|
179
|
+
- Isolated Design Branches with fixed-viewport comparison, selective composition, rejection notes, explicit promotion into the source-ready review ledger, and portable chosen or rejected decision records with source-aware compatibility, import, export, restore, removal, and explicit Design Memory linkage
|
|
173
180
|
- Persistent, coalescing change ledger with JSON and consolidated prompt export
|
|
174
181
|
- Center-workspace review with editable approved batches, grouped targets, and unresolved-target blocking
|
|
175
182
|
- Persistent Apply with agent runs across Codex, Cursor, and Claude Code through MCP
|