@opengeni/sdk 6.7.0 → 6.8.0

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.
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  OPENGENI_API_CONTRACT_HEADER,
17
17
  OPENGENI_API_CONTRACT_REVISION
18
- } from "./chunk-374ORIZA.js";
18
+ } from "./chunk-TP7SEFOY.js";
19
19
 
20
20
  // src/message-links.ts
21
21
  var UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/iu;
@@ -1480,4 +1480,4 @@ export {
1480
1480
  createSessionProxyHandler,
1481
1481
  artifactViewerCapability
1482
1482
  };
1483
- //# sourceMappingURL=chunk-56UZAUTT.js.map
1483
+ //# sourceMappingURL=chunk-UGPX5WG7.js.map
package/dist/core.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  OpenGeniDocumentAuthorityClient
3
- } from "./chunk-7NZN7TL4.js";
3
+ } from "./chunk-QAPUVFWN.js";
4
4
  import {
5
5
  resolveWorkspaceVoiceInputEnabled
6
6
  } from "./chunk-ZHX765BU.js";
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-5YNXIBSY.js";
12
12
  import {
13
13
  isTransientRequestError
14
- } from "./chunk-22MN3S5T.js";
14
+ } from "./chunk-JJFUWLVG.js";
15
15
  import "./chunk-4B6PFXUO.js";
16
16
  import "./chunk-KFTMQIVN.js";
17
17
  import "./chunk-UEAULDNI.js";
@@ -33,7 +33,7 @@ import {
33
33
  import {
34
34
  OPENGENI_API_CONTRACT_HEADER,
35
35
  OPENGENI_API_CONTRACT_REVISION
36
- } from "./chunk-374ORIZA.js";
36
+ } from "./chunk-TP7SEFOY.js";
37
37
  export {
38
38
  APPROVAL_REQUIRES_ACCOUNT_OWNER_CODE,
39
39
  OPENGENI_API_CONTRACT_HEADER,
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  OpenGeniDocumentAuthorityClient
3
- } from "./chunk-7NZN7TL4.js";
4
- import "./chunk-22MN3S5T.js";
3
+ } from "./chunk-QAPUVFWN.js";
4
+ import "./chunk-JJFUWLVG.js";
5
5
  import "./chunk-4B6PFXUO.js";
6
6
  import "./chunk-KFTMQIVN.js";
7
7
  import "./chunk-UEAULDNI.js";
8
8
  import "./chunk-ED3E7UIK.js";
9
9
  import "./chunk-X5U35XMP.js";
10
- import "./chunk-374ORIZA.js";
10
+ import "./chunk-TP7SEFOY.js";
11
11
  export {
12
12
  OpenGeniDocumentAuthorityClient
13
13
  };
@@ -18,7 +18,7 @@ import {
18
18
  import {
19
19
  OPENGENI_API_CONTRACT_HEADER,
20
20
  OPENGENI_API_CONTRACT_REVISION
21
- } from "./chunk-374ORIZA.js";
21
+ } from "./chunk-TP7SEFOY.js";
22
22
 
23
23
  // src/editable-artifacts/controller.ts
24
24
  import {
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  OpenGeniEmbeddingClient
3
- } from "./chunk-2SPZL2GL.js";
3
+ } from "./chunk-KTHOZ4QW.js";
4
4
  import {
5
5
  SESSION_SCOPE_HEADER,
6
6
  artifactViewerCapability,
@@ -12,7 +12,7 @@ import {
12
12
  parseRetainedFileReference,
13
13
  parseSandboxLink,
14
14
  parseSessionReference
15
- } from "./chunk-56UZAUTT.js";
15
+ } from "./chunk-UGPX5WG7.js";
16
16
  import "./chunk-UM4ZXXJR.js";
