@opengeni/sdk 5.0.5-canary.0 → 5.0.5-canary.2

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/artifacts.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  OpenGeniClient
3
- } from "./chunk-TOB3B4ZJ.js";
4
- import "./chunk-4YAL54F3.js";
5
- import "./chunk-UQGHX4DI.js";
3
+ } from "./chunk-A7KFT3LE.js";
4
+ import "./chunk-KTHFOTHG.js";
5
+ import "./chunk-YTKQQMYF.js";
6
6
  import "./chunk-QTBAMHEF.js";
7
- import "./chunk-TARU5CD2.js";
7
+ import "./chunk-ZGUPH7BG.js";
8
8
  import "./chunk-OO5LPTO7.js";
9
9
  export {
10
10
  OpenGeniClient
package/dist/browser.js CHANGED
@@ -8,12 +8,12 @@ import {
8
8
  } from "./chunk-FMLDFJ2Q.js";
9
9
  import {
10
10
  OpenGeniClient
11
- } from "./chunk-UQGHX4DI.js";
11
+ } from "./chunk-YTKQQMYF.js";
12
12
  import "./chunk-QTBAMHEF.js";
13
13
  import {
14
14
  OPENGENI_API_CONTRACT_HEADER,
15
15
  OPENGENI_API_CONTRACT_REVISION
16
- } from "./chunk-TARU5CD2.js";
16
+ } from "./chunk-ZGUPH7BG.js";
17
17
  import {
18
18
  OpenGeniApiContractMismatchError,
19
19
  OpenGeniApiError,
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  OpenGeniEmbeddingClient
3
- } from "../chunk-J5USCWPE.js";
4
- import "../chunk-TOB3B4ZJ.js";
5
- import "../chunk-4YAL54F3.js";
3
+ } from "../chunk-XWVDS6OX.js";
4
+ import "../chunk-A7KFT3LE.js";
5
+ import "../chunk-KTHFOTHG.js";
6
6
  import {
7
7
  parseSseStream
8
- } from "../chunk-UQGHX4DI.js";
8
+ } from "../chunk-YTKQQMYF.js";
9
9
  import "../chunk-QTBAMHEF.js";
10
- import "../chunk-TARU5CD2.js";
10
+ import "../chunk-ZGUPH7BG.js";
11
11
  import {
12
12
  OpenGeniApiError
13
13
  } from "../chunk-OO5LPTO7.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  OpenGeniDocumentAuthorityClient
3
- } from "./chunk-4YAL54F3.js";
3
+ } from "./chunk-KTHFOTHG.js";
4
4
 
5
5
  // src/artifact-client.ts
6
6
  var OpenGeniClient = class extends OpenGeniDocumentAuthorityClient {
@@ -121,4 +121,4 @@ var OpenGeniClient = class extends OpenGeniDocumentAuthorityClient {
121
121
  export {
122
122
  OpenGeniClient
123
123
  };
124
- //# sourceMappingURL=chunk-TOB3B4ZJ.js.map
124
+ //# sourceMappingURL=chunk-A7KFT3LE.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  OpenGeniClient
3
- } from "./chunk-UQGHX4DI.js";
3
+ } from "./chunk-YTKQQMYF.js";
4
4
 
5
5
  // src/document-authority-client.ts
6
6
  var OpenGeniDocumentAuthorityClient = class extends OpenGeniClient {
@@ -76,4 +76,4 @@ var OpenGeniDocumentAuthorityClient = class extends OpenGeniClient {
76
76
  export {
77
77
  OpenGeniDocumentAuthorityClient
78
78
  };
79
- //# sourceMappingURL=chunk-4YAL54F3.js.map
79
+ //# sourceMappingURL=chunk-KTHFOTHG.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  OpenGeniClient
3
- } from "./chunk-TOB3B4ZJ.js";
3
+ } from "./chunk-A7KFT3LE.js";
4
4
 
5
5
  // src/embedding-client.ts
