webstudio 0.282.1 → 0.284.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/README.md +5 -1
- package/lib/cli.js +194593 -158891
- package/lib/content-runtime.js +194 -0
- package/package.json +23 -18
- package/templates/cloudflare/package.json +1 -1
- package/templates/defaults/app/route-templates/html.tsx +10 -9
- package/templates/defaults/app/route-templates/text.tsx +10 -9
- package/templates/defaults/app/route-templates/xml.tsx +10 -9
- package/templates/defaults/package.json +8 -8
- package/templates/react-router/app/route-templates/html.tsx +10 -9
- package/templates/react-router/app/route-templates/text.tsx +10 -9
- package/templates/react-router/app/route-templates/xml.tsx +10 -9
- package/templates/react-router/package.json +8 -8
- package/templates/react-router/vite.config.ts +1 -0
- package/templates/react-router-cloudflare/package.json +1 -1
- package/templates/ssg/app/asset-resource-fetch.ts +22 -0
- package/templates/ssg/app/route-templates/html/+data.ts +22 -9
- package/templates/ssg/package.json +6 -6
- package/templates/ssg/vite.config.ts +5 -2
package/README.md
CHANGED
|
@@ -68,7 +68,9 @@ Here is the list of independent commands:
|
|
|
68
68
|
|
|
69
69
|
### link
|
|
70
70
|
|
|
71
|
-
The **`link`** command
|
|
71
|
+
The **`link`** command stores access to a Webstudio Cloud project. MCP clients use that connection to read and edit the latest Builder build directly; the project does not need to be published or synchronized first.
|
|
72
|
+
|
|
73
|
+
Shell-capable agents can use local CLI commands such as `webstudio meta.index` immediately after linking. `webstudio connect <client>` is optional persistent native MCP registration and is unnecessary for local CLI usage.
|
|
72
74
|
|
|
73
75
|
You can link a project from Webstudio Cloud with the following command:
|
|
74
76
|
|
|
@@ -90,6 +92,8 @@ webstudio sync
|
|
|
90
92
|
|
|
91
93
|
Make sure to publish the project in Webstudio Cloud before running the **`sync`** command in your local Webstudio project.
|
|
92
94
|
|
|
95
|
+
`sync` is only for downloading a published project export. It is not part of the MCP editing workflow.
|
|
96
|
+
|
|
93
97
|
### build
|
|
94
98
|
|
|
95
99
|
Now, you can build your project with the **`build`** command:
|