@runtypelabs/react-flow 0.1.26 → 0.2.1

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,5 +1,5 @@
1
1
 
2
- > @runtypelabs/react-flow@0.1.26 build /home/runner/_work/core/core/packages/react-flow
2
+ > @runtypelabs/react-flow@0.2.1 build /home/runner/_work/core/core/packages/react-flow
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -10,9 +10,9 @@
10
10
  CLI Cleaning output folder
11
11
  CJS Build start
12
12
  ESM Build start
13
- ESM dist/index.mjs 101.14 KB
14
- ESM dist/index.mjs.map 224.38 KB
15
- ESM ⚡️ Build success in 367ms
16
- CJS dist/index.js 105.20 KB
17
- CJS dist/index.js.map 224.70 KB
18
- CJS ⚡️ Build success in 367ms
13
+ ESM dist/index.mjs 101.45 KB
14
+ ESM dist/index.mjs.map 224.97 KB
15
+ ESM ⚡️ Build success in 624ms
16
+ CJS dist/index.js 105.50 KB
17
+ CJS dist/index.js.map 225.29 KB
18
+ CJS ⚡️ Build success in 625ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @runtypelabs/react-flow
2
2
 
3
+ ## 0.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [8494865]
8
+ - Updated dependencies [f49d2d6]
9
+ - @runtypelabs/sdk@1.9.1
10
+
11
+ ## 0.2.0
12
+
13
+ ### Minor Changes
14
+
15
+ - 152019b: Add a first-class Cloudflare Browser Rendering `crawl` flow step with synchronous execution, settings-based credentials, per-page platform billing, and editor/SDK authoring support.
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [152019b]
20
+ - Updated dependencies [b6d2ceb]
21
+ - @runtypelabs/sdk@1.9.0
22
+
3
23
  ## 0.1.26
4
24
 
5
25
  ### Patch Changes
package/dist/index.js CHANGED
@@ -297,6 +297,7 @@ function createEdgesFromNodes(nodes) {
297
297
  function getDefaultStepName(type) {
298
298
  const names = {
299
299
  prompt: "AI Prompt",
300
+ crawl: "Crawl Website",
300
301
  "fetch-url": "Fetch URL",
301
302
  "retrieve-record": "Retrieve Record",
302
303
  "fetch-github": "Fetch GitHub",
@@ -314,7 +315,9 @@ function getDefaultStepName(type) {
314
315
  "generate-embedding": "Generate Embedding",
315
316
  "vector-search": "Vector Search",
316
317
  "tool-call": "Tool Call",
317
- "wait-until": "Wait Until"
318
+ "wait-until": "Wait Until",
319
+ "paginate-api": "Paginate API",
320
+ "store-vector": "Store Vector"
318
321
  };
319
322
  return names[type] || type;
320
323
  }
@@ -339,6 +342,16 @@ function createDefaultStep(type, order = 0) {
339
342
  outputVariable: `${type}_result`
340
343
  }
341
344
  };
345
+ case "crawl":
346
+ return {
347
+ ...baseStep,
348
+ config: {
349
+ url: "",
350
+ formats: ["markdown"],
351
+ render: false,
352
+ outputVariable: "crawl_result"
353
+ }
354
+ };
342
355
  case "fetch-url":
343
356
  return {
344
357
  ...baseStep,