cli/buf.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

18 lines
523 B
YAML

version: v2
# Minimal buf module for the ninja CLI. We vendor a single proto —
# orchestrator/v1/plugin_registry.proto — because the CLI only needs the
# plugin registry/publish/auth/scope client to talk to the orchestrator. The
# rest of orchestrator/v1 is generated by the orchestrator and CMS from their
# own copies; the CLI never registers those descriptors.
modules:
- path: proto
lint:
use:
- STANDARD
except:
- PACKAGE_SAME_GO_PACKAGE
- RPC_REQUEST_RESPONSE_UNIQUE
breaking:
use:
- FILE