Commit Graph
744 Commits
Author SHA1 Message Date
Dominik Jain 07ea1370dc Add tests for adding a class with 'LLM-provided' leading/trailing newlines 2025-06-23 14:06:04 +02:00
Dominik Jain 3726408a6f Update editing tests 2025-06-22 23:39:13 +02:00
Dominik Jain 4a50c6ec61 Further improve InsertBefore|AfterSymbolTool by handling empty lines depending on the symbol type 2025-06-22 23:35:58 +02:00
Dominik Jain 8837635f55 Make syrupy diffs render correctly in IntelliJ/PyCharm 2025-06-22 23:16:43 +02:00
Dominik Jain 122e99e8c3 Simplify ReplaceSymbolBodyTool, making the LLM provide the indentation,
and fix the tool inserting additional line breaks (there should be no
whitespace changes whatsoever before/after the inserted content)
2025-06-22 20:08:36 +02:00
Dominik Jain 6b8b103ded TextUtils: Allow insertion in new line after full text, adding missing newline at end of file 2025-06-22 19:56:36 +02:00
Dominik Jain 654b949bde Simplify insertion logic for InsertBefore|AfterSymbolTool
(LLM provides full indentation; ensure suitable whitespace before/after)
2025-06-22 19:56:36 +02:00
Michael Panchenko f607b76a1f Hotfix: missing src/solidlsp in pyproject.toml 2025-06-22 12:57:39 +02:00
Dominik Jain 3d2b1e1449 Configure black/ruff exclusions in tool sections instead of in command lines 2025-06-22 12:20:38 +02:00
Dominik Jain 8a1b8606c7 Reintroducd 'type: ignore' annotation required on Windows only (and generally allow unused 'type: ignore') 2025-06-22 12:13:04 +02:00
Michael PanchenkoandGitHub a98844f9bd Merge pull request #211 from oraios/solid-lsp
Add fully synchronous language server implementation (solidlsp)
2025-06-22 12:00:51 +02:00
Michael Panchenko d680c83f76 Fixing more minor typing issues 2025-06-22 11:58:00 +02:00
Dominik Jain c2eabde324 Merge branch 'solid-lsp' of github.com:oraios/serena into solid-lsp 2025-06-22 11:50:15 +02:00
Dominik Jain 38b138bb47 Fix mypy issues 2025-06-22 11:49:47 +02:00
Michael PanchenkoandClaude 8958a2f641 Add comprehensive solid-lsp architecture memory
Documents the solid-lsp implementation as a deadlock-resistant replacement
for multilspy, designed to solve asyncio contamination issues in MCP environments.

Key points covered:
- Root cause analysis of multilspy deadlocks
- Solid-lsp architectural improvements
- Process isolation no longer needed
- Language server compatibility
- Migration strategy

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22 11:34:11 +02:00
Dominik Jain 34d844506f Update change log 2025-06-22 10:43:20 +02:00
Dominik Jain 78355f347a Merge branch 'main' into solid-lsp 2025-06-22 10:34:04 +02:00
Dominik Jain 383a509370 Release 2025-06-20 2025-06-22 10:23:18 +02:00
Dominik Jain ceae28d286 Fix hanging of tool executions that use shell execution #212
Affected ExecuteShellCommandTool and GetCurrentConfigTool (because of git status).
Solution: Adjust parameters for subprocess creation
2025-06-22 01:19:02 +02:00
Dominik Jain 772bc56fc3 Update references to make_tool function in tests 2025-06-21 23:09:12 +02:00
Dominik Jain 5ae127722f Prevent Flask from printing a startup message 2025-06-21 21:46:43 +02:00
Dominik Jain e32caeb9d6 Disable werkzeug logs 2025-06-21 21:46:43 +02:00
SerenaandDominik Jain c3bb2e3d77 Change dashboard to use Flask instead of fastapi 2025-06-21 21:46:43 +02:00
Dominik Jain a2855bb8f9 Adapt JediServer to solidlsp 2025-06-21 21:36:32 +02:00
Dominik Jain d2c13fc081 Add MCP factory which runs the agent and its LS in the same process again
(isolation no longer required when using solidlsp)
2025-06-21 21:36:32 +02:00
Dominik Jain aba7184e27 Fix project activation by name not working anymore #210 2025-06-21 21:36:32 +02:00
Dominik Jain 75354a30ca Refactoring of MCP creation, introducing SerenaMCPFactory 2025-06-21 20:18:11 +02:00
Dominik Jain ac172dcab6 Add global flag USE_SOLID_LSP to switch from multilspy to solidlsp 2025-06-21 20:10:11 +02:00
Dominik Jain 241d3c2346 Fix too general exception handler for error during project activation 2025-06-21 15:43:52 +02:00
Dominik Jain b44424a54b Make timeout parameter optional 2025-06-21 15:40:46 +02:00
Dominik Jain 027edf5b4d Adapt DartLanguageServer to solidlsp 2025-06-21 15:40:46 +02:00
Dominik Jain 50116962a0 Adapt ClangdLanguageServer to solidlsp 2025-06-21 15:40:46 +02:00
Dominik Jain ddfa68b4da Adapt Solargraph to solidlsp 2025-06-21 15:40:46 +02:00
Dominik Jain 1bbd5b82ac Adapt Gopls to solidlsp 2025-06-21 15:40:46 +02:00
Dominik Jain 2c1c26ae3f Adapt TypeScriptLanguageServer to solidlsp 2025-06-21 15:40:46 +02:00
Dominik Jain cf7e4eadcc Adapt RustAnalyzer to solidlsp 2025-06-21 15:40:46 +02:00
Dominik Jain befd13b0ea Adapt OmniSharp to solidlsp 2025-06-21 15:40:46 +02:00
Dominik Jain a271dbc818 Adapt KotlinLanguageServer to solidlsp 2025-06-21 15:40:46 +02:00
Dominik Jain ce6a68080a Adapt EclipseJDTLS to solidlsp 2025-06-21 14:59:36 +02:00
Dominik Jain 0a800d0606 Adapt Pyright and Intelephense servers to solidlsp 2025-06-21 14:29:19 +02:00
Dominik Jain 2a60b71047 Complete interface for server stop/start 2025-06-21 14:13:20 +02:00
Dominik Jain a43d0aa021 Add language server implementations from multilspy (unmodified) 2025-06-21 14:13:20 +02:00
Dominik Jain de466ef6a9 Initial implementation of fully synchronous language server (SolidLanguageServer)
with working PyRight implementation
2025-06-21 14:13:20 +02:00
Dominik Jain 2f607ff2b0 Add package solidlsp with copies of classes from multilspy (unmodified) 2025-06-21 11:43:53 +02:00
Dominik Jain 162d3c81d3 Move instructions on SSE mode to the proper place 2025-06-20 22:36:34 +02:00
Dominik Jain 023727c8f3 Restore backward compatibility with old project configurations,
constructing ProjectConfig in a safe manner
2025-06-20 17:47:48 +02:00
Dominik Jain 018ad7ef66 Fix .env files in user projects potentially affecting fastmcp Settings #200 2025-06-20 17:19:39 +02:00
Dominik Jain 5eb5930cbc Improve README structure
Remove obsolete section on Goose
2025-06-20 15:38:19 +02:00
Dominik Jain 09d008fc91 Simplify and speed up GitignoreParser._find_gitignore_files 2025-06-20 14:01:25 +02:00
Michael PanchenkoandGitHub becb6ee184 Merge pull request #180 from yarikoptic/enh-codespell
Add codespell support (config, workflow to detect/not fix) and make it fix some typos
2025-06-19 11:27:27 +02:00