Commit Graph
1227 Commits
Author SHA1 Message Date
Michael Panchenko cb8a928337 Merge pull request #393 from oraios/prompt-variable-tools
Allow system prompt to depend on available tools and tool categories …
2025-08-03 13:29:10 +02:00
Michael Panchenko 59bc24e019 Merge pull request #392 from oraios/feature/chatgpt-support
Connecting Serena to chatgpt
2025-08-03 13:28:55 +02:00
Michael Panchenko 186737a3f5 Merge pull request #398 from kazuki-hanai/escape-html
Fix: Add HTML escaping to dashboard log messages
2025-08-03 13:12:25 +02:00
Kazuki Hanai 7990c3f30d Fix: Add HTML escaping to dashboard log messages
Escape special HTML characters in log messages to prevent XSS vulnerabilities and ensure proper display of code snippets containing HTML tags.
2025-08-03 19:31:29 +09:00
MischaPanch 069db44091 GH: fixing paths, hopefully cache starts working on unix 2025-08-03 00:26:03 +02:00
MischaPanch 3d8f5f7446 Added chatgpt context 2025-08-03 00:14:23 +02:00
MischaPanch 99757f35eb Made more tools optional and shortened several docstrings 2025-08-03 00:14:11 +02:00
MischaPanch 4410f37ab3 Context: back to using **data in from_yaml, remove to/from json_dict methods
Needed since some fields come from parent class, easy to make mistakes (like I did in the past commit)
2025-08-02 22:49:42 +02:00
MischaPanch eb0f44cb79 Fixed appending of "." to docstring and mock in test...
We should get rid of mocks eventually
2025-08-02 22:27:58 +02:00
Dominik Jain 1bff8fa774 Support use of available_tools and available_markers in context/mode prompts 2025-08-02 20:50:30 +02:00
Dominik Jain e9e05c2f3f Allow system prompt to depend on available tools and tool categories (as indicated by ToolMarkers)
* Introduce additional tool markers that represent relevant categories
* Apply some conditions to current system prompt
2025-08-02 20:32:34 +02:00
MischaPanch 46967fa3cb Allow overriding tool descriptions in the context, cli command for tool description 2025-08-02 19:52:35 +02:00
MischaPanch e41d09d937 Formatting 2025-08-02 18:55:34 +02:00
MischaPanch c44a6be58f Docs on connecting Serena to chatgpt 2025-08-02 17:38:20 +02:00
Michael Panchenko 2ef00a7e0d Merge pull request #389 from dragonfax/jstillwell/fix_solargraph
Solargraph (ruby): Use the framework provided by ruby gems to execute
2025-08-02 12:23:58 +02:00
Jason Stillwell 88ceb49200 Don't subvert the gem system and try to run the binary directly.
Instead use the framework provided by ruby gems to execute the provide binary.
2025-08-02 02:30:34 -05:00
MischaPanch 9af709eb7b MCP: update to 1.12.3, pass kwargs without dumping settings
The code also works for 1.12.2, but the new version has typed params in the constructor, and is thus better.
2025-07-31 23:35:08 +02:00
MischaPanch 9cf5ee22a6 Hotfix: pin mcp dependency to 1.12.2 2025-07-31 23:10:32 +02:00
Michael Panchenko d8377e3dbd Merge pull request #371 from oraios/feature/initial_instructions_without_tool
Feature/initial instructions without tool
2025-07-31 11:58:39 +02:00
MischaPanch c69e30a7bc Readme: moved uvx install option above the local installation option [ci skip] 2025-07-31 11:57:11 +02:00
MischaPanch d26dc3536a Readme: more info on CLI, initial instructions, and included_optional_tools 2025-07-31 11:52:51 +02:00
MischaPanch caa2c545e4 New feature: allow users to override prompts. Extended CLI for that 2025-07-30 12:10:15 +02:00
MischaPanch d624c1c0b9 Allow passing a list of dirs as prompts_dir, the tail of the list serving as fallbacks 2025-07-30 12:07:30 +02:00
MischaPanch 534567f11e Excluded more tools in ide-assistant mode
Namely:
  - prepare_for_new_conversation
  - summarize_changes
  - get_current_config
2025-07-29 15:57:40 +02:00
MischaPanch 3e49c83d89 Made initial instructions tool optional 2025-07-29 15:55:07 +02:00
MischaPanch 24d8932778 Merge branch 'main' into feature/initial_instructions_without_tool 2025-07-29 15:52:54 +02:00
Dominik Jain e37c2af571 Update deprecation message 2025-07-29 01:51:44 +02:00
Dominik Jain 39e67acc63 Update change log 2025-07-29 01:09:53 +02:00
Dominik Jain 1a07352034 Fix broken shell configuration imposed by Claude Code (sets COMSPEC to Git-Bash on Windows) 2025-07-29 01:09:53 +02:00
Dominik Jain 53b5bcb71b Update sensai-utils to 1.5.0 2025-07-29 00:54:48 +02:00
Dominik Jain 72bfb611c2 Fix termination detection in stderr/stdout LS reader threads 2025-07-29 00:35:47 +02:00
Dominik Jain 1324f1a3f2 Log all messages written to the LS's stderr stream at ERROR level 2025-07-29 00:35:47 +02:00
Dominik Jain dcbcd5c6d0 Do not truncate messages when tracing ls communication 2025-07-29 00:35:47 +02:00
Dominik Jain 68fcc69060 Improve logging 2025-07-28 18:01:53 +02:00
Dominik Jain c08a9b6e55 Support list-based commands for RuntimeDependency installation
(preferable on Windows where spaces in paths can cause problems)

Apply list-based commands in TypeScriptLanguageServer
  * for launch command
  * for runtime dependency installation
2025-07-28 17:15:27 +02:00
Dominik Jain 66b17cd9e2 Merge branch 'fix-ls-interaction' 2025-07-27 23:10:56 +02:00
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
MischaPanch f30005fe4b MCP: Updated readme on using initial instructions 2025-07-27 15:22:17 +02:00
MischaPanch 770e3658eb MCP: Pass initial instructions to fastmcp constructor 2025-07-27 15:17:34 +02:00
MischaPanch 0aaeaef64c Updated mcp dependency 2025-07-27 15:16:57 +02:00
Michael Panchenko a2e0e8e2ed Merge pull request #350 from oraios/minor/move_ls_resources_to_home
LS: use home directory for language server installations
2025-07-27 13:43:27 +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