Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
9226f3c
feat - database tools added #152
RadoBoiii Apr 1, 2025
254f4fa
feat: database tools added #152
RadoBoiii Apr 1, 2025
3233ff4
resolved conflict for icon.tsx
RadoBoiii Apr 1, 2025
5a6c2cc
Merge branch 'main' into database-tools
RadoBoiii Apr 1, 2025
ab47053
feat(database) tools added:
RadoBoiii Apr 2, 2025
1faa9a2
feat(database): tools added #211
RadoBoiii Apr 2, 2025
7fd5c86
feat(database) tools -
RadoBoiii Apr 3, 2025
1d33839
Add files via upload
RadoBoiii Apr 3, 2025
d53e8ab
feat: database tools mysql and postgres with Amazon rds
RadoBoiii Apr 10, 2025
e6e78fe
edits for rds implementation
RadoBoiii Apr 10, 2025
627b271
feat - database tools added #152
RadoBoiii Apr 1, 2025
f69aec0
feat: database tools added #152
RadoBoiii Apr 1, 2025
61a02ff
Update README.md (#210)
faizancodes Mar 31, 2025
43db7fd
Update README.md
emir-karabeg Mar 31, 2025
0a57e84
feat(database) tools added:
RadoBoiii Apr 2, 2025
994d9f7
feat(database): tools added #211
RadoBoiii Apr 2, 2025
01e5095
feat(database) tools -
RadoBoiii Apr 3, 2025
60a8c80
Add files via upload
RadoBoiii Apr 3, 2025
7daf03c
feat: database tools mysql and postgres with Amazon rds
RadoBoiii Apr 10, 2025
72a9021
edits for rds implementation
RadoBoiii Apr 10, 2025
225b07b
Update LICENSE
emir-karabeg Apr 1, 2025
96b3db5
fix(files): use buffer instead of disk for s3 file uploads
waleedlatif1 Apr 1, 2025
6303cf0
feat(tools): added airtable integration for oauth2 and tools (#214)
waleedlatif1 Apr 1, 2025
3d6db42
fix(api): passing body into workflow
emir-karabeg Apr 1, 2025
9b3aa15
fix(tools): fixed airtable update tool
waleedlatif1 Apr 1, 2025
97c8ffd
fix: debounce sync on subblock and dropdown zustand load
emir-karabeg Apr 1, 2025
083383a
fix(ui): airtable block/tools
waleedlatif1 Apr 1, 2025
4afc774
fix(tests): execute route
emir-karabeg Apr 1, 2025
df02d60
feat(twilio-block): added twilio block/tools (#201)
ivanma9 Apr 2, 2025
eb5fe7d
improvement(ui): file upload
emir-karabeg Apr 2, 2025
f5a64c0
fix(autoconnect): fixed autoconnect error for conditional block (#215)
waleedlatif1 Apr 2, 2025
862f744
chore: add build as ci step in github workflow
waleedlatif1 Apr 2, 2025
79b09c4
improvement(models): added 3.5 sonnet
emir-karabeg Apr 2, 2025
689a88e
fix(build): fix ci test & build failure
waleedlatif1 Apr 2, 2025
64b3115
feat(agent): added credential selector for agent tools that require o…
waleedlatif1 Apr 2, 2025
78fd604
feat(mistral-OCR): added mistral tool and block for parsing pdfs (#217)
emir-karabeg Apr 2, 2025
88382b8
improvement(mistral-OCR): error handling
emir-karabeg Apr 2, 2025
8a12407
fix(ui/ux): console and notifications
emir-karabeg Apr 2, 2025
5163b69
feat(mistal-ocr): added file upload to mistal ocr tool in production …
waleedlatif1 Apr 2, 2025
df1a075
improvement(tools): modified return type of mistral parser
waleedlatif1 Apr 2, 2025
5302669
fix(ui): fixed issue with params not appearing for blocks that requir…
waleedlatif1 Apr 2, 2025
2bd2330
feat(marketplace): adding marketplace workflow to registry (#219)
emir-karabeg Apr 3, 2025
b5989bf
improvement: marketplace and sidebar
emir-karabeg Apr 3, 2025
fe655ea
feat(versioning): added api deployment versioning, change detection i…
waleedlatif1 Apr 3, 2025
73fe0c5
fix(ci): fix envvar name
waleedlatif1 Apr 3, 2025
ef7551e
improvement: marketplace, sidebar, loading (#221)
emir-karabeg Apr 3, 2025
054cd82
fix(tag-dropdown): bug on undefined
emir-karabeg Apr 3, 2025
72bfac8
feat(freestyle): refactored handler in executor, migrated from webcon…
waleedlatif1 Apr 4, 2025
5e3a4ae
fix(ux): dropdown reload
emir-karabeg Apr 4, 2025
32ea209
fix(deps)(deps): bump vite in /sim in the dependencies group (#223)
dependabot[bot] Apr 4, 2025
0144de8
feat(cancel): allow cancellation of workflow run, fix styling for inf…
waleedlatif1 Apr 4, 2025
53c40bf
fix(notifications): dropdown logic and styling
emir-karabeg Apr 5, 2025
ee66b34
fix(bugs): fixed evaluator toLowerCase issue, function block error ha…
waleedlatif1 Apr 5, 2025
0dabcc1
improvement(sidebar): ui/ux
emir-karabeg Apr 5, 2025
0de18d2
fix(airtable): fixed airtable oauth
waleedlatif1 Apr 5, 2025
ce7a181
fix(condition-block): load from DB
emir-karabeg Apr 5, 2025
3183522
fix(oauth): fixed airtable oauth by upgrading better-auth
waleedlatif1 Apr 5, 2025
3b29b32
fix(condition-block): load from DB after navigation
emir-karabeg Apr 5, 2025
ee1d2d3
fix(oauth): fixed airtable oauth
waleedlatif1 Apr 5, 2025
d6005ba
fix(oauth): fixed airtable oauth
waleedlatif1 Apr 5, 2025
153e7a9
improvement(layout): moved layout components into workflow
emir-karabeg Apr 5, 2025
a4a82eb
improvement: schedule, files
emir-karabeg Apr 5, 2025
0e08162
fix(schedule): deletion logic and styling (#227)
emir-karabeg Apr 5, 2025
81948b1
feat(airtable): added airtable tools, block, & webhook and refactored…
waleedlatif1 Apr 6, 2025
9c50875
fix(api): requests and table
emir-karabeg Apr 6, 2025
3c38c2a
fix: supabase, dropdown, short-input, tool execution
emir-karabeg Apr 6, 2025
aed04cd
improvement(supabase): response handling
emir-karabeg Apr 6, 2025
93a65d7
improvement: dynamically set better auth url based on env
waleedlatif1 Apr 6, 2025
ede3a6f
feat(parser): added URL upload for our file parser (#229)
waleedlatif1 Apr 6, 2025
e854985
improvement(tools): added supabase to tool use and fixed tool search
emir-karabeg Apr 6, 2025
f0108db
feat(models): added llama4 groq
waleedlatif1 Apr 6, 2025
3d0b1f6
feat(tools): added thinking tool, hiddenFromSidebar param (#230)
waleedlatif1 Apr 6, 2025
73bb2d3
feat(assistant): added openai to assist in generating js/ts code and …
waleedlatif1 Apr 7, 2025
1ef00ec
fix(bug): fix auth client in vercel & fix function block envvar resol…
waleedlatif1 Apr 7, 2025
bc04482
fix(tools): removed check in agent block for duplicate tools, since w…
waleedlatif1 Apr 7, 2025
a1ea817
fix(airtable): add logs to debug airtable webhook failure in producti…
waleedlatif1 Apr 7, 2025
81b4267
fix(airtable): refactored to remove redis bc of errors w serverless
waleedlatif1 Apr 7, 2025
e238bc0
fix(oauth): for providers using basic oauth, add auth header in token…
waleedlatif1 Apr 7, 2025
c45c88a
fix(tools): add app id to google picker
waleedlatif1 Apr 7, 2025
a885334
fix(airtable): add back simple dedupe for airtable webhooks
waleedlatif1 Apr 7, 2025
a1e2a0a
fix: hid marketplace
emir-karabeg Apr 7, 2025
8014327
fix(streaming): fixed streaming by switching to edge runtime
waleedlatif1 Apr 7, 2025
fe403ba
fix(deployment): fixed api key generation during deployment
waleedlatif1 Apr 7, 2025
ef859ee
fix(oauth): added extra logging to token refresh and added client_id …
waleedlatif1 Apr 8, 2025
e90d647
fix(oauth): fix airtable oauth token refresh
waleedlatif1 Apr 8, 2025
d2d9178
improvement(ux): decrease delay between execution finishing and contr…
waleedlatif1 Apr 8, 2025
34229e0
fix(env): update .env.example
waleedlatif1 Apr 8, 2025
3e8b70b
fix(db): fix db url
waleedlatif1 Apr 8, 2025
8f33fe7
Fix X handle in the README badge (#234)
PeterDaveHello Apr 9, 2025
de8b176
feat(autofill): added settting to autofill api keys for tools and blocks
waleedlatif1 Apr 9, 2025
8c6397f
chore: run format
waleedlatif1 Apr 9, 2025
c298a3f
feat(autofill): consolidated tool-params & sub-block store for one un…
waleedlatif1 Apr 10, 2025
ba955e5
fix(loops) (#238)
emir-karabeg Apr 10, 2025
5a5e032
improvement(ux): skip reload warning for sync on auth routes
emir-karabeg Apr 10, 2025
23c271c
feat(agent): allow gpt-4o for free on hosted version
emir-karabeg Apr 10, 2025
75de25b
improvement (ux): first sign in starts with agent block
emir-karabeg Apr 10, 2025
8be2b4b
fix: hoted workflow
emir-karabeg Apr 10, 2025
95884bc
feat - database tools added #152
RadoBoiii Apr 1, 2025
3500c6b
feat: database tools added #152
RadoBoiii Apr 1, 2025
4f621d8
resolved conflict for icon.tsx
RadoBoiii Apr 1, 2025
2c88e18
feat(database) tools added:
RadoBoiii Apr 2, 2025
a66507c
feat(database): tools added #211
RadoBoiii Apr 2, 2025
f86581d
feat(database) tools -
RadoBoiii Apr 3, 2025
aa02255
feat: database tools mysql and postgres with Amazon rds
RadoBoiii Apr 10, 2025
151f690
edits for rds implementation
RadoBoiii Apr 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 38 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
test:
name: Test
name: Test and Build
runs-on: ubuntu-latest

steps:
Expand All @@ -26,15 +26,51 @@ jobs:
working-directory: ./sim
run: npm ci

- name: Fix Rollup module issue
working-directory: ./sim
run: |
rm -rf node_modules package-lock.json
npm install

- name: Run tests with coverage
working-directory: ./sim
env:
NODE_OPTIONS: "--no-warnings"
run: npm run test:coverage

- name: Build application
working-directory: ./sim
run: npm run build

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
directory: ./sim/coverage
fail_ci_if_error: false
verbose: true
verbose: true

migrations:
name: Apply Database Migrations
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: test
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: './sim/package-lock.json'

- name: Install dependencies
working-directory: ./sim
run: npm ci

- name: Apply migrations
working-directory: ./sim
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
run: npx drizzle-kit push
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,5 @@ docs/.contentlayer
docs/.content-collections

# database instantiation
**/postgres_data/
**/postgres_data/
.qodo
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM node:20-alpine
FROM node:18-alpine

# Install build dependencies
RUN apk add --no-cache python3 make g++

# Set working directory
WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2025 Sim Studio, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -199,4 +199,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<p align="center">
<a href="https://www.apache.org/licenses/LICENSE-2.0"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" alt="License: Apache-2.0"></a>
<a href="https://discord.gg/Hr4UWYEcTT"><img src="https://img.shields.io/badge/Discord-Join%20Server-7289DA?logo=discord&logoColor=white" alt="Discord"></a>
<a href="https://x.com/simstudioai"><img src="https://img.shields.io/twitter/follow/simstudio?style=social" alt="Twitter"></a>
<a href="https://x.com/simstudioai"><img src="https://img.shields.io/twitter/follow/simstudioai?style=social" alt="Twitter"></a>
<a href="https://github.com/simstudioai/sim/pulls"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs welcome"></a>
<a href="https://github.com/simstudioai/sim/issues"><img src="https://img.shields.io/badge/support-contact%20author-purple.svg" alt="support"></a>
</p>
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ services:
- NEXT_PUBLIC_APP_URL=http://localhost:3000
- BETTER_AUTH_SECRET=your_auth_secret_here
- ENCRYPTION_KEY=your_encryption_key_here
- FREESTYLE_API_KEY=placeholder
- GOOGLE_CLIENT_ID=placeholder
- GOOGLE_CLIENT_SECRET=placeholder
- GITHUB_CLIENT_ID=placeholder
- GITHUB_CLIENT_SECRET=placeholder
- RESEND_API_KEY=placeholder
- WEBCONTAINER_CLIENT_ID=placeholder
depends_on:
db:
condition: service_healthy
Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/execution/advanced.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Comprehensive error information is captured in the execution logs:

For certain operations, the system provides automatic fallbacks:

- **Function Execution**: WebContainer execution first, then VM execution if needed
- **Function Execution**: Freestyle execution first, then VM execution if needed
- **API Requests**: Automatic retries for transient network errors
- **Model Calls**: Fallback to alternative models if primary model is unavailable

Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/execution/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ The execution engine includes built-in error handling mechanisms:

- **Block-Level Errors** - Errors in one block don't necessarily stop the entire workflow execution.
- **Detailed Error Logs** - Comprehensive error information is captured in the execution logs, including error messages, stack traces, and relevant context.
- **Fallback Mechanisms** - For function execution, the system tries WebContainer execution first, then falls back to VM execution if needed.
- **Fallback Mechanisms** - For function execution, the system tries Freestyle execution first, then falls back to VM execution if needed.
- **Recovery Options** - Configure blocks to retry on failure or implement custom error handling logic.

### Environment Variables
Expand Down
Loading