@omnara/sdk 0.1.3 → 0.1.5

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.
@@ -81,6 +81,8 @@ import {
81
81
  zListEventsResponse,
82
82
  zListIntegrationInstallsResponse2,
83
83
  zListMachinePoolsResponse2,
84
+ zListMcpServerToolsResponse,
85
+ zListMcpServersResponse2,
84
86
  zListMemberProjectAccessResponse,
85
87
  zListModelProviderConfigsResponse,
86
88
  zListOrgApiKeyProjectAccessResponse,
@@ -135,8 +137,9 @@ import {
135
137
  zUpdateOrgMemberResponse,
136
138
  zUpdateProjectMachinePoolGrantResponse,
137
139
  zUpdateProjectModelGrantResponse,
138
- zUpdateSecretResponse
139
- } from "./chunk-42ZLD7JU.js";
140
+ zUpdateSecretResponse,
141
+ zUploadDaemonArtifactResponse
142
+ } from "./chunk-27OYO4MK.js";
140
143
  import {
141
144
  __export
142
145
  } from "./chunk-PZ5AY32C.js";
@@ -1039,6 +1042,8 @@ __export(sdk_gen_exports, {
1039
1042
  listEvents: () => listEvents,
1040
1043
  listIntegrationInstalls: () => listIntegrationInstalls,
1041
1044
  listMachinePools: () => listMachinePools,
1045
+ listMcpServerTools: () => listMcpServerTools,
1046
+ listMcpServers: () => listMcpServers,
1042
1047
  listMemberProjectAccess: () => listMemberProjectAccess,
1043
1048
  listModelProviderConfigs: () => listModelProviderConfigs,
1044
1049
  listOrgApiKeyProjectAccess: () => listOrgApiKeyProjectAccess,
@@ -1094,7 +1099,8 @@ __export(sdk_gen_exports, {
1094
1099
  updateOrgMember: () => updateOrgMember,
1095
1100
  updateProjectMachinePoolGrant: () => updateProjectMachinePoolGrant,
1096
1101
  updateProjectModelGrant: () => updateProjectModelGrant,
1097
- updateSecret: () => updateSecret
1102
+ updateSecret: () => updateSecret,
1103
+ uploadDaemonArtifact: () => uploadDaemonArtifact
1098
1104
  });
1099
1105
 
1100
1106
  // src/validate-response.ts
@@ -2056,6 +2062,42 @@ var getToolCatalog = (options) => (options?.client ?? client).get({
2056
2062
  url: "/api/v1/tool-catalog",
2057
2063
  ...options
2058
2064
  });
2065
+ var listMcpServers = (options) => (options?.client ?? client).get({
2066
+ responseValidator: async (data) => await validateResponse(zListMcpServersResponse2, data),
2067
+ security: [{
2068
+ key: "bearerAuth",
2069
+ scheme: "bearer",
2070
+ type: "http"
2071
+ }, {
2072
+ in: "cookie",
2073
+ name: "__Host-omnara_session",
2074
+ type: "apiKey"
2075
+ }],
2076
+ url: "/api/v1/mcp-servers",
2077
+ ...options
2078
+ });
2079
+ var listMcpServerTools = (options) => (options.client ?? client).post({
2080
+ responseValidator: async (data) => await validateResponse(zListMcpServerToolsResponse, data),
2081
+ security: [
2082
+ {
2083
+ key: "bearerAuth",
2084
+ scheme: "bearer",
2085
+ type: "http"
2086
+ },
2087
+ {
2088
+ in: "cookie",
2089
+ name: "__Host-omnara_session",
2090
+ type: "apiKey"
2091
+ },
2092
+ { name: "X-Omnara-Csrf", type: "apiKey" }
2093
+ ],
2094
+ url: "/api/v1/orgs/{orgID}/projects/{projectID}/mcp-servers/tools",
2095
+ ...options,
2096
+ headers: {
2097
+ "Content-Type": "application/json",
2098
+ ...options.headers
2099
+ }
2100
+ });
2059
2101
  var getAgentConfig = (options) => (options.client ?? client).get({
2060
2102
  responseValidator: async (data) => await validateResponse(zGetAgentConfigResponse, data),
2061
2103
  security: [{
@@ -2884,11 +2926,19 @@ var createMachine = (options) => (options.client ?? client).post({
2884
2926
  });
2885
2927
  var connectByoMachine = (options) => (options.client ?? client).post({
2886
2928
  responseValidator: async (data) => await validateResponse(zConnectByoMachineResponse2, data),
2887
- security: [{
2888
- in: "cookie",
2889
- name: "__Host-omnara_session",
2890
- type: "apiKey"
2891
- }, { name: "X-Omnara-Csrf", type: "apiKey" }],
2929
+ security: [
2930
+ {
2931
+ key: "bearerAuth",
2932
+ scheme: "bearer",
2933
+ type: "http"
2934
+ },
2935
+ {
2936
+ in: "cookie",
2937
+ name: "__Host-omnara_session",
2938
+ type: "apiKey"
2939
+ },
2940
+ { name: "X-Omnara-Csrf", type: "apiKey" }
2941
+ ],
2892
2942
  url: "/api/v1/orgs/{orgID}/machines/connect",
2893
2943
  ...options,
2894
2944
  headers: {
@@ -3493,6 +3543,21 @@ var getDaemonSkillArchive = (options) => (options.client ?? client).get({
3493
3543
  url: "/api/v1/daemon/skills/{skillID}/archive",
3494
3544
  ...options
3495
3545
  });
3546
+ var uploadDaemonArtifact = (options) => (options.client ?? client).post({
3547
+ bodySerializer: null,
3548
+ responseValidator: async (data) => await validateResponse(zUploadDaemonArtifactResponse, data),
3549
+ security: [{
3550
+ key: "machineDaemonAuth",
3551
+ scheme: "bearer",
3552
+ type: "http"
3553
+ }],
3554
+ url: "/api/v1/daemon/tool-calls/{toolCallID}/artifact",
3555
+ ...options,
3556
+ headers: {
3557
+ "Content-Type": "application/octet-stream",
3558
+ ...options.headers
3559
+ }
3560
+ });
3496
3561
 
3497
3562
  export {
3498
3563
  createConfig,
@@ -3554,6 +3619,8 @@ export {
3554
3619
  deleteIntegrationInstall,
3555
3620
  createAgentConfig,
3556
3621
  getToolCatalog,
3622
+ listMcpServers,
3623
+ listMcpServerTools,
3557
3624
  getAgentConfig,
3558
3625
  listAgentProfiles,
3559
3626
  createAgentProfile,
@@ -3637,6 +3704,7 @@ export {
3637
3704
  endMachineDaemonRuntime,
3638
3705
  sleepMachineDaemonRuntime,
3639
3706
  getDaemonSkillArchive,
3707
+ uploadDaemonArtifact,
3640
3708
  sdk_gen_exports
3641
3709
  };
3642
- //# sourceMappingURL=chunk-QXBUKZSC.js.map
3710
+ //# sourceMappingURL=chunk-CHXCNRDJ.js.map