208 Commits

Author SHA1 Message Date
Will Sather
be582e90c3
fix: disconnected github dialog and failed connection info (#847)
* fix: disconnected github dialog and failed connection info

* fix: lint

* fix: tests
2026-04-22 20:22:06 -07:00
Will Sather
0b4c517a2e
feat: add admin page, settings improvements, and loading skeletons (#831) 2026-04-22 19:15:30 -04:00
Nico Albanese
074e043bfb
fix: drop legacy github_accounts table (#843)
Remove the pre-Better Auth GitHub token table from migrated databases so old token storage does not linger after the auth cutover.
2026-04-22 10:24:53 +01:00
Nico Albanese
eaecb5232b
refactor: improve merge readiness polling state management (#841)
Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-21 21:48:31 +01:00
Nico Albanese
775f128084
feat: reuse chat list streaming state during reconnection (#836)
Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-21 16:16:48 +01:00
Nico Albanese
e5af5e9c1c
fix: resolve activeStreamId race conditions in chat sessions (#834)
* fix: add activeStreamId resume fallback for navigation races

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* fix: handle activeStreamId conflict when another run owns the slot

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* fix: add claimActiveStream step for activeStreamId

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* fix: make activeStreamId claiming idempotent

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-21 12:56:44 +01:00
Will Sather
0863110359
fix: small git panel + sidebar bugs (#830)
* fix: sync leaderboard and rank cache on data refresh

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* fix: improve pr-deployment fallback logic and token error handling

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* fix: update pr-deployment tests for Vercel-first lookup behavior

The route now always tries the Vercel API first (by branch) regardless
of PR state, falling back to GitHub PR comments only when needed.

Updated tests:
- 'prefers Vercel API over PR comment lookup when both return a URL'
- 'falls back to PR comment lookup when Vercel API has no deployment'
- 'returns failedDeploymentUrl for PR sessions via Vercel API'

* fix: use UTC date methods for consistent leaderboard caching

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-21 00:12:18 -05:00
open-agents-bot[bot]
9679c867ce
chore: rename open-harness to open-agents (#703)
* refactor: rename open-harness to open-agents

* refactor: replace ai-sdk import with inline FetchFunction type

* refactor: rename "Open Agents" to "Open Agent"

* fix: align chat runtime package imports

---------

Co-authored-by: willsather <56037657+willsather@users.noreply.github.com>
Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-20 23:09:41 -05:00
Nico Albanese
963e69a37f
fix(auth): update Vercel config for Avatars migration (#827)
* fix: add oauth scopes to vercel auth provider

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* fix: update Vercel auth config for Avatars migration

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-20 18:17:28 +00:00
Nico Albanese
f7258f0159
fix: different emails ba (#825) 2026-04-20 16:11:52 +01:00
Nico Albanese
5e1ed32a80
fix: add emailVerified field to users table (#824)
* fix: add emailVerified field to users table for better-auth

Better Auth requires an emailVerified column on the users table to
create new users during OAuth callbacks (e.g. Vercel sign-in).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* format and fix

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-20 15:55:43 +01:00
Will Sather
cee13abfaa
feat: replace manual oauth with better-auth (#820)
* feat: replace manual oauth with better-auth

* fix: lint

* chore: refactor accounts to unify github + vercel

* feat: enhance auth config with host allowlisting

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* fix: add newline at end of manifest.json

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* fix: update betterAuth database schema mappings

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* fix: sanitize redirects and preserve destination in github flow

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* feat: enhance GitHub app callback with installation sync tracking

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* build: add BETTER_AUTH_SECRET to turbo env

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* refactor: update sign-in callback to skip onboarding

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-20 15:40:13 +01:00
Nico Albanese
292f2e1f89
security: remove Vercel CLI authentication from sandbox (#822)
* refactor: remove auth from vercel cli sandbox

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* refactor: remove Vercel CLI auth setup from sandboxes

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* security: remove Vercel CLI auth from sandbox

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-20 11:01:46 +01:00
Nico Albanese
df27d529ac
fix: improve Vercel session revalidation with connection status tracking (#819)
* fix: improve Vercel session revalidation with dialog and route tracking

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* refactor: move Vercel validation to dedicated route

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-19 18:28:04 +01:00
Nico Albanese
237bfc4631
feat: add Vercel token staleness validation to auth info endpoint (#818)
* feat: add Vercel token validation to auth info endpoint

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* feat: add timeout and UX for Vercel token validation

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-17 21:35:06 +02:00
Will Sather
cbbecc1947
feat: improve model selector (#812)
* refactor: group models by provider with improved UI

* feat: improve model combobox icons and sorting

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* fix: adjust model icon spacing from mr-2 to mr-1.5

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* feat: add provider icons to message model pill

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* fix: correct syntax error in groupByProvider function

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* style: fix formatting in model-combobox, message-model-pill, provider-icons

---------

Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-16 23:48:15 -05:00
open-agents-bot[bot]
5ad7297b13
feat: add ability to discard uncommitted changes (#684)
* feat: add ability to discard uncommitted changes

* feat: add per-file discard changes to git panel

* test: add discard-uncommitted endpoint tests

* feat: discard tracked file changes using git restore

* fix: validate discard-uncommitted endpoint input

* feat: validate uncommitted changes for discard requests

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-16 12:19:10 +02:00
Nico Albanese
e0fc0e3840
fix: improve repository sorting by recent activity (#795)
* refactor: sort repos by recent activity across pages

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* fix: stop paging early when limit is reached

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* fix: increase per_page to 50 for better sorting

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-16 10:15:11 +00:00
Nico Albanese
1dc0ecfe63
feat: restrict code editor access for managed-template trial users (#766)
* feat: restrict code editor access for managed-template trial users

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* refactor: extract code editor button disabled state

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-15 12:28:01 +02:00
Nico Albanese
01c06b047f
feat: implement conversation fork feature (#762)
* feat: plan fork chat action from responses

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* test: add fork chat endpoint tests

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* chore: remove PLAN.md

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-14 23:31:03 +02:00
Nico Albanese
9cee19ac17
feat: gate Opus models for non-Vercel users (#761)
* feat: implement session-aware model access control

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* feat: gate opus models for non-vercel users

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* feat: change default model to openai/gpt-5.4

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-14 23:15:59 +02:00
Nico Albanese
7c12e8b7da
feat: optimize repo selector pagination with early stopping (#753)
* feat: stop pagination early when repo limit is reached

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* refactor: reduce repo selector result limit to 25

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* fix: reduce installation repos page size to 25

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-14 17:47:22 +02:00
Nico Albanese
cfe64b4d84
refactor: use zod validation for model metadata (#752)
Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-14 16:18:12 +01:00
ergunsh
ddc5db3ce9 fix: treat blank REDIS_URL and KV_URL as not configured
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 17:07:26 +02:00
Nico Albanese
81331423a7
fix: recover from gateway validation errors with fallback (#749)
Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-14 15:31:40 +02:00
Nico Albanese
e1e89d956d
chore: remove unused tarball download logic (#747)
Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-14 12:03:41 +02:00
Nico Albanese
e62f62992e
docs: clarify message limit error language with deployment context (#746)
* chore: update trial message limit error text

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

* docs: clarify message limit error with deployment URL

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-14 10:51:56 +01:00
Will Sather
d221c58c2d
fix: remove sensitive data from error logs (#740)
Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-14 11:38:50 +02:00
Will Sather
1997733e03
feat: add bot detection to api endpoints with vercel botid (#737)
Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-14 11:38:10 +02:00
willsather
d428542158 fix: await async getAppCoAuthorTrailer call and fetch bot user ID 2026-04-14 01:49:43 +00:00
willsather
6d5ff74f3a feat: add co-author trailer for agent in commits 2026-04-14 01:36:53 +00:00
open-agents-bot[bot]
4628543292
refactor: migrate GitHub operations to use OAuth tokens (#723)
* refactor: remove unused GitHub repos API and installation endpoints

* refactor(github): prefer user OAuth tokens for user-initiated actions

* refactor: migrate user GitHub ops to OAuth tokens

* refactor: simplify OAuth token handling with single token

---------

Co-authored-by: willsather <56037657+willsather@users.noreply.github.com>
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-14 03:18:32 +02:00
nicoalbanese
b2cd4dab1d fix: github scope issues 2026-04-13 22:44:09 +01:00
open-agents-bot[bot]
66aa7e5032
fix: unstable_cache on github api (#716)
* refactor: remove cached-api in favor of direct fetch functions

* fix: update auto-pr test mocks for cached-api removal

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: willsather <56037657+willsather@users.noreply.github.com>
Co-authored-by: willsather <will@sather.ws>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 21:19:57 +01:00
Nico Albanese
5044d03bcf
remove cache on installations (#715)
* remove cache on installations

* update

* format fix

* update
2026-04-13 19:52:47 +00:00
open-agents-bot[bot]
c1054e519e
chore: failed deployment badge link (#707)
* feat: add failed deployment status indicator

* refactor: use inspectorUrl for failed Vercel deployments

* fix: remove failed deployment status from preview link text

* fix: format git-panel.tsx to pass lint check

* fix: add missing findLatestFailedDeploymentInspectorUrlForBranch mock in pr-deployment test

* test: add failed deployment inspector URL tests

* fix: remove duplicate mock declaration in pr-deployment test

---------

Co-authored-by: willsather <56037657+willsather@users.noreply.github.com>
2026-04-13 18:10:32 +00:00
open-agents-bot[bot]
f96d946325
fix: prevent trial message quota bypass via deletion (#708)
* docs: plan immutable trial message reservation system

* fix: prevent trial message quota bypass via persistent counter

* fix: block message deletion for managed-trial users

* fix: block message deletion for managed-template trial users

* docs: remove message deletion loophole plan

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-13 17:12:26 +00:00
open-agents-bot[bot]
1c0333cfc0
feat: support non-Vercel login with trial message limits (#706)
* feat: allow non-Vercel emails with trial message limits

* feat: add remove-demo-limits skill

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-13 16:36:22 +00:00
open-agents-bot[bot]
ad69b1d553
feat: disable GPT-5.4 Pro model (#705)
* feat: add model availability check and disable gpt-5.4-pro

* chore: rerun lint and typecheck

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-13 16:25:20 +00:00
open-agents-bot[bot]
8df1365fc5
feat: implement step duration tracking for workflow runs (#700)
* feat: implement workflow run step duration tracking

* chore: reorder manifest entries and update lockfile config

* fix: handle workflow recording failures and track maxSteps

* Fix workflow manifest formatting

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-13 07:18:59 +00:00
open-agents-bot[bot]
bd3e5c2fe8
feat: add ranked lists to public usage profile display (#697)
* feat: add ranked lists to public usage profile display

* fix: pin @types/bun for frozen installs

* fix: avoid client-only shared entrypoint in server components

* refactor: remove TopRepos component from profile page

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-11 08:46:48 +00:00
open-agents-bot[bot]
b1d3defd27
refactor: move public profiles to /u/[username] (#695)
* refactor: move public profiles from /[username] to /u/[username]

* fix: enable case-insensitive public username lookups

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-10 18:23:26 +00:00
open-agents-bot[bot]
0441f1f49c
feat: add GitHub installation reconnection flow (#692)
* docs: revise plan for live GitHub connection health checks

* feat: add GitHub installation reconnection flow

* feat: improve GitHub auth detection and handle connection loading

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-10 18:23:59 +01:00
open-agents-bot[bot]
f4bab65fe8
feat: add public usage stats endpoint with OG image generation (#694)
* feat: add public usage profile page with OG image

* feat: add OG image generation for public usage stats

* refactor: redesign public usage stats with dark theme

* refactor: simplify public usage stats page

* refactor: improve naming conventions and code formatting

* refactor: redesign public usage stats with wrapped UI

* style: update label and typography for usage stats section

* style: reduce font sizes and adjust letter spacing

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-10 17:12:23 +00:00
open-agents-bot[bot]
7e6a95ae6c
feat: add context-aware token cost calculation (#691)
* feat: separate context and conversation token usage

* fix: refactor cost calculation with context pricing tiers

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-10 16:55:13 +00:00
open-agents-bot[bot]
80d1f31023
feat: Add estimated usage cost display (#683)
* feat: add model usage cost estimation

* feat: add estimated usage cost display

* feat: Add estimated usage cost display to session chat

* refactor: improve USD formatting with toLocaleString

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-10 15:50:32 +00:00
open-agents-bot[bot]
c446efa080
refactor: extract merge readiness polling logic (#668)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-10 12:53:25 +00:00
open-agents-bot[bot]
a54a012c57
feat: add diff stats to merge readiness (#665)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-10 11:13:44 +00:00
willsather
e383c183c0 feat: add user avatars to leaderboard and reorganize preferences 2026-04-10 03:12:00 +00:00
Will Sather
afbd111f96
Merge pull request #659 from vercel-labs/na/6dcbdbbd
test: add github client merge readiness tests
2026-04-09 13:42:20 -04:00