Commit Graph

862 Commits

Author SHA1 Message Date
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
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