Skip to content

feat(backend): move agent-login to Convex HTTP action#280

Merged
vedantb2 merged 25 commits intomainfrom
staging
Mar 28, 2026
Merged

feat(backend): move agent-login to Convex HTTP action#280
vedantb2 merged 25 commits intomainfrom
staging

Conversation

@vedantb2
Copy link
Copy Markdown
Owner

Removes dependency on TanStack Start server runtime. Agent auth now flows through
Convex site endpoint using @clerk/backend to create sign-in tokens.

vedantb2 added 25 commits March 24, 2026 21:17
Removes dependency on TanStack Start server runtime. Agent auth now flows through
Convex site endpoint using @clerk/backend to create sign-in tokens.
TanStack Router's JSON.parse-based parser converts ?agent=true to boolean,
not string — validateSearch now checks for both.
Removes Convex HTTP endpoint (security hole in open-source codebase).
Agent auth now handled server-side in Vite dev middleware only — zero
attack surface in production. Secrets stay in .env.local, never bundled.
Allow toggling and deleting repo-level audits directly from app settings, instead of forcing users to navigate to the parent repo. Also enabled adding new repo-level audits from app context.
Consolidate EVA_URL configuration across dev/staging/production environments. Remove duplicate SYNC_HOST constant and use env vars (VITE_EVA_URL) for all URL references. Add build:staging script for staging builds.
Change date display from "x days ago" to compact format (3d, 1h, 5m)
on QuickTaskCard in both web-v2 and web apps.
When on /{owner}/{repo}/inbox, the route parser treated "inbox" as an
appName because it wasn't in KNOWN_SUB_PAGES, causing repoBasePath to
include "/inbox" and all nav links to generate broken URLs.
…onal teams

Personal teams now display contextual names:
- Your own personal team shows as "My Team"
- Other users' personal teams show as "{firstName}'s Team"

Updated in both web and web-v2 apps, with the display logic computed
in the backend teams.list and teams.get queries.
…hj7h83jpm1

Eva: im on inbox page, then navigating to otherr pages breaks the url structure
…5cb183jaj0

Eva: change date on quick task card
Filters out Designs, Sessions, Documents, Testing Arena, and Analyse features when not in development mode. Production and staging only show Projects, Quick Tasks, Inbox, Automations, Stats, and Settings.
Replace strict session.userId check with hasRepoAccess validation in startExecute, cancelExecution, and sessionComplete mutations. This allows any team member with repo access to execute on sessions created by others, matching the behavior of sessions.list which already shows all repo sessions to all team members.
…ion chat

Replaces broken Reasoning component (which uses BrainIcon from lucide) with ActivitySteps fallback step pattern. Fixes chrome extension showing literal "IconBrain" text when AI starts streaming.
URLSearchParams directly checks for agent param presence instead of relying on
strict zod validation that rejected string/empty values from query strings.
Fixes "not found" error when navigating to /?agent or /?agent=true.
Wildcard pattern *.daytonaproxy01.net allows Next.js dev server to accept
cross-origin requests from Daytona proxy URLs that rotate every 30 minutes.
URLs like /:owner/:repo/:extra/sessions/:path* were missing the
upgrade-insecure-requests header, causing mixed content errors when
iframes requested HTTP sandbox URLs from HTTPS pages.
vite was binding to localhost-only (::1) making it unreachable from Daytona proxy. disabled vite CORS since the proxy already handles it, preventing duplicate Access-Control-Allow-Origin headers. removed credentials flag from dismissDaytonaWarning fetch to simplify CORS handling.
…heck timeout

Add "command execution timeout" to retryable session git errors so transient Daytona
sandbox exec timeouts trigger retries (3 attempts) instead of failing immediately.
Increase remoteBranchExists timeout from 10s to 20s to give snapshot sandboxes more
headroom for initial git ls-remote calls.
- decode URL-encoded paths in router history (proxy encodes ? as %3F)
- fix buildUrlWithPath to preserve query strings and enforce HTTPS
- upgrade Daytona dismiss fetch to HTTPS to prevent mixed content blocks
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 28, 2026

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

Project Deployment Actions Updated (UTC)
eva Ready Ready Preview, Comment Mar 29, 2026 4:00am
eva-web Ready Ready Preview, Comment Mar 29, 2026 4:00am
eva-web-v2 Ready Ready Preview, Comment Mar 29, 2026 4:00am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
eva-mcp Skipped Skipped Mar 29, 2026 4:00am

@vedantb2 vedantb2 merged commit 60f86dd into main Mar 28, 2026
8 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