Commit Graph

907 Commits

Author SHA1 Message Date
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
Vukasin 7a61e21454 Merge remote-tracking branch 'upstream/main' into feat/visual-improvements-and-fixes 2025-07-25 22:11:28 +02:00
Vukasin 5761d8a8f0 fix: visual improvements and fixes 2025-07-25 22:11:17 +02:00
Saumya 6beab18283 dsds 2025-07-26 01:05:07 +05:30
marko-kraemer 293e97fa69 refresh token fix 2025-07-25 20:04:00 +02:00
Marko Kraemer 159b128ecd
Merge pull request #1057 from dat-lequoc/ai-iteration-20250724-131301
Add FAST APPLY -- Morph LLM -- edit_file tool
2025-07-25 18:24:06 +02:00
Saumya 40a145552f Merge branch 'main' of github.com:escapade-mckv/suna into extend-agent-builder 2025-07-25 13:25:11 +05:30
Saumya 8150ce94a1 feat: extend agent builder for Suna 2025-07-25 13:24:34 +05:30
Bobbie f4dc33ab13
Merge pull request #1056 from mykonos-ibiza/fix/2fa
fix: migrate MFA functionality to frontend and remove backend MFA endpoints
2025-07-25 13:02:01 +05:30
mykonos-ibiza 80ce8e8a78
Update mfa.ts 2025-07-25 13:01:23 +05:30
Marko Kraemer d72f84240a
Merge pull request #938 from KrishavRajSingh/krishav/feat/manage_key_ui
Krishav/feat/manage key UI
2025-07-25 00:22:35 +02:00
Marko Kraemer ecc7d6685c
Merge pull request #1046 from anxsec/patch-1
fix: prevent right panel content overflow in ScrollArea component
2025-07-25 00:22:00 +02:00
Krishav Raj Singh c05ec3e61b removes one tap login 2025-07-24 23:42:11 +05:30
Vukasin 64b12fb719 fix: user reset 2025-07-24 17:49:32 +02:00
LE Quoc Dat b1ac5793ba edit_file 2025-07-24 12:46:57 +02:00
mykonos-ibiza fc47e89da8 migrate MFA functionality to frontend and remove backend MFA endpoints 2025-07-24 14:16:04 +05:30
Vukasin 02ade2280e fix: refresh token timing 2025-07-23 23:17:05 +02:00
Vukasin 5d1f5c9439 fix: scroll and build issue 2025-07-23 18:27:39 +02:00
Vukasin dd15438576 Merge remote-tracking branch 'upstream/main' into fix/visual-improvements-stream 2025-07-23 18:05:45 +02:00
Vukasin a1c470231e fix: timing 2025-07-23 18:05:10 +02:00
Anx 510ec46aef
fix: prevent right panel content overflow in ScrollArea component
Resolves content overflow issues in the right panel caused by the ScrollArea
component's internal div with 'min-width:100%;display:table' styling. This
addresses the known shadcn-ui ScrollArea limitation where the component takes
up the entire width and causes overflow.

The fix ensures proper width constraints while maintaining scroll functionality.

