@omnara/sdk 0.1.5 → 0.1.7

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.
@@ -1,6 +1,8 @@
1
- import {
2
- __export
3
- } from "./chunk-PZ5AY32C.js";
1
+ var __defProp = Object.defineProperty;
2
+ var __export = (target, all) => {
3
+ for (var name in all)
4
+ __defProp(target, name, { get: all[name], enumerable: true });
5
+ };
4
6
 
5
7
  // src/generated/zod.gen.ts
6
8
  var zod_gen_exports = {};
@@ -12,6 +14,7 @@ __export(zod_gen_exports, {
12
14
  zActorProvider: () => zActorProvider,
13
15
  zAgent: () => zAgent,
14
16
  zAgentConfig: () => zAgentConfig,
17
+ zAgentConfigErrorIssue: () => zAgentConfigErrorIssue,
15
18
  zAgentConfigId: () => zAgentConfigId,
16
19
  zAgentConfigModel: () => zAgentConfigModel,
17
20
  zAgentControlType: () => zAgentControlType,
@@ -245,6 +248,8 @@ __export(zod_gen_exports, {
245
248
  zDirectSecretAvailability: () => zDirectSecretAvailability,
246
249
  zDirectSkillAvailability: () => zDirectSkillAvailability,
247
250
  zDiscoveredProviderModel: () => zDiscoveredProviderModel,
251
+ zDownloadDaemonArtifactPath: () => zDownloadDaemonArtifactPath,
252
+ zDownloadDaemonArtifactResponse: () => zDownloadDaemonArtifactResponse,
248
253
  zEndMachineDaemonRuntimePath: () => zEndMachineDaemonRuntimePath,
249
254
  zEndMachineDaemonRuntimeResponse: () => zEndMachineDaemonRuntimeResponse,
250
255
  zError: () => zError,
@@ -636,6 +641,7 @@ __export(zod_gen_exports, {
636
641
  zSkill: () => zSkill,
637
642
  zSkillAvailability: () => zSkillAvailability,
638
643
  zSkillAvailabilitySourceFilter: () => zSkillAvailabilitySourceFilter,
644
+ zSkillFile: () => zSkillFile,
639
645
  zSkillGrant: () => zSkillGrant,
640
646
  zSkillGrantCreateRequest: () => zSkillGrantCreateRequest,
641
647
  zSkillGrantId: () => zSkillGrantId,
@@ -734,6 +740,10 @@ __export(zod_gen_exports, {
734
740
  zUpdateSecretPath: () => zUpdateSecretPath,
735
741
  zUpdateSecretRequest: () => zUpdateSecretRequest,
736
742
  zUpdateSecretResponse: () => zUpdateSecretResponse,
743
+ zUpdateSkillBody: () => zUpdateSkillBody,
744
+ zUpdateSkillPath: () => zUpdateSkillPath,
745
+ zUpdateSkillRequest: () => zUpdateSkillRequest,
746
+ zUpdateSkillResponse: () => zUpdateSkillResponse,
737
747
  zUploadArtifactResponse: () => zUploadArtifactResponse,
738
748
  zUploadDaemonArtifactBody: () => zUploadDaemonArtifactBody,
739
749
  zUploadDaemonArtifactPath: () => zUploadDaemonArtifactPath,
@@ -766,8 +776,15 @@ var zCreatedResourceListSort = z.enum([
766
776
  "-created_at",
767
777
  "created_at"
768
778
  ]).default("-created_at");
779
+ var zAgentConfigErrorIssue = z.object({
780
+ path: z.string(),
781
+ message: z.string(),
782
+ line: z.int().gte(1).optional(),
783
+ column: z.int().gte(1).optional()
784
+ });
769
785
  var zError = z.object({
770
786
  error: z.string(),
787
+ issues: z.array(zAgentConfigErrorIssue).optional(),
771
788
  code: z.enum([
772
789
  "invalid_request",
773
790
  "unauthorized",
@@ -1103,6 +1120,21 @@ var zCreateSkillRequest = z.object({
1103
1120
  owner: zSkillOwnerInput,
1104
1121
  archive: z.string()
1105
1122
  });
1123
+ var zUpdateSkillRequest = z.intersection(z.union([
1124
+ z.object({
1125
+ archive: z.string()
1126
+ }),
1127
+ z.object({
1128
+ skill_md: z.string()
1129
+ })
1130
+ ]), z.object({
1131
+ archive: z.string().optional(),
1132
+ skill_md: z.string().optional()
1133
+ }));
1134
+ var zSkillFile = z.object({
1135
+ path: z.string(),
1136
+ size: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
1137
+ });
1106
1138
  var zSkill = z.object({
1107
1139
  id: zSkillId,
1108
1140
  org_id: zOrganizationId,
@@ -1112,6 +1144,7 @@ var zSkill = z.object({
1112
1144
  revision: z.int().gte(1).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1113
1145
  description: z.string(),
1114
1146
  skill_md: z.string().optional(),
1147
+ files: z.array(zSkillFile).optional(),
1115
1148
  created_at: zTimestamp,
1116
1149
  updated_at: zTimestamp
1117
1150
  });
@@ -1598,6 +1631,15 @@ var zInlineMediaContentBlock = z.object({
1598
1631
  "text/markdown",
1599
1632
  "text/csv",
1600
1633
  "text/tab-separated-values",
1634
+ "text/x-iif",
1635
+ "application/msword",
1636
+ "application/rtf",
1637
+ "application/vnd.oasis.opendocument.text",
1638
+ "application/vnd.apple.pages",
1639
+ "application/vnd.apple.keynote",
1640
+ "application/vnd.apple.iwork",
1641
+ "application/vnd.ms-powerpoint",
1642
+ "application/vnd.ms-excel",
1601
1643
  "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
1602
1644
  "application/vnd.openxmlformats-officedocument.presentationml.presentation",
1603
1645
  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
@@ -3035,6 +3077,12 @@ var zGetSkillPath = z.object({
3035
3077
  skillID: z.string().regex(/^skl_[a-z2-7]{26}$/)
3036
3078
  });
3037
3079
  var zGetSkillResponse = zSkill;
3080
+ var zUpdateSkillBody = zUpdateSkillRequest;
3081
+ var zUpdateSkillPath = z.object({
3082
+ orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
3083
+ skillID: z.string().regex(/^skl_[a-z2-7]{26}$/)
3084
+ });
3085
+ var zUpdateSkillResponse = zSkill;
3038
3086
  var zListSkillGrantsPath = z.object({
3039
3087
  orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
3040
3088
  skillID: zSkillId
@@ -3841,13 +3889,20 @@ var zUploadDaemonArtifactQuery = z.object({
3841
3889
  filename: z.string().min(1).max(255)
3842
3890
  });
3843
3891
  var zUploadDaemonArtifactResponse = zUploadArtifactResponse;
3892
+ var zDownloadDaemonArtifactPath = z.object({
3893
+ toolCallID: zToolCallId,
3894
+ artifactID: zArtifactId
3895
+ });
3896
+ var zDownloadDaemonArtifactResponse = z.string();
3844
3897
 
3845
3898
  export {
3899
+ __export,
3846
3900
  zResourceName,
3847
3901
  zAgentName,
3848
3902
  zSkillName,
3849
3903
  zResourceListSort,
3850
3904
  zCreatedResourceListSort,
3905
+ zAgentConfigErrorIssue,
3851
3906
  zError,
3852
3907
  zWarning,
3853
3908
  zClientErrorCode,
@@ -3928,6 +3983,8 @@ export {
3928
3983
  zUserSkillOwner,
3929
3984
  zSkillOwner,
3930
3985
  zCreateSkillRequest,
3986
+ zUpdateSkillRequest,
3987
+ zSkillFile,
3931
3988
  zSkill,
3932
3989
  zListSkillsResponse,
3933
3990
  zDirectSkillAvailability,
@@ -4301,6 +4358,9 @@ export {
4301
4358
  zDeleteSkillResponse,
4302
4359
  zGetSkillPath,
4303
4360
  zGetSkillResponse,
4361
+ zUpdateSkillBody,
4362
+ zUpdateSkillPath,
4363
+ zUpdateSkillResponse,
4304
4364
  zListSkillGrantsPath,
4305
4365
  zListSkillGrantsQuery,
4306
4366
  zListSkillGrantsResponse2,
@@ -4585,6 +4645,8 @@ export {
4585
4645
  zUploadDaemonArtifactPath,
4586
4646
  zUploadDaemonArtifactQuery,
4587
4647
  zUploadDaemonArtifactResponse,
4648
+ zDownloadDaemonArtifactPath,
4649
+ zDownloadDaemonArtifactResponse,
4588
4650
  zod_gen_exports
4589
4651
  };
4590
- //# sourceMappingURL=chunk-27OYO4MK.js.map
4652
+ //# sourceMappingURL=chunk-WR57Q743.js.map