@meetopenbot/supabase 1.2.0 → 1.4.0
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/README.md +8 -10
- package/dist/index.js +5 -10
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,29 +4,27 @@ Supabase specialist agent for OpenBot: MCP-backed projects, SQL, migrations, and
|
|
|
4
4
|
|
|
5
5
|
## Features (MVP)
|
|
6
6
|
|
|
7
|
-
- **Agent** — OpenAI + Supabase's official MCP (`https://mcp.supabase.com/mcp`)
|
|
8
|
-
- **Auth** —
|
|
7
|
+
- **Agent** — Claude Haiku 5.5 (or an OpenAI model) + Supabase's official MCP (`https://mcp.supabase.com/mcp`)
|
|
8
|
+
- **Auth** — sign in with Supabase (OAuth), once for the whole workspace by a workspace owner
|
|
9
9
|
|
|
10
10
|
## Setup
|
|
11
11
|
|
|
12
|
-
1.
|
|
13
|
-
|
|
14
|
-
2. Add the plugin to your agent's `AGENT.md`:
|
|
12
|
+
1. Add the plugin to your agent's `AGENT.md`:
|
|
15
13
|
|
|
16
14
|
```yaml
|
|
17
15
|
plugins:
|
|
18
16
|
- id: "@meetopenbot/supabase"
|
|
19
17
|
config:
|
|
20
|
-
model:
|
|
18
|
+
model: anthropic/claude-haiku-5-5
|
|
21
19
|
```
|
|
22
20
|
|
|
23
|
-
|
|
21
|
+
Sign in from the **Connect Supabase** card OpenBot shows the first time the agent runs, or from **Settings → Agents** (open the agent). Supabase asks which organization to grant access to. It is a workspace account: one sign-in for the whole workspace, and only a workspace owner can connect it. Other members are asked to have an owner connect it. The runtime stores the tokens encrypted and refreshes them; if access is revoked in Supabase, the agent asks to sign in again.
|
|
24
22
|
|
|
25
|
-
|
|
23
|
+
The runtime must be reachable from your browser at its public URL, since Supabase sends you back there after signing in. Personal access tokens and `SUPABASE_ACCESS_TOKEN` are no longer used.
|
|
26
24
|
|
|
27
|
-
LLM calls use `OPENAI_API_KEY` when set (BYOK), otherwise OpenBot Credits.
|
|
25
|
+
LLM calls use `ANTHROPIC_API_KEY` (or `OPENAI_API_KEY` for OpenAI models) when set (BYOK), otherwise OpenBot Credits.
|
|
28
26
|
|
|
29
|
-
Production projects can contain sensitive data.
|
|
27
|
+
Production projects can contain sensitive data. The agent confirms before writes, migrations and deploys.
|
|
30
28
|
|
|
31
29
|
## Build
|
|
32
30
|
|
package/dist/index.js
CHANGED
|
@@ -26,20 +26,15 @@ Reply in concise plain text. Lead with the outcome, then key details (project re
|
|
|
26
26
|
export const plugin = await defineMcpAgent({
|
|
27
27
|
name: 'Supabase',
|
|
28
28
|
description: 'Supabase MCP-backed specialist agent for projects, SQL, and Edge Functions',
|
|
29
|
-
models: { providers: ['openai'], default: '
|
|
29
|
+
models: { providers: ['anthropic', 'openai'], default: 'anthropic/claude-haiku-5-5' },
|
|
30
30
|
connection: {
|
|
31
|
-
kind: '
|
|
31
|
+
kind: 'oauth',
|
|
32
32
|
id: 'supabase',
|
|
33
|
-
// Supabase projects are shared infrastructure.
|
|
33
|
+
// Supabase projects are shared infrastructure: an owner signs in once for the workspace.
|
|
34
34
|
scope: 'workspace',
|
|
35
|
-
|
|
36
|
-
docsUrl: 'https://supabase.com/dashboard/account/tokens',
|
|
37
|
-
label: 'Supabase access token',
|
|
38
|
-
},
|
|
39
|
-
mcp: {
|
|
40
|
-
url: 'https://mcp.supabase.com/mcp',
|
|
41
|
-
headers: (token) => ({ Authorization: `Bearer ${token}` }),
|
|
35
|
+
label: 'Supabase account',
|
|
42
36
|
},
|
|
37
|
+
mcp: { url: 'https://mcp.supabase.com/mcp' },
|
|
43
38
|
system: SYSTEM_PROMPT,
|
|
44
39
|
maxSteps: 10,
|
|
45
40
|
history: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meetopenbot/supabase",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Supabase MCP-backed specialist agent for OpenBot",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dist"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@meetopenbot/plugin-sdk": "^2.
|
|
22
|
+
"@meetopenbot/plugin-sdk": "^2.7.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/node": "^20.10.1",
|