Commit 715de0d
committed
Merge staging into enterprise organization search
Preserve organization ownership, member cleanup, source ACLs and org-first
navigation alongside staging OAuth authorization and directory provisioning.
Carry explicit OAuth scope checks through credentials, knowledge and MCP,
including organization membership and CLI capability enforcement.
Keep staging migrations unchanged and regenerate the unpublished search
suffix as one migration. Preserve custom backfills, trigger behavior and
replay protection; build and validate replacement indexes concurrently.
Validation: 2,831 tests, 46 audits, repository lint and app/auth/db type checks
pass. Applied and replayed the migration against a seeded staging-schema
PostgreSQL database; its catalog matches the merged schema exactly.544 files changed
Lines changed: 55509 additions & 53086 deletions
File tree
- .github/workflows
- apps
- docs
- content/docs
- api-reference
- cli
- platform
- enterprise
- self-hosting
- realtime/src
- handlers
- routes
- sim
- app
- (auth)
- components
- oauth
- consent
- sign-in
- .well-known/oauth-authorization-server
- api/auth
- account/settings/[section]
- api
- auth
- .well-known/oauth-authorization-server
- [...all]
- oauth2
- authorize
- revoke
- token
- billing/update-cost
- cron
- cleanup-oauth-tokens
- scim-reconcile
- files
- uploads
- internal/file-doc/seed
- organizations/[id]
- members/[memberId]
- permission-groups
- [groupId]
- members
- bulk
- roster
- scim
- activity
- credentials
- [credentialId]
- mappings
- [mappingId]
- reconcile
- transfer-ownership
- scim/v2
- Groups
- [id]
- ResourceTypes
- [id]
- Schemas
- [id]
- ServiceProviderConfig
- Users
- [id]
- users/me/authorized-apps
- [clientId]
- v1
- knowledge
- v2
- chat-deployments
- chat
- files
- bulk-download
- knowledge
- [knowledgeBaseId]/documents
- [documentId]
- uploads/[uploadId]/complete
- search
- lib
- mcp-servers
- [mcpServerId]
- meta
- skills
- [skillId]
- editors
- tables/[tableId]
- query
- count
- rows/search
- workflows/[workflowId]
- deployments/chat
- deploy
- execute
- runs/[runId]
- webhooks/outbox/process
- workspaces
- [id]
- files/download
- permissions
- members/[id]
- cli/auth/done
- workspace/[workspaceId]
- components/find-bar
- files/components/file-viewer/rich-markdown-editor
- collaboration
- find
- home/components/mothership-view/components/resource-content/components/browser-session
- providers
- settings
- [section]
- components
- authorized-apps
- general
- team-management/components/organization-member-lists
- background
- content/library
- can-ai-agents-talk-to-each-other-multi-agent-communication-explained
- what-is-an-mcp-server
- ee
- access-control/utils
- scim
- components
- hooks
- lib
- application
- admin
- groups
- users
- identity
- projection
- protocol
- reconcile
- repository
- sso/components
- hooks/queries
- lib
- api-key
- api
- application
- contracts
- v2
- __tests__
- openapi
- openapi
- server/routes
- audit-logs/application
- auth
- sso/application
- billing
- application
- organizations
- catalog/application
- chat-deployments/application
- collab-doc
- compare/data
- copilot
- application
- generated
- request
- lifecycle
- session
- core
- application
- config
- outbox
- redis
- credential-groups/application
- credentials/application
- custom-tools/application
- execution
- function-execution/application
- integrations
- internal/file
- invitations
- application
- knowledge
- __integration__
- access
- application
- mcp
- logs/application
- mcp/application
- memory/application
- organizations/members
- permission-groups
- application
- platform-context/application
- posthog
- realtime
- sandboxes/application
- secrets/application
- selectors/application
- skills/application
- table
- application
- tool-execution/application
- uploads
- contexts/workspace
- upload-session
- utils
- users
- application
- workflows
- application
- workspace-files/application
- workspaces
- access
- application
- public/library/can-ai-agents-talk-to-each-other-multi-agent-communication-explained
- scripts
- docker
- helm/sim
- packages
- audit/src
- auth/src
- db
- migrations
- meta
- script-migrations
- scripts
- realtime-protocol/src
- sim-cli
- src
- auth
- commands
- config
- contract
- generated
- http
- runtime
- testing/src/mocks
- scripts
- openapi
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
11 | 85 | | |
12 | 86 | | |
13 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
90 | 113 | | |
91 | 114 | | |
92 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
0 commit comments