sample-trigger-kit

command
v1.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2026 License: MIT Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Sample Trigger Kit

Reference Emerald trigger plugin bundle implemented with the Go SDK.

It includes:

  • trigger:plugin/sample-trigger-kit/heartbeat

The trigger node demonstrates:

  • plugin-defined trigger registration in the editor
  • config validation through the normal plugin validation path
  • the long-lived trigger runtime stream that receives full subscription snapshots
  • emitted trigger events that start the exact subscribed root node in Emerald

Build

From the repository root:

go build -o .\examples\plugins\sample-trigger-kit\bin\sample-trigger-kit.exe .\examples\plugins\sample-trigger-kit

If you are building on a non-Windows host, update plugin.json to point at the binary name you produce.

Try It

Copy the whole sample-trigger-kit directory under your configured plugin root, for example:

.agents/plugins/sample-trigger-kit/

Then start Emerald or use Settings -> Rediscover Plugins.

Create a pipeline with the Heartbeat Trigger node and connect it to a Return node or a message action. When the pipeline is active, the plugin receives the full active subscription snapshot and emits periodic events with the configured message, sequence, and timestamp payload.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL