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

latest
Source
npmnpm
Version
1.5.5
Version published
Weekly downloads
465
140.93%
Maintainers
2
Weekly downloads
 
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 11 Aug 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts