Skip to content

Aefos AI 1.5.2

Choose a tag to compare

@isaquepinheiro isaquepinheiro released this 03 Sep 14:06
· 8 commits to main since this release
379411d

In-process MCP server + Chat + Terminal for RAD Studio, from Delphi 10 Seattle (BDS 17.0) through Delphi 13 (BDS 37.0) — including Delphi 13's separate 64-bit IDE. The installer detects your installed versions and lets you pick.

Aefos AI is free software, licensed under the GNU GPL v3 (with two additional
permissions — see ADDITIONAL-PERMISSIONS.md). You may use it to build proprietary,
closed-source software: the code Aefos writes for you is yours.
The "Source code (zip / tar.gz)" archives below are auto-generated by GitHub: they
are a snapshot of this repository at the tag, and since the code was opened they
ARE the product source. To build it yourself, see "Build from source" in the README.
👉 To install: close RAD Studio, then download Aefos-Setup-1.5.2.exe from the Assets below and run it.

What's new

With a project open, Chat died in the spawn — this release fixes it. Every turn failed instantly with CreateProcess failed for "…\claude.exe" (last error: 206), and the same question worked with the project closed, which made the bug look like it was about the project rather than about the message. It was the message: error 206 is ERROR_FILENAME_EXCED_RANGE and, despite the name, is not a path problem — Windows returns it when a command line passes 32767 characters. The prompt was the last token of that command line, and the prompt carries the rendered project context, whose active-unit body alone is capped at 32 KB — already past what a command line can hold, before the executable, the flags and the quoting are counted. With a project open it could not fit by construction.

Fixed — the prompt no longer travels as an argument

  • Claude Code and GitHub Copilot now receive the prompt on stdin, which both CLIs read there. Off the command line, the 32 KB limit does not apply at all, so project context of any size goes out normally.
  • A dedicated writer thread feeds the pipe, so a payload larger than the pipe buffer cannot deadlock against a CLI that emits output before draining its input.
  • Where a CLI accepts its prompt is that CLI's dialect, so each driver declares its own answer. Codex, Gemini and the local agent CLI keep the command line, unchanged, until their stdin form is verified against a real binary — and for those an over-long command line is now refused up front with a message that names what happened, instead of surfacing as a bare last error: 206.

Credit — the diagnosis and the Claude Code half of the fix came from a community pull request by @weslley-byte, who traced the 206 to the command-line limit and moved the prompt to the pipe the dispatcher had always opened and closed empty.

Every supported IDE is rebuilt in this release: Delphi 10 Seattle through Delphi 13 (BDS 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 37.0), including the 64-bit Delphi 13 IDE.

Supply chain / integrity


Full changelog: https://github.com/ModernDelphiWorks/Aefos/blob/main/CHANGELOG.md
Learn more about Aefos: www.pubpascal.dev