Merge origin/main into payments 3 months ago
Authored
Madison 6/9/2026, 8:46:39 PM Bring payments branch up to date with main (Hexclave migration, lib
path moves, waitlist removal) while keeping Stripe Connect donations.
Co-authored-by: Cursor <cursoragent@cursor.com> Parents2ee114a 46bc225
207 files changed
.opengit/workflows/ci.yml +3 −3 README.md +56 −15 apps/git-worker/src/index.ts +6 −4 apps/managed-runner/src/index.ts +1 −1 apps/web/.env.example +8 −2 apps/web/app/[username]/[repository]/blob/[...path]/page.tsx +4 −4 apps/web/app/[username]/[repository]/campfire/campfire-room.tsx +9 −11 apps/web/app/[username]/[repository]/campfire/campfire-thread-ref-card.tsx +3
−3
apps/web/app/[username]/[repository]/discussions/page.tsx +0 −79
apps/web/app/[username]/[repository]/fork/actions.ts +3 −3
apps/web/app/[username]/[repository]/insights/page.tsx +1 −1
apps/web/app/[username]/[repository]/issues/[number]/page.tsx +1 −1
apps/web/app/[username]/[repository]/issues/page.tsx +15 −41
apps/web/app/[username]/[repository]/page.tsx +22 −1
apps/web/app/[username]/[repository]/pulls/[number]/actions.ts +1 −1
apps/web/app/[username]/[repository]/pulls/[number]/autopilot-test/autopilot-debug-client.tsx +0 −255
apps/web/app/[username]/[repository]/pulls/[number]/autopilot/autopilot-run-client.tsx +348 −0
apps/web/app/[username]/[repository]/pulls/[number]/{autopilot-test => autopilot}/page.tsx +7 −6
apps/web/app/[username]/[repository]/pulls/[number]/page.tsx +3 −3
apps/web/app/[username]/[repository]/pulls/[number]/pull-request-comment-body.tsx +1 −1
apps/web/app/[username]/[repository]/pulls/[number]/pull-request-conversation.tsx +3 −3
apps/web/app/[username]/[repository]/pulls/new/actions.ts +3 −3
apps/web/app/[username]/[repository]/pulls/new/page.tsx +1 −1
apps/web/app/[username]/[repository]/pulls/page.tsx +18 −51
apps/web/app/[username]/[repository]/repository-file-tree.tsx +6 −3
apps/web/app/[username]/[repository]/repository-latest-commit.tsx +62 −0
apps/web/app/[username]/[repository]/repository-shell.tsx +1 −1
apps/web/app/[username]/[repository]/repository-tabs.tsx +0 −8
apps/web/app/[username]/[repository]/settings/_lib/load-settings.ts +1 −1
apps/web/app/[username]/[repository]/settings/actions.ts +3 −3
apps/web/app/[username]/[repository]/settings/campfire-channel-actions.ts +1 −1
apps/web/app/[username]/[repository]/settings/general/page.tsx +1 −1
apps/web/app/[username]/[repository]/settings/repository-settings-forms.tsx +1 −1
apps/web/app/[username]/page.tsx +2 −2
apps/web/app/[username]/settings/_lib/load-settings.ts +2 −2
apps/web/app/[username]/settings/general/page.tsx +1 −1
apps/web/app/[username]/settings/members/page.tsx +1 −1
apps/web/app/[username]/settings/organization-stack-section.tsx +3 −3
apps/web/app/api/admin/approve/route.ts +0 −99
apps/web/app/api/campfire/ref-details/route.ts +1 −1
apps/web/app/api/campfire/ws-token/route.ts +1 −1
apps/web/app/api/ci/jobs/[jobId]/artifacts/route.ts +1 −1
apps/web/app/api/ci/jobs/[jobId]/logs/route.ts +1 −1
apps/web/app/api/ci/runners/register/route.ts +1 −1
apps/web/app/api/internal/repository-authorizations/route.ts +1 −1
apps/web/app/api/marketing/home/route.ts +1 −1
apps/web/app/api/repos/[repoId]/pulls/[prId]/{autopilot-test => autopilot}/route.ts +0 −0
apps/web/app/api/repos/[repoId]/pulls/[prId]/diff/route.ts +1 −1
apps/web/app/api/repos/[repoId]/pulls/[prId]/files/[fileId]/diff/route.ts +1 −1
apps/web/app/ci/runs/[runId]/jobs/[jobId]/page.tsx +1 −1
apps/web/app/dashboard/page.tsx +2 −2
apps/web/app/handler/[...stack]/page.tsx +2 −2
apps/web/app/home/home-readme-section.tsx +1 −1
apps/web/app/home/page.tsx +1 −1
apps/web/app/layout.tsx +5 −5
apps/web/app/page.tsx +2 −2
apps/web/app/repositories/new/actions.ts +2 −2
apps/web/app/settings/account/account-settings-sections.tsx +18 −2205
apps/web/app/settings/account/account-settings-sections/api-keys.tsx +182 −0
apps/web/app/settings/account/account-settings-sections/auth.tsx +569 −0
apps/web/app/settings/account/account-settings-sections/display-preferences.tsx +114 −0
apps/web/app/settings/account/account-settings-sections/notifications.tsx +59 −0
apps/web/app/settings/account/account-settings-sections/payments.tsx +265 −0
apps/web/app/settings/account/account-settings-sections/profile.tsx +103 −0
apps/web/app/settings/account/account-settings-sections/sessions.tsx +151 −0
apps/web/app/settings/account/account-settings-sections/settings.tsx +71 −0
apps/web/app/settings/account/account-settings-sections/shared.tsx +315 −0
apps/web/app/settings/account/account-settings-sections/teams.tsx +449 −0
apps/web/app/settings/account/api-keys/api-keys-client.tsx +2 −2
apps/web/app/settings/account/layout-preference-actions.ts +1 −1
apps/web/app/settings/account/payments/account-billing-section.tsx +21 −0
apps/web/app/settings/account/payments/page.tsx +2 −0
apps/web/app/settings/account/settings/page.tsx +1 −1
apps/web/app/settings/account/teams/[teamId]/legacy-team-settings-client.tsx +0 −37
apps/web/app/settings/account/teams/[teamId]/page.tsx +0 −19
apps/web/app/settings/account/teams/new/actions.ts +3 −3
apps/web/app/settings/developer/{tokens/actions.ts => _components/git-token-actions.ts} +0 −0
apps/web/app/settings/developer/{tokens => _components}/git-token-forms.tsx +1 −1
apps/web/app/settings/developer/page.tsx +1 −1
apps/web/app/settings/developer/tokens/page.tsx +0 −6
apps/web/app/settings/layout.tsx +2 −2
apps/web/app/settings/tokens/page.tsx +0 −6
apps/web/app/sign-up/page.tsx +1 −2
apps/web/app/sign-up/sign-up-form.tsx +3 −3
apps/web/app/waitlist/actions.ts +0 −32
apps/web/app/waitlist/page.tsx +0 −185
apps/web/components/app-site-chrome.tsx +1 −1
apps/web/components/conversation/conversation-meta.tsx +1 −1
apps/web/components/conversation/conversation-quote-reply.tsx +1 −1
apps/web/components/conversation/pr-autopilot-timeline.tsx +1 −3
apps/web/components/dev-floating-panel.tsx +1 −1
apps/web/components/diffs/code-view-sidebar.tsx +3 −1
apps/web/components/layout-preference-preview.tsx +1 −1
apps/web/components/markdown/markdown-content.tsx +2 −2
apps/web/components/open-git-user-button.tsx +2 −2
apps/web/components/repository-home-doc-panel.tsx +1 −1
apps/web/components/resource-list-row.tsx +83 −0
apps/web/components/resource-query-filter-bar.tsx +1 −1
apps/web/components/settings-nav.tsx +3 −3
apps/web/components/stack-profile-image-editor.tsx +2 −2
apps/web/components/workbench-tabs/canonical-target.ts +1 −1
apps/web/components/workbench-tabs/workbench-tab-bar.tsx +1 −1
apps/web/db/campfire.ts +4 −4
apps/web/db/ci-repository-policy.ts +1 −1
apps/web/db/issues.ts +1 −1
apps/web/db/namespaces.ts +2 −2
apps/web/db/organization-memberships.ts +8 −8
apps/web/db/pr-autopilot.ts +1 −1
apps/web/db/pull-requests.ts +1 −1
apps/web/db/repositories.ts +3 −3
apps/web/db/repository-authorization.ts +1 −1
apps/web/db/repository-index.ts +1 −1
apps/web/db/repository-permissions.test.ts +4 −4
apps/web/db/repository-permissions.ts +3 −3
apps/web/db/schema.ts +0 −28
apps/web/db/system-profiles.ts +1 −1
apps/web/db/usernames.ts +1 −1
apps/web/db/waitlist.ts +0 −161
apps/web/drizzle/0027_ambitious_red_wolf.sql +1 −0
apps/web/drizzle/{0027_round_human_robot.sql => 0028_round_human_robot.sql} +1 −1
apps/web/drizzle/{0028_white_night_nurse.sql => 0029_white_night_nurse.sql} +0 −0
apps/web/drizzle/meta/0027_snapshot.json +1 −179
apps/web/drizzle/meta/0028_snapshot.json +3 −351
apps/web/drizzle/meta/0029_snapshot.json +6878 −0
apps/web/drizzle/meta/_journal.json +11 −4
apps/web/hexclave.config.ts +37 −0
apps/web/hooks/use-dev-mock-onboarding.ts +1 −1
apps/web/lib/{ => campfire}/campfire-channel-slug.ts +0 −0
apps/web/lib/{ => campfire}/campfire-message-segments.test.ts +0 −0
apps/web/lib/{ => campfire}/campfire-message-segments.ts +0 −0
apps/web/lib/{ => campfire}/campfire-ref-details.ts +3 −3
apps/web/lib/{ => campfire}/campfire-url.ts +0 −0
apps/web/lib/{ => campfire}/campfire-ws-token.ts +0 −0
apps/web/lib/{ => ci}/ci-object-storage.ts +0 −0
apps/web/lib/{ => ci}/ci-repository-policy.test.ts +0 −0
apps/web/lib/{ => ci}/ci-repository-policy.ts +0 −0
apps/web/lib/{ => ci}/ci-workflow-discovery.ts +2 −2
apps/web/lib/{ => code}/highlight-code.ts +0 −0
apps/web/lib/{ => code}/line-diff.test.ts +0 −0
apps/web/lib/{ => code}/line-diff.ts +0 −0
apps/web/lib/{ => git}/code-storage.ts +0 −0
apps/web/lib/{ => git}/git-command.ts +0 −0
apps/web/lib/{ => git}/local-repo-cache.ts +1 −1
apps/web/lib/{ => markdown}/markdown-quote-reply.ts +0 −0
apps/web/lib/{ => markdown}/markdown.test.ts +0 −0
apps/web/lib/{ => markdown}/markdown.ts +0 −0
apps/web/lib/{ => markdown}/repository-docs-markdown.test.ts +0 −0
apps/web/lib/{ => markdown}/repository-docs-markdown.ts +0 −0
apps/web/lib/{ => marketing}/marketing-home-content.ts +0 −0
apps/web/lib/{ => marketing}/marketing-home-readme.ts +4 −4
apps/web/lib/{ => marketing}/marketing-urls.ts +0 −0
apps/web/lib/{ => migrations}/migration-preflight.test.ts +1 −1
apps/web/lib/{pr-autopilot => pull-requests/autopilot}/constants.ts +0 −0
apps/web/lib/{pr-autopilot => pull-requests/autopilot}/freestyle-runtime.ts +1 −1
apps/web/lib/{pr-autopilot => pull-requests/autopilot}/openrouter.ts +0 −0
apps/web/lib/{pr-autopilot => pull-requests/autopilot}/run.ts +6 −6
apps/web/lib/{pr-autopilot => pull-requests/autopilot}/runtime.ts +0 −0
apps/web/lib/{ => pull-requests}/pr-diff-indexer.ts +2 −2
apps/web/lib/{ => pull-requests}/pr-mergeability-indexer.ts +2 −2
apps/web/lib/{ => pull-requests}/pr-workflows-indexer.ts +1 −1
apps/web/lib/{ => pull-requests}/pull-request-activity.test.ts +0 −0
apps/web/lib/{ => pull-requests}/pull-request-activity.ts +0 −0
apps/web/lib/{ => pull-requests}/pull-request-diff-view-model.ts +0 −0
apps/web/lib/{ => pull-requests}/pull-request-suggestion-parse.ts +0 −0
apps/web/lib/{ => pull-requests}/pull-request-suggestion-preview.ts +2 −2
apps/web/lib/{ => repositories}/pre-org-helper-guards.test.ts +2 −2
apps/web/lib/{ => repositories}/repo-indexer.ts +5 −5
apps/web/lib/{ => repositories}/repository-forks.test.ts +0 −0
apps/web/lib/{ => repositories}/repository-forks.ts +0 −0
apps/web/lib/{ => repositories}/repository-grant-targets.test.ts +0 −0
apps/web/lib/{ => repositories}/repository-grant-targets.ts +1 −1
apps/web/lib/{ => repositories}/repository-home-doc-shared.ts +0 −0
apps/web/lib/{ => repositories}/repository-home-docs.ts +6 −6
apps/web/lib/{ => repositories}/repository-permissions.test.ts +0 −0
apps/web/lib/{ => repositories}/repository-permissions.ts +0 −0
apps/web/lib/{ => repositories}/repository-validation.test.ts +0 −0
apps/web/lib/{ => repositories}/repository-validation.ts +0 −0
apps/web/lib/{ => routing}/reserved-path-segments.test.ts +0 −0
apps/web/lib/{ => routing}/reserved-path-segments.ts +1 −2
apps/web/lib/{ => settings}/layout-preference-types.ts +0 −0
apps/web/lib/{ => settings}/layout-preference.ts +1 −1
apps/web/lib/{ => shared}/cache.ts +0 −0
apps/web/lib/{ => shared}/dev-tools.ts +0 −0
apps/web/lib/{ => shared}/relative-time.ts +0 −0
apps/web/lib/{ => shared}/resource-query.test.ts +0 −0
apps/web/lib/{ => shared}/resource-query.ts +0 −0
apps/web/lib/{ => shared}/secret-values.ts +0 −0
apps/web/lib/waitlist-config.ts +0 −3
apps/web/middleware.ts +0 −60
apps/web/next.config.mjs +4 −4
apps/web/package.json +7 −4
apps/web/scripts/approve-waitlist-user.ts +0 −177
apps/web/scripts/run-autopilot-worker.ts +1 −1
apps/web/scripts/run-indexing-worker.ts +4 −4
apps/web/scripts/{seed-autopilot-test-repo.ts => seed-autopilot-fixture-repo.ts} +13 −13
apps/web/scripts/seed-large-diff-pr.ts +4 −4
apps/web/scripts/seed-local-dev.ts +2655 −0
apps/web/stack.ts +7 −9
deploy/.env.example +5 −5
deploy/Dockerfile +4 −4
deploy/README.md +3 −3
deploy/docker-compose.app.yml +3 −6
deploy/docker-compose.single.yml +3 −6
packages/code-storage/src/storage.ts +6 −27
pnpm-lock.yaml +1152 −228
to-do.md +0 −1
turbo.json +7 −3