Commit Graph
147 Commits
Author SHA1 Message Date
Dominik JainandDominik Jain 5fbed403c9 Update imports in test 2025-07-02 18:44:06 +02:00
Dominik JainandDominik Jain 8577616436 Simplify configuration management, unifying SerenaConfigBase and SerenaConfig
and removing other subclasses
2025-07-02 16:09:25 +02:00
Dominik JainandDominik Jain 49515d6235 Remove process isolation (SerenaMCPFactoryWithProcessIsolation, ProcessIsolatedSerenaAgent, etc.) 2025-07-02 12:20:41 +02:00
Michael Panchenko 463ea2e4a7 ruff, minor 2025-07-01 14:46:52 +02:00
Michael PanchenkoandGitHub b3f2f168ea Merge pull request #263 from oraios/fix_file_ignores_and_pattern_search
Fix file ignores and pattern search
2025-07-01 14:23:53 +02:00
Michael Panchenko 6c670f54bd Fix in clojure tests: skipif needs a boolean, not a string 2025-07-01 14:23:22 +02:00
Tom LonghurstandGitHub cfe3350c34 Fix C# Language Server (#262)
Now when the language server starts, the initialisation will scan for solution or project files, and then pass them to the language server instructing it to open them. Which in-turn should give us all the nice context since the code is actually being 'loaded' up properly now.
2025-06-30 22:39:44 +02:00
Michael Panchenko 4d3281b7e7 Simplify search_text interface and handling of patterns 2025-06-30 21:17:28 +02:00
Dominik Jain 0d9fb0a196 Formatting 2025-06-29 16:44:37 +02:00
Dominik Jain 974fe95987 Revert "Don't use shell=True on windows, typos"
This reverts commit 548c7b0d2a.
2025-06-29 16:36:01 +02:00
Michael Panchenko 548c7b0d2a Don't use shell=True on windows, typos 2025-06-29 15:35:56 +02:00
Michael Panchenko 0f205013c3 Merge branch 'main' into feature/csharp-language-server 2025-06-29 13:53:50 +02:00
Miguel de Benito Delgado 254526d80d Test serena tools find symbol and find symbol references for clojure 2025-06-29 10:43:14 +02:00
Miguel de Benito Delgado 3bd8c4a944 Factor a couple of constants for clojure tests out 2025-06-29 10:41:17 +02:00
Michael Panchenko 0ea317bd33 Restructured C# tests to be like the other tests 2025-06-29 01:00:43 +02:00
Michael Panchenko e21fb40376 Missing pytest mark 2025-06-29 00:24:32 +02:00
Michael Panchenko 3d4dba77bd Formatting, minor ruff fixes 2025-06-28 23:42:44 +02:00
07118e6fd6 Move serena.sln to C# test resources directory
Relocates the solution file to test/resources/repos/csharp/
to organize C# test assets and keep the root directory clean.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-28 23:42:44 +02:00
Miguel de Benito Delgado d097171a1a Use pathlib in tests 2025-06-28 21:16:21 +02:00
Miguel de Benito Delgado b95cc78cbd Cosmetic 2025-06-28 20:48:50 +02:00
Miguel de Benito Delgado 151df419ae Skip clojure tests on incompatible or missing cli 2025-06-28 20:37:29 +02:00
Miguel de Benito Delgado f24ee42592 De-fluff 2025-06-28 14:00:21 +02:00
Miguel de Benito Delgado 5cedba39e3 Finish renaming and moving files after move to solidlsp 2025-06-28 11:45:47 +00:00
Miguel de Benito Delgado 3fe2825538 Merge branch 'main' into feature/clojure-lsp 2025-06-28 11:27:17 +00:00
Miguel de Benito Delgado 528f037501 Additional basic tests for clojure 2025-06-28 11:11:08 +00:00
Miguel de Benito Delgado b58b3de0a2 Test basic clojure support 2025-06-28 09:16:47 +00:00
Miguel de Benito Delgado b8436c5c4a Add clojure test repo 2025-06-28 08:37:41 +00:00
Claude AssistantandClaude 723b7cb175 Fix C# language server startup and test configuration
- Add required --stdio flag for Microsoft.CodeAnalysis.LanguageServer
- Add required --extensionLogDirectory parameter to avoid startup failure
- Fix test fixture to properly start/stop language server
- Remove skip markers from C# tests to enable testing
- Return cache_dir from setup_runtime_dependencies for log directory creation

