@lovable.dev/mcp-js 0.17.0 → 0.20.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/dist/{recorder-qlzUKFxG.d.ts → base-C9rhAHZ0.d.ts} +3 -4
- package/dist/{chunk-FW6YL5C5.js → chunk-7JJEPFSO.js} +8 -8
- package/dist/{chunk-H2HXKAMQ.js → chunk-DUNDNXK5.js} +2 -2
- package/dist/{chunk-6TZNGFRM.js → chunk-EPEEEI3C.js} +121 -136
- package/dist/{chunk-J5BTCP6T.js → chunk-FTTVLHNN.js} +1 -1
- package/dist/{chunk-VQQZAFRA.js → chunk-H37EB22A.js} +2 -10
- package/dist/{chunk-WYXIX7XF.js → chunk-WKIXRW46.js} +11 -12
- package/dist/{chunk-EL6YNP2R.js → chunk-WW7NRRCJ.js} +13 -14
- package/dist/cli/extract-manifest.cjs +1 -1
- package/dist/cli/extract-manifest.js +4 -4
- package/dist/index.cjs +1 -7
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/protocols/mcp/index.cjs +16 -272
- package/dist/protocols/mcp/index.d.cts +6 -5
- package/dist/protocols/mcp/index.d.ts +6 -5
- package/dist/protocols/mcp/index.js +4 -4
- package/dist/protocols/oauth-metadata.d.cts +1 -1
- package/dist/protocols/oauth-metadata.d.ts +1 -1
- package/dist/protocols/oauth-metadata.js +4 -4
- package/dist/protocols/rest/index.cjs +21 -277
- package/dist/protocols/rest/index.d.cts +6 -6
- package/dist/protocols/rest/index.d.ts +6 -6
- package/dist/protocols/rest/index.js +5 -5
- package/dist/stacks/supabase/index.cjs +178 -201
- package/dist/stacks/supabase/index.d.cts +1 -1
- package/dist/stacks/supabase/index.d.ts +1 -1
- package/dist/stacks/supabase/index.js +14 -14
- package/dist/stacks/supabase/vite.cjs +1 -1
- package/dist/stacks/supabase/vite.js +1 -1
- package/dist/stacks/tanstack/index.cjs +187 -209
- package/dist/stacks/tanstack/index.d.cts +1 -1
- package/dist/stacks/tanstack/index.d.ts +1 -1
- package/dist/stacks/tanstack/index.js +13 -10
- package/dist/{types-COY42xux.d.ts → types-CPkhCRxc.d.ts} +3 -3
- package/package.json +1 -1
|
@@ -114,12 +114,12 @@ interface MetricsOptions {
|
|
|
114
114
|
/** Master switch. Default `true`; metrics still self-disable at runtime when
|
|
115
115
|
* the API key env var is absent. */
|
|
116
116
|
enabled?: boolean;
|
|
117
|
-
/** OTLP/HTTP (JSON) logs URL to POST
|
|
118
|
-
* any OTLP collector. Must be an absolute http(s) URL.
|
|
117
|
+
/** OTLP/HTTP (JSON) logs URL to POST each invocation to — the default Lovable
|
|
118
|
+
* route or any OTLP collector. Must be an absolute http(s) URL.
|
|
119
119
|
* @default "https://api.lovable.dev/v1/app-mcp-usage" */
|
|
120
120
|
endpoint?: string;
|
|
121
121
|
/** Extra request headers — e.g. the auth token for a private OTLP collector.
|
|
122
|
-
* Sent verbatim with every
|
|
122
|
+
* Sent verbatim with every request (and baked into the build output, so source
|
|
123
123
|
* your own build-time env for secrets). Ignored for the default Lovable
|
|
124
124
|
* endpoint, which authenticates with `LOVABLE_API_KEY` instead. `content-type`
|
|
125
125
|
* cannot be overridden (OTLP/HTTP JSON requires `application/json`). */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lovable.dev/mcp-js",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "Author MCP servers for Lovable apps. Declare tools with defineTool, register them in defineMcp, and a framework adapter (TanStack or Supabase Edge Functions) emits the route(s) at build time.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|