Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
6802245
feat(blocks): add execute command block for self-hosted shell execution
waleedlatif1 Mar 5, 2026
2a8aae6
fix(execute-command): fix $-pattern substitution, maxBuffer vs timeou…
waleedlatif1 Mar 5, 2026
cf67966
fix(execute-command): address review feedback — double-substitution, …
waleedlatif1 Mar 5, 2026
24e1bfd
fix(execute-command): return partial output on timeout/maxBuffer inst…
waleedlatif1 Mar 5, 2026
5dc31b5
chore(execute-command): remove unused escapeRegExp import
waleedlatif1 Mar 5, 2026
0f293e8
fix(execute-command): normalize both sides of variable name compariso…
waleedlatif1 Mar 5, 2026
94679a6
fix(execute-command): sandbox child process env, fix maxBuffer detection
waleedlatif1 Mar 5, 2026
6774ad1
feat(execute-command): add wandConfig for AI command generation
waleedlatif1 Mar 5, 2026
8622ea4
fix(execute-command): prevent cascading variable resolution
waleedlatif1 Mar 5, 2026
281f5bb
fix(execute-command): fix ProcessEnv type for child process env
waleedlatif1 Mar 5, 2026
3d0b07b
fix(execute-command): throw on unresolved block refs, block env var o…
waleedlatif1 Mar 5, 2026
7b7ab8d
fix(execute-command): extend env blocklist, add error output, fix tag…
waleedlatif1 Mar 5, 2026
c4cb2aa
fix(execute-command): add JAVA_TOOL_OPTIONS and PERL5OPT to env block…
waleedlatif1 Mar 5, 2026
5782b68
fix(execute-command): static import, user-configurable timeout, overl…
waleedlatif1 Mar 5, 2026
448548e
fix(execute-command): cap timeout at MAX_DURATION, simplify error han…
waleedlatif1 Mar 5, 2026
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
4 changes: 4 additions & 0 deletions apps/sim/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ API_ENCRYPTION_KEY=your_api_encryption_key # Use `openssl rand -hex 32` to gener
# Admin API (Optional - for self-hosted GitOps)
# ADMIN_API_KEY= # Use `openssl rand -hex 32` to generate. Enables admin API for workflow export/import.
# Usage: curl -H "x-admin-key: your_key" https://your-instance/api/v1/admin/workspaces

# Execute Command (Optional - self-hosted only)
# EXECUTE_COMMAND_ENABLED=true # Enable shell command execution in workflows
# NEXT_PUBLIC_EXECUTE_COMMAND_ENABLED=true # Show Execute Command block in the UI
2 changes: 1 addition & 1 deletion apps/sim/app/api/function/execute/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ function resolveWorkflowVariables(
const variableName = match[1].trim()

const foundVariable = Object.entries(workflowVariables).find(
([_, variable]) => normalizeName(variable.name || '') === variableName
([_, variable]) => normalizeName(variable.name || '') === normalizeName(variableName)
)

if (!foundVariable) {
Expand Down
Loading