From 3a8d5851644fc58cf696f63b77d7d2461e0535fc Mon Sep 17 00:00:00 2001 From: "app-token-plugins[bot]" Date: Fri, 29 May 2026 15:07:37 +0000 Subject: [PATCH] detected new plugin versions --- plugins/anthropics/buffa/v0.7.0/.dockerignore | 2 + plugins/anthropics/buffa/v0.7.0/Dockerfile | 15 +++++ .../anthropics/buffa/v0.7.0/buf.plugin.yaml | 51 +++++++++++++++++ .../connect-rust/v0.6.1/.dockerignore | 2 + .../anthropics/connect-rust/v0.6.1/Dockerfile | 17 ++++++ .../connect-rust/v0.6.1/buf.plugin.yaml | 55 +++++++++++++++++++ .../connectrpc/python/v0.10.1/.dockerignore | 2 + plugins/connectrpc/python/v0.10.1/Dockerfile | 16 ++++++ .../connectrpc/python/v0.10.1/buf.plugin.yaml | 19 +++++++ .../anthropics/buffa/v0.7.0/eliza/plugin.sum | 1 + .../buffa/v0.7.0/petapis/plugin.sum | 1 + .../connect-rust/v0.6.1/eliza/plugin.sum | 1 + .../connect-rust/v0.6.1/petapis/plugin.sum | 1 + .../python/v0.10.1/eliza/plugin.sum | 1 + .../python/v0.10.1/petapis/plugin.sum | 1 + 15 files changed, 185 insertions(+) create mode 100644 plugins/anthropics/buffa/v0.7.0/.dockerignore create mode 100644 plugins/anthropics/buffa/v0.7.0/Dockerfile create mode 100644 plugins/anthropics/buffa/v0.7.0/buf.plugin.yaml create mode 100644 plugins/anthropics/connect-rust/v0.6.1/.dockerignore create mode 100644 plugins/anthropics/connect-rust/v0.6.1/Dockerfile create mode 100644 plugins/anthropics/connect-rust/v0.6.1/buf.plugin.yaml create mode 100644 plugins/connectrpc/python/v0.10.1/.dockerignore create mode 100644 plugins/connectrpc/python/v0.10.1/Dockerfile create mode 100644 plugins/connectrpc/python/v0.10.1/buf.plugin.yaml create mode 100644 tests/testdata/buf.build/anthropics/buffa/v0.7.0/eliza/plugin.sum create mode 100644 tests/testdata/buf.build/anthropics/buffa/v0.7.0/petapis/plugin.sum create mode 100644 tests/testdata/buf.build/anthropics/connect-rust/v0.6.1/eliza/plugin.sum create mode 100644 tests/testdata/buf.build/anthropics/connect-rust/v0.6.1/petapis/plugin.sum create mode 100644 tests/testdata/buf.build/connectrpc/python/v0.10.1/eliza/plugin.sum create mode 100644 tests/testdata/buf.build/connectrpc/python/v0.10.1/petapis/plugin.sum diff --git a/plugins/anthropics/buffa/v0.7.0/.dockerignore b/plugins/anthropics/buffa/v0.7.0/.dockerignore new file mode 100644 index 000000000..5d0f124ff --- /dev/null +++ b/plugins/anthropics/buffa/v0.7.0/.dockerignore @@ -0,0 +1,2 @@ +* +!Dockerfile diff --git a/plugins/anthropics/buffa/v0.7.0/Dockerfile b/plugins/anthropics/buffa/v0.7.0/Dockerfile new file mode 100644 index 000000000..f7240f0af --- /dev/null +++ b/plugins/anthropics/buffa/v0.7.0/Dockerfile @@ -0,0 +1,15 @@ +# syntax=docker/dockerfile:1.24 +FROM rust:1.95.0-alpine3.23@sha256:606fd313a0f49743ee2a7bd49a0914bab7deedb12791f3a846a34a4711db7ed2 AS builder +RUN apk add --no-cache musl-dev +WORKDIR /app +ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse +RUN --mount=type=cache,target=/usr/local/cargo/registry,sharing=locked --mount=type=cache,target=/root/target \ + cargo install protoc-gen-buffa --version 0.7.0 --locked --root /app + +FROM gcr.io/distroless/static-debian13:latest@sha256:3592aa8171c77482f62bbc4164e6a2d141c6122554ace66e5cc910cadb961ff0 AS base + +FROM scratch +COPY --link --from=base / / +COPY --link --from=builder /app/bin/protoc-gen-buffa /protoc-gen-buffa +USER nobody +ENTRYPOINT ["/protoc-gen-buffa"] diff --git a/plugins/anthropics/buffa/v0.7.0/buf.plugin.yaml b/plugins/anthropics/buffa/v0.7.0/buf.plugin.yaml new file mode 100644 index 000000000..a6fca3632 --- /dev/null +++ b/plugins/anthropics/buffa/v0.7.0/buf.plugin.yaml @@ -0,0 +1,51 @@ +version: v1 +name: buf.build/anthropics/buffa +plugin_version: v0.7.0 +source_url: https://github.com/anthropics/buffa +description: Generates Rust message types with buffa, a zero-copy Protobuf implementation with editions support and no_std compatibility. +output_languages: + - rust +spdx_license_id: Apache-2.0 +license_url: https://github.com/anthropics/buffa/blob/v0.7.0/LICENSE +registry: + cargo: + rust_version: "1.85" + deps: + # Runtime: wire format, Message trait, view types, JSON helpers. + # https://github.com/anthropics/buffa/blob/v0.7.0/buffa/Cargo.toml + - name: "buffa" + req: "0.7.0" + default_features: true + features: + - json + # Well-known types (Timestamp, Duration, Any, Struct, etc.). + # Generated code references these via the auto-injected + # extern_path mapping `.google.protobuf` -> `::buffa_types::google::protobuf`. + - name: "buffa-types" + req: "0.7.0" + default_features: true + features: + - json + - name: "buffa-descriptor" + req: "0.7.0" + default_features: true + features: + - json + - views + # Generated code derives `::serde::Serialize` / `::serde::Deserialize` + # directly when json=true, so serde must be a direct dep. + - name: "serde" + req: "1" + default_features: true + features: + - derive + opts: + # Enable serde derives + proto3 JSON mapping helpers. Required for + # downstream plugins that need the Connect protocol's JSON codec. + - json=true + # Zero-copy view types. Default, but explicit for clarity. + - views=true + # Emit one `.rs` per proto package instead of one + # file per proto file. Matches the prost/tonic filename convention + # the BSR Rust SDK lib.rs synthesis expects. + - file_per_package=true diff --git a/plugins/anthropics/connect-rust/v0.6.1/.dockerignore b/plugins/anthropics/connect-rust/v0.6.1/.dockerignore new file mode 100644 index 000000000..5d0f124ff --- /dev/null +++ b/plugins/anthropics/connect-rust/v0.6.1/.dockerignore @@ -0,0 +1,2 @@ +* +!Dockerfile diff --git a/plugins/anthropics/connect-rust/v0.6.1/Dockerfile b/plugins/anthropics/connect-rust/v0.6.1/Dockerfile new file mode 100644 index 000000000..db12b13b6 --- /dev/null +++ b/plugins/anthropics/connect-rust/v0.6.1/Dockerfile @@ -0,0 +1,17 @@ +# syntax=docker/dockerfile:1.24 +FROM rust:1.95.0-alpine3.23@sha256:606fd313a0f49743ee2a7bd49a0914bab7deedb12791f3a846a34a4711db7ed2 AS builder +RUN apk add --no-cache musl-dev +WORKDIR /app +ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse +# The protoc-gen-connect-rust binary is a [[bin]] target in the +# connectrpc-codegen crate. cargo install compiles it by crate name. +RUN --mount=type=cache,target=/usr/local/cargo/registry,sharing=locked --mount=type=cache,target=/root/target \ + cargo install connectrpc-codegen --version 0.6.1 --locked --root /app + +FROM gcr.io/distroless/static-debian13:latest@sha256:3592aa8171c77482f62bbc4164e6a2d141c6122554ace66e5cc910cadb961ff0 AS base + +FROM scratch +COPY --link --from=base / / +COPY --link --from=builder /app/bin/protoc-gen-connect-rust /protoc-gen-connect-rust +USER nobody +ENTRYPOINT ["/protoc-gen-connect-rust"] diff --git a/plugins/anthropics/connect-rust/v0.6.1/buf.plugin.yaml b/plugins/anthropics/connect-rust/v0.6.1/buf.plugin.yaml new file mode 100644 index 000000000..b3d6dac5a --- /dev/null +++ b/plugins/anthropics/connect-rust/v0.6.1/buf.plugin.yaml @@ -0,0 +1,55 @@ +version: v1 +name: buf.build/anthropics/connect-rust +plugin_version: v0.6.1 +source_url: https://github.com/anthropics/connect-rust +description: Generates ConnectRPC service traits, typed clients, and monomorphic dispatchers for Rust. Compatible with the Connect, gRPC, and gRPC-Web protocols. Passes the full ConnectRPC conformance suite. +deps: + - plugin: buf.build/anthropics/buffa:v0.7.0 +output_languages: + - rust +spdx_license_id: Apache-2.0 +license_url: https://github.com/anthropics/connect-rust/blob/v0.6.1/LICENSE +registry: + cargo: + rust_version: "1.88" + deps: + # ConnectRPC runtime: Router, Context, ConnectError, client transports. + # https://github.com/anthropics/connect-rust/blob/v0.6.1/connectrpc/Cargo.toml + - name: "connectrpc" + req: "0.6.1" + default_features: true + # Generated service stubs use buffa::Message, buffa::view::OwnedView, + # buffa::bytes::Bytes directly. Message types live in the buffa SDK + # crate (via the plugin dep above); this dep is for the runtime API. + - name: "buffa" + req: "0.6.1" + default_features: true + # Well-known types. Service stubs whose request/response types are + # WKTs (e.g. google.longrunning.Operations) reference them as + # `::buffa_types::google::protobuf::...`, mirroring buffa-codegen's + # extern_path mapping for `.google.protobuf`. Must be a direct dep + # so the `::buffa_types` path resolves in the generated crate. + - name: "buffa-types" + req: "0.6.1" + default_features: true + features: + - json + # Streaming method signatures use futures::Stream. + - name: "futures" + req: "0.3" + default_features: true + # Client transport bounds reference http_body::Body. + - name: "http-body" + req: "1" + default_features: true + # The plugin accepts `extern_path=.=` (or the shorthand + # `buffa_module=`) to tell it where the buffa-generated message + # types live. BSR should inject this based on the buffa dep's SDK crate + # name, same as tonic receives extern_path for its prost dep. Leaving + # it out here; please advise if an explicit entry is needed. + opts: + # Emit one `.rs` per proto package, mirroring the + # buffa plugin's `file_per_package=true` opt. Matches the + # prost/tonic filename convention the BSR Rust SDK lib.rs + # synthesis expects. + - file_per_package diff --git a/plugins/connectrpc/python/v0.10.1/.dockerignore b/plugins/connectrpc/python/v0.10.1/.dockerignore new file mode 100644 index 000000000..5d0f124ff --- /dev/null +++ b/plugins/connectrpc/python/v0.10.1/.dockerignore @@ -0,0 +1,2 @@ +* +!Dockerfile diff --git a/plugins/connectrpc/python/v0.10.1/Dockerfile b/plugins/connectrpc/python/v0.10.1/Dockerfile new file mode 100644 index 000000000..8c89347cb --- /dev/null +++ b/plugins/connectrpc/python/v0.10.1/Dockerfile @@ -0,0 +1,16 @@ +# syntax=docker/dockerfile:1.24 +FROM python:3.13.13-trixie@sha256:e6220f3ff717d352ea275569e0aea7a4d18e8cd681075ae195125969b0e163f4 AS build +WORKDIR /app +RUN python -mvenv /app +RUN . ./bin/activate \ + && pip install --no-cache-dir protoc-gen-connectrpc==0.10.1 \ + && pip uninstall --yes pip setuptools \ + && rm -f bin/activate.fish bin/activate.csh bin/Activate.ps1 + +FROM gcr.io/distroless/python3-debian13:latest@sha256:0e300647f5a9d51fb686e9167c97248e0419cd6e5186efc50b642748aab8d8be AS base + +FROM scratch +COPY --link --from=base / / +COPY --link --from=build --chmod=0755 /app /app +USER nobody +ENTRYPOINT [ "/app/bin/protoc-gen-connectrpc" ] diff --git a/plugins/connectrpc/python/v0.10.1/buf.plugin.yaml b/plugins/connectrpc/python/v0.10.1/buf.plugin.yaml new file mode 100644 index 000000000..b039a94c5 --- /dev/null +++ b/plugins/connectrpc/python/v0.10.1/buf.plugin.yaml @@ -0,0 +1,19 @@ +version: v1 +name: buf.build/connectrpc/python +plugin_version: v0.10.1 +source_url: https://github.com/connectrpc/connect-python +description: Generates client and server stubs for Connect Python. Compatible with the Connect RPC protocol. +spdx_license_id: Apache-2.0 +license_url: https://github.com/connectrpc/connect-python/blob/v0.10.1/LICENSE +deps: + - plugin: buf.build/protocolbuffers/python:v35.0 +output_languages: + - python +registry: + python: + package_type: "runtime" + # https://github.com/connectrpc/connect-python/blob/v0.10.1/pyproject.toml#L6 + requires_python: ">=3.10" + deps: + # https://pypi.org/project/connectrpc/ + - "connectrpc >= 0.10.1" diff --git a/tests/testdata/buf.build/anthropics/buffa/v0.7.0/eliza/plugin.sum b/tests/testdata/buf.build/anthropics/buffa/v0.7.0/eliza/plugin.sum new file mode 100644 index 000000000..44df98fc2 --- /dev/null +++ b/tests/testdata/buf.build/anthropics/buffa/v0.7.0/eliza/plugin.sum @@ -0,0 +1 @@ +h1:nYqw3AXG7/uogG9uKS7uOELDkH+a2OhXqJM4vVQmUjk= diff --git a/tests/testdata/buf.build/anthropics/buffa/v0.7.0/petapis/plugin.sum b/tests/testdata/buf.build/anthropics/buffa/v0.7.0/petapis/plugin.sum new file mode 100644 index 000000000..1019f0eac --- /dev/null +++ b/tests/testdata/buf.build/anthropics/buffa/v0.7.0/petapis/plugin.sum @@ -0,0 +1 @@ +h1:E7Z/zCtOl+G8tOxYeYh4fgceY5BoZ9hfGVlsKUKfwRI= diff --git a/tests/testdata/buf.build/anthropics/connect-rust/v0.6.1/eliza/plugin.sum b/tests/testdata/buf.build/anthropics/connect-rust/v0.6.1/eliza/plugin.sum new file mode 100644 index 000000000..98f592016 --- /dev/null +++ b/tests/testdata/buf.build/anthropics/connect-rust/v0.6.1/eliza/plugin.sum @@ -0,0 +1 @@ +h1:LZaCjOIzUjLoJ24r+UuX82XCnLzrGR5sDh1iSwO4QhE= diff --git a/tests/testdata/buf.build/anthropics/connect-rust/v0.6.1/petapis/plugin.sum b/tests/testdata/buf.build/anthropics/connect-rust/v0.6.1/petapis/plugin.sum new file mode 100644 index 000000000..5cf452696 --- /dev/null +++ b/tests/testdata/buf.build/anthropics/connect-rust/v0.6.1/petapis/plugin.sum @@ -0,0 +1 @@ +h1:JNjvu8NyDrpDHR36Re0o0AFjoJy0cfAsBv2ecKKG5Qc= diff --git a/tests/testdata/buf.build/connectrpc/python/v0.10.1/eliza/plugin.sum b/tests/testdata/buf.build/connectrpc/python/v0.10.1/eliza/plugin.sum new file mode 100644 index 000000000..db2e2b405 --- /dev/null +++ b/tests/testdata/buf.build/connectrpc/python/v0.10.1/eliza/plugin.sum @@ -0,0 +1 @@ +h1:LpJjOtyydXWEnRCyIfCXYt9bW4JTyZD9Np0ImaQfA20= diff --git a/tests/testdata/buf.build/connectrpc/python/v0.10.1/petapis/plugin.sum b/tests/testdata/buf.build/connectrpc/python/v0.10.1/petapis/plugin.sum new file mode 100644 index 000000000..5843f90b2 --- /dev/null +++ b/tests/testdata/buf.build/connectrpc/python/v0.10.1/petapis/plugin.sum @@ -0,0 +1 @@ +h1:nKVTVFmZL7Rn954sFPHBEjW1fQ3KlME6tcW3Y2r+CNg=