@dvina/sdk 4.0.175 → 4.0.204

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-IY3FWPNP.cjs → _generated_documents-CRKVFZQI.cjs} +750 -550
  2. package/dist/{_generated_documents-IY3FWPNP.cjs.map → _generated_documents-CRKVFZQI.cjs.map} +1 -1
  3. package/dist/_generated_documents-F3ZIS3JM.js +4 -0
  4. package/dist/{_generated_documents-Q6OTMWZ6.js.map → _generated_documents-F3ZIS3JM.js.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-MF2FZGXV.js → chunk-CHUY7Y2H.js} +115 -24
  10. package/dist/chunk-CHUY7Y2H.js.map +1 -0
  11. package/dist/{chunk-K3X4BLL7.cjs → chunk-F4NHYL2R.cjs} +164 -23
  12. package/dist/chunk-F4NHYL2R.cjs.map +1 -0
  13. package/dist/{chunk-IHJ5KI6X.cjs → chunk-SQU7RYLF.cjs} +1776 -522
  14. package/dist/chunk-SQU7RYLF.cjs.map +1 -0
  15. package/dist/{chunk-4G7NIJ4M.js → chunk-YWW2VBNQ.js} +1273 -53
  16. package/dist/chunk-YWW2VBNQ.js.map +1 -0
  17. package/dist/{client-DE3e6SwA.d.cts → client-BsG-S2_P.d.cts} +1010 -1
  18. package/dist/{client-3CExTHwf.d.ts → client-cnmS1OmF.d.ts} +1010 -1
  19. package/dist/index.cjs +565 -405
  20. package/dist/index.d.cts +307 -4
  21. package/dist/index.d.ts +307 -4
  22. package/dist/index.js +2 -2
  23. package/package.json +1 -1
  24. package/dist/_generated_documents-Q6OTMWZ6.js +0 -4
  25. package/dist/chunk-4G7NIJ4M.js.map +0 -1
  26. package/dist/chunk-IHJ5KI6X.cjs.map +0 -1
  27. package/dist/chunk-K3X4BLL7.cjs.map +0 -1
  28. package/dist/chunk-MF2FZGXV.js.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, InsightFragmentDoc, ChatMessageConnectionFragmentDoc, ContentBlockFragmentDoc, FeedbackFragmentDoc, DatabaseEngineFragmentDoc, TableConnectionFragmentDoc, 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, CreateReportDocument, CreateTableDocument, CreateUserSkillFileDocument, CreateUserSkillFolderDocument, DeleteAgentDocument, DeleteArtifactDocument, DeleteChatDocument, DeleteDatabaseDocument, DeleteDocumentDocument, DeleteFolderDocument, DeleteInsightDocument, DeleteInsightsDocument, DeleteIntegrationDocument, DeleteReportDocument, DeleteTableDocument, DeleteUserSkillFileDocument, DeleteUserSkillFolderDocument, DisconnectIntegrationDocument, DismissPulseEventDocument, ExecuteChatImportDocument, GenerateUploadUriDocument, PreviewChatImportDocument, ReanalyzeDocumentDocument, RefineAgentInstructionDocument, RefineSkillInstructionDocument, RefreshDatabaseSchemaDocument, RefreshInsightDocument, ReinterpretSourceDocument, ReinterpretSourcesOfuserDocument, RelocateInsightDocument, RemoveInsightFromReportDocument, ResetWorkspaceDocument, ResolvePulseEventDocument, ScheduleWorkspaceDeletionDocument, SendMessageDocument, SetDatabasePrimaryKeyDocument, UpdateAgentDocument, UpdateArtifactNameDocument, UpdateChatDocument, UpdateDatabaseDocument, UpdateDocumentDocument, UpdateFolderDocument, UpdateInsightDocument, UpdateInsightInReportDocument, UpdateInsightThumbnailDocument, UpdateInterpDocument, UpdateLiveContextDocument, UpdatePulseTriggerDocument, UpdateReportDocument, UpdateTableDocument, UpdateUserSkillFileDocument, UpdateUserSkillFolderDocument, AgentDocument, Agent_ChatsDocument, AgentsDocument, ArtifactDocument, Artifact_ChatDocument, Artifact_Chat_InsightDocument, Artifact_FileDocument, Artifact_MessageDocument, Artifact_Message_ChatDocument, Artifact_Message_ContentsDocument, Artifact_Message_FeedbackDocument, ArtifactsDocument, ChatDocument, Chat_AgentsDocument, Chat_ArtifactsDocument, Chat_InsightDocument, Chat_Insight_ReportMembersDocument, Chat_Insight_ThumbnailFileDocument, Chat_MessagesDocument, ChatMessageDocument, ChatMessage_ArtifactsDocument, ChatMessage_ChatDocument, ChatMessage_Chat_InsightDocument, ChatMessage_ContentsDocument, ChatMessage_FeedbackDocument, ChatMessagesDocument, ChatsDocument, DatabaseDocument, Database_EngineDocument, Database_Engine_CatalogDocument, Database_TablesDocument, DatabaseCatalogDocument, DatabaseCatalog_EngineDocument, DatabaseCatalogsDocument, DatabaseSchemaDocument, DatabasesDocument, 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_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, NotificationDocument, NotificationsDocument, NotificationsByReferenceDocument, PrivacyStatsDocument, 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-MF2FZGXV.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-CHUY7Y2H.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 = "fb892580cf13df3b";
