Michael Panchenko
94befeb995
Prompting, minor
2025-06-02 19:42:46 +02:00
Michael Panchenko
604cd6ec95
Merge branch 'main' into uvx-setup
2025-06-02 19:39:44 +02:00
Dominik Jain
688e8c35b1
Revert "Config handling: autogenerate project.yml when path to project was entered manually"
...
This reverts commit c763ab1ffe .
2025-06-02 15:52:32 +02:00
Michael Panchenko
e944dca0cc
Autogenerate serena_config.yml if it's missing
2025-06-02 14:41:44 +02:00
Michael Panchenko
8108f8cd28
Allow overriding config entries by passing args
2025-06-02 14:37:21 +02:00
Michael Panchenko
c763ab1ffe
Config handling: autogenerate project.yml when path to project was entered manually
...
We should not assume that a project is not available just if the project.yml is missing, since a user might have added a path manually without creating the project.yml
2025-06-02 13:58:33 +02:00
Michael Panchenko
37ee90ae41
Fix indentation in replace_body
2025-06-02 00:43:11 +02:00
Michael Panchenko
5392d37630
Prompting, tool descriptions. Overview tool no longer returns location info
2025-06-02 00:27:46 +02:00
Michael Panchenko
950caaf91c
Add and use use_same_indentation flag to body-replacement
2025-06-01 23:26:11 +02:00
Michael Panchenko
03dc1d62b9
Merge branch 'main' into better-symbolic-editing
2025-06-01 22:35:45 +02:00
Michael Panchenko
a8cd093fd7
Typing
2025-06-01 19:28:08 +02:00
Michael Panchenko
8c264897ba
Deleted ReplaceTextSpanTool. Extended prompting to make ReplaceRegexTool work
...
The editing mode now disabled line-based editing tools. These tools may be completely removed in the future
2025-06-01 19:27:34 +02:00
Dominik Jain
6df313028f
Add new text replacement tools: ReplaceRegexTool, ReplaceTextSpanTool
2025-06-01 10:49:10 +02:00
Dominik Jain
99ade87f16
Do not prevent startup when passing non-existent project
2025-05-31 18:14:01 +02:00
Michael Panchenko
fe6a7d04f4
Major: replace location-based symbol referencing by name_path based
...
Also:
1. find_references now cannot return bodies, instead content around the reference is included
2. find_reference_snippets tool removed since it's no longer necessary
2025-05-31 14:03:45 +02:00
Michael Panchenko
6cd4356a97
LS: finding symbol references now also includes the references' locations
2025-05-31 14:02:15 +02:00
Michael Panchenko
873c5bda3c
Merge branch 'main' into better-symbolic-editing
2025-05-31 12:37:44 +02:00
Michael Panchenko
5fee09a35f
Respect all gitignores when parsing project for finding language
2025-05-30 20:30:16 +02:00
Dominik Jain
8009e86310
Merge branch 'main' of github.com:oraios/serena into main
2025-05-30 18:51:12 +02:00
Dominik Jain
3ef45d20da
Add FindFileTool
2025-05-30 18:50:42 +02:00
Michael Panchenko
6224cd21f1
Config fix: don't crash when project was added but project.yml is missing
2025-05-30 18:50:26 +02:00
Dominik Jain
638a0517ce
Hotfix: is_ignored_file not being passed on in scan_directory
2025-05-30 18:50:06 +02:00
Michael Panchenko
9807efb8ab
Merge branch 'feature/web-server-logs' into better-symbolic-editing
...
Conflicts:
scripts/demo_run_tools.py
2025-05-29 23:17:50 +02:00
Michael Panchenko
37ccf785e7
Typing, minor
2025-05-29 23:03:32 +02:00
Michael Panchenko
5bd9c5b69e
Autogenerated project.yaml now uses the template and includes the comments
2025-05-29 23:02:32 +02:00
Dominik Jain
e9d10fde19
Remove dry_run and overloads from remaining editing methods
...
Add corresponding test classes and test cases (not yet working)
2025-05-29 19:11:43 +02:00
Dominik Jain
bed72f417a
Add test case abstraction for editing tests
...
Add implementation for "delete symbol", removing unnecessary dry-run
flag and overloads from the implementation
2025-05-29 18:15:07 +02:00
Dominik Jain
27b9dd0f9b
Merge branch 'feature/web-server-logs' into better-symbolic-editing
2025-05-29 15:07:07 +02:00
Dominik Jain
30e7cc62d0
Merge branch 'main' into better-symbolic-editing
2025-05-29 15:06:25 +02:00
Dominik Jain
7c619b7511
Merge branch 'main' into feature/web-server-logs
2025-05-29 15:06:14 +02:00
Dominik Jain
68c64e7e11
Add body location (start/end line) to Symbol dictionary representation (if location enabled)
2025-05-29 14:49:54 +02:00
Dominik Jain
ba7ec5f0c2
Revert "Add end_line to serena's Symbol representation"
...
This reverts commit 6c121836bc .
2025-05-29 14:35:51 +02:00
Dominik Jain
f4f6e8fbbe
Revert "Hotfix: fix equality check of SymbolLocation"
...
This reverts commit ba1a613bc9 .
2025-05-29 14:31:38 +02:00
Michael Panchenko
0f18385f4c
Better handling of lines and columns at insertions
2025-05-29 14:10:12 +02:00
Dominik Jain
2616c99af1
Merge remote-tracking branch 'origin/main' into feature/web-server-logs
2025-05-29 14:04:27 +02:00
Michael Panchenko
bd0923a2d3
Refactoring: move out editing methods from LS to TextUtils
...
Now these methods can be used in dry-run mode, assuring there is no logic duplication
2025-05-29 13:37:10 +02:00
Michael Panchenko
ba1a613bc9
Hotfix: fix equality check of SymbolLocation
2025-05-29 12:18:42 +02:00
Michael Panchenko
3ba4c0c721
Added dry-run mode for editing operations
2025-05-28 23:56:27 +02:00
Dominik Jain
61d9568a97
Apply icon in GUI
...
Remove duplicate serena-logs image (use the one in dashboard/,
reserve resources/ to source formats only)
2025-05-28 20:13:36 +02:00
Dominik Jain
4b80aed99b
Merge branch 'feature/web-server-logs' of github.com:oraios/serena into feature/web-server-logs
...
Conflicts:
src/serena/agent.py
2025-05-28 19:56:04 +02:00
Michael Panchenko
b9764fce67
Symbol: added find, insert, replace and delete by name. Also added delete by location.
...
Renamed name to name_path
2025-05-28 19:53:59 +02:00
Michael Panchenko
d8cad28246
Typing
2025-05-28 19:45:55 +02:00
Michael Panchenko
bcbdf79534
Better error message on missing language in autogenerated config
...
Also comment in template
2025-05-28 19:06:03 +02:00
Michael Panchenko
d289ce2f77
Allow passing project by name at mcp server startup
2025-05-28 18:54:53 +02:00
Michael Panchenko
41df16a0d5
Merge branch 'main' into feature/web-server-logs
2025-05-28 18:37:12 +02:00
Michael Panchenko
d13ced7583
Docstring [ci skip]
2025-05-28 18:26:38 +02:00
Michael Panchenko
c605b1adf5
Typing
2025-05-28 17:55:20 +02:00
Michael Panchenko
8c83838d52
Merge branch 'main' into improve-search-for-pattern-performance
2025-05-28 17:53:25 +02:00
Michael Panchenko
ad753d308c
Massively sped up search_files by parallelizing reading of files
...
Used multithreading for executing file_reader
2025-05-28 17:53:11 +02:00
Michael Panchenko
e4453b73e2
LS: massively sped up request_parsed_files
2025-05-28 17:51:18 +02:00