The language server now starts successfully and the first test passes.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-25 23:49:54 +01:00
Claude Assistant 2a77363cdf chore: Remove and gitignore C# build artifacts
- Delete obj/ and bin/ directories from test project
- Add .gitignore for C# test project to exclude build artifacts
- Prevents committing build files, temporary files, and NuGet packages
2025-06-25 23:21:41 +01:00
Claude Assistant 57e30aec57 Replace OmniSharp with Microsoft.CodeAnalysis.LanguageServer
- Implemented new CSharpLanguageServer class using Microsoft's official C# language server
- Downloads Microsoft.CodeAnalysis.LanguageServer NuGet package (requires .NET 9)
- Supports direct download from NuGet API with fallback to package managers
- Uses platform-specific runtime packages (linux-x64, win-x64, osx-x64, etc.)
- Caches downloaded language server in ~/.cache/serena/language-servers/csharp/
- Added basic tests for C# language server functionality
- Updated SolidLanguageServer.create to use new implementation
- Removed old OmniSharp implementation

Note: Full language server tests are skipped as they require .NET 9 runtime
2025-06-25 22:56:17 +01:00
Claude Assistant d44ea9c6e5 Fix remaining import errors in CSharpLanguageServer
- Change from solidlsp.exceptions to solidlsp.ls_exceptions
- Change from solidlsp.logger to solidlsp.ls_logger

These modules follow the ls_ prefix convention used throughout the solidlsp package.
2025-06-25 22:27:24 +01:00
Tom Longhurst eb8b118d62 Initial Commit 2025-06-25 22:01:46 +01:00
Dominik Jain 725f252152 Merge branch 'main' of github.com:oraios/serena 2025-06-23 20:47:59 +02:00
Dominik Jain 719a2c55a8 Update references to multilspy and update READMEs 2025-06-23 20:47:27 +02:00
Michael Panchenko 365a4e353a Merge branch 'main' into editing-improvements 2025-06-23 20:31:21 +02:00
Dominik Jain f182db59e3 Rename language server modules and classes 2025-06-23 17:46:58 +02:00
Dominik Jain 05a7d438bc Update language server imports to no longer use renames 2025-06-23 17:11:26 +02:00
Dominik Jain e60d42211a Update language server instantiation to always use SolidLanguageServer 2025-06-23 17:03:36 +02:00
Dominik Jain 1bdc024040 Change imports to use SolidLanguageServer instead of SyncLanguageServer 2025-06-23 17:03:35 +02:00
Dominik Jain c2593a1171 Apply black & ruff to modules copied from multilspy 2025-06-23 16:34:56 +02:00
Dominik Jain 27826d89c6 Move components from multilspy to solidlsp 2025-06-23 16:25:19 +02:00
Dominik Jain b5d9488883 Update test snapshots 2025-06-23 14:43:43 +02:00
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 772bc56fc3 Update references to make_tool function in tests 2025-06-21 23:09:12 +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
Yaroslav Halchenko 64ab987e1c Ignore some lines in tests with "fo" 2025-06-19 01:25:35 -04:00
Michael Panchenko 35f2aaa5ff Fixes in glob matching, extended tests 2025-06-16 17:51:41 +02:00
Michael Panchenko 343c00f605 Fix process termination issues and allow terminating through dashboard 2025-06-15 18:31:17 +02:00
Michael Panchenko 1327c7a118 Tests for isolated agent 2025-06-15 17:47:46 +02:00