207 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
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
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
Nico Albanese
c4f562aec6
feat: enable dynamic model switching in chats (#802)
* feat: enable dynamic model switching in chats

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

* feat: add model variant tracking in chat workflow

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

* feat: add MessageModelPill to display model info for messages

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

* feat: conditionally render assistant actions based on state

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

* fix: use distinct model count for multi-model detection

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

* refactor: simplify model metadata tracking

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 18:22:51 +02: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
e6c271b167
fix(chat): increase title truncation length to 80 chars (#773)
Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
2026-04-15 17:14:24 +02:00
Nico Albanese
fb0b95a0d3
feat: add markdown export API for shared pages (#767)
* feat: add markdown export API for shared pages

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

* feat: add data-snippet rendering in markdown export

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 15:45:04 +02: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
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
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
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
Will Sather
345374f4d9
feat: implement GitHub check log compaction with LLM and UI improvements (#731)
* feat: implement LLM-based log compaction for GitHub check runs

* feat: add loading state to fix errors button with async handling

* chore: simplify check grouping

* refactor: improve code formatting in merge check runs component

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-13 22:01:47 -05:00
Will Sather
d9ebaa7613
Merge pull request #726 from vercel-labs/ws/85a5f6d2
feat: add co-author trailer for agent in commits
2026-04-13 20:57:24 -05:00
willsather
d428542158 fix: await async getAppCoAuthorTrailer call and fetch bot user ID 2026-04-14 01:49:43 +00:00
Nico Albanese
b9f8bfe226
chore: disable Vercel secrets passing (#727)
* chore: disable Vercel secrets passing

* chore: disable Vercel secrets passing pending defense strategy
2026-04-14 02:41:26 +01: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
open-agents-bot[bot]
1333bd5395
refactor: simplify github authentication flow (#721)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-14 00:02:56 +00: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]
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]
d430e52b91
fix: improve GitHub connected accounts loading and UI components (#693)
* fix: handle expired tokens in GitHub connected accounts

* fix: use GitHub orgs API instead of memberships for org list

* fix: add debug logging for GitHub API errors in install-status

* fix: improve GitHub connected accounts UI and avatar handling

* fix: improve connected accounts loading and UI components

* style: format code for improved readability

---------

Co-authored-by: willsather <56037657+willsather@users.noreply.github.com>
2026-04-10 16:58:59 +00:00
open-agents-bot[bot]
dcb3077e49
refactor: return check logs as native snippet attachments (#686)
Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-10 15:38:44 +00:00
open-agents-bot[bot]
998327b6aa
feat: add branch search with query parameter (#672)
* feat: add branch search with query parameter

* style: add newline at end of manifest.json

---------

Co-authored-by: nicoalbanese <49612682+nicoalbanese@users.noreply.github.com>
2026-04-10 13:31:53 +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
d0c1436170 merge: main 2026-04-10 02:22:42 +00:00
Will Sather
f3ed980e33
Merge pull request #649 from vercel-labs/na/5b7890fe
feat: add email domain validation for Vercel OAuth
2026-04-09 13:44:45 -04:00
Will Sather
b27ef070a2
Merge pull request #642 from vercel-labs/ws/3050b442
feat: add user alert preference settings
2026-04-09 13:27:38 -04:00
willsather
5c25008e46 feat: add AI-powered commit message generation and skip-push option 2026-04-09 15:25:53 +00:00
nicoalbanese
f549cd33e2 chore: update domain to open-agents.dev 2026-04-09 15:18:10 +00:00
nicoalbanese
50c6b48aa0 feat: add hostname detection for email domain restriction 2026-04-09 15:14:25 +00:00
nicoalbanese
c237b60203 feat: add email domain validation for Vercel OAuth 2026-04-09 14:48:44 +00:00
willsather
01ef5a1dc9 refactor: consolidate accounts and usage into profile page 2026-04-09 14:36:07 +00:00
willsather
7ef0e6e033 feat: add alert preference settings to user preferences 2026-04-09 03:24:39 +00:00