Commit b804c24
Merge origin/staging into staging-v4
Resolved 24 conflicts. Notable decisions, all made by checking what the
merged tree actually does rather than preferring a side:
- MCP prompt text (process-contents.ts): took staging's wording. Staging's
`defer_loading: false` in mcp-tools.ts won the (unconflicted) merge, and
`load_mcp_tool` is absent from the generated tool catalog, so the branch's
"load before calling" instruction described behavior that no longer exists.
Fixed the same stale instruction in mothership/execute/route.ts, which had
merged cleanly and so was never flagged as a conflict.
- Session cookie cache (auth.ts): kept the branch's 5-minute maxAge AND
staging's org security-policy `version` callback. They solve different
halves of revocation latency — `version` only covers org-wide invalidation,
so the short TTL remains the only bound on per-device sign-out.
- E2B -> sandbox rename: adopted staging's `isDocSandboxEnabled` everywhere.
- xlsx mothership-beta gate: stayed removed (the branch deleted it
deliberately); dropped the now-dead `isFeatureEnabled` imports and the
beta-flag arm of the test.
- delete_file tool, workflow-alias machinery, and `isPrivateOrReservedIP`
were all deleted by this branch while staging kept using them. Staging's
new call sites merged in cleanly and referenced missing symbols; rewired
them (`isPrivateOrReservedIP` -> `isPrivateIp` from @sim/security/ssrf) or
removed them where the feature they guarded no longer exists.
- special-tags.tsx: unioned both feature sets (branch's folder_access /
browser_takeover / terminal_handoff, staging's service_account) — the
already-merged dispatcher references all four.
- add-resource-dropdown.tsx: dropped the branch's `isOpen` plumbing; staging's
`select()` derives the same key from `existingKeys` internally.
- Added the branch's `isCopilotToolPermissionsEnabled` to the shared
env-flags test mock, which staging's mock migration did not know about.
DB migrations were reverted to the merge-base in the preceding commit so
staging's 0264-0270 chain applies cleanly; the branch's schema change is
regenerated on top in the next commit.
Co-Authored-By: Claude <noreply@anthropic.com>1,674 files changed
Lines changed: 220803 additions & 26702 deletions
File tree
- .agents/skills
- add-block
- add-integration
- add-model
- ship
- validate-model
- .claude
- commands
- rules
- .cursor/commands
- .github
- actions
- cache-mount
- docker-build
- workflows
- apps
- docs
- components
- ui
- workflow-preview
- content/docs/en
- agents
- integrations
- knowledgebase
- platform
- enterprise
- self-hosting
- workflows
- blocks
- deployment
- public/static/enterprise
- pii
- realtime/src
- handlers
- middleware
- rooms
- sim
- app
- (auth)
- login
- signup
- verify
- (interfaces)/chat
- [identifier]
- components/message
- hooks
- (landing)
- comparisons/[provider]
- components
- content-author-page
- content-index-page
- content-post-page
- features
- hero
- home-structured-data
- mothership
- product-demo
- solutions-page
- components/solutions-card-row/components/solutions-card-row-header
- enterprise
- files
- integrations
- knowledge
- logs
- models
- scheduled-tasks
- tables
- workflows
- _styles
- account/settings
- [section]
- billing/credit-usage
- chat-keys
- api
- audit-logs/export
- auth
- [...all]
- forget-password
- oauth2
- authorize
- shopify/store
- oauth
- connections
- disconnect
- sso/register
- billing
- invoices
- switch-plan
- update-cost
- blocks/visibility
- chat
- [identifier]
- otp
- manage/[id]
- cli/auth
- approve
- poll
- copilot
- api-keys
- generate
- validate
- chats
- chat
- delete
- resources
- stop
- update-messages
- checkpoints
- revert
- feedback
- cron
- cleanup-stale-executions
- renew-subscriptions
- custom-blocks/[id]/usages
- files
- delete
- presigned
- upload
- folders
- [id]
- reorder
- function/execute
- guardrails/mask-batch
- invitations/[id]/accept
- jobs/[jobId]
- knowledge
- [id]
- connectors
- [connectorId]
- documents
- sync
- documents
- [documentId]
- upsert
- search
- mcp
- oauth
- callback
- start
- servers
- [id]/refresh
- serve/[serverId]
- mothership
- chats
- [chatId]
- fork
- restore
- read
- execute
- organizations
- [id]
- domains
- [domainId]
- verify
- invitations
- members/[memberId]/usage-limit
- permission-groups
- roster
- session-policy
- sessions/revoke
- providers
- baseten/models
- ollama-cloud/models
- together/models
- resume
- [workflowId]/[executionId]/[contextId]
- poll
- schedules
- [id]
- execute
- skills
- [id]/members
- import
- speech/token
- table
- [tableId]
- columns
- delete-async
- export
- groups
- import-async
- import
- rows
- [rowId]
- import-csv
- tools
- custom
- file/manage
- firecrawl/parse
- managed-agent/list
- onepassword
- tiktok/upload-video-draft
- whatsapp
- get-media
- send-media
- upload-media
- usage
- users/me/subscription/[id]/transfer
- v1
- admin/workspaces/[id]/members
- [memberId]
- audit-logs
- [id]
- tables
- [tableId]
- columns
- rows
- [rowId]
- upsert
- webhooks
- poll/[provider]
- slack
- tiktok
- workflows
- [id]
- chat/status
- execute
- executions/[executionId]/stream
- log
- references
- workspace-events/poll
- workspaces
- [id]
- api-keys
- byok-keys
- credit-availability
- environment
- files
- [fileId]
- compiled-check
- download
- inline
- fork
- excluded-workflows
- lineage
- host-context
- usage-gate
- invitations
- members/[id]
- cli/auth
- done
- workspace
- [workspaceId]
- components
- connect-oauth-modal
- credential-detail
- components
- hooks
- custom-tool-editor
- message-actions
- resource-tile
- skill-tile
- files/components/file-viewer/rich-markdown-editor
- mention
- home/components
- credits-chip
- message-content
- components
- agent-group
- chat-content
- special-tags
- mothership-chat
- mothership-view/components
- add-resource-dropdown
- resource-tabs
- user-input
- components
- prompt-editor
- integrations
- [block]
- components/connect-service-account-modal
- knowledge
- [id]
- [documentId]
- components
- rename-document-modal
- search-highlight
- logs
- components/log-details/components/trace-view
- scheduled-tasks/components/task-modal
- settings
- [section]
- components
- activity-log
- api-keys
- billing
- byok
- copilot
- custom-tools
- components/custom-tool-detail
- general
- inbox
- components
- inbox-settings-tab
- inbox-task-list
- mcp
- components/mcp-server-form-modal
- mothership
- recently-deleted
- secrets/components/secrets-manager
- settings-resource-row
- team-management
- components
- no-organization-view
- organization-invite-modal
- organization-member-lists
- remove-member-dialog
- transfer-ownership-dialog
- workflow-mcp-servers
- skills
- [skillId]
- components
- components
- skill-fields
- skill-import
- skill-members
- skill-modal
- new
- tables
- [tableId]
- components
- column-config-sidebar
- lock-settings-modal
- new-column-dropdown
- row-modal
- select-field
- table-filter
- table-grid
- cells
- headers
- workflow-sidebar
- hooks
- components/import-csv-dialog
- w
- [workflowId]
- components
- chat
- components/output-select
- panel
- components
- deploy
- components/deploy-modal
- components
- api
- chat
- hooks
- editor
- components
- connection-blocks
- sub-block
- components
- credential-selector
- skill-input
- table
- tag-dropdown
- tool-input
- components
- code-editor
- custom-tool-modal
- toolbar
- terminal
- components/output-panel
- workflow-block
- hooks
- components
- preview/components
- preview-editor
- preview-workflow/components/block
- sidebar
- components
- search-modal
- components
- command-items
- search-groups
- workflow-list/components
- delete-modal
- references-modal
- components/reference-tree
- workflow-item
- workspace-header
- components
- create-workspace-modal
- invite-modal
- hooks
- providers
- background
- blocks
- blocks
- custom
- components
- agent-stream
- emails/components
- permissions
- pii
- settings
- ui
- connectors
- asana
- confluence
- google-sheets
- incidentio
- outlook
- servicenow
- webflow
- youtube
- content/library
- ai-agent-ideas
- ai-agent-observability
- ai-agent-vs-chatbot
- ai-agents-in-procurement
- ai-agents-vs-rpa
- apache-2-0-vs-fair-code
- best-ai-agent-platforms-2026
- best-ai-agents-for-customer-support-automation
- best-ai-agents-for-data-extraction-and-rag-in-2026
- best-ai-agents-sales-crm-automation
- best-relay-app-alternatives-2026
- best-zapier-alternatives
- byok-multi-model-ai-agent-builder
- how-to-create-an-ai-agent
- langgraph-alternatives
- mcp-security
- n8n-alternatives
- open-source-ai-agent-platforms
- openai-vs-n8n-vs-sim
- what-is-an-mcp-server
- ee
- access-control
- components
- hooks
- utils
- audit-logs
- components
- hooks
- components
- custom-blocks/components
- data-drains
- components
- destinations
- hooks
- data-retention
- components
- hooks
- session-policy
- components
- hooks
- sso
- components
- hooks
- whitelabeling
- components
- hooks
- workspace-forking
- components
- hooks
- lib
- background-work
- copy
- lineage
- executor
- execution
- handlers
- agent
- evaluator
- pi
- router
- workflow
- hooks
- mcp
- queries
- utils
- selectors
- lib
- admin
- api-key
- api
- client
- contracts
- tools
- v1/admin
- auth
- sso
- billing
- calculations
- core
- credits
- organizations
- storage
- validation
- webhooks
- cleanup
- cli-auth
- concurrency/__tests__
- content
- copilot
- async-runs
- auth
- chat
- generated
- request
- lifecycle
- session
- tools
- server
- tools
- handlers
- deployment
- management
- workflow
- server
- blocks
- files
- knowledge
- table
- user
- workflow/edit-workflow
- validation
- vfs
- core
- config
- execution-limits
- idempotency
- outbox
- rate-limiter
- hosted-key
- storage
- security
- utils
- credentials
- token-service-accounts
- validators
- data-drains
- destinations
- sources
- execution
- payloads
- remote-sandbox
- file-parsers
- global-work
- guardrails
- integrations
- invitations
- knowledge
- connectors
- documents
- logs
- execution
- snapshot
- trace-spans
- managed-agents
- mcp
- oauth
- orchestration
- messaging/email
- providers
- monitoring
- mothership/inbox
- oauth
- __tests__
- organizations
- permission-groups
- posthog
- skills
- table
- __tests__
- columns
- query-builder
- __tests__
- rows
- workflow-groups
- uploads
- contexts/workspace
- core
- providers/gcs
- utils
- webhooks
- polling
- providers
- workflows
- autolayout
- comparison
- custom-blocks
- executor
- migrations
- orchestration
- persistence
- references
- sanitization
- schedules
- skills
- streaming
- subblocks
- triggers
- workspace-events
- workspaces
- permissions
- providers
- __fixtures__
- anthropic
- openai-compat
- anthropic
- azure-anthropic
- azure-openai
- baseten
- bedrock
- cerebras
- deepseek
- fireworks
- gemini
- google
- groq
- kimi
- litellm
- meta
- mistral
- nvidia
- ollama-cloud
- ollama
- openai-compat
- openai
- openrouter
- sakana
- together
- vllm
- xai
- zai
- public
- brand/color/email
- library
- ai-agent-ideas
- ai-agent-observability
- ai-agent-vs-chatbot
- ai-agents-in-procurement
- ai-agents-vs-rpa
- apache-2-0-vs-fair-code
- best-ai-agent-platforms-2026
- best-ai-agents-for-customer-support-automation
- best-ai-agents-for-data-extraction-and-rag-in-2026
- best-ai-agents-sales-crm-automation
- best-relay-app-alternatives-2026
- best-zapier-alternatives
- byok-multi-model-ai-agent-builder
- how-to-create-an-ai-agent
- langgraph-alternatives
- mcp-security
- n8n-alternatives
- open-source-ai-agent-platforms
- openai-vs-n8n-vs-sim
- what-is-an-mcp-server
- static
- scripts
- serializer/tests
- stores
- chat
- modals/search
- operation-queue
- table
- terminal/console
- workflow-diff
- workflows
- registry
- subblock
- workflow
- tools
- file
- firecrawl
- github
- google_maps
- http
- llm
- managed_agent
- parallel
- shopify
- slack
- supabase
- tiktok
- whatsapp
- workflow
- triggers
- generic
- slack
- tiktok
- whatsapp
- helm/sim
- .claude/skills/sim-helm
- references
- ci
- examples
- templates
- tests
- tests
- packages
- audit/src
- auth
- src
- db
- migrations
- meta
- scripts
- emcn
- src/components
- chip-dropdown
- chip-modal
- chip-switch
- realtime-protocol/src
- security/src
- testing
- src/mocks
- utils
- src
- workflow-persistence
- src
- workflow-renderer/src
- workflow-block
- scripts
- setup
- modes
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
147 | 166 | | |
148 | 167 | | |
149 | 168 | | |
| |||
238 | 257 | | |
239 | 258 | | |
240 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
241 | 285 | | |
242 | 286 | | |
243 | | - | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
244 | 291 | | |
245 | 292 | | |
246 | 293 | | |
247 | | - | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
248 | 297 | | |
249 | 298 | | |
250 | 299 | | |
251 | 300 | | |
252 | 301 | | |
253 | 302 | | |
254 | 303 | | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
263 | 312 | | |
264 | | - | |
265 | 313 | | |
266 | 314 | | |
267 | 315 | | |
268 | 316 | | |
269 | 317 | | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
274 | 340 | | |
275 | 341 | | |
276 | 342 | | |
277 | | - | |
| 343 | + | |
278 | 344 | | |
279 | 345 | | |
280 | 346 | | |
281 | | - | |
282 | | - | |
| 347 | + | |
283 | 348 | | |
284 | 349 | | |
285 | 350 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
231 | 234 | | |
232 | 235 | | |
233 | | - | |
234 | | - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
235 | 244 | | |
236 | 245 | | |
237 | 246 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
149 | 159 | | |
150 | 160 | | |
151 | 161 | | |
| |||
155 | 165 | | |
156 | 166 | | |
157 | 167 | | |
| 168 | + | |
158 | 169 | | |
159 | 170 | | |
160 | 171 | | |
| |||
201 | 212 | | |
202 | 213 | | |
203 | 214 | | |
| 215 | + | |
204 | 216 | | |
205 | 217 | | |
206 | 218 | | |
| |||
0 commit comments