@buildpad/mcp 0.1.10 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -5338,6 +5338,9 @@ function loadRegistry() {
5338
5338
  "supabase": [
5339
5339
  "@supabase/ssr@^0.5",
5340
5340
  "@supabase/supabase-js@^2"
5341
+ ],
5342
+ "oauth": [
5343
+ "jose"
5341
5344
  ]
5342
5345
  },
5343
5346
  "lib": {
@@ -5577,12 +5580,8 @@ function loadRegistry() {
5577
5580
  },
5578
5581
  "api-routes": {
5579
5582
  "name": "api-routes",
5580
- "description": "DaaS proxy API routes for auth, fields, items, relations, files, and permissions",
5583
+ "description": "Server-side Supabase auth routes for Next.js (login, logout, callback, user)",
5581
5584
  "files": [
5582
- {
5583
- "source": "cli/templates/api/auth-headers.ts",
5584
- "target": "lib/api/auth-headers.ts"
5585
- },
5586
5585
  {
5587
5586
  "source": "cli/templates/api/auth-login-route.ts",
5588
5587
  "target": "app/api/auth/login/route.ts"
@@ -5602,38 +5601,6 @@ function loadRegistry() {
5602
5601
  {
5603
5602
  "source": "cli/templates/api/login-page.tsx",
5604
5603
  "target": "app/login/page.tsx"
5605
- },
5606
- {
5607
- "source": "cli/templates/api/fields-route.ts",
5608
- "target": "app/api/fields/[collection]/route.ts"
5609
- },
5610
- {
5611
- "source": "cli/templates/api/items-route.ts",
5612
- "target": "app/api/items/[collection]/route.ts"
5613
- },
5614
- {
5615
- "source": "cli/templates/api/items-id-route.ts",
5616
- "target": "app/api/items/[collection]/[id]/route.ts"
5617
- },
5618
- {
5619
- "source": "cli/templates/api/relations-route.ts",
5620
- "target": "app/api/relations/route.ts"
5621
- },
5622
- {
5623
- "source": "cli/templates/api/files-route.ts",
5624
- "target": "app/api/files/route.ts"
5625
- },
5626
- {
5627
- "source": "cli/templates/api/files-id-route.ts",
5628
- "target": "app/api/files/[id]/route.ts"
5629
- },
5630
- {
5631
- "source": "cli/templates/api/collections-route.ts",
5632
- "target": "app/api/collections/route.ts"
5633
- },
5634
- {
5635
- "source": "cli/templates/api/permissions-me-route.ts",
5636
- "target": "app/api/permissions/me/route.ts"
5637
5604
  }
5638
5605
  ],
5639
5606
  "internalDependencies": [
@@ -5686,11 +5653,85 @@ function loadRegistry() {
5686
5653
  "source": "cli/templates/supabase/middleware.ts",
5687
5654
  "target": "lib/supabase/middleware.ts"
5688
5655
  },
5656
+ {
5657
+ "source": "cli/templates/supabase/admin.ts",
5658
+ "target": "lib/supabase/admin.ts"
5659
+ },
5689
5660
  {
5690
5661
  "source": "cli/templates/middleware/middleware.ts",
5691
5662
  "target": "middleware.ts"
5692
5663
  }
5693
5664
  ]
5665
+ },
5666
+ "external-oauth": {
5667
+ "name": "external-oauth",
5668
+ "description": "External OAuth2/OIDC integration where Next.js acts as the OAuth client. Supports Azure AD, Google, Okta, Auth0, and generic OIDC providers. Includes PKCE, AES-256-GCM state encryption, JIT user provisioning, and multi-source claim extraction.",
5669
+ "dependencies": [
5670
+ "jose"
5671
+ ],
5672
+ "internalDependencies": [
5673
+ "supabase-auth",
5674
+ "api-routes"
5675
+ ],
5676
+ "files": [
5677
+ {
5678
+ "source": "cli/templates/lib/oauth/config.ts",
5679
+ "target": "lib/oauth/config.ts"
5680
+ },
5681
+ {
5682
+ "source": "cli/templates/lib/oauth/pkce.ts",
5683
+ "target": "lib/oauth/pkce.ts"
5684
+ },
5685
+ {
5686
+ "source": "cli/templates/lib/oauth/validate.ts",
5687
+ "target": "lib/oauth/validate.ts"
5688
+ },
5689
+ {
5690
+ "source": "cli/templates/lib/oauth/index.ts",
5691
+ "target": "lib/oauth/index.ts"
5692
+ },
5693
+ {
5694
+ "source": "cli/templates/api/auth-callback-oauth-route.ts",
5695
+ "target": "app/api/auth/callback/route.ts"
5696
+ },
5697
+ {
5698
+ "source": "cli/templates/api/auth-oauth-provider-route.ts",
5699
+ "target": "app/api/auth/oauth/[provider]/route.ts"
5700
+ },
5701
+ {
5702
+ "source": "cli/templates/components/auth/OAuthLoginButtons.tsx",
5703
+ "target": "components/auth/OAuthLoginButtons.tsx"
5704
+ }
5705
+ ]
5706
+ },
5707
+ "scope-routes": {
5708
+ "name": "scope-routes",
5709
+ "description": "DaaS multi-tenant scope system \u2014 ScopeProvider context, ScopeSwitcher, error handling, and onboarding page. Calls DaaS directly; no proxy routes needed.",
5710
+ "internalDependencies": [
5711
+ "supabase-auth"
5712
+ ],
5713
+ "files": [
5714
+ {
5715
+ "source": "cli/templates/lib/scope/context.tsx",
5716
+ "target": "lib/scope/context.tsx"
5717
+ },
5718
+ {
5719
+ "source": "cli/templates/lib/scope/use-scope-error.ts",
5720
+ "target": "lib/scope/use-scope-error.ts"
5721
+ },
5722
+ {
5723
+ "source": "cli/templates/lib/scope/index.ts",
5724
+ "target": "lib/scope/index.ts"
5725
+ },
5726
+ {
5727
+ "source": "cli/templates/components/scope-switcher.tsx",
5728
+ "target": "components/ScopeSwitcher.tsx"
5729
+ },
5730
+ {
5731
+ "source": "cli/templates/app/select-scope/page.tsx",
5732
+ "target": "app/select-scope/page.tsx"
5733
+ }
5734
+ ]
5694
5735
  }
5695
5736
  },
5696
5737
  "components": [
@@ -7120,6 +7161,26 @@ function loadRegistry() {
7120
7161
  {
7121
7162
  "source": "ui-collections/src/CollectionList.tsx",
7122
7163
  "target": "components/ui/collection-list.tsx"
7164
+ },
7165
+ {
7166
+ "source": "ui-collections/src/CollectionList.css",
7167
+ "target": "components/ui/collection-list.css"
7168
+ },
7169
+ {
7170
+ "source": "ui-collections/src/CollectionListToolbar.tsx",
7171
+ "target": "components/ui/collection-list-toolbar.tsx"
7172
+ },
7173
+ {
7174
+ "source": "ui-collections/src/CollectionListFooter.tsx",
7175
+ "target": "components/ui/collection-list-footer.tsx"
7176
+ },
7177
+ {
7178
+ "source": "ui-collections/src/DeleteConfirmModal.tsx",
7179
+ "target": "components/ui/delete-confirm-modal.tsx"
7180
+ },
7181
+ {
7182
+ "source": "ui-collections/src/BulkActionsBar.tsx",
7183
+ "target": "components/ui/bulk-actions-bar.tsx"
7123
7184
  }
7124
7185
  ],
7125
7186
  "dependencies": [