Repository navigation
feat(acp)!: mount ACP in every Junior app - #1678
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Dashboard visual evidenceMode: path-selected Triggered by:
Component gallery index · desktopFull-page screenshots from the mock dashboard. Not a pixel-diff gate. |
gricha
marked this pull request as ready for review
August 25, 2026 00:55
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 4fab223. Configure here.
dcramer
approved these changes
Aug 25, 2026
Let route plugins register host-authenticated User routes and use app metadata, Conversation operations, and plugin-scoped durable state. This defines the small host boundary needed to move protocol transports such as ACP out of createApp adapters. Co-Authored-By: Codex <[email protected]>
Use plain route object types and the existing PluginState contract. Remove the route-specific lease and list types while preserving the capabilities needed to move ACP into a plugin. Co-Authored-By: Codex <[email protected]>
Represent host authentication as an optional field on PluginRoute. Pass the resolved User as an optional handler argument instead of defining a second public route type. Co-Authored-By: Codex <[email protected]>
gricha
force-pushed
the
t3code/acp-plugin
branch
from
August 25, 2026 17:29
4fab223 to
fd2390e
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Every
createApp()instance now mountsGET,POST, andDELETE /api/acp.ACP needs no experimental flag, adapter, plugin, or separate package setup. The
implementation now lives in
packages/junior/src/api/acpand directly reusesJunior's state, API Turn mailbox, queue, Conversation access, and event paths.
It initializes lazily on the first ACP request. Dashboard-enabled apps advertise
Google browser authentication. Apps without the dashboard still expose ACP but
advertise no authentication methods.
This removes the public
@sentry/junior-acppackage,acpAdapter(),createApp({ adapters }), and the generic app-adapter types. Existing apps mustremove that dependency, import, and option;
/api/acpremains available withoutreplacement config. Personal tokens remain rejected.
The official ACP SDK smoke client completed browser authorization, two Turns,
and a reconnect with
session/loadthrough the real local route. The exampleapp also produced a valid Vercel Nitro bundle with the ACP SDK included.