Studio exports a portable .workspec.zip archive for sharing or backup. The project folder remains the working copy.
Export a portable project
- Open the project.
- Select Export WorkSpec from Model or the command palette.
- Enter the File name.
- Optionally select Include custom validation rules.
- Select Export.
Studio downloads NAME.workspec.zip when ZIP support is available.
The archive contains these entries:
start.workspec.json
changes.workspec.js
generator.workspec.js
constraints.workspec.js
workspec.manifest.json
assets/ASSET_ID.EXTENSIONThe manifest records the archive format, WorkSpec version, source filenames, Generator seed, and asset metadata.
Studio removes embedded assets objects from exported Starting State. Asset bytes remain separate under assets/.
If selected, custom validation adds these files:
metrics-catalog-custom.json
simulation-validator-custom.jsWithout ZIP support, Studio downloads Starting State, Changes, and Generator as separate files. This fallback omits Constraints, assets, and the manifest.
Import a Starting State file
- Open Projects.
- Select Import WorkSpec.
- Choose
start.workspec.jsonor another supported JSON file. - Enter the new project name.
- Select a parent folder.
Studio validates the imported document before project creation. A JSON-only import creates blank executable source files.
Import a project archive
- Open Projects.
- Select Import WorkSpec.
- Choose a
.workspec.zipor.zipfile. - Enter the new project name.
- Select a parent folder.
Studio requires start.workspec.json in the archive. It restores the four sources, Generator seed, and files under assets/.
Studio reconstructs imported asset IDs from asset filenames. Keep each manifest filename aligned with its asset ID.
Import limits
Studio applies these archive limits:
| Limit | Value |
|---|---|
| Compressed upload | 10 MB |
| Archive entries | 1,000 |
| One uncompressed entry | 25 MB |
| Total uncompressed content | 50 MB |
Studio rejects absolute paths and archive paths that contain ...
Handle custom validation code
An archive can contain custom validation rules. Studio asks before replacing the current custom rules.
Studio requires a second acknowledgement before it loads a custom JavaScript validator.
The trusted-code security contract owns the complete execution and isolation model.
Choose a sharing method
| Goal | Method |
|---|---|
| Continue work on the same machine | Keep the project folder and its browser registry entry. |
| Move the working folder manually | Copy all source files, assets/, and .uaw/. |
| Send a portable copy | Export a .workspec.zip archive. |
| Share only Starting State | Send start.workspec.json; executable sources and assets are not included. |
Studio has no hosted share-link workflow in the current product. Use exported files or a copied project folder.