References: https://github.com/shadcn-ui/ui/issues/3833
2025-07-23 18:59:11 +08:00
Saumya 030ffe23a3 fix suna install on oauth 2025-07-23 14:52:44 +05:30
Saumya 6b99777265 treat suna as a custom agent 2025-07-23 13:20:20 +05:30
Saumya c57a9fb58b pick suna details from code 2025-07-23 11:44:36 +05:30
Saumya 049c6c4d1b Merge branch 'main' into custom-suna-agent 2025-07-23 11:08:26 +05:30
Vukasin cf7e16fdc8 fix: streaming view 2025-07-22 23:58:41 +02:00
Vukasin f33f5f6c6e fix: visual improvements stream 2025-07-22 20:10:17 +02:00
Saumya f8c455fa39 attempt to fix google oauth 2025-07-22 22:14:44 +05:30
Saumya 34ae50a68b custom suna agent 2025-07-22 21:41:10 +05:30
sharath 1067cb7092
fix(auth): temporarily comment out redirection to MFA verification 2025-07-22 11:05:53 +00:00
sharath 87ec0230c5
fix(auth): temporarily disable redirection for new users without MFA enrolled 2025-07-22 11:02:11 +00:00
sharath c0e8614210
fix(models): update model tiers 2025-07-22 05:07:51 +00:00
sharath 6a80a2e87d
chore(models): change model availability 2025-07-22 04:58:16 +00:00
Bobbie 8b1c805ab0
Merge pull request #1037 from escapade-mckv/fix-ux-issues
revert back to registry dialog on home screen configure
2025-07-22 00:47:50 +05:30
Saumya 4a0a2147b6 revert back to registry dialog on home screen configure 2025-07-22 00:46:57 +05:30
Krishav a96f5c2b44
Merge branch 'kortix-ai:main' into krishav/feat/manage_key_ui 2025-07-21 22:34:46 +05:30
Krishav Raj Singh 2263e8ce00 remove whitespace 2025-07-21 22:33:23 +05:30
Marko Kraemer aa7ab3e425
Merge pull request #1022 from KrishavRajSingh/krishav/fix/google_oauth_login
fix: fallback to google oauth if one tap login fails
2025-07-21 18:43:07 +02:00
Krishav Raj Singh c3f431d0ee Merge remote-tracking branch 'upstream/main' into krishav/feat/manage_key_ui 2025-07-21 21:04:01 +05:30
Saumya 6a8d0b9351 add tools info in the app card 2025-07-21 16:03:00 +05:30
Bobbie 5b84eedfb1
Merge pull request #1031 from escapade-mckv/fix-ux-issues
build errors fix
2025-07-21 11:20:27 +05:30
Saumya d1be6a38da build errors fix 2025-07-21 11:19:32 +05:30
Bobbie 1520a8f20a
Merge branch 'main' into main 2025-07-21 11:16:50 +05:30
Saumya a351d6553e build errors fix 2025-07-21 11:14:53 +05:30
Saumya 8188a83a6d Merge branch 'main' into fix-ux-issues 2025-07-21 10:53:56 +05:30
Saumya 99c5ed3aa8 improve workflow card 2025-07-21 10:49:06 +05:30
Sharath 94ce6bd8ad
Merge branch 'main' into sharath/suna-495-add-phone-number-verification-for-signups 2025-07-20 22:52:00 +05:30
sharath 1eb148821b
chore(auth): remove unused phone input styles 2025-07-20 17:19:48 +00:00
Krishav Raj Singh f59399a3f6 fix: fallback to google oauth if one tap logiin fails 2025-07-20 20:15:00 +05:30
sharath ad0c687d9e
feat(auth): enhance phone verification UI and functionality
- Added new phone input component for improved user experience during phone number entry.
- Integrated additional icons for better visual feedback in the OTP verification process.
- Updated phone verification page to include a sign-out button, enhancing user navigation.
- Refined text descriptions for clarity and user guidance throughout the verification steps.

This update improves the overall usability and accessibility of the phone verification feature.
2025-07-20 07:58:10 +00:00
Saumya 4dafadc576 fix ui issues 2025-07-20 10:19:42 +05:30
sharath 7010de6c2c
refactor(auth): remove AALChecker and AALStatusDisplay components 2025-07-19 22:10:12 +00:00
sharath 0765c728ae
feat(auth): add phone verification
- Updated phone verification API to support SMS-based 2FA, allowing users to enroll and verify their phone numbers.
- Introduced new components for background AAL checking and status display, improving user experience during authentication.
- Removed the deprecated PhoneVerificationGuard component and integrated its functionality into the new AALChecker and BackgroundAALChecker components.
- Updated React Query hooks for managing phone verification and AAL states, ensuring efficient data handling and cache management.
- Enhanced frontend layout to accommodate new verification flows and improve overall responsiveness.

This update strengthens account security by enforcing phone verification for new users and streamlining the MFA process.
2025-07-19 21:49:52 +00:00
Cursor Agent 66bb34a5ba Add support for rendering 'complete' tool content and attachments
Co-authored-by: tnfssc <tnfssc@gmail.com>
2025-07-19 16:13:01 +00:00
sharath 1551ce9b4a
hotfix(complete-tool): update import path for FileAttachment component 2025-07-19 16:04:54 +00:00
Cursor Agent bafa1becef Enhance complete tool with text, attachments, and improved frontend rendering
Co-authored-by: tnfssc <tnfssc@gmail.com>
2025-07-19 15:45:43 +00:00
sharath a332cf9a31
feat(2fa): implement phone verification feature with MFA support
- Added phone verification endpoints for TOTP-based multi-factor authentication in the backend.
- Created frontend components for phone input and OTP verification.
- Integrated phone verification guard to ensure users complete verification before accessing the app.
- Updated API routes and React Query hooks for managing phone verification status and actions.

