Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Outline

Types Generation

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.

Prerequisites

Ensure you have the project dependencies installed:

npm install

This project uses @bufbuild/buf which is listed in the devDependencies. Add the a2a_types.proto files to the pb directory.

Generating Code

To generate the gRPC types definitions, run the following command from this directory (src/types):

npx buf generate

This will generate the TypeScript files in the ./pb directory (as configured in buf.gen.yaml).

Morty Proxy This is a proxified and sanitized view of the page, visit original site.