Add MCP_SyntaxChecker_PATH for syntaxcheck_file workflow. - #20
Open
Madway wants to merge 1 commit into
Open
Conversation
Agents copy BSL into a shared FILES_DIR buffer before calling syntaxcheck_file, instead of assuming the project sources are mounted into the checker. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Зачем эти изменения
Нужны, если сервер
1c-syntax-checker-mcpнаходится на другом ПК (или в другом контейнере), чем агент/workspace.syntaxcheck_fileпроверяет файл относительноFILES_DIRна стороне MCP-сервера, а не по абсолютному пути в workspace агента. Когда checker на другой машине, исходники проекта туда не смонтированы — вызов с локальным путём падает, и остаётся толькоsyntaxcheckс текстом кода (дороже и легче расходится с файлом на диске).Эти изменения вводят
MCP_SyntaxChecker_PATH— общий сетевой/буферный каталог (FILES_DIRchecker'а на удалённом ПК), куда агент:syntaxcheck_fileс относительным путём;syntaxcheck.Если checker и проект на одном ПК и источники уже смонтированы в
FILES_DIR— этот параметр обычно не нужен.Пример параметра в
.dev.envЧто изменено
.dev.env.example,install.ps1,AGENTS.md,dev-standards-env.md— параметрMCP_SyntaxChecker_PATHSKILLдля1c-syntax-checker-mcp— runtime workflow copy → relative path → fallback