@datatechsolutions/ui 3.8.0 → 3.9.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 (97) hide show
  1. package/dist/astrlabe/index.js +107 -107
  2. package/dist/astrlabe/index.mjs +3 -3
  3. package/dist/astrlabe/workflow-canvas.js +3 -3
  4. package/dist/astrlabe/workflow-canvas.mjs +2 -2
  5. package/dist/{chunk-KKXI7CPF.mjs → chunk-2E7HYTS7.mjs} +3 -3
  6. package/dist/{chunk-KKXI7CPF.mjs.map → chunk-2E7HYTS7.mjs.map} +1 -1
  7. package/dist/{chunk-EWYAM4WJ.mjs → chunk-2ZY3IQ2I.mjs} +3 -3
  8. package/dist/{chunk-EWYAM4WJ.mjs.map → chunk-2ZY3IQ2I.mjs.map} +1 -1
  9. package/dist/{chunk-VPFVW7ZF.js → chunk-6E2YH67A.js} +35 -35
  10. package/dist/{chunk-VPFVW7ZF.js.map → chunk-6E2YH67A.js.map} +1 -1
  11. package/dist/{chunk-A4A3SQTV.mjs → chunk-6QJI5YOJ.mjs} +3 -3
  12. package/dist/{chunk-A4A3SQTV.mjs.map → chunk-6QJI5YOJ.mjs.map} +1 -1
  13. package/dist/{chunk-3X3IYDG6.js → chunk-7AM2SXEF.js} +68 -68
  14. package/dist/{chunk-3X3IYDG6.js.map → chunk-7AM2SXEF.js.map} +1 -1
  15. package/dist/{chunk-H37VDL7Y.js → chunk-A2RIX2RK.js} +4 -4
  16. package/dist/{chunk-H37VDL7Y.js.map → chunk-A2RIX2RK.js.map} +1 -1
  17. package/dist/{chunk-32DHEVOH.mjs → chunk-ARLYOLSO.mjs} +3 -3
  18. package/dist/{chunk-32DHEVOH.mjs.map → chunk-ARLYOLSO.mjs.map} +1 -1
  19. package/dist/{chunk-5YVOLHSW.mjs → chunk-AXBD6OAF.mjs} +4 -4
  20. package/dist/{chunk-5YVOLHSW.mjs.map → chunk-AXBD6OAF.mjs.map} +1 -1
  21. package/dist/{chunk-ZP37M2QK.mjs → chunk-BWUFLW5W.mjs} +6 -6
  22. package/dist/{chunk-ZP37M2QK.mjs.map → chunk-BWUFLW5W.mjs.map} +1 -1
  23. package/dist/{chunk-HBOORO52.js → chunk-CLTNCBSP.js} +4 -4
  24. package/dist/{chunk-HBOORO52.js.map → chunk-CLTNCBSP.js.map} +1 -1
  25. package/dist/{chunk-F35GFICG.js → chunk-CRBGZA6Y.js} +13 -13
  26. package/dist/{chunk-F35GFICG.js.map → chunk-CRBGZA6Y.js.map} +1 -1
  27. package/dist/{chunk-7JZFNKJD.js → chunk-DQIEVLA3.js} +35 -35
  28. package/dist/{chunk-7JZFNKJD.js.map → chunk-DQIEVLA3.js.map} +1 -1
  29. package/dist/{chunk-57E4TCB2.mjs → chunk-EAIE4QGD.mjs} +3 -3
  30. package/dist/{chunk-57E4TCB2.mjs.map → chunk-EAIE4QGD.mjs.map} +1 -1
  31. package/dist/{chunk-5W6LMDXV.mjs → chunk-GQWC4EKE.mjs} +4 -4
  32. package/dist/{chunk-5W6LMDXV.mjs.map → chunk-GQWC4EKE.mjs.map} +1 -1
  33. package/dist/{chunk-FKUIVS6I.js → chunk-IVKFXPLO.js} +28 -28
  34. package/dist/{chunk-FKUIVS6I.js.map → chunk-IVKFXPLO.js.map} +1 -1
  35. package/dist/{chunk-FNA66TT4.js → chunk-MT66VKLS.js} +163 -219
  36. package/dist/chunk-MT66VKLS.js.map +1 -0
  37. package/dist/{chunk-74BU2EBZ.mjs → chunk-OEZ7GAJY.mjs} +6 -6
  38. package/dist/{chunk-74BU2EBZ.mjs.map → chunk-OEZ7GAJY.mjs.map} +1 -1
  39. package/dist/{chunk-CZZOCKEA.mjs → chunk-OVQ4MKCV.mjs} +3 -3
  40. package/dist/{chunk-CZZOCKEA.mjs.map → chunk-OVQ4MKCV.mjs.map} +1 -1
  41. package/dist/{chunk-WDBVIU7W.mjs → chunk-PD3JLDA5.mjs} +3 -3
  42. package/dist/{chunk-WDBVIU7W.mjs.map → chunk-PD3JLDA5.mjs.map} +1 -1
  43. package/dist/{chunk-TJPPZU77.js → chunk-R6GEJBFC.js} +34 -34
  44. package/dist/{chunk-TJPPZU77.js.map → chunk-R6GEJBFC.js.map} +1 -1
  45. package/dist/{chunk-Q4QORAMH.js → chunk-RFUSH7WD.js} +10 -10
  46. package/dist/{chunk-Q4QORAMH.js.map → chunk-RFUSH7WD.js.map} +1 -1
  47. package/dist/{chunk-VS6PTRQ7.mjs → chunk-SJ6SUS7H.mjs} +3 -3
  48. package/dist/{chunk-VS6PTRQ7.mjs.map → chunk-SJ6SUS7H.mjs.map} +1 -1
  49. package/dist/{chunk-E57RZXOR.js → chunk-T4IYOKHR.js} +25 -25
  50. package/dist/{chunk-E57RZXOR.js.map → chunk-T4IYOKHR.js.map} +1 -1
  51. package/dist/{chunk-3H5CFLVK.js → chunk-U6VFS3RD.js} +135 -135
  52. package/dist/{chunk-3H5CFLVK.js.map → chunk-U6VFS3RD.js.map} +1 -1
  53. package/dist/{chunk-RCHTRG7R.js → chunk-UZIICTIY.js} +55 -55
  54. package/dist/{chunk-RCHTRG7R.js.map → chunk-UZIICTIY.js.map} +1 -1
  55. package/dist/{chunk-TCP45Q4B.js → chunk-WJENX6KB.js} +9 -9
  56. package/dist/{chunk-TCP45Q4B.js.map → chunk-WJENX6KB.js.map} +1 -1
  57. package/dist/{chunk-PYNXIDG3.mjs → chunk-WS3IJFPW.mjs} +3 -3
  58. package/dist/{chunk-PYNXIDG3.mjs.map → chunk-WS3IJFPW.mjs.map} +1 -1
  59. package/dist/{chunk-Q7HRCCFT.js → chunk-ZDXEGSCF.js} +45 -45
  60. package/dist/{chunk-Q7HRCCFT.js.map → chunk-ZDXEGSCF.js.map} +1 -1
  61. package/dist/{chunk-PCUINUIC.mjs → chunk-ZQEMKEEH.mjs} +3 -3
  62. package/dist/{chunk-PCUINUIC.mjs.map → chunk-ZQEMKEEH.mjs.map} +1 -1
  63. package/dist/{chunk-E6C7MFHJ.mjs → chunk-ZQRUAXGP.mjs} +164 -218
  64. package/dist/chunk-ZQRUAXGP.mjs.map +1 -0
  65. package/dist/index.d.mts +43 -42
  66. package/dist/index.d.ts +43 -42
  67. package/dist/index.js +662 -670
  68. package/dist/index.mjs +1 -1
  69. package/dist/platform/admin/index.js +9 -9
  70. package/dist/platform/admin/index.mjs +3 -3
  71. package/dist/platform/agents-workspace.js +6 -6
  72. package/dist/platform/agents-workspace.mjs +5 -5
  73. package/dist/platform/app-shell.js +3 -3
  74. package/dist/platform/app-shell.mjs +2 -2
  75. package/dist/platform/auth/index.js +21 -21
  76. package/dist/platform/auth/index.mjs +3 -3
  77. package/dist/platform/billing/index.js +3 -3
  78. package/dist/platform/billing/index.mjs +2 -2
  79. package/dist/platform/impersonation/index.js +3 -3
  80. package/dist/platform/impersonation/index.mjs +2 -2
  81. package/dist/platform/index.d.mts +1 -1
  82. package/dist/platform/index.d.ts +1 -1
  83. package/dist/platform/index.js +74 -74
  84. package/dist/platform/index.mjs +17 -17
  85. package/dist/platform/pages/index.d.mts +93 -4
  86. package/dist/platform/pages/index.d.ts +93 -4
  87. package/dist/platform/pages/index.js +1009 -575
  88. package/dist/platform/pages/index.js.map +1 -1
  89. package/dist/platform/pages/index.mjs +805 -372
  90. package/dist/platform/pages/index.mjs.map +1 -1
  91. package/dist/platform/settings/index.js +6 -6
  92. package/dist/platform/settings/index.mjs +5 -5
  93. package/dist/platform/workflow-canvas-shell.js +4 -4
  94. package/dist/platform/workflow-canvas-shell.mjs +3 -3
  95. package/package.json +1 -1
  96. package/dist/chunk-E6C7MFHJ.mjs.map +0 -1
  97. package/dist/chunk-FNA66TT4.js.map +0 -1
