@runtypelabs/sdk 10.13.5 → 10.13.7
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 +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -14445,7 +14445,7 @@ function transformQueryParams(params) {
|
|
|
14445
14445
|
}
|
|
14446
14446
|
//#endregion
|
|
14447
14447
|
//#region src/version.ts
|
|
14448
|
-
const SDK_VERSION = "10.13.
|
|
14448
|
+
const SDK_VERSION = "10.13.7";
|
|
14449
14449
|
/**
|
|
14450
14450
|
* Canonical client identity the API uses for attribution
|
|
14451
14451
|
* (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the
|
package/dist/index.d.cts
CHANGED
|
@@ -1291,6 +1291,8 @@ interface paths {
|
|
|
1291
1291
|
endpoint: string;
|
|
1292
1292
|
/** @enum {string} */
|
|
1293
1293
|
framework?: "langchain" | "vercel_ai" | "crewai" | "cloudflare" | "autogen" | "flue" | "mastra" | "custom";
|
|
1294
|
+
/** @description Send a short-lived, Runtype-signed identity assertion (ES256 JWT, `aud` = endpoint host) in the `X-Runtype-Identity` header. Requires a tenancy strategy and a resolved tenant or end user; a call without one is refused before it reaches the agent. */
|
|
1295
|
+
identityAssertion?: boolean;
|
|
1294
1296
|
/** @enum {string} */
|
|
1295
1297
|
protocol?: "a2a" | "runtype-stream";
|
|
1296
1298
|
retryCount?: number;
|
|
@@ -2650,6 +2652,8 @@ interface paths {
|
|
|
2650
2652
|
endpoint?: string;
|
|
2651
2653
|
/** @enum {string|null} */
|
|
2652
2654
|
framework?: "langchain" | "vercel_ai" | "crewai" | "cloudflare" | "autogen" | "flue" | "mastra" | "custom" | null;
|
|
2655
|
+
/** @description Send a short-lived, Runtype-signed identity assertion (ES256 JWT, `aud` = endpoint host) in the `X-Runtype-Identity` header. Requires a tenancy strategy and a resolved tenant or end user; a call without one is refused before it reaches the agent. */
|
|
2656
|
+
identityAssertion?: boolean | null;
|
|
2653
2657
|
/** @enum {string|null} */
|
|
2654
2658
|
protocol?: "a2a" | "runtype-stream" | null;
|
|
2655
2659
|
retryCount?: number | null;
|
|
@@ -5108,7 +5112,7 @@ interface paths {
|
|
|
5108
5112
|
};
|
|
5109
5113
|
/**
|
|
5110
5114
|
* List tool calls
|
|
5111
|
-
* @description List tool calls for a single agent execution. Returns a compact payload without input/output JSON — use the detail endpoint for full payloads.
|
|
5115
|
+
* @description List tool calls for a single agent execution. Returns a compact payload without input/output JSON — use the detail endpoint for full payloads. `executionId` is the execution row id (`aex_…`) or the run id the stream reports (`exec_…`). A call paused at an approval gate is `awaiting_approval` until decided, then carries the outcome; a declined call is `denied`, not `failed`.
|
|
5112
5116
|
*/
|
|
5113
5117
|
get: {
|
|
5114
5118
|
parameters: {
|
|
@@ -5116,6 +5120,7 @@ interface paths {
|
|
|
5116
5120
|
header?: never;
|
|
5117
5121
|
path: {
|
|
5118
5122
|
id: string;
|
|
5123
|
+
/** @description The execution row id (`aex_…`) or the run id the stream reports (`exec_…`). */
|
|
5119
5124
|
executionId: string;
|
|
5120
5125
|
};
|
|
5121
5126
|
cookie?: never;
|
|
@@ -5146,6 +5151,7 @@ interface paths {
|
|
|
5146
5151
|
outputTruncated: boolean;
|
|
5147
5152
|
/** @description ISO timestamp the tool call started. Same instant as createdAt: the row is inserted when the tool starts, then updated in place with its result. */
|
|
5148
5153
|
startedAt: string;
|
|
5154
|
+
/** @description 'pending' | 'success' | 'failed' | 'waiting_for_local' | 'awaiting_approval' (paused at an approval gate, undecided) | 'denied' (the approver declined; the tool never ran). */
|
|
5149
5155
|
status: string;
|
|
5150
5156
|
/** @description The model's own tool-call id (tool_executions.external_tool_call_id), matching the toolCallId a log row carries. Null for a run whose tool rows were written by this API rather than ingested from an external trace. */
|
|
5151
5157
|
toolCallId: string | null;
|
|
@@ -48683,8 +48689,14 @@ interface paths {
|
|
|
48683
48689
|
requestBody: {
|
|
48684
48690
|
content: {
|
|
48685
48691
|
"application/json": {
|
|
48692
|
+
/** @description Reuse a previous delivery ID (`X-GitHub-Delivery`), so the ingress can show it handles a repeat once. */
|
|
48693
|
+
deliveryId?: string;
|
|
48686
48694
|
/** @enum {string} */
|
|
48687
48695
|
fixture: "github.pull_request.opened" | "github.pull_request.merged_plan";
|
|
48696
|
+
/** @description Send and sign this payload instead of the fixture built from the pull request (an edited fixture). */
|
|
48697
|
+
payload?: {
|
|
48698
|
+
[key: string]: unknown;
|
|
48699
|
+
};
|
|
48688
48700
|
planningPath?: string;
|
|
48689
48701
|
pullRequest: number;
|
|
48690
48702
|
repeat?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -1291,6 +1291,8 @@ interface paths {
|
|
|
1291
1291
|
endpoint: string;
|
|
1292
1292
|
/** @enum {string} */
|
|
1293
1293
|
framework?: "langchain" | "vercel_ai" | "crewai" | "cloudflare" | "autogen" | "flue" | "mastra" | "custom";
|
|
1294
|
+
/** @description Send a short-lived, Runtype-signed identity assertion (ES256 JWT, `aud` = endpoint host) in the `X-Runtype-Identity` header. Requires a tenancy strategy and a resolved tenant or end user; a call without one is refused before it reaches the agent. */
|
|
1295
|
+
identityAssertion?: boolean;
|
|
1294
1296
|
/** @enum {string} */
|
|
1295
1297
|
protocol?: "a2a" | "runtype-stream";
|
|
1296
1298
|
retryCount?: number;
|
|
@@ -2650,6 +2652,8 @@ interface paths {
|
|
|
2650
2652
|
endpoint?: string;
|
|
2651
2653
|
/** @enum {string|null} */
|
|
2652
2654
|
framework?: "langchain" | "vercel_ai" | "crewai" | "cloudflare" | "autogen" | "flue" | "mastra" | "custom" | null;
|
|
2655
|
+
/** @description Send a short-lived, Runtype-signed identity assertion (ES256 JWT, `aud` = endpoint host) in the `X-Runtype-Identity` header. Requires a tenancy strategy and a resolved tenant or end user; a call without one is refused before it reaches the agent. */
|
|
2656
|
+
identityAssertion?: boolean | null;
|
|
2653
2657
|
/** @enum {string|null} */
|
|
2654
2658
|
protocol?: "a2a" | "runtype-stream" | null;
|
|
2655
2659
|
retryCount?: number | null;
|
|
@@ -5108,7 +5112,7 @@ interface paths {
|
|
|
5108
5112
|
};
|
|
5109
5113
|
/**
|
|
5110
5114
|
* List tool calls
|
|
5111
|
-
* @description List tool calls for a single agent execution. Returns a compact payload without input/output JSON — use the detail endpoint for full payloads.
|
|
5115
|
+
* @description List tool calls for a single agent execution. Returns a compact payload without input/output JSON — use the detail endpoint for full payloads. `executionId` is the execution row id (`aex_…`) or the run id the stream reports (`exec_…`). A call paused at an approval gate is `awaiting_approval` until decided, then carries the outcome; a declined call is `denied`, not `failed`.
|
|
5112
5116
|
*/
|
|
5113
5117
|
get: {
|
|
5114
5118
|
parameters: {
|
|
@@ -5116,6 +5120,7 @@ interface paths {
|
|
|
5116
5120
|
header?: never;
|
|
5117
5121
|
path: {
|
|
5118
5122
|
id: string;
|
|
5123
|
+
/** @description The execution row id (`aex_…`) or the run id the stream reports (`exec_…`). */
|
|
5119
5124
|
executionId: string;
|
|
5120
5125
|
};
|
|
5121
5126
|
cookie?: never;
|
|
@@ -5146,6 +5151,7 @@ interface paths {
|
|
|
5146
5151
|
outputTruncated: boolean;
|
|
5147
5152
|
/** @description ISO timestamp the tool call started. Same instant as createdAt: the row is inserted when the tool starts, then updated in place with its result. */
|
|
5148
5153
|
startedAt: string;
|
|
5154
|
+
/** @description 'pending' | 'success' | 'failed' | 'waiting_for_local' | 'awaiting_approval' (paused at an approval gate, undecided) | 'denied' (the approver declined; the tool never ran). */
|
|
5149
5155
|
status: string;
|
|
5150
5156
|
/** @description The model's own tool-call id (tool_executions.external_tool_call_id), matching the toolCallId a log row carries. Null for a run whose tool rows were written by this API rather than ingested from an external trace. */
|
|
5151
5157
|
toolCallId: string | null;
|
|
@@ -48683,8 +48689,14 @@ interface paths {
|
|
|
48683
48689
|
requestBody: {
|
|
48684
48690
|
content: {
|
|
48685
48691
|
"application/json": {
|
|
48692
|
+
/** @description Reuse a previous delivery ID (`X-GitHub-Delivery`), so the ingress can show it handles a repeat once. */
|
|
48693
|
+
deliveryId?: string;
|
|
48686
48694
|
/** @enum {string} */
|
|
48687
48695
|
fixture: "github.pull_request.opened" | "github.pull_request.merged_plan";
|
|
48696
|
+
/** @description Send and sign this payload instead of the fixture built from the pull request (an edited fixture). */
|
|
48697
|
+
payload?: {
|
|
48698
|
+
[key: string]: unknown;
|
|
48699
|
+
};
|
|
48688
48700
|
planningPath?: string;
|
|
48689
48701
|
pullRequest: number;
|
|
48690
48702
|
repeat?: number;
|
package/dist/index.mjs
CHANGED
|
@@ -14444,7 +14444,7 @@ function transformQueryParams(params) {
|
|
|
14444
14444
|
}
|
|
14445
14445
|
//#endregion
|
|
14446
14446
|
//#region src/version.ts
|
|
14447
|
-
const SDK_VERSION = "10.13.
|
|
14447
|
+
const SDK_VERSION = "10.13.7";
|
|
14448
14448
|
/**
|
|
14449
14449
|
* Canonical client identity the API uses for attribution
|
|
14450
14450
|
* (`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": "10.13.
|
|
3
|
+
"version": "10.13.7",
|
|
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.77.2",
|
|
28
28
|
"openapi-typescript": "^7.13.0",
|
|
29
29
|
"tsdown": "^0.23.0",
|
|
30
30
|
"typescript": "^6.0.3",
|
|
@@ -69,6 +69,6 @@
|
|
|
69
69
|
"test:watch": "vitest watch",
|
|
70
70
|
"generate:types": "openapi-typescript ../../apps/api/openapi/public/v1/openapi.json -o src/generated/openapi-types.ts",
|
|
71
71
|
"generate:types:check": "pnpm run generate:types && git diff --exit-code src/generated/openapi-types.ts",
|
|
72
|
-
"lint": "
|
|
72
|
+
"lint": "oxlint ."
|
|
73
73
|
}
|
|
74
74
|
}
|