@neocompose/cli 0.1.4 → 0.1.5
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/README.md +7 -2
- package/dist/neo.mjs +10249 -4034
- package/package.json +2 -2
- package/skills/neocompose-cli/SKILL.md +214 -0
package/README.md
CHANGED
|
@@ -48,11 +48,11 @@ error naming the flag to pass, and output is plain (also `NO_COLOR`).
|
|
|
48
48
|
| `status` / `diff` | Working-copy changes vs base |
|
|
49
49
|
| `dev [--push]` | Convex websocket sync-signal subscription + file watcher |
|
|
50
50
|
| `resolve --mine\|--theirs` | Conflict-marker sugar (editing the file is the real path) |
|
|
51
|
-
| `script check\|eval\|apply`
|
|
51
|
+
| `script check\|compile\|eval\|apply` | Compile/evaluate properties, actions, and typed NeoScript Functions with the web compiler/evaluator |
|
|
52
52
|
| `records` / `values` / `loc` | Content reads + writes with JSON-array batch stdin |
|
|
53
53
|
|
|
54
54
|
Working-copy layout and the C# subset are documented in
|
|
55
|
-
[`cli/
|
|
55
|
+
[`cli/skills/neocompose-cli/SKILL.md`](skills/neocompose-cli/SKILL.md) (the agent onboarding surface) and the
|
|
56
56
|
spec. State lives in `neo/.neo/state.json` (gitignored): per-record base
|
|
57
57
|
content hashes — the compare-and-swap tokens — plus conflict bookkeeping.
|
|
58
58
|
|
|
@@ -71,6 +71,11 @@ content hashes — the compare-and-swap tokens — plus conflict bookkeeping.
|
|
|
71
71
|
the consumption-model partition (`cli/src/schema/emit.ts`): every record
|
|
72
72
|
field is either expressed in C#, carried in `ExtraJson`, or held as a
|
|
73
73
|
volatile field in state and merged back at reconstruction.
|
|
74
|
+
- **NeoScript Functions**: `[NeoNSFunction(Code, RetJson, ArgsJson,
|
|
75
|
+
Deferred)]` projects authored source/signature while compiled `action` stays
|
|
76
|
+
volatile. `neo script check --all` validates every stored NeoScript body;
|
|
77
|
+
`eval`/`apply --function <Type.Member> --this-value <id> --args '[...]'`
|
|
78
|
+
preview typed results and write intents without committing them.
|
|
74
79
|
- The parser (`cli/src/schema/parse.ts`) is a hand-rolled
|
|
75
80
|
recursive-descent parser for the constrained subset with
|
|
76
81
|
file:line:column diagnostics.
|