@@ -334,7 +334,7 @@ type Props$2 = {
334
334
  };
335
335
  /**
336
336
  * Astrlabe-shaped wrapper around the shared `ExecutionTimelinePanel`
337
- * (#68). Adds the page chrome (HeroSection + ManagementPageLayout) so
337
+ * (#68). Adds the page chrome (HeroSection + management page wrapper) so
338
338
  * the runs page renders consistently with the rest of the platform.
339
339
  * Other apps (kori-erp) can drop `ExecutionTimelinePanel` directly
340
340
  * inside their own card layouts without taking on this page wrapper.
@@ -560,7 +560,12 @@ type AgentsWorkspacePageViewProps = {
560
560
  */
561
561
  promptsByAgent?: Record<string, AgentPrompt[]>;
562
562
  onSelectAgent?: (agentId: string | null) => void;
563
- onCreateAgent: (input: AgentConfigFormInput) => Promise<void>;
563
+ /**
564
+ * Fires when the user clicks "New agent". The host page navigates to
565
+ * the standalone `/agents/new` wizard — the workspace itself no
566
+ * longer owns the create flow.
567
+ */
568
+ onNewAgent: () => void;
564
569
  onUpdateAgent: (id: string, input: AgentConfigFormInput) => Promise<void>;
565
570
  onDeleteAgent: (id: string) => Promise<void>;
