Commit Graph
1890 Commits
Author SHA1 Message Date
Dominik Jain 0da7abd324 Log JetBrains plugin version for matching client 2026-01-08 15:05:41 +01:00
Dominik Jain e3915371b4 Check for (non-)recoverable error only for 2023.2.6+, where status code is differentiated 2026-01-08 15:05:41 +01:00
Dominik Jain 559250cfdd Get plugin status upon client construction, storing version 2026-01-08 15:05:41 +01:00
Dominik Jain e996e914cf Add version util 2026-01-08 15:05:41 +01:00
Dominik Jain a45500be5f Add plugin error preamble only for non-recoverable errors 2026-01-08 14:07:39 +01:00
Dominik Jain 7bd70e9631 Remove TODO 2026-01-08 13:39:05 +01:00
Michael Panchenko 1b862ee687 Enhanced error message for plugin API errors 2026-01-05 11:33:37 +07:00
Michael Panchenko a69832dae5 Always show at least quick_info (but not docstring) in jb_find_symbol 2026-01-04 23:01:27 +07:00
Michael Panchenko 5b0705c373 New field in JB type 2026-01-04 18:16:58 +07:00
Michael Panchenko 16c6b7eacf Fixes in typed dicts (incorrect translation from java) 2026-01-03 20:03:33 +07:00
Michael Panchenko 7be24d185f Rename module (typo) 2026-01-03 19:31:30 +07:00
Michael Panchenko e3fa2d0b67 Fixed NotRequired vs None annotations in jetbrain_types.py 2026-01-03 19:28:53 +07:00
Michael Panchenko d3f3326011 Added symbol info by default in LS based FindReferencingSymbolsTool
Previously we extracted a few content lines around the symbol instead
2026-01-03 19:13:38 +07:00
Michael Panchenko 1d5cf33237 Support for info in JB symbols and various improvements. Adds bs4 to deps
- Added typed dicts for most responses in jetbrains_types.py
- Fix bug in code_editor (location key no longer existed, found by mypy after adding the types)

