Skip to content

Form Components for Editing All Agent Fields #26

@Dawe000

Description

@Dawe000

Form Components for Editing All Agent Fields

Parent Issue

#24

Description

Create form components for editing all editable agent fields within the edit mode of the agent detail page.

Requirements

  • Form fields for:
    • Basic info: name, description, image upload/URL
    • MCP endpoint: URL, version, with capability fetching
    • A2A endpoint: URL, version, with capability fetching
    • Trust models / supportedTrusts (multi-select)
    • x402 support toggle
    • Metadata fields (key-value pairs or JSON editor)
    • Agent wallet address (with signature requirement)
  • Form validation for all fields
  • Pre-populate form with current agent data
  • Use React Hook Form for form state management
  • Use shadcn/ui components for consistency

Technical Notes

  • Use Agent0 SDK's updateInfo(), setMCP(), setA2A(), setMetadata(), setActive(), setX402Support(), setTrust() methods
  • Support endpoint capability auto-fetching (similar to SDK behavior)
  • Consider using a JSON editor component for metadata

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions