Skip to content

Commit ec5bcc2

Browse files
committed
Merge remote-tracking branch 'origin/staging' into feat/canonical-subblock
# Conflicts: # apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/sub-block.tsx
2 parents c2d7489 + 6ff68b3 commit ec5bcc2

File tree

78 files changed

+4152
-1125
lines changed

Some content is hidden

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

78 files changed

+4152
-1125
lines changed

apps/docs/components/icons.tsx

Lines changed: 346 additions & 0 deletions
Large diffs are not rendered by default.

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,11 @@ import {
8484
PolymarketIcon,
8585
PostgresIcon,
8686
PosthogIcon,
87+
PulseIcon,
8788
QdrantIcon,
8889
RDSIcon,
8990
RedditIcon,
91+
ReductoIcon,
9092
ResendIcon,
9193
S3Icon,
9294
SalesforceIcon,
@@ -208,9 +210,11 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
208210
polymarket: PolymarketIcon,
209211
postgresql: PostgresIcon,
210212
posthog: PosthogIcon,
213+
pulse: PulseIcon,
211214
qdrant: QdrantIcon,
212215
rds: RDSIcon,
213216
reddit: RedditIcon,
217+
reducto: ReductoIcon,
214218
resend: ResendIcon,
215219
s3: S3Icon,
216220
salesforce: SalesforceIcon,

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,11 @@
7979
"polymarket",
8080
"postgresql",
8181
"posthog",
82+
"pulse",
8283
"qdrant",
8384
"rds",
8485
"reddit",
86+
"reducto",
8587
"resend",
8688
"s3",
8789
"salesforce",
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
title: Pulse
3+
description: Extract text from documents using Pulse OCR
4+
---
5+
6+
import { BlockInfoCard } from "@/components/ui/block-info-card"
7+
8+
<BlockInfoCard
9+
type="pulse"
10+
color="#E0E0E0"
11+
/>
12+
13+
{/* MANUAL-CONTENT-START:intro */}
14+
The [Pulse](https://www.pulseapi.com/) tool enables seamless extraction of text and structured content from a wide variety of documents—including PDFs, images, and Office files—using state-of-the-art OCR (Optical Character Recognition) powered by Pulse. Designed for automated agentic workflows, Pulse Parser makes it easy to unlock valuable information trapped in unstructured documents and integrate the extracted content directly into your workflow.
15+
16+
With Pulse, you can:
17+
18+
- **Extract text from documents**: Quickly convert scanned PDFs, images, and Office documents to usable text, markdown, or JSON.
19+
- **Process documents by URL or upload**: Simply provide a file URL or use upload to extract text from local documents or remote resources.
20+
- **Flexible output formats**: Choose between markdown, plain text, or JSON representations of the extracted content for downstream processing.
21+
- **Selective page processing**: Specify a range of pages to process, reducing processing time and cost when you only need part of a document.
22+
- **Figure and table extraction**: Optionally extract figures and tables, with automatic caption and description generation for populated context.
23+
- **Get processing insights**: Receive detailed metadata on each job, including file type, page count, processing time, and more.
24+
- **Integration-ready responses**: Incorporate extracted content into research, workflow automation, or data analysis pipelines.
25+
26+
Ideal for automating tedious document review, enabling content summarization, research, and more, Pulse Parser brings real-world documents into the digital workflow era.
27+
28+
If you need accurate, scalable, and developer-friendly document parsing capabilities—across formats, languages, and layouts—Pulse empowers your agents to read the world.
29+
{/* MANUAL-CONTENT-END */}
30+
31+
32+
## Usage Instructions
33+
34+
Integrate Pulse into the workflow. Extract text from PDF documents, images, and Office files via URL or upload.
35+
36+
37+
38+
## Tools
39+
40+
### `pulse_parser`
41+
42+
Parse documents (PDF, images, Office docs) using Pulse OCR API
43+
44+
#### Input
45+
46+
| Parameter | Type | Required | Description |
47+
| --------- | ---- | -------- | ----------- |
48+
| `filePath` | string | Yes | URL to a document to be processed |
49+
| `fileUpload` | object | No | File upload data from file-upload component |
50+
| `pages` | string | No | Page range to process \(1-indexed, e.g., "1-2,5"\) |
51+
| `extractFigure` | boolean | No | Enable figure extraction from the document |
52+
| `figureDescription` | boolean | No | Generate descriptions/captions for extracted figures |
53+
| `returnHtml` | boolean | No | Include HTML in the response |
54+
| `chunking` | string | No | Chunking strategies \(comma-separated: semantic, header, page, recursive\) |
55+
| `chunkSize` | number | No | Maximum characters per chunk when chunking is enabled |
56+
| `apiKey` | string | Yes | Pulse API key |
57+
58+
#### Output
59+
60+
| Parameter | Type | Description |
61+
| --------- | ---- | ----------- |
62+
| `markdown` | string | Extracted content in markdown format |
63+
| `page_count` | number | Number of pages in the document |
64+
| `job_id` | string | Unique job identifier |
65+
| `bounding_boxes` | json | Bounding box layout information |
66+
| `extraction_url` | string | URL for extraction results \(for large documents\) |
67+
| `html` | string | HTML content if requested |
68+
| `structured_output` | json | Structured output if schema was provided |
69+
| `chunks` | json | Chunked content if chunking was enabled |
70+
| `figures` | json | Extracted figures if figure extraction was enabled |
71+
72+
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: Reducto
3+
description: Extract text from PDF documents
4+
---
5+
6+
import { BlockInfoCard } from "@/components/ui/block-info-card"
7+
8+
<BlockInfoCard
9+
type="reducto"
10+
color="#5c0c5c"
11+
/>
12+
13+
{/* MANUAL-CONTENT-START:intro */}
14+
The [Reducto](https://reducto.ai/) tool enables fast and accurate extraction of text and data from PDF documents via OCR (Optical Character Recognition). Reducto is designed for agent workflows, making it easy to process uploaded or linked PDFs and transform their contents into ready-to-use information.
15+
16+
With the Reducto tool, you can:
17+
18+
- **Extract text and tables from PDFs**: Quickly convert scanned or digital PDFs to text, markdown, or structured JSON.
19+
- **Parse PDFs from uploads or URLs**: Process documents either by uploading a PDF or specifying a direct URL.
20+
- **Customize output formatting**: Choose your preferred output format—markdown, plain text, or JSON—and specify table formats as markdown or HTML.
21+
- **Select specific pages**: Optionally extract content from particular pages to optimize processing and focus on what matters.
22+
- **Receive detailed processing metadata**: Alongside extracted content, get job details, processing times, source file info, page counts, and OCR usage stats for audit and automation.
23+
24+
Whether you’re automating workflow steps, extracting business-critical information, or unlocking archival documents for search and analysis, Reducto’s OCR parser gives you structured, actionable data from even the most complex PDFs.
25+
26+
Looking for reliable and scalable PDF parsing? Reducto is optimized for developer and agent use—providing accuracy, speed, and flexibility for modern document understanding.
27+
{/* MANUAL-CONTENT-END */}
28+
29+
30+
## Usage Instructions
31+
32+
Integrate Reducto Parse into the workflow. Can extract text from uploaded PDF documents, or from a URL.
33+
34+
35+
36+
## Tools
37+
38+
### `reducto_parser`
39+
40+
Parse PDF documents using Reducto OCR API
41+
42+
#### Input
43+
44+
| Parameter | Type | Required | Description |
45+
| --------- | ---- | -------- | ----------- |
46+
| `filePath` | string | Yes | URL to a PDF document to be processed |
47+
| `fileUpload` | object | No | File upload data from file-upload component |
48+
| `pages` | array | No | Specific pages to process \(1-indexed page numbers\) |
49+
| `tableOutputFormat` | string | No | Table output format \(html or markdown\). Defaults to markdown. |
50+
| `apiKey` | string | Yes | Reducto API key \(REDUCTO_API_KEY\) |
51+
52+
#### Output
53+
54+
| Parameter | Type | Description |
55+
| --------- | ---- | ----------- |
56+
| `job_id` | string | Unique identifier for the processing job |
57+
| `duration` | number | Processing time in seconds |
58+
| `usage` | json | Resource consumption data |
59+
| `result` | json | Parsed document content with chunks and blocks |
60+
| `pdf_url` | string | Storage URL of converted PDF |
61+
| `studio_link` | string | Link to Reducto studio interface |
62+
63+

apps/sim/app/_styles/globals.css

Lines changed: 1 addition & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212
:root {
1313
--sidebar-width: 232px; /* SIDEBAR_WIDTH.DEFAULT */
14-
--panel-width: 290px; /* PANEL_WIDTH.DEFAULT */
14+
--panel-width: 320px; /* PANEL_WIDTH.DEFAULT */
1515
--toolbar-triggers-height: 300px; /* TOOLBAR_TRIGGERS_HEIGHT.DEFAULT */
1616
--editor-connections-height: 172px; /* EDITOR_CONNECTIONS_HEIGHT.DEFAULT */
1717
--terminal-height: 155px; /* TERMINAL_HEIGHT.DEFAULT */
@@ -77,24 +77,6 @@
7777
cursor: grabbing !important;
7878
}
7979

80-
/**
81-
* Selected node ring indicator
82-
* Uses a pseudo-element overlay to match the original behavior (absolute inset-0 z-40)
83-
*/
84-
.react-flow__node.selected > div > div {
85-
position: relative;
86-
}
87-
88-
.react-flow__node.selected > div > div::after {
89-
content: "";
90-
position: absolute;
91-
inset: 0;
92-
z-index: 40;
93-
border-radius: 8px;
94-
box-shadow: 0 0 0 1.75px var(--brand-secondary);
95-
pointer-events: none;
96-
}
97-
9880
/**
9981
* Color tokens - single source of truth for all colors
10082
* Light mode: Warm theme
@@ -576,32 +558,6 @@ input[type="search"]::-ms-clear {
576558
transition-duration: 300ms;
577559
}
578560

579-
.streaming-effect {
580-
@apply relative overflow-hidden;
581-
}
582-
583-
.streaming-effect::after {
584-
content: "";
585-
@apply pointer-events-none absolute left-0 top-0 h-full w-full;
586-
background: linear-gradient(
587-
90deg,
588-
rgba(128, 128, 128, 0) 0%,
589-
rgba(128, 128, 128, 0.1) 50%,
590-
rgba(128, 128, 128, 0) 100%
591-
);
592-
animation: code-shimmer 1.5s infinite;
593-
z-index: 10;
594-
}
595-
596-
.dark .streaming-effect::after {
597-
background: linear-gradient(
598-
90deg,
599-
rgba(180, 180, 180, 0) 0%,
600-
rgba(180, 180, 180, 0.1) 50%,
601-
rgba(180, 180, 180, 0) 100%
602-
);
603-
}
604-
605561
.loading-placeholder::placeholder {
606562
animation: placeholder-pulse 1.5s ease-in-out infinite;
607563
}

0 commit comments

Comments
 (0)