Commit Graph
2513 Commits
Author SHA1 Message Date
Michael Panchenko ded6f9a93c Merge pull request #1301 from oraios/dependabot/uv/uv-3344959f9f
Bump cryptography from 46.0.6 to 46.0.7 in the uv group across 1 directory
2026-04-09 23:18:00 +02:00
Michael Panchenko ad8e403b44 Merge pull request #1302 from zerone0x/fix/root-ignore-dot-path-1054
fix: avoid ignoring root path in gitignore checks
2026-04-09 23:16:17 +02:00
Michael Panchenko c667a26c2d Merge pull request #1305 from TheSmallKiwi/fix/hlsl-crlf-crash
Fix HLSL language server crash on CRLF files pulled in via #include
2026-04-09 23:11:37 +02:00
TheSmallKiwiandClaude Opus 4.6 b32718a013 Fix HLSL language server crash on CRLF files pulled in via #include
shader-language-server (antaalt/shader-sense) v1.3.0 panics with
"byte index N is out of bounds" in symbol_parser.rs when a file is first
parsed as an include dependency (raw CRLF bytes via std::fs::read_to_string)
and then later opened as a main document. watch_main_file replaces the
cached module's content with the client-provided didOpen text but does
not re-parse the tree-sitter tree, so if the client normalized line
endings (CRLF -> LF) the stored tree references byte offsets past the
new content length and the next documentSymbol query slices out of bounds.

Python's default text-mode open performs universal-newlines translation,
which is what was shrinking the text Serena sent in didOpen. Override
open_file in HlslLanguageServer to preload LSPFileBuffer contents with
newline="" so the bytes sent to the server match what it reads from disk,
sidestepping the stale-tree condition entirely. The fix is scoped to
hlsl_language_server.py; no core files are touched.

Verified with a 28-shader sweep over a Unity HDRP workspace where the
crash was 100% reproducible (TerrainRayMarch.shader -> TerrainSDF.hlsl);
all files now return symbols cleanly. The upstream bug should still be
fixed in shader-sense (watch_main_file should call update_module rather
than assigning .content), but this workaround unblocks Windows users
immediately.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 15:44:03 -04:00
zerone0xandClaude 1b299830fd fix: avoid ignoring root path in gitignore checks
Fixes #1054

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-09 04:37:23 +02:00
dependabot[bot] a0519d183d Bump cryptography in the uv group across 1 directory
Bumps the uv group with 1 update in the / directory: [cryptography](https://github.com/pyca/cryptography).


Updates `cryptography` from 46.0.6 to 46.0.7
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/46.0.6...46.0.7)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 46.0.7
  dependency-type: direct:production
  dependency-group: uv
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-08 22:58:26 +00:00
Michael Panchenko ab38fa98f1 Merge pull request #1294 from jochenseeber/main
Add Crystal language support (very limited, pre-alpha)
2026-04-08 12:07:00 +02:00
Michael Panchenko 35268e87b7 Minor: added metadata (name, website_url) to FastMCP initialization [ci skip] 2026-04-08 09:57:11 +02:00
Michael Panchenko 946fdd558f Merge pull request #1292 from oraios/stdin_piping_fix
Fix in runtime dep/ installation: add stdin=subprocess.DEVNULL
2026-04-07 18:22:40 +02:00
Michael Panchenko 81bd379f63 Dashboard frontend: removed current client info [ci skip]
No client apart from claude code sends it..
2026-04-07 18:12:02 +02:00
Jochen Seeber d8bf1365c3 Add Crystal language support 2026-04-07 17:15:09 +02:00
Michael Panchenko 9f7625aa07 Fix in runtime dep/ installation: add stdin=subprocess.DEVNULL to subprocess call 2026-04-07 16:28:48 +02:00
Michael Panchenko c3e3c57309 Merge pull request #1290 from oraios/updated_news
Updated news pulling mechanism
2026-04-07 16:04:30 +02:00
Michael Panchenko 0c1157edca Added a script for bumping version 2026-04-07 16:03:12 +02:00
Michael Panchenko 4a692eed44 News: switched mechanism to fetch news from github
This allows news to be updated without updating the installed version of Serena itself.
2026-04-07 15:56:00 +02:00
Michael Panchenko e2696f9f54 Added minimal AGENTS.md 2026-04-07 15:55:57 +02:00
Dominik Jain cd1ce8dc60 Pin sphinx-book-theme to 1.1.4
The newer version 1.2.0 does not have the auto-expanding contents
(in display on right) - at least not by default
2026-04-07 01:54:03 +02:00
Dominik Jain d1652727fe Improve init command: Report version, add final success message
Improve README:
 * Move LS deps back to prerequisites
 * Remove incorrect config path (redundant anyway, because user sees it upon init)
 * Some wording changes
