@dvina/sdk 4.0.206 → 4.0.209

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 (28) hide show
  1. package/dist/_generated_documents-3SAYA2VU.js +4 -0
  2. package/dist/{_generated_documents-RAV5MNHA.js.map → _generated_documents-3SAYA2VU.js.map} +1 -1
  3. package/dist/{_generated_documents-KJOJJM2L.cjs → _generated_documents-XGKMTVFS.cjs} +618 -618
  4. package/dist/{_generated_documents-KJOJJM2L.cjs.map → _generated_documents-XGKMTVFS.cjs.map} +1 -1
  5. package/dist/adapters/angular/index.cjs +4 -4
  6. package/dist/adapters/angular/index.d.cts +1 -1
  7. package/dist/adapters/angular/index.d.ts +1 -1
  8. package/dist/adapters/angular/index.js +2 -2
  9. package/dist/{chunk-IQJIL4SQ.cjs → chunk-5VW6LFR4.cjs} +953 -801
  10. package/dist/chunk-5VW6LFR4.cjs.map +1 -0
  11. package/dist/{chunk-MKWTSXJB.js → chunk-BZVKKVUX.js} +12 -12
  12. package/dist/chunk-BZVKKVUX.js.map +1 -0
  13. package/dist/{chunk-PAYMMCFU.js → chunk-V75R2VZY.js} +372 -220
  14. package/dist/chunk-V75R2VZY.js.map +1 -0
  15. package/dist/{chunk-XYIJYHQI.cjs → chunk-YDFRY555.cjs} +17 -17
  16. package/dist/chunk-YDFRY555.cjs.map +1 -0
  17. package/dist/{client-DCKAIoXm.d.cts → client-CcOfALGK.d.cts} +49 -57
  18. package/dist/{client-CIQ4ru7O.d.ts → client-YW3i-iSh.d.ts} +49 -57
  19. package/dist/index.cjs +460 -460
  20. package/dist/index.d.cts +76 -69
  21. package/dist/index.d.ts +76 -69
  22. package/dist/index.js +2 -2
  23. package/package.json +1 -1
  24. package/dist/_generated_documents-RAV5MNHA.js +0 -4
  25. package/dist/chunk-IQJIL4SQ.cjs.map +0 -1
  26. package/dist/chunk-MKWTSXJB.js.map +0 -1
  27. package/dist/chunk-PAYMMCFU.js.map +0 -1
  28. package/dist/chunk-XYIJYHQI.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, print, Kind } from './chunk-5TAY5I34.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, DocumentContentFragmentDoc, DocumentFormatFragmentDoc, FeedSendMessageActionFragmentDoc, FeedArtifactDataFragmentDoc, ReportMemberFragmentDoc, ReportConnectionFragmentDoc, IntegrationProviderFragmentDoc, FeedItemGeneratedFragmentDoc, CandidateFragmentDoc, ProjectDesktopBindingFragmentDoc, 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, DeleteArtifactDocument, DeleteChatDocument, DeleteDatabaseDocument, DeleteDocumentDocument, DeleteFolderDocument, DeleteInsightDocument, DeleteInsightsDocument, DeleteIntegrationDocument, DeleteProjectDocument, DeleteReportDocument, DeleteTableDocument, DeleteUserSkillFileDocument, DeleteUserSkillFolderDocument, DisconnectIntegrationDocument, DismissPulseEventDocument, ExecuteChatImportDocument, GenerateUploadUriDocument, 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, AgentDocument, Agent_ChatsDocument, AgentsDocument, 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, 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, LocalRuntimeOverviewDocument, LocalRuntimeDeviceModelFragmentDoc, LocalRuntimeOverview_DevicesDocument, LocalSandboxDeviceStatusDocument, 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, 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, WorkspaceDeletionScheduleDocument, McpAuthUpdatesDocument, TokenUsageUpdatesDocument } from './chunk-MKWTSXJB.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, DeleteArtifactDocument, DeleteChatDocument, DeleteDatabaseDocument, DeleteDocumentDocument, DeleteFolderDocument, DeleteInsightDocument, DeleteInsightsDocument, DeleteIntegrationDocument, DeleteProjectDocument, DeleteReportDocument, DeleteTableDocument, DeleteUserSkillFileDocument, DeleteUserSkillFolderDocument, DisconnectIntegrationDocument, DismissPulseEventDocument, ExecuteChatImportDocument, GenerateUploadUriDocument, 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, AgentDocument, Agent_ChatsDocument, AgentsDocument, 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, 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, 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, WorkspaceDeletionScheduleDocument, McpAuthUpdatesDocument, TokenUsageUpdatesDocument } from './chunk-BZVKKVUX.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
@@ -7559,7 +7559,7 @@ function createWsTransport(options) {
7559
7559
  }
7560
7560
 
7561
7561
  // src/_generated_store.ts
