@runtypelabs/sdk 10.13.6 → 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 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.6";
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;
@@ -48685,8 +48689,14 @@ interface paths {
48685
48689
  requestBody: {
48686
48690
  content: {
48687
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;
48688
48694
  /** @enum {string} */
48689
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
+ };
48690
48700
  planningPath?: string;
48691
48701
  pullRequest: number;
48692
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;
@@ -48685,8 +48689,14 @@ interface paths {
48685
48689
  requestBody: {
48686
48690
  content: {
48687
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;
48688
48694
  /** @enum {string} */
48689
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
+ };
48690
48700
  planningPath?: string;
48691
48701
  pullRequest: number;
48692
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.6";
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.6",
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.77.0",
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": "eslint ."
72
+ "lint": "oxlint ."
73
73
  }
74
74
  }