@neocompose/cli 0.81.4 → 0.82.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/CHANGELOG.md +30 -0
- package/README.md +3 -1
- package/dist/neo.mjs +4282 -575
- package/dist/test-worker.mjs +2528 -281
- package/package.json +1 -1
- package/skills/neocompose-cli/SKILL.md +1 -1
- package/skills/neocompose-cli/references/animation-and-world-authoring.md +3 -0
- package/skills/neocompose-cli/references/cli-development.md +1 -1
- package/skills/neocompose-cli/references/commands-and-sync.md +6 -4
- package/skills/neocompose-cli/references/declarations-and-construction.md +39 -11
- package/skills/neocompose-cli/references/neoscript.md +48 -0
- package/skills/neocompose-cli/references/values-identities-and-references.md +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.82.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 668f46c: `Reference<T>` now works for any value type except code types. A class,
|
|
8
|
+
interface, list, set, or dictionary reference is the object itself, as before.
|
|
9
|
+
Any other `T`, such as `Reference<int>` or `Reference<Vector3>`, names another
|
|
10
|
+
member and reads and writes its value. Form one with `Reference(this.Gold)` or
|
|
11
|
+
default it with `Reference(root.Player.Gold)`. References can be collection
|
|
12
|
+
elements, dictionary values, parameters, returns, and unbound generic
|
|
13
|
+
arguments. The web editor picks value-type targets by member path. Unity needs
|
|
14
|
+
SDK 0.72.0. Re-export to regenerate C# clients.
|
|
15
|
+
|
|
16
|
+
`Reference<Item?>` is now an error. Write `Reference<Item>?` for a reference
|
|
17
|
+
that may be unset.
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- 3599e8d: Keep constructor-added collection elements in backing rows when exporting sparse instances. Preserve existing entry identities and scalar strings during collection replay.
|
|
22
|
+
- 45c4d2c: Replay a sparse child's own declared constructor during reconciliation instead of treating it as a parent-only edit. Fix missing constructor argument errors when editing stored animation instances.
|
|
23
|
+
- 66c4258: Remove conflicted source files when neo resolve selects the deleted side, instead of retaining a deletion placeholder. Preserve empty and comment-only authored files.
|
|
24
|
+
- 878595c: Compare NeoVariant selections by their class, variant, and bound lookup row, including repeated reads and optional member assignments.
|
|
25
|
+
|
|
26
|
+
## 0.81.5
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- 051ab67: Fix generated C# Clone interface implementations for immutable classes that
|
|
31
|
+
inherit generic writable classes. Re-export to regenerate affected clients.
|
|
32
|
+
|
|
3
33
|
## 0.81.4
|
|
4
34
|
|
|
5
35
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -275,11 +275,13 @@ initializer. Nested class and collection rows remain independently identified.
|
|
|
275
275
|
|
|
276
276
|
Defaults materialize once when a value is created. Existing instances do not
|
|
277
277
|
stay linked to later class-default changes. Logical lookup/dialogue references
|
|
278
|
-
use the native typed intrinsic
|
|
278
|
+
use the native typed intrinsic. A reference to a value type, such as
|
|
279
|
+
`Reference<int>`, names a member path:
|
|
279
280
|
|
|
280
281
|
```neo
|
|
281
282
|
Reference(Assets.Capitol)
|
|
282
283
|
Reference(root.Assets.Cosmetics.Pants)
|
|
284
|
+
Reference(root.Player.Gold)
|
|
283
285
|
Reference<PantsAsset>(key: "pants.long")
|
|
284
286
|
Reference<NeoDialogue>(id: "dialogue-id")
|
|
285
287
|
```
|