PLG class

Plugin Manifest - canonical signed storefront and WASM distribution record

Constructors

PLG(List<int> bytes)
factory

Properties

ABI_VERSION → int
ABI version for compatibility checking
no setter
abiVersion → int
no setter
ACCEPTED_PAYMENT_METHODS → List<String>?
Accepted payment methods, e.g. "stripe", "sol", "usdc"
no setter
acceptedPaymentMethods → List<String>?
no setter
ALLOWED_XPUBS → List<String>?
Allowed requester xpub identities (BIP-32 account xpubs) for module grants: a requester whose verified EPM binds an xpub in this list is granted (PKI identity authorization). Empty list = no xpub allowlist gate.
no setter
allowedXpubs → List<String>?
no setter
Optional hero/banner image URL for the listing
no setter
bannerUrl → String?
no setter
BUILD_ARTIFACTS → List<PLGBuildArtifact>?
Build artifacts emitted by the toolchain (WASM, bindings, etc.).
no setter
buildArtifacts → List<PLGBuildArtifact>?
no setter
CAPABILITIES → List<PluginCapability>?
Capabilities provided by this plugin
no setter
CATEGORIES → List<capabilityClass>?
Every ratified $CCT category this module belongs to, for browse, filter and per-category counting. A module MAY carry several. If nonempty it MUST include PRIMARY_CATEGORY. Codes MUST NOT repeat. An empty list with a set PRIMARY_CATEGORY means the module belongs to that one category.
no setter
CHANGELOG_URL → String?
URL to plugin changelog or release notes
no setter
changelogUrl → String?
no setter
CREATED_AT → int
Unix timestamp when plugin was created
no setter
createdAt → int
no setter
DEPENDENCIES → List<PluginDependency>?
Other plugins this depends on
no setter
DESCRIPTION → String?
Detailed description of plugin functionality
no setter
DOCUMENTATION_URL → String?
URL to plugin documentation
no setter
documentationUrl → String?
no setter
ENCRYPTED → bool
Whether the WASM binary is encrypted
no setter
ENCRYPTED_WASM_HASH → List<int>?
SHA256 hash of the encrypted delivery artifact bytes
no setter
ENCRYPTED_WASM_SIZE → int
Size of the encrypted delivery artifact in bytes
no setter
encryptedWasmHash → List<int>?
no setter
encryptedWasmSize → int
no setter
ENTRY_FUNCTIONS → List<EntryFunction>?
Entry point functions exported by the plugin
no setter
entryFunctions → List<EntryFunction>?
no setter
FEATURES → List<String>?
Short feature bullets highlighted in storefront listings
no setter
FLOW_EDGES → List<PLGFlowEdge>?
Composition-graph edges wiring node output ports to input ports.
no setter
FLOW_NODES → List<PLGFlowNode>?
Composition graph (a degenerate flow is a module): the nodes this flow invokes. Empty for a leaf module; populated for a composed flow. The flow definition is this PLG FlatBuffer, not a bespoke JSON graph.
no setter
FLOW_TRIGGER_BINDINGS → List<PLGFlowTriggerBinding>?
Bindings from triggers to the node + input port they deliver to.
no setter
FLOW_TRIGGERS → List<PLGFlowTrigger>?
Flow triggers (timer/http) that start a drain.
no setter
flowEdges → List<PLGFlowEdge>?
no setter
flowNodes → List<PLGFlowNode>?
no setter
flowTriggerBindings → List<PLGFlowTriggerBinding>?
no setter
flowTriggers → List<PLGFlowTrigger>?
no setter
hashCode → int
The hash code for this object.
no setterinherited
HOST_CAPABILITIES → List<PLGHostCapability>?
Enum-typed host capability dependencies (richer than CAPABILITIES, which is string-tagged metadata).
no setter
hostCapabilities → List<PLGHostCapability>?
no setter
ICON_URL → String?
URL to plugin icon/logo
no setter
iconUrl → String?
no setter
INVOKE_SURFACES → List<invokeSurfaceKind>?
Canonical invoke surfaces this artifact exposes. A single plugin MAY list both DIRECT and COMMAND when it supports both.
no setter
invokeSurfaces → List<invokeSurfaceKind>?
no setter
KEY_ID → String?
Provider-local identifier for the module content key
no setter
keyId → String?
no setter
LICENSE → String?
License identifier (SPDX format)
no setter
LISTING_STATUS → publicationState
Storefront publication state for this manifest version
no setter
listingStatus → publicationState
no setter
MAX_GRANT_TIMEOUT_MS → int
Maximum grant timeout allowed for this module publication
no setter
maxGrantTimeoutMs → int
no setter
METHODS → List<PLGMethodManifest>?
Rich per-method invoke manifests (port shape, drain semantics, accepted wire formats). ENTRY_FUNCTIONS retains the slim name+input_schemas+output_schema summary; METHODS carries the full invoke-surface detail including aligned-binary advertisement.
no setter
MIN_PERMISSIONS → List<String>?
Minimum permissions required to run
no setter
minPermissions → List<String>?
no setter
NAME → String?
Human-readable plugin name
no setter
PAYMENT_MODEL → purchaseTier
Commercial model used for storefront purchase flows
no setter
paymentModel → purchaseTier
no setter
PLUGIN_ID → String?
Unique identifier for the plugin
no setter
PLUGIN_TYPE → pluginCategory
Type/category of the plugin
no setter
pluginId → String?
no setter
pluginType → pluginCategory
no setter
PRICE_USD_CENTS → int
Price in USD cents for one-time purchase or subscription period
no setter
priceUsdCents → int
no setter
PRIMARY_CATEGORY → capabilityClass
The one ratified $CCT category this module is shelved under. This is the category a storefront capsule, a library shelf and a breadcrumb show when exactly one must be chosen. UNSPECIFIED means the publisher did not classify the module; a consumer renders it ungrouped and never guesses.
no setter
primaryCategory → capabilityClass
no setter
PROTOCOLS → List<PLGProtocolSpec>?
Protocol handler declarations.
no setter
PROVIDER_EPM_CID → String?
IPFS CID of provider's EPM (Entity Profile Message)
no setter
PROVIDER_PEER_ID → String?
Peer ID of the plugin provider
no setter
providerEpmCid → String?
no setter
providerPeerId → String?
no setter
PUBLISHER_HANDLE → String?
Publisher handle or username
no setter
PUBLISHER_NAME → String?
Human-readable publisher or organization name
no setter
PUBLISHER_URL → String?
Canonical publisher website
no setter
publisherHandle → String?
no setter
publisherName → String?
no setter
publisherUrl → String?
no setter
REQUIRED_SCHEMAS → List<String>?
FlatBuffer schemas required by this plugin
no setter
REQUIRED_SCOPE → String?
Canonical required scope for grant issuance
no setter
requiredSchemas → List<String>?
no setter
requiredScope → String?
no setter
RUNTIME_TARGETS → List<String>?
Opaque runtime-target tags (e.g. "wasmtime", "wasmedge", "browser").
no setter
runtimeTargets → List<String>?
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
SCHEMAS_USED → List<FlatBufferTypeRef>?
FlatBuffer schemas this plugin depends on at the invoke surface.
no setter
schemasUsed → List<FlatBufferTypeRef>?
no setter
SCREENSHOT_URLS → List<String>?
Screenshot URLs showing the plugin in use
no setter
screenshotUrls → List<String>?
no setter
SIGNATURE → List<int>?
Ed25519 signature from provider over manifest
no setter
SUBSCRIPTION_PERIOD_DAYS → int
Subscription billing period length in days
no setter
subscriptionPeriodDays → int
no setter
SUPPORT_URL → String?
Support or helpdesk URL for this plugin
no setter
supportUrl → String?
no setter
TAGLINE → String?
Short marketing summary shown in storefront listings
no setter
TAGS → List<String>?
Search and categorization tags for discovery
no setter
TIMERS → List<PLGTimerSpec>?
Timer declarations for scheduled invocations.
no setter
UPDATED_AT → int
Unix timestamp when plugin was last updated
no setter
updatedAt → int
no setter
VERSION → String?
Plugin version (semver format)
no setter
WASM_CID → String?
IPFS CID of the encrypted WASM binary
no setter
WASM_HASH → List<int>?
SHA256 hash of the decrypted WASM binary
no setter
WASM_SIZE → int
Size of decrypted WASM binary in bytes
no setter
wasmCid → String?
no setter
wasmHash → List<int>?
no setter
wasmSize → int
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

reader → const Reader<PLG>