Commit Graph
1179 Commits
Author SHA1 Message Date
Dominik Jain bb0e944b6d Rename LanguageServerException -> SolidLSPException
(making clear that the exception originates from the proxy framework of SolidLSP)
2025-07-27 23:09:17 +02:00
Dominik Jain 9368ce446c Rename Error -> LSPError 2025-07-27 23:07:54 +02:00
Dominik Jain a15833b22d Improve error handling in language server communication
* Introduce appropriate exceptions that allow errors to be sufficiently
    identified
  * If an error occurs in the read thread of the LS output stream,
    cancel all pending requests, setting an appropriate error
  * Propagate error information all the way to the original caller
    (in the tool code): If errors are due to LS termination,
    restart the server and retry
2025-07-27 23:07:21 +02:00
Dominik Jain 6fbea2dfe9 Remove obsolete termination handling 2025-07-27 13:31:49 +02:00
Dominik Jain 0e89040718 Use strategy pattern instead of higher-order function in LanguageServerRequest 2025-07-27 13:27:36 +02:00
Dominik Jain f55eb0c9b4 Add type annotations 2025-07-27 13:26:42 +02:00
Michael Panchenko f64768e99c Merge pull request #364 from tiennm99/main
docs(readme): fix wrong sse url
2025-07-27 11:54:13 +02:00
tiennm99 a8078bbc52 docs(readme): fix wrong sse url 2025-07-27 16:01:03 +07:00
Dominik Jain 9c83cf74f4 Further improve logging of dependency installation 2025-07-27 11:00:40 +02:00
Dominik Jain bc621bb3a5 Improve logging of LS installations 2025-07-26 22:08:19 +02:00
MischaPanch cc2ac85163 CLI: remove multiple=True (misunderstood purpose in last commit) [ci skip] 2025-07-26 14:36:10 +02:00
MischaPanch 6e5f3d7165 CLI: allow -n for --name. Formatting. [ci skip] 2025-07-26 14:29:33 +02:00
MischaPanch 741bb31547 Merge remote-tracking branch 'origin/main' 2025-07-26 14:18:21 +02:00
MischaPanch ce8356df2d CLI: command for listing tools [ci skip] 2025-07-26 14:18:14 +02:00
Michael Panchenko 3748c7e3fc Merge pull request #351 from jaens/fix-gitignore-parsing
Fix gitignore parsing for anchored patterns and escaped characters
2025-07-25 12:54:28 +02:00
Dominik Jain ffca3478b7 Add file logging 2025-07-25 12:43:52 +02:00
Jaen dcaf9ec992 Add test for escaped negation pattern parsing
Test demonstrates the fix for escaped character handling order:
- Escaped negation patterns are treated as literals, not negations
- Real negation patterns properly override ignore rules
2025-07-24 23:43:21 +03:00
Jaen ba8f07d836 Fix gitignore anchored pattern logic and update test
- Use correct anchoring logic: only patterns starting with '/' are anchored
- Fix test expectation for negation patterns to match Git behavior
- Apply code formatting
2025-07-24 23:35:54 +03:00
Jaen 1d65c85485 Fix gitignore parsing for anchored patterns and escaped characters
- Move escaped character handling after negation pattern detection
- Fix is_anchored logic to only check for leading "/" instead of any "/"
- Properly remove directory markers with removesuffix("/")