566
571
  onCreatePrompt: (agentId: string, input: PromptFormInput) => Promise<void>;
@@ -569,6 +574,90 @@ type AgentsWorkspacePageViewProps = {
569
574
  onDetachTool: (agentId: string, toolId: string) => Promise<void>;
570
575
  onUpdateModel: (agentId: string, modelId: string, connectionId: string) => Promise<void>;
571
576
  };
572
- declare function AgentsWorkspacePageView({ labels, agents, models, tools, connections, loading, promptsByAgent, onSelectAgent, onCreateAgent, onUpdateAgent, onDeleteAgent, onCreatePrompt, onActivatePrompt, onAttachTool, onDetachTool, onUpdateModel, }: AgentsWorkspacePageViewProps): react_jsx_runtime.JSX.Element;
577
+ declare function AgentsWorkspacePageView({ labels, agents, models, tools, connections, loading, promptsByAgent, onSelectAgent, onNewAgent, onUpdateAgent, onDeleteAgent, onCreatePrompt, onActivatePrompt, onAttachTool, onDetachTool, onUpdateModel, }: AgentsWorkspacePageViewProps): react_jsx_runtime.JSX.Element;
578
+
579
+ type AgentNewWizardLabels = {
580
+ pageTitle: string;
581
+ wizardStepCounter: string;
582
+ wizardBack: string;
583
+ wizardNext: string;
584
+ wizardCancel: string;
585
+ wizardCreate: string;
586
+ wizardCancelConfirm: string;
587
+ wizardStep1Title: string;
588
+ wizardStep1Subtitle: string;
589
+ wizardStep2Title: string;
590
+ wizardStep2Subtitle: string;
591
+ wizardStep3Title: string;
592
+ wizardStep3Subtitle: string;
593
+ wizardStep4Title: string;
594
+ wizardStep4Subtitle: string;
595
+ wizardStep5Title: string;
596
+ wizardStep5Subtitle: string;
597
+ wizardReviewTitle: string;
598
+ wizardReviewEdit: string;
599
+ presetTitle: string;
600
+ presetSubtitle: string;
601
+ presetCustom: string;
602
+ presetCustomHint: string;
603
+ identitySection: string;
604
+ identitySubtitle: string;
605
+ avatarLabel: string;
606
+ namePlaceholder: string;
607
+ behaviorSection: string;
608
+ behaviorSubtitle: string;
609
+ promptPlaceholder: string;
610
+ connectionLabel: string;
611
+ connectionPickPrompt: string;
612
+ connectionInline: string;
613
+ frameworkLabel: string;
614
+ frameworkAnthropic: string;
615
+ frameworkLangChain: string;
616
+ frameworkCrewAI: string;
617
+ frameworkGoogleADK: string;
618
+ frameworkOpenAI: string;
619
+ userPromptLabel: string;
620
+ userPromptPlaceholder: string;
621
+ topPLabel: string;
622
+ topKLabel: string;
623
+ metadataSection: string;
624
+ metadataSubtitle: string;
625
+ difficultyLabel: string;
626
+ difficultyBeginner: string;
627
+ difficultyIntermediate: string;
628
+ difficultyAdvanced: string;
629
+ difficultyExpert: string;
630
+ tagsLabel: string;
631
+ tagsPlaceholder: string;
632
+ outputSchemaLabel: string;
633
+ outputSchemaPlaceholder: string;
634
+ descriptionLabel: string;
635
+ descriptionPlaceholder: string;
636
+ name: string;
637
+ role: string;
638
+ rolePlaceholder: string;
639
+ modelSection: string;
640
+ model: string;
641
+ modelEmpty: string;
642
+ temperature: string;
643
+ maxTokens: string;
644
+ promptSystemPrompt: string;
645
+ };
646
+ type AgentNewWizardPageViewProps = {
647
+ labels: AgentNewWizardLabels;
648
+ models: AgentModel[];
649
+ connections: ModelProviderConnection[];
650
+ /** Available tools — not edited here but accepted so callers can stay consistent. */
651
+ tools?: AgentTool[];
652
+ /** Reads `?step=N` so refresh restores the active step; defaults to 1. */
653
+ initialStep?: number;
654
+ /** Fires when the user navigates between steps so the host can update the URL. */
655
+ onStepChange?: (step: number) => void;
656
+ /** Called when the user submits the final form. */
657
+ onSubmit: (input: AgentConfigFormInput) => Promise<void>;
658
+ /** Called when the user clicks Cancel (after the host's confirm dialog runs). */
659
+ onCancel: () => void;
660
+ };
661
+ declare function AgentNewWizardPageView({ labels, models, connections, initialStep, onStepChange, onSubmit, onCancel, }: AgentNewWizardPageViewProps): react_jsx_runtime.JSX.Element;
573
662
 
574
- export { type AgentConfigFormInput, 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, DatasourcesPageView, type DatasourcesPageViewProps, type PromptFormInput, RolesPageView, type RolesPageViewExtraProps, RuleFormValue, type RulesLabels, RulesPageView, type RunTimelineLabels, RunTimelinePageView, TOOL_TYPES, type ToolDefinitionFormInput, type ToolParameter, type ToolType, type UpdateConnectionInput, UsersPageView, type WorkflowRunsLabels, WorkflowRunsPageView, WorkflowsPageView, jsonSchemaToParameters, parametersToJsonSchema };
663
+ 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, DatasourcesPageView, type DatasourcesPageViewProps, type PromptFormInput, RolesPageView, type RolesPageViewExtraProps, RuleFormValue, type RulesLabels, RulesPageView, type RunTimelineLabels, RunTimelinePageView, TOOL_TYPES, type ToolDefinitionFormInput, type ToolParameter, type ToolType, type UpdateConnectionInput, UsersPageView, type WorkflowRunsLabels, WorkflowRunsPageView, WorkflowsPageView, jsonSchemaToParameters, parametersToJsonSchema };