@runtypelabs/sdk 9.14.0 → 9.16.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 +8 -1
- package/dist/index.d.cts +477 -3
- package/dist/index.d.ts +477 -3
- package/dist/index.mjs +8 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -6178,6 +6178,13 @@ var _AgentsEndpoint = class _AgentsEndpoint {
|
|
|
6178
6178
|
async exportRuntime(id) {
|
|
6179
6179
|
return this.client.get(`/agents/${id}/export-runtime`);
|
|
6180
6180
|
}
|
|
6181
|
+
/**
|
|
6182
|
+
* Roll up the agent's most recent runs: per-version and per-tool counts,
|
|
6183
|
+
* average tokens and cost, and which attached tools were never called.
|
|
6184
|
+
*/
|
|
6185
|
+
async runInsights(id, params) {
|
|
6186
|
+
return this.client.get(`/agents/${id}/run-insights`, params);
|
|
6187
|
+
}
|
|
6181
6188
|
/**
|
|
6182
6189
|
* Evaluate a model-proposed runtime tool against a configurable allowlist policy.
|
|
6183
6190
|
* Useful for local `propose_runtime_tool` handlers before follow-up execution.
|
|
@@ -14089,7 +14096,7 @@ function transformQueryParams(params) {
|
|
|
14089
14096
|
|
|
14090
14097
|
// src/version.ts
|
|
14091
14098
|
var FALLBACK_VERSION = "0.0.0";
|
|
14092
|
-
var SDK_VERSION = "9.
|
|
14099
|
+
var SDK_VERSION = "9.16.0".length > 0 ? "9.16.0" : FALLBACK_VERSION;
|
|
14093
14100
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
14094
14101
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
14095
14102
|
|