From 1d0d664d5d3bdc9220c5cf9be2575c0a11138a02 Mon Sep 17 00:00:00 2001 From: Algis Dumbris Date: Wed, 14 Jan 2026 16:33:45 +0200 Subject: [PATCH] fix: use canonical module path for go install support Changes the module declaration from `mcpproxy-go` to `github.com/smart-mcp-proxy/mcpproxy-go` to enable installation via: go install github.com/smart-mcp-proxy/mcpproxy-go/cmd/mcpproxy@latest This fixes the "module declares its path as: mcpproxy-go but was required as: github.com/smart-mcp-proxy/mcpproxy-go" error. Updates 153 files to use the canonical import path. Fixes #256 Co-Authored-By: Claude Opus 4.5 --- cmd/mcpproxy-tray/internal/api/adapter.go | 2 +- cmd/mcpproxy-tray/internal/api/client.go | 4 +-- cmd/mcpproxy-tray/internal/monitor/health.go | 6 ++-- cmd/mcpproxy-tray/internal/monitor/process.go | 2 +- .../internal/monitor/process_windows.go | 2 +- cmd/mcpproxy-tray/main.go | 10 +++--- cmd/mcpproxy/activity_cmd.go | 10 +++--- cmd/mcpproxy/auth_cmd.go | 12 +++---- cmd/mcpproxy/auth_cmd_test.go | 2 +- cmd/mcpproxy/call_cmd.go | 22 ++++++------ cmd/mcpproxy/cmd_helpers.go | 2 +- cmd/mcpproxy/code_cmd.go | 20 +++++------ cmd/mcpproxy/doctor_cmd.go | 6 ++-- cmd/mcpproxy/doctor_cmd_test.go | 2 +- cmd/mcpproxy/main.go | 16 ++++----- cmd/mcpproxy/secrets_cmd.go | 8 ++--- cmd/mcpproxy/tools_cmd.go | 18 +++++----- cmd/mcpproxy/tools_cmd_test.go | 2 +- cmd/mcpproxy/trust_cert_cmd.go | 4 +-- cmd/mcpproxy/upstream_cmd.go | 14 ++++---- cmd/mcpproxy/upstream_cmd_test.go | 6 ++-- cmd/populate-test-data/main.go | 4 +-- .../2025-11-19-cli-management-commands.md | 12 +++---- docs/security-skipped-auth-tests.md | 2 +- go.mod | 2 +- internal/appctx/adapters.go | 12 +++---- internal/appctx/context.go | 16 ++++----- internal/appctx/contracts_test.go | 6 ++-- internal/appctx/interfaces.go | 6 ++-- internal/cliclient/client.go | 6 ++-- internal/cliclient/client_test.go | 2 +- internal/config/config.go | 2 +- internal/contracts/converters.go | 2 +- internal/contracts/intent.go | 2 +- internal/contracts/intent_test.go | 2 +- internal/experiments/guesser.go | 4 +-- internal/experiments/guesser_test.go | 2 +- internal/health/calculator.go | 2 +- internal/health/constants.go | 2 +- internal/health/helpers_test.go | 2 +- internal/httpapi/activity.go | 4 +-- internal/httpapi/activity_test.go | 4 +-- internal/httpapi/code_exec.go | 2 +- internal/httpapi/code_exec_test.go | 4 +-- internal/httpapi/contracts_test.go | 14 ++++---- internal/httpapi/handlers_test.go | 8 ++--- internal/httpapi/middleware.go | 2 +- internal/httpapi/security_test.go | 14 ++++---- internal/httpapi/server.go | 24 ++++++------- internal/httpapi/sse_activity_test.go | 2 +- internal/httpapi/swagger.go | 2 +- internal/index/bleve.go | 2 +- internal/index/bleve_test.go | 2 +- internal/index/manager.go | 2 +- internal/logs/e2e_test.go | 2 +- internal/logs/logger.go | 2 +- internal/management/diagnostics.go | 4 +-- internal/management/diagnostics_test.go | 2 +- internal/management/service.go | 10 +++--- internal/management/service_test.go | 4 +-- internal/oauth/config.go | 4 +-- internal/oauth/config_test.go | 4 +-- internal/oauth/persistent_token_store.go | 2 +- internal/oauth/persistent_token_store_test.go | 2 +- internal/oauth/refresh_manager.go | 2 +- internal/oauth/refresh_manager_test.go | 2 +- internal/oauth/status.go | 2 +- internal/oauth/status_test.go | 2 +- internal/registries/integration_test.go | 2 +- internal/registries/registry_data.go | 2 +- internal/registries/search.go | 2 +- internal/registries/search_test.go | 6 ++-- internal/registries/types.go | 2 +- internal/runtime/activity_service.go | 2 +- internal/runtime/apply_config_restart_test.go | 2 +- internal/runtime/config_hotreload.go | 2 +- internal/runtime/config_hotreload_test.go | 2 +- internal/runtime/configsvc/service.go | 2 +- internal/runtime/configsvc/service_test.go | 2 +- internal/runtime/configsvc/snapshot.go | 2 +- internal/runtime/event_bus_secrets_test.go | 2 +- internal/runtime/lifecycle.go | 8 ++--- internal/runtime/lifecycle_bench_test.go | 2 +- internal/runtime/runtime.go | 34 +++++++++--------- internal/runtime/runtime_listen_test.go | 2 +- internal/runtime/runtime_test.go | 2 +- internal/runtime/stateview/stateview.go | 2 +- internal/runtime/stateview/stateview_test.go | 2 +- internal/runtime/supervisor/actor/actor.go | 4 +-- .../runtime/supervisor/actor/actor_test.go | 2 +- internal/runtime/supervisor/actor/types.go | 2 +- internal/runtime/supervisor/actor_pool.go | 4 +-- .../actor_pool_complex_reference.go | 6 ++-- internal/runtime/supervisor/supervisor.go | 8 ++--- .../runtime/supervisor/supervisor_test.go | 4 +-- internal/runtime/supervisor/types.go | 4 +-- internal/runtime/tool_invalidation_test.go | 2 +- internal/server/cli_client_mode_e2e_test.go | 2 +- internal/server/e2e_binary_test.go | 2 +- .../server/e2e_config_auto_refresh_test.go | 2 +- internal/server/e2e_mcp_test.go | 2 +- internal/server/e2e_oauth_zero_config_test.go | 6 ++-- internal/server/e2e_test.go | 4 +-- internal/server/intent_validation_test.go | 4 +-- internal/server/listener.go | 2 +- internal/server/mcp.go | 36 +++++++++---------- internal/server/mcp_code_execution.go | 6 ++-- internal/server/mcp_code_execution_test.go | 16 ++++----- internal/server/mcp_test.go | 6 ++-- internal/server/mocks_test.go | 2 +- internal/server/oauth_extra_params_test.go | 2 +- .../server/quarantine_config_apply_test.go | 4 +-- internal/server/server.go | 26 +++++++------- internal/server/session_store.go | 2 +- internal/server/socket_e2e_test.go | 2 +- internal/server/upstream_test.go | 14 ++++---- internal/socket/detect_test.go | 2 +- internal/socket/dialer_test.go | 2 +- internal/storage/async_ops.go | 2 +- internal/storage/async_ops_test.go | 2 +- internal/storage/manager.go | 2 +- internal/storage/manager_oauth_test.go | 4 +-- internal/storage/models.go | 2 +- internal/storage/quarantine_test.go | 2 +- internal/storage/server_identity.go | 2 +- internal/storage/server_identity_test.go | 2 +- internal/transport/http.go | 2 +- internal/tray/managers.go | 2 +- internal/tray/managers_test.go | 2 +- internal/tray/notifications.go | 2 +- internal/tray/notifications_stub.go | 2 +- internal/tray/tray.go | 8 ++--- internal/tray/tray_stub.go | 2 +- internal/tray/tray_test.go | 2 +- internal/truncate/truncator.go | 2 +- internal/upstream/cli/client.go | 12 +++---- internal/upstream/client_test.go | 8 ++--- internal/upstream/core/client.go | 14 ++++---- internal/upstream/core/connection.go | 6 ++-- internal/upstream/core/isolation.go | 2 +- internal/upstream/core/isolation_log_test.go | 2 +- internal/upstream/core/shell_test.go | 4 +-- internal/upstream/core/workingdir_test.go | 2 +- internal/upstream/interfaces.go | 4 +-- internal/upstream/managed/client.go | 12 +++---- internal/upstream/manager.go | 16 ++++----- internal/upstream/manager_bench_test.go | 6 ++-- internal/upstream/notifications.go | 2 +- .../upstream/secure_env_integration_test.go | 10 +++--- .../quickstart.md | 2 +- .../quickstart.md | 6 ++-- .../009-proactive-oauth-refresh/quickstart.md | 2 +- tests/oauthserver/cmd/server/main.go | 2 +- 153 files changed, 402 insertions(+), 402 deletions(-) diff --git a/cmd/mcpproxy-tray/internal/api/adapter.go b/cmd/mcpproxy-tray/internal/api/adapter.go index 6de560bf..b111e2be 100644 --- a/cmd/mcpproxy-tray/internal/api/adapter.go +++ b/cmd/mcpproxy-tray/internal/api/adapter.go @@ -7,7 +7,7 @@ import ( "path/filepath" "runtime" - internalRuntime "mcpproxy-go/internal/runtime" + internalRuntime "github.com/smart-mcp-proxy/mcpproxy-go/internal/runtime" ) // ClientInterface defines the methods required by ServerAdapter from the API client. diff --git a/cmd/mcpproxy-tray/internal/api/client.go b/cmd/mcpproxy-tray/internal/api/client.go index 405ef9aa..d1791422 100644 --- a/cmd/mcpproxy-tray/internal/api/client.go +++ b/cmd/mcpproxy-tray/internal/api/client.go @@ -20,8 +20,8 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/socket" - "mcpproxy-go/internal/tray" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/tray" ) // HealthStatus represents the unified health status of an upstream MCP server. diff --git a/cmd/mcpproxy-tray/internal/monitor/health.go b/cmd/mcpproxy-tray/internal/monitor/health.go index 93552c7b..15ad7acb 100644 --- a/cmd/mcpproxy-tray/internal/monitor/health.go +++ b/cmd/mcpproxy-tray/internal/monitor/health.go @@ -10,9 +10,9 @@ import ( "go.uber.org/zap" - "mcpproxy-go/cmd/mcpproxy-tray/internal/api" - "mcpproxy-go/cmd/mcpproxy-tray/internal/state" - "mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/cmd/mcpproxy-tray/internal/api" + "github.com/smart-mcp-proxy/mcpproxy-go/cmd/mcpproxy-tray/internal/state" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" ) // HealthStatus represents the health status of the core service diff --git a/cmd/mcpproxy-tray/internal/monitor/process.go b/cmd/mcpproxy-tray/internal/monitor/process.go index f08cecb4..3fb54bb8 100644 --- a/cmd/mcpproxy-tray/internal/monitor/process.go +++ b/cmd/mcpproxy-tray/internal/monitor/process.go @@ -16,7 +16,7 @@ import ( "go.uber.org/zap" - "mcpproxy-go/cmd/mcpproxy-tray/internal/state" + "github.com/smart-mcp-proxy/mcpproxy-go/cmd/mcpproxy-tray/internal/state" ) // ProcessStatus represents the status of a monitored process diff --git a/cmd/mcpproxy-tray/internal/monitor/process_windows.go b/cmd/mcpproxy-tray/internal/monitor/process_windows.go index e02563f5..b786b88b 100644 --- a/cmd/mcpproxy-tray/internal/monitor/process_windows.go +++ b/cmd/mcpproxy-tray/internal/monitor/process_windows.go @@ -15,7 +15,7 @@ import ( "go.uber.org/zap" - "mcpproxy-go/cmd/mcpproxy-tray/internal/state" + "github.com/smart-mcp-proxy/mcpproxy-go/cmd/mcpproxy-tray/internal/state" ) // Windows-specific ProcessMonitor implementation without POSIX process groups. diff --git a/cmd/mcpproxy-tray/main.go b/cmd/mcpproxy-tray/main.go index 753e3375..7c883edc 100644 --- a/cmd/mcpproxy-tray/main.go +++ b/cmd/mcpproxy-tray/main.go @@ -28,11 +28,11 @@ import ( "go.uber.org/zap" "go.uber.org/zap/zapcore" - "mcpproxy-go/cmd/mcpproxy-tray/internal/api" - "mcpproxy-go/cmd/mcpproxy-tray/internal/monitor" - "mcpproxy-go/cmd/mcpproxy-tray/internal/state" - "mcpproxy-go/internal/socket" - "mcpproxy-go/internal/tray" + "github.com/smart-mcp-proxy/mcpproxy-go/cmd/mcpproxy-tray/internal/api" + "github.com/smart-mcp-proxy/mcpproxy-go/cmd/mcpproxy-tray/internal/monitor" + "github.com/smart-mcp-proxy/mcpproxy-go/cmd/mcpproxy-tray/internal/state" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/tray" ) const ( diff --git a/cmd/mcpproxy/activity_cmd.go b/cmd/mcpproxy/activity_cmd.go index a5feaf6c..408e97f3 100644 --- a/cmd/mcpproxy/activity_cmd.go +++ b/cmd/mcpproxy/activity_cmd.go @@ -18,11 +18,11 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "mcpproxy-go/internal/cli/output" - "mcpproxy-go/internal/cliclient" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/logs" - "mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cli/output" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cliclient" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/logs" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" ) // Activity command flags diff --git a/cmd/mcpproxy/auth_cmd.go b/cmd/mcpproxy/auth_cmd.go index 9d01f87e..b3cbe573 100644 --- a/cmd/mcpproxy/auth_cmd.go +++ b/cmd/mcpproxy/auth_cmd.go @@ -9,12 +9,12 @@ import ( "strings" "time" - "mcpproxy-go/internal/cliclient" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/contracts" - "mcpproxy-go/internal/logs" - "mcpproxy-go/internal/socket" - "mcpproxy-go/internal/upstream/cli" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cliclient" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/logs" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/cli" "github.com/spf13/cobra" "go.uber.org/zap" diff --git a/cmd/mcpproxy/auth_cmd_test.go b/cmd/mcpproxy/auth_cmd_test.go index 77bfd50c..5b737d92 100644 --- a/cmd/mcpproxy/auth_cmd_test.go +++ b/cmd/mcpproxy/auth_cmd_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" "github.com/stretchr/testify/assert" ) diff --git a/cmd/mcpproxy/call_cmd.go b/cmd/mcpproxy/call_cmd.go index 990b1160..80445290 100644 --- a/cmd/mcpproxy/call_cmd.go +++ b/cmd/mcpproxy/call_cmd.go @@ -9,17 +9,17 @@ import ( "strings" "time" - "mcpproxy-go/internal/cache" - "mcpproxy-go/internal/cli/output" - "mcpproxy-go/internal/cliclient" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/index" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/server" - "mcpproxy-go/internal/socket" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/truncate" - "mcpproxy-go/internal/upstream" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cache" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cli/output" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cliclient" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/index" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/server" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/truncate" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream" "github.com/spf13/cobra" "go.uber.org/zap" diff --git a/cmd/mcpproxy/cmd_helpers.go b/cmd/mcpproxy/cmd_helpers.go index a81c7684..2f86f941 100644 --- a/cmd/mcpproxy/cmd_helpers.go +++ b/cmd/mcpproxy/cmd_helpers.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - "mcpproxy-go/internal/cliclient" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cliclient" ) // cmd_helpers.go provides type-safe helper functions for extracting fields diff --git a/cmd/mcpproxy/code_cmd.go b/cmd/mcpproxy/code_cmd.go index 0efaebda..90f549ee 100644 --- a/cmd/mcpproxy/code_cmd.go +++ b/cmd/mcpproxy/code_cmd.go @@ -9,16 +9,16 @@ import ( "strings" "time" - "mcpproxy-go/internal/cache" - "mcpproxy-go/internal/cliclient" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/index" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/server" - "mcpproxy-go/internal/socket" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/truncate" - "mcpproxy-go/internal/upstream" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cache" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cliclient" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/index" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/server" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/truncate" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream" "github.com/mark3labs/mcp-go/mcp" "github.com/spf13/cobra" diff --git a/cmd/mcpproxy/doctor_cmd.go b/cmd/mcpproxy/doctor_cmd.go index 6c3cf6ae..67515194 100644 --- a/cmd/mcpproxy/doctor_cmd.go +++ b/cmd/mcpproxy/doctor_cmd.go @@ -11,9 +11,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "mcpproxy-go/internal/cliclient" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cliclient" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" ) var ( diff --git a/cmd/mcpproxy/doctor_cmd_test.go b/cmd/mcpproxy/doctor_cmd_test.go index 33f4942c..d4f1eb8b 100644 --- a/cmd/mcpproxy/doctor_cmd_test.go +++ b/cmd/mcpproxy/doctor_cmd_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" ) func TestOutputDiagnostics_JSONFormat(t *testing.T) { diff --git a/cmd/mcpproxy/main.go b/cmd/mcpproxy/main.go index fcbe6273..dce719f0 100644 --- a/cmd/mcpproxy/main.go +++ b/cmd/mcpproxy/main.go @@ -38,14 +38,14 @@ import ( bbolterrors "go.etcd.io/bbolt/errors" "go.uber.org/zap" - clioutput "mcpproxy-go/internal/cli/output" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/experiments" - "mcpproxy-go/internal/logs" - "mcpproxy-go/internal/registries" - "mcpproxy-go/internal/server" - "mcpproxy-go/internal/storage" - _ "mcpproxy-go/oas" // Import generated swagger docs + clioutput "github.com/smart-mcp-proxy/mcpproxy-go/internal/cli/output" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/experiments" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/logs" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/registries" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/server" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + _ "github.com/smart-mcp-proxy/mcpproxy-go/oas" // Import generated swagger docs ) var ( diff --git a/cmd/mcpproxy/secrets_cmd.go b/cmd/mcpproxy/secrets_cmd.go index 64f031b2..4597c3a5 100644 --- a/cmd/mcpproxy/secrets_cmd.go +++ b/cmd/mcpproxy/secrets_cmd.go @@ -9,10 +9,10 @@ import ( "github.com/spf13/cobra" - "mcpproxy-go/internal/cli/output" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/logs" - "mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cli/output" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/logs" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" ) // GetSecretsCommand returns the secrets management command diff --git a/cmd/mcpproxy/tools_cmd.go b/cmd/mcpproxy/tools_cmd.go index c581d0e8..6f71c93c 100644 --- a/cmd/mcpproxy/tools_cmd.go +++ b/cmd/mcpproxy/tools_cmd.go @@ -7,15 +7,15 @@ import ( "path/filepath" "time" - "mcpproxy-go/internal/cli/output" - "mcpproxy-go/internal/cliclient" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/logs" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/socket" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/transport" - "mcpproxy-go/internal/upstream/managed" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cli/output" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cliclient" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/logs" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/transport" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/managed" "github.com/spf13/cobra" "go.uber.org/zap" diff --git a/cmd/mcpproxy/tools_cmd_test.go b/cmd/mcpproxy/tools_cmd_test.go index 48b2c9f6..41705c4e 100644 --- a/cmd/mcpproxy/tools_cmd_test.go +++ b/cmd/mcpproxy/tools_cmd_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" "github.com/stretchr/testify/assert" ) diff --git a/cmd/mcpproxy/trust_cert_cmd.go b/cmd/mcpproxy/trust_cert_cmd.go index ef1d7ce6..45e80bac 100644 --- a/cmd/mcpproxy/trust_cert_cmd.go +++ b/cmd/mcpproxy/trust_cert_cmd.go @@ -9,8 +9,8 @@ import ( "runtime" "strings" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/tlslocal" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/tlslocal" "github.com/spf13/cobra" ) diff --git a/cmd/mcpproxy/upstream_cmd.go b/cmd/mcpproxy/upstream_cmd.go index f7bd605f..361d1cd6 100644 --- a/cmd/mcpproxy/upstream_cmd.go +++ b/cmd/mcpproxy/upstream_cmd.go @@ -17,13 +17,13 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "mcpproxy-go/internal/cli/output" - "mcpproxy-go/internal/cliclient" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/health" - "mcpproxy-go/internal/logs" - "mcpproxy-go/internal/reqcontext" - "mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cli/output" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cliclient" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/health" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/logs" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/reqcontext" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" ) var ( diff --git a/cmd/mcpproxy/upstream_cmd_test.go b/cmd/mcpproxy/upstream_cmd_test.go index 1ef8c6e5..50a7f65f 100644 --- a/cmd/mcpproxy/upstream_cmd_test.go +++ b/cmd/mcpproxy/upstream_cmd_test.go @@ -8,9 +8,9 @@ import ( "strings" "testing" - "mcpproxy-go/internal/cliclient" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cliclient" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" ) // jsonEscapePath escapes a path for embedding in JSON strings. diff --git a/cmd/populate-test-data/main.go b/cmd/populate-test-data/main.go index 8db4959c..e3170f55 100644 --- a/cmd/populate-test-data/main.go +++ b/cmd/populate-test-data/main.go @@ -6,8 +6,8 @@ import ( "path/filepath" "time" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" "go.uber.org/zap" ) diff --git a/docs/plans/2025-11-19-cli-management-commands.md b/docs/plans/2025-11-19-cli-management-commands.md index bc39d30c..5abc5fa5 100644 --- a/docs/plans/2025-11-19-cli-management-commands.md +++ b/docs/plans/2025-11-19-cli-management-commands.md @@ -96,9 +96,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "mcpproxy-go/internal/cliclient" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cliclient" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" ) var ( @@ -937,9 +937,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "mcpproxy-go/internal/cliclient" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cliclient" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" ) var ( diff --git a/docs/security-skipped-auth-tests.md b/docs/security-skipped-auth-tests.md index bc003b0e..f938d678 100644 --- a/docs/security-skipped-auth-tests.md +++ b/docs/security-skipped-auth-tests.md @@ -111,7 +111,7 @@ import ( "github.com/stretchr/testify/assert" "go.uber.org/zap" - "mcpproxy-go/internal/transport" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/transport" ) // TestAPIKeyMiddleware_TCPRequiresAuth ensures TCP connections ALWAYS require API key diff --git a/go.mod b/go.mod index c4c9f27a..3d734bcf 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module mcpproxy-go +module github.com/smart-mcp-proxy/mcpproxy-go go 1.24.0 diff --git a/internal/appctx/adapters.go b/internal/appctx/adapters.go index fb0629df..9f49fbcc 100644 --- a/internal/appctx/adapters.go +++ b/internal/appctx/adapters.go @@ -5,12 +5,12 @@ import ( "fmt" "time" - "mcpproxy-go/internal/cache" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/oauth" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/upstream" - "mcpproxy-go/internal/upstream/core" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cache" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/oauth" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/core" "github.com/mark3labs/mcp-go/client" "go.uber.org/zap" diff --git a/internal/appctx/context.go b/internal/appctx/context.go index f4e306ef..5d999b91 100644 --- a/internal/appctx/context.go +++ b/internal/appctx/context.go @@ -3,14 +3,14 @@ package appctx import ( "fmt" - "mcpproxy-go/internal/cache" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/index" - "mcpproxy-go/internal/oauth" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/upstream" - "mcpproxy-go/internal/upstream/core" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cache" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/index" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/oauth" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/core" "go.uber.org/zap" ) diff --git a/internal/appctx/contracts_test.go b/internal/appctx/contracts_test.go index 9fbbbf56..c110ef57 100644 --- a/internal/appctx/contracts_test.go +++ b/internal/appctx/contracts_test.go @@ -6,9 +6,9 @@ import ( "testing" "time" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/upstream/managed" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/managed" "github.com/mark3labs/mcp-go/client" "github.com/stretchr/testify/assert" diff --git a/internal/appctx/interfaces.go b/internal/appctx/interfaces.go index c02b9fad..a15146fc 100644 --- a/internal/appctx/interfaces.go +++ b/internal/appctx/interfaces.go @@ -4,9 +4,9 @@ import ( "context" "time" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/upstream/managed" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/managed" "github.com/mark3labs/mcp-go/client" "go.uber.org/zap" diff --git a/internal/cliclient/client.go b/internal/cliclient/client.go index eb9ebe5f..c0f30b31 100644 --- a/internal/cliclient/client.go +++ b/internal/cliclient/client.go @@ -10,9 +10,9 @@ import ( "net/url" "time" - "mcpproxy-go/internal/contracts" - "mcpproxy-go/internal/reqcontext" - "mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/reqcontext" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" "go.uber.org/zap" ) diff --git a/internal/cliclient/client_test.go b/internal/cliclient/client_test.go index 3ee1a80e..55392cab 100644 --- a/internal/cliclient/client_test.go +++ b/internal/cliclient/client_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "mcpproxy-go/internal/cliclient" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cliclient" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/config/config.go b/internal/config/config.go index cb9069a6..e56c8dba 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -5,7 +5,7 @@ import ( "encoding/hex" "encoding/json" "fmt" - "mcpproxy-go/internal/secureenv" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secureenv" "os" "time" ) diff --git a/internal/contracts/converters.go b/internal/contracts/converters.go index 951770de..faf1a3fc 100644 --- a/internal/contracts/converters.go +++ b/internal/contracts/converters.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) // ConvertServerConfig converts a config.ServerConfig to a contracts.Server diff --git a/internal/contracts/intent.go b/internal/contracts/intent.go index f9515f3f..095564f3 100644 --- a/internal/contracts/intent.go +++ b/internal/contracts/intent.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) // Operation type constants for intent declaration diff --git a/internal/contracts/intent_test.go b/internal/contracts/intent_test.go index c6906c1c..9d02548a 100644 --- a/internal/contracts/intent_test.go +++ b/internal/contracts/intent_test.go @@ -3,7 +3,7 @@ package contracts import ( "testing" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) func TestIntentDeclaration_Validate(t *testing.T) { diff --git a/internal/experiments/guesser.go b/internal/experiments/guesser.go index 007f80ab..d04022f6 100644 --- a/internal/experiments/guesser.go +++ b/internal/experiments/guesser.go @@ -10,7 +10,7 @@ import ( "sync" "time" - "mcpproxy-go/internal/cache" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cache" "go.uber.org/zap" ) @@ -19,7 +19,7 @@ const ( npmRegistryURL = "https://registry.npmjs.org" requestTimeout = 10 * time.Second batchRequestTimeout = 3 * time.Second // Short timeout for batch operations - userAgent = "mcpproxy-go/1.0" + userAgent = "github.com/smart-mcp-proxy/mcpproxy-go/1.0" maxConcurrentRequests = 10 // Limit concurrent requests ) diff --git a/internal/experiments/guesser_test.go b/internal/experiments/guesser_test.go index 58cb75d6..ff40df80 100644 --- a/internal/experiments/guesser_test.go +++ b/internal/experiments/guesser_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "mcpproxy-go/internal/cache" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cache" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/health/calculator.go b/internal/health/calculator.go index 9596da19..7fc8e1fb 100644 --- a/internal/health/calculator.go +++ b/internal/health/calculator.go @@ -5,7 +5,7 @@ import ( "fmt" "time" - "mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" ) // HealthCalculatorInput contains all fields needed to calculate health status. diff --git a/internal/health/constants.go b/internal/health/constants.go index fbd9fcdf..6cf80641 100644 --- a/internal/health/constants.go +++ b/internal/health/constants.go @@ -5,7 +5,7 @@ // regenerate frontend/src/types/contracts.ts by running: go run ./cmd/generate-types package health -import "mcpproxy-go/internal/contracts" +import "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" // Health levels const ( diff --git a/internal/health/helpers_test.go b/internal/health/helpers_test.go index 16e3ffca..a85e8e16 100644 --- a/internal/health/helpers_test.go +++ b/internal/health/helpers_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - "mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" ) func TestIsHealthy_WithHealthyLevel(t *testing.T) { diff --git a/internal/httpapi/activity.go b/internal/httpapi/activity.go index aa3fdc13..3875192a 100644 --- a/internal/httpapi/activity.go +++ b/internal/httpapi/activity.go @@ -10,8 +10,8 @@ import ( "github.com/go-chi/chi/v5" - "mcpproxy-go/internal/contracts" - "mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" ) // parseActivityFilters extracts activity filter parameters from the request query string. diff --git a/internal/httpapi/activity_test.go b/internal/httpapi/activity_test.go index bddea2e7..d7203443 100644 --- a/internal/httpapi/activity_test.go +++ b/internal/httpapi/activity_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "mcpproxy-go/internal/contracts" - "mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" ) func TestParseActivityFilters(t *testing.T) { diff --git a/internal/httpapi/code_exec.go b/internal/httpapi/code_exec.go index f9d22af2..2d764feb 100644 --- a/internal/httpapi/code_exec.go +++ b/internal/httpapi/code_exec.go @@ -10,7 +10,7 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/reqcontext" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/reqcontext" ) // CodeExecRequest represents the request body for code execution. diff --git a/internal/httpapi/code_exec_test.go b/internal/httpapi/code_exec_test.go index 5aa2b0ef..dd3a07b7 100644 --- a/internal/httpapi/code_exec_test.go +++ b/internal/httpapi/code_exec_test.go @@ -8,8 +8,8 @@ import ( "net/http/httptest" "testing" - "mcpproxy-go/internal/contracts" - "mcpproxy-go/internal/httpapi" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/httpapi" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/httpapi/contracts_test.go b/internal/httpapi/contracts_test.go index 15adb3dd..4b9e981b 100644 --- a/internal/httpapi/contracts_test.go +++ b/internal/httpapi/contracts_test.go @@ -14,13 +14,13 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap/zaptest" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/contracts" - internalRuntime "mcpproxy-go/internal/runtime" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/updatecheck" - "mcpproxy-go/internal/upstream/core" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" + internalRuntime "github.com/smart-mcp-proxy/mcpproxy-go/internal/runtime" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/updatecheck" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/core" ) // MockServerController implements ServerController for testing diff --git a/internal/httpapi/handlers_test.go b/internal/httpapi/handlers_test.go index e18161c0..0d432140 100644 --- a/internal/httpapi/handlers_test.go +++ b/internal/httpapi/handlers_test.go @@ -9,10 +9,10 @@ import ( "net/http/httptest" "testing" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/contracts" - "mcpproxy-go/internal/reqcontext" - "mcpproxy-go/internal/upstream/core" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/reqcontext" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/core" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/httpapi/middleware.go b/internal/httpapi/middleware.go index a6b2553a..d7e34b79 100644 --- a/internal/httpapi/middleware.go +++ b/internal/httpapi/middleware.go @@ -6,7 +6,7 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/reqcontext" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/reqcontext" ) // RequestIDMiddleware extracts or generates a request ID for each request. diff --git a/internal/httpapi/security_test.go b/internal/httpapi/security_test.go index 9ccf3122..83470103 100644 --- a/internal/httpapi/security_test.go +++ b/internal/httpapi/security_test.go @@ -8,13 +8,13 @@ import ( "net/http/httptest" "testing" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/contracts" - "mcpproxy-go/internal/runtime" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/transport" - "mcpproxy-go/internal/updatecheck" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/runtime" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/transport" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/updatecheck" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/httpapi/server.go b/internal/httpapi/server.go index 33ded401..8b05c406 100644 --- a/internal/httpapi/server.go +++ b/internal/httpapi/server.go @@ -14,18 +14,18 @@ import ( "github.com/go-chi/chi/v5/middleware" "go.uber.org/zap" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/contracts" - "mcpproxy-go/internal/logs" - "mcpproxy-go/internal/management" - "mcpproxy-go/internal/observability" - "mcpproxy-go/internal/reqcontext" - internalRuntime "mcpproxy-go/internal/runtime" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/transport" - "mcpproxy-go/internal/updatecheck" - "mcpproxy-go/internal/upstream/core" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/logs" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/management" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/observability" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/reqcontext" + internalRuntime "github.com/smart-mcp-proxy/mcpproxy-go/internal/runtime" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/transport" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/updatecheck" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/core" ) const ( diff --git a/internal/httpapi/sse_activity_test.go b/internal/httpapi/sse_activity_test.go index 89518a19..58e30c83 100644 --- a/internal/httpapi/sse_activity_test.go +++ b/internal/httpapi/sse_activity_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/assert" - "mcpproxy-go/internal/runtime" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/runtime" ) // TestActivityEventTypes verifies that activity event types are defined correctly diff --git a/internal/httpapi/swagger.go b/internal/httpapi/swagger.go index 8e22427f..695e164d 100644 --- a/internal/httpapi/swagger.go +++ b/internal/httpapi/swagger.go @@ -9,7 +9,7 @@ import ( "go.uber.org/zap" swag "github.com/swaggo/swag/v2" - _ "mcpproxy-go/oas" // Import generated docs + _ "github.com/smart-mcp-proxy/mcpproxy-go/oas" // Import generated docs ) // SetupSwaggerHandler returns a handler for Swagger UI diff --git a/internal/index/bleve.go b/internal/index/bleve.go index 9a21deb9..aeb411e7 100644 --- a/internal/index/bleve.go +++ b/internal/index/bleve.go @@ -10,7 +10,7 @@ import ( "github.com/blevesearch/bleve/v2/analysis/analyzer/standard" "go.uber.org/zap" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) // BleveIndex wraps Bleve index operations diff --git a/internal/index/bleve_test.go b/internal/index/bleve_test.go index 4c89b18f..baf2bd33 100644 --- a/internal/index/bleve_test.go +++ b/internal/index/bleve_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) func TestBleveIndex_IndexAndSearch_DeFiLlamaTools(t *testing.T) { diff --git a/internal/index/manager.go b/internal/index/manager.go index c6c053f1..462fb5b8 100644 --- a/internal/index/manager.go +++ b/internal/index/manager.go @@ -4,7 +4,7 @@ import ( "fmt" "sync" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" "go.uber.org/zap" ) diff --git a/internal/logs/e2e_test.go b/internal/logs/e2e_test.go index 265fc32f..89c7a498 100644 --- a/internal/logs/e2e_test.go +++ b/internal/logs/e2e_test.go @@ -17,7 +17,7 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) // TestE2E_LoggingSystem tests the complete logging system end-to-end diff --git a/internal/logs/logger.go b/internal/logs/logger.go index 12d17a05..fd6fe26a 100644 --- a/internal/logs/logger.go +++ b/internal/logs/logger.go @@ -4,7 +4,7 @@ import ( "bufio" "fmt" "io" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" "os" "time" diff --git a/internal/management/diagnostics.go b/internal/management/diagnostics.go index b5a32710..4b7a279a 100644 --- a/internal/management/diagnostics.go +++ b/internal/management/diagnostics.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "mcpproxy-go/internal/contracts" - "mcpproxy-go/internal/health" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/health" ) // extractHealthFromMap extracts health status from a server map. diff --git a/internal/management/diagnostics_test.go b/internal/management/diagnostics_test.go index f0de277b..b291aac3 100644 --- a/internal/management/diagnostics_test.go +++ b/internal/management/diagnostics_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap/zaptest" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) // T034: Unit test for Doctor() method diff --git a/internal/management/service.go b/internal/management/service.go index b2b55d1d..55c9caa1 100644 --- a/internal/management/service.go +++ b/internal/management/service.go @@ -10,11 +10,11 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/contracts" - "mcpproxy-go/internal/reqcontext" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/upstream/core" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/reqcontext" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/core" ) // BulkOperationResult holds the results of a bulk operation across multiple servers. diff --git a/internal/management/service_test.go b/internal/management/service_test.go index 331943e7..59c74953 100644 --- a/internal/management/service_test.go +++ b/internal/management/service_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap/zaptest" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/upstream/core" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/core" ) // mockEventEmitter implements the EventEmitter interface for testing diff --git a/internal/oauth/config.go b/internal/oauth/config.go index 0382fe3e..af2f7aea 100644 --- a/internal/oauth/config.go +++ b/internal/oauth/config.go @@ -11,8 +11,8 @@ import ( "sync" "time" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" "github.com/mark3labs/mcp-go/client" "go.uber.org/zap" diff --git a/internal/oauth/config_test.go b/internal/oauth/config_test.go index 76d2d733..83ba1d3b 100644 --- a/internal/oauth/config_test.go +++ b/internal/oauth/config_test.go @@ -9,8 +9,8 @@ import ( "testing" "time" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" "github.com/mark3labs/mcp-go/client" "github.com/stretchr/testify/assert" diff --git a/internal/oauth/persistent_token_store.go b/internal/oauth/persistent_token_store.go index 2335f262..e453b701 100644 --- a/internal/oauth/persistent_token_store.go +++ b/internal/oauth/persistent_token_store.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" "github.com/mark3labs/mcp-go/client" transport "github.com/mark3labs/mcp-go/client/transport" diff --git a/internal/oauth/persistent_token_store_test.go b/internal/oauth/persistent_token_store_test.go index 327b06bd..5441afb6 100644 --- a/internal/oauth/persistent_token_store_test.go +++ b/internal/oauth/persistent_token_store_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" "github.com/mark3labs/mcp-go/client" "go.uber.org/zap" diff --git a/internal/oauth/refresh_manager.go b/internal/oauth/refresh_manager.go index 0bed82b5..c98b1991 100644 --- a/internal/oauth/refresh_manager.go +++ b/internal/oauth/refresh_manager.go @@ -9,7 +9,7 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" ) // Default refresh configuration diff --git a/internal/oauth/refresh_manager_test.go b/internal/oauth/refresh_manager_test.go index ffd338ca..a1506c93 100644 --- a/internal/oauth/refresh_manager_test.go +++ b/internal/oauth/refresh_manager_test.go @@ -12,7 +12,7 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap/zaptest" - "mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" ) // mockTokenStore implements RefreshTokenStore for testing. diff --git a/internal/oauth/status.go b/internal/oauth/status.go index 918272e9..41c975ce 100644 --- a/internal/oauth/status.go +++ b/internal/oauth/status.go @@ -5,7 +5,7 @@ import ( "strings" "time" - "mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" ) // OAuthStatus represents the current authentication state of an OAuth server. diff --git a/internal/oauth/status_test.go b/internal/oauth/status_test.go index 4270f2d7..6e295cc5 100644 --- a/internal/oauth/status_test.go +++ b/internal/oauth/status_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" "github.com/stretchr/testify/assert" ) diff --git a/internal/registries/integration_test.go b/internal/registries/integration_test.go index f0358159..8816ebbe 100644 --- a/internal/registries/integration_test.go +++ b/internal/registries/integration_test.go @@ -3,7 +3,7 @@ package registries import ( "context" "encoding/json" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" "net/http" "net/http/httptest" "testing" diff --git a/internal/registries/registry_data.go b/internal/registries/registry_data.go index 3847c644..7027ba6f 100644 --- a/internal/registries/registry_data.go +++ b/internal/registries/registry_data.go @@ -1,7 +1,7 @@ package registries import ( - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) var registryList []RegistryEntry diff --git a/internal/registries/search.go b/internal/registries/search.go index 630f854a..17703645 100644 --- a/internal/registries/search.go +++ b/internal/registries/search.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "mcpproxy-go/internal/experiments" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/experiments" ) // Constants for repeated strings diff --git a/internal/registries/search_test.go b/internal/registries/search_test.go index ea5c32ce..c2415073 100644 --- a/internal/registries/search_test.go +++ b/internal/registries/search_test.go @@ -3,7 +3,7 @@ package registries import ( "context" "encoding/json" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" "net/http" "net/http/httptest" "path/filepath" @@ -11,8 +11,8 @@ import ( "testing" "time" - "mcpproxy-go/internal/cache" - "mcpproxy-go/internal/experiments" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cache" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/experiments" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/registries/types.go b/internal/registries/types.go index c7dd57b8..e9062361 100644 --- a/internal/registries/types.go +++ b/internal/registries/types.go @@ -1,6 +1,6 @@ package registries -import "mcpproxy-go/internal/experiments" +import "github.com/smart-mcp-proxy/mcpproxy-go/internal/experiments" // RegistryEntry represents a registry in the embedded registry list type RegistryEntry struct { diff --git a/internal/runtime/activity_service.go b/internal/runtime/activity_service.go index e3e4c1a3..6191c147 100644 --- a/internal/runtime/activity_service.go +++ b/internal/runtime/activity_service.go @@ -7,7 +7,7 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" ) // Default retention configuration diff --git a/internal/runtime/apply_config_restart_test.go b/internal/runtime/apply_config_restart_test.go index c8275fc2..6e10dffa 100644 --- a/internal/runtime/apply_config_restart_test.go +++ b/internal/runtime/apply_config_restart_test.go @@ -8,7 +8,7 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/runtime/config_hotreload.go b/internal/runtime/config_hotreload.go index f815ad1c..1432fc05 100644 --- a/internal/runtime/config_hotreload.go +++ b/internal/runtime/config_hotreload.go @@ -2,7 +2,7 @@ package runtime import ( "fmt" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" "reflect" ) diff --git a/internal/runtime/config_hotreload_test.go b/internal/runtime/config_hotreload_test.go index 94d437cb..c194efbe 100644 --- a/internal/runtime/config_hotreload_test.go +++ b/internal/runtime/config_hotreload_test.go @@ -1,7 +1,7 @@ package runtime import ( - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" "testing" "time" diff --git a/internal/runtime/configsvc/service.go b/internal/runtime/configsvc/service.go index f0f1ad10..78aabad3 100644 --- a/internal/runtime/configsvc/service.go +++ b/internal/runtime/configsvc/service.go @@ -9,7 +9,7 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) // UpdateType describes the nature of a configuration update. diff --git a/internal/runtime/configsvc/service_test.go b/internal/runtime/configsvc/service_test.go index e2655323..6bd81407 100644 --- a/internal/runtime/configsvc/service_test.go +++ b/internal/runtime/configsvc/service_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) func TestNewService(t *testing.T) { diff --git a/internal/runtime/configsvc/snapshot.go b/internal/runtime/configsvc/snapshot.go index 8331db7c..7dd4ec77 100644 --- a/internal/runtime/configsvc/snapshot.go +++ b/internal/runtime/configsvc/snapshot.go @@ -1,7 +1,7 @@ package configsvc import ( - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" "time" ) diff --git a/internal/runtime/event_bus_secrets_test.go b/internal/runtime/event_bus_secrets_test.go index 12e1070f..aeab1ae3 100644 --- a/internal/runtime/event_bus_secrets_test.go +++ b/internal/runtime/event_bus_secrets_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "go.uber.org/zap" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) func TestEmitSecretsChanged(t *testing.T) { diff --git a/internal/runtime/lifecycle.go b/internal/runtime/lifecycle.go index 1aea0bc0..8779be76 100644 --- a/internal/runtime/lifecycle.go +++ b/internal/runtime/lifecycle.go @@ -8,10 +8,10 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/oauth" - "mcpproxy-go/internal/runtime/configsvc" - "mcpproxy-go/internal/runtime/supervisor" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/oauth" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/runtime/configsvc" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/runtime/supervisor" ) const connectAttemptTimeout = 45 * time.Second diff --git a/internal/runtime/lifecycle_bench_test.go b/internal/runtime/lifecycle_bench_test.go index e575695f..62cff372 100644 --- a/internal/runtime/lifecycle_bench_test.go +++ b/internal/runtime/lifecycle_bench_test.go @@ -8,7 +8,7 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) // BenchmarkLoadConfiguredServers measures the time to load and synchronize server configurations diff --git a/internal/runtime/runtime.go b/internal/runtime/runtime.go index 370a7b5e..ff7dee73 100644 --- a/internal/runtime/runtime.go +++ b/internal/runtime/runtime.go @@ -15,23 +15,23 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/cache" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/contracts" - "mcpproxy-go/internal/experiments" - "mcpproxy-go/internal/health" - "mcpproxy-go/internal/index" - "mcpproxy-go/internal/oauth" - "mcpproxy-go/internal/registries" - "mcpproxy-go/internal/runtime/configsvc" - "mcpproxy-go/internal/runtime/supervisor" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/server/tokens" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/truncate" - "mcpproxy-go/internal/updatecheck" - "mcpproxy-go/internal/upstream" - "mcpproxy-go/internal/upstream/core" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cache" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/experiments" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/health" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/index" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/oauth" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/registries" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/runtime/configsvc" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/runtime/supervisor" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/server/tokens" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/truncate" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/updatecheck" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/core" ) // Status captures high-level state for API consumers. diff --git a/internal/runtime/runtime_listen_test.go b/internal/runtime/runtime_listen_test.go index c430fb8b..795ecf7e 100644 --- a/internal/runtime/runtime_listen_test.go +++ b/internal/runtime/runtime_listen_test.go @@ -5,7 +5,7 @@ import ( "go.uber.org/zap/zaptest" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) func TestUpdateListenAddressValidation(t *testing.T) { diff --git a/internal/runtime/runtime_test.go b/internal/runtime/runtime_test.go index f9e15091..6fcb8be6 100644 --- a/internal/runtime/runtime_test.go +++ b/internal/runtime/runtime_test.go @@ -7,7 +7,7 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) func newTestRuntime(t *testing.T) *Runtime { diff --git a/internal/runtime/stateview/stateview.go b/internal/runtime/stateview/stateview.go index 55086f74..2516e1e3 100644 --- a/internal/runtime/stateview/stateview.go +++ b/internal/runtime/stateview/stateview.go @@ -5,7 +5,7 @@ import ( "sync/atomic" "time" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) // ToolInfo represents a cached tool definition. diff --git a/internal/runtime/stateview/stateview_test.go b/internal/runtime/stateview/stateview_test.go index 1d5779fb..770866a1 100644 --- a/internal/runtime/stateview/stateview_test.go +++ b/internal/runtime/stateview/stateview_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/runtime/supervisor/actor/actor.go b/internal/runtime/supervisor/actor/actor.go index 0b2491d4..451d6eeb 100644 --- a/internal/runtime/supervisor/actor/actor.go +++ b/internal/runtime/supervisor/actor/actor.go @@ -9,8 +9,8 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/upstream/managed" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/managed" ) // Actor represents a single server actor with its own goroutine and state machine. diff --git a/internal/runtime/supervisor/actor/actor_test.go b/internal/runtime/supervisor/actor/actor_test.go index 5ef04831..11bee7a2 100644 --- a/internal/runtime/supervisor/actor/actor_test.go +++ b/internal/runtime/supervisor/actor/actor_test.go @@ -7,7 +7,7 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) // MockClient simulates a managed.Client for testing diff --git a/internal/runtime/supervisor/actor/types.go b/internal/runtime/supervisor/actor/types.go index 1c65b9d3..b5722471 100644 --- a/internal/runtime/supervisor/actor/types.go +++ b/internal/runtime/supervisor/actor/types.go @@ -3,7 +3,7 @@ package actor import ( "time" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) // State represents the actor's connection state diff --git a/internal/runtime/supervisor/actor_pool.go b/internal/runtime/supervisor/actor_pool.go index 8c721c83..c5502bc5 100644 --- a/internal/runtime/supervisor/actor_pool.go +++ b/internal/runtime/supervisor/actor_pool.go @@ -8,8 +8,8 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/upstream" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream" ) // ActorPoolSimple is a simplified facade over UpstreamManager that delegates all operations. diff --git a/internal/runtime/supervisor/actor_pool_complex_reference.go b/internal/runtime/supervisor/actor_pool_complex_reference.go index 4a9e3fae..2599332b 100644 --- a/internal/runtime/supervisor/actor_pool_complex_reference.go +++ b/internal/runtime/supervisor/actor_pool_complex_reference.go @@ -8,9 +8,9 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/runtime/supervisor/actor" - "mcpproxy-go/internal/upstream" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/runtime/supervisor/actor" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream" ) // ActorPool manages the lifecycle of server actors and provides stats for Supervisor. diff --git a/internal/runtime/supervisor/supervisor.go b/internal/runtime/supervisor/supervisor.go index 581517cd..f76e4b18 100644 --- a/internal/runtime/supervisor/supervisor.go +++ b/internal/runtime/supervisor/supervisor.go @@ -11,10 +11,10 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/runtime/configsvc" - "mcpproxy-go/internal/runtime/stateview" - "mcpproxy-go/internal/upstream/types" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/runtime/configsvc" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/runtime/stateview" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/types" ) // Supervisor manages the desired vs actual state reconciliation for upstream servers. diff --git a/internal/runtime/supervisor/supervisor_test.go b/internal/runtime/supervisor/supervisor_test.go index 496c49f2..784c48d4 100644 --- a/internal/runtime/supervisor/supervisor_test.go +++ b/internal/runtime/supervisor/supervisor_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/runtime/configsvc" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/runtime/configsvc" ) // MockUpstreamAdapter is a test double for UpstreamAdapter diff --git a/internal/runtime/supervisor/types.go b/internal/runtime/supervisor/types.go index 4dcaf860..410ea7cb 100644 --- a/internal/runtime/supervisor/types.go +++ b/internal/runtime/supervisor/types.go @@ -3,8 +3,8 @@ package supervisor import ( "time" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/upstream/types" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/types" ) // ServerState represents the desired and actual state of an upstream server. diff --git a/internal/runtime/tool_invalidation_test.go b/internal/runtime/tool_invalidation_test.go index e976366e..7393245d 100644 --- a/internal/runtime/tool_invalidation_test.go +++ b/internal/runtime/tool_invalidation_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) // toolNames extracts tool names from a list of ToolMetadata diff --git a/internal/server/cli_client_mode_e2e_test.go b/internal/server/cli_client_mode_e2e_test.go index af114f35..c7f9a0f2 100644 --- a/internal/server/cli_client_mode_e2e_test.go +++ b/internal/server/cli_client_mode_e2e_test.go @@ -15,7 +15,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" ) // binaryName returns the appropriate binary name for the current OS diff --git a/internal/server/e2e_binary_test.go b/internal/server/e2e_binary_test.go index f95096d8..c922ec67 100644 --- a/internal/server/e2e_binary_test.go +++ b/internal/server/e2e_binary_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "mcpproxy-go/internal/testutil" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/testutil" ) func assertServerReady(t *testing.T, server *testutil.TestServer) { diff --git a/internal/server/e2e_config_auto_refresh_test.go b/internal/server/e2e_config_auto_refresh_test.go index faa4f419..033d917f 100644 --- a/internal/server/e2e_config_auto_refresh_test.go +++ b/internal/server/e2e_config_auto_refresh_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) // TestE2E_ConfigAutoRefreshAPI tests that the /api/v1/config endpoint returns diff --git a/internal/server/e2e_mcp_test.go b/internal/server/e2e_mcp_test.go index 19e6bf19..77f17d5a 100644 --- a/internal/server/e2e_mcp_test.go +++ b/internal/server/e2e_mcp_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "mcpproxy-go/internal/testutil" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/testutil" ) // TestMCPProtocolWithBinary tests MCP protocol operations using the binary diff --git a/internal/server/e2e_oauth_zero_config_test.go b/internal/server/e2e_oauth_zero_config_test.go index f9619325..80556626 100644 --- a/internal/server/e2e_oauth_zero_config_test.go +++ b/internal/server/e2e_oauth_zero_config_test.go @@ -7,9 +7,9 @@ import ( "testing" "time" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/oauth" - "mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/oauth" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/server/e2e_test.go b/internal/server/e2e_test.go index 86f49706..afb0a2c5 100644 --- a/internal/server/e2e_test.go +++ b/internal/server/e2e_test.go @@ -20,8 +20,8 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" ) // TestEnvironment holds all test dependencies diff --git a/internal/server/intent_validation_test.go b/internal/server/intent_validation_test.go index d39c6867..620fe8ba 100644 --- a/internal/server/intent_validation_test.go +++ b/internal/server/intent_validation_test.go @@ -3,8 +3,8 @@ package server import ( "testing" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" "github.com/mark3labs/mcp-go/mcp" "go.uber.org/zap" diff --git a/internal/server/listener.go b/internal/server/listener.go index 1cb10125..80045415 100644 --- a/internal/server/listener.go +++ b/internal/server/listener.go @@ -11,7 +11,7 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/transport" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/transport" ) // Re-export transport types for backward compatibility diff --git a/internal/server/mcp.go b/internal/server/mcp.go index 1efddbc3..52b6d0c7 100644 --- a/internal/server/mcp.go +++ b/internal/server/mcp.go @@ -10,24 +10,24 @@ import ( "strings" "time" - "mcpproxy-go/internal/cache" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/contracts" - "mcpproxy-go/internal/experiments" - "mcpproxy-go/internal/health" - "mcpproxy-go/internal/index" - "mcpproxy-go/internal/jsruntime" - "mcpproxy-go/internal/logs" - "mcpproxy-go/internal/registries" - "mcpproxy-go/internal/reqcontext" - "mcpproxy-go/internal/server/tokens" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/transport" - "mcpproxy-go/internal/truncate" - "mcpproxy-go/internal/upstream" - "mcpproxy-go/internal/upstream/core" - "mcpproxy-go/internal/upstream/managed" - "mcpproxy-go/internal/upstream/types" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cache" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/experiments" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/health" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/index" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/jsruntime" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/logs" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/registries" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/reqcontext" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/server/tokens" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/transport" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/truncate" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/core" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/managed" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/types" "errors" diff --git a/internal/server/mcp_code_execution.go b/internal/server/mcp_code_execution.go index b9bd11dc..01b2a18b 100644 --- a/internal/server/mcp_code_execution.go +++ b/internal/server/mcp_code_execution.go @@ -7,9 +7,9 @@ import ( "sync" "time" - "mcpproxy-go/internal/jsruntime" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/upstream" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/jsruntime" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream" "github.com/mark3labs/mcp-go/mcp" mcpserver "github.com/mark3labs/mcp-go/server" diff --git a/internal/server/mcp_code_execution_test.go b/internal/server/mcp_code_execution_test.go index b7733e13..165c6c68 100644 --- a/internal/server/mcp_code_execution_test.go +++ b/internal/server/mcp_code_execution_test.go @@ -4,14 +4,14 @@ import ( "context" "testing" - "mcpproxy-go/internal/cache" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/index" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/server" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/truncate" - "mcpproxy-go/internal/upstream" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cache" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/index" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/server" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/truncate" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/server/mcp_test.go b/internal/server/mcp_test.go index 6e27958b..b985cc6f 100644 --- a/internal/server/mcp_test.go +++ b/internal/server/mcp_test.go @@ -11,9 +11,9 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/upstream" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream" ) func TestSecurityConfigValidation(t *testing.T) { diff --git a/internal/server/mocks_test.go b/internal/server/mocks_test.go index fb30e732..28d8e9b6 100644 --- a/internal/server/mocks_test.go +++ b/internal/server/mocks_test.go @@ -3,7 +3,7 @@ package server import ( "context" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" "github.com/stretchr/testify/mock" ) diff --git a/internal/server/oauth_extra_params_test.go b/internal/server/oauth_extra_params_test.go index ddcfe150..e918ba04 100644 --- a/internal/server/oauth_extra_params_test.go +++ b/internal/server/oauth_extra_params_test.go @@ -10,7 +10,7 @@ import ( "strings" "testing" - "mcpproxy-go/internal/oauth" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/oauth" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/server/quarantine_config_apply_test.go b/internal/server/quarantine_config_apply_test.go index 1cc01d3a..b4605507 100644 --- a/internal/server/quarantine_config_apply_test.go +++ b/internal/server/quarantine_config_apply_test.go @@ -14,8 +14,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" ) // TestE2E_QuarantineConfigApply tests that changing quarantine state via config apply diff --git a/internal/server/server.go b/internal/server/server.go index 11fd9bfe..7765bb05 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -18,19 +18,19 @@ import ( "github.com/mark3labs/mcp-go/server" "go.uber.org/zap" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/contracts" - "mcpproxy-go/internal/health" - "mcpproxy-go/internal/httpapi" - "mcpproxy-go/internal/logs" - "mcpproxy-go/internal/management" - "mcpproxy-go/internal/runtime" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/tlslocal" - "mcpproxy-go/internal/updatecheck" - "mcpproxy-go/internal/upstream/types" - "mcpproxy-go/web" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/health" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/httpapi" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/logs" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/management" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/runtime" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/tlslocal" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/updatecheck" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/types" + "github.com/smart-mcp-proxy/mcpproxy-go/web" ) // Status represents the current status of the server diff --git a/internal/server/session_store.go b/internal/server/session_store.go index d8d44617..e0562652 100644 --- a/internal/server/session_store.go +++ b/internal/server/session_store.go @@ -5,7 +5,7 @@ import ( "time" "go.uber.org/zap" - "mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" ) // SessionInfo holds MCP session metadata diff --git a/internal/server/socket_e2e_test.go b/internal/server/socket_e2e_test.go index 0419ce59..0c8b4edd 100644 --- a/internal/server/socket_e2e_test.go +++ b/internal/server/socket_e2e_test.go @@ -18,7 +18,7 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) // socketE2EMutex ensures socket E2E tests run sequentially to avoid shutdown race conditions diff --git a/internal/server/upstream_test.go b/internal/server/upstream_test.go index 662a497f..af5cf117 100644 --- a/internal/server/upstream_test.go +++ b/internal/server/upstream_test.go @@ -9,13 +9,13 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "mcpproxy-go/internal/cache" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/index" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/truncate" - "mcpproxy-go/internal/upstream" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cache" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/index" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/truncate" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream" ) func TestUpstreamServersHandlerPerformance(t *testing.T) { diff --git a/internal/socket/detect_test.go b/internal/socket/detect_test.go index e7bb057b..247141c9 100644 --- a/internal/socket/detect_test.go +++ b/internal/socket/detect_test.go @@ -6,7 +6,7 @@ import ( "runtime" "testing" - "mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/socket/dialer_test.go b/internal/socket/dialer_test.go index a211dbc6..39baa8aa 100644 --- a/internal/socket/dialer_test.go +++ b/internal/socket/dialer_test.go @@ -4,7 +4,7 @@ import ( "runtime" "testing" - "mcpproxy-go/internal/socket" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/socket" "github.com/stretchr/testify/assert" ) diff --git a/internal/storage/async_ops.go b/internal/storage/async_ops.go index 7f861105..5f7b5d06 100644 --- a/internal/storage/async_ops.go +++ b/internal/storage/async_ops.go @@ -7,7 +7,7 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) // Operation represents a queued storage operation diff --git a/internal/storage/async_ops_test.go b/internal/storage/async_ops_test.go index 94d77764..70d14c38 100644 --- a/internal/storage/async_ops_test.go +++ b/internal/storage/async_ops_test.go @@ -8,7 +8,7 @@ import ( "go.uber.org/zap/zaptest" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) // TestSaveServerSyncPreservesAllFields verifies that saveServerSync copies all ServerConfig fields. diff --git a/internal/storage/manager.go b/internal/storage/manager.go index 83f594be..4153e3f8 100644 --- a/internal/storage/manager.go +++ b/internal/storage/manager.go @@ -8,7 +8,7 @@ import ( "sync" "time" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" "go.etcd.io/bbolt" bboltErrors "go.etcd.io/bbolt/errors" diff --git a/internal/storage/manager_oauth_test.go b/internal/storage/manager_oauth_test.go index abcf840e..d3ea9cdf 100644 --- a/internal/storage/manager_oauth_test.go +++ b/internal/storage/manager_oauth_test.go @@ -4,8 +4,8 @@ import ( "os" "testing" - "mcpproxy-go/internal/oauth" - "mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/oauth" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" "github.com/stretchr/testify/require" "go.uber.org/zap" diff --git a/internal/storage/models.go b/internal/storage/models.go index a4687d84..653f0d84 100644 --- a/internal/storage/models.go +++ b/internal/storage/models.go @@ -2,7 +2,7 @@ package storage import ( "encoding/json" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" "time" ) diff --git a/internal/storage/quarantine_test.go b/internal/storage/quarantine_test.go index 6f27f944..b6910890 100644 --- a/internal/storage/quarantine_test.go +++ b/internal/storage/quarantine_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap/zaptest" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) func TestQuarantineFunctionality(t *testing.T) { diff --git a/internal/storage/server_identity.go b/internal/storage/server_identity.go index 06e51fea..8cda16b5 100644 --- a/internal/storage/server_identity.go +++ b/internal/storage/server_identity.go @@ -7,7 +7,7 @@ import ( "sort" "time" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) // ServerIdentity represents a unique server identity based on stable configuration diff --git a/internal/storage/server_identity_test.go b/internal/storage/server_identity_test.go index 89197a51..817f4701 100644 --- a/internal/storage/server_identity_test.go +++ b/internal/storage/server_identity_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) // TestGenerateServerIDArgsOrder tests that server ID is stable regardless of Args order diff --git a/internal/transport/http.go b/internal/transport/http.go index c3f2876d..d5c50e22 100644 --- a/internal/transport/http.go +++ b/internal/transport/http.go @@ -5,7 +5,7 @@ import ( "net/http" "time" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" "github.com/mark3labs/mcp-go/client" "github.com/mark3labs/mcp-go/client/transport" diff --git a/internal/tray/managers.go b/internal/tray/managers.go index dd167bee..35be972a 100644 --- a/internal/tray/managers.go +++ b/internal/tray/managers.go @@ -16,7 +16,7 @@ import ( "fyne.io/systray" "go.uber.org/zap" - "mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" ) const ( diff --git a/internal/tray/managers_test.go b/internal/tray/managers_test.go index 895e94f5..ec2f99dd 100644 --- a/internal/tray/managers_test.go +++ b/internal/tray/managers_test.go @@ -6,7 +6,7 @@ import ( "sort" "testing" - "mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" ) func TestMenuSorting(t *testing.T) { diff --git a/internal/tray/notifications.go b/internal/tray/notifications.go index 92721532..a2235a53 100644 --- a/internal/tray/notifications.go +++ b/internal/tray/notifications.go @@ -5,7 +5,7 @@ package tray import ( "fmt" - "mcpproxy-go/internal/upstream" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream" "github.com/gen2brain/beeep" "go.uber.org/zap" diff --git a/internal/tray/notifications_stub.go b/internal/tray/notifications_stub.go index bd9b32a6..18fd5594 100644 --- a/internal/tray/notifications_stub.go +++ b/internal/tray/notifications_stub.go @@ -3,7 +3,7 @@ package tray import ( - "mcpproxy-go/internal/upstream" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream" "go.uber.org/zap" ) diff --git a/internal/tray/tray.go b/internal/tray/tray.go index 0c4e9129..c9d7c661 100644 --- a/internal/tray/tray.go +++ b/internal/tray/tray.go @@ -26,10 +26,10 @@ import ( "go.uber.org/zap" "golang.org/x/mod/semver" - "mcpproxy-go/internal/config" - internalRuntime "mcpproxy-go/internal/runtime" - "mcpproxy-go/internal/server" - // "mcpproxy-go/internal/upstream/cli" // replaced by in-process OAuth + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + internalRuntime "github.com/smart-mcp-proxy/mcpproxy-go/internal/runtime" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/server" + // "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/cli" // replaced by in-process OAuth ) const ( diff --git a/internal/tray/tray_stub.go b/internal/tray/tray_stub.go index 47d30cbf..5cb470c1 100644 --- a/internal/tray/tray_stub.go +++ b/internal/tray/tray_stub.go @@ -7,7 +7,7 @@ import ( "go.uber.org/zap" - internalRuntime "mcpproxy-go/internal/runtime" + internalRuntime "github.com/smart-mcp-proxy/mcpproxy-go/internal/runtime" ) // ServerInterface defines the interface for server control (stub version) diff --git a/internal/tray/tray_test.go b/internal/tray/tray_test.go index dc042d00..f28e1ba8 100644 --- a/internal/tray/tray_test.go +++ b/internal/tray/tray_test.go @@ -10,7 +10,7 @@ import ( "go.uber.org/zap/zaptest" - internalRuntime "mcpproxy-go/internal/runtime" + internalRuntime "github.com/smart-mcp-proxy/mcpproxy-go/internal/runtime" ) // MockServerInterface provides a mock implementation for testing diff --git a/internal/truncate/truncator.go b/internal/truncate/truncator.go index b685caff..313865e8 100644 --- a/internal/truncate/truncator.go +++ b/internal/truncate/truncator.go @@ -6,7 +6,7 @@ import ( "strings" "time" - "mcpproxy-go/internal/cache" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/cache" ) // TruncationResult represents the result of truncating a tool response diff --git a/internal/upstream/cli/client.go b/internal/upstream/cli/client.go index c803bce4..75b63bbb 100644 --- a/internal/upstream/cli/client.go +++ b/internal/upstream/cli/client.go @@ -6,12 +6,12 @@ import ( "strings" "time" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/logs" - "mcpproxy-go/internal/oauth" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/upstream/core" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/logs" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/oauth" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/core" "github.com/mark3labs/mcp-go/mcp" "go.uber.org/zap" diff --git a/internal/upstream/client_test.go b/internal/upstream/client_test.go index cbe2c604..93cf8391 100644 --- a/internal/upstream/client_test.go +++ b/internal/upstream/client_test.go @@ -13,10 +13,10 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/transport" - "mcpproxy-go/internal/upstream/managed" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/transport" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/managed" ) // createTestServer creates a simple HTTP server for testing that simulates connection issues diff --git a/internal/upstream/core/client.go b/internal/upstream/core/client.go index c7592555..6a028d39 100644 --- a/internal/upstream/core/client.go +++ b/internal/upstream/core/client.go @@ -10,13 +10,13 @@ import ( "sync" "time" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/hash" - "mcpproxy-go/internal/logs" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/secureenv" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/upstream/types" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/hash" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/logs" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secureenv" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/types" "github.com/mark3labs/mcp-go/client" "github.com/mark3labs/mcp-go/mcp" diff --git a/internal/upstream/core/connection.go b/internal/upstream/core/connection.go index ed80dd88..5eff68c3 100644 --- a/internal/upstream/core/connection.go +++ b/internal/upstream/core/connection.go @@ -13,9 +13,9 @@ import ( "strings" "time" - "mcpproxy-go/internal/contracts" - "mcpproxy-go/internal/oauth" - "mcpproxy-go/internal/transport" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/oauth" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/transport" "github.com/mark3labs/mcp-go/client" uptransport "github.com/mark3labs/mcp-go/client/transport" diff --git a/internal/upstream/core/isolation.go b/internal/upstream/core/isolation.go index 88013816..327478aa 100644 --- a/internal/upstream/core/isolation.go +++ b/internal/upstream/core/isolation.go @@ -8,7 +8,7 @@ import ( "regexp" "strings" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" ) // Command and package manager constants diff --git a/internal/upstream/core/isolation_log_test.go b/internal/upstream/core/isolation_log_test.go index b8b7b0ae..94d2f1f9 100644 --- a/internal/upstream/core/isolation_log_test.go +++ b/internal/upstream/core/isolation_log_test.go @@ -3,7 +3,7 @@ package core import ( "testing" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" "github.com/stretchr/testify/assert" ) diff --git a/internal/upstream/core/shell_test.go b/internal/upstream/core/shell_test.go index aa071d42..fa33045f 100644 --- a/internal/upstream/core/shell_test.go +++ b/internal/upstream/core/shell_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/secureenv" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secureenv" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/upstream/core/workingdir_test.go b/internal/upstream/core/workingdir_test.go index c6336a62..8828c902 100644 --- a/internal/upstream/core/workingdir_test.go +++ b/internal/upstream/core/workingdir_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/upstream/interfaces.go b/internal/upstream/interfaces.go index c64a683e..5f161e95 100644 --- a/internal/upstream/interfaces.go +++ b/internal/upstream/interfaces.go @@ -4,8 +4,8 @@ import ( "context" "io" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/upstream/types" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/types" "github.com/mark3labs/mcp-go/mcp" ) diff --git a/internal/upstream/managed/client.go b/internal/upstream/managed/client.go index 7a0df42d..31518b99 100644 --- a/internal/upstream/managed/client.go +++ b/internal/upstream/managed/client.go @@ -7,12 +7,12 @@ import ( "sync" "time" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/transport" - "mcpproxy-go/internal/upstream/core" - "mcpproxy-go/internal/upstream/types" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/transport" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/core" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/types" "github.com/mark3labs/mcp-go/mcp" "go.uber.org/zap" diff --git a/internal/upstream/manager.go b/internal/upstream/manager.go index b4a788a4..c8777748 100644 --- a/internal/upstream/manager.go +++ b/internal/upstream/manager.go @@ -12,14 +12,14 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/oauth" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/storage" - "mcpproxy-go/internal/transport" - "mcpproxy-go/internal/upstream/core" - "mcpproxy-go/internal/upstream/managed" - "mcpproxy-go/internal/upstream/types" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/oauth" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/transport" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/core" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/managed" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/types" ) // Docker recovery constants - internal implementation defaults diff --git a/internal/upstream/manager_bench_test.go b/internal/upstream/manager_bench_test.go index a3db82fe..0ac59c6f 100644 --- a/internal/upstream/manager_bench_test.go +++ b/internal/upstream/manager_bench_test.go @@ -7,9 +7,9 @@ import ( "go.uber.org/zap" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" ) // BenchmarkAddServer measures the time to add and configure a new server diff --git a/internal/upstream/notifications.go b/internal/upstream/notifications.go index e278e7e9..18862166 100644 --- a/internal/upstream/notifications.go +++ b/internal/upstream/notifications.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "mcpproxy-go/internal/upstream/types" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/types" ) // NotificationLevel represents the level of a notification diff --git a/internal/upstream/secure_env_integration_test.go b/internal/upstream/secure_env_integration_test.go index b36ea3a6..2736b7e8 100644 --- a/internal/upstream/secure_env_integration_test.go +++ b/internal/upstream/secure_env_integration_test.go @@ -11,11 +11,11 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "mcpproxy-go/internal/config" - "mcpproxy-go/internal/secret" - "mcpproxy-go/internal/secureenv" - "mcpproxy-go/internal/transport" - "mcpproxy-go/internal/upstream/managed" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secret" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/secureenv" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/transport" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/upstream/managed" ) func TestSecureEnvironmentIntegration(t *testing.T) { diff --git a/specs/001-oas-endpoint-documentation/quickstart.md b/specs/001-oas-endpoint-documentation/quickstart.md index 6c5f969f..7d62d359 100644 --- a/specs/001-oas-endpoint-documentation/quickstart.md +++ b/specs/001-oas-endpoint-documentation/quickstart.md @@ -21,7 +21,7 @@ Create Go struct types in `internal/contracts/` for your endpoint's request/resp // internal/contracts/config.go (example) package contracts -import "mcpproxy-go/internal/config" +import "github.com/smart-mcp-proxy/mcpproxy-go/internal/config" // GetConfigResponse represents the response for GET /api/v1/config type GetConfigResponse struct { diff --git a/specs/004-management-health-refactor/quickstart.md b/specs/004-management-health-refactor/quickstart.md index 2b743851..8ede92b8 100644 --- a/specs/004-management-health-refactor/quickstart.md +++ b/specs/004-management-health-refactor/quickstart.md @@ -38,7 +38,7 @@ package management import ( "context" - "mcpproxy-go/internal/contracts" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/contracts" ) type Service interface { @@ -308,7 +308,7 @@ import ( "github.com/go-chi/chi/v5" httpSwagger "github.com/swaggo/http-swagger" - _ "mcpproxy-go/oas" // Import generated docs + _ "github.com/smart-mcp-proxy/mcpproxy-go/oas" // Import generated docs ) func (s *Server) mountSwaggerUI(r chi.Router) { @@ -520,7 +520,7 @@ swag init -g cmd/mcpproxy/main.go --output docs --outputTypes yaml **Solution**: Check docs import: ```go import ( - _ "mcpproxy-go/oas" // Must import generated docs + _ "github.com/smart-mcp-proxy/mcpproxy-go/oas" // Must import generated docs ) ``` diff --git a/specs/009-proactive-oauth-refresh/quickstart.md b/specs/009-proactive-oauth-refresh/quickstart.md index 3fe2a489..fd1fa4af 100644 --- a/specs/009-proactive-oauth-refresh/quickstart.md +++ b/specs/009-proactive-oauth-refresh/quickstart.md @@ -22,7 +22,7 @@ import ( "sync" "time" - "mcpproxy-go/internal/storage" + "github.com/smart-mcp-proxy/mcpproxy-go/internal/storage" "go.uber.org/zap" ) diff --git a/tests/oauthserver/cmd/server/main.go b/tests/oauthserver/cmd/server/main.go index 24d2e574..233f4cac 100644 --- a/tests/oauthserver/cmd/server/main.go +++ b/tests/oauthserver/cmd/server/main.go @@ -27,7 +27,7 @@ import ( "syscall" "time" - "mcpproxy-go/tests/oauthserver" + "github.com/smart-mcp-proxy/mcpproxy-go/tests/oauthserver" ) func main() {