Commit Graph

930 Commits

Author SHA1 Message Date
Krishav Raj Singh 7632f36a84 fix: typo clear-all 2025-08-02 18:57:57 +05:30
Krishav Raj Singh 4f32ed007a refactor: use section_id 2025-08-02 18:54:59 +05:30
Vukasin 2af96de7a8 fix: scroll to bottom 2025-08-02 13:44:16 +02:00
Saumya b4e8796a3c the functions required for composio 2025-08-02 13:52:17 +05:30
Vukasin a982935e33 fix: make message stream smooth 2025-08-01 23:56:37 +02:00
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
Saumya 26e69a24b9 Merge branch 'main' into composio-1a 2025-08-01 21:06:52 +05:30
Bobbie 4a6073a563
Merge pull request #1163 from mykonos-ibiza/kortix-sdk
Feat Kortix SDK
2025-08-01 20:01:07 +05:30
Krishav 04f3543d97
Merge branch 'kortix-ai:main' into feat/task_list_tool 2025-08-01 16:30:23 +05:30
Saumya 6b77a6ccca fix of height of tools section 2025-08-01 15:55:39 +05:30
Krishav 90063d7c59
Merge branch 'kortix-ai:main' into feat/task_list_tool 2025-08-01 13:07:27 +05:30
Saumya 6de7bd0f6c fix agent builder update tool 2025-08-01 13:04:24 +05:30
Saumya 5d126bc75b test composio sdk 2025-08-01 12:54:16 +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 ab76c95258 ui: include sections 2025-08-01 10:51:52 +05:30
Krishav Raj Singh 3e2f442a17 chore: fix type 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
Chaitanya045 a004a1b2ee issue: add copy functionality to file manager and tool-call side panel 2025-08-01 08:20:20 +05:30
Bobbie 0250e786cd
Merge pull request #1165 from escapade-mckv/fix-agent-builder-2a
fix agent builder functionality
2025-08-01 02:16:58 +05:30
Saumya e8972fb788 fix agent builder functionality 2025-08-01 02:15:49 +05:30
mykonos-ibiza 51aecd3e67 Merge branch 'main' into kortix-sdk 2025-08-01 01:47:10 +05:30
Vukasin a1f187b402 Merge remote-tracking branch 'upstream/main' into feat/wip-workflow 2025-07-31 19:41:02 +02:00
Vukasin f1024d8e07 fix: pipedream app connection 2025-07-31 19:40:55 +02:00
Saumya d5dce19023 fix fade in the trigger acordion 2025-07-31 22:06:46 +05:30
Vukasin 1ff01ef83c Merge remote-tracking branch 'upstream/main' into feat/wip-workflow 2025-07-31 18:28:06 +02:00
Vukasin e89cd8d3e7 fix: visual improvements 2025-07-31 18:28:02 +02:00
Saumya edb35d8665 Merge branch 'main' into fix-ux-issues 2025-07-31 21:09:26 +05:30
Saumya 01c24faf2f fix issues inconsistncy 2025-07-31 21:09:16 +05:30
Saumya 4e9fc2bc8c fix empty state in mcp logo 2025-07-31 20:27:34 +05:30
Vukasin 1900bf9b60 fix: workflow saving 2025-07-31 15:37:24 +02:00
mykonos-ibiza 8f6af9d29d Merge branch 'main' into kortix-sdk 2025-07-31 18:47:38 +05:30
mykonos-ibiza 09211d9c55 Refactor UsageLogEntry interface and update truncateString function
- Updated the UsageLogEntry interface to include new fields: message_id, thread_id, created_at, content, total_tokens, estimated_cost, and project_id.
- Modified the truncateString function to handle optional string input, returning an empty string if no input is provided.
2025-07-31 17:37:13 +05:30
mykonos-ibiza a4141365cb
Merge branch 'main' into stripe-add-yearly-commitment-plans 2025-07-31 16:18:21 +05:30
mykonos-ibiza 8176ceba3b Refactor yearly commitment plan mappings to support environment-specific configurations
- Introduced separate mappings for production and staging environments.
- Updated the configuration to dynamically select the appropriate yearly commitment plans based on the current environment mode.
2025-07-31 16:14:57 +05:30
mykonos-ibiza f7c192ab78 Update Stripe pricing IDs for yearly commitment plans in configuration 2025-07-31 16:10:48 +05:30
mykonos-ibiza 2eea1f07aa Update button text and styles for yearly subscription upgrades in pricing section 2025-07-31 15:57:11 +05:30
Saumya 42914cba92 fix ux issues 2025-07-31 12:01:57 +05:30
Saumya 91508d60f1 cleaup code, remove unused endpoints & methods 2025-07-31 09:58:33 +05:30
Saumya bf3904e860 rtefactor backend 2025-07-31 09:07:09 +05:30
mykonos-ibiza a7b142ed74 Implement yearly commitment subscription plans and enhance billing logic
- Added support for yearly commitment plans with associated pricing tiers in the billing service.
- Introduced validation functions to manage plan changes and restrictions based on business rules.
- Updated configuration to include new yearly commitment pricing in both production and staging environments.
- Enhanced frontend components to handle subscription management, including cancellation and reactivation features.
- Refactored billing-related hooks and API calls to accommodate new subscription types and improve error handling.
2025-07-31 02:16:08 +05:30
marko-kraemer 1f73aa25ef rm temp readme 2025-07-30 22:18:51 +02:00
Saumya b36715d2b6 fix agent creation 2025-07-30 23:37:36 +05:30
Vukasin 762f18f96f Merge remote-tracking branch 'upstream/main' into feat/wip-workflow 2025-07-30 17:09:32 +02:00
Vukasin 83ef975c5f fix: 2025-07-30 15:11:36 +02:00
Frank An 30eae454f5
fix: correct textarea auto-resize behavior and scroll appearance 2025-07-30 17:22:12 +08:00
Zanyar 88dc5dfc44 feat(data-provider-tool): add enhanced UI components for data provider tool views 2025-07-30 15:01:02 +08:00
Saumya 080a0b1cef suna agent installation cleanup 2025-07-30 12:29:25 +05:30
Saumya 26fd18b6b8 cleanup agent builder tools 2025-07-30 11:37:34 +05:30
Saumya 8e1cce5cbd refactor versioning & run.py 2025-07-30 11:20:05 +05:30
Vukasin 612e5c6d74 fix: util parsing and ajust structure 2025-07-29 23:34:02 +02:00
Vukasin 8ee6d79858 feat: workflow ajustments 2025-07-29 22:57:58 +02:00
mykonos-ibiza 02b844b2e7 style(api-keys): improve UI consistency and accessibility
- Added margin classes to labels for better spacing and alignment.
- Updated card header styling for a cleaner look.
- Enhanced text visibility by adding margin to description labels.
- Simplified the API key creation success message for clarity.
- Adjusted button labels for improved user experience.
2025-07-29 23:25:47 +05:30
yeyan1996 45947eb770 refactor: continue running the agent when status is thread_run_end 2025-07-29 10:20:46 -07:00
mykonos-ibiza 8869138a7e feat(api-keys): implement API key management system
- Added a new API keys service with endpoints for creating, listing, revoking, and deleting API keys.
- Integrated API key validation and caching for performance.
- Updated backend configuration to include API key secret and throttling settings.
- Created frontend components for managing API keys, including a user interface for creating and displaying keys.
- Introduced a new database migration for the API keys table with necessary constraints and security policies.
- Enhanced authentication methods to support API key usage alongside JWT.
2025-07-29 19:38:37 +05:30
Marko Kraemer e7ad67caef
Merge pull request #1116 from dat-lequoc/ai-iteration-20250728-231518
Morph AI Edit_file, better prompting ; Update UI as well, but need more check on frontend
2025-07-29 13:00:44 +02:00
Bobbie 5e02569639
Merge pull request #1118 from escapade-mckv/refactor-backend-2
refactor & cleanup templates
2025-07-29 11:26:15 +05:30
Saumya 488d184939 refactor & cleanup templates 2025-07-29 11:25:18 +05:30
yeyan1996 4c34f99b95 fix: correct JSON formatting in streamAgent for message type checks 2025-07-28 20:47:47 -07:00
LE Quoc Dat 37f3fb866d AI: there're duplication of columns when it comes to unified diff UI.
also in unified diff, you don't need to show the removed line (red). Green is like concise enough to show the change,
2025-07-28 22:48:57 +02:00
Vukasin 6148b199ae feat: wip workflow design 2025-07-28 22:44:31 +02:00
LE Quoc Dat 120825d3f1 AI:
0.910 > suna@0.1.0 build
0.910 > next build
0.910
1.845    ▲ Next.js 15.3.3
1.845    - Environments: .env.local
1.846
1.871    Creating an optimized production build ...
43.91 Failed to compile.
43.91
43.91 ./src/components/thread/tool-views/file-operation/_utils.ts
43.91 Module parse failed: Identifier 'parseContent' has already been declared (243:6)
43.91 File was processed with these loaders:
43.91  * ./node_modules/next/dist/build/webpack/loaders/next-flight-client-module-loader.js
43.91  * ./node_modules/next/dist/build/webpack/loaders/next-swc-loader.js
43.91 You may need an additional loader to handle the result of these loaders.
43.91 |     };
43.91 | };
43.91 > const parseContent = (content)=>{
43.91 |     if (typeof content === 'string') {
43.91 |         try {
43.91
43.91 Import trace for requested module:
43.91 ./src/components/thread/tool-views/file-operation/_utils.ts
43.91 ./src/components/thread/tool-views/file-operation/FileEditToolView.tsx
43.91 ./src/components/thread/tool-views/wrapper/ToolViewRegistry.tsx
43.91 ./src/components/thread/tool-views/wrapper/index.ts
43.91 ./src/components/thread/tool-call-side-panel.tsx
43.91 ./src/app/share/[threadId]/page.tsx
43.91
43.91
43.91 > Build failed because of webpack errors
43.95 npm notice
43.95 npm notice New major version of npm available! 10.9.2 -> 11.5.1
43.95 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.5.1
43.95 npm notice To update run: npm install -g npm@11.5.1
43.95 npm notice
------
Dockerfile:45
2025-07-28 22:36:13 +02:00
LE Quoc Dat ef980353ba AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 22:22:38 +02:00
LE Quoc Dat d4619f0744 AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 22:19:34 +02:00
LE Quoc Dat fe1e1c6fb4 AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 22:16:20 +02:00
LE Quoc Dat 7ef8a624be AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 22:12:46 +02:00
LE Quoc Dat 066a43d951 AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 22:09:32 +02:00
LE Quoc Dat 86aaa9e5ca AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 22:02:07 +02:00
LE Quoc Dat 1fbac3bc15 AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 21:59:07 +02:00
LE Quoc Dat cb424d8fe7 AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 21:55:45 +02:00
LE Quoc Dat 4a19e1e521 AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 21:52:15 +02:00
LE Quoc Dat 66194d03d3 AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 21:49:32 +02:00
LE Quoc Dat 2def96efc9 AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 21:46:31 +02:00
LE Quoc Dat a2eac10d87 AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 21:42:25 +02:00
LE Quoc Dat deb442cbf7 AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 21:40:07 +02:00
LE Quoc Dat d6f3800076 AI:
./src/components/thread/tool-views/file-operation/FileEditToolView.tsx:41:11
Type error: Object literal may only specify known properties, and 'color' does not exist in type 'ReactDiffViewerStylesVariables'.

  39 |       variables: {
  40 |         dark: {
> 41 |           color: '#e2e8f0',
     |           ^
  42 |           background: '#09090b',
  43 |           addedBackground: '#104a32',
  44 |           addedColor: '#6ee7b7',
Next.js build worker exited with code: 1 and signal: null
2025-07-28 21:15:33 +02:00
LE Quoc Dat 96e77cfcbf AI:
./src/components/thread/tool-views/file-operation/FileEditToolView.tsx:41:11
Type error: Object literal may only specify known properties, and 'color' does not exist in type 'ReactDiffViewerStylesVariables'.

  39 |       variables: {
  40 |         dark: {
> 41 |           color: '#e2e8f0',
     |           ^
  42 |           background: '#09090b',
  43 |           addedBackground: '#104a32',
  44 |           addedColor: '#6ee7b7',
Next.js build worker exited with code: 1 and signal: null
2025-07-28 21:13:37 +02:00
LE Quoc Dat ce0e35c4e5 AI:
./src/components/thread/tool-views/file-operation/FileEditToolView.tsx
Attempted import error: 'generateLineDiff' is not exported from './_utils' (imported as 'generateLineDiff').

Import trace for requested module:
./src/components/thread/tool-views/file-operation/FileEditToolView.tsx
./src/components/thread/tool-views/wrapper/ToolViewRegistry.tsx
./src/components/thread/tool-views/wrapper/index.ts
./src/components/thread/tool-call-side-panel.tsx
./src/app/share/[threadId]/page.tsx

./src/components/thread/tool-views/file-operation/FileEditToolView.tsx
Attempted import error: 'calculateDiffStats' is not exported from './_utils' (imported as 'calculateDiffStats').

Import trace for requested module:
./src/components/thread/tool-views/file-operation/FileEditToolView.tsx
./src/components/thread/tool-views/wrapper/ToolViewRegistry.tsx
./src/components/thread/tool-views/wrapper/index.ts
./src/components/thread/tool-call-side-panel.tsx
./src/app/share/[threadId]/page.tsx

 ⚠ Compiled with warnings in 40.0s

./src/components/thread/tool-views/file-operation/FileEditToolView.tsx
Attempted import error: 'generateLineDiff' is not exported from './_utils' (imported as 'generateLineDiff').

Import trace for requested module:
./src/components/thread/tool-views/file-operation/FileEditToolView.tsx
./src/components/thread/tool-views/wrapper/ToolViewRegistry.tsx
./src/components/thread/tool-views/wrapper/index.ts
./src/components/thread/tool-call-side-panel.tsx
./src/app/share/[threadId]/page.tsx

./src/components/thread/tool-views/file-operation/FileEditToolView.tsx
Attempted import error: 'calculateDiffStats' is not exported from './_utils' (imported as 'calculateDiffStats').

Import trace for requested module:
./src/components/thread/tool-views/file-operation/FileEditToolView.tsx
./src/components/thread/tool-views/wrapper/ToolViewRegistry.tsx
./src/components/thread/tool-views/wrapper/index.ts
./src/components/thread/tool-call-side-panel.tsx
./src/app/share/[threadId]/page.tsx
2025-07-28 21:10:59 +02:00
LE Quoc Dat 9a0dc4e200 AI: can we streamline the edit-file just like the create_file tool, in the front end ?
like stream the code-edit output of the agent; Then we should be able to show the diff as well, when the tool complete. We get the original file content, and the full updated code (output of morph) and some how send it to the front end.

the front end should show this properly , concisely so user can see the changes in green / red.

This shouldn't change the content feed to the model btw. Like it will pollute the context.

make a plan what to do first, not make changes yet
2025-07-28 20:46:21 +02:00
LE Quoc Dat e4d7ffe066 npm i 2025-07-28 18:07:58 +02:00
Bobbie 11c3c26048
Merge pull request #1108 from escapade-mckv/refactor-backend-2
refactor triggers
2025-07-28 16:11:06 +05:30
Saumya 3fb032185c refactor triggers 2025-07-28 15:46:29 +05:30
Marko Kraemer d8a7cd1798
Merge pull request #1090 from yeyan1996/fix/debug-mode
fix: stringify message in debug mode
2025-07-28 08:38:16 +02:00
Marko Kraemer 8b3f020794
Merge pull request #1089 from yeyan1996/fix/package
fix: phantom dependency
2025-07-28 08:37:55 +02:00
Bobbie 822ff42321
Merge pull request #1105 from escapade-mckv/fix-ux-issues
Fix ux issues
2025-07-28 11:51:56 +05:30
Saumya 1e501a12be Merge branch 'extend-workflows-ui' into fix-ux-issues 2025-07-28 11:50:40 +05:30
Saumya fdbf64769a Merge branch 'main' of github.com:escapade-mckv/suna into extend-workflows-ui 2025-07-28 11:50:12 +05:30
Saumya f7fd1296bf improve ux a bit 2025-07-28 11:49:24 +05:30
Vukasin d777b5b735 fix: visual improvements 2025-07-27 22:11:40 +02:00
marko-kraemer aed291e7c3 wip 2025-07-27 05:53:25 +02:00
marko-kraemer e38d8f327e wip 2025-07-27 05:15:33 +02:00
marko-kraemer 5d2eb11019 add env example fe again 2025-07-27 04:10:19 +02:00
marko-kraemer 3405c27ef6 wip 2025-07-27 01:22:56 +02:00
marko-kraemer ef087747ab rem legacy workflows, db unused schema cleanup wip 2025-07-26 22:31:31 +02:00
Saumya ec5e0b7560 improve system promot for self-config 2025-07-26 21:45:06 +05:30
Saumya 845c17d968 fix agent builder tool calls 2025-07-26 11:04:07 +05:30
yeyan1996 735b054fba fix: format message content and metadata for better readability 2025-07-25 22:26:37 -07:00
yeyan1996 9058c71d31 fix: phantom dependency 2025-07-25 22:01:03 -07:00
Vukasin eac057a326 fix: clean up 2025-07-25 22:14:55 +02:00