Commit 490b50f
committed
refactor(code-interpreter): improve code quality and fix issues
- Extract getMimeType to shared utility to reduce code duplication
- Fix security issue: escape single quotes in E2B driver env variable injection
- Add CodeInterpreterTool to ToolProviderService for consistency
- Create buildExecutionState helper to reduce duplicated state object construction
- Add DEFAULT_CODE_INTERPRETER_TIMEOUT_MS constant
- Fix lingui warning by extracting filename variable
- Fix TypeScript errors: use theme.background.transparent.success/danger
- Remove trailing empty lines from new files1 parent 0ed5dce commit 490b50f
File tree
70 files changed
+2967
-138
lines changed- packages
- twenty-front/src
- locales
- modules/ai/components
- twenty-server/src
- engine
- core-modules
- code-interpreter
- drivers
- interfaces
- utils
- skills/skills
- tool-provider
- interfaces
- providers
- services
- tool
- tools
- code-interpreter-tool
- types
- http-tool
- search-help-center-tool
- send-email-tool
- types
- workflow/resolvers
- guards
- metadata-modules/ai
- ai-agent-execution
- services
- utils
- ai-chat
- services
- utils
- modules/workflow/workflow-executor/workflow-actions
- twenty-ui/src/display
- icon/components
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
70 files changed
+2967
-138
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2043 | 2043 | | |
2044 | 2044 | | |
2045 | 2045 | | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
2046 | 2051 | | |
2047 | 2052 | | |
2048 | 2053 | | |
| |||
2120 | 2125 | | |
2121 | 2126 | | |
2122 | 2127 | | |
| 2128 | + | |
2123 | 2129 | | |
2124 | 2130 | | |
2125 | 2131 | | |
| |||
2370 | 2376 | | |
2371 | 2377 | | |
2372 | 2378 | | |
| 2379 | + | |
| 2380 | + | |
| 2381 | + | |
| 2382 | + | |
| 2383 | + | |
2373 | 2384 | | |
2374 | 2385 | | |
2375 | 2386 | | |
| |||
2385 | 2396 | | |
2386 | 2397 | | |
2387 | 2398 | | |
| 2399 | + | |
| 2400 | + | |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
2388 | 2404 | | |
2389 | 2405 | | |
2390 | 2406 | | |
| |||
3419 | 3435 | | |
3420 | 3436 | | |
3421 | 3437 | | |
| 3438 | + | |
| 3439 | + | |
| 3440 | + | |
| 3441 | + | |
| 3442 | + | |
| 3443 | + | |
3422 | 3444 | | |
3423 | 3445 | | |
3424 | 3446 | | |
| |||
4323 | 4345 | | |
4324 | 4346 | | |
4325 | 4347 | | |
| 4348 | + | |
4326 | 4349 | | |
4327 | 4350 | | |
4328 | 4351 | | |
| |||
4685 | 4708 | | |
4686 | 4709 | | |
4687 | 4710 | | |
| 4711 | + | |
| 4712 | + | |
| 4713 | + | |
| 4714 | + | |
| 4715 | + | |
4688 | 4716 | | |
4689 | 4717 | | |
4690 | 4718 | | |
| |||
6640 | 6668 | | |
6641 | 6669 | | |
6642 | 6670 | | |
| 6671 | + | |
| 6672 | + | |
| 6673 | + | |
| 6674 | + | |
| 6675 | + | |
6643 | 6676 | | |
6644 | 6677 | | |
6645 | 6678 | | |
| |||
7105 | 7138 | | |
7106 | 7139 | | |
7107 | 7140 | | |
| 7141 | + | |
| 7142 | + | |
| 7143 | + | |
| 7144 | + | |
| 7145 | + | |
| 7146 | + | |
7108 | 7147 | | |
7109 | 7148 | | |
7110 | 7149 | | |
| |||
7550 | 7589 | | |
7551 | 7590 | | |
7552 | 7591 | | |
| 7592 | + | |
| 7593 | + | |
| 7594 | + | |
| 7595 | + | |
| 7596 | + | |
7553 | 7597 | | |
7554 | 7598 | | |
7555 | 7599 | | |
| |||
7989 | 8033 | | |
7990 | 8034 | | |
7991 | 8035 | | |
| 8036 | + | |
| 8037 | + | |
| 8038 | + | |
| 8039 | + | |
| 8040 | + | |
7992 | 8041 | | |
7993 | 8042 | | |
7994 | 8043 | | |
| |||
10147 | 10196 | | |
10148 | 10197 | | |
10149 | 10198 | | |
| 10199 | + | |
| 10200 | + | |
| 10201 | + | |
| 10202 | + | |
| 10203 | + | |
10150 | 10204 | | |
10151 | 10205 | | |
10152 | 10206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2043 | 2043 | | |
2044 | 2044 | | |
2045 | 2045 | | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
2046 | 2051 | | |
2047 | 2052 | | |
2048 | 2053 | | |
| |||
2120 | 2125 | | |
2121 | 2126 | | |
2122 | 2127 | | |
| 2128 | + | |
2123 | 2129 | | |
2124 | 2130 | | |
2125 | 2131 | | |
| |||
2370 | 2376 | | |
2371 | 2377 | | |
2372 | 2378 | | |
| 2379 | + | |
| 2380 | + | |
| 2381 | + | |
| 2382 | + | |
| 2383 | + | |
2373 | 2384 | | |
2374 | 2385 | | |
2375 | 2386 | | |
| |||
2385 | 2396 | | |
2386 | 2397 | | |
2387 | 2398 | | |
| 2399 | + | |
| 2400 | + | |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
2388 | 2404 | | |
2389 | 2405 | | |
2390 | 2406 | | |
| |||
3419 | 3435 | | |
3420 | 3436 | | |
3421 | 3437 | | |
| 3438 | + | |
| 3439 | + | |
| 3440 | + | |
| 3441 | + | |
| 3442 | + | |
| 3443 | + | |
3422 | 3444 | | |
3423 | 3445 | | |
3424 | 3446 | | |
| |||
4323 | 4345 | | |
4324 | 4346 | | |
4325 | 4347 | | |
| 4348 | + | |
4326 | 4349 | | |
4327 | 4350 | | |
4328 | 4351 | | |
| |||
4685 | 4708 | | |
4686 | 4709 | | |
4687 | 4710 | | |
| 4711 | + | |
| 4712 | + | |
| 4713 | + | |
| 4714 | + | |
| 4715 | + | |
4688 | 4716 | | |
4689 | 4717 | | |
4690 | 4718 | | |
| |||
6640 | 6668 | | |
6641 | 6669 | | |
6642 | 6670 | | |
| 6671 | + | |
| 6672 | + | |
| 6673 | + | |
| 6674 | + | |
| 6675 | + | |
6643 | 6676 | | |
6644 | 6677 | | |
6645 | 6678 | | |
| |||
7105 | 7138 | | |
7106 | 7139 | | |
7107 | 7140 | | |
| 7141 | + | |
| 7142 | + | |
| 7143 | + | |
| 7144 | + | |
| 7145 | + | |
| 7146 | + | |
7108 | 7147 | | |
7109 | 7148 | | |
7110 | 7149 | | |
| |||
7550 | 7589 | | |
7551 | 7590 | | |
7552 | 7591 | | |
| 7592 | + | |
| 7593 | + | |
| 7594 | + | |
| 7595 | + | |
| 7596 | + | |
7553 | 7597 | | |
7554 | 7598 | | |
7555 | 7599 | | |
| |||
7989 | 8033 | | |
7990 | 8034 | | |
7991 | 8035 | | |
| 8036 | + | |
| 8037 | + | |
| 8038 | + | |
| 8039 | + | |
| 8040 | + | |
7992 | 8041 | | |
7993 | 8042 | | |
7994 | 8043 | | |
| |||
10147 | 10196 | | |
10148 | 10197 | | |
10149 | 10198 | | |
| 10199 | + | |
| 10200 | + | |
| 10201 | + | |
| 10202 | + | |
| 10203 | + | |
10150 | 10204 | | |
10151 | 10205 | | |
10152 | 10206 | | |
| |||
0 commit comments