@dvina/sdk 4.1.13 → 4.1.21

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.
Files changed (40) hide show
  1. package/dist/_generated_documents-4Z6CHYNG.js +4 -0
  2. package/dist/{_generated_documents-DDOM6L4I.js.map → _generated_documents-4Z6CHYNG.js.map} +1 -1
  3. package/dist/{_generated_documents-P2JDS76B.cjs → _generated_documents-Q4R4ODUS.cjs} +638 -630
  4. package/dist/{_generated_documents-P2JDS76B.cjs.map → _generated_documents-Q4R4ODUS.cjs.map} +1 -1
  5. package/dist/adapters/angular/index.cjs +4 -4
  6. package/dist/adapters/angular/index.cjs.map +1 -1
  7. package/dist/adapters/angular/index.d.cts +4 -4
  8. package/dist/adapters/angular/index.d.ts +4 -4
  9. package/dist/adapters/angular/index.js +2 -2
  10. package/dist/adapters/angular/index.js.map +1 -1
  11. package/dist/adapters/react/index.d.cts +1 -1
  12. package/dist/adapters/react/index.d.ts +1 -1
  13. package/dist/{chunk-5WZGNZOT.js → chunk-3SQWSIES.js} +226 -300
  14. package/dist/chunk-3SQWSIES.js.map +1 -0
  15. package/dist/{chunk-4QI6ACRB.js → chunk-OW5ABYGY.js} +5 -3
  16. package/dist/chunk-OW5ABYGY.js.map +1 -0
  17. package/dist/{chunk-3NVTNOPC.cjs → chunk-QDXQ3Y7H.cjs} +835 -906
  18. package/dist/chunk-QDXQ3Y7H.cjs.map +1 -0
  19. package/dist/{chunk-ULLPEHMQ.cjs → chunk-QKUK3UYB.cjs} +6 -2
  20. package/dist/chunk-QKUK3UYB.cjs.map +1 -0
  21. package/dist/{client-DTPpI37c.d.ts → client-BXO9_63Y.d.ts} +69 -14
  22. package/dist/{client-9HS5mnLX.d.cts → client-CowNNxM_.d.cts} +69 -14
  23. package/dist/{index-C3J-qQro.d.cts → index-CCRTPWIw.d.cts} +2 -2
  24. package/dist/{index-GgmBwFza.d.ts → index-DcgFvhc1.d.ts} +2 -2
  25. package/dist/index.cjs +480 -468
  26. package/dist/index.d.cts +22 -10
  27. package/dist/index.d.ts +22 -10
  28. package/dist/index.js +2 -2
  29. package/dist/pagination/index.d.cts +3 -3
  30. package/dist/pagination/index.d.ts +3 -3
  31. package/dist/{sync-engine-CgKa-lWc.d.ts → sync-engine-BHsj_bC-.d.ts} +18 -6
  32. package/dist/{sync-engine-q1n4rVzP.d.cts → sync-engine-F0397ofh.d.cts} +18 -6
  33. package/dist/{types-k6gSbuaF.d.cts → types-Chg8ASmf.d.cts} +6 -2
  34. package/dist/{types-k6gSbuaF.d.ts → types-Chg8ASmf.d.ts} +6 -2
  35. package/package.json +1 -1
  36. package/dist/_generated_documents-DDOM6L4I.js +0 -4
  37. package/dist/chunk-3NVTNOPC.cjs.map +0 -1
  38. package/dist/chunk-4QI6ACRB.js.map +0 -1
  39. package/dist/chunk-5WZGNZOT.js.map +0 -1
  40. package/dist/chunk-ULLPEHMQ.cjs.map +0 -1
@@ -2,7 +2,7 @@ import { Request, Connection, PageInfo, defaultConnection } from './chunk-KEM6SU
2
2
  import { createInferenceClientInternal } from './chunk-PDM2KR7T.js';
3
3
  import { createHttpTransport, BillingClient, refreshTokenSingleFlight, print, Kind } from './chunk-RVXRT5EI.js';
4
4
  import { GRAPHQL_ERROR_CODES, DvinaAuthenticationError, DvinaNetworkError, DvinaGraphQLError, DvinaError, createGraphQLError } from './chunk-7XBJ77RJ.js';
