@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.cjs
CHANGED
|
@@ -625,7 +625,10 @@ function createAgentEventTranslator() {
|
|
|
625
625
|
parameters: data.parameters,
|
|
626
626
|
awaitedAt: data.awaitedAt,
|
|
627
627
|
origin: data.origin,
|
|
628
|
-
pageOrigin: data.pageOrigin
|
|
628
|
+
pageOrigin: data.pageOrigin,
|
|
629
|
+
awaitReason: data.awaitReason,
|
|
630
|
+
elicitation: data.elicitation,
|
|
631
|
+
externalAgent: data.externalAgent
|
|
629
632
|
})
|
|
630
633
|
];
|
|
631
634
|
case "execution_complete":
|
|
@@ -6449,7 +6452,7 @@ var Runtype = class {
|
|
|
6449
6452
|
|
|
6450
6453
|
// src/version.ts
|
|
6451
6454
|
var FALLBACK_VERSION = "0.0.0";
|
|
6452
|
-
var SDK_VERSION = "
|
|
6455
|
+
var SDK_VERSION = "7.1.0".length > 0 ? "7.1.0" : FALLBACK_VERSION;
|
|
6453
6456
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
6454
6457
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
6455
6458
|
|
|
@@ -9461,8 +9464,13 @@ var EvalEndpoint = class {
|
|
|
9461
9464
|
*
|
|
9462
9465
|
* Targets are mutually exclusive — provide exactly one of `flowId`,
|
|
9463
9466
|
* `flowDefinition`, or `agentId`. The `agentId` form targets a
|
|
9464
|
-
* `claude_managed` agent; combine with per-config
|
|
9465
|
-
* to vary model / system prompt / tool
|
|
9467
|
+
* `claude_managed` agent; combine with per-config
|
|
9468
|
+
* `overrides.claudeManaged` to vary model / system prompt / tool
|
|
9469
|
+
* permissions across configs.
|
|
9470
|
+
*
|
|
9471
|
+
* Override intent goes in `overrides`. Set one channel per config: pairing
|
|
9472
|
+
* `overrides` with a legacy field it replaces is a 400, because the losing
|
|
9473
|
+
* one would still be recorded and compared.
|
|
9466
9474
|
*/
|
|
9467
9475
|
async runVirtualEval(data) {
|
|
9468
9476
|
return this.client.requestStream("/eval/stream", {
|