feat: Agent configuration form - Create and edit agents from UI (COM-18)#8
Merged
Merged
Conversation
…om UI - AgentConfigForm: full form with sections (General, System Prompt, Tools & Middleware, Backend, HITL, Memory & Skills, MCP Servers, Subagents, Response Format) - Zod validation schemas for AgentConfig and sub-types - YAML serialization/deserialization (js-yaml) for client-side form-to-API bridge - CreateAgentDialog: Tabs (Form / Upload YAML) for creating agents - AgentConfigViewer: Edit mode + Export YAML button - Reusable editors: StringListEditor, KeyValueEditor, McpServerEditor, SubAgentEditor - shadcn/ui components generated (Dialog, Form, Tabs, Accordion, etc.) - AgentsPage: button change from 'Create Agent (YAML)' to 'Create Agent' - 273/274 tests passing (1 pre-existing chat API failure) - Trivy: 0 new vulnerabilities COM-18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AgentConfigtypes with react-hook-form integrationChanges
New Components
Modified Components
New Domain Layer
AgentConfig,BackendConfig,HITLConfig,McpServerConfig,SubAgentConfigserializeAgentConfig(),parseAgentConfig(),agentConfigToYamlFile()utilities using js-yamlTests
agentConfigSchema.test.ts,yaml.test.ts,AgentConfigForm.test.tsx,StringListEditor.test.tsx,KeyValueEditor.test.tsx,McpServerEditor.test.tsx,SubAgentEditor.test.tsxCreateAgentDialog.test.tsx,AgentConfigViewer.test.tsx,AgentsPage.test.tsxDependencies
js-yaml+@types/js-yamlfor YAML serializationJira
COM-18