@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 +12 -0
- package/dist/index.d.cts +1492 -1480
- package/dist/index.d.ts +1492 -1480
- package/dist/index.mjs +12 -0
- package/package.json +1 -1
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