at.happyproto.plugin.v1

A HappyView plugin, as one entry in a software.release.manifest's `artifacts`. It carries the module and its manifest.json as blobs, so they are verified by their CIDs, and the manifest's facts in the signed record, so a consent screen renders without downloading the module. Those facts are not trusted: the loader checks them against the module itself and refuses a plugin that misstates what it does. The registry refuses a manifest whose artifact breaks a rule stated here, including the ones a lexicon cannot express.

Repository @happyproto.at did:plc:mo7vq4jbioxwafy5zkcc3eux namespace authority
Details · object
Kindobject
Authorityplugin.happyproto.at
Indexed

Object

object

Properties

Hosts the module's outbound requests may reach.

itemsstring
  • maxLength: 256

apiVersion

requiredstring

The plugin API version the module targets. Its major version must be 2 or later.

  • maxLength: 16

A wide image shown at the top of the plugin's page.

Reference

capabilities

requiredarray

What the module may do. The loader checks it against the module's imports, so a plugin cannot import what this does not cover.

itemsstring
  • maxLength: 128

Required for an interpreter: the file extensions of the scripts it runs, without the dot. Each is 1 to 16 lowercase letters or digits, none is `json`, and none repeats.

  • minLength: 1
  • maxLength: 8
itemsstring
  • minLength: 1
  • maxLength: 16

Required for an interpreter: the script type it runs.

  • maxLength: 64

license

requiredstring

An SPDX expression, or `proprietary`.

  • maxLength: 256

manifest

requiredblob

The module's manifest.json. A module stored as a blob has no directory beside it to hold a sibling file, so this is what says how to load it.

  • maxSize: 1000000
  • accept: application/json

namespace

string

Required for a library: the name scripts load it by, which is unique across a HappyView's installed plugins.

  • maxLength: 256

package

requiredblob

The WASM module.

  • maxSize: 16777216
  • accept: application/wasm

pluginType

requiredstring

What the plugin is. Any other value is refused.

  • knownValues: auth | library | interpreter

requires

unknown

Dependencies, as a map a lexicon cannot type. Each key is `env:<name>`, such as `env:happyview`, or the at-uri of a software.release.project; each value is a Cargo version requirement, such as `>=3.0.0` or `^1.0`, without `||`.

  • maxLength: 8
itemsref
Reference

sections

requiredref
Reference

#image

object

A presentation image. SVG is not accepted, because it can carry script and renders in an operator's dashboard.

Properties

alt

string

A description of the image for people who cannot see it.

  • maxLength: 3000
  • maxGraphemes: 300

height

requiredinteger
  • minimum: 1

image

requiredblob
  • maxSize: 1000000
  • accept: image/png, image/jpeg, image/webp, image/gif, image/avif

width

requiredinteger
  • minimum: 1

#sections

object

Long-form CommonMark shown on the plugin's page. It is rendered as untrusted input, with raw HTML stripped.

Properties

description

requiredstring
  • maxLength: 20000
  • maxGraphemes: 2000
  • maxLength: 20000
  • maxGraphemes: 2000

security

string
  • maxLength: 20000
  • maxGraphemes: 2000

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • The HappyView-specific half of a release, carried at extensions['at.happyproto.plugin.releaseExtension']. It is the plugin manifest, moved into the signed record so a consent screen renders without downloading the module. It is not trusted: the loader checks it against the module's plugin_info export and its import section, so a release that misstates what its WASM does is refused exactly as a checksum mismatch is.

  • One version of a package. The record key is '<slug>:<version>'. A release at a given version is never modified: a registry that later sees a different CID at this key keeps the first and flags the conflict.

  • A HappyView plugin package, in its publisher's repo. The record key is the package slug, so the slug is immutable: changing it means a different package.

  • Plugin package release record. EXPERIMENTAL: this NSID is part of the experimental phase of the EmDash plugin registry. The stable namespace target is com.emdashcms.package.release.

  • The HappyView facts about a software.release.project that make it a plugin. The record key is the project's name, and the record lives in the same repo as the project. The registry indexes a project's releases only while this record exists and is valid.