statelyai 0.11.6 → 0.12.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 +16 -0
- package/dist/bin.mjs +1 -1
- package/dist/{cli-Du92Y4VA.mjs → cli-Dr85YlA5.mjs} +18314 -11850
- package/dist/index.d.mts +4 -2
- package/dist/index.mjs +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -98,6 +98,22 @@ Push re-reads and retries when it observes a concurrent Studio edit. Registry
|
|
|
98
98
|
updates do not yet expose an atomic revision precondition, so avoid editing the
|
|
99
99
|
same machine in Studio during a push.
|
|
100
100
|
|
|
101
|
+
`open` restores layout, colors, annotations, and canvas assets from Studio for
|
|
102
|
+
machines with an `@statelyai id`. Unlinked machines keep only non-inferable
|
|
103
|
+
presentation values (canonical coordinates, colors, annotations, and canvas
|
|
104
|
+
assets) in `.statelyai/local.json` at the project root; machine structure is
|
|
105
|
+
not duplicated. The CLI uses Git's repository-local `.git/info/exclude`
|
|
106
|
+
mechanism for this local-only file. It is available to the CLI and VS Code on
|
|
107
|
+
this checkout, and file locking preserves both hosts' concurrent updates, but
|
|
108
|
+
it is not shared until the machine is linked to Studio. Linked presentation
|
|
109
|
+
saves merge into Studio's current structure with an atomic `updatedAt` guard.
|
|
110
|
+
Outside a Git repository, run `statelyai open` from the VS Code workspace root
|
|
111
|
+
so both hosts use the same sidecar.
|
|
112
|
+
Where unambiguous, older CLI sidecars keyed by display name are read and
|
|
113
|
+
migrated to the shared machine key on the next save.
|
|
114
|
+
New states keep their generated coordinates when clear, or move beside
|
|
115
|
+
existing states when they would overlap restored layout.
|
|
116
|
+
|
|
101
117
|
## Authentication
|
|
102
118
|
|
|
103
119
|
<!-- authentication flags, environment resolution, and credential storage from src/cli.ts and src/credentials.ts -->
|
package/dist/bin.mjs
CHANGED