@omnara/sdk 0.1.20 → 0.1.21

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/browser.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ApiError
3
- } from "./chunk-5VQLRT3P.js";
3
+ } from "./chunk-FU6G5YSO.js";
4
4
  import "./chunk-NZCMY3BC.js";
5
- import "./chunk-MLSLLWDY.js";
5
+ import "./chunk-SVBOJRRF.js";
6
6
 
7
7
  // src/browser.ts
8
8
  import * as z from "zod";
@@ -151,7 +151,7 @@ import {
151
151
  zUpdateSecretResponse,
152
152
  zUpdateSkillResponse,
153
153
  zUploadDaemonArtifactResponse
154
- } from "./chunk-MLSLLWDY.js";
154
+ } from "./chunk-SVBOJRRF.js";
155
155
 
156
156
  // src/generated/core/bodySerializer.gen.ts
157
157
  var serializeFormDataPair = (data, key, value) => {
@@ -3816,4 +3816,4 @@ export {
3816
3816
  downloadDaemonArtifact,
3817
3817
  sdk_gen_exports
3818
3818
  };
3819
- //# sourceMappingURL=chunk-JGI2LGAQ.js.map
3819
+ //# sourceMappingURL=chunk-EBBFPARK.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-NZCMY3BC.js";
4
4
  import {
5
5
  zError
6
- } from "./chunk-MLSLLWDY.js";
6
+ } from "./chunk-SVBOJRRF.js";
7
7
 
8
8
  // src/json-body.ts
9
9
  import * as z from "zod";
@@ -57,4 +57,4 @@ export {
57
57
  zErrorResponse,
58
58
  ApiError
59
59
  };
60
- //# sourceMappingURL=chunk-5VQLRT3P.js.map
60
+ //# sourceMappingURL=chunk-FU6G5YSO.js.map
@@ -618,6 +618,7 @@ __export(zod_gen_exports, {
618
618
  zProjectMachinePoolGrantListItem: () => zProjectMachinePoolGrantListItem,
619
619
  zProjectMembershipGrant: () => zProjectMembershipGrant,
620
620
  zProjectModelGrant: () => zProjectModelGrant,
621
+ zProjectModelGrantEffectiveReasoning: () => zProjectModelGrantEffectiveReasoning,
621
622
  zProjectModelGrantEnvelope: () => zProjectModelGrantEnvelope,
622
623
  zProjectModelGrantId: () => zProjectModelGrantId,
623
624
  zProjectModelGrantListItem: () => zProjectModelGrantListItem,
@@ -1025,6 +1026,11 @@ var zUpdateProjectModelGrantRequest = z.object({
1025
1026
  input_modalities: z.array(z.string()).optional(),
1026
1027
  output_modalities: z.array(z.string()).optional()
1027
1028
  });
1029
+ var zProjectModelGrantEffectiveReasoning = z.object({
1030
+ supports_reasoning: z.boolean(),
1031
+ default_reasoning_effort: z.string(),
1032
+ supported_reasoning_efforts: z.array(z.string())
1033
+ });
1028
1034
  var zMachinePoolId = z.string().regex(/^mpo_[a-z2-7]{26}$/);
1029
1035
  var zMachineId = z.string().regex(/^mch_[a-z2-7]{26}$/);
1030
1036
  var zProjectMachineGrantId = z.string().regex(/^pmg_[a-z2-7]{26}$/);
@@ -1170,7 +1176,8 @@ var zConfiguredModelSummary = z.object({
1170
1176
  });
1171
1177
  var zProjectModelGrantListItem = z.object({
1172
1178
  grant: zProjectModelGrant,
1173
- model: zConfiguredModelSummary
1179
+ model: zConfiguredModelSummary,
1180
+ effective_reasoning: zProjectModelGrantEffectiveReasoning
1174
1181
  });
1175
1182
  var zListProjectModelGrantsResponse = z.object({
1176
1183
  data: z.array(zProjectModelGrantListItem),
@@ -2625,7 +2632,11 @@ var zCreateMachinePoolRequestBase = z.object({
2625
2632
  });
2626
2633
  var zCreateMachinePoolRequest = zCreateMachinePoolRequestBase.and(z.union([
2627
2634
  z.object({
2628
- provider: z.enum(["unikraft", "modal"]),
2635
+ provider: z.enum([
2636
+ "unikraft",
2637
+ "modal",
2638
+ "freestyle"
2639
+ ]),
2629
2640
  default_machine_cpu: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
2630
2641
  default_machine_memory_mb: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
2631
2642
  max_total_cpu: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
@@ -4382,6 +4393,7 @@ export {
4382
4393
  zUpdateConfiguredModelRequest,
4383
4394
  zCreateProjectModelGrantRequest,
4384
4395
  zUpdateProjectModelGrantRequest,
4396
+ zProjectModelGrantEffectiveReasoning,
4385
4397
  zMachinePoolId,
4386
4398
  zMachineId,
4387
4399
  zProjectMachineGrantId,
@@ -5151,4 +5163,4 @@ export {
5151
5163
  zDownloadDaemonArtifactResponse,
5152
5164
  zod_gen_exports
5153
5165
  };
5154
- //# sourceMappingURL=chunk-MLSLLWDY.js.map
5166
+ //# sourceMappingURL=chunk-SVBOJRRF.js.map