Skip to content

v0.5.94: vercel integration, folder insertion, migrated tracking redirects to rewrites #3253

Merged
waleedlatif1 merged 4 commits intomainfrom
staging
Feb 19, 2026
Merged

v0.5.94: vercel integration, folder insertion, migrated tracking redirects to rewrites #3253
waleedlatif1 merged 4 commits intomainfrom
staging

Conversation

@waleedlatif1
Copy link
Collaborator

@waleedlatif1 waleedlatif1 commented Feb 19, 2026

waleedlatif1 and others added 3 commits February 18, 2026 14:00
…t build time on ECS (#3251)

* fix(shortlink): remove isHosted guard from redirects, not available at build time on ECS

* fix(shortlink): use rewrite instead of redirect for Beluga tracking
* fix(sidebar): unify workflow and folder insertion ordering

* ack comments

* ack comments

* ack

* ack comment

* upgrade turbo

* fix build
* feat(vercel): add complete Vercel integration with 42 API tools

Add Vercel platform management integration covering deployments, projects,
environment variables, domains, DNS records, aliases, edge configs, and
team/user management. All tools use API key authentication with Bearer tokens.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat(vercel): add webhook and deployment check tools

Add 8 new Vercel API tools:
- Webhooks: list, create, delete
- Deployment Checks: create, get, list, update, rerequest

Brings total Vercel tools to 50.

* fix(vercel): expand all object and array output definitions

Expand unexpanded output types:
- get_deployment: meta and gitSource objects now have properties
- list_deployment_files: children array now has items definition
- get_team: teamRoles and teamPermissions arrays now have items

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* update icon size, update docs

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Feb 19, 2026 0:27am

Request Review

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 19, 2026

Greptile Summary

This PR delivers three key improvements: (1) adds comprehensive Vercel integration with 54 tools covering deployments, projects, environment variables, domains, DNS, and edge config management; (2) unifies folder and workflow insertion ordering so new items consistently appear at the top of mixed lists; (3) migrates Beluga shortlink tracking from redirects to rewrites, removing the isHosted guard that wasn't available at build time.

  • Added 54 Vercel tools with proper user-only visibility for API keys (compliant with custom rule 2851870a-bd1b-44d3-bc5b-1c7e716acec8)
  • Created unified top-insertion logic using getTopInsertionSortOrder utility that queries MIN from both folders and workflows
  • Applied ordering fix consistently across frontend hooks and backend API routes with parallel MIN queries
  • Comprehensive test coverage added for new ordering behavior
  • Documentation added for all Vercel tools

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • Well-structured changes with comprehensive test coverage, consistent API key handling following custom rules, and unified ordering logic applied consistently across frontend and backend
  • No files require special attention

Important Files Changed

Filename Overview
apps/sim/next.config.ts Migrated shortlink tracking from redirects to rewrites, removed isHosted guard
apps/sim/hooks/queries/utils/top-insertion-sort-order.ts New utility to calculate top insertion sort order for mixed folders and workflows
apps/sim/hooks/queries/folders.ts Updated to use unified top insertion logic for folders alongside workflows
apps/sim/hooks/queries/workflows.ts Updated to use unified top insertion logic for workflows alongside folders
apps/sim/app/api/folders/route.ts Backend sync for unified folder/workflow ordering using MIN queries
apps/sim/app/api/workflows/route.ts Backend sync for unified folder/workflow ordering using MIN queries
apps/sim/tools/registry.ts Registered 54 new Vercel tools across deployments, projects, env vars, domains, DNS, etc
apps/sim/blocks/blocks/vercel.ts New Vercel block with 54 tool integrations for deployment management

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[User Creates Folder/Workflow] --> B{Sort Order Provided?}
    B -->|Yes| C[Use Provided Sort Order]
    B -->|No| D[Calculate Top Insertion]
    
    D --> E[Query MIN from Workflows]
    D --> F[Query MIN from Folders]
    
    E --> G[Combine Results]
    F --> G
    
    G --> H{Any Siblings?}
    H -->|Yes| I[MIN - 1]
    H -->|No| J[Default: 0]
    
    I --> K[Insert at Top]
    J --> K
    C --> K
    
    K --> L[Frontend: Optimistic Update]
    K --> M[Backend: Database Insert]
    
    L --> N[Sync on Success]
    M --> N
Loading

Last reviewed commit: 91aa1f9

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

74 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@waleedlatif1 waleedlatif1 merged commit 15ace5e into main Feb 19, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments