@runtypelabs/sdk 5.2.2 → 5.2.3

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
@@ -5671,7 +5671,7 @@ var Runtype = class {
5671
5671
 
5672
5672
  // src/version.ts
5673
5673
  var FALLBACK_VERSION = "0.0.0";
5674
- var SDK_VERSION = "5.2.2".length > 0 ? "5.2.2" : FALLBACK_VERSION;
5674
+ var SDK_VERSION = "5.2.3".length > 0 ? "5.2.3" : FALLBACK_VERSION;
5675
5675
  var RUNTYPE_CLIENT_KIND = "sdk";
5676
5676
  var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
5677
5677
 
package/dist/index.d.cts CHANGED
@@ -723,10 +723,10 @@ interface paths {
723
723
  enabled: boolean;
724
724
  /** @enum {string} */
725
725
  instanceType?: "standard-1" | "standard-2" | "standard-3" | "standard-4";
726
- networkAccess?: ("none" | "essentials") | {
726
+ networkAccess?: ("none" | "essentials" | "open") | {
727
727
  allow?: string[];
728
728
  /** @enum {string} */
729
- profile?: "none" | "essentials";
729
+ profile?: "none" | "essentials" | "open";
730
730
  };
731
731
  /** @enum {string} */
732
732
  persistence?: "ephemeral" | "conversation" | "named";
@@ -1115,10 +1115,10 @@ interface paths {
1115
1115
  enabled: boolean;
1116
1116
  /** @enum {string} */
1117
1117
  instanceType?: "standard-1" | "standard-2" | "standard-3" | "standard-4";
1118
- networkAccess?: ("none" | "essentials") | {
1118
+ networkAccess?: ("none" | "essentials" | "open") | {
1119
1119
  allow?: string[];
1120
1120
  /** @enum {string} */
1121
- profile?: "none" | "essentials";
1121
+ profile?: "none" | "essentials" | "open";
1122
1122
  };
1123
1123
  /** @enum {string} */
1124
1124
  persistence?: "ephemeral" | "conversation" | "named";
@@ -1775,6 +1775,25 @@ interface paths {
1775
1775
  reasoningSummary?: "auto" | "detailed";
1776
1776
  thinkingBudget?: number;
1777
1777
  };
1778
+ sandbox?: {
1779
+ enabled: boolean;
1780
+ /** @enum {string} */
1781
+ instanceType?: "standard-1" | "standard-2" | "standard-3" | "standard-4";
1782
+ networkAccess?: ("none" | "essentials" | "open") | {
1783
+ allow?: string[];
1784
+ /** @enum {string} */
1785
+ profile?: "none" | "essentials" | "open";
1786
+ };
1787
+ /** @enum {string} */
1788
+ persistence?: "ephemeral" | "conversation" | "named";
1789
+ /** @enum {string} */
1790
+ provider?: "runtype-sandbox" | "daytona";
1791
+ requireApprovalForBash?: boolean;
1792
+ /** @enum {string} */
1793
+ sleepAfter?: "5m" | "15m" | "30m" | "1h";
1794
+ /** @enum {string} */
1795
+ ttl?: "5m" | "1h" | "24h" | "unlimited";
1796
+ };
1778
1797
  seed?: number;
1779
1798
  systemPrompt?: string;
1780
1799
  temperature?: number;
@@ -35719,10 +35738,10 @@ interface components {
35719
35738
  enabled: boolean;
35720
35739
  /** @enum {string} */
35721
35740
  instanceType?: "standard-1" | "standard-2" | "standard-3" | "standard-4";
35722
- networkAccess?: ("none" | "essentials") | {
35741
+ networkAccess?: ("none" | "essentials" | "open") | {
35723
35742
  allow?: string[];
35724
35743
  /** @enum {string} */
35725
- profile?: "none" | "essentials";
35744
+ profile?: "none" | "essentials" | "open";
35726
35745
  };
35727
35746
  /** @enum {string} */
35728
35747
  persistence?: "ephemeral" | "conversation" | "named";
package/dist/index.d.ts CHANGED
@@ -723,10 +723,10 @@ interface paths {
723
723
  enabled: boolean;
724
724
  /** @enum {string} */
725
725
  instanceType?: "standard-1" | "standard-2" | "standard-3" | "standard-4";
726
- networkAccess?: ("none" | "essentials") | {
726
+ networkAccess?: ("none" | "essentials" | "open") | {
727
727
  allow?: string[];
728
728
  /** @enum {string} */
729
- profile?: "none" | "essentials";
729
+ profile?: "none" | "essentials" | "open";
730
730
  };
731
731
  /** @enum {string} */
732
732
  persistence?: "ephemeral" | "conversation" | "named";
@@ -1115,10 +1115,10 @@ interface paths {
1115
1115
  enabled: boolean;
1116
1116
  /** @enum {string} */
1117
1117
  instanceType?: "standard-1" | "standard-2" | "standard-3" | "standard-4";
1118
- networkAccess?: ("none" | "essentials") | {
1118
+ networkAccess?: ("none" | "essentials" | "open") | {
1119
1119
  allow?: string[];
1120
1120
  /** @enum {string} */
1121
- profile?: "none" | "essentials";
1121
+ profile?: "none" | "essentials" | "open";
1122
1122
  };
1123
1123
  /** @enum {string} */
1124
1124
  persistence?: "ephemeral" | "conversation" | "named";
@@ -1775,6 +1775,25 @@ interface paths {
1775
1775
  reasoningSummary?: "auto" | "detailed";
1776
1776
  thinkingBudget?: number;
1777
1777
  };
1778
+ sandbox?: {
1779
+ enabled: boolean;
1780
+ /** @enum {string} */
1781
+ instanceType?: "standard-1" | "standard-2" | "standard-3" | "standard-4";
1782
+ networkAccess?: ("none" | "essentials" | "open") | {
1783
+ allow?: string[];
1784
+ /** @enum {string} */
1785
+ profile?: "none" | "essentials" | "open";
1786
+ };
1787
+ /** @enum {string} */
1788
+ persistence?: "ephemeral" | "conversation" | "named";
1789
+ /** @enum {string} */
1790
+ provider?: "runtype-sandbox" | "daytona";
1791
+ requireApprovalForBash?: boolean;
1792
+ /** @enum {string} */
1793
+ sleepAfter?: "5m" | "15m" | "30m" | "1h";
1794
+ /** @enum {string} */
1795
+ ttl?: "5m" | "1h" | "24h" | "unlimited";
1796
+ };
1778
1797
  seed?: number;
1779
1798
  systemPrompt?: string;
1780
1799
  temperature?: number;
@@ -35719,10 +35738,10 @@ interface components {
35719
35738
  enabled: boolean;
35720
35739
  /** @enum {string} */
35721
35740
  instanceType?: "standard-1" | "standard-2" | "standard-3" | "standard-4";
35722
- networkAccess?: ("none" | "essentials") | {
35741
+ networkAccess?: ("none" | "essentials" | "open") | {
35723
35742
  allow?: string[];
35724
35743
  /** @enum {string} */
35725
- profile?: "none" | "essentials";
35744
+ profile?: "none" | "essentials" | "open";
35726
35745
  };
35727
35746
  /** @enum {string} */
35728
35747
  persistence?: "ephemeral" | "conversation" | "named";
package/dist/index.mjs CHANGED
@@ -5510,7 +5510,7 @@ var Runtype = class {
5510
5510
 
5511
5511
  // src/version.ts
5512
5512
  var FALLBACK_VERSION = "0.0.0";
5513
- var SDK_VERSION = "5.2.2".length > 0 ? "5.2.2" : FALLBACK_VERSION;
5513
+ var SDK_VERSION = "5.2.3".length > 0 ? "5.2.3" : FALLBACK_VERSION;
5514
5514
  var RUNTYPE_CLIENT_KIND = "sdk";
5515
5515
  var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
5516
5516
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/sdk",
3
- "version": "5.2.2",
3
+ "version": "5.2.3",
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",
@@ -26,7 +26,7 @@
26
26
  "devDependencies": {
27
27
  "openapi-typescript": "^7.13.0",
28
28
  "tsup": "^8.0.2",
29
- "typescript": "^5.3.3",
29
+ "typescript": "^6.0.3",
30
30
  "vitest": "^4.1.0"
31
31
  },
32
32
  "keywords": [
@@ -62,7 +62,7 @@
62
62
  "scripts": {
63
63
  "build": "tsup",
64
64
  "dev": "tsup --watch",
65
- "typecheck": "tsc --noEmit",
65
+ "typecheck": "tsgo --noEmit",
66
66
  "clean": "rm -rf dist",
67
67
  "test": "vitest run",
68
68
  "test:watch": "vitest watch",