Skip to content

Commit 7ffc495

Browse files
authored
v0.7.1: chat voice mode model update, sim trigger, codepipeline integration, smooth streaming, security hardening, db fixes
2 parents 0c2df1e + 20dd654 commit 7ffc495

221 files changed

Lines changed: 27725 additions & 6234 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: 52 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2492,7 +2492,7 @@ export function LinkupIcon(props: SVGProps<SVGSVGElement>) {
24922492
<svg {...props} xmlns='http://www.w3.org/2000/svg' viewBox='0 0 154 107' fill='none'>
24932493
<path
24942494
d='M150.68 72.71C146.61 70.25 137.91 69.54 124.79 70.61C128.99 57.68 133.76 35.39 121.32 25.15C115.89 20.67 107.47 19.04 97.62 20.56C94.68 21.01 91.58 21.74 88.39 22.73C78.87 8.28 66.3 0 53.86 0C39.43 0 26.13 9.34 16.41 26.29C5.68 45.01 0 71.96 0 104.23V104.53L3.6 106.94L3.88 106.83C30.58 95.56 67.58 85.07 100.59 79.4C101.6 87.64 102.12 95.99 102.12 104.24V104.52L105.49 107L105.76 106.91C106.26 106.75 155.16 90.88 153.98 77.59C153.86 76.2 153.18 74.23 150.68 72.71ZM148.41 78.09C148.72 81.54 133.24 91.06 111.84 98.89C115.97 92.1 119.82 84.17 122.78 76.36C135.66 75.14 144.53 75.55 147.79 77.53C148.38 77.88 148.41 78.09 148.41 78.09ZM116.67 77.01C114.08 83.38 110.95 89.63 107.54 95.25C107.33 89.51 106.91 83.88 106.3 78.46C109.92 77.9 113.41 77.41 116.67 77.01ZM117.77 29.5C125.38 35.76 125.78 51.32 118.87 71.18C114.75 71.63 110.28 72.24 105.6 72.98C103.05 55.17 98.28 39.97 91.42 27.75C94.57 26.82 96.97 26.35 98.46 26.11C106.72 24.84 113.58 26.04 117.77 29.5ZM53.86 5.62C65.06 5.62 74.89 12 83.09 24.59C57.7 34.54 30.32 59.41 5.78 94.8C7.43 51.48 23.03 5.62 53.86 5.62M10.19 98.24C40.75 53.93 68.2 36.44 86.07 29.59C92.45 41.24 97.2 56.55 99.84 73.93C70.52 79.03 35.64 88.5 10.19 98.24Z'
2495-
fill='currentColor'
2495+
fill='#000000'
24962496
/>
24972497
</svg>
24982498
)
@@ -4967,7 +4967,7 @@ export function InfisicalIcon(props: SVGProps<SVGSVGElement>) {
49674967
<svg {...props} viewBox='20 25 233 132' xmlns='http://www.w3.org/2000/svg'>
49684968
<path
49694969
d='m191.6 39.4c-20.3 0-37.15 13.21-52.9 30.61-12.99-16.4-29.8-30.61-51.06-30.61-27.74 0-50.44 23.86-50.44 51.33 0 26.68 21.43 51.8 48.98 51.8 20.55 0 37.07-13.86 51.32-31.81 12.69 16.97 29.1 31.41 53.2 31.41 27.13 0 49.85-22.96 49.85-51.4 0-27.12-20.44-51.33-48.95-51.33zm-104.3 77.94c-14.56 0-25.51-12.84-25.51-26.07 0-13.7 10.95-28.29 25.51-28.29 14.93 0 25.71 11.6 37.6 27.34-11.31 15.21-22.23 27.02-37.6 27.02zm104.4 0.25c-15 0-25.28-11.13-37.97-27.37 12.69-16.4 22.01-27.24 37.59-27.24 14.97 0 24.79 13.25 24.79 27.26 0 13-10.17 27.35-24.41 27.35z'
4970-
fill='currentColor'
4970+
fill='#000000'
49714971
/>
49724972
</svg>
49734973
)
@@ -5512,6 +5512,33 @@ export function CloudWatchIcon(props: SVGProps<SVGSVGElement>) {
55125512
)
55135513
}
55145514