7562
+ var SCHEMA_HASH = "1438f7de63b12149";
7563
7563
  var DB_ENTITY_SCHEMA = {
7564
7564
  actions: "id",
7565
7565
  agents: "id",
@@ -7575,6 +7575,8 @@ var DB_ENTITY_SCHEMA = {
7575
7575
  databaseEngines: "key",
7576
7576
  databases: "id",
7577
7577
  deepAnalysisUsages: "id",
7578
+ desktopDeviceModels: "id",
7579
+ desktopDevices: "id",
7578
7580
  documentCatalogs: "formatKey",
7579
7581
  documentContents: "id",
7580
7582
  documentFormats: "key",
@@ -7590,6 +7592,7 @@ var DB_ENTITY_SCHEMA = {
7590
7592
  feedItemGenerateds: "id",
7591
7593
  feedItems: "id",
7592
7594
  feedLiveContextDatas: "id",
7595
+ feedProjectDatas: "id",
7593
7596
  feedPulseDatas: "id",
7594
7597
  feedSendMessageActions: "id",
7595
7598
  files: "id",
@@ -7602,6 +7605,9 @@ var DB_ENTITY_SCHEMA = {
7602
7605
  interpretations: "id",
7603
7606
  invocations: "id",
7604
7607
  liveContexts: "id",
7608
+ localRuntimeDeviceModels: "id",
7609
+ localRuntimeOverviewModels: "id",
7610
+ localSandboxDeviceStatusModels: "deviceId",
7605
7611
  mcpClientInformations: "id",
7606
7612
  mcpCodeVerifiers: "id",
7607
7613
  mcpServers: "id",
@@ -7609,6 +7615,8 @@ var DB_ENTITY_SCHEMA = {
7609
7615
  mcpTools: "id",
7610
7616
  modelTokenUsages: "id",
7611
7617
  notifications: "id",
7618
+ projectDesktopBindings: "projectId",
7619
+ projects: "id",
7612
7620
  pulseAppSummaryModels: "integrationId",
7613
7621
  pulseEvents: "id",
7614
7622
  pulseTriggerSettingModels: "[integrationId+slug]",
@@ -7643,6 +7651,8 @@ var TYPENAME_TO_TABLE = {
7643
7651
  DatabaseCatalog: "databaseCatalogs",
7644
7652
  DatabaseEngine: "databaseEngines",
7645
7653
  DeepAnalysisUsage: "deepAnalysisUsages",
7654
+ DesktopDevice: "desktopDevices",
7655
+ DesktopDeviceModel: "desktopDeviceModels",
7646
7656
  Document: "documents",
7647
7657
  DocumentCatalog: "documentCatalogs",
7648
7658
  DocumentContent: "documentContents",
@@ -7658,6 +7668,7 @@ var TYPENAME_TO_TABLE = {
7658
7668
  FeedItem: "feedItems",
7659
7669
  FeedItemGenerated: "feedItemGenerateds",
7660
7670
  FeedLiveContextData: "feedLiveContextDatas",
7671
+ FeedProjectData: "feedProjectDatas",
7661
7672
  FeedPulseData: "feedPulseDatas",
7662
7673
  FeedSendMessageAction: "feedSendMessageActions",
7663
7674
  File: "files",
@@ -7670,6 +7681,9 @@ var TYPENAME_TO_TABLE = {
7670
7681
  Interpretation: "interpretations",
7671
7682
  Invocation: "invocations",
7672
7683
  LiveContext: "liveContexts",
7684
+ LocalRuntimeDeviceModel: "localRuntimeDeviceModels",
7685
+ LocalRuntimeOverviewModel: "localRuntimeOverviewModels",
7686
+ LocalSandboxDeviceStatusModel: "localSandboxDeviceStatusModels",
7673
7687
  McpClientInformation: "mcpClientInformations",
7674
7688
  McpCodeVerifier: "mcpCodeVerifiers",
7675
7689
  McpServer: "mcpServers",
@@ -7677,6 +7691,8 @@ var TYPENAME_TO_TABLE = {
7677
7691
  McpTool: "mcpTools",
7678
7692
  ModelTokenUsage: "modelTokenUsages",
7679
7693
  Notification: "notifications",
7694
+ Project: "projects",
7695
+ ProjectDesktopBinding: "projectDesktopBindings",
7680
7696
  PulseAppSummaryModel: "pulseAppSummaryModels",
7681
7697
  PulseEvent: "pulseEvents",
7682
7698
  PulseTriggerSettingModel: "pulseTriggerSettingModels",
@@ -7711,6 +7727,8 @@ var TABLE_TO_TYPENAME = {
7711
7727
  databaseEngines: "DatabaseEngine",
7712
7728
  databases: "Database",
7713
7729
  deepAnalysisUsages: "DeepAnalysisUsage",
7730
+ desktopDeviceModels: "DesktopDeviceModel",
7731
+ desktopDevices: "DesktopDevice",
7714
7732
  documentCatalogs: "DocumentCatalog",
7715
7733
  documentContents: "DocumentContent",
7716
7734
  documentFormats: "DocumentFormat",
@@ -7726,6 +7744,7 @@ var TABLE_TO_TYPENAME = {
7726
7744
  feedItemGenerateds: "FeedItemGenerated",
7727
7745
  feedItems: "FeedItem",
7728
7746
  feedLiveContextDatas: "FeedLiveContextData",
7747
+ feedProjectDatas: "FeedProjectData",
7729
7748
  feedPulseDatas: "FeedPulseData",
7730
7749
  feedSendMessageActions: "FeedSendMessageAction",
7731
7750
  files: "File",
@@ -7738,6 +7757,9 @@ var TABLE_TO_TYPENAME = {
7738
7757
  interpretations: "Interpretation",
7739
7758
  invocations: "Invocation",
7740
7759
  liveContexts: "LiveContext",
7760
+ localRuntimeDeviceModels: "LocalRuntimeDeviceModel",
7761
+ localRuntimeOverviewModels: "LocalRuntimeOverviewModel",
7762
+ localSandboxDeviceStatusModels: "LocalSandboxDeviceStatusModel",
7741
7763
  mcpClientInformations: "McpClientInformation",
7742
7764
  mcpCodeVerifiers: "McpCodeVerifier",
7743
7765
  mcpServers: "McpServer",
@@ -7745,6 +7767,8 @@ var TABLE_TO_TYPENAME = {
7745
7767
  mcpTools: "McpTool",
7746
7768
  modelTokenUsages: "ModelTokenUsage",
7747
7769
  notifications: "Notification",
7770
+ projectDesktopBindings: "ProjectDesktopBinding",
7771
+ projects: "Project",
7748
7772
  pulseAppSummaryModels: "PulseAppSummaryModel",
7749
7773
  pulseEvents: "PulseEvent",
7750
7774
  pulseTriggerSettingModels: "PulseTriggerSettingModel",
@@ -7771,6 +7795,8 @@ var PRIMARY_KEY_CONFIG = {
7771
7795
  documentFormats: "key",
7772
7796
  integrationCatalogs: "providerKey",
7773
7797
  integrationProviders: "key",
7798
+ localSandboxDeviceStatusModels: "deviceId",
7799
+ projectDesktopBindings: "projectId",
7774
7800
  pulseAppSummaryModels: "integrationId",
7775
7801
  pulseTriggerSettingModels: ["integrationId", "slug"],
7776
7802
  reportMembers: ["reportId", "insightId"]
@@ -7784,6 +7810,7 @@ var MUTATION_CACHE_RULES = {
7784
7810
  createFolder: { type: "create", entityType: "folders", connectionFields: ["folders"] },
7785
7811
  createInsight: { type: "create", entityType: "insights", connectionFields: ["insights"] },
7786
7812
  createIntegration: { type: "create", entityType: "integrations", connectionFields: ["integrations"] },
7813
+ createProject: { type: "create", entityType: "projects", connectionFields: ["projects"] },
7787
7814
  createReport: { type: "create", entityType: "reports", connectionFields: ["reports"] },
7788
7815
  createTable: { type: "create", entityType: "tables", connectionFields: ["tables"] },
7789
7816
  createUserSkillFile: { type: "create", entityType: "userSkillFiles", connectionFields: ["userSkillFiles"] },
@@ -7797,6 +7824,7 @@ var MUTATION_CACHE_RULES = {
7797
7824
  deleteInsight: { type: "delete", entityType: "insights", connectionFields: ["insights"], cascadeDelete: [{ entityType: "reportMembers" }] },
7798
7825
  deleteInsights: { type: "delete", entityType: "insights", connectionFields: ["insights"], cascadeDelete: [{ entityType: "reportMembers" }] },
7799
7826
  deleteIntegration: { type: "delete", entityType: "integrations", connectionFields: ["integrations"] },
7827
+ deleteProject: { type: "delete", entityType: "projects", connectionFields: ["projects"] },
7800
7828
  deleteReport: { type: "delete", entityType: "reports", connectionFields: ["reports"], cascadeDelete: [{ entityType: "reportMembers" }] },
7801
7829
  deleteTable: { type: "delete", entityType: "tables", connectionFields: ["tables"], cascadeDelete: [{ entityType: "relations", relationFields: ["fromTableId", "toTableId"] }, { entityType: "cubeModels", relationFields: ["id"] }] },
7802
7830
  deleteUserSkillFile: { type: "delete", entityType: "userSkillFiles", connectionFields: ["userSkillFiles"] },
@@ -7808,6 +7836,7 @@ var MUTATION_CACHE_RULES = {
7808
7836
  updateFolder: { type: "update", entityType: "folders" },
7809
7837
  updateInsight: { type: "update", entityType: "insights" },
7810
7838
  updateLiveContext: { type: "update", entityType: "liveContexts" },
7839
+ updateProject: { type: "update", entityType: "projects" },
7811
7840
  updateReport: { type: "update", entityType: "reports" },
7812
7841
  updateTable: { type: "update", entityType: "tables" },
7813
7842
  updateUserSkillFile: { type: "update", entityType: "userSkillFiles" },
@@ -10339,7 +10368,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
10339
10368
  var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
10340
10369
  var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
10341
10370
  async function uploadFile(request, getToken, file, name, options) {
10342
- const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-Q6OTMWZ6.js');
10371
+ const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-F3ZIS3JM.js');
10343
10372
  const key = `upload_${Date.now()}`;
10344
10373
  const response = await request(
10345
10374
  GenerateUploadUriDocument2,
@@ -10547,6 +10576,9 @@ function createDvinaClient(options) {
10547
10576
  dbInitPromise = getToken().then((token) => getOrCreateDatabase(token)).then((database) => {
10548
10577
  db = database;
10549
10578
  return db;
10579
+ }).catch((error) => {
10580
+ dbInitPromise = void 0;
10581
+ throw error;
10550
10582
  });
10551
10583
  return dbInitPromise;
10552
10584
  }
@@ -11284,8 +11316,11 @@ var Chat = class extends DvinaModel {
11284
11316
  closedAt;
11285
11317
  originMeta;
11286
11318
  insightId;
11319
+ projectId;
11320
+ deviceId;
11287
11321
  createdAt;
11288
11322
  updatedAt;
11323
+ sourceProvider;
11289
11324
  constructor(request, data, syncEngine, baseUrl) {
11290
11325
  super(request, syncEngine, baseUrl);
11291
11326
  this.id = data.id;
@@ -11295,8 +11330,11 @@ var Chat = class extends DvinaModel {
11295
11330
  this.closedAt = data.closedAt ? new Date(data.closedAt) : void 0;
11296
11331
  this.originMeta = data.originMeta ?? void 0;
11297
11332
  this.insightId = data.insightId ?? void 0;
11333
+ this.projectId = data.projectId ?? void 0;
11334
+ this.deviceId = data.deviceId ?? void 0;
11298
11335
  this.createdAt = new Date(data.createdAt);
11299
11336
  this.updatedAt = new Date(data.updatedAt);
11337
+ this.sourceProvider = data.sourceProvider ?? void 0;
11300
11338
  }
11301
11339
  /** Query the agents relation for this Chat. Call .fetch() or .watch() to execute. */
11302
11340
  agents(variables) {
@@ -11306,6 +11344,10 @@ var Chat = class extends DvinaModel {
11306
11344
  artifacts(variables) {
11307
11345
  return new Chat_ArtifactsQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
11308
11346
  }
11347
+ /** Query the desktopDevice relation for this Chat. Call .fetch() or .watch() to execute. */
11348
+ desktopDevice(variables) {
11349
+ return new Chat_DesktopDeviceQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
11350
+ }
11309
11351
  /** Query the insight relation for this Chat. Call .fetch() or .watch() to execute. */
11310
11352
  insight(variables) {
11311
11353
  return new Chat_InsightQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
@@ -11314,6 +11356,10 @@ var Chat = class extends DvinaModel {
11314
11356
  messages(variables) {
11315
11357
  return new Chat_MessagesQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
11316
11358
  }
11359
+ /** Query the project relation for this Chat. Call .fetch() or .watch() to execute. */
11360
+ project(variables) {
11361
+ return new Chat_ProjectQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
11362
+ }
11317
11363
  };
11318
11364
  var ChatImportExecuteOutput = class extends DvinaModel {
11319
11365
  archiveHash;
@@ -11557,6 +11603,60 @@ var DeepAnalysisUsage = class extends DvinaModel {
11557
11603
  this.createdAt = new Date(data.createdAt);
11558
11604
  }
11559
11605
  };
11606
+ var DesktopDevice = class extends DvinaModel {
11607
+ id;
11608
+ deviceLabel;
11609
+ platform;
11610
+ deviceType;
11611
+ manufacturer;
11612
+ modelName;
11613
+ modelYear;
11614
+ macAddress;
11615
+ appVersion;
11616
+ lastSeenAt;
11617
+ createdAt;
11618
+ updatedAt;
11619
+ constructor(request, data, syncEngine, baseUrl) {
11620
+ super(request, syncEngine, baseUrl);
11621
+ this.id = data.id;
11622
+ this.deviceLabel = data.deviceLabel;
11623
+ this.platform = data.platform ?? void 0;
11624
+ this.deviceType = data.deviceType ?? void 0;
11625
+ this.manufacturer = data.manufacturer ?? void 0;
11626
+ this.modelName = data.modelName ?? void 0;
11627
+ this.modelYear = data.modelYear ?? void 0;
11628
+ this.macAddress = data.macAddress ?? void 0;
11629
+ this.appVersion = data.appVersion ?? void 0;
11630
+ this.lastSeenAt = data.lastSeenAt ? new Date(data.lastSeenAt) : void 0;
11631
+ this.createdAt = new Date(data.createdAt);
11632
+ this.updatedAt = new Date(data.updatedAt);
11633
+ }
11634
+ };
11635
+ var DesktopDeviceModel = class extends DvinaModel {
11636
+ deviceId;
11637
+ deviceLabel;
11638
+ platform;
11639
+ deviceType;
11640
+ manufacturer;
11641
+ modelName;
11642
+ modelYear;
11643
+ appVersion;
11644
+ lastSeenAt;
11645
+ state;
11646
+ constructor(request, data, syncEngine, baseUrl) {
11647
+ super(request, syncEngine, baseUrl);
11648
+ this.deviceId = data.deviceId;
11649
+ this.deviceLabel = data.deviceLabel;
11650
+ this.platform = data.platform ?? void 0;
11651
+ this.deviceType = data.deviceType ?? void 0;
11652
+ this.manufacturer = data.manufacturer ?? void 0;
11653
+ this.modelName = data.modelName ?? void 0;
11654
+ this.modelYear = data.modelYear ?? void 0;
11655
+ this.appVersion = data.appVersion ?? void 0;
11656
+ this.lastSeenAt = data.lastSeenAt ?? void 0;
11657
+ this.state = data.state;
11658
+ }
11659
+ };
11560
11660
  var DevAccessTokenOutput = class extends DvinaModel {
11561
11661
  access_token;
11562
11662
  constructor(request, data, syncEngine, baseUrl) {
@@ -11806,6 +11906,8 @@ var FeedItem = class extends DvinaModel {
11806
11906
  return new FeedInsightData(request, value, syncEngine, baseUrl);
11807
11907
  case "FeedIntegrationData":
11808
11908
  return new FeedIntegrationData(request, value, syncEngine, baseUrl);
11909
+ case "FeedProjectData":
11910
+ return new FeedProjectData(request, value, syncEngine, baseUrl);
11809
11911
  case "FeedLiveContextData":
11810
11912
  return new FeedLiveContextData(request, value, syncEngine, baseUrl);
11811
11913
  case "FeedPulseData":
@@ -11856,6 +11958,17 @@ var FeedLiveContextData = class extends DvinaModel {
11856
11958
  this.sources = data.sources;
11857
11959
  }
11858
11960
  };
11961
+ var FeedProjectData = class extends DvinaModel {
11962
+ iconDataUrl;
11963
+ kind;
11964
+ projectSource;
11965
+ constructor(request, data, syncEngine, baseUrl) {
11966
+ super(request, syncEngine, baseUrl);
11967
+ this.iconDataUrl = data.iconDataUrl ?? void 0;
11968
+ this.kind = data.kind;
11969
+ this.projectSource = data.projectSource;
11970
+ }
11971
+ };
11859
11972
  var FeedPulseData = class extends DvinaModel {
11860
11973
  kind;
11861
11974
  priority;
@@ -12226,6 +12339,59 @@ var LiveContext = class extends DvinaModel {
12226
12339
  return new LiveContext_SourceQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
12227
12340
  }
12228
12341
  };
12342
+ var LocalRuntimeDeviceModel = class extends DvinaModel {
12343
+ deviceId;
12344
+ label;
12345
+ platform;
12346
+ deviceType;
12347
+ manufacturer;
12348
+ modelName;
12349
+ modelYear;
12350
+ lastSeenAt;
12351
+ state;
12352
+ isPreferred;
12353
+ isResolved;
12354
+ constructor(request, data, syncEngine, baseUrl) {
12355
+ super(request, syncEngine, baseUrl);
12356
+ this.deviceId = data.deviceId;
12357
+ this.label = data.label;
12358
+ this.platform = data.platform ?? void 0;
12359
+ this.deviceType = data.deviceType ?? void 0;
12360
+ this.manufacturer = data.manufacturer ?? void 0;
12361
+ this.modelName = data.modelName ?? void 0;
12362
+ this.modelYear = data.modelYear ?? void 0;
12363
+ this.lastSeenAt = data.lastSeenAt ?? void 0;
12364
+ this.state = data.state;
12365
+ this.isPreferred = data.isPreferred;
12366
+ this.isResolved = data.isResolved;
12367
+ }
12368
+ };
12369
+ var LocalRuntimeOverviewModel = class extends DvinaModel {
12370
+ state;
12371
+ resolvedDeviceId;
12372
+ resolvedDeviceLabel;
12373
+ connectedDeviceCount;
12374
+ devices;
12375
+ constructor(request, data, syncEngine, baseUrl) {
12376
+ super(request, syncEngine, baseUrl);
12377
+ this.state = data.state;
12378
+ this.resolvedDeviceId = data.resolvedDeviceId ?? void 0;
12379
+ this.resolvedDeviceLabel = data.resolvedDeviceLabel ?? void 0;
12380
+ this.connectedDeviceCount = data.connectedDeviceCount;
12381
+ this.devices = Array.isArray(data.devices) ? data.devices.filter(Boolean).map((item) => new LocalRuntimeDeviceModel(request, item, syncEngine, baseUrl)) : [];
12382
+ }
12383
+ };
12384
+ var LocalSandboxDeviceStatusModel = class extends DvinaModel {
12385
+ state;
12386
+ deviceId;
12387
+ lastSeenAt;
12388
+ constructor(request, data, syncEngine, baseUrl) {
12389
+ super(request, syncEngine, baseUrl);
12390
+ this.state = data.state;
12391
+ this.deviceId = data.deviceId;
12392
+ this.lastSeenAt = data.lastSeenAt ?? void 0;
12393
+ }
12394
+ };
12229
12395
  var McpAuthUpdateModel = class extends DvinaModel {
12230
12396
  provider;
12231
12397
  phase;
@@ -12410,6 +12576,52 @@ var ProgressSummaryEventOutput = class extends DvinaModel {
12410
12576
  this.targetToolCallId = data.targetToolCallId ?? void 0;
12411
12577
  }
12412
12578
  };
12579
+ var Project = class extends DvinaModel {
12580
+ id;
12581
+ name;
12582
+ source;
12583
+ iconDataUrl;
12584
+ createdAt;
12585
+ updatedAt;
12586
+ constructor(request, data, syncEngine, baseUrl) {
12587
+ super(request, syncEngine, baseUrl);
12588
+ this.id = data.id;
12589
+ this.name = data.name;
12590
+ this.source = data.source;
12591
+ this.iconDataUrl = data.iconDataUrl ?? void 0;
12592
+ this.createdAt = new Date(data.createdAt);
12593
+ this.updatedAt = new Date(data.updatedAt);
12594
+ }
12595
+ /** Query the chats relation for this Project. Call .fetch() or .watch() to execute. */
12596
+ chats(variables) {
12597
+ return new Project_ChatsQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
12598
+ }
12599
+ /** Query the desktopBinding relation for this Project. Call .fetch() or .watch() to execute. */
12600
+ desktopBinding(variables) {
12601
+ return new Project_DesktopBindingQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
12602
+ }
12603
+ };
12604
+ var ProjectDesktopBinding = class extends DvinaModel {
12605
+ projectId;
12606
+ deviceId;
12607
+ kind;
12608
+ rootPath;
12609
+ createdAt;
12610
+ updatedAt;
12611
+ constructor(request, data, syncEngine, baseUrl) {
12612
+ super(request, syncEngine, baseUrl);
12613
+ this.projectId = data.projectId;
12614
+ this.deviceId = data.deviceId;
12615
+ this.kind = data.kind;
12616
+ this.rootPath = data.rootPath;
12617
+ this.createdAt = new Date(data.createdAt);
12618
+ this.updatedAt = new Date(data.updatedAt);
12619
+ }
12620
+ /** Lazy-fetch the project relation. Call .fetch() or .watch() to execute. */
12621
+ project() {
12622
+ return new ProjectQuery(this._request, this._syncEngine, { id: this.projectId }, this._baseUrl);
12623
+ }
12624
+ };
12413
12625
  var PulseAppSummaryModel = class extends DvinaModel {
12414
12626
  activeTriggerCount;
12415
12627
  integrationId;
@@ -13222,6 +13434,17 @@ var NotificationConnection = class extends Connection {
13222
13434
  );
13223
13435
  }
13224
13436
  };
13437
+ var ProjectConnection = class extends Connection {
13438
+ constructor(request, fetch2, data, syncEngine, baseUrl) {
13439
+ super(
13440
+ request,
13441
+ fetch2,
13442
+ data.nodes?.map((node) => new Project(request, node, syncEngine, baseUrl)) ?? [],
13443
+ new PageInfo(data.pageInfo),
13444
+ data.totalCount ?? void 0
13445
+ );
13446
+ }
13447
+ };
13225
13448
  var PulseEventConnection = class extends Connection {
13226
13449
  constructor(request, fetch2, data, syncEngine, baseUrl) {
13227
13450
  super(
@@ -13418,6 +13641,25 @@ var ChatSubBuilder = class {
13418
13641
  });
13419
13642
  return this;
13420
13643
  }
13644
+ /** Include desktopDevice in the parent query. */
13645
+ desktopDevice(variables) {
13646
+ const info = extractIncludeInfo(Chat_DesktopDeviceDocument, "desktopDevice", ["id"]);
13647
+ this._includes.push({
13648
+ fieldName: "desktopDevice",
13649
+ fragmentDoc: DesktopDeviceFragmentDoc,
13650
+ variables,
13651
+ isConnection: false,
13652
+ isList: false,
13653
+ variableDefinitions: info.variableDefinitions,
13654
+ fieldArguments: info.fieldArguments,
13655
+ syncMetadata: {
13656
+ entityType: "desktopDevices",
13657
+ requiredFields: ["id", "deviceLabel", "createdAt", "updatedAt"]
13658
+ },
13659
+ modelFactory: (req, data, se, bu) => new DesktopDevice(req, data, se, bu)
13660
+ });
13661
+ return this;
13662
+ }
13421
13663
  /** Include insight in the parent query. */
13422
13664
  insight(variables, builder) {
13423
13665
  const info = extractIncludeInfo(Chat_InsightDocument, "insight", ["id"]);
@@ -13471,6 +13713,32 @@ var ChatSubBuilder = class {
13471
13713
  });
13472
13714
  return this;
13473
13715
  }
13716
+ /** Include project in the parent query. */
13717
+ project(variables, builder) {
13718
+ const info = extractIncludeInfo(Chat_ProjectDocument, "project", ["id"]);
13719
+ let children;
13720
+ if (builder) {
13721
+ const sub = new ProjectSubBuilder();
13722
+ builder(sub);
13723
+ children = sub._includes;
13724
+ }
13725
+ this._includes.push({
13726
+ fieldName: "project",
13727
+ fragmentDoc: ProjectFragmentDoc,
13728
+ variables,
13729
+ isConnection: false,
13730
+ isList: false,
13731
+ variableDefinitions: info.variableDefinitions,
13732
+ fieldArguments: info.fieldArguments,
13733
+ syncMetadata: {
13734
+ entityType: "projects",
13735
+ requiredFields: ["id", "name", "source", "createdAt", "updatedAt"]
13736
+ },
13737
+ children,
13738
+ modelFactory: (req, data, se, bu) => new Project(req, data, se, bu)
13739
+ });
13740
+ return this;
13741
+ }
13474
13742
  };
13475
13743
  var ChatMessageSubBuilder = class {
13476
13744
  /** @internal */
@@ -13976,6 +14244,56 @@ var LiveContextSubBuilder = class {
13976
14244
  return this;
13977
14245
  }
13978
14246
  };
14247
+ var ProjectSubBuilder = class {
14248
+ /** @internal */
14249
+ _includes = [];
14250
+ /** Include chats in the parent query. */
14251
+ chats(variables, builder) {
14252
+ const info = extractIncludeInfo(Project_ChatsDocument, "chats", ["id"]);
14253
+ let children;
14254
+ if (builder) {
14255
+ const sub = new ChatSubBuilder();
14256
+ builder(sub);
14257
+ children = sub._includes;
14258
+ }
14259
+ this._includes.push({
14260
+ fieldName: "chats",
14261
+ fragmentDoc: ChatConnectionFragmentDoc,
14262
+ variables,
14263
+ isConnection: true,
14264
+ isList: false,
14265
+ variableDefinitions: info.variableDefinitions,
14266
+ fieldArguments: info.fieldArguments,
14267
+ syncMetadata: {
14268
+ entityType: "chats",
14269
+ requiredFields: ["id", "name", "piiSanitizationEnabled", "createdAt", "updatedAt"]
14270
+ },
14271
+ children,
14272
+ modelFactory: (req, data, se, bu) => new Chat(req, data, se, bu),
14273
+ connectionFactory: (req, fetch2, data, se, bu) => new ChatConnection(req, fetch2, data, se, bu)
14274
+ });
14275
+ return this;
14276
+ }
14277
+ /** Include desktopBinding in the parent query. */
14278
+ desktopBinding(variables) {
14279
+ const info = extractIncludeInfo(Project_DesktopBindingDocument, "desktopBinding", ["id"]);
14280
+ this._includes.push({
14281
+ fieldName: "desktopBinding",
14282
+ fragmentDoc: ProjectDesktopBindingFragmentDoc,
14283
+ variables,
14284
+ isConnection: false,
14285
+ isList: false,
14286
+ variableDefinitions: info.variableDefinitions,
14287
+ fieldArguments: info.fieldArguments,
14288
+ syncMetadata: {
14289
+ entityType: "projectDesktopBindings",
14290
+ requiredFields: ["projectId", "deviceId", "kind", "rootPath", "createdAt", "updatedAt"]
14291
+ },
14292
+ modelFactory: (req, data, se, bu) => new ProjectDesktopBinding(req, data, se, bu)
14293
+ });
14294
+ return this;
14295
+ }
14296
+ };
13979
14297
  var PulseEventSubBuilder = class {
13980
14298
  /** @internal */
13981
14299
  _includes = [];
@@ -14256,6 +14574,13 @@ var CreateIntegrationMutation = class extends Request {
14256
14574
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
14257
14575
  }
14258
14576
  };
14577
+ var CreateProjectMutation = class extends Request {
14578
+ async fetch(variables, options) {
14579
+ const response = await this._syncEngine.mutate(CreateProjectDocument, variables, MUTATION_CACHE_RULES["createProject"]);
14580
+ const data = response.createProject;
14581
+ return new Project(this._request, data, this._syncEngine, this._baseUrl);
14582
+ }
14583
+ };
14259
14584
  var CreateReportMutation = class extends Request {
14260
14585
  async fetch(variables, options) {
14261
14586
  const response = await this._syncEngine.mutate(CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
@@ -14346,6 +14671,13 @@ var DeleteIntegrationMutation = class extends Request {
14346
14671
  return response.deleteIntegration;
14347
14672
  }
14348
14673
  };
14674
+ var DeleteProjectMutation = class extends Request {
14675
+ async fetch(variables, options) {
14676
+ const response = await this._syncEngine.mutate(DeleteProjectDocument, variables, MUTATION_CACHE_RULES["deleteProject"]);
14677
+ const data = response.deleteProject;
14678
+ return new Project(this._request, data, this._syncEngine, this._baseUrl);
14679
+ }
14680
+ };
14349
14681
  var DeleteReportMutation = class extends Request {
14350
14682
  async fetch(variables, options) {
14351
14683
  const response = await this._syncEngine.mutate(DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
@@ -14440,6 +14772,13 @@ var RefreshInsightMutation = class extends Request {
14440
14772
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
14441
14773
  }
14442
14774
  };
14775
+ var RegisterDesktopDeviceMutation = class extends Request {
14776
+ async fetch(variables, options) {
14777
+ const response = await this._syncEngine.mutate(RegisterDesktopDeviceDocument, variables, MUTATION_CACHE_RULES["registerDesktopDevice"]);
14778
+ const data = response.registerDesktopDevice;
14779
+ return new DesktopDeviceModel(this._request, data, this._syncEngine, this._baseUrl);
14780
+ }
14781
+ };
14443
14782
  var ReinterpretSourceMutation = class extends Request {
14444
14783
  async fetch(variables) {
14445
14784
  const response = await this._syncEngine.mutate(ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
@@ -14499,6 +14838,13 @@ var SetDatabasePrimaryKeyMutation = class extends Request {
14499
14838
  return response.setDatabasePrimaryKey;
14500
14839
  }
14501
14840
  };
14841
+ var SyncProjectDesktopBindingMutation = class extends Request {
14842
+ async fetch(variables, options) {
14843
+ const response = await this._syncEngine.mutate(SyncProjectDesktopBindingDocument, variables, MUTATION_CACHE_RULES["syncProjectDesktopBinding"]);
14844
+ const data = response.syncProjectDesktopBinding;
14845
+ return new Project(this._request, data, this._syncEngine, this._baseUrl);
14846
+ }
14847
+ };
14502
14848
  var UpdateAgentMutation = class extends Request {
14503
14849
  async fetch(variables, options) {
14504
14850
  const response = await this._syncEngine.mutate(UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
@@ -14575,6 +14921,13 @@ var UpdateLiveContextMutation = class extends Request {
14575
14921
  return new LiveContext(this._request, data, this._syncEngine, this._baseUrl);
14576
14922
  }
14577
14923
  };
14924
+ var UpdateProjectMutation = class extends Request {
14925
+ async fetch(variables, options) {
14926
+ const response = await this._syncEngine.mutate(UpdateProjectDocument, variables, MUTATION_CACHE_RULES["updateProject"]);
14927
+ const data = response.updateProject;
14928
+ return new Project(this._request, data, this._syncEngine, this._baseUrl);
14929
+ }
14930
+ };
14578
14931
  var UpdatePulseTriggerMutation = class extends Request {
14579
14932
  async fetch(variables, options) {
14580
14933
  const response = await this._syncEngine.mutate(UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
@@ -14970,6 +15323,36 @@ var Artifact_ChatQuery = class extends Request {
14970
15323
  });
14971
15324
  }
14972
15325
  };
15326
+ var Artifact_Chat_DesktopDeviceQuery = class extends Request {
15327
+ _variables;
15328
+ constructor(request, syncEngine, variables = {}, baseUrl) {
15329
+ super(request, syncEngine, void 0, baseUrl);
15330
+ this._variables = variables;
15331
+ }
15332
+ async fetch(options) {
15333
+ const variables = this._variables;
15334
+ const response = await this._syncEngine.query(Artifact_Chat_DesktopDeviceDocument, variables, "artifact");
15335
+ const data = response.artifact?.chat?.desktopDevice;
15336
+ return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15337
+ }
15338
+ watch(options) {
15339
+ const variables = this._variables;
15340
+ const raw = this._syncEngine.watch(
15341
+ Artifact_Chat_DesktopDeviceDocument,
15342
+ variables,
15343
+ "artifact",
15344
+ async (db) => {
15345
+ const vars = variables;
15346
+ const entity = vars?.id ? await db.table("desktopDevices").get(vars.id) : void 0;
15347
+ return { artifact: { chat: { desktopDevice: entity ?? null } } };
15348
+ }
15349
+ );
15350
+ return new MappedDvinaQueryRef(raw, (response) => {
15351
+ const data = response.artifact?.chat?.desktopDevice;
15352
+ return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15353
+ });
15354
+ }
15355
+ };
14973
15356
  var Artifact_Chat_InsightQuery = class extends Request {
14974
15357
  _variables;
14975
15358
  constructor(request, syncEngine, variables = {}, baseUrl) {
@@ -15000,6 +15383,36 @@ var Artifact_Chat_InsightQuery = class extends Request {
15000
15383
  });
15001
15384
  }
15002
15385
  };
15386
+ var Artifact_Chat_ProjectQuery = class extends Request {
15387
+ _variables;
15388
+ constructor(request, syncEngine, variables = {}, baseUrl) {
15389
+ super(request, syncEngine, void 0, baseUrl);
15390
+ this._variables = variables;
15391
+ }
15392
+ async fetch(options) {
15393
+ const variables = this._variables;
15394
+ const response = await this._syncEngine.query(Artifact_Chat_ProjectDocument, variables, "artifact");
15395
+ const data = response.artifact?.chat?.project;
15396
+ return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15397
+ }
15398
+ watch(options) {
15399
+ const variables = this._variables;
15400
+ const raw = this._syncEngine.watch(
15401
+ Artifact_Chat_ProjectDocument,
15402
+ variables,
15403
+ "artifact",
15404
+ async (db) => {
15405
+ const vars = variables;
15406
+ const entity = vars?.id ? await db.table("projects").get(vars.id) : void 0;
15407
+ return { artifact: { chat: { project: entity ?? null } } };
15408
+ }
15409
+ );
15410
+ return new MappedDvinaQueryRef(raw, (response) => {
15411
+ const data = response.artifact?.chat?.project;
15412
+ return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15413
+ });
15414
+ }
15415
+ };
15003
15416
  var Artifact_FileQuery = class extends Request {
15004
15417
  _variables;
15005
15418
  constructor(request, syncEngine, variables = {}, baseUrl) {
@@ -15374,6 +15787,25 @@ var ChatQuery = class extends Request {
15374
15787
  });
15375
15788
  return this;
15376
15789
  }
15790
+ /** Include desktopDevice in this query (Smart Fetch — single HTTP request). */
15791
+ desktopDevice(variables) {
15792
+ const info = extractIncludeInfo(Chat_DesktopDeviceDocument, "desktopDevice", ["id"]);
15793
+ this._includes.push({
15794
+ fieldName: "desktopDevice",
15795
+ fragmentDoc: DesktopDeviceFragmentDoc,
15796
+ variables,
15797
+ isConnection: false,
15798
+ isList: false,
15799
+ variableDefinitions: info.variableDefinitions,
15800
+ fieldArguments: info.fieldArguments,
15801
+ syncMetadata: {
15802
+ entityType: "desktopDevices",
15803
+ requiredFields: ["id", "deviceLabel", "createdAt", "updatedAt"]
15804
+ },
15805
+ modelFactory: (req, data, se, bu) => new DesktopDevice(req, data, se, bu)
15806
+ });
15807
+ return this;
15808
+ }
15377
15809
  /** Include insight in this query (Smart Fetch — single HTTP request). */
15378
15810
  insight(variables, builder) {
15379
15811
  const info = extractIncludeInfo(Chat_InsightDocument, "insight", ["id"]);
@@ -15427,6 +15859,32 @@ var ChatQuery = class extends Request {
15427
15859
  });
15428
15860
  return this;
15429
15861
  }
15862
+ /** Include project in this query (Smart Fetch — single HTTP request). */
15863
+ project(variables, builder) {
15864
+ const info = extractIncludeInfo(Chat_ProjectDocument, "project", ["id"]);
15865
+ let children;
15866
+ if (builder) {
15867
+ const sub = new ProjectSubBuilder();
15868
+ builder(sub);
15869
+ children = sub._includes;
15870
+ }
15871
+ this._includes.push({
15872
+ fieldName: "project",
15873
+ fragmentDoc: ProjectFragmentDoc,
15874
+ variables,
15875
+ isConnection: false,
15876
+ isList: false,
15877
+ variableDefinitions: info.variableDefinitions,
15878
+ fieldArguments: info.fieldArguments,
15879
+ syncMetadata: {
15880
+ entityType: "projects",
15881
+ requiredFields: ["id", "name", "source", "createdAt", "updatedAt"]
15882
+ },
15883
+ children,
15884
+ modelFactory: (req, data, se, bu) => new Project(req, data, se, bu)
15885
+ });
15886
+ return this;
15887
+ }
15430
15888
  };
15431
15889
  var Chat_AgentsQuery = class _Chat_AgentsQuery extends Request {
15432
15890
  _variables;
@@ -15504,7 +15962,7 @@ var Chat_ArtifactsQuery = class _Chat_ArtifactsQuery extends Request {
15504
15962
  });
15505
15963
  }
15506
15964
  };
15507
- var Chat_InsightQuery = class extends Request {
15965
+ var Chat_DesktopDeviceQuery = class extends Request {
15508
15966
  _variables;
15509
15967
  constructor(request, syncEngine, variables = {}, baseUrl) {
15510
15968
  super(request, syncEngine, void 0, baseUrl);
@@ -15512,42 +15970,42 @@ var Chat_InsightQuery = class extends Request {
15512
15970
  }
15513
15971
  async fetch(options) {
15514
15972
  const variables = this._variables;
15515
- const response = await this._syncEngine.query(Chat_InsightDocument, variables, "chat");
15516
- const data = response.chat?.insight;
15517
- return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15973
+ const response = await this._syncEngine.query(Chat_DesktopDeviceDocument, variables, "chat");
15974
+ const data = response.chat?.desktopDevice;
15975
+ return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15518
15976
  }
15519
15977
  watch(options) {
15520
15978
  const variables = this._variables;
15521
15979
  const raw = this._syncEngine.watch(
15522
- Chat_InsightDocument,
15980
+ Chat_DesktopDeviceDocument,
15523
15981
  variables,
15524
15982
  "chat",
15525
15983
  async (db) => {
15526
15984
  const vars = variables;
15527
- const entity = vars?.id ? await db.table("insights").get(vars.id) : void 0;
15528
- return { chat: { insight: entity ?? null } };
15985
+ const entity = vars?.id ? await db.table("desktopDevices").get(vars.id) : void 0;
15986
+ return { chat: { desktopDevice: entity ?? null } };
15529
15987
  }
15530
15988
  );
15531
15989
  return new MappedDvinaQueryRef(raw, (response) => {
15532
- const data = response.chat?.insight;
15533
- return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15990
+ const data = response.chat?.desktopDevice;
15991
+ return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15534
15992
  });
15535
15993
  }
15536
15994
  };
15537
- var Chat_Insight_ReportMembersQuery = class extends Request {
15995
+ var Chat_DesktopDevice_DesktopBindingsQuery = class extends Request {
15538
15996
  _variables;
15539
15997
  constructor(request, syncEngine, variables = {}, baseUrl) {
15540
15998
  super(request, syncEngine, void 0, baseUrl);
15541
15999
  this._variables = variables;
15542
16000
  }
15543
16001
  async fetch(options) {
15544
- const response = await this._syncEngine.query(Chat_Insight_ReportMembersDocument, this._variables, "chat");
15545
- const data = response.chat?.insight?.reportMembers;
16002
+ const response = await this._syncEngine.query(Chat_DesktopDevice_DesktopBindingsDocument, this._variables, "chat");
16003
+ const data = response.chat?.desktopDevice?.desktopBindings;
15546
16004
  if (!Array.isArray(data)) return [];
15547
- return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
16005
+ return data.map((item) => new ProjectDesktopBinding(this._request, item, this._syncEngine, this._baseUrl));
15548
16006
  }
15549
16007
  };
15550
- var Chat_Insight_ThumbnailFileQuery = class extends Request {
16008
+ var Chat_InsightQuery = class extends Request {
15551
16009
  _variables;
15552
16010
  constructor(request, syncEngine, variables = {}, baseUrl) {
15553
16011
  super(request, syncEngine, void 0, baseUrl);
@@ -15555,25 +16013,68 @@ var Chat_Insight_ThumbnailFileQuery = class extends Request {
15555
16013
  }
15556
16014
  async fetch(options) {
15557
16015
  const variables = this._variables;
15558
- const response = await this._syncEngine.query(Chat_Insight_ThumbnailFileDocument, variables, "chat");
15559
- const data = response.chat?.insight?.thumbnailFile;
15560
- return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16016
+ const response = await this._syncEngine.query(Chat_InsightDocument, variables, "chat");
16017
+ const data = response.chat?.insight;
16018
+ return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15561
16019
  }
15562
16020
  watch(options) {
15563
16021
  const variables = this._variables;
15564
16022
  const raw = this._syncEngine.watch(
15565
- Chat_Insight_ThumbnailFileDocument,
16023
+ Chat_InsightDocument,
15566
16024
  variables,
15567
16025
  "chat",
15568
16026
  async (db) => {
15569
16027
  const vars = variables;
15570
- const entity = vars?.id ? await db.table("files").get(vars.id) : void 0;
15571
- return { chat: { insight: { thumbnailFile: entity ?? null } } };
16028
+ const entity = vars?.id ? await db.table("insights").get(vars.id) : void 0;
16029
+ return { chat: { insight: entity ?? null } };
15572
16030
  }
15573
16031
  );
15574
16032
  return new MappedDvinaQueryRef(raw, (response) => {
15575
- const data = response.chat?.insight?.thumbnailFile;
15576
- return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16033
+ const data = response.chat?.insight;
16034
+ return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16035
+ });
16036
+ }
16037
+ };
16038
+ var Chat_Insight_ReportMembersQuery = class extends Request {
16039
+ _variables;
16040
+ constructor(request, syncEngine, variables = {}, baseUrl) {
16041
+ super(request, syncEngine, void 0, baseUrl);
16042
+ this._variables = variables;
16043
+ }
16044
+ async fetch(options) {
16045
+ const response = await this._syncEngine.query(Chat_Insight_ReportMembersDocument, this._variables, "chat");
16046
+ const data = response.chat?.insight?.reportMembers;
16047
+ if (!Array.isArray(data)) return [];
16048
+ return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
16049
+ }
16050
+ };
16051
+ var Chat_Insight_ThumbnailFileQuery = class extends Request {
16052
+ _variables;
16053
+ constructor(request, syncEngine, variables = {}, baseUrl) {
16054
+ super(request, syncEngine, void 0, baseUrl);
16055
+ this._variables = variables;
16056
+ }
16057
+ async fetch(options) {
16058
+ const variables = this._variables;
16059
+ const response = await this._syncEngine.query(Chat_Insight_ThumbnailFileDocument, variables, "chat");
16060
+ const data = response.chat?.insight?.thumbnailFile;
16061
+ return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16062
+ }
16063
+ watch(options) {
16064
+ const variables = this._variables;
16065
+ const raw = this._syncEngine.watch(
16066
+ Chat_Insight_ThumbnailFileDocument,
16067
+ variables,
16068
+ "chat",
16069
+ async (db) => {
16070
+ const vars = variables;
16071
+ const entity = vars?.id ? await db.table("files").get(vars.id) : void 0;
16072
+ return { chat: { insight: { thumbnailFile: entity ?? null } } };
16073
+ }
16074
+ );
16075
+ return new MappedDvinaQueryRef(raw, (response) => {
16076
+ const data = response.chat?.insight?.thumbnailFile;
16077
+ return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15577
16078
  });
15578
16079
  }
15579
16080
  };
@@ -15615,6 +16116,66 @@ var Chat_MessagesQuery = class _Chat_MessagesQuery extends Request {
15615
16116
  });
15616
16117
  }
15617
16118
  };
16119
+ var Chat_ProjectQuery = class extends Request {
16120
+ _variables;
16121
+ constructor(request, syncEngine, variables = {}, baseUrl) {
16122
+ super(request, syncEngine, void 0, baseUrl);
16123
+ this._variables = variables;
16124
+ }
16125
+ async fetch(options) {
16126
+ const variables = this._variables;
16127
+ const response = await this._syncEngine.query(Chat_ProjectDocument, variables, "chat");
16128
+ const data = response.chat?.project;
16129
+ return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16130
+ }
16131
+ watch(options) {
16132
+ const variables = this._variables;
16133
+ const raw = this._syncEngine.watch(
16134
+ Chat_ProjectDocument,
16135
+ variables,
16136
+ "chat",
16137
+ async (db) => {
16138
+ const vars = variables;
16139
+ const entity = vars?.id ? await db.table("projects").get(vars.id) : void 0;
16140
+ return { chat: { project: entity ?? null } };
16141
+ }
16142
+ );
16143
+ return new MappedDvinaQueryRef(raw, (response) => {
16144
+ const data = response.chat?.project;
16145
+ return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16146
+ });
16147
+ }
16148
+ };
16149
+ var Chat_Project_DesktopBindingQuery = class extends Request {
16150
+ _variables;
16151
+ constructor(request, syncEngine, variables = {}, baseUrl) {
16152
+ super(request, syncEngine, void 0, baseUrl);
16153
+ this._variables = variables;
16154
+ }
16155
+ async fetch(options) {
16156
+ const variables = this._variables;
16157
+ const response = await this._syncEngine.query(Chat_Project_DesktopBindingDocument, variables, "chat");
16158
+ const data = response.chat?.project?.desktopBinding;
16159
+ return data ? new ProjectDesktopBinding(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16160
+ }
16161
+ watch(options) {
16162
+ const variables = this._variables;
16163
+ const raw = this._syncEngine.watch(
16164
+ Chat_Project_DesktopBindingDocument,
16165
+ variables,
16166
+ "chat",
16167
+ async (db) => {
16168
+ const vars = variables;
16169
+ const entity = vars?.id ? await db.table("projectDesktopBindings").get(vars.id) : void 0;
16170
+ return { chat: { project: { desktopBinding: entity ?? null } } };
16171
+ }
16172
+ );
16173
+ return new MappedDvinaQueryRef(raw, (response) => {
16174
+ const data = response.chat?.project?.desktopBinding;
16175
+ return data ? new ProjectDesktopBinding(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16176
+ });
16177
+ }
16178
+ };
15618
16179
  var ChatMessageQuery = class extends Request {
15619
16180
  _variables;
15620
16181
  _includes = [];
@@ -15824,6 +16385,36 @@ var ChatMessage_ChatQuery = class extends Request {
15824
16385
  });
15825
16386
  }
15826
16387
  };
16388
+ var ChatMessage_Chat_DesktopDeviceQuery = class extends Request {
16389
+ _variables;
16390
+ constructor(request, syncEngine, variables = {}, baseUrl) {
16391
+ super(request, syncEngine, void 0, baseUrl);
16392
+ this._variables = variables;
16393
+ }
16394
+ async fetch(options) {
16395
+ const variables = this._variables;
16396
+ const response = await this._syncEngine.query(ChatMessage_Chat_DesktopDeviceDocument, variables, "chatMessage");
16397
+ const data = response.chatMessage?.chat?.desktopDevice;
16398
+ return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16399
+ }
16400
+ watch(options) {
16401
+ const variables = this._variables;
16402
+ const raw = this._syncEngine.watch(
16403
+ ChatMessage_Chat_DesktopDeviceDocument,
16404
+ variables,
16405
+ "chatMessage",
16406
+ async (db) => {
16407
+ const vars = variables;
16408
+ const entity = vars?.id ? await db.table("desktopDevices").get(vars.id) : void 0;
16409
+ return { chatMessage: { chat: { desktopDevice: entity ?? null } } };
16410
+ }
16411
+ );
16412
+ return new MappedDvinaQueryRef(raw, (response) => {
16413
+ const data = response.chatMessage?.chat?.desktopDevice;
16414
+ return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16415
+ });
16416
+ }
16417
+ };
15827
16418
  var ChatMessage_Chat_InsightQuery = class extends Request {
15828
16419
  _variables;
15829
16420
  constructor(request, syncEngine, variables = {}, baseUrl) {
@@ -15854,6 +16445,36 @@ var ChatMessage_Chat_InsightQuery = class extends Request {
15854
16445
  });
15855
16446
  }
15856
16447
  };
16448
+ var ChatMessage_Chat_ProjectQuery = class extends Request {
16449
+ _variables;
16450
+ constructor(request, syncEngine, variables = {}, baseUrl) {
16451
+ super(request, syncEngine, void 0, baseUrl);
16452
+ this._variables = variables;
16453
+ }
16454
+ async fetch(options) {
16455
+ const variables = this._variables;
16456
+ const response = await this._syncEngine.query(ChatMessage_Chat_ProjectDocument, variables, "chatMessage");
16457
+ const data = response.chatMessage?.chat?.project;
16458
+ return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16459
+ }
16460
+ watch(options) {
16461
+ const variables = this._variables;
16462
+ const raw = this._syncEngine.watch(
16463
+ ChatMessage_Chat_ProjectDocument,
16464
+ variables,
16465
+ "chatMessage",
16466
+ async (db) => {
16467
+ const vars = variables;
16468
+ const entity = vars?.id ? await db.table("projects").get(vars.id) : void 0;
16469
+ return { chatMessage: { chat: { project: entity ?? null } } };
16470
+ }
16471
+ );
16472
+ return new MappedDvinaQueryRef(raw, (response) => {
16473
+ const data = response.chatMessage?.chat?.project;
16474
+ return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16475
+ });
16476
+ }
16477
+ };
15857
16478
  var ChatMessage_ContentsQuery = class extends Request {
15858
16479
  _variables;
15859
16480
  constructor(request, syncEngine, variables = {}, baseUrl) {
@@ -16175,6 +16796,25 @@ var ChatsQuery = class _ChatsQuery extends Request {
16175
16796
  });
16176
16797
  return this;
16177
16798
  }
16799
+ /** Include desktopDevice in this query (Smart Fetch — single HTTP request). */
16800
+ desktopDevice(variables) {
16801
+ const info = extractIncludeInfo(Chat_DesktopDeviceDocument, "desktopDevice", ["id"]);
16802
+ this._includes.push({
16803
+ fieldName: "desktopDevice",
16804
+ fragmentDoc: DesktopDeviceFragmentDoc,
16805
+ variables,
16806
+ isConnection: false,
16807
+ isList: false,
16808
+ variableDefinitions: info.variableDefinitions,
16809
+ fieldArguments: info.fieldArguments,
16810
+ syncMetadata: {
16811
+ entityType: "desktopDevices",
16812
+ requiredFields: ["id", "deviceLabel", "createdAt", "updatedAt"]
16813
+ },
16814
+ modelFactory: (req, data, se, bu) => new DesktopDevice(req, data, se, bu)
16815
+ });
16816
+ return this;
16817
+ }
16178
16818
  /** Include insight in this query (Smart Fetch — single HTTP request). */
16179
16819
  insight(variables, builder) {
16180
16820
  const info = extractIncludeInfo(Chat_InsightDocument, "insight", ["id"]);
@@ -16228,6 +16868,32 @@ var ChatsQuery = class _ChatsQuery extends Request {
16228
16868
  });
16229
16869
  return this;
16230
16870
  }
16871
+ /** Include project in this query (Smart Fetch — single HTTP request). */
16872
+ project(variables, builder) {
16873
+ const info = extractIncludeInfo(Chat_ProjectDocument, "project", ["id"]);
16874
+ let children;
16875
+ if (builder) {
16876
+ const sub = new ProjectSubBuilder();
16877
+ builder(sub);
16878
+ children = sub._includes;
16879
+ }
16880
+ this._includes.push({
16881
+ fieldName: "project",
16882
+ fragmentDoc: ProjectFragmentDoc,
16883
+ variables,
16884
+ isConnection: false,
16885
+ isList: false,
16886
+ variableDefinitions: info.variableDefinitions,
16887
+ fieldArguments: info.fieldArguments,
16888
+ syncMetadata: {
16889
+ entityType: "projects",
16890
+ requiredFields: ["id", "name", "source", "createdAt", "updatedAt"]
16891
+ },
16892
+ children,
16893
+ modelFactory: (req, data, se, bu) => new Project(req, data, se, bu)
16894
+ });
16895
+ return this;
16896
+ }
16231
16897
  };
16232
16898
  var DatabaseQuery = class extends Request {
16233
16899
  _variables;
@@ -16727,6 +17393,21 @@ var DatabasesQuery = class _DatabasesQuery extends Request {
16727
17393
  return this;
16728
17394
  }
16729
17395
  };
17396
+ var DesktopDevicesQuery = class extends Request {
17397
+ _variables;
17398
+ _includes = [];
17399
+ constructor(request, syncEngine, variables = {}, baseUrl) {
17400
+ super(request, syncEngine, void 0, baseUrl);
17401
+ this._variables = variables;
17402
+ }
17403
+ async fetch(options) {
17404
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(DesktopDevicesDocument, "desktopDevices", this._includes, this._variables);
17405
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "desktopDevices");
17406
+ const data = response.desktopDevices;
17407
+ if (!Array.isArray(data)) return [];
17408
+ return data.map((item) => new DesktopDeviceModel(this._request, item, this._syncEngine, this._baseUrl));
17409
+ }
17410
+ };
16730
17411
  var DocumentQuery = class extends Request {
16731
17412
  _variables;
16732
17413
  _includes = [];
@@ -18278,6 +18959,66 @@ var Insight_ChatQuery = class extends Request {
18278
18959
  });
18279
18960
  }
18280
18961
  };
18962
+ var Insight_Chat_DesktopDeviceQuery = class extends Request {
18963
+ _variables;
18964
+ constructor(request, syncEngine, variables = {}, baseUrl) {
18965
+ super(request, syncEngine, void 0, baseUrl);
18966
+ this._variables = variables;
18967
+ }
18968
+ async fetch(options) {
18969
+ const variables = this._variables;
18970
+ const response = await this._syncEngine.query(Insight_Chat_DesktopDeviceDocument, variables, "insight");
18971
+ const data = response.insight?.chat?.desktopDevice;
18972
+ return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18973
+ }
18974
+ watch(options) {
18975
+ const variables = this._variables;
18976
+ const raw = this._syncEngine.watch(
18977
+ Insight_Chat_DesktopDeviceDocument,
18978
+ variables,
18979
+ "insight",
18980
+ async (db) => {
18981
+ const vars = variables;
18982
+ const entity = vars?.id ? await db.table("desktopDevices").get(vars.id) : void 0;
18983
+ return { insight: { chat: { desktopDevice: entity ?? null } } };
18984
+ }
18985
+ );
18986
+ return new MappedDvinaQueryRef(raw, (response) => {
18987
+ const data = response.insight?.chat?.desktopDevice;
18988
+ return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18989
+ });
18990
+ }
18991
+ };
18992
+ var Insight_Chat_ProjectQuery = class extends Request {
18993
+ _variables;
18994
+ constructor(request, syncEngine, variables = {}, baseUrl) {
18995
+ super(request, syncEngine, void 0, baseUrl);
18996
+ this._variables = variables;
18997
+ }
18998
+ async fetch(options) {
18999
+ const variables = this._variables;
19000
+ const response = await this._syncEngine.query(Insight_Chat_ProjectDocument, variables, "insight");
19001
+ const data = response.insight?.chat?.project;
19002
+ return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19003
+ }
19004
+ watch(options) {
19005
+ const variables = this._variables;
19006
+ const raw = this._syncEngine.watch(
19007
+ Insight_Chat_ProjectDocument,
19008
+ variables,
19009
+ "insight",
19010
+ async (db) => {
19011
+ const vars = variables;
19012
+ const entity = vars?.id ? await db.table("projects").get(vars.id) : void 0;
19013
+ return { insight: { chat: { project: entity ?? null } } };
19014
+ }
19015
+ );
19016
+ return new MappedDvinaQueryRef(raw, (response) => {
19017
+ const data = response.insight?.chat?.project;
19018
+ return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19019
+ });
19020
+ }
19021
+ };
18281
19022
  var Insight_ReportMembersQuery = class extends Request {
18282
19023
  _variables;
18283
19024
  constructor(request, syncEngine, variables = {}, baseUrl) {
@@ -19239,7 +19980,7 @@ var LiveContextsQuery = class _LiveContextsQuery extends Request {
19239
19980
  return this;
19240
19981
  }
19241
19982
  };
19242
- var NotificationQuery = class extends Request {
19983
+ var LocalRuntimeOverviewQuery = class extends Request {
19243
19984
  _variables;
19244
19985
  _includes = [];
19245
19986
  constructor(request, syncEngine, variables = {}, baseUrl) {
@@ -19248,10 +19989,10 @@ var NotificationQuery = class extends Request {
19248
19989
  }
19249
19990
  async fetch(options) {
19250
19991
  const variables = this._variables;
19251
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(NotificationDocument, "notification", this._includes, variables);
19252
- const response = await this._syncEngine.query(queryDoc, mergedVars, "notification");
19253
- const data = response.notification;
19254
- const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
19992
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(LocalRuntimeOverviewDocument, "localRuntimeOverview", this._includes, variables);
19993
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "localRuntimeOverview");
19994
+ const data = response.localRuntimeOverview;
19995
+ const instance = new LocalRuntimeOverviewModel(this._request, data, this._syncEngine, this._baseUrl);
19255
19996
  if (this._includes.length > 0) {
19256
19997
  hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
19257
19998
  }
@@ -19260,36 +20001,68 @@ var NotificationQuery = class extends Request {
19260
20001
  watch(options) {
19261
20002
  const variables = this._variables;
19262
20003
  const includes = this._includes;
19263
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(NotificationDocument, "notification", includes, variables);
20004
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(LocalRuntimeOverviewDocument, "localRuntimeOverview", includes, variables);
19264
20005
  const raw = this._syncEngine.watch(
19265
20006
  queryDoc,
19266
20007
  mergedVars,
19267
- "notification",
20008
+ "localRuntimeOverview",
19268
20009
  async (db) => {
19269
20010
  const vars = variables;
19270
- const pkField = getPrimaryKeyField("notifications");
20011
+ const pkField = getPrimaryKeyField("localRuntimeOverviewModels");
19271
20012
  const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
19272
20013
  const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
19273
- const entity = hasEntityKey ? await db.table("notifications").get(entityKey) : void 0;
20014
+ const entity = hasEntityKey ? await db.table("localRuntimeOverviewModels").get(entityKey) : void 0;
19274
20015
  if (includes.length > 0 && entity) {
19275
20016
  const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
19276
- const result = await reconstructEntity(db, "notifications", parentId, includes);
19277
- return { notification: result };
20017
+ const result = await reconstructEntity(db, "localRuntimeOverviewModels", parentId, includes);
20018
+ return { localRuntimeOverview: result };
19278
20019
  }
19279
- return { notification: entity ?? null };
20020
+ return { localRuntimeOverview: entity ?? null };
19280
20021
  }
19281
20022
  );
19282
20023
  return new MappedDvinaQueryRef(raw, (response) => {
19283
- const data = response.notification;
19284
- const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
20024
+ const data = response.localRuntimeOverview;
20025
+ const instance = new LocalRuntimeOverviewModel(this._request, data, this._syncEngine, this._baseUrl);
19285
20026
  if (includes.length > 0) {
19286
20027
  hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
19287
20028
  }
19288
20029
  return instance;
19289
20030
  });
19290
20031
  }
20032
+ /** Include devices in this query (Smart Fetch — single HTTP request). */
20033
+ devices(variables) {
20034
+ const info = extractIncludeInfo(LocalRuntimeOverview_DevicesDocument, "devices", []);
20035
+ this._includes.push({
20036
+ fieldName: "devices",
20037
+ fragmentDoc: LocalRuntimeDeviceModelFragmentDoc,
20038
+ variables,
20039
+ isConnection: false,
20040
+ isList: true,
20041
+ variableDefinitions: info.variableDefinitions,
20042
+ fieldArguments: info.fieldArguments,
20043
+ syncMetadata: {
20044
+ entityType: "localRuntimeDeviceModels",
20045
+ requiredFields: ["deviceId", "label", "state", "isPreferred", "isResolved"]
20046
+ },
20047
+ modelFactory: (req, data, se, bu) => new LocalRuntimeDeviceModel(req, data, se, bu)
20048
+ });
20049
+ return this;
20050
+ }
19291
20051
  };
19292
- var NotificationsQuery = class _NotificationsQuery extends Request {
20052
+ var LocalRuntimeOverview_DevicesQuery = class extends Request {
20053
+ _variables;
20054
+ constructor(request, syncEngine, variables = {}, baseUrl) {
20055
+ super(request, syncEngine, void 0, baseUrl);
20056
+ this._variables = variables;
20057
+ }
20058
+ async fetch(options) {
20059
+ const response = await this._syncEngine.query(LocalRuntimeOverview_DevicesDocument, this._variables, "localRuntimeOverview");
20060
+ const data = response.localRuntimeOverview?.devices;
20061
+ if (!Array.isArray(data)) return [];
20062
+ return data.map((item) => new LocalRuntimeDeviceModel(this._request, item, this._syncEngine, this._baseUrl));
20063
+ }
20064
+ };
20065
+ var LocalSandboxDeviceStatusQuery = class extends Request {
19293
20066
  _variables;
19294
20067
  _includes = [];
19295
20068
  constructor(request, syncEngine, variables = {}, baseUrl) {
@@ -19298,21 +20071,121 @@ var NotificationsQuery = class _NotificationsQuery extends Request {
19298
20071
  }
19299
20072
  async fetch(options) {
19300
20073
  const variables = this._variables;
19301
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(NotificationsDocument, "notifications", this._includes, variables, true);
19302
- const response = await this._syncEngine.query(queryDoc, mergedVars, "notifications");
19303
- const data = response.notifications;
19304
- const connection = new NotificationConnection(this._request, (conn, opts) => new _NotificationsQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
20074
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(LocalSandboxDeviceStatusDocument, "localSandboxDeviceStatus", this._includes, variables);
20075
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "localSandboxDeviceStatus");
20076
+ const data = response.localSandboxDeviceStatus;
20077
+ const instance = new LocalSandboxDeviceStatusModel(this._request, data, this._syncEngine, this._baseUrl);
19305
20078
  if (this._includes.length > 0) {
19306
- const rawNodes = data.nodes ?? [];
19307
- for (let i = 0; i < connection.nodes.length; i++) {
19308
- hydrateIncludes(connection.nodes[i], rawNodes[i] ?? {}, this._includes, this._request, this._syncEngine, this._baseUrl);
19309
- }
20079
+ hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
19310
20080
  }
19311
- return connection;
20081
+ return instance;
19312
20082
  }
19313
20083
  watch(options) {
19314
20084
  const variables = this._variables;
19315
- const subscriptionId = crypto.randomUUID();
20085
+ const includes = this._includes;
20086
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(LocalSandboxDeviceStatusDocument, "localSandboxDeviceStatus", includes, variables);
20087
+ const raw = this._syncEngine.watch(
20088
+ queryDoc,
20089
+ mergedVars,
20090
+ "localSandboxDeviceStatus",
20091
+ async (db) => {
20092
+ const vars = variables;
20093
+ const pkField = getPrimaryKeyField("localSandboxDeviceStatusModels");
20094
+ const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
20095
+ const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
20096
+ const entity = hasEntityKey ? await db.table("localSandboxDeviceStatusModels").get(entityKey) : void 0;
20097
+ if (includes.length > 0 && entity) {
20098
+ const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
20099
+ const result = await reconstructEntity(db, "localSandboxDeviceStatusModels", parentId, includes);
20100
+ return { localSandboxDeviceStatus: result };
20101
+ }
20102
+ return { localSandboxDeviceStatus: entity ?? null };
20103
+ }
20104
+ );
20105
+ return new MappedDvinaQueryRef(raw, (response) => {
20106
+ const data = response.localSandboxDeviceStatus;
20107
+ const instance = new LocalSandboxDeviceStatusModel(this._request, data, this._syncEngine, this._baseUrl);
20108
+ if (includes.length > 0) {
20109
+ hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
20110
+ }
20111
+ return instance;
20112
+ });
20113
+ }
20114
+ };
20115
+ var NotificationQuery = class extends Request {
20116
+ _variables;
20117
+ _includes = [];
20118
+ constructor(request, syncEngine, variables = {}, baseUrl) {
20119
+ super(request, syncEngine, void 0, baseUrl);
20120
+ this._variables = variables;
20121
+ }
20122
+ async fetch(options) {
20123
+ const variables = this._variables;
20124
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(NotificationDocument, "notification", this._includes, variables);
20125
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "notification");
20126
+ const data = response.notification;
20127
+ const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
20128
+ if (this._includes.length > 0) {
20129
+ hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
20130
+ }
20131
+ return instance;
20132
+ }
20133
+ watch(options) {
20134
+ const variables = this._variables;
20135
+ const includes = this._includes;
20136
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(NotificationDocument, "notification", includes, variables);
20137
+ const raw = this._syncEngine.watch(
20138
+ queryDoc,
20139
+ mergedVars,
20140
+ "notification",
20141
+ async (db) => {
20142
+ const vars = variables;
20143
+ const pkField = getPrimaryKeyField("notifications");
20144
+ const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
20145
+ const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
20146
+ const entity = hasEntityKey ? await db.table("notifications").get(entityKey) : void 0;
20147
+ if (includes.length > 0 && entity) {
20148
+ const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
20149
+ const result = await reconstructEntity(db, "notifications", parentId, includes);
20150
+ return { notification: result };
20151
+ }
20152
+ return { notification: entity ?? null };
20153
+ }
20154
+ );
20155
+ return new MappedDvinaQueryRef(raw, (response) => {
20156
+ const data = response.notification;
20157
+ const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
20158
+ if (includes.length > 0) {
20159
+ hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
20160
+ }
20161
+ return instance;
20162
+ });
20163
+ }
20164
+ };
20165
+ var NotificationsQuery = class _NotificationsQuery extends Request {
20166
+ _variables;
20167
+ _includes = [];
20168
+ constructor(request, syncEngine, variables = {}, baseUrl) {
20169
+ super(request, syncEngine, void 0, baseUrl);
20170
+ this._variables = variables;
20171
+ }
20172
+ async fetch(options) {
20173
+ const variables = this._variables;
20174
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(NotificationsDocument, "notifications", this._includes, variables, true);
20175
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "notifications");
20176
+ const data = response.notifications;
20177
+ const connection = new NotificationConnection(this._request, (conn, opts) => new _NotificationsQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
20178
+ if (this._includes.length > 0) {
20179
+ const rawNodes = data.nodes ?? [];
20180
+ for (let i = 0; i < connection.nodes.length; i++) {
20181
+ hydrateIncludes(connection.nodes[i], rawNodes[i] ?? {}, this._includes, this._request, this._syncEngine, this._baseUrl);
20182
+ }
20183
+ }
20184
+ return connection;
20185
+ }
20186
+ watch(options) {
20187
+ const variables = this._variables;
20188
+ const subscriptionId = crypto.randomUUID();
19316
20189
  const includes = this._includes;
19317
20190
  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) }] : []);
19318
20191
  const { document: queryDoc, variables: mergedVars } = buildSmartQuery(NotificationsDocument, "notifications", includes, variables, true);
@@ -19421,6 +20294,313 @@ var PrivacyStatsQuery = class extends Request {
19421
20294
  });
19422
20295
  }
19423
20296
  };
20297
+ var ProjectQuery = class extends Request {
20298
+ _variables;
20299
+ _includes = [];
20300
+ constructor(request, syncEngine, variables = {}, baseUrl) {
20301
+ super(request, syncEngine, void 0, baseUrl);
20302
+ this._variables = variables;
20303
+ }
20304
+ async fetch(options) {
20305
+ const variables = this._variables;
20306
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(ProjectDocument, "project", this._includes, variables);
20307
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "project");
20308
+ const data = response.project;
20309
+ const instance = new Project(this._request, data, this._syncEngine, this._baseUrl);
20310
+ if (this._includes.length > 0) {
20311
+ hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
20312
+ }
20313
+ return instance;
20314
+ }
20315
+ watch(options) {
20316
+ const variables = this._variables;
20317
+ const includes = this._includes;
20318
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(ProjectDocument, "project", includes, variables);
20319
+ const raw = this._syncEngine.watch(
20320
+ queryDoc,
20321
+ mergedVars,
20322
+ "project",
20323
+ async (db) => {
20324
+ const vars = variables;
20325
+ const pkField = getPrimaryKeyField("projects");
20326
+ const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
20327
+ const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
20328
+ const entity = hasEntityKey ? await db.table("projects").get(entityKey) : void 0;
20329
+ if (includes.length > 0 && entity) {
20330
+ const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
20331
+ const result = await reconstructEntity(db, "projects", parentId, includes);
20332
+ return { project: result };
20333
+ }
20334
+ return { project: entity ?? null };
20335
+ }
20336
+ );
20337
+ return new MappedDvinaQueryRef(raw, (response) => {
20338
+ const data = response.project;
20339
+ const instance = new Project(this._request, data, this._syncEngine, this._baseUrl);
20340
+ if (includes.length > 0) {
20341
+ hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
20342
+ }
20343
+ return instance;
20344
+ });
20345
+ }
20346
+ /** Include chats in this query (Smart Fetch — single HTTP request). */
20347
+ chats(variables, builder) {
20348
+ const info = extractIncludeInfo(Project_ChatsDocument, "chats", ["id"]);
20349
+ let children;
20350
+ if (builder) {
20351
+ const sub = new ChatSubBuilder();
20352
+ builder(sub);
20353
+ children = sub._includes;
20354
+ }
20355
+ this._includes.push({
20356
+ fieldName: "chats",
20357
+ fragmentDoc: ChatConnectionFragmentDoc,
20358
+ variables,
20359
+ isConnection: true,
20360
+ isList: false,
20361
+ variableDefinitions: info.variableDefinitions,
20362
+ fieldArguments: info.fieldArguments,
20363
+ syncMetadata: {
20364
+ entityType: "chats",
20365
+ requiredFields: ["id", "name", "piiSanitizationEnabled", "createdAt", "updatedAt"]
20366
+ },
20367
+ children,
20368
+ modelFactory: (req, data, se, bu) => new Chat(req, data, se, bu),
20369
+ connectionFactory: (req, fetch2, data, se, bu) => new ChatConnection(req, fetch2, data, se, bu)
20370
+ });
20371
+ return this;
20372
+ }
20373
+ /** Include desktopBinding in this query (Smart Fetch — single HTTP request). */
20374
+ desktopBinding(variables) {
20375
+ const info = extractIncludeInfo(Project_DesktopBindingDocument, "desktopBinding", ["id"]);
20376
+ this._includes.push({
20377
+ fieldName: "desktopBinding",
20378
+ fragmentDoc: ProjectDesktopBindingFragmentDoc,
20379
+ variables,
20380
+ isConnection: false,
20381
+ isList: false,
20382
+ variableDefinitions: info.variableDefinitions,
20383
+ fieldArguments: info.fieldArguments,
20384
+ syncMetadata: {
20385
+ entityType: "projectDesktopBindings",
20386
+ requiredFields: ["projectId", "deviceId", "kind", "rootPath", "createdAt", "updatedAt"]
20387
+ },
20388
+ modelFactory: (req, data, se, bu) => new ProjectDesktopBinding(req, data, se, bu)
20389
+ });
20390
+ return this;
20391
+ }
20392
+ };
20393
+ var Project_ChatsQuery = class _Project_ChatsQuery extends Request {
20394
+ _variables;
20395
+ constructor(request, syncEngine, variables = {}, baseUrl) {
20396
+ super(request, syncEngine, void 0, baseUrl);
20397
+ this._variables = variables;
20398
+ }
20399
+ async fetch(options) {
20400
+ const variables = this._variables;
20401
+ const response = await this._syncEngine.query(Project_ChatsDocument, variables, "project");
20402
+ const data = response.project?.chats;
20403
+ return new ChatConnection(this._request, (conn, opts) => new _Project_ChatsQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
20404
+ }
20405
+ watch(options) {
20406
+ const variables = this._variables;
20407
+ const raw = this._syncEngine.watch(
20408
+ Project_ChatsDocument,
20409
+ variables,
20410
+ "project",
20411
+ async (db) => {
20412
+ const queryKey = buildQueryKey("project", variables, Project_ChatsDocument);
20413
+ const qr = await db._queryResults.get(queryKey);
20414
+ if (!qr) {
20415
+ throw new DvinaCacheMissError(queryKey);
20416
+ }
20417
+ const nodes = await db.table("chats").bulkGet(qr.entityIds);
20418
+ const filteredNodes = nodes.filter(Boolean);
20419
+ if (filteredNodes.length !== qr.entityIds.length) {
20420
+ throw new DvinaCacheMissError(queryKey);
20421
+ }
20422
+ return { project: { chats: { __typename: "ChatConnection", nodes: filteredNodes, pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
20423
+ }
20424
+ );
20425
+ return new MappedDvinaQueryRef(raw, (response) => {
20426
+ const data = response.project?.chats;
20427
+ return new ChatConnection(this._request, (conn, opts) => new _Project_ChatsQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
20428
+ });
20429
+ }
20430
+ };
20431
+ var Project_DesktopBindingQuery = class extends Request {
20432
+ _variables;
20433
+ constructor(request, syncEngine, variables = {}, baseUrl) {
20434
+ super(request, syncEngine, void 0, baseUrl);
20435
+ this._variables = variables;
20436
+ }
20437
+ async fetch(options) {
20438
+ const variables = this._variables;
20439
+ const response = await this._syncEngine.query(Project_DesktopBindingDocument, variables, "project");
20440
+ const data = response.project?.desktopBinding;
20441
+ return data ? new ProjectDesktopBinding(this._request, data, this._syncEngine, this._baseUrl) : void 0;
20442
+ }
20443
+ watch(options) {
20444
+ const variables = this._variables;
20445
+ const raw = this._syncEngine.watch(
20446
+ Project_DesktopBindingDocument,
20447
+ variables,
20448
+ "project",
20449
+ async (db) => {
20450
+ const vars = variables;
20451
+ const entity = vars?.id ? await db.table("projectDesktopBindings").get(vars.id) : void 0;
20452
+ return { project: { desktopBinding: entity ?? null } };
20453
+ }
20454
+ );
20455
+ return new MappedDvinaQueryRef(raw, (response) => {
20456
+ const data = response.project?.desktopBinding;
20457
+ return data ? new ProjectDesktopBinding(this._request, data, this._syncEngine, this._baseUrl) : void 0;
20458
+ });
20459
+ }
20460
+ };
20461
+ var Project_DesktopBinding_DeviceQuery = class extends Request {
20462
+ _variables;
20463
+ constructor(request, syncEngine, variables = {}, baseUrl) {
20464
+ super(request, syncEngine, void 0, baseUrl);
20465
+ this._variables = variables;
20466
+ }
20467
+ async fetch(options) {
20468
+ const variables = this._variables;
20469
+ const response = await this._syncEngine.query(Project_DesktopBinding_DeviceDocument, variables, "project");
20470
+ const data = response.project?.desktopBinding?.device;
20471
+ return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
20472
+ }
20473
+ watch(options) {
20474
+ const variables = this._variables;
20475
+ const raw = this._syncEngine.watch(
20476
+ Project_DesktopBinding_DeviceDocument,
20477
+ variables,
20478
+ "project",
20479
+ async (db) => {
20480
+ const vars = variables;
20481
+ const entity = vars?.id ? await db.table("desktopDevices").get(vars.id) : void 0;
20482
+ return { project: { desktopBinding: { device: entity ?? null } } };
20483
+ }
20484
+ );
20485
+ return new MappedDvinaQueryRef(raw, (response) => {
20486
+ const data = response.project?.desktopBinding?.device;
20487
+ return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
20488
+ });
20489
+ }
20490
+ };
20491
+ var ProjectsQuery = class _ProjectsQuery extends Request {
20492
+ _variables;
20493
+ _includes = [];
20494
+ constructor(request, syncEngine, variables = {}, baseUrl) {
20495
+ super(request, syncEngine, void 0, baseUrl);
20496
+ this._variables = variables;
20497
+ }
20498
+ async fetch(options) {
20499
+ const variables = this._variables;
20500
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(ProjectsDocument, "projects", this._includes, variables, true);
20501
+ const response = await this._syncEngine.query(queryDoc, mergedVars, "projects");
20502
+ const data = response.projects;
20503
+ const connection = new ProjectConnection(this._request, (conn, opts) => new _ProjectsQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
20504
+ if (this._includes.length > 0) {
20505
+ const rawNodes = data.nodes ?? [];
20506
+ for (let i = 0; i < connection.nodes.length; i++) {
20507
+ hydrateIncludes(connection.nodes[i], rawNodes[i] ?? {}, this._includes, this._request, this._syncEngine, this._baseUrl);
20508
+ }
20509
+ }
20510
+ return connection;
20511
+ }
20512
+ watch(options) {
20513
+ const variables = this._variables;
20514
+ const subscriptionId = crypto.randomUUID();
20515
+ const includes = this._includes;
20516
+ 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) }] : []);
20517
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(ProjectsDocument, "projects", includes, variables, true);
20518
+ const raw = this._syncEngine.watch(
20519
+ queryDoc,
20520
+ mergedVars,
20521
+ "projects",
20522
+ async (db) => {
20523
+ const queryKey = buildQueryKey("projects", mergedVars, queryDoc);
20524
+ const qr = await db._queryResults.get(queryKey);
20525
+ if (!qr) {
20526
+ throw new DvinaCacheMissError(queryKey);
20527
+ }
20528
+ const nodes = await db.table("projects").bulkGet(qr.entityIds);
20529
+ const filteredNodes = nodes.filter(Boolean);
20530
+ if (filteredNodes.length !== qr.entityIds.length) {
20531
+ throw new DvinaCacheMissError(queryKey);
20532
+ }
20533
+ const enrichedNodes = includes.length > 0 ? await reconstructConnectionNodes(db, "projects", filteredNodes, includes) : filteredNodes;
20534
+ return { projects: { __typename: "ProjectConnection", nodes: enrichedNodes, pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } };
20535
+ },
20536
+ {
20537
+ id: subscriptionId,
20538
+ entityType: "projects",
20539
+ operationName: "projects",
20540
+ modelName: "Project",
20541
+ filter: variables?.filter
20542
+ },
20543
+ watchedRelations
20544
+ );
20545
+ return new MappedDvinaQueryRef(raw, (response) => {
20546
+ const data = response.projects;
20547
+ const connection = new ProjectConnection(this._request, (conn, opts) => new _ProjectsQuery(this._request, this._syncEngine, defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
20548
+ if (includes.length > 0) {
20549
+ const rawNodes = data.nodes ?? [];
20550
+ for (let i = 0; i < connection.nodes.length; i++) {
20551
+ hydrateIncludes(connection.nodes[i], rawNodes[i] ?? {}, includes, this._request, this._syncEngine, this._baseUrl);
20552
+ }
20553
+ }
20554
+ return connection;
20555
+ });
20556
+ }
20557
+ /** Include chats in this query (Smart Fetch — single HTTP request). */
20558
+ chats(variables, builder) {
20559
+ const info = extractIncludeInfo(Project_ChatsDocument, "chats", ["id"]);
20560
+ let children;
20561
+ if (builder) {
20562
+ const sub = new ChatSubBuilder();
20563
+ builder(sub);
20564
+ children = sub._includes;
20565
+ }
20566
+ this._includes.push({
20567
+ fieldName: "chats",
20568
+ fragmentDoc: ChatConnectionFragmentDoc,
20569
+ variables,
20570
+ isConnection: true,
20571
+ isList: false,
20572
+ variableDefinitions: info.variableDefinitions,
20573
+ fieldArguments: info.fieldArguments,
20574
+ syncMetadata: {
20575
+ entityType: "chats",
20576
+ requiredFields: ["id", "name", "piiSanitizationEnabled", "createdAt", "updatedAt"]
20577
+ },
20578
+ children,
20579
+ modelFactory: (req, data, se, bu) => new Chat(req, data, se, bu),
20580
+ connectionFactory: (req, fetch2, data, se, bu) => new ChatConnection(req, fetch2, data, se, bu)
20581
+ });
20582
+ return this;
20583
+ }
20584
+ /** Include desktopBinding in this query (Smart Fetch — single HTTP request). */
20585
+ desktopBinding(variables) {
20586
+ const info = extractIncludeInfo(Project_DesktopBindingDocument, "desktopBinding", ["id"]);
20587
+ this._includes.push({
20588
+ fieldName: "desktopBinding",
20589
+ fragmentDoc: ProjectDesktopBindingFragmentDoc,
20590
+ variables,
20591
+ isConnection: false,
20592
+ isList: false,
20593
+ variableDefinitions: info.variableDefinitions,
20594
+ fieldArguments: info.fieldArguments,
20595
+ syncMetadata: {
20596
+ entityType: "projectDesktopBindings",
20597
+ requiredFields: ["projectId", "deviceId", "kind", "rootPath", "createdAt", "updatedAt"]
20598
+ },
20599
+ modelFactory: (req, data, se, bu) => new ProjectDesktopBinding(req, data, se, bu)
20600
+ });
20601
+ return this;
20602
+ }
20603
+ };
19424
20604
  var PulseAppSummaryQuery = class extends Request {
19425
20605
  _variables;
19426
20606
  _includes = [];
@@ -20766,6 +21946,10 @@ var DvinaSdk = class extends Request {
20766
21946
  createIntegration(variables) {
20767
21947
  return new CreateIntegrationMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
20768
21948
  }
21949
+ /** Mutation: createProject */
21950
+ createProject(variables) {
21951
+ return new CreateProjectMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
21952
+ }
20769
21953
  /** Mutation: createReport */
20770
21954
  createReport(variables) {
20771
21955
  return new CreateReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
@@ -20818,6 +22002,10 @@ var DvinaSdk = class extends Request {
20818
22002
  deleteIntegration(variables) {
20819
22003
  return new DeleteIntegrationMutation(this._request, this._syncEngine).fetch(variables);
20820
22004
  }
22005
+ /** Mutation: deleteProject */
22006
+ deleteProject(variables) {
22007
+ return new DeleteProjectMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22008
+ }
20821
22009
  /** Mutation: deleteReport */
20822
22010
  deleteReport(variables) {
20823
22011
  return new DeleteReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
@@ -20874,6 +22062,10 @@ var DvinaSdk = class extends Request {
20874
22062
  refreshInsight(variables) {
20875
22063
  return new RefreshInsightMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
20876
22064
  }
22065
+ /** Mutation: registerDesktopDevice */
22066
+ registerDesktopDevice(variables) {
22067
+ return new RegisterDesktopDeviceMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22068
+ }
20877
22069
  /** Mutation: reinterpretSource (scalar) */
20878
22070
  reinterpretSource(variables) {
20879
22071
  return new ReinterpretSourceMutation(this._request, this._syncEngine).fetch(variables);
@@ -20910,6 +22102,10 @@ var DvinaSdk = class extends Request {
20910
22102
  setDatabasePrimaryKey(variables) {
20911
22103
  return new SetDatabasePrimaryKeyMutation(this._request, this._syncEngine).fetch(variables);
20912
22104
  }
22105
+ /** Mutation: syncProjectDesktopBinding */
22106
+ syncProjectDesktopBinding(variables) {
22107
+ return new SyncProjectDesktopBindingMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22108
+ }
20913
22109
  /** Mutation: updateAgent */
20914
22110
  updateAgent(variables) {
20915
22111
  return new UpdateAgentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
@@ -20954,6 +22150,10 @@ var DvinaSdk = class extends Request {
20954
22150
  updateLiveContext(variables) {
20955
22151
  return new UpdateLiveContextMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
20956
22152
  }
22153
+ /** Mutation: updateProject */
22154
+ updateProject(variables) {
22155
+ return new UpdateProjectMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
22156
+ }
20957
22157
  /** Mutation: updatePulseTrigger */
20958
22158
  updatePulseTrigger(variables) {
20959
22159
  return new UpdatePulseTriggerMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
@@ -21026,6 +22226,10 @@ var DvinaSdk = class extends Request {
21026
22226
  databases(variables) {
21027
22227
  return new DatabasesQuery(this._request, this._syncEngine, variables, this._baseUrl);
21028
22228
  }
22229
+ /** Query: desktopDevices — call .fetch() or .watch() to execute. */
22230
+ desktopDevices() {
22231
+ return new DesktopDevicesQuery(this._request, this._syncEngine, {}, this._baseUrl);
22232
+ }
21029
22233
  /** Query: document — call .fetch() or .watch() to execute. */
21030
22234
  document(variables) {
21031
22235
  return new DocumentQuery(this._request, this._syncEngine, variables, this._baseUrl);
@@ -21154,6 +22358,14 @@ var DvinaSdk = class extends Request {
21154
22358
  liveContexts(variables) {
21155
22359
  return new LiveContextsQuery(this._request, this._syncEngine, variables, this._baseUrl);
21156
22360
  }
22361
+ /** Query: localRuntimeOverview — call .fetch() or .watch() to execute. */
22362
+ localRuntimeOverview(variables) {
22363
+ return new LocalRuntimeOverviewQuery(this._request, this._syncEngine, variables, this._baseUrl);
22364
+ }
22365
+ /** Query: localSandboxDeviceStatus — call .fetch() or .watch() to execute. */
22366
+ localSandboxDeviceStatus(variables) {
22367
+ return new LocalSandboxDeviceStatusQuery(this._request, this._syncEngine, variables, this._baseUrl);
22368
+ }
21157
22369
  /** Query: notification — call .fetch() or .watch() to execute. */
21158
22370
  notification(variables) {
21159
22371
  return new NotificationQuery(this._request, this._syncEngine, variables, this._baseUrl);
@@ -21170,6 +22382,14 @@ var DvinaSdk = class extends Request {
21170
22382
  privacyStats() {
21171
22383
  return new PrivacyStatsQuery(this._request, this._syncEngine, {}, this._baseUrl);
21172
22384
  }
22385
+ /** Query: project — call .fetch() or .watch() to execute. */
22386
+ project(variables) {
22387
+ return new ProjectQuery(this._request, this._syncEngine, variables, this._baseUrl);
22388
+ }
22389
+ /** Query: projects — call .fetch() or .watch() to execute. */
22390
+ projects(variables) {
22391
+ return new ProjectsQuery(this._request, this._syncEngine, variables, this._baseUrl);
22392
+ }
21173
22393
  /** Query: pulseAppSummary — call .fetch() or .watch() to execute. */
21174
22394
  pulseAppSummary(variables) {
21175
22395
  return new PulseAppSummaryQuery(this._request, this._syncEngine, variables, this._baseUrl);
@@ -21289,6 +22509,6 @@ var DvinaSdk = class extends Request {
21289
22509
  }
21290
22510
  };
21291
22511
 
21292
- export { AbortChatMutation, Action, AddInsightToReportMutation, Agent, AgentConnection, AgentQuery, AgentSubBuilder, Agent_ChatsQuery, AgentsQuery, Artifact, ArtifactConnection, ArtifactQuery, ArtifactSubBuilder, Artifact_ChatQuery, Artifact_Chat_InsightQuery, 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_InsightQuery, ChatMessage_ContentsQuery, ChatMessage_FeedbackQuery, ChatMessagesQuery, ChatQuery, ChatSubBuilder, ChatTitleEventOutput, Chat_AgentsQuery, Chat_ArtifactsQuery, Chat_InsightQuery, Chat_Insight_ReportMembersQuery, Chat_Insight_ThumbnailFileQuery, Chat_MessagesQuery, ChatsQuery, ConnectIntegrationMutation, ConsumePulseEventsMutation, ContentBlock, ContentMask, ContinueImportedChatMutation, ContinueInterpretationMutation, CreateAgentMutation, CreateChatMutation, CreateDatabaseMutation, CreateDocumentMutation, CreateFeedbackMutation, CreateFolderMutation, CreateInsightMutation, CreateIntegrationMutation, CreateIntegrationOutput, 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, DeleteReportMutation, DeleteTableMutation, DeleteUserSkillFileMutation, DeleteUserSkillFolderMutation, 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, 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_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, 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, PulseAppSummaryModel, PulseAppSummaryQuery, PulseEvent, PulseEventConnection, PulseEventQuery, PulseEventSubBuilder, PulseEvent_IntegrationQuery, PulseEvent_Integration_ProviderQuery, PulseEventsQuery, PulseTriggerSettingModel, PulseTriggerSettingsQuery, QueryQuery, QueryWithInsightIdQuery, QueryWithMessageIdQuery, ReanalyzeDocumentMutation, ReasoningEventOutput, RefineAgentInstructionMutation, RefineSkillInstructionMutation, RefreshDatabaseSchemaMutation, RefreshInsightMutation, 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, 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, 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 };
21293
- //# sourceMappingURL=chunk-4G7NIJ4M.js.map
21294
- //# sourceMappingURL=chunk-4G7NIJ4M.js.map
22512
+ 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 };
22513
+ //# sourceMappingURL=chunk-YWW2VBNQ.js.map
22514
+ //# sourceMappingURL=chunk-YWW2VBNQ.js.map