@omnara/sdk 0.1.35 → 0.1.36

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-QMEPMMXM.js";
3
+ } from "./chunk-5VXC3YQG.js";
4
4
  import "./chunk-NZCMY3BC.js";
5
- import "./chunk-ERORBZHC.js";
5
+ import "./chunk-2LTFYXMO.js";
6
6
 
7
7
  // src/browser.ts
8
8
  import * as z from "zod";
@@ -99,6 +99,8 @@ __export(zod_gen_exports, {
99
99
  zCancelAgentResponse2: () => zCancelAgentResponse2,
100
100
  zCancelQueuedBacklogInputPath: () => zCancelQueuedBacklogInputPath,
101
101
  zCancelQueuedBacklogInputResponse: () => zCancelQueuedBacklogInputResponse,
102
+ zChatIntegrationLauncher: () => zChatIntegrationLauncher,
103
+ zChatIntegrationSettings: () => zChatIntegrationSettings,
102
104
  zCheckMachinePoolConnectionBody: () => zCheckMachinePoolConnectionBody,
103
105
  zCheckMachinePoolConnectionPath: () => zCheckMachinePoolConnectionPath,
104
106
  zCheckMachinePoolConnectionRequest: () => zCheckMachinePoolConnectionRequest,
@@ -426,6 +428,9 @@ __export(zod_gen_exports, {
426
428
  zGetToolCatalogResponse: () => zGetToolCatalogResponse,
427
429
  zGitHubAppCredentialsSecretMaterial: () => zGitHubAppCredentialsSecretMaterial,
428
430
  zGitHubInstallations: () => zGitHubInstallations,
431
+ zGitHubIntegrationLauncher: () => zGitHubIntegrationLauncher,
432
+ zGitHubIntegrationSettings: () => zGitHubIntegrationSettings,
433
+ zGitHubRepository: () => zGitHubRepository,
429
434
  zGitHubSetup: () => zGitHubSetup,
430
435
  zGitHubSetupInstallation: () => zGitHubSetupInstallation,
431
436
  zGrantedSecretAvailability: () => zGrantedSecretAvailability,
@@ -500,9 +505,13 @@ __export(zod_gen_exports, {
500
505
  zListEventsPath: () => zListEventsPath,
501
506
  zListEventsQuery: () => zListEventsQuery,
502
507
  zListEventsResponse: () => zListEventsResponse,
508
+ zListGitHubRepositoriesResponse: () => zListGitHubRepositoriesResponse,
503
509
  zListIntegrationDefinitionsPath: () => zListIntegrationDefinitionsPath,
504
510
  zListIntegrationDefinitionsResponse: () => zListIntegrationDefinitionsResponse,
505
511
  zListIntegrationDefinitionsResponse2: () => zListIntegrationDefinitionsResponse2,
512
+ zListIntegrationGitHubRepositoriesPath: () => zListIntegrationGitHubRepositoriesPath,
513
+ zListIntegrationGitHubRepositoriesQuery: () => zListIntegrationGitHubRepositoriesQuery,
514
+ zListIntegrationGitHubRepositoriesResponse: () => zListIntegrationGitHubRepositoriesResponse,
506
515
  zListIntegrationSubscriptionsPath: () => zListIntegrationSubscriptionsPath,
507
516
  zListIntegrationSubscriptionsQuery: () => zListIntegrationSubscriptionsQuery,
508
517
  zListIntegrationSubscriptionsResponse: () => zListIntegrationSubscriptionsResponse,
@@ -997,7 +1006,9 @@ var zAgentConfigDefinitionEventWebhook = z.object({
997
1006
  url: z.string().min(1)
998
1007
  });
999
1008
  var zAgentConfigDefinitionGitCredentials = z.object({
1000
- integration: z.string().regex(/^[a-zA-Z][a-zA-Z0-9-]{0,31}$/)
1009
+ integration: z.string().regex(/^[a-zA-Z][a-zA-Z0-9-]{0,31}$/),
1010
+ repository_ids: z.array(z.int().gte(1)).min(1).max(500).optional(),
1011
+ read_only: z.boolean().optional()
1001
1012
  });
1002
1013
  var zAgentConfigDefinitionInteractionHandler = z.record(z.string(), z.never());
1003
1014
  var zAgentConfigDefinitionInteractionHandlers = z.record(z.string(), zAgentConfigDefinitionInteractionHandler).nullable();
@@ -1668,6 +1679,14 @@ var zGitHubInstallations = z.object({
1668
1679
  installations: z.array(zGitHubSetupInstallation),
1669
1680
  next_page: z.int().gte(1).lte(1e3).optional()
1670
1681
  });
1682
+ var zGitHubRepository = z.object({
1683
+ id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
1684
+ name: z.string()
1685
+ });
1686
+ var zListGitHubRepositoriesResponse = z.object({
1687
+ data: z.array(zGitHubRepository),
1688
+ next_cursor: z.string().nullable()
1689
+ });
1671
1690
  var zSlackSetupIcon = z.object({
1672
1691
  filename: z.string().optional(),
1673
1692
  data_base64: z.string().min(1)
@@ -2870,7 +2889,8 @@ var zCreateMachinePoolRequest = zCreateMachinePoolRequestBase.and(z.union([
2870
2889
  "boxd",
2871
2890
  "createos",
2872
2891
  "daytona",
2873
- "e2b"
2892
+ "e2b",
2893
+ "superserve"
2874
2894
  ]),
2875
2895
  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" }),
2876
2896
  max_total_memory_mb: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
@@ -3562,6 +3582,25 @@ var zListCronTriggersResponse = z.object({
3562
3582
  next_cursor: z.string().nullable()
3563
3583
  });
3564
3584
  var zIntegrationSettings = z.record(z.string(), z.unknown());
3585
+ var zGitHubIntegrationLauncher = z.object({
3586
+ profile: zAgentProfileId,
3587
+ trigger: z.enum([
3588
+ "mention",
3589
+ "pull_request_opened",
3590
+ "both"
3591
+ ]),
3592
+ repository_id: z.string().regex(/^[1-9][0-9]*$/).optional()
3593
+ });
3594
+ var zGitHubIntegrationSettings = z.object({
3595
+ launcher: zGitHubIntegrationLauncher.optional(),
3596
+ code_write: z.boolean().optional()
3597
+ });
3598
+ var zChatIntegrationLauncher = z.object({
3599
+ profiles: z.array(zAgentProfileId).min(1).max(16)
3600
+ });
3601
+ var zChatIntegrationSettings = z.object({
3602
+ launcher: zChatIntegrationLauncher.optional()
3603
+ });
3565
3604
  var zUpdateIntegrationRequest = z.object({
3566
3605
  settings: zIntegrationSettings
3567
3606
  });
@@ -3572,7 +3611,9 @@ var zIntegrationRuntimeFailure = z.object({
3572
3611
  var zIntegrationName = z.string().regex(/^[a-zA-Z][a-zA-Z0-9-]{0,31}$/);
3573
3612
  var zCompiledGitCredentials = z.object({
3574
3613
  integration: zIntegrationName,
3575
- integration_id: zIntegrationId
3614
+ integration_id: zIntegrationId,
3615
+ repository_ids: z.array(z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })).optional(),
3616
+ read_only: z.boolean().optional()
3576
3617
  });
3577
3618
  var zCompiledAgentConfig = z.object({
3578
3619
  version: z.string().optional(),
@@ -5076,6 +5117,7 @@ var zListIntegrationsPath = z.object({
5076
5117
  projectID: zProjectId
5077
5118
  });
5078
5119
  var zListIntegrationsQuery = z.object({
5120
+ name: z.string().min(1).max(200).optional(),
5079
5121
  limit: z.int().gte(1).lte(100).optional().default(50),
5080
5122
  cursor: z.string().max(1024).optional()
5081
5123
  });
@@ -5142,6 +5184,15 @@ var zDisconnectIntegrationPath = z.object({
5142
5184
  integrationID: zIntegrationId
5143
5185
  });
5144
5186
  var zDisconnectIntegrationResponse = zIntegration;
5187
+ var zListIntegrationGitHubRepositoriesPath = z.object({
5188
+ orgID: zOrganizationId,
5189
+ projectID: zProjectId,
5190
+ integrationID: zIntegrationId
5191
+ });
5192
+ var zListIntegrationGitHubRepositoriesQuery = z.object({
5193
+ cursor: z.string().max(1024).optional()
5194
+ });
5195
+ var zListIntegrationGitHubRepositoriesResponse = zListGitHubRepositoriesResponse;
5145
5196
  var zListIntegrationDefinitionsPath = z.object({
5146
5197
  orgID: zOrganizationId,
5147
5198
  projectID: zProjectId
@@ -5298,6 +5349,8 @@ export {
5298
5349
  zInspectGitHubInstallationsRequest,
5299
5350
  zGitHubSetupInstallation,
5300
5351
  zGitHubInstallations,
5352
+ zGitHubRepository,
5353
+ zListGitHubRepositoriesResponse,
5301
5354
  zSlackSetupIcon,
5302
5355
  zCreateSlackSetupRequest,
5303
5356
  zResolveAgentConfigToolsRequest,
@@ -5600,6 +5653,10 @@ export {
5600
5653
  zCronTrigger,
5601
5654
  zListCronTriggersResponse,
5602
5655
  zIntegrationSettings,
5656
+ zGitHubIntegrationLauncher,
5657
+ zGitHubIntegrationSettings,
5658
+ zChatIntegrationLauncher,
5659
+ zChatIntegrationSettings,
5603
5660
  zUpdateIntegrationRequest,
5604
5661
  zIntegrationRuntimeFailure,
5605
5662
  zIntegrationName,
@@ -6124,8 +6181,11 @@ export {
6124
6181
  zConfigureIntegrationResponse,
6125
6182
  zDisconnectIntegrationPath,
6126
6183
  zDisconnectIntegrationResponse,
6184
+ zListIntegrationGitHubRepositoriesPath,
6185
+ zListIntegrationGitHubRepositoriesQuery,
6186
+ zListIntegrationGitHubRepositoriesResponse,
6127
6187
  zListIntegrationDefinitionsPath,
6128
6188
  zListIntegrationDefinitionsResponse2,
6129
6189
  zod_gen_exports
6130
6190
  };
6131
- //# sourceMappingURL=chunk-ERORBZHC.js.map
6191
+ //# sourceMappingURL=chunk-2LTFYXMO.js.map