6
6
  var OpenGeniEmbeddingClient = class extends OpenGeniClient {
@@ -192,4 +192,4 @@ var OpenGeniEmbeddingClient = class extends OpenGeniClient {
192
192
  export {
193
193
  OpenGeniEmbeddingClient
194
194
  };
195
- //# sourceMappingURL=chunk-J5USCWPE.js.map
195
+ //# sourceMappingURL=chunk-XWVDS6OX.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-FMLDFJ2Q.js";
4
4
  import {
5
5
  OpenGeniClient
6
- } from "./chunk-UQGHX4DI.js";
6
+ } from "./chunk-YTKQQMYF.js";
7
7
  import {
8
8
  OpenGeniApiError
9
9
  } from "./chunk-OO5LPTO7.js";
@@ -626,4 +626,4 @@ export {
626
626
  isOpenGeniSiteBridgeCancelMessage,
627
627
  sanitizeOpenGeniSiteToolCallRequest
628
628
  };
629
- //# sourceMappingURL=chunk-ARGX7UY4.js.map
629
+ //# sourceMappingURL=chunk-YIVLK5PZ.js.map
@@ -9,7 +9,7 @@ import {
9
9
  OPENGENI_API_CONTRACT_REVISION,
10
10
  OPENGENI_CORRELATION_HEADER,
11
11
  RETAINED_OUTPUT_MAX_PAGE_BYTES
12
- } from "./chunk-TARU5CD2.js";
12
+ } from "./chunk-ZGUPH7BG.js";
13
13
  import {
14
14
  OpenGeniApiContractMismatchError,
15
15
  OpenGeniApiError,
@@ -3499,6 +3499,12 @@ var OpenGeniClient = class {
3499
3499
  request
3500
3500
  );
3501
3501
  }
3502
+ async searchPublicSkills(workspaceId, query) {
3503
+ return this.requestJson(
3504
+ "GET",
3505
+ `/v1/workspaces/${encodeURIComponent(workspaceId)}/skills/search?q=${encodeURIComponent(query)}`
3506
+ );
3507
+ }
3502
3508
  async listWorkspaces() {
3503
3509
  return await this.requestJson("GET", "/v1/workspaces");
3504
3510
  }
@@ -4928,6 +4934,26 @@ var OpenGeniClient = class {
4928
4934
  }
4929
4935
  );
4930
4936
  }
4937
+ async discoverPlugins(workspaceId, options = {}) {
4938
+ return this.requestJson(
4939
+ "GET",
4940
+ "/v1/workspaces/" + workspaceId + "/capabilities/discovery/plugins",
4941
+ void 0,
4942
+ {
4943
+ ...options.id ? { id: options.id } : {},
4944
+ ...options.query ? { query: options.query } : {},
4945
+ ...options.provider ? { provider: options.provider } : {},
4946
+ ...options.offset !== void 0 ? { offset: String(options.offset) } : {}
4947
+ }
4948
+ );
4949
+ }
4950
+ async inspectMcpAuthentication(workspaceId, url) {
4951
+ return await this.requestJson(
4952
+ "POST",
4953
+ `/v1/workspaces/${workspaceId}/capabilities/discovery/mcp-auth`,
4954
+ { url }
4955
+ );
4956
+ }
4931
4957
  /** List installed protocol-neutral OpenAPI and GraphQL Integrations. */
4932
4958
  async listApiIntegrations(workspaceId) {
4933
4959
  return await this.requestJson(
@@ -5055,6 +5081,11 @@ var OpenGeniClient = class {
5055
5081
  request
5056
5082
  );
5057
5083
  }
5084
+ async getInstalledPluginDetails(workspaceId, pluginKey) {
5085
+ return this.requestJson("GET", `/v1/workspaces/${workspaceId}/plugins/details`, void 0, {
5086
+ pluginKey
5087
+ });
5088
+ }
5058
5089
  async listInstalledPlugins(workspaceId) {
5059
5090
  return await this.requestJson(
5060
5091
  "GET",
@@ -6218,4 +6249,4 @@ export {
6218
6249
  parseMediaGenerationResult,
6219
6250
  OpenGeniClient
6220
6251
  };
6221
- //# sourceMappingURL=chunk-UQGHX4DI.js.map
6252
+ //# sourceMappingURL=chunk-YTKQQMYF.js.map