This directory contains the protocol buffer definitions used by the Durable Task Framework JavaScript SDK. The files in this directory are automatically downloaded and updated during the build process from the microsoft/durabletask-protobuf repository.
protos/- Contains the proto filesPROTO_SOURCE_COMMIT_HASH- Contains the commit hash of the proto file version
The proto files are automatically downloaded and updated when running npm run build. This is handled by the scripts/download-proto.sh script. The script:
- Downloads the latest version of
orchestrator_service.proto - Saves the current commit hash for tracking purposes
To manually update the proto files, you can run:
npm run download-proto
# or
./scripts/download-proto.sh [branch-name]