diff --git a/go.mod b/go.mod index cbfd654..02d7571 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,8 @@ module github.com/pilot-protocol/trustedagents go 1.25.10 -require github.com/TeoSlayer/pilotprotocol v0.0.0 +require github.com/pilot-protocol/common v0.1.0 replace github.com/TeoSlayer/pilotprotocol => ../web4 + +replace github.com/pilot-protocol/common => ../common diff --git a/service.go b/service.go index 95e6b08..0045609 100644 --- a/service.go +++ b/service.go @@ -8,7 +8,7 @@ package trustedagents import ( "context" - "github.com/TeoSlayer/pilotprotocol/pkg/coreapi" + "github.com/pilot-protocol/common/coreapi" ) // Service is the L11 plugin adapter. Implements both coreapi.Service diff --git a/service_disabled.go b/service_disabled.go index 24c2caa..e76eb7b 100644 --- a/service_disabled.go +++ b/service_disabled.go @@ -13,7 +13,7 @@ package trustedagents import ( "context" - "github.com/TeoSlayer/pilotprotocol/pkg/coreapi" + "github.com/pilot-protocol/common/coreapi" ) // Service satisfies coreapi.Service and coreapi.TrustChecker with diff --git a/zz_fetch_test.go b/zz_fetch_test.go index a0df600..ccf6b12 100644 --- a/zz_fetch_test.go +++ b/zz_fetch_test.go @@ -33,7 +33,7 @@ import ( "testing" "time" - "github.com/TeoSlayer/pilotprotocol/pkg/coreapi" + "github.com/pilot-protocol/common/coreapi" ) // rewriteTransport routes any request to host raw.githubusercontent.com diff --git a/zz_service_test.go b/zz_service_test.go index 8e0cd35..7c5bdc8 100644 --- a/zz_service_test.go +++ b/zz_service_test.go @@ -14,7 +14,7 @@ import ( "testing" "time" - "github.com/TeoSlayer/pilotprotocol/pkg/coreapi" + "github.com/pilot-protocol/common/coreapi" ) // TestEmbeddedJSON_ReturnsACopy verifies the defensive copy behavior —