Addresses gitignore parsing issues mentioned in #348
2025-07-24 23:23:28 +03:00
Michael Panchenko e49dbdc737 Merge pull request #349 from oraios/improve_search_for_nonignored_files
Improved performance of find_all_non_ignored_files
2025-07-24 19:48:05 +02:00
MischaPanch 81615c4176 Always ignore paths in .git 2025-07-24 19:45:24 +02:00
Bingbing Zhang 0abb8be85a Adds request_document_diagnostic to solidlsp (#347) 2025-07-24 19:10:53 +02:00
MischaPanch 25139d1d74 Improved performance of find_all_non_ignored_files by not descending into ignored dirs 2025-07-24 19:02:33 +02:00
MischaPanch 2909c67d50 Dashboard: minor fix, use 0.0.0.0 in port search instead of localhost
Possible related to docker on WSL issues
2025-07-24 00:35:11 +02:00
Dominik Jain f2b01a0573 GitignoreParser.should_ignore: Always ignore paths outside of the repository root #330 2025-07-23 15:57:06 +02:00
Dominik Jain aa52c6cfe0 Update uv.lock 2025-07-23 15:55:17 +02:00
Dominik Jain 9e629de894 Log full traceback for startup project activation error 2025-07-22 23:39:32 +02:00
MischaPanch 72afbc469c Changelog [ci skip] 2025-07-22 10:15:26 +02:00
MischaPanch 6094b0fda7 Bump version (0.1.2 wheel is broken) 2025-07-22 00:07:40 +02:00
Dominik Jain 4cf5895304 Fix source folders (full relative path required by uv) 2025-07-21 16:35:50 +02:00
MischaPanch 5a8e1e2ec8 Bump in changelog [ci skip] 2025-07-21 15:47:24 +02:00
MischaPanch 4623b98feb Fixed hatchling build section, bumped version 2025-07-21 15:42:47 +02:00
MischaPanch 6eb9ed2881 Bumped version 2025-07-21 15:33:16 +02:00
MischaPanch ab48ffff5c Removed anthropic from dev requirements, it's already in main
Leads to anthropic missing from the built package for some reason
2025-07-21 15:32:16 +02:00
MischaPanch 0b479d6936 GH: minor fix in publish.yml 2025-07-21 15:25:43 +02:00
MischaPanch 8b3b2fe433 Set version to 0.1.0, changelog [ci skip] 2025-07-21 15:18:44 +02:00
Dominik Jain 8fca531e7a Moved assertion to the right place 2025-07-21 11:53:10 +02:00
MischaPanch 21c26b52f8 Raised log to warning if LS can't parse a code file 2025-07-21 11:41:29 +02:00
MischaPanch 80a6136323 Uv lock 2025-07-21 11:38:41 +02:00
Dominik Jain 8e8c8f8875 Handle None response to document_symbols request (just return empty lists) 2025-07-21 11:29:41 +02:00
Michael Panchenko bfaae538f6 Merge pull request #321 from oraios/capture-startup-logs
Capture startup logs and other logging improvements
2025-07-21 10:38:50 +02:00
Dominik Jain 99024b8cc5 Add abstraction RegisteredProject, which serves as a factory for Project
(allowing projects to be lazy-loaded)
2025-07-20 19:24:24 +02:00
Dominik Jain ec0ae570a5 Fix Dashboard not being opened in browser with MCP server active
(join on subprocess is necessary in fastmcp context but isn't without it)
2025-07-20 18:55:21 +02:00
Dominik Jain 3799b80266 Remove obsolete status messages 2025-07-20 18:39:36 +02:00
Dominik Jain cbd2184fdd Initialize stderr stream logger early
and make the fastmcp configuration function do nothing if log handlers already exist
2025-07-20 18:39:20 +02:00
Dominik Jain 318f7124a3 Capture startup logs (and display them in GUI viewer and/or dashboard)
* Create a memory log handler that captures them
  * Make both dashboard & GUI build on the same type of handler
2025-07-20 17:58:19 +02:00
Michael Panchenko 992d4927b8 GH workflow fü release to pypi 2025-07-20 14:12:45 +02:00
Dominik Jain 2f82a9eb33 Log project config creation time 2025-07-20 12:58:26 +02:00
Dominik Jain 62cce5d66a Update deprecation info 2025-07-20 11:59:46 +02:00
Dominik Jain 820525fe13 Merge pull request #305 from oraios/jetbrains
Add multi-instance support for JetBrains mode
2025-07-20 00:01:20 +02:00