7562
- var SCHEMA_HASH = "1438f7de63b12149";
7562
+ var SCHEMA_HASH = "6465f4fa32a46977";
7563
7563
  var DB_ENTITY_SCHEMA = {
7564
7564
  actions: "id",
7565
7565
  agents: "id",
@@ -7575,7 +7575,6 @@ var DB_ENTITY_SCHEMA = {
7575
7575
  databaseEngines: "key",
7576
7576
  databases: "id",
7577
7577
  deepAnalysisUsages: "id",
7578
- desktopDeviceModels: "id",
7579
7578
  desktopDevices: "id",
7580
7579
  documentCatalogs: "formatKey",
7581
7580
  documentContents: "id",
@@ -7605,8 +7604,6 @@ var DB_ENTITY_SCHEMA = {
7605
7604
  interpretations: "id",
7606
7605
  invocations: "id",
7607
7606
  liveContexts: "id",
7608
- localRuntimeDeviceModels: "id",
7609
- localRuntimeOverviewModels: "id",
7610
7607
  localSandboxDeviceStatusModels: "deviceId",
7611
7608
  mcpClientInformations: "id",
7612
7609
  mcpCodeVerifiers: "id",
@@ -7652,7 +7649,6 @@ var TYPENAME_TO_TABLE = {
7652
7649
  DatabaseEngine: "databaseEngines",
7653
7650
  DeepAnalysisUsage: "deepAnalysisUsages",
7654
7651
  DesktopDevice: "desktopDevices",
7655
- DesktopDeviceModel: "desktopDeviceModels",
7656
7652
  Document: "documents",
7657
7653
  DocumentCatalog: "documentCatalogs",
7658
7654
  DocumentContent: "documentContents",
@@ -7681,8 +7677,6 @@ var TYPENAME_TO_TABLE = {
7681
7677
  Interpretation: "interpretations",
7682
7678
  Invocation: "invocations",
7683
7679
  LiveContext: "liveContexts",
7684
- LocalRuntimeDeviceModel: "localRuntimeDeviceModels",
7685
- LocalRuntimeOverviewModel: "localRuntimeOverviewModels",
7686
7680
  LocalSandboxDeviceStatusModel: "localSandboxDeviceStatusModels",
7687
7681
  McpClientInformation: "mcpClientInformations",
7688
7682
  McpCodeVerifier: "mcpCodeVerifiers",
@@ -7727,7 +7721,6 @@ var TABLE_TO_TYPENAME = {
7727
7721
  databaseEngines: "DatabaseEngine",
7728
7722
  databases: "Database",
7729
7723
  deepAnalysisUsages: "DeepAnalysisUsage",
7730
- desktopDeviceModels: "DesktopDeviceModel",
7731
7724
  desktopDevices: "DesktopDevice",
7732
7725
  documentCatalogs: "DocumentCatalog",
7733
7726
  documentContents: "DocumentContent",
@@ -7757,8 +7750,6 @@ var TABLE_TO_TYPENAME = {
7757
7750
  interpretations: "Interpretation",
7758
7751
  invocations: "Invocation",
7759
7752
  liveContexts: "LiveContext",
7760
- localRuntimeDeviceModels: "LocalRuntimeDeviceModel",
7761
- localRuntimeOverviewModels: "LocalRuntimeOverviewModel",
7762
7753
  localSandboxDeviceStatusModels: "LocalSandboxDeviceStatusModel",
7763
7754
  mcpClientInformations: "McpClientInformation",
7764
7755
  mcpCodeVerifiers: "McpCodeVerifier",
@@ -10371,7 +10362,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
10371
10362
  var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
10372
10363
  var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
10373
10364
  async function uploadFile(request, getToken, file, name, options) {
10374
- const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-RAV5MNHA.js');
10365
+ const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-3SAYA2VU.js');
10375
10366
  const key = `upload_${Date.now()}`;
10376
10367
  const response = await request(
10377
10368
  GenerateUploadUriDocument2,
@@ -11351,6 +11342,7 @@ var Chat = class extends DvinaModel {
11351
11342
  createdAt;
11352
11343
  updatedAt;
11353
11344
  sourceProvider;
11345
+ _desktopDevice;
11354
11346
  constructor(request, data, syncEngine, baseUrl) {
11355
11347
  super(request, syncEngine, baseUrl);
11356
11348
  this.id = data.id;
@@ -11366,6 +11358,11 @@ var Chat = class extends DvinaModel {
11366
11358
  this.createdAt = new Date(data.createdAt);
11367
11359
  this.updatedAt = new Date(data.updatedAt);
11368
11360
  this.sourceProvider = data.sourceProvider ?? void 0;
11361
+ this._desktopDevice = data.desktopDevice ?? void 0;
11362
+ }
11363
+ /** ID reference for lazy-fetching the desktopDevice relation. */
11364
+ get desktopDeviceId() {
11365
+ return this._desktopDevice?.id;
11369
11366
  }
11370
11367
  /** Query the agents relation for this Chat. Call .fetch() or .watch() to execute. */
11371
11368
  agents(variables) {
@@ -11662,30 +11659,13 @@ var DesktopDevice = class extends DvinaModel {
11662
11659
  this.createdAt = new Date(data.createdAt);
11663
11660
  this.updatedAt = new Date(data.updatedAt);
11664
11661
  }
11665
- };
11666
- var DesktopDeviceModel = class extends DvinaModel {
11667
- deviceId;
11668
- deviceLabel;
11669
- platform;
11670
- deviceType;
11671
- manufacturer;
11672
- modelName;
11673
- modelYear;
11674
- appVersion;
11675
- lastSeenAt;
11676
- state;
11677
- constructor(request, data, syncEngine, baseUrl) {
11678
- super(request, syncEngine, baseUrl);
11679
- this.deviceId = data.deviceId;
11680
- this.deviceLabel = data.deviceLabel;
11681
- this.platform = data.platform ?? void 0;
11682
- this.deviceType = data.deviceType ?? void 0;
11683
- this.manufacturer = data.manufacturer ?? void 0;
11684
- this.modelName = data.modelName ?? void 0;
11685
- this.modelYear = data.modelYear ?? void 0;
11686
- this.appVersion = data.appVersion ?? void 0;
11687
- this.lastSeenAt = data.lastSeenAt ?? void 0;
11688
- this.state = data.state;
11662
+ /** Query the chats relation for this DesktopDevice. Call .fetch() or .watch() to execute. */
11663
+ chats(variables) {
11664
+ return new DesktopDevice_ChatsQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
11665
+ }
11666
+ /** Query the desktopBindings relation for this DesktopDevice. Call .fetch() or .watch() to execute. */
11667
+ desktopBindings(variables) {
11668
+ return new DesktopDevice_DesktopBindingsQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
11689
11669
  }
11690
11670
  };
11691
11671
  var DevAccessTokenOutput = class extends DvinaModel {
@@ -12370,48 +12350,6 @@ var LiveContext = class extends DvinaModel {
12370
12350
  return new LiveContext_SourceQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
12371
12351
  }
12372
12352
  };
12373
- var LocalRuntimeDeviceModel = class extends DvinaModel {
12374
- deviceId;
12375
- label;
12376
- platform;
12377
- deviceType;
12378
- manufacturer;
12379
- modelName;
12380
- modelYear;
12381
- lastSeenAt;
12382
- state;
12383
- isPreferred;
12384
- isResolved;
12385
- constructor(request, data, syncEngine, baseUrl) {
12386
- super(request, syncEngine, baseUrl);
12387
- this.deviceId = data.deviceId;
12388
- this.label = data.label;
12389
- this.platform = data.platform ?? void 0;
12390
- this.deviceType = data.deviceType ?? void 0;
12391
- this.manufacturer = data.manufacturer ?? void 0;
12392
- this.modelName = data.modelName ?? void 0;
12393
- this.modelYear = data.modelYear ?? void 0;
12394
- this.lastSeenAt = data.lastSeenAt ?? void 0;
12395
- this.state = data.state;
12396
- this.isPreferred = data.isPreferred;
12397
- this.isResolved = data.isResolved;
12398
- }
12399
- };
12400
- var LocalRuntimeOverviewModel = class extends DvinaModel {
12401
- state;
12402
- resolvedDeviceId;
12403
- resolvedDeviceLabel;
12404
- connectedDeviceCount;
12405
- devices;
12406
- constructor(request, data, syncEngine, baseUrl) {
12407
- super(request, syncEngine, baseUrl);
12408
- this.state = data.state;
12409
- this.resolvedDeviceId = data.resolvedDeviceId ?? void 0;
12410
- this.resolvedDeviceLabel = data.resolvedDeviceLabel ?? void 0;
12411
- this.connectedDeviceCount = data.connectedDeviceCount;
12412
- this.devices = Array.isArray(data.devices) ? data.devices.filter(Boolean).map((item) => new LocalRuntimeDeviceModel(request, item, syncEngine, baseUrl)) : [];
12413
- }
12414
- };
12415
12353
  var LocalSandboxDeviceStatusModel = class extends DvinaModel {
12416
12354
  state;
12417
12355
  deviceId;
@@ -12652,6 +12590,10 @@ var ProjectDesktopBinding = class extends DvinaModel {
12652
12590
  project() {
12653
12591
  return new ProjectQuery(this._request, this._syncEngine, { id: this.projectId }, this._baseUrl);
12654
12592
  }
12593
+ /** Lazy-fetch the device relation. Call .fetch() or .watch() to execute. */
12594
+ device() {
12595
+ return new DesktopDeviceQuery(this._request, this._syncEngine, { id: this.deviceId }, this._baseUrl);
12596
+ }
12655
12597
  };
12656
12598
  var PulseAppSummaryModel = class extends DvinaModel {
12657
12599
  activeTriggerCount;
@@ -13355,6 +13297,17 @@ var DatabaseConnection = class extends Connection {
13355
13297
  );
13356
13298
  }
13357
13299
  };
13300
+ var DesktopDeviceConnection = class extends Connection {
13301
+ constructor(request, fetch2, data, syncEngine, baseUrl) {
13302
+ super(
13303
+ request,
13304
+ fetch2,
13305
+ data.nodes?.map((node) => new DesktopDevice(request, node, syncEngine, baseUrl)) ?? [],
13306
+ new PageInfo(data.pageInfo),
13307
+ data.totalCount ?? void 0
13308
+ );
13309
+ }
13310
+ };
13358
13311
  var DocumentCatalogConnection = class extends Connection {
13359
13312
  constructor(request, fetch2, data, syncEngine, baseUrl) {
13360
13313
  super(
@@ -13673,8 +13626,14 @@ var ChatSubBuilder = class {
13673
13626
  return this;
13674
13627
  }
13675
13628
  /** Include desktopDevice in the parent query. */
13676
- desktopDevice(variables) {
13629
+ desktopDevice(variables, builder) {
13677
13630
  const info = extractIncludeInfo(Chat_DesktopDeviceDocument, "desktopDevice", ["id"]);
13631
+ let children;
13632
+ if (builder) {
13633
+ const sub = new DesktopDeviceSubBuilder();
13634
+ builder(sub);
13635
+ children = sub._includes;
13636
+ }
13678
13637
  this._includes.push({
13679
13638
  fieldName: "desktopDevice",
13680
13639
  fragmentDoc: DesktopDeviceFragmentDoc,
@@ -13687,6 +13646,7 @@ var ChatSubBuilder = class {
13687
13646
  entityType: "desktopDevices",
13688
13647
  requiredFields: ["id", "deviceLabel", "createdAt", "updatedAt"]
13689
13648
  },
13649
+ children,
13690
13650
  modelFactory: (req, data, se, bu) => new DesktopDevice(req, data, se, bu)
13691
13651
  });
13692
13652
  return this;
@@ -13939,6 +13899,56 @@ var DatabaseCatalogSubBuilder = class {
13939
13899
  return this;
13940
13900
  }
13941
13901
  };
13902
+ var DesktopDeviceSubBuilder = class {
13903
+ /** @internal */
13904
+ _includes = [];
13905
+ /** Include chats in the parent query. */
13906
+ chats(variables, builder) {
13907
+ const info = extractIncludeInfo(DesktopDevice_ChatsDocument, "chats", ["id"]);
13908
+ let children;
13909
+ if (builder) {
13910
+ const sub = new ChatSubBuilder();
13911
+ builder(sub);
13912
+ children = sub._includes;
13913
+ }
13914
+ this._includes.push({
13915
+ fieldName: "chats",
13916
+ fragmentDoc: ChatConnectionFragmentDoc,
13917
+ variables,
13918
+ isConnection: true,
13919
+ isList: false,
13920
+ variableDefinitions: info.variableDefinitions,
13921
+ fieldArguments: info.fieldArguments,
13922
+ syncMetadata: {
13923
+ entityType: "chats",
13924
+ requiredFields: ["id", "name", "reasoningEffort", "piiSanitizationEnabled", "createdAt", "updatedAt"]
13925
+ },
13926
+ children,
13927
+ modelFactory: (req, data, se, bu) => new Chat(req, data, se, bu),
13928
+ connectionFactory: (req, fetch2, data, se, bu) => new ChatConnection(req, fetch2, data, se, bu)
13929
+ });
13930
+ return this;
13931
+ }
13932
+ /** Include desktopBindings in the parent query. */
13933
+ desktopBindings(variables) {
13934
+ const info = extractIncludeInfo(DesktopDevice_DesktopBindingsDocument, "desktopBindings", ["id"]);
13935
+ this._includes.push({
13936
+ fieldName: "desktopBindings",
13937
+ fragmentDoc: ProjectDesktopBindingFragmentDoc,
13938
+ variables,
13939
+ isConnection: false,
13940
+ isList: true,
13941
+ variableDefinitions: info.variableDefinitions,
13942
+ fieldArguments: info.fieldArguments,
13943
+ syncMetadata: {
13944
+ entityType: "projectDesktopBindings",
13945
+ requiredFields: ["projectId", "deviceId", "kind", "rootPath", "createdAt", "updatedAt"]
13946
+ },
13947
+ modelFactory: (req, data, se, bu) => new ProjectDesktopBinding(req, data, se, bu)
13948
+ });
13949
+ return this;
13950
+ }
13951
+ };
13942
13952
  var DocumentSubBuilder = class {
13943
13953
  /** @internal */
13944
13954
  _includes = [];
@@ -14807,7 +14817,7 @@ var RegisterDesktopDeviceMutation = class extends Request {
14807
14817
  async fetch(variables, options) {
14808
14818
  const response = await this._syncEngine.mutate(RegisterDesktopDeviceDocument, variables, MUTATION_CACHE_RULES["registerDesktopDevice"]);
14809
14819
  const data = response.registerDesktopDevice;
14810
- return new DesktopDeviceModel(this._request, data, this._syncEngine, this._baseUrl);
14820
+ return new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl);
14811
14821
  }
14812
14822
  };
14813
14823
  var ReinterpretSourceMutation = class extends Request {
@@ -15819,8 +15829,14 @@ var ChatQuery = class extends Request {
15819
15829
  return this;
15820
15830
  }
15821
15831
  /** Include desktopDevice in this query (Smart Fetch — single HTTP request). */
15822
- desktopDevice(variables) {
15832
+ desktopDevice(variables, builder) {
15823
15833
  const info = extractIncludeInfo(Chat_DesktopDeviceDocument, "desktopDevice", ["id"]);
15834
+ let children;
15835
+ if (builder) {
15836
+ const sub = new DesktopDeviceSubBuilder();
15837
+ builder(sub);
15838
+ children = sub._includes;
15839
+ }
15824
15840
  this._includes.push({
15825
15841
  fieldName: "desktopDevice",
15826
15842
  fragmentDoc: DesktopDeviceFragmentDoc,
@@ -15833,6 +15849,7 @@ var ChatQuery = class extends Request {
15833
15849
  entityType: "desktopDevices",
15834
15850
  requiredFields: ["id", "deviceLabel", "createdAt", "updatedAt"]
15835
15851
  },
15852
+ children,
15836
15853
  modelFactory: (req, data, se, bu) => new DesktopDevice(req, data, se, bu)
15837
15854
  });
15838
15855
  return this;
@@ -16828,8 +16845,14 @@ var ChatsQuery = class _ChatsQuery extends Request {
16828
16845
  return this;
16829
16846
  }
16830
16847
  /** Include desktopDevice in this query (Smart Fetch — single HTTP request). */
16831
- desktopDevice(variables) {
16848
+ desktopDevice(variables, builder) {
16832
16849
  const info = extractIncludeInfo(Chat_DesktopDeviceDocument, "desktopDevice", ["id"]);
16850
+ let children;
16851
+ if (builder) {
16852
+ const sub = new DesktopDeviceSubBuilder();
16853
+ builder(sub);
16854
+ children = sub._includes;
16855
+ }
16833
16856
  this._includes.push({
16834
16857
  fieldName: "desktopDevice",
16835
16858
  fragmentDoc: DesktopDeviceFragmentDoc,
@@ -16842,6 +16865,7 @@ var ChatsQuery = class _ChatsQuery extends Request {
16842
16865
  entityType: "desktopDevices",
16843
16866
  requiredFields: ["id", "deviceLabel", "createdAt", "updatedAt"]
16844
16867
  },
16868
+ children,
16845
16869
  modelFactory: (req, data, se, bu) => new DesktopDevice(req, data, se, bu)
16846
16870
  });
16847
16871
  return this;
@@ -17424,7 +17448,154 @@ var DatabasesQuery = class _DatabasesQuery extends Request {
17424
17448
  return this;
17425
17449
  }
17426
17450
  };
17427
- var DesktopDevicesQuery = class extends Request {
17451
+ var DesktopDeviceQuery = class extends Request {
17452
+ _variables;
17453
+ _includes = [];
17454
+ constructor(request, syncEngine, variables = {}, baseUrl) {
17455
+ super(request, syncEngine, void 0, baseUrl);
17456
+ this._variables = variables;
17457
+ }
17458
+ async fetch(options) {
17459
+ const variables = this._variables;
17460
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(DesktopDeviceDocument, "desktopDevice", this._includes, variables);
17461
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "desktopDevice");
17462
+ const data = response.desktopDevice;
17463
+ const instance = new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl);
17464
+ if (this._includes.length > 0) {
17465
+ hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
17466
+ }
17467
+ return instance;
17468
+ }
17469
+ watch(options) {
17470
+ const variables = this._variables;
17471
+ const includes = this._includes;
17472
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(DesktopDeviceDocument, "desktopDevice", includes, variables);
17473
+ const raw = this._syncEngine.watch(
17474
+ queryDoc,
17475
+ mergedVars,
17476
+ "desktopDevice",
17477
+ async (db) => {
17478
+ const vars = variables;
17479
+ const pkField = getPrimaryKeyField("desktopDevices");
17480
+ const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
17481
+ const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
17482
+ const entity = hasEntityKey ? await db.table("desktopDevices").get(entityKey) : void 0;
17483
+ if (includes.length > 0 && entity) {
17484
+ const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
17485
+ const result = await reconstructEntity(db, "desktopDevices", parentId, includes);
17486
+ return { desktopDevice: result };
17487
+ }
17488
+ return { desktopDevice: entity ?? null };
17489
+ }
17490
+ );
17491
+ return new MappedDvinaQueryRef(raw, (response) => {
17492
+ const data = response.desktopDevice;
17493
+ const instance = new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl);
17494
+ if (includes.length > 0) {
17495
+ hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
17496
+ }
17497
+ return instance;
17498
+ });
17499
+ }
17500
+ /** Include chats in this query (Smart Fetch — single HTTP request). */
17501
+ chats(variables, builder) {
17502
+ const info = extractIncludeInfo(DesktopDevice_ChatsDocument, "chats", ["id"]);
17503
+ let children;
17504
+ if (builder) {
17505
+ const sub = new ChatSubBuilder();
17506
+ builder(sub);
17507
+ children = sub._includes;
17508
+ }
17509
+ this._includes.push({
17510
+ fieldName: "chats",
17511
+ fragmentDoc: ChatConnectionFragmentDoc,
17512
+ variables,
17513
+ isConnection: true,
17514
+ isList: false,
17515
+ variableDefinitions: info.variableDefinitions,
17516
+ fieldArguments: info.fieldArguments,
17517
+ syncMetadata: {
17518
+ entityType: "chats",
17519
+ requiredFields: ["id", "name", "reasoningEffort", "piiSanitizationEnabled", "createdAt", "updatedAt"]
17520
+ },
17521
+ children,
17522
+ modelFactory: (req, data, se, bu) => new Chat(req, data, se, bu),
17523
+ connectionFactory: (req, fetch2, data, se, bu) => new ChatConnection(req, fetch2, data, se, bu)
17524
+ });
17525
+ return this;
17526
+ }
17527
+ /** Include desktopBindings in this query (Smart Fetch — single HTTP request). */
17528
+ desktopBindings(variables) {
17529
+ const info = extractIncludeInfo(DesktopDevice_DesktopBindingsDocument, "desktopBindings", ["id"]);
17530
+ this._includes.push({
17531
+ fieldName: "desktopBindings",
17532
+ fragmentDoc: ProjectDesktopBindingFragmentDoc,
17533
+ variables,
17534
+ isConnection: false,
17535
+ isList: true,
17536
+ variableDefinitions: info.variableDefinitions,
17537
+ fieldArguments: info.fieldArguments,
17538
+ syncMetadata: {
17539
+ entityType: "projectDesktopBindings",
17540
+ requiredFields: ["projectId", "deviceId", "kind", "rootPath", "createdAt", "updatedAt"]
17541
+ },
17542
+ modelFactory: (req, data, se, bu) => new ProjectDesktopBinding(req, data, se, bu)
17543
+ });
17544
+ return this;
17545
+ }
17546
+ };
17547
+ var DesktopDevice_ChatsQuery = class _DesktopDevice_ChatsQuery extends Request {
17548
+ _variables;
17549
+ constructor(request, syncEngine, variables = {}, baseUrl) {
17550
+ super(request, syncEngine, void 0, baseUrl);
17551
+ this._variables = variables;
17552
+ }
17553
+ async fetch(options) {
17554
+ const variables = this._variables;
17555
+ const response = await this._syncEngine.query(DesktopDevice_ChatsDocument, variables, "desktopDevice");
17556
+ const data = response.desktopDevice?.chats;
17557
+ return new ChatConnection(this._request, (conn, opts) => new _DesktopDevice_ChatsQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
17558
+ }
17559
+ watch(options) {
17560
+ const variables = this._variables;
17561
+ const raw = this._syncEngine.watch(
17562
+ DesktopDevice_ChatsDocument,
17563
+ variables,
17564
+ "desktopDevice",
17565
+ async (db) => {
17566
+ const queryKey = buildQueryKey("desktopDevice", variables, DesktopDevice_ChatsDocument);
17567
+ const qr = await db._queryResults.get(queryKey);
17568
+ if (!qr) {
17569
+ throw new DvinaCacheMissError(queryKey);
17570
+ }
17571
+ const nodes = await db.table("chats").bulkGet(qr.entityIds);
17572
+ const filteredNodes = nodes.filter(Boolean);
17573
+ if (filteredNodes.length !== qr.entityIds.length) {
17574
+ throw new DvinaCacheMissError(queryKey);
17575
+ }
17576
+ return { desktopDevice: { chats: { __typename: "ChatConnection", nodes: filteredNodes, pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
17577
+ }
17578
+ );
17579
+ return new MappedDvinaQueryRef(raw, (response) => {
17580
+ const data = response.desktopDevice?.chats;
17581
+ return new ChatConnection(this._request, (conn, opts) => new _DesktopDevice_ChatsQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
17582
+ });
17583
+ }
17584
+ };
17585
+ var DesktopDevice_DesktopBindingsQuery = class extends Request {
17586
+ _variables;
17587
+ constructor(request, syncEngine, variables = {}, baseUrl) {
17588
+ super(request, syncEngine, void 0, baseUrl);
17589
+ this._variables = variables;
17590
+ }
17591
+ async fetch(options) {
17592
+ const response = await this._syncEngine.query(DesktopDevice_DesktopBindingsDocument, this._variables, "desktopDevice");
17593
+ const data = response.desktopDevice?.desktopBindings;
17594
+ if (!Array.isArray(data)) return [];
17595
+ return data.map((item) => new ProjectDesktopBinding(this._request, item, this._syncEngine, this._baseUrl));
17596
+ }
17597
+ };
17598
+ var DesktopDevicesQuery = class _DesktopDevicesQuery extends Request {
17428
17599
  _variables;
17429
17600
  _includes = [];
17430
17601
  constructor(request, syncEngine, variables = {}, baseUrl) {
@@ -17432,11 +17603,109 @@ var DesktopDevicesQuery = class extends Request {
17432
17603
  this._variables = variables;
17433
17604
  }
17434
17605
  async fetch(options) {
17435
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(DesktopDevicesDocument, "desktopDevices", this._includes, this._variables);
17606
+ const variables = this._variables;
17607
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(DesktopDevicesDocument, "desktopDevices", this._includes, variables, true);
17436
17608
  const response = await this._syncEngine.query(queryDoc, mergedVars, "desktopDevices");
17437
17609
  const data = response.desktopDevices;
17438
- if (!Array.isArray(data)) return [];
17439
- return data.map((item) => new DesktopDeviceModel(this._request, item, this._syncEngine, this._baseUrl));
17610
+ const connection = new DesktopDeviceConnection(this._request, (conn, opts) => new _DesktopDevicesQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
17611
+ if (this._includes.length > 0) {
17612
+ const rawNodes = data.nodes ?? [];
17613
+ for (let i = 0; i < connection.nodes.length; i++) {
17614
+ hydrateIncludes(connection.nodes[i], rawNodes[i] ?? {}, this._includes, this._request, this._syncEngine, this._baseUrl);
17615
+ }
17616
+ }
17617
+ return connection;
17618
+ }
17619
+ watch(options) {
17620
+ const variables = this._variables;
17621
+ const subscriptionId = crypto.randomUUID();
17622
+ const includes = this._includes;
17623
+ const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
17624
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(DesktopDevicesDocument, "desktopDevices", includes, variables, true);
17625
+ const raw = this._syncEngine.watch(
17626
+ queryDoc,
17627
+ mergedVars,
17628
+ "desktopDevices",
17629
+ async (db) => {
17630
+ const queryKey = buildQueryKey("desktopDevices", mergedVars, queryDoc);
17631
+ const qr = await db._queryResults.get(queryKey);
17632
+ if (!qr) {
17633
+ throw new DvinaCacheMissError(queryKey);
17634
+ }
17635
+ const nodes = await db.table("desktopDevices").bulkGet(qr.entityIds);
17636
+ const filteredNodes = nodes.filter(Boolean);
17637
+ if (filteredNodes.length !== qr.entityIds.length) {
17638
+ throw new DvinaCacheMissError(queryKey);
17639
+ }
17640
+ const enrichedNodes = includes.length > 0 ? await reconstructConnectionNodes(db, "desktopDevices", filteredNodes, includes) : filteredNodes;
17641
+ return { desktopDevices: { __typename: "DesktopDeviceConnection", nodes: enrichedNodes, pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } };
17642
+ },
17643
+ {
17644
+ id: subscriptionId,
17645
+ entityType: "desktopDevices",
17646
+ operationName: "desktopDevices",
17647
+ modelName: "DesktopDevice",
17648
+ filter: variables?.filter
17649
+ },
17650
+ watchedRelations
17651
+ );
17652
+ return new MappedDvinaQueryRef(raw, (response) => {
17653
+ const data = response.desktopDevices;
17654
+ const connection = new DesktopDeviceConnection(this._request, (conn, opts) => new _DesktopDevicesQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
17655
+ if (includes.length > 0) {
17656
+ const rawNodes = data.nodes ?? [];
17657
+ for (let i = 0; i < connection.nodes.length; i++) {
17658
+ hydrateIncludes(connection.nodes[i], rawNodes[i] ?? {}, includes, this._request, this._syncEngine, this._baseUrl);
17659
+ }
17660
+ }
17661
+ return connection;
17662
+ });
17663
+ }
17664
+ /** Include chats in this query (Smart Fetch — single HTTP request). */
17665
+ chats(variables, builder) {
17666
+ const info = extractIncludeInfo(DesktopDevice_ChatsDocument, "chats", ["id"]);
17667
+ let children;
17668
+ if (builder) {
17669
+ const sub = new ChatSubBuilder();
17670
+ builder(sub);
17671
+ children = sub._includes;
17672
+ }
17673
+ this._includes.push({
17674
+ fieldName: "chats",
17675
+ fragmentDoc: ChatConnectionFragmentDoc,
17676
+ variables,
17677
+ isConnection: true,
17678
+ isList: false,
17679
+ variableDefinitions: info.variableDefinitions,
17680
+ fieldArguments: info.fieldArguments,
17681
+ syncMetadata: {
17682
+ entityType: "chats",
17683
+ requiredFields: ["id", "name", "reasoningEffort", "piiSanitizationEnabled", "createdAt", "updatedAt"]
17684
+ },
17685
+ children,
17686
+ modelFactory: (req, data, se, bu) => new Chat(req, data, se, bu),
17687
+ connectionFactory: (req, fetch2, data, se, bu) => new ChatConnection(req, fetch2, data, se, bu)
17688
+ });
17689
+ return this;
17690
+ }
17691
+ /** Include desktopBindings in this query (Smart Fetch — single HTTP request). */
17692
+ desktopBindings(variables) {
17693
+ const info = extractIncludeInfo(DesktopDevice_DesktopBindingsDocument, "desktopBindings", ["id"]);
17694
+ this._includes.push({
17695
+ fieldName: "desktopBindings",
17696
+ fragmentDoc: ProjectDesktopBindingFragmentDoc,
17697
+ variables,
17698
+ isConnection: false,
17699
+ isList: true,
17700
+ variableDefinitions: info.variableDefinitions,
17701
+ fieldArguments: info.fieldArguments,
17702
+ syncMetadata: {
17703
+ entityType: "projectDesktopBindings",
17704
+ requiredFields: ["projectId", "deviceId", "kind", "rootPath", "createdAt", "updatedAt"]
17705
+ },
17706
+ modelFactory: (req, data, se, bu) => new ProjectDesktopBinding(req, data, se, bu)
17707
+ });
17708
+ return this;
17440
17709
  }
17441
17710
  };
17442
17711
  var DocumentQuery = class extends Request {
@@ -20011,7 +20280,7 @@ var LiveContextsQuery = class _LiveContextsQuery extends Request {
20011
20280
  return this;
20012
20281
  }
20013
20282
  };
20014
- var LocalRuntimeOverviewQuery = class extends Request {
20283
+ var LocalSandboxDeviceStatusesQuery = class extends Request {
20015
20284
  _variables;
20016
20285
  _includes = [];
20017
20286
  constructor(request, syncEngine, variables = {}, baseUrl) {
@@ -20019,128 +20288,11 @@ var LocalRuntimeOverviewQuery = class extends Request {
20019
20288
  this._variables = variables;
20020
20289
  }
20021
20290
  async fetch(options) {
20022
- const variables = this._variables;
20023
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(LocalRuntimeOverviewDocument, "localRuntimeOverview", this._includes, variables);
20024
- const response = await this._syncEngine.query(queryDoc, mergedVars, "localRuntimeOverview");
20025
- const data = response.localRuntimeOverview;
20026
- const instance = new LocalRuntimeOverviewModel(this._request, data, this._syncEngine, this._baseUrl);
20027
- if (this._includes.length > 0) {
20028
- hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
20029
- }
20030
- return instance;
20031
- }
20032
- watch(options) {
20033
- const variables = this._variables;
20034
- const includes = this._includes;
20035
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(LocalRuntimeOverviewDocument, "localRuntimeOverview", includes, variables);
20036
- const raw = this._syncEngine.watch(
20037
- queryDoc,
20038
- mergedVars,
20039
- "localRuntimeOverview",
20040
- async (db) => {
20041
- const vars = variables;
20042
- const pkField = getPrimaryKeyField("localRuntimeOverviewModels");
20043
- const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
20044
- const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
20045
- const entity = hasEntityKey ? await db.table("localRuntimeOverviewModels").get(entityKey) : void 0;
20046
- if (includes.length > 0 && entity) {
20047
- const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
20048
- const result = await reconstructEntity(db, "localRuntimeOverviewModels", parentId, includes);
20049
- return { localRuntimeOverview: result };
20050
- }
20051
- return { localRuntimeOverview: entity ?? null };
20052
- }
20053
- );
20054
- return new MappedDvinaQueryRef(raw, (response) => {
20055
- const data = response.localRuntimeOverview;
20056
- const instance = new LocalRuntimeOverviewModel(this._request, data, this._syncEngine, this._baseUrl);
20057
- if (includes.length > 0) {
20058
- hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
20059
- }
20060
- return instance;
20061
- });
20062
- }
20063
- /** Include devices in this query (Smart Fetch — single HTTP request). */
20064
- devices(variables) {
20065
- const info = extractIncludeInfo(LocalRuntimeOverview_DevicesDocument, "devices", []);
20066
- this._includes.push({
20067
- fieldName: "devices",
20068
- fragmentDoc: LocalRuntimeDeviceModelFragmentDoc,
20069
- variables,
20070
- isConnection: false,
20071
- isList: true,
20072
- variableDefinitions: info.variableDefinitions,
20073
- fieldArguments: info.fieldArguments,
20074
- syncMetadata: {
20075
- entityType: "localRuntimeDeviceModels",
20076
- requiredFields: ["deviceId", "label", "state", "isPreferred", "isResolved"]
20077
- },
20078
- modelFactory: (req, data, se, bu) => new LocalRuntimeDeviceModel(req, data, se, bu)
20079
- });
20080
- return this;
20081
- }
20082
- };
20083
- var LocalRuntimeOverview_DevicesQuery = class extends Request {
20084
- _variables;
20085
- constructor(request, syncEngine, variables = {}, baseUrl) {
20086
- super(request, syncEngine, void 0, baseUrl);
20087
- this._variables = variables;
20088
- }
20089
- async fetch(options) {
20090
- const response = await this._syncEngine.query(LocalRuntimeOverview_DevicesDocument, this._variables, "localRuntimeOverview");
20091
- const data = response.localRuntimeOverview?.devices;
20291
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(LocalSandboxDeviceStatusesDocument, "localSandboxDeviceStatuses", this._includes, this._variables);
20292
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "localSandboxDeviceStatuses");
20293
+ const data = response.localSandboxDeviceStatuses;
20092
20294
  if (!Array.isArray(data)) return [];
20093
- return data.map((item) => new LocalRuntimeDeviceModel(this._request, item, this._syncEngine, this._baseUrl));
20094
- }
20095
- };
20096
- var LocalSandboxDeviceStatusQuery = class extends Request {
20097
- _variables;
20098
- _includes = [];
20099
- constructor(request, syncEngine, variables = {}, baseUrl) {
20100
- super(request, syncEngine, void 0, baseUrl);
20101
- this._variables = variables;
20102
- }
20103
- async fetch(options) {
20104
- const variables = this._variables;
20105
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(LocalSandboxDeviceStatusDocument, "localSandboxDeviceStatus", this._includes, variables);
20106
- const response = await this._syncEngine.query(queryDoc, mergedVars, "localSandboxDeviceStatus");
20107
- const data = response.localSandboxDeviceStatus;
20108
- const instance = new LocalSandboxDeviceStatusModel(this._request, data, this._syncEngine, this._baseUrl);
20109
- if (this._includes.length > 0) {
20110
- hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
20111
- }
20112
- return instance;
20113
- }
20114
- watch(options) {
20115
- const variables = this._variables;
20116
- const includes = this._includes;
20117
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(LocalSandboxDeviceStatusDocument, "localSandboxDeviceStatus", includes, variables);
20118
- const raw = this._syncEngine.watch(
20119
- queryDoc,
20120
- mergedVars,
20121
- "localSandboxDeviceStatus",
20122
- async (db) => {
20123
- const vars = variables;
20124
- const pkField = getPrimaryKeyField("localSandboxDeviceStatusModels");
20125
- const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
20126
- const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
20127
- const entity = hasEntityKey ? await db.table("localSandboxDeviceStatusModels").get(entityKey) : void 0;
20128
- if (includes.length > 0 && entity) {
20129
- const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
20130
- const result = await reconstructEntity(db, "localSandboxDeviceStatusModels", parentId, includes);
20131
- return { localSandboxDeviceStatus: result };
20132
- }
20133
- return { localSandboxDeviceStatus: entity ?? null };
20134
- }
20135
- );
20136
- return new MappedDvinaQueryRef(raw, (response) => {
20137
- const data = response.localSandboxDeviceStatus;
20138
- const instance = new LocalSandboxDeviceStatusModel(this._request, data, this._syncEngine, this._baseUrl);
20139
- if (includes.length > 0) {
20140
- hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
20141
- }
20142
- return instance;
20143
- });
20295
+ return data.map((item) => new LocalSandboxDeviceStatusModel(this._request, item, this._syncEngine, this._baseUrl));
20144
20296
  }
20145
20297
  };
20146
20298
  var NotificationQuery = class extends Request {
@@ -22257,9 +22409,13 @@ var DvinaSdk = class extends Request {
22257
22409
  databases(variables) {
22258
22410
  return new DatabasesQuery(this._request, this._syncEngine, variables, this._baseUrl);
22259
22411
  }
22412
+ /** Query: desktopDevice — call .fetch() or .watch() to execute. */
22413
+ desktopDevice(variables) {
22414
+ return new DesktopDeviceQuery(this._request, this._syncEngine, variables, this._baseUrl);
22415
+ }
22260
22416
  /** Query: desktopDevices — call .fetch() or .watch() to execute. */
22261
- desktopDevices() {
22262
- return new DesktopDevicesQuery(this._request, this._syncEngine, {}, this._baseUrl);
22417
+ desktopDevices(variables) {
22418
+ return new DesktopDevicesQuery(this._request, this._syncEngine, variables, this._baseUrl);
22263
22419
  }
22264
22420
  /** Query: document — call .fetch() or .watch() to execute. */
22265
22421
  document(variables) {
@@ -22389,13 +22545,9 @@ var DvinaSdk = class extends Request {
22389
22545
  liveContexts(variables) {
22390
22546
  return new LiveContextsQuery(this._request, this._syncEngine, variables, this._baseUrl);
22391
22547
  }
22392
- /** Query: localRuntimeOverview — call .fetch() or .watch() to execute. */
22393
- localRuntimeOverview(variables) {
22394
- return new LocalRuntimeOverviewQuery(this._request, this._syncEngine, variables, this._baseUrl);
22395
- }
22396
- /** Query: localSandboxDeviceStatus — call .fetch() or .watch() to execute. */
22397
- localSandboxDeviceStatus(variables) {
22398
- return new LocalSandboxDeviceStatusQuery(this._request, this._syncEngine, variables, this._baseUrl);
22548
+ /** Query: localSandboxDeviceStatuses — call .fetch() or .watch() to execute. */
22549
+ localSandboxDeviceStatuses(variables) {
22550
+ return new LocalSandboxDeviceStatusesQuery(this._request, this._syncEngine, variables, this._baseUrl);
22399
22551
  }
22400
22552
  /** Query: notification — call .fetch() or .watch() to execute. */
22401
22553
  notification(variables) {
@@ -22540,6 +22692,6 @@ var DvinaSdk = class extends Request {
22540
22692
  }
22541
22693
  };
22542
22694
 
22543
- export { AbortChatMutation, Action, AddInsightToReportMutation, Agent, AgentConnection, AgentQuery, AgentSubBuilder, Agent_ChatsQuery, AgentsQuery, 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, ContentMask, 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, DeleteArtifactMutation, DeleteChatMutation, DeleteDatabaseMutation, DeleteDocumentMutation, DeleteFolderMutation, DeleteInsightMutation, DeleteInsightsMutation, DeleteIntegrationMutation, DeleteProjectMutation, DeleteReportMutation, DeleteTableMutation, DeleteUserSkillFileMutation, DeleteUserSkillFolderMutation, DesktopDevice, DesktopDeviceModel, 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, Invocation, LiveContext, LiveContextConnection, LiveContextQuery, LiveContextSubBuilder, LiveContext_ItemsQuery, LiveContext_SourceQuery, LiveContext_Source_EvidencesQuery, LiveContextsQuery, LocalRuntimeDeviceModel, LocalRuntimeOverviewModel, LocalRuntimeOverviewQuery, LocalRuntimeOverview_DevicesQuery, LocalSandboxDeviceStatusModel, LocalSandboxDeviceStatusQuery, MUTATION_CACHE_RULES, MappedDvinaQueryRef, McpAuthUpdateModel, McpAuthUpdatesSubscription, McpClientInformation, McpCodeVerifier, McpServer, McpTokens, McpTool, MessageEndEventOutput, MessageStartEventOutput, ModelTokenUsage, Notification, NotificationConnection, NotificationQuery, NotificationsByReferenceQuery, NotificationsQuery, PRIMARY_KEY_CONFIG, PreviewChatImportMutation, PrivacyStats, PrivacyStatsQuery, 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, 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, UsageMetaOutput, UsageStatus, UsageWindowsStatusType, UserSkillFile, UserSkillFileModel, UserSkillFileQuery, UserSkillFilesQuery, UserSkillFolder, UserSkillFolderModel, UserSkillFolderQuery, UserSkillFoldersQuery, WidgetBlockCompleteEventOutput, WidgetBlockErrorEventOutput, WidgetBlockStartEventOutput, WidgetHtmlDeltaEventOutput, WindowDetailType, WorkspaceDeleteSchedule, WorkspaceDeletionScheduleQuery, closeDatabase, createChatStreamClient, createDvinaClient, createLazySyncEngine, createSseTransport, createWsTransport, deleteDatabase, getOrCreateDatabase, reconstructConnectionNodes, reconstructEntity, uploadFile };
22544
- //# sourceMappingURL=chunk-PAYMMCFU.js.map
22545
- //# sourceMappingURL=chunk-PAYMMCFU.js.map
22695
+ export { AbortChatMutation, Action, AddInsightToReportMutation, Agent, AgentConnection, AgentQuery, AgentSubBuilder, Agent_ChatsQuery, AgentsQuery, 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, ContentMask, 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, DeleteArtifactMutation, DeleteChatMutation, DeleteDatabaseMutation, DeleteDocumentMutation, DeleteFolderMutation, DeleteInsightMutation, DeleteInsightsMutation, DeleteIntegrationMutation, DeleteProjectMutation, DeleteReportMutation, 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, Invocation, LiveContext, LiveContextConnection, LiveContextQuery, LiveContextSubBuilder, LiveContext_ItemsQuery, LiveContext_SourceQuery, LiveContext_Source_EvidencesQuery, LiveContextsQuery, LocalSandboxDeviceStatusModel, LocalSandboxDeviceStatusesQuery, MUTATION_CACHE_RULES, MappedDvinaQueryRef, McpAuthUpdateModel, McpAuthUpdatesSubscription, McpClientInformation, McpCodeVerifier, McpServer, McpTokens, McpTool, MessageEndEventOutput, MessageStartEventOutput, ModelTokenUsage, Notification, NotificationConnection, NotificationQuery, NotificationsByReferenceQuery, NotificationsQuery, PRIMARY_KEY_CONFIG, PreviewChatImportMutation, PrivacyStats, PrivacyStatsQuery, 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, 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, UsageMetaOutput, UsageStatus, UsageWindowsStatusType, UserSkillFile, UserSkillFileModel, UserSkillFileQuery, UserSkillFilesQuery, UserSkillFolder, UserSkillFolderModel, UserSkillFolderQuery, UserSkillFoldersQuery, WidgetBlockCompleteEventOutput, WidgetBlockErrorEventOutput, WidgetBlockStartEventOutput, WidgetHtmlDeltaEventOutput, WindowDetailType, WorkspaceDeleteSchedule, WorkspaceDeletionScheduleQuery, closeDatabase, createChatStreamClient, createDvinaClient, createLazySyncEngine, createSseTransport, createWsTransport, deleteDatabase, getOrCreateDatabase, reconstructConnectionNodes, reconstructEntity, uploadFile };
22696
+ //# sourceMappingURL=chunk-V75R2VZY.js.map
22697
+ //# sourceMappingURL=chunk-V75R2VZY.js.map