New:Socket for Asana Is Now Available.Learn more
Sign In

@sidebutton/core

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sidebutton/core

Core workflow automation engine for AI agents — agentic workflows in YAML

Source
npmnpm
Version
1.5.0
Version published
Maintainers
2
Created
Source

@sidebutton/core

Core workflow engine for SideButton - YAML-based browser and shell automation.

npm version License

Installation

npm install @sidebutton/core

Overview

This package provides the core workflow engine used by SideButton:

  • Workflow Types - TypeScript definitions for workflows, steps, and execution context
  • YAML Parser - Load and validate workflow definitions from YAML files
  • Step Executors - Execute 20+ step types (browser, shell, LLM, control flow)
  • Variable Interpolation - {{variable}} syntax for dynamic values

Usage

import { parseWorkflow, executeWorkflow } from '@sidebutton/core';

// Parse a workflow from YAML
const workflow = parseWorkflow(`
  id: hello_world
  title: Hello World
  steps:
    - type: shell.run
      cmd: echo "Hello from SideButton!"
`);

// Execute the workflow
const result = await executeWorkflow(workflow, context);

Step Types

CategorySteps
Browsernavigate, click, type, scroll, hover, wait, extract, extractAll, exists, key
Shellshell.run, terminal.open, terminal.run
LLMllm.classify, llm.generate
Controlcontrol.if, control.retry, control.stop, workflow.call
Datadata.first

Documentation

License

Apache-2.0

Keywords

workflow

FAQs

Package last updated on 03 Jul 2026

Related posts