@buildpad/mcp 0.1.14 → 0.1.16

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
@@ -5,7 +5,7 @@ var __export = (target, all) => {
5
5
  __defProp(target, name, { get: all[name], enumerable: true });
6
6
  };
7
7
 
8
- // ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/external.js
8
+ // ../../node_modules/zod/v3/external.js
9
9
  var external_exports = {};
10
10
  __export(external_exports, {
11
11
  BRAND: () => BRAND,
@@ -117,7 +117,7 @@ __export(external_exports, {
117
117
  void: () => voidType
118
118
  });
119
119
 
120
- // ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.js
120
+ // ../../node_modules/zod/v3/helpers/util.js
121
121
  var util;
122
122
  (function(util2) {
123
123
  util2.assertEqual = (_) => {
@@ -251,7 +251,7 @@ var getParsedType = (data) => {
251
251
  }
252
252
  };
253
253
 
254
- // ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/ZodError.js
254
+ // ../../node_modules/zod/v3/ZodError.js
255
255
  var ZodIssueCode = util.arrayToEnum([
256
256
  "invalid_type",
257
257
  "invalid_literal",
@@ -369,7 +369,7 @@ ZodError.create = (issues) => {
369
369
  return error;
370
370
  };
371
371
 
372
- // ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.js
372
+ // ../../node_modules/zod/v3/locales/en.js
373
373
  var errorMap = (issue, _ctx) => {
374
374
  let message;
375
375
  switch (issue.code) {
@@ -472,7 +472,7 @@ var errorMap = (issue, _ctx) => {
472
472
  };
473
473
  var en_default = errorMap;
474
474
 
475
- // ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.js
475
+ // ../../node_modules/zod/v3/errors.js
476
476
  var overrideErrorMap = en_default;
477
477
  function setErrorMap(map) {
478
478
  overrideErrorMap = map;
@@ -481,7 +481,7 @@ function getErrorMap() {
481
481
  return overrideErrorMap;
482
482
  }
483
483
 
484
- // ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
484
+ // ../../node_modules/zod/v3/helpers/parseUtil.js
485
485
  var makeIssue = (params) => {
486
486
  const { data, path, errorMaps, issueData } = params;
487
487
  const fullPath = [...path, ...issueData.path || []];
@@ -591,14 +591,14 @@ var isDirty = (x) => x.status === "dirty";
591
591
  var isValid = (x) => x.status === "valid";
592
592
  var isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
593
593
 
594
- // ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
594
+ // ../../node_modules/zod/v3/helpers/errorUtil.js
595
595
  var errorUtil;
596
596
  (function(errorUtil2) {
597
597
  errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
598
598
  errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message;
599
599
  })(errorUtil || (errorUtil = {}));
600
600
 
601
- // ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js
601
+ // ../../node_modules/zod/v3/types.js
602
602
  var ParseInputLazyPath = class {
603
603
  constructor(parent, value, path, key) {
604
604
  this._cachedPath = [];
@@ -4046,7 +4046,7 @@ var coerce = {
4046
4046
  };
4047
4047
  var NEVER = INVALID;
4048
4048
 
4049
- // ../../node_modules/.pnpm/@modelcontextprotocol+sdk@0.5.0/node_modules/@modelcontextprotocol/sdk/dist/types.js
4049
+ // ../../node_modules/@modelcontextprotocol/sdk/dist/types.js
4050
4050
  var LATEST_PROTOCOL_VERSION = "2024-11-05";
4051
4051
  var SUPPORTED_PROTOCOL_VERSIONS = [
4052
4052
  LATEST_PROTOCOL_VERSION,
@@ -4751,7 +4751,7 @@ var McpError = class extends Error {
4751
4751
  }
4752
4752
  };
4753
4753
 
4754
- // ../../node_modules/.pnpm/@modelcontextprotocol+sdk@0.5.0/node_modules/@modelcontextprotocol/sdk/dist/shared/protocol.js
4754
+ // ../../node_modules/@modelcontextprotocol/sdk/dist/shared/protocol.js
4755
4755
  var Protocol = class {
4756
4756
  constructor(_options) {
4757
4757
  this._options = _options;
@@ -5008,7 +5008,7 @@ var Protocol = class {
5008
5008
  }
5009
5009
  };
5010
5010
 
5011
- // ../../node_modules/.pnpm/@modelcontextprotocol+sdk@0.5.0/node_modules/@modelcontextprotocol/sdk/dist/server/index.js
5011
+ // ../../node_modules/@modelcontextprotocol/sdk/dist/server/index.js
5012
5012
  var Server = class extends Protocol {
5013
5013
  /**
5014
5014
  * Initializes this server with the given name and version information.
@@ -5161,10 +5161,10 @@ var Server = class extends Protocol {
5161
5161
  }
5162
5162
  };
5163
5163
 
5164
- // ../../node_modules/.pnpm/@modelcontextprotocol+sdk@0.5.0/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.js
5164
+ // ../../node_modules/@modelcontextprotocol/sdk/dist/server/stdio.js
5165
5165
  import process2 from "process";
5166
5166
 
5167
- // ../../node_modules/.pnpm/@modelcontextprotocol+sdk@0.5.0/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.js
5167
+ // ../../node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.js
5168
5168
  var ReadBuffer = class {
5169
5169
  append(chunk) {
5170
5170
  this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk]) : chunk;
@@ -5192,7 +5192,7 @@ function serializeMessage(message) {
5192
5192
  return JSON.stringify(message) + "\n";
5193
5193
  }
5194
5194
 
5195
- // ../../node_modules/.pnpm/@modelcontextprotocol+sdk@0.5.0/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.js
5195
+ // ../../node_modules/@modelcontextprotocol/sdk/dist/server/stdio.js
5196
5196
  var StdioServerTransport = class {
5197
5197
  constructor(_stdin = process2.stdin, _stdout = process2.stdout) {
5198
5198
  this._stdin = _stdin;
@@ -5580,7 +5580,7 @@ function loadRegistry() {
5580
5580
  },
5581
5581
  "api-routes": {
5582
5582
  "name": "api-routes",
5583
- "description": "Server-side Supabase auth routes (login, logout, callback, user) + DaaS API proxy routes for Next.js (fields, items, relations, files)",
5583
+ "description": "Server-side Supabase auth routes (login, logout, callback, user) + DaaS API proxy routes for Next.js (fields, items, relations, files) + DaaSProviderWrapper client component + authenticated route-group layout",
5584
5584
  "files": [
5585
5585
  {
5586
5586
  "source": "cli/templates/api/auth-login-route.ts",
@@ -5625,6 +5625,14 @@ function loadRegistry() {
5625
5625
  {
5626
5626
  "source": "cli/templates/api/daas-files-route.ts",
5627
5627
  "target": "app/api/files/route.ts"
5628
+ },
5629
+ {
5630
+ "source": "cli/templates/components/DaaSProviderWrapper.tsx",
5631
+ "target": "components/DaaSProviderWrapper.tsx"
5632
+ },
5633
+ {
5634
+ "source": "cli/templates/app/authenticated-layout.tsx",
5635
+ "target": "app/(authenticated)/layout.tsx"
5628
5636
  }
5629
5637
  ],
5630
5638
  "internalDependencies": [
@@ -5873,6 +5881,10 @@ function loadRegistry() {
5873
5881
  {
5874
5882
  "source": "ui-interfaces/src/input-hash/InputHash.tsx",
5875
5883
  "target": "components/ui/input-hash.tsx"
5884
+ },
5885
+ {
5886
+ "source": "ui-interfaces/src/input-hash/InputHash.css",
5887
+ "target": "components/ui/InputHash.css"
5876
5888
  }
5877
5889
  ],
5878
5890
  "dependencies": [
@@ -5905,6 +5917,10 @@ function loadRegistry() {
5905
5917
  {
5906
5918
  "source": "ui-interfaces/src/system-token/SystemToken.tsx",
5907
5919
  "target": "components/ui/system-token.tsx"
5920
+ },
5921
+ {
5922
+ "source": "ui-interfaces/src/system-token/SystemToken.css",
5923
+ "target": "components/ui/SystemToken.css"
5908
5924
  }
5909
5925
  ],
5910
5926
  "dependencies": [
@@ -5931,6 +5947,44 @@ function loadRegistry() {
5931
5947
  "hasOptions": false
5932
5948
  }
5933
5949
  },
5950
+ {
5951
+ "name": "system-permissions",
5952
+ "title": "SystemPermissions",
5953
+ "description": "Permissions management interface with collection-based CRUD permission toggles. Used for policy permission editing with full/custom/none access levels.",
5954
+ "category": "relational",
5955
+ "files": [
5956
+ {
5957
+ "source": "ui-interfaces/src/system-permissions/SystemPermissions.tsx",
5958
+ "target": "components/ui/system-permissions.tsx"
5959
+ },
5960
+ {
5961
+ "source": "ui-interfaces/src/system-permissions/SystemPermissions.css",
5962
+ "target": "components/ui/system-permissions.css"
5963
+ }
5964
+ ],
5965
+ "dependencies": [
5966
+ "@mantine/core",
5967
+ "@tabler/icons-react"
5968
+ ],
5969
+ "internalDependencies": [
5970
+ "services"
5971
+ ],
5972
+ "interface": {
5973
+ "id": "system-permissions",
5974
+ "name": "Permissions",
5975
+ "icon": "IconSettings",
5976
+ "types": [
5977
+ "alias"
5978
+ ],
5979
+ "localTypes": [
5980
+ "o2m"
5981
+ ],
5982
+ "group": "system",
5983
+ "order": 6,
5984
+ "supported": true,
5985
+ "hasOptions": false
5986
+ }
5987
+ },
5934
5988
  {
5935
5989
  "name": "input-block-editor",
5936
5990
  "title": "InputBlockEditor",