@zuplo/cli 7.15.0 → 7.15.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/LICENSE.third-party.txt +236 -0
- package/LICENSE.txt +5 -78
- package/README.md +18 -3
- package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
- package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +2 -0
- package/node_modules/@modelcontextprotocol/client/node_modules/jose/package.json +1 -1
- package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
- package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +2 -0
- package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/package.json +1 -1
- package/node_modules/@posthog/core/dist/privacy.d.ts +6 -1
- package/node_modules/@posthog/core/dist/privacy.d.ts.map +1 -1
- package/node_modules/@posthog/core/dist/privacy.js +69 -10
- package/node_modules/@posthog/core/dist/privacy.mjs +65 -9
- package/node_modules/@posthog/core/dist/traces/span.d.ts +6 -0
- package/node_modules/@posthog/core/dist/traces/span.d.ts.map +1 -1
- package/node_modules/@posthog/core/dist/traces/span.js +18 -0
- package/node_modules/@posthog/core/dist/traces/span.mjs +18 -0
- package/node_modules/@posthog/core/package.json +2 -2
- package/node_modules/@posthog/core/src/privacy.ts +100 -18
- package/node_modules/@posthog/core/src/traces/span.spec.ts +15 -1
- package/node_modules/@posthog/core/src/traces/span.ts +23 -0
- package/node_modules/@posthog/types/dist/traces.d.ts +10 -0
- package/node_modules/@posthog/types/dist/traces.d.ts.map +1 -1
- package/node_modules/@posthog/types/package.json +1 -1
- package/node_modules/@posthog/types/src/traces.ts +12 -0
- package/node_modules/@zuplo/core/LICENSE.third-party.txt +622 -0
- package/node_modules/@zuplo/core/LICENSE.txt +5 -78
- package/node_modules/@zuplo/core/README.md +7 -0
- package/node_modules/@zuplo/core/constants.minified.js +7 -20
- package/node_modules/@zuplo/core/customer.cli.minified.js +28 -41
- package/node_modules/@zuplo/core/index.minified.js +35 -48
- package/node_modules/@zuplo/core/package.json +4 -2
- package/node_modules/@zuplo/core/zeno.js +7 -20
- package/node_modules/@zuplo/graphql/LICENSE.third-party.txt +29 -0
- package/node_modules/@zuplo/graphql/LICENSE.txt +5 -78
- package/node_modules/@zuplo/graphql/README.md +7 -0
- package/node_modules/@zuplo/graphql/out/esm/index.js +7 -20
- package/node_modules/@zuplo/graphql/out/esm/index.js.map +1 -1
- package/node_modules/@zuplo/graphql/package.json +3 -2
- package/node_modules/@zuplo/openapi-tools/LICENSE.txt +7 -0
- package/node_modules/@zuplo/openapi-tools/README.md +7 -0
- package/node_modules/@zuplo/openapi-tools/package.json +3 -2
- package/node_modules/@zuplo/otel/LICENSE.third-party.txt +243 -0
- package/node_modules/@zuplo/otel/LICENSE.txt +5 -78
- package/node_modules/@zuplo/otel/README.md +33 -0
- package/node_modules/@zuplo/otel/out/esm/chunk-6YAK7LGJ.js +13 -0
- package/node_modules/@zuplo/otel/out/esm/chunk-6YAK7LGJ.js.map +1 -0
- package/node_modules/@zuplo/otel/out/esm/index.js +8 -21
- package/node_modules/@zuplo/otel/out/types/index.d.ts +41 -0
- package/node_modules/@zuplo/otel/package.json +3 -2
- package/node_modules/@zuplo/runtime/LICENSE.third-party.txt +511 -0
- package/node_modules/@zuplo/runtime/LICENSE.txt +5 -78
- package/node_modules/@zuplo/runtime/README.md +7 -0
- package/node_modules/@zuplo/runtime/out/esm/chunk-5JGLAPFA.js +13 -0
- package/node_modules/@zuplo/runtime/out/esm/chunk-5JGLAPFA.js.map +1 -0
- package/node_modules/@zuplo/runtime/out/esm/{chunk-SX6JF7A6.js → chunk-AJ3MMWJS.js} +9 -22
- package/node_modules/@zuplo/runtime/out/esm/chunk-AJ3MMWJS.js.map +1 -0
- package/node_modules/@zuplo/runtime/out/esm/chunk-BH4DKEES.js +13 -0
- package/node_modules/@zuplo/runtime/out/esm/chunk-BH4DKEES.js.map +1 -0
- package/node_modules/@zuplo/runtime/out/esm/chunk-G42UYZ6V.js +24 -0
- package/node_modules/@zuplo/runtime/out/esm/{chunk-M4IZPJP6.js.map → chunk-G42UYZ6V.js.map} +1 -1
- package/node_modules/@zuplo/runtime/out/esm/chunk-OE2WMJXK.js +431 -0
- package/node_modules/@zuplo/runtime/out/esm/chunk-OE2WMJXK.js.map +1 -0
- package/node_modules/@zuplo/runtime/out/esm/chunk-R6UNMRUU.js +13 -0
- package/node_modules/@zuplo/runtime/out/esm/chunk-R6UNMRUU.js.map +1 -0
- package/node_modules/@zuplo/runtime/out/esm/{chunk-GWGCD6Z7.js → chunk-T2WKOG7J.js} +9 -22
- package/node_modules/@zuplo/runtime/out/esm/chunk-T2WKOG7J.js.map +1 -0
- package/node_modules/@zuplo/runtime/out/esm/{chunk-HTXNM72E.js → chunk-TOJD4RET.js} +9 -22
- package/node_modules/@zuplo/runtime/out/esm/chunk-TOJD4RET.js.map +1 -0
- package/node_modules/@zuplo/runtime/out/esm/chunk-VXPFMOL5.js +13 -0
- package/node_modules/@zuplo/runtime/out/esm/chunk-VXPFMOL5.js.map +1 -0
- package/node_modules/@zuplo/runtime/out/esm/index.js +8 -21
- package/node_modules/@zuplo/runtime/out/esm/index.js.map +1 -1
- package/node_modules/@zuplo/runtime/out/esm/internal/index.js +8 -21
- package/node_modules/@zuplo/runtime/out/esm/mcp/messages/index.js +8 -21
- package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js +11 -39
- package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js.map +1 -1
- package/node_modules/@zuplo/runtime/out/esm/mocks/index.js +8 -21
- package/node_modules/@zuplo/runtime/out/esm/mocks/index.js.map +1 -1
- package/node_modules/@zuplo/runtime/out/esm/sdks/aws/index.js +8 -21
- package/node_modules/@zuplo/runtime/out/esm/sdks/aws/index.js.map +1 -1
- package/node_modules/@zuplo/runtime/out/types/index.d.ts +248 -6
- package/node_modules/@zuplo/runtime/out/types/internal/index.d.ts +101 -0
- package/node_modules/@zuplo/runtime/out/types/mcp-gateway/index.d.ts +127 -0
- package/node_modules/@zuplo/runtime/package.json +3 -2
- package/node_modules/express-rate-limit/dist/index.cjs +33 -4
- package/node_modules/express-rate-limit/dist/index.mjs +33 -4
- package/node_modules/express-rate-limit/package.json +1 -1
- package/package.json +12 -11
- package/node_modules/@zuplo/otel/out/esm/chunk-PVCAT62X.js +0 -26
- package/node_modules/@zuplo/otel/out/esm/chunk-PVCAT62X.js.map +0 -1
- package/node_modules/@zuplo/runtime/out/esm/chunk-A3QGJZO7.js +0 -26
- package/node_modules/@zuplo/runtime/out/esm/chunk-A3QGJZO7.js.map +0 -1
- package/node_modules/@zuplo/runtime/out/esm/chunk-F4G3YEN2.js +0 -429
- package/node_modules/@zuplo/runtime/out/esm/chunk-F4G3YEN2.js.map +0 -1
- package/node_modules/@zuplo/runtime/out/esm/chunk-GWGCD6Z7.js.map +0 -1
- package/node_modules/@zuplo/runtime/out/esm/chunk-HTXNM72E.js.map +0 -1
- package/node_modules/@zuplo/runtime/out/esm/chunk-M4IZPJP6.js +0 -37
- package/node_modules/@zuplo/runtime/out/esm/chunk-SX6JF7A6.js.map +0 -1
- package/node_modules/@zuplo/runtime/out/esm/chunk-TYV53J3B.js +0 -26
- package/node_modules/@zuplo/runtime/out/esm/chunk-TYV53J3B.js.map +0 -1
- package/node_modules/@zuplo/runtime/out/esm/chunk-UKQQD2JN.js +0 -26
- package/node_modules/@zuplo/runtime/out/esm/chunk-UKQQD2JN.js.map +0 -1
- package/node_modules/@zuplo/runtime/out/esm/chunk-VP5Q3DEN.js +0 -26
- package/node_modules/@zuplo/runtime/out/esm/chunk-VP5Q3DEN.js.map +0 -1
- /package/node_modules/@zuplo/runtime/out/esm/{chunk-M4IZPJP6.js.LEGAL.txt → chunk-G42UYZ6V.js.LEGAL.txt} +0 -0
- /package/node_modules/@zuplo/runtime/out/esm/{chunk-F4G3YEN2.js.LEGAL.txt → chunk-OE2WMJXK.js.LEGAL.txt} +0 -0
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
This package includes code from the open source projects below, each
|
|
2
|
+
under its own license. The license texts follow.
|
|
3
|
+
|
|
4
|
+
==============================================================================
|
|
5
|
+
node-machine-id
|
|
6
|
+
https://github.com/automation-stack/node-machine-id
|
|
7
|
+
==============================================================================
|
|
8
|
+
|
|
9
|
+
The MIT License (MIT)
|
|
10
|
+
|
|
11
|
+
Copyright (c) 2016 Aleksandr Komlev
|
|
12
|
+
|
|
13
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
14
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
15
|
+
in the Software without restriction, including without limitation the rights
|
|
16
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
17
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
18
|
+
furnished to do so, subject to the following conditions:
|
|
19
|
+
|
|
20
|
+
The above copyright notice and this permission notice shall be included in all
|
|
21
|
+
copies or substantial portions of the Software.
|
|
22
|
+
|
|
23
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
24
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
26
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
27
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
28
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
29
|
+
SOFTWARE.
|
|
30
|
+
|
|
31
|
+
==============================================================================
|
|
32
|
+
Vercel CLI (box output)
|
|
33
|
+
https://github.com/vercel/vercel
|
|
34
|
+
==============================================================================
|
|
35
|
+
|
|
36
|
+
Apache License
|
|
37
|
+
Version 2.0, January 2004
|
|
38
|
+
http://www.apache.org/licenses/
|
|
39
|
+
|
|
40
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
41
|
+
|
|
42
|
+
1. Definitions.
|
|
43
|
+
|
|
44
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
45
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
46
|
+
|
|
47
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
48
|
+
the copyright owner that is granting the License.
|
|
49
|
+
|
|
50
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
51
|
+
other entities that control, are controlled by, or are under common
|
|
52
|
+
control with that entity. For the purposes of this definition,
|
|
53
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
54
|
+
direction or management of such entity, whether by contract or
|
|
55
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
56
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
57
|
+
|
|
58
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
59
|
+
exercising permissions granted by this License.
|
|
60
|
+
|
|
61
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
62
|
+
including but not limited to software source code, documentation
|
|
63
|
+
source, and configuration files.
|
|
64
|
+
|
|
65
|
+
"Object" form shall mean any form resulting from mechanical
|
|
66
|
+
transformation or translation of a Source form, including but
|
|
67
|
+
not limited to compiled object code, generated documentation,
|
|
68
|
+
and conversions to other media types.
|
|
69
|
+
|
|
70
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
71
|
+
Object form, made available under the License, as indicated by a
|
|
72
|
+
copyright notice that is included in or attached to the work
|
|
73
|
+
(an example is provided in the Appendix below).
|
|
74
|
+
|
|
75
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
76
|
+
form, that is based on (or derived from) the Work and for which the
|
|
77
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
78
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
79
|
+
of this License, Derivative Works shall not include works that remain
|
|
80
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
81
|
+
the Work and Derivative Works thereof.
|
|
82
|
+
|
|
83
|
+
"Contribution" shall mean any work of authorship, including
|
|
84
|
+
the original version of the Work and any modifications or additions
|
|
85
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
86
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
87
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
88
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
89
|
+
means any form of electronic, verbal, or written communication sent
|
|
90
|
+
to the Licensor or its representatives, including but not limited to
|
|
91
|
+
communication on electronic mailing lists, source code control systems,
|
|
92
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
93
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
94
|
+
excluding communication that is conspicuously marked or otherwise
|
|
95
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
96
|
+
|
|
97
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
98
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
99
|
+
subsequently incorporated within the Work.
|
|
100
|
+
|
|
101
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
102
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
103
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
104
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
105
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
106
|
+
Work and such Derivative Works in Source or Object form.
|
|
107
|
+
|
|
108
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
109
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
110
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
111
|
+
(except as stated in this section) patent license to make, have made,
|
|
112
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
113
|
+
where such license applies only to those patent claims licensable
|
|
114
|
+
by such Contributor that are necessarily infringed by their
|
|
115
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
116
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
117
|
+
institute patent litigation against any entity (including a
|
|
118
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
119
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
120
|
+
or contributory patent infringement, then any patent licenses
|
|
121
|
+
granted to You under this License for that Work shall terminate
|
|
122
|
+
as of the date such litigation is filed.
|
|
123
|
+
|
|
124
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
125
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
126
|
+
modifications, and in Source or Object form, provided that You
|
|
127
|
+
meet the following conditions:
|
|
128
|
+
|
|
129
|
+
(a) You must give any other recipients of the Work or
|
|
130
|
+
Derivative Works a copy of this License; and
|
|
131
|
+
|
|
132
|
+
(b) You must cause any modified files to carry prominent notices
|
|
133
|
+
stating that You changed the files; and
|
|
134
|
+
|
|
135
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
136
|
+
that You distribute, all copyright, patent, trademark, and
|
|
137
|
+
attribution notices from the Source form of the Work,
|
|
138
|
+
excluding those notices that do not pertain to any part of
|
|
139
|
+
the Derivative Works; and
|
|
140
|
+
|
|
141
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
142
|
+
distribution, then any Derivative Works that You distribute must
|
|
143
|
+
include a readable copy of the attribution notices contained
|
|
144
|
+
within such NOTICE file, excluding those notices that do not
|
|
145
|
+
pertain to any part of the Derivative Works, in at least one
|
|
146
|
+
of the following places: within a NOTICE text file distributed
|
|
147
|
+
as part of the Derivative Works; within the Source form or
|
|
148
|
+
documentation, if provided along with the Derivative Works; or,
|
|
149
|
+
within a display generated by the Derivative Works, if and
|
|
150
|
+
wherever such third-party notices normally appear. The contents
|
|
151
|
+
of the NOTICE file are for informational purposes only and
|
|
152
|
+
do not modify the License. You may add Your own attribution
|
|
153
|
+
notices within Derivative Works that You distribute, alongside
|
|
154
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
155
|
+
that such additional attribution notices cannot be construed
|
|
156
|
+
as modifying the License.
|
|
157
|
+
|
|
158
|
+
You may add Your own copyright statement to Your modifications and
|
|
159
|
+
may provide additional or different license terms and conditions
|
|
160
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
161
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
162
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
163
|
+
the conditions stated in this License.
|
|
164
|
+
|
|
165
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
166
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
167
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
168
|
+
this License, without any additional terms or conditions.
|
|
169
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
170
|
+
the terms of any separate license agreement you may have executed
|
|
171
|
+
with Licensor regarding such Contributions.
|
|
172
|
+
|
|
173
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
174
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
175
|
+
except as required for reasonable and customary use in describing the
|
|
176
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
177
|
+
|
|
178
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
179
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
180
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
181
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
182
|
+
implied, including, without limitation, any warranties or conditions
|
|
183
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
184
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
185
|
+
appropriateness of using or redistributing the Work and assume any
|
|
186
|
+
risks associated with Your exercise of permissions under this License.
|
|
187
|
+
|
|
188
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
189
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
190
|
+
unless required by applicable law (such as deliberate and grossly
|
|
191
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
192
|
+
liable to You for damages, including any direct, indirect, special,
|
|
193
|
+
incidental, or consequential damages of any character arising as a
|
|
194
|
+
result of this License or out of the use or inability to use the
|
|
195
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
196
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
197
|
+
other commercial damages or losses), even if such Contributor
|
|
198
|
+
has been advised of the possibility of such damages.
|
|
199
|
+
|
|
200
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
201
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
202
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
203
|
+
or other liability obligations and/or rights consistent with this
|
|
204
|
+
License. However, in accepting such obligations, You may act only
|
|
205
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
206
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
207
|
+
defend, and hold each Contributor harmless for any liability
|
|
208
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
209
|
+
of your accepting any such warranty or additional liability.
|
|
210
|
+
|
|
211
|
+
END OF TERMS AND CONDITIONS
|
|
212
|
+
|
|
213
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
214
|
+
|
|
215
|
+
To apply the Apache License to your work, attach the following
|
|
216
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
217
|
+
replaced with your own identifying information. (Don't include
|
|
218
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
219
|
+
comment syntax for the file format. We also recommend that a
|
|
220
|
+
file or class name and description of purpose be included on the
|
|
221
|
+
same "printed page" as the copyright notice for easier
|
|
222
|
+
identification within third-party archives.
|
|
223
|
+
|
|
224
|
+
Copyright 2017 Vercel, Inc.
|
|
225
|
+
|
|
226
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
227
|
+
you may not use this file except in compliance with the License.
|
|
228
|
+
You may obtain a copy of the License at
|
|
229
|
+
|
|
230
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
231
|
+
|
|
232
|
+
Unless required by applicable law or agreed to in writing, software
|
|
233
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
234
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
235
|
+
See the License for the specific language governing permissions and
|
|
236
|
+
limitations under the License.
|
package/LICENSE.txt
CHANGED
|
@@ -1,80 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
Copyright (c) Zuplo, Inc. All rights reserved.
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"Software").
|
|
3
|
+
Use of this software is governed by the Zuplo Terms of Service at
|
|
4
|
+
https://zuplo.com/legal/terms, or by a separate agreement your company has
|
|
5
|
+
signed with Zuplo.
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
by the terms of this Agreement. If you do not agree, do not install or use the
|
|
10
|
-
Software.
|
|
11
|
-
|
|
12
|
-
## 1. License Grant
|
|
13
|
-
|
|
14
|
-
Subject to the terms of this Agreement, Zuplo grants you a limited,
|
|
15
|
-
non-exclusive, non-transferable, non-sublicensable license to use the Software
|
|
16
|
-
**solely for internal local development purposes** and **only if you are an
|
|
17
|
-
active customer of Zuplo**.
|
|
18
|
-
|
|
19
|
-
## 2. Restrictions
|
|
20
|
-
|
|
21
|
-
You may **not**:
|
|
22
|
-
|
|
23
|
-
- Distribute, sublicense, lease, rent, or otherwise make the Software available
|
|
24
|
-
to any third party;
|
|
25
|
-
- Use the Software for any commercial purpose other than in connection with your
|
|
26
|
-
authorized use of Zuplo services;
|
|
27
|
-
- Reverse engineer, decompile, disassemble, or attempt to derive the source code
|
|
28
|
-
of the Software;
|
|
29
|
-
- Use the Software if you are not a current customer of Zuplo.
|
|
30
|
-
|
|
31
|
-
## 3. Intellectual Property Ownership
|
|
32
|
-
|
|
33
|
-
All intellectual property rights in and to the Software — including but not
|
|
34
|
-
limited to all code, documentation, interfaces, design, and trademarks — are and
|
|
35
|
-
shall remain the exclusive property of Zuplo and its licensors.
|
|
36
|
-
This Agreement does not grant you any rights, title, or interest in or to any
|
|
37
|
-
trademarks, trade secrets, copyrights, patents, or other intellectual property
|
|
38
|
-
owned by Zuplo, except for the limited license expressly set forth in Section 1.
|
|
39
|
-
|
|
40
|
-
Any feedback, suggestions, or improvements you provide regarding the Software
|
|
41
|
-
may be freely used by Zuplo without any obligation to you.
|
|
42
|
-
|
|
43
|
-
## 4. Open Source Software Notice
|
|
44
|
-
|
|
45
|
-
The Software may include or rely on components that are subject to separate open
|
|
46
|
-
source licenses. These components are not governed by this Agreement but instead
|
|
47
|
-
by their respective licenses.
|
|
48
|
-
|
|
49
|
-
Copies of the applicable open source licenses are provided in the distribution
|
|
50
|
-
of the Software.
|
|
51
|
-
|
|
52
|
-
## 5. Termination
|
|
53
|
-
|
|
54
|
-
This license is effective until terminated. It will automatically terminate
|
|
55
|
-
without notice if you cease to be a customer of Zuplo or fail to comply with any
|
|
56
|
-
term of this Agreement. Upon termination, you must immediately cease all use of
|
|
57
|
-
the Software and destroy all copies.
|
|
58
|
-
|
|
59
|
-
## 6. No Warranty
|
|
60
|
-
|
|
61
|
-
The Software is provided "**as is**," without warranty of any kind, express or
|
|
62
|
-
implied, including but not limited to the implied warranties of merchantability
|
|
63
|
-
or fitness for a particular purpose.
|
|
64
|
-
|
|
65
|
-
## 7. Limitation of Liability
|
|
66
|
-
|
|
67
|
-
In no event shall Zuplo be liable for any indirect, incidental, special, or
|
|
68
|
-
consequential damages, or damages for loss of profits, revenue, data, or use,
|
|
69
|
-
incurred by you or any third party, whether in an action in contract or tort,
|
|
70
|
-
arising from your use of the Software.
|
|
71
|
-
|
|
72
|
-
## 8. Governing Law
|
|
73
|
-
|
|
74
|
-
This Agreement is governed by and construed in accordance with the laws of the
|
|
75
|
-
State of Delaware, without regard to its conflict of law principles.
|
|
76
|
-
|
|
77
|
-
## 9. Entire Agreement
|
|
78
|
-
|
|
79
|
-
This Agreement constitutes the entire agreement between the parties with respect
|
|
80
|
-
to the Software and supersedes all prior or contemporaneous understandings.
|
|
7
|
+
See https://zuplo.com/legal/eula for more information.
|
package/README.md
CHANGED
|
@@ -98,13 +98,28 @@ Commands:
|
|
|
98
98
|
|
|
99
99
|
```
|
|
100
100
|
|
|
101
|
+
## Usage data
|
|
102
|
+
|
|
103
|
+
The Zuplo CLI sends usage data and error reports to Zuplo. Usage data includes
|
|
104
|
+
the command you run, your Zuplo user ID (or, when you aren't logged in, an
|
|
105
|
+
identifier derived from your machine), the account and project names you pass,
|
|
106
|
+
whether it runs in CI, and your Node.js version, operating system, CPU
|
|
107
|
+
architecture, and package manager. To turn this off, set `ZUPLO_DO_NOT_TRACK=1`.
|
|
108
|
+
For how Zuplo handles this data, see the
|
|
109
|
+
[Zuplo Privacy Policy](https://zuplo.com/legal/privacy-policy).
|
|
110
|
+
|
|
111
|
+
## License
|
|
112
|
+
|
|
113
|
+
Copyright (c) Zuplo, Inc. All rights reserved. Use of this package is governed
|
|
114
|
+
by the [Zuplo Terms of Service](https://zuplo.com/legal/terms), or by a separate
|
|
115
|
+
agreement your company has signed with Zuplo. See `LICENSE.txt` and
|
|
116
|
+
[zuplo.com/legal/eula](https://zuplo.com/legal/eula).
|
|
117
|
+
|
|
101
118
|
# Changelog
|
|
102
119
|
|
|
103
120
|
## v3
|
|
104
121
|
|
|
105
|
-
- Version 3 requires Node.js 20.
|
|
106
|
-
(using Node.js 18) until September 30, 2024. We encourage you to upgrade to v3
|
|
107
|
-
as soon as possible.
|
|
122
|
+
- Version 3 requires Node.js 20.
|
|
108
123
|
|
|
109
124
|
## v2
|
|
110
125
|
|
package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwks/remote.js
CHANGED
|
@@ -5,7 +5,7 @@ function isCloudflareWorkers() {
|
|
|
5
5
|
return typeof WebSocketPair < "u" || typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers" || typeof EdgeRuntime < "u" && EdgeRuntime === "vercel";
|
|
6
6
|
}
|
|
7
7
|
let USER_AGENT;
|
|
8
|
-
(typeof navigator > "u" || !navigator.userAgent?.startsWith?.("Mozilla/5.0 ")) && (USER_AGENT = "jose/v6.2.
|
|
8
|
+
(typeof navigator > "u" || !navigator.userAgent?.startsWith?.("Mozilla/5.0 ")) && (USER_AGENT = "jose/v6.2.17");
|
|
9
9
|
const customFetch = /* @__PURE__ */ Symbol();
|
|
10
10
|
async function fetchJwks(url, headers, signal, fetchImpl = fetch) {
|
|
11
11
|
const response = await fetchImpl(url, {
|
|
@@ -87,6 +87,8 @@ function validateClaimsSet(protectedHeader, claimsSetBytes, options = {}) {
|
|
|
87
87
|
throw new JWTExpired('"exp" claim timestamp check failed', claimsSet, "exp", checkFailed);
|
|
88
88
|
if (maxTokenAge !== void 0) {
|
|
89
89
|
const age = now - iat, max = validateInput("maxTokenAge option", typeof maxTokenAge == "number" ? maxTokenAge : secs(maxTokenAge));
|
|
90
|
+
if (max < 0)
|
|
91
|
+
throw new TypeError("Invalid maxTokenAge option input");
|
|
90
92
|
if (age - tolerance > max)
|
|
91
93
|
throw new JWTExpired('"iat" claim timestamp check failed (too far in the past)', claimsSet, "iat", checkFailed);
|
|
92
94
|
if (age < -tolerance)
|
|
@@ -5,7 +5,7 @@ function isCloudflareWorkers() {
|
|
|
5
5
|
return typeof WebSocketPair < "u" || typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers" || typeof EdgeRuntime < "u" && EdgeRuntime === "vercel";
|
|
6
6
|
}
|
|
7
7
|
let USER_AGENT;
|
|
8
|
-
(typeof navigator > "u" || !navigator.userAgent?.startsWith?.("Mozilla/5.0 ")) && (USER_AGENT = "jose/v6.2.
|
|
8
|
+
(typeof navigator > "u" || !navigator.userAgent?.startsWith?.("Mozilla/5.0 ")) && (USER_AGENT = "jose/v6.2.17");
|
|
9
9
|
const customFetch = /* @__PURE__ */ Symbol();
|
|
10
10
|
async function fetchJwks(url, headers, signal, fetchImpl = fetch) {
|
|
11
11
|
const response = await fetchImpl(url, {
|
package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwt_claims_set.js
CHANGED
|
@@ -87,6 +87,8 @@ function validateClaimsSet(protectedHeader, claimsSetBytes, options = {}) {
|
|
|
87
87
|
throw new JWTExpired('"exp" claim timestamp check failed', claimsSet, "exp", checkFailed);
|
|
88
88
|
if (maxTokenAge !== void 0) {
|
|
89
89
|
const age = now - iat, max = validateInput("maxTokenAge option", typeof maxTokenAge == "number" ? maxTokenAge : secs(maxTokenAge));
|
|
90
|
+
if (max < 0)
|
|
91
|
+
throw new TypeError("Invalid maxTokenAge option input");
|
|
90
92
|
if (age - tolerance > max)
|
|
91
93
|
throw new JWTExpired('"iat" claim timestamp check failed (too far in the past)', claimsSet, "iat", checkFailed);
|
|
92
94
|
if (age < -tolerance)
|
|
@@ -2,6 +2,8 @@ export interface TextSanitizationOptions {
|
|
|
2
2
|
maxStringLength: number;
|
|
3
3
|
truncationSuffix: string;
|
|
4
4
|
}
|
|
5
|
+
/** Whether a key names a credential, so its value is captured as `[redacted]` whatever it holds. */
|
|
6
|
+
export declare function shouldRedactKey(key: string): boolean;
|
|
5
7
|
/**
|
|
6
8
|
* Sanitizes agent-narrated free text (`$mcp_intent`, the `send_feedback`
|
|
7
9
|
* fields): structured PII on top of the passes every captured string gets.
|
|
@@ -29,7 +31,10 @@ export declare function sanitizeCapturedValue(value: unknown, options: TextSanit
|
|
|
29
31
|
/**
|
|
30
32
|
* {@link sanitizeCapturedValue} with the intent-grade string pass
|
|
31
33
|
* ({@link sanitizeFreeText}) on every string leaf, so nested agent-narrated
|
|
32
|
-
* values get structured-PII redaction in the load-bearing order too.
|
|
34
|
+
* values get structured-PII redaction in the load-bearing order too. Keys and
|
|
35
|
+
* numbers are read as free text as well, since a value sent as JSON text carries
|
|
36
|
+
* them: a number that holds an identifier becomes `[redacted]`, so the text
|
|
37
|
+
* stays valid JSON.
|
|
33
38
|
*/
|
|
34
39
|
export declare function sanitizeFreeTextValue(value: unknown, options: TextSanitizationOptions): unknown;
|
|
35
40
|
//# sourceMappingURL=privacy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privacy.d.ts","sourceRoot":"","sources":["../src/privacy.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,uBAAuB;IACtC,eAAe,EAAE,MAAM,CAAA;IACvB,gBAAgB,EAAE,MAAM,CAAA;CACzB;
|
|
1
|
+
{"version":3,"file":"privacy.d.ts","sourceRoot":"","sources":["../src/privacy.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,uBAAuB;IACtC,eAAe,EAAE,MAAM,CAAA;IACvB,gBAAgB,EAAE,MAAM,CAAA;CACzB;AAsHD,oGAAoG;AACpG,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAEpD;AAgbD;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,uBAAuB,GAAG,MAAM,CAKxF;AA6HD;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAU/C;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAK/F;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAK/F"}
|
|
@@ -55,7 +55,7 @@ const EMAIL_PATTERN = /[A-Za-z0-9._%+-]{1,64}@[A-Za-z0-9.-]{1,255}\.[A-Za-z]{2,2
|
|
|
55
55
|
const IPV4_PATTERN = /\b(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\b/g;
|
|
56
56
|
const IPV6_PATTERN = /(^|[^\w:])((?:(?:[0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4}|(?:[0-9A-Fa-f]{1,4}:){1,7}:|(?:[0-9A-Fa-f]{1,4}:){1,6}:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4}){0,5}|::(?:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4}){0,6})))(?=$|[^\w:])/g;
|
|
57
57
|
const US_SSN_PATTERN = /\b\d{3}[ .-]\d{2}[ .-]\d{4}\b/g;
|
|
58
|
-
const
|
|
58
|
+
const CARD_SEPARATORS = ' ./-';
|
|
59
59
|
const DIGIT_GROUP_PATTERN = /\d+/g;
|
|
60
60
|
const PHONE_NANP_PATTERN = /(^|[^\w+])((?:\+?1[ ./-]?)?(?:\(\d{3}\)[ ./-]?|\d{3}[ ./-])\d{3}[ ./-]\d{4})(?![\w])/g;
|
|
61
61
|
const PHONE_INTL_PATTERN = /(^|[^\w])(\+\d{1,3}(?:[ ./()-]{0,2}\d){7,13})(?![\w])/g;
|
|
@@ -295,6 +295,40 @@ function passesLuhn(digits) {
|
|
|
295
295
|
}
|
|
296
296
|
return sum % 10 === 0;
|
|
297
297
|
}
|
|
298
|
+
function isDigitAt(text, index) {
|
|
299
|
+
const code = text.charCodeAt(index);
|
|
300
|
+
return code >= 48 && code <= 57;
|
|
301
|
+
}
|
|
302
|
+
function isWordAt(text, index) {
|
|
303
|
+
const code = text.charCodeAt(index);
|
|
304
|
+
return isDigitAt(text, index) || 95 === code || code >= 65 && code <= 90 || code >= 97 && code <= 122;
|
|
305
|
+
}
|
|
306
|
+
function digitsEnd(text, index) {
|
|
307
|
+
let end = index;
|
|
308
|
+
while(isDigitAt(text, end))end++;
|
|
309
|
+
return end;
|
|
310
|
+
}
|
|
311
|
+
function findCardCandidate(text, from) {
|
|
312
|
+
for(let start = from; start < text.length; start++){
|
|
313
|
+
if (!isDigitAt(text, start) || isWordAt(text, start - 1)) continue;
|
|
314
|
+
let digits = 0;
|
|
315
|
+
let end = -1;
|
|
316
|
+
let groupStart = start;
|
|
317
|
+
for(;;){
|
|
318
|
+
const groupEnd = digitsEnd(text, groupStart);
|
|
319
|
+
digits += groupEnd - groupStart;
|
|
320
|
+
if (digits >= 13 && !isWordAt(text, groupEnd)) end = groupEnd;
|
|
321
|
+
groupStart = groupEnd + 1;
|
|
322
|
+
if (!CARD_SEPARATORS.includes(text.charAt(groupEnd)) || !isDigitAt(text, groupStart)) break;
|
|
323
|
+
}
|
|
324
|
+
if (end >= 0) return [
|
|
325
|
+
start,
|
|
326
|
+
end
|
|
327
|
+
];
|
|
328
|
+
start = groupStart - 1;
|
|
329
|
+
}
|
|
330
|
+
return null;
|
|
331
|
+
}
|
|
298
332
|
function redactCardInMatch(match) {
|
|
299
333
|
const groups = [];
|
|
300
334
|
for(let m = DIGIT_GROUP_PATTERN.exec(match); null !== m; m = DIGIT_GROUP_PATTERN.exec(match))groups.push({
|
|
@@ -321,48 +355,73 @@ function redactCardInMatch(match) {
|
|
|
321
355
|
}
|
|
322
356
|
return output + match.slice(cursor);
|
|
323
357
|
}
|
|
358
|
+
function redactCards(text) {
|
|
359
|
+
let output = '';
|
|
360
|
+
let cursor = 0;
|
|
361
|
+
for(let run = findCardCandidate(text, 0); null !== run; run = findCardCandidate(text, run[1])){
|
|
362
|
+
output += text.slice(cursor, run[0]) + redactCardInMatch(text.slice(run[0], run[1]));
|
|
363
|
+
cursor = run[1];
|
|
364
|
+
}
|
|
365
|
+
return output + text.slice(cursor);
|
|
366
|
+
}
|
|
324
367
|
function redactPii(value) {
|
|
325
368
|
let result = value.replace(UNICODE_SPACE_PATTERN, ' ');
|
|
326
369
|
result = result.replace(EMAIL_PATTERN, REDACTED_VALUE);
|
|
327
370
|
result = result.replace(IPV4_PATTERN, REDACTED_VALUE);
|
|
328
371
|
result = result.replace(IPV6_PATTERN, `$1${REDACTED_VALUE}`);
|
|
329
|
-
result = result
|
|
372
|
+
result = redactCards(result);
|
|
330
373
|
result = result.replace(US_SSN_PATTERN, REDACTED_VALUE);
|
|
331
374
|
result = result.replace(PHONE_NANP_PATTERN, `$1${REDACTED_VALUE}`);
|
|
332
375
|
result = result.replace(PHONE_INTL_PATTERN, `$1${REDACTED_VALUE}`);
|
|
333
376
|
return result;
|
|
334
377
|
}
|
|
335
378
|
function sanitizeCapturedValue(value, options) {
|
|
336
|
-
return sanitizeValueWith(value,
|
|
379
|
+
return sanitizeValueWith(value, {
|
|
380
|
+
text: (stringValue)=>sanitizeString(stringValue, options),
|
|
381
|
+
readsKeysAndNumbers: false
|
|
382
|
+
});
|
|
337
383
|
}
|
|
338
384
|
function sanitizeFreeTextValue(value, options) {
|
|
339
|
-
return sanitizeValueWith(value,
|
|
385
|
+
return sanitizeValueWith(value, {
|
|
386
|
+
text: (stringValue)=>sanitizeFreeText(stringValue, options),
|
|
387
|
+
readsKeysAndNumbers: true
|
|
388
|
+
});
|
|
340
389
|
}
|
|
341
|
-
function sanitizeValueWith(value,
|
|
390
|
+
function sanitizeValueWith(value, sanitizer) {
|
|
342
391
|
if (null == value) return value;
|
|
343
|
-
if ('string' == typeof value) return
|
|
344
|
-
if (
|
|
392
|
+
if ('string' == typeof value) return sanitizer.text(value);
|
|
393
|
+
if ('number' == typeof value && sanitizer.readsKeysAndNumbers) {
|
|
394
|
+
const text = String(value);
|
|
395
|
+
return sanitizer.text(text) === text ? value : REDACTED_VALUE;
|
|
396
|
+
}
|
|
397
|
+
if (Array.isArray(value)) return value.map((item)=>sanitizeValueWith(item, sanitizer));
|
|
345
398
|
if (value instanceof Date) return value;
|
|
346
399
|
if ('object' != typeof value) return value;
|
|
347
400
|
const result = {};
|
|
348
|
-
for (const [key, nestedValue] of Object.entries(value))
|
|
401
|
+
for (const [key, nestedValue] of Object.entries(value)){
|
|
402
|
+
const capturedKey = sanitizer.readsKeysAndNumbers ? sanitizer.text(key) : key;
|
|
403
|
+
result[capturedKey] = shouldRedactKey(key) ? REDACTED_VALUE : sanitizeValueWith(nestedValue, sanitizer);
|
|
404
|
+
}
|
|
349
405
|
return result;
|
|
350
406
|
}
|
|
351
407
|
__webpack_require__.d(__webpack_exports__, {
|
|
352
408
|
redactPii: ()=>redactPii,
|
|
353
409
|
sanitizeCapturedValue: ()=>sanitizeCapturedValue,
|
|
354
410
|
sanitizeFreeText: ()=>sanitizeFreeText,
|
|
355
|
-
sanitizeFreeTextValue: ()=>sanitizeFreeTextValue
|
|
411
|
+
sanitizeFreeTextValue: ()=>sanitizeFreeTextValue,
|
|
412
|
+
shouldRedactKey: ()=>shouldRedactKey
|
|
356
413
|
});
|
|
357
414
|
exports.redactPii = __webpack_exports__.redactPii;
|
|
358
415
|
exports.sanitizeCapturedValue = __webpack_exports__.sanitizeCapturedValue;
|
|
359
416
|
exports.sanitizeFreeText = __webpack_exports__.sanitizeFreeText;
|
|
360
417
|
exports.sanitizeFreeTextValue = __webpack_exports__.sanitizeFreeTextValue;
|
|
418
|
+
exports.shouldRedactKey = __webpack_exports__.shouldRedactKey;
|
|
361
419
|
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
362
420
|
"redactPii",
|
|
363
421
|
"sanitizeCapturedValue",
|
|
364
422
|
"sanitizeFreeText",
|
|
365
|
-
"sanitizeFreeTextValue"
|
|
423
|
+
"sanitizeFreeTextValue",
|
|
424
|
+
"shouldRedactKey"
|
|
366
425
|
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
367
426
|
Object.defineProperty(exports, '__esModule', {
|
|
368
427
|
value: true
|