suna/frontend/src/app
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
..
(dashboard) feat: implement JSON agent export/import with improved UX 2025-08-03 02:01:31 +02:00
(home) feat(auth): add phone verification 2025-07-19 21:49:52 +00:00
api refactor workflows 2025-07-14 18:40:24 +05:30
auth wip 2025-07-27 05:15:33 +02:00
invitation wip: rework attachments 2025-05-07 22:55:03 +02:00
legal wip: rework attachments 2025-05-07 22:55:03 +02:00
monitoring feat(sentry): enhance Sentry integration with user tracking and error handling improvements 2025-05-27 10:04:17 +00:00
share/[threadId] AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this 2025-07-28 21:40:07 +02:00
favicon.ico Login UI and login with google 2025-04-14 00:49:41 +01:00
global-error.tsx chore(frontend): remove Sentry integration and related configurations 2025-07-08 17:05:32 +00:00
globals.css chore(dev): workflowx and ux improvement 2025-07-16 23:16:10 +05:30
layout.tsx chore(dev): add tolt referrals 2025-06-16 17:25:28 +05:30
metadata.ts wip: rework attachments 2025-05-07 22:55:03 +02:00
not-found.tsx wip: rework attachments 2025-05-07 22:55:03 +02:00
opengraph-image.tsx chore(dev): cleanup 2025-06-01 11:26:12 +05:30
providers.tsx feat(auth): add phone verification 2025-07-19 21:49:52 +00:00