@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.
- package/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +20 -0
- package/dist/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -1
- package/dist/index.mjs.map +1 -1
- package/example/CHANGELOG.md +18 -0
- package/example/package.json +1 -1
- package/package.json +2 -2
- package/src/flow-step-types.ts +1 -0
- package/src/utils/adapter.ts +14 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @runtypelabs/react-flow@0.1
|
|
2
|
+
> @runtypelabs/react-flow@0.2.1 build /home/runner/_work/core/core/packages/react-flow
|
|
3
3
|
> tsup
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
[34mCLI[39m Cleaning output folder
|
|
11
11
|
[34mCJS[39m Build start
|
|
12
12
|
[34mESM[39m Build start
|
|
13
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m101.
|
|
14
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[32m224.
|
|
15
|
-
[32mESM[39m ⚡️ Build success in
|
|
16
|
-
[32mCJS[39m [1mdist/index.js [22m[32m105.
|
|
17
|
-
[32mCJS[39m [1mdist/index.js.map [22m[
|
|
18
|
-
[32mCJS[39m ⚡️ Build success in
|
|
13
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m101.45 KB[39m
|
|
14
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m224.97 KB[39m
|
|
15
|
+
[32mESM[39m ⚡️ Build success in 624ms
|
|
16
|
+
[32mCJS[39m [1mdist/index.js [22m[32m105.50 KB[39m
|
|
17
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m225.29 KB[39m
|
|
18
|
+
[32mCJS[39m ⚡️ 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,
|