Skip to content

Commit e6b3cce

Browse files
authored
v0.6.86: gemini 3.5 flash, wiza integration, CORS cleanup, railway and new relic integrations
2 parents d14af04 + d55f40c commit e6b3cce

306 files changed

Lines changed: 23992 additions & 4192 deletions

File tree

Some content is hidden

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

apps/docs/components/icons.tsx

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3126,6 +3126,36 @@ export function AzureIcon(props: SVGProps<SVGSVGElement>) {
31263126
)
31273127
}
31283128

3129+
export function AzureDevOpsIcon(props: SVGProps<SVGSVGElement>) {
3130+
const id = useId()
3131+
const gradientId = `azure_devops_gradient_${id}`
3132+
return (
3133+
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128' {...props}>
3134+
<defs>
3135+
<linearGradient
3136+
id={gradientId}
3137+
gradientUnits='userSpaceOnUse'
3138+
x1='9'
3139+
y1='16.97'
3140+
x2='9'
3141+
y2='1.03'
3142+
gradientTransform='scale(7.11111)'
3143+
>
3144+
<stop offset='0' stopColor='#0078d4' />
3145+
<stop offset='.16' stopColor='#1380da' />
3146+
<stop offset='.53' stopColor='#3c91e5' />
3147+
<stop offset='.82' stopColor='#559cec' />
3148+
<stop offset='1' stopColor='#5ea0ef' />
3149+
</linearGradient>
3150+
</defs>
3151+
<path
3152+
fill={`url(#${gradientId})`}
3153+
d='M120.89 28.445v69.262l-28.445 23.324-44.09-16.07v15.93L23.395 88.25l72.746 5.688V31.574ZM96.64 31.93 55.82 7.11v16.285L18.348 34.418 7.109 48.852v32.785l16.075 7.11V46.718Zm0 0'
3154+
/>
3155+
</svg>
3156+
)
3157+
}
3158+
31293159
export const GroqIcon = (props: SVGProps<SVGSVGElement>) => (
31303160
<svg
31313161
{...props}
@@ -6928,6 +6958,14 @@ export function HexIcon(props: SVGProps<SVGSVGElement>) {
69286958
)
69296959
}
69306960

