NousResearch/hermes-agent · error · Error

Package manifest missing from the extension.

Error message

Package manifest missing from the extension.

What it means

Error "Package manifest missing from the extension." thrown in NousResearch/hermes-agent.

Source

Thrown at apps/desktop/electron/vscode-marketplace.ts:280

  // 0 = stored, 8 = deflate. Theme files are one or the other.
  return record.method === 0 ? data.toString('utf8') : zlib.inflateRawSync(data).toString('utf8')
}

/** Normalize a package.json theme path to its zip entry name. */
function themeEntryName(themePath) {
  const clean = String(themePath).replace(/^\.\//, '').replace(/^\//, '')

  return `extension/${clean}`
}

/** Extract every contributed color theme from a `.vsix` buffer. */
function extractThemes(vsixBuffer) {
  const records = readCentralDirectory(vsixBuffer)
  const pkgRecord = records.get('extension/package.json')

  if (!pkgRecord) {
    throw new Error('Package manifest missing from the extension.')
  }

  const pkg = JSON.parse(extractEntry(vsixBuffer, pkgRecord))
  const contributed = pkg?.contributes?.themes

  if (!Array.isArray(contributed) || contributed.length === 0) {
    return []
  }

  const themes = []

  for (const entry of contributed) {
    if (!entry?.path) {
      continue
    }

    const record = records.get(themeEntryName(entry.path))

View on GitHub (pinned to c896c09c42)

Solutions

  1. Re-download the extension; the package is incomplete.
  2. Confirm the VSIX contains extension/package.json at its root.
  3. Install a different version of the extension that ships a valid manifest.

When it happens

Trigger: Thrown at apps/desktop/electron/vscode-marketplace.ts:280 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of NousResearch/hermes-agent@c896c09c42 (2026-08-14). Data as JSON: /api/errors/660624780e17102e. Report an issue: GitHub.