{
  "$schema": "https://schema.brika.dev/plugin.schema.json",
  "name": "@brika/blocks-builtin",
  "displayName": "Core Blocks",
  "version": "0.3.1",
  "description": "Core workflow blocks for BRIKA automations",
  "author": "BRIKA Team",
  "license": "MIT",
  "homepage": "https://github.com/brikalabs/brika/tree/main/plugins/blocks-builtin#readme",
  "bugs": {
    "url": "https://github.com/brikalabs/brika/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/brikalabs/brika.git",
    "directory": "plugins/blocks-builtin"
  },
  "icon": "./icon.svg",
  "keywords": [
    "brika",
    "blocks",
    "workflow",
    "automation",
    "condition",
    "delay",
    "home-automation",
    "visual-programming",
    "brika-plugin"
  ],
  "engines": {
    "brika": "^0.3.0"
  },
  "type": "module",
  "main": "./src/main.ts",
  "exports": {
    ".": "./src/main.ts"
  },
  "files": [
    "src",
    "locales",
    "icon.svg",
    "README.md"
  ],
  "scripts": {
    "link": "bun link",
    "typecheck": "tsgo --noEmit",
    "prepublishOnly": "brika-verify-plugin"
  },
  "blocks": [
    {
      "id": "clock",
      "name": "Clock",
      "description": "Emit periodic ticks on an interval",
      "category": "trigger",
      "icon": "clock",
      "color": "#22c55e"
    },
    {
      "id": "http-request",
      "name": "HTTP Request",
      "description": "Make HTTP requests to external APIs",
      "category": "action",
      "icon": "globe",
      "color": "#3b82f6"
    },
    {
      "id": "condition",
      "name": "Condition",
      "description": "Branch based on a condition",
      "category": "flow",
      "icon": "git-branch",
      "color": "#f59e0b"
    },
    {
      "id": "switch",
      "name": "Switch",
      "description": "Multi-way branch based on a value",
      "category": "flow",
      "icon": "shuffle",
      "color": "#8b5cf6"
    },
    {
      "id": "delay",
      "name": "Delay",
      "description": "Wait for a duration before continuing",
      "category": "flow",
      "icon": "timer",
      "color": "#6b7280"
    },
    {
      "id": "transform",
      "name": "Transform",
      "description": "Transform or extract data fields",
      "category": "transform",
      "icon": "edit",
      "color": "#ec4899"
    },
    {
      "id": "log",
      "name": "Log",
      "description": "Log a message to the console",
      "category": "action",
      "icon": "file-text",
      "color": "#78716c"
    },
    {
      "id": "merge",
      "name": "Merge",
      "description": "Wait for multiple inputs before continuing",
      "category": "flow",
      "icon": "git-merge",
      "color": "#06b6d4"
    },
    {
      "id": "split",
      "name": "Split",
      "description": "Split into parallel branches",
      "category": "flow",
      "icon": "git-fork",
      "color": "#a855f7"
    },
    {
      "id": "end",
      "name": "End",
      "description": "End the workflow branch",
      "category": "action",
      "icon": "square",
      "color": "#dc2626"
    },
    {
      "id": "spark-receiver",
      "name": "Spark Receiver",
      "description": "Receives typed spark events",
      "category": "trigger",
      "icon": "zap",
      "color": "#f59e0b"
    }
  ],
  "dependencies": {
    "@brika/sdk": "0.3.1",
    "zod": "^4.3.6"
  }
}
