From aadd1670397f562a5b189f789e4c94b562ec8f1f Mon Sep 17 00:00:00 2001 From: Teodor Calin Date: Thu, 28 May 2026 15:57:04 -0700 Subject: [PATCH 1/2] deps: switch shared types from web4 hub to common MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Same migration as the other siblings: replace github.com/TeoSlayer/pilotprotocol/pkg/{coreapi,protocol,driver,registry/{client,wire},config,logging,urlvalidate,secure} and the ipcutil import path with the canonical common module. Unlike the leaf siblings, this repo keeps its github.com/TeoSlayer/pilotprotocol/pkg/daemon import because the sibling implements daemon plugin code that is tightly coupled to the daemon engine. That cycle is intentional for now — handshake, runtime, and libpilot are co-built with web4, not independent releases. go build ./... passes. --- bindings.go | 4 ++-- embedded.go | 2 +- go.mod | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/bindings.go b/bindings.go index 8197e79..12f84aa 100644 --- a/bindings.go +++ b/bindings.go @@ -15,8 +15,8 @@ import ( "time" "unsafe" - "github.com/TeoSlayer/pilotprotocol/pkg/driver" - "github.com/TeoSlayer/pilotprotocol/pkg/protocol" + "github.com/pilot-protocol/common/driver" + "github.com/pilot-protocol/common/protocol" ) // ---------- Handle table ---------- diff --git a/embedded.go b/embedded.go index 821e949..7e8463f 100644 --- a/embedded.go +++ b/embedded.go @@ -35,7 +35,7 @@ import ( "time" "github.com/TeoSlayer/pilotprotocol/pkg/daemon" - "github.com/TeoSlayer/pilotprotocol/pkg/driver" + "github.com/pilot-protocol/common/driver" "github.com/pilot-protocol/handshake" "github.com/pilot-protocol/policy" diff --git a/go.mod b/go.mod index 6c53ffd..01cfe7a 100644 --- a/go.mod +++ b/go.mod @@ -18,3 +18,5 @@ require ( ) replace github.com/TeoSlayer/pilotprotocol => ../web4 + +replace github.com/pilot-protocol/common => ../common From e7356c1d9dc80420b338a55cbf371b4a78d34249 Mon Sep 17 00:00:00 2001 From: Teodor Calin Date: Thu, 28 May 2026 16:05:12 -0700 Subject: [PATCH 2/2] deps: pin common v0.2.0 --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 01cfe7a..4b4988e 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( require ( github.com/coder/websocket v1.8.14 // indirect github.com/expr-lang/expr v1.17.8 // indirect - github.com/pilot-protocol/common v0.1.0 // indirect + github.com/pilot-protocol/common v0.2.0 // indirect github.com/pilot-protocol/trustedagents v0.1.0 // indirect )