MCP: a screenshot's reply hides library paths outside the read roots

The reply is sent after the request was handled, and now hides what any other reply hides.
This commit is contained in:
dotCooCoo
2026-11-11 17:22:51 -08:00
parent 027035668b
commit 2d2e8fa53f
4 changed files with 53 additions and 14 deletions
+2 -2
View File
@@ -154,8 +154,8 @@ the suite) keep the agent to the folders you give it:
reopens its panel), and the reply to such a request shows that id and file name wherever the library's id or path
appears, an error included. Every reply under the read roots shows a hidden library's id as the id shown and its
path as the file name in every string and key, the status text (`ui.status`), dialogs, the command palette query
(`ui.palette_query`), a script's report (`scriptReport`) and the error from an internal fault included, for the
libraries hidden before the request ran and after it. The path is also matched with `%XX` escapes as a `file:`
(`ui.palette_query`), a script's report (`scriptReport`), a screenshot's reply and the error from an internal
fault included, for the libraries hidden before the request ran and after it. The path is also matched with `%XX` escapes as a `file:`
URL writes it, and on Windows in any case of its letters. A hidden id or path stays only where it begins
another loaded library's whole id with no `.` or `..` part, so a readable library's id that begins with a hidden one stays. The error of a failed request also shows a path outside the
read roots that the request sent by its file name, whether or not a library was loaded from it, so that the