Up to date

@powerhousedao/workflow

6.2.3latest
AGPL-3.0-only·Published Sep 30, 2026

Workflows in Connect: the workflow and connection document models, their editors and Workflow Studio, and the reactor piece.

5 modules

Modules

Document Models

Editors

Apps

Versions(1 stable, 42 total)

Dependencies(15)

zod4.3.6react19.2.6graphql^16react-dom19.2.6remark-gfm4.0.1@xyflow/react12.11.6document-model6.2.3react-markdown10.1.0@uiw/react-json-view2.0.0-alpha.42@powerhousedao/shared6.2.3@tanstack/react-query^5.49.2@powerhousedao/reactor6.2.3@powerhousedao/design-system6.2.3@powerhousedao/reactor-browser6.2.3@powerhousedao/pieces-framework6.2.3
powerhouse.manifest.json
{
  "name": "@powerhousedao/workflow",
  "description": "Workflows in Connect: the workflow and connection document models, their editors and Workflow Studio, and the reactor piece.",
  "category": "",
  "publisher": {
    "name": "@powerhousedao",
    "url": "https://github.com/powerhouse-inc/powerhouse/tree/main/packages/workflow"
  },
  "documentModels": [
    {
      "id": "powerhouse/workflow",
      "name": "Workflow"
    },
    {
      "id": "powerhouse/connection",
      "name": "Connection"
    }
  ],
  "apps": [
    {
      "id": "workflow-studio",
      "name": "Workflow Studio",
      "documentTypes": [
        "powerhouse/document-drive"
      ]
    }
  ],
  "editors": [
    {
      "id": "workflow-editor",
      "name": "Workflow Editor",
      "documentTypes": [
        "powerhouse/workflow"
      ]
    },
    {
      "id": "connection-editor",
      "name": "Connection Editor",
      "documentTypes": [
        "powerhouse/connection"
      ]
    }
  ],
  "pieces": [
    {
      "id": "@powerhousedao/piece-reactor",
      "name": "Powerhouse Reactor",
      "version": "6.2.3",
      "description": "Read and write Powerhouse documents on the reactor this workflow runs in: create documents, dispatch actions, read state and schemas, and fire on document events.",
      "bundle": "dist/node/pieces/reactor",
      "descriptor": "dist/node/pieces/reactor/descriptor.json"
    }
  ],
  "processors": [],
  "subgraphs": [],
  "config": [
    {
      "name": "PH_WORKFLOWS_SECRETS_MASTER_KEY",
      "type": "secret",
      "description": "64 hex chars (32 bytes) encrypting connection secrets at rest. Required on Postgres; on PGlite, unset generates a key at ./.ph/secrets.key. A key other than the one the secrets were stored with is refused, so a lost key means re-entering every secret."
    },
    {
      "name": "PH_WORKFLOWS_EGRESS_ALLOW_ADDRESSES",
      "type": "var",
      "description": "Comma-separated addresses or CIDRs a piece may reach, widening the default policy that refuses private and loopback space. A bare address is taken as one host. Applies to steps and to design-time piece code alike."
    },
    {
      "name": "PH_WORKFLOWS_RUN_CONCURRENCY",
      "type": "var",
      "description": "How many runs execute at once. Each slot is a forked node process, so this is the reactor's real connector concurrency.",
      "default": "4"
    },
    {
      "name": "PH_WORKFLOWS_RUN_QUEUE_DEPTH",
      "type": "var",
      "description": "How many runs may wait for a slot before new ones are refused. 0 waits without limit, turning saturation into latency rather than failures.",
      "default": "0"
    },
    {
      "name": "PH_WORKFLOWS_POLL_INTERVAL_MS",
      "type": "var",
      "description": "Cadence for a polling trigger that names none of its own. An author's override and a piece's requested schedule both win over it; a 1000ms floor applies to all three.",
      "default": "60000"
    },
    {
      "name": "PH_WORKFLOWS_WEBHOOK_RECONCILE_MS",
      "type": "var",
      "description": "How often a webhook trigger re-registers with its provider, so a registration the provider dropped comes back.",
      "default": "900000"
    },
    {
      "name": "PH_WORKFLOWS_WEBHOOK_TIMEOUT_MS",
      "type": "var",
      "description": "How long a sync-mode delivery holds the provider's socket. Past it the run continues and the provider is told so, lest a wedged step tie up connections.",
      "default": "30000"
    },
    {
      "name": "PH_WORKFLOWS_PIECE_MAX_FILE_BYTES",
      "type": "var",
      "description": "File-size ceiling for both directions: a FILE property hydrated from a URL, data URI or attachment ref, and ctx.files.write.",
      "default": "8388608"
    },
    {
      "name": "PH_WORKFLOWS_RUN_RETENTION_DAYS",
      "type": "var",
      "description": "Deletes finished workflow runs older than this many days, with their step executions, in an hourly sweep. Unset or 0 keeps every run."
    }
  ]
}

Install

$ph install @powerhousedao/workflow

Requires Powerhouse CLI

Add to Cloud

Sign in to add this package to your Cloud environment.

Sign in

Package Info

Version6.2.3
LicenseAGPL-3.0-only
Size13.5 MB
Files691
PublishedSep 17, 2026
UpdatedOct 9, 2026

Maintainers(7)

a
acaldas.powerhouse
m
memo.dev
p
prometheus-ph
p
ph-thegoldenmule
c
callme-t
f
froid
l
liberuum