diff --git a/cliproxyctl/main.go b/cliproxyctl/main.go index d18a9bb1cf..5c8bf82cfe 100644 --- a/cliproxyctl/main.go +++ b/cliproxyctl/main.go @@ -12,8 +12,8 @@ import ( "strings" "time" - cliproxycmd "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/cmd" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + cliproxycmd "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/cmd" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) const responseSchemaVersion = "cliproxyctl.response.v1" diff --git a/cliproxyctl/main_test.go b/cliproxyctl/main_test.go index 13f8cf9ce5..39a03df61d 100644 --- a/cliproxyctl/main_test.go +++ b/cliproxyctl/main_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" - cliproxycmd "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/cmd" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + cliproxycmd "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/cmd" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestRunSetupJSONResponseShape(t *testing.T) { diff --git a/cmd/cliproxyctl/main_test.go b/cmd/cliproxyctl/main_test.go index 3fa26220b9..33d9174cb9 100644 --- a/cmd/cliproxyctl/main_test.go +++ b/cmd/cliproxyctl/main_test.go @@ -12,9 +12,9 @@ import ( "testing" "time" - cliproxycmd "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/cmd" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + cliproxycmd "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/cmd" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" ) // repoRoot returns the absolute path to the repository root. diff --git a/cmd/codegen/main.go b/cmd/codegen/main.go index 6db253b724..5abe1f1454 100644 --- a/cmd/codegen/main.go +++ b/cmd/codegen/main.go @@ -27,7 +27,7 @@ type OpenAICompatibilityModel struct { Alias string `json:"alias"` } -const configTemplate = `// Code generated by github.com/kooshapari/cliproxyapi-plusplus/v6/cmd/codegen; DO NOT EDIT. +const configTemplate = `// Code generated by github.com/kooshapari/CLIProxyAPI/v7/cmd/codegen; DO NOT EDIT. package config import "strings" @@ -68,11 +68,11 @@ func (cfg *Config) SanitizeGeneratedProviders() { } ` -const synthTemplate = `// Code generated by github.com/kooshapari/cliproxyapi-plusplus/v6/cmd/codegen; DO NOT EDIT. +const synthTemplate = `// Code generated by github.com/kooshapari/CLIProxyAPI/v7/cmd/codegen; DO NOT EDIT. package synthesizer import ( - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) // getDedicatedProviderEntries returns the config entries for a dedicated provider. @@ -89,7 +89,7 @@ func (s *ConfigSynthesizer) getDedicatedProviderEntries(p config.ProviderSpec, c } ` -const registryTemplate = `// Code generated by github.com/kooshapari/cliproxyapi-plusplus/v6/cmd/codegen; DO NOT EDIT. +const registryTemplate = `// Code generated by github.com/kooshapari/CLIProxyAPI/v7/cmd/codegen; DO NOT EDIT. package config // AllProviders defines the registry of all supported LLM providers. @@ -118,12 +118,12 @@ var AllProviders = []ProviderSpec{ } ` -const diffTemplate = `// Code generated by github.com/kooshapari/cliproxyapi-plusplus/v6/cmd/codegen; DO NOT EDIT. +const diffTemplate = `// Code generated by github.com/kooshapari/CLIProxyAPI/v7/cmd/codegen; DO NOT EDIT. package diff import ( "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) // BuildConfigChangeDetailsGeneratedProviders computes changes for generated dedicated providers. diff --git a/cmd/server/config_validate.go b/cmd/server/config_validate.go index 3da26a02c5..b9ed4c33b9 100644 --- a/cmd/server/config_validate.go +++ b/cmd/server/config_validate.go @@ -6,7 +6,7 @@ import ( "io" "os" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" "gopkg.in/yaml.v3" ) diff --git a/cmd/server/main.go b/cmd/server/main.go index 7bee034695..8d768ff70a 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -17,21 +17,21 @@ import ( "time" "github.com/joho/godotenv" - configaccess "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/access/config_access" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/auth/kiro" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/buildinfo" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/cmd" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/logging" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/managementasset" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/misc" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/store" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/translator" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/tui" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/usage" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/util" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + configaccess "github.com/kooshapari/CLIProxyAPI/v7/internal/access/config_access" + "github.com/kooshapari/CLIProxyAPI/v7/internal/auth/kiro" + "github.com/kooshapari/CLIProxyAPI/v7/internal/buildinfo" + "github.com/kooshapari/CLIProxyAPI/v7/internal/cmd" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/logging" + "github.com/kooshapari/CLIProxyAPI/v7/internal/managementasset" + "github.com/kooshapari/CLIProxyAPI/v7/internal/misc" + "github.com/kooshapari/CLIProxyAPI/v7/internal/store" + _ "github.com/kooshapari/CLIProxyAPI/v7/internal/translator" + "github.com/kooshapari/CLIProxyAPI/v7/internal/tui" + "github.com/kooshapari/CLIProxyAPI/v7/internal/usage" + "github.com/kooshapari/CLIProxyAPI/v7/internal/util" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/cmd/server/main_kiro_flags_test.go b/cmd/server/main_kiro_flags_test.go index 21c406a553..5896d34306 100644 --- a/cmd/server/main_kiro_flags_test.go +++ b/cmd/server/main_kiro_flags_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "github.com/router-for-me/CLIProxyAPI/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestValidateKiroIncognitoFlags(t *testing.T) { diff --git a/examples/custom-provider/main.go b/examples/custom-provider/main.go index 83f74258fe..4aca23f337 100644 --- a/examples/custom-provider/main.go +++ b/examples/custom-provider/main.go @@ -24,14 +24,14 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/logging" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - clipexec "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktr "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/logging" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + clipexec "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktr "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" ) const ( diff --git a/examples/http-request/main.go b/examples/http-request/main.go index a55d983646..528500728b 100644 --- a/examples/http-request/main.go +++ b/examples/http-request/main.go @@ -16,8 +16,8 @@ import ( "strings" "time" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - clipexec "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + clipexec "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" log "github.com/sirupsen/logrus" ) diff --git a/examples/translator/main.go b/examples/translator/main.go index 4345f52a05..0705417554 100644 --- a/examples/translator/main.go +++ b/examples/translator/main.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator/builtin" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" + _ "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator/builtin" ) func main() { diff --git a/go.mod b/go.mod index 235fc36c56..687aa4d768 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/kooshapari/cliproxyapi-plusplus/v6 +module github.com/kooshapari/CLIProxyAPI/v7 go 1.26.0 diff --git a/pkg/llmproxy/access/config_access/provider.go b/pkg/llmproxy/access/config_access/provider.go index 4a7332e39f..8a1aa905e9 100644 --- a/pkg/llmproxy/access/config_access/provider.go +++ b/pkg/llmproxy/access/config_access/provider.go @@ -5,8 +5,8 @@ import ( "net/http" "strings" - sdkaccess "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/access" - sdkconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/config" + sdkaccess "github.com/kooshapari/CLIProxyAPI/v7/sdk/access" + sdkconfig "github.com/kooshapari/CLIProxyAPI/v7/sdk/config" ) // Register ensures the config-access provider is available to the access manager. diff --git a/pkg/llmproxy/access/config_access/provider_test.go b/pkg/llmproxy/access/config_access/provider_test.go index a6bac4f91f..6b65d410b2 100644 --- a/pkg/llmproxy/access/config_access/provider_test.go +++ b/pkg/llmproxy/access/config_access/provider_test.go @@ -5,8 +5,8 @@ import ( "net/http/httptest" "testing" - sdkaccess "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/access" - sdkconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/config" + sdkaccess "github.com/kooshapari/CLIProxyAPI/v7/sdk/access" + sdkconfig "github.com/kooshapari/CLIProxyAPI/v7/sdk/config" ) func findProvider() sdkaccess.Provider { diff --git a/pkg/llmproxy/access/reconcile.go b/pkg/llmproxy/access/reconcile.go index e45b63d510..8e9cf34c14 100644 --- a/pkg/llmproxy/access/reconcile.go +++ b/pkg/llmproxy/access/reconcile.go @@ -6,9 +6,9 @@ import ( "sort" "strings" - configaccess "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/access/config_access" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - sdkaccess "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/access" + configaccess "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/access/config_access" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + sdkaccess "github.com/kooshapari/CLIProxyAPI/v7/sdk/access" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/api/handlers/management/api_tools_test.go b/pkg/llmproxy/api/handlers/management/api_tools_test.go index 8f37e0eac3..9fd2d4a9b4 100644 --- a/pkg/llmproxy/api/handlers/management/api_tools_test.go +++ b/pkg/llmproxy/api/handlers/management/api_tools_test.go @@ -14,9 +14,9 @@ import ( "time" "github.com/gin-gonic/gin" - kiroauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kiro" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + kiroauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kiro" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func TestAPICall_RejectsUnsafeHost(t *testing.T) { diff --git a/pkg/llmproxy/api/handlers/management/auth_anthropic.go b/pkg/llmproxy/api/handlers/management/auth_anthropic.go index 695333e1a0..ce64e2be18 100644 --- a/pkg/llmproxy/api/handlers/management/auth_anthropic.go +++ b/pkg/llmproxy/api/handlers/management/auth_anthropic.go @@ -9,9 +9,9 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/claude" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/claude" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/api/handlers/management/auth_antigravity.go b/pkg/llmproxy/api/handlers/management/auth_antigravity.go index 3098166917..a97a4936bd 100644 --- a/pkg/llmproxy/api/handlers/management/auth_antigravity.go +++ b/pkg/llmproxy/api/handlers/management/auth_antigravity.go @@ -8,9 +8,9 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/antigravity" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/antigravity" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/api/handlers/management/auth_codex.go b/pkg/llmproxy/api/handlers/management/auth_codex.go index c8174a4a01..92abd3f722 100644 --- a/pkg/llmproxy/api/handlers/management/auth_codex.go +++ b/pkg/llmproxy/api/handlers/management/auth_codex.go @@ -10,9 +10,9 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/codex" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/codex" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/api/handlers/management/auth_file_crud.go b/pkg/llmproxy/api/handlers/management/auth_file_crud.go index d086627360..826bb70c8c 100644 --- a/pkg/llmproxy/api/handlers/management/auth_file_crud.go +++ b/pkg/llmproxy/api/handlers/management/auth_file_crud.go @@ -9,7 +9,7 @@ import ( "strings" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" ) func (h *Handler) DownloadAuthFile(c *gin.Context) { diff --git a/pkg/llmproxy/api/handlers/management/auth_file_mgmt.go b/pkg/llmproxy/api/handlers/management/auth_file_mgmt.go index 3bfffbd027..0efab8af2e 100644 --- a/pkg/llmproxy/api/handlers/management/auth_file_mgmt.go +++ b/pkg/llmproxy/api/handlers/management/auth_file_mgmt.go @@ -8,9 +8,9 @@ import ( "strings" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/codex" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/codex" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/api/handlers/management/auth_file_patch.go b/pkg/llmproxy/api/handlers/management/auth_file_patch.go index ab47bca6e9..628ad15055 100644 --- a/pkg/llmproxy/api/handlers/management/auth_file_patch.go +++ b/pkg/llmproxy/api/handlers/management/auth_file_patch.go @@ -11,8 +11,8 @@ import ( "time" "github.com/gin-gonic/gin" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func (h *Handler) authIDForPath(path string) string { diff --git a/pkg/llmproxy/api/handlers/management/auth_files.go b/pkg/llmproxy/api/handlers/management/auth_files.go index 2d92746a0c..474fd74007 100644 --- a/pkg/llmproxy/api/handlers/management/auth_files.go +++ b/pkg/llmproxy/api/handlers/management/auth_files.go @@ -24,22 +24,22 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/antigravity" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/claude" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/codex" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/copilot" - geminiAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/gemini" - iflowauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/iflow" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kilo" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kimi" - kiroauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kiro" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/qwen" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/antigravity" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/claude" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/codex" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/copilot" + geminiAuth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/gemini" + iflowauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/iflow" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kilo" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kimi" + kiroauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kiro" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/qwen" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "golang.org/x/oauth2" @@ -2041,7 +2041,7 @@ func (h *Handler) RequestGitHubToken(c *gin.Context) { state := fmt.Sprintf("gh-%d", time.Now().UnixNano()) // Initialize Copilot auth service - // We need to import "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/copilot" first if not present + // We need to import "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/copilot" first if not present // Assuming copilot package is imported as "copilot" deviceClient := copilot.NewDeviceFlowClient(h.cfg) diff --git a/pkg/llmproxy/api/handlers/management/auth_gemini.go b/pkg/llmproxy/api/handlers/management/auth_gemini.go index 8437710aa2..2ac8c3fe27 100644 --- a/pkg/llmproxy/api/handlers/management/auth_gemini.go +++ b/pkg/llmproxy/api/handlers/management/auth_gemini.go @@ -11,10 +11,10 @@ import ( "time" "github.com/gin-gonic/gin" - geminiAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/gemini" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + geminiAuth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/gemini" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "golang.org/x/oauth2" diff --git a/pkg/llmproxy/api/handlers/management/auth_github.go b/pkg/llmproxy/api/handlers/management/auth_github.go index fe5758b22d..11ffbb05e3 100644 --- a/pkg/llmproxy/api/handlers/management/auth_github.go +++ b/pkg/llmproxy/api/handlers/management/auth_github.go @@ -7,8 +7,8 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/copilot" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/copilot" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/api/handlers/management/auth_helpers.go b/pkg/llmproxy/api/handlers/management/auth_helpers.go index d21c5d0771..f9f1168fae 100644 --- a/pkg/llmproxy/api/handlers/management/auth_helpers.go +++ b/pkg/llmproxy/api/handlers/management/auth_helpers.go @@ -19,7 +19,7 @@ import ( "github.com/gin-gonic/gin" log "github.com/sirupsen/logrus" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) var lastRefreshKeys = []string{"last_refresh", "lastRefresh", "last_refreshed_at", "lastRefreshedAt"} diff --git a/pkg/llmproxy/api/handlers/management/auth_iflow.go b/pkg/llmproxy/api/handlers/management/auth_iflow.go index 7658f0f890..be8144e3c0 100644 --- a/pkg/llmproxy/api/handlers/management/auth_iflow.go +++ b/pkg/llmproxy/api/handlers/management/auth_iflow.go @@ -9,8 +9,8 @@ import ( "time" "github.com/gin-gonic/gin" - iflowauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/iflow" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + iflowauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/iflow" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/api/handlers/management/auth_kilo.go b/pkg/llmproxy/api/handlers/management/auth_kilo.go index aaec4161c2..d690820b69 100644 --- a/pkg/llmproxy/api/handlers/management/auth_kilo.go +++ b/pkg/llmproxy/api/handlers/management/auth_kilo.go @@ -7,8 +7,8 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kilo" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kilo" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/api/handlers/management/auth_kimi.go b/pkg/llmproxy/api/handlers/management/auth_kimi.go index 4290915863..70d60f8702 100644 --- a/pkg/llmproxy/api/handlers/management/auth_kimi.go +++ b/pkg/llmproxy/api/handlers/management/auth_kimi.go @@ -8,8 +8,8 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kimi" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kimi" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/api/handlers/management/auth_kiro.go b/pkg/llmproxy/api/handlers/management/auth_kiro.go index 89d767e3b7..4dfe4e2c97 100644 --- a/pkg/llmproxy/api/handlers/management/auth_kiro.go +++ b/pkg/llmproxy/api/handlers/management/auth_kiro.go @@ -13,8 +13,8 @@ import ( "time" "github.com/gin-gonic/gin" - kiroauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kiro" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + kiroauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kiro" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/api/handlers/management/auth_qwen.go b/pkg/llmproxy/api/handlers/management/auth_qwen.go index edc16416fc..57daa0c7d3 100644 --- a/pkg/llmproxy/api/handlers/management/auth_qwen.go +++ b/pkg/llmproxy/api/handlers/management/auth_qwen.go @@ -7,8 +7,8 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/qwen" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/qwen" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/api/handlers/management/config_basic.go b/pkg/llmproxy/api/handlers/management/config_basic.go index bb98a9df00..7a1a034306 100644 --- a/pkg/llmproxy/api/handlers/management/config_basic.go +++ b/pkg/llmproxy/api/handlers/management/config_basic.go @@ -10,10 +10,10 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - sdkconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + sdkconfig "github.com/kooshapari/CLIProxyAPI/v7/sdk/config" log "github.com/sirupsen/logrus" "gopkg.in/yaml.v3" ) diff --git a/pkg/llmproxy/api/handlers/management/config_lists.go b/pkg/llmproxy/api/handlers/management/config_lists.go index 31a72f3b9e..d0074f17bb 100644 --- a/pkg/llmproxy/api/handlers/management/config_lists.go +++ b/pkg/llmproxy/api/handlers/management/config_lists.go @@ -6,7 +6,7 @@ import ( "strings" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) // Generic helpers for list[string] diff --git a/pkg/llmproxy/api/handlers/management/copilot_quota.go b/pkg/llmproxy/api/handlers/management/copilot_quota.go index 8ce805615d..6e814c73f6 100644 --- a/pkg/llmproxy/api/handlers/management/copilot_quota.go +++ b/pkg/llmproxy/api/handlers/management/copilot_quota.go @@ -11,7 +11,7 @@ import ( "github.com/gin-gonic/gin" log "github.com/sirupsen/logrus" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) // QuotaDetail represents quota information for a specific resource type diff --git a/pkg/llmproxy/api/handlers/management/handler.go b/pkg/llmproxy/api/handlers/management/handler.go index 868103719a..f2434e4e60 100644 --- a/pkg/llmproxy/api/handlers/management/handler.go +++ b/pkg/llmproxy/api/handlers/management/handler.go @@ -15,11 +15,11 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/buildinfo" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/usage" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/buildinfo" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/usage" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" "golang.org/x/crypto/bcrypt" ) diff --git a/pkg/llmproxy/api/handlers/management/helpers.go b/pkg/llmproxy/api/handlers/management/helpers.go index 30a6b94c43..7696e09373 100644 --- a/pkg/llmproxy/api/handlers/management/helpers.go +++ b/pkg/llmproxy/api/handlers/management/helpers.go @@ -6,7 +6,7 @@ import ( "github.com/gin-gonic/gin" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func firstNonEmptyString(values ...*string) string { diff --git a/pkg/llmproxy/api/handlers/management/http_transport.go b/pkg/llmproxy/api/handlers/management/http_transport.go index 8f64cc57c2..92be850508 100644 --- a/pkg/llmproxy/api/handlers/management/http_transport.go +++ b/pkg/llmproxy/api/handlers/management/http_transport.go @@ -11,7 +11,7 @@ import ( log "github.com/sirupsen/logrus" "golang.org/x/net/proxy" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func (h *Handler) apiCallTransport(auth *coreauth.Auth) http.RoundTripper { diff --git a/pkg/llmproxy/api/handlers/management/kiro_quota.go b/pkg/llmproxy/api/handlers/management/kiro_quota.go index 87d7520dbe..5ca3fd3c09 100644 --- a/pkg/llmproxy/api/handlers/management/kiro_quota.go +++ b/pkg/llmproxy/api/handlers/management/kiro_quota.go @@ -7,8 +7,8 @@ import ( "github.com/gin-gonic/gin" - kiroauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kiro" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + kiroauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kiro" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) type kiroUsageChecker interface { diff --git a/pkg/llmproxy/api/handlers/management/logs.go b/pkg/llmproxy/api/handlers/management/logs.go index 22685a2818..26317b13a5 100644 --- a/pkg/llmproxy/api/handlers/management/logs.go +++ b/pkg/llmproxy/api/handlers/management/logs.go @@ -13,7 +13,7 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/logging" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/logging" ) const ( diff --git a/pkg/llmproxy/api/handlers/management/management_auth_test.go b/pkg/llmproxy/api/handlers/management/management_auth_test.go index f9015791cb..44f48227ea 100644 --- a/pkg/llmproxy/api/handlers/management/management_auth_test.go +++ b/pkg/llmproxy/api/handlers/management/management_auth_test.go @@ -8,7 +8,7 @@ import ( "testing" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestListAuthFiles(t *testing.T) { diff --git a/pkg/llmproxy/api/handlers/management/management_basic_test.go b/pkg/llmproxy/api/handlers/management/management_basic_test.go index f748d038a8..f6639f3074 100644 --- a/pkg/llmproxy/api/handlers/management/management_basic_test.go +++ b/pkg/llmproxy/api/handlers/management/management_basic_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestGetConfig(t *testing.T) { diff --git a/pkg/llmproxy/api/handlers/management/management_extra_test.go b/pkg/llmproxy/api/handlers/management/management_extra_test.go index 8a24fd9af0..95f2934096 100644 --- a/pkg/llmproxy/api/handlers/management/management_extra_test.go +++ b/pkg/llmproxy/api/handlers/management/management_extra_test.go @@ -14,9 +14,9 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/usage" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/usage" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func TestNewHandler(t *testing.T) { diff --git a/pkg/llmproxy/api/handlers/management/management_fields_test.go b/pkg/llmproxy/api/handlers/management/management_fields_test.go index 7254281200..ad6a554eb9 100644 --- a/pkg/llmproxy/api/handlers/management/management_fields_test.go +++ b/pkg/llmproxy/api/handlers/management/management_fields_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func setupTestHandler(cfg *config.Config) (*Handler, string, func()) { diff --git a/pkg/llmproxy/api/handlers/management/management_modelstates_test.go b/pkg/llmproxy/api/handlers/management/management_modelstates_test.go index 9e13a28778..723ff56426 100644 --- a/pkg/llmproxy/api/handlers/management/management_modelstates_test.go +++ b/pkg/llmproxy/api/handlers/management/management_modelstates_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func TestRegisterAuthFromFilePreservesModelStates(t *testing.T) { diff --git a/pkg/llmproxy/api/handlers/management/oauth_token_antigravity.go b/pkg/llmproxy/api/handlers/management/oauth_token_antigravity.go index 64ed294695..3be417ddc8 100644 --- a/pkg/llmproxy/api/handlers/management/oauth_token_antigravity.go +++ b/pkg/llmproxy/api/handlers/management/oauth_token_antigravity.go @@ -12,7 +12,7 @@ import ( log "github.com/sirupsen/logrus" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) const ( diff --git a/pkg/llmproxy/api/handlers/management/oauth_token_gemini.go b/pkg/llmproxy/api/handlers/management/oauth_token_gemini.go index 4f3aef5a35..f935e537e4 100644 --- a/pkg/llmproxy/api/handlers/management/oauth_token_gemini.go +++ b/pkg/llmproxy/api/handlers/management/oauth_token_gemini.go @@ -11,8 +11,8 @@ import ( "golang.org/x/oauth2" "golang.org/x/oauth2/google" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/runtime/geminicli" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/runtime/geminicli" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) const ( diff --git a/pkg/llmproxy/api/handlers/management/rankings.go b/pkg/llmproxy/api/handlers/management/rankings.go index f6119be303..7f7a994b1b 100644 --- a/pkg/llmproxy/api/handlers/management/rankings.go +++ b/pkg/llmproxy/api/handlers/management/rankings.go @@ -6,7 +6,7 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" ) // RankingCategory represents a category for model rankings diff --git a/pkg/llmproxy/api/handlers/management/token_resolution.go b/pkg/llmproxy/api/handlers/management/token_resolution.go index 0fd67c518e..e14c1d2800 100644 --- a/pkg/llmproxy/api/handlers/management/token_resolution.go +++ b/pkg/llmproxy/api/handlers/management/token_resolution.go @@ -4,8 +4,8 @@ import ( "context" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/runtime/geminicli" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/runtime/geminicli" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func tokenValueForAuth(auth *coreauth.Auth) string { diff --git a/pkg/llmproxy/api/handlers/management/usage.go b/pkg/llmproxy/api/handlers/management/usage.go index 734045cca1..acc056bc87 100644 --- a/pkg/llmproxy/api/handlers/management/usage.go +++ b/pkg/llmproxy/api/handlers/management/usage.go @@ -6,7 +6,7 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/usage" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/usage" ) type usageExportPayload struct { diff --git a/pkg/llmproxy/api/handlers/management/vertex_import.go b/pkg/llmproxy/api/handlers/management/vertex_import.go index c79d6427be..94ea247f70 100644 --- a/pkg/llmproxy/api/handlers/management/vertex_import.go +++ b/pkg/llmproxy/api/handlers/management/vertex_import.go @@ -9,8 +9,8 @@ import ( "strings" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/vertex" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/vertex" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) // ImportVertexCredential handles uploading a Vertex service account JSON and saving it as an auth record. diff --git a/pkg/llmproxy/api/handlers/routing_handler.go b/pkg/llmproxy/api/handlers/routing_handler.go index 4d568f021d..b675b1c115 100644 --- a/pkg/llmproxy/api/handlers/routing_handler.go +++ b/pkg/llmproxy/api/handlers/routing_handler.go @@ -5,7 +5,7 @@ import ( "net/http" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" ) // RoutingSelectRequest is the JSON body for POST /v1/routing/select. diff --git a/pkg/llmproxy/api/middleware/request_logging.go b/pkg/llmproxy/api/middleware/request_logging.go index 17e297fc68..2eacbf2b31 100644 --- a/pkg/llmproxy/api/middleware/request_logging.go +++ b/pkg/llmproxy/api/middleware/request_logging.go @@ -12,8 +12,8 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/logging" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/logging" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/api/middleware/request_logging_test.go b/pkg/llmproxy/api/middleware/request_logging_test.go index 8d7d1acf04..b3308132b4 100644 --- a/pkg/llmproxy/api/middleware/request_logging_test.go +++ b/pkg/llmproxy/api/middleware/request_logging_test.go @@ -7,8 +7,8 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/logging" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/logging" ) type mockRequestLogger struct { diff --git a/pkg/llmproxy/api/middleware/response_writer.go b/pkg/llmproxy/api/middleware/response_writer.go index 300bb98425..9c10c6642b 100644 --- a/pkg/llmproxy/api/middleware/response_writer.go +++ b/pkg/llmproxy/api/middleware/response_writer.go @@ -13,8 +13,8 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/logging" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/logging" ) const requestBodyOverrideContextKey = "REQUEST_BODY_OVERRIDE" diff --git a/pkg/llmproxy/api/middleware/response_writer_test.go b/pkg/llmproxy/api/middleware/response_writer_test.go index c7d13c6d53..6270870380 100644 --- a/pkg/llmproxy/api/middleware/response_writer_test.go +++ b/pkg/llmproxy/api/middleware/response_writer_test.go @@ -8,8 +8,8 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/logging" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/logging" ) type mockLogger struct { diff --git a/pkg/llmproxy/api/modules/amp/amp.go b/pkg/llmproxy/api/modules/amp/amp.go index 48413dbb7d..e2886cd0cf 100644 --- a/pkg/llmproxy/api/modules/amp/amp.go +++ b/pkg/llmproxy/api/modules/amp/amp.go @@ -9,9 +9,9 @@ import ( "sync" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/api/modules" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - sdkaccess "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/access" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/api/modules" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + sdkaccess "github.com/kooshapari/CLIProxyAPI/v7/sdk/access" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/api/modules/amp/amp_test.go b/pkg/llmproxy/api/modules/amp/amp_test.go index 805a344ca2..46afef5afd 100644 --- a/pkg/llmproxy/api/modules/amp/amp_test.go +++ b/pkg/llmproxy/api/modules/amp/amp_test.go @@ -9,10 +9,10 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/api/modules" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - sdkaccess "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/access" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/api/modules" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + sdkaccess "github.com/kooshapari/CLIProxyAPI/v7/sdk/access" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers" ) func TestAmpModule_Name(t *testing.T) { diff --git a/pkg/llmproxy/api/modules/amp/fallback_handlers.go b/pkg/llmproxy/api/modules/amp/fallback_handlers.go index b50a8c2e37..fd9e756ea3 100644 --- a/pkg/llmproxy/api/modules/amp/fallback_handlers.go +++ b/pkg/llmproxy/api/modules/amp/fallback_handlers.go @@ -8,8 +8,8 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/api/modules/amp/fallback_handlers_test.go b/pkg/llmproxy/api/modules/amp/fallback_handlers_test.go index 7289e46dca..df28ed1728 100644 --- a/pkg/llmproxy/api/modules/amp/fallback_handlers_test.go +++ b/pkg/llmproxy/api/modules/amp/fallback_handlers_test.go @@ -9,8 +9,8 @@ import ( "testing" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" ) func TestFallbackHandler_ModelMapping_PreservesThinkingSuffixAndRewritesResponse(t *testing.T) { diff --git a/pkg/llmproxy/api/modules/amp/model_mapping.go b/pkg/llmproxy/api/modules/amp/model_mapping.go index 40a03a962e..daceaaf5af 100644 --- a/pkg/llmproxy/api/modules/amp/model_mapping.go +++ b/pkg/llmproxy/api/modules/amp/model_mapping.go @@ -7,9 +7,9 @@ import ( "strings" "sync" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/api/modules/amp/model_mapping_test.go b/pkg/llmproxy/api/modules/amp/model_mapping_test.go index 021246ca4d..5937eba9d7 100644 --- a/pkg/llmproxy/api/modules/amp/model_mapping_test.go +++ b/pkg/llmproxy/api/modules/amp/model_mapping_test.go @@ -3,8 +3,8 @@ package amp import ( "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" ) func TestNewModelMapper(t *testing.T) { diff --git a/pkg/llmproxy/api/modules/amp/proxy_test.go b/pkg/llmproxy/api/modules/amp/proxy_test.go index 676a9849bb..85e1fd449a 100644 --- a/pkg/llmproxy/api/modules/amp/proxy_test.go +++ b/pkg/llmproxy/api/modules/amp/proxy_test.go @@ -11,7 +11,7 @@ import ( "strings" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) // Helper: compress data with gzip diff --git a/pkg/llmproxy/api/modules/amp/routes.go b/pkg/llmproxy/api/modules/amp/routes.go index 92cbe2a8c4..4c0ea1c89f 100644 --- a/pkg/llmproxy/api/modules/amp/routes.go +++ b/pkg/llmproxy/api/modules/amp/routes.go @@ -9,12 +9,12 @@ import ( "strings" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/logging" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers/claude" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers/gemini" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers/openai" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/logging" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers/claude" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers/gemini" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers/openai" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/api/modules/amp/routes_test.go b/pkg/llmproxy/api/modules/amp/routes_test.go index 7b4166dc41..d3d4028278 100644 --- a/pkg/llmproxy/api/modules/amp/routes_test.go +++ b/pkg/llmproxy/api/modules/amp/routes_test.go @@ -8,7 +8,7 @@ import ( "testing" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers" ) func TestRegisterManagementRoutes(t *testing.T) { diff --git a/pkg/llmproxy/api/modules/amp/secret.go b/pkg/llmproxy/api/modules/amp/secret.go index 2dac646c19..bd3a1c28c5 100644 --- a/pkg/llmproxy/api/modules/amp/secret.go +++ b/pkg/llmproxy/api/modules/amp/secret.go @@ -10,7 +10,7 @@ import ( "sync" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/api/modules/amp/secret_test.go b/pkg/llmproxy/api/modules/amp/secret_test.go index 80c843b2ac..1bb08d2262 100644 --- a/pkg/llmproxy/api/modules/amp/secret_test.go +++ b/pkg/llmproxy/api/modules/amp/secret_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" log "github.com/sirupsen/logrus" "github.com/sirupsen/logrus/hooks/test" ) diff --git a/pkg/llmproxy/api/modules/modules.go b/pkg/llmproxy/api/modules/modules.go index f5163b7a30..83cf94e46f 100644 --- a/pkg/llmproxy/api/modules/modules.go +++ b/pkg/llmproxy/api/modules/modules.go @@ -6,8 +6,8 @@ import ( "fmt" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers" ) // Context encapsulates the dependencies exposed to routing modules during diff --git a/pkg/llmproxy/api/server.go b/pkg/llmproxy/api/server.go index 22c8011a9a..cbe4e1276d 100644 --- a/pkg/llmproxy/api/server.go +++ b/pkg/llmproxy/api/server.go @@ -20,24 +20,24 @@ import ( "unsafe" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/access" - managementHandlers "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/api/handlers/management" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/api/middleware" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/api/modules" - ampmodule "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/api/modules/amp" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/auth/kiro" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/logging" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/managementasset" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/usage" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/util" - sdkaccess "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/access" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers/claude" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers/gemini" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers/openai" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/access" + managementHandlers "github.com/kooshapari/CLIProxyAPI/v7/internal/api/handlers/management" + "github.com/kooshapari/CLIProxyAPI/v7/internal/api/middleware" + "github.com/kooshapari/CLIProxyAPI/v7/internal/api/modules" + ampmodule "github.com/kooshapari/CLIProxyAPI/v7/internal/api/modules/amp" + "github.com/kooshapari/CLIProxyAPI/v7/internal/auth/kiro" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/logging" + "github.com/kooshapari/CLIProxyAPI/v7/internal/managementasset" + "github.com/kooshapari/CLIProxyAPI/v7/internal/usage" + "github.com/kooshapari/CLIProxyAPI/v7/internal/util" + sdkaccess "github.com/kooshapari/CLIProxyAPI/v7/sdk/access" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers/claude" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers/gemini" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers/openai" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" "gopkg.in/yaml.v3" ) diff --git a/pkg/llmproxy/api/server_test.go b/pkg/llmproxy/api/server_test.go index e8f7894757..7fb33da727 100644 --- a/pkg/llmproxy/api/server_test.go +++ b/pkg/llmproxy/api/server_test.go @@ -9,10 +9,10 @@ import ( "testing" gin "github.com/gin-gonic/gin" - proxyconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - sdkaccess "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/access" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - sdkconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/config" + proxyconfig "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + sdkaccess "github.com/kooshapari/CLIProxyAPI/v7/sdk/access" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + sdkconfig "github.com/kooshapari/CLIProxyAPI/v7/sdk/config" ) func newTestServer(t *testing.T) *Server { diff --git a/pkg/llmproxy/auth/antigravity/auth.go b/pkg/llmproxy/auth/antigravity/auth.go index da2e9bae2f..ae7be895b7 100644 --- a/pkg/llmproxy/auth/antigravity/auth.go +++ b/pkg/llmproxy/auth/antigravity/auth.go @@ -11,8 +11,8 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/auth/base/token_storage.go b/pkg/llmproxy/auth/base/token_storage.go index fcb11c403c..32bd3fda19 100644 --- a/pkg/llmproxy/auth/base/token_storage.go +++ b/pkg/llmproxy/auth/base/token_storage.go @@ -10,7 +10,7 @@ import ( "os" "path/filepath" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" ) // BaseTokenStorage holds the fields and file-I/O methods that every provider diff --git a/pkg/llmproxy/auth/claude/anthropic_auth.go b/pkg/llmproxy/auth/claude/anthropic_auth.go index b387376c1f..fa0700debd 100644 --- a/pkg/llmproxy/auth/claude/anthropic_auth.go +++ b/pkg/llmproxy/auth/claude/anthropic_auth.go @@ -13,8 +13,8 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/base" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/base" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/auth/claude/token.go b/pkg/llmproxy/auth/claude/token.go index 5c1adf5d4b..d897bb05aa 100644 --- a/pkg/llmproxy/auth/claude/token.go +++ b/pkg/llmproxy/auth/claude/token.go @@ -6,7 +6,7 @@ package claude import ( "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" ) // ClaudeTokenStorage stores OAuth2 token information for Anthropic Claude API authentication. diff --git a/pkg/llmproxy/auth/claude/utls_transport.go b/pkg/llmproxy/auth/claude/utls_transport.go index 958cef49ce..3b7623bcb1 100644 --- a/pkg/llmproxy/auth/claude/utls_transport.go +++ b/pkg/llmproxy/auth/claude/utls_transport.go @@ -8,9 +8,9 @@ import ( "strings" "sync" - pkgconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" + pkgconfig "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" tls "github.com/refraction-networking/utls" - pkgconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + pkgconfig "github.com/kooshapari/CLIProxyAPI/v7/internal/config" log "github.com/sirupsen/logrus" "golang.org/x/net/http2" "golang.org/x/net/proxy" diff --git a/pkg/llmproxy/auth/codex/openai_auth.go b/pkg/llmproxy/auth/codex/openai_auth.go index 74653230a9..55913019bf 100644 --- a/pkg/llmproxy/auth/codex/openai_auth.go +++ b/pkg/llmproxy/auth/codex/openai_auth.go @@ -14,9 +14,9 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/base" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/base" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/auth/codex/openai_auth_test.go b/pkg/llmproxy/auth/codex/openai_auth_test.go index 6e0b273b45..d5c5c41526 100644 --- a/pkg/llmproxy/auth/codex/openai_auth_test.go +++ b/pkg/llmproxy/auth/codex/openai_auth_test.go @@ -9,7 +9,7 @@ import ( "strings" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestNewCodexAuth(t *testing.T) { diff --git a/pkg/llmproxy/auth/codex/token.go b/pkg/llmproxy/auth/codex/token.go index 9b2d492419..ee2e3e7636 100644 --- a/pkg/llmproxy/auth/codex/token.go +++ b/pkg/llmproxy/auth/codex/token.go @@ -6,7 +6,7 @@ package codex import ( "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" ) // CodexTokenStorage stores OAuth2 token information for OpenAI Codex API authentication. diff --git a/pkg/llmproxy/auth/copilot/copilot_auth.go b/pkg/llmproxy/auth/copilot/copilot_auth.go index ddd5e3fd2f..baf2f14dc1 100644 --- a/pkg/llmproxy/auth/copilot/copilot_auth.go +++ b/pkg/llmproxy/auth/copilot/copilot_auth.go @@ -10,9 +10,9 @@ import ( "net/http" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/base" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/base" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/auth/copilot/copilot_auth_test.go b/pkg/llmproxy/auth/copilot/copilot_auth_test.go index 8e16faf00a..278535906e 100644 --- a/pkg/llmproxy/auth/copilot/copilot_auth_test.go +++ b/pkg/llmproxy/auth/copilot/copilot_auth_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) type rewriteTransport struct { diff --git a/pkg/llmproxy/auth/copilot/copilot_extra_test.go b/pkg/llmproxy/auth/copilot/copilot_extra_test.go index 712a9781b2..7b6c126c65 100644 --- a/pkg/llmproxy/auth/copilot/copilot_extra_test.go +++ b/pkg/llmproxy/auth/copilot/copilot_extra_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestNewCopilotAuth(t *testing.T) { diff --git a/pkg/llmproxy/auth/copilot/oauth.go b/pkg/llmproxy/auth/copilot/oauth.go index e28728bd47..0eca3c2ed4 100644 --- a/pkg/llmproxy/auth/copilot/oauth.go +++ b/pkg/llmproxy/auth/copilot/oauth.go @@ -11,8 +11,8 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/auth/copilot/token.go b/pkg/llmproxy/auth/copilot/token.go index d529538139..409a19046f 100644 --- a/pkg/llmproxy/auth/copilot/token.go +++ b/pkg/llmproxy/auth/copilot/token.go @@ -6,7 +6,7 @@ package copilot import ( "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" ) // CopilotTokenStorage stores OAuth2 token information for GitHub Copilot API authentication. diff --git a/pkg/llmproxy/auth/diff/auth_diff.go b/pkg/llmproxy/auth/diff/auth_diff.go index 267edec793..7f31849e4e 100644 --- a/pkg/llmproxy/auth/diff/auth_diff.go +++ b/pkg/llmproxy/auth/diff/auth_diff.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) // BuildAuthChangeDetails computes a redacted, human-readable list of auth field changes. diff --git a/pkg/llmproxy/auth/diff/config_diff.go b/pkg/llmproxy/auth/diff/config_diff.go index 7e975644e8..f88a693044 100644 --- a/pkg/llmproxy/auth/diff/config_diff.go +++ b/pkg/llmproxy/auth/diff/config_diff.go @@ -6,7 +6,7 @@ import ( "reflect" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) // BuildConfigChangeDetails computes a redacted, human-readable list of config changes. diff --git a/pkg/llmproxy/auth/diff/config_diff_test.go b/pkg/llmproxy/auth/diff/config_diff_test.go index cce7e5dd25..1065366497 100644 --- a/pkg/llmproxy/auth/diff/config_diff_test.go +++ b/pkg/llmproxy/auth/diff/config_diff_test.go @@ -1,7 +1,7 @@ package diff import ( - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" "testing" ) diff --git a/pkg/llmproxy/auth/diff/diff_generated.go b/pkg/llmproxy/auth/diff/diff_generated.go index fd9767061c..48c68e7cb6 100644 --- a/pkg/llmproxy/auth/diff/diff_generated.go +++ b/pkg/llmproxy/auth/diff/diff_generated.go @@ -1,9 +1,9 @@ -// Code generated by github.com/kooshapari/cliproxyapi-plusplus/v6/cmd/codegen; DO NOT EDIT. +// Code generated by github.com/kooshapari/CLIProxyAPI/v7/cmd/codegen; DO NOT EDIT. package diff import ( "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) // BuildConfigChangeDetailsGeneratedProviders computes changes for generated dedicated providers. diff --git a/pkg/llmproxy/auth/diff/model_hash.go b/pkg/llmproxy/auth/diff/model_hash.go index fa9e93c755..2702037f45 100644 --- a/pkg/llmproxy/auth/diff/model_hash.go +++ b/pkg/llmproxy/auth/diff/model_hash.go @@ -7,7 +7,7 @@ import ( "sort" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) const modelHashSalt = "auth-model-hash:v1" diff --git a/pkg/llmproxy/auth/diff/model_hash_test.go b/pkg/llmproxy/auth/diff/model_hash_test.go index 07c62116fa..540f320232 100644 --- a/pkg/llmproxy/auth/diff/model_hash_test.go +++ b/pkg/llmproxy/auth/diff/model_hash_test.go @@ -3,7 +3,7 @@ package diff import ( "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestComputeOpenAICompatModelsHash_Deterministic(t *testing.T) { diff --git a/pkg/llmproxy/auth/diff/models_summary.go b/pkg/llmproxy/auth/diff/models_summary.go index 084f7c1fea..f63c3c54b5 100644 --- a/pkg/llmproxy/auth/diff/models_summary.go +++ b/pkg/llmproxy/auth/diff/models_summary.go @@ -4,7 +4,7 @@ import ( "sort" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) type GeminiModelsSummary struct { diff --git a/pkg/llmproxy/auth/diff/oauth_excluded.go b/pkg/llmproxy/auth/diff/oauth_excluded.go index 1ef85e3d4d..42154712f6 100644 --- a/pkg/llmproxy/auth/diff/oauth_excluded.go +++ b/pkg/llmproxy/auth/diff/oauth_excluded.go @@ -5,7 +5,7 @@ import ( "sort" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) type ExcludedModelsSummary struct { diff --git a/pkg/llmproxy/auth/diff/oauth_excluded_test.go b/pkg/llmproxy/auth/diff/oauth_excluded_test.go index 3b56388e1a..4423c210e5 100644 --- a/pkg/llmproxy/auth/diff/oauth_excluded_test.go +++ b/pkg/llmproxy/auth/diff/oauth_excluded_test.go @@ -3,7 +3,7 @@ package diff import ( "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestSummarizeExcludedModels_NormalizesAndDedupes(t *testing.T) { diff --git a/pkg/llmproxy/auth/diff/oauth_model_alias.go b/pkg/llmproxy/auth/diff/oauth_model_alias.go index a0e0833335..193f3746a0 100644 --- a/pkg/llmproxy/auth/diff/oauth_model_alias.go +++ b/pkg/llmproxy/auth/diff/oauth_model_alias.go @@ -5,7 +5,7 @@ import ( "sort" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) type OAuthModelAliasSummary struct { diff --git a/pkg/llmproxy/auth/diff/openai_compat.go b/pkg/llmproxy/auth/diff/openai_compat.go index a3c33d9ca0..2d7d3b1e08 100644 --- a/pkg/llmproxy/auth/diff/openai_compat.go +++ b/pkg/llmproxy/auth/diff/openai_compat.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) // DiffOpenAICompatibility produces human-readable change descriptions. diff --git a/pkg/llmproxy/auth/diff/openai_compat_test.go b/pkg/llmproxy/auth/diff/openai_compat_test.go index 73f7547a08..801eb8519c 100644 --- a/pkg/llmproxy/auth/diff/openai_compat_test.go +++ b/pkg/llmproxy/auth/diff/openai_compat_test.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestDiffOpenAICompatibility(t *testing.T) { diff --git a/pkg/llmproxy/auth/gemini/gemini_auth.go b/pkg/llmproxy/auth/gemini/gemini_auth.go index b3a1da4b76..3dece9b678 100644 --- a/pkg/llmproxy/auth/gemini/gemini_auth.go +++ b/pkg/llmproxy/auth/gemini/gemini_auth.go @@ -14,12 +14,12 @@ import ( "net/url" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/base" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/codex" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/browser" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/base" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/codex" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/browser" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "golang.org/x/net/proxy" diff --git a/pkg/llmproxy/auth/gemini/gemini_auth_test.go b/pkg/llmproxy/auth/gemini/gemini_auth_test.go index c0c9d0afc4..1cc62bd96f 100644 --- a/pkg/llmproxy/auth/gemini/gemini_auth_test.go +++ b/pkg/llmproxy/auth/gemini/gemini_auth_test.go @@ -12,7 +12,7 @@ import ( "testing" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" "golang.org/x/oauth2" ) diff --git a/pkg/llmproxy/auth/gemini/gemini_token.go b/pkg/llmproxy/auth/gemini/gemini_token.go index 4fd0ebf146..37e35c8e39 100644 --- a/pkg/llmproxy/auth/gemini/gemini_token.go +++ b/pkg/llmproxy/auth/gemini/gemini_token.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/auth/iflow/iflow_auth.go b/pkg/llmproxy/auth/iflow/iflow_auth.go index 586d01acee..7d76eed6ca 100644 --- a/pkg/llmproxy/auth/iflow/iflow_auth.go +++ b/pkg/llmproxy/auth/iflow/iflow_auth.go @@ -13,9 +13,9 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/base" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/base" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/auth/iflow/iflow_token.go b/pkg/llmproxy/auth/iflow/iflow_token.go index cd31452af5..ecbd946bb0 100644 --- a/pkg/llmproxy/auth/iflow/iflow_token.go +++ b/pkg/llmproxy/auth/iflow/iflow_token.go @@ -3,7 +3,7 @@ package iflow import ( "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" ) // IFlowTokenStorage persists iFlow OAuth credentials alongside the derived API key. diff --git a/pkg/llmproxy/auth/kilo/kilo_token.go b/pkg/llmproxy/auth/kilo/kilo_token.go index e8e3026ed0..356ee70b5e 100644 --- a/pkg/llmproxy/auth/kilo/kilo_token.go +++ b/pkg/llmproxy/auth/kilo/kilo_token.go @@ -5,7 +5,7 @@ package kilo import ( "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/auth/kimi/kimi.go b/pkg/llmproxy/auth/kimi/kimi.go index d50da9d0f8..93cce2247e 100644 --- a/pkg/llmproxy/auth/kimi/kimi.go +++ b/pkg/llmproxy/auth/kimi/kimi.go @@ -15,9 +15,9 @@ import ( "time" "github.com/google/uuid" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/base" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/base" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/auth/kimi/token.go b/pkg/llmproxy/auth/kimi/token.go index 7ae172e630..12693dd941 100644 --- a/pkg/llmproxy/auth/kimi/token.go +++ b/pkg/llmproxy/auth/kimi/token.go @@ -7,7 +7,7 @@ import ( "fmt" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" ) // KimiTokenStorage stores OAuth2 token information for Kimi API authentication. diff --git a/pkg/llmproxy/auth/kiro/aws_auth.go b/pkg/llmproxy/auth/kiro/aws_auth.go index d778af5bb2..ce49ed4c45 100644 --- a/pkg/llmproxy/auth/kiro/aws_auth.go +++ b/pkg/llmproxy/auth/kiro/aws_auth.go @@ -13,8 +13,8 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/auth/kiro/aws_extra_test.go b/pkg/llmproxy/auth/kiro/aws_extra_test.go index 417e1a345c..73037601f9 100644 --- a/pkg/llmproxy/auth/kiro/aws_extra_test.go +++ b/pkg/llmproxy/auth/kiro/aws_extra_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestNewKiroAuth(t *testing.T) { diff --git a/pkg/llmproxy/auth/kiro/background_refresh.go b/pkg/llmproxy/auth/kiro/background_refresh.go index 7638336b89..01c2e419b5 100644 --- a/pkg/llmproxy/auth/kiro/background_refresh.go +++ b/pkg/llmproxy/auth/kiro/background_refresh.go @@ -7,7 +7,7 @@ import ( "sync" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" "golang.org/x/sync/semaphore" ) diff --git a/pkg/llmproxy/auth/kiro/codewhisperer_client.go b/pkg/llmproxy/auth/kiro/codewhisperer_client.go index 827d38c135..91e3dad26c 100644 --- a/pkg/llmproxy/auth/kiro/codewhisperer_client.go +++ b/pkg/llmproxy/auth/kiro/codewhisperer_client.go @@ -10,8 +10,8 @@ import ( "time" "github.com/google/uuid" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/auth/kiro/oauth.go b/pkg/llmproxy/auth/kiro/oauth.go index 9789d60489..55097432b9 100644 --- a/pkg/llmproxy/auth/kiro/oauth.go +++ b/pkg/llmproxy/auth/kiro/oauth.go @@ -10,8 +10,8 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/auth/kiro/oauth_web.go b/pkg/llmproxy/auth/kiro/oauth_web.go index 1dac8fd214..86a185c7cd 100644 --- a/pkg/llmproxy/auth/kiro/oauth_web.go +++ b/pkg/llmproxy/auth/kiro/oauth_web.go @@ -16,8 +16,8 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/auth/kiro/refresh_manager.go b/pkg/llmproxy/auth/kiro/refresh_manager.go index dc77cf99bc..f297382a7e 100644 --- a/pkg/llmproxy/auth/kiro/refresh_manager.go +++ b/pkg/llmproxy/auth/kiro/refresh_manager.go @@ -5,8 +5,8 @@ import ( "sync" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/auth/kiro/social_auth.go b/pkg/llmproxy/auth/kiro/social_auth.go index a7b08f9519..7e18ec4627 100644 --- a/pkg/llmproxy/auth/kiro/social_auth.go +++ b/pkg/llmproxy/auth/kiro/social_auth.go @@ -18,9 +18,9 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/browser" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/browser" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" "golang.org/x/term" ) diff --git a/pkg/llmproxy/auth/kiro/sso_oidc.go b/pkg/llmproxy/auth/kiro/sso_oidc.go index c9dc24c7b0..90d5e43fde 100644 --- a/pkg/llmproxy/auth/kiro/sso_oidc.go +++ b/pkg/llmproxy/auth/kiro/sso_oidc.go @@ -20,9 +20,9 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/browser" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/browser" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/auth/kiro/token.go b/pkg/llmproxy/auth/kiro/token.go index 3ba32e63e3..e363099615 100644 --- a/pkg/llmproxy/auth/kiro/token.go +++ b/pkg/llmproxy/auth/kiro/token.go @@ -7,7 +7,7 @@ import ( "path/filepath" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" ) // KiroTokenStorage holds the persistent token data for Kiro authentication. diff --git a/pkg/llmproxy/auth/kiro/usage_checker.go b/pkg/llmproxy/auth/kiro/usage_checker.go index d2e90eed4b..097d2fbffa 100644 --- a/pkg/llmproxy/auth/kiro/usage_checker.go +++ b/pkg/llmproxy/auth/kiro/usage_checker.go @@ -11,8 +11,8 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" ) // UsageQuotaResponse represents the API response structure for usage quota checking. diff --git a/pkg/llmproxy/auth/qwen/qwen_auth.go b/pkg/llmproxy/auth/qwen/qwen_auth.go index 59f7b0c4f5..e09eba5826 100644 --- a/pkg/llmproxy/auth/qwen/qwen_auth.go +++ b/pkg/llmproxy/auth/qwen/qwen_auth.go @@ -13,8 +13,8 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/auth/qwen/qwen_token.go b/pkg/llmproxy/auth/qwen/qwen_token.go index 2b1aeec771..efbb3e7fa3 100644 --- a/pkg/llmproxy/auth/qwen/qwen_token.go +++ b/pkg/llmproxy/auth/qwen/qwen_token.go @@ -10,7 +10,7 @@ import ( "strings" "github.com/KooshaPari/phenotype-go-kit/pkg/auth" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" ) // QwenTokenStorage extends BaseTokenStorage with Qwen-specific fields for managing diff --git a/pkg/llmproxy/auth/synthesizer/config.go b/pkg/llmproxy/auth/synthesizer/config.go index 667b60c817..c3d34c2655 100644 --- a/pkg/llmproxy/auth/synthesizer/config.go +++ b/pkg/llmproxy/auth/synthesizer/config.go @@ -11,11 +11,11 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/diff" - kiroauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kiro" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/cursorstorage" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/diff" + kiroauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kiro" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/cursorstorage" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/auth/synthesizer/config_test.go b/pkg/llmproxy/auth/synthesizer/config_test.go index 90f0a669a8..e2e3b1d59f 100644 --- a/pkg/llmproxy/auth/synthesizer/config_test.go +++ b/pkg/llmproxy/auth/synthesizer/config_test.go @@ -1,7 +1,7 @@ package synthesizer import ( - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" "os" "path/filepath" "testing" diff --git a/pkg/llmproxy/auth/synthesizer/context.go b/pkg/llmproxy/auth/synthesizer/context.go index 99e8df7ad0..33b3004474 100644 --- a/pkg/llmproxy/auth/synthesizer/context.go +++ b/pkg/llmproxy/auth/synthesizer/context.go @@ -3,7 +3,7 @@ package synthesizer import ( "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) // SynthesisContext provides the context needed for auth synthesis. diff --git a/pkg/llmproxy/auth/synthesizer/file.go b/pkg/llmproxy/auth/synthesizer/file.go index 30a5aa467b..14f5991db7 100644 --- a/pkg/llmproxy/auth/synthesizer/file.go +++ b/pkg/llmproxy/auth/synthesizer/file.go @@ -9,8 +9,8 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/runtime/geminicli" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/runtime/geminicli" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) // FileSynthesizer generates Auth entries from OAuth JSON files. diff --git a/pkg/llmproxy/auth/synthesizer/file_test.go b/pkg/llmproxy/auth/synthesizer/file_test.go index c169ab4817..3a38b0d49a 100644 --- a/pkg/llmproxy/auth/synthesizer/file_test.go +++ b/pkg/llmproxy/auth/synthesizer/file_test.go @@ -8,8 +8,8 @@ import ( "testing" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func TestNewFileSynthesizer(t *testing.T) { diff --git a/pkg/llmproxy/auth/synthesizer/helpers.go b/pkg/llmproxy/auth/synthesizer/helpers.go index 553ff44d3e..cc2535b58a 100644 --- a/pkg/llmproxy/auth/synthesizer/helpers.go +++ b/pkg/llmproxy/auth/synthesizer/helpers.go @@ -8,9 +8,9 @@ import ( "sort" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/diff" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/diff" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) const stableIDGeneratorHashKey = "auth-stable-id-generator:v1" diff --git a/pkg/llmproxy/auth/synthesizer/helpers_test.go b/pkg/llmproxy/auth/synthesizer/helpers_test.go index 5a56e83314..da8759d110 100644 --- a/pkg/llmproxy/auth/synthesizer/helpers_test.go +++ b/pkg/llmproxy/auth/synthesizer/helpers_test.go @@ -7,9 +7,9 @@ import ( "strings" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/diff" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/diff" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func TestStableIDGenerator_Next_DoesNotUseLegacySHA256(t *testing.T) { diff --git a/pkg/llmproxy/auth/synthesizer/interface.go b/pkg/llmproxy/auth/synthesizer/interface.go index 76fbd8756b..181d9a0315 100644 --- a/pkg/llmproxy/auth/synthesizer/interface.go +++ b/pkg/llmproxy/auth/synthesizer/interface.go @@ -5,7 +5,7 @@ package synthesizer import ( - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) // AuthSynthesizer defines the interface for generating Auth entries from various sources. diff --git a/pkg/llmproxy/auth/synthesizer/synthesizer_generated.go b/pkg/llmproxy/auth/synthesizer/synthesizer_generated.go index eddb8a3a17..d8a5a74552 100644 --- a/pkg/llmproxy/auth/synthesizer/synthesizer_generated.go +++ b/pkg/llmproxy/auth/synthesizer/synthesizer_generated.go @@ -1,8 +1,8 @@ -// Code generated by github.com/kooshapari/cliproxyapi-plusplus/v6/cmd/codegen; DO NOT EDIT. +// Code generated by github.com/kooshapari/CLIProxyAPI/v7/cmd/codegen; DO NOT EDIT. package synthesizer import ( - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) // getDedicatedProviderEntries returns the config entries for a dedicated provider. diff --git a/pkg/llmproxy/auth/vertex/vertex_credentials.go b/pkg/llmproxy/auth/vertex/vertex_credentials.go index 3626e9efc3..705fda59e1 100644 --- a/pkg/llmproxy/auth/vertex/vertex_credentials.go +++ b/pkg/llmproxy/auth/vertex/vertex_credentials.go @@ -9,7 +9,7 @@ import ( "path/filepath" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/client/client_test.go b/pkg/llmproxy/client/client_test.go index 2c6da92194..b1825049a9 100644 --- a/pkg/llmproxy/client/client_test.go +++ b/pkg/llmproxy/client/client_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/client" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/client" ) // --------------------------------------------------------------------------- diff --git a/pkg/llmproxy/cmd/anthropic_login.go b/pkg/llmproxy/cmd/anthropic_login.go index de64e1433d..9efde5ef0f 100644 --- a/pkg/llmproxy/cmd/anthropic_login.go +++ b/pkg/llmproxy/cmd/anthropic_login.go @@ -6,9 +6,9 @@ import ( "fmt" "os" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/claude" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/claude" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/cmd/antigravity_login.go b/pkg/llmproxy/cmd/antigravity_login.go index 7693f42fa7..569781c7a2 100644 --- a/pkg/llmproxy/cmd/antigravity_login.go +++ b/pkg/llmproxy/cmd/antigravity_login.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/cmd/auth_dir.go b/pkg/llmproxy/cmd/auth_dir.go index 244fed3e19..35670a2e90 100644 --- a/pkg/llmproxy/cmd/auth_dir.go +++ b/pkg/llmproxy/cmd/auth_dir.go @@ -6,7 +6,7 @@ import ( "path/filepath" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" ) func resolveAuthDir(cfgAuthDir string) (string, error) { diff --git a/pkg/llmproxy/cmd/auth_manager.go b/pkg/llmproxy/cmd/auth_manager.go index 6517938346..f41af2ff0d 100644 --- a/pkg/llmproxy/cmd/auth_manager.go +++ b/pkg/llmproxy/cmd/auth_manager.go @@ -1,7 +1,7 @@ package cmd import ( - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" ) // newAuthManager creates a new authentication manager instance with all supported diff --git a/pkg/llmproxy/cmd/config_cast.go b/pkg/llmproxy/cmd/config_cast.go index c23192d1b7..ba3ab76a83 100644 --- a/pkg/llmproxy/cmd/config_cast.go +++ b/pkg/llmproxy/cmd/config_cast.go @@ -3,8 +3,8 @@ package cmd import ( "unsafe" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - sdkconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + sdkconfig "github.com/kooshapari/CLIProxyAPI/v7/sdk/config" ) // castToInternalConfig returns the config pointer as-is. diff --git a/pkg/llmproxy/cmd/cursor_login.go b/pkg/llmproxy/cmd/cursor_login.go index 342054bad9..864c42641c 100644 --- a/pkg/llmproxy/cmd/cursor_login.go +++ b/pkg/llmproxy/cmd/cursor_login.go @@ -6,7 +6,7 @@ import ( "path/filepath" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/cmd/cursor_login_test.go b/pkg/llmproxy/cmd/cursor_login_test.go index 194b0964c0..913f370dee 100644 --- a/pkg/llmproxy/cmd/cursor_login_test.go +++ b/pkg/llmproxy/cmd/cursor_login_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestDoCursorLogin_TokenFileMode_WritesTokenAndConfig(t *testing.T) { diff --git a/pkg/llmproxy/cmd/generic_apikey_login.go b/pkg/llmproxy/cmd/generic_apikey_login.go index 0b53a4722a..e651387bfd 100644 --- a/pkg/llmproxy/cmd/generic_apikey_login.go +++ b/pkg/llmproxy/cmd/generic_apikey_login.go @@ -8,7 +8,7 @@ import ( "path/filepath" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/cmd/github_copilot_login.go b/pkg/llmproxy/cmd/github_copilot_login.go index d29c2dbe16..64054c9ac2 100644 --- a/pkg/llmproxy/cmd/github_copilot_login.go +++ b/pkg/llmproxy/cmd/github_copilot_login.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/cmd/iflow_cookie.go b/pkg/llmproxy/cmd/iflow_cookie.go index c8e8544248..610eafbf95 100644 --- a/pkg/llmproxy/cmd/iflow_cookie.go +++ b/pkg/llmproxy/cmd/iflow_cookie.go @@ -9,8 +9,8 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/iflow" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/iflow" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) // DoIFlowCookieAuth performs the iFlow cookie-based authentication. diff --git a/pkg/llmproxy/cmd/iflow_cookie_test.go b/pkg/llmproxy/cmd/iflow_cookie_test.go index 8f971cb1f2..8928155605 100644 --- a/pkg/llmproxy/cmd/iflow_cookie_test.go +++ b/pkg/llmproxy/cmd/iflow_cookie_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestGetAuthFilePath_UsesDefaultAuthDirAndFallbackName(t *testing.T) { diff --git a/pkg/llmproxy/cmd/iflow_login.go b/pkg/llmproxy/cmd/iflow_login.go index c6aa14b973..ea30939457 100644 --- a/pkg/llmproxy/cmd/iflow_login.go +++ b/pkg/llmproxy/cmd/iflow_login.go @@ -5,8 +5,8 @@ import ( "errors" "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/cmd/kilo_login.go b/pkg/llmproxy/cmd/kilo_login.go index a1f34f3407..652e191f8b 100644 --- a/pkg/llmproxy/cmd/kilo_login.go +++ b/pkg/llmproxy/cmd/kilo_login.go @@ -5,7 +5,7 @@ import ( "io" "os" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/cmd/kimi_login.go b/pkg/llmproxy/cmd/kimi_login.go index cb0bd32290..bad200e6ab 100644 --- a/pkg/llmproxy/cmd/kimi_login.go +++ b/pkg/llmproxy/cmd/kimi_login.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/cmd/kiro_login.go b/pkg/llmproxy/cmd/kiro_login.go index a073d7d05f..290c76ad0a 100644 --- a/pkg/llmproxy/cmd/kiro_login.go +++ b/pkg/llmproxy/cmd/kiro_login.go @@ -5,8 +5,8 @@ import ( "fmt" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/cmd/login.go b/pkg/llmproxy/cmd/login.go index b1af47e6b8..d10ea548f6 100644 --- a/pkg/llmproxy/cmd/login.go +++ b/pkg/llmproxy/cmd/login.go @@ -17,11 +17,11 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/gemini" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/gemini" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/cmd/minimax_login.go b/pkg/llmproxy/cmd/minimax_login.go index 48a2677033..734184a1eb 100644 --- a/pkg/llmproxy/cmd/minimax_login.go +++ b/pkg/llmproxy/cmd/minimax_login.go @@ -8,7 +8,7 @@ import ( "path/filepath" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/cmd/openai_device_login.go b/pkg/llmproxy/cmd/openai_device_login.go index 4b9e4787c5..6d46f6bfdd 100644 --- a/pkg/llmproxy/cmd/openai_device_login.go +++ b/pkg/llmproxy/cmd/openai_device_login.go @@ -6,9 +6,9 @@ import ( "fmt" "os" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/auth/codex" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/auth/codex" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/cmd/openai_login.go b/pkg/llmproxy/cmd/openai_login.go index 2a6a5445d6..d803b16b53 100644 --- a/pkg/llmproxy/cmd/openai_login.go +++ b/pkg/llmproxy/cmd/openai_login.go @@ -6,9 +6,9 @@ import ( "fmt" "os" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/codex" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/codex" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/cmd/qwen_login.go b/pkg/llmproxy/cmd/qwen_login.go index ebcd3b60e9..7b4a1e3c93 100644 --- a/pkg/llmproxy/cmd/qwen_login.go +++ b/pkg/llmproxy/cmd/qwen_login.go @@ -5,8 +5,8 @@ import ( "errors" "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/cmd/roo_kilo_login_test.go b/pkg/llmproxy/cmd/roo_kilo_login_test.go index c378183edd..cbcea64888 100644 --- a/pkg/llmproxy/cmd/roo_kilo_login_test.go +++ b/pkg/llmproxy/cmd/roo_kilo_login_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestRunRooLoginWithRunner_Success(t *testing.T) { diff --git a/pkg/llmproxy/cmd/roo_login.go b/pkg/llmproxy/cmd/roo_login.go index dae422b85c..4f57f144e5 100644 --- a/pkg/llmproxy/cmd/roo_login.go +++ b/pkg/llmproxy/cmd/roo_login.go @@ -5,7 +5,7 @@ import ( "io" "os" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/cmd/run.go b/pkg/llmproxy/cmd/run.go index 60438b49c3..097a23b421 100644 --- a/pkg/llmproxy/cmd/run.go +++ b/pkg/llmproxy/cmd/run.go @@ -10,9 +10,9 @@ import ( "syscall" "time" - internalapi "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/api" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy" + internalapi "github.com/kooshapari/CLIProxyAPI/v7/internal/api" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/cmd/setup.go b/pkg/llmproxy/cmd/setup.go index a93166a498..5cab46c93f 100644 --- a/pkg/llmproxy/cmd/setup.go +++ b/pkg/llmproxy/cmd/setup.go @@ -7,8 +7,8 @@ import ( "strconv" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" ) type setupOption struct { diff --git a/pkg/llmproxy/cmd/setup_test.go b/pkg/llmproxy/cmd/setup_test.go index 3f59833671..2e316a11ac 100644 --- a/pkg/llmproxy/cmd/setup_test.go +++ b/pkg/llmproxy/cmd/setup_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestSetupOptions_ContainsCursorLogin(t *testing.T) { diff --git a/pkg/llmproxy/cmd/thegent_login.go b/pkg/llmproxy/cmd/thegent_login.go index a80d3a67ff..d0f76ac6c6 100644 --- a/pkg/llmproxy/cmd/thegent_login.go +++ b/pkg/llmproxy/cmd/thegent_login.go @@ -6,7 +6,7 @@ import ( "os" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/cmd/vertex_import.go b/pkg/llmproxy/cmd/vertex_import.go index af744039c3..890dbaf320 100644 --- a/pkg/llmproxy/cmd/vertex_import.go +++ b/pkg/llmproxy/cmd/vertex_import.go @@ -9,11 +9,11 @@ import ( "os" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/vertex" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/vertex" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/config/config.go b/pkg/llmproxy/config/config.go index d954d304b5..b9a7265bdf 100644 --- a/pkg/llmproxy/config/config.go +++ b/pkg/llmproxy/config/config.go @@ -19,7 +19,7 @@ import ( "golang.org/x/crypto/bcrypt" "gopkg.in/yaml.v3" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/ratelimit" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/ratelimit" ) const ( diff --git a/pkg/llmproxy/config/config_generated.go b/pkg/llmproxy/config/config_generated.go index bb9769a439..90036ed6b0 100644 --- a/pkg/llmproxy/config/config_generated.go +++ b/pkg/llmproxy/config/config_generated.go @@ -1,4 +1,4 @@ -// Code generated by github.com/kooshapari/cliproxyapi-plusplus/v6/cmd/codegen; DO NOT EDIT. +// Code generated by github.com/kooshapari/CLIProxyAPI/v7/cmd/codegen; DO NOT EDIT. package config import "strings" diff --git a/pkg/llmproxy/config/config_types.go b/pkg/llmproxy/config/config_types.go index 1976a2c7a2..c27fa9047b 100644 --- a/pkg/llmproxy/config/config_types.go +++ b/pkg/llmproxy/config/config_types.go @@ -5,7 +5,7 @@ package config import ( - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/ratelimit" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/ratelimit" ) // Config represents the application's configuration, loaded from a YAML file. diff --git a/pkg/llmproxy/config/provider_registry_generated.go b/pkg/llmproxy/config/provider_registry_generated.go index 96497f5f38..50a61de287 100644 --- a/pkg/llmproxy/config/provider_registry_generated.go +++ b/pkg/llmproxy/config/provider_registry_generated.go @@ -1,4 +1,4 @@ -// Code generated by github.com/kooshapari/cliproxyapi-plusplus/v6/cmd/codegen; DO NOT EDIT. +// Code generated by github.com/kooshapari/CLIProxyAPI/v7/cmd/codegen; DO NOT EDIT. package config // AllProviders defines the registry of all supported LLM providers. diff --git a/pkg/llmproxy/config/sdk_config.go b/pkg/llmproxy/config/sdk_config.go index 38c419f515..41fc8b1bc1 100644 --- a/pkg/llmproxy/config/sdk_config.go +++ b/pkg/llmproxy/config/sdk_config.go @@ -4,7 +4,7 @@ // debug settings, proxy configuration, and API keys. package config -import internalconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" +import internalconfig "github.com/kooshapari/CLIProxyAPI/v7/internal/config" // ForceModelPrefix requires explicit model prefixes (e.g., "teamA/gemini-3-pro-preview") // to target prefixed credentials. When false, unprefixed model requests may use prefixed diff --git a/pkg/llmproxy/executor/aistudio_executor.go b/pkg/llmproxy/executor/aistudio_executor.go index 8b862c3fb4..7be5a07d32 100644 --- a/pkg/llmproxy/executor/aistudio_executor.go +++ b/pkg/llmproxy/executor/aistudio_executor.go @@ -13,12 +13,12 @@ import ( "net/url" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/wsrelay" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/wsrelay" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/executor/antigravity_executor.go b/pkg/llmproxy/executor/antigravity_executor.go index 3cc953b66d..f0ad02875e 100644 --- a/pkg/llmproxy/executor/antigravity_executor.go +++ b/pkg/llmproxy/executor/antigravity_executor.go @@ -24,15 +24,15 @@ import ( "time" "github.com/google/uuid" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/executor/antigravity_executor_buildrequest_test.go b/pkg/llmproxy/executor/antigravity_executor_buildrequest_test.go index 9cfed5da75..7cb33e12a1 100644 --- a/pkg/llmproxy/executor/antigravity_executor_buildrequest_test.go +++ b/pkg/llmproxy/executor/antigravity_executor_buildrequest_test.go @@ -6,7 +6,7 @@ import ( "io" "testing" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func TestAntigravityBuildRequest_SanitizesGeminiToolSchema(t *testing.T) { diff --git a/pkg/llmproxy/executor/auth_status_test.go b/pkg/llmproxy/executor/auth_status_test.go index ffaaa65125..6a204ff022 100644 --- a/pkg/llmproxy/executor/auth_status_test.go +++ b/pkg/llmproxy/executor/auth_status_test.go @@ -5,8 +5,8 @@ import ( "net/http" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/wsrelay" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/wsrelay" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" ) func TestAIStudioHttpRequestMissingAuthStatus(t *testing.T) { diff --git a/pkg/llmproxy/executor/claude_executor.go b/pkg/llmproxy/executor/claude_executor.go index df1f1956ba..8c0c8e267f 100644 --- a/pkg/llmproxy/executor/claude_executor.go +++ b/pkg/llmproxy/executor/claude_executor.go @@ -14,14 +14,14 @@ import ( "github.com/andybalholm/brotli" "github.com/klauspost/compress/zstd" - claudeauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/claude" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + claudeauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/claude" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/executor/claude_executor_test.go b/pkg/llmproxy/executor/claude_executor_test.go index 3c1f57d163..e7b3e63087 100644 --- a/pkg/llmproxy/executor/claude_executor_test.go +++ b/pkg/llmproxy/executor/claude_executor_test.go @@ -8,10 +8,10 @@ import ( "net/http/httptest" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/executor/codex_executor.go b/pkg/llmproxy/executor/codex_executor.go index f0698e8c81..2a36d4c911 100644 --- a/pkg/llmproxy/executor/codex_executor.go +++ b/pkg/llmproxy/executor/codex_executor.go @@ -11,14 +11,14 @@ import ( "strings" "time" - codexauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/codex" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + codexauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/codex" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/executor/codex_executor_compact_test.go b/pkg/llmproxy/executor/codex_executor_compact_test.go index 6e279c527f..e87aee2863 100644 --- a/pkg/llmproxy/executor/codex_executor_compact_test.go +++ b/pkg/llmproxy/executor/codex_executor_compact_test.go @@ -7,10 +7,10 @@ import ( "net/http/httptest" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/executor/codex_executor_cpb0106_test.go b/pkg/llmproxy/executor/codex_executor_cpb0106_test.go index aabed3d178..755d9b076e 100644 --- a/pkg/llmproxy/executor/codex_executor_cpb0106_test.go +++ b/pkg/llmproxy/executor/codex_executor_cpb0106_test.go @@ -10,10 +10,10 @@ import ( "testing" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/executor/codex_executor_cpb0227_test.go b/pkg/llmproxy/executor/codex_executor_cpb0227_test.go index a170da7e83..e4aebe6555 100644 --- a/pkg/llmproxy/executor/codex_executor_cpb0227_test.go +++ b/pkg/llmproxy/executor/codex_executor_cpb0227_test.go @@ -9,10 +9,10 @@ import ( "strings" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" ) func TestCodexExecutor_CPB0227_ExecuteFailsWhenStreamClosesBeforeResponseCompleted(t *testing.T) { diff --git a/pkg/llmproxy/executor/codex_websockets_executor.go b/pkg/llmproxy/executor/codex_websockets_executor.go index 0dbf82cc73..0481614d88 100644 --- a/pkg/llmproxy/executor/codex_websockets_executor.go +++ b/pkg/llmproxy/executor/codex_websockets_executor.go @@ -17,13 +17,13 @@ import ( "github.com/google/uuid" "github.com/gorilla/websocket" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/executor/gemini_cli_executor.go b/pkg/llmproxy/executor/gemini_cli_executor.go index f4e030176a..11d7d256b9 100644 --- a/pkg/llmproxy/executor/gemini_cli_executor.go +++ b/pkg/llmproxy/executor/gemini_cli_executor.go @@ -17,15 +17,15 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/runtime/geminicli" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/runtime/geminicli" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/executor/gemini_cli_executor_model_test.go b/pkg/llmproxy/executor/gemini_cli_executor_model_test.go index e90eb764fb..313aee41d5 100644 --- a/pkg/llmproxy/executor/gemini_cli_executor_model_test.go +++ b/pkg/llmproxy/executor/gemini_cli_executor_model_test.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/executor/gemini_executor.go b/pkg/llmproxy/executor/gemini_executor.go index 00e186ab74..04570675f5 100644 --- a/pkg/llmproxy/executor/gemini_executor.go +++ b/pkg/llmproxy/executor/gemini_executor.go @@ -14,13 +14,13 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/executor/gemini_vertex_executor.go b/pkg/llmproxy/executor/gemini_vertex_executor.go index a6e0ede526..b8aaf37550 100644 --- a/pkg/llmproxy/executor/gemini_vertex_executor.go +++ b/pkg/llmproxy/executor/gemini_vertex_executor.go @@ -14,13 +14,13 @@ import ( "strings" "time" - vertexauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/vertex" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + vertexauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/vertex" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/executor/github_copilot_executor.go b/pkg/llmproxy/executor/github_copilot_executor.go index 5f6c2a67dc..26c4e1ea0c 100644 --- a/pkg/llmproxy/executor/github_copilot_executor.go +++ b/pkg/llmproxy/executor/github_copilot_executor.go @@ -12,12 +12,12 @@ import ( "time" "github.com/google/uuid" - copilotauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/copilot" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + copilotauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/copilot" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/executor/github_copilot_executor_test.go b/pkg/llmproxy/executor/github_copilot_executor_test.go index a3905f8bae..97b66113d8 100644 --- a/pkg/llmproxy/executor/github_copilot_executor_test.go +++ b/pkg/llmproxy/executor/github_copilot_executor_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/executor/http_helpers.go b/pkg/llmproxy/executor/http_helpers.go index 7f657e231f..8266729620 100644 --- a/pkg/llmproxy/executor/http_helpers.go +++ b/pkg/llmproxy/executor/http_helpers.go @@ -5,8 +5,8 @@ import ( "io" "net/http" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/executor/iflow_executor.go b/pkg/llmproxy/executor/iflow_executor.go index 3d3c648c4e..d3a3e6d6af 100644 --- a/pkg/llmproxy/executor/iflow_executor.go +++ b/pkg/llmproxy/executor/iflow_executor.go @@ -14,12 +14,12 @@ import ( "time" "github.com/google/uuid" - iflowauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/iflow" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + iflowauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/iflow" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/executor/iflow_executor_test.go b/pkg/llmproxy/executor/iflow_executor_test.go index 04d1d209e3..6eb1faa50f 100644 --- a/pkg/llmproxy/executor/iflow_executor_test.go +++ b/pkg/llmproxy/executor/iflow_executor_test.go @@ -9,10 +9,10 @@ import ( "strings" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" ) func TestIFlowExecutorParseSuffix(t *testing.T) { diff --git a/pkg/llmproxy/executor/kilo_executor.go b/pkg/llmproxy/executor/kilo_executor.go index 2a3c25078d..0d2546ff09 100644 --- a/pkg/llmproxy/executor/kilo_executor.go +++ b/pkg/llmproxy/executor/kilo_executor.go @@ -10,13 +10,13 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/executor/kimi_executor.go b/pkg/llmproxy/executor/kimi_executor.go index e70bde93cb..d111561e49 100644 --- a/pkg/llmproxy/executor/kimi_executor.go +++ b/pkg/llmproxy/executor/kimi_executor.go @@ -13,12 +13,12 @@ import ( "strings" "time" - kimiauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kimi" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + kimiauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kimi" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/executor/kiro_auth.go b/pkg/llmproxy/executor/kiro_auth.go index 2adf85d76f..777605ad33 100644 --- a/pkg/llmproxy/executor/kiro_auth.go +++ b/pkg/llmproxy/executor/kiro_auth.go @@ -14,10 +14,10 @@ import ( "time" "github.com/google/uuid" - kiroauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kiro" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + kiroauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kiro" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/executor/kiro_executor.go b/pkg/llmproxy/executor/kiro_executor.go index cde163ec42..b2681ab6aa 100644 --- a/pkg/llmproxy/executor/kiro_executor.go +++ b/pkg/llmproxy/executor/kiro_executor.go @@ -14,15 +14,15 @@ import ( "time" "github.com/google/uuid" - kiroauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kiro" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - kiroclaude "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/claude" - kirocommon "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/common" - kiroopenai "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/openai" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + kiroauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kiro" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + kiroclaude "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/claude" + kirocommon "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/common" + kiroopenai "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/openai" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/executor/kiro_executor_metadata_test.go b/pkg/llmproxy/executor/kiro_executor_metadata_test.go index d3e3e209b4..137f0dd33a 100644 --- a/pkg/llmproxy/executor/kiro_executor_metadata_test.go +++ b/pkg/llmproxy/executor/kiro_executor_metadata_test.go @@ -3,7 +3,7 @@ package executor import ( "testing" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func TestGetEffectiveProfileArnWithWarning_UsesCamelCaseIDCMetadata(t *testing.T) { diff --git a/pkg/llmproxy/executor/kiro_streaming.go b/pkg/llmproxy/executor/kiro_streaming.go index 2e3ea70162..9a13736509 100644 --- a/pkg/llmproxy/executor/kiro_streaming.go +++ b/pkg/llmproxy/executor/kiro_streaming.go @@ -15,14 +15,14 @@ import ( "time" "github.com/google/uuid" - kiroauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kiro" - kiroclaude "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/claude" - kirocommon "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/common" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - clipproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - clipproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/usage" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + kiroauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kiro" + kiroclaude "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/claude" + kirocommon "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/common" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + clipproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + clipproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/usage" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/executor/kiro_streaming_event_parser.go b/pkg/llmproxy/executor/kiro_streaming_event_parser.go index 548d9409b5..ea6bfaf6dc 100644 --- a/pkg/llmproxy/executor/kiro_streaming_event_parser.go +++ b/pkg/llmproxy/executor/kiro_streaming_event_parser.go @@ -8,9 +8,9 @@ import ( "io" "strings" - kiroclaude "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/claude" - kirocommon "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/common" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/usage" + kiroclaude "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/claude" + kirocommon "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/common" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/usage" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/executor/kiro_streaming_fallback.go b/pkg/llmproxy/executor/kiro_streaming_fallback.go index 7b7ac33032..62b9cacf10 100644 --- a/pkg/llmproxy/executor/kiro_streaming_fallback.go +++ b/pkg/llmproxy/executor/kiro_streaming_fallback.go @@ -6,8 +6,8 @@ import ( "fmt" "io" - clipproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + clipproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/executor/kiro_streaming_init.go b/pkg/llmproxy/executor/kiro_streaming_init.go index 4bfccea2d2..27d85981a0 100644 --- a/pkg/llmproxy/executor/kiro_streaming_init.go +++ b/pkg/llmproxy/executor/kiro_streaming_init.go @@ -10,12 +10,12 @@ import ( "time" "github.com/google/uuid" - kiroauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kiro" - kiroclaude "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/claude" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - clipproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - clipproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + kiroauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kiro" + kiroclaude "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/claude" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + clipproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + clipproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/executor/kiro_streaming_transform.go b/pkg/llmproxy/executor/kiro_streaming_transform.go index 75d6e2ca92..19773d9176 100644 --- a/pkg/llmproxy/executor/kiro_streaming_transform.go +++ b/pkg/llmproxy/executor/kiro_streaming_transform.go @@ -12,11 +12,11 @@ import ( "sync/atomic" "time" - kiroclaude "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/claude" - kirocommon "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/common" - clipproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/usage" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + kiroclaude "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/claude" + kirocommon "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/common" + clipproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/usage" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/executor/kiro_streaming_websearch.go b/pkg/llmproxy/executor/kiro_streaming_websearch.go index 8fabae19ed..806e31a6bd 100644 --- a/pkg/llmproxy/executor/kiro_streaming_websearch.go +++ b/pkg/llmproxy/executor/kiro_streaming_websearch.go @@ -11,10 +11,10 @@ import ( "sync" "sync/atomic" - kiroclaude "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/claude" - clipproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - clipproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + kiroclaude "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/claude" + clipproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + clipproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/executor/kiro_transform.go b/pkg/llmproxy/executor/kiro_transform.go index 78c235edfc..b1e38cf2b5 100644 --- a/pkg/llmproxy/executor/kiro_transform.go +++ b/pkg/llmproxy/executor/kiro_transform.go @@ -8,10 +8,10 @@ import ( "net/http" "strings" - kiroclaude "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/claude" - kiroopenai "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/openai" - clipproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + kiroclaude "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/claude" + kiroopenai "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/openai" + clipproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/executor/logging_helpers.go b/pkg/llmproxy/executor/logging_helpers.go index 88a7948b7f..610e7fdcc8 100644 --- a/pkg/llmproxy/executor/logging_helpers.go +++ b/pkg/llmproxy/executor/logging_helpers.go @@ -11,9 +11,9 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/logging" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/logging" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/executor/logging_helpers_test.go b/pkg/llmproxy/executor/logging_helpers_test.go index 8d0c0aab76..46fd45b2aa 100644 --- a/pkg/llmproxy/executor/logging_helpers_test.go +++ b/pkg/llmproxy/executor/logging_helpers_test.go @@ -10,7 +10,7 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestRecordAPIResponseMetadataRecordsTimestamp(t *testing.T) { diff --git a/pkg/llmproxy/executor/oauth_upstream.go b/pkg/llmproxy/executor/oauth_upstream.go index b7ed6dce7e..ca4bb3eda2 100644 --- a/pkg/llmproxy/executor/oauth_upstream.go +++ b/pkg/llmproxy/executor/oauth_upstream.go @@ -3,8 +3,8 @@ package executor import ( "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func resolveOAuthBaseURL(cfg *config.Config, channel, defaultBaseURL string, auth *cliproxyauth.Auth) string { diff --git a/pkg/llmproxy/executor/oauth_upstream_test.go b/pkg/llmproxy/executor/oauth_upstream_test.go index 61dcf8f0fb..dcb7e1768c 100644 --- a/pkg/llmproxy/executor/oauth_upstream_test.go +++ b/pkg/llmproxy/executor/oauth_upstream_test.go @@ -3,7 +3,7 @@ package executor import ( "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestResolveOAuthBaseURLWithOverride_PreferenceOrder(t *testing.T) { diff --git a/pkg/llmproxy/executor/openai_compat_executor.go b/pkg/llmproxy/executor/openai_compat_executor.go index 9ab34da875..7e50fb0666 100644 --- a/pkg/llmproxy/executor/openai_compat_executor.go +++ b/pkg/llmproxy/executor/openai_compat_executor.go @@ -12,12 +12,12 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/executor/openai_compat_executor_compact_test.go b/pkg/llmproxy/executor/openai_compat_executor_compact_test.go index f710cb836c..193aac4c86 100644 --- a/pkg/llmproxy/executor/openai_compat_executor_compact_test.go +++ b/pkg/llmproxy/executor/openai_compat_executor_compact_test.go @@ -8,10 +8,10 @@ import ( "strings" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/executor/openai_models_fetcher.go b/pkg/llmproxy/executor/openai_models_fetcher.go index 2d96e9b54c..c387ee6619 100644 --- a/pkg/llmproxy/executor/openai_models_fetcher.go +++ b/pkg/llmproxy/executor/openai_models_fetcher.go @@ -9,9 +9,9 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/executor/openai_models_fetcher_test.go b/pkg/llmproxy/executor/openai_models_fetcher_test.go index e065319932..d8b13f523a 100644 --- a/pkg/llmproxy/executor/openai_models_fetcher_test.go +++ b/pkg/llmproxy/executor/openai_models_fetcher_test.go @@ -6,8 +6,8 @@ import ( "net/http/httptest" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func TestResolveOpenAIModelsURL(t *testing.T) { diff --git a/pkg/llmproxy/executor/payload_helpers.go b/pkg/llmproxy/executor/payload_helpers.go index a6b86bf1c7..145f26d530 100644 --- a/pkg/llmproxy/executor/payload_helpers.go +++ b/pkg/llmproxy/executor/payload_helpers.go @@ -4,9 +4,9 @@ import ( "encoding/json" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/executor/proxy_helpers.go b/pkg/llmproxy/executor/proxy_helpers.go index ec16476ce1..8133542c2c 100644 --- a/pkg/llmproxy/executor/proxy_helpers.go +++ b/pkg/llmproxy/executor/proxy_helpers.go @@ -11,9 +11,9 @@ import ( "sync" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" "golang.org/x/net/proxy" ) diff --git a/pkg/llmproxy/executor/qwen_executor.go b/pkg/llmproxy/executor/qwen_executor.go index 528675995c..27ea65797c 100644 --- a/pkg/llmproxy/executor/qwen_executor.go +++ b/pkg/llmproxy/executor/qwen_executor.go @@ -9,12 +9,12 @@ import ( "strings" "time" - qwenauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/qwen" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + qwenauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/qwen" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/executor/qwen_executor_test.go b/pkg/llmproxy/executor/qwen_executor_test.go index 26cc5e0677..b03d9e8524 100644 --- a/pkg/llmproxy/executor/qwen_executor_test.go +++ b/pkg/llmproxy/executor/qwen_executor_test.go @@ -3,7 +3,7 @@ package executor import ( "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" ) func TestQwenExecutorParseSuffix(t *testing.T) { diff --git a/pkg/llmproxy/executor/stream_helpers.go b/pkg/llmproxy/executor/stream_helpers.go index 19f33d6d15..6184a34eb6 100644 --- a/pkg/llmproxy/executor/stream_helpers.go +++ b/pkg/llmproxy/executor/stream_helpers.go @@ -6,7 +6,7 @@ import ( "context" "net/http" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/executor/thinking_providers.go b/pkg/llmproxy/executor/thinking_providers.go index 3be8b1cda9..05c2928590 100644 --- a/pkg/llmproxy/executor/thinking_providers.go +++ b/pkg/llmproxy/executor/thinking_providers.go @@ -1,12 +1,12 @@ package executor import ( - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking/provider/antigravity" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking/provider/claude" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking/provider/codex" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking/provider/gemini" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking/provider/geminicli" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking/provider/iflow" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking/provider/kimi" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking/provider/openai" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking/provider/antigravity" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking/provider/claude" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking/provider/codex" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking/provider/gemini" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking/provider/geminicli" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking/provider/iflow" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking/provider/kimi" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking/provider/openai" ) diff --git a/pkg/llmproxy/executor/usage_helpers.go b/pkg/llmproxy/executor/usage_helpers.go index 21d4177489..8db639ff41 100644 --- a/pkg/llmproxy/executor/usage_helpers.go +++ b/pkg/llmproxy/executor/usage_helpers.go @@ -10,8 +10,8 @@ import ( "time" "github.com/gin-gonic/gin" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/usage" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/usage" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/interfaces/error_message.go b/pkg/llmproxy/interfaces/error_message.go index b345c631b0..d971ba7ae0 100644 --- a/pkg/llmproxy/interfaces/error_message.go +++ b/pkg/llmproxy/interfaces/error_message.go @@ -1,7 +1,7 @@ package interfaces import ( - internalinterfaces "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/interfaces" + internalinterfaces "github.com/kooshapari/CLIProxyAPI/v7/internal/interfaces" ) // ErrorMessage encapsulates an error with an associated HTTP status code. diff --git a/pkg/llmproxy/interfaces/types.go b/pkg/llmproxy/interfaces/types.go index 3155d73fca..9443b61e13 100644 --- a/pkg/llmproxy/interfaces/types.go +++ b/pkg/llmproxy/interfaces/types.go @@ -3,7 +3,7 @@ // transformation operations, maintaining compatibility with the SDK translator package. package interfaces -import sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" +import sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" // Backwards compatible aliases for translator function types. type TranslateRequestFunc = sdktranslator.RequestTransform diff --git a/pkg/llmproxy/logging/gin_logger.go b/pkg/llmproxy/logging/gin_logger.go index 146f3bcbb0..c465f7c50e 100644 --- a/pkg/llmproxy/logging/gin_logger.go +++ b/pkg/llmproxy/logging/gin_logger.go @@ -12,7 +12,7 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/logging/global_logger.go b/pkg/llmproxy/logging/global_logger.go index 8f5fb240e6..de7dfc9062 100644 --- a/pkg/llmproxy/logging/global_logger.go +++ b/pkg/llmproxy/logging/global_logger.go @@ -10,8 +10,8 @@ import ( "sync" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" "gopkg.in/natefinch/lumberjack.v2" ) diff --git a/pkg/llmproxy/logging/request_logger.go b/pkg/llmproxy/logging/request_logger.go index 67edfbf88e..ff3a994f26 100644 --- a/pkg/llmproxy/logging/request_logger.go +++ b/pkg/llmproxy/logging/request_logger.go @@ -21,9 +21,9 @@ import ( "github.com/klauspost/compress/zstd" log "github.com/sirupsen/logrus" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/buildinfo" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/buildinfo" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" ) var requestLogID atomic.Uint64 diff --git a/pkg/llmproxy/managementasset/updater.go b/pkg/llmproxy/managementasset/updater.go index d425da3d40..4f52159f1d 100644 --- a/pkg/llmproxy/managementasset/updater.go +++ b/pkg/llmproxy/managementasset/updater.go @@ -17,8 +17,8 @@ import ( "sync/atomic" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" "golang.org/x/sync/singleflight" ) diff --git a/pkg/llmproxy/registry/model_registry.go b/pkg/llmproxy/registry/model_registry.go index 9911a2cb63..ab5f93cd0c 100644 --- a/pkg/llmproxy/registry/model_registry.go +++ b/pkg/llmproxy/registry/model_registry.go @@ -11,7 +11,7 @@ import ( "sync" "time" - misc "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/misc" + misc "github.com/kooshapari/CLIProxyAPI/v7/internal/misc" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/registry/pareto_router.go b/pkg/llmproxy/registry/pareto_router.go index fedd924629..0760f30a5c 100644 --- a/pkg/llmproxy/registry/pareto_router.go +++ b/pkg/llmproxy/registry/pareto_router.go @@ -15,7 +15,7 @@ import ( "math" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/benchmarks" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/benchmarks" ) // qualityProxy maps known model IDs to their quality scores in [0,1]. diff --git a/pkg/llmproxy/runtime/executor/oauth_upstream_test.go b/pkg/llmproxy/runtime/executor/oauth_upstream_test.go index 0449bb25f3..31132829c5 100644 --- a/pkg/llmproxy/runtime/executor/oauth_upstream_test.go +++ b/pkg/llmproxy/runtime/executor/oauth_upstream_test.go @@ -3,7 +3,7 @@ package executor import ( "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func resolveOAuthBaseURLWithOverride(cfg *config.Config, provider, defaultURL, authURL string) string { diff --git a/pkg/llmproxy/store/gitstore.go b/pkg/llmproxy/store/gitstore.go index dc0abaa213..e183e7a5aa 100644 --- a/pkg/llmproxy/store/gitstore.go +++ b/pkg/llmproxy/store/gitstore.go @@ -18,7 +18,7 @@ import ( "github.com/go-git/go-git/v6/plumbing/object" "github.com/go-git/go-git/v6/plumbing/transport" "github.com/go-git/go-git/v6/plumbing/transport/http" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) // gcInterval defines minimum time between garbage collection runs. diff --git a/pkg/llmproxy/store/gitstore_security_test.go b/pkg/llmproxy/store/gitstore_security_test.go index 7c0f62704b..1f31606d21 100644 --- a/pkg/llmproxy/store/gitstore_security_test.go +++ b/pkg/llmproxy/store/gitstore_security_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func TestResolveDeletePath_RejectsTraversalAndAbsolute(t *testing.T) { diff --git a/pkg/llmproxy/store/objectstore.go b/pkg/llmproxy/store/objectstore.go index 50f882338d..0228e4f8c8 100644 --- a/pkg/llmproxy/store/objectstore.go +++ b/pkg/llmproxy/store/objectstore.go @@ -15,8 +15,8 @@ import ( "sync" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" log "github.com/sirupsen/logrus" diff --git a/pkg/llmproxy/store/objectstore_path_test.go b/pkg/llmproxy/store/objectstore_path_test.go index fef467f23f..525519dbc9 100644 --- a/pkg/llmproxy/store/objectstore_path_test.go +++ b/pkg/llmproxy/store/objectstore_path_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func TestObjectResolveAuthPathRejectsTraversalFromAttributes(t *testing.T) { diff --git a/pkg/llmproxy/store/path_guard_test.go b/pkg/llmproxy/store/path_guard_test.go index 8f0ba1f706..73badd5f74 100644 --- a/pkg/llmproxy/store/path_guard_test.go +++ b/pkg/llmproxy/store/path_guard_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func TestObjectTokenStoreSaveRejectsPathOutsideAuthDir(t *testing.T) { diff --git a/pkg/llmproxy/store/postgresstore.go b/pkg/llmproxy/store/postgresstore.go index 8be6a3ec88..7e06308f4c 100644 --- a/pkg/llmproxy/store/postgresstore.go +++ b/pkg/llmproxy/store/postgresstore.go @@ -14,8 +14,8 @@ import ( "time" _ "github.com/jackc/pgx/v5/stdlib" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/store/postgresstore_path_test.go b/pkg/llmproxy/store/postgresstore_path_test.go index 03b379dc81..5958494c81 100644 --- a/pkg/llmproxy/store/postgresstore_path_test.go +++ b/pkg/llmproxy/store/postgresstore_path_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func TestPostgresResolveAuthPathRejectsTraversalFromFileName(t *testing.T) { diff --git a/pkg/llmproxy/store/postgresstore_test.go b/pkg/llmproxy/store/postgresstore_test.go index 58007b4faf..4d21482832 100644 --- a/pkg/llmproxy/store/postgresstore_test.go +++ b/pkg/llmproxy/store/postgresstore_test.go @@ -10,7 +10,7 @@ import ( _ "modernc.org/sqlite" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func TestSyncAuthFromDatabase_PreservesLocalOnlyFiles(t *testing.T) { diff --git a/pkg/llmproxy/thinking/apply.go b/pkg/llmproxy/thinking/apply.go index 5753b38cfa..ff46896ecd 100644 --- a/pkg/llmproxy/thinking/apply.go +++ b/pkg/llmproxy/thinking/apply.go @@ -4,8 +4,8 @@ package thinking import ( "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/thinking/convert.go b/pkg/llmproxy/thinking/convert.go index 64324e1cdd..72e2433e98 100644 --- a/pkg/llmproxy/thinking/convert.go +++ b/pkg/llmproxy/thinking/convert.go @@ -3,7 +3,7 @@ package thinking import ( "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" ) // levelToBudgetMap defines the standard Level → Budget mapping. diff --git a/pkg/llmproxy/thinking/log_redaction_test.go b/pkg/llmproxy/thinking/log_redaction_test.go index 2c0976f542..f424f673fe 100644 --- a/pkg/llmproxy/thinking/log_redaction_test.go +++ b/pkg/llmproxy/thinking/log_redaction_test.go @@ -3,7 +3,7 @@ package thinking import ( "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" log "github.com/sirupsen/logrus" "github.com/sirupsen/logrus/hooks/test" ) diff --git a/pkg/llmproxy/thinking/provider/antigravity/apply.go b/pkg/llmproxy/thinking/provider/antigravity/apply.go index 10e6fc81bc..8d13dbc2a1 100644 --- a/pkg/llmproxy/thinking/provider/antigravity/apply.go +++ b/pkg/llmproxy/thinking/provider/antigravity/apply.go @@ -9,8 +9,8 @@ package antigravity import ( "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/thinking/provider/antigravity/apply_test.go b/pkg/llmproxy/thinking/provider/antigravity/apply_test.go index fc193cb055..8152472c1d 100644 --- a/pkg/llmproxy/thinking/provider/antigravity/apply_test.go +++ b/pkg/llmproxy/thinking/provider/antigravity/apply_test.go @@ -3,8 +3,8 @@ package antigravity import ( "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/thinking/provider/claude/apply.go b/pkg/llmproxy/thinking/provider/claude/apply.go index 83d70353be..5fb5f69a93 100644 --- a/pkg/llmproxy/thinking/provider/claude/apply.go +++ b/pkg/llmproxy/thinking/provider/claude/apply.go @@ -10,8 +10,8 @@ package claude import ( "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/thinking/provider/claude/apply_test.go b/pkg/llmproxy/thinking/provider/claude/apply_test.go index 841f4afc82..49c881d7e0 100644 --- a/pkg/llmproxy/thinking/provider/claude/apply_test.go +++ b/pkg/llmproxy/thinking/provider/claude/apply_test.go @@ -3,8 +3,8 @@ package claude import ( "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/thinking/provider/codex/apply.go b/pkg/llmproxy/thinking/provider/codex/apply.go index 2d514b4d37..fa5f0d41d5 100644 --- a/pkg/llmproxy/thinking/provider/codex/apply.go +++ b/pkg/llmproxy/thinking/provider/codex/apply.go @@ -9,8 +9,8 @@ package codex import ( "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/thinking/provider/gemini/apply.go b/pkg/llmproxy/thinking/provider/gemini/apply.go index 0f81b3d195..2e96207c41 100644 --- a/pkg/llmproxy/thinking/provider/gemini/apply.go +++ b/pkg/llmproxy/thinking/provider/gemini/apply.go @@ -12,8 +12,8 @@ package gemini import ( - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/thinking/provider/gemini/apply_test.go b/pkg/llmproxy/thinking/provider/gemini/apply_test.go index 608fd1b977..4247fa7358 100644 --- a/pkg/llmproxy/thinking/provider/gemini/apply_test.go +++ b/pkg/llmproxy/thinking/provider/gemini/apply_test.go @@ -3,8 +3,8 @@ package gemini import ( "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/thinking/provider/geminicli/apply.go b/pkg/llmproxy/thinking/provider/geminicli/apply.go index aa160d9bd2..38ff04f412 100644 --- a/pkg/llmproxy/thinking/provider/geminicli/apply.go +++ b/pkg/llmproxy/thinking/provider/geminicli/apply.go @@ -5,8 +5,8 @@ package geminicli import ( - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/thinking/provider/geminicli/apply_test.go b/pkg/llmproxy/thinking/provider/geminicli/apply_test.go index 704b91dfdf..ed473528cb 100644 --- a/pkg/llmproxy/thinking/provider/geminicli/apply_test.go +++ b/pkg/llmproxy/thinking/provider/geminicli/apply_test.go @@ -3,8 +3,8 @@ package geminicli import ( "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/thinking/provider/iflow/apply.go b/pkg/llmproxy/thinking/provider/iflow/apply.go index 26d37577ff..c43fd59112 100644 --- a/pkg/llmproxy/thinking/provider/iflow/apply.go +++ b/pkg/llmproxy/thinking/provider/iflow/apply.go @@ -11,8 +11,8 @@ package iflow import ( "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/thinking/provider/iflow/apply_test.go b/pkg/llmproxy/thinking/provider/iflow/apply_test.go index 25e1529118..a359cb1e31 100644 --- a/pkg/llmproxy/thinking/provider/iflow/apply_test.go +++ b/pkg/llmproxy/thinking/provider/iflow/apply_test.go @@ -3,8 +3,8 @@ package iflow import ( "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/thinking/provider/kimi/apply.go b/pkg/llmproxy/thinking/provider/kimi/apply.go index 8531a84461..727e7526f3 100644 --- a/pkg/llmproxy/thinking/provider/kimi/apply.go +++ b/pkg/llmproxy/thinking/provider/kimi/apply.go @@ -8,8 +8,8 @@ package kimi import ( "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/thinking/provider/openai/apply.go b/pkg/llmproxy/thinking/provider/openai/apply.go index 297914a733..98930eb036 100644 --- a/pkg/llmproxy/thinking/provider/openai/apply.go +++ b/pkg/llmproxy/thinking/provider/openai/apply.go @@ -8,8 +8,8 @@ package openai import ( "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/thinking/types.go b/pkg/llmproxy/thinking/types.go index fec0cb302a..0a05b79111 100644 --- a/pkg/llmproxy/thinking/types.go +++ b/pkg/llmproxy/thinking/types.go @@ -4,7 +4,7 @@ // thinking configurations across various AI providers (Claude, Gemini, OpenAI, iFlow). package thinking -import "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" +import "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" // ThinkingMode represents the type of thinking configuration mode. type ThinkingMode int diff --git a/pkg/llmproxy/thinking/validate.go b/pkg/llmproxy/thinking/validate.go index d9439c6407..e9dd7f6e7a 100644 --- a/pkg/llmproxy/thinking/validate.go +++ b/pkg/llmproxy/thinking/validate.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/thinking/validate_test.go b/pkg/llmproxy/thinking/validate_test.go index f32511989a..cc88348f7f 100644 --- a/pkg/llmproxy/thinking/validate_test.go +++ b/pkg/llmproxy/thinking/validate_test.go @@ -3,7 +3,7 @@ package thinking import ( "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" ) func TestValidateConfig_ClampBudgetToModelMinAndMaxBoundaries(t *testing.T) { diff --git a/pkg/llmproxy/translator/antigravity/claude/antigravity_claude_request.go b/pkg/llmproxy/translator/antigravity/claude/antigravity_claude_request.go index 9ce1b5d96c..9b71ae5a10 100644 --- a/pkg/llmproxy/translator/antigravity/claude/antigravity_claude_request.go +++ b/pkg/llmproxy/translator/antigravity/claude/antigravity_claude_request.go @@ -8,11 +8,11 @@ package claude import ( "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/cache" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/common" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/cache" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/common" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/antigravity/claude/antigravity_claude_request_test.go b/pkg/llmproxy/translator/antigravity/claude/antigravity_claude_request_test.go index aef1bd6c10..bb15b40355 100644 --- a/pkg/llmproxy/translator/antigravity/claude/antigravity_claude_request_test.go +++ b/pkg/llmproxy/translator/antigravity/claude/antigravity_claude_request_test.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/cache" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/cache" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/translator/antigravity/claude/antigravity_claude_response.go b/pkg/llmproxy/translator/antigravity/claude/antigravity_claude_response.go index 0c0647fd42..48692eaf5a 100644 --- a/pkg/llmproxy/translator/antigravity/claude/antigravity_claude_response.go +++ b/pkg/llmproxy/translator/antigravity/claude/antigravity_claude_response.go @@ -14,7 +14,7 @@ import ( "sync/atomic" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/cache" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/cache" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" diff --git a/pkg/llmproxy/translator/antigravity/claude/antigravity_claude_response_test.go b/pkg/llmproxy/translator/antigravity/claude/antigravity_claude_response_test.go index 4352476e6b..3f66403fee 100644 --- a/pkg/llmproxy/translator/antigravity/claude/antigravity_claude_response_test.go +++ b/pkg/llmproxy/translator/antigravity/claude/antigravity_claude_response_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/cache" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/cache" ) // ============================================================================ diff --git a/pkg/llmproxy/translator/antigravity/gemini/antigravity_gemini_request.go b/pkg/llmproxy/translator/antigravity/gemini/antigravity_gemini_request.go index 27ec62b2b5..f664e4933f 100644 --- a/pkg/llmproxy/translator/antigravity/gemini/antigravity_gemini_request.go +++ b/pkg/llmproxy/translator/antigravity/gemini/antigravity_gemini_request.go @@ -9,8 +9,8 @@ import ( "fmt" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/translator/gemini/common" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/internal/translator/gemini/common" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/translator/antigravity/gemini/antigravity_gemini_response.go b/pkg/llmproxy/translator/antigravity/gemini/antigravity_gemini_response.go index 1bed6f0bf4..e753313293 100644 --- a/pkg/llmproxy/translator/antigravity/gemini/antigravity_gemini_response.go +++ b/pkg/llmproxy/translator/antigravity/gemini/antigravity_gemini_response.go @@ -10,7 +10,7 @@ import ( "context" "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/antigravity/gemini/antigravity_gemini_response_test.go b/pkg/llmproxy/translator/antigravity/gemini/antigravity_gemini_response_test.go index f4177e5ca6..3b3ca0fa84 100644 --- a/pkg/llmproxy/translator/antigravity/gemini/antigravity_gemini_response_test.go +++ b/pkg/llmproxy/translator/antigravity/gemini/antigravity_gemini_response_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/translator/antigravity/openai/chat-completions/antigravity_openai_request.go b/pkg/llmproxy/translator/antigravity/openai/chat-completions/antigravity_openai_request.go index d59937f34a..be9a194f5a 100644 --- a/pkg/llmproxy/translator/antigravity/openai/chat-completions/antigravity_openai_request.go +++ b/pkg/llmproxy/translator/antigravity/openai/chat-completions/antigravity_openai_request.go @@ -6,9 +6,9 @@ import ( "fmt" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/common" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/common" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/translator/antigravity/openai/chat-completions/antigravity_openai_response.go b/pkg/llmproxy/translator/antigravity/openai/chat-completions/antigravity_openai_response.go index 3ad6cb7963..10dc26009f 100644 --- a/pkg/llmproxy/translator/antigravity/openai/chat-completions/antigravity_openai_response.go +++ b/pkg/llmproxy/translator/antigravity/openai/chat-completions/antigravity_openai_response.go @@ -15,7 +15,7 @@ import ( log "github.com/sirupsen/logrus" - geminiopenai "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/openai/chat-completions" + geminiopenai "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/openai/chat-completions" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/antigravity/openai/responses/antigravity_openai-responses_request.go b/pkg/llmproxy/translator/antigravity/openai/responses/antigravity_openai-responses_request.go index 6df3a8eb20..08cf788503 100644 --- a/pkg/llmproxy/translator/antigravity/openai/responses/antigravity_openai-responses_request.go +++ b/pkg/llmproxy/translator/antigravity/openai/responses/antigravity_openai-responses_request.go @@ -1,8 +1,8 @@ package responses import ( - antigravitygemini "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/antigravity/gemini" - geminiopenai "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/openai/responses" + antigravitygemini "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/antigravity/gemini" + geminiopenai "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/openai/responses" ) func ConvertOpenAIResponsesRequestToAntigravity(modelName string, inputRawJSON []byte, stream bool) []byte { diff --git a/pkg/llmproxy/translator/antigravity/openai/responses/antigravity_openai-responses_response.go b/pkg/llmproxy/translator/antigravity/openai/responses/antigravity_openai-responses_response.go index a74c1cc6de..3c8b5f9247 100644 --- a/pkg/llmproxy/translator/antigravity/openai/responses/antigravity_openai-responses_response.go +++ b/pkg/llmproxy/translator/antigravity/openai/responses/antigravity_openai-responses_response.go @@ -3,7 +3,7 @@ package responses import ( "context" - geminiopenai "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/openai/responses" + geminiopenai "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/openai/responses" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/translator/claude/gemini-cli/claude_gemini-cli_request.go b/pkg/llmproxy/translator/claude/gemini-cli/claude_gemini-cli_request.go index cf526e1f6d..533d723882 100644 --- a/pkg/llmproxy/translator/claude/gemini-cli/claude_gemini-cli_request.go +++ b/pkg/llmproxy/translator/claude/gemini-cli/claude_gemini-cli_request.go @@ -6,7 +6,7 @@ package geminiCLI import ( - claudegemini "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/claude/gemini" + claudegemini "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/claude/gemini" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/claude/gemini-cli/claude_gemini-cli_response.go b/pkg/llmproxy/translator/claude/gemini-cli/claude_gemini-cli_response.go index 8dc6aed3dd..1feec1373f 100644 --- a/pkg/llmproxy/translator/claude/gemini-cli/claude_gemini-cli_response.go +++ b/pkg/llmproxy/translator/claude/gemini-cli/claude_gemini-cli_response.go @@ -7,7 +7,7 @@ package geminiCLI import ( "context" - claudegemini "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/claude/gemini" + claudegemini "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/claude/gemini" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/claude/gemini/claude_gemini_request.go b/pkg/llmproxy/translator/claude/gemini/claude_gemini_request.go index a00ee153b6..e6d0dd6e51 100644 --- a/pkg/llmproxy/translator/claude/gemini/claude_gemini_request.go +++ b/pkg/llmproxy/translator/claude/gemini/claude_gemini_request.go @@ -14,8 +14,8 @@ import ( "strings" "github.com/google/uuid" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/claude/openai/chat-completions/claude_openai_request.go b/pkg/llmproxy/translator/claude/openai/chat-completions/claude_openai_request.go index 5b8128a03e..033bfd3c8d 100644 --- a/pkg/llmproxy/translator/claude/openai/chat-completions/claude_openai_request.go +++ b/pkg/llmproxy/translator/claude/openai/chat-completions/claude_openai_request.go @@ -14,7 +14,7 @@ import ( "strings" "github.com/google/uuid" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/claude/openai/responses/claude_openai-responses_request.go b/pkg/llmproxy/translator/claude/openai/responses/claude_openai-responses_request.go index 522c65c88e..35a310cecc 100644 --- a/pkg/llmproxy/translator/claude/openai/responses/claude_openai-responses_request.go +++ b/pkg/llmproxy/translator/claude/openai/responses/claude_openai-responses_request.go @@ -9,7 +9,7 @@ import ( "strings" "github.com/google/uuid" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/codex/claude/codex_claude_request.go b/pkg/llmproxy/translator/codex/claude/codex_claude_request.go index fc170d99af..823b76c127 100644 --- a/pkg/llmproxy/translator/codex/claude/codex_claude_request.go +++ b/pkg/llmproxy/translator/codex/claude/codex_claude_request.go @@ -10,8 +10,8 @@ import ( "strconv" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/util" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/codex/gemini-cli/codex_gemini-cli_request.go b/pkg/llmproxy/translator/codex/gemini-cli/codex_gemini-cli_request.go index ff65fd2d29..912f56d1ef 100644 --- a/pkg/llmproxy/translator/codex/gemini-cli/codex_gemini-cli_request.go +++ b/pkg/llmproxy/translator/codex/gemini-cli/codex_gemini-cli_request.go @@ -6,7 +6,7 @@ package geminiCLI import ( - codexgemini "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/codex/gemini" + codexgemini "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/codex/gemini" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/codex/gemini-cli/codex_gemini-cli_response.go b/pkg/llmproxy/translator/codex/gemini-cli/codex_gemini-cli_response.go index 21a4f2150c..968d32efab 100644 --- a/pkg/llmproxy/translator/codex/gemini-cli/codex_gemini-cli_response.go +++ b/pkg/llmproxy/translator/codex/gemini-cli/codex_gemini-cli_response.go @@ -8,7 +8,7 @@ import ( "context" "fmt" - codexgemini "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/codex/gemini" + codexgemini "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/codex/gemini" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/codex/gemini/codex_gemini_request.go b/pkg/llmproxy/translator/codex/gemini/codex_gemini_request.go index bd32270fe7..c3bd6270d2 100644 --- a/pkg/llmproxy/translator/codex/gemini/codex_gemini_request.go +++ b/pkg/llmproxy/translator/codex/gemini/codex_gemini_request.go @@ -12,8 +12,8 @@ import ( "strconv" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/gemini-cli/claude/gemini-cli_claude_request.go b/pkg/llmproxy/translator/gemini-cli/claude/gemini-cli_claude_request.go index f71ac8f8d7..2eb9cf9d05 100644 --- a/pkg/llmproxy/translator/gemini-cli/claude/gemini-cli_claude_request.go +++ b/pkg/llmproxy/translator/gemini-cli/claude/gemini-cli_claude_request.go @@ -9,7 +9,7 @@ import ( "bytes" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/common" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/common" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/gemini-cli/gemini/gemini-cli_gemini_request.go b/pkg/llmproxy/translator/gemini-cli/gemini/gemini-cli_gemini_request.go index 148e5b879a..94818cff9c 100644 --- a/pkg/llmproxy/translator/gemini-cli/gemini/gemini-cli_gemini_request.go +++ b/pkg/llmproxy/translator/gemini-cli/gemini/gemini-cli_gemini_request.go @@ -8,8 +8,8 @@ package gemini import ( "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/translator/gemini/common" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/internal/translator/gemini/common" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/translator/gemini-cli/gemini/gemini-cli_gemini_response.go b/pkg/llmproxy/translator/gemini-cli/gemini/gemini-cli_gemini_response.go index 33645e57ba..404dc92816 100644 --- a/pkg/llmproxy/translator/gemini-cli/gemini/gemini-cli_gemini_response.go +++ b/pkg/llmproxy/translator/gemini-cli/gemini/gemini-cli_gemini_response.go @@ -10,7 +10,7 @@ import ( "context" "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/gemini-cli/openai/chat-completions/gemini-cli_openai_request.go b/pkg/llmproxy/translator/gemini-cli/openai/chat-completions/gemini-cli_openai_request.go index c58ac6973a..7bd79e0324 100644 --- a/pkg/llmproxy/translator/gemini-cli/openai/chat-completions/gemini-cli_openai_request.go +++ b/pkg/llmproxy/translator/gemini-cli/openai/chat-completions/gemini-cli_openai_request.go @@ -6,8 +6,8 @@ import ( "fmt" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/common" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/common" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/translator/gemini-cli/openai/chat-completions/gemini-cli_openai_response.go b/pkg/llmproxy/translator/gemini-cli/openai/chat-completions/gemini-cli_openai_response.go index 2d74ccd029..607f81e4a3 100644 --- a/pkg/llmproxy/translator/gemini-cli/openai/chat-completions/gemini-cli_openai_response.go +++ b/pkg/llmproxy/translator/gemini-cli/openai/chat-completions/gemini-cli_openai_response.go @@ -13,7 +13,7 @@ import ( "sync/atomic" "time" - geminiopenai "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/openai/chat-completions" + geminiopenai "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/openai/chat-completions" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/translator/gemini-cli/openai/responses/gemini-cli_openai-responses_request.go b/pkg/llmproxy/translator/gemini-cli/openai/responses/gemini-cli_openai-responses_request.go index 1093d1f692..86f1d224b1 100644 --- a/pkg/llmproxy/translator/gemini-cli/openai/responses/gemini-cli_openai-responses_request.go +++ b/pkg/llmproxy/translator/gemini-cli/openai/responses/gemini-cli_openai-responses_request.go @@ -1,8 +1,8 @@ package responses import ( - geminicligemini "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini-cli/gemini" - geminiopenai "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/openai/responses" + geminicligemini "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini-cli/gemini" + geminiopenai "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/openai/responses" ) func ConvertOpenAIResponsesRequestToGeminiCLI(modelName string, inputRawJSON []byte, stream bool) []byte { diff --git a/pkg/llmproxy/translator/gemini-cli/openai/responses/gemini-cli_openai-responses_response.go b/pkg/llmproxy/translator/gemini-cli/openai/responses/gemini-cli_openai-responses_response.go index d9079bc533..2a3204ca60 100644 --- a/pkg/llmproxy/translator/gemini-cli/openai/responses/gemini-cli_openai-responses_response.go +++ b/pkg/llmproxy/translator/gemini-cli/openai/responses/gemini-cli_openai-responses_response.go @@ -3,7 +3,7 @@ package responses import ( "context" - geminiopenai "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/openai/responses" + geminiopenai "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/openai/responses" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/translator/gemini/claude/gemini_claude_request.go b/pkg/llmproxy/translator/gemini/claude/gemini_claude_request.go index b65843ea80..3093c225c7 100644 --- a/pkg/llmproxy/translator/gemini/claude/gemini_claude_request.go +++ b/pkg/llmproxy/translator/gemini/claude/gemini_claude_request.go @@ -9,7 +9,7 @@ import ( "bytes" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/common" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/common" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/gemini/common/sanitize.go b/pkg/llmproxy/translator/gemini/common/sanitize.go index de40c93f62..d0c332ae3c 100644 --- a/pkg/llmproxy/translator/gemini/common/sanitize.go +++ b/pkg/llmproxy/translator/gemini/common/sanitize.go @@ -4,7 +4,7 @@ import ( "sort" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/gemini/gemini-cli/gemini_gemini-cli_request.go b/pkg/llmproxy/translator/gemini/gemini-cli/gemini_gemini-cli_request.go index 129e0bb499..53074b4843 100644 --- a/pkg/llmproxy/translator/gemini/gemini-cli/gemini_gemini-cli_request.go +++ b/pkg/llmproxy/translator/gemini/gemini-cli/gemini_gemini-cli_request.go @@ -8,8 +8,8 @@ package geminiCLI import ( "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/translator/gemini/common" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/internal/translator/gemini/common" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/gemini/gemini/gemini_gemini_request.go b/pkg/llmproxy/translator/gemini/gemini/gemini_gemini_request.go index b7585313ab..dd93e7a58a 100644 --- a/pkg/llmproxy/translator/gemini/gemini/gemini_gemini_request.go +++ b/pkg/llmproxy/translator/gemini/gemini/gemini_gemini_request.go @@ -6,8 +6,8 @@ package gemini import ( "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/translator/gemini/common" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/internal/translator/gemini/common" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/gemini/openai/chat-completions/gemini_openai_request.go b/pkg/llmproxy/translator/gemini/openai/chat-completions/gemini_openai_request.go index b0faf648ef..d7962a97c5 100644 --- a/pkg/llmproxy/translator/gemini/openai/chat-completions/gemini_openai_request.go +++ b/pkg/llmproxy/translator/gemini/openai/chat-completions/gemini_openai_request.go @@ -6,8 +6,8 @@ import ( "fmt" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/common" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/common" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/translator/gemini/openai/responses/gemini_openai-responses_request.go b/pkg/llmproxy/translator/gemini/openai/responses/gemini_openai-responses_request.go index 773d2840b9..537c2b3c87 100644 --- a/pkg/llmproxy/translator/gemini/openai/responses/gemini_openai-responses_request.go +++ b/pkg/llmproxy/translator/gemini/openai/responses/gemini_openai-responses_request.go @@ -3,7 +3,7 @@ package responses import ( "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/common" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/common" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/init.go b/pkg/llmproxy/translator/init.go index e10babb272..0316e65340 100644 --- a/pkg/llmproxy/translator/init.go +++ b/pkg/llmproxy/translator/init.go @@ -1,39 +1,39 @@ package translator import ( - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/claude/gemini" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/claude/gemini-cli" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/claude/openai/chat-completions" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/claude/openai/responses" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/claude/gemini" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/claude/gemini-cli" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/claude/openai/chat-completions" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/claude/openai/responses" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/codex/claude" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/codex/gemini" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/codex/gemini-cli" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/codex/openai/chat-completions" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/codex/openai/responses" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/codex/claude" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/codex/gemini" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/codex/gemini-cli" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/codex/openai/chat-completions" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/codex/openai/responses" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini-cli/claude" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini-cli/gemini" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini-cli/openai/chat-completions" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini-cli/openai/responses" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini-cli/claude" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini-cli/gemini" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini-cli/openai/chat-completions" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini-cli/openai/responses" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/claude" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/gemini" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/gemini-cli" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/openai/chat-completions" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/openai/responses" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/claude" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/gemini" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/gemini-cli" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/openai/chat-completions" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/openai/responses" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/openai/claude" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/openai/gemini" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/openai/gemini-cli" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/openai/openai/chat-completions" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/openai/openai/responses" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/openai/claude" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/openai/gemini" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/openai/gemini-cli" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/openai/openai/chat-completions" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/openai/openai/responses" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/antigravity/claude" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/antigravity/gemini" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/antigravity/openai/chat-completions" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/antigravity/openai/responses" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/antigravity/claude" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/antigravity/gemini" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/antigravity/openai/chat-completions" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/antigravity/openai/responses" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/claude" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/openai" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/claude" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/openai" ) diff --git a/pkg/llmproxy/translator/kiro/claude/kiro_claude_request.go b/pkg/llmproxy/translator/kiro/claude/kiro_claude_request.go index 5ed819c6a5..aa368f463d 100644 --- a/pkg/llmproxy/translator/kiro/claude/kiro_claude_request.go +++ b/pkg/llmproxy/translator/kiro/claude/kiro_claude_request.go @@ -12,7 +12,7 @@ import ( "unicode/utf8" "github.com/google/uuid" - kirocommon "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/common" + kirocommon "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/common" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/translator/kiro/claude/kiro_claude_request_test.go b/pkg/llmproxy/translator/kiro/claude/kiro_claude_request_test.go index 82437c13c6..6efc911604 100644 --- a/pkg/llmproxy/translator/kiro/claude/kiro_claude_request_test.go +++ b/pkg/llmproxy/translator/kiro/claude/kiro_claude_request_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - chatcompletions "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/claude/openai/chat-completions" + chatcompletions "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/claude/openai/chat-completions" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/translator/kiro/claude/kiro_claude_response.go b/pkg/llmproxy/translator/kiro/claude/kiro_claude_response.go index f39a93281d..66dca9d73f 100644 --- a/pkg/llmproxy/translator/kiro/claude/kiro_claude_response.go +++ b/pkg/llmproxy/translator/kiro/claude/kiro_claude_response.go @@ -10,10 +10,10 @@ import ( "strings" "github.com/google/uuid" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/usage" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/usage" log "github.com/sirupsen/logrus" - kirocommon "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/common" + kirocommon "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/common" ) // generateThinkingSignature generates a signature for thinking content. diff --git a/pkg/llmproxy/translator/kiro/claude/kiro_claude_response_test.go b/pkg/llmproxy/translator/kiro/claude/kiro_claude_response_test.go index e7855544a7..843d5d1535 100644 --- a/pkg/llmproxy/translator/kiro/claude/kiro_claude_response_test.go +++ b/pkg/llmproxy/translator/kiro/claude/kiro_claude_response_test.go @@ -3,7 +3,7 @@ package claude import ( "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/usage" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/usage" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/translator/kiro/claude/kiro_claude_stream.go b/pkg/llmproxy/translator/kiro/claude/kiro_claude_stream.go index c36d0fba6d..b884afd9e9 100644 --- a/pkg/llmproxy/translator/kiro/claude/kiro_claude_stream.go +++ b/pkg/llmproxy/translator/kiro/claude/kiro_claude_stream.go @@ -7,7 +7,7 @@ import ( "encoding/json" "github.com/google/uuid" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/usage" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/usage" ) // BuildClaudeMessageStartEvent creates the message_start SSE event diff --git a/pkg/llmproxy/translator/kiro/claude/kiro_claude_tools.go b/pkg/llmproxy/translator/kiro/claude/kiro_claude_tools.go index 61dda86d80..8c7fd151b3 100644 --- a/pkg/llmproxy/translator/kiro/claude/kiro_claude_tools.go +++ b/pkg/llmproxy/translator/kiro/claude/kiro_claude_tools.go @@ -8,7 +8,7 @@ import ( "strings" "github.com/google/uuid" - kirocommon "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/common" + kirocommon "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/common" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/translator/kiro/claude/kiro_websearch.go b/pkg/llmproxy/translator/kiro/claude/kiro_websearch.go index 76d90d8ca6..43b8a29247 100644 --- a/pkg/llmproxy/translator/kiro/claude/kiro_websearch.go +++ b/pkg/llmproxy/translator/kiro/claude/kiro_websearch.go @@ -12,7 +12,7 @@ import ( "time" "github.com/google/uuid" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/util" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/pkg/llmproxy/translator/kiro/claude/kiro_websearch_handler.go b/pkg/llmproxy/translator/kiro/claude/kiro_websearch_handler.go index 44a950494e..b9afbffb6e 100644 --- a/pkg/llmproxy/translator/kiro/claude/kiro_websearch_handler.go +++ b/pkg/llmproxy/translator/kiro/claude/kiro_websearch_handler.go @@ -13,8 +13,8 @@ import ( "time" "github.com/google/uuid" - kiroauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kiro" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + kiroauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kiro" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/translator/kiro/claude/tool_compression.go b/pkg/llmproxy/translator/kiro/claude/tool_compression.go index faa53cd4cf..b508e700bc 100644 --- a/pkg/llmproxy/translator/kiro/claude/tool_compression.go +++ b/pkg/llmproxy/translator/kiro/claude/tool_compression.go @@ -7,7 +7,7 @@ import ( "encoding/json" "unicode/utf8" - kirocommon "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/common" + kirocommon "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/common" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/translator/kiro/openai/kiro_openai.go b/pkg/llmproxy/translator/kiro/openai/kiro_openai.go index 3b0ce5a0ed..552a0b2b58 100644 --- a/pkg/llmproxy/translator/kiro/openai/kiro_openai.go +++ b/pkg/llmproxy/translator/kiro/openai/kiro_openai.go @@ -11,8 +11,8 @@ import ( "encoding/json" "strings" - kirocommon "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/common" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/usage" + kirocommon "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/common" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/usage" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/translator/kiro/openai/kiro_openai_request.go b/pkg/llmproxy/translator/kiro/openai/kiro_openai_request.go index ed3d203114..0c3c2c1589 100644 --- a/pkg/llmproxy/translator/kiro/openai/kiro_openai_request.go +++ b/pkg/llmproxy/translator/kiro/openai/kiro_openai_request.go @@ -12,8 +12,8 @@ import ( "unicode/utf8" "github.com/google/uuid" - kiroclaude "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/claude" - kirocommon "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/common" + kiroclaude "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/claude" + kirocommon "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/common" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" ) diff --git a/pkg/llmproxy/translator/kiro/openai/kiro_openai_response.go b/pkg/llmproxy/translator/kiro/openai/kiro_openai_response.go index efdc3c6999..fee880dfcd 100644 --- a/pkg/llmproxy/translator/kiro/openai/kiro_openai_response.go +++ b/pkg/llmproxy/translator/kiro/openai/kiro_openai_response.go @@ -10,7 +10,7 @@ import ( "time" "github.com/google/uuid" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/usage" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/usage" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/translator/kiro/openai/kiro_openai_stream.go b/pkg/llmproxy/translator/kiro/openai/kiro_openai_stream.go index 258a03108d..59bbb1c29e 100644 --- a/pkg/llmproxy/translator/kiro/openai/kiro_openai_stream.go +++ b/pkg/llmproxy/translator/kiro/openai/kiro_openai_stream.go @@ -8,7 +8,7 @@ import ( "time" "github.com/google/uuid" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/usage" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/usage" ) // OpenAIStreamState tracks the state of streaming response conversion diff --git a/pkg/llmproxy/translator/openai/claude/openai_claude_request.go b/pkg/llmproxy/translator/openai/claude/openai_claude_request.go index 3bdbe1c8fb..e9c0bcf51c 100644 --- a/pkg/llmproxy/translator/openai/claude/openai_claude_request.go +++ b/pkg/llmproxy/translator/openai/claude/openai_claude_request.go @@ -8,7 +8,7 @@ package claude import ( "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/openai/claude/openai_claude_response.go b/pkg/llmproxy/translator/openai/claude/openai_claude_response.go index cc98be86d9..f7ffa85cf9 100644 --- a/pkg/llmproxy/translator/openai/claude/openai_claude_response.go +++ b/pkg/llmproxy/translator/openai/claude/openai_claude_response.go @@ -12,7 +12,7 @@ import ( "fmt" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/openai/gemini-cli/openai_gemini_request.go b/pkg/llmproxy/translator/openai/gemini-cli/openai_gemini_request.go index e43059f025..3078b2c71e 100644 --- a/pkg/llmproxy/translator/openai/gemini-cli/openai_gemini_request.go +++ b/pkg/llmproxy/translator/openai/gemini-cli/openai_gemini_request.go @@ -6,7 +6,7 @@ package geminiCLI import ( - openaigemini "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/openai/gemini" + openaigemini "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/openai/gemini" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/openai/gemini-cli/openai_gemini_response.go b/pkg/llmproxy/translator/openai/gemini-cli/openai_gemini_response.go index 274be34698..f94505a994 100644 --- a/pkg/llmproxy/translator/openai/gemini-cli/openai_gemini_response.go +++ b/pkg/llmproxy/translator/openai/gemini-cli/openai_gemini_response.go @@ -9,7 +9,7 @@ import ( "context" "fmt" - openaigemini "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/openai/gemini" + openaigemini "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/openai/gemini" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/openai/gemini/openai_gemini_request.go b/pkg/llmproxy/translator/openai/gemini/openai_gemini_request.go index 36d4a1ff5e..65c142ac26 100644 --- a/pkg/llmproxy/translator/openai/gemini/openai_gemini_request.go +++ b/pkg/llmproxy/translator/openai/gemini/openai_gemini_request.go @@ -11,7 +11,7 @@ import ( "math/big" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/llmproxy/translator/translator/registration.go b/pkg/llmproxy/translator/translator/registration.go index 106e06f9cc..d51f5927c2 100644 --- a/pkg/llmproxy/translator/translator/registration.go +++ b/pkg/llmproxy/translator/translator/registration.go @@ -1,51 +1,51 @@ package translator import ( - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/constant" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/constant" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" // Antigravity translator providers - antigravityclaude "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/antigravity/claude" - antigravitygemini "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/antigravity/gemini" - antigravityopenai "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/antigravity/openai/chat-completions" - antigravityopenairesponses "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/antigravity/openai/responses" + antigravityclaude "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/antigravity/claude" + antigravitygemini "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/antigravity/gemini" + antigravityopenai "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/antigravity/openai/chat-completions" + antigravityopenairesponses "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/antigravity/openai/responses" // Claude translator providers - claudegemini "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/claude/gemini" - claudegeminicli "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/claude/gemini-cli" - claudeopenai "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/claude/openai/chat-completions" - claudeopenairesponses "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/claude/openai/responses" + claudegemini "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/claude/gemini" + claudegeminicli "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/claude/gemini-cli" + claudeopenai "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/claude/openai/chat-completions" + claudeopenairesponses "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/claude/openai/responses" // Codex translator providers - codexclaude "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/codex/claude" - codexgemini "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/codex/gemini" - codexgeminicli "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/codex/gemini-cli" - codexopenai "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/codex/openai/chat-completions" - codexopenairesponses "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/codex/openai/responses" + codexclaude "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/codex/claude" + codexgemini "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/codex/gemini" + codexgeminicli "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/codex/gemini-cli" + codexopenai "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/codex/openai/chat-completions" + codexopenairesponses "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/codex/openai/responses" // Gemini translator providers - geminiclaude "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/claude" - geminigemini "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/gemini" - geminigeminicli "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/gemini-cli" - geminiopenai "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/openai/chat-completions" - geminiopenairesponses "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini/openai/responses" + geminiclaude "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/claude" + geminigemini "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/gemini" + geminigeminicli "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/gemini-cli" + geminiopenai "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/openai/chat-completions" + geminiopenairesponses "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini/openai/responses" // Gemini CLI translator providers - geminicliiclaude "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini-cli/claude" - geminiigemini "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini-cli/gemini" - geminicliiopenai "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini-cli/openai/chat-completions" - geminicliiopenairesponses "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/gemini-cli/openai/responses" + geminicliiclaude "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini-cli/claude" + geminiigemini "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini-cli/gemini" + geminicliiopenai "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini-cli/openai/chat-completions" + geminicliiopenairesponses "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/gemini-cli/openai/responses" // Kiro translator providers - kiroclaude "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/claude" - kiroopenai "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/kiro/openai" + kiroclaude "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/claude" + kiroopenai "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/kiro/openai" // OpenAI translator providers - openai_claude "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/openai/claude" - openaigemini "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/openai/gemini" - openaigeminicli "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/openai/gemini-cli" - openaiopenai "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/openai/openai/chat-completions" - openairesponses "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/openai/openai/responses" + openai_claude "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/openai/claude" + openaigemini "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/openai/gemini" + openaigeminicli "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/openai/gemini-cli" + openaiopenai "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/openai/openai/chat-completions" + openairesponses "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/openai/openai/responses" ) // init registers all translator conversion functions with the translator registry. diff --git a/pkg/llmproxy/translator/translator/translator.go b/pkg/llmproxy/translator/translator/translator.go index 593b6fc1a5..c66683f580 100644 --- a/pkg/llmproxy/translator/translator/translator.go +++ b/pkg/llmproxy/translator/translator/translator.go @@ -7,8 +7,8 @@ package translator import ( "context" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" ) // registry holds the default translator registry instance. diff --git a/pkg/llmproxy/translator/translator/translator_test.go b/pkg/llmproxy/translator/translator/translator_test.go index 5653b84dac..5cc9060dbb 100644 --- a/pkg/llmproxy/translator/translator/translator_test.go +++ b/pkg/llmproxy/translator/translator/translator_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" ) func TestRequest(t *testing.T) { diff --git a/pkg/llmproxy/usage/logger_plugin.go b/pkg/llmproxy/usage/logger_plugin.go index 468e3ff2ca..754993c3a6 100644 --- a/pkg/llmproxy/usage/logger_plugin.go +++ b/pkg/llmproxy/usage/logger_plugin.go @@ -12,7 +12,7 @@ import ( "time" "github.com/gin-gonic/gin" - coreusage "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/usage" + coreusage "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/usage" ) var statisticsEnabled atomic.Bool diff --git a/pkg/llmproxy/usage/metrics.go b/pkg/llmproxy/usage/metrics.go index f4b157872c..9f2ee88e83 100644 --- a/pkg/llmproxy/usage/metrics.go +++ b/pkg/llmproxy/usage/metrics.go @@ -4,7 +4,7 @@ package usage import ( "strings" - "github.com/router-for-me/CLIProxyAPI/v6/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" ) func normalizeProvider(apiKey string) string { diff --git a/pkg/llmproxy/usage/metrics_test.go b/pkg/llmproxy/usage/metrics_test.go index 22fa921bfa..ffc3de21b1 100644 --- a/pkg/llmproxy/usage/metrics_test.go +++ b/pkg/llmproxy/usage/metrics_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - coreusage "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/usage" + coreusage "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/usage" ) func TestGetProviderMetrics_Empty(t *testing.T) { diff --git a/pkg/llmproxy/util/provider.go b/pkg/llmproxy/util/provider.go index b93f26d5da..c856d0b88d 100644 --- a/pkg/llmproxy/util/provider.go +++ b/pkg/llmproxy/util/provider.go @@ -7,8 +7,8 @@ import ( "net/url" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/util/provider_test.go b/pkg/llmproxy/util/provider_test.go index 319b28114b..373bde228f 100644 --- a/pkg/llmproxy/util/provider_test.go +++ b/pkg/llmproxy/util/provider_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" ) func TestResolveProviderPinnedModel(t *testing.T) { diff --git a/pkg/llmproxy/util/proxy.go b/pkg/llmproxy/util/proxy.go index a9e6afafb7..fa2b484baf 100644 --- a/pkg/llmproxy/util/proxy.go +++ b/pkg/llmproxy/util/proxy.go @@ -9,7 +9,7 @@ import ( "net/http" "net/url" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" log "github.com/sirupsen/logrus" "golang.org/x/net/proxy" ) diff --git a/pkg/llmproxy/util/util.go b/pkg/llmproxy/util/util.go index 167939a673..b5029b3d92 100644 --- a/pkg/llmproxy/util/util.go +++ b/pkg/llmproxy/util/util.go @@ -11,7 +11,7 @@ import ( "regexp" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/util/util_test.go b/pkg/llmproxy/util/util_test.go index de8b8d7ed4..5427f0ba37 100644 --- a/pkg/llmproxy/util/util_test.go +++ b/pkg/llmproxy/util/util_test.go @@ -6,7 +6,7 @@ import ( "path/filepath" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestSetLogLevel(t *testing.T) { diff --git a/pkg/llmproxy/watcher/clients.go b/pkg/llmproxy/watcher/clients.go index 46a15c4071..552e75a15d 100644 --- a/pkg/llmproxy/watcher/clients.go +++ b/pkg/llmproxy/watcher/clients.go @@ -14,10 +14,10 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/util" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/watcher/diff" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/util" + "github.com/kooshapari/CLIProxyAPI/v7/internal/watcher/diff" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/watcher/config_reload.go b/pkg/llmproxy/watcher/config_reload.go index ba5d0d4d69..a162a4f934 100644 --- a/pkg/llmproxy/watcher/config_reload.go +++ b/pkg/llmproxy/watcher/config_reload.go @@ -9,9 +9,9 @@ import ( "reflect" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/util" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/watcher/diff" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/util" + "github.com/kooshapari/CLIProxyAPI/v7/internal/watcher/diff" "gopkg.in/yaml.v3" log "github.com/sirupsen/logrus" diff --git a/pkg/llmproxy/watcher/diff/auth_diff.go b/pkg/llmproxy/watcher/diff/auth_diff.go index 267edec793..7f31849e4e 100644 --- a/pkg/llmproxy/watcher/diff/auth_diff.go +++ b/pkg/llmproxy/watcher/diff/auth_diff.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) // BuildAuthChangeDetails computes a redacted, human-readable list of auth field changes. diff --git a/pkg/llmproxy/watcher/diff/config_diff.go b/pkg/llmproxy/watcher/diff/config_diff.go index 2320419ece..40e7118da6 100644 --- a/pkg/llmproxy/watcher/diff/config_diff.go +++ b/pkg/llmproxy/watcher/diff/config_diff.go @@ -6,7 +6,7 @@ import ( "reflect" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) // BuildConfigChangeDetails computes a redacted, human-readable list of config changes. diff --git a/pkg/llmproxy/watcher/diff/config_diff_test.go b/pkg/llmproxy/watcher/diff/config_diff_test.go index 778eb96790..7c07745c1c 100644 --- a/pkg/llmproxy/watcher/diff/config_diff_test.go +++ b/pkg/llmproxy/watcher/diff/config_diff_test.go @@ -3,8 +3,8 @@ package diff import ( "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - sdkconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + sdkconfig "github.com/kooshapari/CLIProxyAPI/v7/sdk/config" ) func TestBuildConfigChangeDetails(t *testing.T) { diff --git a/pkg/llmproxy/watcher/diff/model_hash.go b/pkg/llmproxy/watcher/diff/model_hash.go index 4b328150e9..03cbcbc226 100644 --- a/pkg/llmproxy/watcher/diff/model_hash.go +++ b/pkg/llmproxy/watcher/diff/model_hash.go @@ -7,7 +7,7 @@ import ( "sort" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) // ComputeOpenAICompatModelsHash returns a stable hash for OpenAI-compat models. diff --git a/pkg/llmproxy/watcher/diff/model_hash_test.go b/pkg/llmproxy/watcher/diff/model_hash_test.go index 07c62116fa..540f320232 100644 --- a/pkg/llmproxy/watcher/diff/model_hash_test.go +++ b/pkg/llmproxy/watcher/diff/model_hash_test.go @@ -3,7 +3,7 @@ package diff import ( "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestComputeOpenAICompatModelsHash_Deterministic(t *testing.T) { diff --git a/pkg/llmproxy/watcher/diff/models_summary.go b/pkg/llmproxy/watcher/diff/models_summary.go index 739d7b6b1e..65ee716885 100644 --- a/pkg/llmproxy/watcher/diff/models_summary.go +++ b/pkg/llmproxy/watcher/diff/models_summary.go @@ -6,7 +6,7 @@ import ( "sort" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) type GeminiModelsSummary struct { diff --git a/pkg/llmproxy/watcher/diff/oauth_excluded.go b/pkg/llmproxy/watcher/diff/oauth_excluded.go index 7a9cd30fa4..b201aa5d45 100644 --- a/pkg/llmproxy/watcher/diff/oauth_excluded.go +++ b/pkg/llmproxy/watcher/diff/oauth_excluded.go @@ -7,7 +7,7 @@ import ( "sort" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) type ExcludedModelsSummary struct { diff --git a/pkg/llmproxy/watcher/diff/oauth_excluded_test.go b/pkg/llmproxy/watcher/diff/oauth_excluded_test.go index fec7ec0d1b..7f044dbfa0 100644 --- a/pkg/llmproxy/watcher/diff/oauth_excluded_test.go +++ b/pkg/llmproxy/watcher/diff/oauth_excluded_test.go @@ -3,7 +3,7 @@ package diff import ( "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestSummarizeExcludedModels_NormalizesAndDedupes(t *testing.T) { diff --git a/pkg/llmproxy/watcher/diff/oauth_model_alias.go b/pkg/llmproxy/watcher/diff/oauth_model_alias.go index f1fdaf74e3..ae84690bb9 100644 --- a/pkg/llmproxy/watcher/diff/oauth_model_alias.go +++ b/pkg/llmproxy/watcher/diff/oauth_model_alias.go @@ -7,7 +7,7 @@ import ( "sort" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) type OAuthModelAliasSummary struct { diff --git a/pkg/llmproxy/watcher/diff/openai_compat.go b/pkg/llmproxy/watcher/diff/openai_compat.go index d077f7b276..e3f4c3791e 100644 --- a/pkg/llmproxy/watcher/diff/openai_compat.go +++ b/pkg/llmproxy/watcher/diff/openai_compat.go @@ -7,7 +7,7 @@ import ( "sort" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) // DiffOpenAICompatibility produces human-readable change descriptions. diff --git a/pkg/llmproxy/watcher/diff/openai_compat_test.go b/pkg/llmproxy/watcher/diff/openai_compat_test.go index d0a5454ae1..63268dd73e 100644 --- a/pkg/llmproxy/watcher/diff/openai_compat_test.go +++ b/pkg/llmproxy/watcher/diff/openai_compat_test.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func TestDiffOpenAICompatibility(t *testing.T) { diff --git a/pkg/llmproxy/watcher/dispatcher.go b/pkg/llmproxy/watcher/dispatcher.go index d28c71a386..0551475c75 100644 --- a/pkg/llmproxy/watcher/dispatcher.go +++ b/pkg/llmproxy/watcher/dispatcher.go @@ -9,9 +9,9 @@ import ( "sync" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/watcher/synthesizer" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/watcher/synthesizer" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func (w *Watcher) setAuthUpdateQueue(queue chan<- AuthUpdate) { diff --git a/pkg/llmproxy/watcher/events.go b/pkg/llmproxy/watcher/events.go index f3e547a986..844f62999a 100644 --- a/pkg/llmproxy/watcher/events.go +++ b/pkg/llmproxy/watcher/events.go @@ -13,7 +13,7 @@ import ( "time" "github.com/fsnotify/fsnotify" - kiroauth "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/auth/kiro" + kiroauth "github.com/kooshapari/CLIProxyAPI/v7/internal/auth/kiro" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/watcher/synthesizer/config.go b/pkg/llmproxy/watcher/synthesizer/config.go index 9bd9b8c2b6..a1e7e06c9c 100644 --- a/pkg/llmproxy/watcher/synthesizer/config.go +++ b/pkg/llmproxy/watcher/synthesizer/config.go @@ -5,9 +5,9 @@ import ( "strconv" "strings" - kiroauth "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/auth/kiro" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/watcher/diff" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + kiroauth "github.com/kooshapari/CLIProxyAPI/v7/internal/auth/kiro" + "github.com/kooshapari/CLIProxyAPI/v7/internal/watcher/diff" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/watcher/synthesizer/config_test.go b/pkg/llmproxy/watcher/synthesizer/config_test.go index 2afbb175dd..3de9340468 100644 --- a/pkg/llmproxy/watcher/synthesizer/config_test.go +++ b/pkg/llmproxy/watcher/synthesizer/config_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func TestNewConfigSynthesizer(t *testing.T) { diff --git a/pkg/llmproxy/watcher/synthesizer/context.go b/pkg/llmproxy/watcher/synthesizer/context.go index 99e8df7ad0..33b3004474 100644 --- a/pkg/llmproxy/watcher/synthesizer/context.go +++ b/pkg/llmproxy/watcher/synthesizer/context.go @@ -3,7 +3,7 @@ package synthesizer import ( "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) // SynthesisContext provides the context needed for auth synthesis. diff --git a/pkg/llmproxy/watcher/synthesizer/file.go b/pkg/llmproxy/watcher/synthesizer/file.go index 4413f22050..3394f1b1ce 100644 --- a/pkg/llmproxy/watcher/synthesizer/file.go +++ b/pkg/llmproxy/watcher/synthesizer/file.go @@ -9,8 +9,8 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/runtime/geminicli" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/runtime/geminicli" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) // FileSynthesizer generates Auth entries from OAuth JSON files. diff --git a/pkg/llmproxy/watcher/synthesizer/file_test.go b/pkg/llmproxy/watcher/synthesizer/file_test.go index c169ab4817..3a38b0d49a 100644 --- a/pkg/llmproxy/watcher/synthesizer/file_test.go +++ b/pkg/llmproxy/watcher/synthesizer/file_test.go @@ -8,8 +8,8 @@ import ( "testing" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func TestNewFileSynthesizer(t *testing.T) { diff --git a/pkg/llmproxy/watcher/synthesizer/helpers.go b/pkg/llmproxy/watcher/synthesizer/helpers.go index 69b3aa25cf..b051bec2ec 100644 --- a/pkg/llmproxy/watcher/synthesizer/helpers.go +++ b/pkg/llmproxy/watcher/synthesizer/helpers.go @@ -7,9 +7,9 @@ import ( "sort" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/watcher/diff" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/watcher/diff" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) // StableIDGenerator generates stable, deterministic IDs for auth entries. diff --git a/pkg/llmproxy/watcher/synthesizer/helpers_test.go b/pkg/llmproxy/watcher/synthesizer/helpers_test.go index 7c6778245c..d2e2901bf2 100644 --- a/pkg/llmproxy/watcher/synthesizer/helpers_test.go +++ b/pkg/llmproxy/watcher/synthesizer/helpers_test.go @@ -5,9 +5,9 @@ import ( "strings" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/watcher/diff" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/watcher/diff" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func TestNewStableIDGenerator(t *testing.T) { diff --git a/pkg/llmproxy/watcher/synthesizer/interface.go b/pkg/llmproxy/watcher/synthesizer/interface.go index 76fbd8756b..181d9a0315 100644 --- a/pkg/llmproxy/watcher/synthesizer/interface.go +++ b/pkg/llmproxy/watcher/synthesizer/interface.go @@ -5,7 +5,7 @@ package synthesizer import ( - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) // AuthSynthesizer defines the interface for generating Auth entries from various sources. diff --git a/pkg/llmproxy/watcher/watcher.go b/pkg/llmproxy/watcher/watcher.go index 6fbae5fde0..56e07cee80 100644 --- a/pkg/llmproxy/watcher/watcher.go +++ b/pkg/llmproxy/watcher/watcher.go @@ -9,11 +9,11 @@ import ( "time" "github.com/fsnotify/fsnotify" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" "gopkg.in/yaml.v3" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/pkg/llmproxy/watcher/watcher_test.go b/pkg/llmproxy/watcher/watcher_test.go index 5b4b6418ae..398e19be13 100644 --- a/pkg/llmproxy/watcher/watcher_test.go +++ b/pkg/llmproxy/watcher/watcher_test.go @@ -14,11 +14,11 @@ import ( "time" "github.com/fsnotify/fsnotify" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/watcher/diff" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/watcher/synthesizer" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/watcher/diff" + "github.com/kooshapari/CLIProxyAPI/v7/internal/watcher/synthesizer" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" "gopkg.in/yaml.v3" ) diff --git a/sdk/api/handlers/claude/code_handlers.go b/sdk/api/handlers/claude/code_handlers.go index 58253bc3d5..842152e362 100644 --- a/sdk/api/handlers/claude/code_handlers.go +++ b/sdk/api/handlers/claude/code_handlers.go @@ -16,10 +16,10 @@ import ( "net/http" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/constant" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/constant" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" ) diff --git a/sdk/api/handlers/gemini/gemini-cli_handlers.go b/sdk/api/handlers/gemini/gemini-cli_handlers.go index 44b2a0ff02..acfcd7d727 100644 --- a/sdk/api/handlers/gemini/gemini-cli_handlers.go +++ b/sdk/api/handlers/gemini/gemini-cli_handlers.go @@ -14,10 +14,10 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/constant" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/constant" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" ) diff --git a/sdk/api/handlers/gemini/gemini_handlers.go b/sdk/api/handlers/gemini/gemini_handlers.go index b26ae0d88e..f8423e0c03 100644 --- a/sdk/api/handlers/gemini/gemini_handlers.go +++ b/sdk/api/handlers/gemini/gemini_handlers.go @@ -13,10 +13,10 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/constant" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/constant" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers" ) // GeminiAPIHandler contains the handlers for Gemini API endpoints. diff --git a/sdk/api/handlers/handlers.go b/sdk/api/handlers/handlers.go index 2bc2acfbfd..5b2fbec3f3 100644 --- a/sdk/api/handlers/handlers.go +++ b/sdk/api/handlers/handlers.go @@ -15,14 +15,14 @@ import ( "github.com/gin-gonic/gin" "github.com/google/uuid" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/logging" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - coreexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/logging" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + coreexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" ) // CtxKey is a typed key for context values in the handlers package, preventing collisions. diff --git a/sdk/api/handlers/handlers_error_response_test.go b/sdk/api/handlers/handlers_error_response_test.go index c9de094b13..dd09680a33 100644 --- a/sdk/api/handlers/handlers_error_response_test.go +++ b/sdk/api/handlers/handlers_error_response_test.go @@ -8,8 +8,8 @@ import ( "testing" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - sdkconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + sdkconfig "github.com/kooshapari/CLIProxyAPI/v7/sdk/config" ) func TestWriteErrorResponse_AddonHeadersDisabledByDefault(t *testing.T) { diff --git a/sdk/api/handlers/handlers_metadata_test.go b/sdk/api/handlers/handlers_metadata_test.go index a49ee265c2..ba548f1f99 100644 --- a/sdk/api/handlers/handlers_metadata_test.go +++ b/sdk/api/handlers/handlers_metadata_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/gin-gonic/gin" - coreexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" + coreexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" ) func requestContextWithHeader(t *testing.T, idempotencyKey string) context.Context { diff --git a/sdk/api/handlers/handlers_request_details_test.go b/sdk/api/handlers/handlers_request_details_test.go index ff6c0e44bf..8be2e0db9e 100644 --- a/sdk/api/handlers/handlers_request_details_test.go +++ b/sdk/api/handlers/handlers_request_details_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - sdkconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + sdkconfig "github.com/kooshapari/CLIProxyAPI/v7/sdk/config" ) func TestGetRequestDetails_PreservesSuffix(t *testing.T) { diff --git a/sdk/api/handlers/handlers_stream_bootstrap_test.go b/sdk/api/handlers/handlers_stream_bootstrap_test.go index 7ed9c60730..3ce55cce98 100644 --- a/sdk/api/handlers/handlers_stream_bootstrap_test.go +++ b/sdk/api/handlers/handlers_stream_bootstrap_test.go @@ -6,10 +6,10 @@ import ( "sync" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - coreexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdkconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + coreexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdkconfig "github.com/kooshapari/CLIProxyAPI/v7/sdk/config" ) type failOnceStreamExecutor struct { diff --git a/sdk/api/handlers/openai/endpoint_compat.go b/sdk/api/handlers/openai/endpoint_compat.go index e22e67468b..05ef5a0f05 100644 --- a/sdk/api/handlers/openai/endpoint_compat.go +++ b/sdk/api/handlers/openai/endpoint_compat.go @@ -1,6 +1,6 @@ package openai -import "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" +import "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" const ( openAIChatEndpoint = "/chat/completions" diff --git a/sdk/api/handlers/openai/endpoint_compat_test.go b/sdk/api/handlers/openai/endpoint_compat_test.go index 1eda86c245..4c093649b0 100644 --- a/sdk/api/handlers/openai/endpoint_compat_test.go +++ b/sdk/api/handlers/openai/endpoint_compat_test.go @@ -4,8 +4,8 @@ import ( "sort" "testing" - . "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/constant" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" + . "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/constant" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" ) func TestResolveEndpointOverride_IflowSupportsChatOnlyForResponses(t *testing.T) { diff --git a/sdk/api/handlers/openai/openai_handlers.go b/sdk/api/handlers/openai/openai_handlers.go index 771403ce84..06ff046dc6 100644 --- a/sdk/api/handlers/openai/openai_handlers.go +++ b/sdk/api/handlers/openai/openai_handlers.go @@ -14,12 +14,12 @@ import ( "sync" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/constant" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - codexconverter "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/codex/openai/chat-completions" - responsesconverter "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/openai/openai/responses" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/constant" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + codexconverter "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/codex/openai/chat-completions" + responsesconverter "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/openai/openai/responses" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/sdk/api/handlers/openai/openai_images_handlers.go b/sdk/api/handlers/openai/openai_images_handlers.go index 558cc88854..a1d063740a 100644 --- a/sdk/api/handlers/openai/openai_images_handlers.go +++ b/sdk/api/handlers/openai/openai_images_handlers.go @@ -10,10 +10,10 @@ import ( "time" "github.com/gin-gonic/gin" - constant "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/constant" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers" + constant "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/constant" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/sdk/api/handlers/openai/openai_responses_compact_test.go b/sdk/api/handlers/openai/openai_responses_compact_test.go index 982b34b6b1..eccccbfaba 100644 --- a/sdk/api/handlers/openai/openai_responses_compact_test.go +++ b/sdk/api/handlers/openai/openai_responses_compact_test.go @@ -9,11 +9,11 @@ import ( "testing" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - coreexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdkconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + coreexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdkconfig "github.com/kooshapari/CLIProxyAPI/v7/sdk/config" ) type compactCaptureExecutor struct { diff --git a/sdk/api/handlers/openai/openai_responses_handlers.go b/sdk/api/handlers/openai/openai_responses_handlers.go index b4d3c88609..c2ff5c279b 100644 --- a/sdk/api/handlers/openai/openai_responses_handlers.go +++ b/sdk/api/handlers/openai/openai_responses_handlers.go @@ -13,11 +13,11 @@ import ( "net/http" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/constant" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - responsesconverter "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator/openai/openai/responses" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/constant" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + responsesconverter "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator/openai/openai/responses" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/sdk/api/handlers/openai/openai_responses_handlers_stream_error_test.go b/sdk/api/handlers/openai/openai_responses_handlers_stream_error_test.go index 46bb8bcfa0..7907385892 100644 --- a/sdk/api/handlers/openai/openai_responses_handlers_stream_error_test.go +++ b/sdk/api/handlers/openai/openai_responses_handlers_stream_error_test.go @@ -8,9 +8,9 @@ import ( "testing" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/interfaces" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers" - sdkconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers" + sdkconfig "github.com/kooshapari/CLIProxyAPI/v7/sdk/config" ) func TestForwardResponsesStreamTerminalErrorUsesResponsesErrorChunk(t *testing.T) { diff --git a/sdk/api/handlers/openai/openai_responses_websocket.go b/sdk/api/handlers/openai/openai_responses_websocket.go index d72072f713..c3bb86eb0c 100644 --- a/sdk/api/handlers/openai/openai_responses_websocket.go +++ b/sdk/api/handlers/openai/openai_responses_websocket.go @@ -13,9 +13,9 @@ import ( "github.com/gin-gonic/gin" "github.com/google/uuid" "github.com/gorilla/websocket" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "github.com/tidwall/sjson" diff --git a/sdk/api/handlers/stream_forwarder.go b/sdk/api/handlers/stream_forwarder.go index 379e804de0..bcf64d4257 100644 --- a/sdk/api/handlers/stream_forwarder.go +++ b/sdk/api/handlers/stream_forwarder.go @@ -5,7 +5,7 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" ) type StreamForwardOptions struct { diff --git a/sdk/api/management.go b/sdk/api/management.go index df73811fa1..ed680aed46 100644 --- a/sdk/api/management.go +++ b/sdk/api/management.go @@ -6,9 +6,9 @@ package api import ( "github.com/gin-gonic/gin" - internalmanagement "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/api/handlers/management" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + internalmanagement "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/api/handlers/management" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) // ManagementTokenRequester exposes a limited subset of management endpoints for requesting tokens. diff --git a/sdk/api/options.go b/sdk/api/options.go index 62f7eff96c..033ea64a07 100644 --- a/sdk/api/options.go +++ b/sdk/api/options.go @@ -8,10 +8,10 @@ import ( "time" "github.com/gin-gonic/gin" - internalapi "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/api" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/logging" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api/handlers" + internalapi "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/api" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/logging" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/api/handlers" ) // ServerOption customises HTTP server construction. diff --git a/sdk/auth/antigravity.go b/sdk/auth/antigravity.go index 1d00894937..3dcd7033df 100644 --- a/sdk/auth/antigravity.go +++ b/sdk/auth/antigravity.go @@ -8,12 +8,12 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/antigravity" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/browser" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/antigravity" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/browser" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/sdk/auth/claude.go b/sdk/auth/claude.go index 08f580551f..d706980611 100644 --- a/sdk/auth/claude.go +++ b/sdk/auth/claude.go @@ -7,13 +7,13 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/claude" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/browser" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/claude" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/browser" // legacy client removed - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/sdk/auth/codex.go b/sdk/auth/codex.go index 2faa0c6a68..2261b1ed38 100644 --- a/sdk/auth/codex.go +++ b/sdk/auth/codex.go @@ -7,13 +7,13 @@ import ( "strings" "time" - "github.com/router-for-me/CLIProxyAPI/v6/pkg/llmproxy/auth/codex" - "github.com/router-for-me/CLIProxyAPI/v6/internal/browser" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/codex" + "github.com/kooshapari/CLIProxyAPI/v7/internal/browser" // legacy client removed - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/sdk/auth/codex_device.go b/sdk/auth/codex_device.go index 11422d1c3f..69cc065142 100644 --- a/sdk/auth/codex_device.go +++ b/sdk/auth/codex_device.go @@ -13,11 +13,11 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/codex" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/browser" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/codex" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/browser" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/sdk/auth/errors.go b/sdk/auth/errors.go index aa4fa32e41..cd72f648a7 100644 --- a/sdk/auth/errors.go +++ b/sdk/auth/errors.go @@ -3,7 +3,7 @@ package auth import ( "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/interfaces" + "github.com/kooshapari/CLIProxyAPI/v7/internal/interfaces" ) // ProjectSelectionError indicates that the user must choose a specific project ID. diff --git a/sdk/auth/filestore.go b/sdk/auth/filestore.go index 8b1368073f..caa100d59a 100644 --- a/sdk/auth/filestore.go +++ b/sdk/auth/filestore.go @@ -14,7 +14,7 @@ import ( "sync" "time" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) // FileTokenStore persists token records and auth metadata using the filesystem as backing storage. diff --git a/sdk/auth/gemini.go b/sdk/auth/gemini.go index 851e68767e..90e8bf8fcc 100644 --- a/sdk/auth/gemini.go +++ b/sdk/auth/gemini.go @@ -5,10 +5,10 @@ import ( "fmt" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/gemini" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/gemini" // legacy client removed - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) // GeminiAuthenticator implements the login flow for Google Gemini CLI accounts. diff --git a/sdk/auth/github_copilot.go b/sdk/auth/github_copilot.go index 8313a82315..d1bb152366 100644 --- a/sdk/auth/github_copilot.go +++ b/sdk/auth/github_copilot.go @@ -5,10 +5,10 @@ import ( "fmt" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/copilot" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/browser" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/copilot" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/browser" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/sdk/auth/iflow.go b/sdk/auth/iflow.go index f347401f8b..f61cd8beaf 100644 --- a/sdk/auth/iflow.go +++ b/sdk/auth/iflow.go @@ -6,12 +6,12 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/iflow" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/browser" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/iflow" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/browser" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/sdk/auth/interfaces.go b/sdk/auth/interfaces.go index 28b06acf71..59fdc4c3d1 100644 --- a/sdk/auth/interfaces.go +++ b/sdk/auth/interfaces.go @@ -5,8 +5,8 @@ import ( "errors" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) var ErrRefreshNotSupported = errors.New("cliproxy auth: refresh not supported") diff --git a/sdk/auth/kilo.go b/sdk/auth/kilo.go index 71f21911e3..1f7ab2c31e 100644 --- a/sdk/auth/kilo.go +++ b/sdk/auth/kilo.go @@ -5,9 +5,9 @@ import ( "fmt" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kilo" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kilo" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) // KiloAuthenticator implements the login flow for Kilo AI accounts. diff --git a/sdk/auth/kimi.go b/sdk/auth/kimi.go index 2a4ae9d3e6..3774b2f14b 100644 --- a/sdk/auth/kimi.go +++ b/sdk/auth/kimi.go @@ -6,10 +6,10 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kimi" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/browser" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kimi" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/browser" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/sdk/auth/kiro.go b/sdk/auth/kiro.go index 3491a3126c..0ee7ce6eb5 100644 --- a/sdk/auth/kiro.go +++ b/sdk/auth/kiro.go @@ -9,9 +9,9 @@ import ( "strings" "time" - kiroauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kiro" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + kiroauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kiro" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) // extractKiroIdentifier extracts a meaningful identifier for file naming. diff --git a/sdk/auth/manager.go b/sdk/auth/manager.go index fd4d05dd7e..3e16546ae3 100644 --- a/sdk/auth/manager.go +++ b/sdk/auth/manager.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) // Manager aggregates authenticators and coordinates persistence via a token store. diff --git a/sdk/auth/qwen.go b/sdk/auth/qwen.go index a2d45cd502..297053f01c 100644 --- a/sdk/auth/qwen.go +++ b/sdk/auth/qwen.go @@ -6,11 +6,11 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/qwen" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/browser" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/qwen" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/browser" // legacy client removed - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" ) diff --git a/sdk/auth/refresh_registry.go b/sdk/auth/refresh_registry.go index f9e00a6727..5278692bbe 100644 --- a/sdk/auth/refresh_registry.go +++ b/sdk/auth/refresh_registry.go @@ -3,7 +3,7 @@ package auth import ( "time" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func init() { diff --git a/sdk/auth/store_registry.go b/sdk/auth/store_registry.go index 5b3160d4a9..952955b0d0 100644 --- a/sdk/auth/store_registry.go +++ b/sdk/auth/store_registry.go @@ -3,7 +3,7 @@ package auth import ( "sync" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) var ( diff --git a/sdk/cliproxy/auth/api_key_model_alias_test.go b/sdk/cliproxy/auth/api_key_model_alias_test.go index 8de07bb7fa..3ad4668584 100644 --- a/sdk/cliproxy/auth/api_key_model_alias_test.go +++ b/sdk/cliproxy/auth/api_key_model_alias_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - internalconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" + internalconfig "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" ) func TestLookupAPIKeyUpstreamModel(t *testing.T) { diff --git a/sdk/cliproxy/auth/conductor.go b/sdk/cliproxy/auth/conductor.go index cdc4dc4b6f..832e7c6824 100644 --- a/sdk/cliproxy/auth/conductor.go +++ b/sdk/cliproxy/auth/conductor.go @@ -7,8 +7,8 @@ import ( "sync/atomic" "time" - internalconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" + internalconfig "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" ) // ProviderExecutor defines the contract required by Manager to execute provider calls. diff --git a/sdk/cliproxy/auth/conductor_apikey.go b/sdk/cliproxy/auth/conductor_apikey.go index 5643c49ebf..e5a9379e4f 100644 --- a/sdk/cliproxy/auth/conductor_apikey.go +++ b/sdk/cliproxy/auth/conductor_apikey.go @@ -3,8 +3,8 @@ package auth import ( "strings" - internalconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + internalconfig "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" ) // APIKeyConfigEntry is a generic interface for API key configurations. diff --git a/sdk/cliproxy/auth/conductor_execution.go b/sdk/cliproxy/auth/conductor_execution.go index 4cee4b6f55..adadff5c4c 100644 --- a/sdk/cliproxy/auth/conductor_execution.go +++ b/sdk/cliproxy/auth/conductor_execution.go @@ -4,8 +4,8 @@ import ( "context" "errors" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" ) // Execute performs a non-streaming execution using the configured selector and executor. diff --git a/sdk/cliproxy/auth/conductor_executor_replace_test.go b/sdk/cliproxy/auth/conductor_executor_replace_test.go index c17df456d0..b5384f8ffd 100644 --- a/sdk/cliproxy/auth/conductor_executor_replace_test.go +++ b/sdk/cliproxy/auth/conductor_executor_replace_test.go @@ -6,7 +6,7 @@ import ( "sync" "testing" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" ) type replaceAwareExecutor struct { diff --git a/sdk/cliproxy/auth/conductor_helpers.go b/sdk/cliproxy/auth/conductor_helpers.go index 47386ab82f..905a06ecd3 100644 --- a/sdk/cliproxy/auth/conductor_helpers.go +++ b/sdk/cliproxy/auth/conductor_helpers.go @@ -7,9 +7,9 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/logging" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/logging" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" log "github.com/sirupsen/logrus" ) diff --git a/sdk/cliproxy/auth/conductor_management.go b/sdk/cliproxy/auth/conductor_management.go index 42900e647f..4acb639906 100644 --- a/sdk/cliproxy/auth/conductor_management.go +++ b/sdk/cliproxy/auth/conductor_management.go @@ -7,7 +7,7 @@ import ( "github.com/google/uuid" - internalconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" + internalconfig "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" ) // RegisterExecutor registers a provider executor with the manager. diff --git a/sdk/cliproxy/auth/conductor_result.go b/sdk/cliproxy/auth/conductor_result.go index 614dbeccd1..a8366ea572 100644 --- a/sdk/cliproxy/auth/conductor_result.go +++ b/sdk/cliproxy/auth/conductor_result.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" ) // MarkResult records an execution result and notifies hooks. diff --git a/sdk/cliproxy/auth/conductor_selection.go b/sdk/cliproxy/auth/conductor_selection.go index 89b388f84b..46f6e48a4c 100644 --- a/sdk/cliproxy/auth/conductor_selection.go +++ b/sdk/cliproxy/auth/conductor_selection.go @@ -4,9 +4,9 @@ import ( "context" "strings" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" ) // pickNextMixed selects an auth from multiple providers. diff --git a/sdk/cliproxy/auth/manager_ops.go b/sdk/cliproxy/auth/manager_ops.go index 5bb264da5a..857bb80cad 100644 --- a/sdk/cliproxy/auth/manager_ops.go +++ b/sdk/cliproxy/auth/manager_ops.go @@ -6,7 +6,7 @@ import ( "strings" "time" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" ) // RegisterExecutor registers a provider executor with the manager. diff --git a/sdk/cliproxy/auth/oauth_model_alias.go b/sdk/cliproxy/auth/oauth_model_alias.go index 4277551ed9..405ed452cd 100644 --- a/sdk/cliproxy/auth/oauth_model_alias.go +++ b/sdk/cliproxy/auth/oauth_model_alias.go @@ -3,8 +3,8 @@ package auth import ( "strings" - internalconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" + internalconfig "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" ) type modelAliasEntry interface { diff --git a/sdk/cliproxy/auth/oauth_model_alias_test.go b/sdk/cliproxy/auth/oauth_model_alias_test.go index 426fafc1b6..650dcbb010 100644 --- a/sdk/cliproxy/auth/oauth_model_alias_test.go +++ b/sdk/cliproxy/auth/oauth_model_alias_test.go @@ -3,7 +3,7 @@ package auth import ( "testing" - internalconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" + internalconfig "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" ) func TestResolveOAuthUpstreamModel_SuffixPreservation(t *testing.T) { diff --git a/sdk/cliproxy/auth/selector.go b/sdk/cliproxy/auth/selector.go index 42c89f2660..fdbcfe0a4b 100644 --- a/sdk/cliproxy/auth/selector.go +++ b/sdk/cliproxy/auth/selector.go @@ -13,8 +13,8 @@ import ( "sync" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/thinking" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/thinking" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" ) // RoundRobinSelector provides a simple provider scoped round-robin selection strategy. diff --git a/sdk/cliproxy/auth/selector_test.go b/sdk/cliproxy/auth/selector_test.go index 830d0fa70e..5d91eb0ab4 100644 --- a/sdk/cliproxy/auth/selector_test.go +++ b/sdk/cliproxy/auth/selector_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" ) func TestFillFirstSelectorPick_Deterministic(t *testing.T) { diff --git a/sdk/cliproxy/auth/types.go b/sdk/cliproxy/auth/types.go index 42819b0b42..3c43c88815 100644 --- a/sdk/cliproxy/auth/types.go +++ b/sdk/cliproxy/auth/types.go @@ -12,7 +12,7 @@ import ( "sync" "time" - baseauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth" + baseauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth" ) // PostAuthHook defines a function that is called after an Auth record is created diff --git a/sdk/cliproxy/builder.go b/sdk/cliproxy/builder.go index d0c4ecd5f2..a53fa5db70 100644 --- a/sdk/cliproxy/builder.go +++ b/sdk/cliproxy/builder.go @@ -7,12 +7,12 @@ import ( "fmt" "strings" - configaccess "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/access/config_access" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/api" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - sdkaccess "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/access" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + configaccess "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/access/config_access" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/api" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + sdkaccess "github.com/kooshapari/CLIProxyAPI/v7/sdk/access" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) // Builder constructs a Service instance with customizable providers. diff --git a/sdk/cliproxy/executor/types.go b/sdk/cliproxy/executor/types.go index 3e5d9cbf8e..d6a6648a2e 100644 --- a/sdk/cliproxy/executor/types.go +++ b/sdk/cliproxy/executor/types.go @@ -4,7 +4,7 @@ import ( "net/http" "net/url" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" ) // RequestedModelMetadataKey stores the client-requested model name in Options.Metadata. diff --git a/sdk/cliproxy/model_registry.go b/sdk/cliproxy/model_registry.go index c504d74e49..462ba03399 100644 --- a/sdk/cliproxy/model_registry.go +++ b/sdk/cliproxy/model_registry.go @@ -1,6 +1,6 @@ package cliproxy -import "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" +import "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" // ModelInfo re-exports the registry model info structure. type ModelInfo = registry.ModelInfo diff --git a/sdk/cliproxy/pipeline/context.go b/sdk/cliproxy/pipeline/context.go index dbb557aee4..830dbd0f08 100644 --- a/sdk/cliproxy/pipeline/context.go +++ b/sdk/cliproxy/pipeline/context.go @@ -4,9 +4,9 @@ import ( "context" "net/http" - cliproxyauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - cliproxyexecutor "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + cliproxyauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + cliproxyexecutor "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" ) // Context encapsulates execution state shared across middleware, translators, and executors. diff --git a/sdk/cliproxy/pprof_server.go b/sdk/cliproxy/pprof_server.go index 043f6fb27b..feaa8f48c8 100644 --- a/sdk/cliproxy/pprof_server.go +++ b/sdk/cliproxy/pprof_server.go @@ -9,7 +9,7 @@ import ( "sync" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" log "github.com/sirupsen/logrus" ) diff --git a/sdk/cliproxy/providers.go b/sdk/cliproxy/providers.go index 0801b122f3..f0b0d0a9d6 100644 --- a/sdk/cliproxy/providers.go +++ b/sdk/cliproxy/providers.go @@ -3,8 +3,8 @@ package cliproxy import ( "context" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/watcher" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/watcher" ) // NewFileTokenClientProvider returns the default token-backed client loader. diff --git a/sdk/cliproxy/rtprovider.go b/sdk/cliproxy/rtprovider.go index 4abfacc2b5..37b5859819 100644 --- a/sdk/cliproxy/rtprovider.go +++ b/sdk/cliproxy/rtprovider.go @@ -8,7 +8,7 @@ import ( "strings" "sync" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" log "github.com/sirupsen/logrus" "golang.org/x/net/proxy" ) diff --git a/sdk/cliproxy/service.go b/sdk/cliproxy/service.go index b08666c709..c7423e2410 100644 --- a/sdk/cliproxy/service.go +++ b/sdk/cliproxy/service.go @@ -12,18 +12,18 @@ import ( "sync" "time" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/api" - kiroauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kiro" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/executor" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/usage" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/watcher" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/wsrelay" - sdkaccess "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/access" - sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/usage" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/api" + kiroauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kiro" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/executor" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/usage" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/watcher" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/wsrelay" + sdkaccess "github.com/kooshapari/CLIProxyAPI/v7/sdk/access" + sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/usage" log "github.com/sirupsen/logrus" ) diff --git a/sdk/cliproxy/service_antigravity_backfill_test.go b/sdk/cliproxy/service_antigravity_backfill_test.go index 6c7f6e44ec..fc25b94236 100644 --- a/sdk/cliproxy/service_antigravity_backfill_test.go +++ b/sdk/cliproxy/service_antigravity_backfill_test.go @@ -5,9 +5,9 @@ import ( "strings" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func TestBackfillAntigravityModels_RegistersMissingAuth(t *testing.T) { diff --git a/sdk/cliproxy/service_codex_executor_binding_test.go b/sdk/cliproxy/service_codex_executor_binding_test.go index 2dbb8bda6e..571b940ef5 100644 --- a/sdk/cliproxy/service_codex_executor_binding_test.go +++ b/sdk/cliproxy/service_codex_executor_binding_test.go @@ -3,8 +3,8 @@ package cliproxy import ( "testing" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/config" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/config" ) func TestEnsureExecutorsForAuth_CodexDoesNotReplaceInNormalMode(t *testing.T) { diff --git a/sdk/cliproxy/service_excluded_models_test.go b/sdk/cliproxy/service_excluded_models_test.go index f897889be6..be56220f3b 100644 --- a/sdk/cliproxy/service_excluded_models_test.go +++ b/sdk/cliproxy/service_excluded_models_test.go @@ -4,8 +4,8 @@ import ( "strings" "testing" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/config" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/config" ) func TestRegisterModelsForAuth_UsesPreMergedExcludedModelsAttribute(t *testing.T) { diff --git a/sdk/cliproxy/service_oauth_model_alias_test.go b/sdk/cliproxy/service_oauth_model_alias_test.go index b676c1d1ab..b3cf7be9ae 100644 --- a/sdk/cliproxy/service_oauth_model_alias_test.go +++ b/sdk/cliproxy/service_oauth_model_alias_test.go @@ -3,7 +3,7 @@ package cliproxy import ( "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/config" + "github.com/kooshapari/CLIProxyAPI/v7/sdk/config" ) func TestApplyOAuthModelAlias_Rename(t *testing.T) { diff --git a/sdk/cliproxy/types.go b/sdk/cliproxy/types.go index 3aa263d626..c0e12ae53c 100644 --- a/sdk/cliproxy/types.go +++ b/sdk/cliproxy/types.go @@ -6,9 +6,9 @@ package cliproxy import ( "context" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/watcher" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/watcher" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) // TokenClientProvider loads clients backed by stored authentication tokens. diff --git a/sdk/cliproxy/watcher.go b/sdk/cliproxy/watcher.go index 6a23c36837..270701bd0a 100644 --- a/sdk/cliproxy/watcher.go +++ b/sdk/cliproxy/watcher.go @@ -3,9 +3,9 @@ package cliproxy import ( "context" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/watcher" - coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/watcher" + coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth" ) func defaultWatcherFactory(configPath, authDir string, reload func(*config.Config)) (*WatcherWrapper, error) { diff --git a/sdk/config/config.go b/sdk/config/config.go index a9bb3875a0..dfb4011a3f 100644 --- a/sdk/config/config.go +++ b/sdk/config/config.go @@ -4,7 +4,7 @@ // embed CLIProxyAPI without importing internal packages. package config -import llmproxyconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config" +import llmproxyconfig "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config" type SDKConfig = pkgconfig.SDKConfig diff --git a/sdk/logging/request_logger.go b/sdk/logging/request_logger.go index 2926553a77..e5c4073e35 100644 --- a/sdk/logging/request_logger.go +++ b/sdk/logging/request_logger.go @@ -1,7 +1,7 @@ // Package logging re-exports request logging primitives for SDK consumers. package logging -import internallogging "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/logging" +import internallogging "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/logging" const defaultErrorLogsMaxFiles = 10 diff --git a/sdk/translator/builtin/builtin.go b/sdk/translator/builtin/builtin.go index 8431f19d3e..fe3ae9b8b9 100644 --- a/sdk/translator/builtin/builtin.go +++ b/sdk/translator/builtin/builtin.go @@ -2,9 +2,9 @@ package builtin import ( - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator" ) // Registry exposes the default registry populated with all built-in translators. diff --git a/sdk/watcher/auth_update_alias.go b/sdk/watcher/auth_update_alias.go index 2e03f6edcc..8879fb5b77 100644 --- a/sdk/watcher/auth_update_alias.go +++ b/sdk/watcher/auth_update_alias.go @@ -4,7 +4,7 @@ // pkg/llmproxy/watcher.AuthUpdate types without import conflicts. package watcher -import llmproxywatcher "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/watcher" +import llmproxywatcher "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/watcher" // AuthUpdate is a type alias for pkg/llmproxy/watcher.AuthUpdate type AuthUpdate = llmproxywatcher.AuthUpdate diff --git a/test/amp_management_test.go b/test/amp_management_test.go index fafe96268b..474987b804 100644 --- a/test/amp_management_test.go +++ b/test/amp_management_test.go @@ -10,8 +10,8 @@ import ( "testing" "github.com/gin-gonic/gin" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/api/handlers/management" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config" + "github.com/kooshapari/CLIProxyAPI/v7/internal/api/handlers/management" + "github.com/kooshapari/CLIProxyAPI/v7/internal/config" ) func init() { diff --git a/test/builtin_tools_translation_test.go b/test/builtin_tools_translation_test.go index c535b0c276..2d9e8611d9 100644 --- a/test/builtin_tools_translation_test.go +++ b/test/builtin_tools_translation_test.go @@ -3,9 +3,9 @@ package test import ( "testing" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/translator" + _ "github.com/kooshapari/CLIProxyAPI/v7/internal/translator" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" "github.com/tidwall/gjson" ) diff --git a/test/e2e_test.go b/test/e2e_test.go index 6658947d80..6b597b1c53 100644 --- a/test/e2e_test.go +++ b/test/e2e_test.go @@ -11,7 +11,7 @@ import ( "strings" "testing" - "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/cmd" + "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/cmd" ) func testRepoRoot() string { diff --git a/test/openai_websearch_translation_test.go b/test/openai_websearch_translation_test.go index 7cb19d9b92..085fb0b416 100644 --- a/test/openai_websearch_translation_test.go +++ b/test/openai_websearch_translation_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/translator" + _ "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/translator" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" "github.com/tidwall/gjson" ) diff --git a/test/roo_kilo_login_integration_test.go b/test/roo_kilo_login_integration_test.go index 0f20e74638..94bec9895c 100644 --- a/test/roo_kilo_login_integration_test.go +++ b/test/roo_kilo_login_integration_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - cliproxycmd "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/cmd" + cliproxycmd "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/cmd" ) func TestRooLoginRunner_WithFakeRoo(t *testing.T) { diff --git a/test/thinking_conversion_test.go b/test/thinking_conversion_test.go index 5734cce016..8d1a35fe9e 100644 --- a/test/thinking_conversion_test.go +++ b/test/thinking_conversion_test.go @@ -6,21 +6,21 @@ import ( "testing" "time" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/translator" + _ "github.com/kooshapari/CLIProxyAPI/v7/internal/translator" // Import provider packages to trigger init() registration of ProviderAppliers - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/thinking/provider/antigravity" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/thinking/provider/claude" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/thinking/provider/codex" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/thinking/provider/gemini" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/thinking/provider/geminicli" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/thinking/provider/iflow" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/thinking/provider/kimi" - _ "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/thinking/provider/openai" - - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/registry" - "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/thinking" - sdktranslator "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator" + _ "github.com/kooshapari/CLIProxyAPI/v7/internal/thinking/provider/antigravity" + _ "github.com/kooshapari/CLIProxyAPI/v7/internal/thinking/provider/claude" + _ "github.com/kooshapari/CLIProxyAPI/v7/internal/thinking/provider/codex" + _ "github.com/kooshapari/CLIProxyAPI/v7/internal/thinking/provider/gemini" + _ "github.com/kooshapari/CLIProxyAPI/v7/internal/thinking/provider/geminicli" + _ "github.com/kooshapari/CLIProxyAPI/v7/internal/thinking/provider/iflow" + _ "github.com/kooshapari/CLIProxyAPI/v7/internal/thinking/provider/kimi" + _ "github.com/kooshapari/CLIProxyAPI/v7/internal/thinking/provider/openai" + + "github.com/kooshapari/CLIProxyAPI/v7/internal/registry" + "github.com/kooshapari/CLIProxyAPI/v7/internal/thinking" + sdktranslator "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator" "github.com/tidwall/gjson" "github.com/tidwall/sjson" )