This feature enhances account security by requiring users to verify their phone numbers.
2025-07-19 15:14:55 +00:00
Vukasin d7fd6ae811 fix: snack stream re rendering other component and closing issue 2025-07-19 16:30:41 +02:00
Cursor Agent f5d84f56a4 Center login page buttons and improve layout responsiveness
Co-authored-by: markokraemer.mail <markokraemer.mail@gmail.com>
2025-07-19 14:01:40 +00:00
sharath 0380f00647
chore(models): update storage key and default free model ID for improved model selection 2025-07-19 02:40:03 +00:00
sharath dc14691c32
chore(models): update model tiers to premium and adjust availability in constants 2025-07-19 02:12:07 +00:00
kubet a46e814c24
Merge pull request #1008 from kubet/feat/usage-snack
fix: snack logic
2025-07-18 22:34:43 +02:00
Vukasin 290c0d229e fix: snack logic 2025-07-18 22:34:09 +02:00
kubet 0700417199
Merge pull request #1007 from kubet/feat/usage-snack
fix: build error
2025-07-18 22:23:37 +02:00
Vukasin ad797c3481 fix: build error 2025-07-18 22:22:35 +02:00
kubet 7bd68f1e89
Merge pull request #1006 from kubet/feat/usage-snack
Feat/usage snack
2025-07-18 21:50:32 +02:00
Vukasin 6468f0ab08 feat: add streaming and conditionaly show usage 2025-07-18 21:49:10 +02:00
Krishav Raj Singh ea659c7a1e feat: add and delete new api key 2025-07-18 23:25:27 +05:30
Krishav 74fc265187
Merge branch 'kortix-ai:main' into krishav/feat/manage_key_ui 2025-07-18 23:24:28 +05:30
Marko Kraemer 783073e14f
Revert "Like/dislike response" 2025-07-18 14:33:34 +02:00
Marko Kraemer 64dca47aa8
Merge pull request #884 from KrishavRajSingh/krishav/response_feedback
Like/dislike response
2025-07-18 12:01:59 +02:00
Marko Kraemer 09e73b7f88
Merge pull request #978 from KrishavRajSingh/krishav/fix_scroll
fix: horizontal scroll
2025-07-18 11:56:58 +02:00
Krishav Raj Singh 23adbb3d1f fix padding 2025-07-18 12:22:50 +05:30
Krishav Raj Singh 62d1bd856c final_changes 2025-07-18 05:35:14 +05:30
Krishav Raj Singh f12a35ce39 reduced gap and size, added copy button 2025-07-18 05:13:45 +05:30
Krishav Raj Singh 6347543efe reduced spacing and size 2025-07-18 05:13:45 +05:30
Krishav Raj Singh 0fefd5857a view feedback on refresh 2025-07-18 05:13:45 +05:30
Krishav Raj Singh d506b0b63b feedback api 2025-07-18 05:13:45 +05:30
Krishav Raj Singh a6dc89666a updated modal 2025-07-18 04:59:52 +05:30
Krishav Raj Singh 21181fb8b9 frontend prototype 2025-07-18 04:59:52 +05:30
Krishav 43471577b3
Merge branch 'kortix-ai:main' into krishav/feat/manage_key_ui 2025-07-18 04:51:20 +05:30
Vukasin 9c62b8e805 fix: showing snack 2025-07-18 00:21:24 +02:00
Vukasin 86928c9d4a feat: usage snack 2025-07-18 00:16:46 +02:00
Krishav Raj Singh c62b540ce6 fix: horizontal scroll 2025-07-18 03:27:23 +05:30
Bobbie 7be0329552
Merge pull request #969 from escapade-mckv/react-flow
fix google sign in
2025-07-17 23:37:06 +05:30
Marko Kraemer e43622f127
Merge pull request #962 from Dharrnn/fix-mcp-dialog
#961 Fix: Scrollable form content in Custom MCP Dialog box
2025-07-17 15:42:48 +02:00
marko-kraemer ca0c66f327 pl-3 2025-07-17 15:43:02 +03:00
Marko Kraemer 7bc0ab6548
Merge pull request #975 from kortix-ai/cursor/optimize-agents-page-switcher-states-1b17
Optimize agents page switcher states
2025-07-17 13:19:53 +02:00
Cursor Agent 32e115365a Remove hover scale effect on tab buttons for cleaner interaction
Co-authored-by: markokraemer.mail <markokraemer.mail@gmail.com>
2025-07-17 11:17:00 +00:00
Cursor Agent ef32fc0b71 Fix layout shifts and improve tab content container styling
Co-authored-by: markokraemer.mail <markokraemer.mail@gmail.com>
2025-07-17 11:02:25 +00:00
Marko Kraemer 8e6f7382d4
Merge pull request #972 from kortix-ai/cursor/implement-debounce-for-agent-creation-2563
Implement debounce for agent creation
2025-07-17 12:41:31 +02:00
Cursor Agent 0622a7618a Enhance tab button styling with hover effects and improved color contrast
Co-authored-by: markokraemer.mail <markokraemer.mail@gmail.com>
2025-07-17 10:41:26 +00:00
Cursor Agent 6b2602157e Prevent multiple agent creation and improve mutation handling
Co-authored-by: markokraemer.mail <markokraemer.mail@gmail.com>
2025-07-17 10:27:31 +00:00
Cursor Agent f9ba44a9da Swap marketplace and my agents tabs, rename to Explore
Co-authored-by: markokraemer.mail <markokraemer.mail@gmail.com>
2025-07-17 10:10:35 +00:00
Saumya b000dbe46b fix google sign in 2025-07-17 13:29:12 +05:30
Saumya 8cf4de1a02 fix google sign in 2025-07-17 13:05:31 +05:30
Saumya 8249954b40 frontend files and impports fix 2025-07-17 12:42:10 +05:30
Saumya 43f71e1b09 fix import errors 2025-07-17 12:33:37 +05:30
Saumya 388391c7d8 fix changelog data 2025-07-17 12:10:30 +05:30
Saumya 5a5342fcc9 ux: workflows, and other improvements 2025-07-17 11:53:31 +05:30
Saumya 94661a2b59 Merge branch 'main' into react-flow 2025-07-17 11:52:04 +05:30
Saumya f258e2a1f3 ux: workflows, and other improvements 2025-07-17 11:48:59 +05:30
Dharrnn 590ab5c007 #961 Fix: Scrollable form content in Custom MCP Dialog box 2025-07-17 11:43:52 +05:30
Saumya d2245673ca chore(dev): workflowx and ux improvement 2025-07-16 23:16:10 +05:30
Krishav Raj Singh e31dc7f8e8 Local .Env Manager 2025-07-16 21:35:11 +05:30
sharath d4b031d00e
refactor(models): comment out old model configurations 2025-07-16 13:27:56 +00:00
Cursor Agent 037956f22b Update model tiers and availability for free and paid users
Co-authored-by: markokraemer.mail <markokraemer.mail@gmail.com>
2025-07-16 12:36:51 +00:00
Cursor Agent b419fcbc13 Make all premium models free tier in model selection
Co-authored-by: markokraemer.mail <markokraemer.mail@gmail.com>
2025-07-16 12:27:38 +00:00
Cursor Agent 6d9d6e25c9 Update model priority and order in model selection configuration
Co-authored-by: markokraemer.mail <markokraemer.mail@gmail.com>
2025-07-16 12:18:24 +00:00
Krishav d098ebd435
Merge branch 'kortix-ai:main' into krishav/feat/manage_key_ui 2025-07-16 14:05:36 +05:30
Saumya 200620f617 Merge branch 'main' into react-flow 2025-07-16 10:39:11 +05:30
Saumya 610aa7cce0 fix frontend import error 2025-07-16 10:20:18 +05:30
Saumya a8fdc7805f merge main into refactor 2025-07-16 10:17:28 +05:30
Saumya 73f919e28d auth page refactor 2025-07-16 10:05:12 +05:30
sharath 89fa1afc6e
refactor(healthpage): replace API health check logic with useApiHealth hook in DashboardLayoutContent 2025-07-15 13:27:22 +00:00
sharath 13c31d42f6
feat(kimi-k2): add support for Kimi-K2 model with updated token limits and parameters 2025-07-15 13:12:30 +00:00
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
Sharath 40cfc13fd4
Merge pull request #944 from Chaitanya045/Enable_paste_images_into_chat 2025-07-14 22:21:17 +05:30
Chaitanya045 f94b972992 Enable image paste in chat input 2025-07-14 21:39:12 +05:30
Saumya 1b347eb713 chore: refactor backend - 1 2025-07-14 19:47:10 +05:30
Saumya 85e2d5736b refactor workflows 2025-07-14 18:40:24 +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