@meetkai/mka1 0.55.22 → 0.55.24

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.
Files changed (152) hide show
  1. package/bin/mcp-server.js +275 -83
  2. package/bin/mcp-server.js.map +24 -20
  3. package/dist/commonjs/funcs/llmModelsCheckCatalogHealth.d.ts +1 -1
  4. package/dist/commonjs/funcs/llmModelsCheckCatalogHealth.js +1 -1
  5. package/dist/commonjs/lib/config.d.ts +2 -2
  6. package/dist/commonjs/lib/config.js +2 -2
  7. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  8. package/dist/commonjs/mcp-server/server.js +1 -1
  9. package/dist/commonjs/mcp-server/tools/llmModelsCheckCatalogHealth.js +1 -1
  10. package/dist/commonjs/mcp-server/tools/llmModelsCheckCatalogHealth.js.map +1 -1
  11. package/dist/commonjs/models/components/agentssandboxsessionscope.d.ts +18 -0
  12. package/dist/commonjs/models/components/agentssandboxsessionscope.d.ts.map +1 -0
  13. package/dist/commonjs/models/components/agentssandboxsessionscope.js +52 -0
  14. package/dist/commonjs/models/components/agentssandboxsessionscope.js.map +1 -0
  15. package/dist/commonjs/models/components/cataloghealth.d.ts +17 -0
  16. package/dist/commonjs/models/components/cataloghealth.d.ts.map +1 -1
  17. package/dist/commonjs/models/components/cataloghealth.js +3 -0
  18. package/dist/commonjs/models/components/cataloghealth.js.map +1 -1
  19. package/dist/commonjs/models/components/cataloghealthresponse.d.ts +14 -0
  20. package/dist/commonjs/models/components/cataloghealthresponse.d.ts.map +1 -1
  21. package/dist/commonjs/models/components/cataloghealthresponse.js +3 -0
  22. package/dist/commonjs/models/components/cataloghealthresponse.js.map +1 -1
  23. package/dist/commonjs/models/components/cataloghealthstatus.d.ts +19 -0
  24. package/dist/commonjs/models/components/cataloghealthstatus.d.ts.map +1 -0
  25. package/dist/commonjs/models/components/cataloghealthstatus.js +53 -0
  26. package/dist/commonjs/models/components/cataloghealthstatus.js.map +1 -0
  27. package/dist/commonjs/models/components/codeinterpretercontainerauto.d.ts +6 -0
  28. package/dist/commonjs/models/components/codeinterpretercontainerauto.d.ts.map +1 -1
  29. package/dist/commonjs/models/components/codeinterpretercontainerauto.js +5 -0
  30. package/dist/commonjs/models/components/codeinterpretercontainerauto.js.map +1 -1
  31. package/dist/commonjs/models/components/codeinterpretertoolrequest.d.ts +6 -0
  32. package/dist/commonjs/models/components/codeinterpretertoolrequest.d.ts.map +1 -1
  33. package/dist/commonjs/models/components/codeinterpretertoolrequest.js +5 -0
  34. package/dist/commonjs/models/components/codeinterpretertoolrequest.js.map +1 -1
  35. package/dist/commonjs/models/components/index.d.ts +4 -0
  36. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  37. package/dist/commonjs/models/components/index.js +4 -0
  38. package/dist/commonjs/models/components/index.js.map +1 -1
  39. package/dist/commonjs/models/components/livekittokenrequest.d.ts +6 -6
  40. package/dist/commonjs/models/components/livekittokenrequest.d.ts.map +1 -1
  41. package/dist/commonjs/models/components/livekittokenrequest.js +5 -5
  42. package/dist/commonjs/models/components/livekittokenrequest.js.map +1 -1
  43. package/dist/commonjs/models/components/responsescreaterequest.d.ts +6 -6
  44. package/dist/commonjs/models/components/responsescreaterequest.d.ts.map +1 -1
  45. package/dist/commonjs/models/components/responsescreaterequest.js +5 -5
  46. package/dist/commonjs/models/components/responsescreaterequest.js.map +1 -1
  47. package/dist/commonjs/models/components/sandboxsessionscope.d.ts +18 -0
  48. package/dist/commonjs/models/components/sandboxsessionscope.d.ts.map +1 -0
  49. package/dist/commonjs/models/components/sandboxsessionscope.js +52 -0
  50. package/dist/commonjs/models/components/sandboxsessionscope.js.map +1 -0
  51. package/dist/commonjs/models/components/shellenvironmentcontainerauto.d.ts +6 -0
  52. package/dist/commonjs/models/components/shellenvironmentcontainerauto.d.ts.map +1 -1
  53. package/dist/commonjs/models/components/shellenvironmentcontainerauto.js +5 -0
  54. package/dist/commonjs/models/components/shellenvironmentcontainerauto.js.map +1 -1
  55. package/dist/commonjs/models/components/shelltoolrequest.d.ts +73 -0
  56. package/dist/commonjs/models/components/shelltoolrequest.d.ts.map +1 -0
  57. package/dist/commonjs/models/components/shelltoolrequest.js +129 -0
  58. package/dist/commonjs/models/components/shelltoolrequest.js.map +1 -0
  59. package/dist/commonjs/models/components/tooldefinition.d.ts +108 -30
  60. package/dist/commonjs/models/components/tooldefinition.d.ts.map +1 -1
  61. package/dist/commonjs/models/components/tooldefinition.js +155 -47
  62. package/dist/commonjs/models/components/tooldefinition.js.map +1 -1
  63. package/dist/commonjs/react-query/llmModelsCheckCatalogHealth.d.ts +1 -1
  64. package/dist/commonjs/react-query/llmModelsCheckCatalogHealth.js +1 -1
  65. package/dist/commonjs/sdk/models.d.ts +1 -1
  66. package/dist/commonjs/sdk/models.js +1 -1
  67. package/dist/esm/funcs/llmModelsCheckCatalogHealth.d.ts +1 -1
  68. package/dist/esm/funcs/llmModelsCheckCatalogHealth.js +1 -1
  69. package/dist/esm/lib/config.d.ts +2 -2
  70. package/dist/esm/lib/config.js +2 -2
  71. package/dist/esm/mcp-server/mcp-server.js +1 -1
  72. package/dist/esm/mcp-server/server.js +1 -1
  73. package/dist/esm/mcp-server/tools/llmModelsCheckCatalogHealth.js +1 -1
  74. package/dist/esm/mcp-server/tools/llmModelsCheckCatalogHealth.js.map +1 -1
  75. package/dist/esm/models/components/agentssandboxsessionscope.d.ts +18 -0
  76. package/dist/esm/models/components/agentssandboxsessionscope.d.ts.map +1 -0
  77. package/dist/esm/models/components/agentssandboxsessionscope.js +16 -0
  78. package/dist/esm/models/components/agentssandboxsessionscope.js.map +1 -0
  79. package/dist/esm/models/components/cataloghealth.d.ts +17 -0
  80. package/dist/esm/models/components/cataloghealth.d.ts.map +1 -1
  81. package/dist/esm/models/components/cataloghealth.js +3 -0
  82. package/dist/esm/models/components/cataloghealth.js.map +1 -1
  83. package/dist/esm/models/components/cataloghealthresponse.d.ts +14 -0
  84. package/dist/esm/models/components/cataloghealthresponse.d.ts.map +1 -1
  85. package/dist/esm/models/components/cataloghealthresponse.js +3 -0
  86. package/dist/esm/models/components/cataloghealthresponse.js.map +1 -1
  87. package/dist/esm/models/components/cataloghealthstatus.d.ts +19 -0
  88. package/dist/esm/models/components/cataloghealthstatus.d.ts.map +1 -0
  89. package/dist/esm/models/components/cataloghealthstatus.js +17 -0
  90. package/dist/esm/models/components/cataloghealthstatus.js.map +1 -0
  91. package/dist/esm/models/components/codeinterpretercontainerauto.d.ts +6 -0
  92. package/dist/esm/models/components/codeinterpretercontainerauto.d.ts.map +1 -1
  93. package/dist/esm/models/components/codeinterpretercontainerauto.js +5 -0
  94. package/dist/esm/models/components/codeinterpretercontainerauto.js.map +1 -1
  95. package/dist/esm/models/components/codeinterpretertoolrequest.d.ts +6 -0
  96. package/dist/esm/models/components/codeinterpretertoolrequest.d.ts.map +1 -1
  97. package/dist/esm/models/components/codeinterpretertoolrequest.js +5 -0
  98. package/dist/esm/models/components/codeinterpretertoolrequest.js.map +1 -1
  99. package/dist/esm/models/components/index.d.ts +4 -0
  100. package/dist/esm/models/components/index.d.ts.map +1 -1
  101. package/dist/esm/models/components/index.js +4 -0
  102. package/dist/esm/models/components/index.js.map +1 -1
  103. package/dist/esm/models/components/livekittokenrequest.d.ts +6 -6
  104. package/dist/esm/models/components/livekittokenrequest.d.ts.map +1 -1
  105. package/dist/esm/models/components/livekittokenrequest.js +5 -5
  106. package/dist/esm/models/components/livekittokenrequest.js.map +1 -1
  107. package/dist/esm/models/components/responsescreaterequest.d.ts +6 -6
  108. package/dist/esm/models/components/responsescreaterequest.d.ts.map +1 -1
  109. package/dist/esm/models/components/responsescreaterequest.js +5 -5
  110. package/dist/esm/models/components/responsescreaterequest.js.map +1 -1
  111. package/dist/esm/models/components/sandboxsessionscope.d.ts +18 -0
  112. package/dist/esm/models/components/sandboxsessionscope.d.ts.map +1 -0
  113. package/dist/esm/models/components/sandboxsessionscope.js +16 -0
  114. package/dist/esm/models/components/sandboxsessionscope.js.map +1 -0
  115. package/dist/esm/models/components/shellenvironmentcontainerauto.d.ts +6 -0
  116. package/dist/esm/models/components/shellenvironmentcontainerauto.d.ts.map +1 -1
  117. package/dist/esm/models/components/shellenvironmentcontainerauto.js +5 -0
  118. package/dist/esm/models/components/shellenvironmentcontainerauto.js.map +1 -1
  119. package/dist/esm/models/components/shelltoolrequest.d.ts +73 -0
  120. package/dist/esm/models/components/shelltoolrequest.d.ts.map +1 -0
  121. package/dist/esm/models/components/shelltoolrequest.js +87 -0
  122. package/dist/esm/models/components/shelltoolrequest.js.map +1 -0
  123. package/dist/esm/models/components/tooldefinition.d.ts +108 -30
  124. package/dist/esm/models/components/tooldefinition.d.ts.map +1 -1
  125. package/dist/esm/models/components/tooldefinition.js +142 -41
  126. package/dist/esm/models/components/tooldefinition.js.map +1 -1
  127. package/dist/esm/react-query/llmModelsCheckCatalogHealth.d.ts +1 -1
  128. package/dist/esm/react-query/llmModelsCheckCatalogHealth.js +1 -1
  129. package/dist/esm/sdk/models.d.ts +1 -1
  130. package/dist/esm/sdk/models.js +1 -1
  131. package/jsr.json +1 -1
  132. package/package.json +1 -1
  133. package/src/funcs/llmModelsCheckCatalogHealth.ts +1 -1
  134. package/src/lib/config.ts +2 -2
  135. package/src/mcp-server/mcp-server.ts +1 -1
  136. package/src/mcp-server/server.ts +1 -1
  137. package/src/mcp-server/tools/llmModelsCheckCatalogHealth.ts +1 -1
  138. package/src/models/components/agentssandboxsessionscope.ts +29 -0
  139. package/src/models/components/cataloghealth.ts +23 -0
  140. package/src/models/components/cataloghealthresponse.ts +20 -0
  141. package/src/models/components/cataloghealthstatus.ts +28 -0
  142. package/src/models/components/codeinterpretercontainerauto.ts +14 -0
  143. package/src/models/components/codeinterpretertoolrequest.ts +14 -0
  144. package/src/models/components/index.ts +4 -0
  145. package/src/models/components/livekittokenrequest.ts +14 -14
  146. package/src/models/components/responsescreaterequest.ts +14 -14
  147. package/src/models/components/sandboxsessionscope.ts +27 -0
  148. package/src/models/components/shellenvironmentcontainerauto.ts +14 -0
  149. package/src/models/components/shelltoolrequest.ts +219 -0
  150. package/src/models/components/tooldefinition.ts +315 -83
  151. package/src/react-query/llmModelsCheckCatalogHealth.ts +1 -1
  152. package/src/sdk/models.ts +1 -1