17
17
  import {
18
18
  OPENGENI_WEBHOOK_HEADERS,
@@ -41,8 +41,8 @@ import {
41
41
  sessionListEntry,
42
42
  sessionTitleIsPending
43
43
  } from "./chunk-YTHNS27C.js";
44
- import "./chunk-F53UWS5W.js";
45
- import "./chunk-7NZN7TL4.js";
44
+ import "./chunk-AUYSHHA3.js";
45
+ import "./chunk-QAPUVFWN.js";
46
46
  import {
47
47
  DEFAULT_WORKSPACE_TRANSCRIPTION_POLICY,
48
48
  authorizeTranscriptionAdapter,
@@ -90,7 +90,7 @@ import {
90
90
  isOpenGeniSiteBridgeRequestMessage,
91
91
  isSiteCatalogStaleError,
92
92
  sanitizeOpenGeniSiteToolCallRequest
93
- } from "./chunk-7Y2EIAWD.js";
93
+ } from "./chunk-PEOUZKQA.js";
94
94
  import {
95
95
  EMPTY_FINAL_REPLY_NOTICE,
96
96
  turnCompletedWithEmptyFinalReply
@@ -133,7 +133,7 @@ import {
133
133
  vaultErrorCode,
134
134
  vaultErrorDetail,
135
135
  vaultsApi
136
- } from "./chunk-22MN3S5T.js";
136
+ } from "./chunk-JJFUWLVG.js";
137
137
  import "./chunk-4B6PFXUO.js";
138
138
  import "./chunk-KFTMQIVN.js";
139
139
  import {
@@ -210,7 +210,7 @@ import {
210
210
  RETAINED_OUTPUT_MAX_PAGE_BYTES,
211
211
  SANDBOX_FILE_ARTIFACT_MAX_BYTES,
212
212
  SESSION_EVENT_TYPES
213
- } from "./chunk-374ORIZA.js";
213
+ } from "./chunk-TP7SEFOY.js";
214
214
  import {
215
215
  OPENGENI_TEST_REQUEST_NIL_ID,
216
216
  OPENGENI_WEBHOOK_TEST_EVENT_TYPE,
@@ -3,12 +3,12 @@ import {
3
3
  createSessionProxyHandler,
4
4
  getSessionProxyArtifactAssociation,
5
5
  getSessionProxyWorkspaceGrant
6
- } from "./chunk-56UZAUTT.js";
6
+ } from "./chunk-UGPX5WG7.js";
7
7
  import "./chunk-UM4ZXXJR.js";
8
8
  import "./chunk-QGEIL4TR.js";
9
9
  import "./chunk-4B6PFXUO.js";
10
10
  import "./chunk-X5U35XMP.js";
11
- import "./chunk-374ORIZA.js";
11
+ import "./chunk-TP7SEFOY.js";
12
12
  export {
13
13
  artifactViewerCapability,
14
14
  createSessionProxyHandler,
@@ -20,16 +20,16 @@ import {
20
20
  sanitizeOpenGeniSiteToolCallRequest,
21
21
  sanitizeOpenGeniSiteToolInvokeRequest,
22
22
  serveSiteHttp
23
- } from "./chunk-7Y2EIAWD.js";
23
+ } from "./chunk-PEOUZKQA.js";
24
24
  import "./chunk-CB6D3GDF.js";
25
25
  import "./chunk-5YNXIBSY.js";
26
- import "./chunk-22MN3S5T.js";
26
+ import "./chunk-JJFUWLVG.js";
27
27
  import "./chunk-4B6PFXUO.js";
28
28
  import "./chunk-KFTMQIVN.js";
29
29
  import "./chunk-UEAULDNI.js";
30
30
  import "./chunk-ED3E7UIK.js";
31
31
  import "./chunk-X5U35XMP.js";
32
- import "./chunk-374ORIZA.js";
32
+ import "./chunk-TP7SEFOY.js";
33
33
 
34
34
  // src/site-bridge-host.ts
35
35
  function siteBridgeReadyMessage(bridge, viewer, location) {
package/dist/site.js CHANGED
@@ -37,16 +37,16 @@ import {
37
37
  sanitizeOpenGeniSiteToolInvokeRequest,
38
38
  serveSiteHttp,
39
39
  siteSessionPath
40
- } from "./chunk-7Y2EIAWD.js";
40
+ } from "./chunk-PEOUZKQA.js";
41
41
  import "./chunk-CB6D3GDF.js";
42
42
  import "./chunk-5YNXIBSY.js";
43
- import "./chunk-22MN3S5T.js";
43
+ import "./chunk-JJFUWLVG.js";
44
44
  import "./chunk-4B6PFXUO.js";
45
45
  import "./chunk-KFTMQIVN.js";
46
46
  import "./chunk-UEAULDNI.js";
47
47
  import "./chunk-ED3E7UIK.js";
48
48
  import "./chunk-X5U35XMP.js";
49
- import "./chunk-374ORIZA.js";
49
+ import "./chunk-TP7SEFOY.js";
50
50
  export {
51
51
  OPENGENI_SITE_BRIDGE_BOOTSTRAP_GLOBAL,
52
52
  OPENGENI_SITE_BRIDGE_CANCEL,
package/dist/types.d.ts CHANGED
@@ -4416,6 +4416,14 @@ export type CodexConnectPoll = {
4416
4416
  plan?: string | null;
4417
4417
  accountId?: string;
4418
4418
  isActive?: boolean;
4419
+ /**
4420
+ * Opengeni's Codex models this account offers, read once from its live
4421
+ * model list at connect time. Absent when that read failed.
4422
+ */
4423
+ models?: Array<{
4424
+ id: string;
4425
+ label: string;
4426
+ }>;
4419
4427
  };
4420
4428
  /**
4421
4429
  * Who an account in the organization's list reaches: the workspace that owns
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeni/sdk",
3
- "version": "6.7.0",
3
+ "version": "6.8.0",
4
4
  "description": "Framework-agnostic TypeScript SDK for the Opengeni API: typed client, session lifecycle, SSE event streaming with reconnect + replay-by-sequence, and proxy re-streaming helpers.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -226,8 +226,8 @@
226
226
  "prepublishOnly": "bash ../../scripts/prepublish-guard"
227
227
  },
228
228
  "dependencies": {
229
- "@opengeni/connect": "6.7.0",
230
- "@opengeni/contracts": "6.7.0"
229
+ "@opengeni/connect": "6.8.0",
230
+ "@opengeni/contracts": "6.8.0"
231
231
  },
232
232
  "engines": {
233
233
  "node": ">=18"
package/src/types.ts CHANGED
@@ -5622,6 +5622,11 @@ export type CodexConnectPoll =
5622
5622
  plan?: string | null;
5623
5623
  accountId?: string;
5624
5624
  isActive?: boolean;
5625
+ /**
5626
+ * Opengeni's Codex models this account offers, read once from its live
5627
+ * model list at connect time. Absent when that read failed.
5628
+ */
5629
+ models?: Array<{ id: string; label: string }>;
5625
5630
  };
5626
5631
 
5627
5632
  /**