Skip to content

Commit 5119bd8

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
Merge remote-tracking branch 'origin/staging' into feat/unified-server-selector-execution
# Conflicts: # apps/sim/app/api/tools/imap/mailboxes/route.ts # apps/sim/app/api/tools/zoho_desk/agents/route.ts # apps/sim/app/api/tools/zoho_desk/departments/route.ts # apps/sim/app/api/tools/zoho_desk/organizations/route.ts # apps/sim/lib/core/security/input-validation.server.ts # apps/sim/lib/webhooks/polling/imap.ts
2 parents 3de10f6 + afccb72 commit 5119bd8

241 files changed

Lines changed: 28788 additions & 2755 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.

.devcontainer/docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ services:
2525
- OLLAMA_URL=${OLLAMA_URL:-http://localhost:11434}
2626
- NEXT_PUBLIC_SOCKET_URL=${NEXT_PUBLIC_SOCKET_URL:-}
2727
- BUN_INSTALL_CACHE_DIR=/home/bun/.bun/cache
28+
# Lets a workflow reach a service on the Docker host. Reaching it also
29+
# requires naming it in EGRESS_ALLOWED_HOSTS; this only makes the name
30+
# resolve, which it does not on Linux by default.
31+
extra_hosts:
32+
- 'host.docker.internal:host-gateway'
2833
depends_on:
2934
db:
3035
condition: service_healthy

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,6 @@ start-collector.sh
8484
# IntelliJ
8585
.idea
8686

87-
## Helm Chart Tests
88-
helm/sim/test
89-
9087
## Claude Code
9188
.claude/launch.json
9289
.claude/worktrees/

apps/docs/content/docs/agents/mcp.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ Tool validation badges appear on servers with issues — for example, if a tool
8585

8686
Self-hosted deployments can restrict which MCP server domains are allowed by setting the `ALLOWED_MCP_DOMAINS` environment variable (comma-separated list). When set, only servers on approved domains can be added. When unset, all domains are allowed.
8787

88+
This governs which domains may be used. It is separate from where those domains are allowed to resolve: an MCP server on a private address is reached by naming it in `EGRESS_ALLOWED_HOSTS` or `EGRESS_ALLOWED_IP_RANGES`, described in [Security](/platform/self-hosting/security#the-ssrf-boundary). Both checks apply.
89+
90+
The allowlist covers the server URL itself. If the server requires OAuth, any endpoint its metadata names on a *different* origin than the server you configured is treated as content rather than as configuration, so that one has to be publicly routable. Endpoints on the server's own origin keep the server's reachability.
91+
8892
## Using MCP Tools in Agents
8993

9094
Once MCP servers are configured, their tools become available within your agent blocks:

apps/docs/content/docs/integrations/github.mdx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,10 +1019,10 @@ Update branch protection rules for a specific branch, including status checks, r
10191019
| `owner` | string | Yes | Repository owner \(user or organization\) |
10201020
| `repo` | string | Yes | Repository name |
10211021
| `branch` | string | Yes | Branch name |
1022-
| `required_status_checks` | object | Yes | Required status check configuration \(null to disable\). Object with strict \(boolean\) and contexts \(string array\) |
1023-
| `enforce_admins` | boolean | Yes | Whether to enforce restrictions for administrators |
1024-
| `required_pull_request_reviews` | object | Yes | PR review requirements \(null to disable\). Object with optional required_approving_review_count, dismiss_stale_reviews, require_code_owner_reviews |
1025-
| `restrictions` | object | Yes | Push restrictions \(null to disable\). Object with users \(string array\) and teams \(string array\) |
1022+
| `required_status_checks` | object | No | Required status check configuration. Object with strict \(boolean\) and contexts \(string array\). Omit to disable status checks — GitHub receives an explicit null. |
1023+
| `enforce_admins` | boolean | No | Whether to enforce restrictions for administrators. Omit to disable admin enforcement — GitHub receives an explicit null. |
1024+
| `required_pull_request_reviews` | object | No | PR review requirements. Object with optional required_approving_review_count, dismiss_stale_reviews, require_code_owner_reviews. Omit to disable review requirements — GitHub receives an explicit null. |
1025+
| `restrictions` | object | No | Push restrictions, available only for organization-owned repositories. Object with users \(string array\), teams \(string array\) and optional apps \(string array\). Omit to disable push restrictions — GitHub receives an explicit null. |
10261026
| `apiKey` | string | Yes | GitHub Personal Access Token |
10271027

10281028
#### Output
@@ -1805,14 +1805,15 @@ Trigger a workflow dispatch event for a GitHub Actions workflow. The workflow mu
18051805

18061806
### GitHub List Workflow Runs
18071807

1808-
List workflow runs for a repository. Supports filtering by actor, branch, event, and status. Returns run details including status, conclusion, and links.
1808+
List workflow runs for a repository, or for a single workflow when a workflow ID or filename is given. Supports filtering by actor, branch, event, and status. Returns run details including status, conclusion, and links.
18091809

18101810
#### Input
18111811

18121812
| Parameter | Type | Required | Description |
18131813
| --------- | ---- | -------- | ----------- |
18141814
| `owner` | string | Yes | Repository owner \(user or organization\) |
18151815
| `repo` | string | Yes | Repository name |
1816+
| `workflow_id` | string | No | The ID of the workflow. You can also pass the workflow file name as a string \(e.g., ci.yml\). Omit to list runs across the whole repository. |
18161817
| `actor` | string | No | Filter by user who triggered the workflow |
18171818
| `branch` | string | No | Filter by branch name |
18181819
| `event` | string | No | Filter by event type \(e.g., push, pull_request, workflow_dispatch\) |

apps/docs/content/docs/integrations/incidentio.mdx

Lines changed: 50 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ List incidents from incident.io. Returns a list of incidents with their details
6262
|`id` | string | Incident ID |
6363
|`name` | string | Incident name/title |
6464
|`summary` | string | Incident summary |
65-
|`description` | string | Incident description |
6665
|`mode` | string | Incident mode \(standard, retrospective, test\) |
6766
|`call_url` | string | Video call URL |
6867
|`severity` | object | Incident severity |
@@ -82,7 +81,7 @@ List incidents from incident.io. Returns a list of incidents with their details
8281
|`is_default` | boolean | Whether this is the default incident type |
8382
|`created_at` | string | When the incident was created \(ISO 8601\) |
8483
|`updated_at` | string | When the incident was last updated \(ISO 8601\) |
85-
|`incident_url` | string | URL to the incident page |
84+
|`permalink` | string | Permalink to the incident in incident.io |
8685
|`slack_channel_id` | string | Slack channel ID |
8786
|`slack_channel_name` | string | Slack channel name |
8887
|`visibility` | string | Incident visibility \(public, private\) |
@@ -116,7 +115,6 @@ Create a new incident in incident.io. Requires idempotency_key, severity_id, and
116115
|`id` | string | Incident ID |
117116
|`name` | string | Incident name |
118117
|`summary` | string | Brief summary of the incident |
119-
|`description` | string | Detailed description of the incident |
120118
|`mode` | string | Incident mode \(e.g., standard, retrospective\) |
121119
|`call_url` | string | URL for the incident call/bridge |
122120
|`severity` | object | Severity of the incident |
@@ -132,7 +130,7 @@ Create a new incident in incident.io. Requires idempotency_key, severity_id, and
132130
|`name` | string | Type name |
133131
|`created_at` | string | Creation timestamp |
134132
|`updated_at` | string | Last update timestamp |
135-
|`incident_url` | string | URL to the incident |
133+
|`permalink` | string | Permalink to the incident in incident.io |
136134
|`slack_channel_id` | string | Associated Slack channel ID |
137135
|`slack_channel_name` | string | Associated Slack channel name |
138136
|`visibility` | string | Incident visibility |
@@ -156,10 +154,9 @@ Retrieve detailed information about a specific incident from incident.io by its
156154
|`id` | string | Incident ID |
157155
|`name` | string | Incident name |
158156
|`summary` | string | Brief summary of the incident |
159-
|`description` | string | Detailed description of the incident |
160157
|`mode` | string | Incident mode \(e.g., standard, retrospective\) |
161158
|`call_url` | string | URL for the incident call/bridge |
162-
|`permalink` | string | Permanent link to the incident |
159+
|`permalink` | string | Permalink to the incident in incident.io |
163160
|`severity` | object | Severity of the incident |
164161
|`id` | string | Severity ID |
165162
|`name` | string | Severity name |
@@ -173,7 +170,6 @@ Retrieve detailed information about a specific incident from incident.io by its
173170
|`name` | string | Type name |
174171
|`created_at` | string | Creation timestamp |
175172
|`updated_at` | string | Last update timestamp |
176-
|`incident_url` | string | URL to the incident |
177173
|`slack_channel_id` | string | Associated Slack channel ID |
178174
|`slack_channel_name` | string | Associated Slack channel name |
179175
|`visibility` | string | Incident visibility |
@@ -205,7 +201,6 @@ Update an existing incident in incident.io. Can update name, summary, severity,
205201
|`id` | string | Incident ID |
206202
|`name` | string | Incident name |
207203
|`summary` | string | Brief summary of the incident |
208-
|`description` | string | Detailed description of the incident |
209204
|`mode` | string | Incident mode \(e.g., standard, retrospective\) |
210205
|`call_url` | string | URL for the incident call/bridge |
211206
|`severity` | object | Severity of the incident |
@@ -221,7 +216,7 @@ Update an existing incident in incident.io. Can update name, summary, severity,
221216
|`name` | string | Type name |
222217
|`created_at` | string | Creation timestamp |
223218
|`updated_at` | string | Last update timestamp |
224-
|`incident_url` | string | URL to the incident |
219+
|`permalink` | string | Permalink to the incident in incident.io |
225220
|`slack_channel_id` | string | Associated Slack channel ID |
226221
|`slack_channel_name` | string | Associated Slack channel name |
227222
|`visibility` | string | Incident visibility |
@@ -486,7 +481,7 @@ Create a new workflow in incident.io.
486481
| `trigger` | string | No | Trigger type for the workflow \(e.g., "incident.updated", "incident.created"\) |
487482
| `steps` | string | No | Array of workflow steps as JSON string. Example: \[\{"label": "Notify team", "name": "slack.post_message"\}\] |
488483
| `condition_groups` | string | No | Array of condition groups as JSON string to control when the workflow runs. Example: \[\{"conditions": \[\{"operation": "one_of", "param_bindings": \[\], "subject": "incident.severity"\}\]\}\] |
489-
| `runs_on_incidents` | string | No | When to run the workflow: "newly_created" \(only new incidents\), "newly_created_and_active" \(new and active incidents\), "active" \(only active incidents\), or "all" \(all incidents\) |
484+
| `runs_on_incidents` | string | No | When to run the workflow: "newly_created" \(only newly created incidents\) or "newly_created_and_active" \(newly created and already active incidents\) |
490485
| `runs_on_incident_modes` | string | No | Array of incident modes to run on as JSON string. Example: \["standard", "retrospective"\] |
491486
| `include_private_incidents` | boolean | No | Whether to include private incidents |
492487
| `continue_on_step_error` | boolean | No | Whether to continue executing subsequent steps if a step fails |
@@ -569,7 +564,7 @@ Update an existing workflow in incident.io.
569564
| `name` | string | Yes | New name for the workflow \(e.g., "Notify on Critical Incidents"\) |
570565
| `steps` | string | Yes | Complete array of workflow steps as a JSON string |
571566
| `condition_groups` | string | Yes | Complete array of workflow condition groups as a JSON string |
572-
| `runs_on_incidents` | string | Yes | When to run the workflow: newly_created, newly_created_and_active, active, or all |
567+
| `runs_on_incidents` | string | Yes | When to run the workflow: newly_created or newly_created_and_active |
573568
| `runs_on_incident_modes` | string | Yes | Complete array of incident modes to run on as a JSON string |
574569
| `include_private_incidents` | boolean | Yes | Whether to include private incidents |
575570
| `continue_on_step_error` | boolean | Yes | Whether to continue executing subsequent steps if a step fails |
@@ -783,11 +778,15 @@ List all escalation policies in incident.io
783778

784779
| Parameter | Type | Description |
785780
| --------- | ---- | ----------- |
786-
| `escalations` | array | List of escalation policies |
787-
|`id` | string | The escalation policy ID |
788-
|`name` | string | The escalation policy name |
789-
|`created_at` | string | When the escalation policy was created |
790-
|`updated_at` | string | When the escalation policy was last updated |
781+
| `escalations` | array | List of escalations |
782+
|`id` | string | The escalation ID |
783+
|`title` | string | The escalation title |
784+
|`status` | string | The current escalation status |
785+
|`description` | string | Additional detail provided with this escalation |
786+
|`priority` | object | The escalation priority |
787+
|`name` | string | Priority name |
788+
|`created_at` | string | When the escalation was created |
789+
|`updated_at` | string | When the escalation was last updated |
791790
| `pagination_meta` | object | Pagination metadata |
792791
|`after` | string | Cursor for next page |
793792
|`page_size` | number | Number of results per page |
@@ -810,11 +809,15 @@ Create a new escalation policy in incident.io
810809

811810
| Parameter | Type | Description |
812811
| --------- | ---- | ----------- |
813-
| `escalation` | object | The created escalation policy |
814-
|`id` | string | The escalation policy ID |
815-
|`name` | string | The escalation policy name |
816-
|`created_at` | string | When the escalation policy was created |
817-
|`updated_at` | string | When the escalation policy was last updated |
812+
| `escalation` | object | The created escalation |
813+
|`id` | string | The escalation ID |
814+
|`title` | string | The escalation title |
815+
|`status` | string | The current escalation status |
816+
|`description` | string | Additional detail provided with this escalation |
817+
|`priority` | object | The escalation priority |
818+
|`name` | string | Priority name |
819+
|`created_at` | string | When the escalation was created |
820+
|`updated_at` | string | When the escalation was last updated |
818821

819822
### Show Escalation
820823

@@ -831,11 +834,15 @@ Get details of a specific escalation policy in incident.io
831834

832835
| Parameter | Type | Description |
833836
| --------- | ---- | ----------- |
834-
| `escalation` | object | The escalation policy details |
835-
|`id` | string | The escalation policy ID |
836-
|`name` | string | The escalation policy name |
837-
|`created_at` | string | When the escalation policy was created |
838-
|`updated_at` | string | When the escalation policy was last updated |
837+
| `escalation` | object | The escalation details |
838+
|`id` | string | The escalation ID |
839+
|`title` | string | The escalation title |
840+
|`status` | string | The current escalation status |
841+
|`description` | string | Additional detail provided with this escalation |
842+
|`priority` | object | The escalation priority |
843+
|`name` | string | Priority name |
844+
|`created_at` | string | When the escalation was created |
845+
|`updated_at` | string | When the escalation was last updated |
839846

840847
### incident.io Custom Fields List
841848

@@ -870,7 +877,7 @@ Create a new custom field in incident.io.
870877
| `apiKey` | string | Yes | incident.io API Key |
871878
| `name` | string | Yes | Name of the custom field \(e.g., "Affected Service"\) |
872879
| `description` | string | Yes | Description of the custom field \(required\) |
873-
| `field_type` | string | Yes | Type of the custom field \(e.g., text, single_select, multi_select, numeric, datetime, link, user, team\) |
880+
| `field_type` | string | Yes | Type of the custom field: text, link, numeric, single_select, or multi_select |
874881

875882
#### Output
876883

@@ -1200,20 +1207,30 @@ List all updates for a specific incident in incident.io
12001207
|`id` | string | The update ID |
12011208
|`incident_id` | string | The incident ID |
12021209
|`message` | string | The update message |
1210+
|`merged_into_incident_id` | string | ID of the incident this incident was merged into |
12031211
|`new_severity` | object | New severity if changed |
12041212
|`id` | string | Severity ID |
12051213
|`name` | string | Severity name |
12061214
|`rank` | number | Severity rank |
1207-
|`new_status` | object | New status if changed |
1215+
|`new_incident_status` | object | The incident status after this update |
12081216
|`id` | string | Status ID |
12091217
|`name` | string | Status name |
12101218
|`category` | string | Status category |
1211-
|`updater` | object | User who created the update |
1212-
|`id` | string | User ID |
1213-
|`name` | string | User name |
1214-
|`email` | string | User email |
1219+
|`updater` | object | Actor who created the update |
1220+
|`user` | object | Set when a user made the update |
1221+
|`id` | string | User ID |
1222+
|`name` | string | User name |
1223+
|`email` | string | User email |
1224+
|`api_key` | object | Set when an API key made the update |
1225+
|`id` | string | API key ID |
1226+
|`name` | string | API key name |
1227+
|`workflow` | object | Set when a workflow made the update |
1228+
|`id` | string | Workflow ID |
1229+
|`name` | string | Workflow name |
1230+
|`alert` | object | Set when an alert made the update |
1231+
|`id` | string | Alert ID |
1232+
|`title` | string | Alert title |
12151233
|`created_at` | string | When the update was created |
1216-
|`updated_at` | string | When the update was last modified |
12171234
| `pagination_meta` | object | Pagination information |
12181235
|`after` | string | Cursor for next page |
12191236
|`page_size` | number | Number of results per page |

0 commit comments

Comments
 (0)