Commit Graph

21 Commits

Author SHA1 Message Date
marko-kraemer adf9326f61 feat: implement JSON agent export/import with improved UX
- Add backend API endpoints for agent export/import
  - GET /agents/{agent_id}/export - exports agent configuration as JSON
  - POST /agents/import - imports agent from JSON (new agents only)
  - Add AgentExportData and AgentImportRequest Pydantic models

- Integrate export functionality in agent config header
  - Add always-visible 3-dots menu left of "Prompt to Build" tab
  - Include export option in dropdown menu for all agent types
  - Handle loading states during export process

- Add subtle import functionality to new agent dialog
  - Replace mode selection with "or import from JSON" link
  - Support file upload and validation for agent JSON
  - Streamline UX for creating agents from templates

- Create React Query hooks for export/import operations
  - useExportAgent: handles JSON download with proper error handling
  - useImportAgent: creates new agent and invalidates cache

- Remove update existing agent option (import creates new agents only)
- Fix API integration to use direct fetch calls with backend URL
- Clean up unused components and improve code organization

This enables users to share agent configurations across instances
and create agents from templates with an intuitive interface.
2025-08-03 02:01:31 +02:00
marko-kraemer 41ee63719d fix save 2025-08-03 01:07:46 +02:00
marko-kraemer 1abd9457c7 refactor: replace autosave functionality with manual save handler, mcp add connection improved ui 2025-08-03 00:50:47 +02:00
Saumya d5dce19023 fix fade in the trigger acordion 2025-07-31 22:06:46 +05:30
Saumya 42914cba92 fix ux issues 2025-07-31 12:01:57 +05:30
Saumya 26fd18b6b8 cleanup agent builder tools 2025-07-30 11:37:34 +05:30
Saumya 6b99777265 treat suna as a custom agent 2025-07-23 13:20:20 +05:30
Saumya 34ae50a68b custom suna agent 2025-07-22 21:41:10 +05:30
Saumya 4dafadc576 fix ui issues 2025-07-20 10:19:42 +05:30
Saumya 414eb23949 show upcoming run in agent page 2025-07-15 11:18:01 +05:30
Saumya df29b41a2f improve agent config ui 2025-07-15 00:16:40 +05:30
Saumya bdd9ffc1d8 refactor backend code 2025-07-14 16:06:27 +05:30
Saumya 2fabfab882 versioning code refactor 2025-07-13 23:26:24 +05:30
Saumya 9b0571a7dc versioning setup 2025-07-13 19:59:38 +05:30
Saumya 3fa9fac9f6 fix: agent builder & agents ui 2025-07-12 02:12:23 +05:30
Saumya 547bf72d24 feat: improve integrations ux 2025-07-11 13:47:44 +05:30
Saumya 43af4852d4 ux: ui/ux revamp 2025-07-11 09:16:20 +05:30
marko-kraemer c20b5e70e8 wip 2025-07-10 02:51:55 +02:00
marko-kraemer 1ef40c47d7 wip 2025-07-10 01:50:04 +02:00
marko-kraemer 92214e5894 wip 2025-07-09 21:38:26 +02:00
marko-kraemer 1d9e364523 wip 2025-07-09 21:38:26 +02:00