Should be merged after next version of plugin release
2026-01-03 18:43:02 +07:00
Michael Panchenko 4f5d894bcd Merge branch 'refs/heads/main' into feature/docstring_and_signature
# Conflicts:
#	src/serena/tools/jetbrains_tools.py
2026-01-03 18:29:14 +07:00
Michael Panchenko 5e7d5469cf Merge pull request #863 from oraios/improved_overview_tools
Improved overview tools
2026-01-03 18:27:53 +07:00
Michael Panchenko d03c057382 Removed symbol from hierarchy tool response 2026-01-03 14:56:46 +07:00
Michael Panchenko 036625e809 Merge branch 'main' into feature/docstring_and_signature 2026-01-03 11:00:58 +07:00
Seyed (Yahya) Shirazi f758a3d19c Add MATLAB language server support (#893)
Requires Matlab and node to be installed, using vscode Matlab extension as LS
2026-01-01 21:56:23 +07:00
Michael Panchenko 823e7c6325 Merge pull request #862 from triepod-ai/feat/add-tool-annotations
feat: Add tool annotations for improved LLM tool understanding
2026-01-01 19:07:26 +07:00
Michael Panchenko 6ae5757ed5 Pinned ruamel to 0.18.14
From 0.19 on ruamel requires C++ build tools on windows
2026-01-01 19:00:53 +07:00
Dominik Jain c6b2750061 Improve Claude Code connection instructions, adding a paragraph on max token efficiency 2025-12-28 16:03:56 +01:00
Dominik Jain 061975922b JetBrainsTypeHierarchyTool: Report number of levels not included in result 2025-12-28 14:52:32 +01:00
Dominik Jain 4d1d2561cf JetBrainsTypeHierarchyTool: Return supertypes/subtypes keys even if empty,
because LLM otherwise thinks the retrieval failed and retries
  (with different parameters)
2025-12-28 12:48:30 +01:00
Dominik Jain bd26cbd381 Add jet_brains_type_hierarchy to jetbrains mode 2025-12-28 12:37:41 +01:00
Michael Panchenko dd5065f180 Various minor improvements (review comments) 2025-12-28 17:22:40 +07:00
Dominik Jain c569212ec6 Merge pull request #883 from ximot/fix/test-tool-parameter-types-import
Fix broken import in test_tool_parameter_types.py
2025-12-27 21:04:40 +01:00
Tomasz Wyderka 1289b118ad Fix broken import in test_tool_parameter_types.py
The test was using SerenaMCPFactorySingleProcess and _instantiate_agent()
which were removed when process isolation was removed from the codebase.

Updated to use SerenaMCPFactory and _create_serena_agent() instead.

This fixes the CI pipeline which was failing on all test runs.
2025-12-27 20:44:43 +01:00
Michael Panchenko 6c53fd130a Added support for type-hierarchy with jetbrains tools 2025-12-28 00:38:06 +07:00
Dominik Jain f8dc10fea3 Merge pull request #881 from oraios/mux
Changes from mux
2025-12-27 17:19:50 +01:00
Dominik Jain b561af9ab5 Update MCP factory usage in CLI 2025-12-27 17:16:43 +01:00
Dominik Jain 6dcaa3894a Merge branch 'main' into mux 2025-12-27 17:14:27 +01:00
Michael Panchenko 1b80b5270d Support for symbol_info in LSP backend 2025-12-27 20:53:51 +07:00
Michael Panchenko af5d792e6b Support for symbol_info in LSP backend 2025-12-27 20:45:21 +07:00
Dominik Jain 5b3b81e7e4 Revert "Do not use listen_address 0.0.0.0 for Docker (has no desirable effect)"
This reverts commit 7ad44edd18.

Listen address 0.0.0.0 is necessary for docker, because port forwarding for Docker
is just NAT, so port forwarding alone is not sufficient

Fixes #879
2025-12-27 11:58:12 +01:00
Dominik Jain ef1ed31010 Add paragraph on single-project contexts, improve generality 2025-12-25 19:08:41 +01:00
Dominik Jain 745e50d1ee Improve project activation instructions 2025-12-25 19:08:01 +01:00
Dominik Jain a6c8c1ea8c Merge branch 'main' into improved_overview_tools 2025-12-24 15:08:41 +01:00
Dominik Jain f593067c33 Increase default timeout to 300s (as in the plugin) 2025-12-24 15:08:04 +01:00
Michael Panchenko 5801982113 Docstrings, minor fixes [ci skip] 2025-12-24 14:55:37 +01:00
Michael Panchenko 025ef32220 Improvements in JetBrains overview tool
Compact version and support for depth>0 and filtering out imports.
Backwards compatible (previous plugin versions won't crash),
but users have to update to 2023.2.3 to benefit from the change
2025-12-24 14:55:22 +01:00
Michael Panchenkoandflex-hyeonseok eff50cf682 🚩 add custom jvm option for kotlin language server (#864)
Co-authored-by: flex-hyeonseok <hyeonseok@flex.team>
2025-12-24 16:10:19 +07:00
Dominik Jain 4b437fe738 Mention Rider IDE as unsupported [skip ci] 2025-12-23 13:23:41 +01:00
Dominik Jain e5e289d5ef Add pointer on default modes (and retaining them) 2025-12-23 03:06:00 +01:00
Dominik Jain 6b403f81f6 Fix: Avoid passing relative_path='.' to plugin (not canonicalised) 2025-12-22 19:31:05 +01:00
Dominik Jain ea3307498a Merge pull request #866 from oraios/fix-edited-file-context-use-editor
Fix: EditedFileContext (and therefore ReplaceContentTool) not using CodeEditor
2025-12-22 13:43:43 +01:00
Dominik Jain 65c2eaac13 Fix: EditedFileContext (and therefore ReplaceContentTool) not using CodeEditor
As a result, JetBrains IDE was not notified about changes (for reindexing)
Resolves #865
2025-12-22 11:33:12 +01:00
flex-hyeonseok 2074193129 🚩 add custom jvm option for kotlin language server 2025-12-22 15:47:07 +09:00
triepod-aiandClaude 61bb9b85ee feat: Add tool annotations for improved LLM tool understanding
Add readOnlyHint, destructiveHint, and title annotations to all tools
to help LLMs better understand tool behavior and make safer decisions.

Changes:
- Added destructiveHint: true to tools that modify data
- Added title annotations for human-readable display (e.g., "Find Symbol")
- Fixed memory tools (WriteMemoryTool, DeleteMemoryTool, EditMemoryTool)
  to correctly inherit ToolMarkerCanEdit, ensuring they get destructiveHint: true

This improves tool safety metadata for MCP clients by:
- Helping LLMs distinguish read-only from destructive operations
- Providing human-readable titles for tool display
- Correctly categorizing all memory-modifying tools as destructive

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-21 13:09:40 -06:00
Michael Panchenko f0f3d8004e Improved output structure in GetSymbolsOverviewTool, major token reduction!
As before for jetbrains, grouped and without name_path. Using recursive structure for depth>0
2025-12-21 11:55:53 +07:00