@neocompose/cli 0.81.0 → 0.81.1
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/CHANGELOG.md +12 -0
- package/dist/neo.mjs +823 -265
- package/dist/test-worker.mjs +765 -98
- package/package.json +1 -1
- package/skills/neocompose-cli/SKILL.md +1 -1
- package/skills/neocompose-cli/references/animation-and-world-authoring.md +8 -0
- package/skills/neocompose-cli/references/cli-development.md +1 -1
- package/skills/neocompose-cli/references/commands-and-sync.md +3 -2
- package/skills/neocompose-cli/references/values-identities-and-references.md +8 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.81.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- dd6fe7e: A constructor argument that is itself an inline construction now keeps its own argument rows. This covers constructions passed directly, inside a list or dictionary argument, through a generic parameter, or in a settle block inside an argument. Before, the next push after a pull deleted those rows, and the value could no longer be written back to source.
|
|
8
|
+
|
|
9
|
+
Contextual enum keys such as `{ .B: value }` now resolve against the dictionary's key enum. The CLI writes enum keys in that form, so a pulled enum-keyed dictionary argument failed the next push.
|
|
10
|
+
|
|
11
|
+
- ba53774: Preserve reserved-looking dictionary keys, including `__proto__`, when packing, cloning, hashing, and materializing values.
|
|
12
|
+
- d901d09: Editing the constructor arguments of a pushed value, including a static such as a `NeoCellPattern`, now rebuilds the instance in place instead of failing with `construction-arguments-conflict`. The value keeps its ID, rows at unchanged positions keep theirs, and the stored arguments update. Changing the constructed class is still refused. Fields set in a constructor argument's own `{ ... }` block are now stored instead of dropped.
|
|
13
|
+
- 69baa8c: `ToVariant` no longer reruns the target variant's `initialize`. It runs the variant's `Apply`, `Overrides`, and `ChildOverrides` on the instance as it stands. A stored instance now records two variants: `instanceVariantId`, the variant whose `Initialize()` built it, and `instanceAppliedVariantId`, the variant `ToVariant` last applied. The applied variant's `Overrides` and `ChildOverrides` layer over the construction; its `Apply` writes stay as overrides. `ToVariant(Base)` removes the applied layer. A `ToVariant` on an object nested inside another instance's construction applies the variant's layers in place and records nothing, so the values set where it was constructed stay. Repainting a placement with a different variant in the world editor replaces the built-by variant and removes the applied layer. Pushes reject a placement whose applied variant does not exist or belongs to a class the placement does not inherit. Existing data is unchanged. Requires Neo Compose SDK 0.71.4 or later.
|
|
14
|
+
|
|
3
15
|
## 0.81.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|