From 9ca6e2a2f4a3c932b09b2a8688c2dc0ad30a81ca Mon Sep 17 00:00:00 2001 From: "app-token-plugins[bot]" Date: Mon, 20 Jul 2026 16:36:09 +0000 Subject: [PATCH 1/2] detected new plugin versions --- plugins/anthropics/buffa/v0.9.0/.dockerignore | 2 + plugins/anthropics/buffa/v0.9.0/Dockerfile | 15 +++++ .../anthropics/buffa/v0.9.0/buf.plugin.yaml | 55 +++++++++++++++++++ .../anthropics/buffa/v0.9.0/eliza/plugin.sum | 1 + .../buffa/v0.9.0/petapis/plugin.sum | 1 + 5 files changed, 74 insertions(+) create mode 100644 plugins/anthropics/buffa/v0.9.0/.dockerignore create mode 100644 plugins/anthropics/buffa/v0.9.0/Dockerfile create mode 100644 plugins/anthropics/buffa/v0.9.0/buf.plugin.yaml create mode 100644 tests/testdata/buf.build/anthropics/buffa/v0.9.0/eliza/plugin.sum create mode 100644 tests/testdata/buf.build/anthropics/buffa/v0.9.0/petapis/plugin.sum diff --git a/plugins/anthropics/buffa/v0.9.0/.dockerignore b/plugins/anthropics/buffa/v0.9.0/.dockerignore new file mode 100644 index 000000000..5d0f124ff --- /dev/null +++ b/plugins/anthropics/buffa/v0.9.0/.dockerignore @@ -0,0 +1,2 @@ +* +!Dockerfile diff --git a/plugins/anthropics/buffa/v0.9.0/Dockerfile b/plugins/anthropics/buffa/v0.9.0/Dockerfile new file mode 100644 index 000000000..ce290c2be --- /dev/null +++ b/plugins/anthropics/buffa/v0.9.0/Dockerfile @@ -0,0 +1,15 @@ +# syntax=docker/dockerfile:1.24 +FROM rust:1.97.0-alpine3.24@sha256:ec9c91e77119ce498cd1e87d96d77e0f75b2cee21655a29bc2bf75a51a2b20a4 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.9.0 --locked --root /app + +FROM gcr.io/distroless/static-debian13:latest@sha256:9197324ba51d9cd071af8505989365c006adf9d6d2067eada25aef00abbb5278 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.9.0/buf.plugin.yaml b/plugins/anthropics/buffa/v0.9.0/buf.plugin.yaml new file mode 100644 index 000000000..a613a9765 --- /dev/null +++ b/plugins/anthropics/buffa/v0.9.0/buf.plugin.yaml @@ -0,0 +1,55 @@ +version: v1 +name: buf.build/anthropics/buffa +plugin_version: v0.9.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.9.0/LICENSE +registry: + cargo: + rust_version: "1.75" # https://github.com/anthropics/buffa/blob/v0.9.0/Cargo.toml#L35 + deps: + # Runtime: wire format, Message trait, view types, JSON helpers. + # https://github.com/anthropics/buffa/blob/v0.9.0/buffa/Cargo.toml + - name: "buffa" + req: "0.9.0" + default_features: true + features: + - json + - text + # 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.9.0" + default_features: true + features: + - json + - name: "buffa-descriptor" + req: "0.9.0" + default_features: true + features: + - json + - views + - text + # 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 + # Enable textproto encoding/decoding. + - text=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/tests/testdata/buf.build/anthropics/buffa/v0.9.0/eliza/plugin.sum b/tests/testdata/buf.build/anthropics/buffa/v0.9.0/eliza/plugin.sum new file mode 100644 index 000000000..335125891 --- /dev/null +++ b/tests/testdata/buf.build/anthropics/buffa/v0.9.0/eliza/plugin.sum @@ -0,0 +1 @@ +h1:w+NmsMSPRcDVXAC38wUk70RAkZ6Yc/qXEfIUN24OAjo= diff --git a/tests/testdata/buf.build/anthropics/buffa/v0.9.0/petapis/plugin.sum b/tests/testdata/buf.build/anthropics/buffa/v0.9.0/petapis/plugin.sum new file mode 100644 index 000000000..97c3e8e1c --- /dev/null +++ b/tests/testdata/buf.build/anthropics/buffa/v0.9.0/petapis/plugin.sum @@ -0,0 +1 @@ +h1:NvrTZcKOzdnFB/p0qWGkb86NlTPHPuvgnFkVS3/3y2A= From 29df3a9bd88d853d10b634d2e3d90208b44d4a7b Mon Sep 17 00:00:00 2001 From: "Philip K. Warren" Date: Mon, 20 Jul 2026 12:31:59 -0500 Subject: [PATCH 2/2] Update plugins/anthropics/buffa/v0.9.0/buf.plugin.yaml --- plugins/anthropics/buffa/v0.9.0/buf.plugin.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/anthropics/buffa/v0.9.0/buf.plugin.yaml b/plugins/anthropics/buffa/v0.9.0/buf.plugin.yaml index a613a9765..50dc4b974 100644 --- a/plugins/anthropics/buffa/v0.9.0/buf.plugin.yaml +++ b/plugins/anthropics/buffa/v0.9.0/buf.plugin.yaml @@ -9,7 +9,7 @@ spdx_license_id: Apache-2.0 license_url: https://github.com/anthropics/buffa/blob/v0.9.0/LICENSE registry: cargo: - rust_version: "1.75" # https://github.com/anthropics/buffa/blob/v0.9.0/Cargo.toml#L35 + rust_version: "1.75" # https://github.com/anthropics/buffa/blob/v0.9.0/Cargo.toml#L36 deps: # Runtime: wire format, Message trait, view types, JSON helpers. # https://github.com/anthropics/buffa/blob/v0.9.0/buffa/Cargo.toml