@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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cr8",
3
- "version": "0.1.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.1.0",
16
+ "@zvada/cr8@0.2.0",
17
17
  "mcp",
18
18
  "--workspace",
19
19
  "${CLAUDE_PROJECT_DIR}"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cr8",
3
- "version": "0.1.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",
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
- `src/` is the `@zvada/cr8` package: `shared/` (the scene model and the command contract), `web/` (the browser workspace and the MCP App), `runtime/` (the local process: HTTP app, MCP server, CLI). `apps/` holds what runs elsewhere: the desktop shell and the two Cloudflare Workers, the media API and the account hub. `packages/` is the code the Workers share with the runtime. One composition root builds one runtime, and one route table drives the HTTP app, the browser, the MCP App and the CLI. A release is cut by pushing a tag; the runbook is [docs/operations/release.md](docs/operations/release.md).
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).