@datatechsolutions/ui 3.13.0 → 3.14.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.
Files changed (135) hide show
  1. package/dist/astrlabe/graph-node.js +6 -6
  2. package/dist/astrlabe/graph-node.mjs +2 -2
  3. package/dist/astrlabe/index.js +114 -114
  4. package/dist/astrlabe/index.mjs +6 -6
  5. package/dist/astrlabe/workflow-canvas.js +6 -6
  6. package/dist/astrlabe/workflow-canvas.mjs +5 -5
  7. package/dist/{chunk-AMCFAGK3.js → chunk-2II2NLAZ.js} +42 -41
  8. package/dist/chunk-2II2NLAZ.js.map +1 -0
  9. package/dist/{chunk-WR55H7DH.mjs → chunk-2SBVFLPZ.mjs} +19 -2
  10. package/dist/chunk-2SBVFLPZ.mjs.map +1 -0
  11. package/dist/{chunk-UXHJS2SH.mjs → chunk-33ZWFDVG.mjs} +282 -331
  12. package/dist/chunk-33ZWFDVG.mjs.map +1 -0
  13. package/dist/{chunk-2ECLDHAT.js → chunk-4HZ55YKZ.js} +9 -9
  14. package/dist/{chunk-2ECLDHAT.js.map → chunk-4HZ55YKZ.js.map} +1 -1
  15. package/dist/{chunk-VI4IUTMX.js → chunk-4P72IJOM.js} +6 -6
  16. package/dist/{chunk-VI4IUTMX.js.map → chunk-4P72IJOM.js.map} +1 -1
  17. package/dist/{chunk-D5OTZGA2.js → chunk-5SCZB5UI.js} +382 -431
  18. package/dist/chunk-5SCZB5UI.js.map +1 -0
  19. package/dist/{chunk-4VHFGW7I.mjs → chunk-5YCH7FHT.mjs} +3 -3
  20. package/dist/{chunk-4VHFGW7I.mjs.map → chunk-5YCH7FHT.mjs.map} +1 -1
  21. package/dist/{chunk-P4RVGMZL.js → chunk-6NBQTIXX.js} +9 -37
  22. package/dist/chunk-6NBQTIXX.js.map +1 -0
  23. package/dist/{chunk-EZQ2D47U.js → chunk-6NEESZVO.js} +4 -4
  24. package/dist/{chunk-EZQ2D47U.js.map → chunk-6NEESZVO.js.map} +1 -1
  25. package/dist/{chunk-N4YT3QA5.js → chunk-72XZ7DSF.js} +13 -13
  26. package/dist/{chunk-N4YT3QA5.js.map → chunk-72XZ7DSF.js.map} +1 -1
  27. package/dist/{chunk-QGRTV35L.mjs → chunk-7NHJSD4A.mjs} +6 -6
  28. package/dist/{chunk-QGRTV35L.mjs.map → chunk-7NHJSD4A.mjs.map} +1 -1
  29. package/dist/{chunk-PPIUMCUZ.js → chunk-7SDB2VC2.js} +4 -4
  30. package/dist/{chunk-PPIUMCUZ.js.map → chunk-7SDB2VC2.js.map} +1 -1
  31. package/dist/{chunk-QGLGQXJE.js → chunk-A5OMGPMR.js} +10 -10
  32. package/dist/chunk-A5OMGPMR.js.map +1 -0
  33. package/dist/{chunk-K5567JM5.js → chunk-AUCS2KF4.js} +26 -26
  34. package/dist/{chunk-K5567JM5.js.map → chunk-AUCS2KF4.js.map} +1 -1
  35. package/dist/{chunk-MSKKNPRE.mjs → chunk-F4KHAKTP.mjs} +172 -116
  36. package/dist/chunk-F4KHAKTP.mjs.map +1 -0
  37. package/dist/{chunk-SDYKXLCU.js → chunk-FHGWXWVZ.js} +67 -67
  38. package/dist/{chunk-SDYKXLCU.js.map → chunk-FHGWXWVZ.js.map} +1 -1
  39. package/dist/{chunk-5ETT54QS.js → chunk-FZUV7GNB.js} +241 -184
  40. package/dist/chunk-FZUV7GNB.js.map +1 -0
  41. package/dist/{chunk-6KDTVSZT.mjs → chunk-HQNIETHV.mjs} +11 -10
  42. package/dist/chunk-HQNIETHV.mjs.map +1 -0
  43. package/dist/{chunk-PLTLRL2V.mjs → chunk-KDDXDQR2.mjs} +3 -3
  44. package/dist/{chunk-PLTLRL2V.mjs.map → chunk-KDDXDQR2.mjs.map} +1 -1
  45. package/dist/{chunk-6YTYD4P5.js → chunk-LJGPMMKB.js} +156 -193
  46. package/dist/chunk-LJGPMMKB.js.map +1 -0
  47. package/dist/{chunk-BHOT22QL.js → chunk-MXQ2EYG2.js} +19 -2
  48. package/dist/chunk-MXQ2EYG2.js.map +1 -0
  49. package/dist/{chunk-ANFSQJNI.mjs → chunk-N6SGVUTR.mjs} +17 -20
  50. package/dist/chunk-N6SGVUTR.mjs.map +1 -0
  51. package/dist/{chunk-IIRS5XZY.js → chunk-NIZSQJRW.js} +33 -33
  52. package/dist/{chunk-IIRS5XZY.js.map → chunk-NIZSQJRW.js.map} +1 -1
  53. package/dist/{chunk-AKWCT53S.mjs → chunk-NXWIT4YQ.mjs} +47 -50
  54. package/dist/chunk-NXWIT4YQ.mjs.map +1 -0
  55. package/dist/{chunk-OC4AOYU5.mjs → chunk-OTQXU4WG.mjs} +83 -120
  56. package/dist/chunk-OTQXU4WG.mjs.map +1 -0
  57. package/dist/{chunk-CSOMZ5UM.mjs → chunk-PO66V2PN.mjs} +9 -9
  58. package/dist/{chunk-CSOMZ5UM.mjs.map → chunk-PO66V2PN.mjs.map} +1 -1
  59. package/dist/{chunk-OY5HUZSD.js → chunk-PXGESUKI.js} +94 -97
  60. package/dist/chunk-PXGESUKI.js.map +1 -0
  61. package/dist/{chunk-7TYNV6SY.mjs → chunk-Q2FUNDCP.mjs} +14 -14
  62. package/dist/{chunk-7TYNV6SY.mjs.map → chunk-Q2FUNDCP.mjs.map} +1 -1
  63. package/dist/{chunk-KWH7JIRP.mjs → chunk-Q5TZTA6H.mjs} +9 -8
  64. package/dist/chunk-Q5TZTA6H.mjs.map +1 -0
  65. package/dist/{chunk-ZRCXDKBE.mjs → chunk-T7DROKWJ.mjs} +4 -4
  66. package/dist/{chunk-ZRCXDKBE.mjs.map → chunk-T7DROKWJ.mjs.map} +1 -1
  67. package/dist/{chunk-3VYD7QL2.mjs → chunk-TQADF23S.mjs} +9 -9
  68. package/dist/chunk-TQADF23S.mjs.map +1 -0
  69. package/dist/{chunk-VIB42VMZ.mjs → chunk-U7VMFQFN.mjs} +5 -5
  70. package/dist/{chunk-VIB42VMZ.mjs.map → chunk-U7VMFQFN.mjs.map} +1 -1
  71. package/dist/{chunk-AHNH2PMI.mjs → chunk-WE35EV7J.mjs} +3 -3
  72. package/dist/{chunk-AHNH2PMI.mjs.map → chunk-WE35EV7J.mjs.map} +1 -1
  73. package/dist/{chunk-UPYACFZJ.mjs → chunk-WTSMTLSP.mjs} +303 -347
  74. package/dist/chunk-WTSMTLSP.mjs.map +1 -0
  75. package/dist/{chunk-WOTKBKS6.js → chunk-YFMMZHL5.js} +47 -50
  76. package/dist/chunk-YFMMZHL5.js.map +1 -0
  77. package/dist/{chunk-DJ33CSGJ.mjs → chunk-ZBX7UCAP.mjs} +9 -37
  78. package/dist/chunk-ZBX7UCAP.mjs.map +1 -0
  79. package/dist/{chunk-NF5DDM5V.js → chunk-ZE6U4N4Q.js} +44 -43
  80. package/dist/chunk-ZE6U4N4Q.js.map +1 -0
  81. package/dist/{chunk-MQDCUBVW.js → chunk-ZIRD3X6G.js} +459 -503
  82. package/dist/chunk-ZIRD3X6G.js.map +1 -0
  83. package/dist/index.d.mts +77 -7
  84. package/dist/index.d.ts +77 -7
  85. package/dist/index.js +708 -704
  86. package/dist/index.mjs +3 -3
  87. package/dist/platform/admin/index.js +12 -12
  88. package/dist/platform/admin/index.mjs +6 -6
  89. package/dist/platform/agents-workspace.js +9 -9
  90. package/dist/platform/agents-workspace.mjs +8 -8
  91. package/dist/platform/app-shell.js +5 -5
  92. package/dist/platform/app-shell.mjs +4 -4
  93. package/dist/platform/auth/index.js +29 -29
  94. package/dist/platform/auth/index.mjs +6 -6
  95. package/dist/platform/billing/index.js +7 -7
  96. package/dist/platform/billing/index.mjs +5 -5
  97. package/dist/platform/impersonation/index.js +5 -5
  98. package/dist/platform/impersonation/index.mjs +4 -4
  99. package/dist/platform/index.js +99 -99
  100. package/dist/platform/index.js.map +1 -1
  101. package/dist/platform/index.mjs +30 -30
  102. package/dist/platform/index.mjs.map +1 -1
  103. package/dist/platform/pages/index.d.mts +115 -3
  104. package/dist/platform/pages/index.d.ts +115 -3
  105. package/dist/platform/pages/index.js +966 -519
  106. package/dist/platform/pages/index.js.map +1 -1
  107. package/dist/platform/pages/index.mjs +562 -121
  108. package/dist/platform/pages/index.mjs.map +1 -1
  109. package/dist/platform/settings/index.js +9 -9
  110. package/dist/platform/settings/index.mjs +8 -8
  111. package/dist/platform/workflow-canvas-shell.js +7 -7
  112. package/dist/platform/workflow-canvas-shell.mjs +6 -6
  113. package/package.json +1 -1
  114. package/dist/chunk-3VYD7QL2.mjs.map +0 -1
  115. package/dist/chunk-5ETT54QS.js.map +0 -1
  116. package/dist/chunk-6KDTVSZT.mjs.map +0 -1
  117. package/dist/chunk-6YTYD4P5.js.map +0 -1
  118. package/dist/chunk-AKWCT53S.mjs.map +0 -1
  119. package/dist/chunk-AMCFAGK3.js.map +0 -1
  120. package/dist/chunk-ANFSQJNI.mjs.map +0 -1
  121. package/dist/chunk-BHOT22QL.js.map +0 -1
  122. package/dist/chunk-D5OTZGA2.js.map +0 -1
  123. package/dist/chunk-DJ33CSGJ.mjs.map +0 -1
  124. package/dist/chunk-KWH7JIRP.mjs.map +0 -1
  125. package/dist/chunk-MQDCUBVW.js.map +0 -1
  126. package/dist/chunk-MSKKNPRE.mjs.map +0 -1
  127. package/dist/chunk-NF5DDM5V.js.map +0 -1
  128. package/dist/chunk-OC4AOYU5.mjs.map +0 -1
  129. package/dist/chunk-OY5HUZSD.js.map +0 -1
  130. package/dist/chunk-P4RVGMZL.js.map +0 -1
  131. package/dist/chunk-QGLGQXJE.js.map +0 -1
  132. package/dist/chunk-UPYACFZJ.mjs.map +0 -1
  133. package/dist/chunk-UXHJS2SH.mjs.map +0 -1
  134. package/dist/chunk-WOTKBKS6.js.map +0 -1
  135. package/dist/chunk-WR55H7DH.mjs.map +0 -1
