@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.
Files changed (37) hide show
  1. package/dist/{recorder-qlzUKFxG.d.ts → base-C9rhAHZ0.d.ts} +3 -4
  2. package/dist/{chunk-FW6YL5C5.js → chunk-7JJEPFSO.js} +8 -8
  3. package/dist/{chunk-H2HXKAMQ.js → chunk-DUNDNXK5.js} +2 -2
  4. package/dist/{chunk-6TZNGFRM.js → chunk-EPEEEI3C.js} +121 -136
  5. package/dist/{chunk-J5BTCP6T.js → chunk-FTTVLHNN.js} +1 -1
  6. package/dist/{chunk-VQQZAFRA.js → chunk-H37EB22A.js} +2 -10
  7. package/dist/{chunk-WYXIX7XF.js → chunk-WKIXRW46.js} +11 -12
  8. package/dist/{chunk-EL6YNP2R.js → chunk-WW7NRRCJ.js} +13 -14
  9. package/dist/cli/extract-manifest.cjs +1 -1
  10. package/dist/cli/extract-manifest.js +4 -4
  11. package/dist/index.cjs +1 -7
  12. package/dist/index.d.cts +2 -2
  13. package/dist/index.d.ts +2 -2
  14. package/dist/index.js +1 -1
  15. package/dist/protocols/mcp/index.cjs +16 -272
  16. package/dist/protocols/mcp/index.d.cts +6 -5
  17. package/dist/protocols/mcp/index.d.ts +6 -5
  18. package/dist/protocols/mcp/index.js +4 -4
  19. package/dist/protocols/oauth-metadata.d.cts +1 -1
  20. package/dist/protocols/oauth-metadata.d.ts +1 -1
  21. package/dist/protocols/oauth-metadata.js +4 -4
  22. package/dist/protocols/rest/index.cjs +21 -277
  23. package/dist/protocols/rest/index.d.cts +6 -6
  24. package/dist/protocols/rest/index.d.ts +6 -6
  25. package/dist/protocols/rest/index.js +5 -5
  26. package/dist/stacks/supabase/index.cjs +178 -201
  27. package/dist/stacks/supabase/index.d.cts +1 -1
  28. package/dist/stacks/supabase/index.d.ts +1 -1
  29. package/dist/stacks/supabase/index.js +14 -14
  30. package/dist/stacks/supabase/vite.cjs +1 -1
  31. package/dist/stacks/supabase/vite.js +1 -1
  32. package/dist/stacks/tanstack/index.cjs +187 -209
  33. package/dist/stacks/tanstack/index.d.cts +1 -1
  34. package/dist/stacks/tanstack/index.d.ts +1 -1
  35. package/dist/stacks/tanstack/index.js +13 -10
  36. package/dist/{types-COY42xux.d.ts → types-CPkhCRxc.d.ts} +3 -3
  37. 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 batches to — the default Lovable route or
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 batch (and baked into the build output, so source
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.17.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": {