@neocompose/cli 0.36.12 → 0.37.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 +37 -0
- package/dist/neo.mjs +4437 -701
- package/package.json +2 -2
- package/skills/neocompose-cli/SKILL.md +2 -2
- package/skills/neocompose-cli/references/cli-development.md +1 -1
- package/skills/neocompose-cli/references/commands-and-sync.md +4 -2
- package/skills/neocompose-cli/references/declarations-and-construction.md +7 -6
- package/skills/neocompose-cli/references/values-identities-and-references.md +13 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neocompose/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.0",
|
|
4
4
|
"description": "Neo Compose native project-source CLI with bidirectional sync.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@inquirer/prompts": "^8.5.2",
|
|
38
|
-
"convex": "^1.
|
|
38
|
+
"convex": "^1.45.0",
|
|
39
39
|
"ignore": "^7.0.6"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
@@ -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.
|
|
12
|
+
<!-- reviewed-through-cli: 0.37.0 -->
|
|
13
13
|
|
|
14
14
|
# Neo Compose CLI
|
|
15
15
|
|
|
@@ -132,7 +132,7 @@ completely before editing:
|
|
|
132
132
|
constructors, declared constructors, settlement, and inheritance.
|
|
133
133
|
- [Values, identities, and references](references/values-identities-and-references.md):
|
|
134
134
|
root/static bindings, nested/list identities, same-push references, unique
|
|
135
|
-
keys, files, localization, and default
|
|
135
|
+
keys, files, localization, and virtual default projection.
|
|
136
136
|
- [Animation and world authoring](references/animation-and-world-authoring.md):
|
|
137
137
|
objects, sorting, optional children, structured leaves, object variants and
|
|
138
138
|
variant folders, partial animation overrides, segments, tracks, and NeoFlow
|
|
@@ -83,7 +83,7 @@ wrappers.
|
|
|
83
83
|
The marker near the top of `SKILL.md` must exactly match the package version:
|
|
84
84
|
|
|
85
85
|
```html
|
|
86
|
-
<!-- reviewed-through-cli: 0.
|
|
86
|
+
<!-- reviewed-through-cli: 0.37.0 -->
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
The quoted version above is checked too, so this instruction cannot go stale
|
|
@@ -146,7 +146,7 @@ Require the release login profile for release operations.
|
|
|
146
146
|
History rewrites require project owner or admin authority. `prune` and
|
|
147
147
|
`flatten` create immutable plans without deleting anything. `apply` starts the
|
|
148
148
|
destructive run after the plan has sealed. Production also requires the exact
|
|
149
|
-
scope confirmation shown by the plan
|
|
149
|
+
scope confirmation shown by the plan. CLI
|
|
150
150
|
tokens issued before 0.36.12 do not hold the history write grant, so run
|
|
151
151
|
`neo logout` followed by `neo login` once after upgrading.
|
|
152
152
|
|
|
@@ -167,7 +167,9 @@ targeted repair is handed instead of scanning a project to rediscover them.
|
|
|
167
167
|
The Node CLI talks directly to authenticated Convex APIs through the
|
|
168
168
|
session-gated CAS boundary. Tokens use the OS credential store when available
|
|
169
169
|
and a protected file only as fallback. Use `NEO_COMPOSE_TOKEN` or
|
|
170
|
-
`--token-stdin` in CI. The
|
|
170
|
+
`--token-stdin` in CI. The CLI automatically re-mints its short-lived Convex
|
|
171
|
+
JWT before expiry during long-running commands; the stored device session
|
|
172
|
+
remains the credential. The editor profile cannot publish releases; server
|
|
171
173
|
scopes remain the security boundary.
|
|
172
174
|
|
|
173
175
|
`neo logout [--api <url>]` deletes the stored credential for exactly one API
|
|
@@ -101,9 +101,10 @@ Use `.EnumCase` only when context fixes one enum type; otherwise write
|
|
|
101
101
|
## Member and relation rules
|
|
102
102
|
|
|
103
103
|
Infer member kind and optionality from its type and nullability. Treat the
|
|
104
|
-
initializer as its default. Omitted fields
|
|
105
|
-
|
|
106
|
-
|
|
104
|
+
initializer as its default. Omitted fields remain virtual and resolve through
|
|
105
|
+
the instance's recorded constructor or variant. They track later source-default
|
|
106
|
+
edits until that field is explicitly overridden; resetting an override makes it
|
|
107
|
+
virtual again.
|
|
107
108
|
|
|
108
109
|
A lookup member's arity is its declared type. `public Config Config` selects one
|
|
109
110
|
entry and its declared type is the entry type; `public Set<Config> Configs`
|
|
@@ -142,9 +143,9 @@ value-level target metadata.
|
|
|
142
143
|
## Computed initializers and declared constructors
|
|
143
144
|
|
|
144
145
|
Use an expression initializer when a member default must be evaluated during
|
|
145
|
-
construction rather than stored as a closed literal. It
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
construction rather than stored as a closed literal. It is replayed for omitted
|
|
147
|
+
members in push, web, and SDK contexts. A stored override remains pinned until
|
|
148
|
+
it is reset.
|
|
148
149
|
|
|
149
150
|
Operator expressions are valid member defaults and store as computed
|
|
150
151
|
initializers, the same way calls do — `public float Derived =
|
|
@@ -120,20 +120,19 @@ membership rules as member defaults.
|
|
|
120
120
|
|
|
121
121
|
## Defaults and localization
|
|
122
122
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
`neo diff`.
|
|
128
|
-
|
|
129
|
-
Editing an initializer
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
new construction.
|
|
123
|
+
Omitted members are virtual projections of the instance's recorded constructor
|
|
124
|
+
or variant. Later edits to that source update every omitted member. Writing a
|
|
125
|
+
member creates a sparse override with its deterministic projected ID; removing
|
|
126
|
+
that member from an existing initializer resets the override and resumes source
|
|
127
|
+
tracking. Require either transition to appear in `neo diff`.
|
|
128
|
+
|
|
129
|
+
Editing an initializer updates sparse override rows in place: projected member
|
|
130
|
+
IDs remain stable, and omitted virtual rows are never emitted as authored seed
|
|
131
|
+
records. A construction whose durable constructor arguments changed, whose
|
|
132
|
+
class changed, or which predates a required constructor parameter fails with
|
|
133
|
+
`construction-arguments-conflict` instead of silently replaying a different
|
|
134
|
+
recipe. Edit members supported by the recorded construction, or delete and
|
|
135
|
+
recreate the value.
|
|
137
136
|
|
|
138
137
|
Write main-locale text directly in localizable string initializers. Pull/lower
|
|
139
138
|
preserves other locales, comments, statuses, archive state, and unrelated
|