Commit Graph

2012 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 286e7edeef wip 2025-08-03 01:15:56 +02:00
marko-kraemer 41ee63719d fix save 2025-08-03 01:07:46 +02:00
marko-kraemer 6e1a604bc9 cleanup autosave 2025-08-03 00:56:27 +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
marko-kraemer 8d32a2c62d templates api auth 2025-08-02 23:46:49 +02:00
marko-kraemer 924c1540d2 feat: add template deletion functionality, owner template indicator, owner template filter 2025-08-02 22:25:19 +02:00
marko-kraemer 6fdc3860fe fix potential 2025-08-02 20:57:29 +02:00
Marko Kraemer 24e5f699ff
Merge pull request #1142 from KrishavRajSingh/feat/task_list_tool
Feat: Task List Tool
2025-08-02 20:46:29 +02:00
Marko Kraemer 9d857483eb
Merge branch 'main' into feat/task_list_tool 2025-08-02 20:46:23 +02:00
Marko Kraemer 2aa8f0854c
Merge pull request #1173 from theshyPika/feat/dynamic-datetime-variables
feat: add dynamic datetime variables to agent prompts
2025-08-02 20:43:16 +02:00
Marko Kraemer 6287f36244
Merge pull request #1170 from yeyan1996/fix/playback
fix: hide panel when resetting the state of playback
2025-08-02 20:42:51 +02:00
Marko Kraemer a222bd7543
Merge pull request #1171 from yeyan1996/style/cursor
Enhance button styles by adding cursor pointer
2025-08-02 20:42:35 +02:00
Marko Kraemer be0c61945a
Merge pull request #1169 from Chaitanya045/issue-Add-Copy-text-btns-everywhere-in-UI
feat: Add "Copy" text buttons everywhere in UI
2025-08-02 20:40:05 +02:00
Marko Kraemer ea62663d63
Merge pull request #1179 from Chaitanya045/add-pandas-to-base-docker-image
fix: add pandas to sandbox requirements to resolve ModuleNotFoundError (#1043)
2025-08-02 20:38:16 +02:00
Krishav Raj Singh 7632f36a84 fix: typo clear-all 2025-08-02 18:57:57 +05:30
Krishav Raj Singh 8477b5efce update description and prompt 2025-08-02 18:56:24 +05:30
Krishav Raj Singh 4f32ed007a refactor: use section_id 2025-08-02 18:54:59 +05:30
Chaitanya045 713863dc0b Added Pandas to sandbox docker image. 2025-08-02 18:28:26 +05:30
Krishav 2ca30bec83
Merge branch 'kortix-ai:main' into feat/task_list_tool 2025-08-02 00:26:43 +05:30
Chaitanya045 124fb0e1c8 fixed success and failure messaged to be shown on a toast instead if console log. 2025-08-01 23:56:30 +05:30
Bobbie 1a08ab2384
Merge pull request #1176 from mykonos-ibiza/patch-1
Fix SDK Readme
2025-08-01 20:13:14 +05:30
mykonos-ibiza e50e2f83ca
Update README.md 2025-08-01 20:12:35 +05:30
Bobbie 181244a97f
Delete sdk_example.py 2025-08-01 20:01:47 +05:30
Bobbie 4a6073a563
Merge pull request #1163 from mykonos-ibiza/kortix-sdk
Feat Kortix SDK
2025-08-01 20:01:07 +05:30
mykonos-ibiza 564c3ad63f Refactor imports and enhance XML formatting in utils
- Updated import statements in `example.py` to remove relative imports for better clarity.
- Introduced ANSI color formatting for various log messages in `utils.py` to improve readability.
- Added XML formatting functionality to `print_stream` for better output presentation when handling XML content.
- Implemented syntax highlighting for XML tags and attributes to enhance visual distinction in logs.
2025-08-01 19:29:09 +05:30
Krishav 04f3543d97
Merge branch 'kortix-ai:main' into feat/task_list_tool 2025-08-01 16:30:23 +05:30
Bobbie 14c12ab726
Merge pull request #1174 from escapade-mckv/fix-agent-builder-2a
fix of height of tools section
2025-08-01 16:03:15 +05:30
Saumya 6b77a6ccca fix of height of tools section 2025-08-01 15:55:39 +05:30
mykonos-ibiza dfab627eba Add message deletion functionality and refactor related methods
- Introduced a new endpoint in the API to delete messages from a thread, enhancing message management capabilities.
- Added a `del_message` method in the `Thread` class to facilitate message deletion.
- Updated the `ThreadsClient` class to include a method for deleting messages from a thread, ensuring consistent API interaction.
- Refactored the `Agent` class to rename the `tool_details` method to `details`, improving clarity in method naming.
2025-08-01 15:35:09 +05:30
ck 120de528bb feat: add dynamic datetime variables to agent prompts
- Add custom_prompt.py module for template variable processing
- Replace hardcoded year with {{current_year}} template variable
- Support {{current_date}}, {{current_time}}, {{current_year}} variables
- Ensure consistent datetime handling across all prompt files
- Fix prompt template inconsistencies
2025-08-01 16:11:35 +08:00
Krishav 90063d7c59
Merge branch 'kortix-ai:main' into feat/task_list_tool 2025-08-01 13:07:27 +05:30
Bobbie eeb1bd5e4c
Merge pull request #1172 from escapade-mckv/fix-agent-builder-2a
fix agent builder update tool
2025-08-01 13:05:27 +05:30
Saumya 6de7bd0f6c fix agent builder update tool 2025-08-01 13:04:24 +05:30
yeyan1996 4308f0e0d8 Enhance button styles by adding cursor pointer 2025-07-31 23:30:04 -07:00
yeyan1996 3be4345cbf fix: hide panel when resetting the state of playback 2025-07-31 23:19:08 -07:00
Krishav Raj Singh 83d7882b2c fix: replace xml_schema with usage_example 2025-08-01 10:51:52 +05:30
Krishav Raj Singh 191279256c refactor prompt 2025-08-01 10:51:52 +05:30
Krishav Raj Singh ab76c95258 ui: include sections 2025-08-01 10:51:52 +05:30
Krishav Raj Singh 457b548a65 feat: add section in tool_list 2025-08-01 10:51:52 +05:30
Krishav Raj Singh 7239ce4668 merge conflict 2025-08-01 10:51:50 +05:30
Krishav Raj Singh 1e5342b6dc refactor: prompt 2025-08-01 10:51:16 +05:30
Krishav Raj Singh 3e2f442a17 chore: fix type 2025-08-01 10:51:16 +05:30
Krishav Raj Singh 50ea2da1ac fix: prompt 2025-08-01 10:51:16 +05:30
Krishav Raj Singh 4b423865bf chore: refactor prompt 2025-08-01 10:51:16 +05:30
Krishav Raj Singh 61d2ad5df4 feat: ui for task list tool 2025-08-01 10:51:16 +05:30
Krishav Raj Singh d6bc346bbc fix: task list tool 2025-08-01 10:51:16 +05:30
Krishav Raj Singh a9cd2fbca6 feat: added task list tool 2025-08-01 10:51:16 +05:30
Chaitanya045 a004a1b2ee issue: add copy functionality to file manager and tool-call side panel 2025-08-01 08:20:20 +05:30
mykonos-ibiza 403561f823 Add README and update API URL in Kortix class
- Introduced a new README.md file for the Kortix SDK, detailing installation instructions, quick start examples, and environment setup.
- Updated the default API URL in the Kortix class constructor from `http://localhost:8000/api` to `https://suna.so/api`, ensuring consistency with the production environment.
2025-08-01 03:30:25 +05:30