@neocompose/cli 0.87.2 → 0.89.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +14 -0
  3. package/dist/neo-runtime.mjs +11153 -3060
  4. package/dist/test-worker.mjs +15214 -9707
  5. package/package.json +1 -1
  6. package/skills/neocompose-cli/SKILL.md +95 -279
  7. package/skills/neocompose-cli/references/cli-development.md +101 -117
  8. package/skills/neocompose-cli/references/declarations/annotations-and-storage.md +112 -0
  9. package/skills/neocompose-cli/references/declarations/constructors.md +164 -0
  10. package/skills/neocompose-cli/references/declarations/declarations.md +103 -0
  11. package/skills/neocompose-cli/references/declarations/extensions.md +46 -0
  12. package/skills/neocompose-cli/references/declarations/initializers.md +100 -0
  13. package/skills/neocompose-cli/references/declarations/member-kinds.md +107 -0
  14. package/skills/neocompose-cli/references/declarations/overloads.md +50 -0
  15. package/skills/neocompose-cli/references/dialogues.md +145 -0
  16. package/skills/neocompose-cli/references/neoscript/collections.md +138 -0
  17. package/skills/neocompose-cli/references/neoscript/control-flow.md +123 -0
  18. package/skills/neocompose-cli/references/neoscript/delegates-and-listeners.md +107 -0
  19. package/skills/neocompose-cli/references/neoscript/math-and-random.md +114 -0
  20. package/skills/neocompose-cli/references/neoscript/neoscript.md +113 -0
  21. package/skills/neocompose-cli/references/neoscript/strings.md +47 -0
  22. package/skills/neocompose-cli/references/neoscript/testing-and-migrations.md +73 -0
  23. package/skills/neocompose-cli/references/neoscript/types-and-narrowing.md +111 -0
  24. package/skills/neocompose-cli/references/sync/branches-and-history.md +69 -0
  25. package/skills/neocompose-cli/references/sync/conflicts-and-recovery.md +68 -0
  26. package/skills/neocompose-cli/references/sync/sync.md +96 -0
  27. package/skills/neocompose-cli/references/sync/unity-export.md +63 -0
  28. package/skills/neocompose-cli/references/values/defaults-and-localization.md +86 -0
  29. package/skills/neocompose-cli/references/values/files.md +71 -0
  30. package/skills/neocompose-cli/references/values/identities.md +97 -0
  31. package/skills/neocompose-cli/references/values/references.md +151 -0
  32. package/skills/neocompose-cli/references/values/values.md +110 -0
  33. package/skills/neocompose-cli/references/world/animation.md +133 -0
  34. package/skills/neocompose-cli/references/world/grids-and-cell-patterns.md +55 -0
  35. package/skills/neocompose-cli/references/world/variants.md +112 -0
  36. package/skills/neocompose-cli/references/world/world.md +105 -0
  37. package/skills/neocompose-cli/references/animation-and-world-authoring.md +0 -582
  38. package/skills/neocompose-cli/references/commands-and-sync.md +0 -408
  39. package/skills/neocompose-cli/references/declarations-and-construction.md +0 -773
  40. package/skills/neocompose-cli/references/neoscript.md +0 -990
  41. package/skills/neocompose-cli/references/values-identities-and-references.md +0 -421
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.89.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 91e8dd8: Add extension functions and computed properties on supported NeoScript receiver types, with typed `this`, receiver and function type parameters, stable member identities, and the Model / Extensions editor. Unity exports generate compatible wrappers for the configured C# version and report unsupported wrappers while retaining evaluator support.
8
+ - 857e1a0: Add IEnumerable<T>, IEnumerator<T>, lazy generators with yield return/yield break,
9
+ and upper-exclusive integer ranges. Typed boundaries acquire cursors or collect
10
+ remaining values into lists automatically. Cursor interfaces are runtime-only
11
+ and cannot occur in stored member shapes. Unity export schema 46 requires the
12
+ matching SDK and maps the protocols to the standard C# interfaces.
13
+
14
+ ## 0.88.0
15
+
16
+ ### Minor Changes
17
+
18
+ - 135249d: Add powers, logs, trigonometry and scalar interpolation to Math with portable float32 parity. Add shared and independently seeded NeoRandom streams with Value(), int/float Range overloads and a writable Seed property, plus --seed for test and script eval. Stored constructions use their reserved identities across local candidate preparation and push. Random-consuming constructions retain their evaluated owned values so argument and body draws stay consecutive after reload.
19
+
20
+ NeoRandom requires the system-schema-3d8f9818 rollout before use. Upgrade the Unity SDK to the matching P123 math/random release before exporting these new operations. Compiler revision 17 and export schema 45 remain unchanged; older SDKs do not support the additive operations.
21
+
22
+ ### Patch Changes
23
+
24
+ - 9400fe5: Preserve concrete generic type bindings when evaluating base-constructor arguments before an instance exists, without inheriting the caller's receiver. This fixes variant previews that failed to construct furnace and generator objects, leaving their inherited fields empty and getters unable to evaluate.
25
+
3
26
  ## 0.87.2
4
27
 
5
28
  ### Patch Changes
package/README.md CHANGED
@@ -438,11 +438,25 @@ JavaScript regular expression:
438
438
  neo test
439
439
  neo test Classes/Player.spec.neo
440
440
  neo test -t "TakeDamage"
441
+ neo test --seed=17
441
442
  neo test --maxWorkers=4
442
443
  neo test --runInBand
443
444
  neo test --reporter=json --outputFile=.neo/test-results.json
444
445
  ```
445
446
 
447
+ `--seed` accepts a signed safe decimal integer, reduced modulo 2^32. The JSON
448
+ report records the effective seed. Without it, the project fingerprint selects
449
+ the seed. Registration and each isolated test start fresh; beforeEach, body,
450
+ and afterEach share the test's stream. Worker counts and filters do not change
451
+ that starting stream. `neo script eval --seed 17` seeds a single evaluation of
452
+ the server snapshot.
453
+
454
+ Local candidate evaluation reserves pending identities in `.neo/export.json`
455
+ so random stored constructions agree across test, dry-run, export, and push.
456
+ An identity-only file does not mark a Unity export successful. Cached candidates
457
+ restore missing reservations and rebuild on conflicts. Push hooks consume the
458
+ parent's prepared candidate; incomplete hook metadata fails explicitly.
459
+
446
460
  Spec files run in parallel with up to four available CPU workers by default.
447
461
  Set `test.maxWorkers` in `neo.json` or override it with `--maxWorkers <positive
448
462
  integer>`. `--runInBand` overrides both and runs serially. A single selected