docs(server): note the encoded directory header in markdown image grants
This commit is contained in:
@@ -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
|
those use its local filesystem bridge. If called, the grant route returns an
|
||||||
explicit unsupported response because OpenCode temporary images are not
|
explicit unsupported response because OpenCode temporary images are not
|
||||||
supported there.
|
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user