leanmcp 0.3.1 → 0.3.2

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.d.mts CHANGED
@@ -3,7 +3,7 @@ export { MCPServer, MCPServerConstructorOptions, Optional, Prompt, Resource, Sch
3
3
  export * from '@leanmcp/auth';
4
4
  export { AuthProvider, AuthProviderBase, Authenticated, AuthenticatedOptions } from '@leanmcp/auth';
5
5
  export * from '@leanmcp/ui';
6
- export { ActionButton, AppProvider, AppProviderProps, AppShell, AppShellProps, Button, Card, CardContent, CardFooter, CardHeader, Chart, CodeBlock, DataGrid, HTTPTransport, HTTPTransportConfig, Input, MCPPrompt, MCPResource, MCPTool, ToolForm, useMcpApp, useTool, useToolSubscription } from '@leanmcp/ui';
6
+ export { ActionButton, AppProvider, AppProviderProps, AppShell, AppShellProps, Button, Card, CardContent, CardFooter, CardHeader, Chart, CodeBlock, DataGrid, Input, ToolForm, UIApp, UIAppOptions, getUIAppMetadata, getUIAppUri, useMcpApp, useTool } from '@leanmcp/ui';
7
7
  export * from '@leanmcp/utils';
8
8
  export * from '@leanmcp/elicitation';
9
9
  export * from '@leanmcp/env-injection';
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export { MCPServer, MCPServerConstructorOptions, Optional, Prompt, Resource, Sch
3
3
  export * from '@leanmcp/auth';
4
4
  export { AuthProvider, AuthProviderBase, Authenticated, AuthenticatedOptions } from '@leanmcp/auth';
5
5
  export * from '@leanmcp/ui';
6
- export { ActionButton, AppProvider, AppProviderProps, AppShell, AppShellProps, Button, Card, CardContent, CardFooter, CardHeader, Chart, CodeBlock, DataGrid, HTTPTransport, HTTPTransportConfig, Input, MCPPrompt, MCPResource, MCPTool, ToolForm, useMcpApp, useTool, useToolSubscription } from '@leanmcp/ui';
6
+ export { ActionButton, AppProvider, AppProviderProps, AppShell, AppShellProps, Button, Card, CardContent, CardFooter, CardHeader, Chart, CodeBlock, DataGrid, Input, ToolForm, UIApp, UIAppOptions, getUIAppMetadata, getUIAppUri, useMcpApp, useTool } from '@leanmcp/ui';
7
7
  export * from '@leanmcp/utils';
8
8
  export * from '@leanmcp/elicitation';
9
9
  export * from '@leanmcp/env-injection';
package/dist/index.js CHANGED
@@ -35,7 +35,6 @@ __export(index_exports, {
35
35
  Chart: () => import_ui.Chart,
36
36
  CodeBlock: () => import_ui.CodeBlock,
37
37
  DataGrid: () => import_ui.DataGrid,
38
- HTTPTransport: () => import_ui.HTTPTransport,
39
38
  Input: () => import_ui.Input,
40
39
  MCPServer: () => import_core.MCPServer,
41
40
  Optional: () => import_core.Optional,
@@ -44,10 +43,12 @@ __export(index_exports, {
44
43
  SchemaConstraint: () => import_core.SchemaConstraint,
45
44
  Tool: () => import_core.Tool,
46
45
  ToolForm: () => import_ui.ToolForm,
46
+ UIApp: () => import_ui.UIApp,
47
47
  createHTTPServer: () => import_core.createHTTPServer,
48
+ getUIAppMetadata: () => import_ui.getUIAppMetadata,
49
+ getUIAppUri: () => import_ui.getUIAppUri,
48
50
  useMcpApp: () => import_ui.useMcpApp,
49
- useTool: () => import_ui.useTool,
50
- useToolSubscription: () => import_ui.useToolSubscription
51
+ useTool: () => import_ui.useTool
51
52
  });
52
53
  module.exports = __toCommonJS(index_exports);
53
54
  __reExport(index_exports, require("@leanmcp/core"), module.exports);
@@ -75,7 +76,6 @@ __reExport(index_exports, require("@leanmcp/env-injection"), module.exports);
75
76
  Chart,
76
77
  CodeBlock,
77
78
  DataGrid,
78
- HTTPTransport,
79
79
  Input,
80
80
  MCPServer,
81
81
  Optional,
@@ -84,10 +84,12 @@ __reExport(index_exports, require("@leanmcp/env-injection"), module.exports);
84
84
  SchemaConstraint,
85
85
  Tool,
86
86
  ToolForm,
87
+ UIApp,
87
88
  createHTTPServer,
89
+ getUIAppMetadata,
90
+ getUIAppUri,
88
91
  useMcpApp,
89
92
  useTool,
90
- useToolSubscription,
91
93
  ...require("@leanmcp/core"),
92
94
  ...require("@leanmcp/auth"),
93
95
  ...require("@leanmcp/ui"),
package/dist/index.mjs CHANGED
@@ -15,10 +15,7 @@ export * from "@leanmcp/ui";
15
15
  import {
16
16
  AppProvider,
17
17
  useMcpApp,
18
- AppShell,
19
- HTTPTransport,
20
18
  useTool,
21
- useToolSubscription,
22
19
  ActionButton,
23
20
  ToolForm,
24
21
  Button,
@@ -29,7 +26,11 @@ import {
29
26
  Input,
30
27
  DataGrid,
31
28
  Chart,
32
- CodeBlock
29
+ CodeBlock,
30
+ AppShell,
31
+ UIApp,
32
+ getUIAppMetadata,
33
+ getUIAppUri
33
34
  } from "@leanmcp/ui";
34
35
  export * from "@leanmcp/utils";
35
36
  export * from "@leanmcp/elicitation";
@@ -49,7 +50,6 @@ export {
49
50
  Chart,
50
51
  CodeBlock,
51
52
  DataGrid,
52
- HTTPTransport,
53
53
  Input,
54
54
  MCPServer,
55
55
  Optional,
@@ -58,8 +58,10 @@ export {
58
58
  SchemaConstraint,
59
59
  Tool,
60
60
  ToolForm,
61
+ UIApp,
61
62
  createHTTPServer,
63
+ getUIAppMetadata,
64
+ getUIAppUri,
62
65
  useMcpApp,
63
- useTool,
64
- useToolSubscription
66
+ useTool
65
67
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leanmcp",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "LeanMCP SDK - TypeScript SDK for building Model Context Protocol (MCP) servers with type-safe decorators",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -66,4 +66,4 @@
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  }
69
- }
69
+ }