-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuf.gen.yaml
More file actions
34 lines (32 loc) · 1.5 KB
/
Copy pathbuf.gen.yaml
File metadata and controls
34 lines (32 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: v2
# `buf generate` drives cross-language proto codegen for the SDKs (Step 3.7).
#
# Python is intentionally NOT generated here: the gateway + Python SDK use
# `grpc_tools.protoc` (scripts/gen_proto_py.py, committed + drift-gated) so the
# codegen path needs no buf binary, and CI's proto-drift gate stays the single
# source of truth for the Python stubs. buf is used in CI only for `buf lint`.
#
# Run via `task sdk:gen-proto` (wraps `python scripts/gen_sdks.py --only proto`).
# Install buf locally with `brew install bufbuild/buf/buf` /
# `winget install Buf.Buf` / `go install github.com/bufbuild/buf/...`.
#
# Outputs land in each SDK's gitignored generated/ tree — they are build
# artifacts, regenerated on demand, not committed (unlike the Python stubs).
plugins:
# --- Go ---------------------------------------------------------------
- remote: buf.build/protocolbuffers/go
out: sdks/go/internal/gen
opt: paths=source_relative
- remote: buf.build/grpc/go
out: sdks/go/internal/gen
opt: paths=source_relative
# --- Java -------------------------------------------------------------
- remote: buf.build/protocolbuffers/java
out: sdks/java/lib/src/main/java
- remote: buf.build/grpc/java
out: sdks/java/lib/src/main/java
# --- C# / .NET --------------------------------------------------------
- remote: buf.build/protocolbuffers/csharp
out: sdks/dotnet/src/AgentContextOS.Sdk/Generated
- remote: buf.build/grpc/csharp
out: sdks/dotnet/src/AgentContextOS.Sdk/Generated