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 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
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { S as run } from "./cli-Du92Y4VA.mjs";
2
+ import { C as run } from "./cli-Dr85YlA5.mjs";
3
3
 
4
4
  //#region src/bin.ts
5
5
  run();