Commit Graph

1862 Commits

Author SHA1 Message Date
mykonos-ibiza 55a63ba41c Update VSCode settings to disable type checking for both Python and CursorPyright 2025-07-31 16:01:16 +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
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
mykonos-ibiza 6b137e4fc8 Update stripe dependency from version 12.0.1 to 11.6.0 in pyproject.toml and uv.lock 2025-07-31 02:14:02 +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
LE Quoc Dat 1211eefbdd more guide, and edit_tool grind preference 2025-07-28 23:47:08 +02:00
LE Quoc Dat c8c71b5936 AI: the AI can't still use the AI edit tool correctly. we should update the prompt a bit, and also make the better example :
the authenticate_user; pls add something in the top like import, so we can do like this :
"""
// ... existing imports ...
import something
// ... existing code ...
<auth func() ... >
// ... existing code
"""

add another example on top of it : todo list ; where we show it's convinient for checking some scattered todo box .
2025-07-28 23:17:37 +02: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
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 0215b81b09 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:06:04 +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 2608ad2ef1 prompting 2025-07-28 19:40:18 +02:00
LE Quoc Dat 1d9bcbd202 AI: we need instruct the agent to Always use edit_tool. it doesn't do this for now. Like it prefer str_replace 2025-07-28 18:46:41 +02:00
Bobbie 5c21cf6276
Merge pull request #1114 from escapade-mckv/refactor-backend-2
refactor credentials codebase
2025-07-28 22:07:00 +05:30
Saumya e4d24d9038 refactor credentials codebase 2025-07-28 22:06:07 +05:30
LE Quoc Dat 1eff96929a AI: the edit tool is very good now, we need to make the model uses more this tool.
We still keep the tool itself, but in the prompt, we remove the need of writing str_replace and full rewrite, in the example, or prompt. because they will have the tools context as well. you understand ?
2025-07-28 18:24:29 +02:00
LE Quoc Dat 6b93e911d5 fix morph tool 2025-07-28 18:09:22 +02:00
LE Quoc Dat e4d7ffe066 npm i 2025-07-28 18:07:58 +02:00
Bobbie c98258eef3
Merge pull request #1112 from escapade-mckv/refactor-backend-2
fix trigger import error
2025-07-28 18:06:50 +05:30
Saumya 46010875d8 fix trigger import error 2025-07-28 18:05:59 +05:30
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
Marko Kraemer 460c6f16cd
Merge pull request #1104 from kortix-ai/revert-1101-revert-1092-add-gemini-api
Revert "Revert random PR merged"
2025-07-28 08:15:06 +02:00
Marko Kraemer 010f0ab426
Revert "Revert random PR merged" 2025-07-28 08:14:58 +02:00
Marko Kraemer 87727af1a6
Merge pull request #1103 from kortix-ai/revert-1102-revert-1096-add-cursor-rules
Revert "Revert "add cursor rules""
2025-07-28 08:14:40 +02:00
Marko Kraemer 3a127de226
Revert "Revert "add cursor rules"" 2025-07-28 08:14:32 +02:00