@runtypelabs/sdk 6.6.3 → 7.1.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 -4
- package/dist/index.d.cts +439 -35
- package/dist/index.d.ts +439 -35
- package/dist/index.mjs +12 -4
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -437,7 +437,10 @@ function createAgentEventTranslator() {
|
|
|
437
437
|
parameters: data.parameters,
|
|
438
438
|
awaitedAt: data.awaitedAt,
|
|
439
439
|
origin: data.origin,
|
|
440
|
-
pageOrigin: data.pageOrigin
|
|
440
|
+
pageOrigin: data.pageOrigin,
|
|
441
|
+
awaitReason: data.awaitReason,
|
|
442
|
+
elicitation: data.elicitation,
|
|
443
|
+
externalAgent: data.externalAgent
|
|
441
444
|
})
|
|
442
445
|
];
|
|
443
446
|
case "execution_complete":
|
|
@@ -6261,7 +6264,7 @@ var Runtype = class {
|
|
|
6261
6264
|
|
|
6262
6265
|
// src/version.ts
|
|
6263
6266
|
var FALLBACK_VERSION = "0.0.0";
|
|
6264
|
-
var SDK_VERSION = "
|
|
6267
|
+
var SDK_VERSION = "7.1.0".length > 0 ? "7.1.0" : FALLBACK_VERSION;
|
|
6265
6268
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
6266
6269
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
6267
6270
|
|
|
@@ -9273,8 +9276,13 @@ var EvalEndpoint = class {
|
|
|
9273
9276
|
*
|
|
9274
9277
|
* Targets are mutually exclusive — provide exactly one of `flowId`,
|
|
9275
9278
|
* `flowDefinition`, or `agentId`. The `agentId` form targets a
|
|
9276
|
-
* `claude_managed` agent; combine with per-config
|
|
9277
|
-
* to vary model / system prompt / tool
|
|
9279
|
+
* `claude_managed` agent; combine with per-config
|
|
9280
|
+
* `overrides.claudeManaged` to vary model / system prompt / tool
|
|
9281
|
+
* permissions across configs.
|
|
9282
|
+
*
|
|
9283
|
+
* Override intent goes in `overrides`. Set one channel per config: pairing
|
|
9284
|
+
* `overrides` with a legacy field it replaces is a 400, because the losing
|
|
9285
|
+
* one would still be recorded and compared.
|
|
9278
9286
|
*/
|
|
9279
9287
|
async runVirtualEval(data) {
|
|
9280
9288
|
return this.client.requestStream("/eval/stream", {
|
package/package.json
CHANGED