Skip to content

Commit e564ffa

Browse files
committed
Merge branch 'staging' into debug-build-static-pages
2 parents 9df4170 + 6ad73a7 commit e564ffa

File tree

246 files changed

+46925
-6122
lines changed

Some content is hidden

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

246 files changed

+46925
-6122
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ jobs:
7474
working-directory: ./apps/sim
7575
env:
7676
DATABASE_URL: ${{ github.ref == 'refs/heads/main' && secrets.DATABASE_URL || secrets.STAGING_DATABASE_URL }}
77-
run: bunx drizzle-kit push
77+
run: bunx drizzle-kit migrate

apps/docs/content/docs/blocks/loop.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,4 @@ After a loop completes, you can access aggregated results:
172172

173173
- **Set reasonable limits**: Keep iteration counts reasonable to avoid long execution times
174174
- **Use ForEach for collections**: When processing arrays or objects, use ForEach instead of For loops
175-
- **Handle errors gracefully**: Consider adding error handling inside loops for robust workflows
175+
- **Handle errors gracefully**: Consider adding error handling inside loops for robust workflows

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"parallel",
1111
"response",
1212
"router",
13-
"webhook_trigger",
1413
"workflow"
1514
]
1615
}

apps/docs/content/docs/blocks/parallel.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,4 +207,4 @@ Understanding when to use each:
207207

208208
- **Independent operations only**: Ensure operations don't depend on each other
209209
- **Handle rate limits**: Add delays or throttling for API-heavy workflows
210-
- **Error handling**: Each instance should handle its own errors gracefully
210+
- **Error handling**: Each instance should handle its own errors gracefully

apps/docs/content/docs/blocks/response.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,5 @@ headers:
182182
- **Structure your responses consistently**: Maintain a consistent JSON structure across all your API endpoints for better developer experience
183183
- **Include relevant metadata**: Add timestamps and version information to help with debugging and monitoring
184184
- **Handle errors gracefully**: Use conditional logic in your workflow to set appropriate error responses with descriptive messages
185-
- **Validate variable references**: Ensure all referenced variables exist and contain the expected data types before the Response block executes
185+
- **Validate variable references**: Ensure all referenced variables exist and contain the expected data types before the Response block executes
186+

apps/docs/content/docs/blocks/webhook_trigger.mdx

Lines changed: 0 additions & 113 deletions
This file was deleted.