@@ -256,8 +256,13 @@ type Props$5 = {
256
256
  onCreate: (input: RuleFormValue) => void;
257
257
  onUpdate: (ruleId: string, input: RuleFormValue) => void;
258
258
  onDelete: (rule: AgentRule) => void;
259
+ /** When provided, replaces the built-in modal trigger — caller takes
260
+ * over the "add" affordance (e.g. navigating to a dedicated route
261
+ * like `/rules/new`). The component still owns the modal state, so
262
+ * external callers must not rely on it being opened. */
263
+ onAddClick?: () => void;
259
264
  };
260
- declare function RulesPageView({ labels, rules, loading, onCreate, onUpdate, onDelete }: Props$5): react_jsx_runtime.JSX.Element;
265
+ declare function RulesPageView({ labels, rules, loading, onCreate, onUpdate, onDelete, onAddClick }: Props$5): react_jsx_runtime.JSX.Element;
261
266
 
262
267
  type Labels = Record<string, string>;
263
268
  type DatasourcesPageViewProps = {
@@ -265,8 +270,13 @@ type DatasourcesPageViewProps = {
265
270
  datasources?: DataSource[];
266
271
  useSampleData?: boolean;
267
272
  onCreate?: (data: DatasourceFormData) => void;
273
+ /** When provided, replaces the built-in modal trigger — caller takes
274
+ * over the "add" affordance (e.g. navigating to a dedicated route
275
+ * like `/datasources/new`). The component still owns the modal
276
+ * state, so external callers must not rely on it being opened. */
277
+ onAddClick?: () => void;
268
278
  };
269
- declare function DatasourcesPageView({ labels, datasources: externalDatasources, useSampleData, onCreate, }: DatasourcesPageViewProps): react_jsx_runtime.JSX.Element;
279
+ declare function DatasourcesPageView({ labels, datasources: externalDatasources, useSampleData, onCreate, onAddClick, }: DatasourcesPageViewProps): react_jsx_runtime.JSX.Element;
270
280
 
271
281
  type DashboardLabels = {
272
282
  title: string;
@@ -951,4 +961,106 @@ type RuleNewWizardPageViewProps = {
951
961
  };
952
962
  declare function RuleNewWizardPageView({ labels, initialStep, onStepChange, onSubmit, onCancel, }: RuleNewWizardPageViewProps): react_jsx_runtime.JSX.Element;
953
963
 
954
- export { type AgentConfigFormInput, type AgentNewWizardLabels, AgentNewWizardPageView, type AgentNewWizardPageViewProps, type AgentsConfigLabels, AgentsConfigPageView, type AgentsIndexLabels, AgentsIndexPageView, type AgentsModelsLabels, AgentsModelsPageView, type AgentsPromptsLabels, AgentsPromptsPageView, type AgentsToolDefinitionsLabels, AgentsToolDefinitionsPageView, type AgentsWorkspaceLabels, AgentsWorkspacePageView, type AgentsWorkspacePageViewProps, type ConnectionFormValue, type ConnectionsLabels, ConnectionsPageView, type CreateConnectionInput, type CredentialFormInput, CredentialsPageView, type CredentialsPageViewLabels, type DashboardLabels, DashboardPageView, DatasourceFormData, type DatasourceNewWizardLabels, DatasourceNewWizardPageView, type DatasourceNewWizardPageViewProps, DatasourcesPageView, type DatasourcesPageViewProps, type PromptFormInput, RolesPageView, type RolesPageViewExtraProps, RuleFormValue, type RuleNewWizardLabels, RuleNewWizardPageView, type RuleNewWizardPageViewProps, type RulesLabels, RulesPageView, type RunTimelineLabels, RunTimelinePageView, TOOL_TYPES, type ToolDefinitionFormInput, type ToolParameter, type ToolType, type UpdateConnectionInput, UsersPageView, type WorkflowRunsLabels, WorkflowRunsPageView, WorkflowsPageView, jsonSchemaToParameters, parametersToJsonSchema };
964
+ type AgentNewModalProps = {
965
+ open: boolean;
966
+ onClose: () => void;
967
+ } & AgentNewWizardPageViewProps;
968
+ declare function AgentNewModal({ open, onClose, ...wizardProps }: AgentNewModalProps): react_jsx_runtime.JSX.Element;
969
+
970
+ type DatasourceNewModalProps = {
971
+ open: boolean;
972
+ onClose: () => void;
973
+ } & DatasourceNewWizardPageViewProps;
974
+ declare function DatasourceNewModal({ open, onClose, ...wizardProps }: DatasourceNewModalProps): react_jsx_runtime.JSX.Element;
975
+
976
+ type RuleNewModalProps = {
977
+ open: boolean;
978
+ onClose: () => void;
979
+ } & RuleNewWizardPageViewProps;
980
+ declare function RuleNewModal({ open, onClose, ...wizardProps }: RuleNewModalProps): react_jsx_runtime.JSX.Element;
981
+
982
+ type ModelNewWizardLabels = {
983
+ pageTitle: string;
984
+ pageSubtitle: string;
985
+ wizardStepCounter: string;
986
+ wizardBack: string;
987
+ wizardNext: string;
988
+ wizardCancel: string;
989
+ wizardCreate: string;
990
+ wizardCancelConfirm: string;
991
+ step1Title: string;
992
+ step1Subtitle: string;
993
+ step2Title: string;
994
+ step2Subtitle: string;
995
+ step3Title: string;
996
+ step3Subtitle: string;
997
+ step4Title: string;
998
+ step4Subtitle: string;
999
+ providerLabel: string;
1000
+ nameLabel: string;
1001
+ namePlaceholder: string;
1002
+ regionLabel: string;
1003
+ regionPlaceholder: string;
1004
+ endpointLabel: string;
1005
+ endpointPlaceholder: string;
1006
+ apiKeyLabel: string;
1007
+ apiKeyPlaceholder: string;
1008
+ modelFilterLabel: string;
1009
+ modelFilterPlaceholder: string;
1010
+ testConnection: string;
1011
+ testing: string;
1012
+ connectionSuccess: string;
1013
+ connectionFailed: string;
1014
+ reviewProviderLabel: string;
1015
+ reviewNameLabel: string;
1016
+ reviewRegionLabel: string;
1017
+ reviewEndpointLabel: string;
1018
+ reviewApiKeyLabel: string;
1019
+ reviewApiKeyRedacted: string;
1020
+ reviewModelsLabel: string;
1021
+ reviewNoneValue: string;
1022
+ wizardReviewEdit: string;
1023
+ };
1024
+ type ProviderPreset = {
1025
+ value: string;
1026
+ label: string;
1027
+ category: 'cloud' | 'managed' | 'hosted' | 'local' | 'custom';
1028
+ needsRegion?: boolean;
1029
+ needsEndpoint?: boolean;
1030
+ defaultRegion?: string;
1031
+ /** Optional region whitelist for FormSelect — when omitted, the user gets a free-text input. */
1032
+ regions?: ReadonlyArray<{
1033
+ value: string;
1034
+ label: string;
1035
+ }>;
1036
+ };
1037
+ declare const MODEL_PROVIDERS: readonly ProviderPreset[];
1038
+ type ModelNewFormInput = {
1039
+ providerSlug: string;
1040
+ name: string;
1041
+ region?: string;
1042
+ endpoint?: string;
1043
+ apiKey?: string;
1044
+ modelFilters?: string[];
1045
+ };
1046
+ type ModelNewWizardPageViewProps = {
1047
+ labels: ModelNewWizardLabels;
1048
+ /** Reads `?step=N` so refresh restores the active step; defaults to 1. */
1049
+ initialStep?: number;
1050
+ /** Fires when the user navigates between steps so the host can update the URL. */
1051
+ onStepChange?: (step: number) => void;
1052
+ onSubmit: (input: ModelNewFormInput) => Promise<void>;
1053
+ onCancel: () => void;
1054
+ /** Optional async hook — when wired, lets the user verify credentials. */
1055
+ onTestConnection?: (input: ModelNewFormInput) => Promise<boolean>;
1056
+ /** Existing connections so step 2 can offer "reuse the credentials of …". */
1057
+ existingConnectionNames?: ReadonlyArray<string>;
1058
+ };
1059
+ declare function ModelNewWizardPageView({ labels, initialStep, onStepChange, onSubmit, onCancel, onTestConnection, }: ModelNewWizardPageViewProps): react_jsx_runtime.JSX.Element;
1060
+ type ModelNewModalProps = {
1061
+ open: boolean;
1062
+ onClose: () => void;
1063
+ } & ModelNewWizardPageViewProps;
1064
+ declare function ModelNewModal({ open, onClose, ...wizardProps }: ModelNewModalProps): react_jsx_runtime.JSX.Element;
1065
+
1066
+ export { type AgentConfigFormInput, AgentNewModal, type AgentNewModalProps, type AgentNewWizardLabels, AgentNewWizardPageView, type AgentNewWizardPageViewProps, type AgentsConfigLabels, AgentsConfigPageView, type AgentsIndexLabels, AgentsIndexPageView, type AgentsModelsLabels, AgentsModelsPageView, type AgentsPromptsLabels, AgentsPromptsPageView, type AgentsToolDefinitionsLabels, AgentsToolDefinitionsPageView, type AgentsWorkspaceLabels, AgentsWorkspacePageView, type AgentsWorkspacePageViewProps, type ConnectionFormValue, type ConnectionsLabels, ConnectionsPageView, type CreateConnectionInput, type CredentialFormInput, CredentialsPageView, type CredentialsPageViewLabels, type DashboardLabels, DashboardPageView, DatasourceFormData, DatasourceNewModal, type DatasourceNewModalProps, type DatasourceNewWizardLabels, DatasourceNewWizardPageView, type DatasourceNewWizardPageViewProps, DatasourcesPageView, type DatasourcesPageViewProps, MODEL_PROVIDERS, type ModelNewFormInput, ModelNewModal, type ModelNewModalProps, type ModelNewWizardLabels, ModelNewWizardPageView, type ModelNewWizardPageViewProps, type PromptFormInput, type ProviderPreset, RolesPageView, type RolesPageViewExtraProps, RuleFormValue, RuleNewModal, type RuleNewModalProps, type RuleNewWizardLabels, RuleNewWizardPageView, type RuleNewWizardPageViewProps, type RulesLabels, RulesPageView, type RunTimelineLabels, RunTimelinePageView, TOOL_TYPES, type ToolDefinitionFormInput, type ToolParameter, type ToolType, type UpdateConnectionInput, UsersPageView, type WorkflowRunsLabels, WorkflowRunsPageView, WorkflowsPageView, jsonSchemaToParameters, parametersToJsonSchema };
@@ -256,8 +256,13 @@ type Props$5 = {
256
256
  onCreate: (input: RuleFormValue) => void;
257
257
  onUpdate: (ruleId: string, input: RuleFormValue) => void;
258
258
  onDelete: (rule: AgentRule) => void;
259
+ /** When provided, replaces the built-in modal trigger — caller takes
260
+ * over the "add" affordance (e.g. navigating to a dedicated route
261
+ * like `/rules/new`). The component still owns the modal state, so
262
+ * external callers must not rely on it being opened. */
263
+ onAddClick?: () => void;
259
264
  };
260
- declare function RulesPageView({ labels, rules, loading, onCreate, onUpdate, onDelete }: Props$5): react_jsx_runtime.JSX.Element;
265
+ declare function RulesPageView({ labels, rules, loading, onCreate, onUpdate, onDelete, onAddClick }: Props$5): react_jsx_runtime.JSX.Element;
261
266
 
262
267
  type Labels = Record<string, string>;
263
268
  type DatasourcesPageViewProps = {
@@ -265,8 +270,13 @@ type DatasourcesPageViewProps = {
265
270
  datasources?: DataSource[];
266
271
  useSampleData?: boolean;
267
272
  onCreate?: (data: DatasourceFormData) => void;
273
+ /** When provided, replaces the built-in modal trigger — caller takes
274
+ * over the "add" affordance (e.g. navigating to a dedicated route
275
+ * like `/datasources/new`). The component still owns the modal
276
+ * state, so external callers must not rely on it being opened. */
277
+ onAddClick?: () => void;
268
278
  };
269
- declare function DatasourcesPageView({ labels, datasources: externalDatasources, useSampleData, onCreate, }: DatasourcesPageViewProps): react_jsx_runtime.JSX.Element;
279
+ declare function DatasourcesPageView({ labels, datasources: externalDatasources, useSampleData, onCreate, onAddClick, }: DatasourcesPageViewProps): react_jsx_runtime.JSX.Element;
270
280
 
271
281
  type DashboardLabels = {
272
282
  title: string;
@@ -951,4 +961,106 @@ type RuleNewWizardPageViewProps = {
951
961
  };
952
962
  declare function RuleNewWizardPageView({ labels, initialStep, onStepChange, onSubmit, onCancel, }: RuleNewWizardPageViewProps): react_jsx_runtime.JSX.Element;
953
963
 
954
- export { type AgentConfigFormInput, type AgentNewWizardLabels, AgentNewWizardPageView, type AgentNewWizardPageViewProps, type AgentsConfigLabels, AgentsConfigPageView, type AgentsIndexLabels, AgentsIndexPageView, type AgentsModelsLabels, AgentsModelsPageView, type AgentsPromptsLabels, AgentsPromptsPageView, type AgentsToolDefinitionsLabels, AgentsToolDefinitionsPageView, type AgentsWorkspaceLabels, AgentsWorkspacePageView, type AgentsWorkspacePageViewProps, type ConnectionFormValue, type ConnectionsLabels, ConnectionsPageView, type CreateConnectionInput, type CredentialFormInput, CredentialsPageView, type CredentialsPageViewLabels, type DashboardLabels, DashboardPageView, DatasourceFormData, type DatasourceNewWizardLabels, DatasourceNewWizardPageView, type DatasourceNewWizardPageViewProps, DatasourcesPageView, type DatasourcesPageViewProps, type PromptFormInput, RolesPageView, type RolesPageViewExtraProps, RuleFormValue, type RuleNewWizardLabels, RuleNewWizardPageView, type RuleNewWizardPageViewProps, type RulesLabels, RulesPageView, type RunTimelineLabels, RunTimelinePageView, TOOL_TYPES, type ToolDefinitionFormInput, type ToolParameter, type ToolType, type UpdateConnectionInput, UsersPageView, type WorkflowRunsLabels, WorkflowRunsPageView, WorkflowsPageView, jsonSchemaToParameters, parametersToJsonSchema };
964
+ type AgentNewModalProps = {
965
+ open: boolean;
966
+ onClose: () => void;
967
+ } & AgentNewWizardPageViewProps;
968
+ declare function AgentNewModal({ open, onClose, ...wizardProps }: AgentNewModalProps): react_jsx_runtime.JSX.Element;
969
+
970
+ type DatasourceNewModalProps = {
971
+ open: boolean;
972
+ onClose: () => void;
973
+ } & DatasourceNewWizardPageViewProps;
974
+ declare function DatasourceNewModal({ open, onClose, ...wizardProps }: DatasourceNewModalProps): react_jsx_runtime.JSX.Element;
975
+
976
+ type RuleNewModalProps = {
977
+ open: boolean;
978
+ onClose: () => void;
979
+ } & RuleNewWizardPageViewProps;
980
+ declare function RuleNewModal({ open, onClose, ...wizardProps }: RuleNewModalProps): react_jsx_runtime.JSX.Element;
981
+
982
+ type ModelNewWizardLabels = {
983
+ pageTitle: string;
984
+ pageSubtitle: string;
985
+ wizardStepCounter: string;
986
+ wizardBack: string;
987
+ wizardNext: string;
988
+ wizardCancel: string;
989
+ wizardCreate: string;
990
+ wizardCancelConfirm: string;
991
+ step1Title: string;
992
+ step1Subtitle: string;
993
+ step2Title: string;
994
+ step2Subtitle: string;
995
+ step3Title: string;
996
+ step3Subtitle: string;
997
+ step4Title: string;
998
+ step4Subtitle: string;
999
+ providerLabel: string;
1000
+ nameLabel: string;
1001
+ namePlaceholder: string;
1002
+ regionLabel: string;
1003
+ regionPlaceholder: string;
1004
+ endpointLabel: string;
1005
+ endpointPlaceholder: string;
1006
+ apiKeyLabel: string;
1007
+ apiKeyPlaceholder: string;
1008
+ modelFilterLabel: string;
1009
+ modelFilterPlaceholder: string;
1010
+ testConnection: string;
1011
+ testing: string;
1012
+ connectionSuccess: string;
1013
+ connectionFailed: string;
1014
+ reviewProviderLabel: string;
1015
+ reviewNameLabel: string;
1016
+ reviewRegionLabel: string;
1017
+ reviewEndpointLabel: string;
1018
+ reviewApiKeyLabel: string;
1019
+ reviewApiKeyRedacted: string;
1020
+ reviewModelsLabel: string;
1021
+ reviewNoneValue: string;
1022
+ wizardReviewEdit: string;
1023
+ };
1024
+ type ProviderPreset = {
1025
+ value: string;
1026
+ label: string;
1027
+ category: 'cloud' | 'managed' | 'hosted' | 'local' | 'custom';
1028
+ needsRegion?: boolean;
1029
+ needsEndpoint?: boolean;
1030
+ defaultRegion?: string;
1031
+ /** Optional region whitelist for FormSelect — when omitted, the user gets a free-text input. */
1032
+ regions?: ReadonlyArray<{
1033
+ value: string;
1034
+ label: string;
1035
+ }>;
1036
+ };
1037
+ declare const MODEL_PROVIDERS: readonly ProviderPreset[];
1038
+ type ModelNewFormInput = {
1039
+ providerSlug: string;
1040
+ name: string;
1041
+ region?: string;
1042
+ endpoint?: string;
1043
+ apiKey?: string;
1044
+ modelFilters?: string[];
1045
+ };
1046
+ type ModelNewWizardPageViewProps = {
1047
+ labels: ModelNewWizardLabels;
1048
+ /** Reads `?step=N` so refresh restores the active step; defaults to 1. */
1049
+ initialStep?: number;
1050
+ /** Fires when the user navigates between steps so the host can update the URL. */
1051
+ onStepChange?: (step: number) => void;
1052
+ onSubmit: (input: ModelNewFormInput) => Promise<void>;
1053
+ onCancel: () => void;
1054
+ /** Optional async hook — when wired, lets the user verify credentials. */
1055
+ onTestConnection?: (input: ModelNewFormInput) => Promise<boolean>;
1056
+ /** Existing connections so step 2 can offer "reuse the credentials of …". */
1057
+ existingConnectionNames?: ReadonlyArray<string>;
1058
+ };
1059
+ declare function ModelNewWizardPageView({ labels, initialStep, onStepChange, onSubmit, onCancel, onTestConnection, }: ModelNewWizardPageViewProps): react_jsx_runtime.JSX.Element;
1060
+ type ModelNewModalProps = {
1061
+ open: boolean;
1062
+ onClose: () => void;
1063
+ } & ModelNewWizardPageViewProps;
1064
+ declare function ModelNewModal({ open, onClose, ...wizardProps }: ModelNewModalProps): react_jsx_runtime.JSX.Element;
1065
+
1066
+ export { type AgentConfigFormInput, AgentNewModal, type AgentNewModalProps, type AgentNewWizardLabels, AgentNewWizardPageView, type AgentNewWizardPageViewProps, type AgentsConfigLabels, AgentsConfigPageView, type AgentsIndexLabels, AgentsIndexPageView, type AgentsModelsLabels, AgentsModelsPageView, type AgentsPromptsLabels, AgentsPromptsPageView, type AgentsToolDefinitionsLabels, AgentsToolDefinitionsPageView, type AgentsWorkspaceLabels, AgentsWorkspacePageView, type AgentsWorkspacePageViewProps, type ConnectionFormValue, type ConnectionsLabels, ConnectionsPageView, type CreateConnectionInput, type CredentialFormInput, CredentialsPageView, type CredentialsPageViewLabels, type DashboardLabels, DashboardPageView, DatasourceFormData, DatasourceNewModal, type DatasourceNewModalProps, type DatasourceNewWizardLabels, DatasourceNewWizardPageView, type DatasourceNewWizardPageViewProps, DatasourcesPageView, type DatasourcesPageViewProps, MODEL_PROVIDERS, type ModelNewFormInput, ModelNewModal, type ModelNewModalProps, type ModelNewWizardLabels, ModelNewWizardPageView, type ModelNewWizardPageViewProps, type PromptFormInput, type ProviderPreset, RolesPageView, type RolesPageViewExtraProps, RuleFormValue, RuleNewModal, type RuleNewModalProps, type RuleNewWizardLabels, RuleNewWizardPageView, type RuleNewWizardPageViewProps, type RulesLabels, RulesPageView, type RunTimelineLabels, RunTimelinePageView, TOOL_TYPES, type ToolDefinitionFormInput, type ToolParameter, type ToolType, type UpdateConnectionInput, UsersPageView, type WorkflowRunsLabels, WorkflowRunsPageView, WorkflowsPageView, jsonSchemaToParameters, parametersToJsonSchema };