Add GSP links field and link inspection

This commit is contained in:
2026-05-07 10:41:38 +08:00
parent 0c5254eb1b
commit 27e71d8c51
18 changed files with 448 additions and 17 deletions

View File

@@ -177,6 +177,7 @@ gsp index
gsp trace <id>
gsp flatten <id>
gsp pack <id>
gsp links <id>
gsp impact <id>
gsp message validate <file>
gsp graph <id>
@@ -193,6 +194,7 @@ go build -o ../bin/gsp ./cmd/gsp
../bin/gsp 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
../bin/gsp impact feedback.positive --root ../examples/lottery --format md --out ../.gsp/impact.md
../bin/gsp graph page.lottery.main --root ../examples/lottery --format mermaid --out ../.gsp/graph.mmd
../bin/gsp graph page.lottery.main --root ../examples/lottery --format md --out ../.gsp/graph.md
@@ -221,6 +223,7 @@ go build -o ../bin/gsp ./cmd/gsp
.gsp/graph.canvas
.gsp/context-pack.json
.gsp/context-pack.md
.gsp/links.md
.gsp/flattened.json
.gsp/impact.md
```