@runtypelabs/sdk 11.6.0 → 11.7.1
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 +1 -1
- package/dist/index.d.cts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -14701,7 +14701,7 @@ function transformQueryParams(params) {
|
|
|
14701
14701
|
}
|
|
14702
14702
|
//#endregion
|
|
14703
14703
|
//#region src/version.ts
|
|
14704
|
-
const SDK_VERSION = "11.
|
|
14704
|
+
const SDK_VERSION = "11.7.1";
|
|
14705
14705
|
/**
|
|
14706
14706
|
* Canonical client identity the API uses for attribution
|
|
14707
14707
|
* (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the
|
package/dist/index.d.cts
CHANGED
|
@@ -21034,6 +21034,8 @@ interface paths {
|
|
|
21034
21034
|
scheduleId?: string;
|
|
21035
21035
|
/** @description Only events for this eval suite */
|
|
21036
21036
|
suiteId?: string;
|
|
21037
|
+
/** @description Only events for this simulation */
|
|
21038
|
+
simulationId?: string;
|
|
21037
21039
|
/** @description Only events for this delegated task */
|
|
21038
21040
|
taskId?: string;
|
|
21039
21041
|
/** @description Signal events only: keep occurrences for this signal key */
|
|
@@ -58023,7 +58025,7 @@ interface paths {
|
|
|
58023
58025
|
"application/json": components["schemas"]["ToolExecuteError"];
|
|
58024
58026
|
};
|
|
58025
58027
|
};
|
|
58026
|
-
/** @description A judgment the gateway cannot serve
|
|
58028
|
+
/** @description A judgment the gateway cannot serve (an unlisted model or no gateway credential), or a tool that templates `{{_identity.token}}`, which a management-API execute has no admitted end user to mint */
|
|
58027
58029
|
422: {
|
|
58028
58030
|
headers: {
|
|
58029
58031
|
[name: string]: unknown;
|
|
@@ -58131,7 +58133,7 @@ interface paths {
|
|
|
58131
58133
|
"application/json": components["schemas"]["ToolExecuteError"];
|
|
58132
58134
|
};
|
|
58133
58135
|
};
|
|
58134
|
-
/** @description A judgment the gateway cannot serve
|
|
58136
|
+
/** @description A judgment the gateway cannot serve (an unlisted model or no gateway credential), or a tool that templates `{{_identity.token}}`, which a management-API execute has no admitted end user to mint */
|
|
58135
58137
|
422: {
|
|
58136
58138
|
headers: {
|
|
58137
58139
|
[name: string]: unknown;
|
|
@@ -62432,7 +62434,7 @@ interface components {
|
|
|
62432
62434
|
[key: string]: unknown;
|
|
62433
62435
|
};
|
|
62434
62436
|
/** @enum {string} */
|
|
62435
|
-
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled" | "runtype.signal.fired" | "runtype.signal.cluster_appeared";
|
|
62437
|
+
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.simulation.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled" | "runtype.signal.fired" | "runtype.signal.cluster_appeared";
|
|
62436
62438
|
/** @description JSON Schema for the occurrence `data` */
|
|
62437
62439
|
payloadSchema: {
|
|
62438
62440
|
[key: string]: unknown;
|
|
@@ -62457,7 +62459,7 @@ interface components {
|
|
|
62457
62459
|
/** @description Occurrence id (typeid, `pev_` prefix) */
|
|
62458
62460
|
eventId: string;
|
|
62459
62461
|
/** @enum {string} */
|
|
62460
|
-
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled" | "runtype.signal.fired" | "runtype.signal.cluster_appeared";
|
|
62462
|
+
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.simulation.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled" | "runtype.signal.fired" | "runtype.signal.cluster_appeared";
|
|
62461
62463
|
/** @description When it happened (ISO 8601) */
|
|
62462
62464
|
timestamp: string;
|
|
62463
62465
|
};
|
|
@@ -76967,7 +76969,7 @@ interface ExtractionModelCatalog {
|
|
|
76967
76969
|
//#endregion
|
|
76968
76970
|
//#region src/simulation-tool-memory-types.d.ts
|
|
76969
76971
|
/** How one tool call was answered: the rung of the response ladder that served it. */
|
|
76970
|
-
type SimulationServedBy = 'live' | 'recorded' | 'transformed' | 'composite' | 'synthesized' | 'stub' | 'fault';
|
|
76972
|
+
type SimulationServedBy = 'live' | 'recorded' | 'transformed' | 'composite' | 'synthesized' | 'stub' | 'rejected' | 'fault';
|
|
76971
76973
|
/** One recorded `tools/call` of a target; `arguments` and `result` are null on a shape-only row. */
|
|
76972
76974
|
interface SimulationToolExchange {
|
|
76973
76975
|
id: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -21034,6 +21034,8 @@ interface paths {
|
|
|
21034
21034
|
scheduleId?: string;
|
|
21035
21035
|
/** @description Only events for this eval suite */
|
|
21036
21036
|
suiteId?: string;
|
|
21037
|
+
/** @description Only events for this simulation */
|
|
21038
|
+
simulationId?: string;
|
|
21037
21039
|
/** @description Only events for this delegated task */
|
|
21038
21040
|
taskId?: string;
|
|
21039
21041
|
/** @description Signal events only: keep occurrences for this signal key */
|
|
@@ -58023,7 +58025,7 @@ interface paths {
|
|
|
58023
58025
|
"application/json": components["schemas"]["ToolExecuteError"];
|
|
58024
58026
|
};
|
|
58025
58027
|
};
|
|
58026
|
-
/** @description A judgment the gateway cannot serve
|
|
58028
|
+
/** @description A judgment the gateway cannot serve (an unlisted model or no gateway credential), or a tool that templates `{{_identity.token}}`, which a management-API execute has no admitted end user to mint */
|
|
58027
58029
|
422: {
|
|
58028
58030
|
headers: {
|
|
58029
58031
|
[name: string]: unknown;
|
|
@@ -58131,7 +58133,7 @@ interface paths {
|
|
|
58131
58133
|
"application/json": components["schemas"]["ToolExecuteError"];
|
|
58132
58134
|
};
|
|
58133
58135
|
};
|
|
58134
|
-
/** @description A judgment the gateway cannot serve
|
|
58136
|
+
/** @description A judgment the gateway cannot serve (an unlisted model or no gateway credential), or a tool that templates `{{_identity.token}}`, which a management-API execute has no admitted end user to mint */
|
|
58135
58137
|
422: {
|
|
58136
58138
|
headers: {
|
|
58137
58139
|
[name: string]: unknown;
|
|
@@ -62432,7 +62434,7 @@ interface components {
|
|
|
62432
62434
|
[key: string]: unknown;
|
|
62433
62435
|
};
|
|
62434
62436
|
/** @enum {string} */
|
|
62435
|
-
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled" | "runtype.signal.fired" | "runtype.signal.cluster_appeared";
|
|
62437
|
+
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.simulation.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled" | "runtype.signal.fired" | "runtype.signal.cluster_appeared";
|
|
62436
62438
|
/** @description JSON Schema for the occurrence `data` */
|
|
62437
62439
|
payloadSchema: {
|
|
62438
62440
|
[key: string]: unknown;
|
|
@@ -62457,7 +62459,7 @@ interface components {
|
|
|
62457
62459
|
/** @description Occurrence id (typeid, `pev_` prefix) */
|
|
62458
62460
|
eventId: string;
|
|
62459
62461
|
/** @enum {string} */
|
|
62460
|
-
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled" | "runtype.signal.fired" | "runtype.signal.cluster_appeared";
|
|
62462
|
+
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.simulation.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled" | "runtype.signal.fired" | "runtype.signal.cluster_appeared";
|
|
62461
62463
|
/** @description When it happened (ISO 8601) */
|
|
62462
62464
|
timestamp: string;
|
|
62463
62465
|
};
|
|
@@ -76967,7 +76969,7 @@ interface ExtractionModelCatalog {
|
|
|
76967
76969
|
//#endregion
|
|
76968
76970
|
//#region src/simulation-tool-memory-types.d.ts
|
|
76969
76971
|
/** How one tool call was answered: the rung of the response ladder that served it. */
|
|
76970
|
-
type SimulationServedBy = 'live' | 'recorded' | 'transformed' | 'composite' | 'synthesized' | 'stub' | 'fault';
|
|
76972
|
+
type SimulationServedBy = 'live' | 'recorded' | 'transformed' | 'composite' | 'synthesized' | 'stub' | 'rejected' | 'fault';
|
|
76971
76973
|
/** One recorded `tools/call` of a target; `arguments` and `result` are null on a shape-only row. */
|
|
76972
76974
|
interface SimulationToolExchange {
|
|
76973
76975
|
id: string;
|
package/dist/index.mjs
CHANGED
|
@@ -14700,7 +14700,7 @@ function transformQueryParams(params) {
|
|
|
14700
14700
|
}
|
|
14701
14701
|
//#endregion
|
|
14702
14702
|
//#region src/version.ts
|
|
14703
|
-
const SDK_VERSION = "11.
|
|
14703
|
+
const SDK_VERSION = "11.7.1";
|
|
14704
14704
|
/**
|
|
14705
14705
|
* Canonical client identity the API uses for attribution
|
|
14706
14706
|
* (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/sdk",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.7.1",
|
|
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",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@runtypelabs/shared": "3.
|
|
27
|
+
"@runtypelabs/shared": "3.96.0",
|
|
28
28
|
"openapi-typescript": "^7.13.0",
|
|
29
29
|
"tsdown": "^0.23.0",
|
|
30
30
|
"typescript": "^6.0.3",
|