@revealui/mcp 0.8.0 → 0.8.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/dist/servers/factories/contracts.d.ts +242 -0
- package/dist/servers/factories/contracts.d.ts.map +1 -1
- package/dist/streamable-http.d.ts +10 -1
- package/dist/streamable-http.d.ts.map +1 -1
- package/dist/streamable-http.js +2 -2
- package/dist/streamable-http.js.map +1 -1
- package/package.json +9 -9
|
@@ -2102,6 +2102,127 @@ declare const SCHEMA_REGISTRY: {
|
|
|
2102
2102
|
marketplace: "marketplace";
|
|
2103
2103
|
}>>;
|
|
2104
2104
|
}, z.core.$strip>;
|
|
2105
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2106
|
+
id: z.ZodString;
|
|
2107
|
+
style: z.ZodOptional<z.ZodObject<{
|
|
2108
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
2109
|
+
left: "left";
|
|
2110
|
+
center: "center";
|
|
2111
|
+
right: "right";
|
|
2112
|
+
justify: "justify";
|
|
2113
|
+
}>>;
|
|
2114
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2115
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2116
|
+
padding: z.ZodOptional<z.ZodString>;
|
|
2117
|
+
margin: z.ZodOptional<z.ZodString>;
|
|
2118
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
2119
|
+
className: z.ZodOptional<z.ZodString>;
|
|
2120
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2121
|
+
}, z.core.$strip>>;
|
|
2122
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
2123
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
2124
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2125
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2126
|
+
aiGenerated: z.ZodOptional<z.ZodBoolean>;
|
|
2127
|
+
sourcePrompt: z.ZodOptional<z.ZodString>;
|
|
2128
|
+
lastEditor: z.ZodOptional<z.ZodString>;
|
|
2129
|
+
lastEditedAt: z.ZodOptional<z.ZodString>;
|
|
2130
|
+
}, z.core.$strip>>;
|
|
2131
|
+
type: z.ZodLiteral<"hero">;
|
|
2132
|
+
data: z.ZodObject<{
|
|
2133
|
+
eyebrow: z.ZodOptional<z.ZodString>;
|
|
2134
|
+
title: z.ZodString;
|
|
2135
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
2136
|
+
support: z.ZodOptional<z.ZodString>;
|
|
2137
|
+
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2138
|
+
label: z.ZodString;
|
|
2139
|
+
href: z.ZodString;
|
|
2140
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
2141
|
+
primary: "primary";
|
|
2142
|
+
secondary: "secondary";
|
|
2143
|
+
}>>;
|
|
2144
|
+
}, z.core.$strip>>>;
|
|
2145
|
+
}, z.core.$strip>;
|
|
2146
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2147
|
+
id: z.ZodString;
|
|
2148
|
+
style: z.ZodOptional<z.ZodObject<{
|
|
2149
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
2150
|
+
left: "left";
|
|
2151
|
+
center: "center";
|
|
2152
|
+
right: "right";
|
|
2153
|
+
justify: "justify";
|
|
2154
|
+
}>>;
|
|
2155
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2156
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2157
|
+
padding: z.ZodOptional<z.ZodString>;
|
|
2158
|
+
margin: z.ZodOptional<z.ZodString>;
|
|
2159
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
2160
|
+
className: z.ZodOptional<z.ZodString>;
|
|
2161
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2162
|
+
}, z.core.$strip>>;
|
|
2163
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
2164
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
2165
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2166
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2167
|
+
aiGenerated: z.ZodOptional<z.ZodBoolean>;
|
|
2168
|
+
sourcePrompt: z.ZodOptional<z.ZodString>;
|
|
2169
|
+
lastEditor: z.ZodOptional<z.ZodString>;
|
|
2170
|
+
lastEditedAt: z.ZodOptional<z.ZodString>;
|
|
2171
|
+
}, z.core.$strip>>;
|
|
2172
|
+
type: z.ZodLiteral<"ctaSection">;
|
|
2173
|
+
data: z.ZodObject<{
|
|
2174
|
+
heading: z.ZodString;
|
|
2175
|
+
body: z.ZodOptional<z.ZodString>;
|
|
2176
|
+
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2177
|
+
label: z.ZodString;
|
|
2178
|
+
href: z.ZodString;
|
|
2179
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
2180
|
+
primary: "primary";
|
|
2181
|
+
secondary: "secondary";
|
|
2182
|
+
}>>;
|
|
2183
|
+
}, z.core.$strip>>>;
|
|
2184
|
+
snippet: z.ZodOptional<z.ZodObject<{
|
|
2185
|
+
lines: z.ZodArray<z.ZodString>;
|
|
2186
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
2187
|
+
}, z.core.$strip>>;
|
|
2188
|
+
}, z.core.$strip>;
|
|
2189
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2190
|
+
id: z.ZodString;
|
|
2191
|
+
style: z.ZodOptional<z.ZodObject<{
|
|
2192
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
2193
|
+
left: "left";
|
|
2194
|
+
center: "center";
|
|
2195
|
+
right: "right";
|
|
2196
|
+
justify: "justify";
|
|
2197
|
+
}>>;
|
|
2198
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2199
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2200
|
+
padding: z.ZodOptional<z.ZodString>;
|
|
2201
|
+
margin: z.ZodOptional<z.ZodString>;
|
|
2202
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
2203
|
+
className: z.ZodOptional<z.ZodString>;
|
|
2204
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2205
|
+
}, z.core.$strip>>;
|
|
2206
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
2207
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
2208
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2209
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2210
|
+
aiGenerated: z.ZodOptional<z.ZodBoolean>;
|
|
2211
|
+
sourcePrompt: z.ZodOptional<z.ZodString>;
|
|
2212
|
+
lastEditor: z.ZodOptional<z.ZodString>;
|
|
2213
|
+
lastEditedAt: z.ZodOptional<z.ZodString>;
|
|
2214
|
+
}, z.core.$strip>>;
|
|
2215
|
+
type: z.ZodLiteral<"section">;
|
|
2216
|
+
data: z.ZodObject<{
|
|
2217
|
+
eyebrow: z.ZodOptional<z.ZodString>;
|
|
2218
|
+
heading: z.ZodString;
|
|
2219
|
+
body: z.ZodOptional<z.ZodString>;
|
|
2220
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2221
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2222
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2223
|
+
body: z.ZodString;
|
|
2224
|
+
}, z.core.$strip>>>;
|
|
2225
|
+
}, z.core.$strip>;
|
|
2105
2226
|
}, z.core.$strip>]>;
|
|
2106
2227
|
readonly blockMeta: z.ZodObject<{
|
|
2107
2228
|
version: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3795,6 +3916,127 @@ declare const SCHEMA_REGISTRY: {
|
|
|
3795
3916
|
marketplace: "marketplace";
|
|
3796
3917
|
}>>;
|
|
3797
3918
|
}, z.core.$strip>;
|
|
3919
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3920
|
+
id: z.ZodString;
|
|
3921
|
+
style: z.ZodOptional<z.ZodObject<{
|
|
3922
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
3923
|
+
left: "left";
|
|
3924
|
+
center: "center";
|
|
3925
|
+
right: "right";
|
|
3926
|
+
justify: "justify";
|
|
3927
|
+
}>>;
|
|
3928
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
3929
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
3930
|
+
padding: z.ZodOptional<z.ZodString>;
|
|
3931
|
+
margin: z.ZodOptional<z.ZodString>;
|
|
3932
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
3933
|
+
className: z.ZodOptional<z.ZodString>;
|
|
3934
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3935
|
+
}, z.core.$strip>>;
|
|
3936
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
3937
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
3938
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3939
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3940
|
+
aiGenerated: z.ZodOptional<z.ZodBoolean>;
|
|
3941
|
+
sourcePrompt: z.ZodOptional<z.ZodString>;
|
|
3942
|
+
lastEditor: z.ZodOptional<z.ZodString>;
|
|
3943
|
+
lastEditedAt: z.ZodOptional<z.ZodString>;
|
|
3944
|
+
}, z.core.$strip>>;
|
|
3945
|
+
type: z.ZodLiteral<"hero">;
|
|
3946
|
+
data: z.ZodObject<{
|
|
3947
|
+
eyebrow: z.ZodOptional<z.ZodString>;
|
|
3948
|
+
title: z.ZodString;
|
|
3949
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
3950
|
+
support: z.ZodOptional<z.ZodString>;
|
|
3951
|
+
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3952
|
+
label: z.ZodString;
|
|
3953
|
+
href: z.ZodString;
|
|
3954
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
3955
|
+
primary: "primary";
|
|
3956
|
+
secondary: "secondary";
|
|
3957
|
+
}>>;
|
|
3958
|
+
}, z.core.$strip>>>;
|
|
3959
|
+
}, z.core.$strip>;
|
|
3960
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3961
|
+
id: z.ZodString;
|
|
3962
|
+
style: z.ZodOptional<z.ZodObject<{
|
|
3963
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
3964
|
+
left: "left";
|
|
3965
|
+
center: "center";
|
|
3966
|
+
right: "right";
|
|
3967
|
+
justify: "justify";
|
|
3968
|
+
}>>;
|
|
3969
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
3970
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
3971
|
+
padding: z.ZodOptional<z.ZodString>;
|
|
3972
|
+
margin: z.ZodOptional<z.ZodString>;
|
|
3973
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
3974
|
+
className: z.ZodOptional<z.ZodString>;
|
|
3975
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3976
|
+
}, z.core.$strip>>;
|
|
3977
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
3978
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
3979
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3980
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3981
|
+
aiGenerated: z.ZodOptional<z.ZodBoolean>;
|
|
3982
|
+
sourcePrompt: z.ZodOptional<z.ZodString>;
|
|
3983
|
+
lastEditor: z.ZodOptional<z.ZodString>;
|
|
3984
|
+
lastEditedAt: z.ZodOptional<z.ZodString>;
|
|
3985
|
+
}, z.core.$strip>>;
|
|
3986
|
+
type: z.ZodLiteral<"ctaSection">;
|
|
3987
|
+
data: z.ZodObject<{
|
|
3988
|
+
heading: z.ZodString;
|
|
3989
|
+
body: z.ZodOptional<z.ZodString>;
|
|
3990
|
+
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3991
|
+
label: z.ZodString;
|
|
3992
|
+
href: z.ZodString;
|
|
3993
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
3994
|
+
primary: "primary";
|
|
3995
|
+
secondary: "secondary";
|
|
3996
|
+
}>>;
|
|
3997
|
+
}, z.core.$strip>>>;
|
|
3998
|
+
snippet: z.ZodOptional<z.ZodObject<{
|
|
3999
|
+
lines: z.ZodArray<z.ZodString>;
|
|
4000
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
4001
|
+
}, z.core.$strip>>;
|
|
4002
|
+
}, z.core.$strip>;
|
|
4003
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4004
|
+
id: z.ZodString;
|
|
4005
|
+
style: z.ZodOptional<z.ZodObject<{
|
|
4006
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
4007
|
+
left: "left";
|
|
4008
|
+
center: "center";
|
|
4009
|
+
right: "right";
|
|
4010
|
+
justify: "justify";
|
|
4011
|
+
}>>;
|
|
4012
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
4013
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
4014
|
+
padding: z.ZodOptional<z.ZodString>;
|
|
4015
|
+
margin: z.ZodOptional<z.ZodString>;
|
|
4016
|
+
borderRadius: z.ZodOptional<z.ZodString>;
|
|
4017
|
+
className: z.ZodOptional<z.ZodString>;
|
|
4018
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4019
|
+
}, z.core.$strip>>;
|
|
4020
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
4021
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
4022
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4023
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4024
|
+
aiGenerated: z.ZodOptional<z.ZodBoolean>;
|
|
4025
|
+
sourcePrompt: z.ZodOptional<z.ZodString>;
|
|
4026
|
+
lastEditor: z.ZodOptional<z.ZodString>;
|
|
4027
|
+
lastEditedAt: z.ZodOptional<z.ZodString>;
|
|
4028
|
+
}, z.core.$strip>>;
|
|
4029
|
+
type: z.ZodLiteral<"section">;
|
|
4030
|
+
data: z.ZodObject<{
|
|
4031
|
+
eyebrow: z.ZodOptional<z.ZodString>;
|
|
4032
|
+
heading: z.ZodString;
|
|
4033
|
+
body: z.ZodOptional<z.ZodString>;
|
|
4034
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4035
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4036
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4037
|
+
body: z.ZodString;
|
|
4038
|
+
}, z.core.$strip>>>;
|
|
4039
|
+
}, z.core.$strip>;
|
|
3798
4040
|
}, z.core.$strip>]>>;
|
|
3799
4041
|
seo: z.ZodOptional<z.ZodObject<{
|
|
3800
4042
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../../src/servers/factories/contracts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAWnE,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAoK3B,QAAA,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../../src/servers/factories/contracts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAWnE,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAoK3B,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAI,EAAE,OAAO,GACZ,cAAc,CAoChB;AA2ID,MAAM,WAAW,4BAA4B;IAC3C;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,CAAC,EAAE,4BAA4B,GAAG,MAAM,CA6JpF"}
|
|
@@ -62,7 +62,16 @@ export type StreamableHttpHandlerOptions = {
|
|
|
62
62
|
*/
|
|
63
63
|
onControl?: (control: StreamableHttpControl) => void;
|
|
64
64
|
};
|
|
65
|
-
|
|
65
|
+
/**
|
|
66
|
+
* The optional third argument carries a body the caller already parsed.
|
|
67
|
+
* A web-framework bridge (Hono on @hono/node-server) parses the body from
|
|
68
|
+
* the web Request and passes it through, because middleware ahead of the
|
|
69
|
+
* bridge can claim the raw Node stream and leave the raw read empty (found
|
|
70
|
+
* live in the GAP-371 Phase 4 e2e: every Initialize through the real server
|
|
71
|
+
* failed with "Session ID required"). Direct Node-server callers omit the
|
|
72
|
+
* argument and the raw read path is unchanged.
|
|
73
|
+
*/
|
|
74
|
+
export type StreamableHttpHandler = (req: IncomingMessage, res: ServerResponse, parsedBody?: unknown) => Promise<void>;
|
|
66
75
|
/** Control surface over a handler's live session map. */
|
|
67
76
|
export interface StreamableHttpControl {
|
|
68
77
|
/** Whether a session id currently has a live transport. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streamable-http.d.ts","sourceRoot":"","sources":["../src/streamable-http.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AACjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAWxE,MAAM,MAAM,4BAA4B,GAAG;IACzC;;;;OAIG;IACH,YAAY,EAAE,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAE7C,4DAA4D;IAC5D,kBAAk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,CAAC,CAAC;IAE9D;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAE1B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAExB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACtD,CAAC;AAEF;;;;;;;;GAQG;AACH,MAAM,MAAM,qBAAqB,GAAG,CAClC,GAAG,EAAE,eAAe,EACpB,GAAG,EAAE,cAAc,EACnB,UAAU,CAAC,EAAE,OAAO,KACjB,OAAO,CAAC,IAAI,CAAC,CAAC;AAEnB,yDAAyD;AACzD,MAAM,WAAW,qBAAqB;IACpC,2DAA2D;IAC3D,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;IACvC;;;;OAIG;IACH,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACpD;AAWD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE,4BAA4B,GACpC,qBAAqB,CAoEvB"}
|
package/dist/streamable-http.js
CHANGED
|
@@ -59,8 +59,8 @@ export function createNodeStreamableHttpHandler(options) {
|
|
|
59
59
|
await options.onSessionClosed?.(sessionId);
|
|
60
60
|
},
|
|
61
61
|
});
|
|
62
|
-
return async function mcpStreamableHttpHandler(req, res) {
|
|
63
|
-
const body = req.method === 'POST' ? await readJsonBody(req) : undefined;
|
|
62
|
+
return async function mcpStreamableHttpHandler(req, res, parsedBody) {
|
|
63
|
+
const body = req.method === 'POST' ? (parsedBody ?? (await readJsonBody(req))) : undefined;
|
|
64
64
|
const rawSession = req.headers['mcp-session-id'];
|
|
65
65
|
const sessionId = typeof rawSession === 'string' ? rawSession : undefined;
|
|
66
66
|
// Existing session — delegate to its transport.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streamable-http.js","sourceRoot":"","sources":["../src/streamable-http.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGzC,OAAO,EACL,6BAA6B,GAE9B,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"streamable-http.js","sourceRoot":"","sources":["../src/streamable-http.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGzC,OAAO,EACL,6BAA6B,GAE9B,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAwFzE,8EAA8E;AAC9E,kBAAkB;AAClB,8EAA8E;AAE9E;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,+BAA+B,CAC7C,OAAqC;IAErC,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAwB,CAAC;IACjD,MAAM,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,IAAI,CAAC,GAAG,EAAE,CAAC,UAAU,EAAE,CAAC,CAAC;IAE7E,OAAO,CAAC,SAAS,EAAE,CAAC;QAClB,UAAU,CAAC,SAAS;YAClB,OAAO,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACjC,CAAC;QACD,KAAK,CAAC,gBAAgB,CAAC,SAAS;YAC9B,MAAM,KAAK,GAAG,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;YACtC,IAAI,CAAC,KAAK;gBAAE,OAAO;YACnB,wEAAwE;YACxE,iCAAiC;YACjC,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;YAC3B,MAAM,KAAK,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;YAC9B,MAAM,OAAO,C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CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IACnD,IAAI,CAAC,GAAG;QAAE,OAAO,SAAS,CAAC;IAC3B,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACzB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAED,SAAS,aAAa,CAAC,GAAmB,EAAE,MAAc,EAAE,OAAe;IACzE,GAAG,CAAC,UAAU,GAAG,MAAM,CAAC;IACxB,GAAG,CAAC,SAAS,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAAC;IAClD,GAAG,CAAC,GAAG,CACL,IAAI,CAAC,SAAS,CAAC;QACb,OAAO,EAAE,KAAK;QACd,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE;QAChC,EAAE,EAAE,IAAI;KACT,CAAC,CACH,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revealui/mcp",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "Model Context Protocol framework — MCP server hypervisor, adapter pattern, tool discovery, and adapters for Stripe, Supabase, and Vercel.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
17
17
|
"dotenv": "^17.4.1",
|
|
18
18
|
"jose": "^5.10.0",
|
|
19
|
-
"@revealui/contracts": "0.
|
|
20
|
-
"@revealui/core": "0.
|
|
21
|
-
"@revealui/
|
|
22
|
-
"@revealui/
|
|
23
|
-
"@revealui/knowledge-graph": "0.1.
|
|
24
|
-
"@revealui/
|
|
25
|
-
"@revealui/setup": "0.
|
|
19
|
+
"@revealui/contracts": "0.8.0",
|
|
20
|
+
"@revealui/core": "0.12.0",
|
|
21
|
+
"@revealui/db": "0.9.0",
|
|
22
|
+
"@revealui/security": "0.5.0",
|
|
23
|
+
"@revealui/knowledge-graph": "0.1.3",
|
|
24
|
+
"@revealui/config": "0.6.0",
|
|
25
|
+
"@revealui/setup": "0.7.0"
|
|
26
26
|
},
|
|
27
27
|
"optionalDependencies": {
|
|
28
|
-
"@revealui/ai": "0.
|
|
28
|
+
"@revealui/ai": "0.8.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@electric-sql/pglite": "^0.5.4",
|