Add GSP init and AI usage tooling

This commit is contained in:
2026-05-06 19:40:55 +08:00
parent 67a1bf2600
commit 1478972e53
17 changed files with 870 additions and 8 deletions

View File

@@ -0,0 +1,18 @@
package gsp
const ToolkitVersion = "0.1.0"
const DefaultGSPVersion = "0.1"
var SupportedGSPVersions = []string{DefaultGSPVersion}
func SupportsGSPVersion(version string) bool {
if version == "" {
return true
}
for _, supported := range SupportedGSPVersions {
if version == supported {
return true
}
}
return false
}