Files
HiveGrid-Wireframes/hivegrid-cloud/packages/plugin-sdk/examples/hello-world/plugin.toml
T

29 lines
1.2 KiB
TOML

# Phase 06 #21 — Hello-World example plugin manifest.
#
# A plugin author ships exactly this file alongside the .wasm binary.
# The runtime parses it via @toolctrl/plugin-runtime's PluginManifestSchema
# (note: foundation supports both TOML and JSON shape — the schema works
# off the parsed object so authors may choose the format their toolchain
# emits). The values below are illustrative; the wasmSha256 / signature /
# signedBy fields are placeholders that an operator replaces after
# signing the actual binary with `toolctrl plugin sign` (deferred CLI,
# see Deviations in wasm-sandbox.md).
schemaVersion = 1
id = "de.toolctrl.hello"
version = "1.0.0"
name = "Hello World"
description = "Returns a greeting. Demonstrates the minimum viable plugin."
entry = "plugin.wasm"
wasmSha256 = "0000000000000000000000000000000000000000000000000000000000000000"
signature = "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
signedBy = "0000000000000000000000000000000000000000000000000000000000000000"
allowedHosts = []
[[capabilities]]
name = "log"
[[hooks]]
name = "onHello"
export = "handleHello"