gg.tk.explorer.lens

A lens: a small viewer, written by a model from a person's description, that changes how one kind of record or embed is drawn in Bluesky Explorer.

Repository @tk.gg did:plc:t5cvelfm3ei2vcalcy7slrei namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityexplorer.tk.gg
Indexed
cid bafyreiaeed5xqa7luraclfvecvbazssbmloulm2gyyfjxhmhcnoetie3du

Checks

Valid
  • missing-primary-description defs.mainThe record has no description.
  • large-string defs.main.record.properties.sourcemaxLength is over 20 KB. Use a blob for content that large.
  • unlimited-string defs.target.properties.slotNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "kitVersion": {
            "maxLength": 64,
            "type": "string"
          },
          "model": {
            "maxLength": 128,
            "type": "string"
          },
          "name": {
            "maxGraphemes": 60,
            "maxLength": 600,
            "type": "string"
          },
          "prompt": {
            "description": "What the author asked for, so others can see and adapt it.",
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "remixOf": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "source": {
            "description": "ES module written against the Lens kit. Runs only in an isolated worker with no network access.",
            "maxLength": 100000,
            "type": "string"
          },
          "target": {
            "ref": "#target",
            "type": "ref"
          }
        },
        "required": [
          "name",
          "target",
          "source",
          "kitVersion",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "target": {
      "properties": {
        "match": {
          "description": "For embeds: only apply when the embed's URL contains this text, e.g. a host name.",
          "maxLength": 256,
          "type": "string"
        },
        "nsid": {
          "description": "Record collection or embed type this lens draws.",
          "format": "nsid",
          "type": "string"
        },
        "slot": {
          "knownValues": [
            "record",
            "embed"
          ],
          "type": "string"
        }
      },
      "required": [
        "nsid",
        "slot"
      ],
      "type": "object"
    }
  },
  "description": "A lens: a small viewer, written by a model from a person's description, that changes how one kind of record or embed is drawn in Bluesky Explorer.",
  "id": "gg.tk.explorer.lens",
  "lexicon": 1
}