Add strict custom field registry

This commit is contained in:
2026-05-07 11:04:11 +08:00
parent 27e71d8c51
commit c1cc9132a4
20 changed files with 582 additions and 20 deletions

View File

@@ -31,6 +31,7 @@ GSP Toolkit 是 GSP 的配套工具集。
```text
project/
gsp.manifest
gsp.fields
design/
*.gsp
```
@@ -174,6 +175,8 @@ gsp ai-init
gsp version
gsp completion powershell
gsp index
gsp fields list
gsp fields validate
gsp trace <id>
gsp flatten <id>
gsp pack <id>
@@ -192,6 +195,8 @@ gsp stage-check --stage implement
go build -o ../bin/gsp ./cmd/gsp
../bin/gsp version
../bin/gsp validate --root ../examples/lottery
../bin/gsp fields list --root ../examples/lottery
../bin/gsp fields validate --root ../examples/lottery
../bin/gsp flatten page.lottery.main --root ../examples/lottery --depth -1 --out ../.gsp/flattened.json
../bin/gsp pack page.lottery.main --root ../examples/lottery --for implement --format md --out ../.gsp/context-pack.md
../bin/gsp links page.lottery.main --root ../examples/lottery --format md --out ../.gsp/links.md