From a8abd9bfe69d7d029519e461d9ec2db2d4823eb8 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Fri, 30 Jan 2026 12:41:21 -0300 Subject: [PATCH] chore!: migrate go module to `charm.land/catwalk` (#166) BREAKING CHANGE: This will need users to update the import path. --- cmd/copilot/main.go | 2 +- cmd/huggingface/main.go | 2 +- cmd/openrouter/main.go | 2 +- cmd/synthetic/main.go | 2 +- cmd/vercel/main.go | 2 +- go.mod | 2 +- internal/deprecated/old.go | 2 +- internal/providers/providers.go | 2 +- main.go | 4 ++-- pkg/embedded/embedded.go | 4 ++-- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/cmd/copilot/main.go b/cmd/copilot/main.go index ba9a0741f6e8ede0996fa6a1cccd052e8af79674..99e8ee9768238fa85c88d970dd5c6910345b49ac 100644 --- a/cmd/copilot/main.go +++ b/cmd/copilot/main.go @@ -15,7 +15,7 @@ import ( "strings" "time" - "github.com/charmbracelet/catwalk/pkg/catwalk" + "charm.land/catwalk/pkg/catwalk" ) type Response struct { diff --git a/cmd/huggingface/main.go b/cmd/huggingface/main.go index ef114956eb13cb94ab872e23836af0e9fe636688..4077d3c0fb81a8953b0b41b2cfecac87aed83de2 100644 --- a/cmd/huggingface/main.go +++ b/cmd/huggingface/main.go @@ -14,7 +14,7 @@ import ( "strings" "time" - "github.com/charmbracelet/catwalk/pkg/catwalk" + "charm.land/catwalk/pkg/catwalk" ) // SupportedProviders defines which providers we want to support. diff --git a/cmd/openrouter/main.go b/cmd/openrouter/main.go index 2be305944466ef3d6841df929e69a23a03cfe9bc..759ad27925092d164af69c57bb926d76537de157 100644 --- a/cmd/openrouter/main.go +++ b/cmd/openrouter/main.go @@ -15,7 +15,7 @@ import ( "strings" "time" - "github.com/charmbracelet/catwalk/pkg/catwalk" + "charm.land/catwalk/pkg/catwalk" ) // Model represents the complete model configuration. diff --git a/cmd/synthetic/main.go b/cmd/synthetic/main.go index fbd1a2bc078ac38141171dc151345070a9557a78..47d1c94b297f008e077fb396b62c6df98f3deaa2 100644 --- a/cmd/synthetic/main.go +++ b/cmd/synthetic/main.go @@ -15,7 +15,7 @@ import ( "strings" "time" - "github.com/charmbracelet/catwalk/pkg/catwalk" + "charm.land/catwalk/pkg/catwalk" ) // Model represents a model from the Synthetic API. diff --git a/cmd/vercel/main.go b/cmd/vercel/main.go index 040da14ea82c9194cf35845d5e8972923acc03d7..5f193fddbedd4c0c716e56823fe711ead45d6266 100644 --- a/cmd/vercel/main.go +++ b/cmd/vercel/main.go @@ -15,7 +15,7 @@ import ( "strings" "time" - "github.com/charmbracelet/catwalk/pkg/catwalk" + "charm.land/catwalk/pkg/catwalk" ) // Model represents a model from the Vercel API. diff --git a/go.mod b/go.mod index a9c974941017a4a8a06936b36e57a46286c0a818..fca4c47868501fffc650725dd62175efefde32ba 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/charmbracelet/catwalk +module charm.land/catwalk go 1.25.5 diff --git a/internal/deprecated/old.go b/internal/deprecated/old.go index fe4b8ea499212b2c4387bd78b46991e658965db2..c0b43213c7626fe2f7e14666688d17ff39d71b92 100644 --- a/internal/deprecated/old.go +++ b/internal/deprecated/old.go @@ -1,7 +1,7 @@ // Package deprecated is used to serve the old verion of the provider config package deprecated -import "github.com/charmbracelet/catwalk/pkg/catwalk" +import "charm.land/catwalk/pkg/catwalk" // Provider represents an AI provider configuration. type Provider struct { diff --git a/internal/providers/providers.go b/internal/providers/providers.go index f5dc1539cc46b2f9e781644a38e775966190a1ae..a2c4fc9533c347ad3a48754eb1e51aa08c6cc081 100644 --- a/internal/providers/providers.go +++ b/internal/providers/providers.go @@ -6,7 +6,7 @@ import ( "encoding/json" "log" - "github.com/charmbracelet/catwalk/pkg/catwalk" + "charm.land/catwalk/pkg/catwalk" ) //go:embed configs/openai.json diff --git a/main.go b/main.go index a55dc32977c00729c0ac933d1f33f9f0234c749c..278210377f509933d2324b4607c6a2b02054dba1 100644 --- a/main.go +++ b/main.go @@ -8,8 +8,8 @@ import ( "net/http" "time" - "github.com/charmbracelet/catwalk/internal/deprecated" - "github.com/charmbracelet/catwalk/internal/providers" + "charm.land/catwalk/internal/deprecated" + "charm.land/catwalk/internal/providers" "github.com/charmbracelet/x/etag" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" diff --git a/pkg/embedded/embedded.go b/pkg/embedded/embedded.go index c884e3d4ccfd42a6c549a31a8aa5e1f4ef3c070c..720f4ea425dd2a953fe9dc7d0253fdaa1cdc5aeb 100644 --- a/pkg/embedded/embedded.go +++ b/pkg/embedded/embedded.go @@ -3,8 +3,8 @@ package embedded import ( - "github.com/charmbracelet/catwalk/internal/providers" - "github.com/charmbracelet/catwalk/pkg/catwalk" + "charm.land/catwalk/internal/providers" + "charm.land/catwalk/pkg/catwalk" ) // GetAll returns all embedded providers.