Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/agents/spx-upgrader.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You are a release specialist dedicated to upgrading spx across goplus/builder sa
- Refresh Go modules in `tools/ai/`, `tools/spxls/`, and `tools/ispx/` via `go get github.com/goplus/spx/v2@v<version>` followed by `go mod tidy` in each directory
- Execute `bash spx-gui/install-spx.sh` to download the matching runtime assets and remove any temporary archives
- Execute `bash build-wasm.sh` in `spx-gui/` to build Wasm components
- Run `npm ci`, `npm run lint`, `npm run test -- --run` in `spx-gui/`, plus `go test ./...` inside `tools/ai/`, `tools/spxls/`, and `tools/ispx/`
- Run `npm ci`, `npm run lint`, `npm run test -- --run` in `spx-gui/`, plus `go test ./...` inside `tools/ai/`, `tools/spxls/`, and `tools/ispx/` if there are packages to test
- Verify `git status` is clean beyond the expected files, then create a commit titled `chore(deps): bump spx to <version>` and draft a PR with release notes and validation logs
- If any command fails, stop immediately and report the exact output instead of continuing

Expand Down
2 changes: 1 addition & 1 deletion spx-gui/.env
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ VITE_USERCONTENT_UPLOAD_BASE_URL=""
VITE_DISABLE_AIGC="false"

# Version of spx, keep in sync with the version in `install-spx.sh`.
VITE_SPX_VERSION="2.0.3"
VITE_SPX_VERSION="2.0.4"

# Whether to show the license information (including copyright) in the footer.
VITE_SHOW_LICENSE="false"
Expand Down
2 changes: 1 addition & 1 deletion spx-gui/install-spx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
cd "$(dirname "$0")"

# Keep this version in sync with `VITE_SPX_VERSION` in `.env`.
SPX_VERSION="2.0.3"
SPX_VERSION="2.0.4"

SPX_NAME="spx_${SPX_VERSION}"
SPX_RELEASE_URL="https://github.com/goplus/spx/releases/download/v${SPX_VERSION}/spx_web.zip"
Expand Down
2 changes: 1 addition & 1 deletion tools/ai/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/goplus/builder/tools/ai

go 1.25.0

require github.com/goplus/spx/v2 v2.0.3
require github.com/goplus/spx/v2 v2.0.4

require (
github.com/goplus/spbase v0.1.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions tools/ai/go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github.com/goplus/spbase v0.1.0 h1:JNZ0D/65DerYyv9/9IfrXHZZbd0WNK0jHiVvgCtZhwY=
github.com/goplus/spbase v0.1.0/go.mod h1:brnD3OJnHtipqob2IsJ3/QzGBf+eOnqXNnHGKpv1irQ=
github.com/goplus/spx/v2 v2.0.3 h1:Qb3n2/B04lsbOgLSZEXGYhOiPyGgWrRFhSU1+srSCdg=
github.com/goplus/spx/v2 v2.0.3/go.mod h1:mF2kCvUNw97ku2PYHMEwbCENv24b5EwnlXOLiVMRbHM=
github.com/goplus/spx/v2 v2.0.4 h1:4hyCM5XH3DMRjFeoTxCndrqcFZTeCWHkEicyp7wYTSs=
github.com/goplus/spx/v2 v2.0.4/go.mod h1:mF2kCvUNw97ku2PYHMEwbCENv24b5EwnlXOLiVMRbHM=
github.com/petermattis/goid v0.0.0-20250721140440-ea1c0173183e h1:D0bJD+4O3G4izvrQUmzCL80zazlN7EwJ0PPDhpJWC/I=
github.com/petermattis/goid v0.0.0-20250721140440-ea1c0173183e/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4=
golang.org/x/image v0.23.0 h1:HseQ7c2OpPKTPVzNjG5fwJsOTCiiwS4QdsYi5XU6H68=
Expand Down
2 changes: 1 addition & 1 deletion tools/ispx/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/goplus/builder/tools/ai v0.0.0
github.com/goplus/ixgo v1.1.0
github.com/goplus/mod v0.20.2
github.com/goplus/spx/v2 v2.0.3
github.com/goplus/spx/v2 v2.0.4
)

