@exposify/supabase 0.3.12 → 0.3.13

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.cjs CHANGED
@@ -470,9 +470,8 @@ function propertyToZod(prop) {
470
470
  var FILTER_OPS = ["eq", "neq", "gt", "lt", "like"];
471
471
  function buildSupabaseMcpServer(deps) {
472
472
  const { cfg, tables, client, kb, incoming } = deps;
473
- const server = new import_mcp.McpServer(
474
- { name: deps.appName, version: deps.appVersion },
475
- { instructions: instructionsFor(deps.warnings) }
473
+ const server = (0, import_core2.advertiseTools)(
474
+ new import_mcp.McpServer({ name: deps.appName, version: deps.appVersion }, { instructions: instructionsFor(deps.warnings) })
476
475
  );
477
476
  const taken = /* @__PURE__ */ new Set(["search_docs"]);
478
477
  for (const table of tables) {
package/dist/index.js CHANGED
@@ -344,6 +344,7 @@ function messageOf(err) {
344
344
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
345
345
  import { z as z2 } from "zod";
346
346
  import {
347
+ advertiseTools,
347
348
  toToolResult,
348
349
  DISPATCH_TIMEOUT_MS
349
350
  } from "@exposify/core";
@@ -436,9 +437,8 @@ function propertyToZod(prop) {
436
437
  var FILTER_OPS = ["eq", "neq", "gt", "lt", "like"];
437
438
  function buildSupabaseMcpServer(deps) {
438
439
  const { cfg, tables, client, kb, incoming } = deps;
439
- const server = new McpServer(
440
- { name: deps.appName, version: deps.appVersion },
441
- { instructions: instructionsFor(deps.warnings) }
440
+ const server = advertiseTools(
441
+ new McpServer({ name: deps.appName, version: deps.appVersion }, { instructions: instructionsFor(deps.warnings) })
442
442
  );
443
443
  const taken = /* @__PURE__ */ new Set(["search_docs"]);
444
444
  for (const table of tables) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exposify/supabase",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -27,7 +27,7 @@
27
27
  "prepack": "yarn build"
28
28
  },
29
29
  "dependencies": {
30
- "@exposify/core": "0.3.16",
30
+ "@exposify/core": "0.3.17",
31
31
  "@modelcontextprotocol/sdk": "^1.12.0",
32
32
  "zod": "^3.24.0"
33
33
  },