This directory contains the configuration for generating types definitions for the A2A SDK from the proto file. The generation process uses Buf and ts-proto.
Ensure you have the project dependencies installed:
npm installThis project uses @bufbuild/buf which is listed in the devDependencies.
Add the a2a_types.proto files to the pb directory.
To generate the gRPC types definitions, run the following command from this directory (src/types):
npx buf generateThis will generate the TypeScript files in the ./pb directory (as configured in buf.gen.yaml).