Docsloth / developers
Self-hostStart quickstart

docsloth/image

image

Accessible versioned screenshot

Trust class: pure · key prop: src · agent tools: none (read-only)

Props

PropTypeRequired
titlestringno
asset_idstringyes
altstringyes
captionstringno
decorativebooleanyes

Manifest fixture

{
  "name": "@docsloth/image",
  "version": "1.0.0",
  "protocol": "1.x",
  "license": "Apache-2.0",
  "description": "Accessible versioned screenshot",
  "runtime": "react",
  "trust_class": "pure",
  "entry": "dist/index.js",
  "integrity": "0000000000000000000000000000000000000000000000000000000000000000",
  "props_schema": {
    "type": "object",
    "properties": {
      "src": {
        "type": "string"
      },
      "title": {
        "type": "string"
      }
    },
    "required": [
      "src"
    ],
    "additionalProperties": false
  },
  "tools": [],
  "resources": [],
  "fallback": {
    "html": true,
    "markdown": true,
    "json": true
  },
  "recording_policy": "masked",
  "permissions": {
    "network_hosts": [],
    "production_write": false,
    "max_runtime_seconds": 0
  }
}

Host behaviour

  • Renders content with no network, storage or execution; safe on any static host.
  • Unknown hosts render a labelled fallback block instead of crashing.
  • Behaviour and accessibility are covered in the component test suite.

Actions

Actions

  • Preview

    Runs the published renderer on synthetic blocks in an isolated iframe; the playground ships a default block set and a labelled fallback for unknown components. No cost.

  • Install

    Installation is a local CLI/SDK action against your own project with pinned digests; no hosted registry account is required in this build.

  • Remix allowed assets

    Reuse is governed by the component licence (Apache-2.0 for first-party components); check attribution and trademark rules before shipping a remix.