@@ -0,0 +1,18 @@
1
+ import * as z from "zod/v3";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ /**
4
+ * Workspace lifetime. conversation (default) reuses the conversation or previous_response_id chain workspace; independent top-level responses start fresh. Delegated agents inherit their parent's workspace by default without inheriting its conversation history. request starts a fresh workspace for this response and its default-scoped delegated agents. Explicit child request scope or container IDs override inheritance.
5
+ */
6
+ export declare const SandboxSessionScope: {
7
+ readonly Conversation: "conversation";
8
+ readonly Request: "request";
9
+ };
10
+ /**
11
+ * Workspace lifetime. conversation (default) reuses the conversation or previous_response_id chain workspace; independent top-level responses start fresh. Delegated agents inherit their parent's workspace by default without inheriting its conversation history. request starts a fresh workspace for this response and its default-scoped delegated agents. Explicit child request scope or container IDs override inheritance.
12
+ */
13
+ export type SandboxSessionScope = ClosedEnum<typeof SandboxSessionScope>;
14
+ /** @internal */
15
+ export declare const SandboxSessionScope$inboundSchema: z.ZodNativeEnum<typeof SandboxSessionScope>;
16
+ /** @internal */
17
+ export declare const SandboxSessionScope$outboundSchema: z.ZodNativeEnum<typeof SandboxSessionScope>;
18
+ //# sourceMappingURL=sandboxsessionscope.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sandboxsessionscope.d.ts","sourceRoot":"","sources":["../../../../src/models/components/sandboxsessionscope.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEzE,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,aAAa,CAC7D,OAAO,mBAAmB,CACS,CAAC;AACtC,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,aAAa,CAC9D,OAAO,mBAAmB,CACS,CAAC"}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.SandboxSessionScope$outboundSchema = exports.SandboxSessionScope$inboundSchema = exports.SandboxSessionScope = void 0;
40
+ const z = __importStar(require("zod/v3"));
41
+ /**
42
+ * Workspace lifetime. conversation (default) reuses the conversation or previous_response_id chain workspace; independent top-level responses start fresh. Delegated agents inherit their parent's workspace by default without inheriting its conversation history. request starts a fresh workspace for this response and its default-scoped delegated agents. Explicit child request scope or container IDs override inheritance.
43
+ */
44
+ exports.SandboxSessionScope = {
45
+ Conversation: "conversation",
46
+ Request: "request",
47
+ };
48
+ /** @internal */
49
+ exports.SandboxSessionScope$inboundSchema = z.nativeEnum(exports.SandboxSessionScope);
50
+ /** @internal */
51
+ exports.SandboxSessionScope$outboundSchema = exports.SandboxSessionScope$inboundSchema;
52
+ //# sourceMappingURL=sandboxsessionscope.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sandboxsessionscope.js","sourceRoot":"","sources":["../../../../src/models/components/sandboxsessionscope.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAG5B;;GAEG;AACU,QAAA,mBAAmB,GAAG;IACjC,YAAY,EAAE,cAAc;IAC5B,OAAO,EAAE,SAAS;CACV,CAAC;AAMX,gBAAgB;AACH,QAAA,iCAAiC,GAE1C,CAAC,CAAC,UAAU,CAAC,2BAAmB,CAAC,CAAC;AACtC,gBAAgB;AACH,QAAA,kCAAkC,GAE3C,yCAAiC,CAAC"}
@@ -2,10 +2,15 @@ import * as z from "zod/v3";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
4
  import { MemoryStoreMount, MemoryStoreMount$Outbound } from "./memorystoremount.js";
