github Avazbek22/DevProjex v5.2.5
DevProjex v5.2.5

one hour ago

🚀 What’s New

  • Added get_diff — a change review for agents. It returns unified diff hunks for current changes, staged files, or diff:A..B, largest changes first, with secrets masked in both versions. The same view is available as devprojex diff and :diff in the Terminal Workspace. No repository code runs to produce it.

  • Added a compact default tool set for the MCP server. A client now receives six tools — get_tree, search_project, get_file, related_files, get_diff, and read_pack — and a catalog about half the previous size, which it sends to the model with every request. --tool-set full publishes all nine tools.

  • Long files return their structure first. A whole read of a file longer than 300 lines and 20,000 characters returns its start and a Structure: list of declarations, JSON keys, or Markdown headings with line ranges, so the agent reads only the part it needs.

  • Fewer calls per task. get_file reads up to sixteen files in one call, names the tests of the file it reads, maps imports to project files, and names the manifests that export an entry point.

  • In the two 18-task runs of 12 November 2026 against Repomix 1.19.0 (Claude Haiku 4.5 in Claude Code), agents used 28.8% and 40.9% fewer context tokens through DevProjex. Both runs are in Docs/Benchmarks.

🤖 MCP Server

  • get_file accepts path as an array and paths as a string or an array, shared line ranges, and requests sent as a JSON string. A batch keeps every requested file within the response limit: large files return their start and structure instead of being dropped.

  • get_file on a directory names up to twelve readable entries and suggests the file an import of that directory loads, such as index.ts, __init__.py, or mod.rs. A guessed module path such as src/helper/conninfo.ts is resolved to the real file.

  • search_project matches patterns that cross line breaks, lists code matches before documentation matches, and shows the signature of a long declaration instead of a fragment of its body. A match in a comment directly above a declaration is listed under that declaration.

  • search_project with symbols: true accepts a regular expression whose alternatives reduce to plain names, such as func.*RemoteIP|func.*isTrustedProxy.

  • related_files answers a narrowed call from the whole readable project: related files outside the selection are listed in Dependencies outside the selection and Dependents outside the selection. The project’s configuration (tsconfig.json, pyproject.toml, .csproj, and others) is used even when the selection leaves it out.

  • related_files writes repeated evidence sites as one entry, counts exactly the relations it lists, and accepts a folder as a seed.

  • Live Context reports a change of the window’s filters separately from a change of the checked focus, with readable-file counts.

  • Callable TypeScript interfaces, exported const functions, and Python module constants are indexed. A syntax error no longer discards the other declarations of a file.

  • Every text block the server composes uses LF line endings on every platform.

⌨️ Command Line and Terminal Workspace

  • Added devprojex diff and :diff with changes, staged, diff:A..B, and --context.

  • devprojex search and :grep match multi-line patterns and list code before documentation, like the MCP tool.

  • devprojex related and :related list related files outside the selection or the checked focus.

  • devprojex mcp connect from the npm and NuGet packages registers npx -y devprojex or dnx devprojex instead of a path inside a package cache, so the connection survives cache cleanup and upgrades.

  • --version works together with --plain, --color, and --language.

  • Command help describes every argument in all 20 languages, lists the exit codes each command can return, and never wraps an example command.

  • -o paths are checked before work starts: a trailing folder separator, an invalid path, or a Windows device name is reported as an invalid value.

  • :search and :filter keep the spacing the text was typed with.

  • Parameters mini-panel titles are shown whole in every interface language.

✨ Improved

  • The first project call of an MCP session is faster on large repositories: the first get_tree on a 3,018-file project went from 3.73 s to 0.98 s.

  • Repeated searches reuse the navigation cache: a repeated search over the same project went from 5.05 s to 0.63 s.

  • The first relation request on a large project builds its index faster, and ranking hashes large selections concurrently.

  • An idle MCP server releases the memory held by secret detection, and a call whose client disconnected is cancelled and recorded as cancelled in the agent journal.

  • The main window title shows the full version of the build.

  • MCP and installation documentation links open the documents of the installed version.

  • The in-app help, command help, and documentation describe the default tool set and current behavior in all 20 languages.

🛡️ Security and Reliability

  • get_diff masks the old side of a renamed file under its own path, so a secret from a file such as settings.py cannot appear in the hunk of its new name.

  • Dependency configuration is read only from files the caller may read. A configuration hidden by .gitignore, exclusions, or the window’s filters neither changes an answer nor appears in one.

  • A missing path under a link or junction that leaves the project root is reported as a root violation, so MCP tools do not reveal whether a file exists outside the root.

  • Outside Windows, a backslash in a file name stays literal and is never read as a path separator.

  • Headings inside Markdown code fences are not treated as document structure.

⚠️ Behavior Changes

  • The MCP server publishes six tools by default instead of nine. analyze and pack_context require --tool-set full; list_projects is published with several local roots or --allow-remote. Add --tool-set full to an existing client configuration to keep the previous catalog.

  • The default tool set publishes fewer parameters. git_scope is published only on get_diff, and profile, tracked_only, max_file_bytes, and exclude_patterns are not published where recorded sessions did not use them. Each is still accepted with the same validation. project is published with several roots or --allow-remote, and branch only with --allow-remote.

  • get_tree max_depth counts from each requested path, not from the project root.

  • Whole reads of long files return a structure, not the full text. Read a range or a declaration by name for the content.

  • --timeout requires a unit or a clock form. 10 is rejected; write 10s, 2m, or 00:00:10.

  • Arguments starting with @ are literal. They are no longer expanded as response files.

  • An unknown --language code is always an error, including with --help and --version.

  • MCP path errors show the project root under the root-label policy: exact without --hide-private-data, and with the local-user segment masked with it.

🐞 Fixed

  • Fixed the changes scope listing unchanged files in checkouts with CRLF line endings.

  • Fixed related_files and devprojex related reporting references as unresolved when a narrowed selection left out the files they resolve to.

  • Fixed a syntax error in one construct hiding every declaration of the file from search and related files.

  • Fixed search_project returning an empty result for a pattern meant to cross a line break.

  • Fixed MCP responses mixing CRLF and LF line endings on Windows.

  • Fixed MCP connections created through npm or NuGet breaking after the package cache was cleared.

  • Fixed devprojex mcp --root with a missing folder printing only the path, without saying what is wrong.

  • Fixed cache remove without a URL asking for confirmation instead of reporting the missing URL.

  • Fixed Indonesian and Vietnamese --timeout messages showing examples the parser rejects.

  • Fixed truncated Parameters mini-panel titles in the Terminal Workspace.

⚙️ Technical

  • Updated Avalonia from 12.1.3 to 12.1.6, with upstream fixes for shutdown during window display, layout crashes, and keyboard menu handling.

  • Added the agent benchmark stand as tools/AgentBenchmark and a dated benchmark log in Docs/Benchmarks.

  • The Flatpak build keeps its runtime installation on a volume, and container identity checks compare the image configuration digest across Docker image stores.

  • npm, NuGet, and MCP Registry listings were rewritten; platform packages now point to devprojex.

📝 Notes

  • Docs/Benchmarks calls the development builds of this release “v5.2.2” followed by a commit. They are the same line of work that ships as 5.2.5.

  • Benchmark figures depend on the task mix and the model. The tasks, runs, and scoring are published with the numbers.

  • get_diff reads Git objects and the working tree directly. It never runs hooks, filters, external diff tools, or anything else configured inside the repository.

  • The file structure returned for a long file comes from the same protected text as the content: a masked value is masked in the structure as well.

Don't miss a new DevProjex release

NewReleases is sending notifications on new releases.