require (
Expand Down
4 changes: 2 additions & 2 deletions tools/ispx/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ github.com/goplus/reflectx v1.7.0 h1:52l0Si+vDc6CvT7Y+h47h2QUs5HQp6qxPlmvLsMzo38
github.com/goplus/reflectx v1.7.0/go.mod h1:EXX8KSPTmnb2W1PfyVkDC0Qwet0lYX2h2/S06Vhwrhw=
github.com/goplus/spbase v0.1.0 h1:JNZ0D/65DerYyv9/9IfrXHZZbd0WNK0jHiVvgCtZhwY=
github.com/goplus/spbase v0.1.0/go.mod h1:brnD3OJnHtipqob2IsJ3/QzGBf+eOnqXNnHGKpv1irQ=
github.com/goplus/spx/v2 v2.0.3 h1:Qb3n2/B04lsbOgLSZEXGYhOiPyGgWrRFhSU1+srSCdg=
github.com/goplus/spx/v2 v2.0.3/go.mod h1:mF2kCvUNw97ku2PYHMEwbCENv24b5EwnlXOLiVMRbHM=
github.com/goplus/spx/v2 v2.0.4 h1:4hyCM5XH3DMRjFeoTxCndrqcFZTeCWHkEicyp7wYTSs=
github.com/goplus/spx/v2 v2.0.4/go.mod h1:mF2kCvUNw97ku2PYHMEwbCENv24b5EwnlXOLiVMRbHM=
github.com/goplus/xgo v1.7.2-0.20260414235301-df19f4a1b7c2 h1:kXIGYlJUTii+7nv1XTKR0ctMZSeTcgYMoQuEexZPr7A=
github.com/goplus/xgo v1.7.2-0.20260414235301-df19f4a1b7c2/go.mod h1:fX3+ZaYEzBE6qkgFcJx83D6DbUo/vMO8Y1Allydy2ws=
github.com/petermattis/goid v0.0.0-20250721140440-ea1c0173183e h1:D0bJD+4O3G4izvrQUmzCL80zazlN7EwJ0PPDhpJWC/I=
Expand Down
2 changes: 1 addition & 1 deletion tools/spxls/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ require (
github.com/goplus/gogen v1.23.0-pre.3.0.20260414234848-6641c10c9d6f // indirect
github.com/goplus/mod v0.20.2 // indirect
github.com/goplus/spbase v0.1.0 // indirect
github.com/goplus/spx/v2 v2.0.3 // indirect
github.com/goplus/spx/v2 v2.0.4 // indirect
github.com/goplus/xgo v1.7.2-0.20260414235301-df19f4a1b7c2 // indirect
github.com/petermattis/goid v0.0.0-20250721140440-ea1c0173183e // indirect
github.com/qiniu/x v1.17.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions tools/spxls/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ github.com/goplus/mod v0.20.2 h1:YX72E6AhhRLvlkVnI9cBK6PZvUwtge2hwROh7w9N6Yk=
github.com/goplus/mod v0.20.2/go.mod h1:lWW62tH7L3Vm42Lr6wlUMYHvsm5w3TkEpE2ulKTgmU8=
github.com/goplus/spbase v0.1.0 h1:JNZ0D/65DerYyv9/9IfrXHZZbd0WNK0jHiVvgCtZhwY=
github.com/goplus/spbase v0.1.0/go.mod h1:brnD3OJnHtipqob2IsJ3/QzGBf+eOnqXNnHGKpv1irQ=
github.com/goplus/spx/v2 v2.0.3 h1:Qb3n2/B04lsbOgLSZEXGYhOiPyGgWrRFhSU1+srSCdg=
github.com/goplus/spx/v2 v2.0.3/go.mod h1:mF2kCvUNw97ku2PYHMEwbCENv24b5EwnlXOLiVMRbHM=
github.com/goplus/spx/v2 v2.0.4 h1:4hyCM5XH3DMRjFeoTxCndrqcFZTeCWHkEicyp7wYTSs=
github.com/goplus/spx/v2 v2.0.4/go.mod h1:mF2kCvUNw97ku2PYHMEwbCENv24b5EwnlXOLiVMRbHM=
github.com/goplus/xgo v1.7.2-0.20260414235301-df19f4a1b7c2 h1:kXIGYlJUTii+7nv1XTKR0ctMZSeTcgYMoQuEexZPr7A=
github.com/goplus/xgo v1.7.2-0.20260414235301-df19f4a1b7c2/go.mod h1:fX3+ZaYEzBE6qkgFcJx83D6DbUo/vMO8Y1Allydy2ws=
github.com/goplus/xgolsw v0.21.1-0.20260601022856-658bbeba671b h1:Liz70j43NCN7C/SwEdE95Yh6I4CDYiO/rGbPUAMH8G4=
Expand Down