chore: rename project to ByteClaw (module, binary, env prefix BYTECLAW_, Android package/app/theme)

This commit is contained in:
OpenClaw Dev 2026-10-25 04:28:22 +01:00
parent bf00f56117
commit 399bcd46fb
28 changed files with 104 additions and 101 deletions

View file

@ -10,8 +10,8 @@ func TestLoadYAMLAndEnv(t *testing.T) {
dir := t.TempDir()
p := filepath.Join(dir, "c.yaml")
os.WriteFile(p, []byte("auth_token: aaaaaaaaaaaaaaaaaaaa\nllm:\n model: llama3\n"), 0o600)
t.Setenv("OPENCLAW_LLM_BASE_URL", "http://localhost:11434/v1")
t.Setenv("OPENCLAW_ALLOWED_ORIGINS", "https://a.example, https://b.example")
t.Setenv("BYTECLAW_LLM_BASE_URL", "http://localhost:11434/v1")
t.Setenv("BYTECLAW_ALLOWED_ORIGINS", "https://a.example, https://b.example")
c, err := Load(p)
if err != nil {
t.Fatal(err)
@ -37,7 +37,7 @@ func TestLoadJSON(t *testing.T) {
}
func TestValidateRequiresToken(t *testing.T) {
t.Setenv("OPENCLAW_AUTH_TOKEN", "")
t.Setenv("BYTECLAW_AUTH_TOKEN", "")
if _, err := Load(""); err == nil {
t.Fatal("expected error without token")
}