mcp-server-diff 2.1.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/.github/dependabot.yml +21 -0
- package/.github/workflows/ci.yml +51 -0
- package/.github/workflows/publish.yml +36 -0
- package/.github/workflows/release.yml +51 -0
- package/.prettierignore +3 -0
- package/.prettierrc +8 -0
- package/CONTRIBUTING.md +81 -0
- package/LICENSE +21 -0
- package/README.md +526 -0
- package/action.yml +250 -0
- package/dist/__tests__/fixtures/http-server.d.ts +7 -0
- package/dist/__tests__/fixtures/stdio-server.d.ts +7 -0
- package/dist/cli/__tests__/fixtures/http-server.d.ts +7 -0
- package/dist/cli/__tests__/fixtures/stdio-server.d.ts +7 -0
- package/dist/cli/cli.d.ts +7 -0
- package/dist/cli/diff.d.ts +44 -0
- package/dist/cli/git.d.ts +37 -0
- package/dist/cli/index.d.ts +7 -0
- package/dist/cli/index.js +57182 -0
- package/dist/cli/licenses.txt +466 -0
- package/dist/cli/logger.d.ts +46 -0
- package/dist/cli/package.json +3 -0
- package/dist/cli/probe.d.ts +35 -0
- package/dist/cli/reporter.d.ts +20 -0
- package/dist/cli/runner.d.ts +30 -0
- package/dist/cli/types.d.ts +134 -0
- package/dist/cli.d.ts +7 -0
- package/dist/diff.d.ts +44 -0
- package/dist/git.d.ts +37 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +58032 -0
- package/dist/licenses.txt +466 -0
- package/dist/logger.d.ts +46 -0
- package/dist/package.json +3 -0
- package/dist/probe.d.ts +35 -0
- package/dist/reporter.d.ts +20 -0
- package/dist/runner.d.ts +30 -0
- package/dist/types.d.ts +134 -0
- package/eslint.config.mjs +47 -0
- package/jest.config.mjs +26 -0
- package/package.json +64 -0
- package/src/__tests__/fixtures/http-server.ts +103 -0
- package/src/__tests__/fixtures/stdio-server.ts +158 -0
- package/src/__tests__/integration.test.ts +306 -0
- package/src/__tests__/runner.test.ts +430 -0
- package/src/cli.ts +421 -0
- package/src/diff.ts +252 -0
- package/src/git.ts +262 -0
- package/src/index.ts +284 -0
- package/src/logger.ts +93 -0
- package/src/probe.ts +327 -0
- package/src/reporter.ts +214 -0
- package/src/runner.ts +902 -0
- package/src/types.ts +155 -0
- package/tsconfig.json +30 -0
|
@@ -0,0 +1,466 @@
|
|
|
1
|
+
@actions/core
|
|
2
|
+
MIT
|
|
3
|
+
The MIT License (MIT)
|
|
4
|
+
|
|
5
|
+
Copyright 2019 GitHub
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
8
|
+
|
|
9
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
10
|
+
|
|
11
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
12
|
+
|
|
13
|
+
@actions/exec
|
|
14
|
+
MIT
|
|
15
|
+
The MIT License (MIT)
|
|
16
|
+
|
|
17
|
+
Copyright 2019 GitHub
|
|
18
|
+
|
|
19
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
20
|
+
|
|
21
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
22
|
+
|
|
23
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
24
|
+
|
|
25
|
+
@actions/http-client
|
|
26
|
+
MIT
|
|
27
|
+
Actions Http Client for Node.js
|
|
28
|
+
|
|
29
|
+
Copyright (c) GitHub, Inc.
|
|
30
|
+
|
|
31
|
+
All rights reserved.
|
|
32
|
+
|
|
33
|
+
MIT License
|
|
34
|
+
|
|
35
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
|
|
36
|
+
associated documentation files (the "Software"), to deal in the Software without restriction,
|
|
37
|
+
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
38
|
+
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
|
|
39
|
+
subject to the following conditions:
|
|
40
|
+
|
|
41
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
42
|
+
|
|
43
|
+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
|
44
|
+
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
45
|
+
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
46
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
47
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
@actions/io
|
|
51
|
+
MIT
|
|
52
|
+
The MIT License (MIT)
|
|
53
|
+
|
|
54
|
+
Copyright 2019 GitHub
|
|
55
|
+
|
|
56
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
57
|
+
|
|
58
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
59
|
+
|
|
60
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
61
|
+
|
|
62
|
+
@modelcontextprotocol/sdk
|
|
63
|
+
MIT
|
|
64
|
+
MIT License
|
|
65
|
+
|
|
66
|
+
Copyright (c) 2024 Anthropic, PBC
|
|
67
|
+
|
|
68
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
69
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
70
|
+
in the Software without restriction, including without limitation the rights
|
|
71
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
72
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
73
|
+
furnished to do so, subject to the following conditions:
|
|
74
|
+
|
|
75
|
+
The above copyright notice and this permission notice shall be included in all
|
|
76
|
+
copies or substantial portions of the Software.
|
|
77
|
+
|
|
78
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
79
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
80
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
81
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
82
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
83
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
84
|
+
SOFTWARE.
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
ajv
|
|
88
|
+
MIT
|
|
89
|
+
The MIT License (MIT)
|
|
90
|
+
|
|
91
|
+
Copyright (c) 2015-2021 Evgeny Poberezkin
|
|
92
|
+
|
|
93
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
94
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
95
|
+
in the Software without restriction, including without limitation the rights
|
|
96
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
97
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
98
|
+
furnished to do so, subject to the following conditions:
|
|
99
|
+
|
|
100
|
+
The above copyright notice and this permission notice shall be included in all
|
|
101
|
+
copies or substantial portions of the Software.
|
|
102
|
+
|
|
103
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
104
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
105
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
106
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
107
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
108
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
109
|
+
SOFTWARE.
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
ajv-formats
|
|
114
|
+
MIT
|
|
115
|
+
MIT License
|
|
116
|
+
|
|
117
|
+
Copyright (c) 2020 Evgeny Poberezkin
|
|
118
|
+
|
|
119
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
120
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
121
|
+
in the Software without restriction, including without limitation the rights
|
|
122
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
123
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
124
|
+
furnished to do so, subject to the following conditions:
|
|
125
|
+
|
|
126
|
+
The above copyright notice and this permission notice shall be included in all
|
|
127
|
+
copies or substantial portions of the Software.
|
|
128
|
+
|
|
129
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
130
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
131
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
132
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
133
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
134
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
135
|
+
SOFTWARE.
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
cross-spawn
|
|
139
|
+
MIT
|
|
140
|
+
The MIT License (MIT)
|
|
141
|
+
|
|
142
|
+
Copyright (c) 2018 Made With MOXY Lda <hello@moxy.studio>
|
|
143
|
+
|
|
144
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
145
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
146
|
+
in the Software without restriction, including without limitation the rights
|
|
147
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
148
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
149
|
+
furnished to do so, subject to the following conditions:
|
|
150
|
+
|
|
151
|
+
The above copyright notice and this permission notice shall be included in
|
|
152
|
+
all copies or substantial portions of the Software.
|
|
153
|
+
|
|
154
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
155
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
156
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
157
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
158
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
159
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
160
|
+
THE SOFTWARE.
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
eventsource-parser
|
|
164
|
+
MIT
|
|
165
|
+
MIT License
|
|
166
|
+
|
|
167
|
+
Copyright (c) 2025 Espen Hovlandsdal <espen@hovlandsdal.com>
|
|
168
|
+
|
|
169
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
170
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
171
|
+
in the Software without restriction, including without limitation the rights
|
|
172
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
173
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
174
|
+
furnished to do so, subject to the following conditions:
|
|
175
|
+
|
|
176
|
+
The above copyright notice and this permission notice shall be included in all
|
|
177
|
+
copies or substantial portions of the Software.
|
|
178
|
+
|
|
179
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
180
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
181
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
182
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
183
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
184
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
185
|
+
SOFTWARE.
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
fast-deep-equal
|
|
189
|
+
MIT
|
|
190
|
+
MIT License
|
|
191
|
+
|
|
192
|
+
Copyright (c) 2017 Evgeny Poberezkin
|
|
193
|
+
|
|
194
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
195
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
196
|
+
in the Software without restriction, including without limitation the rights
|
|
197
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
198
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
199
|
+
furnished to do so, subject to the following conditions:
|
|
200
|
+
|
|
201
|
+
The above copyright notice and this permission notice shall be included in all
|
|
202
|
+
copies or substantial portions of the Software.
|
|
203
|
+
|
|
204
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
205
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
206
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
207
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
208
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
209
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
210
|
+
SOFTWARE.
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
fast-uri
|
|
214
|
+
BSD-3-Clause
|
|
215
|
+
Copyright (c) 2011-2021, Gary Court until https://github.com/garycourt/uri-js/commit/a1acf730b4bba3f1097c9f52e7d9d3aba8cdcaae
|
|
216
|
+
Copyright (c) 2021-present The Fastify team
|
|
217
|
+
All rights reserved.
|
|
218
|
+
|
|
219
|
+
The Fastify team members are listed at https://github.com/fastify/fastify#team.
|
|
220
|
+
|
|
221
|
+
Redistribution and use in source and binary forms, with or without
|
|
222
|
+
modification, are permitted provided that the following conditions are met:
|
|
223
|
+
* Redistributions of source code must retain the above copyright
|
|
224
|
+
notice, this list of conditions and the following disclaimer.
|
|
225
|
+
* Redistributions in binary form must reproduce the above copyright
|
|
226
|
+
notice, this list of conditions and the following disclaimer in the
|
|
227
|
+
documentation and/or other materials provided with the distribution.
|
|
228
|
+
* The names of any contributors may not be used to endorse or promote
|
|
229
|
+
products derived from this software without specific prior written
|
|
230
|
+
permission.
|
|
231
|
+
|
|
232
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
233
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
234
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
235
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY
|
|
236
|
+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
237
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
238
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
239
|
+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
240
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
241
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
242
|
+
|
|
243
|
+
* * *
|
|
244
|
+
|
|
245
|
+
The complete list of contributors can be found at:
|
|
246
|
+
- https://github.com/garycourt/uri-js/graphs/contributors
|
|
247
|
+
|
|
248
|
+
isexe
|
|
249
|
+
ISC
|
|
250
|
+
The ISC License
|
|
251
|
+
|
|
252
|
+
Copyright (c) Isaac Z. Schlueter and Contributors
|
|
253
|
+
|
|
254
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
255
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
256
|
+
copyright notice and this permission notice appear in all copies.
|
|
257
|
+
|
|
258
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
259
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
260
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
261
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
262
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
263
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
264
|
+
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
json-schema-traverse
|
|
268
|
+
MIT
|
|
269
|
+
MIT License
|
|
270
|
+
|
|
271
|
+
Copyright (c) 2017 Evgeny Poberezkin
|
|
272
|
+
|
|
273
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
274
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
275
|
+
in the Software without restriction, including without limitation the rights
|
|
276
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
277
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
278
|
+
furnished to do so, subject to the following conditions:
|
|
279
|
+
|
|
280
|
+
The above copyright notice and this permission notice shall be included in all
|
|
281
|
+
copies or substantial portions of the Software.
|
|
282
|
+
|
|
283
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
284
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
285
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
286
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
287
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
288
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
289
|
+
SOFTWARE.
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
path-key
|
|
293
|
+
MIT
|
|
294
|
+
MIT License
|
|
295
|
+
|
|
296
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
297
|
+
|
|
298
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
299
|
+
|
|
300
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
301
|
+
|
|
302
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
pkce-challenge
|
|
306
|
+
MIT
|
|
307
|
+
MIT License
|
|
308
|
+
|
|
309
|
+
Copyright (c) 2019
|
|
310
|
+
|
|
311
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
312
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
313
|
+
in the Software without restriction, including without limitation the rights
|
|
314
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
315
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
316
|
+
furnished to do so, subject to the following conditions:
|
|
317
|
+
|
|
318
|
+
The above copyright notice and this permission notice shall be included in all
|
|
319
|
+
copies or substantial portions of the Software.
|
|
320
|
+
|
|
321
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
322
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
323
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
324
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
325
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
326
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
327
|
+
SOFTWARE.
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
shebang-command
|
|
331
|
+
MIT
|
|
332
|
+
MIT License
|
|
333
|
+
|
|
334
|
+
Copyright (c) Kevin Mårtensson <kevinmartensson@gmail.com> (github.com/kevva)
|
|
335
|
+
|
|
336
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
337
|
+
|
|
338
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
339
|
+
|
|
340
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
shebang-regex
|
|
344
|
+
MIT
|
|
345
|
+
MIT License
|
|
346
|
+
|
|
347
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
348
|
+
|
|
349
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
350
|
+
|
|
351
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
352
|
+
|
|
353
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
tunnel
|
|
357
|
+
MIT
|
|
358
|
+
The MIT License (MIT)
|
|
359
|
+
|
|
360
|
+
Copyright (c) 2012 Koichi Kobayashi
|
|
361
|
+
|
|
362
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
363
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
364
|
+
in the Software without restriction, including without limitation the rights
|
|
365
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
366
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
367
|
+
furnished to do so, subject to the following conditions:
|
|
368
|
+
|
|
369
|
+
The above copyright notice and this permission notice shall be included in
|
|
370
|
+
all copies or substantial portions of the Software.
|
|
371
|
+
|
|
372
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
373
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
374
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
375
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
376
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
377
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
378
|
+
THE SOFTWARE.
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
undici
|
|
382
|
+
MIT
|
|
383
|
+
MIT License
|
|
384
|
+
|
|
385
|
+
Copyright (c) Matteo Collina and Undici contributors
|
|
386
|
+
|
|
387
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
388
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
389
|
+
in the Software without restriction, including without limitation the rights
|
|
390
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
391
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
392
|
+
furnished to do so, subject to the following conditions:
|
|
393
|
+
|
|
394
|
+
The above copyright notice and this permission notice shall be included in all
|
|
395
|
+
copies or substantial portions of the Software.
|
|
396
|
+
|
|
397
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
398
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
399
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
400
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
401
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
402
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
403
|
+
SOFTWARE.
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
which
|
|
407
|
+
ISC
|
|
408
|
+
The ISC License
|
|
409
|
+
|
|
410
|
+
Copyright (c) Isaac Z. Schlueter and Contributors
|
|
411
|
+
|
|
412
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
413
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
414
|
+
copyright notice and this permission notice appear in all copies.
|
|
415
|
+
|
|
416
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
417
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
418
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
419
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
420
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
421
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
422
|
+
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
zod
|
|
426
|
+
MIT
|
|
427
|
+
MIT License
|
|
428
|
+
|
|
429
|
+
Copyright (c) 2025 Colin McDonnell
|
|
430
|
+
|
|
431
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
432
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
433
|
+
in the Software without restriction, including without limitation the rights
|
|
434
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
435
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
436
|
+
furnished to do so, subject to the following conditions:
|
|
437
|
+
|
|
438
|
+
The above copyright notice and this permission notice shall be included in all
|
|
439
|
+
copies or substantial portions of the Software.
|
|
440
|
+
|
|
441
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
442
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
443
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
444
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
445
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
446
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
447
|
+
SOFTWARE.
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
zod-to-json-schema
|
|
451
|
+
ISC
|
|
452
|
+
ISC License
|
|
453
|
+
|
|
454
|
+
Copyright (c) 2020, Stefan Terdell
|
|
455
|
+
|
|
456
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
457
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
458
|
+
copyright notice and this permission notice appear in all copies.
|
|
459
|
+
|
|
460
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
461
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
462
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
463
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
464
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
465
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
466
|
+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Logger abstraction - works in both CLI and GitHub Actions contexts
|
|
3
|
+
*/
|
|
4
|
+
export interface Logger {
|
|
5
|
+
info(message: string): void;
|
|
6
|
+
warning(message: string): void;
|
|
7
|
+
error(message: string): void;
|
|
8
|
+
debug(message: string): void;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* GitHub Actions logger - wraps @actions/core
|
|
12
|
+
*/
|
|
13
|
+
export declare class ActionsLogger implements Logger {
|
|
14
|
+
info(message: string): void;
|
|
15
|
+
warning(message: string): void;
|
|
16
|
+
error(message: string): void;
|
|
17
|
+
debug(message: string): void;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Console logger for CLI usage
|
|
21
|
+
*/
|
|
22
|
+
export declare class ConsoleLogger implements Logger {
|
|
23
|
+
private verbose;
|
|
24
|
+
constructor(verbose?: boolean);
|
|
25
|
+
info(message: string): void;
|
|
26
|
+
warning(message: string): void;
|
|
27
|
+
error(message: string): void;
|
|
28
|
+
debug(message: string): void;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Quiet logger - only outputs errors
|
|
32
|
+
*/
|
|
33
|
+
export declare class QuietLogger implements Logger {
|
|
34
|
+
info(_message: string): void;
|
|
35
|
+
warning(_message: string): void;
|
|
36
|
+
error(message: string): void;
|
|
37
|
+
debug(_message: string): void;
|
|
38
|
+
}
|
|
39
|
+
export declare function setLogger(logger: Logger): void;
|
|
40
|
+
export declare function getLogger(): Logger;
|
|
41
|
+
export declare const log: {
|
|
42
|
+
info: (message: string) => void;
|
|
43
|
+
warning: (message: string) => void;
|
|
44
|
+
error: (message: string) => void;
|
|
45
|
+
debug: (message: string) => void;
|
|
46
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MCP Server Probe
|
|
3
|
+
*
|
|
4
|
+
* Probes an MCP server and collects capability snapshots.
|
|
5
|
+
*/
|
|
6
|
+
import type { ProbeResult, CustomMessage } from "./types.js";
|
|
7
|
+
export interface ProbeOptions {
|
|
8
|
+
transport: "stdio" | "streamable-http";
|
|
9
|
+
command?: string;
|
|
10
|
+
args?: string[];
|
|
11
|
+
url?: string;
|
|
12
|
+
headers?: Record<string, string>;
|
|
13
|
+
workingDir?: string;
|
|
14
|
+
envVars?: Record<string, string>;
|
|
15
|
+
customMessages?: CustomMessage[];
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Probes an MCP server and returns capability snapshots
|
|
19
|
+
*/
|
|
20
|
+
export declare function probeServer(options: ProbeOptions): Promise<ProbeResult>;
|
|
21
|
+
/**
|
|
22
|
+
* Normalize a probe result for comparison by sorting keys and arrays recursively.
|
|
23
|
+
* Also handles embedded JSON strings in "text" fields (from tool call responses).
|
|
24
|
+
*
|
|
25
|
+
* Sorting strategy:
|
|
26
|
+
* - Object keys: sorted alphabetically
|
|
27
|
+
* - Arrays of objects: sorted by primary key (name, uri, type) for deterministic output
|
|
28
|
+
* - Primitive arrays: sorted by string representation
|
|
29
|
+
* - Embedded JSON in "text" fields: parsed, normalized, and re-serialized
|
|
30
|
+
*/
|
|
31
|
+
export declare function normalizeProbeResult(result: unknown): unknown;
|
|
32
|
+
/**
|
|
33
|
+
* Convert probe result to a map of endpoint -> JSON string
|
|
34
|
+
*/
|
|
35
|
+
export declare function probeResultToFiles(result: ProbeResult): Map<string, string>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Report generator for MCP server diff
|
|
3
|
+
*/
|
|
4
|
+
import type { TestResult, ConformanceReport } from "./types.js";
|
|
5
|
+
/**
|
|
6
|
+
* Generate a diff report from test results
|
|
7
|
+
*/
|
|
8
|
+
export declare function generateReport(results: TestResult[], currentBranch: string, compareRef: string): ConformanceReport;
|
|
9
|
+
/**
|
|
10
|
+
* Generate markdown report
|
|
11
|
+
*/
|
|
12
|
+
export declare function generateMarkdownReport(report: ConformanceReport): string;
|
|
13
|
+
/**
|
|
14
|
+
* Save report to file and set outputs
|
|
15
|
+
*/
|
|
16
|
+
export declare function saveReport(report: ConformanceReport, markdown: string, outputDir: string): void;
|
|
17
|
+
/**
|
|
18
|
+
* Write a simple summary for PR comments
|
|
19
|
+
*/
|
|
20
|
+
export declare function generatePRSummary(report: ConformanceReport): string;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Test runner for MCP server diff
|
|
3
|
+
*/
|
|
4
|
+
import type { TestConfiguration, ActionInputs, TestResult, CustomMessage } from "./types.js";
|
|
5
|
+
interface RunContext {
|
|
6
|
+
workDir: string;
|
|
7
|
+
inputs: ActionInputs;
|
|
8
|
+
compareRef: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Parse configurations from input
|
|
12
|
+
*/
|
|
13
|
+
export declare function parseConfigurations(input: string | undefined, defaultTransport: "stdio" | "streamable-http", defaultCommand: string, defaultUrl: string): TestConfiguration[];
|
|
14
|
+
/**
|
|
15
|
+
* Parse custom messages from input
|
|
16
|
+
*/
|
|
17
|
+
export declare function parseCustomMessages(input: string | undefined): CustomMessage[];
|
|
18
|
+
/**
|
|
19
|
+
* Parse headers from input (JSON object or KEY=value format, newline separated)
|
|
20
|
+
*/
|
|
21
|
+
export declare function parseHeaders(input: string | undefined): Record<string, string>;
|
|
22
|
+
/**
|
|
23
|
+
* Parse environment variables from string (KEY=value format, newline separated)
|
|
24
|
+
*/
|
|
25
|
+
export declare function parseEnvVars(input?: string): Record<string, string>;
|
|
26
|
+
/**
|
|
27
|
+
* Run all diff tests using the "probe all, then compare" approach
|
|
28
|
+
*/
|
|
29
|
+
export declare function runAllTests(ctx: RunContext): Promise<TestResult[]>;
|
|
30
|
+
export {};
|