5
- import { ChatConnectionFragmentDoc, ChatFragmentDoc, FileFragmentDoc, ChatMessageFragmentDoc, AgentConnectionFragmentDoc, ArtifactConnectionFragmentDoc, DesktopDeviceFragmentDoc, InsightFragmentDoc, ChatMessageConnectionFragmentDoc, ProjectFragmentDoc, ContentBlockFragmentDoc, FeedbackFragmentDoc, DatabaseEngineFragmentDoc, TableConnectionFragmentDoc, ProjectDesktopBindingFragmentDoc, DocumentContentFragmentDoc, DocumentFormatFragmentDoc, FeedSendMessageActionFragmentDoc, FeedArtifactDataFragmentDoc, ReportMemberFragmentDoc, ReportConnectionFragmentDoc, IntegrationProviderFragmentDoc, FeedItemGeneratedFragmentDoc, CandidateFragmentDoc, IntegrationFragmentDoc, InsightConnectionFragmentDoc, DatabaseFragmentDoc, DocumentFragmentDoc, RelationFragmentDoc, AbortChatDocument, AddInsightToReportDocument, CancelOauthFlowDocument, CancelWorkspaceDeletionDocument, ConnectIntegrationDocument, ConsumePulseEventsDocument, ContinueImportedChatDocument, ContinueInterpretationDocument, CreateAgentDocument, CreateChatDocument, CreateDatabaseDocument, CreateDocumentDocument, CreateFeedbackDocument, CreateFolderDocument, CreateInsightDocument, CreateIntegrationDocument, CreateProjectDocument, CreateReportDocument, CreateTableDocument, CreateUserSkillFileDocument, CreateUserSkillFolderDocument, DeleteAgentDocument, DeleteAiProviderSettingDocument, DeleteArtifactDocument, DeleteChatDocument, DeleteDatabaseDocument, DeleteDocumentDocument, DeleteFolderDocument, DeleteInsightDocument, DeleteInsightsDocument, DeleteIntegrationDocument, DeleteProjectDocument, DeleteReportDocument, DeleteSavedAiProviderModelDocument, DeleteTableDocument, DeleteUserSkillFileDocument, DeleteUserSkillFolderDocument, DisconnectIntegrationDocument, DismissPulseEventDocument, ExecuteChatImportDocument, GenerateUploadUriDocument, MigrateLegacyCodeChatsDocument, PreviewChatImportDocument, ReanalyzeDocumentDocument, RefineAgentInstructionDocument, RefineSkillInstructionDocument, RefreshDatabaseSchemaDocument, RefreshInsightDocument, RegisterDesktopDeviceDocument, ReinterpretSourceDocument, ReinterpretSourcesOfuserDocument, RelocateInsightDocument, RemoveInsightFromReportDocument, ResetWorkspaceDocument, ResolvePulseEventDocument, ScheduleWorkspaceDeletionDocument, SendMessageDocument, SetDatabasePrimaryKeyDocument, SyncProjectDesktopBindingDocument, UpdateAgentDocument, UpdateArtifactNameDocument, UpdateChatDocument, UpdateDatabaseDocument, UpdateDocumentDocument, UpdateFolderDocument, UpdateInsightDocument, UpdateInsightInReportDocument, UpdateInsightThumbnailDocument, UpdateInterpDocument, UpdateLiveContextDocument, UpdateProjectDocument, UpdatePulseTriggerDocument, UpdateReportDocument, UpdateTableDocument, UpdateUserSkillFileDocument, UpdateUserSkillFolderDocument, UpsertAiProviderSettingDocument, UpsertWorkspaceAiModelDocument, AgentDocument, Agent_ChatsDocument, AgentsDocument, AiProviderSettingDocument, ArtifactDocument, Artifact_ChatDocument, Artifact_Chat_DesktopDeviceDocument, Artifact_Chat_InsightDocument, Artifact_Chat_ProjectDocument, Artifact_FileDocument, Artifact_MessageDocument, Artifact_Message_ChatDocument, Artifact_Message_ContentsDocument, Artifact_Message_FeedbackDocument, ArtifactsDocument, ChatDocument, Chat_AgentsDocument, Chat_ArtifactsDocument, Chat_DesktopDeviceDocument, Chat_DesktopDevice_DesktopBindingsDocument, Chat_InsightDocument, Chat_Insight_ReportMembersDocument, Chat_Insight_ThumbnailFileDocument, Chat_MessagesDocument, Chat_ProjectDocument, Chat_Project_DesktopBindingDocument, ChatMessageDocument, ChatMessage_ArtifactsDocument, ChatMessage_ChatDocument, ChatMessage_Chat_DesktopDeviceDocument, ChatMessage_Chat_InsightDocument, ChatMessage_Chat_ProjectDocument, ChatMessage_ContentsDocument, ChatMessage_FeedbackDocument, ChatMessagesDocument, ChatsDocument, DatabaseDocument, Database_EngineDocument, Database_Engine_CatalogDocument, Database_TablesDocument, DatabaseCatalogDocument, DatabaseCatalog_EngineDocument, DatabaseCatalogsDocument, DatabaseSchemaDocument, DatabasesDocument, DesktopDeviceDocument, DesktopDevice_ChatsDocument, DesktopDevice_DesktopBindingsDocument, DesktopDevicesDocument, DocumentDocument, Document_ContentsDocument, Document_FileDocument, Document_FormatDocument, Document_Format_CatalogDocument, Document_TablesDocument, DocumentCatalogDocument, DocumentCatalog_FormatDocument, DocumentCatalogsDocument, DocumentsDocument, ExportDocument, ExportWithInsightIdDocument, FeedItemDocument, FeedItem_ActionDocument, FeedItem_DataDocument, FeedItemsDocument, FileDocument, FileMetaDocument, FileUrlsDocument, FindFitTierDocument, FolderDocument, FoldersDocument, GetCapabilityDocument, GetDevAccessTokenDocument, GetLimitDocument, GetRemainingDocument, GetTokenUsageByModelDocument, GetTokenUsageHistoryDocument, GetTokenUsageStatusDocument, UsageWindowsStatusTypeFragmentDoc, GetTokenUsageStatus_WindowsDocument, GetTokenUsageStatus_Windows_DayDocument, GetTokenUsageStatus_Windows_FiveHourDocument, GetTokenUsageStatus_Windows_MonthDocument, GetTokenUsageStatus_Windows_WeekDocument, GetUsageDocument, InsightDocument, Insight_ChatDocument, Insight_Chat_DesktopDeviceDocument, Insight_Chat_ProjectDocument, Insight_ReportMembersDocument, Insight_ReportsDocument, Insight_ThumbnailFileDocument, InsightsDocument, IntegrationDocument, Integration_ProviderDocument, Integration_Provider_CatalogDocument, IntegrationCatalogDocument, IntegrationCatalog_ProviderDocument, IntegrationCatalogToolsDocument, IntegrationCatalogsDocument, IntegrationsDocument, InterpretationsDocument, LiveContextDocument, LiveContext_ItemsDocument, LiveContext_SourceDocument, LiveContext_Source_EvidencesDocument, LiveContextsDocument, LocalSandboxDeviceStatusesDocument, ManagedChatModelsDocument, NotificationDocument, NotificationsDocument, NotificationsByReferenceDocument, PrivacyStatsDocument, ProjectDocument, Project_ChatsDocument, Project_DesktopBindingDocument, Project_DesktopBinding_DeviceDocument, ProjectsDocument, PulseAppSummaryDocument, PulseEventDocument, PulseEvent_IntegrationDocument, PulseEvent_Integration_ProviderDocument, PulseEventsDocument, PulseTriggerSettingsDocument, QueryDocument, QueryWithInsightIdDocument, QueryWithMessageIdDocument, ReportDocument, Report_InsightsDocument, Report_LayoutDocument, ReportsDocument, SkillCatalogDocument, TableDocument, Table_DatabaseDocument, Table_Database_EngineDocument, Table_DocumentDocument, Table_Document_ContentsDocument, Table_Document_FileDocument, Table_Document_FormatDocument, Table_FromRelationsDocument, Table_ToRelationsDocument, TablesDocument, UserSkillFileDocument, UserSkillFilesDocument, UserSkillFolderDocument, UserSkillFoldersDocument, WorkspaceAiModelDocument, WorkspaceDeletionScheduleDocument, McpAuthUpdatesDocument, TokenUsageUpdatesDocument } from './chunk-4QI6ACRB.js';
5
+ import { ChatConnectionFragmentDoc, ChatFragmentDoc, FileFragmentDoc, ChatMessageFragmentDoc, AgentConnectionFragmentDoc, ArtifactConnectionFragmentDoc, DesktopDeviceFragmentDoc, InsightFragmentDoc, ChatMessageConnectionFragmentDoc, ProjectFragmentDoc, ContentBlockFragmentDoc, FeedbackFragmentDoc, DatabaseEngineFragmentDoc, TableConnectionFragmentDoc, ProjectDesktopBindingFragmentDoc, DocumentContentFragmentDoc, DocumentFormatFragmentDoc, FeedSendMessageActionFragmentDoc, FeedArtifactDataFragmentDoc, ReportMemberFragmentDoc, ReportConnectionFragmentDoc, IntegrationProviderFragmentDoc, FeedItemGeneratedFragmentDoc, CandidateFragmentDoc, IntegrationFragmentDoc, InsightConnectionFragmentDoc, DatabaseFragmentDoc, DocumentFragmentDoc, RelationFragmentDoc, AbortChatDocument, AddInsightToReportDocument, CancelOauthFlowDocument, CancelWorkspaceDeletionDocument, CloseActiveTabsDocument, ConnectIntegrationDocument, ConsumePulseEventsDocument, ContinueImportedChatDocument, ContinueInterpretationDocument, CreateAgentDocument, CreateChatDocument, CreateDatabaseDocument, CreateDocumentDocument, CreateFeedbackDocument, CreateFolderDocument, CreateInsightDocument, CreateIntegrationDocument, CreateProjectDocument, CreateReportDocument, CreateTableDocument, CreateUserSkillFileDocument, CreateUserSkillFolderDocument, DeleteAgentDocument, DeleteAiProviderSettingDocument, DeleteArtifactDocument, DeleteChatDocument, DeleteDatabaseDocument, DeleteDocumentDocument, DeleteFolderDocument, DeleteInsightDocument, DeleteInsightsDocument, DeleteIntegrationDocument, DeleteProjectDocument, DeleteReportDocument, DeleteSavedAiProviderModelDocument, DeleteTableDocument, DeleteUserSkillFileDocument, DeleteUserSkillFolderDocument, DisconnectIntegrationDocument, DismissPulseEventDocument, ExecuteChatImportDocument, GenerateUploadUriDocument, MigrateLegacyCodeChatsDocument, OpenActiveTabDocument, PreviewChatImportDocument, ReanalyzeDocumentDocument, RefineAgentInstructionDocument, RefineSkillInstructionDocument, RefreshDatabaseSchemaDocument, RefreshInsightDocument, RegisterDesktopDeviceDocument, ReinterpretSourceDocument, ReinterpretSourcesOfuserDocument, RelocateInsightDocument, RemoveInsightFromReportDocument, ResetWorkspaceDocument, ResolvePulseEventDocument, ScheduleWorkspaceDeletionDocument, SendMessageDocument, SetDatabasePrimaryKeyDocument, SyncProjectDesktopBindingDocument, UpdateAgentDocument, UpdateArtifactNameDocument, UpdateChatDocument, UpdateDatabaseDocument, UpdateDocumentDocument, UpdateFolderDocument, UpdateInsightDocument, UpdateInsightInReportDocument, UpdateInsightThumbnailDocument, UpdateInterpDocument, UpdateLiveContextDocument, UpdateProjectDocument, UpdatePulseTriggerDocument, UpdateReportDocument, UpdateTableDocument, UpdateUserSkillFileDocument, UpdateUserSkillFolderDocument, UpsertAiProviderSettingDocument, UpsertWorkspaceAiModelDocument, AgentDocument, Agent_ChatsDocument, AgentsDocument, AiProviderSettingDocument, ArtifactDocument, Artifact_ChatDocument, Artifact_Chat_DesktopDeviceDocument, Artifact_Chat_InsightDocument, Artifact_Chat_ProjectDocument, Artifact_FileDocument, Artifact_MessageDocument, Artifact_Message_ChatDocument, Artifact_Message_ContentsDocument, Artifact_Message_FeedbackDocument, ArtifactsDocument, ChatDocument, Chat_AgentsDocument, Chat_ArtifactsDocument, Chat_DesktopDeviceDocument, Chat_DesktopDevice_DesktopBindingsDocument, Chat_InsightDocument, Chat_Insight_ReportMembersDocument, Chat_Insight_ThumbnailFileDocument, Chat_MessagesDocument, Chat_ProjectDocument, Chat_Project_DesktopBindingDocument, ChatMessageDocument, ChatMessage_ArtifactsDocument, ChatMessage_ChatDocument, ChatMessage_Chat_DesktopDeviceDocument, ChatMessage_Chat_InsightDocument, ChatMessage_Chat_ProjectDocument, ChatMessage_ContentsDocument, ChatMessage_FeedbackDocument, ChatMessagesDocument, ChatsDocument, DatabaseDocument, Database_EngineDocument, Database_Engine_CatalogDocument, Database_TablesDocument, DatabaseCatalogDocument, DatabaseCatalog_EngineDocument, DatabaseCatalogsDocument, DatabaseSchemaDocument, DatabasesDocument, DesktopDeviceDocument, DesktopDevice_ChatsDocument, DesktopDevice_DesktopBindingsDocument, DesktopDevicesDocument, DocumentDocument, Document_ContentsDocument, Document_FileDocument, Document_FormatDocument, Document_Format_CatalogDocument, Document_TablesDocument, DocumentCatalogDocument, DocumentCatalog_FormatDocument, DocumentCatalogsDocument, DocumentsDocument, ExportDocument, ExportWithInsightIdDocument, FeedItemDocument, FeedItem_ActionDocument, FeedItem_DataDocument, FeedItemsDocument, FileDocument, FileMetaDocument, FileUrlsDocument, FindFitTierDocument, FolderDocument, FoldersDocument, GetCapabilityDocument, GetDevAccessTokenDocument, GetLimitDocument, GetRemainingDocument, GetTokenUsageByModelDocument, GetTokenUsageHistoryDocument, GetTokenUsageStatusDocument, UsageWindowsStatusTypeFragmentDoc, GetTokenUsageStatus_WindowsDocument, GetTokenUsageStatus_Windows_DayDocument, GetTokenUsageStatus_Windows_FiveHourDocument, GetTokenUsageStatus_Windows_MonthDocument, GetTokenUsageStatus_Windows_WeekDocument, GetUsageDocument, InsightDocument, Insight_ChatDocument, Insight_Chat_DesktopDeviceDocument, Insight_Chat_ProjectDocument, Insight_ReportMembersDocument, Insight_ReportsDocument, Insight_ThumbnailFileDocument, InsightsDocument, IntegrationDocument, Integration_ProviderDocument, Integration_Provider_CatalogDocument, IntegrationCatalogDocument, IntegrationCatalog_ProviderDocument, IntegrationCatalogToolsDocument, IntegrationCatalogsDocument, IntegrationsDocument, InterpretationsDocument, LiveContextDocument, LiveContext_ItemsDocument, LiveContext_SourceDocument, LiveContext_Source_EvidencesDocument, LiveContextsDocument, LocalSandboxDeviceStatusesDocument, ManagedChatModelsDocument, NotificationDocument, NotificationsDocument, NotificationsByReferenceDocument, PrivacyStatsDocument, ProjectDocument, Project_ChatsDocument, Project_DesktopBindingDocument, Project_DesktopBinding_DeviceDocument, ProjectsDocument, PulseAppSummaryDocument, PulseEventDocument, PulseEvent_IntegrationDocument, PulseEvent_Integration_ProviderDocument, PulseEventsDocument, PulseTriggerSettingsDocument, QueryDocument, QueryWithInsightIdDocument, QueryWithMessageIdDocument, ReportDocument, Report_InsightsDocument, Report_LayoutDocument, ReportsDocument, SkillCatalogDocument, TableDocument, Table_DatabaseDocument, Table_Database_EngineDocument, Table_DocumentDocument, Table_Document_ContentsDocument, Table_Document_FileDocument, Table_Document_FormatDocument, Table_FromRelationsDocument, Table_ToRelationsDocument, TablesDocument, UserSkillFileDocument, UserSkillFilesDocument, UserSkillFolderDocument, UserSkillFoldersDocument, WorkspaceAiModelDocument, WorkspaceDeletionScheduleDocument, McpAuthUpdatesDocument, TokenUsageUpdatesDocument } from './chunk-OW5ABYGY.js';
6
6
  import { __commonJS, __toESM } from './chunk-5WRI5ZAA.js';
