@zvada/cr8 0.1.0 → 0.2.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/.claude-plugin/plugin.json +2 -2
- package/.codex-plugin/plugin.json +1 -1
- package/README.md +16 -1
- package/dist/cr8.mjs +334 -115
- package/docs/user/cli.md +44 -38
- package/docs/user/desktop.md +2 -2
- package/docs/user/mcp.md +6 -2
- package/package.json +17 -56
- package/skills/cr8-design/SKILL.md +30 -16
- package/skills/cr8-design/references/build.md +63 -7
- package/skills/cr8-design/references/cli.md +6 -3
- package/skills/cr8-design/references/start.md +4 -0
- package/skills/cr8-design/references/verify.md +16 -0
- package/skills/cr8-flows/SKILL.md +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cr8",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "A local-first design canvas shared by people and AI agents.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Adam Zvada",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"command": "npx",
|
|
14
14
|
"args": [
|
|
15
15
|
"-y",
|
|
16
|
-
"@zvada/cr8@0.
|
|
16
|
+
"@zvada/cr8@0.2.0",
|
|
17
17
|
"mcp",
|
|
18
18
|
"--workspace",
|
|
19
19
|
"${CLAUDE_PROJECT_DIR}"
|
package/README.md
CHANGED
|
@@ -159,4 +159,19 @@ npm run build # the package, the account hub and the desktop
|
|
|
159
159
|
npm run test:install # pack the npm artifact and install it the way a user would
|
|
160
160
|
```
|
|
161
161
|
|
|
162
|
-
|
|
162
|
+
The product lives in eight private npm workspaces. Each owns its dependencies, configuration and focused tests:
|
|
163
|
+
|
|
164
|
+
| Package | Owns |
|
|
165
|
+
| --- | --- |
|
|
166
|
+
| [core](packages/core/) | Canonical scene, commands, layout and local protocol |
|
|
167
|
+
| [runtime](packages/runtime/) | Local process, project files, CLI, MCP and media clients |
|
|
168
|
+
| [editor](packages/editor/) | Browser editor, Flows and embedded MCP App |
|
|
169
|
+
| [desktop](packages/desktop/) | Electron launcher over the local runtime |
|
|
170
|
+
| [account-hub](packages/account-hub/) | Cloud account UI, WorkOS and installation grants |
|
|
171
|
+
| [media-api](packages/media-api/) | Cloud generation Worker, providers and output catalog |
|
|
172
|
+
| [contracts](packages/contracts/) | Contracts shared with the Workers |
|
|
173
|
+
| [media-safety](packages/media-safety/) | Image and SVG byte validation |
|
|
174
|
+
|
|
175
|
+
Run a focused command from the root with `npm run test --workspace @cr8/editor`, or from inside that package with `npm test`. Root `tests/` holds cross-package integration and installation checks. Root scripts assemble and verify the whole product.
|
|
176
|
+
|
|
177
|
+
The root remains the published `@zvada/cr8` package and plugin: `npm run build:package` bundles the private workspace source into one `dist/cr8.mjs`, with no installed runtime dependencies. The account hub has its own build into `dist/account`; the local editor is loopback-only. See [architecture](docs/internals/architecture.md), the [package decision](docs/decisions/2026-09-10-package-ownership.md), and the [release runbook](docs/operations/release.md).
|