Commit Graph
357 Commits
Author SHA1 Message Date
Michael Panchenko 13a1d236dc Refactored prompt-template related code (new package interprompt) 2025-05-22 22:11:04 +02:00
Michael Panchenko 0884fc7a8c Support for multiple usage contexts and modes
The context and mode system allows for tool selection and
prompt adjustments, thus customizing the behavior of the agent
to the user's needs.
2025-05-21 19:34:11 +02:00
Michael Panchenko f9cea02674 Force added things in .serena 2025-04-26 13:43:34 +02:00
Michael Panchenko 43fe41217d Merge pull request #90 from EricAtORS/main
support uvx run
2025-04-25 20:57:50 +02:00
Eric Yen 54207027b3 support uvx run 2025-04-25 11:38:08 -07:00
Michael Panchenko d5a1754574 Merge pull request #85 from oraios/pr/84
Better fallbacks for missing keys (selectionRange etc). Download clang executable if needed
2025-04-24 14:45:05 +02:00
Michael Panchenko e10d0552d9 Better error message on wrong entry of language 2025-04-24 14:37:15 +02:00
Michael Panchenko 102ed4ba1a Multilspy: fallbacks for missing values in retrieved symbols
Better error message on missing keys in overview method
2025-04-24 14:36:54 +02:00
Michael Panchenko 0a1d9b9d6f Multilspy: download clang executable if it's not there, better logging 2025-04-24 14:35:49 +02:00
Hill 1a63192082 Add file existence check and improve encoding handling in read_file method 2025-04-24 05:05:39 +00:00
Hill 5cb291f096 Use get() method for safer access to document root properties in LanguageServer 2025-04-24 05:04:12 +00:00
Dominik Jain da3ad9ad4d Merge pull request #82 from HillLiu/main
Add checks for 'location' and 'relativePath' in fix_relative_path function
2025-04-23 12:47:51 +02:00
Dominik Jain 5d1839ddc3 Merge pull request #81 from oraios/fix/windows-machine
Add robust way of determining machine architecture on Windows
2025-04-23 12:04:21 +02:00
Dominik Jain 3fbb7a152e Add robust way of determining machine architecture on Windows using a system call #18 2025-04-23 12:04:01 +02:00
Hill af35f48ac1 Add checks for 'location' and 'relativePath' in fix_relative_path function 2025-04-23 09:56:09 +00:00
Michael Panchenko e51cb768db Cleanup after ai 2025-04-22 17:32:45 +02:00
Michael Panchenko 5ad8158391 Merge pull request #78 from oraios/fix-empty-docstring-description
Fix parsing of tools with missing docstring descriptions
2025-04-22 17:25:44 +02:00
openhands 4d969844c8 Update iter_tool_classes to only iterate over tools in the same module by default 2025-04-22 15:13:20 +00:00
openhands d9b90f26af Improve tests for make_tool function 2025-04-22 15:03:16 +00:00
openhands 2737dd2b3f Use empty string instead of 'No description available' for missing descriptions 2025-04-22 14:18:30 +00:00
openhands 5cc4086c4f Add BasicTool to the list of classes to skip in test_make_tool_all_tools 2025-04-22 14:14:11 +00:00
openhands 6bb0074587 Fix test_make_tool_all_tools to skip test mock classes 2025-04-22 14:12:11 +00:00
openhands f1b9b3bf3d Fix parsing of tools with missing docstring descriptions 2025-04-22 14:10:24 +00:00
Michael Panchenko 142875d338 Merge pull request #76 from sysradium/docstring-correction
fixup: add missing description to ListDir tool
2025-04-22 15:39:06 +02:00
sysradium 79fb28c54d fixup: add missing description to ListDir tool 2025-04-22 15:27:29 +02:00
Michael Panchenko 0ed4c12209 Merge pull request #73 from marcelomendoncasoares/param-descriptions
Parse parameter descriptions from docstring into MCP tool
2025-04-22 10:51:03 +02:00
Marcelo Soares 262d05fb75 Add missing update to uv.lock with new dependency 2025-04-21 23:53:51 -03:00
Marcelo Soares b007917cf2 Refactor the docstring parse to use the docstring_parser lib 2025-04-21 21:44:20 -03:00
Marcelo Soares cf029146d1 Refactor test to target the make_tool function 2025-04-21 20:50:09 -03:00
Michael Panchenko 8a71b35318 Merge pull request #74 from marcelomendoncasoares/dart-lsp-non-linux
Add missing dependencies to multilspy to run Dart LSP in Windows and MacOS
2025-04-21 16:22:06 +02:00
Marcelo Soares 51d0c76486 Add missing dependencies to run Dart LSP in Windows and MacOS 2025-04-21 09:25:53 -03:00
Marcelo Soares 46b7d79c81 Parse parameter descriptions from docstring into MCP tool 2025-04-21 09:05:30 -03:00
Michael Panchenko bce21c2861 Merge pull request #68 from oraios/prompts-and-read-only-tools
Prompts and read only tools
2025-04-19 11:02:48 +02:00
Michael Panchenko f1ee6911e7 Readme, minor 2025-04-18 21:11:10 +02:00
Michael Panchenko efb0690cf9 Minor cleanup after serena 2025-04-18 20:53:29 +02:00
Michael Panchenko 468beb8fb1 Add read-only mode with EditingTool marker class (entire change performed by Serena) 2025-04-18 20:33:46 +02:00
Michael Panchenko 2d4081ee39 Prompts 2025-04-18 20:10:01 +02:00
Michael Panchenko 5f8baf732d Make sure bodies and with newlines on symbol insertions 2025-04-18 19:34:12 +02:00
Michael Panchenko 0dbb809d25 Hotfix: off by one in symbol body 2025-04-18 18:54:27 +02:00
Michael Panchenko 529e223f5a Readme: adjusted troubleshooting section (stability issues are essentially solved) 2025-04-17 12:12:02 +02:00
Michael Panchenko a7d3201d33 Missing annotation, minor 2025-04-17 11:51:29 +02:00
Michael Panchenko 30643228d0 Allow starting mcp as sse server, using click for args parsing 2025-04-17 11:48:46 +02:00
Michael Panchenko c6d0fb9f37 Warning on goose not cleaning up MCP servers 2025-04-17 11:39:10 +02:00
Michael Panchenko 536862b884 Merge branch 'main' of github.com:oraios/serena 2025-04-16 22:58:30 +02:00
Michael Panchenko eb6fd44a76 Docs on Serena in goose, extended section on IDEs 2025-04-16 22:58:09 +02:00
Michael Panchenko b2d10bedfb Merge pull request #61 from oraios/fix/ignored-path-handling
Fix handling of ignored paths
2025-04-16 20:54:07 +02:00
Dominik Jain 9e00803387 ListDirTool: Ignore files that are explicitly ignored by the user's configuration
(but skip the 'is source file' filter of the language server)
2025-04-16 20:50:23 +02:00
Michael Panchenko 7b92fa064a Merge pull request #60 from oraios/exception-display
Improve handling of fatal exceptions
2025-04-16 12:36:13 +02:00
Dominik Jain b6f3843e9f Improve handling of fatal exceptions (as showing the GUI, even on the main thread, can fail),
making sure that the error is furthermore logged or at least written to stderr
2025-04-16 12:05:02 +02:00
Dominik Jain e3ed9c1067 Fix handling of ignored paths in ListDirTool:
Do not limit results to files not ignored by the LanguageServer,
but retain ignoring of ignored directories

Improve handling of ignored paths in LanguageServer:
  * Improve method naming:
     * should_always_ignore -> is_ignored_dirname
     * should_ignore_path -> is_ignored_path
  * Fix is_ignored_dirname (should_always_ignore) being applied to filenames
  * Add option ignore_unsupported_files to is_ignored_path to improve versatility
2025-04-16 11:40:34 +02:00