@omnara/sdk 0.1.20 → 0.1.22

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-63EAPVQN.js";
4
4
  import "./chunk-NZCMY3BC.js";
5
- import "./chunk-MLSLLWDY.js";
5
+ import "./chunk-DNPJPOVB.js";
6
6
 
7
7
  // src/browser.ts
8
8
  import * as z from "zod";
@@ -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-DNPJPOVB.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-63EAPVQN.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,12 @@ 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
+ "tenki"
2640
+ ]),
2629
2641
  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
2642
  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
2643
  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 +4394,7 @@ export {
4382
4394
  zUpdateConfiguredModelRequest,
4383
4395
  zCreateProjectModelGrantRequest,
4384
4396
  zUpdateProjectModelGrantRequest,
4397
+ zProjectModelGrantEffectiveReasoning,
4385
4398
  zMachinePoolId,
4386
4399
  zMachineId,
4387
4400
  zProjectMachineGrantId,
@@ -5151,4 +5164,4 @@ export {
5151
5164
  zDownloadDaemonArtifactResponse,
5152
5165
  zod_gen_exports
5153
5166
  };
5154
- //# sourceMappingURL=chunk-MLSLLWDY.js.map
5167
+ //# sourceMappingURL=chunk-DNPJPOVB.js.map