Skip to content

Commit 7d0fdef

Browse files
authored
v0.6.18: file operations block, profound integration, edge connection improvements, copy logs, knowledgebase robustness
2 parents 73e00f5 + 90f5927 commit 7d0fdef

File tree

143 files changed

+7860
-3740
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+7860
-3740
lines changed

apps/docs/components/icons.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,6 +1285,17 @@ export function StartIcon(props: SVGProps<SVGSVGElement>) {
12851285
)
12861286
}
12871287

1288+
export function ProfoundIcon(props: SVGProps<SVGSVGElement>) {
1289+
return (
1290+
<svg width='1em' height='1em' viewBox='0 0 55 55' xmlns='http://www.w3.org/2000/svg' {...props}>
1291+
<path
1292+
fill='currentColor'
1293+
d='M0 36.685V21.349a7.017 7.017 0 0 1 2.906-5.69l19.742-14.25A7.443 7.443 0 0 1 27.004 0h.062c1.623 0 3.193.508 4.501 1.452l19.684 14.207a7.016 7.016 0 0 1 2.906 5.69v12.302a7.013 7.013 0 0 1-2.907 5.689L31.527 53.562A7.605 7.605 0 0 1 27.078 55a7.641 7.641 0 0 1-4.465-1.44c-2.581-1.859-6.732-4.855-6.732-4.855V29.777c0-.249.28-.393.482-.248l10.538 7.605c.106.077.249.077.355 0l13.005-9.386a.306.306 0 0 0 0-.496l-13.005-9.386a.303.303 0 0 0-.355 0L.482 36.933A.304.304 0 0 1 0 36.685Z'
1294+
/>
1295+
</svg>
1296+
)
1297+
}
1298+
12881299
export function PineconeIcon(props: SVGProps<SVGSVGElement>) {
12891300
return (
12901301
<svg

apps/docs/components/ui/icon-mapping.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ import {
126126
PolymarketIcon,
127127
PostgresIcon,
128128
PosthogIcon,
129+
ProfoundIcon,
129130
PulseIcon,
130131
QdrantIcon,
131132
QuiverIcon,
@@ -302,6 +303,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
302303
polymarket: PolymarketIcon,
303304
postgresql: PostgresIcon,
304305
posthog: PosthogIcon,
306+
profound: ProfoundIcon,
305307
pulse_v2: PulseIcon,
306308
qdrant: QdrantIcon,
307309
quiver: QuiverIcon,

apps/docs/content/docs/en/tools/file.mdx

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: File
3-
description: Read and parse multiple files
3+
description: Read and write workspace files
44
---
55

66
import { BlockInfoCard } from "@/components/ui/block-info-card"
@@ -27,7 +27,7 @@ The File Parser tool is particularly useful for scenarios where your agents need
2727

2828
## Usage Instructions
2929

30-
Upload files directly or import from external URLs to get UserFile objects for use in other blocks.
30+
Read and parse files from uploads or URLs, write new workspace files, or append content to existing files.
3131

3232

3333

@@ -52,4 +52,45 @@ Parse one or more uploaded files or files from URLs (text, PDF, CSV, images, etc
5252
| `files` | file[] | Parsed files as UserFile objects |
5353
| `combinedContent` | string | Combined content of all parsed files |
5454

55+
### `file_write`
56+
57+
Create a new workspace file. If a file with the same name already exists, a numeric suffix is added (e.g.,
58+
59+
#### Input
60+
61+
| Parameter | Type | Required | Description |
62+
| --------- | ---- | -------- | ----------- |
63+
| `fileName` | string | Yes | File name \(e.g., "data.csv"\). If a file with this name exists, a numeric suffix is added automatically. |
64+
| `content` | string | Yes | The text content to write to the file. |
65+
| `contentType` | string | No | MIME type for new files \(e.g., "text/plain"\). Auto-detected from file extension if omitted. |
66+
67+
#### Output
68+
69+
| Parameter | Type | Description |
70+
| --------- | ---- | ----------- |
71+
| `id` | string | File ID |
72+
| `name` | string | File name |
73+
| `size` | number | File size in bytes |
74+
| `url` | string | URL to access the file |
75+
76+
### `file_append`
77+
78+
Append content to an existing workspace file. The file must already exist. Content is added to the end of the file.
79+
80+
#### Input
81+
82+
| Parameter | Type | Required | Description |
83+
| --------- | ---- | -------- | ----------- |
84+
| `fileName` | string | Yes | Name of an existing workspace file to append to. |
85+
| `content` | string | Yes | The text content to append to the file. |
86+
87+
#### Output
88+
89+
| Parameter | Type | Description |
90+
| --------- | ---- | ----------- |
91+
| `id` | string | File ID |
92+
| `name` | string | File name |
93+
| `size` | number | File size in bytes |
94+
| `url` | string | URL to access the file |
95+
5596

apps/docs/content/docs/en/tools/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
"polymarket",
122122
"postgresql",
123123
"posthog",
124+
"profound",
124125
"pulse",
125126
"qdrant",
126127
"quiver",

0 commit comments

Comments
 (0)