mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-05 00:13:38 +00:00
* Add DownloadedDependency abstraction to facilitate handling of downloaded and hash-verified dependencies. In CI, missing hashes raise an exception. For users, unverified downloads log a warning. * Add DownloadedDependencyHashDatabase which manages a URL-keyed database of sha256 hashes. It can be conveniently updated incrementally through a script (src/solidlsp/resources/downloaded_dependency_hashes.json), provided that language server implementations provide DownloadedDependency instances statically Applied in EclipseJDTLS: * Replace the untyped nested-dict runtime dependency descriptors with DownloadedDependency instances * Move the JDTLS version-pinning constants into DependencyProvider * Replace the platform dependency dicts with the VSCodeJavaConfig dataclass Utils: * Add FileUtils.ArchiveType to type archive types that were previously plain str * Add is_running_in_ci() to ls_utils Updated memory on adding a language server accordingly.