7
7
 
8
8
  // ../../node_modules/.pnpm/dexie@4.3.0/node_modules/dexie/dist/dexie.js
@@ -6281,241 +6281,8 @@ var ChatStreamConnection = class {
6281
6281
  this.staleTimer = void 0;
6282
6282
  }
6283
6283
  };
6284
- var ActiveChatStreamConnection = class {
6285
- constructor(options, onEmpty) {
6286
- this.options = options;
6287
- this.onEmpty = onEmpty;
6288
- }
6289
- abortController;
6290
- consecutiveAuthFailures = 0;
6291
- destroyed = false;
6292
- needsForceRefresh = false;
6293
- reconnectDelay = INITIAL_RECONNECT_DELAY_MS;
6294
- reconnectTimer;
6295
- staleReconnectRequested = false;
6296
- staleTimer;
6297
- shouldReconnect = false;
6298
- subscribers = /* @__PURE__ */ new Set();
6299
- addSubscriber(subscriber) {
6300
- if (this.destroyed) {
6301
- throw new Error("Active chat stream is closed");
6302
- }
6303
- this.subscribers.add(subscriber);
6304
- if (!this.shouldReconnect) {
6305
- this.shouldReconnect = true;
6306
- void this.doConnect();
6307
- }
6308
- }
6309
- removeSubscriber(subscriber) {
6310
- this.subscribers.delete(subscriber);
6311
- if (this.subscribers.size === 0) {
6312
- this.close();
6313
- }
6314
- }
6315
- reconnect() {
6316
- if (!this.shouldReconnect || this.destroyed || this.subscribers.size === 0) {
6317
- return;
6318
- }
6319
- if (this.reconnectTimer) {
6320
- clearTimeout(this.reconnectTimer);
6321
- this.reconnectTimer = void 0;
6322
- }
6323
- if (this.abortController) {
6324
- this.abortController.abort();
6325
- this.abortController = void 0;
6326
- }
6327
- void this.doConnect();
6328
- }
6329
- close(error) {
6330
- this.shouldReconnect = false;
6331
- this.destroyed = true;
6332
- this.staleReconnectRequested = false;
6333
- this.clearStaleTimer();
6334
- if (this.reconnectTimer) {
6335
- clearTimeout(this.reconnectTimer);
6336
- this.reconnectTimer = void 0;
6337
- }
6338
- if (this.abortController) {
6339
- this.abortController.abort();
6340
- this.abortController = void 0;
6341
- }
6342
- for (const subscriber of Array.from(this.subscribers)) {
6343
- subscriber.finish(error);
6344
- }
6345
- this.subscribers.clear();
6346
- this.onEmpty(this);
6347
- }
6348
- get isDestroyed() {
6349
- return this.destroyed;
6350
- }
6351
- async doConnect() {
6352
- if (!this.shouldReconnect || this.destroyed || this.subscribers.size === 0) {
6353
- return;
6354
- }
6355
- this.abortController = new AbortController();
6356
- try {
6357
- const forceRefresh = this.needsForceRefresh;
6358
- this.needsForceRefresh = false;
6359
- const token = await this.options.getToken(forceRefresh ? { forceRefresh: true } : void 0);
6360
- const response = await fetch(new URL(`${this.options.baseUrl}/active`).toString(), {
6361
- method: "GET",
6362
- headers: {
6363
- Accept: "text/event-stream",
6364
- Authorization: `Bearer ${token}`,
6365
- "Cache-Control": "no-cache"
6366
- },
6367
- signal: this.abortController.signal
6368
- });
6369
- if (!response.ok) {
6370
- if (response.status === 401 || response.status === 403) {
6371
- throw new AuthChatStreamError(response.status);
6372
- }
6373
- throw new Error(`Active chat stream connection failed: ${response.status} ${response.statusText}`);
6374
- }
6375
- if (!response.body) {
6376
- throw new Error("Active chat stream response has no body");
6377
- }
6378
- this.consecutiveAuthFailures = 0;
6379
- this.reconnectDelay = INITIAL_RECONNECT_DELAY_MS;
6380
- this.staleReconnectRequested = false;
6381
- this.armStaleTimer();
6382
- await this.parseSseStream(response.body, this.abortController.signal);
6383
- } catch (error) {
6384
- this.clearStaleTimer();
6385
- if (error.name === "AbortError") {
6386
- if (this.staleReconnectRequested && this.shouldReconnect && !this.destroyed && this.subscribers.size > 0) {
6387
- this.staleReconnectRequested = false;
6388
- this.scheduleReconnect(INITIAL_RECONNECT_DELAY_MS);
6389
- }
6390
- return;
6391
- }
6392
- if (!this.shouldReconnect || this.destroyed || this.subscribers.size === 0) {
6393
- return;
6394
- }
6395
- if (error instanceof DvinaAuthenticationError) {
6396
- this.options.onError?.(error);
6397
- this.close(error);
6398
- return;
6399
- }
6400
- const isAuthError2 = error instanceof AuthChatStreamError;
6401
- if (isAuthError2) {
6402
- this.consecutiveAuthFailures += 1;
6403
- if (this.consecutiveAuthFailures >= MAX_CONSECUTIVE_AUTH_FAILURES) {
6404
- const authError = new DvinaAuthenticationError(
6405
- "Active chat SSE stream authentication failed permanently"
6406
- );
6407
- this.options.onError?.(authError);
6408
- this.close(authError);
6409
- return;
6410
- }
6411
- this.needsForceRefresh = true;
6412
- }
6413
- const delay = isAuthError2 ? INITIAL_RECONNECT_DELAY_MS : this.reconnectDelay;
6414
- this.scheduleReconnect(delay);
6415
- if (!isAuthError2) {
6416
- this.reconnectDelay = Math.min(
6417
- this.reconnectDelay * RECONNECT_BACKOFF_MULTIPLIER,
6418
- MAX_RECONNECT_DELAY_MS
6419
- );
6420
- }
6421
- }
6422
- }
6423
- async parseSseStream(body, signal) {
6424
- const reader = body.getReader();
6425
- const decoder = new TextDecoder();
6426
- let buffer = "";
6427
- try {
6428
- while (!signal.aborted && this.shouldReconnect && !this.destroyed) {
6429
- const { done, value } = await reader.read();
6430
- if (done) {
6431
- break;
6432
- }
6433
- this.armStaleTimer();
6434
- buffer += decoder.decode(value, { stream: true });
6435
- const parts = buffer.split(/(?:\r\n|\r|\n){2}/);
6436
- buffer = parts.pop() ?? "";
6437
- for (const part of parts) {
6438
- this.processEventBlock(part.trim());
6439
- }
6440
- }
6441
- } finally {
6442
- this.clearStaleTimer();
6443
- reader.releaseLock();
6444
- }
6445
- if (this.shouldReconnect && !this.destroyed && this.subscribers.size > 0) {
6446
- this.scheduleReconnect(this.reconnectDelay);
6447
- }
6448
- }
6449
- processEventBlock(block) {
6450
- if (!block || block.startsWith(":")) {
6451
- return;
6452
- }
6453
- let eventType;
6454
- const dataLines = [];
6455
- for (const line of block.split(/\r\n|\r|\n/)) {
6456
- if (line.startsWith("event: ")) {
6457
- eventType = line.slice(7).trim();
6458
- } else if (line.startsWith("data: ")) {
6459
- dataLines.push(line.slice(6));
6460
- }
6461
- }
6462
- if (eventType === "token-expired") {
6463
- this.needsForceRefresh = true;
6464
- throw new AuthChatStreamError(401);
6465
- }
6466
- if (eventType !== "active" || dataLines.length === 0) {
6467
- return;
6468
- }
6469
- try {
6470
- const payload = JSON.parse(dataLines.join("\n"));
6471
- if (!Array.isArray(payload) || payload.some((chatId) => typeof chatId !== "string")) {
6472
- return;
6473
- }
6474
- this.push(payload);
6475
- } catch {
6476
- }
6477
- }
6478
- push(value) {
6479
- for (const subscriber of this.subscribers) {
6480
- subscriber.push(value);
6481
- }
6482
- }
6483
- scheduleReconnect(delay) {
6484
- if (!this.shouldReconnect || this.destroyed || this.subscribers.size === 0) {
6485
- return;
6486
- }
6487
- if (this.reconnectTimer) {
6488
- clearTimeout(this.reconnectTimer);
6489
- }
6490
- this.reconnectTimer = setTimeout(() => {
6491
- this.reconnectTimer = void 0;
6492
- void this.doConnect();
6493
- }, delay);
6494
- }
6495
- armStaleTimer() {
6496
- this.clearStaleTimer();
6497
- if (!this.abortController || !this.shouldReconnect || this.destroyed) {
6498
- return;
6499
- }
6500
- this.staleTimer = setTimeout(() => {
6501
- if (!this.abortController || !this.shouldReconnect || this.destroyed) {
6502
- return;
6503
- }
6504
- this.staleReconnectRequested = true;
6505
- this.abortController.abort();
6506
- }, STALE_CONNECTION_TIMEOUT_MS);
6507
- }
6508
- clearStaleTimer() {
6509
- if (!this.staleTimer) {
6510
- return;
6511
- }
6512
- clearTimeout(this.staleTimer);
6513
- this.staleTimer = void 0;
6514
- }
6515
- };
6516
6284
  function createChatStreamClient(options) {
6517
6285
  const connections = /* @__PURE__ */ new Map();
6518
- let activeConnection;
6519
6286
  function getConnection(chatId) {
6520
6287
  const existing = connections.get(chatId);
6521
6288
  if (existing && !existing.isDestroyed) {
@@ -6529,17 +6296,6 @@ function createChatStreamClient(options) {
6529
6296
  connections.set(chatId, connection);
6530
6297
  return connection;
6531
6298
  }
6532
- function getActiveConnection() {
6533
- if (activeConnection && !activeConnection.isDestroyed) {
6534
- return activeConnection;
6535
- }
6536
- activeConnection = new ActiveChatStreamConnection(options, (currentConnection) => {
6537
- if (activeConnection === currentConnection) {
6538
- activeConnection = void 0;
6539
- }
6540
- });
6541
- return activeConnection;
6542
- }
6543
6299
  function stream(chatId) {
6544
6300
  return {
6545
6301
  [Symbol.asyncIterator]() {
@@ -6649,55 +6405,18 @@ function createChatStreamClient(options) {
6649
6405
  }
6650
6406
  };
6651
6407
  }
6652
- function listenActive(handlers) {
6653
- const connection = getActiveConnection();
6654
- let stopped = false;
6655
- const subscriber = {
6656
- finish(error) {
6657
- if (stopped) {
6658
- return;
6659
- }
6660
- stopped = true;
6661
- if (error) {
6662
- handlers.error?.(error);
6663
- }
6664
- },
6665
- push(value) {
6666
- if (stopped) {
6667
- return;
6668
- }
6669
- handlers.next(value);
6670
- }
6671
- };
6672
- connection.addSubscriber(subscriber);
6673
- return {
6674
- stop() {
6675
- if (stopped) {
6676
- return;
6677
- }
6678
- stopped = true;
6679
- connection.removeSubscriber(subscriber);
6680
- }
6681
- };
6682
- }
6683
6408
  function reconnectAll() {
6684
6409
  for (const connection of connections.values()) {
6685
6410
  connection.reconnect();
6686
6411
  }
6687
- activeConnection?.reconnect();
6688
6412
  }
6689
6413
  function destroy() {
6690
6414
  for (const connection of Array.from(connections.values())) {
6691
6415
  connection.close();
6692
6416
  }
6693
6417
  connections.clear();
6694
- activeConnection?.close();
6695
- activeConnection = void 0;
6696
6418
  }
6697
6419
  return {
6698
- active: {
6699
- listen: listenActive
6700
- },
6701
6420
  listen,
6702
6421
  stream,
6703
6422
  reconnectAll,
@@ -7663,7 +7382,7 @@ function createWsTransport(options) {
7663
7382
  }
7664
7383
 
7665
7384
  // src/_generated_store.ts
7666
- var SCHEMA_HASH = "da10740202fec9c4";
7385
+ var SCHEMA_HASH = "7924df91a3e4f14f";
7667
7386
  var DB_ENTITY_SCHEMA = {
7668
7387
  actions: "id",
7669
7388
  agents: "id",
@@ -7708,7 +7427,7 @@ var DB_ENTITY_SCHEMA = {
7708
7427
  interpretations: "id",
7709
7428
  invocations: "id",
7710
7429
  liveContexts: "id",
7711
- localSandboxDeviceStatusModels: "deviceId",
7430
+ localSandboxDeviceStatusModels: "id",
7712
7431
  mcpClientInformations: "id",
7713
7432
  mcpCodeVerifiers: "id",
7714
7433
  mcpServers: "id",
@@ -7902,7 +7621,6 @@ var PRIMARY_KEY_CONFIG = {
7902
7621
  documentFormats: "key",
7903
7622
  integrationCatalogs: "providerKey",
7904
7623
  integrationProviders: "key",
7905
- localSandboxDeviceStatusModels: "deviceId",
7906
7624
  projectDesktopBindings: "projectId",
7907
7625
  pulseAppSummaryModels: "integrationId",
7908
7626
  pulseTriggerSettingModels: ["integrationId", "slug"],
@@ -8216,6 +7934,7 @@ function createSseTransport(options) {
8216
7934
  let staleReconnectRequested = false;
8217
7935
  let staleTimer;
8218
7936
  const activeSubscriptions = /* @__PURE__ */ new Map();
7937
+ const activeEventTopics = /* @__PURE__ */ new Set();
8219
7938
  function clearStaleTimer() {
8220
7939
  if (!staleTimer) {
8221
7940
  return;
@@ -8293,6 +8012,7 @@ function createSseTransport(options) {
8293
8012
  const isReconnect = hasConnectedOnce;
8294
8013
  hasConnectedOnce = true;
8295
8014
  await syncActiveSubscriptions(token);
8015
+ await syncActiveEventTopics(token);
8296
8016
  startSubscriptionRefresh();
8297
8017
  armStaleTimer();
8298
8018
  if (isReconnect && activeSubscriptions.size > 0) {
@@ -8358,7 +8078,7 @@ function createSseTransport(options) {
8358
8078
  const parts = buffer.split(/(?:\r\n|\r|\n){2}/);
8359
8079
  buffer = parts.pop() ?? "";
8360
8080
  for (const part of parts) {
8361
- processEventBlock(part.trim());
8081
+ await processEventBlock(part.trim());
8362
8082
  }
8363
8083
  }
8364
8084
  } finally {
@@ -8375,7 +8095,7 @@ function createSseTransport(options) {
8375
8095
  void doConnect();
8376
8096
  }, reconnectDelay);
8377
8097
  }
8378
- function processEventBlock(block) {
8098
+ async function processEventBlock(block) {
8379
8099
  if (!block || block.startsWith(":")) {
8380
8100
  return;
8381
8101
  }
@@ -8402,7 +8122,7 @@ function createSseTransport(options) {
8402
8122
  if ((eventType === "query-add" || eventType === "query-remove" || eventType === "query-resync") && eventData) {
8403
8123
  try {
8404
8124
  const parsed = JSON.parse(eventData);
8405
- options.onQueryEvent?.({
8125
+ await options.onQueryEvent?.({
8406
8126
  type: eventType === "query-add" ? "add" : eventType === "query-remove" ? "remove" : "resync",
8407
8127
  ...parsed
8408
8128
  });
@@ -8410,6 +8130,20 @@ function createSseTransport(options) {
8410
8130
  }
8411
8131
  return;
8412
8132
  }
8133
+ if (eventType === "realtime" && eventData) {
8134
+ try {
8135
+ const parsed = JSON.parse(eventData);
8136
+ if ((parsed.topic === "active-chats" || parsed.topic === "active-tabs" || parsed.topic === "desktop-device-presence") && typeof parsed.event === "string") {
8137
+ await options.onRealtimeEvent?.({
8138
+ topic: parsed.topic,
8139
+ type: parsed.event,
8140
+ data: parsed.payload
8141
+ });
8142
+ }
8143
+ } catch {
8144
+ }
8145
+ return;
8146
+ }
8413
8147
  if (eventType === "cursor") {
8414
8148
  if (!eventId) {
8415
8149
  return;
@@ -8425,7 +8159,7 @@ function createSseTransport(options) {
8425
8159
  currentLastSyncId = eventId;
8426
8160
  try {
8427
8161
  const parsed = JSON.parse(eventData);
8428
- options.onEvent({
8162
+ await options.onEvent({
8429
8163
  id: eventId,
8430
8164
  ...parsed
8431
8165
  });
@@ -8463,6 +8197,14 @@ function createSseTransport(options) {
8463
8197
  }
8464
8198
  void postMessage({ type: "unsubscribe", subscriptionId });
8465
8199
  }
8200
+ function subscribeEvent(topic) {
8201
+ activeEventTopics.add(topic);
8202
+ void postMessage({ type: "subscribe-event", topic });
8203
+ }
8204
+ function unsubscribeEvent(topic) {
8205
+ activeEventTopics.delete(topic);
8206
+ void postMessage({ type: "unsubscribe-event", topic });
8207
+ }
8466
8208
  function startSubscriptionRefresh() {
8467
8209
  if (!isConnected || activeSubscriptions.size === 0 || refreshTimer) {
8468
8210
  return;
@@ -8498,6 +8240,26 @@ function createSseTransport(options) {
8498
8240
  )
8499
8241
  );
8500
8242
  }
8243
+ async function syncActiveEventTopics(token) {
8244
+ if (activeEventTopics.size === 0) {
8245
+ return;
8246
+ }
8247
+ const resolvedToken = token ?? await options.getToken().catch((error) => {
8248
+ if (error instanceof DvinaAuthenticationError) {
8249
+ handleTerminalAuthFailure(error);
8250
+ }
8251
+ return void 0;
8252
+ });
8253
+ if (!resolvedToken) {
8254
+ return;
8255
+ }
8256
+ await Promise.all(
8257
+ Array.from(activeEventTopics).map(
8258
+ (topic) => postMessage({ type: "subscribe-event", topic }, resolvedToken).catch(() => {
8259
+ })
8260
+ )
8261
+ );
8262
+ }
8501
8263
  async function postMessage(body, token) {
8502
8264
  let resolvedToken;
8503
8265
  try {
@@ -8539,6 +8301,8 @@ function createSseTransport(options) {
8539
8301
  reconnect,
8540
8302
  subscribe,
8541
8303
  unsubscribe,
8304
+ subscribeEvent,
8305
+ unsubscribeEvent,
8542
8306
  get connected() {
8543
8307
  return isConnected;
8544
8308
  }
@@ -10576,11 +10340,12 @@ async function applyRemoteCacheEpoch(db, engine, syncPolicyUrl, getToken) {
10576
10340
  await db.setLastSyncId("0");
10577
10341
  await db.setCacheEpoch(remoteCacheEpoch);
10578
10342
  }
10579
- function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, getDb, onError) {
10343
+ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, getDb, onError, onRealtimeEvent) {
10580
10344
  let realEngine;
10581
10345
  let initPromise;
10582
10346
  let activeSseTransport;
10583
10347
  let shouldKeepSyncRunning = false;
10348
+ const activeRealtimeTopics = /* @__PURE__ */ new Set();
10584
10349
  async function getEngine() {
10585
10350
  if (realEngine) return realEngine;
10586
10351
  if (initPromise) return initPromise;
@@ -10592,14 +10357,15 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
10592
10357
  url: sseUrl,
10593
10358
  getToken,
10594
10359
  onError,
10595
- onEvent: (event) => {
10596
- realEngine?.processSyncEvent(event).catch(() => {
10360
+ onEvent: async (event) => {
10361
+ await realEngine?.processSyncEvent(event).catch(() => {
10597
10362
  });
10598
10363
  },
10599
- onQueryEvent: (event) => {
10600
- realEngine?.processQueryEvent(event).catch(() => {
10364
+ onQueryEvent: async (event) => {
10365
+ await realEngine?.processQueryEvent(event).catch(() => {
10601
10366
  });
10602
10367
  },
10368
+ onRealtimeEvent,
10603
10369
  onCursor: (syncId) => {
10604
10370
  db.setLastSyncId(syncId).catch(() => {
10605
10371
  });
@@ -10674,6 +10440,18 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
10674
10440
  }
10675
10441
  activeSseTransport?.reconnect();
10676
10442
  };
10443
+ lazy.subscribeRealtimeEvent = function(topic) {
10444
+ activeRealtimeTopics.add(topic);
10445
+ void getEngine().then(() => {
10446
+ if (activeRealtimeTopics.has(topic)) {
10447
+ activeSseTransport?.subscribeEvent(topic);
10448
+ }
10449
+ });
10450
+ };
10451
+ lazy.unsubscribeRealtimeEvent = function(topic) {
10452
+ activeRealtimeTopics.delete(topic);
10453
+ activeSseTransport?.unsubscribeEvent(topic);
10454
+ };
10677
10455
  lazy.processSyncEvent = async function(event) {
10678
10456
  const engine = await getEngine();
10679
10457
  return engine.processSyncEvent(event);
@@ -10709,11 +10487,128 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
10709
10487
  return lazy;
10710
10488
  }
10711
10489
 
10490
+ // src/events.ts
10491
+ var MAX_QUEUE_SIZE2 = 64;
10492
+ var RealtimeEventRef = class {
10493
+ constructor(onDispose) {
10494
+ this.onDispose = onDispose;
10495
+ }
10496
+ consumers = /* @__PURE__ */ new Set();
10497
+ disposed = false;
10498
+ current;
10499
+ emit(value) {
10500
+ if (this.disposed) {
10501
+ return;
10502
+ }
10503
+ this.current = value;
10504
+ for (const consumer of this.consumers) {
10505
+ if (consumer.disposed) {
10506
+ continue;
10507
+ }
10508
+ if (consumer.resolve) {
10509
+ consumer.resolve({ value, done: false });
10510
+ consumer.resolve = void 0;
10511
+ continue;
10512
+ }
10513
+ if (consumer.queue.length >= MAX_QUEUE_SIZE2) {
10514
+ consumer.queue.shift();
10515
+ }
10516
+ consumer.queue.push(value);
10517
+ }
10518
+ }
10519
+ dispose() {
10520
+ if (this.disposed) {
10521
+ return;
10522
+ }
10523
+ this.disposed = true;
10524
+ this.onDispose();
10525
+ for (const consumer of this.consumers) {
10526
+ consumer.disposed = true;
10527
+ consumer.resolve?.({ value: void 0, done: true });
10528
+ consumer.resolve = void 0;
10529
+ }
10530
+ this.consumers.clear();
10531
+ }
10532
+ [Symbol.asyncIterator]() {
10533
+ const consumer = { queue: [], disposed: false };
10534
+ this.consumers.add(consumer);
10535
+ return {
10536
+ next: () => {
10537
+ if (this.disposed || consumer.disposed) {
10538
+ return Promise.resolve({ value: void 0, done: true });
10539
+ }
10540
+ const value = consumer.queue.shift();
10541
+ if (value !== void 0) {
10542
+ return Promise.resolve({ value, done: false });
10543
+ }
10544
+ return new Promise((resolve) => {
10545
+ consumer.resolve = resolve;
10546
+ });
10547
+ },
10548
+ return: () => {
10549
+ consumer.disposed = true;
10550
+ this.consumers.delete(consumer);
10551
+ return Promise.resolve({ value: void 0, done: true });
10552
+ }
10553
+ };
10554
+ }
10555
+ };
10556
+ var DvinaEventsClient = class {
10557
+ constructor(controller) {
10558
+ this.controller = controller;
10559
+ }
10560
+ refs = /* @__PURE__ */ new Map();
10561
+ activeChats() {
10562
+ return this.topic("active-chats");
10563
+ }
10564
+ activeTabs() {
10565
+ return this.topic("active-tabs");
10566
+ }
10567
+ devicePresence() {
10568
+ return this.topic("desktop-device-presence");
10569
+ }
10570
+ dispatch(event) {
10571
+ const refs = this.refs.get(event.topic);
10572
+ if (!refs) {
10573
+ return;
10574
+ }
10575
+ const value = { type: event.type, data: event.data };
10576
+ for (const ref of refs) {
10577
+ ref.emit(value);
10578
+ }
10579
+ }
10580
+ topic(topic) {
10581
+ return {
10582
+ watch: () => this.watch(topic)
10583
+ };
10584
+ }
10585
+ watch(topic) {
10586
+ const refs = this.refs.get(topic) ?? /* @__PURE__ */ new Set();
10587
+ const wasEmpty = refs.size === 0;
10588
+ this.refs.set(topic, refs);
10589
+ const ref = new RealtimeEventRef(() => {
10590
+ refs.delete(ref);
10591
+ if (refs.size === 0) {
10592
+ this.refs.delete(topic);
10593
+ this.controller.unsubscribe(topic);
10594
+ }
10595
+ });
10596
+ refs.add(ref);
10597
+ if (wasEmpty) {
10598
+ this.controller.subscribe(topic);
10599
+ }
10600
+ return ref;
10601
+ }
10602
+ };
10603
+ function createDvinaEvents(controller) {
10604
+ return new DvinaEventsClient(controller);
10605
+ }
10606
+
10712
10607
  // src/upload.ts
10713
10608
  var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
10714
10609
  var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
10715
10610
  async function uploadFile(request, getToken, file, name, options) {
10716
- const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-DDOM6L4I.js');
10611
+ const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-4Z6CHYNG.js');
10717
10612
  const key = `upload_${Date.now()}`;
10718
10613
  const response = await request(
10719
10614
  GenerateUploadUriDocument2,
@@ -10965,8 +10860,15 @@ function createDvinaClient(options) {
10965
10860
  dbInitPromise = void 0;
10966
10861
  });
10967
10862
  }
10968
- const syncEngine = createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, getDb, options.onError);
10863
+ let events;
10864
+ const syncEngine = createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, getDb, options.onError, (event) => {
10865
+ events.dispatch(event);
10866
+ });
10969
10867
  const recoverableSyncEngine = syncEngine;
10868
+ events = createDvinaEvents({
10869
+ subscribe: (topic) => recoverableSyncEngine.subscribeRealtimeEvent(topic),
10870
+ unsubscribe: (topic) => recoverableSyncEngine.unsubscribeRealtimeEvent(topic)
10871
+ });
10970
10872
  const request = async (document2, variables, _options) => {
10971
10873
  return syncEngine.query(document2, variables);
10972
10874
  };
@@ -11021,6 +10923,7 @@ function createDvinaClient(options) {
11021
10923
  inference,
11022
10924
  billing,
11023
10925
  lifecycle,
10926
+ events,
11024
10927
  baseUrl
11025
10928
  };
11026
10929
  }
@@ -15122,6 +15025,12 @@ var CancelWorkspaceDeletionMutation = class extends Request {
15122
15025
  return response.cancelWorkspaceDeletion;
15123
15026
  }
15124
15027
  };
15028
+ var CloseActiveTabsMutation = class extends Request {
15029
+ async fetch(variables, options) {
15030
+ const response = await this._syncEngine.mutate(CloseActiveTabsDocument, variables, MUTATION_CACHE_RULES["closeActiveTabs"], options);
15031
+ return response.closeActiveTabs;
15032
+ }
15033
+ };
15125
15034
  var ConnectIntegrationMutation = class extends Request {
15126
15035
  async fetch(variables, options) {
15127
15036
  const response = await this._syncEngine.mutate(ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"], options);
@@ -15381,6 +15290,12 @@ var MigrateLegacyCodeChatsMutation = class extends Request {
15381
15290
  return new LegacyCodeMigrationOutput(this._request, data, this._syncEngine, this._baseUrl);
15382
15291
  }
15383
15292
  };
15293
+ var OpenActiveTabMutation = class extends Request {
15294
+ async fetch(variables, options) {
15295
+ const response = await this._syncEngine.mutate(OpenActiveTabDocument, variables, MUTATION_CACHE_RULES["openActiveTab"], options);
15296
+ return response.openActiveTab;
15297
+ }
15298
+ };
15384
15299
  var PreviewChatImportMutation = class extends Request {
15385
15300
  async fetch(variables, options) {
15386
15301
  const response = await this._syncEngine.mutate(PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"], options);
@@ -22748,6 +22663,8 @@ var DvinaSdk = class extends Request {
22748
22663
  chatStream;
22749
22664
  /** Semantic lifecycle bridge for connectivity and foreground recovery hints. */
22750
22665
  lifecycle;
22666
+ /** User-scoped realtime event topics delivered through the sync SSE connection. */
22667
+ events;
22751
22668
  _getToken;
22752
22669
  _terminateWs;
22753
22670
  _closeDb;
@@ -22756,11 +22673,12 @@ var DvinaSdk = class extends Request {
22756
22673
  /** Billing client for the Dvina Billing API (plans, subscriptions, seats, sessions). */
22757
22674
  billing;
22758
22675
  constructor(options) {
22759
- const { syncEngine, request, subscribe, chatStream, lifecycle, getToken, terminateWs, closeDb, inference, billing, baseUrl } = createDvinaClient(options);
22676
+ const { syncEngine, request, subscribe, chatStream, lifecycle, events, getToken, terminateWs, closeDb, inference, billing, baseUrl } = createDvinaClient(options);
22760
22677
  super(request, syncEngine, subscribe, baseUrl);
22761
22678
  this.syncEngine = syncEngine;
22762
22679
  this.chatStream = chatStream;
22763
22680
  this.lifecycle = lifecycle;
22681
+ this.events = events;
22764
22682
  this._getToken = getToken;
22765
22683
  this._terminateWs = terminateWs;
22766
22684
  this._closeDb = closeDb;
@@ -22783,6 +22701,10 @@ var DvinaSdk = class extends Request {
22783
22701
  cancelWorkspaceDeletion(options) {
22784
22702
  return new CancelWorkspaceDeletionMutation(this._request, this._syncEngine).fetch(void 0, options);
22785
22703
  }
22704
+ /** Mutation: closeActiveTabs (scalar) */
22705
+ closeActiveTabs(variables, options) {
22706
+ return new CloseActiveTabsMutation(this._request, this._syncEngine).fetch(variables, options);
22707
+ }
22786
22708
  /** Mutation: connectIntegration */
22787
22709
  connectIntegration(variables, options) {
22788
22710
  return new ConnectIntegrationMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
@@ -22935,6 +22857,10 @@ var DvinaSdk = class extends Request {
22935
22857
  migrateLegacyCodeChats(variables, options) {
22936
22858
  return new MigrateLegacyCodeChatsMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
22937
22859
  }
22860
+ /** Mutation: openActiveTab (scalar) */
22861
+ openActiveTab(variables, options) {
22862
+ return new OpenActiveTabMutation(this._request, this._syncEngine).fetch(variables, options);
22863
+ }
22938
22864
  /** Mutation: previewChatImport */
22939
22865
  previewChatImport(variables, options) {
22940
22866
  return new PreviewChatImportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables, options);
@@ -23430,6 +23356,6 @@ var DvinaSdk = class extends Request {
23430
23356
  }
23431
23357
  };
23432
23358
 
23433
- export { AbortChatMutation, Action, AddInsightToReportMutation, Agent, AgentConnection, AgentQuery, AgentSubBuilder, Agent_ChatsQuery, AgentsQuery, AiProviderSettingQuery, Artifact, ArtifactConnection, ArtifactQuery, ArtifactSubBuilder, Artifact_ChatQuery, Artifact_Chat_DesktopDeviceQuery, Artifact_Chat_InsightQuery, Artifact_Chat_ProjectQuery, Artifact_FileQuery, Artifact_MessageQuery, Artifact_Message_ChatQuery, Artifact_Message_ContentsQuery, Artifact_Message_FeedbackQuery, ArtifactsQuery, AudioEventOutput, CancelOauthFlowMutation, CancelWorkspaceDeletionMutation, Candidate, CandidateEvidence, Chat, ChatConnection, ChatImportExecuteOutput, ChatImportPreviewOutput, ChatMessage, ChatMessageConnection, ChatMessageQuery, ChatMessageSubBuilder, ChatMessage_ArtifactsQuery, ChatMessage_ChatQuery, ChatMessage_Chat_DesktopDeviceQuery, ChatMessage_Chat_InsightQuery, ChatMessage_Chat_ProjectQuery, ChatMessage_ContentsQuery, ChatMessage_FeedbackQuery, ChatMessagesQuery, ChatQuery, ChatSubBuilder, ChatTitleEventOutput, Chat_AgentsQuery, Chat_ArtifactsQuery, Chat_DesktopDeviceQuery, Chat_DesktopDevice_DesktopBindingsQuery, Chat_InsightQuery, Chat_Insight_ReportMembersQuery, Chat_Insight_ThumbnailFileQuery, Chat_MessagesQuery, Chat_ProjectQuery, Chat_Project_DesktopBindingQuery, ChatsQuery, ConnectIntegrationMutation, ConsumePulseEventsMutation, ContentBlock, ContentBlockAgentOutput, ContentMask, ContextUsageEventOutput, ContinueImportedChatMutation, ContinueInterpretationMutation, CreateAgentMutation, CreateChatMutation, CreateDatabaseMutation, CreateDocumentMutation, CreateFeedbackMutation, CreateFolderMutation, CreateInsightMutation, CreateIntegrationMutation, CreateIntegrationOutput, CreateProjectMutation, CreateReportMutation, CreateTableMutation, CreateUserSkillFileMutation, CreateUserSkillFolderMutation, CubeModel, DB_ENTITY_SCHEMA, Database, DatabaseCatalog, DatabaseCatalogConnection, DatabaseCatalogQuery, DatabaseCatalogSubBuilder, DatabaseCatalog_EngineQuery, DatabaseCatalogsQuery, DatabaseConnection, DatabaseEngine, DatabaseQuery, DatabaseSchemaQuery, DatabaseSubBuilder, Database_EngineQuery, Database_Engine_CatalogQuery, Database_TablesQuery, DatabasesQuery, DeepAnalysisUsage, DeferredDvinaQueryRef, DeleteAgentMutation, DeleteAiProviderSettingMutation, DeleteArtifactMutation, DeleteChatMutation, DeleteDatabaseMutation, DeleteDocumentMutation, DeleteFolderMutation, DeleteInsightMutation, DeleteInsightsMutation, DeleteIntegrationMutation, DeleteProjectMutation, DeleteReportMutation, DeleteSavedAiProviderModelMutation, DeleteTableMutation, DeleteUserSkillFileMutation, DeleteUserSkillFolderMutation, DesktopDevice, DesktopDeviceConnection, DesktopDeviceQuery, DesktopDeviceSubBuilder, DesktopDevice_ChatsQuery, DesktopDevice_DesktopBindingsQuery, DesktopDevicesQuery, DevAccessTokenOutput, DexieLiveQueryRef, DisconnectIntegrationMutation, DismissPulseEventMutation, Document, DocumentCatalog, DocumentCatalogConnection, DocumentCatalogQuery, DocumentCatalogSubBuilder, DocumentCatalog_FormatQuery, DocumentCatalogsQuery, DocumentConnection, DocumentContent, DocumentFormat, DocumentQuery, DocumentSubBuilder, Document_ContentsQuery, Document_FileQuery, Document_FormatQuery, Document_Format_CatalogQuery, Document_TablesQuery, DocumentsQuery, DvinaDatabase, DvinaModel, DvinaSdk, Evidence, ExecuteChatImportMutation, ExportQuery, ExportWithInsightIdQuery, FailedSyncEventIngestion, FeedArtifactData, FeedConnection, FeedDatabaseData, FeedDocumentData, FeedInsightData, FeedIntegrationData, FeedItem, FeedItemGenerated, FeedItemQuery, FeedItemSubBuilder, FeedItem_ActionQuery, FeedItem_DataQuery, FeedItemsQuery, FeedLiveContextData, FeedProjectData, FeedPulseData, FeedSendMessageAction, Feedback, File, FileMetaQuery, FileModel, FileQuery, FileUrlsQuery, FinalContentEventOutput, FindFitTierQuery, Folder, FolderConnection, FolderQuery, FoldersQuery, GenerateUploadUriMutation, GetCapabilityQuery, GetDevAccessTokenQuery, GetLimitQuery, GetRemainingQuery, GetTokenUsageByModelQuery, GetTokenUsageHistoryQuery, GetTokenUsageStatusQuery, GetTokenUsageStatus_WindowsQuery, GetTokenUsageStatus_Windows_DayQuery, GetTokenUsageStatus_Windows_FiveHourQuery, GetTokenUsageStatus_Windows_MonthQuery, GetTokenUsageStatus_Windows_WeekQuery, GetUsageQuery, ImportedChatSummaryOutput, InferenceRequestAudit, Insight, InsightConnection, InsightQuery, InsightSubBuilder, Insight_ChatQuery, Insight_Chat_DesktopDeviceQuery, Insight_Chat_ProjectQuery, Insight_ReportMembersQuery, Insight_ReportsQuery, Insight_ThumbnailFileQuery, InsightsQuery, Integration, IntegrationCatalog, IntegrationCatalogConnection, IntegrationCatalogQuery, IntegrationCatalogSubBuilder, IntegrationCatalogToolsQuery, IntegrationCatalog_ProviderQuery, IntegrationCatalogsQuery, IntegrationConnection, IntegrationProvider, IntegrationQuery, IntegrationSubBuilder, Integration_ProviderQuery, Integration_Provider_CatalogQuery, IntegrationsQuery, Interpretation, InterpretationConnection, InterpretationsQuery, InterruptEventOutput, Invocation, LegacyCodeMigratedChatSummaryOutput, LegacyCodeMigrationOutput, LiveContext, LiveContextConnection, LiveContextQuery, LiveContextSubBuilder, LiveContext_ItemsQuery, LiveContext_SourceQuery, LiveContext_Source_EvidencesQuery, LiveContextsQuery, LocalSandboxDeviceStatusModel, LocalSandboxDeviceStatusesQuery, MUTATION_CACHE_RULES, ManagedChatModelsQuery, MappedDvinaQueryRef, McpAuthUpdateModel, McpAuthUpdatesSubscription, McpClientInformation, McpCodeVerifier, McpServer, McpTokens, McpTool, MessageEndEventOutput, MessageStartEventOutput, MigrateLegacyCodeChatsMutation, ModelTokenUsage, Notification, NotificationConnection, NotificationQuery, NotificationsByReferenceQuery, NotificationsQuery, PRIMARY_KEY_CONFIG, PreviewChatImportMutation, PrivacyStats, PrivacyStatsEventOutput, PrivacyStatsOutput, PrivacyStatsQuery, PrivacyStatsTotalsDeltaOutput, ProgressSummaryEventOutput, Project, ProjectConnection, ProjectDesktopBinding, ProjectQuery, ProjectSubBuilder, Project_ChatsQuery, Project_DesktopBindingQuery, Project_DesktopBinding_DeviceQuery, ProjectsQuery, PulseAppSummaryModel, PulseAppSummaryQuery, PulseEvent, PulseEventConnection, PulseEventQuery, PulseEventSubBuilder, PulseEvent_IntegrationQuery, PulseEvent_Integration_ProviderQuery, PulseEventsQuery, PulseTriggerSettingModel, PulseTriggerSettingsQuery, QueryQuery, QueryWithInsightIdQuery, QueryWithMessageIdQuery, ReanalyzeDocumentMutation, ReasoningEventOutput, RefineAgentInstructionMutation, RefineSkillInstructionMutation, RefreshDatabaseSchemaMutation, RefreshInsightMutation, RegisterDesktopDeviceMutation, ReinterpretSourceMutation, ReinterpretSourcesOfuserMutation, Relation, RelocateInsightMutation, RemoveInsightFromReportMutation, Report, ReportConnection, ReportMember, ReportQuery, ReportSubBuilder, Report_InsightsQuery, Report_LayoutQuery, ReportsQuery, ResetWorkspaceMutation, ResolvePulseEventMutation, ResolvedFileUrl, ScheduleWorkspaceDeletionMutation, SendMessageMutation, SetDatabasePrimaryKeyMutation, SkillCatalogItem, SkillCatalogQuery, StreamEventSchemaAnchor, StreamMessageContentOutput, StreamMessageOutput, SyncEngine, SyncEvent, SyncEventCursor, SyncProjectDesktopBindingMutation, TABLE_TO_TYPENAME, TYPENAME_TO_TABLE, Table, TableConnection, TableQuery, TableSubBuilder, Table_DatabaseQuery, Table_Database_EngineQuery, Table_DocumentQuery, Table_Document_ContentsQuery, Table_Document_FileQuery, Table_Document_FormatQuery, Table_FromRelationsQuery, Table_ToRelationsQuery, TablesQuery, TextBlockEventOutput, TextDeltaEventOutput, TokenUsage, TokenUsageUpdatesSubscription, ToolInputDeltaEventOutput, ToolResultArtifactOutput, ToolResultEventOutput, ToolStartEventOutput, UpdateAgentMutation, UpdateArtifactNameMutation, UpdateChatMutation, UpdateDatabaseMutation, UpdateDocumentMutation, UpdateFolderMutation, UpdateInsightInReportMutation, UpdateInsightMutation, UpdateInsightThumbnailMutation, UpdateInterpMutation, UpdateLiveContextMutation, UpdateProjectMutation, UpdatePulseTriggerMutation, UpdateReportMutation, UpdateTableMutation, UpdateUserSkillFileMutation, UpdateUserSkillFolderMutation, UpsertAiProviderSettingMutation, UpsertWorkspaceAiModelMutation, UsageMetaOutput, UsageStatus, UsageWindowsStatusType, UserAiProviderSetting, UserSkillFile, UserSkillFileModel, UserSkillFileQuery, UserSkillFilesQuery, UserSkillFolder, UserSkillFolderModel, UserSkillFolderQuery, UserSkillFoldersQuery, WidgetBlockCompleteEventOutput, WidgetBlockErrorEventOutput, WidgetBlockStartEventOutput, WidgetHtmlDeltaEventOutput, WindowDetailType, WorkspaceAiModelQuery, WorkspaceAiModelSetting, WorkspaceDeleteSchedule, WorkspaceDeletionScheduleQuery, closeDatabase, createChatStreamClient, createDvinaClient, createLazySyncEngine, createSseTransport, createWsTransport, deleteDatabase, getOrCreateDatabase, reconstructConnectionNodes, reconstructEntity, uploadFile };
23434
- //# sourceMappingURL=chunk-5WZGNZOT.js.map
23435
- //# sourceMappingURL=chunk-5WZGNZOT.js.map
23359
+ export { AbortChatMutation, Action, AddInsightToReportMutation, Agent, AgentConnection, AgentQuery, AgentSubBuilder, Agent_ChatsQuery, AgentsQuery, AiProviderSettingQuery, Artifact, ArtifactConnection, ArtifactQuery, ArtifactSubBuilder, Artifact_ChatQuery, Artifact_Chat_DesktopDeviceQuery, Artifact_Chat_InsightQuery, Artifact_Chat_ProjectQuery, Artifact_FileQuery, Artifact_MessageQuery, Artifact_Message_ChatQuery, Artifact_Message_ContentsQuery, Artifact_Message_FeedbackQuery, ArtifactsQuery, AudioEventOutput, CancelOauthFlowMutation, CancelWorkspaceDeletionMutation, Candidate, CandidateEvidence, Chat, ChatConnection, ChatImportExecuteOutput, ChatImportPreviewOutput, ChatMessage, ChatMessageConnection, ChatMessageQuery, ChatMessageSubBuilder, ChatMessage_ArtifactsQuery, ChatMessage_ChatQuery, ChatMessage_Chat_DesktopDeviceQuery, ChatMessage_Chat_InsightQuery, ChatMessage_Chat_ProjectQuery, ChatMessage_ContentsQuery, ChatMessage_FeedbackQuery, ChatMessagesQuery, ChatQuery, ChatSubBuilder, ChatTitleEventOutput, Chat_AgentsQuery, Chat_ArtifactsQuery, Chat_DesktopDeviceQuery, Chat_DesktopDevice_DesktopBindingsQuery, Chat_InsightQuery, Chat_Insight_ReportMembersQuery, Chat_Insight_ThumbnailFileQuery, Chat_MessagesQuery, Chat_ProjectQuery, Chat_Project_DesktopBindingQuery, ChatsQuery, CloseActiveTabsMutation, ConnectIntegrationMutation, ConsumePulseEventsMutation, ContentBlock, ContentBlockAgentOutput, ContentMask, ContextUsageEventOutput, ContinueImportedChatMutation, ContinueInterpretationMutation, CreateAgentMutation, CreateChatMutation, CreateDatabaseMutation, CreateDocumentMutation, CreateFeedbackMutation, CreateFolderMutation, CreateInsightMutation, CreateIntegrationMutation, CreateIntegrationOutput, CreateProjectMutation, CreateReportMutation, CreateTableMutation, CreateUserSkillFileMutation, CreateUserSkillFolderMutation, CubeModel, DB_ENTITY_SCHEMA, Database, DatabaseCatalog, DatabaseCatalogConnection, DatabaseCatalogQuery, DatabaseCatalogSubBuilder, DatabaseCatalog_EngineQuery, DatabaseCatalogsQuery, DatabaseConnection, DatabaseEngine, DatabaseQuery, DatabaseSchemaQuery, DatabaseSubBuilder, Database_EngineQuery, Database_Engine_CatalogQuery, Database_TablesQuery, DatabasesQuery, DeepAnalysisUsage, DeferredDvinaQueryRef, DeleteAgentMutation, DeleteAiProviderSettingMutation, DeleteArtifactMutation, DeleteChatMutation, DeleteDatabaseMutation, DeleteDocumentMutation, DeleteFolderMutation, DeleteInsightMutation, DeleteInsightsMutation, DeleteIntegrationMutation, DeleteProjectMutation, DeleteReportMutation, DeleteSavedAiProviderModelMutation, DeleteTableMutation, DeleteUserSkillFileMutation, DeleteUserSkillFolderMutation, DesktopDevice, DesktopDeviceConnection, DesktopDeviceQuery, DesktopDeviceSubBuilder, DesktopDevice_ChatsQuery, DesktopDevice_DesktopBindingsQuery, DesktopDevicesQuery, DevAccessTokenOutput, DexieLiveQueryRef, DisconnectIntegrationMutation, DismissPulseEventMutation, Document, DocumentCatalog, DocumentCatalogConnection, DocumentCatalogQuery, DocumentCatalogSubBuilder, DocumentCatalog_FormatQuery, DocumentCatalogsQuery, DocumentConnection, DocumentContent, DocumentFormat, DocumentQuery, DocumentSubBuilder, Document_ContentsQuery, Document_FileQuery, Document_FormatQuery, Document_Format_CatalogQuery, Document_TablesQuery, DocumentsQuery, DvinaDatabase, DvinaModel, DvinaSdk, Evidence, ExecuteChatImportMutation, ExportQuery, ExportWithInsightIdQuery, FailedSyncEventIngestion, FeedArtifactData, FeedConnection, FeedDatabaseData, FeedDocumentData, FeedInsightData, FeedIntegrationData, FeedItem, FeedItemGenerated, FeedItemQuery, FeedItemSubBuilder, FeedItem_ActionQuery, FeedItem_DataQuery, FeedItemsQuery, FeedLiveContextData, FeedProjectData, FeedPulseData, FeedSendMessageAction, Feedback, File, FileMetaQuery, FileModel, FileQuery, FileUrlsQuery, FinalContentEventOutput, FindFitTierQuery, Folder, FolderConnection, FolderQuery, FoldersQuery, GenerateUploadUriMutation, GetCapabilityQuery, GetDevAccessTokenQuery, GetLimitQuery, GetRemainingQuery, GetTokenUsageByModelQuery, GetTokenUsageHistoryQuery, GetTokenUsageStatusQuery, GetTokenUsageStatus_WindowsQuery, GetTokenUsageStatus_Windows_DayQuery, GetTokenUsageStatus_Windows_FiveHourQuery, GetTokenUsageStatus_Windows_MonthQuery, GetTokenUsageStatus_Windows_WeekQuery, GetUsageQuery, ImportedChatSummaryOutput, InferenceRequestAudit, Insight, InsightConnection, InsightQuery, InsightSubBuilder, Insight_ChatQuery, Insight_Chat_DesktopDeviceQuery, Insight_Chat_ProjectQuery, Insight_ReportMembersQuery, Insight_ReportsQuery, Insight_ThumbnailFileQuery, InsightsQuery, Integration, IntegrationCatalog, IntegrationCatalogConnection, IntegrationCatalogQuery, IntegrationCatalogSubBuilder, IntegrationCatalogToolsQuery, IntegrationCatalog_ProviderQuery, IntegrationCatalogsQuery, IntegrationConnection, IntegrationProvider, IntegrationQuery, IntegrationSubBuilder, Integration_ProviderQuery, Integration_Provider_CatalogQuery, IntegrationsQuery, Interpretation, InterpretationConnection, InterpretationsQuery, InterruptEventOutput, Invocation, LegacyCodeMigratedChatSummaryOutput, LegacyCodeMigrationOutput, LiveContext, LiveContextConnection, LiveContextQuery, LiveContextSubBuilder, LiveContext_ItemsQuery, LiveContext_SourceQuery, LiveContext_Source_EvidencesQuery, LiveContextsQuery, LocalSandboxDeviceStatusModel, LocalSandboxDeviceStatusesQuery, MUTATION_CACHE_RULES, ManagedChatModelsQuery, MappedDvinaQueryRef, McpAuthUpdateModel, McpAuthUpdatesSubscription, McpClientInformation, McpCodeVerifier, McpServer, McpTokens, McpTool, MessageEndEventOutput, MessageStartEventOutput, MigrateLegacyCodeChatsMutation, ModelTokenUsage, Notification, NotificationConnection, NotificationQuery, NotificationsByReferenceQuery, NotificationsQuery, OpenActiveTabMutation, PRIMARY_KEY_CONFIG, PreviewChatImportMutation, PrivacyStats, PrivacyStatsEventOutput, PrivacyStatsOutput, PrivacyStatsQuery, PrivacyStatsTotalsDeltaOutput, ProgressSummaryEventOutput, Project, ProjectConnection, ProjectDesktopBinding, ProjectQuery, ProjectSubBuilder, Project_ChatsQuery, Project_DesktopBindingQuery, Project_DesktopBinding_DeviceQuery, ProjectsQuery, PulseAppSummaryModel, PulseAppSummaryQuery, PulseEvent, PulseEventConnection, PulseEventQuery, PulseEventSubBuilder, PulseEvent_IntegrationQuery, PulseEvent_Integration_ProviderQuery, PulseEventsQuery, PulseTriggerSettingModel, PulseTriggerSettingsQuery, QueryQuery, QueryWithInsightIdQuery, QueryWithMessageIdQuery, ReanalyzeDocumentMutation, ReasoningEventOutput, RefineAgentInstructionMutation, RefineSkillInstructionMutation, RefreshDatabaseSchemaMutation, RefreshInsightMutation, RegisterDesktopDeviceMutation, ReinterpretSourceMutation, ReinterpretSourcesOfuserMutation, Relation, RelocateInsightMutation, RemoveInsightFromReportMutation, Report, ReportConnection, ReportMember, ReportQuery, ReportSubBuilder, Report_InsightsQuery, Report_LayoutQuery, ReportsQuery, ResetWorkspaceMutation, ResolvePulseEventMutation, ResolvedFileUrl, ScheduleWorkspaceDeletionMutation, SendMessageMutation, SetDatabasePrimaryKeyMutation, SkillCatalogItem, SkillCatalogQuery, StreamEventSchemaAnchor, StreamMessageContentOutput, StreamMessageOutput, SyncEngine, SyncEvent, SyncEventCursor, SyncProjectDesktopBindingMutation, TABLE_TO_TYPENAME, TYPENAME_TO_TABLE, Table, TableConnection, TableQuery, TableSubBuilder, Table_DatabaseQuery, Table_Database_EngineQuery, Table_DocumentQuery, Table_Document_ContentsQuery, Table_Document_FileQuery, Table_Document_FormatQuery, Table_FromRelationsQuery, Table_ToRelationsQuery, TablesQuery, TextBlockEventOutput, TextDeltaEventOutput, TokenUsage, TokenUsageUpdatesSubscription, ToolInputDeltaEventOutput, ToolResultArtifactOutput, ToolResultEventOutput, ToolStartEventOutput, UpdateAgentMutation, UpdateArtifactNameMutation, UpdateChatMutation, UpdateDatabaseMutation, UpdateDocumentMutation, UpdateFolderMutation, UpdateInsightInReportMutation, UpdateInsightMutation, UpdateInsightThumbnailMutation, UpdateInterpMutation, UpdateLiveContextMutation, UpdateProjectMutation, UpdatePulseTriggerMutation, UpdateReportMutation, UpdateTableMutation, UpdateUserSkillFileMutation, UpdateUserSkillFolderMutation, UpsertAiProviderSettingMutation, UpsertWorkspaceAiModelMutation, UsageMetaOutput, UsageStatus, UsageWindowsStatusType, UserAiProviderSetting, UserSkillFile, UserSkillFileModel, UserSkillFileQuery, UserSkillFilesQuery, UserSkillFolder, UserSkillFolderModel, UserSkillFolderQuery, UserSkillFoldersQuery, WidgetBlockCompleteEventOutput, WidgetBlockErrorEventOutput, WidgetBlockStartEventOutput, WidgetHtmlDeltaEventOutput, WindowDetailType, WorkspaceAiModelQuery, WorkspaceAiModelSetting, WorkspaceDeleteSchedule, WorkspaceDeletionScheduleQuery, closeDatabase, createChatStreamClient, createDvinaClient, createDvinaEvents, createLazySyncEngine, createSseTransport, createWsTransport, deleteDatabase, getOrCreateDatabase, reconstructConnectionNodes, reconstructEntity, uploadFile };
23360
+ //# sourceMappingURL=chunk-3SQWSIES.js.map
23361
+ //# sourceMappingURL=chunk-3SQWSIES.js.map