@swiss-ai-hub/web 0.319.0 → 0.321.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{pages/auth/login.vue → components/Auth/LoginPanel.vue} +3 -33
- package/components/FormKit/AgentSelector.vue +20 -7
- package/components/FormKit/CronInput.vue +208 -0
- package/components/FormKit/Repeater.vue +1 -4
- package/components/FormKit/VectorStoreInput.vue +43 -6
- package/components/Knowledge/Database/CreateModal.vue +315 -0
- package/components/Knowledge/Database/EmptyCard.vue +34 -0
- package/components/Knowledge/DeleteConfirmModal.vue +87 -0
- package/components/Knowledge/Document/List.vue +20 -9
- package/components/Knowledge/Namespace/Card.vue +18 -0
- package/components/Knowledge/Namespace/CreateModal.vue +11 -3
- package/components/Role/AccessCapabilities.vue +4 -4
- package/components/Role/AccessCapabilityGroup.vue +22 -6
- package/components/Role/AccessRulesEditor.vue +15 -12
- package/composables/app/useAppVersion.ts +37 -20
- package/composables/auth/useAuth.ts +3 -11
- package/composables/document/useCreateDatabase.ts +21 -0
- package/composables/document/useDeleteDatabase.ts +29 -0
- package/composables/document/useDeleteDocument.ts +1 -1
- package/composables/document/useDeleteDocuments.ts +1 -1
- package/composables/document/useDeleteNamespace.ts +30 -0
- package/composables/document/useIngestors.ts +23 -0
- package/composables/document/useScheduledDeletions.ts +16 -8
- package/composables/form/useCreateInstanceForm.ts +2 -2
- package/composables/form/useFormKitTransform.ts +44 -15
- package/formkit.config.ts +57 -3
- package/i18n/locales/de.yaml +84 -5
- package/i18n/locales/en.yaml +80 -3
- package/i18n/locales/fr.yaml +82 -3
- package/i18n/locales/it.yaml +84 -3
- package/middleware/agent-admin.ts +31 -0
- package/middleware/auth.global.ts +34 -16
- package/package.json +1 -1
- package/pages/[tenant]/service/agents.vue +3 -0
- package/pages/[tenant]/service/knowledge/[db]/[namespace]/[document_id].vue +12 -5
- package/pages/[tenant]/service/knowledge.vue +138 -0
- package/pages/auth/login/[idp].vue +57 -0
- package/pages/auth/login/index.vue +46 -0
- package/plugins/0.runtime-config.client.ts +5 -0
- package/plugins/oidc-client.ts +1 -1
- package/sdk/client/client/client.gen.ts +1 -3
- package/sdk/client/client/types.gen.ts +7 -13
- package/sdk/client/client/utils.gen.ts +1 -2
- package/sdk/client/core/queryKeySerializer.gen.ts +1 -6
- package/sdk/client/core/types.gen.ts +5 -3
- package/sdk/client/index.ts +47 -4
- package/sdk/client/schemas.gen.ts +1787 -780
- package/sdk/client/sdk.gen.ts +231 -1
- package/sdk/client/types.gen.ts +1103 -226
- package/plugins/keycloak-client.ts +0 -41
package/sdk/client/index.ts
CHANGED
|
@@ -7,6 +7,7 @@ export {
|
|
|
7
7
|
batchDeleteDocuments,
|
|
8
8
|
chatCompletionWithAssistants,
|
|
9
9
|
createAgentInstance,
|
|
10
|
+
createDatabase,
|
|
10
11
|
createDataset,
|
|
11
12
|
createNamespace,
|
|
12
13
|
createProcessInstance,
|
|
@@ -18,7 +19,9 @@ export {
|
|
|
18
19
|
deleteAgentInstance,
|
|
19
20
|
deleteAllOrganizationMemories,
|
|
20
21
|
deleteAllUserMemories,
|
|
22
|
+
deleteDatabase,
|
|
21
23
|
deleteDocument,
|
|
24
|
+
deleteNamespace,
|
|
22
25
|
deleteOrganizationMemory,
|
|
23
26
|
deleteProcessInstance,
|
|
24
27
|
deleteRole,
|
|
@@ -41,15 +44,19 @@ export {
|
|
|
41
44
|
getDatabases,
|
|
42
45
|
getDataset,
|
|
43
46
|
getDatasets,
|
|
47
|
+
getDefaultTenantRules,
|
|
44
48
|
getDocumentById,
|
|
45
49
|
getDocumentsForNamespace,
|
|
46
50
|
getDocumentUrl,
|
|
47
51
|
getEmbeddings,
|
|
48
52
|
getFileUrl,
|
|
49
53
|
getHealth,
|
|
54
|
+
getIngestors,
|
|
50
55
|
getLitellmModel,
|
|
51
56
|
getLitellmModels,
|
|
52
57
|
getLitellmModelsByMode,
|
|
58
|
+
getLlmSpendByTenant,
|
|
59
|
+
getLlmSpendByUser,
|
|
53
60
|
getLocale,
|
|
54
61
|
getModels,
|
|
55
62
|
getModelWithAssistants,
|
|
@@ -139,7 +146,6 @@ export {
|
|
|
139
146
|
type AgentClassDtoWritable,
|
|
140
147
|
type AgentConfigDto,
|
|
141
148
|
type AgentConfigDtoWritable,
|
|
142
|
-
type AgentConfigSpecs,
|
|
143
149
|
type AgentEvent,
|
|
144
150
|
type AgentEventWritable,
|
|
145
151
|
type AgentFileUploadRequest,
|
|
@@ -252,6 +258,7 @@ export {
|
|
|
252
258
|
type ColorPickerWritable,
|
|
253
259
|
type CompletionTokensDetails,
|
|
254
260
|
type CompletionUsage,
|
|
261
|
+
type ConfigSpecs,
|
|
255
262
|
type ContextInsufficientRejectEvent,
|
|
256
263
|
type ContextInsufficientRejectEventWritable,
|
|
257
264
|
type ContextSufficientAcceptEvent,
|
|
@@ -268,6 +275,12 @@ export {
|
|
|
268
275
|
type CreateAgentInstanceRequest,
|
|
269
276
|
type CreateAgentInstanceResponse,
|
|
270
277
|
type CreateAgentInstanceResponses,
|
|
278
|
+
type CreateDatabaseData,
|
|
279
|
+
type CreateDatabaseError,
|
|
280
|
+
type CreateDatabaseErrors,
|
|
281
|
+
type CreateDatabaseRequest,
|
|
282
|
+
type CreateDatabaseResponse,
|
|
283
|
+
type CreateDatabaseResponses,
|
|
271
284
|
type CreateDatasetData,
|
|
272
285
|
type CreateDatasetError,
|
|
273
286
|
type CreateDatasetErrors,
|
|
@@ -315,10 +328,13 @@ export {
|
|
|
315
328
|
type CreateTranscriptionResponses,
|
|
316
329
|
type CronInput,
|
|
317
330
|
type CronInputWritable,
|
|
331
|
+
type CronStartEvent,
|
|
332
|
+
type CronStartEventWritable,
|
|
318
333
|
type CustomOutput,
|
|
319
334
|
type DashboardDto,
|
|
320
335
|
type DashboardItemDto,
|
|
321
336
|
type DatabaseDto,
|
|
337
|
+
type DatabaseResponse,
|
|
322
338
|
type Dataset,
|
|
323
339
|
type DatasetCreate,
|
|
324
340
|
type DatasetItem,
|
|
@@ -338,11 +354,19 @@ export {
|
|
|
338
354
|
type DeleteAllUserMemoriesData,
|
|
339
355
|
type DeleteAllUserMemoriesResponse,
|
|
340
356
|
type DeleteAllUserMemoriesResponses,
|
|
357
|
+
type DeleteDatabaseData,
|
|
358
|
+
type DeleteDatabaseError,
|
|
359
|
+
type DeleteDatabaseErrors,
|
|
360
|
+
type DeleteDatabaseResponses,
|
|
341
361
|
type DeleteDocumentData,
|
|
342
362
|
type DeleteDocumentError,
|
|
343
363
|
type DeleteDocumentErrors,
|
|
344
364
|
type DeleteDocumentResponses,
|
|
345
365
|
type DeleteMemoryResponse,
|
|
366
|
+
type DeleteNamespaceData,
|
|
367
|
+
type DeleteNamespaceError,
|
|
368
|
+
type DeleteNamespaceErrors,
|
|
369
|
+
type DeleteNamespaceResponses,
|
|
346
370
|
type DeleteOrganizationMemoryData,
|
|
347
371
|
type DeleteOrganizationMemoryError,
|
|
348
372
|
type DeleteOrganizationMemoryErrors,
|
|
@@ -485,6 +509,9 @@ export {
|
|
|
485
509
|
type GetDatasetsData,
|
|
486
510
|
type GetDatasetsResponse,
|
|
487
511
|
type GetDatasetsResponses,
|
|
512
|
+
type GetDefaultTenantRulesData,
|
|
513
|
+
type GetDefaultTenantRulesResponse,
|
|
514
|
+
type GetDefaultTenantRulesResponses,
|
|
488
515
|
type GetDocumentByIdData,
|
|
489
516
|
type GetDocumentByIdError,
|
|
490
517
|
type GetDocumentByIdErrors,
|
|
@@ -513,6 +540,9 @@ export {
|
|
|
513
540
|
type GetHealthData,
|
|
514
541
|
type GetHealthResponse,
|
|
515
542
|
type GetHealthResponses,
|
|
543
|
+
type GetIngestorsData,
|
|
544
|
+
type GetIngestorsResponse,
|
|
545
|
+
type GetIngestorsResponses,
|
|
516
546
|
type GetLitellmModelData,
|
|
517
547
|
type GetLitellmModelError,
|
|
518
548
|
type GetLitellmModelErrors,
|
|
@@ -526,6 +556,16 @@ export {
|
|
|
526
556
|
type GetLitellmModelsData,
|
|
527
557
|
type GetLitellmModelsResponse,
|
|
528
558
|
type GetLitellmModelsResponses,
|
|
559
|
+
type GetLlmSpendByTenantData,
|
|
560
|
+
type GetLlmSpendByTenantError,
|
|
561
|
+
type GetLlmSpendByTenantErrors,
|
|
562
|
+
type GetLlmSpendByTenantResponse,
|
|
563
|
+
type GetLlmSpendByTenantResponses,
|
|
564
|
+
type GetLlmSpendByUserData,
|
|
565
|
+
type GetLlmSpendByUserError,
|
|
566
|
+
type GetLlmSpendByUserErrors,
|
|
567
|
+
type GetLlmSpendByUserResponse,
|
|
568
|
+
type GetLlmSpendByUserResponses,
|
|
529
569
|
type GetLocaleData,
|
|
530
570
|
type GetLocaleResponse,
|
|
531
571
|
type GetLocaleResponses,
|
|
@@ -698,6 +738,8 @@ export {
|
|
|
698
738
|
type ImagesResponse,
|
|
699
739
|
type ImageUrl,
|
|
700
740
|
type IngestedNode,
|
|
741
|
+
type IngestorDto,
|
|
742
|
+
type IngestorDtoWritable,
|
|
701
743
|
type InitiateDocumentUploadData,
|
|
702
744
|
type InitiateDocumentUploadError,
|
|
703
745
|
type InitiateDocumentUploadErrors,
|
|
@@ -733,6 +775,7 @@ export {
|
|
|
733
775
|
type LlmCostEventWritable,
|
|
734
776
|
type LlmEvent,
|
|
735
777
|
type LlmEventWritable,
|
|
778
|
+
type LlmSpend,
|
|
736
779
|
type LlmStopEvent,
|
|
737
780
|
type LlmStopEventWritable,
|
|
738
781
|
type LocaleInput,
|
|
@@ -741,8 +784,11 @@ export {
|
|
|
741
784
|
type LocaleString,
|
|
742
785
|
type Logprob,
|
|
743
786
|
type MailAttachmentRef,
|
|
787
|
+
type MailBatchClassifiedEvent,
|
|
788
|
+
type MailBatchClassifiedEventWritable,
|
|
744
789
|
type MailBatchDraftedEvent,
|
|
745
790
|
type MailBatchDraftedEventWritable,
|
|
791
|
+
type MailClassificationRef,
|
|
746
792
|
type MailFetchedEvent,
|
|
747
793
|
type MailFetchedEventWritable,
|
|
748
794
|
type MailMessageRef,
|
|
@@ -809,7 +855,6 @@ export {
|
|
|
809
855
|
type ProcessClassDto,
|
|
810
856
|
type ProcessClassDtoWritable,
|
|
811
857
|
type ProcessConfigDto,
|
|
812
|
-
type ProcessConfigSpecs,
|
|
813
858
|
type ProcessDocumentData,
|
|
814
859
|
type ProcessDocumentError,
|
|
815
860
|
type ProcessDocumentErrors,
|
|
@@ -886,8 +931,6 @@ export {
|
|
|
886
931
|
type RouterEventWritable,
|
|
887
932
|
type RunStatistics,
|
|
888
933
|
type RunStatisticsWritable,
|
|
889
|
-
type ScheduledStartEvent,
|
|
890
|
-
type ScheduledStartEventWritable,
|
|
891
934
|
type SearchContextCostPerQueryDto,
|
|
892
935
|
type SearchOrganizationMemoriesData,
|
|
893
936
|
type SearchOrganizationMemoriesError,
|