Agent Mesh
Go a2aa2a-protocolagent-meshagentic-aiinferencemcpmeshmesh-networknetwork-securitynetworking-aip2p-network
refactor: rename Go module from github.com/google/sam to github.com/google/agentmesh
Antonio Ojea1e54eb5faad2
diff --git a/.goreleaser.yaml b/.goreleaser.yamlindex c8bc8e0f..8488a16b 100644--- a/.goreleaser.yaml+++ b/.goreleaser.yaml@@ -17,7 +17,7 @@ builds:- amd64- arm64ldflags:- - -s -w -X github.com/google/sam/internal/version.Version={{ .Tag }}+ - -s -w -X github.com/google/agentmesh/internal/version.Version={{ .Tag }}- id: sam-control-planemain: ./cmd/sam-control-planebinary: sam-control-plane@@ -31,7 +31,7 @@ builds:- amd64- arm64ldflags:- - -s -w -X github.com/google/sam/internal/version.Version={{ .Tag }}+ - -s -w -X github.com/google/agentmesh/internal/version.Version={{ .Tag }}- id: sam-routermain: ./cmd/sam-routerbinary: sam-router@@ -45,7 +45,7 @@ builds:- amd64- arm64ldflags:- - -s -w -X github.com/google/sam/internal/version.Version={{ .Tag }}+ - -s -w -X github.com/google/agentmesh/internal/version.Version={{ .Tag }}- id: mcp-clientmain: ./cmd/mcp-clientbinary: mcp-client@@ -59,7 +59,7 @@ builds:- amd64- arm64ldflags:- - -s -w -X github.com/google/sam/internal/version.Version={{ .Tag }}+ - -s -w -X github.com/google/agentmesh/internal/version.Version={{ .Tag }}- id: sam-consolemain: ./cmd/sam-consolebinary: sam-console@@ -73,7 +73,7 @@ builds:- amd64- arm64ldflags:- - -s -w -X github.com/google/sam/internal/version.Version={{ .Tag }}+ - -s -w -X github.com/google/agentmesh/internal/version.Version={{ .Tag }}- id: sam-onemain: ./cmd/sam-onebinary: sam-one@@ -87,7 +87,7 @@ builds:- amd64- arm64ldflags:- - -s -w -X github.com/google/sam/internal/version.Version={{ .Tag }}+ - -s -w -X github.com/google/agentmesh/internal/version.Version={{ .Tag }}archives:- formats:- tar.gzdiff --git a/Dockerfile.sam-console b/Dockerfile.sam-consoleindex 428fcccd..db45d8a5 100644--- a/Dockerfile.sam-console+++ b/Dockerfile.sam-console@@ -10,7 +10,7 @@ ARG TARGETOS=linuxARG TARGETARCHRUN --mount=type=cache,target=/go/pkg/mod \--mount=type=cache,target=/root/.cache/go-build \- CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -buildvcs=false -ldflags="-X github.com/google/sam/internal/version.Version=${VERSION}" -o /bin/sam-console ./cmd/sam-console+ CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -buildvcs=false -ldflags="-X github.com/google/agentmesh/internal/version.Version=${VERSION}" -o /bin/sam-console ./cmd/sam-consoleFROM gcr.io/distroless/static:nonroot@sha256:e2e927ec666bae08560abb3c55d0659eceabb657f56b6782ab500a9fc7f555e3diff --git a/Dockerfile.sam-control-plane b/Dockerfile.sam-control-planeindex 6767bad0..dfe1d921 100644--- a/Dockerfile.sam-control-plane+++ b/Dockerfile.sam-control-plane@@ -9,7 +9,7 @@ ARG TARGETOS=linuxARG TARGETARCHRUN --mount=type=cache,target=/go/pkg/mod \--mount=type=cache,target=/root/.cache/go-build \- CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -buildvcs=false -ldflags="-X github.com/google/sam/internal/version.Version=${VERSION}" -o sam-control-plane ./cmd/sam-control-plane+ CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -buildvcs=false -ldflags="-X github.com/google/agentmesh/internal/version.Version=${VERSION}" -o sam-control-plane ./cmd/sam-control-plane# Pre-create the sqlite data dir owned by the nonroot UID so that a fresh# named/anonymous volume mounted over it inherits writable ownership instead# of defaulting to root.diff --git a/Dockerfile.sam-node b/Dockerfile.sam-nodeindex 292e4e60..586cd87a 100644--- a/Dockerfile.sam-node+++ b/Dockerfile.sam-node@@ -9,7 +9,7 @@ ARG TARGETOS=linuxARG TARGETARCHRUN --mount=type=cache,target=/go/pkg/mod \--mount=type=cache,target=/root/.cache/go-build \- CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -buildvcs=false -ldflags="-X github.com/google/sam/internal/version.Version=${VERSION}" -o sam-node ./cmd/sam-node+ CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -buildvcs=false -ldflags="-X github.com/google/agentmesh/internal/version.Version=${VERSION}" -o sam-node ./cmd/sam-node# Pre-create the default data dir owned by the nonroot UID so that a fresh# named/anonymous volume mounted over it inherits writable ownership instead# of defaulting to root.diff --git a/Dockerfile.sam-one b/Dockerfile.sam-oneindex 04d27993..c0b8bbcb 100644--- a/Dockerfile.sam-one+++ b/Dockerfile.sam-one@@ -9,7 +9,7 @@ ARG TARGETOS=linuxARG TARGETARCHRUN --mount=type=cache,target=/go/pkg/mod \--mount=type=cache,target=/root/.cache/go-build \- CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -buildvcs=false -ldflags="-X github.com/google/sam/internal/version.Version=${VERSION}" -o sam-one ./cmd/sam-one+ CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -buildvcs=false -ldflags="-X github.com/google/agentmesh/internal/version.Version=${VERSION}" -o sam-one ./cmd/sam-one# Pre-create the data dir owned by the nonroot UID so that a fresh# named/anonymous volume mounted over it inherits writable ownership instead# of defaulting to root.diff --git a/Dockerfile.sam-router b/Dockerfile.sam-routerindex 532af04e..344ff89e 100644--- a/Dockerfile.sam-router+++ b/Dockerfile.sam-router@@ -9,7 +9,7 @@ ARG TARGETOS=linuxARG TARGETARCHRUN --mount=type=cache,target=/go/pkg/mod \--mount=type=cache,target=/root/.cache/go-build \- CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -buildvcs=false -ldflags="-X github.com/google/sam/internal/version.Version=${VERSION}" -o sam-router ./cmd/sam-router+ CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -buildvcs=false -ldflags="-X github.com/google/agentmesh/internal/version.Version=${VERSION}" -o sam-router ./cmd/sam-router# Pre-create the keys/data dir owned by the nonroot UID so that a fresh# named/anonymous volume mounted over it inherits writable ownership instead# of defaulting to root.diff --git a/Makefile b/Makefileindex a3843ed8..6863a28c 100644--- a/Makefile+++ b/Makefile@@ -1,7 +1,7 @@REPO_ROOT:=${CURDIR}OUT_DIR=$(REPO_ROOT)/binVERSION ?= $(shell git describe --tags --always --dirty 2>/dev/null || echo devel)-VERSION_LDFLAGS = -X github.com/google/sam/internal/version.Version=$(VERSION)+VERSION_LDFLAGS = -X github.com/google/agentmesh/internal/version.Version=$(VERSION).DEFAULT_GOAL := builddiff --git a/api/sam.pb.go b/api/sam.pb.goindex 7c532315..64c45170 100644--- a/api/sam.pb.go+++ b/api/sam.pb.go@@ -5745,7 +5745,7 @@ const file_api_sam_proto_rawDesc = "" +"\x0fEGRESS_MODE_TCP\x10\x01*\\\n" +"\x12ResponseInspection\x12 \n" +"\x1cRESPONSE_INSPECTION_BUFFERED\x10\x00\x12$\n" +- " RESPONSE_INSPECTION_REQUEST_ONLY\x10\x01B\x1bZ\x19github.com/google/sam/apib\x06proto3"+ " RESPONSE_INSPECTION_REQUEST_ONLY\x10\x01B!Z\x1fgithub.com/google/agentmesh/apib\x06proto3"var (file_api_sam_proto_rawDescOnce sync.Oncediff --git a/api/sam.proto b/api/sam.protoindex a0761cd8..975c6f7f 100644--- a/api/sam.proto+++ b/api/sam.proto@@ -14,7 +14,7 @@syntax = "proto3";package sam.v1;-option go_package = "github.com/google/sam/api";+option go_package = "github.com/google/agentmesh/api";import "google/protobuf/duration.proto";import "google/protobuf/timestamp.proto";diff --git a/cmd/mcp-client/main.go b/cmd/mcp-client/main.goindex adb78ec8..3bfb4118 100644--- a/cmd/mcp-client/main.go+++ b/cmd/mcp-client/main.go@@ -31,8 +31,8 @@ import ("github.com/modelcontextprotocol/go-sdk/mcp"- "github.com/google/sam/api"- "github.com/google/sam/internal/version"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/version")func main() {diff --git a/cmd/sam-bench/main.go b/cmd/sam-bench/main.goindex 242b6ad9..7643b9f9 100644--- a/cmd/sam-bench/main.go+++ b/cmd/sam-bench/main.go@@ -39,8 +39,8 @@ import ("github.com/spf13/cobra"- "github.com/google/sam/internal/bench"- "github.com/google/sam/internal/version"+ "github.com/google/agentmesh/internal/bench"+ "github.com/google/agentmesh/internal/version")// observation is one complete, self-describing measurement.diff --git a/cmd/sam-bench/report_test.go b/cmd/sam-bench/report_test.goindex bc945a4e..71c401ee 100644--- a/cmd/sam-bench/report_test.go+++ b/cmd/sam-bench/report_test.go@@ -24,7 +24,7 @@ import ("strings""testing"- "github.com/google/sam/internal/bench"+ "github.com/google/agentmesh/internal/bench")func TestSortByOrdersNumericLabelsNumerically(t *testing.T) {diff --git a/cmd/sam-console/main.go b/cmd/sam-console/main.goindex e431f2c0..724723c4 100644--- a/cmd/sam-console/main.go+++ b/cmd/sam-console/main.go@@ -25,9 +25,9 @@ import ("syscall""time"- "github.com/google/sam/internal/console"- "github.com/google/sam/internal/secrets"- "github.com/google/sam/internal/version"+ "github.com/google/agentmesh/internal/console"+ "github.com/google/agentmesh/internal/secrets"+ "github.com/google/agentmesh/internal/version")func main() {diff --git a/cmd/sam-control-plane/main.go b/cmd/sam-control-plane/main.goindex 55571e99..b5e7e267 100644--- a/cmd/sam-control-plane/main.go+++ b/cmd/sam-control-plane/main.go@@ -23,11 +23,11 @@ import ("syscall""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/controlplane"- "github.com/google/sam/internal/secrets"- "github.com/google/sam/internal/storage"- "github.com/google/sam/internal/version"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/controlplane"+ "github.com/google/agentmesh/internal/secrets"+ "github.com/google/agentmesh/internal/storage"+ "github.com/google/agentmesh/internal/version"golog "github.com/ipfs/go-log/v2""github.com/libp2p/go-libp2p/core/peer""github.com/spf13/cobra"diff --git a/cmd/sam-node/daemonize.go b/cmd/sam-node/daemonize.goindex 53242e40..75e4731d 100644--- a/cmd/sam-node/daemonize.go+++ b/cmd/sam-node/daemonize.go@@ -31,7 +31,7 @@ import ("strings""time"- "github.com/google/sam/internal/node"+ "github.com/google/agentmesh/internal/node")const (diff --git a/cmd/sam-node/debug.go b/cmd/sam-node/debug.goindex d801f386..63909780 100644--- a/cmd/sam-node/debug.go+++ b/cmd/sam-node/debug.go@@ -26,7 +26,7 @@ import ("strings""time"- "github.com/google/sam/internal/node"+ "github.com/google/agentmesh/internal/node""github.com/spf13/cobra")diff --git a/cmd/sam-node/forward.go b/cmd/sam-node/forward.goindex 3281ee92..4ade58d8 100644--- a/cmd/sam-node/forward.go+++ b/cmd/sam-node/forward.go@@ -28,7 +28,7 @@ import ("sync""time"- "github.com/google/sam/internal/node"+ "github.com/google/agentmesh/internal/node""github.com/spf13/cobra")diff --git a/cmd/sam-node/main.go b/cmd/sam-node/main.goindex 4d316397..ce6af8fe 100644--- a/cmd/sam-node/main.go+++ b/cmd/sam-node/main.go@@ -28,10 +28,10 @@ import ("syscall""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/node"- "github.com/google/sam/internal/secrets"- "github.com/google/sam/internal/version"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/node"+ "github.com/google/agentmesh/internal/secrets"+ "github.com/google/agentmesh/internal/version"golog "github.com/ipfs/go-log/v2""github.com/libp2p/go-libp2p/core/crypto""github.com/mattn/go-isatty"diff --git a/cmd/sam-node/main_test.go b/cmd/sam-node/main_test.goindex ee9cb929..5a4024de 100644--- a/cmd/sam-node/main_test.go+++ b/cmd/sam-node/main_test.go@@ -18,7 +18,7 @@ import ("path/filepath""testing"- "github.com/google/sam/internal/node"+ "github.com/google/agentmesh/internal/node""github.com/spf13/cobra")diff --git a/cmd/sam-node/skill.go b/cmd/sam-node/skill.goindex bbb6a8f9..9e0206c9 100644--- a/cmd/sam-node/skill.go+++ b/cmd/sam-node/skill.go@@ -23,7 +23,7 @@ import ("strings""text/tabwriter"- "github.com/google/sam/internal/skill"+ "github.com/google/agentmesh/internal/skill""github.com/spf13/cobra")diff --git a/cmd/sam-node/skill_test.go b/cmd/sam-node/skill_test.goindex d9235106..5f1be4b9 100644--- a/cmd/sam-node/skill_test.go+++ b/cmd/sam-node/skill_test.go@@ -21,7 +21,7 @@ import ("strings""testing"- "github.com/google/sam/internal/skill"+ "github.com/google/agentmesh/internal/skill")func TestSkillCmdInstallAndList(t *testing.T) {diff --git a/cmd/sam-node/state.go b/cmd/sam-node/state.goindex 40600e67..01f6c049 100644--- a/cmd/sam-node/state.go+++ b/cmd/sam-node/state.go@@ -18,7 +18,7 @@ import ("errors""fmt"- "github.com/google/sam/internal/node"+ "github.com/google/agentmesh/internal/node""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""github.com/spf13/cobra"diff --git a/cmd/sam-one/admin.go b/cmd/sam-one/admin.goindex 26124f20..70524938 100644--- a/cmd/sam-one/admin.go+++ b/cmd/sam-one/admin.go@@ -24,8 +24,8 @@ import ("text/tabwriter""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/standalone"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/standalone""github.com/spf13/cobra""google.golang.org/protobuf/encoding/protojson")diff --git a/cmd/sam-one/admin_test.go b/cmd/sam-one/admin_test.goindex 52600033..ac70a94c 100644--- a/cmd/sam-one/admin_test.go+++ b/cmd/sam-one/admin_test.go@@ -25,7 +25,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""google.golang.org/protobuf/encoding/protojson""google.golang.org/protobuf/types/known/timestamppb")diff --git a/cmd/sam-one/main.go b/cmd/sam-one/main.goindex 259d02f9..f4408f85 100644--- a/cmd/sam-one/main.go+++ b/cmd/sam-one/main.go@@ -28,11 +28,11 @@ import ("strings""syscall"- "github.com/google/sam/api"- "github.com/google/sam/internal/router"- "github.com/google/sam/internal/standalone"- "github.com/google/sam/internal/tunnel"- "github.com/google/sam/internal/version"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/router"+ "github.com/google/agentmesh/internal/standalone"+ "github.com/google/agentmesh/internal/tunnel"+ "github.com/google/agentmesh/internal/version"golog "github.com/ipfs/go-log/v2""github.com/spf13/cobra")diff --git a/cmd/sam-one/qr.go b/cmd/sam-one/qr.goindex 33b0106a..16eb68fa 100644--- a/cmd/sam-one/qr.go+++ b/cmd/sam-one/qr.go@@ -22,7 +22,7 @@ import ("os""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api"qrcode "github.com/skip2/go-qrcode")diff --git a/cmd/sam-router/main.go b/cmd/sam-router/main.goindex f731ae20..09796f44 100644--- a/cmd/sam-router/main.go+++ b/cmd/sam-router/main.go@@ -22,8 +22,8 @@ import ("syscall""time"- "github.com/google/sam/internal/router"- "github.com/google/sam/internal/version"+ "github.com/google/agentmesh/internal/router"+ "github.com/google/agentmesh/internal/version"golog "github.com/ipfs/go-log/v2""github.com/spf13/cobra")diff --git a/go.mod b/go.modindex d8869351..3a397658 100644--- a/go.mod+++ b/go.mod@@ -1,4 +1,4 @@-module github.com/google/sam+module github.com/google/agentmeshgo 1.26.6diff --git a/hack/gen-sdk-datalog/main.go b/hack/gen-sdk-datalog/main.goindex 60e6ea09..86197b72 100644--- a/hack/gen-sdk-datalog/main.go+++ b/hack/gen-sdk-datalog/main.go@@ -36,8 +36,8 @@ import ("github.com/biscuit-auth/biscuit-go/v2""github.com/biscuit-auth/biscuit-go/v2/parser"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/encoding/protowire"diff --git a/internal/bench/join.go b/internal/bench/join.goindex 32e61164..4d102c3c 100644--- a/internal/bench/join.go+++ b/internal/bench/join.go@@ -31,7 +31,7 @@ import ("syscall""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// A density run says how many agents one member can carry. This asks thediff --git a/internal/bench/sts.go b/internal/bench/sts.goindex bf95c8b8..433f72b2 100644--- a/internal/bench/sts.go+++ b/internal/bench/sts.go@@ -34,12 +34,12 @@ import ("time"jwt "github.com/golang-jwt/jwt/v5"- "github.com/google/sam/api"- "github.com/google/sam/internal/controlplane"- cpclient "github.com/google/sam/internal/controlplane/client"- "github.com/google/sam/internal/identity"- "github.com/google/sam/internal/node"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/controlplane"+ cpclient "github.com/google/agentmesh/internal/controlplane/client"+ "github.com/google/agentmesh/internal/identity"+ "github.com/google/agentmesh/internal/node"+ "github.com/google/agentmesh/internal/storage""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/proto"diff --git a/internal/console/server.go b/internal/console/server.goindex 9ac201c1..146a2924 100644--- a/internal/console/server.go+++ b/internal/console/server.go@@ -34,8 +34,8 @@ import ("time""github.com/coreos/go-oidc/v3/oidc"- "github.com/google/sam/api"- "github.com/google/sam/internal/version"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/version""golang.org/x/oauth2""google.golang.org/protobuf/proto")diff --git a/internal/console/server_test.go b/internal/console/server_test.goindex 4a3fa239..c0f5770b 100644--- a/internal/console/server_test.go+++ b/internal/console/server_test.go@@ -31,8 +31,8 @@ import ("time""github.com/coreos/go-oidc/v3/oidc"- "github.com/google/sam/api"- "github.com/google/sam/internal/version"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/version""google.golang.org/protobuf/proto")diff --git a/internal/controlplane/approval_labels_test.go b/internal/controlplane/approval_labels_test.goindex 37f7ee65..15ece9ad 100644--- a/internal/controlplane/approval_labels_test.go+++ b/internal/controlplane/approval_labels_test.go@@ -23,7 +23,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/encoding/protojson"diff --git a/internal/controlplane/biscuit_ttl_test.go b/internal/controlplane/biscuit_ttl_test.goindex 8ac606d7..fd1d04ce 100644--- a/internal/controlplane/biscuit_ttl_test.go+++ b/internal/controlplane/biscuit_ttl_test.go@@ -27,9 +27,9 @@ import ("github.com/biscuit-auth/biscuit-go/v2""github.com/biscuit-auth/biscuit-go/v2/parser"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity"+ "github.com/google/agentmesh/internal/storage""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/proto"diff --git a/internal/controlplane/catalog.go b/internal/controlplane/catalog.goindex 4886ca2a..820b703e 100644--- a/internal/controlplane/catalog.go+++ b/internal/controlplane/catalog.go@@ -20,8 +20,8 @@ import ("net/http""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/storage""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/proto""google.golang.org/protobuf/types/known/timestamppb"diff --git a/internal/controlplane/catalog_test.go b/internal/controlplane/catalog_test.goindex c85054c7..8f2e732b 100644--- a/internal/controlplane/catalog_test.go+++ b/internal/controlplane/catalog_test.go@@ -25,8 +25,8 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/encoding/protojson"diff --git a/internal/controlplane/client/client.go b/internal/controlplane/client/client.goindex 44ad66e9..fd906a8e 100644--- a/internal/controlplane/client/client.go+++ b/internal/controlplane/client/client.go@@ -34,8 +34,8 @@ import ("github.com/libp2p/go-libp2p/core/crypto""google.golang.org/protobuf/proto"- "github.com/google/sam/api"- "github.com/google/sam/internal/version"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/version")// MaxBodyBytes caps every response body read from a control plane: adiff --git a/internal/controlplane/client/client_test.go b/internal/controlplane/client/client_test.goindex 8bcd3978..d97e74ad 100644--- a/internal/controlplane/client/client_test.go+++ b/internal/controlplane/client/client_test.go@@ -28,8 +28,8 @@ import ("google.golang.org/protobuf/proto"- "github.com/google/sam/api"- "github.com/google/sam/internal/version"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/version")func writeProto(t *testing.T, w http.ResponseWriter, msg proto.Message) {diff --git a/internal/controlplane/config.go b/internal/controlplane/config.goindex c9ed368d..fad39cd4 100644--- a/internal/controlplane/config.go+++ b/internal/controlplane/config.go@@ -18,7 +18,7 @@ import ("fmt""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// Options holds configuration for the control plane.diff --git a/internal/controlplane/egress_test.go b/internal/controlplane/egress_test.goindex 70e4b0dc..f686c09e 100644--- a/internal/controlplane/egress_test.go+++ b/internal/controlplane/egress_test.go@@ -25,7 +25,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/proto"diff --git a/internal/controlplane/identity_lifecycle_test.go b/internal/controlplane/identity_lifecycle_test.goindex eb12d1ea..651a9e98 100644--- a/internal/controlplane/identity_lifecycle_test.go+++ b/internal/controlplane/identity_lifecycle_test.go@@ -29,9 +29,9 @@ import ("time""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity"+ "github.com/google/agentmesh/internal/storage""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/encoding/protojson"diff --git a/internal/controlplane/label_grants_test.go b/internal/controlplane/label_grants_test.goindex 13d79ace..c295f553 100644--- a/internal/controlplane/label_grants_test.go+++ b/internal/controlplane/label_grants_test.go@@ -22,7 +22,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/proto"diff --git a/internal/controlplane/mesh.go b/internal/controlplane/mesh.goindex 69a915bb..d2cc397d 100644--- a/internal/controlplane/mesh.go+++ b/internal/controlplane/mesh.go@@ -31,8 +31,8 @@ import ("google.golang.org/protobuf/proto""google.golang.org/protobuf/types/known/timestamppb"- "github.com/google/sam/api"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/storage")// ServiceAnnouncement represents service discovery details retrieved from the mesh.diff --git a/internal/controlplane/mesh_test.go b/internal/controlplane/mesh_test.goindex 4284fcb7..bb77c537 100644--- a/internal/controlplane/mesh_test.go+++ b/internal/controlplane/mesh_test.go@@ -29,8 +29,8 @@ import ("github.com/libp2p/go-libp2p""google.golang.org/protobuf/proto"- "github.com/google/sam/api"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/storage")func TestNopMeshAdapter(t *testing.T) {diff --git a/internal/controlplane/metrics.go b/internal/controlplane/metrics.goindex 97f51586..6b53d7e2 100644--- a/internal/controlplane/metrics.go+++ b/internal/controlplane/metrics.go@@ -22,8 +22,8 @@ import ("sync""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/storage""github.com/prometheus/client_golang/prometheus""github.com/prometheus/client_golang/prometheus/promauto""github.com/prometheus/client_golang/prometheus/promhttp"diff --git a/internal/controlplane/metrics_test.go b/internal/controlplane/metrics_test.goindex 1b998212..be1c45b2 100644--- a/internal/controlplane/metrics_test.go+++ b/internal/controlplane/metrics_test.go@@ -26,8 +26,8 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/storage""github.com/prometheus/client_golang/prometheus"dto "github.com/prometheus/client_model/go")diff --git a/internal/controlplane/node_gc_test.go b/internal/controlplane/node_gc_test.goindex 6cb1a961..985ced9a 100644--- a/internal/controlplane/node_gc_test.go+++ b/internal/controlplane/node_gc_test.go@@ -19,8 +19,8 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/storage"dto "github.com/prometheus/client_model/go")diff --git a/internal/controlplane/peer_id_canonicalization_test.go b/internal/controlplane/peer_id_canonicalization_test.goindex 64e9e79f..39efc839 100644--- a/internal/controlplane/peer_id_canonicalization_test.go+++ b/internal/controlplane/peer_id_canonicalization_test.go@@ -26,8 +26,8 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/storage""github.com/libp2p/go-libp2p"pubsub "github.com/libp2p/go-libp2p-pubsub""github.com/libp2p/go-libp2p/core/crypto"diff --git a/internal/controlplane/policies_admission_test.go b/internal/controlplane/policies_admission_test.goindex 7b62bcc6..72d1b953 100644--- a/internal/controlplane/policies_admission_test.go+++ b/internal/controlplane/policies_admission_test.go@@ -27,8 +27,8 @@ import ("testing""time"- "github.com/google/sam/api"- cpclient "github.com/google/sam/internal/controlplane/client"+ "github.com/google/agentmesh/api"+ cpclient "github.com/google/agentmesh/internal/controlplane/client""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/proto"diff --git a/internal/controlplane/policy_scale_test.go b/internal/controlplane/policy_scale_test.goindex 974f6f86..342c0ad8 100644--- a/internal/controlplane/policy_scale_test.go+++ b/internal/controlplane/policy_scale_test.go@@ -26,8 +26,8 @@ import ("github.com/biscuit-auth/biscuit-go/v2/datalog""github.com/golang-jwt/jwt/v5"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer")diff --git a/internal/controlplane/resolve_roles_test.go b/internal/controlplane/resolve_roles_test.goindex beb0cad2..298b8540 100644--- a/internal/controlplane/resolve_roles_test.go+++ b/internal/controlplane/resolve_roles_test.go@@ -18,7 +18,7 @@ import ("testing"jwt "github.com/golang-jwt/jwt/v5"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// TestResolveRolesCoversEveryMappedClaim walks api.OIDCClaimToFact instead of adiff --git a/internal/controlplane/server.go b/internal/controlplane/server.goindex 6c162036..f4f4c121 100644--- a/internal/controlplane/server.go+++ b/internal/controlplane/server.go@@ -38,10 +38,10 @@ import ("github.com/biscuit-auth/biscuit-go/v2/parser""github.com/coreos/go-oidc/v3/oidc"jwt "github.com/golang-jwt/jwt/v5"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"- "github.com/google/sam/internal/ratelimit"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity"+ "github.com/google/agentmesh/internal/ratelimit"+ "github.com/google/agentmesh/internal/storage"golog "github.com/ipfs/go-log/v2""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer"diff --git a/internal/controlplane/server_test.go b/internal/controlplane/server_test.goindex a48e145a..ead6208f 100644--- a/internal/controlplane/server_test.go+++ b/internal/controlplane/server_test.go@@ -40,10 +40,10 @@ import ("github.com/biscuit-auth/biscuit-go/v2""github.com/biscuit-auth/biscuit-go/v2/datalog""github.com/golang-jwt/jwt/v5"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"- "github.com/google/sam/internal/node"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity"+ "github.com/google/agentmesh/internal/node"+ "github.com/google/agentmesh/internal/storage""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/encoding/protojson"diff --git a/internal/controlplane/sts.go b/internal/controlplane/sts.goindex 7676360e..138c360f 100644--- a/internal/controlplane/sts.go+++ b/internal/controlplane/sts.go@@ -41,9 +41,9 @@ import ("github.com/biscuit-auth/biscuit-go/v2""github.com/biscuit-auth/biscuit-go/v2/parser"jwt "github.com/golang-jwt/jwt/v5"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity"+ "github.com/google/agentmesh/internal/storage""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/proto"diff --git a/internal/controlplane/sts_test.go b/internal/controlplane/sts_test.goindex 49ab487e..d66a12bc 100644--- a/internal/controlplane/sts_test.go+++ b/internal/controlplane/sts_test.go@@ -36,10 +36,10 @@ import ("github.com/biscuit-auth/biscuit-go/v2"jwt "github.com/golang-jwt/jwt/v5"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"- "github.com/google/sam/internal/node"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity"+ "github.com/google/agentmesh/internal/node"+ "github.com/google/agentmesh/internal/storage""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/proto"diff --git a/internal/controlplane/ui.go b/internal/controlplane/ui.goindex 530cba6f..25336889 100644--- a/internal/controlplane/ui.go+++ b/internal/controlplane/ui.go@@ -18,7 +18,7 @@ import ("net/http""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// HandleAdminStatus HTTP GET `/admin/status`: the whole mesh as the consolediff --git a/internal/controlplane/views.go b/internal/controlplane/views.goindex a38519e1..ebcb6214 100644--- a/internal/controlplane/views.go+++ b/internal/controlplane/views.go@@ -19,8 +19,8 @@ import ("google.golang.org/protobuf/types/known/timestamppb"- "github.com/google/sam/api"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/storage")// The operator plane (/admin/*, /user/*) serves api.proto messages; thesediff --git a/internal/credprovider/credprovider.go b/internal/credprovider/credprovider.goindex 4af7fc43..6845f5f4 100644--- a/internal/credprovider/credprovider.go+++ b/internal/credprovider/credprovider.go@@ -41,7 +41,7 @@ import (lru "github.com/hashicorp/golang-lru/v2""google.golang.org/protobuf/proto"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")const (diff --git a/internal/credprovider/credprovider_test.go b/internal/credprovider/credprovider_test.goindex 14a92983..a888e9df 100644--- a/internal/credprovider/credprovider_test.go+++ b/internal/credprovider/credprovider_test.go@@ -25,7 +25,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")func TestTARNarrowsNeverSelects_OIDCScopes(t *testing.T) {diff --git a/internal/envoy/callout.go b/internal/envoy/callout.goindex d1cbc667..9b590221 100644--- a/internal/envoy/callout.go+++ b/internal/envoy/callout.go@@ -31,7 +31,7 @@ import (corev3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"extprocv3http "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/ext_proc/v3"extprocv3 "github.com/envoyproxy/go-control-plane/envoy/service/ext_proc/v3"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""google.golang.org/grpc""google.golang.org/grpc/credentials""google.golang.org/grpc/credentials/insecure"diff --git a/internal/envoy/envoy_test.go b/internal/envoy/envoy_test.goindex 1c507246..30e3a485 100644--- a/internal/envoy/envoy_test.go+++ b/internal/envoy/envoy_test.go@@ -42,7 +42,7 @@ import (authv3 "github.com/envoyproxy/go-control-plane/envoy/service/auth/v3"extprocv3 "github.com/envoyproxy/go-control-plane/envoy/service/ext_proc/v3"typev3 "github.com/envoyproxy/go-control-plane/envoy/type/v3"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""google.golang.org/grpc""google.golang.org/grpc/codes""google.golang.org/grpc/credentials"diff --git a/internal/envoy/server.go b/internal/envoy/server.goindex 3405e649..d455a7f2 100644--- a/internal/envoy/server.go+++ b/internal/envoy/server.go@@ -32,7 +32,7 @@ import (authv3 "github.com/envoyproxy/go-control-plane/envoy/service/auth/v3"extprocv3 "github.com/envoyproxy/go-control-plane/envoy/service/ext_proc/v3"typev3 "github.com/envoyproxy/go-control-plane/envoy/type/v3"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api"rpcstatus "google.golang.org/genproto/googleapis/rpc/status""google.golang.org/grpc""google.golang.org/grpc/codes"diff --git a/internal/identity/appended_blocks_test.go b/internal/identity/appended_blocks_test.goindex bc3f653e..909a83d2 100644--- a/internal/identity/appended_blocks_test.go+++ b/internal/identity/appended_blocks_test.go@@ -25,7 +25,7 @@ import ("github.com/biscuit-auth/biscuit-go/v2""github.com/biscuit-auth/biscuit-go/v2/parser"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// appendJoinBomb attenuates token with a block any holder can add offline: adiff --git a/internal/identity/attenuation_test.go b/internal/identity/attenuation_test.goindex 1ac57bb5..48737324 100644--- a/internal/identity/attenuation_test.go+++ b/internal/identity/attenuation_test.go@@ -26,7 +26,7 @@ import ("google.golang.org/protobuf/proto""google.golang.org/protobuf/types/known/timestamppb"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// TestAttenuationBlockFactsAreInvisibleToTheAuthorizer records a property ofdiff --git a/internal/identity/biscuit.go b/internal/identity/biscuit.goindex 93b1504e..e000aa38 100644--- a/internal/identity/biscuit.go+++ b/internal/identity/biscuit.go@@ -30,7 +30,7 @@ import ("github.com/biscuit-auth/biscuit-go/v2/pb""github.com/coreos/go-oidc/v3/oidc""github.com/golang-jwt/jwt/v5"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/proto")diff --git a/internal/identity/biscuit_test.go b/internal/identity/biscuit_test.goindex ec523f6d..5fe045f4 100644--- a/internal/identity/biscuit_test.go+++ b/internal/identity/biscuit_test.go@@ -26,7 +26,7 @@ import ("github.com/biscuit-auth/biscuit-go/v2/datalog""github.com/coreos/go-oidc/v3/oidc""github.com/golang-jwt/jwt/v5"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer")diff --git a/internal/identity/claims_test.go b/internal/identity/claims_test.goindex 904a094b..38c3797f 100644--- a/internal/identity/claims_test.go+++ b/internal/identity/claims_test.go@@ -18,7 +18,7 @@ import ("testing""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// TestEveryMappedClaimBecomesAFact walks api.OIDCClaimToFact rather than adiff --git a/internal/identity/custom_datalog_test.go b/internal/identity/custom_datalog_test.goindex f3233e5a..5a75c402 100644--- a/internal/identity/custom_datalog_test.go+++ b/internal/identity/custom_datalog_test.go@@ -22,7 +22,7 @@ import ("time""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// TestMintSkipsRuleFormCustomDatalog covers the availability half ofdiff --git a/internal/identity/http_grants_test.go b/internal/identity/http_grants_test.goindex 08b4d802..81201ea5 100644--- a/internal/identity/http_grants_test.go+++ b/internal/identity/http_grants_test.go@@ -22,7 +22,7 @@ import ("time""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// TestMintNarrowedGrant pins what a role with PolicyRole.http mints: thediff --git a/internal/identity/peer_binding_test.go b/internal/identity/peer_binding_test.goindex ca879dbb..de1f1f7b 100644--- a/internal/identity/peer_binding_test.go+++ b/internal/identity/peer_binding_test.go@@ -22,7 +22,7 @@ import ("time""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer")diff --git a/internal/node/a2a_service.go b/internal/node/a2a_service.goindex 3498901c..71c8e8ea 100644--- a/internal/node/a2a_service.go+++ b/internal/node/a2a_service.go@@ -24,7 +24,7 @@ import ("strings""github.com/a2aproject/a2a-go/v2/a2a"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/peer")diff --git a/internal/node/a2a_service_test.go b/internal/node/a2a_service_test.goindex 45466e40..9dcd8aae 100644--- a/internal/node/a2a_service_test.go+++ b/internal/node/a2a_service_test.go@@ -25,7 +25,7 @@ import ("testing""github.com/a2aproject/a2a-go/v2/a2a"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")func TestA2AServiceInitRejectsCommand(t *testing.T) {diff --git a/internal/node/backend_target_test.go b/internal/node/backend_target_test.goindex f3786709..112b1305 100644--- a/internal/node/backend_target_test.go+++ b/internal/node/backend_target_test.go@@ -22,7 +22,7 @@ import ("strings""testing"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")func TestParseBackendTarget(t *testing.T) {diff --git a/internal/node/config.go b/internal/node/config.goindex 8264fc82..dd789606 100644--- a/internal/node/config.go+++ b/internal/node/config.go@@ -21,7 +21,7 @@ import ("github.com/biscuit-auth/biscuit-go/v2""github.com/biscuit-auth/biscuit-go/v2/parser"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""gopkg.in/yaml.v2")diff --git a/internal/node/config_test.go b/internal/node/config_test.goindex 7ecb1db7..a6c2d8fa 100644--- a/internal/node/config_test.go+++ b/internal/node/config_test.go@@ -20,7 +20,7 @@ import ("strings""testing"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")func TestLoadNodeConfig(t *testing.T) {diff --git a/internal/node/connection_monitor_test.go b/internal/node/connection_monitor_test.goindex af06d650..ee9f5c16 100644--- a/internal/node/connection_monitor_test.go+++ b/internal/node/connection_monitor_test.go@@ -19,7 +19,7 @@ import ("errors""testing"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/multiformats/go-multiaddr")diff --git a/internal/node/controlplane.go b/internal/node/controlplane.goindex 14a8e661..31ebb79c 100644--- a/internal/node/controlplane.go+++ b/internal/node/controlplane.go@@ -20,8 +20,8 @@ import ("crypto/ed25519""time"- "github.com/google/sam/api"- cpclient "github.com/google/sam/internal/controlplane/client"+ "github.com/google/agentmesh/api"+ cpclient "github.com/google/agentmesh/internal/controlplane/client""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer")diff --git a/internal/node/controlplane_client.go b/internal/node/controlplane_client.goindex 88792a9f..64811cfd 100644--- a/internal/node/controlplane_client.go+++ b/internal/node/controlplane_client.go@@ -19,7 +19,7 @@ import ("sync/atomic""time"- cpclient "github.com/google/sam/internal/controlplane/client"+ cpclient "github.com/google/agentmesh/internal/controlplane/client")// allowInsecureControlPlane is process-wide because the control-plane URLdiff --git a/internal/node/controlplane_sync.go b/internal/node/controlplane_sync.goindex ba31be89..3e8628e8 100644--- a/internal/node/controlplane_sync.go+++ b/internal/node/controlplane_sync.go@@ -22,7 +22,7 @@ import ("math/rand""time"- cpclient "github.com/google/sam/internal/controlplane/client"+ cpclient "github.com/google/agentmesh/internal/controlplane/client""github.com/libp2p/go-libp2p/core/peer""github.com/multiformats/go-multiaddr")diff --git a/internal/node/controlplane_test.go b/internal/node/controlplane_test.goindex ef0cb514..c612297e 100644--- a/internal/node/controlplane_test.go+++ b/internal/node/controlplane_test.go@@ -28,7 +28,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api"lru "github.com/hashicorp/golang-lru/v2""github.com/libp2p/go-libp2p/core/peer""github.com/multiformats/go-multiaddr"diff --git a/internal/node/discovery/announcer.go b/internal/node/discovery/announcer.goindex c993001e..fb1bc1c1 100644--- a/internal/node/discovery/announcer.go+++ b/internal/node/discovery/announcer.go@@ -20,7 +20,7 @@ import ("sync""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api"pubsub "github.com/libp2p/go-libp2p-pubsub""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/proto"diff --git a/internal/node/discovery/discovery.go b/internal/node/discovery/discovery.goindex 2a32f552..0ffca97b 100644--- a/internal/node/discovery/discovery.go+++ b/internal/node/discovery/discovery.go@@ -23,7 +23,7 @@ package discoveryimport ("time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api"golog "github.com/ipfs/go-log/v2")diff --git a/internal/node/discovery/discovery_test.go b/internal/node/discovery/discovery_test.goindex 4307d29a..89035e97 100644--- a/internal/node/discovery/discovery_test.go+++ b/internal/node/discovery/discovery_test.go@@ -21,7 +21,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api"pubsub "github.com/libp2p/go-libp2p-pubsub"pubsub_pb "github.com/libp2p/go-libp2p-pubsub/pb""github.com/libp2p/go-libp2p/core/crypto"diff --git a/internal/node/discovery/view.go b/internal/node/discovery/view.goindex 88bddf72..1c48e553 100644--- a/internal/node/discovery/view.go+++ b/internal/node/discovery/view.go@@ -18,7 +18,7 @@ import ("context""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api"pubsub "github.com/libp2p/go-libp2p-pubsub""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/proto"diff --git a/internal/node/discovery_source.go b/internal/node/discovery_source.goindex b6cb4441..0b648b78 100644--- a/internal/node/discovery_source.go+++ b/internal/node/discovery_source.go@@ -18,8 +18,8 @@ import ("context""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/node/discovery"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/node/discovery")// discoverySourceProbeTimeout bounds each backend model probe per tick.diff --git a/internal/node/egress.go b/internal/node/egress.goindex 37c7a7ad..7d645b08 100644--- a/internal/node/egress.go+++ b/internal/node/egress.go@@ -29,10 +29,10 @@ import ("sync""time"- "github.com/google/sam/api"- cpclient "github.com/google/sam/internal/controlplane/client"- "github.com/google/sam/internal/credprovider"- "github.com/google/sam/internal/envoy"+ "github.com/google/agentmesh/api"+ cpclient "github.com/google/agentmesh/internal/controlplane/client"+ "github.com/google/agentmesh/internal/credprovider"+ "github.com/google/agentmesh/internal/envoy""google.golang.org/protobuf/proto")diff --git a/internal/node/egress_broker_test.go b/internal/node/egress_broker_test.goindex 071ff228..a7a3b026 100644--- a/internal/node/egress_broker_test.go+++ b/internal/node/egress_broker_test.go@@ -22,9 +22,9 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/credprovider"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/credprovider"+ "github.com/google/agentmesh/internal/identity")type exchangerFunc func(ctx context.Context, principal string, rules []*api.TaskAuthorizationRule) (string, time.Time, error)diff --git a/internal/node/egress_inspect.go b/internal/node/egress_inspect.goindex d9b93a00..b97553e7 100644--- a/internal/node/egress_inspect.go+++ b/internal/node/egress_inspect.go@@ -31,8 +31,8 @@ import ("time"extprocv3 "github.com/envoyproxy/go-control-plane/envoy/service/ext_proc/v3"- "github.com/google/sam/api"- "github.com/google/sam/internal/envoy"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/envoy""google.golang.org/protobuf/types/known/structpb")diff --git a/internal/node/egress_inspect_test.go b/internal/node/egress_inspect_test.goindex 238eef5e..dfd834b8 100644--- a/internal/node/egress_inspect_test.go+++ b/internal/node/egress_inspect_test.go@@ -35,8 +35,8 @@ import (extprocv3http "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/ext_proc/v3"extprocv3 "github.com/envoyproxy/go-control-plane/envoy/service/ext_proc/v3"typev3 "github.com/envoyproxy/go-control-plane/envoy/type/v3"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity""google.golang.org/grpc""google.golang.org/grpc/codes""google.golang.org/grpc/credentials/insecure"@@ -754,4 +754,3 @@ func TestResolveModelArmorEndpointSSRF(t *testing.T) {t.Fatal("expected link-local metadata IP to be rejected even when local target is allowed")}}-diff --git a/internal/node/egress_route_test.go b/internal/node/egress_route_test.goindex 5531f886..9965fe1b 100644--- a/internal/node/egress_route_test.go+++ b/internal/node/egress_route_test.go@@ -25,7 +25,7 @@ import ("time""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// TestLocalEgressRoute is the life of a request from a local client throughdiff --git a/internal/node/egress_test.go b/internal/node/egress_test.goindex 889dbeca..90414bed 100644--- a/internal/node/egress_test.go+++ b/internal/node/egress_test.go@@ -26,7 +26,7 @@ import ("time""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/peer""github.com/prometheus/client_golang/prometheus"dto "github.com/prometheus/client_model/go"diff --git a/internal/node/egress_tunnel.go b/internal/node/egress_tunnel.goindex 68fb4c22..33827203 100644--- a/internal/node/egress_tunnel.go+++ b/internal/node/egress_tunnel.go@@ -30,8 +30,8 @@ import ("sync""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/tlsinspect"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/tlsinspect"gostream "github.com/libp2p/go-libp2p-gostream""github.com/libp2p/go-libp2p/core/peer")diff --git a/internal/node/egress_tunnel_test.go b/internal/node/egress_tunnel_test.goindex c410135c..904c0baf 100644--- a/internal/node/egress_tunnel_test.go+++ b/internal/node/egress_tunnel_test.go@@ -35,7 +35,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")func startTestTLSServer(t *testing.T, dnsName string, upstreamHits *atomic.Int32) (string, *x509.CertPool) {diff --git a/internal/node/enroll.go b/internal/node/enroll.goindex 0210dac1..ca01be4b 100644--- a/internal/node/enroll.go+++ b/internal/node/enroll.go@@ -25,9 +25,9 @@ import ("strings""time"- "github.com/google/sam/api"- cpclient "github.com/google/sam/internal/controlplane/client"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ cpclient "github.com/google/agentmesh/internal/controlplane/client"+ "github.com/google/agentmesh/internal/identity"golog "github.com/ipfs/go-log/v2""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer"diff --git a/internal/node/enroll_test.go b/internal/node/enroll_test.goindex fbddab9f..9d58d73b 100644--- a/internal/node/enroll_test.go+++ b/internal/node/enroll_test.go@@ -29,8 +29,8 @@ import ("time""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity""github.com/libp2p/go-libp2p""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/network"diff --git a/internal/node/ext_authz.go b/internal/node/ext_authz.goindex aea472f8..914cae67 100644--- a/internal/node/ext_authz.go+++ b/internal/node/ext_authz.go@@ -22,8 +22,8 @@ import ("net/http""strings"- "github.com/google/sam/api"- "github.com/google/sam/internal/envoy"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/envoy""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/encoding/protojson")diff --git a/internal/node/gate.go b/internal/node/gate.goindex b3118158..a773e491 100644--- a/internal/node/gate.go+++ b/internal/node/gate.go@@ -27,7 +27,7 @@ import ("github.com/modelcontextprotocol/go-sdk/jsonrpc""github.com/modelcontextprotocol/go-sdk/mcp"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")var _ connmgr.ConnectionGater = (*nodeConnGate)(nil)diff --git a/internal/node/gate_test.go b/internal/node/gate_test.goindex 70cdb846..a13608bf 100644--- a/internal/node/gate_test.go+++ b/internal/node/gate_test.go@@ -22,7 +22,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api"lru "github.com/hashicorp/golang-lru/v2""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/network"diff --git a/internal/node/gossip_hardening_test.go b/internal/node/gossip_hardening_test.goindex fccf90b0..fd7f7078 100644--- a/internal/node/gossip_hardening_test.go+++ b/internal/node/gossip_hardening_test.go@@ -24,8 +24,8 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/ratelimit"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/ratelimit""github.com/libp2p/go-libp2p"pubsub "github.com/libp2p/go-libp2p-pubsub"pubsub_pb "github.com/libp2p/go-libp2p-pubsub/pb"diff --git a/internal/node/identity_evidence.go b/internal/node/identity_evidence.goindex b489cfe6..d798e232 100644--- a/internal/node/identity_evidence.go+++ b/internal/node/identity_evidence.go@@ -26,8 +26,8 @@ import ("time""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/encoding/protojson""google.golang.org/protobuf/proto"diff --git a/internal/node/identity_evidence_test.go b/internal/node/identity_evidence_test.goindex d499364c..d4dc13f8 100644--- a/internal/node/identity_evidence_test.go+++ b/internal/node/identity_evidence_test.go@@ -26,8 +26,8 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity"lru "github.com/hashicorp/golang-lru/v2""github.com/libp2p/go-libp2p""google.golang.org/protobuf/encoding/protojson"diff --git a/internal/node/inference_engine_test.go b/internal/node/inference_engine_test.goindex 888d9b96..b647fd6f 100644--- a/internal/node/inference_engine_test.go+++ b/internal/node/inference_engine_test.go@@ -22,7 +22,7 @@ import ("reflect""testing"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")func TestOpenAIEngine_Models(t *testing.T) {diff --git a/internal/node/inference_service.go b/internal/node/inference_service.goindex 6d20be23..7e003896 100644--- a/internal/node/inference_service.go+++ b/internal/node/inference_service.go@@ -29,7 +29,7 @@ import ("sync/atomic""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/peer""github.com/openai/openai-go")diff --git a/internal/node/inference_test.go b/internal/node/inference_test.goindex 7e7aa342..85bf8754 100644--- a/internal/node/inference_test.go+++ b/internal/node/inference_test.go@@ -25,7 +25,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api"dto "github.com/prometheus/client_model/go")diff --git a/internal/node/labels_gate.go b/internal/node/labels_gate.goindex ebb41c8b..c1d90869 100644--- a/internal/node/labels_gate.go+++ b/internal/node/labels_gate.go@@ -22,8 +22,8 @@ import ("strings""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity""github.com/libp2p/go-libp2p/core/network""github.com/libp2p/go-libp2p/core/peer""github.com/libp2p/go-msgio"diff --git a/internal/node/labels_gate_test.go b/internal/node/labels_gate_test.goindex 6484ca96..8086c5dd 100644--- a/internal/node/labels_gate_test.go+++ b/internal/node/labels_gate_test.go@@ -20,8 +20,8 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity"lru "github.com/hashicorp/golang-lru/v2""github.com/libp2p/go-libp2p/core/network""github.com/libp2p/go-libp2p/core/peer"diff --git a/internal/node/mcp.go b/internal/node/mcp.goindex 72e57bfb..7fddc0fd 100644--- a/internal/node/mcp.go+++ b/internal/node/mcp.go@@ -23,7 +23,7 @@ import ("strings""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/network""github.com/libp2p/go-libp2p/core/peer""github.com/libp2p/go-libp2p/core/peerstore"diff --git a/internal/node/mcp_discovery_test.go b/internal/node/mcp_discovery_test.goindex 127304b7..29bdb92a 100644--- a/internal/node/mcp_discovery_test.go+++ b/internal/node/mcp_discovery_test.go@@ -22,8 +22,8 @@ import ("sort""testing"- "github.com/google/sam/api"- samdiscovery "github.com/google/sam/internal/node/discovery"+ "github.com/google/agentmesh/api"+ samdiscovery "github.com/google/agentmesh/internal/node/discovery""github.com/modelcontextprotocol/go-sdk/mcp")diff --git a/internal/node/mcp_handlers.go b/internal/node/mcp_handlers.goindex e52cd401..44493c07 100644--- a/internal/node/mcp_handlers.go+++ b/internal/node/mcp_handlers.go@@ -23,8 +23,8 @@ import ("sync""time"- "github.com/google/sam/api"- samdiscovery "github.com/google/sam/internal/node/discovery"+ "github.com/google/agentmesh/api"+ samdiscovery "github.com/google/agentmesh/internal/node/discovery""github.com/libp2p/go-libp2p/core/peer""github.com/modelcontextprotocol/go-sdk/mcp")diff --git a/internal/node/mcp_handlers_additional_test.go b/internal/node/mcp_handlers_additional_test.goindex dc3fc751..c9b919e6 100644--- a/internal/node/mcp_handlers_additional_test.go+++ b/internal/node/mcp_handlers_additional_test.go@@ -22,7 +22,7 @@ import ("strings""testing"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/modelcontextprotocol/go-sdk/mcp")diff --git a/internal/node/mcp_handlers_test.go b/internal/node/mcp_handlers_test.goindex a44f99c9..67e33cf4 100644--- a/internal/node/mcp_handlers_test.go+++ b/internal/node/mcp_handlers_test.go@@ -30,8 +30,8 @@ import ("time""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""github.com/modelcontextprotocol/go-sdk/mcp"diff --git a/internal/node/mcp_service.go b/internal/node/mcp_service.goindex 937a48e0..53f7c744 100644--- a/internal/node/mcp_service.go+++ b/internal/node/mcp_service.go@@ -24,7 +24,7 @@ import ("sync""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/network""github.com/modelcontextprotocol/go-sdk/jsonrpc""github.com/modelcontextprotocol/go-sdk/mcp"diff --git a/internal/node/mcp_service_command_test.go b/internal/node/mcp_service_command_test.goindex 60e7d7a9..cc09387f 100644--- a/internal/node/mcp_service_command_test.go+++ b/internal/node/mcp_service_command_test.go@@ -25,7 +25,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/modelcontextprotocol/go-sdk/jsonrpc""github.com/modelcontextprotocol/go-sdk/mcp")diff --git a/internal/node/mcp_service_test.go b/internal/node/mcp_service_test.goindex bc773b99..d994b1cb 100644--- a/internal/node/mcp_service_test.go+++ b/internal/node/mcp_service_test.go@@ -21,7 +21,7 @@ import ("sync/atomic""testing"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/modelcontextprotocol/go-sdk/mcp")diff --git a/internal/node/mcp_test.go b/internal/node/mcp_test.goindex 4447d40c..74c9a9d8 100644--- a/internal/node/mcp_test.go+++ b/internal/node/mcp_test.go@@ -22,7 +22,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api"dht "github.com/libp2p/go-libp2p-kad-dht""github.com/libp2p/go-libp2p/core/peer""github.com/libp2p/go-libp2p/core/peerstore"diff --git a/internal/node/middleware.go b/internal/node/middleware.goindex d90a1429..4917fcef 100644--- a/internal/node/middleware.go+++ b/internal/node/middleware.go@@ -22,8 +22,8 @@ import ("time""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity""github.com/libp2p/go-libp2p/core/network""github.com/libp2p/go-libp2p/core/peer""github.com/libp2p/go-msgio"diff --git a/internal/node/middleware_test.go b/internal/node/middleware_test.goindex 54ed5fcb..36102afc 100644--- a/internal/node/middleware_test.go+++ b/internal/node/middleware_test.go@@ -31,9 +31,9 @@ import ("github.com/biscuit-auth/biscuit-go/v2""github.com/biscuit-auth/biscuit-go/v2/parser"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"- "github.com/google/sam/internal/ratelimit"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity"+ "github.com/google/agentmesh/internal/ratelimit"lru "github.com/hashicorp/golang-lru/v2"golog "github.com/ipfs/go-log/v2""github.com/libp2p/go-libp2p/core/crypto"diff --git a/internal/node/node.go b/internal/node/node.goindex 90349691..28a835c4 100644--- a/internal/node/node.go+++ b/internal/node/node.go@@ -38,11 +38,11 @@ import ("time""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"- cpclient "github.com/google/sam/internal/controlplane/client"- "github.com/google/sam/internal/identity"- samdiscovery "github.com/google/sam/internal/node/discovery"- "github.com/google/sam/internal/ratelimit"+ "github.com/google/agentmesh/api"+ cpclient "github.com/google/agentmesh/internal/controlplane/client"+ "github.com/google/agentmesh/internal/identity"+ samdiscovery "github.com/google/agentmesh/internal/node/discovery"+ "github.com/google/agentmesh/internal/ratelimit"lru "github.com/hashicorp/golang-lru/v2""github.com/ipfs/go-cid"golog "github.com/ipfs/go-log/v2"diff --git a/internal/node/node_metrics.go b/internal/node/node_metrics.goindex 0519d259..82308f49 100644--- a/internal/node/node_metrics.go+++ b/internal/node/node_metrics.go@@ -21,7 +21,7 @@ import ("strings""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/prometheus/client_golang/prometheus""github.com/prometheus/client_golang/prometheus/promhttp")diff --git a/internal/node/node_test.go b/internal/node/node_test.goindex 2a77c93d..7b8c037b 100644--- a/internal/node/node_test.go+++ b/internal/node/node_test.go@@ -24,9 +24,9 @@ import ("time""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"- "github.com/google/sam/internal/ratelimit"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity"+ "github.com/google/agentmesh/internal/ratelimit"lru "github.com/hashicorp/golang-lru/v2""github.com/libp2p/go-libp2p"dht "github.com/libp2p/go-libp2p-kad-dht"diff --git a/internal/node/openai_facade.go b/internal/node/openai_facade.goindex 07c6b6a8..48ea27cc 100644--- a/internal/node/openai_facade.go+++ b/internal/node/openai_facade.go@@ -28,7 +28,7 @@ import ("sync/atomic""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api"libp2phttp "github.com/libp2p/go-libp2p-http""github.com/libp2p/go-libp2p/core/network""github.com/libp2p/go-libp2p/core/peer"diff --git a/internal/node/openai_facade_test.go b/internal/node/openai_facade_test.goindex 93678150..52ea501b 100644--- a/internal/node/openai_facade_test.go+++ b/internal/node/openai_facade_test.go@@ -25,7 +25,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// fakeModelService is a local Service that also reports served models.diff --git a/internal/node/openai_scorer.go b/internal/node/openai_scorer.goindex 227789f9..4a77c8d8 100644--- a/internal/node/openai_scorer.go+++ b/internal/node/openai_scorer.go@@ -19,7 +19,7 @@ import ("sort""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// providerBackoff is how long a provider is skipped after a retryable failure.diff --git a/internal/node/options.go b/internal/node/options.goindex 7e180042..ea9fcb15 100644--- a/internal/node/options.go+++ b/internal/node/options.go@@ -19,8 +19,8 @@ import ("fmt""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity""github.com/libp2p/go-libp2p/core/crypto""github.com/multiformats/go-multiaddr")diff --git a/internal/node/options_test.go b/internal/node/options_test.goindex a7ea5b7e..109370b2 100644--- a/internal/node/options_test.go+++ b/internal/node/options_test.go@@ -20,7 +20,7 @@ import ("strings""testing"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/crypto")diff --git a/internal/node/proxy_test.go b/internal/node/proxy_test.goindex c932aec5..26e977c3 100644--- a/internal/node/proxy_test.go+++ b/internal/node/proxy_test.go@@ -29,8 +29,8 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer")diff --git a/internal/node/refresh_test.go b/internal/node/refresh_test.goindex abc9086f..a5300d78 100644--- a/internal/node/refresh_test.go+++ b/internal/node/refresh_test.go@@ -30,7 +30,7 @@ import ("time""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/proto""google.golang.org/protobuf/types/known/timestamppb"diff --git a/internal/node/relay_acl_test.go b/internal/node/relay_acl_test.goindex 2f78cbac..990985b9 100644--- a/internal/node/relay_acl_test.go+++ b/internal/node/relay_acl_test.go@@ -18,7 +18,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api"lru "github.com/hashicorp/golang-lru/v2""github.com/libp2p/go-libp2p/core/peer""github.com/multiformats/go-multiaddr"diff --git a/internal/node/router_auth_dedupe_test.go b/internal/node/router_auth_dedupe_test.goindex 7b65ba5c..40955b69 100644--- a/internal/node/router_auth_dedupe_test.go+++ b/internal/node/router_auth_dedupe_test.go@@ -28,7 +28,7 @@ import ("time""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/host"diff --git a/internal/node/service.go b/internal/node/service.goindex ff869725..381aaff4 100644--- a/internal/node/service.go+++ b/internal/node/service.go@@ -24,7 +24,7 @@ import ("os/exec""strings"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/ipfs/go-cid""github.com/multiformats/go-multihash")diff --git a/internal/node/service_registry.go b/internal/node/service_registry.goindex 04b0077d..69a16845 100644--- a/internal/node/service_registry.go+++ b/internal/node/service_registry.go@@ -21,7 +21,7 @@ import ("sync/atomic""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/ipfs/go-cid")diff --git a/internal/node/service_registry_test.go b/internal/node/service_registry_test.goindex 020de989..463ba770 100644--- a/internal/node/service_registry_test.go+++ b/internal/node/service_registry_test.go@@ -23,7 +23,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/ipfs/go-cid")diff --git a/internal/node/service_test.go b/internal/node/service_test.goindex c02d1898..61c984d3 100644--- a/internal/node/service_test.go+++ b/internal/node/service_test.go@@ -25,7 +25,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// testService is a minimal Service implementation for test setup. Tests usediff --git a/internal/node/sidecar.go b/internal/node/sidecar.goindex c1e1a4e9..816abd62 100644--- a/internal/node/sidecar.go+++ b/internal/node/sidecar.go@@ -32,7 +32,7 @@ import ("strings""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api"libp2phttp "github.com/libp2p/go-libp2p-http""github.com/libp2p/go-libp2p/core/network""github.com/libp2p/go-libp2p/core/peer"diff --git a/internal/node/sidecar_hygiene_test.go b/internal/node/sidecar_hygiene_test.goindex 30632d71..7168c310 100644--- a/internal/node/sidecar_hygiene_test.go+++ b/internal/node/sidecar_hygiene_test.go@@ -19,7 +19,7 @@ import ("net/http/httptest""testing"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// L32: a ".." after the authorized /{type}/{name} prefix travelled to thediff --git a/internal/node/sidecar_test.go b/internal/node/sidecar_test.goindex bbbe2990..b95ae0be 100644--- a/internal/node/sidecar_test.go+++ b/internal/node/sidecar_test.go@@ -26,7 +26,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p"dht "github.com/libp2p/go-libp2p-kad-dht"diff --git a/internal/node/statedir.go b/internal/node/statedir.goindex b465e6d7..caab6c2e 100644--- a/internal/node/statedir.go+++ b/internal/node/statedir.go@@ -20,7 +20,7 @@ import ("os""path/filepath"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/crypto""google.golang.org/protobuf/encoding/protojson")diff --git a/internal/node/statedir_test.go b/internal/node/statedir_test.goindex 02427980..b42db91c 100644--- a/internal/node/statedir_test.go+++ b/internal/node/statedir_test.go@@ -24,7 +24,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/crypto""google.golang.org/protobuf/proto""google.golang.org/protobuf/types/known/timestamppb"diff --git a/internal/node/static_service_test.go b/internal/node/static_service_test.goindex 94e12448..5111eed4 100644--- a/internal/node/static_service_test.go+++ b/internal/node/static_service_test.go@@ -27,7 +27,7 @@ import ("time""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p"dht "github.com/libp2p/go-libp2p-kad-dht""github.com/libp2p/go-libp2p/core/crypto"diff --git a/internal/node/stdio_bridge.go b/internal/node/stdio_bridge.goindex 1f30f6c7..97b3f08c 100644--- a/internal/node/stdio_bridge.go+++ b/internal/node/stdio_bridge.go@@ -24,7 +24,7 @@ import ("strconv""sync"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// StdioBridge backs the POST HTTP ingress route for a command-backed servicediff --git a/internal/node/store.go b/internal/node/store.goindex 34354a12..2eb28230 100644--- a/internal/node/store.go+++ b/internal/node/store.go@@ -25,7 +25,7 @@ import ("strings""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""go.etcd.io/bbolt"bbolterrors "go.etcd.io/bbolt/errors""google.golang.org/protobuf/proto"diff --git a/internal/node/store_test.go b/internal/node/store_test.goindex 8cc6e54d..f6cfbf8b 100644--- a/internal/node/store_test.go+++ b/internal/node/store_test.go@@ -25,7 +25,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""go.etcd.io/bbolt""google.golang.org/protobuf/proto""google.golang.org/protobuf/types/known/timestamppb"diff --git a/internal/node/sts.go b/internal/node/sts.goindex d38a9a6e..b66c0f8f 100644--- a/internal/node/sts.go+++ b/internal/node/sts.go@@ -27,9 +27,9 @@ import ("strings""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/credprovider"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/credprovider"+ "github.com/google/agentmesh/internal/identity"lru "github.com/hashicorp/golang-lru/v2""github.com/libp2p/go-libp2p/core/peer")diff --git a/internal/node/sts_test.go b/internal/node/sts_test.goindex 10892103..228a6200 100644--- a/internal/node/sts_test.go+++ b/internal/node/sts_test.go@@ -34,8 +34,8 @@ import ("github.com/biscuit-auth/biscuit-go/v2"authv3 "github.com/envoyproxy/go-control-plane/envoy/service/auth/v3""github.com/golang-jwt/jwt/v5"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""google.golang.org/grpc/codes"diff --git a/internal/node/tokensource.go b/internal/node/tokensource.goindex 574a843c..10c4b39a 100644--- a/internal/node/tokensource.go+++ b/internal/node/tokensource.go@@ -24,8 +24,8 @@ import ("strings""time"- "github.com/google/sam/api"- cpclient "github.com/google/sam/internal/controlplane/client"+ "github.com/google/agentmesh/api"+ cpclient "github.com/google/agentmesh/internal/controlplane/client")const (diff --git a/internal/node/tokensource_test.go b/internal/node/tokensource_test.goindex 336d8586..6cb38f25 100644--- a/internal/node/tokensource_test.go+++ b/internal/node/tokensource_test.go@@ -28,8 +28,8 @@ import ("time""github.com/golang-jwt/jwt/v5"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/proto"diff --git a/internal/router/config.go b/internal/router/config.goindex 1d0b6f3f..7cab2a5a 100644--- a/internal/router/config.go+++ b/internal/router/config.go@@ -19,8 +19,8 @@ import ("net/http""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity")// DefaultShutdownLeaseTTL is the CLI default for Options.ShutdownLeaseTTL:diff --git a/internal/router/metrics_test.go b/internal/router/metrics_test.goindex 7db4b323..a530d8f5 100644--- a/internal/router/metrics_test.go+++ b/internal/router/metrics_test.go@@ -23,7 +23,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p"dht "github.com/libp2p/go-libp2p-kad-dht""github.com/libp2p/go-libp2p/core/peer"diff --git a/internal/router/relay_acl_test.go b/internal/router/relay_acl_test.goindex 403ae5e8..24c5d08f 100644--- a/internal/router/relay_acl_test.go+++ b/internal/router/relay_acl_test.go@@ -21,7 +21,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api"pubsub "github.com/libp2p/go-libp2p-pubsub"pubsub_pb "github.com/libp2p/go-libp2p-pubsub/pb""github.com/libp2p/go-libp2p/core/crypto"diff --git a/internal/router/router.go b/internal/router/router.goindex 9ea078fe..f391f485 100644--- a/internal/router/router.go+++ b/internal/router/router.go@@ -33,10 +33,10 @@ import ("sync/atomic""time"- "github.com/google/sam/api"- cpclient "github.com/google/sam/internal/controlplane/client"- "github.com/google/sam/internal/identity"- "github.com/google/sam/internal/ratelimit"+ "github.com/google/agentmesh/api"+ cpclient "github.com/google/agentmesh/internal/controlplane/client"+ "github.com/google/agentmesh/internal/identity"+ "github.com/google/agentmesh/internal/ratelimit"golog "github.com/ipfs/go-log/v2""github.com/libp2p/go-libp2p"dht "github.com/libp2p/go-libp2p-kad-dht"diff --git a/internal/router/router_test.go b/internal/router/router_test.goindex 0edbdfeb..3379157b 100644--- a/internal/router/router_test.go+++ b/internal/router/router_test.go@@ -34,11 +34,11 @@ import ("time""github.com/golang-jwt/jwt/v5"- "github.com/google/sam/api"- "github.com/google/sam/internal/controlplane"- "github.com/google/sam/internal/identity"- "github.com/google/sam/internal/ratelimit"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/controlplane"+ "github.com/google/agentmesh/internal/identity"+ "github.com/google/agentmesh/internal/ratelimit"+ "github.com/google/agentmesh/internal/storage""github.com/libp2p/go-libp2p""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/network"diff --git a/internal/router/trust_test.go b/internal/router/trust_test.goindex e7f33ce4..72903158 100644--- a/internal/router/trust_test.go+++ b/internal/router/trust_test.go@@ -30,7 +30,7 @@ import ("time""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/proto"diff --git a/internal/skill/skill.go b/internal/skill/skill.goindex 1f46f1bf..79e609aa 100644--- a/internal/skill/skill.go+++ b/internal/skill/skill.go@@ -22,7 +22,7 @@ import ("os""path/filepath"- samskill "github.com/google/sam/agents/skills/sam-mesh"+ samskill "github.com/google/agentmesh/agents/skills/sam-mesh")const (diff --git a/internal/standalone/standalone.go b/internal/standalone/standalone.goindex 0da47752..5a9c3346 100644--- a/internal/standalone/standalone.go+++ b/internal/standalone/standalone.go@@ -35,11 +35,11 @@ import ("strings""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/console"- "github.com/google/sam/internal/controlplane"- "github.com/google/sam/internal/router"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/console"+ "github.com/google/agentmesh/internal/controlplane"+ "github.com/google/agentmesh/internal/router"+ "github.com/google/agentmesh/internal/storage"golog "github.com/ipfs/go-log/v2""github.com/libp2p/go-libp2p/core/crypto""github.com/multiformats/go-multiaddr"diff --git a/internal/standalone/standalone_test.go b/internal/standalone/standalone_test.goindex ed0cd01e..b3ed8e84 100644--- a/internal/standalone/standalone_test.go+++ b/internal/standalone/standalone_test.go@@ -21,7 +21,7 @@ import ("path/filepath""testing"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/proto"diff --git a/internal/storage/mesh_policy_test.go b/internal/storage/mesh_policy_test.goindex d6ab1686..1b416947 100644--- a/internal/storage/mesh_policy_test.go+++ b/internal/storage/mesh_policy_test.go@@ -20,7 +20,7 @@ import ("reflect""testing"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""google.golang.org/protobuf/proto")diff --git a/internal/storage/migration_test.go b/internal/storage/migration_test.goindex 45d670dd..8042b4f1 100644--- a/internal/storage/migration_test.go+++ b/internal/storage/migration_test.go@@ -22,7 +22,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// openAtSchemaVersion creates a sqlite database migrated up to and includingdiff --git a/internal/storage/round_trip_test.go b/internal/storage/round_trip_test.goindex 312d9d48..c99ac677 100644--- a/internal/storage/round_trip_test.go+++ b/internal/storage/round_trip_test.go@@ -22,7 +22,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// Every record here is taken apart into named columns on the way in and putdiff --git a/internal/storage/sql_store.go b/internal/storage/sql_store.goindex 913d886d..90c376d2 100644--- a/internal/storage/sql_store.go+++ b/internal/storage/sql_store.go@@ -25,7 +25,7 @@ import ("strings""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api"log "github.com/ipfs/go-log/v2""google.golang.org/protobuf/encoding/protojson"diff --git a/internal/storage/sql_store_test.go b/internal/storage/sql_store_test.goindex e44f1f19..e554d034 100644--- a/internal/storage/sql_store_test.go+++ b/internal/storage/sql_store_test.go@@ -27,7 +27,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")func newTestStore(t *testing.T) Store {diff --git a/internal/storage/storage.go b/internal/storage/storage.goindex aaae9290..900e0867 100644--- a/internal/storage/storage.go+++ b/internal/storage/storage.go@@ -20,7 +20,7 @@ import ("errors""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")var (diff --git a/internal/tlsinspect/tlsinspect.go b/internal/tlsinspect/tlsinspect.goindex 08d40bbc..6654bbab 100644--- a/internal/tlsinspect/tlsinspect.go+++ b/internal/tlsinspect/tlsinspect.go@@ -23,7 +23,7 @@ import ("fmt""io"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")const (diff --git a/mobile/sam-node-ffi/ffi/ffi.go b/mobile/sam-node-ffi/ffi/ffi.goindex ff8829a8..f934d1d1 100644--- a/mobile/sam-node-ffi/ffi/ffi.go+++ b/mobile/sam-node-ffi/ffi/ffi.go@@ -27,8 +27,8 @@ import ("sync""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/node"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/node"golog "github.com/ipfs/go-log/v2""github.com/libp2p/go-libp2p/core/peer""github.com/multiformats/go-multiaddr"diff --git a/mobile/sam-node-ffi/ffi/ffi_test.go b/mobile/sam-node-ffi/ffi/ffi_test.goindex 1e312eed..8978b08e 100644--- a/mobile/sam-node-ffi/ffi/ffi_test.go+++ b/mobile/sam-node-ffi/ffi/ffi_test.go@@ -25,8 +25,8 @@ import ("time""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"- "github.com/google/sam/internal/node"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/node""github.com/libp2p/go-libp2p"dht "github.com/libp2p/go-libp2p-kad-dht""github.com/libp2p/go-libp2p/core/network"diff --git a/mobile/sam-node-ffi/main.go b/mobile/sam-node-ffi/main.goindex 2b822e6b..770169e7 100644--- a/mobile/sam-node-ffi/main.go+++ b/mobile/sam-node-ffi/main.go@@ -21,8 +21,8 @@ import "C"import ("unsafe"- "github.com/google/sam/internal/version"- "github.com/google/sam/mobile/sam-node-ffi/ffi"+ "github.com/google/agentmesh/internal/version"+ "github.com/google/agentmesh/mobile/sam-node-ffi/ffi")func main() {}diff --git a/site/go.mod b/site/go.modindex 648041a7..0c373e27 100644--- a/site/go.mod+++ b/site/go.mod@@ -1,4 +1,4 @@-module github.com/google/sam/site+module github.com/google/agentmesh/sitego 1.23.4diff --git a/site/hugo.toml b/site/hugo.tomlindex 1e729502..073905db 100644--- a/site/hugo.toml+++ b/site/hugo.toml@@ -68,7 +68,7 @@ contentDir = "content"weight = 6[params]- github_repo = "https://github.com/google/sam"+ github_repo = "https://github.com/google/agentmesh"github_subdir = "site"github_branch = "main"diff --git a/tests/e2e/gen_db.go b/tests/e2e/gen_db.goindex 23fab2e5..9e339540 100644--- a/tests/e2e/gen_db.go+++ b/tests/e2e/gen_db.go@@ -24,7 +24,7 @@ import ("time""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""go.etcd.io/bbolt")diff --git a/tests/integration/a2a_test.go b/tests/integration/a2a_test.goindex cca8933d..5deb38e6 100644--- a/tests/integration/a2a_test.go+++ b/tests/integration/a2a_test.go@@ -28,7 +28,7 @@ import ("github.com/a2aproject/a2a-go/v2/a2aclient""github.com/a2aproject/a2a-go/v2/a2aclient/agentcard""github.com/a2aproject/a2a-go/v2/a2asrv"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// headerRoundTripper stamps fixed headers (mesh auth, labels) on everydiff --git a/tests/integration/auth_test.go b/tests/integration/auth_test.goindex 663f87d8..0c798879 100644--- a/tests/integration/auth_test.go+++ b/tests/integration/auth_test.go@@ -23,7 +23,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")func TestNodeAuthEnforcementIntegration(t *testing.T) {diff --git a/tests/integration/biscuit_expiry_test.go b/tests/integration/biscuit_expiry_test.goindex 4c853149..fd66a8a2 100644--- a/tests/integration/biscuit_expiry_test.go+++ b/tests/integration/biscuit_expiry_test.go@@ -27,9 +27,9 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"- "github.com/google/sam/internal/node"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity"+ "github.com/google/agentmesh/internal/node""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/proto"diff --git a/tests/integration/bootstrap_token_owner_test.go b/tests/integration/bootstrap_token_owner_test.goindex 1ba67043..3a71a2ed 100644--- a/tests/integration/bootstrap_token_owner_test.go+++ b/tests/integration/bootstrap_token_owner_test.go@@ -24,9 +24,9 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/controlplane"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/controlplane"+ "github.com/google/agentmesh/internal/storage")// startTokenTestControlPlane brings up a control plane wired to a mock OIDC providerdiff --git a/tests/integration/catalog_test.go b/tests/integration/catalog_test.goindex 50f86384..e51f6137 100644--- a/tests/integration/catalog_test.go+++ b/tests/integration/catalog_test.go@@ -26,7 +26,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/modelcontextprotocol/go-sdk/mcp")diff --git a/tests/integration/controlplane_pubsub_integration_test.go b/tests/integration/controlplane_pubsub_integration_test.goindex b545d170..65cd76a5 100644--- a/tests/integration/controlplane_pubsub_integration_test.go+++ b/tests/integration/controlplane_pubsub_integration_test.go@@ -23,9 +23,9 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/controlplane"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/controlplane"+ "github.com/google/agentmesh/internal/storage""github.com/libp2p/go-libp2p"pubsub "github.com/libp2p/go-libp2p-pubsub""github.com/libp2p/go-libp2p/core/crypto"diff --git a/tests/integration/datapath_test.go b/tests/integration/datapath_test.goindex 71b51400..fc5f7987 100644--- a/tests/integration/datapath_test.go+++ b/tests/integration/datapath_test.go@@ -29,7 +29,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")func TestIntegrationStdioDatapath(t *testing.T) {diff --git a/tests/integration/debug_endpoints_test.go b/tests/integration/debug_endpoints_test.goindex cbbd3318..5cb41de8 100644--- a/tests/integration/debug_endpoints_test.go+++ b/tests/integration/debug_endpoints_test.go@@ -25,7 +25,7 @@ import ("strings""testing"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// connectPeerWithToken dials POST /debug/connect-peer, the REST endpoint thatdiff --git a/tests/integration/egress_test.go b/tests/integration/egress_test.goindex 1d4dd4a6..051a9743 100644--- a/tests/integration/egress_test.go+++ b/tests/integration/egress_test.go@@ -27,7 +27,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// TestEgressDestinationCUJ is the egress story end to end, with realdiff --git a/tests/integration/enroll_status_polling_test.go b/tests/integration/enroll_status_polling_test.goindex e88dbb50..a111e417 100644--- a/tests/integration/enroll_status_polling_test.go+++ b/tests/integration/enroll_status_polling_test.go@@ -24,11 +24,11 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/controlplane"- "github.com/google/sam/internal/identity"- "github.com/google/sam/internal/node"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/controlplane"+ "github.com/google/agentmesh/internal/identity"+ "github.com/google/agentmesh/internal/node"+ "github.com/google/agentmesh/internal/storage""github.com/libp2p/go-libp2p""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/network"diff --git a/tests/integration/failover_test.go b/tests/integration/failover_test.goindex 69bccd5a..430e43d4 100644--- a/tests/integration/failover_test.go+++ b/tests/integration/failover_test.go@@ -29,7 +29,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p""github.com/libp2p/go-libp2p/core/peer""github.com/multiformats/go-multiaddr"diff --git a/tests/integration/fallback_test.go b/tests/integration/fallback_test.goindex 704e49c7..88111dcd 100644--- a/tests/integration/fallback_test.go+++ b/tests/integration/fallback_test.go@@ -24,7 +24,7 @@ import ("time""github.com/biscuit-auth/biscuit-go/v2/parser"- "github.com/google/sam/internal/node"+ "github.com/google/agentmesh/internal/node")// init forces the biscuit-go parser to build its underlying participlediff --git a/tests/integration/federation_test.go b/tests/integration/federation_test.goindex 40698119..93c90f82 100644--- a/tests/integration/federation_test.go+++ b/tests/integration/federation_test.go@@ -29,7 +29,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer")diff --git a/tests/integration/identity_evidence_test.go b/tests/integration/identity_evidence_test.goindex efa27c8c..efed4133 100644--- a/tests/integration/identity_evidence_test.go+++ b/tests/integration/identity_evidence_test.go@@ -33,7 +33,7 @@ import ("github.com/biscuit-auth/biscuit-go/v2""github.com/biscuit-auth/biscuit-go/v2/datalog"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/encoding/protojson""google.golang.org/protobuf/proto"diff --git a/tests/integration/local_policy_test.go b/tests/integration/local_policy_test.goindex 21cdd1c6..e7a780e6 100644--- a/tests/integration/local_policy_test.go+++ b/tests/integration/local_policy_test.go@@ -21,7 +21,7 @@ import ("strings""testing"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")func TestLocalPolicyCanGrantPermissions(t *testing.T) {diff --git a/tests/integration/login_test.go b/tests/integration/login_test.goindex 91e1340a..50b4cb1c 100644--- a/tests/integration/login_test.go+++ b/tests/integration/login_test.go@@ -25,9 +25,9 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/node"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/node"+ "github.com/google/agentmesh/internal/storage")// These tests cover how a node comes to hold, keep and lose its meshdiff --git a/tests/integration/member_burst_test.go b/tests/integration/member_burst_test.goindex f3700a54..5d20d207 100644--- a/tests/integration/member_burst_test.go+++ b/tests/integration/member_burst_test.go@@ -26,8 +26,8 @@ import ("testing""time"- "github.com/google/sam/internal/bench"- "github.com/google/sam/internal/standalone"+ "github.com/google/agentmesh/internal/bench"+ "github.com/google/agentmesh/internal/standalone")// TestMemberBurstJoinsConcurrently pins the join path under concurrency, thediff --git a/tests/integration/minimal_helpers_test.go b/tests/integration/minimal_helpers_test.goindex 5c10864f..551e94e4 100644--- a/tests/integration/minimal_helpers_test.go+++ b/tests/integration/minimal_helpers_test.go@@ -40,7 +40,7 @@ import ("net/http/httptest""github.com/biscuit-auth/biscuit-go/v2"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p"dht "github.com/libp2p/go-libp2p-kad-dht""github.com/libp2p/go-libp2p/core/network"diff --git a/tests/integration/multimaster_test.go b/tests/integration/multimaster_test.goindex 8901af74..e064a8cd 100644--- a/tests/integration/multimaster_test.go+++ b/tests/integration/multimaster_test.go@@ -26,7 +26,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/host"diff --git a/tests/integration/node_helpers_test.go b/tests/integration/node_helpers_test.goindex 58ebd2dc..27643069 100644--- a/tests/integration/node_helpers_test.go+++ b/tests/integration/node_helpers_test.go@@ -25,7 +25,7 @@ import ("testing""time"- "github.com/google/sam/internal/node"+ "github.com/google/agentmesh/internal/node""github.com/libp2p/go-libp2p/core/peer""github.com/modelcontextprotocol/go-sdk/mcp")diff --git a/tests/integration/noise_test.go b/tests/integration/noise_test.goindex 0000a070..f52155c8 100644--- a/tests/integration/noise_test.go+++ b/tests/integration/noise_test.go@@ -22,8 +22,8 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity""github.com/libp2p/go-libp2p""github.com/libp2p/go-libp2p/core/host""github.com/libp2p/go-libp2p/core/network"diff --git a/tests/integration/openai_facade_test.go b/tests/integration/openai_facade_test.goindex 7db9438f..035aa388 100644--- a/tests/integration/openai_facade_test.go+++ b/tests/integration/openai_facade_test.go@@ -24,7 +24,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// TestOpenAIFacadeCUJ covers the "point an OpenAI client at the sidecar" CUJ:diff --git a/tests/integration/policy_grants_test.go b/tests/integration/policy_grants_test.goindex 4224d123..6468e2d6 100644--- a/tests/integration/policy_grants_test.go+++ b/tests/integration/policy_grants_test.go@@ -29,8 +29,8 @@ import ("github.com/biscuit-auth/biscuit-go/v2""github.com/biscuit-auth/biscuit-go/v2/parser"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/encoding/protojson"diff --git a/tests/integration/policy_permutations_test.go b/tests/integration/policy_permutations_test.goindex fb502f10..b03a86b2 100644--- a/tests/integration/policy_permutations_test.go+++ b/tests/integration/policy_permutations_test.go@@ -23,7 +23,7 @@ import ("strings""testing"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/modelcontextprotocol/go-sdk/mcp")diff --git a/tests/integration/readmission_test.go b/tests/integration/readmission_test.goindex 984ba273..73824f3f 100644--- a/tests/integration/readmission_test.go+++ b/tests/integration/readmission_test.go@@ -25,11 +25,11 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/controlplane"- "github.com/google/sam/internal/identity"- "github.com/google/sam/internal/router"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/controlplane"+ "github.com/google/agentmesh/internal/identity"+ "github.com/google/agentmesh/internal/router"+ "github.com/google/agentmesh/internal/storage""github.com/libp2p/go-libp2p/core/network""github.com/libp2p/go-libp2p/core/peer""github.com/multiformats/go-multiaddr"diff --git a/tests/integration/revocation_test.go b/tests/integration/revocation_test.goindex 9ab46f79..3ddd5989 100644--- a/tests/integration/revocation_test.go+++ b/tests/integration/revocation_test.go@@ -25,8 +25,8 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/storage""github.com/libp2p/go-libp2p"pubsub "github.com/libp2p/go-libp2p-pubsub""github.com/libp2p/go-libp2p/core/peer"diff --git a/tests/integration/rotation_offline_test.go b/tests/integration/rotation_offline_test.goindex d4da1091..edad262a 100644--- a/tests/integration/rotation_offline_test.go+++ b/tests/integration/rotation_offline_test.go@@ -28,8 +28,8 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/identity"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/identity""github.com/libp2p/go-libp2p""github.com/libp2p/go-libp2p/core/peer"libp2ptls "github.com/libp2p/go-libp2p/p2p/security/tls"diff --git a/tests/integration/rotation_test.go b/tests/integration/rotation_test.goindex 4651cc66..a50d5c31 100644--- a/tests/integration/rotation_test.go+++ b/tests/integration/rotation_test.go@@ -27,7 +27,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/proto")diff --git a/tests/integration/router_shutdown_test.go b/tests/integration/router_shutdown_test.goindex a01540ad..cee33f6c 100644--- a/tests/integration/router_shutdown_test.go+++ b/tests/integration/router_shutdown_test.go@@ -23,7 +23,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// TestRouterGracefulShutdownWithdrawsLease covers a router stopping ondiff --git a/tests/integration/sdk_a2a_test.go b/tests/integration/sdk_a2a_test.goindex 56122a98..88bf642e 100644--- a/tests/integration/sdk_a2a_test.go+++ b/tests/integration/sdk_a2a_test.go@@ -24,7 +24,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// TestNativeSDKA2A runs the examples written with the official A2A SDKsdiff --git a/tests/integration/sdk_canary_test.go b/tests/integration/sdk_canary_test.goindex 81c106ad..120ae468 100644--- a/tests/integration/sdk_canary_test.go+++ b/tests/integration/sdk_canary_test.go@@ -26,7 +26,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")const sdkCanaryTemplate = ".github/k8s/sam-sdk-canary-template.yaml"diff --git a/tests/integration/sdk_enroll_test.go b/tests/integration/sdk_enroll_test.goindex 1909d050..a96b47ee 100644--- a/tests/integration/sdk_enroll_test.go+++ b/tests/integration/sdk_enroll_test.go@@ -30,10 +30,10 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/controlplane"- "github.com/google/sam/internal/identity"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/controlplane"+ "github.com/google/agentmesh/internal/identity"+ "github.com/google/agentmesh/internal/storage""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/peer""google.golang.org/protobuf/encoding/protojson"diff --git a/tests/integration/sdk_examples_test.go b/tests/integration/sdk_examples_test.goindex 2560f0b7..2c3788c6 100644--- a/tests/integration/sdk_examples_test.go+++ b/tests/integration/sdk_examples_test.go@@ -29,7 +29,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api")// sdkExampleLauncher starts one of the example programs the SDK READMEs anddiff --git a/tests/integration/sdk_mesh_test.go b/tests/integration/sdk_mesh_test.goindex 4d000ab5..344aff68 100644--- a/tests/integration/sdk_mesh_test.go+++ b/tests/integration/sdk_mesh_test.go@@ -39,10 +39,10 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/controlplane"- "github.com/google/sam/internal/identity"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/controlplane"+ "github.com/google/agentmesh/internal/identity"+ "github.com/google/agentmesh/internal/storage""github.com/libp2p/go-libp2p"libp2phttp "github.com/libp2p/go-libp2p-http""github.com/libp2p/go-libp2p/core/crypto"diff --git a/tests/integration/service_discovery_test.go b/tests/integration/service_discovery_test.goindex 3f53d210..7b6a1508 100644--- a/tests/integration/service_discovery_test.go+++ b/tests/integration/service_discovery_test.go@@ -24,7 +24,7 @@ import ("testing""time"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""github.com/libp2p/go-libp2p/core/peer")diff --git a/tests/integration/singleport_test.go b/tests/integration/singleport_test.goindex 57b8bad5..76b7406d 100644--- a/tests/integration/singleport_test.go+++ b/tests/integration/singleport_test.go@@ -25,10 +25,10 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/controlplane"- "github.com/google/sam/internal/router"- "github.com/google/sam/internal/storage"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/controlplane"+ "github.com/google/agentmesh/internal/router"+ "github.com/google/agentmesh/internal/storage""github.com/libp2p/go-libp2p""github.com/libp2p/go-libp2p/core/network""github.com/libp2p/go-libp2p/core/peer"diff --git a/tests/integration/standalone_sdk_test.go b/tests/integration/standalone_sdk_test.goindex 452764d9..d02ee4fe 100644--- a/tests/integration/standalone_sdk_test.go+++ b/tests/integration/standalone_sdk_test.go@@ -37,7 +37,7 @@ import ("testing""time"- "github.com/google/sam/internal/standalone"+ "github.com/google/agentmesh/internal/standalone")// TestStandaloneSDKAgents pins that both SDKs work with sam-one. Itsdiff --git a/tests/integration/standalone_test.go b/tests/integration/standalone_test.goindex 3222071d..b544af14 100644--- a/tests/integration/standalone_test.go+++ b/tests/integration/standalone_test.go@@ -26,9 +26,9 @@ import ("testing""time"- "github.com/google/sam/api"- "github.com/google/sam/internal/node"- "github.com/google/sam/internal/standalone"+ "github.com/google/agentmesh/api"+ "github.com/google/agentmesh/internal/node"+ "github.com/google/agentmesh/internal/standalone""github.com/libp2p/go-libp2p/core/crypto""github.com/libp2p/go-libp2p/core/network""github.com/libp2p/go-libp2p/core/peer"diff --git a/tests/integration/sts_cuj_test.go b/tests/integration/sts_cuj_test.goindex 00d72e8e..af791662 100644--- a/tests/integration/sts_cuj_test.go+++ b/tests/integration/sts_cuj_test.go@@ -36,7 +36,7 @@ import (extprocv3http "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/ext_proc/v3"extprocv3 "github.com/envoyproxy/go-control-plane/envoy/service/ext_proc/v3"typev3 "github.com/envoyproxy/go-control-plane/envoy/type/v3"- "github.com/google/sam/api"+ "github.com/google/agentmesh/api""google.golang.org/grpc""google.golang.org/grpc/credentials/insecure")