2026-04-06 23:07:22 +02:00
Michael Panchenko 33a246ab66 Merge pull request #1287 from oraios/serena_init_cmd
Serena init cmd
2026-04-06 20:28:25 +02:00
Michael Panchenko 46c06230bd Merge branch 'refs/heads/main' into serena_init_cmd
# Conflicts:
#	CHANGELOG.md
2026-04-06 20:26:40 +02:00
Michael Panchenko 318d2f4204 Readme, docs: recommend init command instead of start-mcp-server 2026-04-06 20:25:07 +02:00
Michael Panchenko d525db7c01 Added init command to CLI 2026-04-06 20:11:11 +02:00
Michael Panchenko eb453976e2 CLI: removed deprecated commands 2026-04-06 19:18:48 +02:00
Dr. Dominik Jain d143ab2cc0 Merge pull request #1283 from oraios/fix-manual-shutdown-cleanup
Fix manual shutdown triggered by GUI tool/dashboard not cleaning everything up
2026-04-06 17:01:49 +02:00
Dominik Jain cda321e318 Fix manual shutdown triggered by GUI tool/dashboard not cleaning everything up.
Subprocesses were not cleaned up, in particular.

* Rename SerenaAgent.shutdown to on_shutdown, because it is really a shutdown handler;
  it did not perform a shutdown.
* Add new method shutdown which is now called from both sites (and which performs
  the full shutdown)
* Manage the process instance used for the dashboard viewer and shut it down
  explicitly.
* Initialise all variables used during shutdown immeditaly (avoiding errors when
  shutdown is triggered during init)
2026-04-06 16:04:51 +02:00
Dominik Jain dcc49f19f9 Fix git commit id in version not being computed from Serena directory 2026-04-06 14:42:33 +02:00
Michael Panchenko 4ff2993bc0 Docs: recommend user-level setup for claude code by default
Also added a note on startup timeouts
2026-04-06 13:41:09 +02:00
Michael Panchenko ece96a1649 Tests: improve tests for python (inspired by #1199) 2026-04-06 13:06:02 +02:00
Michael Panchenko 854507524a Tests: improve tests for vue (inspired by #1199) 2026-04-06 12:55:10 +02:00
Minh Hứa d1275627a8 Support mise, asdf and rvm for Ruby version managers (#1254)
Backwards compatible since rbenv is used first if it is found. Then shutil.which is used to check availability of alternative ruby version managers
2026-04-06 12:31:28 +02:00
Dominik Jain 8189784f78 Fix test_activate_project_rejects_backend_mismatch
(must use different project path for second activation)
2026-04-05 14:11:45 +02:00
Dominik Jain 8856d82590 Adjust instructions for Claude Code: Newer versions interpret -p parameter
Even though the parameter is after the separator `--`, newer versions (>2.1.76)
fail to add the MCP server and interpret the arguments directly.

Fixes #1279
2026-04-05 13:12:23 +02:00
Dominik Jain 554be85201 Show Serena version in dashboard #1078 2026-04-05 12:53:42 +02:00
Dominik Jain 7d9e0508d6 Revert "Hotfix: disable pywebview dashboard until memory leak is resolved"
This reverts commit 98c7572801.

The issue that was supposed to be fixed was already resolved by 87accc6.
2026-04-05 12:05:42 +02:00
Michael Panchenko 98c7572801 Hotfix: disable pywebview dashboard until memory leak is resolved 2026-04-05 10:11:19 +02:00
Dominik Jain 599266ec5f Revise changelog for v1.0.0 2026-04-04 21:29:19 +02:00
Dominik Jain c3a90d2a07 Fix reactivation of the same project restarting language servers
Reactivation should do nothing at all.
Fixes #1280
2026-04-04 21:20:52 +02:00
Michael Panchenko 0e229586dc Readme, docs: clarified config file creation and JB plugin role
Also added a sentence on using with the Codex app
2026-04-04 20:19:57 +02:00
Dominik Jain 66cb41a66a Add callout making clear which purpose the JetBrains plugin serves 2026-04-04 20:19:57 +02:00
Dominik Jain d958f70103 Improve language server docs 2026-04-04 20:19:57 +02:00
Dominik Jain 30244526f7 README refinements 2026-04-04 20:19:57 +02:00
Dominik Jain 749bb815ae Adapt docs generation to new integrated README content 2026-04-04 20:00:22 +02:00
Dominik Jain df16c9f9f5 Restore old section on language support separate from features,
collapse features section
2026-04-04 20:00:22 +02:00
Dominik Jain ab79cca16b Collapse video demos 2026-04-04 20:00:22 +02:00
Dominik Jain 9f28a2d75f Restore LLM interaction section, adding block diagram 2026-04-04 20:00:22 +02:00
Michael Panchenko 3c77e362ca JB client: added version check to new methods, renamed move_symbol to move 2026-04-03 16:58:10 +02:00
Dominik Jain f65980bd8c Set version to 1.0.0 2026-04-03 16:17:39 +02:00
Michael Panchenko 40b61dae37 Merge pull request #1271 from oraios/v1-beta
Serena v1.0.0
2026-04-03 16:10:27 +02:00
Michael Panchenko 0f6d46afee Prompt, minor 2026-04-03 16:07:13 +02:00
Dominik Jain 827f98fde9 Add news item for v1 2026-04-03 16:06:28 +02:00