Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: simstudioai/sim
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.6.29
Choose a base ref
...
head repository: simstudioai/sim
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.6.30
Choose a head ref
  • 16 commits
  • 137 files changed
  • 5 contributors

Commits on Apr 7, 2026

  1. feat(posthog): Add tracking on mothership abort (#4023)

    Co-authored-by: Theodore Li <theo@sim.ai>
    TheodoreSpeaks and TheodoreSpeaks authored Apr 7, 2026
    Configuration menu
    Copy the full SHA
    d0d3581 View commit details
    Browse the repository at this point in the history
  2. fix(login): fix captcha headers for manual login (#4025)

    * fix(signup): fix turnstile key loading
    
    * fix(login): fix captcha header passing
    
    * Catch user already exists, remove login form captcha
    
    ---------
    
    Co-authored-by: Theodore Li <theo@sim.ai>
    TheodoreSpeaks and TheodoreSpeaks authored Apr 7, 2026
    Configuration menu
    Copy the full SHA
    0f602f7 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2026

  1. feat(slack): add subtype field and signature verification to Slack tr…

    …igger (#4030)
    
    * feat(slack): add subtype field and signature verification to Slack trigger
    
    * fix(slack): guard against NaN timestamp and align null/empty-string convention
    waleedlatif1 authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    e0f5cf8 View commit details
    Browse the repository at this point in the history
  2. improvement(secrets): parallelize save mutations and add admin visibi…

    …lity for workspace secrets (#4032)
    
    * improvement(secrets): parallelize save mutations and add admin visibility for workspace secrets
    
    * fix(secrets): sequence workspace upsert/delete to avoid read-modify-write race
    
    * fix(secrets): use Promise.allSettled to ensure credential invalidation after all mutations settle
    waleedlatif1 authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    98be968 View commit details
    Browse the repository at this point in the history
  3. feat(chat): drag workflows and folders from sidebar into chat input (#…

    …4028)
    
    * feat(chat): drag workflows and folders from sidebar into chat input
    
    * fix(chat): fix effectAllowed, stale atInsertPosRef, and drag-enter overlay for resource drags
    
    * feat(chat): add task dragging and visible drag ghost for sidebar items
    
    * feat(sidebar): add drag ghost with icons and task icon to context chips
    
    * refactor(types): narrow ChatMessageContext.kind to ChatContextKind union and add workflowBorderColor utility
    
    * feat(user-input): support Tab to select resource in mention dropdown
    
    * fix(user-input): narrow ChatContext discriminated union before accessing workflowId
    
    * fix(colors): overload workflowBorderColor to accept string | undefined
    
    * fix(colors): simplify workflowBorderColor to single string | undefined signature
    
    * fix(chat): remove resource panel tab when context mention is deleted from input
    
    * fix(chat): use resource ID for context removal identity check
    
    * fix(chat): add folder/task cases to resource resolver, task key to existingResourceKeys, and use workflowBorderColor in drag ghost
    
    * revert(chat): remove folder/task from resolveResourceFromContext — no panel UI for these types
    
    * fix(chat): add chatId to stored context types and workflow.color to drag callback deps
    
    * fix(chat): guard chatId before adding task key to existingResourceKeys
    waleedlatif1 authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    6c3caf6 View commit details
    Browse the repository at this point in the history
  4. feat(athena): add AWS Athena integration (#4034)

    * feat(athena): add AWS Athena integration
    
    * fix(athena): address PR review comments
    
    - Fix variable shadowing: rename inner `data` to `rowData` in row mapper
    - Fix first-page maxResults off-by-one: request maxResults+1 to compensate for header row
    - Add missing runtime guard for queryString in create_named_query
    - Move athena registry entries to correct alphabetical position
    
    * fix(athena): alphabetize registry keys and add type re-exports
    
    - Reorder athena_* registry keys to strict alphabetical order
    - Add type re-exports from index.ts barrel
    
    * fix(athena): cap maxResults at 999 to prevent overflow with header row adjustment
    
    The +1 adjustment for the header row on first-page requests could
    produce MaxResults=1001 when user requests 1000, exceeding the AWS
    API hard cap of 1000.
    waleedlatif1 authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    2504bfb View commit details
    Browse the repository at this point in the history
  5. fix(admin): delete workspaces on ban (#4029)

    * fix(admin): delete workspaces on ban
    
    * Fix lint
    
    * Wait until workspace deletion to return ban success
    
    ---------
    
    Co-authored-by: Theodore Li <theo@sim.ai>
    TheodoreSpeaks and TheodoreSpeaks authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    712e58a View commit details
    Browse the repository at this point in the history
  6. feat(ui): Add copy button for code blocks in mothership (#4033)

    * Add copy button for code blocks in mothership
    
    * Move to shared copy code button
    
    * Handle react node case for copy
    
    * fix(copy-button): address PR review feedback
    
    - Await clipboard write and clear timeout on unmount in CopyCodeButton
    - Fix hover bg color matching container bg (surface-4 -> surface-5)
    - Extract extractTextContent to shared util at lib/core/utils/react-node-text.ts
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    
    * Fix lint
    
    ---------
    
    Co-authored-by: Theodore Li <theo@sim.ai>
    Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    3 people authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    6f9f336 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2760b4b View commit details
    Browse the repository at this point in the history
  8. refactor(polling): consolidate polling services into provider handler…

    … pattern (#4035)
    
    * refactor(polling): consolidate polling services into provider handler pattern
    
    Eliminate self-POST anti-pattern and extract shared boilerplate from 4 polling
    services into a clean handler registry mirroring lib/webhooks/providers/.
    
    - Add processPolledWebhookEvent() to processor.ts for direct in-process webhook
      execution, removing HTTP round-trips that caused Lambda 403/timeout errors
    - Extract shared utilities (markWebhookFailed/Success, fetchActiveWebhooks,
      runWithConcurrency, resolveOAuthCredential, updateWebhookProviderConfig)
    - Create PollingProviderHandler interface with per-provider implementations
    - Consolidate 4 identical route files into single dynamic [provider] route
    - Standardize concurrency to 10 across all providers
    - No infra changes needed — Helm cron paths resolve via dynamic route
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    * polish(polling): extract lock TTL constant and remove unnecessary type casts
    
    - Widen processPolledWebhookEvent body param to accept object, eliminating
      `as unknown as Record<string, unknown>` double casts in all 4 handlers
    - Extract LOCK_TTL_SECONDS constant in route, tying maxDuration and lock TTL
      to a single value
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    * fix(polling): address PR review feedback
    
    - Add archivedAt filters to fetchActiveWebhooks query, matching
      findWebhookAndWorkflow in processor.ts to prevent polling archived
      webhooks/workflows
    - Move provider validation after auth check to prevent provider
      enumeration by unauthenticated callers
    - Fix inconsistent pollingIdempotency import path in outlook.ts to
      match other handlers
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    * fix(polling): use literal for maxDuration segment config
    
    Next.js requires segment config exports to be statically analyzable
    literals. Using a variable reference caused build failure.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    ---------
    
    Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
    waleedlatif1 and claude authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    086b7d9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a591d7c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7b81a76 View commit details
    Browse the repository at this point in the history
  11. feat(secrets): allow admins to view and edit workspace secret values (#…

    …4040)
    
    * feat(secrets): allow admins to view and edit workspace secret values
    
    * fix(secrets): cross-browser masking and grid layout for non-admin users
    waleedlatif1 authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    9282d1b View commit details
    Browse the repository at this point in the history
  12. fix: address PR review comments (#4042)

    * fix: address PR review comments on staging release
    
    - Add try/catch around clipboard.writeText() in CopyCodeButton
    - Add missing folder and past_chat cases in resolveResourceFromContext
    - Return 400 for ZodError instead of 500 in all 8 Athena API routes
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    * fix(api): return 400 for Zod validation errors across 27 API routes
    
    Routes using z.parse() were returning 500 for ZodError (client input
    validation failures). Added instanceof z.ZodError check to return 400
    before the generic 500 handler, matching the established pattern used
    by 115+ other routes.
    
    Affected services: CloudWatch (7), CloudFormation (7), DynamoDB (6),
    Slack (3), Outlook (2), OneDrive (1), Google Drive (1).
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    * fix(api): add success:false to ZodError responses for consistency
    
    7 routes used { success: false, error: ... } in their generic error
    handler but our ZodError handler only returned { error: ... }. Aligned
    the ZodError response shape to match.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    ---------
    
    Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
    waleedlatif1 and claude authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    d0d35dd View commit details
    Browse the repository at this point in the history
  13. improvement(kb): deferred content fetching and metadata-based hashes …

    …for connectors (#4044)
    
    * improvement(kb): deferred content fetching and metadata-based hashes for connectors
    
    * fix(kb): remove message count from outlook contentHash to prevent list/get divergence
    
    * fix(kb): increase outlook getDocument message limit from 50 to 250
    
    * fix(kb): skip outlook messages without conversationId to prevent broken stubs
    
    * fix(kb): scope outlook getDocument to same folder as listDocuments to prevent hash divergence
    
    * fix(kb): add missing connector sync cron job to Helm values
    
    The connector sync endpoint existed but had no cron job configured to trigger it,
    meaning scheduled syncs would never fire.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    
    ---------
    
    Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
    waleedlatif1 and claude authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    3c7bfa7 View commit details
    Browse the repository at this point in the history
  14. v0.6.30: slack trigger enhancements, connectors performance improveme…

    …nts, secrets performance, polling refactors, drag resources in mothership
    waleedlatif1 authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    d7da35b View commit details
    Browse the repository at this point in the history
Loading