@neocompose/cli 0.22.7 → 0.23.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neocompose/cli",
3
- "version": "0.22.7",
3
+ "version": "0.23.1",
4
4
  "description": "Neo Compose native project-source CLI with bidirectional sync.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -9,7 +9,7 @@ description: >-
9
9
  `@neocompose/cli` or `node cli/bin/neo.mjs` in the neo-compose repository.
10
10
  ---
11
11
 
12
- <!-- reviewed-through-cli: 0.22.7 -->
12
+ <!-- reviewed-through-cli: 0.23.1 -->
13
13
 
14
14
  # Neo Compose CLI
15
15
 
@@ -78,7 +78,7 @@ wrappers.
78
78
  The marker near the top of `SKILL.md` must exactly match the package version:
79
79
 
80
80
  ```html
81
- <!-- reviewed-through-cli: 0.22.7 -->
81
+ <!-- reviewed-through-cli: 0.23.1 -->
82
82
  ```
83
83
 
84
84
  The quoted version above is checked too, so this instruction cannot go stale
@@ -108,6 +108,14 @@ construction rather than stored as a closed literal. It runs for every newly
108
108
  constructed instance in push, web, and SDK contexts; it does not rewrite
109
109
  existing saved instances.
110
110
 
111
+ Operator expressions are valid member defaults and store as computed
112
+ initializers, the same way calls do — `public float Derived =
113
+ Flags.Start / Flags.Scale;` is fine. Positions that store no rows still
114
+ require literals: dictionary keys must be string literals and Vector/Color
115
+ components must be numeric literals. When a computed list or dictionary entry
116
+ carries an authored `@id`, parenthesize the expression — `@id("row")
117
+ (A.B / A.C)` — so the annotation names the row rather than its left operand.
118
+
111
119
  Declare overloadable constructors as members when each constructor body owns
112
120
  its parameter scope:
113
121