diff --git a/.gitignore b/.gitignore index fccaf9d4..71806478 100644 --- a/.gitignore +++ b/.gitignore @@ -10,9 +10,16 @@ hawk .commandcode/ .hawk/ .yaad/ +.openclaude/ +.grok/ +.hermes/ +.qoder/ # Cache / local data .gocache/ +.gocache-*/ +.gomodcache/ +.gomodcache-*/ *.codegraph.db .DS_Store diff --git a/README.md b/README.md index 27715c11..61e0b6b1 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,3 @@ -
-
-
diff --git a/assets/logo.svg b/assets/logo.svg deleted file mode 100644 index 31c0f1d9..00000000 --- a/assets/logo.svg +++ /dev/null @@ -1,155 +0,0 @@ - diff --git a/cmd/chat_status_metadata_test.go b/cmd/chat_status_metadata_test.go index 39c9158e..4d9f4aac 100644 --- a/cmd/chat_status_metadata_test.go +++ b/cmd/chat_status_metadata_test.go @@ -123,10 +123,10 @@ func TestConnectionStatusParts_MimoShowsPlatformContext_HyphenProvider(t *testin } func TestGatewayDisplayName_XiaomiTokenPlanHyphen(t *testing.T) { - if got := hawkconfig.GatewayDisplayName("xiaomi-mimo-token-plan"); got != "Xiaomi (MiMo) — Token Plan" { + if got := hawkconfig.GatewayDisplayName("xiaomi-mimo-token-plan"); got != "Xiaomi MiMo — Token Plan" { t.Fatalf("GatewayDisplayName(hyphen) = %q, want nice name", got) } - if got := hawkconfig.GatewayDisplayName("xiaomi_mimo_token_plan"); got != "Xiaomi (MiMo) — Token Plan" { + if got := hawkconfig.GatewayDisplayName("xiaomi_mimo_token_plan"); got != "Xiaomi MiMo — Token Plan" { t.Fatalf("GatewayDisplayName(underscore) = %q, want nice name", got) } } diff --git a/external/eyrie b/external/eyrie index dce29ff9..c0e27790 160000 --- a/external/eyrie +++ b/external/eyrie @@ -1 +1 @@ -Subproject commit dce29ff995f63b9a84dae6750d438636f1de1a3f +Subproject commit c0e2779031a9b6d17cd2897399c29236835934b1 diff --git a/internal/config/catalog_api.go b/internal/config/catalog_api.go index 95c43025..0a0a2928 100644 --- a/internal/config/catalog_api.go +++ b/internal/config/catalog_api.go @@ -86,7 +86,7 @@ func setupGatewayRegistryID(provider string) string { } } -// SetupGatewayCredentialEnv returns the registry env var for a setup gateway (e.g. XIAOMI_MIMO_API_KEY). +// SetupGatewayCredentialEnv returns the registry env var for a setup gateway (e.g. XIAOMI_MIMO_PAYG_API_KEY). func SetupGatewayCredentialEnv(providerID string) string { spec, ok := registry.DefaultRegistry.Get(setupGatewayRegistryID(providerID)) if !ok || !spec.RequiresKey { diff --git a/internal/config/catalog_gateways_test.go b/internal/config/catalog_gateways_test.go index 052d458e..e025cff5 100644 --- a/internal/config/catalog_gateways_test.go +++ b/internal/config/catalog_gateways_test.go @@ -11,15 +11,15 @@ import ( func TestAllSetupGateways_RegistryOnly(t *testing.T) { gws := AllSetupGateways() - if len(gws) != 16 { - t.Fatalf("expected 16 setup gateways, got %d: %v", len(gws), gws) + if len(gws) != 18 { + t.Fatalf("expected 18 setup gateways, got %d: %v", len(gws), gws) } for _, id := range gws { if id == "ai21" || id == "alibaba" { t.Fatalf("owner slug %q should not be a gateway", id) } } - want := map[string]bool{"azure": true, "bedrock": true, "gemini": true, "grok": true, "openrouter": true, "kimi": true, "vertex": true, "xiaomi_mimo_payg": true, "xiaomi_mimo_token_plan": true, "deepseek": true} + want := map[string]bool{"azure": true, "bedrock": true, "gemini": true, "grok": true, "openrouter": true, "kimi": true, "vertex": true, "xiaomi_mimo_payg": true, "xiaomi_mimo_token_plan": true, "deepseek": true, "minimax_token_plan": true, "minimax_payg": true} for id := range want { found := false for _, gw := range gws { @@ -100,10 +100,10 @@ func TestGatewayDisplayName(t *testing.T) { if got := GatewayDisplayName("openrouter"); got != "OpenRouter" { t.Fatalf("display name = %q", got) } - if got := GatewayDisplayName("google"); got != "Google Gemini" { + if got := GatewayDisplayName("google"); got != "Gemini API" { t.Fatalf("google alias display = %q", got) } - if got := GatewayDisplayName("gemini"); got != "Google Gemini" { + if got := GatewayDisplayName("gemini"); got != "Gemini API" { t.Fatalf("gemini display = %q", got) } } diff --git a/internal/config/settings.go b/internal/config/settings.go index 45b2e03a..c9cc0108 100644 --- a/internal/config/settings.go +++ b/internal/config/settings.go @@ -614,7 +614,7 @@ func providerCredentialEnvAliases(provider string) []string { case "grok", "xai": return nil case "xiaomi_mimo", "xiaomi_mimo_payg": - return []string{"XIAOMI_MIMO_API_KEY"} + return []string{"XIAOMI_MIMO_PAYG_API_KEY"} default: return nil }