apps/docs/content/docs/blocks/workflow.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,4 +256,4 @@ return {
256256
- **Document dependencies**: Clearly document which workflows depend on others and maintain dependency maps
257257
- **Test independently**: Ensure child workflows can be tested and validated independently from parent workflows
258258
- **Monitor performance**: Be aware that nested workflows can impact overall execution time and resource usage
259-
- **Use semantic naming**: Give workflows descriptive names that clearly indicate their purpose and functionality
259+
- **Use semantic naming**: Give workflows descriptive names that clearly indicate their purpose and functionality

apps/docs/content/docs/execution/basics.mdx

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,9 @@ Run workflows on-demand through the Sim Studio interface by clicking the "Run" b
161161
- One-off tasks
162162
- Workflows that need human supervision
163163

164-
<ThemeImage
165-
lightSrc="/static/light/manual-execution-light.png"
166-
darkSrc="/static/dark/manual-execution-dark.png"
167-
alt="Manual Execution"
168-
width={600}
169-
height={400}
170-
/>
164+
<div className="mx-auto w-full overflow-hidden rounded-lg">
165+
<video autoPlay loop muted playsInline className="w-full -mb-2 rounded-lg" src="/input-format.mp4"></video>
166+
</div>
171167

172168
### Scheduled Execution
173169

@@ -178,13 +174,9 @@ Configure workflows to run automatically on a specified schedule:
178174
- Configure timezone settings
179175
- Set minimum and maximum execution intervals
180176

181-
<ThemeImage
182-
lightSrc="/static/light/scheduled-execution-light.png"
183-
darkSrc="/static/dark/scheduled-execution-dark.png"
184-
alt="Scheduled Execution"
185-
width={600}
186-
height={400}
187-
/>
177+
<div className="mx-auto w-full overflow-hidden rounded-lg">
178+
<video autoPlay loop muted playsInline className="w-full -mb-2 rounded-lg" src="/configure-schedule.mp4"></video>
179+
</div>
188180

189181
### API Endpoints
190182

@@ -195,13 +187,19 @@ Each workflow can be exposed as an API endpoint:
195187
- Send custom inputs via POST requests
196188
- Receive execution results as JSON responses
197189

198-
<ThemeImage
199-
lightSrc="/static/light/api-execution-light.png"
200-
darkSrc="/static/dark/api-execution-dark.png"
201-
alt="API Execution"
202-
width={600}
203-
height={400}
204-
/>
190+
<div className="mx-auto w-full overflow-hidden rounded-lg">
191+
<video autoPlay loop muted playsInline className="w-full -mb-2 rounded-lg" src="/api-deployment.mp4"></video>
192+
</div>
193+
194+
#### Viewing Deployed APIs
195+
196+
Monitor your deployed workflow APIs and their current state:
197+
198+
<div className="mx-auto w-full overflow-hidden rounded-lg">
199+
<video autoPlay loop muted playsInline className="w-full -mb-2 rounded-lg" src="/api-redeployment.mp4"></video>
200+
</div>
201+
202+
This shows how to view the deployed state and compare with the original deployed API configuration.
205203

206204
### Webhooks
207205

@@ -212,13 +210,9 @@ Configure workflows to execute in response to external events:
212210
- Configure webhook security settings
213211
- Support for specialized webhooks (GitHub, Stripe, etc.)
214212

215-
<ThemeImage
216-
lightSrc="/static/light/webhook-execution-light.png"
217-
darkSrc="/static/dark/webhook-execution-dark.png"
218-
alt="Webhook Execution"
219-
width={600}
220-
height={400}
221-
/>
213+
<div className="mx-auto w-full overflow-hidden rounded-lg">
214+
<video autoPlay loop muted playsInline className="w-full -mb-2 rounded-lg" src="/webhooks.mp4"></video>
215+
</div>
222216

223217
<Callout type="info">
224218
The execution method you choose depends on your workflow's purpose. Manual execution is great for

apps/docs/content/docs/meta.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"./introduction/index",
66
"./getting-started/index",
77
"---Create---",
8+
"triggers",
89
"blocks",
910
"tools",
1011
"---Connections---",
@@ -13,6 +14,7 @@
1314
"execution",
1415
"---Advanced---",
1516
"./variables/index",
17+
"yaml",
1618
"---SDKs---",
1719
"./sdks/python",
1820
"./sdks/typescript"

apps/docs/content/docs/tools/exa.mdx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,25 @@ Get an AI-generated answer to a question with citations from the web using Exa A
142142
| `url` | string |
143143
| `text` | string |
144144

145+
### `exa_research`
146+
147+
Perform comprehensive research using AI to generate detailed reports with citations
148+
149+
#### Input
150+
151+
| Parameter | Type | Required | Description |
152+
| --------- | ---- | -------- | ----------- |
153+
| `query` | string | Yes | Research query or topic |
154+
| `includeText` | boolean | No | Include full text content in results |
155+
| `apiKey` | string | Yes | Exa AI API Key |
156+
157+
#### Output
158+
159+
| Parameter | Type |
160+
| --------- | ---- |
161+
| `taskId` | string |
162+
| `research` | string |
163+
145164

146165

147166
## Block Configuration
@@ -162,6 +181,7 @@ Get an AI-generated answer to a question with citations from the web using Exa A
162181
| `similarLinks` | json | similarLinks output from the block |
163182
| `answer` | string | answer output from the block |
164183
| `citations` | json | citations output from the block |
184+
| `research` | json | research output from the block |
165185

166186

167187
## Notes

0 commit comments

Comments
 (0)