Merge branch 'main' into version

This commit is contained in:
Cytown committed 2026-03-19 18:04:58 +08:00
commit cfd3a1b441
266 files changed
+30364 -9696

No files matched your search

+2 -1
View File
@@ -7,6 +7,7 @@ import (
"time"
"github.com/sipeed/picoclaw/pkg"
"github.com/sipeed/picoclaw/pkg/config"
"github.com/sipeed/picoclaw/pkg/fileutil"
)
@@ -40,7 +41,7 @@ func (c *AuthCredential) NeedsRefresh() bool {
}
func authFilePath() string {
if home := os.Getenv(pkg.PicoClawHome); home != "" {
if home := os.Getenv(config.EnvHome); home != "" {
return filepath.Join(home, "auth.json")
}
home, _ := os.UserHomeDir()