Rust client
trigora-client talks to Trigora. It does not embed TCC Engine and it does not compile Programs.
A token selects Trigora Cloud (TRIGORA_API_BASE_URL or https://api.trigora.dev). Otherwise the client uses TRIGORA_RUNTIME_URL or http://127.0.0.1:3477.
let run = client.executions().start("approval", input)?;run.send("approved", payload)?;let value = run.result()?;start posts { programId, input }. input is the ordered argument vector. See Programs.
result() polls until completed, failed, or cancelled. Failure returns the execution error.
Other methods: whoami, projects().list, projects().create, deploy, programs().list, programs().get, programs().versions, executions().list, and on a handle send, cancel, and result. programs().list, programs().versions, and executions().list take Option<Page>.
Deploy from application code uploads an already built artifact. Day to day, use trigora deploy, which compiles and then uploads.
See Rust client.