cli/buf.gen.yaml
Alex Dunmow 2f065e3ed4 feat: ninja CLI in its own repo (block/cli, WO-WZ-023)
The ninja developer CLI moves out of block/core into its own module
git.dev.alexdunmow.com/block/cli. Pins block/core@v0.18.2 for abi/v1, the
plugin.mod parser, and DESCRIBE guest builds; vendors its own orchestrator
registry client (internal/api, generated from a vendored plugin_registry.proto)
since it cannot import block/core/internal. Produces byte-identical v1
artifacts (verified: art-deco codeless SHA256-identical to the pre-move build).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 22:39:32 +08:00

19 lines
557 B
YAML

version: v2
# Managed mode overrides the vendored proto's go_package so the generated Go
# lands in this module (git.dev.alexdunmow.com/block/cli/internal/api/...),
# not the CMS/orchestrator package the proto file nominally declares.
managed:
enabled: true
override:
- file_option: go_package_prefix
value: git.dev.alexdunmow.com/block/cli/internal/api
plugins:
- local: protoc-gen-go
out: internal/api
opt:
- paths=source_relative
- local: protoc-gen-connect-go
out: internal/api
opt:
- paths=source_relative