6961+
export function RailwayIcon(props: SVGProps<SVGSVGElement>) {
6962+
return (
6963+
<svg {...props} xmlns='http://www.w3.org/2000/svg' fill='#0B0D0E' viewBox='0 0 24 24'>
6964+
<path d='M.113 10.27A13 13 0 0 0 0 11.48h18.23a2.3 2.3 0 0 0-.235-.347c-3.117-4.027-4.793-3.677-7.19-3.78-.8-.034-1.34-.048-4.524-.048-1.704 0-3.555.005-5.358.01-.234.63-.459 1.24-.567 1.737h9.342v1.216H.113zm18.26 2.426H.009q.029.488.094.961h16.955c.754 0 1.179-.429 1.315-.96zm-17.318 4.28s2.81 6.902 10.93 7.024c4.855 0 9.027-2.883 10.92-7.024H1.056zM11.988 0C7.5 0 3.593 2.466 1.531 6.108l4.75-.005v-.002c3.71 0 3.849.016 4.573.047l.448.016c1.563.052 3.485.22 4.996 1.364.82.621 2.007 1.99 2.712 2.965.654.902.842 1.94.396 2.934-.408.914-1.289 1.458-2.353 1.458H.391s.099.42.249.886h22.748A12 12 0 0 0 24 12.005C24 5.377 18.621 0 11.988 0' />
6965+
</svg>
6966+
)
6967+
}
6968+
69316969
export function BigQueryIcon(props: SVGProps<SVGSVGElement>) {
69326970
return (
69336971
<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' {...props}>
@@ -6950,3 +6988,29 @@ export function SnowflakeIcon(props: SVGProps<SVGSVGElement>) {
69506988
</svg>
69516989
)
69526990
}
6991+
6992+
export function NewRelicIcon(props: SVGProps<SVGSVGElement>) {
6993+
return (
6994+
<svg {...props} viewBox='0 0 159.36 159.36' xmlns='http://www.w3.org/2000/svg'>
6995+
<polygon
6996+
fill='#46B978'
6997+
points='79.68 .19 18.89 35.29 45.38 50.58 79.68 30.77 122.04 55.23 122.04 104.13 87.73 123.94 87.73 154.52 148.52 119.42 148.52 39.94 79.68 .19'
6998+
/>
6999+
<polygon
7000+
fill='#46B978'
7001+
points='53.2 94.97 53.2 143.88 79.68 159.17 79.68 79.68 10.84 39.94 10.84 70.51 53.2 94.97'
7002+
/>
7003+
</svg>
7004+
)
7005+
}
7006+
7007+
export function WizaIcon(props: SVGProps<SVGSVGElement>) {
7008+
return (
7009+
<svg {...props} viewBox='0 0 51 49' fill='none' xmlns='http://www.w3.org/2000/svg'>
7010+
<path
7011+
fill='#FFFFFF'
7012+
d='m50.3 33.6-9.3-3.5c-2.9-10.4-9.6-20.8-17.1-29.4-1.4-1.5-4.4-0.7-4.2 1.9 0.4 6-0.4 13.3-4.4 20.5-0.9 1.6 1.4 3.3 2.9 1.6 3.2-3.3 5.3-9.1 6.3-15.2 3.9 5.4 9.2 13.8 11.2 22.9 0.2 0.9 0.8 1.6 1.6 1.9l6.2 2.3c-4.1 3.3-9.6 6-17.7 6-7.1 0-13.2-2.3-18.5-6l3.6-2.5c3.5 2 7.5 3.5 12.5 3.6 2.5 0 5-0.2 7.3-0.9 2-0.5 1.6-3.2-0.3-3-4 0.5-10.3 0.3-17.1-4.3-0.8-0.5-1.9-0.6-2.7-0.2l-9.2 4.3c-1.4 0.6-2.1 3.1-0.5 4.3 4.7 3.8 12.4 10.1 24.2 10.1 11.9 0 20.4-4.3 25.8-10.1 1.2-1.2 1.2-3.5-0.6-4.3z'
7013+
/>
7014+
</svg>
7015+
)
7016+
}

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import {
2020
AshbyIcon,
2121
AthenaIcon,
2222
AttioIcon,
23+
AzureDevOpsIcon,
2324
AzureIcon,
2425
BoxCompanyIcon,
2526
BrainIcon,
@@ -127,6 +128,7 @@ import {
127128
MongoDBIcon,
128129
MySQLIcon,
129130
Neo4jIcon,
131+
NewRelicIcon,
130132
NotionIcon,
131133
ObsidianIcon,
132134
OktaIcon,
@@ -148,6 +150,7 @@ import {
148150
PulseIcon,
149151
QdrantIcon,
150152
QuiverIcon,
153+
RailwayIcon,
151154
RDSIcon,
152155
RedditIcon,
153156
RedisIcon,
@@ -197,6 +200,7 @@ import {
197200
WebflowIcon,
198201
WhatsAppIcon,
199202
WikipediaIcon,
203+
WizaIcon,
200204
WordpressIcon,
201205
WorkdayIcon,
202206
xIcon,
@@ -225,6 +229,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
225229
ashby: AshbyIcon,
226230
athena: AthenaIcon,
227231
attio: AttioIcon,
232+
azure_devops: AzureDevOpsIcon,
228233
box: BoxCompanyIcon,
229234
brandfetch: BrandfetchIcon,
230235
brightdata: BrightDataIcon,
@@ -263,6 +268,8 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
263268
extend_v2: ExtendIcon,
264269
fathom: FathomIcon,
265270
file: DocumentIcon,
271+
file_v2: DocumentIcon,
272+
file_v3: DocumentIcon,
266273
file_v4: DocumentIcon,
267274
findymail: FindymailIcon,
268275
firecrawl: FirecrawlIcon,
@@ -308,6 +315,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
308315
iam: IAMIcon,
309316
identity_center: IdentityCenterIcon,
310317
image_generator: ImageIcon,
318+
image_generator_v2: ImageIcon,
311319
imap: MailServerIcon,
312320
incidentio: IncidentioIcon,
313321
infisical: InfisicalIcon,
@@ -340,11 +348,13 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
340348
microsoft_planner: MicrosoftPlannerIcon,
341349
microsoft_teams: MicrosoftTeamsIcon,
342350
mistral_parse: MistralIcon,
351+
mistral_parse_v2: MistralIcon,
343352
mistral_parse_v3: MistralIcon,
344353
monday: MondayIcon,
345354
mongodb: MongoDBIcon,
346355
mysql: MySQLIcon,
347356
neo4j: Neo4jIcon,
357+
new_relic: NewRelicIcon,
348358
notion: NotionIcon,
349359
notion_v2: NotionIcon,
350360
obsidian: ObsidianIcon,
@@ -368,6 +378,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
368378
pulse_v2: PulseIcon,
369379
qdrant: QdrantIcon,
370380
quiver: QuiverIcon,
381+
railway: RailwayIcon,
371382
rds: RDSIcon,
372383
reddit: RedditIcon,
373384
redis: RedisIcon,
@@ -420,12 +431,14 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
420431
vercel: VercelIcon,
421432
video_generator: VideoIcon,
422433
video_generator_v2: VideoIcon,
434+
video_generator_v3: VideoIcon,
423435
vision: EyeIcon,
424436
vision_v2: EyeIcon,
425437
wealthbox: WealthboxIcon,
426438
webflow: WebflowIcon,
427439
whatsapp: WhatsAppIcon,
428440
wikipedia: WikipediaIcon,
441+
wiza: WizaIcon,
429442
wordpress: WordpressIcon,
430443
workday: WorkdayIcon,
431444
x: xIcon,

apps/docs/content/docs/en/blocks/function.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ const file = <readfile.file>;
198198
const base64 = await sim.files.readBase64(file);
199199
```
200200

201-
`sim.files.readBase64(file)`, `sim.files.readText(file)`, `sim.files.readBase64Chunk(file, { offset, length })`, and `sim.files.readTextChunk(file, { offset, length })` read from server-side execution storage under memory caps. `sim.values.read(ref)` can explicitly read a large execution value reference. These helpers are available only in JavaScript functions without imports. JavaScript with imports, Python, and shell do not support these lazy helpers yet.
201+
`sim.files.readBase64(file)`, `sim.files.readText(file)`, `sim.files.readBase64Chunk(file, { offset, length })`, and `sim.files.readTextChunk(file, { offset, length })` read from server-side execution storage under memory caps. `sim.values.read(ref)` explicitly reads a large execution value reference, and `sim.values.readArray(ref)` reads a manifest-backed large array. These helpers are available only in JavaScript functions without imports. JavaScript with imports, Python, and shell do not support these lazy helpers yet.
202202

203203
Very large full reads can still fail by design; use chunk helpers or return a file when you need to handle more data.
204204

@@ -228,7 +228,7 @@ return { name: file.name, chunk: firstMegabyteBase64 };
228228

229229
Chunk `offset` and `length` are byte-based. For Unicode text, a chunk can split a multi-byte character at the boundary; use text chunks for approximate text processing and prefer smaller structured references when exact parsing matters.
230230

231-
Avoid passing a full large object into a Function block when you only need one field. For example, prefer `<api.data.customerId>` over `<api.data>` when the API response is large. If a JavaScript Function without imports references a large execution value, Sim automatically reads it through `sim.values.read(...)` at runtime under memory caps.
231+
Avoid passing a full large object into a Function block when you only need one field. For example, prefer `<api.data.customerId>` over `<api.data>` when the API response is large. If a JavaScript Function without imports references a whole large execution value, Sim automatically rewrites it to `sim.values.read(...)` at runtime under memory caps. If the value is a manifest-backed array, Sim rewrites it to `sim.values.readArray(...)` so array variables can stay compact between blocks.
232232

233233
For large generated data, write the result to a file or table with `outputPath`, `outputSandboxPath`, or `outputTable` instead of returning the entire payload inline.
234234

apps/docs/content/docs/en/execution/api-deployment.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ Workflow execution responses are capped by platform request and response limits.
232232
}
233233
```
234234

235-
The `version` field is part of the external API contract. Treat the reference as an opaque placeholder for a value that could not be safely embedded in the response. `id`, `key`, and `executionId` are not fetch URLs; `key` points to execution-scoped server storage. Use `selectedOutputs` to request a smaller nested field, reduce the data passed between blocks, or return the data from a Response block when your workflow intentionally owns the HTTP response body. File outputs are metadata-first; request `.base64` only when you need inline file content. JavaScript Function blocks can explicitly read large files or value refs with the `sim.files` and `sim.values` helpers under memory caps.
235+
The `version` field is part of the external API contract. Treat the reference as an opaque placeholder for a value that could not be safely embedded in the response. `id`, `key`, and `executionId` are not fetch URLs; `key` points to execution-scoped server storage. Use `selectedOutputs` to request a smaller nested field, reduce the data passed between blocks, or return the data from a Response block when your workflow intentionally owns the HTTP response body. File outputs are metadata-first; request `.base64` only when you need inline file content. JavaScript Function blocks can explicitly read large files, value refs, and manifest-backed arrays with the `sim.files` and `sim.values` helpers under memory caps.
236236

237237
### Asynchronous
238238

0 commit comments

Comments
 (0)