Use the SDK in the monorepo instead.
This repository contains the Protobuf definitions of the API the Kurtosis engine accepts, as well as libraries in multiple languages for interacting with the API.
Found here.
Typescript
yarn install kurtosis-sdk
Golang
go get github.com/kurtosis-tech/kurtosis-sdk/api/golang