Commit Graph
339 Commits
Author SHA1 Message Date
Dominik Jain 5d935976e4 Updated multilspy sync commit identifiers (pull) 2025-06-03 17:09:17 +02:00
Dominik Jain e456c3dd71 Add timeout for tool execution 2025-06-03 14:43:34 +02:00
Dominik Jain 77019acf2b Add README on other libraries being included 2025-06-03 13:38:40 +02:00
Dominik Jain 283052818d Updated multilspy sync commit identifiers (push) 2025-06-03 13:32:55 +02:00
Dominik Jain 6d9d3adac8 multilspy 6bdf19b0fd0fa5a809e1989b334bbfe9d8a7051a
commit 6bdf19b0fd0fa5a809e1989b334bbfe9d8a7051a
  Author: Dominik Jain <dominik.jain@outlook.com>
  Date:   Tue Jun 3 13:32:46 2025 +0200

      Delete README in source package

  src/interprompt/README.md
2025-06-03 13:32:55 +02:00
Dominik Jain 298475af47 Initial sync commit ids for interprompt 2025-06-03 13:31:34 +02:00
Dominik Jain 3c0e8dc7ad Merge branch 'main' of github.com:oraios/serena 2025-06-03 12:41:04 +02:00
Dominik Jain 5ae12bcaa2 Restore simpler call mechanism with locals(), avoiding the need for forbidden params 2025-06-03 12:28:40 +02:00
Michael Panchenko 3ee5f8e900 Minor prompting, renaming and memory file handling
- Moved symbol-reading related prompt to system prompt (from planning) since it's always need
- Use relative_path as kwarg in all tools (models get confused by different kwarg names)
- Identify and list memories without .md extension appearing
2025-06-03 12:23:35 +02:00
Dominik Jain a5edf6eb2c Clean up interprompt refactoring
* Fix module name prompt_template -> multilang_prompt
  * Move prompt factory-related code to separate module prompt_factory
  * Restore correct class name: PromptCollection -> MultiLangPromptCollection
2025-06-03 12:15:38 +02:00
Michael Panchenko 464670a65e Hotfix: makedirs before yaml.dump 2025-06-03 00:14:22 +02:00
Michael Panchenko 38f33b8f86 Readme, format 2025-06-02 21:49:37 +02:00
Michael Panchenko ba6652cd74 Extended planning mode, minor extension in editing mode prompt 2025-06-02 21:37:17 +02:00
Michael Panchenko bf2573ee53 Moved dashboard to src/serena. Stopped using serena_root_path (in favor of constants.py) 2025-06-02 21:25:52 +02:00
Michael Panchenko a1e3bb19b6 Moved yamls to src/serena so that they're packaged [ci skip] 2025-06-02 20:24:29 +02:00
Michael Panchenko 3a9cde185a Better error message [ci skip] 2025-06-02 20:06:10 +02:00
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