Skip to content

feat: sync shared changes from cloud#368

Merged
guyb1 merged 1 commit into
mainfrom
feat/sync-shared-changes
Jun 16, 2026
Merged

feat: sync shared changes from cloud#368
guyb1 merged 1 commit into
mainfrom
feat/sync-shared-changes

Conversation

@guyb1

@guyb1 guyb1 commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

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

  • 1Password SDK service — isolate the SDK's undici instance from Prisma's global dispatcher via withPinnedUndici, fixing the intermittent "request library compatibility issue: error sending request" failure; harden the connection config. Adds the undici dependency.
  • Gateway — validate X-Project-Id for 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"))].
  • Plan-gate extension seam — add lib/plan-gate.tsx (default: allow) and a rule-action-gate provider hook as an extension point for gating rule actions.
  • Per-agent app-connection permissions — connections UI, app permission groups, and agents/rules route updates.
  • Supporting provider hooks, navigation, and proxy plumbing.

Verification

  • pnpm check (turbo lint + check-types + Prettier/Prisma format) — green
  • Gateway cargo clippy -- -D warnings and cargo check (default build, no cloud feature) — green

- 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
@guyb1
guyb1 merged commit a05782b into main Jun 16, 2026
3 checks passed
@guyb1
guyb1 deleted the feat/sync-shared-changes branch June 16, 2026 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant