@datatechsolutions/ui 3.11.1 → 3.12.1
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/astrlabe/index.js +109 -109
- package/dist/astrlabe/index.mjs +5 -5
- package/dist/astrlabe/workflow-canvas.js +5 -5
- package/dist/astrlabe/workflow-canvas.mjs +4 -4
- package/dist/{chunk-ZUU7G3PC.js → chunk-22XPYFHJ.js} +2 -2
- package/dist/chunk-22XPYFHJ.js.map +1 -0
- package/dist/{chunk-7DZ2C5IN.mjs → chunk-4D23CQZM.mjs} +80 -16
- package/dist/chunk-4D23CQZM.mjs.map +1 -0
- package/dist/{chunk-QASAHGLE.js → chunk-5OZTI7TR.js} +4 -4
- package/dist/{chunk-QASAHGLE.js.map → chunk-5OZTI7TR.js.map} +1 -1
- package/dist/{chunk-E3NMVWRL.mjs → chunk-5TLKFOEL.mjs} +85 -73
- package/dist/chunk-5TLKFOEL.mjs.map +1 -0
- package/dist/{chunk-K3LIDGMA.mjs → chunk-BPMYNE7S.mjs} +3 -3
- package/dist/{chunk-K3LIDGMA.mjs.map → chunk-BPMYNE7S.mjs.map} +1 -1
- package/dist/{chunk-IHOCYBHM.mjs → chunk-EDI46QA7.mjs} +3 -3
- package/dist/{chunk-IHOCYBHM.mjs.map → chunk-EDI46QA7.mjs.map} +1 -1
- package/dist/{chunk-OSXBMLZP.js → chunk-FKRIQYRG.js} +68 -68
- package/dist/{chunk-OSXBMLZP.js.map → chunk-FKRIQYRG.js.map} +1 -1
- package/dist/{chunk-DPXCJVJT.js → chunk-HTODLUKG.js} +9 -9
- package/dist/{chunk-DPXCJVJT.js.map → chunk-HTODLUKG.js.map} +1 -1
- package/dist/{chunk-SSKKTSMA.js → chunk-ID55ABBB.js} +35 -35
- package/dist/{chunk-SSKKTSMA.js.map → chunk-ID55ABBB.js.map} +1 -1
- package/dist/{chunk-OO4YMN4P.js → chunk-LRNVB7MO.js} +4 -4
- package/dist/{chunk-OO4YMN4P.js.map → chunk-LRNVB7MO.js.map} +1 -1
- package/dist/{chunk-APONR6ZM.js → chunk-MFF37C24.js} +213 -201
- package/dist/chunk-MFF37C24.js.map +1 -0
- package/dist/{chunk-NW32BM3F.js → chunk-MYHBXIO2.js} +34 -34
- package/dist/{chunk-NW32BM3F.js.map → chunk-MYHBXIO2.js.map} +1 -1
- package/dist/{chunk-S46LUR7O.mjs → chunk-N5GQIT7A.mjs} +10 -8
- package/dist/chunk-N5GQIT7A.mjs.map +1 -0
- package/dist/{chunk-IGOMJHC6.mjs → chunk-NBW6WJQT.mjs} +2 -2
- package/dist/chunk-NBW6WJQT.mjs.map +1 -0
- package/dist/{chunk-Q6MMJYEG.mjs → chunk-NK4H3JWN.mjs} +3 -3
- package/dist/{chunk-Q6MMJYEG.mjs.map → chunk-NK4H3JWN.mjs.map} +1 -1
- package/dist/{chunk-O4DIKNNH.mjs → chunk-NQGLSM46.mjs} +3 -3
- package/dist/{chunk-O4DIKNNH.mjs.map → chunk-NQGLSM46.mjs.map} +1 -1
- package/dist/{chunk-S4LHC5SF.mjs → chunk-OM5NNUD2.mjs} +3 -3
- package/dist/{chunk-S4LHC5SF.mjs.map → chunk-OM5NNUD2.mjs.map} +1 -1
- package/dist/{chunk-OKCEK7GH.mjs → chunk-OW5LSEHU.mjs} +86 -43
- package/dist/chunk-OW5LSEHU.mjs.map +1 -0
- package/dist/{chunk-LHAOIPYP.mjs → chunk-PIIY2Z2O.mjs} +3 -3
- package/dist/{chunk-LHAOIPYP.mjs.map → chunk-PIIY2Z2O.mjs.map} +1 -1
- package/dist/{chunk-CLXEVSGB.js → chunk-PLEWG2L7.js} +13 -13
- package/dist/{chunk-CLXEVSGB.js.map → chunk-PLEWG2L7.js.map} +1 -1
- package/dist/{chunk-OD2AZBEX.js → chunk-QSCWV47U.js} +25 -25
- package/dist/{chunk-OD2AZBEX.js.map → chunk-QSCWV47U.js.map} +1 -1
- package/dist/{chunk-QKWNQOJB.mjs → chunk-RBH723MG.mjs} +3 -3
- package/dist/{chunk-QKWNQOJB.mjs.map → chunk-RBH723MG.mjs.map} +1 -1
- package/dist/{chunk-QDW3IJIL.mjs → chunk-RT264BD4.mjs} +3 -3
- package/dist/{chunk-QDW3IJIL.mjs.map → chunk-RT264BD4.mjs.map} +1 -1
- package/dist/{chunk-MN777KLN.js → chunk-TDNBO3V7.js} +45 -45
- package/dist/{chunk-MN777KLN.js.map → chunk-TDNBO3V7.js.map} +1 -1
- package/dist/{chunk-TIJXCRM4.js → chunk-ULKZGM2T.js} +88 -45
- package/dist/chunk-ULKZGM2T.js.map +1 -0
- package/dist/{chunk-3U3CIARA.mjs → chunk-UVFWKDRO.mjs} +3 -3
- package/dist/{chunk-3U3CIARA.mjs.map → chunk-UVFWKDRO.mjs.map} +1 -1
- package/dist/{chunk-KDVZIDVF.js → chunk-V3UZCOZI.js} +102 -38
- package/dist/chunk-V3UZCOZI.js.map +1 -0
- package/dist/{chunk-LM6BJOKX.js → chunk-VYU2FYDE.js} +55 -55
- package/dist/{chunk-LM6BJOKX.js.map → chunk-VYU2FYDE.js.map} +1 -1
- package/dist/{chunk-I77TTBYO.mjs → chunk-WLNY3GVM.mjs} +6 -6
- package/dist/{chunk-I77TTBYO.mjs.map → chunk-WLNY3GVM.mjs.map} +1 -1
- package/dist/{chunk-BTMHQCDB.js → chunk-XGAPZT4J.js} +66 -64
- package/dist/chunk-XGAPZT4J.js.map +1 -0
- package/dist/{chunk-VHU5FWFB.mjs → chunk-YYNGXKUE.mjs} +3 -3
- package/dist/{chunk-VHU5FWFB.mjs.map → chunk-YYNGXKUE.mjs.map} +1 -1
- package/dist/{chunk-CVCMJJ56.js → chunk-Z75CEP4V.js} +10 -10
- package/dist/{chunk-CVCMJJ56.js.map → chunk-Z75CEP4V.js.map} +1 -1
- package/dist/index.d.mts +13 -4
- package/dist/index.d.ts +13 -4
- package/dist/index.js +664 -664
- package/dist/index.mjs +3 -3
- package/dist/platform/admin/index.js +11 -11
- package/dist/platform/admin/index.mjs +5 -5
- package/dist/platform/agents-workspace.js +8 -8
- package/dist/platform/agents-workspace.mjs +7 -7
- package/dist/platform/app-shell.js +5 -5
- package/dist/platform/app-shell.mjs +4 -4
- package/dist/platform/auth/index.js +23 -23
- package/dist/platform/auth/index.mjs +5 -5
- package/dist/platform/billing/index.js +5 -5
- package/dist/platform/billing/index.mjs +4 -4
- package/dist/platform/impersonation/index.js +5 -5
- package/dist/platform/impersonation/index.mjs +4 -4
- package/dist/platform/index.js +94 -94
- package/dist/platform/index.mjs +19 -19
- package/dist/platform/pages/index.d.mts +77 -18
- package/dist/platform/pages/index.d.ts +77 -18
- package/dist/platform/pages/index.js +1090 -506
- package/dist/platform/pages/index.js.map +1 -1
- package/dist/platform/pages/index.mjs +790 -206
- package/dist/platform/pages/index.mjs.map +1 -1
- package/dist/platform/settings/index.js +8 -8
- package/dist/platform/settings/index.mjs +7 -7
- package/dist/platform/workflow-api-client.d.mts +1 -1
- package/dist/platform/workflow-api-client.d.ts +1 -1
- package/dist/platform/workflow-api-client.js +62 -62
- package/dist/platform/workflow-api-client.mjs +1 -1
- package/dist/platform/workflow-canvas-shell.js +6 -6
- package/dist/platform/workflow-canvas-shell.mjs +5 -5
- package/dist/{workflow-api-client-E1QFRgeP.d.ts → workflow-api-client-CThkBj5j.d.ts} +4 -0
- package/dist/{workflow-api-client-D9_0Spdz.d.mts → workflow-api-client-crR8L7fy.d.mts} +4 -0
- package/package.json +1 -1
- package/dist/chunk-7DZ2C5IN.mjs.map +0 -1
- package/dist/chunk-APONR6ZM.js.map +0 -1
- package/dist/chunk-BTMHQCDB.js.map +0 -1
- package/dist/chunk-E3NMVWRL.mjs.map +0 -1
- package/dist/chunk-IGOMJHC6.mjs.map +0 -1
- package/dist/chunk-KDVZIDVF.js.map +0 -1
- package/dist/chunk-OKCEK7GH.mjs.map +0 -1
- package/dist/chunk-S46LUR7O.mjs.map +0 -1
- package/dist/chunk-TIJXCRM4.js.map +0 -1
- package/dist/chunk-ZUU7G3PC.js.map +0 -1
|
@@ -4,8 +4,8 @@ import { AgentModel, AgentTool, AgentRule, WorkflowRun, ModelProviderType } from
|
|
|
4
4
|
import { A as AgentWithPrompts } from '../../index-BNRGVAS5.mjs';
|
|
5
5
|
import { AgentPrompt } from '@datatechsolutions/shared-domain/ports/workflow';
|
|
6
6
|
import { R as RuleFormValue, E as ExecutionTimelineLabels } from '../../rule-form-BkKCY8Tc.mjs';
|
|
7
|
-
import { D as DatasourceFormData, A as AnalyticsSummary, R as RunTimelineEntry, M as ModelProviderConnection } from '../../workflow-api-client-
|
|
8
|
-
export { a as DIALECT_CATEGORIES, b as DatasourceFormModal, c as DatasourceFormModalProps, d as DatasourceModal, e as DatasourceModalProps, f as findCategory, g as findDialect } from '../../workflow-api-client-
|
|
7
|
+
import { D as DatasourceFormData, A as AnalyticsSummary, R as RunTimelineEntry, M as ModelProviderConnection } from '../../workflow-api-client-crR8L7fy.mjs';
|
|
8
|
+
export { a as DIALECT_CATEGORIES, b as DatasourceFormModal, c as DatasourceFormModalProps, d as DatasourceModal, e as DatasourceModalProps, f as findCategory, g as findDialect } from '../../workflow-api-client-crR8L7fy.mjs';
|
|
9
9
|
import { ReactNode } from 'react';
|
|
10
10
|
import { PlatformRoleDefinition } from '../rbac.mjs';
|
|
11
11
|
import { SecretSummary } from '../windsock-admin-client.mjs';
|
|
@@ -22,6 +22,15 @@ type AgentsModelsLabels = {
|
|
|
22
22
|
disabled: string;
|
|
23
23
|
empty: string;
|
|
24
24
|
searchPlaceholder?: string;
|
|
25
|
+
filtersTitle?: string;
|
|
26
|
+
filterByProvider?: string;
|
|
27
|
+
filterByStatus?: string;
|
|
28
|
+
statusAll?: string;
|
|
29
|
+
statusEnabled?: string;
|
|
30
|
+
statusDisabled?: string;
|
|
31
|
+
selected?: string;
|
|
32
|
+
selectAll?: string;
|
|
33
|
+
clear?: string;
|
|
25
34
|
};
|
|
26
35
|
type Props$9 = {
|
|
27
36
|
labels: AgentsModelsLabels;
|
|
@@ -33,21 +42,23 @@ declare function AgentsModelsPageView({ labels, models, loading }: Props$9): rea
|
|
|
33
42
|
type AgentConfigFormInput = {
|
|
34
43
|
agentId?: string;
|
|
35
44
|
name: string;
|
|
45
|
+
modelId: string;
|
|
46
|
+
systemPrompt: string;
|
|
47
|
+
maxTokens: number;
|
|
48
|
+
temperature: number;
|
|
49
|
+
outputSchema?: string;
|
|
50
|
+
/** Optional fields consumed by `agent-new-wizard-page-view` so the
|
|
51
|
+
* wizard can submit the same payload as the inline modal. */
|
|
36
52
|
role?: string;
|
|
37
53
|
description?: string;
|
|
38
54
|
avatar?: string;
|
|
39
|
-
modelId: string;
|
|
40
55
|
connectionId?: string;
|
|
41
56
|
framework?: string;
|
|
42
|
-
systemPrompt: string;
|
|
43
57
|
userPrompt?: string;
|
|
44
|
-
maxTokens: number;
|
|
45
|
-
temperature: number;
|
|
46
58
|
topP?: number;
|
|
47
59
|
topK?: number;
|
|
48
60
|
difficulty?: string;
|
|
49
61
|
tags?: string[];
|
|
50
|
-
outputSchema?: string;
|
|
51
62
|
};
|
|
52
63
|
type AgentsConfigLabels = {
|
|
53
64
|
title: string;
|
|
@@ -69,6 +80,15 @@ type AgentsConfigLabels = {
|
|
|
69
80
|
activeVersion: string;
|
|
70
81
|
empty: string;
|
|
71
82
|
searchPlaceholder?: string;
|
|
83
|
+
filtersTitle?: string;
|
|
84
|
+
filterByModel?: string;
|
|
85
|
+
filterByActiveVersion?: string;
|
|
86
|
+
versionAll?: string;
|
|
87
|
+
versionWith?: string;
|
|
88
|
+
versionWithout?: string;
|
|
89
|
+
selected?: string;
|
|
90
|
+
selectAll?: string;
|
|
91
|
+
clear?: string;
|
|
72
92
|
};
|
|
73
93
|
type Props$8 = {
|
|
74
94
|
labels: AgentsConfigLabels;
|
|
@@ -110,6 +130,16 @@ type AgentsPromptsLabels = {
|
|
|
110
130
|
deleteConfirm: string;
|
|
111
131
|
empty: string;
|
|
112
132
|
searchPlaceholder?: string;
|
|
133
|
+
filtersTitle?: string;
|
|
134
|
+
filterByAgent?: string;
|
|
135
|
+
filterByLocale?: string;
|
|
136
|
+
filterByActive?: string;
|
|
137
|
+
activeAll?: string;
|
|
138
|
+
activeYes?: string;
|
|
139
|
+
activeNo?: string;
|
|
140
|
+
selected?: string;
|
|
141
|
+
selectAll?: string;
|
|
142
|
+
clear?: string;
|
|
113
143
|
};
|
|
114
144
|
type Props$7 = {
|
|
115
145
|
labels: AgentsPromptsLabels;
|
|
@@ -164,6 +194,11 @@ type AgentsToolDefinitionsLabels = {
|
|
|
164
194
|
deleteConfirm: string;
|
|
165
195
|
empty: string;
|
|
166
196
|
searchPlaceholder?: string;
|
|
197
|
+
filtersTitle?: string;
|
|
198
|
+
filterByToolType?: string;
|
|
199
|
+
selected?: string;
|
|
200
|
+
selectAll?: string;
|
|
201
|
+
clear?: string;
|
|
167
202
|
};
|
|
168
203
|
type Props$6 = {
|
|
169
204
|
labels: AgentsToolDefinitionsLabels;
|
|
@@ -201,6 +236,18 @@ type RulesLabels = {
|
|
|
201
236
|
disabled: string;
|
|
202
237
|
order: string;
|
|
203
238
|
searchPlaceholder?: string;
|
|
239
|
+
filtersTitle?: string;
|
|
240
|
+
filterByStatus?: string;
|
|
241
|
+
filterByExpiry?: string;
|
|
242
|
+
statusAll?: string;
|
|
243
|
+
statusEnabled?: string;
|
|
244
|
+
statusDisabled?: string;
|
|
245
|
+
expiryAll?: string;
|
|
246
|
+
expiryExpiring?: string;
|
|
247
|
+
expiryNoExpiry?: string;
|
|
248
|
+
selected?: string;
|
|
249
|
+
selectAll?: string;
|
|
250
|
+
clear?: string;
|
|
204
251
|
};
|
|
205
252
|
type Props$5 = {
|
|
206
253
|
labels: RulesLabels;
|
|
@@ -209,12 +256,8 @@ type Props$5 = {
|
|
|
209
256
|
onCreate: (input: RuleFormValue) => void;
|
|
210
257
|
onUpdate: (ruleId: string, input: RuleFormValue) => void;
|
|
211
258
|
onDelete: (rule: AgentRule) => void;
|
|
212
|
-
/** When provided, the "Add Rule" CTA fires this callback instead of
|
|
213
|
-
* opening the in-page modal. Used by the SPA to navigate to the
|
|
214
|
-
* dedicated `/rules/new` wizard. */
|
|
215
|
-
onAddClick?: () => void;
|
|
216
259
|
};
|
|
217
|
-
declare function RulesPageView({ labels, rules, loading, onCreate, onUpdate, onDelete
|
|
260
|
+
declare function RulesPageView({ labels, rules, loading, onCreate, onUpdate, onDelete }: Props$5): react_jsx_runtime.JSX.Element;
|
|
218
261
|
|
|
219
262
|
type Labels = Record<string, string>;
|
|
220
263
|
type DatasourcesPageViewProps = {
|
|
@@ -222,12 +265,8 @@ type DatasourcesPageViewProps = {
|
|
|
222
265
|
datasources?: DataSource[];
|
|
223
266
|
useSampleData?: boolean;
|
|
224
267
|
onCreate?: (data: DatasourceFormData) => void;
|
|
225
|
-
/** When provided, the "Add Data Source" CTA fires this callback
|
|
226
|
-
* instead of opening the in-page modal. Used by the SPA to navigate
|
|
227
|
-
* to the dedicated `/datasources/new` wizard. */
|
|
228
|
-
onAddClick?: () => void;
|
|
229
268
|
};
|
|
230
|
-
declare function DatasourcesPageView({ labels, datasources: externalDatasources, useSampleData, onCreate,
|
|
269
|
+
declare function DatasourcesPageView({ labels, datasources: externalDatasources, useSampleData, onCreate, }: DatasourcesPageViewProps): react_jsx_runtime.JSX.Element;
|
|
231
270
|
|
|
232
271
|
type DashboardLabels = {
|
|
233
272
|
title: string;
|
|
@@ -390,6 +429,12 @@ type ConnectionsLabels = {
|
|
|
390
429
|
deleteConfirm: string;
|
|
391
430
|
empty: string;
|
|
392
431
|
searchPlaceholder?: string;
|
|
432
|
+
filtersTitle?: string;
|
|
433
|
+
filterByProvider?: string;
|
|
434
|
+
filterByRegion?: string;
|
|
435
|
+
selected?: string;
|
|
436
|
+
selectAll?: string;
|
|
437
|
+
clear?: string;
|
|
393
438
|
};
|
|
394
439
|
type CreateSecret = (name: string, value: string) => Promise<{
|
|
395
440
|
id: string;
|
|
@@ -411,8 +456,13 @@ type Props$1 = {
|
|
|
411
456
|
* sensible namespace.
|
|
412
457
|
*/
|
|
413
458
|
secretNamePrefix?: string;
|
|
459
|
+
/** When provided, the "Add Connection" CTA fires this callback
|
|
460
|
+
* instead of opening the in-page modal. Used by the SPA to navigate
|
|
461
|
+
* to a dedicated `/models/new` wizard page — same UX pattern as
|
|
462
|
+
* `/agents/new`, `/datasources/new`, `/rules/new`. */
|
|
463
|
+
onAddClick?: () => void;
|
|
414
464
|
};
|
|
415
|
-
declare function ConnectionsPageView({ labels, connections, loading, onCreate, onUpdate, onDelete, onCreateSecret, secretNamePrefix, }: Props$1): react_jsx_runtime.JSX.Element;
|
|
465
|
+
declare function ConnectionsPageView({ labels, connections, loading, onCreate, onUpdate, onDelete, onCreateSecret, secretNamePrefix, onAddClick, }: Props$1): react_jsx_runtime.JSX.Element;
|
|
416
466
|
|
|
417
467
|
type CredentialFormInput = {
|
|
418
468
|
name: string;
|
|
@@ -445,6 +495,15 @@ type CredentialsPageViewLabels = {
|
|
|
445
495
|
neverExpires: string;
|
|
446
496
|
empty: string;
|
|
447
497
|
searchPlaceholder?: string;
|
|
498
|
+
filtersTitle?: string;
|
|
499
|
+
filterByType?: string;
|
|
500
|
+
filterByStatus?: string;
|
|
501
|
+
statusAll?: string;
|
|
502
|
+
statusActive?: string;
|
|
503
|
+
statusDisabled?: string;
|
|
504
|
+
selected?: string;
|
|
505
|
+
selectAll?: string;
|
|
506
|
+
clear?: string;
|
|
448
507
|
};
|
|
449
508
|
type Props = {
|
|
450
509
|
labels: CredentialsPageViewLabels;
|
|
@@ -4,8 +4,8 @@ import { AgentModel, AgentTool, AgentRule, WorkflowRun, ModelProviderType } from
|
|
|
4
4
|
import { A as AgentWithPrompts } from '../../index-CnCY-b5V.js';
|
|
5
5
|
import { AgentPrompt } from '@datatechsolutions/shared-domain/ports/workflow';
|
|
6
6
|
import { R as RuleFormValue, E as ExecutionTimelineLabels } from '../../rule-form-CBD8wlrw.js';
|
|
7
|
-
import { D as DatasourceFormData, A as AnalyticsSummary, R as RunTimelineEntry, M as ModelProviderConnection } from '../../workflow-api-client-
|
|
8
|
-
export { a as DIALECT_CATEGORIES, b as DatasourceFormModal, c as DatasourceFormModalProps, d as DatasourceModal, e as DatasourceModalProps, f as findCategory, g as findDialect } from '../../workflow-api-client-
|
|
7
|
+
import { D as DatasourceFormData, A as AnalyticsSummary, R as RunTimelineEntry, M as ModelProviderConnection } from '../../workflow-api-client-CThkBj5j.js';
|
|
8
|
+
export { a as DIALECT_CATEGORIES, b as DatasourceFormModal, c as DatasourceFormModalProps, d as DatasourceModal, e as DatasourceModalProps, f as findCategory, g as findDialect } from '../../workflow-api-client-CThkBj5j.js';
|
|
9
9
|
import { ReactNode } from 'react';
|
|
10
10
|
import { PlatformRoleDefinition } from '../rbac.js';
|
|
11
11
|
import { SecretSummary } from '../windsock-admin-client.js';
|
|
@@ -22,6 +22,15 @@ type AgentsModelsLabels = {
|
|
|
22
22
|
disabled: string;
|
|
23
23
|
empty: string;
|
|
24
24
|
searchPlaceholder?: string;
|
|
25
|
+
filtersTitle?: string;
|
|
26
|
+
filterByProvider?: string;
|
|
27
|
+
filterByStatus?: string;
|
|
28
|
+
statusAll?: string;
|
|
29
|
+
statusEnabled?: string;
|
|
30
|
+
statusDisabled?: string;
|
|
31
|
+
selected?: string;
|
|
32
|
+
selectAll?: string;
|
|
33
|
+
clear?: string;
|
|
25
34
|
};
|
|
26
35
|
type Props$9 = {
|
|
27
36
|
labels: AgentsModelsLabels;
|
|
@@ -33,21 +42,23 @@ declare function AgentsModelsPageView({ labels, models, loading }: Props$9): rea
|
|
|
33
42
|
type AgentConfigFormInput = {
|
|
34
43
|
agentId?: string;
|
|
35
44
|
name: string;
|
|
45
|
+
modelId: string;
|
|
46
|
+
systemPrompt: string;
|
|
47
|
+
maxTokens: number;
|
|
48
|
+
temperature: number;
|
|
49
|
+
outputSchema?: string;
|
|
50
|
+
/** Optional fields consumed by `agent-new-wizard-page-view` so the
|
|
51
|
+
* wizard can submit the same payload as the inline modal. */
|
|
36
52
|
role?: string;
|
|
37
53
|
description?: string;
|
|
38
54
|
avatar?: string;
|
|
39
|
-
modelId: string;
|
|
40
55
|
connectionId?: string;
|
|
41
56
|
framework?: string;
|
|
42
|
-
systemPrompt: string;
|
|
43
57
|
userPrompt?: string;
|
|
44
|
-
maxTokens: number;
|
|
45
|
-
temperature: number;
|
|
46
58
|
topP?: number;
|
|
47
59
|
topK?: number;
|
|
48
60
|
difficulty?: string;
|
|
49
61
|
tags?: string[];
|
|
50
|
-
outputSchema?: string;
|
|
51
62
|
};
|
|
52
63
|
type AgentsConfigLabels = {
|
|
53
64
|
title: string;
|
|
@@ -69,6 +80,15 @@ type AgentsConfigLabels = {
|
|
|
69
80
|
activeVersion: string;
|
|
70
81
|
empty: string;
|
|
71
82
|
searchPlaceholder?: string;
|
|
83
|
+
filtersTitle?: string;
|
|
84
|
+
filterByModel?: string;
|
|
85
|
+
filterByActiveVersion?: string;
|
|
86
|
+
versionAll?: string;
|
|
87
|
+
versionWith?: string;
|
|
88
|
+
versionWithout?: string;
|
|
89
|
+
selected?: string;
|
|
90
|
+
selectAll?: string;
|
|
91
|
+
clear?: string;
|
|
72
92
|
};
|
|
73
93
|
type Props$8 = {
|
|
74
94
|
labels: AgentsConfigLabels;
|
|
@@ -110,6 +130,16 @@ type AgentsPromptsLabels = {
|
|
|
110
130
|
deleteConfirm: string;
|
|
111
131
|
empty: string;
|
|
112
132
|
searchPlaceholder?: string;
|
|
133
|
+
filtersTitle?: string;
|
|
134
|
+
filterByAgent?: string;
|
|
135
|
+
filterByLocale?: string;
|
|
136
|
+
filterByActive?: string;
|
|
137
|
+
activeAll?: string;
|
|
138
|
+
activeYes?: string;
|
|
139
|
+
activeNo?: string;
|
|
140
|
+
selected?: string;
|
|
141
|
+
selectAll?: string;
|
|
142
|
+
clear?: string;
|
|
113
143
|
};
|
|
114
144
|
type Props$7 = {
|
|
115
145
|
labels: AgentsPromptsLabels;
|
|
@@ -164,6 +194,11 @@ type AgentsToolDefinitionsLabels = {
|
|
|
164
194
|
deleteConfirm: string;
|
|
165
195
|
empty: string;
|
|
166
196
|
searchPlaceholder?: string;
|
|
197
|
+
filtersTitle?: string;
|
|
198
|
+
filterByToolType?: string;
|
|
199
|
+
selected?: string;
|
|
200
|
+
selectAll?: string;
|
|
201
|
+
clear?: string;
|
|
167
202
|
};
|
|
168
203
|
type Props$6 = {
|
|
169
204
|
labels: AgentsToolDefinitionsLabels;
|
|
@@ -201,6 +236,18 @@ type RulesLabels = {
|
|
|
201
236
|
disabled: string;
|
|
202
237
|
order: string;
|
|
203
238
|
searchPlaceholder?: string;
|
|
239
|
+
filtersTitle?: string;
|
|
240
|
+
filterByStatus?: string;
|
|
241
|
+
filterByExpiry?: string;
|
|
242
|
+
statusAll?: string;
|
|
243
|
+
statusEnabled?: string;
|
|
244
|
+
statusDisabled?: string;
|
|
245
|
+
expiryAll?: string;
|
|
246
|
+
expiryExpiring?: string;
|
|
247
|
+
expiryNoExpiry?: string;
|
|
248
|
+
selected?: string;
|
|
249
|
+
selectAll?: string;
|
|
250
|
+
clear?: string;
|
|
204
251
|
};
|
|
205
252
|
type Props$5 = {
|
|
206
253
|
labels: RulesLabels;
|
|
@@ -209,12 +256,8 @@ type Props$5 = {
|
|
|
209
256
|
onCreate: (input: RuleFormValue) => void;
|
|
210
257
|
onUpdate: (ruleId: string, input: RuleFormValue) => void;
|
|
211
258
|
onDelete: (rule: AgentRule) => void;
|
|
212
|
-
/** When provided, the "Add Rule" CTA fires this callback instead of
|
|
213
|
-
* opening the in-page modal. Used by the SPA to navigate to the
|
|
214
|
-
* dedicated `/rules/new` wizard. */
|
|
215
|
-
onAddClick?: () => void;
|
|
216
259
|
};
|
|
217
|
-
declare function RulesPageView({ labels, rules, loading, onCreate, onUpdate, onDelete
|
|
260
|
+
declare function RulesPageView({ labels, rules, loading, onCreate, onUpdate, onDelete }: Props$5): react_jsx_runtime.JSX.Element;
|
|
218
261
|
|
|
219
262
|
type Labels = Record<string, string>;
|
|
220
263
|
type DatasourcesPageViewProps = {
|
|
@@ -222,12 +265,8 @@ type DatasourcesPageViewProps = {
|
|
|
222
265
|
datasources?: DataSource[];
|
|
223
266
|
useSampleData?: boolean;
|
|
224
267
|
onCreate?: (data: DatasourceFormData) => void;
|
|
225
|
-
/** When provided, the "Add Data Source" CTA fires this callback
|
|
226
|
-
* instead of opening the in-page modal. Used by the SPA to navigate
|
|
227
|
-
* to the dedicated `/datasources/new` wizard. */
|
|
228
|
-
onAddClick?: () => void;
|
|
229
268
|
};
|
|
230
|
-
declare function DatasourcesPageView({ labels, datasources: externalDatasources, useSampleData, onCreate,
|
|
269
|
+
declare function DatasourcesPageView({ labels, datasources: externalDatasources, useSampleData, onCreate, }: DatasourcesPageViewProps): react_jsx_runtime.JSX.Element;
|
|
231
270
|
|
|
232
271
|
type DashboardLabels = {
|
|
233
272
|
title: string;
|
|
@@ -390,6 +429,12 @@ type ConnectionsLabels = {
|
|
|
390
429
|
deleteConfirm: string;
|
|
391
430
|
empty: string;
|
|
392
431
|
searchPlaceholder?: string;
|
|
432
|
+
filtersTitle?: string;
|
|
433
|
+
filterByProvider?: string;
|
|
434
|
+
filterByRegion?: string;
|
|
435
|
+
selected?: string;
|
|
436
|
+
selectAll?: string;
|
|
437
|
+
clear?: string;
|
|
393
438
|
};
|
|
394
439
|
type CreateSecret = (name: string, value: string) => Promise<{
|
|
395
440
|
id: string;
|
|
@@ -411,8 +456,13 @@ type Props$1 = {
|
|
|
411
456
|
* sensible namespace.
|
|
412
457
|
*/
|
|
413
458
|
secretNamePrefix?: string;
|
|
459
|
+
/** When provided, the "Add Connection" CTA fires this callback
|
|
460
|
+
* instead of opening the in-page modal. Used by the SPA to navigate
|
|
461
|
+
* to a dedicated `/models/new` wizard page — same UX pattern as
|
|
462
|
+
* `/agents/new`, `/datasources/new`, `/rules/new`. */
|
|
463
|
+
onAddClick?: () => void;
|
|
414
464
|
};
|
|
415
|
-
declare function ConnectionsPageView({ labels, connections, loading, onCreate, onUpdate, onDelete, onCreateSecret, secretNamePrefix, }: Props$1): react_jsx_runtime.JSX.Element;
|
|
465
|
+
declare function ConnectionsPageView({ labels, connections, loading, onCreate, onUpdate, onDelete, onCreateSecret, secretNamePrefix, onAddClick, }: Props$1): react_jsx_runtime.JSX.Element;
|
|
416
466
|
|
|
417
467
|
type CredentialFormInput = {
|
|
418
468
|
name: string;
|
|
@@ -445,6 +495,15 @@ type CredentialsPageViewLabels = {
|
|
|
445
495
|
neverExpires: string;
|
|
446
496
|
empty: string;
|
|
447
497
|
searchPlaceholder?: string;
|
|
498
|
+
filtersTitle?: string;
|
|
499
|
+
filterByType?: string;
|
|
500
|
+
filterByStatus?: string;
|
|
501
|
+
statusAll?: string;
|
|
502
|
+
statusActive?: string;
|
|
503
|
+
statusDisabled?: string;
|
|
504
|
+
selected?: string;
|
|
505
|
+
selectAll?: string;
|
|
506
|
+
clear?: string;
|
|
448
507
|
};
|
|
449
508
|
type Props = {
|
|
450
509
|
labels: CredentialsPageViewLabels;
|