@exposify/supabase 0.1.0 → 0.3.1

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/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@exposify/supabase",
3
- "version": "0.1.0",
3
+ "version": "0.3.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
9
9
  "bin": {
10
- "agentify-supabase": "./dist/cli.js"
10
+ "exposify-supabase": "./dist/cli.js"
11
11
  },
12
12
  "exports": {
13
13
  ".": {
@@ -27,7 +27,7 @@
27
27
  "prepack": "yarn build"
28
28
  },
29
29
  "dependencies": {
30
- "@exposify/core": "0.0.0",
30
+ "@exposify/core": "0.3.1",
31
31
  "@modelcontextprotocol/sdk": "^1.12.0",
32
32
  "zod": "^3.24.0"
33
33
  },
@@ -39,5 +39,14 @@
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public"
42
+ },
43
+ "repository": {
44
+ "type": "git",
45
+ "url": "git+https://github.com/ayadagain/agentready.git",
46
+ "directory": "packages/supabase"
47
+ },
48
+ "homepage": "https://github.com/ayadagain/agentready/tree/main/packages/supabase#readme",
49
+ "bugs": {
50
+ "url": "https://github.com/ayadagain/agentready/issues"
42
51
  }
43
52
  }
@@ -1,6 +1,6 @@
1
- -- agentify-supabase: schema introspection function.
1
+ -- exposify-supabase: schema introspection function.
2
2
  --
3
- -- Exposes, per PostgREST's RPC convention (POST /rpc/agentify_meta), one row
3
+ -- Exposes, per PostgREST's RPC convention (POST /rpc/exposify_meta), one row
4
4
  -- per column of every ordinary table in the `public` schema: whether Row
5
5
  -- Level Security is enabled on its table, and the table/column comments an
6
6
  -- owner wrote via `COMMENT ON TABLE` / `COMMENT ON COLUMN`.
@@ -12,7 +12,15 @@
12
12
  -- necessarily SELECT from would otherwise be blocked; the function only ever
13
13
  -- returns catalog metadata, never row data, so this does not leak anything
14
14
  -- RLS would otherwise protect.
15
- create or replace function public.agentify_meta()
15
+ --
16
+ -- Renamed from agentify_meta() -- if you already applied that migration to a
17
+ -- live project, this file alone will NOT rename it there (Postgres tracks
18
+ -- migrations by filename, not by diffing function bodies). Apply this
19
+ -- instead on an already-deployed project:
20
+ -- alter function public.agentify_meta() rename to exposify_meta();
21
+ -- or drop the old one after confirming nothing else calls it:
22
+ -- drop function public.agentify_meta();
23
+ create or replace function public.exposify_meta()
16
24
  returns table (
17
25
  table_name text,
18
26
  rls_enabled boolean,
@@ -43,4 +51,4 @@ $$;
43
51
  -- PostgREST's `anon`/`authenticated` roles must be able to call this RPC;
44
52
  -- the SECURITY DEFINER body above is what makes that safe (catalog metadata
45
53
  -- only, never row data).
46
- grant execute on function public.agentify_meta() to anon, authenticated;
54
+ grant execute on function public.exposify_meta() to anon, authenticated;