@lovable.dev/workflows-sdk 0.0.0-dev.38 → 0.0.0-dev.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { loadTypeScript, t as workflowHandlerSource } from "./graph-2-XTA1gC.js";
1
+ import { loadTypeScript, t as workflowHandlerSource } from "./graph-CWWU6Avq.js";
2
2
  //#region src/manifests/branch-metadata.ts
3
3
  const optionsArgument = {
4
4
  step: 2,
@@ -1,4 +1,4 @@
1
- import { loadTypeScript, t as workflowHandlerSource } from "./graph-2-XTA1gC.js";
1
+ import { loadTypeScript, t as workflowHandlerSource } from "./graph-CWWU6Avq.js";
2
2
  //#region src/manifests/context-escapes.ts
3
3
  const durableMethods = /* @__PURE__ */ new Set([
4
4
  "step",
@@ -1,4 +1,4 @@
1
- import { loadTypeScript, t as workflowHandlerSource } from "./graph-2-XTA1gC.js";
1
+ import { loadTypeScript, t as workflowHandlerSource } from "./graph-CWWU6Avq.js";
2
2
  //#region src/manifests/duplicate-ids.ts
3
3
  /** Where an explicit `{ id }` would sit for each operation. */
4
4
  const optionsArgument = {
@@ -6626,7 +6626,7 @@ function listValueFromJson(listValue, json) {
6626
6626
  }
6627
6627
  //#endregion
6628
6628
  //#region package.json
6629
- var version = "0.0.0-dev.38";
6629
+ var version = "0.0.0-dev.39";
6630
6630
  //#endregion
6631
6631
  //#region src/proto/lovable/appworkflows/v1/workflow_manifest_pb.ts
6632
6632
  /**
@@ -6824,15 +6824,15 @@ function serializeSchema(schema, direction, label) {
6824
6824
  }
6825
6825
  }
6826
6826
  async function generateManifests(definition, options = {}) {
6827
- const { extractWorkflowGraph } = await import("./graph-2-XTA1gC.js");
6828
- const { findBranchMetadataIssues } = await import("./branch-metadata-BVkrjNJi.js");
6829
- const { findWorkflowContextEscapes } = await import("./context-escapes-B_SNzN_x.js");
6830
- const { findDuplicateOperationIds } = await import("./duplicate-ids-CVn0xC8q.js");
6827
+ const { extractWorkflowGraph } = await import("./graph-CWWU6Avq.js");
6828
+ const { findBranchMetadataIssues } = await import("./branch-metadata-9Q7SwqWV.js");
6829
+ const { findWorkflowContextEscapes } = await import("./context-escapes-BjjLSFn5.js");
6830
+ const { findDuplicateOperationIds } = await import("./duplicate-ids-Bh4Pmuqo.js");
6831
6831
  const { DURABLE_ID_REQUIRED } = await import("./durable-ids-Cx341nJQ.js").then((n) => n.n);
6832
- const { findNestedDurableOperations } = await import("./nested-operations-C0tbYAbh.js");
6833
- const { findOperationDescriptionIssues } = await import("./operation-descriptions-C39NMhft.js");
6834
- const { findStepMetadataIssues } = await import("./step-metadata-CAk05qfK.js");
6835
- const { findWaitDeadlineIssues } = await import("./wait-deadlines-CqLdylTi.js");
6832
+ const { findNestedDurableOperations } = await import("./nested-operations--JipkJYP.js");
6833
+ const { findOperationDescriptionIssues } = await import("./operation-descriptions-CJkD92pD.js");
6834
+ const { findStepMetadataIssues } = await import("./step-metadata-BKJlgrp_.js");
6835
+ const { findWaitDeadlineIssues } = await import("./wait-deadlines-BLrZswzc.js");
6836
6836
  const { WAIT_DEADLINE_REQUIRED } = await import("./wait-deadlines-DpK-Fgnd.js");
6837
6837
  const collection = registerWorkflows(definition);
6838
6838
  const manifests = [];
@@ -1,4 +1,4 @@
1
- import { _ as WorkflowManifestStepNodeV1Schema, a as WorkflowManifestGraphEdgeV1Schema, b as WorkflowManifestWaitForEventNodeV1Schema, c as WorkflowManifestLlmNodeV1Schema, d as WorkflowManifestOrderEdgeV1Schema, f as WorkflowManifestParallelNodeV1Schema, g as WorkflowManifestStepExecutionPolicyV1Schema, h as WorkflowManifestSleepUntilNodeV1Schema, i as WorkflowManifestBranchNodeV1Schema, l as WorkflowManifestLoopNodeV1Schema, m as WorkflowManifestSleepNodeV1Schema, n as WorkflowManifestApproveNodeV1Schema, o as WorkflowManifestGraphNodeV1Schema, p as WorkflowManifestRepeatedStepV1Schema, r as WorkflowManifestBranchEdgeV1Schema, s as WorkflowManifestGraphV1Schema, u as WorkflowManifestNowNodeV1Schema, v as WorkflowManifestUnknownNodeV1Schema, x as create, y as WorkflowManifestUuidNodeV1Schema } from "./generate-B6obn2ah.js";
1
+ import { _ as WorkflowManifestStepNodeV1Schema, a as WorkflowManifestGraphEdgeV1Schema, b as WorkflowManifestWaitForEventNodeV1Schema, c as WorkflowManifestLlmNodeV1Schema, d as WorkflowManifestOrderEdgeV1Schema, f as WorkflowManifestParallelNodeV1Schema, g as WorkflowManifestStepExecutionPolicyV1Schema, h as WorkflowManifestSleepUntilNodeV1Schema, i as WorkflowManifestBranchNodeV1Schema, l as WorkflowManifestLoopNodeV1Schema, m as WorkflowManifestSleepNodeV1Schema, n as WorkflowManifestApproveNodeV1Schema, o as WorkflowManifestGraphNodeV1Schema, p as WorkflowManifestRepeatedStepV1Schema, r as WorkflowManifestBranchEdgeV1Schema, s as WorkflowManifestGraphV1Schema, u as WorkflowManifestNowNodeV1Schema, v as WorkflowManifestUnknownNodeV1Schema, x as create, y as WorkflowManifestUuidNodeV1Schema } from "./generate-Dz1fecvJ.js";
2
2
  //#region src/manifests/handler-source.ts
3
3
  const nativeFunctionSource = /\{\s*\[native code\]\s*\}\s*$/;
4
4
  function workflowHandlerSource(handler) {
package/dist/index.d.ts CHANGED
@@ -859,8 +859,8 @@ interface ReplayOutcome {
859
859
  output?: unknown;
860
860
  error?: string;
861
861
  }
862
- interface StepReference<K extends "step" | "llm" = "step" | "llm"> {
863
- kind: K;
862
+ interface StepReference {
863
+ kind: "step";
864
864
  stepId: string;
865
865
  }
866
866
  //#endregion
@@ -891,7 +891,7 @@ type StepsRequest = StepsRequestBase & ({
891
891
  step?: never;
892
892
  } | {
893
893
  action: "execute";
894
- step: StepReference<"step">;
894
+ step: StepReference;
895
895
  });
896
896
  type StepsDisposition = "advanced" | "fork" | "waiting" | "completed" | "failed";
897
897
  interface StepsResponse {
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as DURABLE_ID_REQUIRED } from "./durable-ids-Cx341nJQ.js";
2
- import { C as createWorkflow, D as daily, E as defineSchedule, O as hourly, S as createMiddleware, T as workflowVersions, k as weekly, t as generateManifests, w as registerWorkflows } from "./generate-B6obn2ah.js";
2
+ import { C as createWorkflow, D as daily, E as defineSchedule, O as hourly, S as createMiddleware, T as workflowVersions, k as weekly, t as generateManifests, w as registerWorkflows } from "./generate-Dz1fecvJ.js";
3
3
  import { WorkflowRequestParseError, inMemoryRunStore, parseWorkflowRequest, runWorkflow } from "@tanstack/workflow-core";
4
4
  //#region src/stacks/tanstack/sse.ts
5
5
  const HEADERS = {
@@ -1,4 +1,4 @@
1
- import { loadTypeScript, t as workflowHandlerSource } from "./graph-2-XTA1gC.js";
1
+ import { loadTypeScript, t as workflowHandlerSource } from "./graph-CWWU6Avq.js";
2
2
  //#region src/manifests/nested-operations.ts
3
3
  const durableMethods = [
4
4
  "step",
@@ -1,4 +1,4 @@
1
- import { loadTypeScript, t as workflowHandlerSource } from "./graph-2-XTA1gC.js";
1
+ import { loadTypeScript, t as workflowHandlerSource } from "./graph-CWWU6Avq.js";
2
2
  //#region src/manifests/operation-descriptions.ts
3
3
  const optionsArgument = {
4
4
  approve: 0,
@@ -1,4 +1,4 @@
1
- import { loadTypeScript, t as workflowHandlerSource } from "./graph-2-XTA1gC.js";
1
+ import { loadTypeScript, t as workflowHandlerSource } from "./graph-CWWU6Avq.js";
2
2
  //#region src/manifests/step-metadata.ts
3
3
  async function findStepMetadataIssues(handler) {
4
4
  const api = await loadTypeScript();
package/dist/vite.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as generateManifests } from "./generate-B6obn2ah.js";
1
+ import { t as generateManifests } from "./generate-Dz1fecvJ.js";
2
2
  import { dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
3
3
  import { createServer } from "vite";
4
4
  import { lstat, mkdir, mkdtemp, readdir, rename, rm, writeFile } from "node:fs/promises";
@@ -1,4 +1,4 @@
1
- import { loadTypeScript, t as workflowHandlerSource } from "./graph-2-XTA1gC.js";
1
+ import { loadTypeScript, t as workflowHandlerSource } from "./graph-CWWU6Avq.js";
2
2
  //#region src/manifests/wait-deadlines.ts
3
3
  const optionsArgument = {
4
4
  approve: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovable.dev/workflows-sdk",
3
- "version": "0.0.0-dev.38",
3
+ "version": "0.0.0-dev.39",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "tag": "dev",