NousResearch/hermes-agent · error

Could not export ${slug}

Error message

Could not export ${slug}

What it means

Error "Could not export ${slug}" thrown in NousResearch/hermes-agent.

Source

Thrown at apps/desktop/src/store/pet-gallery.ts:433

          setPetInfo({ ...$petInfo.get(), scale: result.scale })
        }
      })
      .catch(() => {
        // Cosmetic — the pet already resized; persistence self-heals next write.
      })
  }, 200)
}

/** Export a pet as a `.zip` (pet.json + spritesheet) and save it via the browser. */
export async function exportPet(request: GatewayRequest, slug: string, fallback: string): Promise<boolean> {
  $petBusy.set(slug)
  $petGalleryError.set(null)

  try {
    const res = await petRpc<{ ok: boolean; filename: string; zipBase64: string }>(request, 'pet.export', { slug })

    if (!res?.ok || !res.zipBase64) {
      throw new Error(fallback)
    }

    const bytes = Uint8Array.from(atob(res.zipBase64), c => c.charCodeAt(0))
    const url = URL.createObjectURL(new Blob([bytes], { type: 'application/zip' }))
    const anchor = document.createElement('a')
    anchor.href = url
    anchor.download = res.filename || `${slug}.zip`
    anchor.click()
    URL.revokeObjectURL(url)

    return true
  } catch (e) {
    $petGalleryError.set(e instanceof Error ? e.message : fallback)

    return false
  } finally {
    $petBusy.set(null)
  }

View on GitHub (pinned to c896c09c42)

Solutions

  1. Check the destination path is writable and retry the export.
  2. Verify the pet slug still exists in the gallery.
  3. Free disk space or pick a different export location.

When it happens

Trigger: Thrown at apps/desktop/src/store/pet-gallery.ts:433 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/beddebb2b13d8595. Report an issue: GitHub.