@omnara/sdk 0.1.29 → 0.1.31

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-3DNQND7T.js";
3
+ } from "./chunk-BV5UWB2I.js";
4
4
  import "./chunk-NZCMY3BC.js";
5
- import "./chunk-XL7EYMHM.js";
5
+ import "./chunk-TVH7NBS2.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-XL7EYMHM.js";
6
+ } from "./chunk-TVH7NBS2.js";
7
7
 
8
8
  // src/json-body.ts
9
9
  import * as z from "zod";
@@ -56,4 +56,4 @@ export {
56
56
  zErrorResponse,
57
57
  ApiError
58
58
  };
59
- //# sourceMappingURL=chunk-3DNQND7T.js.map
59
+ //# sourceMappingURL=chunk-BV5UWB2I.js.map
@@ -8,6 +8,7 @@ import {
8
8
  zBootstrapDaemonResponse2,
9
9
  zCancelAgentResponse2,
10
10
  zCancelQueuedBacklogInputResponse,
11
+ zCheckMachinePoolConnectionResponse,
11
12
  zConfigureIntegrationResponse,
12
13
  zConnectByoMachineResponse2,
13
14
  zCreateAgentConfigResponse,
@@ -67,6 +68,7 @@ import {
67
68
  zDownloadMemoryFileResponse,
68
69
  zEndMachineDaemonRuntimeResponse,
69
70
  zGetActorResponse,
71
+ zGetAgentConfigGeneratedSourceResponse,
70
72
  zGetAgentConfigResponse,
71
73
  zGetAgentProfileResponse,
72
74
  zGetAgentProfileUsageResponse,
@@ -177,7 +179,7 @@ import {
177
179
  zUpdateSkillResponse,
178
180
  zUploadDaemonFileResponse,
179
181
  zWriteMemoryFileResponse
180
- } from "./chunk-XL7EYMHM.js";
182
+ } from "./chunk-TVH7NBS2.js";
181
183
 
182
184
  // src/generated/core/bodySerializer.gen.ts
183
185
  var serializeFormDataPair = (data, key, value) => {
@@ -1000,6 +1002,7 @@ __export(sdk_gen_exports, {
1000
1002
  bootstrapDaemon: () => bootstrapDaemon,
1001
1003
  cancelAgent: () => cancelAgent,
1002
1004
  cancelQueuedBacklogInput: () => cancelQueuedBacklogInput,
1005
+ checkMachinePoolConnection: () => checkMachinePoolConnection,
1003
1006
  configureIntegration: () => configureIntegration,
1004
1007
  connectByoMachine: () => connectByoMachine,
1005
1008
  createAgent: () => createAgent,
@@ -1061,6 +1064,7 @@ __export(sdk_gen_exports, {
1061
1064
  getActor: () => getActor,
1062
1065
  getAgent: () => getAgent,
1063
1066
  getAgentConfig: () => getAgentConfig,
1067
+ getAgentConfigGeneratedSource: () => getAgentConfigGeneratedSource,
1064
1068
  getAgentProfile: () => getAgentProfile,
1065
1069
  getAgentProfileUsage: () => getAgentProfileUsage,
1066
1070
  getAgentUsage: () => getAgentUsage,
@@ -2411,6 +2415,20 @@ var getAgentConfig = (options) => (options.client ?? client).get({
2411
2415
  url: "/orgs/{orgID}/projects/{projectID}/agent-configs/{agentConfigID}",
2412
2416
  ...options
2413
2417
  });
2418
+ var getAgentConfigGeneratedSource = (options) => (options.client ?? client).get({
2419
+ responseValidator: relaxedResponseValidator(zGetAgentConfigGeneratedSourceResponse),
2420
+ security: [{
2421
+ key: "bearerAuth",
2422
+ scheme: "bearer",
2423
+ type: "http"
2424
+ }, {
2425
+ in: "cookie",
2426
+ name: "__Host-omnara_session",
2427
+ type: "apiKey"
2428
+ }],
2429
+ url: "/orgs/{orgID}/projects/{projectID}/agent-configs/{agentConfigID}/generated-source",
2430
+ ...options
2431
+ });
2414
2432
  var listAgentProfiles = (options) => (options.client ?? client).get({
2415
2433
  responseValidator: relaxedResponseValidator(zListAgentProfilesResponse2),
2416
2434
  security: [{
@@ -3647,6 +3665,28 @@ var createMachinePool = (options) => (options.client ?? client).post({
3647
3665
  ...options.headers
3648
3666
  }
3649
3667
  });
3668
+ var checkMachinePoolConnection = (options) => (options.client ?? client).post({
3669
+ responseValidator: relaxedResponseValidator(zCheckMachinePoolConnectionResponse),
3670
+ security: [
3671
+ {
3672
+ key: "bearerAuth",
3673
+ scheme: "bearer",
3674
+ type: "http"
3675
+ },
3676
+ {
3677
+ in: "cookie",
3678
+ name: "__Host-omnara_session",
3679
+ type: "apiKey"
3680
+ },
3681
+ { name: "X-Omnara-Csrf", type: "apiKey" }
3682
+ ],
3683
+ url: "/orgs/{orgID}/machine-pools/check-connection",
3684
+ ...options,
3685
+ headers: {
3686
+ "Content-Type": "application/json",
3687
+ ...options.headers
3688
+ }
3689
+ });
3650
3690
  var deleteMachinePool = (options) => (options.client ?? client).delete({
3651
3691
  responseValidator: relaxedResponseValidator(zDeleteMachinePoolResponse),
3652
3692
  security: [
@@ -4225,6 +4265,7 @@ export {
4225
4265
  listMcpServers,
4226
4266
  listMcpServerTools,
4227
4267
  getAgentConfig,
4268
+ getAgentConfigGeneratedSource,
4228
4269
  listAgentProfiles,
4229
4270
  createAgentProfile,
4230
4271
  deleteAgentProfile,
@@ -4294,6 +4335,7 @@ export {
4294
4335
  updateProjectModelGrant,
4295
4336
  listMachinePools,
4296
4337
  createMachinePool,
4338
+ checkMachinePoolConnection,
4297
4339
  deleteMachinePool,
4298
4340
  getMachinePool,
4299
4341
  updateMachinePool,
@@ -4327,4 +4369,4 @@ export {
4327
4369
  listIntegrationDefinitions,
4328
4370
  sdk_gen_exports
4329
4371
  };
4330
- //# sourceMappingURL=chunk-57NESCR2.js.map
4372
+ //# sourceMappingURL=chunk-S2WK3EQR.js.map