@neocompose/cli 0.25.2 → 0.26.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.25.2",
3
+ "version": "0.26.1",
4
4
  "description": "Neo Compose native project-source CLI with bidirectional sync.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -9,13 +9,14 @@ 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.25.2 -->
12
+ <!-- reviewed-through-cli: 0.26.1 -->
13
13
 
14
14
  # Neo Compose CLI
15
15
 
16
16
  Treat a format-4 `neo/` directory as a Git-like checkout of one Neo Compose
17
- project version. Native source and the web UI are peer authoring surfaces over
18
- the same granular records; the server remains the shared source of truth.
17
+ project version. Tracked native source is the CLI authoring source of truth:
18
+ edit it and use `neo push` for schema, values, dialogues, and managed files.
19
+ The web UI remains a peer authoring surface over the shared server records.
19
20
 
20
21
  Do not look for a C# schema project, Roslyn compiler, authoring DLL, generated
21
22
  SDK, `ValueRegistry`, per-member script sidecars, or checked-in dialogue JSON.
@@ -255,5 +255,5 @@ terminal text/actions to fall through. Keep all statements for
255
255
  `Actions Empty = new();` inside its body.
256
256
 
257
257
  After editing, run `neo dialogue dryrun <dialogue-ref>`. Exit 1 means the graph
258
- would fail on device. Use `neo dialogue compile '<logic-block-json>'` only for
259
- low-level inspection or repair of one logic block.
258
+ would fail on device. Keep every dialogue edit in the tracked `.neoflow` source
259
+ and commit it with `neo push`.
@@ -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.25.2 -->
86
+ <!-- reviewed-through-cli: 0.26.1 -->
87
87
  ```
88
88
 
89
89
  The quoted version above is checked too, so this instruction cannot go stale
@@ -7,7 +7,7 @@ branches, releases, history, and authentication.
7
7
 
8
8
  - Pull, inspect, and push
9
9
  - Conflicts and files
10
- - Low-level operations
10
+ - Localization operations
11
11
  - Branches, releases, and history
12
12
  - Authentication and automation
13
13
 
@@ -83,44 +83,30 @@ For `base-hash-conflict`, pull and merge. For `version-bump-required`, inspect
83
83
  the classification and use `neo push --accept-bump` only when the bump is
84
84
  intended.
85
85
 
86
- Inspect and stage files with:
86
+ Add, replace, or remove managed binaries and their typed registry declarations
87
+ in tracked source. `neo push` stages their metadata and verified bytes with the
88
+ source transaction. Keep local bytes during binary conflict resolution and
89
+ inspect the server copy under `.neo/conflicts/files/<file-id>/`.
87
90
 
88
- ```sh
89
- neo files list
90
- neo files add <path> [--template <Name>]
91
- ```
92
-
93
- Keep local bytes during binary conflict resolution. Inspect the server copy
94
- under `.neo/conflicts/files/<file-id>/`.
91
+ ## Localization operations
95
92
 
96
- ## Low-level operations
97
-
98
- Prefer checked-in source for normal authoring. Use low-level commands only for
99
- automation, repair, or inspection:
93
+ Main-locale strings are authored in `.neo` and `.neoflow`, but those files do
94
+ not represent the full localization record. Use `neo loc` for other locales,
95
+ statuses, comments, archives, and targeted localization repair:
100
96
 
101
97
  ```sh
102
- neo records query [--kind <recordKind>]
103
- neo records get <kind> <id>
104
- neo values list [memberId]
105
- neo values get <valueId>
106
- neo values set <valueId> '<raw-json-value>'
107
- neo values bind <staticMemberId> <valueId>
108
- neo values unbind <staticMemberId>
109
- neo values create '<raw-json-value>' [--class <classId>] --bind <staticMemberId>
110
98
  neo loc locales
111
99
  neo loc list
112
100
  neo loc set <textId> <locale> "text"
113
- neo dialogue list
114
- neo dialogue show <ref>
115
- neo dialogue compile '<logic-block-json>'
101
+ neo loc status-set <textId> <locale> <statusId>
102
+ neo loc comment-set <textId> <locale> "comment"
103
+ neo loc archive <textId>
104
+ neo loc restore <textId>
116
105
  ```
117
106
 
118
- Pass a JSON-array batch on stdin or `--file` where supported so related writes
119
- remain atomic. A `values set` payload is the raw value, not
120
- `{ "value": ... }`. Static bind/unbind changes the live binding.
121
-
122
- Low-level commands do not rewrite local project source. Run `neo pull` after
123
- any low-level or web mutation before further source edits or push.
107
+ Pass a JSON-array batch on stdin or `--file` where supported. Localization
108
+ commands do not rewrite local project source. Run `neo pull` after any
109
+ `neo loc` or web mutation before further source edits or push.
124
110
 
125
111
  ## Branches, releases, and history
126
112
 
@@ -29,7 +29,6 @@ neo script check --mode nsfunction --member Outpost.RefreshUnlock 'return this.L
29
29
  neo script compile --mode nsfunction --member Outpost.RefreshUnlock 'return this.Level > 0;'
30
30
  neo script eval --returns string 'return root.Assets.Outposts[0].FullDisplayText;'
31
31
  neo script eval --function Outpost.RefreshUnlock --this-value <id> --args '[3]'
32
- neo script apply --mode action '...'
33
32
  ```
34
33
 
35
34
  Prefer `--json` for automation.
@@ -141,8 +140,8 @@ rolled back.
141
140
  ## Evaluation and migrations
142
141
 
143
142
  `neo script eval` uses authored values and the same evaluator as the web app.
144
- `neo script apply` previews ordered write intents unless its explicit command
145
- contract offers a commit mode.
143
+ It reports effects from the isolated evaluation but never commits them. Put
144
+ persistent NeoScript and data changes in tracked source and use `neo push`.
146
145
 
147
146
  Keep migrations as tracked action files under `Migrations/`:
148
147
 
@@ -161,8 +161,8 @@ creates a pending file with a provisional deterministic symbol. Status,
161
161
  diff, and dry-run do not rewrite its registry. A successful push creates the
162
162
  record, uploads verified bytes, and materializes its declaration and ID.
163
163
 
164
- Use `neo files add <path> [--template <Name>]` to scaffold a declaration before
165
- push when desired.
164
+ Edit the typed registry declaration directly when an explicit symbol or
165
+ non-default template is needed before push.
166
166
 
167
167
  Pull/push compare server-verified SHA-256, not storage ETags. A divergent
168
168
  binary keeps local bytes and writes the verified remote side under