5515+
export function CodePipelineIcon(props: SVGProps<SVGSVGElement>) {
5516+
return (
5517+
<svg
5518+
{...props}
5519+
viewBox='5 5 70.002 70.002'
5520+
version='1.1'
5521+
xmlns='http://www.w3.org/2000/svg'
5522+
xmlnsXlink='http://www.w3.org/1999/xlink'
5523+
>
5524+
<g
5525+
id='Icon-Architecture/64/Arch_AWS-CodePipeline_64'
5526+
stroke='none'
5527+
strokeWidth='1'
5528+
fill='none'
5529+
fillRule='evenodd'
5530+
transform='translate(40, 40) scale(1.25) translate(-40, -40)'
5531+
>
5532+
<path
5533+
d='M30,31 L35,31 L35,29 L30,29 L30,31 Z M36.667,61.166 L34.817,60.407 L42.409,41.885 L44.259,42.644 L36.667,61.166 Z M45.571,55.78 L51.068,50.958 L45.575,46.197 L46.886,44.685 L53.245,50.198 C53.463,50.387 53.589,50.662 53.590006,50.951 C53.591,51.24 53.467,51.515 53.249,51.706 L46.89,57.284 L45.571,55.78 Z M25.508976,51.048 C25.507,50.759 25.63,50.484 25.847,50.293 L32.184,44.691 L33.508,46.19 L28.029,51.033 L33.478,55.73 L32.171,57.245 L25.855,51.799 C25.637,51.611 25.511,51.337 25.508976,51.048 L25.508976,51.048 Z M62.535,35 L18.465,35 C16.555,35 15,33.446 15,31.536 L15,31 L27,31 L27,29 L15,29 L15,18.464 C15,16.554 16.555,15 18.465,15 L62.535,15 C64.445,15 66,16.554 66,18.464 L66,29 L38,29 L38,31 L66,31 L66,31.536 C66,33.446 64.445,35 62.535,35 L62.535,35 Z M22,66 L58,66 L58,37 L22,37 L22,66 Z M62.535,13 L18.465,13 C15.451,13 13,15.451 13,18.464 L13,31.536 C13,34.549 15.451,37 18.465,37 L20,37 L20,67 C20,67.552 20.447,68 21,68 L59,68 C59.553,68 60,67.552 60,67 L60,37 L62.535,37 C65.549,37 68,34.549 68,31.536 L68,18.464 C68,15.451 65.549,13 62.535,13 L62.535,13 Z'
5534+
id='AWS-CodePipeline_Icon_64_Squid'
5535+
fill='currentColor'
5536+
/>
5537+
</g>
5538+
</svg>
5539+
)
5540+
}
5541+
55155542
export function TextractIcon(props: SVGProps<SVGSVGElement>) {
55165543
return (
55175544
<svg
@@ -6823,6 +6850,29 @@ export function SixtyfourIcon(props: SVGProps<SVGSVGElement>) {
68236850
)
68246851
}
68256852

6853+
export function SimTriggerIcon(props: SVGProps<SVGSVGElement>) {
6854+
return (
6855+
<svg
6856+
{...props}
6857+
viewBox='0 0 222 222'
6858+
fill='none'
6859+
xmlns='http://www.w3.org/2000/svg'
6860+
aria-hidden='true'
6861+
>
6862+
<path
6863+
fillRule='evenodd'
6864+
clipRule='evenodd'
6865+
d='M107.822 93.76C107.822 97.35 106.403 100.792 103.884 103.328L103.523 103.692C101.006 106.236 97.59 107.658 94.02 107.658H13.45C6.02 107.658 0 113.718 0 121.191V208.332C0 215.806 6.02 221.866 13.45 221.866H99.96C107.383 221.866 113.4 215.806 113.4 208.332V126.745C113.4 123.419 114.71 120.228 117.047 117.874C119.377 115.527 122.546 114.207 125.849 114.207H207.777C215.198 114.207 221.214 108.148 221.214 100.674V13.53C221.214 6.06 215.198 0 207.777 0H121.26C113.839 0 107.822 6.06 107.822 13.53V93.76ZM134.078 18.55H194.952C199.289 18.55 202.796 22.09 202.796 26.45V87.76C202.796 92.12 199.289 95.66 194.952 95.66H134.078C129.748 95.66 126.233 92.12 126.233 87.76V26.45C126.233 22.09 129.748 18.55 134.078 18.55Z'
6866+
fill='currentColor'
6867+
/>
6868+
<path
6869+
d='M207.878 129.57H143.554C135.756 129.57 129.434 135.937 129.434 143.791V207.784C129.434 215.638 135.756 222.005 143.554 222.005H207.878C215.677 222.005 221.999 215.638 221.999 207.784V143.791C221.999 135.937 215.677 129.57 207.878 129.57Z'
6870+
fill='currentColor'
6871+
/>
6872+
</svg>
6873+
)
6874+
}
6875+
68266876
export function SimilarwebIcon(props: SVGProps<SVGSVGElement>) {
68276877
return (
68286878
<svg

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import {
3535
CloudFormationIcon,
3636
CloudflareIcon,
3737
CloudWatchIcon,
38+
CodePipelineIcon,
3839
ConfluenceIcon,
3940
CrowdStrikeIcon,
4041
CursorIcon,
@@ -129,6 +130,7 @@ import {
129130
MistralIcon,
130131
MondayIcon,
131132
MongoDBIcon,
133+
MySQLIcon,
132134
Neo4jIcon,
133135
NeverBounceIcon,
134136
NewRelicIcon,
@@ -146,6 +148,7 @@ import {
146148
PineconeIcon,
147149
PipedriveIcon,
148150
PolymarketIcon,
151+
PostgresIcon,
149152
PosthogIcon,
150153
ProfoundIcon,
151154
ProspeoIcon,
@@ -173,11 +176,15 @@ import {
173176
SentryIcon,
174177
SerperIcon,
175178
ServiceNowIcon,
179+
SftpIcon,
176180
ShopifyIcon,
177181
SimilarwebIcon,
182+
SimTriggerIcon,
178183
SixtyfourIcon,
179184
SlackIcon,
185+
SmtpIcon,
180186
SQSIcon,
187+
SshIcon,
181188
STSIcon,
182189
STTIcon,
183190
StagehandIcon,
@@ -243,6 +250,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
243250
cloudflare: CloudflareIcon,
244251
cloudformation: CloudFormationIcon,
245252
cloudwatch: CloudWatchIcon,
253+
codepipeline: CodePipelineIcon,
246254
confluence: ConfluenceIcon,
247255
confluence_v2: ConfluenceIcon,
248256
crowdstrike: CrowdStrikeIcon,
@@ -355,6 +363,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
355363
mistral_parse_v3: MistralIcon,
356364
monday: MondayIcon,
357365
mongodb: MongoDBIcon,
366+
mysql: MySQLIcon,
358367
neo4j: Neo4jIcon,
359368
neverbounce: NeverBounceIcon,
360369
new_relic: NewRelicIcon,
@@ -373,6 +382,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
373382
pinecone: PineconeIcon,
374383
pipedrive: PipedriveIcon,
375384
polymarket: PolymarketIcon,
385+
postgresql: PostgresIcon,
376386
posthog: PosthogIcon,
377387
profound: ProfoundIcon,
378388
prospeo: ProspeoIcon,
@@ -402,13 +412,17 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
402412
serper: SerperIcon,
403413
servicenow: ServiceNowIcon,
404414
ses: SESIcon,
415+
sftp: SftpIcon,
405416
sharepoint: MicrosoftSharepointIcon,
406417
sharepoint_v2: MicrosoftSharepointIcon,
407418
shopify: ShopifyIcon,
419+
sim_workspace_event: SimTriggerIcon,
408420
similarweb: SimilarwebIcon,
409421
sixtyfour: SixtyfourIcon,
410422
slack: SlackIcon,
423+
smtp: SmtpIcon,
411424
sqs: SQSIcon,
425+
ssh: SshIcon,
412426
stagehand: StagehandIcon,
413427
stripe: StripeIcon,
414428
sts: STSIcon,
File renamed without changes.
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
title: Logs
3+
---
4+
5+
import { Callout } from 'fumadocs-ui/components/callout'
6+
import { Tab, Tabs } from 'fumadocs-ui/components/tabs'
7+
import { FAQ } from '@/components/ui/faq'
8+
9+
The Logs block queries workflow run logs in the current workspace and fetches full details for individual runs — the same data you see on the Logs page, available to your workflows.
10+
11+
## Operations
12+
13+
<Tabs items={['Query Logs', 'Get Run Details']}>
14+
<Tab>
15+
<p>Find runs matching a set of filters. Returns only the matching <strong>run IDs</strong>, ordered newest-first by default.</p>
16+
<ul className="list-disc space-y-1 pl-6">
17+
<li><strong>Workflows</strong>: select specific workflows, or leave empty for all (comma-separated IDs in advanced mode)</li>
18+
<li><strong>Status</strong>: info, error, running, pending, cancelled (empty for all)</li>
19+
<li><strong>Time Range</strong>: presets from the past 30 minutes to the past 30 days, or explicit ISO start/end dates in advanced mode</li>
20+
<li><strong>Cost</strong>: compare run cost against a credit threshold (e.g. ≥ 10 credits)</li>
21+
<li><strong>Duration</strong>: compare run duration against a millisecond threshold</li>
22+
<li><strong>Limit</strong>: maximum run IDs to return (default 100, max 200)</li>
23+
</ul>
24+
</Tab>
25+
<Tab>
26+
<p>Fetch everything about a single run by its run ID:</p>
27+
<ul className="list-disc space-y-1 pl-6">
28+
<li><strong>runId</strong>, <strong>workflowId</strong>, <strong>workflowName</strong></li>
29+
<li><strong>status</strong>, <strong>trigger</strong>, <strong>startedAt</strong>, <strong>durationMs</strong></li>
30+
<li><strong>cost</strong>: run cost in credits</li>
31+
<li><strong>traceSpans</strong>: the full trace — per-block inputs, outputs, timings, and tool calls</li>
32+
<li><strong>finalOutput</strong>: the run's final output</li>
33+
</ul>
34+
</Tab>
35+
</Tabs>
36+
37+
## Typical Pattern
38+
39+
Query for the runs you care about, then loop over the returned IDs and fetch details for each:
40+
41+
1. **Query Logs** with `Status: error` and `Time Range: Past 24 hours``<logs1.runIds>`
42+
2. Loop over the IDs and call **Get Run Details** → inspect `<logs2.traceSpans>` to find the failing block
43+
3. Act on it — post a summary to Slack, file a ticket, or feed the trace to an Agent block for diagnosis
44+
45+
This pairs naturally with the [Sim trigger](/triggers/sim): the trigger hands you the `runId` that fired the event, and Get Run Details gives you the full trace.
46+
47+
<Callout type="info">
48+
The block always operates on the current workspace. Costs are denominated in credits, both for
49+
the cost filter and the cost output.
50+
</Callout>
51+
52+
<FAQ items={[
53+
{ question: "Why does Query Logs only return run IDs?", answer: "To keep payloads small and predictable. Run summaries can be large — fetch only the runs you actually need with Get Run Details." },
54+
{ question: "Can I query logs from another workspace?", answer: "No. The block is scoped to the workspace the workflow lives in." },
55+
{ question: "What are trace spans?", answer: "The execution trace for a run: every block that ran, its inputs and outputs, timings, and any tool calls — the same data shown in the Logs page trace view." },
56+
{ question: "How far back can I query?", answer: "As far as your plan's log retention. Free plans retain logs for 7 days; paid plans retain them indefinitely." },
57+
]} />

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
"api",
66
"condition",
77
"credential",
8+
"enrichment",
89
"evaluator",
910
"function",
1011
"guardrails",
1112
"human-in-the-loop",
1213
"knowledge",
14+
"logs",
1315
"loop",
1416
"parallel",
1517
"response",

0 commit comments

Comments
 (0)