@omnara/sdk 0.1.4 → 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-XCEDZOJZ.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: [{
@@ -3501,6 +3543,21 @@ var getDaemonSkillArchive = (options) => (options.client ?? client).get({
3501
3543
  url: "/api/v1/daemon/skills/{skillID}/archive",
3502
3544
  ...options
3503
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
+ });
3504
3561
 
3505
3562
  export {
3506
3563
  createConfig,
@@ -3562,6 +3619,8 @@ export {
3562
3619
  deleteIntegrationInstall,
3563
3620
  createAgentConfig,
3564
3621
  getToolCatalog,
3622
+ listMcpServers,
3623
+ listMcpServerTools,
3565
3624
  getAgentConfig,
3566
3625
  listAgentProfiles,
3567
3626
  createAgentProfile,
@@ -3645,6 +3704,7 @@ export {
3645
3704
  endMachineDaemonRuntime,
3646
3705
  sleepMachineDaemonRuntime,
3647
3706
  getDaemonSkillArchive,
3707
+ uploadDaemonArtifact,
3648
3708
  sdk_gen_exports
3649
3709
  };
3650
- //# sourceMappingURL=chunk-MEKAERT2.js.map
3710
+ //# sourceMappingURL=chunk-CHXCNRDJ.js.map