@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.mjs CHANGED
@@ -3454,6 +3454,12 @@ var FlowsEndpoint = class {
3454
3454
  async delete(id) {
3455
3455
  return this.client.delete(`/flows/${id}`);
3456
3456
  }
3457
+ /**
3458
+ * Export a flow as a self-contained runtime definition for @runtypelabs/runtime
3459
+ */
3460
+ async exportRuntime(id) {
3461
+ return this.client.get(`/flows/${id}/export-runtime`);
3462
+ }
3457
3463
  /**
3458
3464
  * Run a flow on all records of a specific type
3459
3465
  */
@@ -4435,6 +4441,12 @@ var _AgentsEndpoint = class _AgentsEndpoint {
4435
4441
  async delete(id) {
4436
4442
  return this.client.delete(`/agents/${id}`);
4437
4443
  }
4444
+ /**
4445
+ * Export an agent as a self-contained runtime definition for @runtypelabs/runtime
4446
+ */
4447
+ async exportRuntime(id) {
4448
+ return this.client.get(`/agents/${id}/export-runtime`);
4449
+ }
4438
4450
  /**
4439
4451
  * Evaluate a model-proposed runtime tool against a configurable allowlist policy.
4440
4452
  * Useful for local `propose_runtime_tool` handlers before follow-up execution.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/sdk",
3
- "version": "1.21.3",
3
+ "version": "1.23.0",
4
4
  "type": "module",
5
5
  "description": "TypeScript SDK for the Runtype API with fluent methods. Use it to quickly realize AI products, agents, and workflows.",
6
6
  "main": "dist/index.cjs",