@fenfill/mcp 0.0.1 → 0.2.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/LICENSE +26 -0
- package/README.md +346 -4
- package/THIRD_PARTY_NOTICES +1172 -0
- package/dist/fonts/DejaVuSans.ttf +0 -0
- package/dist/fonts/Inter-Regular.ttf +0 -0
- package/dist/index.js +143688 -0
- package/dist/pdfium.wasm +0 -0
- package/licenses/DejaVu-LICENSE.txt +187 -0
- package/licenses/Inter-OFL.txt +92 -0
- package/licenses/PDFium-LICENSE.txt +196 -0
- package/licenses/PDFium-third-party.txt +591 -0
- package/package.json +52 -5
|
@@ -0,0 +1,591 @@
|
|
|
1
|
+
Third-party code compiled into dist/pdfium.wasm
|
|
2
|
+
================================================
|
|
3
|
+
|
|
4
|
+
dist/pdfium.wasm is PDFium (https://pdfium.googlesource.com/pdfium/) built for
|
|
5
|
+
WebAssembly by the @embedpdf/pdfium package (MIT, see THIRD_PARTY_NOTICES).
|
|
6
|
+
PDFium's own license is in PDFium-LICENSE.txt. PDFium's build compiles in the
|
|
7
|
+
libraries below; their notices follow, as published upstream. (This software
|
|
8
|
+
is based in part on the work of the Independent JPEG Group. Portions of this
|
|
9
|
+
software are copyright The FreeType Project (www.freetype.org). All rights
|
|
10
|
+
reserved.)
|
|
11
|
+
|
|
12
|
+
FreeType ............................ FreeType License (FTL)
|
|
13
|
+
libjpeg-turbo ....................... IJG License + Modified (3-clause) BSD
|
|
14
|
+
OpenJPEG ............................ BSD 2-Clause
|
|
15
|
+
Little CMS (lcms2) .................. MIT
|
|
16
|
+
libpng .............................. PNG Reference Library License v2
|
|
17
|
+
zlib ................................ zlib License
|
|
18
|
+
Anti-Grain Geometry 2.3 (agg23) ..... AGG 2.3 license (permissive)
|
|
19
|
+
fast_float .......................... MIT
|
|
20
|
+
dragonbox ........................... Boost Software License 1.0
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
------------------------------------------------------------------------
|
|
24
|
+
FreeType
|
|
25
|
+
------------------------------------------------------------------------
|
|
26
|
+
The FreeType Project LICENSE
|
|
27
|
+
----------------------------
|
|
28
|
+
|
|
29
|
+
2006-Jan-27
|
|
30
|
+
|
|
31
|
+
Copyright 1996-2002, 2006 by
|
|
32
|
+
David Turner, Robert Wilhelm, and Werner Lemberg
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
Introduction
|
|
37
|
+
============
|
|
38
|
+
|
|
39
|
+
The FreeType Project is distributed in several archive packages;
|
|
40
|
+
some of them may contain, in addition to the FreeType font engine,
|
|
41
|
+
various tools and contributions which rely on, or relate to, the
|
|
42
|
+
FreeType Project.
|
|
43
|
+
|
|
44
|
+
This license applies to all files found in such packages, and
|
|
45
|
+
which do not fall under their own explicit license. The license
|
|
46
|
+
affects thus the FreeType font engine, the test programs,
|
|
47
|
+
documentation and makefiles, at the very least.
|
|
48
|
+
|
|
49
|
+
This license was inspired by the BSD, Artistic, and IJG
|
|
50
|
+
(Independent JPEG Group) licenses, which all encourage inclusion
|
|
51
|
+
and use of free software in commercial and freeware products
|
|
52
|
+
alike. As a consequence, its main points are that:
|
|
53
|
+
|
|
54
|
+
o We don't promise that this software works. However, we will be
|
|
55
|
+
interested in any kind of bug reports. (`as is' distribution)
|
|
56
|
+
|
|
57
|
+
o You can use this software for whatever you want, in parts or
|
|
58
|
+
full form, without having to pay us. (`royalty-free' usage)
|
|
59
|
+
|
|
60
|
+
o You may not pretend that you wrote this software. If you use
|
|
61
|
+
it, or only parts of it, in a program, you must acknowledge
|
|
62
|
+
somewhere in your documentation that you have used the
|
|
63
|
+
FreeType code. (`credits')
|
|
64
|
+
|
|
65
|
+
We specifically permit and encourage the inclusion of this
|
|
66
|
+
software, with or without modifications, in commercial products.
|
|
67
|
+
We disclaim all warranties covering The FreeType Project and
|
|
68
|
+
assume no liability related to The FreeType Project.
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
Finally, many people asked us for a preferred form for a
|
|
72
|
+
credit/disclaimer to use in compliance with this license. We thus
|
|
73
|
+
encourage you to use the following text:
|
|
74
|
+
|
|
75
|
+
"""
|
|
76
|
+
Portions of this software are copyright © <year> The FreeType
|
|
77
|
+
Project (https://freetype.org). All rights reserved.
|
|
78
|
+
"""
|
|
79
|
+
|
|
80
|
+
Please replace <year> with the value from the FreeType version you
|
|
81
|
+
actually use.
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
Legal Terms
|
|
85
|
+
===========
|
|
86
|
+
|
|
87
|
+
0. Definitions
|
|
88
|
+
--------------
|
|
89
|
+
|
|
90
|
+
Throughout this license, the terms `package', `FreeType Project',
|
|
91
|
+
and `FreeType archive' refer to the set of files originally
|
|
92
|
+
distributed by the authors (David Turner, Robert Wilhelm, and
|
|
93
|
+
Werner Lemberg) as the `FreeType Project', be they named as alpha,
|
|
94
|
+
beta or final release.
|
|
95
|
+
|
|
96
|
+
`You' refers to the licensee, or person using the project, where
|
|
97
|
+
`using' is a generic term including compiling the project's source
|
|
98
|
+
code as well as linking it to form a `program' or `executable'.
|
|
99
|
+
This program is referred to as `a program using the FreeType
|
|
100
|
+
engine'.
|
|
101
|
+
|
|
102
|
+
This license applies to all files distributed in the original
|
|
103
|
+
FreeType Project, including all source code, binaries and
|
|
104
|
+
documentation, unless otherwise stated in the file in its
|
|
105
|
+
original, unmodified form as distributed in the original archive.
|
|
106
|
+
If you are unsure whether or not a particular file is covered by
|
|
107
|
+
this license, you must contact us to verify this.
|
|
108
|
+
|
|
109
|
+
The FreeType Project is copyright (C) 1996-2000 by David Turner,
|
|
110
|
+
Robert Wilhelm, and Werner Lemberg. All rights reserved except as
|
|
111
|
+
specified below.
|
|
112
|
+
|
|
113
|
+
1. No Warranty
|
|
114
|
+
--------------
|
|
115
|
+
|
|
116
|
+
THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT WARRANTY OF ANY
|
|
117
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
|
118
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
119
|
+
PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS
|
|
120
|
+
BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO
|
|
121
|
+
USE, OF THE FREETYPE PROJECT.
|
|
122
|
+
|
|
123
|
+
2. Redistribution
|
|
124
|
+
-----------------
|
|
125
|
+
|
|
126
|
+
This license grants a worldwide, royalty-free, perpetual and
|
|
127
|
+
irrevocable right and license to use, execute, perform, compile,
|
|
128
|
+
display, copy, create derivative works of, distribute and
|
|
129
|
+
sublicense the FreeType Project (in both source and object code
|
|
130
|
+
forms) and derivative works thereof for any purpose; and to
|
|
131
|
+
authorize others to exercise some or all of the rights granted
|
|
132
|
+
herein, subject to the following conditions:
|
|
133
|
+
|
|
134
|
+
o Redistribution of source code must retain this license file
|
|
135
|
+
(`FTL.TXT') unaltered; any additions, deletions or changes to
|
|
136
|
+
the original files must be clearly indicated in accompanying
|
|
137
|
+
documentation. The copyright notices of the unaltered,
|
|
138
|
+
original files must be preserved in all copies of source
|
|
139
|
+
files.
|
|
140
|
+
|
|
141
|
+
o Redistribution in binary form must provide a disclaimer that
|
|
142
|
+
states that the software is based in part of the work of the
|
|
143
|
+
FreeType Team, in the distribution documentation. We also
|
|
144
|
+
encourage you to put an URL to the FreeType web page in your
|
|
145
|
+
documentation, though this isn't mandatory.
|
|
146
|
+
|
|
147
|
+
These conditions apply to any software derived from or based on
|
|
148
|
+
the FreeType Project, not just the unmodified files. If you use
|
|
149
|
+
our work, you must acknowledge us. However, no fee need be paid
|
|
150
|
+
to us.
|
|
151
|
+
|
|
152
|
+
3. Advertising
|
|
153
|
+
--------------
|
|
154
|
+
|
|
155
|
+
Neither the FreeType authors and contributors nor you shall use
|
|
156
|
+
the name of the other for commercial, advertising, or promotional
|
|
157
|
+
purposes without specific prior written permission.
|
|
158
|
+
|
|
159
|
+
We suggest, but do not require, that you use one or more of the
|
|
160
|
+
following phrases to refer to this software in your documentation
|
|
161
|
+
or advertising materials: `FreeType Project', `FreeType Engine',
|
|
162
|
+
`FreeType library', or `FreeType Distribution'.
|
|
163
|
+
|
|
164
|
+
As you have not signed this license, you are not required to
|
|
165
|
+
accept it. However, as the FreeType Project is copyrighted
|
|
166
|
+
material, only this license, or another one contracted with the
|
|
167
|
+
authors, grants you the right to use, distribute, and modify it.
|
|
168
|
+
Therefore, by using, distributing, or modifying the FreeType
|
|
169
|
+
Project, you indicate that you understand and accept all the terms
|
|
170
|
+
of this license.
|
|
171
|
+
|
|
172
|
+
4. Contacts
|
|
173
|
+
-----------
|
|
174
|
+
|
|
175
|
+
There are two mailing lists related to FreeType:
|
|
176
|
+
|
|
177
|
+
o freetype@nongnu.org
|
|
178
|
+
|
|
179
|
+
Discusses general use and applications of FreeType, as well as
|
|
180
|
+
future and wanted additions to the library and distribution.
|
|
181
|
+
If you are looking for support, start in this list if you
|
|
182
|
+
haven't found anything to help you in the documentation.
|
|
183
|
+
|
|
184
|
+
o freetype-devel@nongnu.org
|
|
185
|
+
|
|
186
|
+
Discusses bugs, as well as engine internals, design issues,
|
|
187
|
+
specific licenses, porting, etc.
|
|
188
|
+
|
|
189
|
+
Our home page can be found at
|
|
190
|
+
|
|
191
|
+
https://freetype.org
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
--- end of FTL.TXT ---
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
------------------------------------------------------------------------
|
|
198
|
+
libjpeg-turbo: IJG License (README.ijg, LEGAL ISSUES)
|
|
199
|
+
------------------------------------------------------------------------
|
|
200
|
+
|
|
201
|
+
In plain English:
|
|
202
|
+
|
|
203
|
+
1. We don't promise that this software works. (But if you find any bugs,
|
|
204
|
+
please let us know!)
|
|
205
|
+
2. You can use this software for whatever you want. You don't have to pay us.
|
|
206
|
+
3. You may not pretend that you wrote this software. If you use it in a
|
|
207
|
+
program, you must acknowledge somewhere in your documentation that
|
|
208
|
+
you've used the IJG code.
|
|
209
|
+
|
|
210
|
+
In legalese:
|
|
211
|
+
|
|
212
|
+
The authors make NO WARRANTY or representation, either express or implied,
|
|
213
|
+
with respect to this software, its quality, accuracy, merchantability, or
|
|
214
|
+
fitness for a particular purpose. This software is provided "AS IS", and you,
|
|
215
|
+
its user, assume the entire risk as to its quality and accuracy.
|
|
216
|
+
|
|
217
|
+
This software is copyright (C) 1991-2020, Thomas G. Lane, Guido Vollbeding.
|
|
218
|
+
All Rights Reserved except as specified below.
|
|
219
|
+
|
|
220
|
+
Permission is hereby granted to use, copy, modify, and distribute this
|
|
221
|
+
software (or portions thereof) for any purpose, without fee, subject to these
|
|
222
|
+
conditions:
|
|
223
|
+
(1) If any part of the source code for this software is distributed, then this
|
|
224
|
+
README file must be included, with this copyright and no-warranty notice
|
|
225
|
+
unaltered; and any additions, deletions, or changes to the original files
|
|
226
|
+
must be clearly indicated in accompanying documentation.
|
|
227
|
+
(2) If only executable code is distributed, then the accompanying
|
|
228
|
+
documentation must state that "this software is based in part on the work of
|
|
229
|
+
the Independent JPEG Group".
|
|
230
|
+
(3) Permission for use of this software is granted only if the user accepts
|
|
231
|
+
full responsibility for any undesirable consequences; the authors accept
|
|
232
|
+
NO LIABILITY for damages of any kind.
|
|
233
|
+
|
|
234
|
+
These conditions apply to any software derived from or based on the IJG code,
|
|
235
|
+
not just to the unmodified library. If you use our work, you ought to
|
|
236
|
+
acknowledge us.
|
|
237
|
+
|
|
238
|
+
Permission is NOT granted for the use of any IJG author's name or company name
|
|
239
|
+
in advertising or publicity relating to this software or products derived from
|
|
240
|
+
it. This software may be referred to only as "the Independent JPEG Group's
|
|
241
|
+
software".
|
|
242
|
+
|
|
243
|
+
We specifically permit and encourage the use of this software as the basis of
|
|
244
|
+
commercial products, provided that all warranty or liability claims are
|
|
245
|
+
assumed by the product vendor.
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
------------------------------------------------------------------------
|
|
250
|
+
libjpeg-turbo: Modified (3-clause) BSD License
|
|
251
|
+
------------------------------------------------------------------------
|
|
252
|
+
|
|
253
|
+
Copyright (C) 2009-2026 D. R. Commander
|
|
254
|
+
|
|
255
|
+
Redistribution and use in source and binary forms, with or without
|
|
256
|
+
modification, are permitted provided that the following conditions are met:
|
|
257
|
+
|
|
258
|
+
- Redistributions of source code must retain the above copyright notice,
|
|
259
|
+
this list of conditions and the following disclaimer.
|
|
260
|
+
- Redistributions in binary form must reproduce the above copyright notice,
|
|
261
|
+
this list of conditions and the following disclaimer in the documentation
|
|
262
|
+
and/or other materials provided with the distribution.
|
|
263
|
+
- Neither the name of the libjpeg-turbo Project nor the names of its
|
|
264
|
+
contributors may be used to endorse or promote products derived from this
|
|
265
|
+
software without specific prior written permission.
|
|
266
|
+
|
|
267
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS",
|
|
268
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
269
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
270
|
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
|
|
271
|
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
272
|
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
273
|
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
274
|
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
275
|
+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
276
|
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
277
|
+
POSSIBILITY OF SUCH DAMAGE.
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
------------------------------------------------------------------------
|
|
281
|
+
OpenJPEG
|
|
282
|
+
------------------------------------------------------------------------
|
|
283
|
+
/*
|
|
284
|
+
* The copyright in this software is being made available under the 2-clauses
|
|
285
|
+
* BSD License, included below. This software may be subject to other third
|
|
286
|
+
* party and contributor rights, including patent rights, and no such rights
|
|
287
|
+
* are granted under this license.
|
|
288
|
+
*
|
|
289
|
+
* Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium
|
|
290
|
+
* Copyright (c) 2002-2014, Professor Benoit Macq
|
|
291
|
+
* Copyright (c) 2003-2014, Antonin Descampe
|
|
292
|
+
* Copyright (c) 2003-2009, Francois-Olivier Devaux
|
|
293
|
+
* Copyright (c) 2005, Herve Drolon, FreeImage Team
|
|
294
|
+
* Copyright (c) 2002-2003, Yannick Verschueren
|
|
295
|
+
* Copyright (c) 2001-2003, David Janssens
|
|
296
|
+
* Copyright (c) 2011-2012, Centre National d'Etudes Spatiales (CNES), France
|
|
297
|
+
* Copyright (c) 2012, CS Systemes d'Information, France
|
|
298
|
+
*
|
|
299
|
+
* All rights reserved.
|
|
300
|
+
*
|
|
301
|
+
* Redistribution and use in source and binary forms, with or without
|
|
302
|
+
* modification, are permitted provided that the following conditions
|
|
303
|
+
* are met:
|
|
304
|
+
* 1. Redistributions of source code must retain the above copyright
|
|
305
|
+
* notice, this list of conditions and the following disclaimer.
|
|
306
|
+
* 2. Redistributions in binary form must reproduce the above copyright
|
|
307
|
+
* notice, this list of conditions and the following disclaimer in the
|
|
308
|
+
* documentation and/or other materials provided with the distribution.
|
|
309
|
+
*
|
|
310
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'
|
|
311
|
+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
312
|
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
313
|
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
|
314
|
+
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
315
|
+
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
316
|
+
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
317
|
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
318
|
+
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
319
|
+
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
320
|
+
* POSSIBILITY OF SUCH DAMAGE.
|
|
321
|
+
*/
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
------------------------------------------------------------------------
|
|
325
|
+
Little CMS (lcms2)
|
|
326
|
+
------------------------------------------------------------------------
|
|
327
|
+
MIT License
|
|
328
|
+
|
|
329
|
+
Copyright (c) 2023 Marti Maria Saguer
|
|
330
|
+
|
|
331
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
332
|
+
a copy of this software and associated documentation files (the
|
|
333
|
+
"Software"), to deal in the Software without restriction, including
|
|
334
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
335
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
336
|
+
permit persons to whom the Software is furnished to do so, subject
|
|
337
|
+
to the following conditions:
|
|
338
|
+
|
|
339
|
+
The above copyright notice and this permission notice shall be
|
|
340
|
+
included in all copies or substantial portions of the Software.
|
|
341
|
+
|
|
342
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
343
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
344
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
345
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
346
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
347
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
348
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
------------------------------------------------------------------------
|
|
352
|
+
libpng
|
|
353
|
+
------------------------------------------------------------------------
|
|
354
|
+
COPYRIGHT NOTICE, DISCLAIMER, and LICENSE
|
|
355
|
+
=========================================
|
|
356
|
+
|
|
357
|
+
PNG Reference Library License version 2
|
|
358
|
+
---------------------------------------
|
|
359
|
+
|
|
360
|
+
* Copyright (c) 1995-2026 The PNG Reference Library Authors.
|
|
361
|
+
* Copyright (c) 2018-2026 Cosmin Truta.
|
|
362
|
+
* Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson.
|
|
363
|
+
* Copyright (c) 1996-1997 Andreas Dilger.
|
|
364
|
+
* Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
|
|
365
|
+
|
|
366
|
+
The software is supplied "as is", without warranty of any kind,
|
|
367
|
+
express or implied, including, without limitation, the warranties
|
|
368
|
+
of merchantability, fitness for a particular purpose, title, and
|
|
369
|
+
non-infringement. In no event shall the Copyright owners, or
|
|
370
|
+
anyone distributing the software, be liable for any damages or
|
|
371
|
+
other liability, whether in contract, tort or otherwise, arising
|
|
372
|
+
from, out of, or in connection with the software, or the use or
|
|
373
|
+
other dealings in the software, even if advised of the possibility
|
|
374
|
+
of such damage.
|
|
375
|
+
|
|
376
|
+
Permission is hereby granted to use, copy, modify, and distribute
|
|
377
|
+
this software, or portions hereof, for any purpose, without fee,
|
|
378
|
+
subject to the following restrictions:
|
|
379
|
+
|
|
380
|
+
1. The origin of this software must not be misrepresented; you
|
|
381
|
+
must not claim that you wrote the original software. If you
|
|
382
|
+
use this software in a product, an acknowledgment in the product
|
|
383
|
+
documentation would be appreciated, but is not required.
|
|
384
|
+
|
|
385
|
+
2. Altered source versions must be plainly marked as such, and must
|
|
386
|
+
not be misrepresented as being the original software.
|
|
387
|
+
|
|
388
|
+
3. This Copyright notice may not be removed or altered from any
|
|
389
|
+
source or altered source distribution.
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
PNG Reference Library License version 1 (for libpng 0.5 through 1.6.35)
|
|
393
|
+
-----------------------------------------------------------------------
|
|
394
|
+
|
|
395
|
+
libpng versions 1.0.7, July 1, 2000, through 1.6.35, July 15, 2018 are
|
|
396
|
+
Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson, are
|
|
397
|
+
derived from libpng-1.0.6, and are distributed according to the same
|
|
398
|
+
disclaimer and license as libpng-1.0.6 with the following individuals
|
|
399
|
+
added to the list of Contributing Authors:
|
|
400
|
+
|
|
401
|
+
Simon-Pierre Cadieux
|
|
402
|
+
Eric S. Raymond
|
|
403
|
+
Mans Rullgard
|
|
404
|
+
Cosmin Truta
|
|
405
|
+
Gilles Vollant
|
|
406
|
+
James Yu
|
|
407
|
+
Mandar Sahastrabuddhe
|
|
408
|
+
Google Inc.
|
|
409
|
+
Vadim Barkov
|
|
410
|
+
|
|
411
|
+
and with the following additions to the disclaimer:
|
|
412
|
+
|
|
413
|
+
There is no warranty against interference with your enjoyment of
|
|
414
|
+
the library or against infringement. There is no warranty that our
|
|
415
|
+
efforts or the library will fulfill any of your particular purposes
|
|
416
|
+
or needs. This library is provided with all faults, and the entire
|
|
417
|
+
risk of satisfactory quality, performance, accuracy, and effort is
|
|
418
|
+
with the user.
|
|
419
|
+
|
|
420
|
+
Some files in the "contrib" directory and some configure-generated
|
|
421
|
+
files that are distributed with libpng have other copyright owners, and
|
|
422
|
+
are released under other open source licenses.
|
|
423
|
+
|
|
424
|
+
libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are
|
|
425
|
+
Copyright (c) 1998-2000 Glenn Randers-Pehrson, are derived from
|
|
426
|
+
libpng-0.96, and are distributed according to the same disclaimer and
|
|
427
|
+
license as libpng-0.96, with the following individuals added to the
|
|
428
|
+
list of Contributing Authors:
|
|
429
|
+
|
|
430
|
+
Tom Lane
|
|
431
|
+
Glenn Randers-Pehrson
|
|
432
|
+
Willem van Schaik
|
|
433
|
+
|
|
434
|
+
libpng versions 0.89, June 1996, through 0.96, May 1997, are
|
|
435
|
+
Copyright (c) 1996-1997 Andreas Dilger, are derived from libpng-0.88,
|
|
436
|
+
and are distributed according to the same disclaimer and license as
|
|
437
|
+
libpng-0.88, with the following individuals added to the list of
|
|
438
|
+
Contributing Authors:
|
|
439
|
+
|
|
440
|
+
John Bowler
|
|
441
|
+
Kevin Bracey
|
|
442
|
+
Sam Bushell
|
|
443
|
+
Magnus Holmgren
|
|
444
|
+
Greg Roelofs
|
|
445
|
+
Tom Tanner
|
|
446
|
+
|
|
447
|
+
Some files in the "scripts" directory have other copyright owners,
|
|
448
|
+
but are released under this license.
|
|
449
|
+
|
|
450
|
+
libpng versions 0.5, May 1995, through 0.88, January 1996, are
|
|
451
|
+
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
|
|
452
|
+
|
|
453
|
+
For the purposes of this copyright and license, "Contributing Authors"
|
|
454
|
+
is defined as the following set of individuals:
|
|
455
|
+
|
|
456
|
+
Andreas Dilger
|
|
457
|
+
Dave Martindale
|
|
458
|
+
Guy Eric Schalnat
|
|
459
|
+
Paul Schmidt
|
|
460
|
+
Tim Wegner
|
|
461
|
+
|
|
462
|
+
The PNG Reference Library is supplied "AS IS". The Contributing
|
|
463
|
+
Authors and Group 42, Inc. disclaim all warranties, expressed or
|
|
464
|
+
implied, including, without limitation, the warranties of
|
|
465
|
+
merchantability and of fitness for any purpose. The Contributing
|
|
466
|
+
Authors and Group 42, Inc. assume no liability for direct, indirect,
|
|
467
|
+
incidental, special, exemplary, or consequential damages, which may
|
|
468
|
+
result from the use of the PNG Reference Library, even if advised of
|
|
469
|
+
the possibility of such damage.
|
|
470
|
+
|
|
471
|
+
Permission is hereby granted to use, copy, modify, and distribute this
|
|
472
|
+
source code, or portions hereof, for any purpose, without fee, subject
|
|
473
|
+
to the following restrictions:
|
|
474
|
+
|
|
475
|
+
1. The origin of this source code must not be misrepresented.
|
|
476
|
+
|
|
477
|
+
2. Altered versions must be plainly marked as such and must not
|
|
478
|
+
be misrepresented as being the original source.
|
|
479
|
+
|
|
480
|
+
3. This Copyright notice may not be removed or altered from any
|
|
481
|
+
source or altered source distribution.
|
|
482
|
+
|
|
483
|
+
The Contributing Authors and Group 42, Inc. specifically permit,
|
|
484
|
+
without fee, and encourage the use of this source code as a component
|
|
485
|
+
to supporting the PNG file format in commercial products. If you use
|
|
486
|
+
this source code in a product, acknowledgment is not required but would
|
|
487
|
+
be appreciated.
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
------------------------------------------------------------------------
|
|
491
|
+
zlib
|
|
492
|
+
------------------------------------------------------------------------
|
|
493
|
+
Copyright notice:
|
|
494
|
+
|
|
495
|
+
(C) 1995-2026 Jean-loup Gailly and Mark Adler
|
|
496
|
+
|
|
497
|
+
This software is provided 'as-is', without any express or implied
|
|
498
|
+
warranty. In no event will the authors be held liable for any damages
|
|
499
|
+
arising from the use of this software.
|
|
500
|
+
|
|
501
|
+
Permission is granted to anyone to use this software for any purpose,
|
|
502
|
+
including commercial applications, and to alter it and redistribute it
|
|
503
|
+
freely, subject to the following restrictions:
|
|
504
|
+
|
|
505
|
+
1. The origin of this software must not be misrepresented; you must not
|
|
506
|
+
claim that you wrote the original software. If you use this software
|
|
507
|
+
in a product, an acknowledgment in the product documentation would be
|
|
508
|
+
appreciated but is not required.
|
|
509
|
+
2. Altered source versions must be plainly marked as such, and must not be
|
|
510
|
+
misrepresented as being the original software.
|
|
511
|
+
3. This notice may not be removed or altered from any source distribution.
|
|
512
|
+
|
|
513
|
+
Jean-loup Gailly Mark Adler
|
|
514
|
+
jloup@gzip.org madler@alumni.caltech.edu
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
------------------------------------------------------------------------
|
|
518
|
+
Anti-Grain Geometry 2.3
|
|
519
|
+
------------------------------------------------------------------------
|
|
520
|
+
The Anti-Grain Geometry Project
|
|
521
|
+
A high quality rendering engine for C++
|
|
522
|
+
http://antigrain.com
|
|
523
|
+
|
|
524
|
+
Anti-Grain Geometry - Version 2.3
|
|
525
|
+
Copyright (C) 2002-2005 Maxim Shemanarev (McSeem)
|
|
526
|
+
|
|
527
|
+
Permission to copy, use, modify, sell and distribute this software
|
|
528
|
+
is granted provided this copyright notice appears in all copies.
|
|
529
|
+
This software is provided "as is" without express or implied
|
|
530
|
+
warranty, and with no claim as to its suitability for any purpose.
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
------------------------------------------------------------------------
|
|
534
|
+
fast_float
|
|
535
|
+
------------------------------------------------------------------------
|
|
536
|
+
MIT License
|
|
537
|
+
|
|
538
|
+
Copyright (c) 2021 The fast_float authors
|
|
539
|
+
|
|
540
|
+
Permission is hereby granted, free of charge, to any
|
|
541
|
+
person obtaining a copy of this software and associated
|
|
542
|
+
documentation files (the "Software"), to deal in the
|
|
543
|
+
Software without restriction, including without
|
|
544
|
+
limitation the rights to use, copy, modify, merge,
|
|
545
|
+
publish, distribute, sublicense, and/or sell copies of
|
|
546
|
+
the Software, and to permit persons to whom the Software
|
|
547
|
+
is furnished to do so, subject to the following
|
|
548
|
+
conditions:
|
|
549
|
+
|
|
550
|
+
The above copyright notice and this permission notice
|
|
551
|
+
shall be included in all copies or substantial portions
|
|
552
|
+
of the Software.
|
|
553
|
+
|
|
554
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
555
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
556
|
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
557
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
558
|
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
559
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
560
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
561
|
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
562
|
+
DEALINGS IN THE SOFTWARE.
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
------------------------------------------------------------------------
|
|
566
|
+
dragonbox
|
|
567
|
+
------------------------------------------------------------------------
|
|
568
|
+
Boost Software License - Version 1.0 - August 17th, 2003
|
|
569
|
+
|
|
570
|
+
Permission is hereby granted, free of charge, to any person or organization
|
|
571
|
+
obtaining a copy of the software and accompanying documentation covered by
|
|
572
|
+
this license (the "Software") to use, reproduce, display, distribute,
|
|
573
|
+
execute, and transmit the Software, and to prepare derivative works of the
|
|
574
|
+
Software, and to permit third-parties to whom the Software is furnished to
|
|
575
|
+
do so, all subject to the following:
|
|
576
|
+
|
|
577
|
+
The copyright notices in the Software and this entire statement, including
|
|
578
|
+
the above license grant, this restriction and the following disclaimer,
|
|
579
|
+
must be included in all copies of the Software, in whole or in part, and
|
|
580
|
+
all derivative works of the Software, unless such copies or derivative
|
|
581
|
+
works are solely in the form of machine-executable object code generated by
|
|
582
|
+
a source language processor.
|
|
583
|
+
|
|
584
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
585
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
586
|
+
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
|
587
|
+
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
|
588
|
+
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
|
589
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
590
|
+
DEALINGS IN THE SOFTWARE.
|
|
591
|
+
|
package/package.json
CHANGED
|
@@ -1,10 +1,57 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fenfill/mcp",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "fenfill MCP server: analyze blank PDF forms with fenfill and fill them locally, so your answers never leave your machine.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "fenfill",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
7
|
+
"homepage": "https://fenfill.com",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/fenfill/mcp.git",
|
|
11
|
+
"directory": "packages/mcp"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/fenfill/mcp/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"mcp",
|
|
18
|
+
"model-context-protocol",
|
|
19
|
+
"pdf",
|
|
20
|
+
"forms",
|
|
21
|
+
"fenfill"
|
|
22
|
+
],
|
|
23
|
+
"type": "module",
|
|
24
|
+
"bin": {
|
|
25
|
+
"fenfill-mcp": "dist/index.js"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"dist",
|
|
29
|
+
"LICENSE",
|
|
30
|
+
"licenses/",
|
|
31
|
+
"THIRD_PARTY_NOTICES",
|
|
32
|
+
"README.md"
|
|
33
|
+
],
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=22"
|
|
36
|
+
},
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"access": "public",
|
|
39
|
+
"provenance": true
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
43
|
+
"test": "vitest run",
|
|
44
|
+
"build": "node build.mjs",
|
|
45
|
+
"smoke": "node build.mjs && node scripts/smoke.mjs",
|
|
46
|
+
"verify": "npm run typecheck && npm test"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@embedpdf/pdfium": "2.15.1",
|
|
50
|
+
"@modelcontextprotocol/sdk": "1.31.0",
|
|
51
|
+
"@types/node": "^22.20.4",
|
|
52
|
+
"esbuild": "^0.28.2",
|
|
53
|
+
"typescript": "~5.9.3",
|
|
54
|
+
"vitest": "^4.1.11",
|
|
55
|
+
"zod": "^4.4.3"
|
|
56
|
+
}
|
|
10
57
|
}
|