resonate-lovable-usage-prompt-typescript

Guide TypeScript integration of Resonate durable workflows with Lovable.dev UIs.

6|Updated Jan 8, 2026
One-click install
npx skills add https://github.com/resonatehq/resonate-skills --skill resonate-lovable-usage-prompt-typescript
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: resonate-lovable-usage-prompt-typescript
Source: https://github.com/resonatehq/resonate-skills/tree/main/resonate-lovable-usage-prompt-typescript
Command: npx skills add https://github.com/resonatehq/resonate-skills --skill resonate-lovable-usage-prompt-typescript

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the friction of running durable Resonate workflows inside the Lovable.dev environment by describing patterns to delegate execution to external Resonate servers and workers while using Lovable as the UI and HTTP client. It clarifies when you must avoid local long-running processes in Lovable, how to treat Resonate as the source of truth for workflow state, and when a separate database is truly necessary.

Core Features & Use Cases

  • Architecture guidance for using Lovable as a frontend and control plane while hosting Resonate workers on Cloud Run, Fly.io, Railway, or similar platforms.
  • Protocol guidance for when to use the Resonate SDK versus the HTTP API: start workflows with beginRpc when execution is required and use the promises endpoints to query or resolve state from the Lovable backend.
  • Human-in-the-loop patterns showing how external workers create approval promises, notify the Lovable backend, and accept resolution actions from Lovable UIs.
  • Practical deployment and integration tips including recommended timeout semantics (absolute epoch milliseconds), base64-encoded payload conventions, and Supabase integration for optional UI state tracking.

Quick Start

Deploy an external Resonate server and worker, configure your Lovable backend to invoke beginRpc for starting workflows and use the Resonate HTTP promises endpoints to list and resolve approvals.

Frequently Asked Questions about resonate-lovable-usage-prompt-typescript

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate Resonate durable workflows into a Lovable app?

To integrate Resonate durable workflows into a Lovable app, deploy an external Resonate server and workers, use Lovable as the UI and HTTP client, and trigger workflows using beginRpc. This pattern delegates execution to external servers while Lovable manages HTTP requests.

When should I use the Resonate SDK versus the HTTP API in a TypeScript frontend?

Use the Resonate SDK to start workflows with beginRpc when execution is required, and use the Resonate HTTP promises endpoints to query or resolve state from your Lovable backend. This separates execution logic from state management.

How do I manage human-in-the-loop approvals with Resonate and Lovable?

External Resonate workers create approval promises and notify the Lovable backend, allowing Lovable UIs to accept resolution actions. Workers handle the durable code while Lovable serves as the control plane for user interactions.

Do I need a database for Resonate workflow state tracking in Lovable?

You do not need a database for Resonate workflow state tracking because Resonate acts as the source of truth. Supabase integration is optional and recommended only when you need separate UI state tracking alongside the core workflow data.

Why should I avoid local long-running processes in Lovable for background tasks?

You should avoid local long-running processes in Lovable because it functions as a UI and HTTP client, not an execution environment. Delegating durable code execution to external Resonate workers ensures reliable workflow state management.

What are the timeout and payload conventions for Resonate promises in TypeScript?

Resonate promises in TypeScript should use absolute epoch milliseconds for timeout semantics and base64-encoded payloads. These conventions ensure consistent time tracking and secure data transmission between Lovable and Resonate servers.