Commit Graph
511 Commits
Author SHA1 Message Date
Michael Panchenko e038cfa188 Snapshot tests for editing, WIP
Need to look over the snapshot results to see whether they're what we expect. Also, for some reason tests are failing...
2025-05-30 00:58:02 +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 77c4d1bb0d Readme ToC 2025-05-29 23:14:26 +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
Michael Panchenko 0e5db6d6ca Config template: activate dashboard by default 2025-05-29 22:47:33 +02:00
Michael Panchenko 8703c87665 Readme, changelog
Added section on project activation and dedicated section on Configuration
Removed --project from example configs
Less mentioning of tool name collisions (seems like MCP clients have sorted that out now)
2025-05-29 22:47:07 +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
Dominik Jain 9809d0d5a4 Update README, improving the structure and consolidating duplicate content 2025-05-29 13:37:21 +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 9f9d518e69 Remove debug content 2025-05-28 20:25: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
Dominik Jain 3fda975a06 Add icons, apply as favicons for dashboard 2025-05-28 19:54:15 +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 8adb22827b Merge pull request #132 from oraios/improve-search-for-pattern-performance
Improve search for pattern performance
2025-05-28 18:24:10 +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
Michael Panchenko 0ce2f0d4d6 Hotfix: make end_line optional in SymbolLocation
We use SymbolLocation not only within responses but also within requests, where the end line is not known
2025-05-28 17:13:03 +02:00
Michael Panchenko 269d4525c2 Gitignore 2025-05-28 15:15:41 +02:00
Michael Panchenko 9d493d8aab Added base class for SerenaConfig, use in-memory config for tests
Also:
1. now the normal config will always save to disk (no longer handled by a flag in the methods)
2. the commented yaml is always loaded in the beginning (instead of loading every time on save). Has the upside of simpler code and less i/o, inisignificant "downside" of comments permanently staying in RAM
3. small improvements in typing
2025-05-28 15:11:33 +02:00
Michael Panchenko 3cbd3559ec Parallelize file processinging in search_files (WIP) 2025-05-28 11:45:36 +02:00
Michael Panchenko 225688c014 Added joblib to dependencies 2025-05-28 11:44:11 +02:00
Dominik Jain 3994ce6d35 Merge branch 'feature/self-configuration' into feature/web-server-logs 2025-05-28 11:25:09 +02:00
Dominik Jain 7b76343f59 Improve out-of-project config migration: Add project_name 2025-05-28 11:18:05 +02:00
Dominik Jain d242217c4b Add shutdown function to Serena dashboard 2025-05-28 00:03:45 +02:00
Dominik Jain d41789797b GuiLogViewer: Disable close button (minimize instead) and add shutdown function 2025-05-27 23:48:49 +02:00
Dominik Jain 533f35cf61 Allow to enable/disable the web dashboard in the configuration 2025-05-27 21:16:01 +02:00
Michael Panchenko 852a36ce18 Docstring [ci skip] 2025-05-27 17:40:16 +02:00
Michael Panchenko 6c121836bc Add end_line to serena's Symbol representation
Needed for LLMs to not attempt guessing end lines when reading symbols with non-symbolic tools
2025-05-27 17:30:55 +02:00
Dominik Jain 4d5ab9a880 execute_shell_command: Use shell=False on Windows 2025-05-27 15:24:54 +02:00
Dominik Jain 02174d789a Formatting 2025-05-27 15:24:46 +02:00