@opengeni/sdk 0.35.0 → 0.36.1

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/core.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  OpenGeniStreamError,
9
9
  isRetryableStreamError,
10
10
  resolveWorkspaceVoiceInputEnabled
11
- } from "./chunk-UYBM64HP.js";
11
+ } from "./chunk-B7E4FPNZ.js";
12
12
  export {
13
13
  OPENGENI_API_CONTRACT_HEADER,
14
14
  OPENGENI_API_CONTRACT_REVISION,
package/dist/index.js CHANGED
@@ -21,7 +21,7 @@ import {
21
21
  resolveWorkspaceVoiceInputEnabled,
22
22
  streamSessionEvents,
23
23
  streamWorkspaceControlEvents
24
- } from "./chunk-UYBM64HP.js";
24
+ } from "./chunk-B7E4FPNZ.js";
25
25
 
26
26
  // src/artifact-client.ts
27
27
  var OpenGeniClient2 = class extends OpenGeniClient {
package/dist/types.d.ts CHANGED
@@ -1386,6 +1386,9 @@ export type ModelCapabilitiesV1 = {
1386
1386
  responsesWebSocket: ModelCapabilityStateV1;
1387
1387
  realtimeAudio: ModelCapabilityStateV1;
1388
1388
  };
1389
+ promptCaching?: (ModelCapabilityStateV1 & {
1390
+ mode: "implicit" | "automatic" | "none";
1391
+ }) | undefined;
1389
1392
  latencyModes: Array<{
1390
1393
  id: "standard" | "priority" | "fast";
1391
1394
  upstream: ModelCapabilitySupportV1;
@@ -1433,6 +1436,7 @@ export type ClientModel = {
1433
1436
  provider: string;
1434
1437
  providerLabel: string;
1435
1438
  api: "responses" | "chat";
1439
+ source?: "opengeni" | "codex" | "workspace_gateway" | undefined;
1436
1440
  contextWindowTokens?: number | undefined;
1437
1441
  schemaVersion?: 1 | undefined;
1438
1442
  aliases?: string[] | undefined;
@@ -2651,6 +2655,11 @@ export type CapabilityPack = {
2651
2655
  category: string;
2652
2656
  version: string;
2653
2657
  sandboxImage?: string | undefined;
2658
+ sandboxProviderImages?: {
2659
+ modal?: {
2660
+ imageId: string;
2661
+ } | undefined;
2662
+ } | undefined;
2654
2663
  skills: CapabilityPackSkill[];
2655
2664
  tools: ToolRef[];
2656
2665
  connectors: CapabilityPackConnector[];
@@ -2668,6 +2677,11 @@ export type RegisterCapabilityPackRequest = {
2668
2677
  category: string;
2669
2678
  version: string;
2670
2679
  sandboxImage?: string | undefined;
2680
+ sandboxProviderImages?: {
2681
+ modal?: {
2682
+ imageId: string;
2683
+ } | undefined;
2684
+ } | undefined;
2671
2685
  skills?: {
2672
2686
  name: string;
2673
2687
  description?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeni/sdk",
3
- "version": "0.35.0",
3
+ "version": "0.36.1",
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": {
package/src/types.ts CHANGED
@@ -1898,6 +1898,11 @@ export type ModelCapabilitiesV1 = {
1898
1898
  responsesWebSocket: ModelCapabilityStateV1;
1899
1899
  realtimeAudio: ModelCapabilityStateV1;
1900
1900
  };
1901
+ promptCaching?:
1902
+ | (ModelCapabilityStateV1 & {
1903
+ mode: "implicit" | "automatic" | "none";
1904
+ })
1905
+ | undefined;
1901
1906
  latencyModes: Array<{
1902
1907
  id: "standard" | "priority" | "fast";
1903
1908
  upstream: ModelCapabilitySupportV1;
@@ -1946,6 +1951,7 @@ export type ClientModel = {
1946
1951
  provider: string;
1947
1952
  providerLabel: string;
1948
1953
  api: "responses" | "chat";
1954
+ source?: "opengeni" | "codex" | "workspace_gateway" | undefined;
1949
1955
  contextWindowTokens?: number | undefined;
1950
1956
  schemaVersion?: 1 | undefined;
1951
1957
  aliases?: string[] | undefined;
@@ -3412,6 +3418,11 @@ export type CapabilityPack = {
3412
3418
  category: string;
3413
3419
  version: string;
3414
3420
  sandboxImage?: string | undefined;
3421
+ sandboxProviderImages?:
3422
+ | {
3423
+ modal?: { imageId: string } | undefined;
3424
+ }
3425
+ | undefined;
3415
3426
  skills: CapabilityPackSkill[];
3416
3427
  tools: ToolRef[];
3417
3428
  connectors: CapabilityPackConnector[];
@@ -3430,6 +3441,11 @@ export type RegisterCapabilityPackRequest = {
3430
3441
  category: string;
3431
3442
  version: string;
3432
3443
  sandboxImage?: string | undefined;
3444
+ sandboxProviderImages?:
3445
+ | {
3446
+ modal?: { imageId: string } | undefined;
3447
+ }
3448
+ | undefined;
3433
3449
  skills?:
3434
3450
  | {
3435
3451
  name: string;