Allow Agent Connections via remote feature flag - #735
Merged
Conversation
AnthonyRonning
marked this pull request as ready for review
August 4, 2026 22:06
Deploying maple with
|
| Latest commit: |
b046674
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://41969af0.maple-ca8.pages.dev |
| Branch Preview URL: | https://codex-maple-agent-connection.maple-ca8.pages.dev |
AnthonyRonning
force-pushed
the
codex-maple-agent-connections-flag-maple
branch
from
August 4, 2026 22:43
16ba575 to
b046674
Compare
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.
Summary
VITE_FORCE_FEATURE_FLAGSoverride or the user-scoped remoteagent_connectionsOS flag is enabledisTauriDesktop,isMacOS, andisLinuxplatform helpers for the current macOS/Linux ACP support boundaryFlagsClient.peekIsEnabledandFlagsClient.isEnabledpath, which already implements local override OR remote lookupWhy this is a follow-up
PR #732 landed the Maple-owned agent service and ACP boundary. This deliberately small follow-up adds production-ready discovery gating without mixing flag behavior into that architecture change.
Behavior
Agent Connectionsis visible only when all of the following are true:agent_connections, or the remote OS Flags service enablesagent_connectionsfor that user.Missing users, unsupported platforms, false flags, and lookup errors remain unavailable. Cached flag values are used immediately; otherwise the route waits for the lookup rather than briefly redirecting.
Operational setup
The
agent_connectionskey must be created with a default offalsein each OS Flags environment before remote targeting can enable it. The key is currently absent from both development and production, which is safely equivalent to disabled.Successful remote values may remain cached in the client for up to 10 minutes. This flag controls discoverability, not authorization and not the lifecycle of an already-running ACP server.
Validation
git diff --checkpassedplatform.tsis byte-for-byte identical toorigin/masterExact-worktree desktop smoke
Maple.appwith its unique managed-workspace bundle identifier andVITE_FORCE_FEATURE_FLAGS=agent_connections/settings/agent-connectionsroute renders correctlyThe local debug packaging command reached and produced the app, DMG, and updater archive before reporting the expected absence of
TAURI_SIGNING_PRIVATE_KEY; the exact generated app launched and completed the smoke successfully.