docs(server): note the encoded directory header in markdown image grants

This commit is contained in:
fitzgpt
2026-08-24 16:22:58 +03:00
parent d6a5192fba
commit 89cfbd1b9a
@@ -34,3 +34,7 @@ server implementation. VS Code does not call this route for workspace images;
those use its local filesystem bridge. If called, the grant route returns an
explicit unsupported response because OpenCode temporary images are not
supported there.
Requests to OpenCode carry the directory in a percent-encoded
`x-opencode-directory` header, matching the SDK wire format; OpenCode rejects
raw non-ASCII header values.