@runtypelabs/sdk 5.2.0 → 5.2.2

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
@@ -4138,7 +4138,8 @@ var AGENT_CONFIG_KEYS = [
4138
4138
  "artifacts",
4139
4139
  "loggingPolicy",
4140
4140
  "temporal",
4141
- "memory"
4141
+ "memory",
4142
+ "sandbox"
4142
4143
  ];
4143
4144
  var AGENT_CONFIG_KEY_LIST = [...AGENT_CONFIG_KEYS].sort();
4144
4145
  function isPlainObject3(value) {
@@ -5670,7 +5671,7 @@ var Runtype = class {
5670
5671
 
5671
5672
  // src/version.ts
5672
5673
  var FALLBACK_VERSION = "0.0.0";
5673
- var SDK_VERSION = "5.2.0".length > 0 ? "5.2.0" : FALLBACK_VERSION;
5674
+ var SDK_VERSION = "5.2.2".length > 0 ? "5.2.2" : FALLBACK_VERSION;
5674
5675
  var RUNTYPE_CLIENT_KIND = "sdk";
5675
5676
  var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
5676
5677
 
package/dist/index.d.cts CHANGED
@@ -719,6 +719,25 @@ interface paths {
719
719
  reasoningSummary?: "auto" | "detailed";
720
720
  thinkingBudget?: number;
721
721
  };
722
+ sandbox?: {
723
+ enabled: boolean;
724
+ /** @enum {string} */
725
+ instanceType?: "standard-1" | "standard-2" | "standard-3" | "standard-4";
726
+ networkAccess?: ("none" | "essentials") | {
727
+ allow?: string[];
728
+ /** @enum {string} */
729
+ profile?: "none" | "essentials";
730
+ };
731
+ /** @enum {string} */
732
+ persistence?: "ephemeral" | "conversation" | "named";
733
+ /** @enum {string} */
734
+ provider?: "runtype-sandbox" | "daytona";
735
+ requireApprovalForBash?: boolean;
736
+ /** @enum {string} */
737
+ sleepAfter?: "5m" | "15m" | "30m" | "1h";
738
+ /** @enum {string} */
739
+ ttl?: "5m" | "1h" | "24h" | "unlimited";
740
+ };
722
741
  seed?: number;
723
742
  systemPrompt?: string;
724
743
  temperature?: number;
@@ -1092,6 +1111,25 @@ interface paths {
1092
1111
  reasoningSummary?: "auto" | "detailed";
1093
1112
  thinkingBudget?: number;
1094
1113
  };
1114
+ sandbox?: {
1115
+ enabled: boolean;
1116
+ /** @enum {string} */
1117
+ instanceType?: "standard-1" | "standard-2" | "standard-3" | "standard-4";
1118
+ networkAccess?: ("none" | "essentials") | {
1119
+ allow?: string[];
1120
+ /** @enum {string} */
1121
+ profile?: "none" | "essentials";
1122
+ };
1123
+ /** @enum {string} */
1124
+ persistence?: "ephemeral" | "conversation" | "named";
1125
+ /** @enum {string} */
1126
+ provider?: "runtype-sandbox" | "daytona";
1127
+ requireApprovalForBash?: boolean;
1128
+ /** @enum {string} */
1129
+ sleepAfter?: "5m" | "15m" | "30m" | "1h";
1130
+ /** @enum {string} */
1131
+ ttl?: "5m" | "1h" | "24h" | "unlimited";
1132
+ };
1095
1133
  seed?: number;
1096
1134
  systemPrompt?: string;
1097
1135
  temperature?: number;
@@ -35677,6 +35715,25 @@ interface components {
35677
35715
  reasoningSummary?: "auto" | "detailed";
35678
35716
  thinkingBudget?: number;
35679
35717
  };
35718
+ sandbox?: {
35719
+ enabled: boolean;
35720
+ /** @enum {string} */
35721
+ instanceType?: "standard-1" | "standard-2" | "standard-3" | "standard-4";
35722
+ networkAccess?: ("none" | "essentials") | {
35723
+ allow?: string[];
35724
+ /** @enum {string} */
35725
+ profile?: "none" | "essentials";
35726
+ };
35727
+ /** @enum {string} */
35728
+ persistence?: "ephemeral" | "conversation" | "named";
35729
+ /** @enum {string} */
35730
+ provider?: "runtype-sandbox" | "daytona";
35731
+ requireApprovalForBash?: boolean;
35732
+ /** @enum {string} */
35733
+ sleepAfter?: "5m" | "15m" | "30m" | "1h";
35734
+ /** @enum {string} */
35735
+ ttl?: "5m" | "1h" | "24h" | "unlimited";
35736
+ };
35680
35737
  seed?: number;
35681
35738
  systemPrompt?: string;
35682
35739
  temperature?: number;
@@ -36202,6 +36259,10 @@ interface components {
36202
36259
  reason?: string;
36203
36260
  seq: number;
36204
36261
  startedAt?: string;
36262
+ subagent?: {
36263
+ agentName?: string;
36264
+ toolName: string;
36265
+ };
36205
36266
  timeout?: number;
36206
36267
  toolCallId?: string;
36207
36268
  toolName: string;
package/dist/index.d.ts CHANGED
@@ -719,6 +719,25 @@ interface paths {
719
719
  reasoningSummary?: "auto" | "detailed";
720
720
  thinkingBudget?: number;
721
721
  };
722
+ sandbox?: {
723
+ enabled: boolean;
724
+ /** @enum {string} */
725
+ instanceType?: "standard-1" | "standard-2" | "standard-3" | "standard-4";
726
+ networkAccess?: ("none" | "essentials") | {
727
+ allow?: string[];
728
+ /** @enum {string} */
729
+ profile?: "none" | "essentials";
730
+ };
731
+ /** @enum {string} */
732
+ persistence?: "ephemeral" | "conversation" | "named";
733
+ /** @enum {string} */
734
+ provider?: "runtype-sandbox" | "daytona";
735
+ requireApprovalForBash?: boolean;
736
+ /** @enum {string} */
737
+ sleepAfter?: "5m" | "15m" | "30m" | "1h";
738
+ /** @enum {string} */
739
+ ttl?: "5m" | "1h" | "24h" | "unlimited";
740
+ };
722
741
  seed?: number;
723
742
  systemPrompt?: string;
724
743
  temperature?: number;
@@ -1092,6 +1111,25 @@ interface paths {
1092
1111
  reasoningSummary?: "auto" | "detailed";
1093
1112
  thinkingBudget?: number;
1094
1113
  };
1114
+ sandbox?: {
1115
+ enabled: boolean;
1116
+ /** @enum {string} */
1117
+ instanceType?: "standard-1" | "standard-2" | "standard-3" | "standard-4";
1118
+ networkAccess?: ("none" | "essentials") | {
1119
+ allow?: string[];
1120
+ /** @enum {string} */
1121
+ profile?: "none" | "essentials";
1122
+ };
1123
+ /** @enum {string} */
1124
+ persistence?: "ephemeral" | "conversation" | "named";
1125
+ /** @enum {string} */
1126
+ provider?: "runtype-sandbox" | "daytona";
1127
+ requireApprovalForBash?: boolean;
1128
+ /** @enum {string} */
1129
+ sleepAfter?: "5m" | "15m" | "30m" | "1h";
1130
+ /** @enum {string} */
1131
+ ttl?: "5m" | "1h" | "24h" | "unlimited";
1132
+ };
1095
1133
  seed?: number;
1096
1134
  systemPrompt?: string;
1097
1135
  temperature?: number;
@@ -35677,6 +35715,25 @@ interface components {
35677
35715
  reasoningSummary?: "auto" | "detailed";
35678
35716
  thinkingBudget?: number;
35679
35717
  };
35718
+ sandbox?: {
35719
+ enabled: boolean;
35720
+ /** @enum {string} */
35721
+ instanceType?: "standard-1" | "standard-2" | "standard-3" | "standard-4";
35722
+ networkAccess?: ("none" | "essentials") | {
35723
+ allow?: string[];
35724
+ /** @enum {string} */
35725
+ profile?: "none" | "essentials";
35726
+ };
35727
+ /** @enum {string} */
35728
+ persistence?: "ephemeral" | "conversation" | "named";
35729
+ /** @enum {string} */
35730
+ provider?: "runtype-sandbox" | "daytona";
35731
+ requireApprovalForBash?: boolean;
35732
+ /** @enum {string} */
35733
+ sleepAfter?: "5m" | "15m" | "30m" | "1h";
35734
+ /** @enum {string} */
35735
+ ttl?: "5m" | "1h" | "24h" | "unlimited";
35736
+ };
35680
35737
  seed?: number;
35681
35738
  systemPrompt?: string;
35682
35739
  temperature?: number;
@@ -36202,6 +36259,10 @@ interface components {
36202
36259
  reason?: string;
36203
36260
  seq: number;
36204
36261
  startedAt?: string;
36262
+ subagent?: {
36263
+ agentName?: string;
36264
+ toolName: string;
36265
+ };
36205
36266
  timeout?: number;
36206
36267
  toolCallId?: string;
36207
36268
  toolName: string;
package/dist/index.mjs CHANGED
@@ -3977,7 +3977,8 @@ var AGENT_CONFIG_KEYS = [
3977
3977
  "artifacts",
3978
3978
  "loggingPolicy",
3979
3979
  "temporal",
3980
- "memory"
3980
+ "memory",
3981
+ "sandbox"
3981
3982
  ];
3982
3983
  var AGENT_CONFIG_KEY_LIST = [...AGENT_CONFIG_KEYS].sort();
3983
3984
  function isPlainObject3(value) {
@@ -5509,7 +5510,7 @@ var Runtype = class {
5509
5510
 
5510
5511
  // src/version.ts
5511
5512
  var FALLBACK_VERSION = "0.0.0";
5512
- var SDK_VERSION = "5.2.0".length > 0 ? "5.2.0" : FALLBACK_VERSION;
5513
+ var SDK_VERSION = "5.2.2".length > 0 ? "5.2.2" : FALLBACK_VERSION;
5513
5514
  var RUNTYPE_CLIENT_KIND = "sdk";
5514
5515
  var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
5515
5516
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/sdk",
3
- "version": "5.2.0",
3
+ "version": "5.2.2",
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",