@dvina/sdk 4.0.275 → 4.0.286
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_generated_documents-W25ZCFDS.js +4 -0
- package/dist/{_generated_documents-DRFAFZ4G.js.map → _generated_documents-W25ZCFDS.js.map} +1 -1
- package/dist/{_generated_documents-YSLVGGBP.cjs → _generated_documents-YAY4ZZK5.cjs} +660 -620
- package/dist/{_generated_documents-YSLVGGBP.cjs.map → _generated_documents-YAY4ZZK5.cjs.map} +1 -1
- package/dist/adapters/angular/index.cjs +4 -4
- package/dist/adapters/angular/index.d.cts +2 -2
- package/dist/adapters/angular/index.d.ts +2 -2
- package/dist/adapters/angular/index.js +2 -2
- package/dist/{chunk-OVYYZG2C.cjs → chunk-CTE5P2EZ.cjs} +738 -618
- package/dist/chunk-CTE5P2EZ.cjs.map +1 -0
- package/dist/{chunk-57P5UG74.js → chunk-DUMZZ3UU.js} +48 -38
- package/dist/chunk-DUMZZ3UU.js.map +1 -0
- package/dist/{chunk-IN6UH5LY.cjs → chunk-QNNW2X4A.cjs} +57 -37
- package/dist/chunk-QNNW2X4A.cjs.map +1 -0
- package/dist/{chunk-2YBG35K2.js → chunk-YNXLLHTI.js} +130 -16
- package/dist/chunk-YNXLLHTI.js.map +1 -0
- package/dist/{client-rAY73BpI.d.ts → client-B8JIhMch.d.ts} +216 -2
- package/dist/{client-tptVuOTy.d.cts → client-FrOdCbcX.d.cts} +216 -2
- package/dist/{index-CNWwsIBc.d.cts → index-CRVQNqbH.d.cts} +1 -1
- package/dist/{index-BbpmtqXB.d.ts → index-DIkN8kTm.d.ts} +1 -1
- package/dist/index.cjs +486 -462
- package/dist/index.d.cts +54 -7
- package/dist/index.d.ts +54 -7
- package/dist/index.js +2 -2
- package/dist/pagination/index.d.cts +2 -2
- package/dist/pagination/index.d.ts +2 -2
- package/dist/{sync-engine-KnLTtyTA.d.ts → sync-engine-CH31aE3E.d.ts} +2 -2
- package/dist/{sync-engine-CHzQF0ON.d.cts → sync-engine-CTv-rvtx.d.cts} +2 -2
- package/package.json +1 -1
- package/dist/_generated_documents-DRFAFZ4G.js +0 -4
- package/dist/chunk-2YBG35K2.js.map +0 -1
- package/dist/chunk-57P5UG74.js.map +0 -1
- package/dist/chunk-IN6UH5LY.cjs.map +0 -1
- package/dist/chunk-OVYYZG2C.cjs.map +0 -1
|
@@ -2,7 +2,7 @@ import { Request, Connection, PageInfo, defaultConnection } from './chunk-KEM6SU
|
|
|
2
2
|
import { createInferenceClientInternal } from './chunk-PDM2KR7T.js';
|
|
3
3
|
import { createHttpTransport, BillingClient, refreshTokenSingleFlight, print, Kind } from './chunk-RVXRT5EI.js';
|
|
4
4
|
import { GRAPHQL_ERROR_CODES, DvinaAuthenticationError, DvinaNetworkError, DvinaGraphQLError, DvinaError, createGraphQLError } from './chunk-7XBJ77RJ.js';
|
|
5
|
-
import { ChatConnectionFragmentDoc, ChatFragmentDoc, FileFragmentDoc, ChatMessageFragmentDoc, AgentConnectionFragmentDoc, ArtifactConnectionFragmentDoc, DesktopDeviceFragmentDoc, InsightFragmentDoc, ChatMessageConnectionFragmentDoc, ProjectFragmentDoc, ContentBlockFragmentDoc, FeedbackFragmentDoc, DatabaseEngineFragmentDoc, TableConnectionFragmentDoc, ProjectDesktopBindingFragmentDoc, DocumentContentFragmentDoc, DocumentFormatFragmentDoc, FeedSendMessageActionFragmentDoc, FeedArtifactDataFragmentDoc, ReportMemberFragmentDoc, ReportConnectionFragmentDoc, IntegrationProviderFragmentDoc, FeedItemGeneratedFragmentDoc, CandidateFragmentDoc, IntegrationFragmentDoc, InsightConnectionFragmentDoc, DatabaseFragmentDoc, DocumentFragmentDoc, RelationFragmentDoc, AbortChatDocument, AddInsightToReportDocument, CancelOauthFlowDocument, CancelWorkspaceDeletionDocument, ConnectIntegrationDocument, ConsumePulseEventsDocument, ContinueImportedChatDocument, ContinueInterpretationDocument, CreateAgentDocument, CreateChatDocument, CreateDatabaseDocument, CreateDocumentDocument, CreateFeedbackDocument, CreateFolderDocument, CreateInsightDocument, CreateIntegrationDocument, CreateProjectDocument, CreateReportDocument, CreateTableDocument, CreateUserSkillFileDocument, CreateUserSkillFolderDocument, DeleteAgentDocument, DeleteAiProviderSettingDocument, DeleteArtifactDocument, DeleteChatDocument, DeleteDatabaseDocument, DeleteDocumentDocument, DeleteFolderDocument, DeleteInsightDocument, DeleteInsightsDocument, DeleteIntegrationDocument, DeleteProjectDocument, DeleteReportDocument, DeleteTableDocument, DeleteUserSkillFileDocument, DeleteUserSkillFolderDocument, DisconnectIntegrationDocument, DismissPulseEventDocument, ExecuteChatImportDocument, GenerateUploadUriDocument, MigrateLegacyCodeChatsDocument, PreviewChatImportDocument, ReanalyzeDocumentDocument, RefineAgentInstructionDocument, RefineSkillInstructionDocument, RefreshDatabaseSchemaDocument, RefreshInsightDocument, RegisterDesktopDeviceDocument, ReinterpretSourceDocument, ReinterpretSourcesOfuserDocument, RelocateInsightDocument, RemoveInsightFromReportDocument, ResetWorkspaceDocument, ResolvePulseEventDocument, ScheduleWorkspaceDeletionDocument, SendMessageDocument, SetDatabasePrimaryKeyDocument, SyncProjectDesktopBindingDocument, UpdateAgentDocument, UpdateArtifactNameDocument, UpdateChatDocument, UpdateDatabaseDocument, UpdateDocumentDocument, UpdateFolderDocument, UpdateInsightDocument, UpdateInsightInReportDocument, UpdateInsightThumbnailDocument, UpdateInterpDocument, UpdateLiveContextDocument, UpdateProjectDocument, UpdatePulseTriggerDocument, UpdateReportDocument, UpdateTableDocument, UpdateUserSkillFileDocument, UpdateUserSkillFolderDocument, UpsertAiProviderSettingDocument, AgentDocument, Agent_ChatsDocument, AgentsDocument, AiProviderSettingDocument, ArtifactDocument, Artifact_ChatDocument, Artifact_Chat_DesktopDeviceDocument, Artifact_Chat_InsightDocument, Artifact_Chat_ProjectDocument, Artifact_FileDocument, Artifact_MessageDocument, Artifact_Message_ChatDocument, Artifact_Message_ContentsDocument, Artifact_Message_FeedbackDocument, ArtifactsDocument, ChatDocument, Chat_AgentsDocument, Chat_ArtifactsDocument, Chat_DesktopDeviceDocument, Chat_DesktopDevice_DesktopBindingsDocument, Chat_InsightDocument, Chat_Insight_ReportMembersDocument, Chat_Insight_ThumbnailFileDocument, Chat_MessagesDocument, Chat_ProjectDocument, Chat_Project_DesktopBindingDocument, ChatMessageDocument, ChatMessage_ArtifactsDocument, ChatMessage_ChatDocument, ChatMessage_Chat_DesktopDeviceDocument, ChatMessage_Chat_InsightDocument, ChatMessage_Chat_ProjectDocument, ChatMessage_ContentsDocument, ChatMessage_FeedbackDocument, ChatMessagesDocument, ChatsDocument, DatabaseDocument, Database_EngineDocument, Database_Engine_CatalogDocument, Database_TablesDocument, DatabaseCatalogDocument, DatabaseCatalog_EngineDocument, DatabaseCatalogsDocument, DatabaseSchemaDocument, DatabasesDocument, DesktopDeviceDocument, DesktopDevice_ChatsDocument, DesktopDevice_DesktopBindingsDocument, DesktopDevicesDocument, DocumentDocument, Document_ContentsDocument, Document_FileDocument, Document_FormatDocument, Document_Format_CatalogDocument, Document_TablesDocument, DocumentCatalogDocument, DocumentCatalog_FormatDocument, DocumentCatalogsDocument, DocumentsDocument, ExportDocument, ExportWithInsightIdDocument, FeedItemDocument, FeedItem_ActionDocument, FeedItem_DataDocument, FeedItemsDocument, FileDocument, FileMetaDocument, FileUrlsDocument, FindFitTierDocument, FolderDocument, FoldersDocument, GetCapabilityDocument, GetDevAccessTokenDocument, GetLimitDocument, GetRemainingDocument, GetTokenUsageByModelDocument, GetTokenUsageHistoryDocument, GetTokenUsageStatusDocument, UsageWindowsStatusTypeFragmentDoc, GetTokenUsageStatus_WindowsDocument, GetTokenUsageStatus_Windows_DayDocument, GetTokenUsageStatus_Windows_FiveHourDocument, GetTokenUsageStatus_Windows_MonthDocument, GetTokenUsageStatus_Windows_WeekDocument, GetUsageDocument, InsightDocument, Insight_ChatDocument, Insight_Chat_DesktopDeviceDocument, Insight_Chat_ProjectDocument, Insight_ReportMembersDocument, Insight_ReportsDocument, Insight_ThumbnailFileDocument, InsightsDocument, IntegrationDocument, Integration_ProviderDocument, Integration_Provider_CatalogDocument, IntegrationCatalogDocument, IntegrationCatalog_ProviderDocument, IntegrationCatalogToolsDocument, IntegrationCatalogsDocument, IntegrationsDocument, InterpretationsDocument, LiveContextDocument, LiveContext_ItemsDocument, LiveContext_SourceDocument, LiveContext_Source_EvidencesDocument, LiveContextsDocument, LocalSandboxDeviceStatusesDocument, NotificationDocument, NotificationsDocument, NotificationsByReferenceDocument, PrivacyStatsDocument, ProjectDocument, Project_ChatsDocument, Project_DesktopBindingDocument, Project_DesktopBinding_DeviceDocument, ProjectsDocument, PulseAppSummaryDocument, PulseEventDocument, PulseEvent_IntegrationDocument, PulseEvent_Integration_ProviderDocument, PulseEventsDocument, PulseTriggerSettingsDocument, QueryDocument, QueryWithInsightIdDocument, QueryWithMessageIdDocument, ReportDocument, Report_InsightsDocument, Report_LayoutDocument, ReportsDocument, SkillCatalogDocument, TableDocument, Table_DatabaseDocument, Table_Database_EngineDocument, Table_DocumentDocument, Table_Document_ContentsDocument, Table_Document_FileDocument, Table_Document_FormatDocument, Table_FromRelationsDocument, Table_ToRelationsDocument, TablesDocument, UserSkillFileDocument, UserSkillFilesDocument, UserSkillFolderDocument, UserSkillFoldersDocument, WorkspaceDeletionScheduleDocument, McpAuthUpdatesDocument, TokenUsageUpdatesDocument } from './chunk-
|
|
5
|
+
import { ChatConnectionFragmentDoc, ChatFragmentDoc, FileFragmentDoc, ChatMessageFragmentDoc, AgentConnectionFragmentDoc, ArtifactConnectionFragmentDoc, DesktopDeviceFragmentDoc, InsightFragmentDoc, ChatMessageConnectionFragmentDoc, ProjectFragmentDoc, ContentBlockFragmentDoc, FeedbackFragmentDoc, DatabaseEngineFragmentDoc, TableConnectionFragmentDoc, ProjectDesktopBindingFragmentDoc, DocumentContentFragmentDoc, DocumentFormatFragmentDoc, FeedSendMessageActionFragmentDoc, FeedArtifactDataFragmentDoc, ReportMemberFragmentDoc, ReportConnectionFragmentDoc, IntegrationProviderFragmentDoc, FeedItemGeneratedFragmentDoc, CandidateFragmentDoc, IntegrationFragmentDoc, InsightConnectionFragmentDoc, DatabaseFragmentDoc, DocumentFragmentDoc, RelationFragmentDoc, AbortChatDocument, AddInsightToReportDocument, CancelOauthFlowDocument, CancelWorkspaceDeletionDocument, ConnectIntegrationDocument, ConsumePulseEventsDocument, ContinueImportedChatDocument, ContinueInterpretationDocument, CreateAgentDocument, CreateChatDocument, CreateDatabaseDocument, CreateDocumentDocument, CreateFeedbackDocument, CreateFolderDocument, CreateInsightDocument, CreateIntegrationDocument, CreateProjectDocument, CreateReportDocument, CreateTableDocument, CreateUserSkillFileDocument, CreateUserSkillFolderDocument, DeleteAgentDocument, DeleteAiProviderSettingDocument, DeleteArtifactDocument, DeleteChatDocument, DeleteDatabaseDocument, DeleteDocumentDocument, DeleteFolderDocument, DeleteInsightDocument, DeleteInsightsDocument, DeleteIntegrationDocument, DeleteProjectDocument, DeleteReportDocument, DeleteSavedAiProviderModelDocument, DeleteTableDocument, DeleteUserSkillFileDocument, DeleteUserSkillFolderDocument, DisconnectIntegrationDocument, DismissPulseEventDocument, ExecuteChatImportDocument, GenerateUploadUriDocument, MigrateLegacyCodeChatsDocument, PreviewChatImportDocument, ReanalyzeDocumentDocument, RefineAgentInstructionDocument, RefineSkillInstructionDocument, RefreshDatabaseSchemaDocument, RefreshInsightDocument, RegisterDesktopDeviceDocument, ReinterpretSourceDocument, ReinterpretSourcesOfuserDocument, RelocateInsightDocument, RemoveInsightFromReportDocument, ResetWorkspaceDocument, ResolvePulseEventDocument, ScheduleWorkspaceDeletionDocument, SendMessageDocument, SetDatabasePrimaryKeyDocument, SyncProjectDesktopBindingDocument, UpdateAgentDocument, UpdateArtifactNameDocument, UpdateChatDocument, UpdateDatabaseDocument, UpdateDocumentDocument, UpdateFolderDocument, UpdateInsightDocument, UpdateInsightInReportDocument, UpdateInsightThumbnailDocument, UpdateInterpDocument, UpdateLiveContextDocument, UpdateProjectDocument, UpdatePulseTriggerDocument, UpdateReportDocument, UpdateTableDocument, UpdateUserSkillFileDocument, UpdateUserSkillFolderDocument, UpsertAiProviderSettingDocument, UpsertWorkspaceAiModelDocument, AgentDocument, Agent_ChatsDocument, AgentsDocument, AiProviderSettingDocument, ArtifactDocument, Artifact_ChatDocument, Artifact_Chat_DesktopDeviceDocument, Artifact_Chat_InsightDocument, Artifact_Chat_ProjectDocument, Artifact_FileDocument, Artifact_MessageDocument, Artifact_Message_ChatDocument, Artifact_Message_ContentsDocument, Artifact_Message_FeedbackDocument, ArtifactsDocument, ChatDocument, Chat_AgentsDocument, Chat_ArtifactsDocument, Chat_DesktopDeviceDocument, Chat_DesktopDevice_DesktopBindingsDocument, Chat_InsightDocument, Chat_Insight_ReportMembersDocument, Chat_Insight_ThumbnailFileDocument, Chat_MessagesDocument, Chat_ProjectDocument, Chat_Project_DesktopBindingDocument, ChatMessageDocument, ChatMessage_ArtifactsDocument, ChatMessage_ChatDocument, ChatMessage_Chat_DesktopDeviceDocument, ChatMessage_Chat_InsightDocument, ChatMessage_Chat_ProjectDocument, ChatMessage_ContentsDocument, ChatMessage_FeedbackDocument, ChatMessagesDocument, ChatsDocument, DatabaseDocument, Database_EngineDocument, Database_Engine_CatalogDocument, Database_TablesDocument, DatabaseCatalogDocument, DatabaseCatalog_EngineDocument, DatabaseCatalogsDocument, DatabaseSchemaDocument, DatabasesDocument, DesktopDeviceDocument, DesktopDevice_ChatsDocument, DesktopDevice_DesktopBindingsDocument, DesktopDevicesDocument, DocumentDocument, Document_ContentsDocument, Document_FileDocument, Document_FormatDocument, Document_Format_CatalogDocument, Document_TablesDocument, DocumentCatalogDocument, DocumentCatalog_FormatDocument, DocumentCatalogsDocument, DocumentsDocument, ExportDocument, ExportWithInsightIdDocument, FeedItemDocument, FeedItem_ActionDocument, FeedItem_DataDocument, FeedItemsDocument, FileDocument, FileMetaDocument, FileUrlsDocument, FindFitTierDocument, FolderDocument, FoldersDocument, GetCapabilityDocument, GetDevAccessTokenDocument, GetLimitDocument, GetRemainingDocument, GetTokenUsageByModelDocument, GetTokenUsageHistoryDocument, GetTokenUsageStatusDocument, UsageWindowsStatusTypeFragmentDoc, GetTokenUsageStatus_WindowsDocument, GetTokenUsageStatus_Windows_DayDocument, GetTokenUsageStatus_Windows_FiveHourDocument, GetTokenUsageStatus_Windows_MonthDocument, GetTokenUsageStatus_Windows_WeekDocument, GetUsageDocument, InsightDocument, Insight_ChatDocument, Insight_Chat_DesktopDeviceDocument, Insight_Chat_ProjectDocument, Insight_ReportMembersDocument, Insight_ReportsDocument, Insight_ThumbnailFileDocument, InsightsDocument, IntegrationDocument, Integration_ProviderDocument, Integration_Provider_CatalogDocument, IntegrationCatalogDocument, IntegrationCatalog_ProviderDocument, IntegrationCatalogToolsDocument, IntegrationCatalogsDocument, IntegrationsDocument, InterpretationsDocument, LiveContextDocument, LiveContext_ItemsDocument, LiveContext_SourceDocument, LiveContext_Source_EvidencesDocument, LiveContextsDocument, LocalSandboxDeviceStatusesDocument, ManagedChatModelsDocument, NotificationDocument, NotificationsDocument, NotificationsByReferenceDocument, PrivacyStatsDocument, ProjectDocument, Project_ChatsDocument, Project_DesktopBindingDocument, Project_DesktopBinding_DeviceDocument, ProjectsDocument, PulseAppSummaryDocument, PulseEventDocument, PulseEvent_IntegrationDocument, PulseEvent_Integration_ProviderDocument, PulseEventsDocument, PulseTriggerSettingsDocument, QueryDocument, QueryWithInsightIdDocument, QueryWithMessageIdDocument, ReportDocument, Report_InsightsDocument, Report_LayoutDocument, ReportsDocument, SkillCatalogDocument, TableDocument, Table_DatabaseDocument, Table_Database_EngineDocument, Table_DocumentDocument, Table_Document_ContentsDocument, Table_Document_FileDocument, Table_Document_FormatDocument, Table_FromRelationsDocument, Table_ToRelationsDocument, TablesDocument, UserSkillFileDocument, UserSkillFilesDocument, UserSkillFolderDocument, UserSkillFoldersDocument, WorkspaceAiModelDocument, WorkspaceDeletionScheduleDocument, McpAuthUpdatesDocument, TokenUsageUpdatesDocument } from './chunk-DUMZZ3UU.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
|
|
@@ -7663,7 +7663,7 @@ function createWsTransport(options) {
|
|
|
7663
7663
|
}
|
|
7664
7664
|
|
|
7665
7665
|
// src/_generated_store.ts
|
|
7666
|
-
var SCHEMA_HASH = "
|
|
7666
|
+
var SCHEMA_HASH = "da10740202fec9c4";
|
|
7667
7667
|
var DB_ENTITY_SCHEMA = {
|
|
7668
7668
|
actions: "id",
|
|
7669
7669
|
agents: "id",
|
|
@@ -7738,7 +7738,8 @@ var DB_ENTITY_SCHEMA = {
|
|
|
7738
7738
|
userSkillFiles: "id",
|
|
7739
7739
|
userSkillFolderModels: "id",
|
|
7740
7740
|
userSkillFolders: "id",
|
|
7741
|
-
windowDetailTypes: "id"
|
|
7741
|
+
windowDetailTypes: "id",
|
|
7742
|
+
workspaceAiModelSettings: "id"
|
|
7742
7743
|
};
|
|
7743
7744
|
var TYPENAME_TO_TABLE = {
|
|
7744
7745
|
Action: "actions",
|
|
@@ -7814,7 +7815,8 @@ var TYPENAME_TO_TABLE = {
|
|
|
7814
7815
|
UserSkillFileModel: "userSkillFileModels",
|
|
7815
7816
|
UserSkillFolder: "userSkillFolders",
|
|
7816
7817
|
UserSkillFolderModel: "userSkillFolderModels",
|
|
7817
|
-
WindowDetailType: "windowDetailTypes"
|
|
7818
|
+
WindowDetailType: "windowDetailTypes",
|
|
7819
|
+
WorkspaceAiModelSetting: "workspaceAiModelSettings"
|
|
7818
7820
|
};
|
|
7819
7821
|
var TABLE_TO_TYPENAME = {
|
|
7820
7822
|
actions: "Action",
|
|
@@ -7890,7 +7892,8 @@ var TABLE_TO_TYPENAME = {
|
|
|
7890
7892
|
userSkillFiles: "UserSkillFile",
|
|
7891
7893
|
userSkillFolderModels: "UserSkillFolderModel",
|
|
7892
7894
|
userSkillFolders: "UserSkillFolder",
|
|
7893
|
-
windowDetailTypes: "WindowDetailType"
|
|
7895
|
+
windowDetailTypes: "WindowDetailType",
|
|
7896
|
+
workspaceAiModelSettings: "WorkspaceAiModelSetting"
|
|
7894
7897
|
};
|
|
7895
7898
|
var PRIMARY_KEY_CONFIG = {
|
|
7896
7899
|
databaseCatalogs: "engineKey",
|
|
@@ -8396,11 +8399,11 @@ function createSseTransport(options) {
|
|
|
8396
8399
|
options.onFullResync?.();
|
|
8397
8400
|
return;
|
|
8398
8401
|
}
|
|
8399
|
-
if ((eventType === "query-add" || eventType === "query-remove") && eventData) {
|
|
8402
|
+
if ((eventType === "query-add" || eventType === "query-remove" || eventType === "query-resync") && eventData) {
|
|
8400
8403
|
try {
|
|
8401
8404
|
const parsed = JSON.parse(eventData);
|
|
8402
8405
|
options.onQueryEvent?.({
|
|
8403
|
-
type: eventType === "query-add" ? "add" : "remove",
|
|
8406
|
+
type: eventType === "query-add" ? "add" : eventType === "query-remove" ? "remove" : "resync",
|
|
8404
8407
|
...parsed
|
|
8405
8408
|
});
|
|
8406
8409
|
} catch {
|
|
@@ -10129,9 +10132,16 @@ var SyncEngine = class {
|
|
|
10129
10132
|
if (!queryKey) {
|
|
10130
10133
|
return;
|
|
10131
10134
|
}
|
|
10132
|
-
if (event.type === "
|
|
10135
|
+
if (event.type === "resync") {
|
|
10136
|
+
const subscription = this._subscriptionToQuery.get(event.subscriptionId);
|
|
10137
|
+
if (subscription) {
|
|
10138
|
+
await this._revalidateSubscriptionQuery(subscription, { force: true });
|
|
10139
|
+
}
|
|
10140
|
+
return;
|
|
10141
|
+
}
|
|
10142
|
+
if (event.type === "add" && event.entityId) {
|
|
10133
10143
|
await this._cache.prependEntityToSpecificQueryResult(queryKey, event.entityId);
|
|
10134
|
-
} else if (event.type === "remove") {
|
|
10144
|
+
} else if (event.type === "remove" && event.entityId) {
|
|
10135
10145
|
await this._cache.removeEntityFromSpecificQueryResult(queryKey, event.entityId);
|
|
10136
10146
|
}
|
|
10137
10147
|
}
|
|
@@ -10212,10 +10222,14 @@ var SyncEngine = class {
|
|
|
10212
10222
|
async _revalidateSubscriptionIfStale(subscriptionId) {
|
|
10213
10223
|
const sub = this._subscriptionToQuery.get(subscriptionId);
|
|
10214
10224
|
if (!sub) return;
|
|
10215
|
-
const touchedAt = this._entityTypeTouchedAt.get(sub.entityType);
|
|
10216
|
-
if (!touchedAt) return;
|
|
10217
10225
|
const cached = await this._db._queryResults.get(sub.queryKey);
|
|
10218
10226
|
if (!cached) return;
|
|
10227
|
+
if (!cached.querySyncId) {
|
|
10228
|
+
await this._revalidateSubscriptionQuery(sub, { force: true });
|
|
10229
|
+
return;
|
|
10230
|
+
}
|
|
10231
|
+
const touchedAt = this._entityTypeTouchedAt.get(sub.entityType);
|
|
10232
|
+
if (!touchedAt) return;
|
|
10219
10233
|
const fetchedAt = await this._cache.getQueryFetchedAt(sub.queryKey, cached);
|
|
10220
10234
|
if ((fetchedAt ?? cached.fetchedAt) >= touchedAt) return;
|
|
10221
10235
|
await this._revalidateSubscriptionQuery(sub, { force: true });
|
|
@@ -10674,7 +10688,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
|
|
|
10674
10688
|
var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
|
|
10675
10689
|
var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
|
|
10676
10690
|
async function uploadFile(request, getToken, file, name, options) {
|
|
10677
|
-
const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-
|
|
10691
|
+
const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-W25ZCFDS.js');
|
|
10678
10692
|
const key = `upload_${Date.now()}`;
|
|
10679
10693
|
const response = await request(
|
|
10680
10694
|
GenerateUploadUriDocument2,
|
|
@@ -11042,7 +11056,15 @@ function canUseFlatIncludeBatch(includes) {
|
|
|
11042
11056
|
return includes.length > 0 && includes.every((include) => !hasNestedIncludes(include));
|
|
11043
11057
|
}
|
|
11044
11058
|
function cloneEntity(entity) {
|
|
11045
|
-
|
|
11059
|
+
const result = { ...entity };
|
|
11060
|
+
if (result.__typename === "ContentBlock" && !Object.prototype.hasOwnProperty.call(result, "agent") && typeof result.agentId === "string" && typeof result.agentName === "string") {
|
|
11061
|
+
result.agent = {
|
|
11062
|
+
__typename: "ContentBlockAgentOutput",
|
|
11063
|
+
id: result.agentId,
|
|
11064
|
+
name: result.agentName
|
|
11065
|
+
};
|
|
11066
|
+
}
|
|
11067
|
+
return result;
|
|
11046
11068
|
}
|
|
11047
11069
|
function defaultIncludeValue(inc) {
|
|
11048
11070
|
if (inc.isConnection) {
|
|
@@ -11825,21 +11847,36 @@ var ContentBlock = class extends DvinaModel {
|
|
|
11825
11847
|
id;
|
|
11826
11848
|
type;
|
|
11827
11849
|
content;
|
|
11850
|
+
agentId;
|
|
11851
|
+
agentName;
|
|
11828
11852
|
chatMessageId;
|
|
11829
11853
|
index;
|
|
11854
|
+
agent;
|
|
11830
11855
|
constructor(request, data, syncEngine, baseUrl) {
|
|
11831
11856
|
super(request, syncEngine, baseUrl);
|
|
11832
11857
|
this.id = data.id;
|
|
11833
11858
|
this.type = data.type;
|
|
11834
11859
|
this.content = data.content;
|
|
11860
|
+
this.agentId = data.agentId ?? void 0;
|
|
11861
|
+
this.agentName = data.agentName ?? void 0;
|
|
11835
11862
|
this.chatMessageId = data.chatMessageId;
|
|
11836
11863
|
this.index = data.index;
|
|
11864
|
+
this.agent = data.agent ? new ContentBlockAgentOutput(request, data.agent, syncEngine, baseUrl) : void 0;
|
|
11837
11865
|
}
|
|
11838
11866
|
/** Lazy-fetch the chatMessage relation. Call .fetch() or .watch() to execute. */
|
|
11839
11867
|
chatMessage() {
|
|
11840
11868
|
return new ChatMessageQuery(this._request, this._syncEngine, { id: this.chatMessageId }, this._baseUrl);
|
|
11841
11869
|
}
|
|
11842
11870
|
};
|
|
11871
|
+
var ContentBlockAgentOutput = class extends DvinaModel {
|
|
11872
|
+
id;
|
|
11873
|
+
name;
|
|
11874
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
11875
|
+
super(request, syncEngine, baseUrl);
|
|
11876
|
+
this.id = data.id;
|
|
11877
|
+
this.name = data.name;
|
|
11878
|
+
}
|
|
11879
|
+
};
|
|
11843
11880
|
var ContentMask = class extends DvinaModel {
|
|
11844
11881
|
id;
|
|
11845
11882
|
content;
|
|
@@ -13112,10 +13149,12 @@ var PulseTriggerSettingModel = class extends DvinaModel {
|
|
|
13112
13149
|
var ReasoningEventOutput = class extends DvinaModel {
|
|
13113
13150
|
type;
|
|
13114
13151
|
delta;
|
|
13152
|
+
agent;
|
|
13115
13153
|
constructor(request, data, syncEngine, baseUrl) {
|
|
13116
13154
|
super(request, syncEngine, baseUrl);
|
|
13117
13155
|
this.type = data.type;
|
|
13118
13156
|
this.delta = data.delta;
|
|
13157
|
+
this.agent = data.agent ? new ContentBlockAgentOutput(request, data.agent, syncEngine, baseUrl) : void 0;
|
|
13119
13158
|
}
|
|
13120
13159
|
};
|
|
13121
13160
|
var Relation = class extends DvinaModel {
|
|
@@ -13196,10 +13235,12 @@ var ReportMember = class extends DvinaModel {
|
|
|
13196
13235
|
var ResolvedFileUrl = class extends DvinaModel {
|
|
13197
13236
|
id;
|
|
13198
13237
|
url;
|
|
13238
|
+
expiresAt;
|
|
13199
13239
|
constructor(request, data, syncEngine, baseUrl) {
|
|
13200
13240
|
super(request, syncEngine, baseUrl);
|
|
13201
13241
|
this.id = data.id;
|
|
13202
13242
|
this.url = data.url ?? void 0;
|
|
13243
|
+
this.expiresAt = data.expiresAt ?? void 0;
|
|
13203
13244
|
}
|
|
13204
13245
|
};
|
|
13205
13246
|
var SkillCatalogItem = class extends DvinaModel {
|
|
@@ -13272,6 +13313,7 @@ var StreamMessageContentOutput = class extends DvinaModel {
|
|
|
13272
13313
|
content;
|
|
13273
13314
|
chatMessageId;
|
|
13274
13315
|
index;
|
|
13316
|
+
agent;
|
|
13275
13317
|
constructor(request, data, syncEngine, baseUrl) {
|
|
13276
13318
|
super(request, syncEngine, baseUrl);
|
|
13277
13319
|
this.id = data.id;
|
|
@@ -13279,6 +13321,7 @@ var StreamMessageContentOutput = class extends DvinaModel {
|
|
|
13279
13321
|
this.content = data.content;
|
|
13280
13322
|
this.chatMessageId = data.chatMessageId;
|
|
13281
13323
|
this.index = data.index;
|
|
13324
|
+
this.agent = data.agent ? new ContentBlockAgentOutput(request, data.agent, syncEngine, baseUrl) : void 0;
|
|
13282
13325
|
}
|
|
13283
13326
|
};
|
|
13284
13327
|
var StreamMessageOutput = class extends DvinaModel {
|
|
@@ -13387,10 +13430,12 @@ var TextBlockEventOutput = class extends DvinaModel {
|
|
|
13387
13430
|
var TextDeltaEventOutput = class extends DvinaModel {
|
|
13388
13431
|
type;
|
|
13389
13432
|
delta;
|
|
13433
|
+
agent;
|
|
13390
13434
|
constructor(request, data, syncEngine, baseUrl) {
|
|
13391
13435
|
super(request, syncEngine, baseUrl);
|
|
13392
13436
|
this.type = data.type;
|
|
13393
13437
|
this.delta = data.delta;
|
|
13438
|
+
this.agent = data.agent ? new ContentBlockAgentOutput(request, data.agent, syncEngine, baseUrl) : void 0;
|
|
13394
13439
|
}
|
|
13395
13440
|
};
|
|
13396
13441
|
var TokenUsage = class extends DvinaModel {
|
|
@@ -13428,6 +13473,7 @@ var ToolInputDeltaEventOutput = class extends DvinaModel {
|
|
|
13428
13473
|
args;
|
|
13429
13474
|
index;
|
|
13430
13475
|
toolCallId;
|
|
13476
|
+
agent;
|
|
13431
13477
|
constructor(request, data, syncEngine, baseUrl) {
|
|
13432
13478
|
super(request, syncEngine, baseUrl);
|
|
13433
13479
|
this.type = data.type;
|
|
@@ -13435,6 +13481,7 @@ var ToolInputDeltaEventOutput = class extends DvinaModel {
|
|
|
13435
13481
|
this.args = data.args;
|
|
13436
13482
|
this.index = data.index;
|
|
13437
13483
|
this.toolCallId = data.toolCallId;
|
|
13484
|
+
this.agent = data.agent ? new ContentBlockAgentOutput(request, data.agent, syncEngine, baseUrl) : void 0;
|
|
13438
13485
|
}
|
|
13439
13486
|
};
|
|
13440
13487
|
var ToolResultArtifactOutput = class extends DvinaModel {
|
|
@@ -13460,6 +13507,7 @@ var ToolResultEventOutput = class extends DvinaModel {
|
|
|
13460
13507
|
toolCallId;
|
|
13461
13508
|
metadata;
|
|
13462
13509
|
artifacts;
|
|
13510
|
+
agent;
|
|
13463
13511
|
constructor(request, data, syncEngine, baseUrl) {
|
|
13464
13512
|
super(request, syncEngine, baseUrl);
|
|
13465
13513
|
this.type = data.type;
|
|
@@ -13471,6 +13519,7 @@ var ToolResultEventOutput = class extends DvinaModel {
|
|
|
13471
13519
|
this.toolCallId = data.toolCallId;
|
|
13472
13520
|
this.metadata = data.metadata ?? void 0;
|
|
13473
13521
|
this.artifacts = Array.isArray(data.artifacts) ? data.artifacts.filter(Boolean).map((item) => new ToolResultArtifactOutput(request, item, syncEngine, baseUrl)) : [];
|
|
13522
|
+
this.agent = data.agent ? new ContentBlockAgentOutput(request, data.agent, syncEngine, baseUrl) : void 0;
|
|
13474
13523
|
}
|
|
13475
13524
|
};
|
|
13476
13525
|
var ToolStartEventOutput = class extends DvinaModel {
|
|
@@ -13479,6 +13528,7 @@ var ToolStartEventOutput = class extends DvinaModel {
|
|
|
13479
13528
|
toolKit;
|
|
13480
13529
|
index;
|
|
13481
13530
|
toolCallId;
|
|
13531
|
+
agent;
|
|
13482
13532
|
constructor(request, data, syncEngine, baseUrl) {
|
|
13483
13533
|
super(request, syncEngine, baseUrl);
|
|
13484
13534
|
this.type = data.type;
|
|
@@ -13486,6 +13536,7 @@ var ToolStartEventOutput = class extends DvinaModel {
|
|
|
13486
13536
|
this.toolKit = data.toolKit;
|
|
13487
13537
|
this.index = data.index;
|
|
13488
13538
|
this.toolCallId = data.toolCallId;
|
|
13539
|
+
this.agent = data.agent ? new ContentBlockAgentOutput(request, data.agent, syncEngine, baseUrl) : void 0;
|
|
13489
13540
|
}
|
|
13490
13541
|
};
|
|
13491
13542
|
var UsageMetaOutput = class extends DvinaModel {
|
|
@@ -13545,6 +13596,7 @@ var UserAiProviderSetting = class extends DvinaModel {
|
|
|
13545
13596
|
model;
|
|
13546
13597
|
createdAt;
|
|
13547
13598
|
updatedAt;
|
|
13599
|
+
savedModels;
|
|
13548
13600
|
constructor(request, data, syncEngine, baseUrl) {
|
|
13549
13601
|
super(request, syncEngine, baseUrl);
|
|
13550
13602
|
this.id = data.id;
|
|
@@ -13554,6 +13606,7 @@ var UserAiProviderSetting = class extends DvinaModel {
|
|
|
13554
13606
|
this.model = data.model;
|
|
13555
13607
|
this.createdAt = new Date(data.createdAt);
|
|
13556
13608
|
this.updatedAt = new Date(data.updatedAt);
|
|
13609
|
+
this.savedModels = data.savedModels ?? [];
|
|
13557
13610
|
}
|
|
13558
13611
|
};
|
|
13559
13612
|
var UserSkillFile = class extends DvinaModel {
|
|
@@ -13635,12 +13688,14 @@ var WidgetBlockCompleteEventOutput = class extends DvinaModel {
|
|
|
13635
13688
|
index;
|
|
13636
13689
|
toolCallId;
|
|
13637
13690
|
summary;
|
|
13691
|
+
agent;
|
|
13638
13692
|
constructor(request, data, syncEngine, baseUrl) {
|
|
13639
13693
|
super(request, syncEngine, baseUrl);
|
|
13640
13694
|
this.type = data.type;
|
|
13641
13695
|
this.index = data.index;
|
|
13642
13696
|
this.toolCallId = data.toolCallId;
|
|
13643
13697
|
this.summary = data.summary ?? void 0;
|
|
13698
|
+
this.agent = data.agent ? new ContentBlockAgentOutput(request, data.agent, syncEngine, baseUrl) : void 0;
|
|
13644
13699
|
}
|
|
13645
13700
|
};
|
|
13646
13701
|
var WidgetBlockErrorEventOutput = class extends DvinaModel {
|
|
@@ -13648,12 +13703,14 @@ var WidgetBlockErrorEventOutput = class extends DvinaModel {
|
|
|
13648
13703
|
index;
|
|
13649
13704
|
toolCallId;
|
|
13650
13705
|
errorMessage;
|
|
13706
|
+
agent;
|
|
13651
13707
|
constructor(request, data, syncEngine, baseUrl) {
|
|
13652
13708
|
super(request, syncEngine, baseUrl);
|
|
13653
13709
|
this.type = data.type;
|
|
13654
13710
|
this.index = data.index;
|
|
13655
13711
|
this.toolCallId = data.toolCallId;
|
|
13656
13712
|
this.errorMessage = data.errorMessage;
|
|
13713
|
+
this.agent = data.agent ? new ContentBlockAgentOutput(request, data.agent, syncEngine, baseUrl) : void 0;
|
|
13657
13714
|
}
|
|
13658
13715
|
};
|
|
13659
13716
|
var WidgetBlockStartEventOutput = class extends DvinaModel {
|
|
@@ -13661,12 +13718,14 @@ var WidgetBlockStartEventOutput = class extends DvinaModel {
|
|
|
13661
13718
|
index;
|
|
13662
13719
|
toolCallId;
|
|
13663
13720
|
summary;
|
|
13721
|
+
agent;
|
|
13664
13722
|
constructor(request, data, syncEngine, baseUrl) {
|
|
13665
13723
|
super(request, syncEngine, baseUrl);
|
|
13666
13724
|
this.type = data.type;
|
|
13667
13725
|
this.index = data.index;
|
|
13668
13726
|
this.toolCallId = data.toolCallId;
|
|
13669
13727
|
this.summary = data.summary ?? void 0;
|
|
13728
|
+
this.agent = data.agent ? new ContentBlockAgentOutput(request, data.agent, syncEngine, baseUrl) : void 0;
|
|
13670
13729
|
}
|
|
13671
13730
|
};
|
|
13672
13731
|
var WidgetHtmlDeltaEventOutput = class extends DvinaModel {
|
|
@@ -13675,6 +13734,7 @@ var WidgetHtmlDeltaEventOutput = class extends DvinaModel {
|
|
|
13675
13734
|
index;
|
|
13676
13735
|
toolCallId;
|
|
13677
13736
|
summary;
|
|
13737
|
+
agent;
|
|
13678
13738
|
constructor(request, data, syncEngine, baseUrl) {
|
|
13679
13739
|
super(request, syncEngine, baseUrl);
|
|
13680
13740
|
this.type = data.type;
|
|
@@ -13682,6 +13742,7 @@ var WidgetHtmlDeltaEventOutput = class extends DvinaModel {
|
|
|
13682
13742
|
this.index = data.index;
|
|
13683
13743
|
this.toolCallId = data.toolCallId;
|
|
13684
13744
|
this.summary = data.summary ?? void 0;
|
|
13745
|
+
this.agent = data.agent ? new ContentBlockAgentOutput(request, data.agent, syncEngine, baseUrl) : void 0;
|
|
13685
13746
|
}
|
|
13686
13747
|
};
|
|
13687
13748
|
var WindowDetailType = class extends DvinaModel {
|
|
@@ -13699,6 +13760,19 @@ var WindowDetailType = class extends DvinaModel {
|
|
|
13699
13760
|
this.isExceeded = data.isExceeded;
|
|
13700
13761
|
}
|
|
13701
13762
|
};
|
|
13763
|
+
var WorkspaceAiModelSetting = class extends DvinaModel {
|
|
13764
|
+
id;
|
|
13765
|
+
model;
|
|
13766
|
+
createdAt;
|
|
13767
|
+
updatedAt;
|
|
13768
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
13769
|
+
super(request, syncEngine, baseUrl);
|
|
13770
|
+
this.id = data.id;
|
|
13771
|
+
this.model = data.model;
|
|
13772
|
+
this.createdAt = new Date(data.createdAt);
|
|
13773
|
+
this.updatedAt = new Date(data.updatedAt);
|
|
13774
|
+
}
|
|
13775
|
+
};
|
|
13702
13776
|
var WorkspaceDeleteSchedule = class extends DvinaModel {
|
|
13703
13777
|
id;
|
|
13704
13778
|
workspaceId;
|
|
@@ -15215,6 +15289,12 @@ var DeleteReportMutation = class extends Request {
|
|
|
15215
15289
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
15216
15290
|
}
|
|
15217
15291
|
};
|
|
15292
|
+
var DeleteSavedAiProviderModelMutation = class extends Request {
|
|
15293
|
+
async fetch(variables) {
|
|
15294
|
+
const response = await this._syncEngine.mutate(DeleteSavedAiProviderModelDocument, variables, MUTATION_CACHE_RULES["deleteSavedAiProviderModel"]);
|
|
15295
|
+
return response.deleteSavedAiProviderModel;
|
|
15296
|
+
}
|
|
15297
|
+
};
|
|
15218
15298
|
var DeleteTableMutation = class extends Request {
|
|
15219
15299
|
async fetch(variables, options) {
|
|
15220
15300
|
const response = await this._syncEngine.mutate(DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
|
|
@@ -15507,6 +15587,12 @@ var UpsertAiProviderSettingMutation = class extends Request {
|
|
|
15507
15587
|
return new UserAiProviderSetting(this._request, data, this._syncEngine, this._baseUrl);
|
|
15508
15588
|
}
|
|
15509
15589
|
};
|
|
15590
|
+
var UpsertWorkspaceAiModelMutation = class extends Request {
|
|
15591
|
+
async fetch(variables) {
|
|
15592
|
+
const response = await this._syncEngine.mutate(UpsertWorkspaceAiModelDocument, variables, MUTATION_CACHE_RULES["upsertWorkspaceAiModel"]);
|
|
15593
|
+
return response.upsertWorkspaceAiModel;
|
|
15594
|
+
}
|
|
15595
|
+
};
|
|
15510
15596
|
var AgentQuery = class extends Request {
|
|
15511
15597
|
_variables;
|
|
15512
15598
|
_includes = [];
|
|
@@ -20850,6 +20936,12 @@ var LocalSandboxDeviceStatusesQuery = class extends Request {
|
|
|
20850
20936
|
return data.map((item) => new LocalSandboxDeviceStatusModel(this._request, item, this._syncEngine, this._baseUrl));
|
|
20851
20937
|
}
|
|
20852
20938
|
};
|
|
20939
|
+
var ManagedChatModelsQuery = class extends Request {
|
|
20940
|
+
async fetch(variables) {
|
|
20941
|
+
const response = await this._request(ManagedChatModelsDocument, variables);
|
|
20942
|
+
return response.managedChatModels;
|
|
20943
|
+
}
|
|
20944
|
+
};
|
|
20853
20945
|
var NotificationQuery = class extends Request {
|
|
20854
20946
|
_variables;
|
|
20855
20947
|
_includes = [];
|
|
@@ -22544,6 +22636,12 @@ var UserSkillFoldersQuery = class extends Request {
|
|
|
22544
22636
|
return data.map((item) => new UserSkillFolderModel(this._request, item, this._syncEngine, this._baseUrl));
|
|
22545
22637
|
}
|
|
22546
22638
|
};
|
|
22639
|
+
var WorkspaceAiModelQuery = class extends Request {
|
|
22640
|
+
async fetch(variables) {
|
|
22641
|
+
const response = await this._request(WorkspaceAiModelDocument, variables);
|
|
22642
|
+
return response.workspaceAiModel ?? void 0;
|
|
22643
|
+
}
|
|
22644
|
+
};
|
|
22547
22645
|
var WorkspaceDeletionScheduleQuery = class extends Request {
|
|
22548
22646
|
_variables;
|
|
22549
22647
|
_includes = [];
|
|
@@ -22770,6 +22868,10 @@ var DvinaSdk = class extends Request {
|
|
|
22770
22868
|
deleteReport(variables) {
|
|
22771
22869
|
return new DeleteReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
22772
22870
|
}
|
|
22871
|
+
/** Mutation: deleteSavedAiProviderModel (scalar) */
|
|
22872
|
+
deleteSavedAiProviderModel(variables) {
|
|
22873
|
+
return new DeleteSavedAiProviderModelMutation(this._request, this._syncEngine).fetch(variables);
|
|
22874
|
+
}
|
|
22773
22875
|
/** Mutation: deleteTable */
|
|
22774
22876
|
deleteTable(variables) {
|
|
22775
22877
|
return new DeleteTableMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
@@ -22942,6 +23044,10 @@ var DvinaSdk = class extends Request {
|
|
|
22942
23044
|
upsertAiProviderSetting(variables) {
|
|
22943
23045
|
return new UpsertAiProviderSettingMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
22944
23046
|
}
|
|
23047
|
+
/** Mutation: upsertWorkspaceAiModel (scalar) */
|
|
23048
|
+
upsertWorkspaceAiModel(variables) {
|
|
23049
|
+
return new UpsertWorkspaceAiModelMutation(this._request, this._syncEngine).fetch(variables);
|
|
23050
|
+
}
|
|
22945
23051
|
/** Query: agent — call .fetch() or .watch() to execute. */
|
|
22946
23052
|
agent(variables) {
|
|
22947
23053
|
return new AgentQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
@@ -23138,6 +23244,10 @@ var DvinaSdk = class extends Request {
|
|
|
23138
23244
|
localSandboxDeviceStatuses(variables) {
|
|
23139
23245
|
return new LocalSandboxDeviceStatusesQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
23140
23246
|
}
|
|
23247
|
+
/** Query: managedChatModels (scalar) */
|
|
23248
|
+
managedChatModels() {
|
|
23249
|
+
return new ManagedChatModelsQuery(this._request, this._syncEngine).fetch(void 0);
|
|
23250
|
+
}
|
|
23141
23251
|
/** Query: notification — call .fetch() or .watch() to execute. */
|
|
23142
23252
|
notification(variables) {
|
|
23143
23253
|
return new NotificationQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
@@ -23226,6 +23336,10 @@ var DvinaSdk = class extends Request {
|
|
|
23226
23336
|
userSkillFolders(variables) {
|
|
23227
23337
|
return new UserSkillFoldersQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
23228
23338
|
}
|
|
23339
|
+
/** Query: workspaceAiModel (scalar) */
|
|
23340
|
+
workspaceAiModel() {
|
|
23341
|
+
return new WorkspaceAiModelQuery(this._request, this._syncEngine).fetch(void 0);
|
|
23342
|
+
}
|
|
23229
23343
|
/** Query: workspaceDeletionSchedule — call .fetch() or .watch() to execute. */
|
|
23230
23344
|
workspaceDeletionSchedule() {
|
|
23231
23345
|
return new WorkspaceDeletionScheduleQuery(this._request, this._syncEngine, {}, this._baseUrl);
|
|
@@ -23285,6 +23399,6 @@ var DvinaSdk = class extends Request {
|
|
|
23285
23399
|
}
|
|
23286
23400
|
};
|
|
23287
23401
|
|
|
23288
|
-
export { AbortChatMutation, Action, AddInsightToReportMutation, Agent, AgentConnection, AgentQuery, AgentSubBuilder, Agent_ChatsQuery, AgentsQuery, AiProviderSettingQuery, Artifact, ArtifactConnection, ArtifactQuery, ArtifactSubBuilder, Artifact_ChatQuery, Artifact_Chat_DesktopDeviceQuery, Artifact_Chat_InsightQuery, Artifact_Chat_ProjectQuery, Artifact_FileQuery, Artifact_MessageQuery, Artifact_Message_ChatQuery, Artifact_Message_ContentsQuery, Artifact_Message_FeedbackQuery, ArtifactsQuery, AudioEventOutput, CancelOauthFlowMutation, CancelWorkspaceDeletionMutation, Candidate, CandidateEvidence, Chat, ChatConnection, ChatImportExecuteOutput, ChatImportPreviewOutput, ChatMessage, ChatMessageConnection, ChatMessageQuery, ChatMessageSubBuilder, ChatMessage_ArtifactsQuery, ChatMessage_ChatQuery, ChatMessage_Chat_DesktopDeviceQuery, ChatMessage_Chat_InsightQuery, ChatMessage_Chat_ProjectQuery, ChatMessage_ContentsQuery, ChatMessage_FeedbackQuery, ChatMessagesQuery, ChatQuery, ChatSubBuilder, ChatTitleEventOutput, Chat_AgentsQuery, Chat_ArtifactsQuery, Chat_DesktopDeviceQuery, Chat_DesktopDevice_DesktopBindingsQuery, Chat_InsightQuery, Chat_Insight_ReportMembersQuery, Chat_Insight_ThumbnailFileQuery, Chat_MessagesQuery, Chat_ProjectQuery, Chat_Project_DesktopBindingQuery, ChatsQuery, ConnectIntegrationMutation, ConsumePulseEventsMutation, ContentBlock, ContentMask, ContextUsageEventOutput, ContinueImportedChatMutation, ContinueInterpretationMutation, CreateAgentMutation, CreateChatMutation, CreateDatabaseMutation, CreateDocumentMutation, CreateFeedbackMutation, CreateFolderMutation, CreateInsightMutation, CreateIntegrationMutation, CreateIntegrationOutput, CreateProjectMutation, CreateReportMutation, CreateTableMutation, CreateUserSkillFileMutation, CreateUserSkillFolderMutation, CubeModel, DB_ENTITY_SCHEMA, Database, DatabaseCatalog, DatabaseCatalogConnection, DatabaseCatalogQuery, DatabaseCatalogSubBuilder, DatabaseCatalog_EngineQuery, DatabaseCatalogsQuery, DatabaseConnection, DatabaseEngine, DatabaseQuery, DatabaseSchemaQuery, DatabaseSubBuilder, Database_EngineQuery, Database_Engine_CatalogQuery, Database_TablesQuery, DatabasesQuery, DeepAnalysisUsage, DeferredDvinaQueryRef, DeleteAgentMutation, DeleteAiProviderSettingMutation, DeleteArtifactMutation, DeleteChatMutation, DeleteDatabaseMutation, DeleteDocumentMutation, DeleteFolderMutation, DeleteInsightMutation, DeleteInsightsMutation, DeleteIntegrationMutation, DeleteProjectMutation, DeleteReportMutation, DeleteTableMutation, DeleteUserSkillFileMutation, DeleteUserSkillFolderMutation, DesktopDevice, DesktopDeviceConnection, DesktopDeviceQuery, DesktopDeviceSubBuilder, DesktopDevice_ChatsQuery, DesktopDevice_DesktopBindingsQuery, DesktopDevicesQuery, DevAccessTokenOutput, DexieLiveQueryRef, DisconnectIntegrationMutation, DismissPulseEventMutation, Document, DocumentCatalog, DocumentCatalogConnection, DocumentCatalogQuery, DocumentCatalogSubBuilder, DocumentCatalog_FormatQuery, DocumentCatalogsQuery, DocumentConnection, DocumentContent, DocumentFormat, DocumentQuery, DocumentSubBuilder, Document_ContentsQuery, Document_FileQuery, Document_FormatQuery, Document_Format_CatalogQuery, Document_TablesQuery, DocumentsQuery, DvinaDatabase, DvinaModel, DvinaSdk, Evidence, ExecuteChatImportMutation, ExportQuery, ExportWithInsightIdQuery, FailedSyncEventIngestion, FeedArtifactData, FeedConnection, FeedDatabaseData, FeedDocumentData, FeedInsightData, FeedIntegrationData, FeedItem, FeedItemGenerated, FeedItemQuery, FeedItemSubBuilder, FeedItem_ActionQuery, FeedItem_DataQuery, FeedItemsQuery, FeedLiveContextData, FeedProjectData, FeedPulseData, FeedSendMessageAction, Feedback, File, FileMetaQuery, FileModel, FileQuery, FileUrlsQuery, FinalContentEventOutput, FindFitTierQuery, Folder, FolderConnection, FolderQuery, FoldersQuery, GenerateUploadUriMutation, GetCapabilityQuery, GetDevAccessTokenQuery, GetLimitQuery, GetRemainingQuery, GetTokenUsageByModelQuery, GetTokenUsageHistoryQuery, GetTokenUsageStatusQuery, GetTokenUsageStatus_WindowsQuery, GetTokenUsageStatus_Windows_DayQuery, GetTokenUsageStatus_Windows_FiveHourQuery, GetTokenUsageStatus_Windows_MonthQuery, GetTokenUsageStatus_Windows_WeekQuery, GetUsageQuery, ImportedChatSummaryOutput, InferenceRequestAudit, Insight, InsightConnection, InsightQuery, InsightSubBuilder, Insight_ChatQuery, Insight_Chat_DesktopDeviceQuery, Insight_Chat_ProjectQuery, Insight_ReportMembersQuery, Insight_ReportsQuery, Insight_ThumbnailFileQuery, InsightsQuery, Integration, IntegrationCatalog, IntegrationCatalogConnection, IntegrationCatalogQuery, IntegrationCatalogSubBuilder, IntegrationCatalogToolsQuery, IntegrationCatalog_ProviderQuery, IntegrationCatalogsQuery, IntegrationConnection, IntegrationProvider, IntegrationQuery, IntegrationSubBuilder, Integration_ProviderQuery, Integration_Provider_CatalogQuery, IntegrationsQuery, Interpretation, InterpretationConnection, InterpretationsQuery, InterruptEventOutput, Invocation, LegacyCodeMigratedChatSummaryOutput, LegacyCodeMigrationOutput, LiveContext, LiveContextConnection, LiveContextQuery, LiveContextSubBuilder, LiveContext_ItemsQuery, LiveContext_SourceQuery, LiveContext_Source_EvidencesQuery, LiveContextsQuery, LocalSandboxDeviceStatusModel, LocalSandboxDeviceStatusesQuery, MUTATION_CACHE_RULES, MappedDvinaQueryRef, McpAuthUpdateModel, McpAuthUpdatesSubscription, McpClientInformation, McpCodeVerifier, McpServer, McpTokens, McpTool, MessageEndEventOutput, MessageStartEventOutput, MigrateLegacyCodeChatsMutation, ModelTokenUsage, Notification, NotificationConnection, NotificationQuery, NotificationsByReferenceQuery, NotificationsQuery, PRIMARY_KEY_CONFIG, PreviewChatImportMutation, PrivacyStats, PrivacyStatsEventOutput, PrivacyStatsOutput, PrivacyStatsQuery, PrivacyStatsTotalsDeltaOutput, ProgressSummaryEventOutput, Project, ProjectConnection, ProjectDesktopBinding, ProjectQuery, ProjectSubBuilder, Project_ChatsQuery, Project_DesktopBindingQuery, Project_DesktopBinding_DeviceQuery, ProjectsQuery, PulseAppSummaryModel, PulseAppSummaryQuery, PulseEvent, PulseEventConnection, PulseEventQuery, PulseEventSubBuilder, PulseEvent_IntegrationQuery, PulseEvent_Integration_ProviderQuery, PulseEventsQuery, PulseTriggerSettingModel, PulseTriggerSettingsQuery, QueryQuery, QueryWithInsightIdQuery, QueryWithMessageIdQuery, ReanalyzeDocumentMutation, ReasoningEventOutput, RefineAgentInstructionMutation, RefineSkillInstructionMutation, RefreshDatabaseSchemaMutation, RefreshInsightMutation, RegisterDesktopDeviceMutation, ReinterpretSourceMutation, ReinterpretSourcesOfuserMutation, Relation, RelocateInsightMutation, RemoveInsightFromReportMutation, Report, ReportConnection, ReportMember, ReportQuery, ReportSubBuilder, Report_InsightsQuery, Report_LayoutQuery, ReportsQuery, ResetWorkspaceMutation, ResolvePulseEventMutation, ResolvedFileUrl, ScheduleWorkspaceDeletionMutation, SendMessageMutation, SetDatabasePrimaryKeyMutation, SkillCatalogItem, SkillCatalogQuery, StreamEventSchemaAnchor, StreamMessageContentOutput, StreamMessageOutput, SyncEngine, SyncEvent, SyncEventCursor, SyncProjectDesktopBindingMutation, TABLE_TO_TYPENAME, TYPENAME_TO_TABLE, Table, TableConnection, TableQuery, TableSubBuilder, Table_DatabaseQuery, Table_Database_EngineQuery, Table_DocumentQuery, Table_Document_ContentsQuery, Table_Document_FileQuery, Table_Document_FormatQuery, Table_FromRelationsQuery, Table_ToRelationsQuery, TablesQuery, TextBlockEventOutput, TextDeltaEventOutput, TokenUsage, TokenUsageUpdatesSubscription, ToolInputDeltaEventOutput, ToolResultArtifactOutput, ToolResultEventOutput, ToolStartEventOutput, UpdateAgentMutation, UpdateArtifactNameMutation, UpdateChatMutation, UpdateDatabaseMutation, UpdateDocumentMutation, UpdateFolderMutation, UpdateInsightInReportMutation, UpdateInsightMutation, UpdateInsightThumbnailMutation, UpdateInterpMutation, UpdateLiveContextMutation, UpdateProjectMutation, UpdatePulseTriggerMutation, UpdateReportMutation, UpdateTableMutation, UpdateUserSkillFileMutation, UpdateUserSkillFolderMutation, UpsertAiProviderSettingMutation, UsageMetaOutput, UsageStatus, UsageWindowsStatusType, UserAiProviderSetting, 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 };
|
|
23289
|
-
//# sourceMappingURL=chunk-
|
|
23290
|
-
//# sourceMappingURL=chunk-
|
|
23402
|
+
export { AbortChatMutation, Action, AddInsightToReportMutation, Agent, AgentConnection, AgentQuery, AgentSubBuilder, Agent_ChatsQuery, AgentsQuery, AiProviderSettingQuery, Artifact, ArtifactConnection, ArtifactQuery, ArtifactSubBuilder, Artifact_ChatQuery, Artifact_Chat_DesktopDeviceQuery, Artifact_Chat_InsightQuery, Artifact_Chat_ProjectQuery, Artifact_FileQuery, Artifact_MessageQuery, Artifact_Message_ChatQuery, Artifact_Message_ContentsQuery, Artifact_Message_FeedbackQuery, ArtifactsQuery, AudioEventOutput, CancelOauthFlowMutation, CancelWorkspaceDeletionMutation, Candidate, CandidateEvidence, Chat, ChatConnection, ChatImportExecuteOutput, ChatImportPreviewOutput, ChatMessage, ChatMessageConnection, ChatMessageQuery, ChatMessageSubBuilder, ChatMessage_ArtifactsQuery, ChatMessage_ChatQuery, ChatMessage_Chat_DesktopDeviceQuery, ChatMessage_Chat_InsightQuery, ChatMessage_Chat_ProjectQuery, ChatMessage_ContentsQuery, ChatMessage_FeedbackQuery, ChatMessagesQuery, ChatQuery, ChatSubBuilder, ChatTitleEventOutput, Chat_AgentsQuery, Chat_ArtifactsQuery, Chat_DesktopDeviceQuery, Chat_DesktopDevice_DesktopBindingsQuery, Chat_InsightQuery, Chat_Insight_ReportMembersQuery, Chat_Insight_ThumbnailFileQuery, Chat_MessagesQuery, Chat_ProjectQuery, Chat_Project_DesktopBindingQuery, ChatsQuery, ConnectIntegrationMutation, ConsumePulseEventsMutation, ContentBlock, ContentBlockAgentOutput, ContentMask, ContextUsageEventOutput, ContinueImportedChatMutation, ContinueInterpretationMutation, CreateAgentMutation, CreateChatMutation, CreateDatabaseMutation, CreateDocumentMutation, CreateFeedbackMutation, CreateFolderMutation, CreateInsightMutation, CreateIntegrationMutation, CreateIntegrationOutput, CreateProjectMutation, CreateReportMutation, CreateTableMutation, CreateUserSkillFileMutation, CreateUserSkillFolderMutation, CubeModel, DB_ENTITY_SCHEMA, Database, DatabaseCatalog, DatabaseCatalogConnection, DatabaseCatalogQuery, DatabaseCatalogSubBuilder, DatabaseCatalog_EngineQuery, DatabaseCatalogsQuery, DatabaseConnection, DatabaseEngine, DatabaseQuery, DatabaseSchemaQuery, DatabaseSubBuilder, Database_EngineQuery, Database_Engine_CatalogQuery, Database_TablesQuery, DatabasesQuery, DeepAnalysisUsage, DeferredDvinaQueryRef, DeleteAgentMutation, DeleteAiProviderSettingMutation, DeleteArtifactMutation, DeleteChatMutation, DeleteDatabaseMutation, DeleteDocumentMutation, DeleteFolderMutation, DeleteInsightMutation, DeleteInsightsMutation, DeleteIntegrationMutation, DeleteProjectMutation, DeleteReportMutation, DeleteSavedAiProviderModelMutation, DeleteTableMutation, DeleteUserSkillFileMutation, DeleteUserSkillFolderMutation, DesktopDevice, DesktopDeviceConnection, DesktopDeviceQuery, DesktopDeviceSubBuilder, DesktopDevice_ChatsQuery, DesktopDevice_DesktopBindingsQuery, DesktopDevicesQuery, DevAccessTokenOutput, DexieLiveQueryRef, DisconnectIntegrationMutation, DismissPulseEventMutation, Document, DocumentCatalog, DocumentCatalogConnection, DocumentCatalogQuery, DocumentCatalogSubBuilder, DocumentCatalog_FormatQuery, DocumentCatalogsQuery, DocumentConnection, DocumentContent, DocumentFormat, DocumentQuery, DocumentSubBuilder, Document_ContentsQuery, Document_FileQuery, Document_FormatQuery, Document_Format_CatalogQuery, Document_TablesQuery, DocumentsQuery, DvinaDatabase, DvinaModel, DvinaSdk, Evidence, ExecuteChatImportMutation, ExportQuery, ExportWithInsightIdQuery, FailedSyncEventIngestion, FeedArtifactData, FeedConnection, FeedDatabaseData, FeedDocumentData, FeedInsightData, FeedIntegrationData, FeedItem, FeedItemGenerated, FeedItemQuery, FeedItemSubBuilder, FeedItem_ActionQuery, FeedItem_DataQuery, FeedItemsQuery, FeedLiveContextData, FeedProjectData, FeedPulseData, FeedSendMessageAction, Feedback, File, FileMetaQuery, FileModel, FileQuery, FileUrlsQuery, FinalContentEventOutput, FindFitTierQuery, Folder, FolderConnection, FolderQuery, FoldersQuery, GenerateUploadUriMutation, GetCapabilityQuery, GetDevAccessTokenQuery, GetLimitQuery, GetRemainingQuery, GetTokenUsageByModelQuery, GetTokenUsageHistoryQuery, GetTokenUsageStatusQuery, GetTokenUsageStatus_WindowsQuery, GetTokenUsageStatus_Windows_DayQuery, GetTokenUsageStatus_Windows_FiveHourQuery, GetTokenUsageStatus_Windows_MonthQuery, GetTokenUsageStatus_Windows_WeekQuery, GetUsageQuery, ImportedChatSummaryOutput, InferenceRequestAudit, Insight, InsightConnection, InsightQuery, InsightSubBuilder, Insight_ChatQuery, Insight_Chat_DesktopDeviceQuery, Insight_Chat_ProjectQuery, Insight_ReportMembersQuery, Insight_ReportsQuery, Insight_ThumbnailFileQuery, InsightsQuery, Integration, IntegrationCatalog, IntegrationCatalogConnection, IntegrationCatalogQuery, IntegrationCatalogSubBuilder, IntegrationCatalogToolsQuery, IntegrationCatalog_ProviderQuery, IntegrationCatalogsQuery, IntegrationConnection, IntegrationProvider, IntegrationQuery, IntegrationSubBuilder, Integration_ProviderQuery, Integration_Provider_CatalogQuery, IntegrationsQuery, Interpretation, InterpretationConnection, InterpretationsQuery, InterruptEventOutput, Invocation, LegacyCodeMigratedChatSummaryOutput, LegacyCodeMigrationOutput, LiveContext, LiveContextConnection, LiveContextQuery, LiveContextSubBuilder, LiveContext_ItemsQuery, LiveContext_SourceQuery, LiveContext_Source_EvidencesQuery, LiveContextsQuery, LocalSandboxDeviceStatusModel, LocalSandboxDeviceStatusesQuery, MUTATION_CACHE_RULES, ManagedChatModelsQuery, MappedDvinaQueryRef, McpAuthUpdateModel, McpAuthUpdatesSubscription, McpClientInformation, McpCodeVerifier, McpServer, McpTokens, McpTool, MessageEndEventOutput, MessageStartEventOutput, MigrateLegacyCodeChatsMutation, ModelTokenUsage, Notification, NotificationConnection, NotificationQuery, NotificationsByReferenceQuery, NotificationsQuery, PRIMARY_KEY_CONFIG, PreviewChatImportMutation, PrivacyStats, PrivacyStatsEventOutput, PrivacyStatsOutput, PrivacyStatsQuery, PrivacyStatsTotalsDeltaOutput, ProgressSummaryEventOutput, Project, ProjectConnection, ProjectDesktopBinding, ProjectQuery, ProjectSubBuilder, Project_ChatsQuery, Project_DesktopBindingQuery, Project_DesktopBinding_DeviceQuery, ProjectsQuery, PulseAppSummaryModel, PulseAppSummaryQuery, PulseEvent, PulseEventConnection, PulseEventQuery, PulseEventSubBuilder, PulseEvent_IntegrationQuery, PulseEvent_Integration_ProviderQuery, PulseEventsQuery, PulseTriggerSettingModel, PulseTriggerSettingsQuery, QueryQuery, QueryWithInsightIdQuery, QueryWithMessageIdQuery, ReanalyzeDocumentMutation, ReasoningEventOutput, RefineAgentInstructionMutation, RefineSkillInstructionMutation, RefreshDatabaseSchemaMutation, RefreshInsightMutation, RegisterDesktopDeviceMutation, ReinterpretSourceMutation, ReinterpretSourcesOfuserMutation, Relation, RelocateInsightMutation, RemoveInsightFromReportMutation, Report, ReportConnection, ReportMember, ReportQuery, ReportSubBuilder, Report_InsightsQuery, Report_LayoutQuery, ReportsQuery, ResetWorkspaceMutation, ResolvePulseEventMutation, ResolvedFileUrl, ScheduleWorkspaceDeletionMutation, SendMessageMutation, SetDatabasePrimaryKeyMutation, SkillCatalogItem, SkillCatalogQuery, StreamEventSchemaAnchor, StreamMessageContentOutput, StreamMessageOutput, SyncEngine, SyncEvent, SyncEventCursor, SyncProjectDesktopBindingMutation, TABLE_TO_TYPENAME, TYPENAME_TO_TABLE, Table, TableConnection, TableQuery, TableSubBuilder, Table_DatabaseQuery, Table_Database_EngineQuery, Table_DocumentQuery, Table_Document_ContentsQuery, Table_Document_FileQuery, Table_Document_FormatQuery, Table_FromRelationsQuery, Table_ToRelationsQuery, TablesQuery, TextBlockEventOutput, TextDeltaEventOutput, TokenUsage, TokenUsageUpdatesSubscription, ToolInputDeltaEventOutput, ToolResultArtifactOutput, ToolResultEventOutput, ToolStartEventOutput, UpdateAgentMutation, UpdateArtifactNameMutation, UpdateChatMutation, UpdateDatabaseMutation, UpdateDocumentMutation, UpdateFolderMutation, UpdateInsightInReportMutation, UpdateInsightMutation, UpdateInsightThumbnailMutation, UpdateInterpMutation, UpdateLiveContextMutation, UpdateProjectMutation, UpdatePulseTriggerMutation, UpdateReportMutation, UpdateTableMutation, UpdateUserSkillFileMutation, UpdateUserSkillFolderMutation, UpsertAiProviderSettingMutation, UpsertWorkspaceAiModelMutation, UsageMetaOutput, UsageStatus, UsageWindowsStatusType, UserAiProviderSetting, UserSkillFile, UserSkillFileModel, UserSkillFileQuery, UserSkillFilesQuery, UserSkillFolder, UserSkillFolderModel, UserSkillFolderQuery, UserSkillFoldersQuery, WidgetBlockCompleteEventOutput, WidgetBlockErrorEventOutput, WidgetBlockStartEventOutput, WidgetHtmlDeltaEventOutput, WindowDetailType, WorkspaceAiModelQuery, WorkspaceAiModelSetting, WorkspaceDeleteSchedule, WorkspaceDeletionScheduleQuery, closeDatabase, createChatStreamClient, createDvinaClient, createLazySyncEngine, createSseTransport, createWsTransport, deleteDatabase, getOrCreateDatabase, reconstructConnectionNodes, reconstructEntity, uploadFile };
|
|
23403
|
+
//# sourceMappingURL=chunk-YNXLLHTI.js.map
|
|
23404
|
+
//# sourceMappingURL=chunk-YNXLLHTI.js.map
|