5
+ import { SandboxSessionScope } from "./sandboxsessionscope.js";
5
6
  import { ShellNetworkPolicy, ShellNetworkPolicy$Outbound } from "./shellnetworkpolicy.js";
6
7
  import { SkillEntry, SkillEntry$Outbound } from "./skillentry.js";
7
8
  export type ShellEnvironmentContainerAuto = {
8
9
  type: "container_auto";
10
+ /**
11
+ * Workspace lifetime. conversation (default) reuses the conversation or previous_response_id chain workspace; independent top-level responses start fresh. Delegated agents inherit their parent's workspace by default without inheriting its conversation history. request starts a fresh workspace for this response and its default-scoped delegated agents. Explicit child request scope or container IDs override inheritance.
12
+ */
13
+ sessionScope?: SandboxSessionScope | undefined;
9
14
  networkPolicy?: ShellNetworkPolicy | undefined;
10
15
  /**
11
16
  * Skills to inject into the container's /skills directory.
@@ -21,6 +26,7 @@ export declare const ShellEnvironmentContainerAuto$inboundSchema: z.ZodType<Shel
21
26
  /** @internal */
22
27
  export type ShellEnvironmentContainerAuto$Outbound = {
23
28
  type: "container_auto";
29
+ session_scope?: string | undefined;
24
30
  network_policy?: ShellNetworkPolicy$Outbound | undefined;
25
31
  skills?: Array<SkillEntry$Outbound> | undefined;
26
32
  memory_stores?: Array<MemoryStoreMount$Outbound> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"shellenvironmentcontainerauto.d.ts","sourceRoot":"","sources":["../../../../src/models/components/shellenvironmentcontainerauto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,gBAAgB,CAAC;IACvB,aAAa,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC/C;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;CACpD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CAWP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG;IACnD,IAAI,EAAE,gBAAgB,CAAC;IACvB,cAAc,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IACzD,MAAM,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC;IAChD,aAAa,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC,GAAG,SAAS,CAAC;CAC9D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAW7B,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,6BAA6B,EAAE,6BAA6B,GAC3D,MAAM,CAMR;AACD,wBAAgB,qCAAqC,CACnD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,6BAA6B,EAAE,kBAAkB,CAAC,CAMpE"}
1
+ {"version":3,"file":"shellenvironmentcontainerauto.d.ts","sourceRoot":"","sources":["../../../../src/models/components/shellenvironmentcontainerauto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,mBAAmB,EAGpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,gBAAgB,CAAC;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAC/C,aAAa,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC/C;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;CACpD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CAaP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG;IACnD,IAAI,EAAE,gBAAgB,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,cAAc,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IACzD,MAAM,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC;IAChD,aAAa,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC,GAAG,SAAS,CAAC;CAC9D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAa7B,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,6BAA6B,EAAE,6BAA6B,GAC3D,MAAM,CAMR;AACD,wBAAgB,qCAAqC,CACnD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,6BAA6B,EAAE,kBAAkB,CAAC,CAMpE"}
@@ -43,16 +43,19 @@ const z = __importStar(require("zod/v3"));
43
43
  const primitives_js_1 = require("../../lib/primitives.js");
44
44
  const schemas_js_1 = require("../../lib/schemas.js");
45
45
  const memorystoremount_js_1 = require("./memorystoremount.js");
46
+ const sandboxsessionscope_js_1 = require("./sandboxsessionscope.js");
46
47
  const shellnetworkpolicy_js_1 = require("./shellnetworkpolicy.js");
47
48
  const skillentry_js_1 = require("./skillentry.js");
48
49
  /** @internal */
49
50
  exports.ShellEnvironmentContainerAuto$inboundSchema = z.object({
50
51
  type: z.literal("container_auto"),
52
+ session_scope: sandboxsessionscope_js_1.SandboxSessionScope$inboundSchema.optional(),
51
53
  network_policy: shellnetworkpolicy_js_1.ShellNetworkPolicy$inboundSchema.optional(),
52
54
  skills: z.array(skillentry_js_1.SkillEntry$inboundSchema).optional(),
53
55
  memory_stores: z.array(memorystoremount_js_1.MemoryStoreMount$inboundSchema).optional(),
54
56
  }).transform((v) => {
55
57
  return (0, primitives_js_1.remap)(v, {
58
+ "session_scope": "sessionScope",
56
59
  "network_policy": "networkPolicy",
57
60
  "memory_stores": "memoryStores",
58
61
  });
@@ -60,11 +63,13 @@ exports.ShellEnvironmentContainerAuto$inboundSchema = z.object({
60
63
  /** @internal */
61
64
  exports.ShellEnvironmentContainerAuto$outboundSchema = z.object({
62
65
  type: z.literal("container_auto"),
66
+ sessionScope: sandboxsessionscope_js_1.SandboxSessionScope$outboundSchema.optional(),
63
67
  networkPolicy: shellnetworkpolicy_js_1.ShellNetworkPolicy$outboundSchema.optional(),
64
68
  skills: z.array(skillentry_js_1.SkillEntry$outboundSchema).optional(),
65
69
  memoryStores: z.array(memorystoremount_js_1.MemoryStoreMount$outboundSchema).optional(),
66
70
  }).transform((v) => {
67
71
  return (0, primitives_js_1.remap)(v, {
72
+ sessionScope: "session_scope",
68
73
  networkPolicy: "network_policy",
69
74
  memoryStores: "memory_stores",
70
75
  });
@@ -1 +1 @@
1
- {"version":3,"file":"shellenvironmentcontainerauto.js","sourceRoot":"","sources":["../../../../src/models/components/shellenvironmentcontainerauto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ChD,6BAA6B,CAC9B,CACF,CAAC;AACJ,CAAC;AACD,SAAgB,qCAAqC,CACnD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mDAA2C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"shellenvironmentcontainerauto.js","sourceRoot":"","sources":["../../../../src/models/components/shellenvironmentcontainerauto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8FH,kFAQC;AACD,sFAQC;AA7GD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,+DAK+B;AAC/B,qEAIkC;AAClC,mEAKiC;AACjC,mDAKyB;AAmBzB,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC;IACjC,aAAa,EAAE,0DAAiC,CAAC,QAAQ,EAAE;IAC3D,cAAc,EAAE,wDAAgC,CAAC,QAAQ,EAAE;IAC3D,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,wCAAwB,CAAC,CAAC,QAAQ,EAAE;IACpD,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,oDAA8B,CAAC,CAAC,QAAQ,EAAE;CAClE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,eAAe,EAAE,cAAc;QAC/B,gBAAgB,EAAE,eAAe;QACjC,eAAe,EAAE,cAAc;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC;IACjC,YAAY,EAAE,2DAAkC,CAAC,QAAQ,EAAE;IAC3D,aAAa,EAAE,yDAAiC,CAAC,QAAQ,EAAE;IAC3D,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,yCAAyB,CAAC,CAAC,QAAQ,EAAE;IACrD,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,qDAA+B,CAAC,CAAC,QAAQ,EAAE;CAClE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,eAAe;QAC7B,aAAa,EAAE,gBAAgB;QAC/B,YAAY,EAAE,eAAe;KAC9B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,mCAAmC,CACjD,6BAA4D;IAE5D,OAAO,IAAI,CAAC,SAAS,CACnB,oDAA4C,CAAC,KAAK,CAChD,6BAA6B,CAC9B,CACF,CAAC;AACJ,CAAC;AACD,SAAgB,qCAAqC,CACnD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mDAA2C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AACJ,CAAC"}
@@ -0,0 +1,73 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ import { MemoryStoreMount, MemoryStoreMount$Outbound } from "./memorystoremount.js";
5
+ import { ShellEnvironmentContainerAuto, ShellEnvironmentContainerAuto$Outbound } from "./shellenvironmentcontainerauto.js";
6
+ import { ShellNetworkPolicy, ShellNetworkPolicy$Outbound } from "./shellnetworkpolicy.js";
7
+ import { SkillEntry, SkillEntry$Outbound } from "./skillentry.js";
8
+ export type Environment2 = {
9
+ type: "container_reference";
10
+ /**
11
+ * ID of an existing container to reuse.
12
+ */
13
+ containerId: string;
14
+ networkPolicy?: ShellNetworkPolicy | undefined;
15
+ /**
16
+ * Skills to inject into the container's /skills directory.
17
+ */
18
+ skills?: Array<SkillEntry> | undefined;
19
+ /**
20
+ * Memory stores to mount into the container under /mnt/memory.
21
+ */
22
+ memoryStores?: Array<MemoryStoreMount> | undefined;
23
+ /**
24
+ * Must be omitted when referencing an existing container.
25
+ */
26
+ sessionScope?: any | undefined;
27
+ };
28
+ /**
29
+ * Container environment configuration. Defaults to container_auto.
30
+ */
31
+ export type Environment = ShellEnvironmentContainerAuto | Environment2;
32
+ export type ShellToolRequest = {
33
+ type: "shell";
34
+ /**
35
+ * Container environment configuration. Defaults to container_auto.
36
+ */
37
+ environment?: ShellEnvironmentContainerAuto | Environment2 | undefined;
38
+ };
39
+ /** @internal */
40
+ export declare const Environment2$inboundSchema: z.ZodType<Environment2, z.ZodTypeDef, unknown>;
41
+ /** @internal */
42
+ export type Environment2$Outbound = {
43
+ type: "container_reference";
44
+ container_id: string;
45
+ network_policy?: ShellNetworkPolicy$Outbound | undefined;
46
+ skills?: Array<SkillEntry$Outbound> | undefined;
47
+ memory_stores?: Array<MemoryStoreMount$Outbound> | undefined;
48
+ session_scope?: any | undefined;
49
+ };
50
+ /** @internal */
51
+ export declare const Environment2$outboundSchema: z.ZodType<Environment2$Outbound, z.ZodTypeDef, Environment2>;
52
+ export declare function environment2ToJSON(environment2: Environment2): string;
53
+ export declare function environment2FromJSON(jsonString: string): SafeParseResult<Environment2, SDKValidationError>;
54
+ /** @internal */
55
+ export declare const Environment$inboundSchema: z.ZodType<Environment, z.ZodTypeDef, unknown>;
56
+ /** @internal */
57
+ export type Environment$Outbound = ShellEnvironmentContainerAuto$Outbound | Environment2$Outbound;
58
+ /** @internal */
59
+ export declare const Environment$outboundSchema: z.ZodType<Environment$Outbound, z.ZodTypeDef, Environment>;
60
+ export declare function environmentToJSON(environment: Environment): string;
61
+ export declare function environmentFromJSON(jsonString: string): SafeParseResult<Environment, SDKValidationError>;
62
+ /** @internal */
63
+ export declare const ShellToolRequest$inboundSchema: z.ZodType<ShellToolRequest, z.ZodTypeDef, unknown>;
64
+ /** @internal */
65
+ export type ShellToolRequest$Outbound = {
66
+ type: "shell";
67
+ environment?: ShellEnvironmentContainerAuto$Outbound | Environment2$Outbound | undefined;
68
+ };
69
+ /** @internal */
70
+ export declare const ShellToolRequest$outboundSchema: z.ZodType<ShellToolRequest$Outbound, z.ZodTypeDef, ShellToolRequest>;
71
+ export declare function shellToolRequestToJSON(shellToolRequest: ShellToolRequest): string;
72
+ export declare function shellToolRequestFromJSON(jsonString: string): SafeParseResult<ShellToolRequest, SDKValidationError>;
73
+ //# sourceMappingURL=shelltoolrequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shelltoolrequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/shelltoolrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,6BAA6B,EAE7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,qBAAqB,CAAC;IAC5B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC/C;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,SAAS,CA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CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,oBAAoB,GAC5B,sCAAsC,GACtC,qBAAqB,CAAC;AAE1B,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,WAAW,CAIX,CAAC;AAEH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAElE;AACD,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAMlD;AAED,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,OAAO,CAAC;IACd,WAAW,CAAC,EACR,sCAAsC,GACtC,qBAAqB,GACrB,SAAS,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,gBAAgB,CAOhB,CAAC;AAEH,wBAAgB,sBAAsB,CACpC,gBAAgB,EAAE,gBAAgB,GACjC,MAAM,CAIR;AACD,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD"}
@@ -0,0 +1,129 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ShellToolRequest$outboundSchema = exports.ShellToolRequest$inboundSchema = exports.Environment$outboundSchema = exports.Environment$inboundSchema = exports.Environment2$outboundSchema = exports.Environment2$inboundSchema = void 0;
40
+ exports.environment2ToJSON = environment2ToJSON;
41
+ exports.environment2FromJSON = environment2FromJSON;
42
+ exports.environmentToJSON = environmentToJSON;
43
+ exports.environmentFromJSON = environmentFromJSON;
44
+ exports.shellToolRequestToJSON = shellToolRequestToJSON;
45
+ exports.shellToolRequestFromJSON = shellToolRequestFromJSON;
46
+ const z = __importStar(require("zod/v3"));
47
+ const primitives_js_1 = require("../../lib/primitives.js");
48
+ const schemas_js_1 = require("../../lib/schemas.js");
49
+ const memorystoremount_js_1 = require("./memorystoremount.js");
50
+ const shellenvironmentcontainerauto_js_1 = require("./shellenvironmentcontainerauto.js");
51
+ const shellnetworkpolicy_js_1 = require("./shellnetworkpolicy.js");
52
+ const skillentry_js_1 = require("./skillentry.js");
53
+ /** @internal */
54
+ exports.Environment2$inboundSchema = z.object({
55
+ type: z.literal("container_reference"),
56
+ container_id: z.string(),
57
+ network_policy: shellnetworkpolicy_js_1.ShellNetworkPolicy$inboundSchema.optional(),
58
+ skills: z.array(skillentry_js_1.SkillEntry$inboundSchema).optional(),
59
+ memory_stores: z.array(memorystoremount_js_1.MemoryStoreMount$inboundSchema).optional(),
60
+ session_scope: z.any().optional(),
61
+ }).transform((v) => {
62
+ return (0, primitives_js_1.remap)(v, {
63
+ "container_id": "containerId",
64
+ "network_policy": "networkPolicy",
65
+ "memory_stores": "memoryStores",
66
+ "session_scope": "sessionScope",
67
+ });
68
+ });
69
+ /** @internal */
70
+ exports.Environment2$outboundSchema = z.object({
71
+ type: z.literal("container_reference"),
72
+ containerId: z.string(),
73
+ networkPolicy: shellnetworkpolicy_js_1.ShellNetworkPolicy$outboundSchema.optional(),
74
+ skills: z.array(skillentry_js_1.SkillEntry$outboundSchema).optional(),
75
+ memoryStores: z.array(memorystoremount_js_1.MemoryStoreMount$outboundSchema).optional(),
76
+ sessionScope: z.any().optional(),
77
+ }).transform((v) => {
78
+ return (0, primitives_js_1.remap)(v, {
79
+ containerId: "container_id",
80
+ networkPolicy: "network_policy",
81
+ memoryStores: "memory_stores",
82
+ sessionScope: "session_scope",
83
+ });
84
+ });
85
+ function environment2ToJSON(environment2) {
86
+ return JSON.stringify(exports.Environment2$outboundSchema.parse(environment2));
87
+ }
88
+ function environment2FromJSON(jsonString) {
89
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Environment2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Environment2' from JSON`);
90
+ }
91
+ /** @internal */
92
+ exports.Environment$inboundSchema = z.union([
93
+ shellenvironmentcontainerauto_js_1.ShellEnvironmentContainerAuto$inboundSchema,
94
+ z.lazy(() => exports.Environment2$inboundSchema),
95
+ ]);
96
+ /** @internal */
97
+ exports.Environment$outboundSchema = z.union([
98
+ shellenvironmentcontainerauto_js_1.ShellEnvironmentContainerAuto$outboundSchema,
99
+ z.lazy(() => exports.Environment2$outboundSchema),
100
+ ]);
101
+ function environmentToJSON(environment) {
102
+ return JSON.stringify(exports.Environment$outboundSchema.parse(environment));
103
+ }
104
+ function environmentFromJSON(jsonString) {
105
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Environment$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Environment' from JSON`);
106
+ }
107
+ /** @internal */
108
+ exports.ShellToolRequest$inboundSchema = z.object({
109
+ type: z.literal("shell"),
110
+ environment: z.union([
111
+ shellenvironmentcontainerauto_js_1.ShellEnvironmentContainerAuto$inboundSchema,
112
+ z.lazy(() => exports.Environment2$inboundSchema),
113
+ ]).optional(),
114
+ });
115
+ /** @internal */
116
+ exports.ShellToolRequest$outboundSchema = z.object({
117
+ type: z.literal("shell"),
118
+ environment: z.union([
119
+ shellenvironmentcontainerauto_js_1.ShellEnvironmentContainerAuto$outboundSchema,
120
+ z.lazy(() => exports.Environment2$outboundSchema),
121
+ ]).optional(),
122
+ });
123
+ function shellToolRequestToJSON(shellToolRequest) {
124
+ return JSON.stringify(exports.ShellToolRequest$outboundSchema.parse(shellToolRequest));
125
+ }
126
+ function shellToolRequestFromJSON(jsonString) {
127
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ShellToolRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ShellToolRequest' from JSON`);
128
+ }
129
+ //# sourceMappingURL=shelltoolrequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shelltoolrequest.js","sourceRoot":"","sources":["../../../../src/models/components/shelltoolrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqHH,gDAEC;AACD,oDAQC;AA0BD,8CAEC;AACD,kDAQC;AAoCD,wDAMC;AACD,4DAQC;AAtND,0CAA4B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GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IACxB,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC;QACnB,8EAA2C;QAC3C,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,kCAA0B,CAAC;KACzC,CAAC,CAAC,QAAQ,EAAE;CACd,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IACxB,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC;QACnB,+EAA4C;QAC5C,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,mCAA2B,CAAC;KAC1C,CAAC,CAAC,QAAQ,EAAE;CACd,CAAC,CAAC;AAEH,SAAgB,sBAAsB,CACpC,gBAAkC;IAElC,OAAO,IAAI,CAAC,SAAS,CACnB,uCAA+B,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACxD,CAAC;AACJ,CAAC;AACD,SAAgB,wBAAwB,CACtC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC"}
@@ -3,14 +3,15 @@ import * as discriminatedUnionTypes from "../../types/discriminatedUnion.js";
3
3
  import { ClosedEnum } from "../../types/enums.js";
4
4
  import { Result as SafeParseResult } from "../../types/fp.js";
5
5
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
6
+ import { AgentsSandboxSessionScope } from "./agentssandboxsessionscope.js";
6
7
  import { FileSearchComparisonFilter, FileSearchComparisonFilter$Outbound } from "./filesearchcomparisonfilter.js";
7
8
  import { FileSearchCompoundFilter, FileSearchCompoundFilter$Outbound } from "./filesearchcompoundfilter.js";
8
9
  import { FunctionToolReference, FunctionToolReference$Outbound } from "./functiontoolreference.js";
9
10
  import { MCPToolFilter, MCPToolFilter$Outbound } from "./mcptoolfilter.js";
10
- export declare const ToolDefinition9Type: {
11
+ export declare const ToolDefinition10Type: {
11
12
  readonly Shell: "shell";
12
13
  };
13
- export type ToolDefinition9Type = ClosedEnum<typeof ToolDefinition9Type>;
14
+ export type ToolDefinition10Type = ClosedEnum<typeof ToolDefinition10Type>;
14
15
  export declare const ToolDefinitionEnvironmentAccess: {
15
16
  readonly ReadOnly: "read_only";
16
17
  readonly ReadWrite: "read_write";
@@ -23,7 +24,7 @@ export type EnvironmentMemoryStores = {
23
24
  description?: string | undefined;
24
25
  instructions?: string | undefined;
25
26
  };
26
- export type Environment2 = {
27
+ export type ToolDefinitionEnvironment2 = {
27
28
  type: "container_reference";
28
29
  containerId: string;
29
30
  /**
@@ -47,6 +48,10 @@ export type MemoryStores = {
47
48
  };
48
49
  export type Environment1 = {
49
50
  type: "container_auto";
51
+ /**
52
+ * Workspace lifetime. conversation (default) keeps files within the same conversation or response chain. Delegated agents inherit their parent's workspace without its conversation history. request starts a fresh workspace for this response and its default-scoped delegated agents. Explicit child request scope or container IDs override inheritance. Independent top-level responses start fresh.
53
+ */
54
+ sessionScope?: AgentsSandboxSessionScope | undefined;
50
55
  /**
51
56
  * Arbitrary JSON value.
52
57
  */
@@ -54,30 +59,58 @@ export type Environment1 = {
54
59
  skills?: Array<any> | undefined;
55
60
  memoryStores?: Array<MemoryStores> | undefined;
56
61
  };
57
- export type Environment = Environment1 | Environment2 | discriminatedUnionTypes.Unknown<"type">;
58
- export type Nine = {
59
- type: ToolDefinition9Type;
60
- environment?: Environment1 | Environment2 | discriminatedUnionTypes.Unknown<"type"> | undefined;
62
+ export type ToolDefinitionEnvironment = Environment1 | ToolDefinitionEnvironment2 | discriminatedUnionTypes.Unknown<"type">;
63
+ export type Ten = {
64
+ type: ToolDefinition10Type;
65
+ environment?: Environment1 | ToolDefinitionEnvironment2 | discriminatedUnionTypes.Unknown<"type"> | undefined;
61
66
  };
62
- export declare const ToolDefinition8Type: {
67
+ export declare const ToolDefinition9Type: {
63
68
  readonly Agent: "agent";
64
69
  };
65
- export type ToolDefinition8Type = ClosedEnum<typeof ToolDefinition8Type>;
70
+ export type ToolDefinition9Type = ClosedEnum<typeof ToolDefinition9Type>;
66
71
  /**
67
72
  * Another saved agent of the same team, called as a tool. mkllm-gateway starts a run of that agent and returns its answer.
68
73
  */
69
- export type Eight = {
70
- type: ToolDefinition8Type;
74
+ export type Nine = {
75
+ type: ToolDefinition9Type;
71
76
  agentId: string;
72
77
  name?: string | undefined;
73
78
  description?: string | undefined;
74
79
  };
75
- export declare const ToolDefinition7Type: {
80
+ export declare const ToolDefinition8Type: {
76
81
  readonly Sleep: "sleep";
77
82
  };
83
+ export type ToolDefinition8Type = ClosedEnum<typeof ToolDefinition8Type>;
84
+ export type Eight = {
85
+ type: ToolDefinition8Type;
86
+ };
87
+ export declare const ToolDefinition7Type: {
88
+ readonly CodeInterpreter: "code_interpreter";
89
+ };
78
90
  export type ToolDefinition7Type = ClosedEnum<typeof ToolDefinition7Type>;
91
+ export declare const ContainerType: {
92
+ readonly Auto: "auto";
93
+ };
94
+ export type ContainerType = ClosedEnum<typeof ContainerType>;
95
+ export declare const ToolDefinitionContainerMemoryLimit: {
96
+ readonly FiveHundredAndTwelvem: "512m";
97
+ readonly Oneg: "1g";
98
+ readonly Twog: "2g";
99
+ };
100
+ export type ToolDefinitionContainerMemoryLimit = ClosedEnum<typeof ToolDefinitionContainerMemoryLimit>;
101
+ export type ToolDefinitionContainer2 = {
102
+ type: ContainerType;
103
+ /**
104
+ * Workspace lifetime. conversation (default) keeps files within the same conversation or response chain. Delegated agents inherit their parent's workspace without its conversation history. request starts a fresh workspace for this response and its default-scoped delegated agents. Explicit child request scope or container IDs override inheritance. Independent top-level responses start fresh.
105
+ */
106
+ sessionScope?: AgentsSandboxSessionScope | undefined;
107
+ fileIds?: Array<string> | null | undefined;
108
+ memoryLimit?: ToolDefinitionContainerMemoryLimit | null | undefined;
109
+ };
110
+ export type ToolDefinitionContainer = ToolDefinitionContainer2 | string;
79
111
  export type Seven = {
80
112
  type: ToolDefinition7Type;
113
+ container: ToolDefinitionContainer2 | string;
81
114
  };
82
115
  export declare const ToolDefinition6Type: {
83
116
  readonly FileSearch: "file_search";
@@ -243,11 +276,11 @@ export type ToolDefinition2 = {
243
276
  userLocation?: ToolDefinitionUserLocation | undefined;
244
277
  filters?: ToolDefinitionFilters | undefined;
245
278
  };
246
- export type ToolDefinition = ToolDefinition3 | FunctionToolReference | ToolDefinition5 | Eight | ToolDefinition2 | ToolDefinition6 | Seven | Nine | Four1 | Four2;
279
+ export type ToolDefinition = ToolDefinition3 | FunctionToolReference | ToolDefinition5 | Seven | Nine | ToolDefinition2 | ToolDefinition6 | Eight | Ten | Four1 | Four2;
247
280
  /** @internal */
248
- export declare const ToolDefinition9Type$inboundSchema: z.ZodNativeEnum<typeof ToolDefinition9Type>;
281
+ export declare const ToolDefinition10Type$inboundSchema: z.ZodNativeEnum<typeof ToolDefinition10Type>;
249
282
  /** @internal */
250
- export declare const ToolDefinition9Type$outboundSchema: z.ZodNativeEnum<typeof ToolDefinition9Type>;
283
+ export declare const ToolDefinition10Type$outboundSchema: z.ZodNativeEnum<typeof ToolDefinition10Type>;
251
284
  /** @internal */
252
285
  export declare const ToolDefinitionEnvironmentAccess$inboundSchema: z.ZodNativeEnum<typeof ToolDefinitionEnvironmentAccess>;
253
286
  /** @internal */
@@ -267,9 +300,9 @@ export declare const EnvironmentMemoryStores$outboundSchema: z.ZodType<Environme
267
300
  export declare function environmentMemoryStoresToJSON(environmentMemoryStores: EnvironmentMemoryStores): string;
268
301
  export declare function environmentMemoryStoresFromJSON(jsonString: string): SafeParseResult<EnvironmentMemoryStores, SDKValidationError>;
269
302
  /** @internal */
270
- export declare const Environment2$inboundSchema: z.ZodType<Environment2, z.ZodTypeDef, unknown>;
303
+ export declare const ToolDefinitionEnvironment2$inboundSchema: z.ZodType<ToolDefinitionEnvironment2, z.ZodTypeDef, unknown>;
271
304
  /** @internal */
272
- export type Environment2$Outbound = {
305
+ export type ToolDefinitionEnvironment2$Outbound = {
273
306
  type: "container_reference";
274
307
  container_id: string;
275
308
  network_policy?: any | undefined;
@@ -277,9 +310,9 @@ export type Environment2$Outbound = {
277
310
  memory_stores?: Array<EnvironmentMemoryStores$Outbound> | undefined;
278
311
  };
279
312
  /** @internal */
280
- export declare const Environment2$outboundSchema: z.ZodType<Environment2$Outbound, z.ZodTypeDef, Environment2>;
281
- export declare function environment2ToJSON(environment2: Environment2): string;
282
- export declare function environment2FromJSON(jsonString: string): SafeParseResult<Environment2, SDKValidationError>;
313
+ export declare const ToolDefinitionEnvironment2$outboundSchema: z.ZodType<ToolDefinitionEnvironment2$Outbound, z.ZodTypeDef, ToolDefinitionEnvironment2>;
314
+ export declare function toolDefinitionEnvironment2ToJSON(toolDefinitionEnvironment2: ToolDefinitionEnvironment2): string;
315
+ export declare function toolDefinitionEnvironment2FromJSON(jsonString: string): SafeParseResult<ToolDefinitionEnvironment2, SDKValidationError>;
283
316
  /** @internal */
284
317
  export declare const EnvironmentAccess$inboundSchema: z.ZodNativeEnum<typeof EnvironmentAccess>;
285
318
  /** @internal */
@@ -303,6 +336,7 @@ export declare const Environment1$inboundSchema: z.ZodType<Environment1, z.ZodTy
303
336
  /** @internal */
304
337
  export type Environment1$Outbound = {
305
338
  type: "container_auto";
339
+ session_scope?: string | undefined;
306
340
  network_policy?: any | undefined;
307
341
  skills?: Array<any> | undefined;
308
342
  memory_stores?: Array<MemoryStores$Outbound> | undefined;
@@ -312,19 +346,36 @@ export declare const Environment1$outboundSchema: z.ZodType<Environment1$Outboun
312
346
  export declare function environment1ToJSON(environment1: Environment1): string;
313
347
  export declare function environment1FromJSON(jsonString: string): SafeParseResult<Environment1, SDKValidationError>;
314
348
  /** @internal */
315
- export declare const Environment$inboundSchema: z.ZodType<Environment, z.ZodTypeDef, unknown>;
349
+ export declare const ToolDefinitionEnvironment$inboundSchema: z.ZodType<ToolDefinitionEnvironment, z.ZodTypeDef, unknown>;
316
350
  /** @internal */
317
- export type Environment$Outbound = Environment1$Outbound | Environment2$Outbound;
351
+ export type ToolDefinitionEnvironment$Outbound = Environment1$Outbound | ToolDefinitionEnvironment2$Outbound;
318
352
  /** @internal */
319
- export declare const Environment$outboundSchema: z.ZodType<Environment$Outbound, z.ZodTypeDef, Environment>;
320
- export declare function environmentToJSON(environment: Environment): string;
321
- export declare function environmentFromJSON(jsonString: string): SafeParseResult<Environment, SDKValidationError>;
353
+ export declare const ToolDefinitionEnvironment$outboundSchema: z.ZodType<ToolDefinitionEnvironment$Outbound, z.ZodTypeDef, ToolDefinitionEnvironment>;
354
+ export declare function toolDefinitionEnvironmentToJSON(toolDefinitionEnvironment: ToolDefinitionEnvironment): string;
355
+ export declare function toolDefinitionEnvironmentFromJSON(jsonString: string): SafeParseResult<ToolDefinitionEnvironment, SDKValidationError>;
356
+ /** @internal */
357
+ export declare const Ten$inboundSchema: z.ZodType<Ten, z.ZodTypeDef, unknown>;
358
+ /** @internal */
359
+ export type Ten$Outbound = {
360
+ type: string;
361
+ environment?: Environment1$Outbound | ToolDefinitionEnvironment2$Outbound | undefined;
362
+ };
363
+ /** @internal */
364
+ export declare const Ten$outboundSchema: z.ZodType<Ten$Outbound, z.ZodTypeDef, Ten>;
365
+ export declare function tenToJSON(ten: Ten): string;
366
+ export declare function tenFromJSON(jsonString: string): SafeParseResult<Ten, SDKValidationError>;
367
+ /** @internal */
368
+ export declare const ToolDefinition9Type$inboundSchema: z.ZodNativeEnum<typeof ToolDefinition9Type>;
369
+ /** @internal */
370
+ export declare const ToolDefinition9Type$outboundSchema: z.ZodNativeEnum<typeof ToolDefinition9Type>;
322
371
  /** @internal */
323
372
  export declare const Nine$inboundSchema: z.ZodType<Nine, z.ZodTypeDef, unknown>;
324
373
  /** @internal */
325
374
  export type Nine$Outbound = {
326
375
  type: string;
327
- environment?: Environment1$Outbound | Environment2$Outbound | undefined;
376
+ agent_id: string;
377
+ name?: string | undefined;
378
+ description?: string | undefined;
328
379
  };
329
380
  /** @internal */
330
381
  export declare const Nine$outboundSchema: z.ZodType<Nine$Outbound, z.ZodTypeDef, Nine>;
@@ -339,9 +390,6 @@ export declare const Eight$inboundSchema: z.ZodType<Eight, z.ZodTypeDef, unknown
339
390
  /** @internal */
340
391
  export type Eight$Outbound = {
341
392
  type: string;
342
- agent_id: string;
343
- name?: string | undefined;
344
- description?: string | undefined;
345
393
  };
346
394
  /** @internal */
347
395
  export declare const Eight$outboundSchema: z.ZodType<Eight$Outbound, z.ZodTypeDef, Eight>;
@@ -352,10 +400,40 @@ export declare const ToolDefinition7Type$inboundSchema: z.ZodNativeEnum<typeof T
352
400
  /** @internal */
353
401
  export declare const ToolDefinition7Type$outboundSchema: z.ZodNativeEnum<typeof ToolDefinition7Type>;
354
402
  /** @internal */
403
+ export declare const ContainerType$inboundSchema: z.ZodNativeEnum<typeof ContainerType>;
404
+ /** @internal */
405
+ export declare const ContainerType$outboundSchema: z.ZodNativeEnum<typeof ContainerType>;
406
+ /** @internal */
407
+ export declare const ToolDefinitionContainerMemoryLimit$inboundSchema: z.ZodNativeEnum<typeof ToolDefinitionContainerMemoryLimit>;
408
+ /** @internal */
409
+ export declare const ToolDefinitionContainerMemoryLimit$outboundSchema: z.ZodNativeEnum<typeof ToolDefinitionContainerMemoryLimit>;
410
+ /** @internal */
411
+ export declare const ToolDefinitionContainer2$inboundSchema: z.ZodType<ToolDefinitionContainer2, z.ZodTypeDef, unknown>;
412
+ /** @internal */
413
+ export type ToolDefinitionContainer2$Outbound = {
414
+ type: string;
415
+ session_scope?: string | undefined;
416
+ file_ids?: Array<string> | null | undefined;
417
+ memory_limit?: string | null | undefined;
418
+ };
419
+ /** @internal */
420
+ export declare const ToolDefinitionContainer2$outboundSchema: z.ZodType<ToolDefinitionContainer2$Outbound, z.ZodTypeDef, ToolDefinitionContainer2>;
421
+ export declare function toolDefinitionContainer2ToJSON(toolDefinitionContainer2: ToolDefinitionContainer2): string;
422
+ export declare function toolDefinitionContainer2FromJSON(jsonString: string): SafeParseResult<ToolDefinitionContainer2, SDKValidationError>;
423
+ /** @internal */
424
+ export declare const ToolDefinitionContainer$inboundSchema: z.ZodType<ToolDefinitionContainer, z.ZodTypeDef, unknown>;
425
+ /** @internal */
426
+ export type ToolDefinitionContainer$Outbound = ToolDefinitionContainer2$Outbound | string;
427
+ /** @internal */
428
+ export declare const ToolDefinitionContainer$outboundSchema: z.ZodType<ToolDefinitionContainer$Outbound, z.ZodTypeDef, ToolDefinitionContainer>;
429
+ export declare function toolDefinitionContainerToJSON(toolDefinitionContainer: ToolDefinitionContainer): string;
430
+ export declare function toolDefinitionContainerFromJSON(jsonString: string): SafeParseResult<ToolDefinitionContainer, SDKValidationError>;
431
+ /** @internal */
355
432
  export declare const Seven$inboundSchema: z.ZodType<Seven, z.ZodTypeDef, unknown>;
356
433
  /** @internal */
357
434
  export type Seven$Outbound = {
358
435
  type: string;
436
+ container: ToolDefinitionContainer2$Outbound | string;
359
437
  };
360
438
  /** @internal */
361
439
  export declare const Seven$outboundSchema: z.ZodType<Seven$Outbound, z.ZodTypeDef, Seven>;
@@ -637,7 +715,7 @@ export declare function toolDefinition2FromJSON(jsonString: string): SafeParseRe
637
715
  /** @internal */
638
716
  export declare const ToolDefinition$inboundSchema: z.ZodType<ToolDefinition, z.ZodTypeDef, unknown>;
639
717
  /** @internal */
640
- export type ToolDefinition$Outbound = ToolDefinition3$Outbound | FunctionToolReference$Outbound | ToolDefinition5$Outbound | Eight$Outbound | ToolDefinition2$Outbound | ToolDefinition6$Outbound | Seven$Outbound | Nine$Outbound | Four1$Outbound | Four2$Outbound;
718
+ export type ToolDefinition$Outbound = ToolDefinition3$Outbound | FunctionToolReference$Outbound | ToolDefinition5$Outbound | Seven$Outbound | Nine$Outbound | ToolDefinition2$Outbound | ToolDefinition6$Outbound | Eight$Outbound | Ten$Outbound | Four1$Outbound | Four2$Outbound;
641
719
  /** @internal */
642
720
  export declare const ToolDefinition$outboundSchema: z.ZodType<ToolDefinition$Outbound, z.ZodTypeDef, ToolDefinition>;
643
721
  export declare function toolDefinitionToJSON(toolDefinition: ToolDefinition): string;