@neocompose/cli 0.87.1 → 0.88.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 (40) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +14 -0
  3. package/dist/neo-runtime.mjs +3789 -1141
  4. package/dist/test-worker.mjs +2450 -116
  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/initializers.md +100 -0
  12. package/skills/neocompose-cli/references/declarations/member-kinds.md +107 -0
  13. package/skills/neocompose-cli/references/declarations/overloads.md +50 -0
  14. package/skills/neocompose-cli/references/dialogues.md +145 -0
  15. package/skills/neocompose-cli/references/neoscript/collections.md +98 -0
  16. package/skills/neocompose-cli/references/neoscript/control-flow.md +123 -0
  17. package/skills/neocompose-cli/references/neoscript/delegates-and-listeners.md +107 -0
  18. package/skills/neocompose-cli/references/neoscript/math-and-random.md +114 -0
  19. package/skills/neocompose-cli/references/neoscript/neoscript.md +112 -0
  20. package/skills/neocompose-cli/references/neoscript/strings.md +47 -0
  21. package/skills/neocompose-cli/references/neoscript/testing-and-migrations.md +73 -0
  22. package/skills/neocompose-cli/references/neoscript/types-and-narrowing.md +111 -0
  23. package/skills/neocompose-cli/references/sync/branches-and-history.md +69 -0
  24. package/skills/neocompose-cli/references/sync/conflicts-and-recovery.md +68 -0
  25. package/skills/neocompose-cli/references/sync/sync.md +96 -0
  26. package/skills/neocompose-cli/references/sync/unity-export.md +47 -0
  27. package/skills/neocompose-cli/references/values/defaults-and-localization.md +86 -0
  28. package/skills/neocompose-cli/references/values/files.md +71 -0
  29. package/skills/neocompose-cli/references/values/identities.md +97 -0
  30. package/skills/neocompose-cli/references/values/references.md +151 -0
  31. package/skills/neocompose-cli/references/values/values.md +110 -0
  32. package/skills/neocompose-cli/references/world/animation.md +133 -0
  33. package/skills/neocompose-cli/references/world/grids-and-cell-patterns.md +55 -0
  34. package/skills/neocompose-cli/references/world/variants.md +112 -0
  35. package/skills/neocompose-cli/references/world/world.md +105 -0
  36. package/skills/neocompose-cli/references/animation-and-world-authoring.md +0 -582
  37. package/skills/neocompose-cli/references/commands-and-sync.md +0 -408
  38. package/skills/neocompose-cli/references/declarations-and-construction.md +0 -773
  39. package/skills/neocompose-cli/references/neoscript.md +0 -990
  40. package/skills/neocompose-cli/references/values-identities-and-references.md +0 -421
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.88.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 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.
8
+
9
+ 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.
10
+
11
+ ### Patch Changes
12
+
13
+ - 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.
14
+
15
+ ## 0.87.2
16
+
17
+ ### Patch Changes
18
+
19
+ - 60b71af: Keep stored Lookup selections stable when comparing constructor replay. Isolate uncompiled initializer bodies before animation validation and local test/dry-run evaluation, preventing frozen-record errors and false pending value seeds. Preserve generic bindings and the correct receiver while forwarding base-constructor arguments. Evaluate computed animation defaults consistently during validation and export.
20
+
3
21
  ## 0.87.1
4
22
 
5
23
  ### 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