From fad3825991b1ae43b57ad42381edf919a5fe9f0f Mon Sep 17 00:00:00 2001 From: tumberger Date: Sun, 5 Apr 2026 20:00:00 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20remove=20go=5Fpackage=20from=20proto=20?= =?UTF-8?q?=E2=80=94=20consumers=20set=20it=20via=20managed=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The proto repo should not declare language-specific options. Each consumer (Go CLI, TypeScript API, Python SDK) sets their own package path in their buf.gen.yaml via managed mode. Co-Authored-By: Claude Opus 4.6 (1M context) --- buf.yaml | 2 ++ kontext/agent/v1/agent.proto | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buf.yaml b/buf.yaml index f74da98..a0a7548 100644 --- a/buf.yaml +++ b/buf.yaml @@ -7,3 +7,5 @@ lint: breaking: use: - FILE + except: + - FILE_SAME_GO_PACKAGE diff --git a/kontext/agent/v1/agent.proto b/kontext/agent/v1/agent.proto index 9c0d59f..1970f89 100644 --- a/kontext/agent/v1/agent.proto +++ b/kontext/agent/v1/agent.proto @@ -2,8 +2,6 @@ syntax = "proto3"; package kontext.agent.v1; -option go_package = "github.com/kontext-dev/proto/gen/kontext/agent/v1;agentv1"; - // AgentService is the bidirectional streaming service between the CLI sidecar // and the Kontext backend. The sidecar maintains a persistent connection and // streams hook events for policy evaluation and telemetry.