@opengeni/sdk 0.34.1 → 0.36.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.
package/dist/core.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  OpenGeniStreamError,
9
9
  isRetryableStreamError,
10
10
  resolveWorkspaceVoiceInputEnabled
11
- } from "./chunk-54EKPXXP.js";
11
+ } from "./chunk-I3KLDXFA.js";
12
12
  export {
13
13
  OPENGENI_API_CONTRACT_HEADER,
14
14
  OPENGENI_API_CONTRACT_REVISION,
package/dist/index.d.ts CHANGED
@@ -23,4 +23,4 @@ export type { ActivatePreferenceRegistryRevisionRequest, ChangePreferenceRegistr
23
23
  export { DEFAULT_WORKSPACE_TRANSCRIPTION_POLICY, authorizeTranscriptionAdapter, createTranscriptionSessionRequest, resolveWorkspaceVoiceInputEnabled, resolveWorkspaceTranscriptionPolicy, } from "./transcription";
24
24
  export type { TranscriptionAdapter, TranscriptionAdapterDescriptor, TranscriptionAdapterStartContext, TranscriptionAuthorization, TranscriptionCredentialMode, TranscriptionDiagnostic, TranscriptionErrorCode, TranscriptionEvent, TranscriptionEventListener, TranscriptionLifecycleStatus, TranscriptionPolicyBlockReason, TranscriptionResultMetadata, TranscriptionSession, TranscriptionSessionRequest, TranscriptionSpeaker, TranscriptionTargetSelection, TranscriptionTimeSpan, TranscriptionWord, WorkspaceTranscriptionPolicy, WorkspaceTranscriptionTarget, } from "./transcription";
25
25
  export { KNOWN_PERMISSIONS, KNOWN_USAGE_EVENT_TYPES, OPENGENI_API_CONTRACT_HEADER, OPENGENI_API_CONTRACT_REVISION, OPENGENI_CORRELATION_HEADER, RETAINED_OUTPUT_DEFAULT_PAGE_BYTES, RETAINED_OUTPUT_MAX_PAGE_BYTES, SESSION_EVENT_TYPES, } from "./types";
26
- export type { AccessContext, AccessGrant, AccountGrant, AccountRole, AddWorkspaceMemberRequest, AgentMessageCompletedPayload, AgentTextDeltaPayload, AgentToolCallCreatedPayload, AgentToolCallOutputPayload, ApiKey, BillingBalance, BillingEntitlementsResponse, BillingMode, BillingSummary, BillingUsageResponse, InsightsRange, InsightsBillingPath, InsightsModelUsageRow, InsightsSeriesPoint, InsightsDepthBucket, InsightsModelFacet, InsightsSpendDriver, InsightsWarmGroupRow, InsightsLiveWarmLease, InsightsFloorSession, InsightsScheduleRow, WorkspaceInsightsSnapshot, WorkspaceInsightsResponse, CapabilityCatalogItem, CapabilityCatalogResponse, CapabilityInstallation, CapabilityInstallationStatus, CapabilityKind, CapabilityPack, CapabilityPackConnector, CapabilityPackConnectorAuthModel, CapabilityPackVariableSetSpec, CapabilityPackKnowledge, CapabilityPackScheduledTaskTemplate, CapabilityPackSkill, CapabilityPackSkillFile, CapabilityRuntime, CapabilitySource, CapabilityUnavailableReason, ClientConfig, ClientVoiceInputConfig, ClientModel, ModelAvailabilityV1, ModelBillingAttributionV1, ModelCapabilitiesV1, ModelCapabilityStateV1, ModelCapabilitySupportV1, ModelCredentialReadinessV1, ModelCredentialSourceV1, ModelPricingScheduleV1, ModelPricingV1, WorkspaceModelCatalogModel, WorkspaceModelCatalogResponse, CodexAccount, CodexAccountOverview, CodexAccountsResponse, CodexAllocatorUpdate, CodexAccountSwitchedPayload, CodexConnectionStatus, CodexConnectStart, CodexConnectPoll, CodexFleetConfidence, CodexFleetCacheState, CodexFleetDecisionEventPayload, CodexFleetDecisionScore, CodexFleetShadowComparison, CodexOverviewResponse, CodexResetCredit, CodexResetRedemptionRecovery, CodexRotationSettings, CodexUsage, CodexUsageMap, CodexUsagePayload, CodexUsageWindow, CompactSessionContextResult, ClientSessionEventInput, CompleteFileUploadResponse, ConnectionKind, ConnectionMetadata, ConnectionResponse, ConnectionStatus, AddDocumentRequest, CreateApiKeyRequest, CreateApiKeyResponse, CreateCapabilityCatalogItemRequest, OpenGeniSlackBotInstallRequest, OpenGeniSlackBotInstallStart, CreateConnectionRequest, CreateCheckoutRequest, CreateCheckoutResponse, CreateDocumentBaseRequest, CreateFileUploadRequest, CreateFileUploadResponse, CreateGitHubAppManifestRequest, CreateGitHubAppManifestResponse, CreateKnowledgeDropRequest, CreateKnowledgeMemoryRequest, CreateScheduledTaskRequest, CreateSessionRequest, CreateVariableSetRequest, CreateWorkspaceEnvironmentRequest, CreateWorkspaceRequest, DiscoverMcpCapabilitiesResponse, Document, DocumentBase, DocumentCuration, DocumentCurationStatus, DocumentSearchMode, DocumentSearchRequest, DocumentSearchResponse, DocumentSearchResult, DocumentStatus, DocumentVisibility, MoveDocumentRequest, EnableCapabilityRequest, EnablePackRequest, Entitlements, EntitlementValue, EntitlementsMode, FileAsset, HumanInputAnswer, HumanInputOption, HumanInputQuestion, HumanInputQuestionKind, HumanInputResponse, FileDownloadUrlResponse, FileResourceRef, FileStatus, FileUploadData, FirstPartyMcpToolName, GetPackResponse, GitHubAppInfo, GitHubAppSetupMode, GitHubBindingStatus, GitHubInstallationBinding, GitHubInstallationLifecycle, GitHubRepositoriesResponse, GoogleDriveBrowseItem, GoogleDriveBrowseResponse, GoogleDriveConnectionMetadata, GoogleDriveOAuthStartRequest, GoogleDriveOAuthStartResponse, GoogleDriveReadPolicy, GoogleDriveSelectedSource, GoogleDriveSyncCadence, GoogleDriveTargetScope, GitHubRepository, GitHubRepositoryScope, GoalSpec, IntegrationClientMetadata, KnownPermission, KnownSessionEventType, KnownUsageEventType, KnowledgeMemory, KnowledgeMemoryKind, KnowledgeMemorySearchRequest, KnowledgeMemoryStatus, KnowledgeSourceKind, KnowledgeSourceRef, GitCredentialProvider, GitCredentialBindingId, GitRepositoryAccess, ListApiKeysResponse, ListConnectionsResponse, ListPacksResponse, ListWorkspaceMembersResponse, McpServerConnectionRef, OAuthStartRequest, OAuthStartResponse, PackInstallation, PackInstallationStatus, Permission, ProductAccessMode, LatencyMode, ReasoningEffort, RetainedArtifactContent, RetainedArtifactContentOptions, RetainedArtifactMetadata, RetainedArtifactReference, RetainedArtifactUnavailable, RetainedOutputKind, RetainedOutputUnavailableReason, RecordingAvailablePayload, RecordingCodec, RecordingContentType, RecordingFailedPayload, RecordingFailedReason, RecordingMode, RecordingStartedPayload, RegisterCapabilityPackRequest, RepositoryResourceRef, ResourceRef, SaveGoogleDriveSourceRequest, SandboxBackend, SandboxCapabilityName, SandboxOs, ScheduledTask, ScheduledTaskAgentConfig, ScheduledTaskAgentConfigInput, ScheduledTaskDayOfWeek, ScheduledTaskOverlapPolicy, ScheduledTaskRun, ScheduledTaskRunMode, ScheduledTaskRunStatus, ScheduledTaskScheduleSpec, ScheduledTaskStatus, ScheduledTaskTriggerType, Session, SessionCapabilities, SessionListResponse, SessionLineageResponse, SessionEffectiveToolPolicy, SessionQueueMutationResponse, SessionQueueSnapshot, SessionControlResponse, ComposerDraft, DeleteSessionQueueItemRequest, EditSessionQueueItemRequest, EffectiveControlBlocker, EffectiveControlResumeOption, EffectiveSessionControl, MoveSessionQueueItemRequest, NewSessionDraft, NewSessionDraftOptions, SaveComposerDraftRequest, SaveNewSessionDraftRequest, SessionCommandReceipt, SteerSessionQueueItemRequest, WorkspaceInferenceControlResponse, SessionPendingInputPreview, SessionSystemUpdate, SessionSystemUpdateKind, SessionSystemUpdateState, SessionSummary, LineageNode, SessionMcpCredentialUpdateInput, SessionMcpApprovalPolicy, SessionMcpServerInput, SessionMcpServerMetadata, SessionToolPolicy, FileSystemCapability, TerminalCapability, GitCapability, DesktopStreamCapability, RecordingCapability, ComputerUseCapability, ClientAuthConfig, StreamUrlRotatedPayload, StreamOpenedPayload, StreamClosedPayload, StreamRevokedPayload, AttachViewerRequest, AttachViewerResponse, ViewerHolder, AcknowledgeStreamRequest, AcknowledgeStreamResponse, ViewerHeartbeatRequest, ViewerHeartbeatResponse, SessionEvent, SessionEventCompactResult, SessionEventCompactResultOptions, SessionEventListOptions, SessionEventLatestClass, SessionEventPage, SessionEventPayloadMode, SessionEventReadDirection, SessionEventReadMode, SessionEventResultMode, SessionEventSemanticClass, SessionEventType, SessionGoal, SessionGoalCreatedBy, SessionGoalStatus, SessionHumanInputRequest, SessionStatus, SessionStatusChangedPayload, SessionStructuredCapabilities, SessionTurn, ServiceTurnInitiator, ServiceTurnInitiatorContext, SessionTurnSource, SessionTurnStatus, SubmitHumanInputResponseRequest, TurnInitiator, ToolAuthNeededPayload, UpdateConnectionRequest, SandboxCommandOutputDeltaPayload, FsChangeKind, FsChangedPayload, GitChangedPayload, TerminalPtyStartedPayload, TerminalPtyOutputDeltaPayload, TerminalPtyExitedPayload, FsNodeType, FsTreeNode, FsEncoding, FsListRequest, FsListResponse, FsReadRequest, FsReadResponse, FsWriteRequest, FsWriteResponse, FsDeleteRequest, FsDeleteResponse, FsMoveRequest, FsMoveResponse, FsMkdirRequest, FsMkdirResponse, GitFileStatusCode, GitFileStatus, GitStatusRequest, GitStatusResponse, GitDiffLineType, GitDiffLine, GitDiffHunk, GitFileDiff, GitDiffRequest, GitDiffResponse, GitLogRequest, GitCommit, GitLogResponse, GitShowRequest, GitShowResponse, SetWorkspaceEnvironmentVariableRequest, WorkspaceCaptureFile, WorkspaceCaptureRepo, WorkspaceCaptureDegradedReason, WorkspaceCaptureStats, WorkspaceCaptureManifest, WorkspaceRevisionCapturedPayload, WorkspaceRevisionDegradedPayload, WorkspaceCaptureSignedUrl, GetWorkspaceCaptureResponse, GetWorkspaceCaptureFileResponse, TerminalExecRequest, TerminalExecResponse, PtyOpenRequest, PtyOpenResponse, PtyWriteRequest, PtyResizeRequest, PtyCloseRequest, ToolRef, UpdateKnowledgeMemoryRequest, UpdateScheduledTaskRequest, UpdateSessionGoalRequest, UpdateSessionMcpApprovalPolicyRequest, UpdateSessionMcpApprovalPolicyResponse, UpdateSessionPinRequest, UpdateSessionRequest, UpdateSessionToolPolicyRequest, UpdateVariableSetRequest, UpdateWorkspaceEnvironmentRequest, UpdateWorkspaceMemberRequest, UpdateWorkspaceRequest, UpdateWorkspaceSettingsRequest, TranscribeAudioResponse, UploadFileInput, UsageEvent, UsageEventType, UserApprovalDecisionEventInput, UserHumanInputResponseEventInput, UserMessageEventInput, Workspace, WorkspaceControlEvent, VariableSet, VariableSetVariableMetadata, Rig, RigVersion, RigCheck, RigChange, RigChangeKind, RigChangeStatus, RigCheckResult, RigChangeVerification, CreateRigRequest, UpdateRigRequest, RigSetupAppendPayload, RigDefinitionEditPayload, ProposeRigChangeRequest, WorkspaceEnvironment, WorkspaceEnvironmentVariableMetadata, WorkspaceMember, WorkspaceMemorySearchMode, WorkspaceMemorySearchRequest, WorkspaceMemorySearchResult, WorkspaceMemorySearchResponse, WorkspaceSettings, WorkspaceVoiceInputSettings, WorkspaceRegisteredPack, MetricSample, MachineState, MachineKind, MachineView, MachinesResponse, MachineMetricsSeriesResponse, SwapActiveSandboxRequest, SwapActiveSandboxResponse, EnrollmentOs, DeviceEnrollmentLookupRequest, DeviceEnrollmentLookupResponse, DeviceEnrollmentLookupMachine, DeviceEnrollmentApproveRequest, DeviceEnrollmentApproveResponse, DeviceEnrollmentDenyRequest, DeviceEnrollmentDenyResponse, MintEnrollTokenRequest, MintEnrollTokenResponse, EnrollmentCredentials, EnrollTokenExchangeRequest, EnrollTokenExchangeResponse, } from "./types";
26
+ export type { AccessContext, AccessGrant, AccountGrant, AccountRole, AddWorkspaceMemberRequest, AgentMessageCompletedPayload, AgentTextDeltaPayload, AgentToolCallCreatedPayload, AgentToolCallOutputPayload, ApiKey, BillingBalance, BillingEntitlementsResponse, BillingMode, BillingSummary, BillingUsageResponse, InsightsRange, InsightsBillingPath, InsightsModelUsageRow, InsightsSeriesPoint, InsightsDepthBucket, InsightsModelFacet, InsightsSpendDriver, InsightsWarmGroupRow, InsightsLiveWarmLease, InsightsFloorSession, InsightsScheduleRow, WorkspaceInsightsSnapshot, WorkspaceInsightsResponse, CapabilityCatalogItem, CapabilityCatalogResponse, CapabilityInstallation, CapabilityInstallationStatus, CapabilityKind, CapabilityPack, CapabilityPackConnector, CapabilityPackConnectorAuthModel, CapabilityPackVariableSetSpec, CapabilityPackKnowledge, CapabilityPackScheduledTaskTemplate, CapabilityPackSkill, CapabilityPackSkillFile, CapabilityRuntime, CapabilitySource, CapabilityUnavailableReason, ClientConfig, ClientVoiceInputConfig, ClientModel, ModelAvailabilityV1, ModelBillingAttributionV1, ModelCapabilitiesV1, ModelCapabilityStateV1, ModelCapabilitySupportV1, ModelCredentialReadinessV1, ModelCredentialSourceV1, ModelPricingScheduleV1, ModelPricingV1, WorkspaceModelCatalogModel, WorkspaceModelCatalogResponse, CodexAccount, CodexAccountOverview, CodexAccountsResponse, CodexAllocatorUpdate, CodexAccountSwitchedPayload, CodexConnectionStatus, CodexConnectStart, CodexConnectPoll, CodexFleetConfidence, CodexFleetCacheState, CodexFleetDecisionEventPayload, CodexFleetDecisionScore, CodexFleetShadowComparison, CodexOverviewResponse, CodexResetCredit, CodexResetRedemptionRecovery, CodexRotationSettings, CodexUsage, CodexUsageMap, CodexUsagePayload, CodexUsageWindow, CompactSessionContextResult, ClientSessionEventInput, CompleteFileUploadResponse, ConnectionKind, ConnectionMetadata, ConnectionOwnership, ConnectionResponse, ConnectionStatus, AddDocumentRequest, CreateApiKeyRequest, CreateApiKeyResponse, CreateCapabilityCatalogItemRequest, OpenGeniSlackBotInstallRequest, OpenGeniSlackBotInstallStart, CreateConnectionRequest, CreateCheckoutRequest, CreateCheckoutResponse, CreateDocumentBaseRequest, CreateFileUploadRequest, CreateFileUploadResponse, CreateGitHubAppManifestRequest, CreateGitHubAppManifestResponse, CreateKnowledgeDropRequest, CreateKnowledgeMemoryRequest, CreateScheduledTaskRequest, CreateSessionRequest, CreateVariableSetRequest, CreateWorkspaceEnvironmentRequest, CreateWorkspaceRequest, DiscoverMcpCapabilitiesResponse, Document, DocumentBase, DocumentCuration, DocumentCurationStatus, DocumentSearchMode, DocumentSearchRequest, DocumentSearchResponse, DocumentSearchResult, DocumentStatus, DocumentVisibility, MoveDocumentRequest, EnableCapabilityRequest, EnablePackRequest, Entitlements, EntitlementValue, EntitlementsMode, FileAsset, HumanInputAnswer, HumanInputOption, HumanInputQuestion, HumanInputQuestionKind, HumanInputResponse, FileDownloadUrlResponse, FileResourceRef, FileStatus, FileUploadData, FirstPartyMcpToolName, GetPackResponse, GitHubAppInfo, GitHubAppSetupMode, GitHubBindingStatus, GitHubInstallationBinding, GitHubInstallationLifecycle, GitHubRepositoriesResponse, GoogleDriveBrowseItem, GoogleDriveBrowseResponse, GoogleDriveConnectionMetadata, GoogleDriveOAuthStartRequest, GoogleDriveOAuthStartResponse, GoogleDriveReadPolicy, GoogleDriveSelectedSource, GoogleDriveSyncCadence, GoogleDriveTargetScope, GitHubRepository, GitHubRepositoryScope, GoalSpec, IntegrationClientMetadata, KnownPermission, KnownSessionEventType, KnownUsageEventType, KnowledgeMemory, KnowledgeMemoryKind, KnowledgeMemorySearchRequest, KnowledgeMemoryStatus, KnowledgeSourceKind, KnowledgeSourceRef, GitCredentialProvider, GitCredentialBindingId, GitRepositoryAccess, ListApiKeysResponse, ListConnectionsResponse, ListPacksResponse, ListWorkspaceMembersResponse, McpServerConnectionRef, McpPersonalConnectionDelegation, McpPersonalConnectionSummary, OAuthStartRequest, OAuthStartResponse, PackInstallation, PackInstallationStatus, Permission, ProductAccessMode, LatencyMode, ReasoningEffort, RetainedArtifactContent, RetainedArtifactContentOptions, RetainedArtifactMetadata, RetainedArtifactReference, RetainedArtifactUnavailable, RetainedOutputKind, RetainedOutputUnavailableReason, RecordingAvailablePayload, RecordingCodec, RecordingContentType, RecordingFailedPayload, RecordingFailedReason, RecordingMode, RecordingStartedPayload, RegisterCapabilityPackRequest, RepositoryResourceRef, ResourceRef, SaveGoogleDriveSourceRequest, SandboxBackend, SandboxCapabilityName, SandboxOs, ScheduledTask, ScheduledTaskAgentConfig, ScheduledTaskAgentConfigInput, ScheduledTaskDayOfWeek, ScheduledTaskOverlapPolicy, ScheduledTaskRun, ScheduledTaskRunMode, ScheduledTaskRunStatus, ScheduledTaskScheduleSpec, ScheduledTaskStatus, ScheduledTaskTriggerType, Session, SessionCapabilities, SessionListResponse, SessionLineageResponse, SessionEffectiveToolPolicy, SessionQueueMutationResponse, SessionQueueSnapshot, SessionControlResponse, ComposerDraft, DeleteSessionQueueItemRequest, EditSessionQueueItemRequest, EffectiveControlBlocker, EffectiveControlResumeOption, EffectiveSessionControl, MoveSessionQueueItemRequest, NewSessionDraft, NewSessionDraftOptions, SaveComposerDraftRequest, SaveNewSessionDraftRequest, SessionCommandReceipt, SteerSessionQueueItemRequest, WorkspaceInferenceControlResponse, SessionPendingInputPreview, SessionSystemUpdate, SessionSystemUpdateKind, SessionSystemUpdateState, SessionSummary, LineageNode, SessionMcpCredentialUpdateInput, SessionMcpApprovalPolicy, SessionMcpServerInput, SessionMcpServerMetadata, SessionToolPolicy, FileSystemCapability, TerminalCapability, GitCapability, DesktopStreamCapability, RecordingCapability, ComputerUseCapability, ClientAuthConfig, StreamUrlRotatedPayload, StreamOpenedPayload, StreamClosedPayload, StreamRevokedPayload, AttachViewerRequest, AttachViewerResponse, ViewerHolder, AcknowledgeStreamRequest, AcknowledgeStreamResponse, ViewerHeartbeatRequest, ViewerHeartbeatResponse, SessionEvent, SessionEventCompactResult, SessionEventCompactResultOptions, SessionEventListOptions, SessionEventLatestClass, SessionEventPage, SessionEventPayloadMode, SessionEventReadDirection, SessionEventReadMode, SessionEventResultMode, SessionEventSemanticClass, SessionEventType, SessionGoal, SessionGoalCreatedBy, SessionGoalStatus, SessionHumanInputRequest, SessionStatus, SessionStatusChangedPayload, SessionStructuredCapabilities, SessionTurn, ServiceTurnInitiator, ServiceTurnInitiatorContext, TurnInitiatorContext, SessionTurnSource, SessionTurnStatus, SubmitHumanInputResponseRequest, TurnInitiator, ToolAuthNeededPayload, UpdateConnectionRequest, SandboxCommandOutputDeltaPayload, FsChangeKind, FsChangedPayload, GitChangedPayload, TerminalPtyStartedPayload, TerminalPtyOutputDeltaPayload, TerminalPtyExitedPayload, FsNodeType, FsTreeNode, FsEncoding, FsListRequest, FsListResponse, FsReadRequest, FsReadResponse, FsWriteRequest, FsWriteResponse, FsDeleteRequest, FsDeleteResponse, FsMoveRequest, FsMoveResponse, FsMkdirRequest, FsMkdirResponse, GitFileStatusCode, GitFileStatus, GitStatusRequest, GitStatusResponse, GitDiffLineType, GitDiffLine, GitDiffHunk, GitFileDiff, GitDiffRequest, GitDiffResponse, GitLogRequest, GitCommit, GitLogResponse, GitShowRequest, GitShowResponse, SetWorkspaceEnvironmentVariableRequest, WorkspaceCaptureFile, WorkspaceCaptureRepo, WorkspaceCaptureDegradedReason, WorkspaceCaptureStats, WorkspaceCaptureManifest, WorkspaceRevisionCapturedPayload, WorkspaceRevisionDegradedPayload, WorkspaceCaptureSignedUrl, GetWorkspaceCaptureResponse, GetWorkspaceCaptureFileResponse, TerminalExecRequest, TerminalExecResponse, PtyOpenRequest, PtyOpenResponse, PtyWriteRequest, PtyResizeRequest, PtyCloseRequest, ToolRef, UpdateKnowledgeMemoryRequest, UpdateScheduledTaskRequest, UpdateSessionGoalRequest, UpdateSessionMcpApprovalPolicyRequest, UpdateSessionMcpApprovalPolicyResponse, UpdateSessionPinRequest, UpdateSessionRequest, UpdateSessionToolPolicyRequest, UpdateVariableSetRequest, UpdateWorkspaceEnvironmentRequest, UpdateWorkspaceMemberRequest, UpdateWorkspaceRequest, UpdateWorkspaceSettingsRequest, TranscribeAudioResponse, UploadFileInput, UsageEvent, UsageEventType, UserApprovalDecisionEventInput, UserHumanInputResponseEventInput, UserMessageEventInput, Workspace, WorkspaceControlEvent, VariableSet, VariableSetVariableMetadata, Rig, RigVersion, RigCheck, RigChange, RigChangeKind, RigChangeStatus, RigCheckResult, RigChangeVerification, CreateRigRequest, UpdateRigRequest, RigSetupAppendPayload, RigDefinitionEditPayload, ProposeRigChangeRequest, WorkspaceEnvironment, WorkspaceEnvironmentVariableMetadata, WorkspaceMember, WorkspaceMemorySearchMode, WorkspaceMemorySearchRequest, WorkspaceMemorySearchResult, WorkspaceMemorySearchResponse, WorkspaceSettings, WorkspaceVoiceInputSettings, WorkspaceRegisteredPack, MetricSample, MachineState, MachineKind, MachineView, MachinesResponse, MachineMetricsSeriesResponse, SwapActiveSandboxRequest, SwapActiveSandboxResponse, EnrollmentOs, DeviceEnrollmentLookupRequest, DeviceEnrollmentLookupResponse, DeviceEnrollmentLookupMachine, DeviceEnrollmentApproveRequest, DeviceEnrollmentApproveResponse, DeviceEnrollmentDenyRequest, DeviceEnrollmentDenyResponse, MintEnrollTokenRequest, MintEnrollTokenResponse, EnrollmentCredentials, EnrollTokenExchangeRequest, EnrollTokenExchangeResponse, } from "./types";
package/dist/index.js CHANGED
@@ -21,7 +21,7 @@ import {
21
21
  resolveWorkspaceVoiceInputEnabled,
22
22
  streamSessionEvents,
23
23
  streamWorkspaceControlEvents
24
- } from "./chunk-54EKPXXP.js";
24
+ } from "./chunk-I3KLDXFA.js";
25
25
 
26
26
  // src/artifact-client.ts
27
27
  var OpenGeniClient2 = class extends OpenGeniClient {
package/dist/types.d.ts CHANGED
@@ -257,6 +257,14 @@ export type McpServerConnectionRef = {
257
257
  }> | undefined;
258
258
  subjectScope?: "workspace" | "subject" | undefined;
259
259
  };
260
+ export type McpPersonalConnectionDelegation = {
261
+ serverId: string;
262
+ connectionId: string;
263
+ ownerSubjectId: string;
264
+ providerDomain: string;
265
+ kind?: ConnectionKind | undefined;
266
+ };
267
+ export type McpPersonalConnectionSummary = Pick<McpPersonalConnectionDelegation, "serverId" | "providerDomain">;
260
268
  export type ConnectionMetadata = {
261
269
  id: string;
262
270
  accountId: string;
@@ -282,6 +290,8 @@ export type ConnectionMetadata = {
282
290
  export type CreateConnectionRequest = {
283
291
  providerDomain: string;
284
292
  kind: ConnectionKind;
293
+ ownership?: ConnectionOwnership | undefined;
294
+ /** @deprecated use ownership */
285
295
  subjectId?: string | null | undefined;
286
296
  credential: Record<string, unknown>;
287
297
  grantedScopes?: string[] | undefined;
@@ -369,6 +379,7 @@ export type ConnectionResponse = {
369
379
  export type ListConnectionsResponse = {
370
380
  connections: ConnectionMetadata[];
371
381
  };
382
+ export type ConnectionOwnership = "workspace" | "personal";
372
383
  export type OAuthStartRequest = {
373
384
  providerDomain?: string | undefined;
374
385
  mcpUrl?: string | undefined;
@@ -376,6 +387,7 @@ export type OAuthStartRequest = {
376
387
  requestedScopes?: string[] | undefined;
377
388
  returnPath?: string | undefined;
378
389
  connectionId?: string | undefined;
390
+ ownership?: ConnectionOwnership | undefined;
379
391
  oauthClient?: {
380
392
  clientId: string;
381
393
  clientSecret?: string | undefined;
@@ -421,8 +433,9 @@ export type TurnInitiator = {
421
433
  export type ServiceTurnInitiator = TurnInitiator & {
422
434
  kind: "service";
423
435
  };
436
+ export type TurnInitiatorContext = Record<string, unknown>;
424
437
  /** Bounded host provenance; OpenGeni-owned lineage keys are reserved. */
425
- export type ServiceTurnInitiatorContext = Record<string, unknown>;
438
+ export type ServiceTurnInitiatorContext = TurnInitiatorContext;
426
439
  export type IntegrationClientMetadata = {
427
440
  client_id: string;
428
441
  client_name: "OpenGeni";
@@ -563,6 +576,7 @@ export type SessionTurn = {
563
576
  lineage: Record<string, unknown>;
564
577
  initiator: TurnInitiator;
565
578
  initiatorContext: Record<string, unknown>;
579
+ personalConnections?: McpPersonalConnectionSummary[] | undefined;
566
580
  cancelledBy?: string | null;
567
581
  cancelReason?: string | null;
568
582
  startedAt: string | null;
@@ -755,7 +769,7 @@ export type ToolAuthNeededPayload = {
755
769
  providerDomain: string;
756
770
  provider?: string | undefined;
757
771
  connectionId?: string | null | undefined;
758
- reason: "missing_connection" | "expired" | "insufficient_scope" | "refresh_failed" | "unsupported_auth" | "resource_scope_unavailable";
772
+ reason: "missing_connection" | "expired" | "insufficient_scope" | "refresh_failed" | "personal_authority_unavailable" | "unsupported_auth" | "resource_scope_unavailable";
759
773
  scopes?: string[] | undefined;
760
774
  resource?: string | undefined;
761
775
  selectedResources?: Array<{
@@ -1293,6 +1307,9 @@ export type ScheduledTask = {
1293
1307
  runMode: ScheduledTaskRunMode;
1294
1308
  overlapPolicy: ScheduledTaskOverlapPolicy;
1295
1309
  agentConfig: ScheduledTaskAgentConfig;
1310
+ createdBy?: TurnInitiator | undefined;
1311
+ createdByContext?: TurnInitiatorContext | undefined;
1312
+ personalConnections?: McpPersonalConnectionSummary[] | undefined;
1296
1313
  reusableSessionId: string | null;
1297
1314
  variableSetId: string | null;
1298
1315
  /** @deprecated use variableSetId */
@@ -1995,6 +2012,8 @@ export type NewSessionDraft = {
1995
2012
  export type SessionQueueSnapshot = {
1996
2013
  version: number;
1997
2014
  effectiveControl: EffectiveSessionControl;
2015
+ /** Secret-safe personal MCP summaries frozen on the exact active turn. */
2016
+ activePersonalConnections: McpPersonalConnectionSummary[];
1998
2017
  /** The latest interrupted attempt has not yet durably proved physical quiescence. */
1999
2018
  stoppingPreviousAttempt: boolean;
2000
2019
  items: SessionTurn[];
@@ -2632,6 +2651,11 @@ export type CapabilityPack = {
2632
2651
  category: string;
2633
2652
  version: string;
2634
2653
  sandboxImage?: string | undefined;
2654
+ sandboxProviderImages?: {
2655
+ modal?: {
2656
+ imageId: string;
2657
+ } | undefined;
2658
+ } | undefined;
2635
2659
  skills: CapabilityPackSkill[];
2636
2660
  tools: ToolRef[];
2637
2661
  connectors: CapabilityPackConnector[];
@@ -2649,6 +2673,11 @@ export type RegisterCapabilityPackRequest = {
2649
2673
  category: string;
2650
2674
  version: string;
2651
2675
  sandboxImage?: string | undefined;
2676
+ sandboxProviderImages?: {
2677
+ modal?: {
2678
+ imageId: string;
2679
+ } | undefined;
2680
+ } | undefined;
2652
2681
  skills?: {
2653
2682
  name: string;
2654
2683
  description?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeni/sdk",
3
- "version": "0.34.1",
3
+ "version": "0.36.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": {
package/src/index.ts CHANGED
@@ -252,6 +252,7 @@ export type {
252
252
  CompleteFileUploadResponse,
253
253
  ConnectionKind,
254
254
  ConnectionMetadata,
255
+ ConnectionOwnership,
255
256
  ConnectionResponse,
256
257
  ConnectionStatus,
257
258
  AddDocumentRequest,
@@ -340,6 +341,8 @@ export type {
340
341
  ListPacksResponse,
341
342
  ListWorkspaceMembersResponse,
342
343
  McpServerConnectionRef,
344
+ McpPersonalConnectionDelegation,
345
+ McpPersonalConnectionSummary,
343
346
  OAuthStartRequest,
344
347
  OAuthStartResponse,
345
348
  PackInstallation,
@@ -455,6 +458,7 @@ export type {
455
458
  SessionTurn,
456
459
  ServiceTurnInitiator,
457
460
  ServiceTurnInitiatorContext,
461
+ TurnInitiatorContext,
458
462
  SessionTurnSource,
459
463
  SessionTurnStatus,
460
464
  SubmitHumanInputResponseRequest,
package/src/types.ts CHANGED
@@ -376,6 +376,19 @@ export type McpServerConnectionRef = {
376
376
  subjectScope?: "workspace" | "subject" | undefined;
377
377
  };
378
378
 
379
+ export type McpPersonalConnectionDelegation = {
380
+ serverId: string;
381
+ connectionId: string;
382
+ ownerSubjectId: string;
383
+ providerDomain: string;
384
+ kind?: ConnectionKind | undefined;
385
+ };
386
+
387
+ export type McpPersonalConnectionSummary = Pick<
388
+ McpPersonalConnectionDelegation,
389
+ "serverId" | "providerDomain"
390
+ >;
391
+
379
392
  export type ConnectionMetadata = {
380
393
  id: string;
381
394
  accountId: string;
@@ -402,6 +415,8 @@ export type ConnectionMetadata = {
402
415
  export type CreateConnectionRequest = {
403
416
  providerDomain: string;
404
417
  kind: ConnectionKind;
418
+ ownership?: ConnectionOwnership | undefined;
419
+ /** @deprecated use ownership */
405
420
  subjectId?: string | null | undefined;
406
421
  credential: Record<string, unknown>;
407
422
  grantedScopes?: string[] | undefined;
@@ -503,6 +518,8 @@ export type ListConnectionsResponse = {
503
518
  connections: ConnectionMetadata[];
504
519
  };
505
520
 
521
+ export type ConnectionOwnership = "workspace" | "personal";
522
+
506
523
  export type OAuthStartRequest = {
507
524
  providerDomain?: string | undefined;
508
525
  mcpUrl?: string | undefined;
@@ -510,6 +527,7 @@ export type OAuthStartRequest = {
510
527
  requestedScopes?: string[] | undefined;
511
528
  returnPath?: string | undefined;
512
529
  connectionId?: string | undefined;
530
+ ownership?: ConnectionOwnership | undefined;
513
531
  oauthClient?:
514
532
  | {
515
533
  clientId: string;
@@ -571,8 +589,10 @@ export type TurnInitiator = {
571
589
  /** A trusted embedding host's causal machine/service principal. */
572
590
  export type ServiceTurnInitiator = TurnInitiator & { kind: "service" };
573
591
 
592
+ export type TurnInitiatorContext = Record<string, unknown>;
593
+
574
594
  /** Bounded host provenance; OpenGeni-owned lineage keys are reserved. */
575
- export type ServiceTurnInitiatorContext = Record<string, unknown>;
595
+ export type ServiceTurnInitiatorContext = TurnInitiatorContext;
576
596
 
577
597
  export type IntegrationClientMetadata = {
578
598
  client_id: string;
@@ -746,6 +766,7 @@ export type SessionTurn = {
746
766
  lineage: Record<string, unknown>;
747
767
  initiator: TurnInitiator;
748
768
  initiatorContext: Record<string, unknown>;
769
+ personalConnections?: McpPersonalConnectionSummary[] | undefined;
749
770
  cancelledBy?: string | null;
750
771
  cancelReason?: string | null;
751
772
  startedAt: string | null;
@@ -1089,6 +1110,7 @@ export type ToolAuthNeededPayload = {
1089
1110
  | "expired"
1090
1111
  | "insufficient_scope"
1091
1112
  | "refresh_failed"
1113
+ | "personal_authority_unavailable"
1092
1114
  | "unsupported_auth"
1093
1115
  | "resource_scope_unavailable";
1094
1116
  scopes?: string[] | undefined;
@@ -1651,6 +1673,9 @@ export type ScheduledTask = {
1651
1673
  runMode: ScheduledTaskRunMode;
1652
1674
  overlapPolicy: ScheduledTaskOverlapPolicy;
1653
1675
  agentConfig: ScheduledTaskAgentConfig;
1676
+ createdBy?: TurnInitiator | undefined;
1677
+ createdByContext?: TurnInitiatorContext | undefined;
1678
+ personalConnections?: McpPersonalConnectionSummary[] | undefined;
1654
1679
  reusableSessionId: string | null;
1655
1680
  variableSetId: string | null;
1656
1681
  /** @deprecated use variableSetId */
@@ -2594,6 +2619,8 @@ export type NewSessionDraft = {
2594
2619
  export type SessionQueueSnapshot = {
2595
2620
  version: number;
2596
2621
  effectiveControl: EffectiveSessionControl;
2622
+ /** Secret-safe personal MCP summaries frozen on the exact active turn. */
2623
+ activePersonalConnections: McpPersonalConnectionSummary[];
2597
2624
  /** The latest interrupted attempt has not yet durably proved physical quiescence. */
2598
2625
  stoppingPreviousAttempt: boolean;
2599
2626
  items: SessionTurn[];
@@ -3385,6 +3412,11 @@ export type CapabilityPack = {
3385
3412
  category: string;
3386
3413
  version: string;
3387
3414
  sandboxImage?: string | undefined;
3415
+ sandboxProviderImages?:
3416
+ | {
3417
+ modal?: { imageId: string } | undefined;
3418
+ }
3419
+ | undefined;
3388
3420
  skills: CapabilityPackSkill[];
3389
3421
  tools: ToolRef[];
3390
3422
  connectors: CapabilityPackConnector[];
@@ -3403,6 +3435,11 @@ export type RegisterCapabilityPackRequest = {
3403
3435
  category: string;
3404
3436
  version: string;
3405
3437
  sandboxImage?: string | undefined;
3438
+ sandboxProviderImages?:
3439
+ | {
3440
+ modal?: { imageId: string } | undefined;
3441
+ }
3442
+ | undefined;
3406
3443
  skills?:
3407
3444
  | {
3408
3445
  name: string;