chore: complete clean Agent Desk source snapshot

This commit is contained in:
2026-10-16 12:03:16 +00:00
parent 756ae33d05
commit e57610a27c
123 changed files with 37513 additions and 0 deletions

20
web/embed_test.go Normal file
View File

@@ -0,0 +1,20 @@
package webspa
import (
"io/fs"
"testing"
)
func TestEmbeddedSPAIncludesNextExportAssets(t *testing.T) {
nextStaticInfo, err := fs.Stat(SPA, "out/_next/static")
if err != nil {
t.Fatalf("embedded SPA missing Next static assets: %v", err)
}
if !nextStaticInfo.IsDir() {
t.Fatalf("out/_next/static is not a directory")
}
if _, err := fs.Stat(SPA, "out/__next._tree.txt"); err != nil {
t.Fatalf("embedded SPA missing Next RSC export data: %v", err)
}
}