@tunnlo/actions
v0.1.1
Published
Action dispatch for Tunnlo pipelines
Maintainers
Readme
@tunnlo/actions
Action dispatch handlers for Tunnlo pipelines.
Part of the Tunnlo project -- a real-time data-to-agent bridge with intelligent filtering.
Installation
npm install @tunnlo/actionsUsage
import { WebhookAction } from '@tunnlo/actions';
const webhook = new WebhookAction({
url: 'https://hooks.slack.com/services/...',
method: 'POST',
headers: { 'Content-Type': 'application/json' },
});
const result = await webhook.execute({
type: 'webhook',
config: {},
payload: { message: 'Alert: anomaly detected' },
});API
WebhookAction-- sends HTTP requests to external endpoints (Slack, PagerDuty, etc.)ApprovalGateAction-- requires human approval before executing downstream actionsMcpToolAction-- invokes tools on an MCP-compatible server
License
MIT
