feat: sync shared changes from cloud#368
Merged
Merged
Conversation
- 1Password SDK service: isolate the SDK's undici instance from Prisma's global dispatcher (withPinnedUndici) and harden the connection config; add the undici dependency - gateway: validate X-Project-Id for browser vault calls so requests scope to the active project, and allow-list the CORS header; OSS keeps the default-project resolution path via cfg gating - add a plan-gate extension seam (lib/plan-gate.tsx) and a rule-action gate provider hook - per-agent app-connection permissions: connections UI, app permission groups, and agents/rules route updates - supporting provider hooks, navigation, and proxy plumbing
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.
Syncs shared (edition-agnostic) changes from the downstream repo. No cloud-only code is included — the downstream cloud edition layers its behavior on top of these shared seams.
Changes
undiciinstance from Prisma's global dispatcher viawithPinnedUndici, fixing the intermittent "request library compatibility issue: error sending request" failure; harden the connection config. Adds theundicidependency.X-Project-Idfor browser vault calls so requests scope to the active project (user_can_access_project), and allow-list the header for CORS preflight. The default-project resolution path is retained for the default build via#[cfg(not(feature = "cloud"))].lib/plan-gate.tsx(default: allow) and arule-action-gateprovider hook as an extension point for gating rule actions.agents/rulesroute updates.Verification
pnpm check(turbo lint + check-types + Prettier/Prisma format) — greencargo clippy -- -D warningsandcargo check(default build, nocloudfeature) — green