@fluxo-dev/shell 25.3.2 → 25.3.4

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/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "@fluxo-dev/shell",
3
- "version": "25.3.2",
3
+ "version": "25.3.4",
4
4
  "peerDependencies": {
5
5
  "react": "^18.3.1",
6
6
  "@mantine/core": "^7.12.2",
7
7
  "react-router-dom": "^6.11.2",
8
8
  "react-redux": "^8.0.5",
9
9
  "@reduxjs/toolkit": "^1.9.1",
10
- "@fluxo-dev/api-client-base": "^25.3.2",
11
- "@fluxo-dev/shell-bi": "^25.3.2",
12
- "@fluxo-dev/shell-hub": "^25.3.2",
13
- "@fluxo-dev/shell-korebi": "^25.3.2",
14
- "@fluxo-dev/shell-mfe": "^25.3.2",
15
- "@fluxo-dev/shell-printing": "^25.3.2",
16
- "@fluxo-dev/shell-reporting": "^25.3.2",
17
- "@fluxo-dev/shell-workflow": "^25.3.2",
18
- "@fluxo-dev/shell-ravify": "^25.3.2",
19
- "@fluxo-dev/state": "^25.3.2",
20
- "@fluxo-dev/ui-components": "^25.3.2",
10
+ "@fluxo-dev/api-client-base": "^25.3.4",
11
+ "@fluxo-dev/shell-bi": "^25.3.4",
12
+ "@fluxo-dev/shell-hub": "^25.3.4",
13
+ "@fluxo-dev/shell-korebi": "^25.3.4",
14
+ "@fluxo-dev/shell-mfe": "^25.3.4",
15
+ "@fluxo-dev/shell-printing": "^25.3.4",
16
+ "@fluxo-dev/shell-reporting": "^25.3.4",
17
+ "@fluxo-dev/shell-workflow": "^25.3.4",
18
+ "@fluxo-dev/shell-ravify": "^25.3.4",
19
+ "@fluxo-dev/state": "^25.3.4",
20
+ "@fluxo-dev/ui-components": "^25.3.4",
21
21
  "@scalar/api-reference-react": "^0.3.142",
22
22
  "@devexpress/analytics-core": "23.1.3",
23
23
  "devexpress-dashboard": "23.1.3",
package/src/index.d.ts CHANGED
@@ -4,3 +4,4 @@ export { ScreenSharingProvider, useScreenSharingContext } from './lib/contexts/s
4
4
  export { ScreenSharingWidget, type ScreenSharingWidgetProps } from './lib/components/screen-sharing-widget';
5
5
  export { useSessionHub } from './lib/hooks/use-session-hub';
6
6
  export { LockedResource, type LockedResourceProps } from './lib/locked-resource';
7
+ export { ShellSessionContext } from './lib/layouts/main/shell-session-provider';
package/src/lib/app.d.ts CHANGED
@@ -33,7 +33,7 @@ export declare enum ShellUINavigation {
33
33
  export interface ShellUI {
34
34
  navigation: ShellUINavigation;
35
35
  security: {
36
- showChangePassword: boolean;
36
+ showMyProfile: boolean;
37
37
  };
38
38
  withMultipleSessions?: boolean;
39
39
  frontendSwitcher?: FrontendSwitcherUiProps;
@@ -47,12 +47,31 @@ export interface ShellSlots {
47
47
  user: FluxoUserProfile;
48
48
  }) => JSX.Element;
49
49
  }
50
+ export interface ShellLoginConfig {
51
+ labels?: {
52
+ loginToYourAccountLabel?: string;
53
+ loginUsernamePlaceholder?: string;
54
+ loginPasswordPlaceholder?: string;
55
+ loginSubmitButton?: string;
56
+ forgotPasswordButton?: string;
57
+ haveYouForgottenYourPasswordLabel?: string;
58
+ forgotPasswordEmailPlaceholder?: string;
59
+ forgotPasswordSubmitButton?: string;
60
+ };
61
+ features?: {
62
+ showForgotPassword?: boolean;
63
+ };
64
+ navigation?: {
65
+ navigateAfterLogin?: string;
66
+ };
67
+ }
50
68
  export interface FluxoShellProps {
51
69
  pluginEndpoint: string;
52
70
  appVersion: string;
53
71
  frontends: ShellFrontend[];
54
72
  clientInitialization: () => Promise<void>;
55
73
  brandName?: string;
74
+ loginConfig?: ShellLoginConfig;
56
75
  ui: ShellUI;
57
76
  slots?: ShellSlots;
58
77
  routing?: {
@@ -8,6 +8,8 @@ export declare const useSessionHub: (shouldConnect?: boolean) => {
8
8
  invoke: <T = any>(methodName: string, ...args: any[]) => Promise<T>;
9
9
  send: (methodName: string, ...args: any[]) => Promise<void>;
10
10
  getState: () => import("@microsoft/signalr").HubConnectionState;
11
+ getConnectionId: () => string | null;
12
+ connectionId: string | null;
11
13
  isConnected: () => boolean;
12
14
  connected: boolean;
13
15
  reconnect: () => Promise<void>;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  export interface FrontendSwitcherUiProps {
3
3
  title?: string;
4
4
  }
@@ -1,2 +1,5 @@
1
- export declare function ForgotPassword(): import("react/jsx-runtime").JSX.Element;
1
+ import { ShellLoginConfig } from '../../app';
2
+ export declare function ForgotPassword(props: {
3
+ loginConfig?: ShellLoginConfig;
4
+ }): import("react/jsx-runtime").JSX.Element;
2
5
  export default ForgotPassword;
@@ -1,5 +1,7 @@
1
+ import { ShellLoginConfig } from '../../app';
1
2
  export interface LoginPageProps {
2
3
  brandName: string;
4
+ loginConfig?: ShellLoginConfig;
3
5
  }
4
6
  declare function LoginPage(props: LoginPageProps): import("react/jsx-runtime").JSX.Element;
5
7
  export default LoginPage;
@@ -0,0 +1,8 @@
1
+ import type { AgentDto } from '@fluxo-dev/api-client-base';
2
+ interface AgentFormProps {
3
+ agent?: AgentDto;
4
+ onSuccess: () => void;
5
+ onCancel: () => void;
6
+ }
7
+ export declare function AgentForm({ agent, onSuccess, onCancel }: AgentFormProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1 @@
1
+ export declare function AgentManagement(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ export interface SystemPromptTemplate {
2
+ id: string;
3
+ name: string;
4
+ description: string;
5
+ prompt: string;
6
+ }
7
+ export declare const systemPromptTemplates: SystemPromptTemplate[];
8
+ export declare const getTemplateById: (id: string) => SystemPromptTemplate | undefined;
9
+ export declare const getTemplateNames: () => Array<{
10
+ value: string;
11
+ label: string;
12
+ }>;
@@ -0,0 +1,10 @@
1
+ export * from './llm-configurations';
2
+ export * from './llm-configuration-form';
3
+ export * from './llm-utils';
4
+ export * from './agent-management';
5
+ export * from './agent-form';
6
+ export * from './agent-templates';
7
+ export * from './orchestration-management';
8
+ export * from './orchestration-form';
9
+ export * from './mcp-server-management';
10
+ export * from './mcp-server-form';
@@ -0,0 +1,8 @@
1
+ import { LLMSettingsDto } from '@fluxo-dev/api-client-base';
2
+ interface LLMConfigurationFormProps {
3
+ config?: LLMSettingsDto;
4
+ onSuccess: () => void;
5
+ onCancel: () => void;
6
+ }
7
+ export declare function LLMConfigurationForm({ config, onSuccess, onCancel }: LLMConfigurationFormProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1 @@
1
+ export declare function LLMConfigurations(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { LLMProviderType } from '@fluxo-dev/api-client-base';
2
+ export declare const getProviderIcon: (provider: LLMProviderType, size?: number) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const getProviderLabel: (provider: LLMProviderType) => string;
4
+ export declare const getProviderColor: (provider: LLMProviderType) => string;
5
+ export declare const getModelSuggestions: (provider: LLMProviderType) => string[];
6
+ export declare const validateTemperature: (value?: number) => boolean;
7
+ export declare const validateMaxTokens: (value?: number) => boolean;
8
+ export declare const validateTopP: (value?: number) => boolean;
9
+ export declare const validateFrequencyPenalty: (value?: number) => boolean;
10
+ export declare const validatePresencePenalty: (value?: number) => boolean;
11
+ export declare const validateTimeout: (value?: number) => boolean;
@@ -0,0 +1,9 @@
1
+ import { McpServerConfigurationDto } from '@fluxo-dev/api-client-base';
2
+ interface McpServerFormProps {
3
+ opened: boolean;
4
+ onClose: () => void;
5
+ onSuccess: () => void;
6
+ editingServer?: McpServerConfigurationDto | null;
7
+ }
8
+ export declare function McpServerForm({ opened, onClose, onSuccess, editingServer }: McpServerFormProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1 @@
1
+ export declare function McpServerManagement(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import type { AgentOrchestrationDto } from '@fluxo-dev/api-client-base';
2
+ interface OrchestrationFormProps {
3
+ orchestration?: AgentOrchestrationDto;
4
+ onSuccess: () => void;
5
+ onCancel: () => void;
6
+ }
7
+ export declare function OrchestrationForm({ orchestration, onSuccess, onCancel }: OrchestrationFormProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1 @@
1
+ export declare function OrchestrationManagement(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { DashboardCategory } from "@fluxo-dev/api-client-base";
2
+ export interface DashboardCategoryFormProps {
3
+ onCancel: () => void;
4
+ onCreateOrUpdate: () => void;
5
+ dashboardCategory?: DashboardCategory | undefined;
6
+ }
7
+ export declare function DashboardCategoryForm(props: DashboardCategoryFormProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './dashboard-category-form';
@@ -1,2 +1,6 @@
1
- declare function OnlyNotLoggedRoute({ children, ...props }: any): any;
1
+ import { ShellLoginConfig } from '../../app';
2
+ declare function OnlyNotLoggedRoute(props: {
3
+ children: JSX.Element;
4
+ loginConfig?: ShellLoginConfig;
5
+ }): JSX.Element;
2
6
  export default OnlyNotLoggedRoute;