Proto codegen pipeline for TypeScript gRPC-Web stubs #2

Closed
opened 2026-03-12 09:55:39 +01:00 by shahondin1624 · 1 comment

Milestone: Infrastructure & Setup

Set up buf (or protoc-gen-es + @connectrpc/connect-web) to generate TypeScript client stubs from the llm-multiverse proto files. Add a generate script. Output to src/lib/proto/.

Acceptance Criteria

  • Codegen toolchain chosen and configured (buf or protoc-gen-es)
  • Proto files from llm-multiverse repo consumed (git submodule or copy)
  • TypeScript gRPC-Web client stubs generated to src/lib/proto/
  • generate npm script added to package.json
  • Generated types are importable and type-safe
## Milestone: Infrastructure & Setup Set up `buf` (or `protoc-gen-es` + `@connectrpc/connect-web`) to generate TypeScript client stubs from the `llm-multiverse` proto files. Add a `generate` script. Output to `src/lib/proto/`. ### Acceptance Criteria - [ ] Codegen toolchain chosen and configured (`buf` or `protoc-gen-es`) - [ ] Proto files from `llm-multiverse` repo consumed (git submodule or copy) - [ ] TypeScript gRPC-Web client stubs generated to `src/lib/proto/` - [ ] `generate` npm script added to package.json - [ ] Generated types are importable and type-safe
Author
Owner

Implemented and auto-merged via PR #22.

What was done:

  • Added llm-multiverse as git submodule for proto files
  • Configured buf + @bufbuild/protoc-gen-es for TypeScript Connect codegen
  • Generated typed stubs for all 8 services to src/lib/proto/
  • Added generate npm script
  • ESLint ignores generated proto files

All quality gates passed.

Implemented and auto-merged via PR #22. **What was done:** - Added llm-multiverse as git submodule for proto files - Configured buf + @bufbuild/protoc-gen-es for TypeScript Connect codegen - Generated typed stubs for all 8 services to src/lib/proto/ - Added `generate` npm script - ESLint ignores generated proto files All quality gates passed.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: llm-multiverse/llm-multiverse-ui#2