@neocompose/cli 0.25.2 → 0.26.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 +15 -0
- package/README.md +30 -30
- package/dist/neo.mjs +10047 -11862
- package/package.json +1 -1
- package/skills/neocompose-cli/SKILL.md +4 -3
- package/skills/neocompose-cli/references/animation-and-world-authoring.md +2 -2
- package/skills/neocompose-cli/references/cli-development.md +1 -1
- package/skills/neocompose-cli/references/commands-and-sync.md +16 -30
- package/skills/neocompose-cli/references/neoscript.md +2 -3
- package/skills/neocompose-cli/references/values-identities-and-references.md +2 -2
package/package.json
CHANGED
|
@@ -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.
|
|
12
|
+
<!-- reviewed-through-cli: 0.26.0 -->
|
|
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.
|
|
18
|
-
|
|
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.
|
|
259
|
-
|
|
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.
|
|
86
|
+
<!-- reviewed-through-cli: 0.26.0 -->
|
|
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
|
-
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
97
|
-
|
|
98
|
-
|
|
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
|
|
114
|
-
neo
|
|
115
|
-
neo
|
|
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
|
|
119
|
-
|
|
120
|
-
`
|
|
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
|
-
|
|
145
|
-
|
|
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
|
-
|
|
165
|
-
|
|
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
|