Skip to content

Commit fb2d63e

Browse files
authored
fix: use /v2 module path (#139)
1 parent 9c39f86 commit fb2d63e

11 files changed

Lines changed: 20 additions & 20 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
- Language: Go 1.22+ modules (`go.mod`).
2323
- Formatting: `gofmt -s -w .` (CI checks formatting); `go fmt ./...` locally.
2424
- Packages: lower-case names; exported identifiers use PascalCase; files `*_test.go` for tests.
25-
- Imports: standard → third-party → local (`github.com/sigbit/mcp-auth-proxy/...`).
25+
- Imports: standard → third-party → local (`github.com/sigbit/mcp-auth-proxy/v2/...`).
2626

2727
## Testing Guidelines
2828

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/sigbit/mcp-auth-proxy
1+
module github.com/sigbit/mcp-auth-proxy/v2
22

33
go 1.25
44

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"os"
55
"strings"
66

7-
mcpproxy "github.com/sigbit/mcp-auth-proxy/pkg/mcp-proxy"
7+
mcpproxy "github.com/sigbit/mcp-auth-proxy/v2/pkg/mcp-proxy"
88
"github.com/spf13/cobra"
99
)
1010

pkg/auth/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
"github.com/gin-contrib/sessions"
1111
"github.com/gin-gonic/gin"
12-
"github.com/sigbit/mcp-auth-proxy/pkg/utils"
12+
"github.com/sigbit/mcp-auth-proxy/v2/pkg/utils"
1313
"golang.org/x/crypto/bcrypt"
1414
)
1515

pkg/auth/github.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strings"
1010

1111
"github.com/gin-gonic/gin"
12-
"github.com/sigbit/mcp-auth-proxy/pkg/utils"
12+
"github.com/sigbit/mcp-auth-proxy/v2/pkg/utils"
1313
"golang.org/x/oauth2"
1414
"golang.org/x/oauth2/github"
1515
)

pkg/idp/idp.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ import (
1515
"github.com/ory/fosite"
1616
"github.com/ory/fosite/compose"
1717
"github.com/ory/fosite/token/jwt"
18-
"github.com/sigbit/mcp-auth-proxy/pkg/auth"
19-
"github.com/sigbit/mcp-auth-proxy/pkg/repository"
20-
"github.com/sigbit/mcp-auth-proxy/pkg/utils"
18+
"github.com/sigbit/mcp-auth-proxy/v2/pkg/auth"
19+
"github.com/sigbit/mcp-auth-proxy/v2/pkg/repository"
20+
"github.com/sigbit/mcp-auth-proxy/v2/pkg/utils"
2121
"go.uber.org/zap"
2222
"golang.org/x/crypto/bcrypt"
2323
)

pkg/idp/idp_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import (
2020
"github.com/gin-contrib/sessions"
2121
"github.com/gin-contrib/sessions/cookie"
2222
"github.com/gin-gonic/gin"
23-
"github.com/sigbit/mcp-auth-proxy/pkg/auth"
24-
"github.com/sigbit/mcp-auth-proxy/pkg/repository"
23+
"github.com/sigbit/mcp-auth-proxy/v2/pkg/auth"
24+
"github.com/sigbit/mcp-auth-proxy/v2/pkg/repository"
2525
"github.com/stretchr/testify/require"
2626
"go.uber.org/zap"
2727
"golang.org/x/oauth2"

pkg/mcp-proxy/main.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ import (
2020
"github.com/gin-contrib/sessions/cookie"
2121
ginzap "github.com/gin-contrib/zap"
2222
"github.com/gin-gonic/gin"
23-
"github.com/sigbit/mcp-auth-proxy/pkg/auth"
24-
"github.com/sigbit/mcp-auth-proxy/pkg/backend"
25-
"github.com/sigbit/mcp-auth-proxy/pkg/idp"
26-
"github.com/sigbit/mcp-auth-proxy/pkg/proxy"
27-
"github.com/sigbit/mcp-auth-proxy/pkg/repository"
28-
"github.com/sigbit/mcp-auth-proxy/pkg/tlsreload"
29-
"github.com/sigbit/mcp-auth-proxy/pkg/utils"
23+
"github.com/sigbit/mcp-auth-proxy/v2/pkg/auth"
24+
"github.com/sigbit/mcp-auth-proxy/v2/pkg/backend"
25+
"github.com/sigbit/mcp-auth-proxy/v2/pkg/idp"
26+
"github.com/sigbit/mcp-auth-proxy/v2/pkg/proxy"
27+
"github.com/sigbit/mcp-auth-proxy/v2/pkg/repository"
28+
"github.com/sigbit/mcp-auth-proxy/v2/pkg/tlsreload"
29+
"github.com/sigbit/mcp-auth-proxy/v2/pkg/utils"
3030
"go.uber.org/zap"
3131
"golang.org/x/crypto/acme"
3232
"golang.org/x/crypto/acme/autocert"

pkg/mcp-proxy/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"testing"
1010

1111
"github.com/gin-gonic/gin"
12-
"github.com/sigbit/mcp-auth-proxy/pkg/proxy"
12+
"github.com/sigbit/mcp-auth-proxy/v2/pkg/proxy"
1313
"github.com/stretchr/testify/require"
1414
)
1515

pkg/repository/kvs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
time "time"
99

1010
"github.com/ory/fosite"
11-
"github.com/sigbit/mcp-auth-proxy/pkg/models"
11+
"github.com/sigbit/mcp-auth-proxy/v2/pkg/models"
1212
"go.etcd.io/bbolt"
1313
)
1414

0 commit comments

Comments
 (0)