Self-improving AI Employees for everyone
Python ai-agentsai-employeeai-employeesassistantautonomous-agentsco-employeescompanygrok-botinstinctloop-agentsmuseown-your-datapersonalself-hosted
feat(schema): Wave 6 Phase 5.b wave 2 - 4 more backend-group migrations
trohitg0a6a2595427e
diff --git a/client/src/components/OutputPanel.tsx b/client/src/components/OutputPanel.tsxindex a46d8e5c..1d610540 100644--- a/client/src/components/OutputPanel.tsx+++ b/client/src/components/OutputPanel.tsx@@ -4,6 +4,7 @@ import { useAppStore } from '../store/useAppStore';import { nodeDefinitions } from '../nodeDefinitions';import { INodeOutputDefinition, NodeConnectionType } from '../types/INodeProperties';import { useDragVariable } from '../hooks/useDragVariable';+import { isNodeInBackendGroup } from '../lib/nodeSpec';interface OutputPanelProps {nodeId: string;@@ -131,8 +132,9 @@ const OutputPanel: React.FC<OutputPanelProps> = ({ nodeId }) => {// Helper to get outputs from a node definitionconst getNodeOutputs = (nodeType: string): INodeOutputDefinition[] => {- // For Android nodes, use the detailed schema to show individual draggable properties- if (ANDROID_NODE_TYPES.includes(nodeType)) {+ // Wave 6 Phase 5.b: backend group → legacy fallback+ const isAndroid = isNodeInBackendGroup(nodeType, 'android') ?? ANDROID_NODE_TYPES.includes(nodeType);+ if (isAndroid) {const schema = ANDROID_OUTPUT_SCHEMAS[nodeType];if (schema) {return Object.entries(schema).map(([name, type]) => ({diff --git a/client/src/components/ParameterRenderer.tsx b/client/src/components/ParameterRenderer.tsxindex 3a0d27f3..d57d1f83 100644--- a/client/src/components/ParameterRenderer.tsx+++ b/client/src/components/ParameterRenderer.tsx@@ -6,6 +6,7 @@ import CodeEditor from './ui/CodeEditor';import DynamicParameterService from '../services/dynamicParameterService';import { useAppStore } from '../store/useAppStore';import { ANDROID_SERVICE_NODE_TYPES } from '../nodeDefinitions/androidServiceNodes';+import { isNodeInBackendGroup } from '../lib/nodeSpec';import { nodeDefinitions } from '../nodeDefinitions';import { useAppTheme } from '../hooks/useAppTheme';import { API_CONFIG } from '../config/api';@@ -1161,7 +1162,9 @@ const ParameterRenderer: React.FC<ParameterRendererProps> = ({if (!selectedNode || parameter.name !== 'parameters') return;const nodeType = selectedNode.data?.nodeType || selectedNode.type;- if (!ANDROID_SERVICE_NODE_TYPES.includes(nodeType)) return;+ // Wave 6 Phase 5.b: backend group → legacy fallback+ const isAndroid = isNodeInBackendGroup(nodeType, 'android') ?? ANDROID_SERVICE_NODE_TYPES.includes(nodeType);+ if (!isAndroid) return;// Merge database params with current form params (current takes precedence)const allParamsResolved = { ...nodeParameters, ...allParameters };diff --git a/client/src/components/parameterPanel/InputSection.tsx b/client/src/components/parameterPanel/InputSection.tsxindex 7e1465f8..0fb7bf0f 100644--- a/client/src/components/parameterPanel/InputSection.tsx+++ b/client/src/components/parameterPanel/InputSection.tsx@@ -6,6 +6,7 @@ import { Node, Edge } from 'reactflow';import { useDragVariable } from '../../hooks/useDragVariable';import { useAppTheme } from '../../hooks/useAppTheme';import { queryClient } from '../../lib/queryClient';+import { isNodeInBackendGroup } from '../../lib/nodeSpec';// ---------------------------------------------------------------------------// Backend-driven node output schema lookup.@@ -153,15 +154,15 @@ const InputSection: React.FC<InputSectionProps> = ({ nodeId, visible = true }) =const currentNode = nodes.find((node: Node) => node.id === nodeId);const currentNodeType = currentNode?.type;- // Agent node types that support skills (have input-skill handle)+ // Agent node types that support skills (have input-skill handle).+ // Wave 6 Phase 5.b: backend 'agent' group -> legacy fallback array.const AGENT_WITH_SKILLS_TYPES = ['aiAgent', 'chatAgent', 'android_agent', 'coding_agent','web_agent', 'task_agent', 'social_agent', 'travel_agent','tool_agent', 'productivity_agent', 'payments_agent', 'consumer_agent','autonomous_agent', 'orchestrator_agent', 'ai_employee', 'rlm_agent', 'claude_code_agent', 'deep_agent'];- // Check if current node is an agent that shows skills in Middle Section- const isAgentWithSkills = AGENT_WITH_SKILLS_TYPES.includes(currentNodeType || '');+ const isAgentWithSkills = isNodeInBackendGroup(currentNodeType, 'agent') ?? AGENT_WITH_SKILLS_TYPES.includes(currentNodeType || '');// Collect all edges to process (direct + inherited from parent for config nodes)interface EdgeWithLabel { edge: Edge; label?: string; targetHandleLabel?: string }diff --git a/client/src/components/parameterPanel/ToolSchemaEditor.tsx b/client/src/components/parameterPanel/ToolSchemaEditor.tsxindex 4af8436d..f076b864 100644--- a/client/src/components/parameterPanel/ToolSchemaEditor.tsx+++ b/client/src/components/parameterPanel/ToolSchemaEditor.tsx@@ -17,6 +17,7 @@ import { useToolSchema, ToolSchemaConfig } from '../../hooks/useToolSchema';import { useWebSocket } from '../../contexts/WebSocketContext';import { useAppStore } from '../../store/useAppStore';import { ANDROID_SERVICE_NODE_TYPES } from '../../nodeDefinitions/androidServiceNodes';+import { isNodeInBackendGroup } from '../../lib/nodeSpec';import { nodeDefinitions } from '../../nodeDefinitions';import {Form,@@ -144,7 +145,11 @@ const ToolSchemaEditor: React.FC<ToolSchemaEditorProps> = ({ nodeId }) => {const services: Node[] = [];for (const edge of incomingEdges) {const sourceNode = currentWorkflow.nodes.find((n) => n.id === edge.source);- if (sourceNode && ANDROID_SERVICE_NODE_TYPES.includes(sourceNode.type || '')) {+ // Wave 6 Phase 5.b: backend group → legacy fallback+ const isAndroid = sourceNode+ ? (isNodeInBackendGroup(sourceNode.type, 'android') ?? ANDROID_SERVICE_NODE_TYPES.includes(sourceNode.type || ''))+ : false;+ if (sourceNode && isAndroid) {services.push(sourceNode);}}