Desktop Companion

Assemble workspace context

Builds a compact workspaceContext string from local file chunks. Requires the desktop:projects:write scope.

post/api/v1/desktop/context/inject

Request

  • Base URL: https://www.devspeak.dev
  • URL: https://www.devspeak.dev/api/v1/desktop/context/inject
  • Auth: HTTP bearer

Request body

projectIdstring required
labelstring
querystring

Pending translation input. Chunks are ranked against it so query-relevant files survive the context budget instead of whichever files were enumerated first.

Response

Assembled context

successtrue required

Changes

No recorded changes to this operation across all 1 revision of this API.