Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workflows

Workflows

Petgraph DAG automation with triggers, durable execution, and a natural-language workflow builder.

The public home of ryu-workflows. Source, builds, and releases live here — binaries for every platform are attached to each release.

This tree is generated from the Ryu monorepo, so commits pushed here directly are replaced on the next sync. Pull requests are welcome — open them here and they are ported into the monorepo, then flow back out. Ryu as a whole: https://github.com/amajorai/ryu

Install

App: Install (opens the Ryu desktop app and asks you to confirm)

CLI:

ryu apps add @ryu/workflows

Source & build

This is the source of record for the app UI. It imports Ryu's private @ryu/ui design system, so it does not build standalone outside the monorepo — it builds inside the amajorai/ryu monorepo workspace. The shipped bundle below is the built artifact: a prebuilt single-file companion bundle is included at dist/workflows.ui.html — the runnable UI Ryu loads for this app.

License

Apache-2.0 — see LICENSE.

Parts

  • ui/ — companion (@ryu/workflows-app). A sandboxed full-page Companion (Path B, ui_format: "html"), a React Flow (@xyflow/react) DAG canvas (node editing across all kinds, CRUD, versions, run + run-state, triggers, templates, ghost record→replay) built to one self-contained dist/index.html via vite-plugin-singlefile. No backend crate of its own — it drives Core's /workflows* + /api/workflows/catalog* + /api/recipes/* orchestration over the window.ryu bridge.

The notify_user node supports human-in-the-loop approval gates. The companion can select multiple people from the scoped organization directory and require the first approval, everyone, a fixed count, or a percentage before the DAG continues. Core verifies managed-node recipients and records each member's acknowledgement durably; percentage thresholds round up.

The Run panel also supports a read-only Dry run. It evaluates pure nodes and read-only MCP tools in memory, skips effectful nodes with reasons, creates no run history, and does not deliver notifications or other side effects.

Manifest (manifest.json)

  • id @ryu/workflows · one companion runnable (Workflows, icon workflow-circle-06).
  • Grants: workflows:crud (author/edit/delete), workflows:runstate (run + observe run state), workflows:catalogs (node/template catalogs), ghost:record (ghost record→replay folded into NodeKind::GhostAction).
  • No sidecar: the DAG engine and durable execution (in-process FallbackEngine) live in Core's workflow module. Core owns local schedules and workflow target authorization; when Connect is configured, Connect owns provider trigger creation, ingress, and delivery and Core stores only the target binding.

Surface

Registers as the Workflows companion in the desktop app store / launcher.

Swap seam

The canvas binds to the workflows:* bridge capabilities, not to the engine directly. Node kinds and trigger backends are extensible enums routed through one engine; the durable engine is itself swappable behind Core's workflow module.

When Core reports Connect as the Composio execution owner, the trigger editor uses the host bridge to list, bind, and remove Connect trigger IDs. Connect owns provider trigger creation, ingress, and delivery; Core owns workflow target authorization and execution. Resaving a workflow preserves a Connect binding.

Star History

Star history

About

Petgraph DAG automation with triggers, durable execution, and a natural-language workflow builder.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages