{"record":{"id":"9c9039cf1f3a3d6a","repo":"NousResearch/hermes-agent","slug":"could-not-find-a-downloadable-package-for-id","errorCode":null,"errorMessage":"Could not find a downloadable package for \"${id}\".","messagePattern":"Could not find a downloadable package for \"(.+?)\"\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"apps/desktop/electron/vscode-marketplace.ts","lineNumber":120,"sourceCode":"  })\n\n  const extension = json?.results?.[0]?.extensions?.[0]\n\n  if (!extension) {\n    throw new Error(`Extension \"${id}\" was not found on the Marketplace.`)\n  }\n\n  const version = extension.versions?.[0]\n\n  if (!version) {\n    throw new Error(`Extension \"${id}\" has no published versions.`)\n  }\n\n  const asset = (version.files ?? []).find(file => file.assetType === VSIX_ASSET_TYPE)\n  const vsixUrl = asset?.source\n\n  if (!vsixUrl) {\n    throw new Error(`Could not find a downloadable package for \"${id}\".`)\n  }\n\n  return { displayName: extension.displayName || id, vsixUrl }\n}\n\n/** POST an ExtensionQuery payload and return the parsed gallery response. */\nasync function queryGallery(payload, { maxBytes = 4 * 1024 * 1024 } = {}) {\n  const body = JSON.stringify(payload)\n\n  const raw = await request(GALLERY_QUERY_URL, {\n    method: 'POST',\n    headers: {\n      Accept: 'application/json;api-version=3.0-preview.1',\n      'Content-Type': 'application/json',\n      'Content-Length': Buffer.byteLength(body),\n      'User-Agent': 'Hermes-Desktop'\n    },\n    body,","sourceCodeStart":102,"sourceCodeEnd":138,"githubUrl":"https://github.com/NousResearch/hermes-agent/blob/c896c09c42910c584c4c7d2325b58c14713ea42c/apps/desktop/electron/vscode-marketplace.ts#L102-L138","documentation":"Error \"Could not find a downloadable package for \"${id}\".\" thrown in NousResearch/hermes-agent.","triggerScenarios":"Thrown at apps/desktop/electron/vscode-marketplace.ts:120 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the extension id is spelled as \"publisher.extension\" and is published on the Marketplace.","Check network/proxy access to the VS Code Marketplace and retry.","Try a different version of the extension or download the VSIX manually and install from disk."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"c896c09c42910c584c4c7d2325b58c14713ea42c","analyzedAt":"2026-08-14T17:18:01.089Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}