@runtypelabs/sdk 1.21.3 → 1.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -3526,6 +3526,12 @@ var FlowsEndpoint = class {
3526
3526
  async delete(id) {
3527
3527
  return this.client.delete(`/flows/${id}`);
3528
3528
  }
3529
+ /**
3530
+ * Export a flow as a self-contained runtime definition for @runtypelabs/runtime
3531
+ */
3532
+ async exportRuntime(id) {
3533
+ return this.client.get(`/flows/${id}/export-runtime`);
3534
+ }
3529
3535
  /**
3530
3536
  * Run a flow on all records of a specific type
3531
3537
  */
@@ -4507,6 +4513,12 @@ var _AgentsEndpoint = class _AgentsEndpoint {
4507
4513
  async delete(id) {
4508
4514
  return this.client.delete(`/agents/${id}`);
4509
4515
  }
4516
+ /**
4517
+ * Export an agent as a self-contained runtime definition for @runtypelabs/runtime
4518
+ */
4519
+ async exportRuntime(id) {
4520
+ return this.client.get(`/agents/${id}/export-runtime`);
4521
+ }
4510
4522
  /**
4511
4523
  * Evaluate a model-proposed runtime tool against a configurable allowlist policy.
4512
4524
  * Useful for local `propose_runtime_tool` handlers before follow-up execution.