@hopper-agent/mcp 0.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/LICENSE +179 -0
- package/dist/.tsbuildinfo +1 -0
- package/dist/src/client.d.ts +25 -0
- package/dist/src/client.d.ts.map +1 -0
- package/dist/src/client.js +114 -0
- package/dist/src/client.js.map +1 -0
- package/dist/src/errors.d.ts +17 -0
- package/dist/src/errors.d.ts.map +1 -0
- package/dist/src/errors.js +38 -0
- package/dist/src/errors.js.map +1 -0
- package/dist/src/index.d.ts +33 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +49 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/tool-adapter.d.ts +12 -0
- package/dist/src/tool-adapter.d.ts.map +1 -0
- package/dist/src/tool-adapter.js +41 -0
- package/dist/src/tool-adapter.js.map +1 -0
- package/dist/src/transport.d.ts +12 -0
- package/dist/src/transport.d.ts.map +1 -0
- package/dist/src/transport.js +65 -0
- package/dist/src/transport.js.map +1 -0
- package/dist/src/types.d.ts +32 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/src/types.js +21 -0
- package/dist/src/types.js.map +1 -0
- package/package.json +33 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
revisions are patently meant to be an adaptation, but does not
|
|
43
|
+
include a work that is merely a copy of the Work except a Derivative
|
|
44
|
+
Work.
|
|
45
|
+
|
|
46
|
+
"Contribution" shall mean any work of authorship, including
|
|
47
|
+
the original version of the Work and any modifications or additions
|
|
48
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
49
|
+
submitted to the Licensor for inclusion in the Work by the copyright owner
|
|
50
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
51
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
52
|
+
means any form of electronic, verbal, or written communication sent
|
|
53
|
+
to the Licensor or its representatives, including but not limited to
|
|
54
|
+
communication on electronic mailing lists, source code control systems,
|
|
55
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
56
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
57
|
+
excluding communication that is conspicuously marked or otherwise
|
|
58
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
59
|
+
|
|
60
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
61
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
62
|
+
subsequently incorporated within the Work.
|
|
63
|
+
|
|
64
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
65
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
66
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
67
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
68
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
69
|
+
Work and such Derivative Works in Source or Object form.
|
|
70
|
+
|
|
71
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
72
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
73
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
74
|
+
(except as stated in this section) patent license to make, have made,
|
|
75
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
76
|
+
where such license applies only to those patent claims licensable
|
|
77
|
+
by such Contributor that are necessarily infringed by their
|
|
78
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
79
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
80
|
+
institute patent litigation against any entity (including a
|
|
81
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
82
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
83
|
+
or contributory patent infringement, then any patent licenses
|
|
84
|
+
granted to You under this License for that Work shall terminate
|
|
85
|
+
as of the date such litigation is filed.
|
|
86
|
+
|
|
87
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
88
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
89
|
+
modifications, and in Source or Object form, provided that You
|
|
90
|
+
meet the following conditions:
|
|
91
|
+
|
|
92
|
+
(a) You must give any other recipients of the Work or
|
|
93
|
+
Derivative Works a copy of this License; and
|
|
94
|
+
|
|
95
|
+
(b) You must cause any modified files to carry prominent notices
|
|
96
|
+
stating that You changed the files; and
|
|
97
|
+
|
|
98
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
99
|
+
that You distribute, all copyright, patent, trademark, and
|
|
100
|
+
attribution notices from the Source form of the Work,
|
|
101
|
+
excluding those notices that do not pertain to any part of
|
|
102
|
+
the Derivative Works; and
|
|
103
|
+
|
|
104
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
105
|
+
distribution, then any Derivative Works that You distribute must
|
|
106
|
+
include a readable copy of the attribution notices contained
|
|
107
|
+
within such NOTICE file, excluding any notices that do not
|
|
108
|
+
pertain to any part of the Derivative Works, in at least one
|
|
109
|
+
of the following places: within a NOTICE text file distributed
|
|
110
|
+
as part of the Derivative Works; within the Source form or
|
|
111
|
+
documentation, if provided along with the Derivative Works; or,
|
|
112
|
+
within a display generated by the Derivative Works, if and
|
|
113
|
+
wherever such third-party notices normally appear. The contents
|
|
114
|
+
of the NOTICE file are for informational purposes only and
|
|
115
|
+
do not modify the License. You may add Your own attribution
|
|
116
|
+
notices within Derivative Works that You distribute, alongside
|
|
117
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
118
|
+
that such additional attribution notices cannot be construed
|
|
119
|
+
as modifying the License.
|
|
120
|
+
|
|
121
|
+
You may add Your own copyright statement to Your modifications and
|
|
122
|
+
may provide additional or different license terms and conditions
|
|
123
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
124
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
125
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
126
|
+
the conditions stated in this License.
|
|
127
|
+
|
|
128
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
129
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
130
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
131
|
+
this License, without any additional terms or conditions.
|
|
132
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
133
|
+
the terms of any separate license agreement you may have executed
|
|
134
|
+
with Licensor regarding such Contributions.
|
|
135
|
+
|
|
136
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
137
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
138
|
+
except as required for reasonable and customary use in describing the
|
|
139
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
140
|
+
|
|
141
|
+
7. Limitation of Liability. Unless required by applicable law or
|
|
142
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
143
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
144
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
145
|
+
implied, including, without limitation, any warranties or conditions
|
|
146
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
147
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
148
|
+
appropriateness of using or redistributing the Work and assume any
|
|
149
|
+
risks associated with Your exercise of permissions under this License.
|
|
150
|
+
|
|
151
|
+
8. Governing Law. This License shall be governed by the laws of the
|
|
152
|
+
State of New York, USA, excluding its choice of law rules.
|
|
153
|
+
|
|
154
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
155
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
156
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
157
|
+
or other liability obligations and/or rights consistent with this
|
|
158
|
+
License. However, in accepting such obligations, You may act only
|
|
159
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
160
|
+
of any other Contributor, and You agree to indemnify, defend, and
|
|
161
|
+
hold each Contributor harmless for any liability incurred by, or
|
|
162
|
+
claims asserted against, such Contributor by reason of your
|
|
163
|
+
exercising any rights or permissions given by this License.
|
|
164
|
+
|
|
165
|
+
END OF TERMS AND CONDITIONS
|
|
166
|
+
|
|
167
|
+
Copyright 2025 hopper-agent contributors
|
|
168
|
+
|
|
169
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
170
|
+
you may not use this file except in compliance with the License.
|
|
171
|
+
You may obtain a copy of the License at
|
|
172
|
+
|
|
173
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
174
|
+
|
|
175
|
+
Unless required by applicable law or agreed to in writing, software
|
|
176
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
177
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
178
|
+
See the License for the specific language governing permissions and
|
|
179
|
+
limitations under the License.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.full.d.ts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/typealiases.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/zoderror.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseutil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/enumutil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorutil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/partialutil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/standard-schema.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/external.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/index.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/standard-schema.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/util.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/versions.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/schemas.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/checks.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/errors.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/core.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/parse.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/regexes.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/ar.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/az.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/be.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/ca.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/cs.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/de.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/en.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/eo.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/es.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/fa.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/fi.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/fr.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/fr-ca.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/he.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/hu.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/id.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/it.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/ja.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/kh.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/ko.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/mk.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/ms.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/nl.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/no.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/ota.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/ps.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/pl.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/pt.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/ru.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/sl.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/sv.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/ta.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/th.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/tr.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/ua.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/ur.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/vi.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/zh-cn.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/zh-tw.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/index.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/registries.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/doc.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/function.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/api.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/json-schema.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/to-json-schema.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/index.d.cts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.d.ts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/errors.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/parse.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/schemas.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/checks.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/compat.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/iso.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/coerce.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/external.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/index.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/index.d.cts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/types.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responsemessage.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.d.ts","../../../node_modules/.pnpm/json-schema-typed@8.0.2/node_modules/json-schema-typed/draft_2020_12.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.d.ts","../src/types.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.d.ts","../../../node_modules/.pnpm/eventsource@3.0.7/node_modules/eventsource/dist/index.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamablehttp.d.ts","../src/transport.ts","../src/errors.ts","../src/client.ts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/index.d.cts","../../core/dist/src/event-bus.d.ts","../../core/dist/src/session-store.d.ts","../../core/dist/src/permission.d.ts","../../core/dist/src/settings.d.ts","../../core/dist/src/turn-loop.d.ts","../../core/dist/src/cron-manager.d.ts","../../core/dist/src/reminder-parser.d.ts","../../core/dist/src/telegram-gateway.d.ts","../../core/dist/src/channel-registry.d.ts","../../core/dist/src/channel-router.d.ts","../../core/dist/src/heartbeat-executor.d.ts","../../core/dist/src/heartbeat-delivery.d.ts","../../core/dist/src/index.d.ts","../../tools/dist/src/tool.d.ts","../../tools/dist/src/read.d.ts","../../tools/dist/src/edit.d.ts","../../tools/dist/src/write.d.ts","../../tools/dist/src/glob.d.ts","../../tools/dist/src/grep.d.ts","../../tools/dist/src/bash.d.ts","../../tools/dist/src/reminder.d.ts","../../tools/dist/src/web-search.d.ts","../../tools/dist/src/web-fetch.d.ts","../../tools/dist/src/index.d.ts","../src/tool-adapter.ts","../src/index.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/index.d.ts","../../../node_modules/.pnpm/@types+estree@1.0.8/node_modules/@types/estree/index.d.ts","../../../node_modules/.pnpm/@types+json-schema@7.0.15/node_modules/@types/json-schema/index.d.ts","../../../node_modules/.pnpm/@types+eslint@9.6.1/node_modules/@types/eslint/use-at-your-own-risk.d.ts","../../../node_modules/.pnpm/@types+eslint@9.6.1/node_modules/@types/eslint/index.d.ts","../../../node_modules/.pnpm/@types+eslint__js@8.42.3/node_modules/@types/eslint__js/index.d.ts"],"fileIdsList":[[146,158,159,198,246,263,264],[133,145,146,150,152,153,198,246,263,264],[145,146,157,160,198,246,263,264],[145,146,198,246,247,263,264,278],[145,146,160,198,246,263,264],[133,145,147,149,150,154,198,246,263,264],[133,145,147,150,198,246,263,264],[145,198,246,263,264],[158,198,246,263,264],[198,246,263,264],[76,132,198,246,263,264],[143,198,246,263,264],[133,144,145,146,148,149,198,246,263,264],[143,144,198,246,263,264],[151,198,246,263,264],[198,246,263,264,297,298,299],[198,246,263,264,300],[198,243,244,246,263,264],[198,245,246,263,264],[246,263,264],[198,246,251,263,264,281],[198,246,247,252,257,263,264,266,278,289],[198,246,247,248,257,263,264,266],[193,194,195,198,246,263,264],[198,246,249,263,264,290],[198,246,250,251,258,263,264,267],[198,246,251,263,264,278,286],[198,246,252,254,257,263,264,266],[198,245,246,253,263,264],[198,246,254,255,263,264],[198,246,256,257,263,264],[198,245,246,257,263,264],[198,246,257,258,259,263,264,278,289],[198,246,257,258,259,263,264,273,278,281],[198,239,246,254,257,260,263,264,266,278,289],[198,246,257,258,260,261,263,264,266,278,286,289],[198,246,260,262,263,264,278,286,289],[196,197,198,199,200,201,202,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295],[198,246,257,263,264],[198,246,263,264,265,289],[198,246,254,257,263,264,266,278],[198,246,263,264,267],[198,246,263,264,268],[198,245,246,263,264,269],[198,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295],[198,246,263,264,271],[198,246,263,264,272],[198,246,257,263,264,273,274],[198,246,263,264,273,275,290,292],[198,246,258,263,264],[198,246,257,263,264,278,279,281],[198,246,263,264,280,281],[198,246,263,264,278,279],[198,246,263,264,281],[198,246,263,264,282],[198,243,246,263,264,278,283,289],[198,246,257,263,264,284,285],[198,246,263,264,284,285],[198,246,251,263,264,266,278,286],[198,246,263,264,287],[198,246,263,264,266,288],[198,246,260,263,264,272,289],[198,246,251,263,264,290],[198,246,263,264,278,291],[198,246,263,264,265,292],[198,246,263,264,293],[198,239,246,263,264],[198,239,246,257,259,263,264,269,278,281,289,291,292,294],[198,246,263,264,278,295],[198,211,215,246,263,264,289],[198,211,246,263,264,278,289],[198,206,246,263,264],[198,208,211,246,263,264,286,289],[198,246,263,264,266,286],[198,246,263,264,296],[198,206,246,263,264,296],[198,208,211,246,263,264,266,289],[198,203,204,207,210,246,257,263,264,278,289],[198,211,218,246,263,264],[198,203,209,246,263,264],[198,211,232,233,246,263,264],[198,207,211,246,263,264,281,289,296],[198,232,246,263,264,296],[198,205,206,246,263,264,296],[198,211,246,263,264],[198,205,206,207,208,209,210,211,212,213,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,233,234,235,236,237,238,246,263,264],[198,211,226,246,263,264],[198,211,218,219,246,263,264],[198,209,211,219,220,246,263,264],[198,210,246,263,264],[198,203,206,211,246,263,264],[198,211,215,219,220,246,263,264],[198,215,246,263,264],[198,209,211,214,246,263,264,289],[198,203,208,211,218,246,263,264],[198,246,263,264,278],[198,206,211,232,246,263,264,294,296],[75,198,246,263,264],[66,67,198,246,263,264],[64,65,66,68,69,74,198,246,263,264],[65,66,198,246,263,264],[74,198,246,263,264],[66,198,246,263,264],[64,65,66,69,70,71,72,73,198,246,263,264],[64,65,76,198,246,263,264],[132,198,246,263,264],[132,136,198,246,263,264],[125,132,134,135,136,137,138,139,140,198,246,263,264],[141,198,246,263,264],[132,134,198,246,263,264],[132,135,198,246,263,264],[78,80,81,82,83,198,246,263,264],[78,80,82,83,198,246,263,264],[78,80,82,198,246,263,264],[78,80,81,83,198,246,263,264],[78,80,83,198,246,263,264],[78,79,80,81,82,83,84,85,125,126,127,128,129,130,131,198,246,263,264],[80,83,198,246,263,264],[77,78,79,81,82,83,198,246,263,264],[80,126,130,198,246,263,264],[80,81,82,83,198,246,263,264],[142,198,246,263,264],[82,198,246,263,264],[86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,198,246,263,264],[170,175,198,246,263,264],[174,198,246,263,264],[170,171,172,198,246,263,264],[167,168,169,170,171,172,173,174,175,176,177,178,198,246,263,264],[167,198,246,263,264],[167,168,169,170,198,246,263,264],[145,146,154,155,163,164,198,246,263,264],[155,163,164,165,190,191,198,246,263,264],[145,165,179,190,198,246,263,264],[146,155,156,161,162,198,246,263,264],[180,198,246,263,264],[180,181,182,183,184,185,186,187,188,189,198,246,263,264],[166,179,198,246,263,264]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"3cbad9a1ba4453443026ed38e4b8be018abb26565fa7c944376463ad9df07c41","impliedFormat":1},{"version":"d3cfde44f8089768ebb08098c96d01ca260b88bccf238d55eee93f1c620ff5a5","impliedFormat":1},{"version":"293eadad9dead44c6fd1db6de552663c33f215c55a1bfa2802a1bceed88ff0ec","impliedFormat":1},{"version":"08b2fae7b0f553ad9f79faec864b179fc58bc172e295a70943e8585dd85f600c","impliedFormat":1},{"version":"f12edf1672a94c578eca32216839604f1e1c16b40a1896198deabf99c882b340","impliedFormat":1},{"version":"e3498cf5e428e6c6b9e97bd88736f26d6cf147dedbfa5a8ad3ed8e05e059af8a","impliedFormat":1},{"version":"dba3f34531fd9b1b6e072928b6f885aa4d28dd6789cbd0e93563d43f4b62da53","impliedFormat":1},{"version":"f672c876c1a04a223cf2023b3d91e8a52bb1544c576b81bf64a8fec82be9969c","impliedFormat":1},{"version":"e4b03ddcf8563b1c0aee782a185286ed85a255ce8a30df8453aade2188bbc904","impliedFormat":1},{"version":"2329d90062487e1eaca87b5e06abcbbeeecf80a82f65f949fd332cfcf824b87b","impliedFormat":1},{"version":"25b3f581e12ede11e5739f57a86e8668fbc0124f6649506def306cad2c59d262","impliedFormat":1},{"version":"4fdb529707247a1a917a4626bfb6a293d52cd8ee57ccf03830ec91d39d606d6d","impliedFormat":1},{"version":"a9ebb67d6bbead6044b43714b50dcb77b8f7541ffe803046fdec1714c1eba206","impliedFormat":1},{"version":"833e92c058d033cde3f29a6c7603f517001d1ddd8020bc94d2067a3bc69b2a8e","impliedFormat":1},{"version":"309ebd217636d68cf8784cbc3272c16fb94fb8e969e18b6fe88c35200340aef1","impliedFormat":1},{"version":"91cf9887208be8641244827c18e620166edf7e1c53114930b54eaeaab588a5be","impliedFormat":1},{"version":"ef9b6279acc69002a779d0172916ef22e8be5de2d2469ff2f4bb019a21e89de2","impliedFormat":1},{"version":"71623b889c23a332292c85f9bf41469c3f2efa47f81f12c73e14edbcffa270d3","affectsGlobalScope":true,"impliedFormat":1},{"version":"88863d76039cc550f8b7688a213dd051ae80d94a883eb99389d6bc4ce21c8688","impliedFormat":1},{"version":"e9ce511dae7201b833936d13618dff01815a9db2e6c2cc28646e21520c452d6c","impliedFormat":1},{"version":"243649afb10d950e7e83ee4d53bd2fbd615bb579a74cf6c1ce10e64402cdf9bb","impliedFormat":1},{"version":"35575179030368798cbcd50da928a275234445c9a0df32d4a2c694b2b3d20439","impliedFormat":1},{"version":"c939cb12cb000b4ec9c3eca3fe7dee1fe373ccb801237631d9252bad10206d61","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"26384fb401f582cae1234213c3dc75fdc80e3d728a0a1c55b405be8a0c6dddbe","impliedFormat":1},{"version":"26384fb401f582cae1234213c3dc75fdc80e3d728a0a1c55b405be8a0c6dddbe","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"26384fb401f582cae1234213c3dc75fdc80e3d728a0a1c55b405be8a0c6dddbe","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"b42d3651103a532f7492e719a828647af97306b2356ae757ebb7f17f4a8c41e5","impliedFormat":1},{"version":"03268b4d02371bdf514f513797ed3c9eb0840b0724ff6778bda0ef74c35273be","impliedFormat":1},{"version":"3511847babb822e10715a18348d1cbb0dae73c4e4c0a1bcf7cbc12771b310d45","impliedFormat":1},{"version":"80e653fbbec818eecfe95d182dc65a1d107b343d970159a71922ac4491caa0af","impliedFormat":1},{"version":"53f00dc83ccceb8fad22eb3aade64e4bcdb082115f230c8ba3d40f79c835c30e","impliedFormat":1},{"version":"35475931e8b55c4d33bfe3abc79f5673924a0bd4224c7c6108a4e08f3521643c","impliedFormat":1},{"version":"9078205849121a5d37a642949d687565498da922508eacb0e5a0c3de427f0ae5","impliedFormat":1},{"version":"e8f8f095f137e96dc64b56e59556c02f3c31db4b354801d6ae3b90dceae60240","impliedFormat":1},{"version":"451abef2a26cebb6f54236e68de3c33691e3b47b548fd4c8fa05fd84ab2238ff","impliedFormat":1},{"version":"0648a8c200b5544e30677f7f7059b1e384d6cab716c82659716457e3f317ebae","impliedFormat":99},{"version":"6042774c61ece4ba77b3bf375f15942eb054675b7957882a00c22c0e4fe5865c","impliedFormat":1},{"version":"41f185713d78f7af0253a339927dc04b485f46210d6bc0691cf908e3e8ded2a1","impliedFormat":1},{"version":"23ee410c645f68bd99717527de1586e3eb826f166d654b74250ad92b27311fde","impliedFormat":1},{"version":"ffc3e1064146c1cafda1b0686ae9679ba1fb706b2f415e057be01614bf918dba","impliedFormat":1},{"version":"995869b1ddf66bbcfdb417f7446f610198dcce3280a0ae5c8b332ed985c01855","impliedFormat":1},{"version":"58d65a2803c3b6629b0e18c8bf1bc883a686fcf0333230dd0151ab6e85b74307","impliedFormat":1},{"version":"e818471014c77c103330aee11f00a7a00b37b35500b53ea6f337aefacd6174c9","impliedFormat":1},{"version":"dca963a986285211cfa75b9bb57914538de29585d34217d03b538e6473ac4c44","impliedFormat":1},{"version":"d8bc0c5487582c6d887c32c92d8b4ffb23310146fcb1d82adf4b15c77f57c4ac","impliedFormat":1},{"version":"8cb31102790372bebfd78dd56d6752913b0f3e2cefbeb08375acd9f5ba737155","impliedFormat":1},{"version":"f17ed72d1b1882ab6dc66d45e699f757d15bba0807af2fc9c3ec98fe367611c1","impliedFormat":99},{"version":"b1067ccb56b38af060dc3299ea7c4c6362cad4f07d0d454325a74808204fc801","impliedFormat":99},{"version":"7bb43a0f0180ad87b0a944ef95be8615d4c1d621a93ae503a8fcdee2027243ef","impliedFormat":99},{"version":"ba678532514244768286bdfdc82b33f072d5de4e9d281a75bcccdba9970788d7","impliedFormat":99},{"version":"0b79f95a79497386c50f38bafbbf59154619e51d7bbe5acf61cd376d3c9d77b9","impliedFormat":99},{"version":"5993793a23b298afd20c2e1cd2bf8468cc7e9415d314d0771e93dd8b2e389d28","impliedFormat":99},{"version":"05267740a5cff4399995b08326a2e250f229e9926f453162192b9b96b853a12b","impliedFormat":99},{"version":"104fae9b53b5eaa040d9ce626e1bf0b3e6e27d269a899a98a4a28358cdcbc155","impliedFormat":99},{"version":"50a6aa665f3a2e769a4d683f9f74cd15164d0947fb957d8016331b170ab8b643","impliedFormat":99},{"version":"af1c82452583c91ff01be5c5c9809e7bb10859ff7027fadc4f0f85f79f807b57","impliedFormat":99},{"version":"4abbcac9096680e4c509bcb3b629338bb71a153ca6d84d0b764dd697209f6147","impliedFormat":99},{"version":"50a0132366404b8a0b846d946d62ff17482c14c952693e422db6aeb4892faa90","signature":"50492114755c0b86fd3a58dade5b924b1515fc2f241e381f267a157e345ceac0"},{"version":"df7f33d8c7e22b398526b39d114ca9db159760640c9f0401b88f030ca61a755e","impliedFormat":99},{"version":"7ae48a41eb14b67618693cd9a9565c932c5685be8ce991372190894ea2ebcd48","impliedFormat":99},{"version":"b9230f91e3aa1e38a4434eb04c0fc50928d7c006b3f2fb90f398c3690dd04c47","impliedFormat":99},{"version":"6c2abb83780fa85a15dca27ab7d23d76a73b1bb66f3c834ecf83ee53e340ab1b","impliedFormat":99},{"version":"fa68082b5c5f841c0e5b225b6770591bf0d562b2d34e923cafcff4aef8da6609","impliedFormat":99},{"version":"4052e57b4a37a2222b467c9dc7eb3b2603b2d9f6170cfc8aced43e0c1a1a1452","impliedFormat":99},{"version":"2c7211311fc491a99e8a583d0b6fa77ccc287c9e3beef5b80ce2ca6a11003d52","impliedFormat":99},{"version":"ed4361fd19d50f8da93a6bb78bda7c4863e0a5200aaeab78c6f59235cab9d29d","signature":"d5919b6fcf39ea625dfa4a09d00de2c8f842920f057f0aba35892900c1ffff02"},{"version":"c9e03292ba594b023549c1a1276a1d6fb6f964c97b4b498e727c278671836c67","signature":"45f5f5a2a417feb6e215edf696473301ef2ebca5b8f56de12db93d9023161e1d"},{"version":"f358686c27c7500c1a2e1aaf181dd8df61b772df67af833586359b55da7ca34f","signature":"d2a212d571a2834dada199de8a7609ea9b90bb4a882d6782a72bd78661893359"},{"version":"5780b706cece027f0d4444fbb4e1af62dc51e19da7c3d3719f67b22b033859b9","impliedFormat":1},"930aaab4bf3db8ce343eb56c912027a1efc7b19ca4f72e36e5b5ce638c249ae6","df9ab0fe34601fff1888269c56872da42f7a1fb73152abbdd625918d0e3e9224","ebc527cfe7241bb64b03d3db6d22fedf16f3bd6ed43cc330ea5bf78d419576ad","b622554c5dcbc46d11145df0b5fc3aad6c12572639f0001e518a9926c6b0ff17","3e81369d8f7a1b77247ca0f758f4dc56d4c7e08a047ff7436d04caa0122d00ae","29b74423ed1b6d6e826324cb21d6d0945de91fbeab408266e400f705eeffa1db","949fc6507cdd36f444898ee1ce04dbbceac6912872e9940d9295a82b082ea8cf","3c6010fd34b52dce1ee36b38c583529cae6591466e7e6c108476bbc9097ab976","b9a34accd5d8e2b056b54e12141cdf904253cdc3235ebe2a9e73c55ff12d8212","1bee8d6dbb193a7381ca02d44b261145655168f2c58853d35a898520bb914150","fdb463def1b7ffc876731296adabb382092e51dde4ab2e77b98e10cdc6559705","97594ccc5e7198eda5622aa54aa069e5285e63f1d4b9a32835dbee1603b1895d","b63b69474a29e103284c9603d6d610a48fc2e4f9bc11538d81ec3a1c87474265","74c5f33fa83898e4fb08826af325b75a9a930216957d27d15c9d74e7fc895394","a7b3d7f5ed340357f3270f7b342522d49bba6b84f93f2015553deaf5d4298c0a","50aa3250d03c3036d624f429b745b56da3e946a607f8aa0770cda8fb1c6b3269","26ad0e1cfae712fda6418b7db8ae7f0961f4201b730ec27e5a51203469f26a6c","83d5ede219c89397105d39915e330a0dd22ed0f4fc4531715e2c87525aeed467","dae9983e2d512b72042bdcf8e6a3176dad6a829b2b935e2bd757a77d8dcd3e41","cfc9579dcfd82f627321a742ef2894dfb21f1890535a09f1964d06dad24fed39","557efaa2fd4a7821747bb25d0326d1192ab580e93084dcaa668675758b11823b","0915723ee11dcede82081d777fd6f2e33fcbf5c9dac0836cf30351987bc2edb7","dbd203df5fd723f4dfb29e573da9d7fbc8a8e53a165b604095dc5e1c89dbaef4","bfa4da3c4eea116229d164687586c93d530d1109e2fc291a8a0590cda28c7f28",{"version":"0dda110bbac89cc440d8fbaad3b80c4852fc09984e80f16deacebedf39b4b1cd","signature":"38ced8e3a71a29606434333f7984e52431f5e5d565eb7af71e7f153aa7fa101e"},{"version":"651b210d03102497fc98f4063ccdcf1a9495fde329df2f53b68a923d153f79b1","signature":"6c5db05972aa137a27d2f827b4bb344215c9a8a907c124d6c1861b1fc21fc410"},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"808069bba06b6768b62fd22429b53362e7af342da4a236ed2d2e1c89fcca3b4a","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9501cc13ce624c72b61f12b3963e84fad210fbdf0ffbc4590e08460a3f04eba","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0fa06ada475b910e2106c98c68b10483dc8811d0c14a8a8dd36efb2672485b29","impliedFormat":1},{"version":"33e5e9aba62c3193d10d1d33ae1fa75c46a1171cf76fef750777377d53b0303f","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"6a0cd27e5dc2cfbe039e731cf879d12b0e2dded06d1b1dedad07f7712de0d7f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"13f5c844119c43e51ce777c509267f14d6aaf31eafb2c2b002ca35584cd13b29","impliedFormat":1},{"version":"e60477649d6ad21542bd2dc7e3d9ff6853d0797ba9f689ba2f6653818999c264","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"4c829ab315f57c5442c6667b53769975acbf92003a66aef19bce151987675bd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"b2ade7657e2db96d18315694789eff2ddd3d8aea7215b181f8a0b303277cc579","impliedFormat":1},{"version":"9855e02d837744303391e5623a531734443a5f8e6e8755e018c41d63ad797db2","impliedFormat":1},{"version":"4d631b81fa2f07a0e63a9a143d6a82c25c5f051298651a9b69176ba28930756d","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"41670ee38943d9cbb4924e436f56fc19ee94232bc96108562de1a734af20dc2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c906fb15bd2aabc9ed1e3f44eb6a8661199d6c320b3aa196b826121552cb3695","impliedFormat":1},{"version":"22295e8103f1d6d8ea4b5d6211e43421fe4564e34d0dd8e09e520e452d89e659","impliedFormat":1},{"version":"58647d85d0f722a1ce9de50955df60a7489f0593bf1a7015521efe901c06d770","impliedFormat":1},{"version":"6b4e081d55ac24fc8a4631d5dd77fe249fa25900abd7d046abb87d90e3b45645","impliedFormat":1},{"version":"a10f0e1854f3316d7ee437b79649e5a6ae3ae14ffe6322b02d4987071a95362e","impliedFormat":1},{"version":"e208f73ef6a980104304b0d2ca5f6bf1b85de6009d2c7e404028b875020fa8f2","impliedFormat":1},{"version":"d163b6bc2372b4f07260747cbc6c0a6405ab3fbcea3852305e98ac43ca59f5bc","impliedFormat":1},{"version":"e6fa9ad47c5f71ff733744a029d1dc472c618de53804eae08ffc243b936f87ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6f137d651076822d4fe884287e68fd61785a0d3d1fdb250a5059b691fa897db","impliedFormat":1},{"version":"24826ed94a78d5c64bd857570fdbd96229ad41b5cb654c08d75a9845e3ab7dde","impliedFormat":1},{"version":"8b479a130ccb62e98f11f136d3ac80f2984fdc07616516d29881f3061f2dd472","impliedFormat":1},{"version":"928af3d90454bf656a52a48679f199f64c1435247d6189d1caf4c68f2eaf921f","affectsGlobalScope":true,"impliedFormat":1},{"version":"bceb58df66ab8fb00170df20cd813978c5ab84be1d285710c4eb005d8e9d8efb","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"4f9d8ca0c417b67b69eeb54c7ca1bedd7b56034bb9bfd27c5d4f3bc4692daca7","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"a3fc63c0d7b031693f665f5494412ba4b551fe644ededccc0ab5922401079c95","impliedFormat":1},{"version":"80523c00b8544a2000ae0143e4a90a00b47f99823eb7926c1e03c494216fc363","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"746911b62b329587939560deb5c036aca48aece03147b021fa680223255d5183","affectsGlobalScope":true,"impliedFormat":1},{"version":"18fd40412d102c5564136f29735e5d1c3b455b8a37f920da79561f1fde068208","impliedFormat":1},{"version":"c8d3e5a18ba35629954e48c4cc8f11dc88224650067a172685c736b27a34a4dc","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"2b55d426ff2b9087485e52ac4bc7cfafe1dc420fc76dad926cd46526567c501a","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"5b7aa3c4c1a5d81b411e8cb302b45507fea9358d3569196b27eb1a27ae3a90ef","affectsGlobalScope":true,"impliedFormat":1},{"version":"5987a903da92c7462e0b35704ce7da94d7fdc4b89a984871c0e2b87a8aae9e69","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea08a0345023ade2b47fbff5a76d0d0ed8bff10bc9d22b83f40858a8e941501c","impliedFormat":1},{"version":"47613031a5a31510831304405af561b0ffaedb734437c595256bb61a90f9311b","impliedFormat":1},{"version":"ae062ce7d9510060c5d7e7952ae379224fb3f8f2dd74e88959878af2057c143b","impliedFormat":1},{"version":"8a1a0d0a4a06a8d278947fcb66bf684f117bf147f89b06e50662d79a53be3e9f","affectsGlobalScope":true,"impliedFormat":1},{"version":"358765d5ea8afd285d4fd1532e78b88273f18cb3f87403a9b16fef61ac9fdcfe","impliedFormat":1},{"version":"9f55299850d4f0921e79b6bf344b47c420ce0f507b9dcf593e532b09ea7eeea1","impliedFormat":1},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"a4a39b5714adfcadd3bbea6698ca2e942606d833bde62ad5fb6ec55f5e438ff8","impliedFormat":1},{"version":"bbc1d029093135d7d9bfa4b38cbf8761db505026cc458b5e9c8b74f4000e5e75","impliedFormat":1},{"version":"bc5c8a86f2025c4f52e4b13f08f2b76daddf50d5bad325795226f94537060e5d","impliedFormat":1}],"root":[155,[163,165],191,192],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"jsx":4,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noUncheckedIndexedAccess":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"stripInternal":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo"},"referencedMap":[[160,1],[154,2],[161,3],[156,4],[162,5],[153,6],[148,7],[147,8],[159,9],[144,10],[133,11],[158,12],[150,13],[149,8],[146,8],[145,14],[152,15],[300,16],[299,17],[301,17],[297,10],[298,10],[243,18],[244,18],[245,19],[198,20],[246,21],[247,22],[248,23],[193,10],[196,24],[194,10],[195,10],[249,25],[250,26],[251,27],[252,28],[253,29],[254,30],[255,30],[256,31],[257,32],[258,33],[259,34],[199,10],[197,10],[260,35],[261,36],[262,37],[296,38],[263,39],[264,10],[265,40],[266,41],[267,42],[268,43],[269,44],[270,45],[271,46],[272,47],[273,48],[274,48],[275,49],[276,10],[277,50],[278,51],[280,52],[279,53],[281,54],[282,55],[283,56],[284,57],[285,58],[286,59],[287,60],[288,61],[289,62],[290,63],[291,64],[292,65],[293,66],[200,10],[201,10],[202,10],[240,67],[241,10],[242,10],[294,68],[295,69],[157,10],[151,10],[61,10],[62,10],[12,10],[10,10],[11,10],[16,10],[15,10],[2,10],[17,10],[18,10],[19,10],[20,10],[21,10],[22,10],[23,10],[24,10],[3,10],[25,10],[26,10],[4,10],[27,10],[31,10],[28,10],[29,10],[30,10],[32,10],[33,10],[34,10],[5,10],[35,10],[36,10],[37,10],[38,10],[6,10],[42,10],[39,10],[40,10],[41,10],[43,10],[7,10],[44,10],[49,10],[50,10],[45,10],[46,10],[47,10],[48,10],[8,10],[54,10],[51,10],[52,10],[53,10],[55,10],[9,10],[56,10],[63,10],[57,10],[58,10],[60,10],[59,10],[1,10],[14,10],[13,10],[218,70],[228,71],[217,70],[238,72],[209,73],[208,74],[237,75],[231,76],[236,77],[211,78],[225,79],[210,80],[234,81],[206,82],[205,75],[235,83],[207,84],[212,85],[213,10],[216,85],[203,10],[239,86],[229,87],[220,88],[221,89],[223,90],[219,91],[222,92],[232,75],[214,93],[215,94],[224,95],[204,96],[227,87],[226,85],[230,10],[233,97],[166,98],[68,99],[75,100],[70,10],[71,10],[69,101],[72,102],[64,10],[65,10],[76,98],[67,103],[73,10],[74,104],[66,105],[137,106],[140,107],[138,107],[134,106],[141,108],[142,109],[139,107],[135,110],[136,111],[129,112],[81,113],[83,114],[127,10],[82,115],[128,116],[132,117],[130,10],[84,113],[85,10],[126,118],[80,119],[77,10],[131,120],[78,121],[79,10],[143,122],[86,123],[87,123],[88,123],[89,123],[90,123],[91,123],[92,123],[93,123],[94,123],[95,123],[96,123],[98,123],[97,123],[99,123],[100,123],[101,123],[125,124],[102,123],[103,123],[104,123],[105,123],[106,123],[107,123],[108,123],[109,123],[110,123],[112,123],[111,123],[113,123],[114,123],[115,123],[116,123],[117,123],[118,123],[119,123],[120,123],[121,123],[122,123],[123,123],[124,123],[175,10],[176,125],[172,10],[167,10],[178,126],[177,127],[179,128],[169,10],[173,10],[168,129],[170,10],[174,10],[171,130],[165,131],[164,10],[192,132],[191,133],[163,134],[155,10],[186,135],[182,135],[184,135],[185,135],[190,136],[181,135],[187,135],[180,137],[189,135],[188,135],[183,135]],"latestChangedDtsFile":"./src/tool-adapter.d.ts","version":"5.9.3"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { Tool as MCPTool, CallToolResult } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
+
import type { MCPConfig } from './types.js';
|
|
3
|
+
export interface MCPClientOptions {
|
|
4
|
+
config: MCPConfig;
|
|
5
|
+
/** Called when the server pushes a `notifications/tools/list_changed` event. */
|
|
6
|
+
onToolsChanged?: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare class MCPClient {
|
|
9
|
+
private sdkClient;
|
|
10
|
+
private transport;
|
|
11
|
+
private _tools;
|
|
12
|
+
private readonly config;
|
|
13
|
+
private disposed;
|
|
14
|
+
private connecting;
|
|
15
|
+
constructor(options: MCPClientOptions);
|
|
16
|
+
get tools(): ReadonlyArray<MCPTool>;
|
|
17
|
+
get isConnected(): boolean;
|
|
18
|
+
get serverId(): string;
|
|
19
|
+
get serverName(): string;
|
|
20
|
+
connect(): Promise<void>;
|
|
21
|
+
private refreshTools;
|
|
22
|
+
callTool(name: string, args: Record<string, unknown>): Promise<CallToolResult>;
|
|
23
|
+
disconnect(): Promise<void>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,IAAI,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAI1F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAG5C,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,SAAS,CAAC;IAClB,gFAAgF;IAChF,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,qBAAa,SAAS;IACpB,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,SAAS,CAA0B;IAC3C,OAAO,CAAC,MAAM,CAAiB;IAC/B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAY;IACnC,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,UAAU,CAAS;gBAEf,OAAO,EAAE,gBAAgB;IAgCrC,IAAI,KAAK,IAAI,aAAa,CAAC,OAAO,CAAC,CAElC;IAED,IAAI,WAAW,IAAI,OAAO,CAEzB;IAED,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,IAAI,UAAU,IAAI,MAAM,CAEvB;IAEK,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;YA0BhB,YAAY;IAWpB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,cAAc,CAAC;IAoB9E,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;CASlC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
|
|
2
|
+
import { ToolListChangedNotificationSchema } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import { createTransport } from './transport.js';
|
|
4
|
+
import { MCPConnectionError, normalizeError } from './errors.js';
|
|
5
|
+
export class MCPClient {
|
|
6
|
+
sdkClient;
|
|
7
|
+
transport = null;
|
|
8
|
+
_tools = [];
|
|
9
|
+
config;
|
|
10
|
+
disposed = false;
|
|
11
|
+
connecting = false;
|
|
12
|
+
constructor(options) {
|
|
13
|
+
this.config = options.config;
|
|
14
|
+
this.sdkClient = new Client({ name: `hopper-agent-mcp-${options.config.id}`, version: '0.1.0' });
|
|
15
|
+
// Register tool list changed handler
|
|
16
|
+
if (options.onToolsChanged) {
|
|
17
|
+
this.sdkClient.setNotificationHandler(ToolListChangedNotificationSchema, async () => {
|
|
18
|
+
try {
|
|
19
|
+
await this.refreshTools();
|
|
20
|
+
options.onToolsChanged();
|
|
21
|
+
}
|
|
22
|
+
catch (err) {
|
|
23
|
+
console.error(`[mcp:${this.config.id}] Failed to refresh tools:`, normalizeError(err, this.config.id));
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
// Handle out-of-band transport errors
|
|
28
|
+
this.sdkClient.onerror = (error) => {
|
|
29
|
+
console.error(`[mcp:${this.config.id}] Transport error:`, error.message);
|
|
30
|
+
};
|
|
31
|
+
this.sdkClient.onclose = () => {
|
|
32
|
+
console.log(`[mcp:${this.config.id}] Connection closed`);
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
get tools() {
|
|
36
|
+
return this._tools;
|
|
37
|
+
}
|
|
38
|
+
get isConnected() {
|
|
39
|
+
return !this.disposed && this.transport !== null;
|
|
40
|
+
}
|
|
41
|
+
get serverId() {
|
|
42
|
+
return this.config.id;
|
|
43
|
+
}
|
|
44
|
+
get serverName() {
|
|
45
|
+
return this.config.name;
|
|
46
|
+
}
|
|
47
|
+
async connect() {
|
|
48
|
+
if (this.connecting) {
|
|
49
|
+
throw new MCPConnectionError('Already connecting', this.config.id);
|
|
50
|
+
}
|
|
51
|
+
if (this.isConnected) {
|
|
52
|
+
return; // already connected
|
|
53
|
+
}
|
|
54
|
+
if (this.disposed) {
|
|
55
|
+
throw new MCPConnectionError('Client has been disposed', this.config.id);
|
|
56
|
+
}
|
|
57
|
+
this.connecting = true;
|
|
58
|
+
try {
|
|
59
|
+
const transport = await createTransport(this.config);
|
|
60
|
+
this.transport = transport;
|
|
61
|
+
await this.sdkClient.connect(transport);
|
|
62
|
+
await this.refreshTools();
|
|
63
|
+
console.error(`[mcp:${this.config.id}] Connected, tools: ${this._tools.length}`);
|
|
64
|
+
}
|
|
65
|
+
catch (err) {
|
|
66
|
+
console.error(`[mcp:${this.config.id}] Connect failed: ${normalizeError(err, this.config.id).message}`);
|
|
67
|
+
throw err;
|
|
68
|
+
}
|
|
69
|
+
finally {
|
|
70
|
+
this.connecting = false;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
async refreshTools() {
|
|
74
|
+
let cursor;
|
|
75
|
+
const allTools = [];
|
|
76
|
+
do {
|
|
77
|
+
const result = await this.sdkClient.listTools({ cursor });
|
|
78
|
+
allTools.push(...result.tools);
|
|
79
|
+
cursor = result.nextCursor;
|
|
80
|
+
} while (cursor);
|
|
81
|
+
this._tools = allTools;
|
|
82
|
+
}
|
|
83
|
+
async callTool(name, args) {
|
|
84
|
+
if (!this.isConnected) {
|
|
85
|
+
throw new MCPConnectionError('Not connected — call connect() first', this.config.id);
|
|
86
|
+
}
|
|
87
|
+
try {
|
|
88
|
+
const result = await this.sdkClient.callTool({ name, arguments: args });
|
|
89
|
+
// Handle the SDK's union return type: if it has `toolResult` instead of `content`,
|
|
90
|
+
// it means the server returned the compat shape.
|
|
91
|
+
if ('toolResult' in result) {
|
|
92
|
+
return {
|
|
93
|
+
content: [],
|
|
94
|
+
isError: true,
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
return result;
|
|
98
|
+
}
|
|
99
|
+
catch (err) {
|
|
100
|
+
throw normalizeError(err, this.config.id);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
async disconnect() {
|
|
104
|
+
this.disposed = true;
|
|
105
|
+
try {
|
|
106
|
+
await this.sdkClient.close();
|
|
107
|
+
}
|
|
108
|
+
catch {
|
|
109
|
+
// ignore close errors during shutdown
|
|
110
|
+
}
|
|
111
|
+
this.transport = null;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAEnE,OAAO,EAAE,iCAAiC,EAAE,MAAM,oCAAoC,CAAC;AAEvF,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAQjE,MAAM,OAAO,SAAS;IACZ,SAAS,CAAS;IAClB,SAAS,GAAqB,IAAI,CAAC;IACnC,MAAM,GAAc,EAAE,CAAC;IACd,MAAM,CAAY;IAC3B,QAAQ,GAAG,KAAK,CAAC;IACjB,UAAU,GAAG,KAAK,CAAC;IAE3B,YAAY,OAAyB;QACnC,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;QAE7B,IAAI,CAAC,SAAS,GAAG,IAAI,MAAM,CACzB,EAAE,IAAI,EAAE,oBAAoB,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CACpE,CAAC;QAEF,qCAAqC;QACrC,IAAI,OAAO,CAAC,cAAc,EAAE,CAAC;YAC3B,IAAI,CAAC,SAAS,CAAC,sBAAsB,CACnC,iCAAiC,EACjC,KAAK,IAAI,EAAE;gBACT,IAAI,CAAC;oBACH,MAAM,IAAI,CAAC,YAAY,EAAE,CAAC;oBAC1B,OAAO,CAAC,cAAe,EAAE,CAAC;gBAC5B,CAAC;gBAAC,OAAO,GAAG,EAAE,CAAC;oBACb,OAAO,CAAC,KAAK,CAAC,QAAQ,IAAI,CAAC,MAAM,CAAC,EAAE,4BAA4B,EAAE,cAAc,CAAC,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC;gBACzG,CAAC;YACH,CAAC,CACF,CAAC;QACJ,CAAC;QAED,sCAAsC;QACtC,IAAI,CAAC,SAAS,CAAC,OAAO,GAAG,CAAC,KAAK,EAAE,EAAE;YACjC,OAAO,CAAC,KAAK,CAAC,QAAQ,IAAI,CAAC,MAAM,CAAC,EAAE,oBAAoB,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;QAC3E,CAAC,CAAC;QAEF,IAAI,CAAC,SAAS,CAAC,OAAO,GAAG,GAAG,EAAE;YAC5B,OAAO,CAAC,GAAG,CAAC,QAAQ,IAAI,CAAC,MAAM,CAAC,EAAE,qBAAqB,CAAC,CAAC;QAC3D,CAAC,CAAC;IACJ,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAI,WAAW;QACb,OAAO,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,CAAC;IACnD,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;IACxB,CAAC;IAED,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC;IAC1B,CAAC;IAED,KAAK,CAAC,OAAO;QACX,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,MAAM,IAAI,kBAAkB,CAAC,oBAAoB,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QACrE,CAAC;QACD,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;YACrB,OAAO,CAAC,oBAAoB;QAC9B,CAAC;QACD,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,MAAM,IAAI,kBAAkB,CAAC,0BAA0B,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAC3E,CAAC;QAED,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QACvB,IAAI,CAAC;YACH,MAAM,SAAS,GAAG,MAAM,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YACrD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;YAC3B,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;YACxC,MAAM,IAAI,CAAC,YAAY,EAAE,CAAC;YAC1B,OAAO,CAAC,KAAK,CAAC,QAAQ,IAAI,CAAC,MAAM,CAAC,EAAE,uBAAuB,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;QACnF,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,OAAO,CAAC,KAAK,CAAC,QAAQ,IAAI,CAAC,MAAM,CAAC,EAAE,qBAAqB,cAAc,CAAC,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;YACxG,MAAM,GAAG,CAAC;QACZ,CAAC;gBAAS,CAAC;YACT,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;QAC1B,CAAC;IACH,CAAC;IAEO,KAAK,CAAC,YAAY;QACxB,IAAI,MAA0B,CAAC;QAC/B,MAAM,QAAQ,GAAc,EAAE,CAAC;QAC/B,GAAG,CAAC;YACF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC;YAC1D,QAAQ,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;YAC/B,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC;QAC7B,CAAC,QAAQ,MAAM,EAAE;QACjB,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC;IACzB,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC,IAAY,EAAE,IAA6B;QACxD,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YACtB,MAAM,IAAI,kBAAkB,CAAC,sCAAsC,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QACvF,CAAC;QACD,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;YACxE,mFAAmF;YACnF,iDAAiD;YACjD,IAAI,YAAY,IAAI,MAAM,EAAE,CAAC;gBAC3B,OAAO;oBACL,OAAO,EAAE,EAAE;oBACX,OAAO,EAAE,IAAI;iBACd,CAAC;YACJ,CAAC;YACD,OAAO,MAAM,CAAC;QAChB,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,MAAM,cAAc,CAAC,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAC5C,CAAC;IACH,CAAC;IAED,KAAK,CAAC,UAAU;QACd,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACrB,IAAI,CAAC;YACH,MAAM,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;QAC/B,CAAC;QAAC,MAAM,CAAC;YACP,sCAAsC;QACxC,CAAC;QACD,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;IACxB,CAAC;CACF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class MCPConnectionError extends Error {
|
|
2
|
+
readonly serverId: string;
|
|
3
|
+
constructor(message: string, serverId: string);
|
|
4
|
+
}
|
|
5
|
+
export declare class MCPTimeoutError extends Error {
|
|
6
|
+
readonly serverId: string;
|
|
7
|
+
readonly timeoutMs: number;
|
|
8
|
+
constructor(message: string, serverId: string, timeoutMs: number);
|
|
9
|
+
}
|
|
10
|
+
export declare class MCPServerError extends Error {
|
|
11
|
+
readonly serverId: string;
|
|
12
|
+
readonly code?: string | undefined;
|
|
13
|
+
constructor(message: string, serverId: string, code?: string | undefined);
|
|
14
|
+
}
|
|
15
|
+
export declare function isMCPConnectionError(err: unknown): err is MCPConnectionError;
|
|
16
|
+
export declare function normalizeError(err: unknown, serverId?: string): Error;
|
|
17
|
+
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/errors.ts"],"names":[],"mappings":"AAAA,qBAAa,kBAAmB,SAAQ,KAAK;aACE,QAAQ,EAAE,MAAM;gBAAjD,OAAO,EAAE,MAAM,EAAkB,QAAQ,EAAE,MAAM;CAI9D;AAED,qBAAa,eAAgB,SAAQ,KAAK;aACK,QAAQ,EAAE,MAAM;aAAkB,SAAS,EAAE,MAAM;gBAApF,OAAO,EAAE,MAAM,EAAkB,QAAQ,EAAE,MAAM,EAAkB,SAAS,EAAE,MAAM;CAIjG;AAED,qBAAa,cAAe,SAAQ,KAAK;aACM,QAAQ,EAAE,MAAM;aAAkB,IAAI,CAAC,EAAE,MAAM;gBAAhF,OAAO,EAAE,MAAM,EAAkB,QAAQ,EAAE,MAAM,EAAkB,IAAI,CAAC,EAAE,MAAM,YAAA;CAI7F;AAED,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,kBAAkB,CAE5E;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,KAAK,CAKrE"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export class MCPConnectionError extends Error {
|
|
2
|
+
serverId;
|
|
3
|
+
constructor(message, serverId) {
|
|
4
|
+
super(`[mcp:${serverId}] ${message}`);
|
|
5
|
+
this.serverId = serverId;
|
|
6
|
+
this.name = 'MCPConnectionError';
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export class MCPTimeoutError extends Error {
|
|
10
|
+
serverId;
|
|
11
|
+
timeoutMs;
|
|
12
|
+
constructor(message, serverId, timeoutMs) {
|
|
13
|
+
super(`[mcp:${serverId}] ${message} (timeout: ${timeoutMs}ms)`);
|
|
14
|
+
this.serverId = serverId;
|
|
15
|
+
this.timeoutMs = timeoutMs;
|
|
16
|
+
this.name = 'MCPTimeoutError';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export class MCPServerError extends Error {
|
|
20
|
+
serverId;
|
|
21
|
+
code;
|
|
22
|
+
constructor(message, serverId, code) {
|
|
23
|
+
super(`[mcp:${serverId}] ${message}`);
|
|
24
|
+
this.serverId = serverId;
|
|
25
|
+
this.code = code;
|
|
26
|
+
this.name = 'MCPServerError';
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export function isMCPConnectionError(err) {
|
|
30
|
+
return err instanceof MCPConnectionError;
|
|
31
|
+
}
|
|
32
|
+
export function normalizeError(err, serverId) {
|
|
33
|
+
if (err instanceof Error) {
|
|
34
|
+
return serverId ? new MCPConnectionError(err.message, serverId) : err;
|
|
35
|
+
}
|
|
36
|
+
return new MCPConnectionError(String(err), serverId ?? 'unknown');
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/errors.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,kBAAmB,SAAQ,KAAK;IACE;IAA7C,YAAY,OAAe,EAAkB,QAAgB;QAC3D,KAAK,CAAC,QAAQ,QAAQ,KAAK,OAAO,EAAE,CAAC,CAAC;QADK,aAAQ,GAAR,QAAQ,CAAQ;QAE3D,IAAI,CAAC,IAAI,GAAG,oBAAoB,CAAC;IACnC,CAAC;CACF;AAED,MAAM,OAAO,eAAgB,SAAQ,KAAK;IACK;IAAkC;IAA/E,YAAY,OAAe,EAAkB,QAAgB,EAAkB,SAAiB;QAC9F,KAAK,CAAC,QAAQ,QAAQ,KAAK,OAAO,cAAc,SAAS,KAAK,CAAC,CAAC;QADrB,aAAQ,GAAR,QAAQ,CAAQ;QAAkB,cAAS,GAAT,SAAS,CAAQ;QAE9F,IAAI,CAAC,IAAI,GAAG,iBAAiB,CAAC;IAChC,CAAC;CACF;AAED,MAAM,OAAO,cAAe,SAAQ,KAAK;IACM;IAAkC;IAA/E,YAAY,OAAe,EAAkB,QAAgB,EAAkB,IAAa;QAC1F,KAAK,CAAC,QAAQ,QAAQ,KAAK,OAAO,EAAE,CAAC,CAAC;QADK,aAAQ,GAAR,QAAQ,CAAQ;QAAkB,SAAI,GAAJ,IAAI,CAAS;QAE1F,IAAI,CAAC,IAAI,GAAG,gBAAgB,CAAC;IAC/B,CAAC;CACF;AAED,MAAM,UAAU,oBAAoB,CAAC,GAAY;IAC/C,OAAO,GAAG,YAAY,kBAAkB,CAAC;AAC3C,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,GAAY,EAAE,QAAiB;IAC5D,IAAI,GAAG,YAAY,KAAK,EAAE,CAAC;QACzB,OAAO,QAAQ,CAAC,CAAC,CAAC,IAAI,kBAAkB,CAAC,GAAG,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;IACxE,CAAC;IACD,OAAO,IAAI,kBAAkB,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,QAAQ,IAAI,SAAS,CAAC,CAAC;AACpE,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export { MCPClient } from './client.js';
|
|
2
|
+
export { MCPToolAdapter } from './tool-adapter.js';
|
|
3
|
+
export type { MCPConfig, MCPConfigMap } from './types.js';
|
|
4
|
+
export { parseMcpConfigs, stringifyMcpConfigs } from './types.js';
|
|
5
|
+
export { MCPConnectionError, MCPTimeoutError, MCPServerError, isMCPConnectionError, normalizeError, } from './errors.js';
|
|
6
|
+
export { createTransport } from './transport.js';
|
|
7
|
+
import type { Tool as HopperTool } from '@hopper-agent/tools';
|
|
8
|
+
import { MCPClient } from './client.js';
|
|
9
|
+
import type { MCPConfig } from './types.js';
|
|
10
|
+
/** Options for creating MCP tools from server configs. */
|
|
11
|
+
export interface CreateMcpToolsOptions {
|
|
12
|
+
/** Server configurations to connect to. */
|
|
13
|
+
configs: MCPConfig[];
|
|
14
|
+
/** Called when tools change on a server (via `notifications/tools/list_changed`). */
|
|
15
|
+
onToolsChanged?: (serverId: string, tools: HopperTool[]) => void;
|
|
16
|
+
/** Whether to continue connecting other servers even if one fails. Default: true. */
|
|
17
|
+
failFast?: boolean;
|
|
18
|
+
}
|
|
19
|
+
/** Result of creating MCP tools from server configs. */
|
|
20
|
+
export interface CreateMcpToolsResult {
|
|
21
|
+
/** All discovered tools wrapped as `HopperTool` instances. */
|
|
22
|
+
tools: HopperTool[];
|
|
23
|
+
/** The active MCP clients — caller should dispose them on shutdown. */
|
|
24
|
+
clients: MCPClient[];
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Connect to all configured MCP servers and return their tools wrapped
|
|
28
|
+
* as `HopperTool` instances, plus the client handles for lifecycle management.
|
|
29
|
+
*
|
|
30
|
+
* Servers that fail to connect are logged and skipped (unless `failFast: true`).
|
|
31
|
+
*/
|
|
32
|
+
export declare function createMcpTools(options: CreateMcpToolsOptions | MCPConfig[]): Promise<CreateMcpToolsResult>;
|
|
33
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,YAAY,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAClE,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,oBAAoB,EACpB,cAAc,GACf,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,KAAK,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAG5C,0DAA0D;AAC1D,MAAM,WAAW,qBAAqB;IACpC,2CAA2C;IAC3C,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,qFAAqF;IACrF,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,IAAI,CAAC;IACjE,qFAAqF;IACrF,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wDAAwD;AACxD,MAAM,WAAW,oBAAoB;IACnC,8DAA8D;IAC9D,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,uEAAuE;IACvE,OAAO,EAAE,SAAS,EAAE,CAAC;CACtB;AAED;;;;;GAKG;AACH,wBAAsB,cAAc,CAClC,OAAO,EAAE,qBAAqB,GAAG,SAAS,EAAE,GAC3C,OAAO,CAAC,oBAAoB,CAAC,CAuC/B"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export { MCPClient } from './client.js';
|
|
2
|
+
export { MCPToolAdapter } from './tool-adapter.js';
|
|
3
|
+
export { parseMcpConfigs, stringifyMcpConfigs } from './types.js';
|
|
4
|
+
export { MCPConnectionError, MCPTimeoutError, MCPServerError, isMCPConnectionError, normalizeError, } from './errors.js';
|
|
5
|
+
export { createTransport } from './transport.js';
|
|
6
|
+
import { MCPClient } from './client.js';
|
|
7
|
+
import { MCPToolAdapter } from './tool-adapter.js';
|
|
8
|
+
import { normalizeError } from './errors.js';
|
|
9
|
+
/**
|
|
10
|
+
* Connect to all configured MCP servers and return their tools wrapped
|
|
11
|
+
* as `HopperTool` instances, plus the client handles for lifecycle management.
|
|
12
|
+
*
|
|
13
|
+
* Servers that fail to connect are logged and skipped (unless `failFast: true`).
|
|
14
|
+
*/
|
|
15
|
+
export async function createMcpTools(options) {
|
|
16
|
+
const configs = Array.isArray(options) ? options : options.configs;
|
|
17
|
+
const onToolsChanged = 'onToolsChanged' in options ? options.onToolsChanged : undefined;
|
|
18
|
+
const failFast = 'failFast' in options ? options.failFast : false;
|
|
19
|
+
const allTools = [];
|
|
20
|
+
const clients = [];
|
|
21
|
+
for (const config of configs) {
|
|
22
|
+
const client = new MCPClient({
|
|
23
|
+
config,
|
|
24
|
+
onToolsChanged: () => {
|
|
25
|
+
if (onToolsChanged) {
|
|
26
|
+
const prefix = `${config.id}-`;
|
|
27
|
+
const currentServerTools = allTools.filter((t) => t.definition.name.startsWith(prefix));
|
|
28
|
+
onToolsChanged(config.id, currentServerTools);
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
try {
|
|
33
|
+
await client.connect();
|
|
34
|
+
}
|
|
35
|
+
catch (err) {
|
|
36
|
+
const msg = normalizeError(err, config.id).message;
|
|
37
|
+
console.error(`[mcp] Failed to connect to server "${config.id}": ${msg}`);
|
|
38
|
+
if (failFast)
|
|
39
|
+
throw err;
|
|
40
|
+
continue;
|
|
41
|
+
}
|
|
42
|
+
// Wrap each MCP tool from this server as a HopperTool
|
|
43
|
+
const adapters = client.tools.map((mcpTool) => new MCPToolAdapter(client, mcpTool, config.id));
|
|
44
|
+
allTools.push(...adapters);
|
|
45
|
+
clients.push(client);
|
|
46
|
+
}
|
|
47
|
+
return { tools: allTools, clients };
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAClE,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,oBAAoB,EACpB,cAAc,GACf,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGjD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAoB7C;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc,CAClC,OAA4C;IAE5C,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IACnE,MAAM,cAAc,GAAG,gBAAgB,IAAI,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;IACxF,MAAM,QAAQ,GAAG,UAAU,IAAI,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC;IAElE,MAAM,QAAQ,GAAiB,EAAE,CAAC;IAClC,MAAM,OAAO,GAAgB,EAAE,CAAC;IAEhC,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,MAAM,MAAM,GAAG,IAAI,SAAS,CAAC;YAC3B,MAAM;YACN,cAAc,EAAE,GAAG,EAAE;gBACnB,IAAI,cAAc,EAAE,CAAC;oBACnB,MAAM,MAAM,GAAG,GAAG,MAAM,CAAC,EAAE,GAAG,CAAC;oBAC/B,MAAM,kBAAkB,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;oBACxF,cAAc,CAAC,MAAM,CAAC,EAAE,EAAE,kBAAkB,CAAC,CAAC;gBAChD,CAAC;YACH,CAAC;SACF,CAAC,CAAC;QAEH,IAAI,CAAC;YACH,MAAM,MAAM,CAAC,OAAO,EAAE,CAAC;QACzB,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,MAAM,GAAG,GAAG,cAAc,CAAC,GAAG,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC;YACnD,OAAO,CAAC,KAAK,CAAC,sCAAsC,MAAM,CAAC,EAAE,MAAM,GAAG,EAAE,CAAC,CAAC;YAC1E,IAAI,QAAQ;gBAAE,MAAM,GAAG,CAAC;YACxB,SAAS;QACX,CAAC;QAED,sDAAsD;QACtD,MAAM,QAAQ,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAC5C,IAAI,cAAc,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC,CAC/C,CAAC;QAEF,QAAQ,CAAC,IAAI,CAAC,GAAG,QAAQ,CAAC,CAAC;QAC3B,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACvB,CAAC;IAED,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC;AACtC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Tool as HopperTool, ToolDef, ToolResult } from '@hopper-agent/tools';
|
|
2
|
+
import type { MCPClient } from './client.js';
|
|
3
|
+
import type { Tool as MCPTool } from '@modelcontextprotocol/sdk/types.js';
|
|
4
|
+
import type { HopperSettings } from '@hopper-agent/core';
|
|
5
|
+
export declare class MCPToolAdapter implements HopperTool {
|
|
6
|
+
readonly definition: ToolDef;
|
|
7
|
+
private client;
|
|
8
|
+
private readonly mcpToolName;
|
|
9
|
+
constructor(client: MCPClient, mcpTool: MCPTool, serverPrefix: string);
|
|
10
|
+
execute(input: Record<string, unknown>, _settings: HopperSettings): Promise<ToolResult>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=tool-adapter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-adapter.d.ts","sourceRoot":"","sources":["../../src/tool-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACnF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,qBAAa,cAAe,YAAW,UAAU;IAC/C,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,OAAO,CAAC,MAAM,CAAY;IAC1B,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;gBAEzB,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM;IAc/D,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,SAAS,EAAE,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC;CAyB9F"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export class MCPToolAdapter {
|
|
2
|
+
definition;
|
|
3
|
+
client;
|
|
4
|
+
mcpToolName;
|
|
5
|
+
constructor(client, mcpTool, serverPrefix) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
this.mcpToolName = mcpTool.name;
|
|
8
|
+
// Prefix the tool name to avoid collisions: e.g., "filesystem-read-file"
|
|
9
|
+
const prefixedName = `${serverPrefix}-${mcpTool.name}`;
|
|
10
|
+
this.definition = {
|
|
11
|
+
name: prefixedName,
|
|
12
|
+
description: mcpTool.description ?? '',
|
|
13
|
+
inputSchema: mcpTool.inputSchema,
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
async execute(input, _settings) {
|
|
17
|
+
const result = await this.client.callTool(this.mcpToolName, input);
|
|
18
|
+
// Convert MCP CallToolResult content array -> string
|
|
19
|
+
const outputParts = [];
|
|
20
|
+
for (const content of result.content) {
|
|
21
|
+
if (content.type === 'text') {
|
|
22
|
+
outputParts.push(content.text);
|
|
23
|
+
}
|
|
24
|
+
else if (content.type === 'image') {
|
|
25
|
+
outputParts.push(`[image: ${content.data} (${content.mimeType})]`);
|
|
26
|
+
}
|
|
27
|
+
else if (content.type === 'resource') {
|
|
28
|
+
outputParts.push(`[resource: ${JSON.stringify(content.resource)}]`);
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
outputParts.push(JSON.stringify(content));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
const outputStr = outputParts.join('\n');
|
|
35
|
+
if (result.isError) {
|
|
36
|
+
return { output: outputStr, error: `MCP tool "${this.mcpToolName}" reported error` };
|
|
37
|
+
}
|
|
38
|
+
return { output: outputStr };
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=tool-adapter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-adapter.js","sourceRoot":"","sources":["../../src/tool-adapter.ts"],"names":[],"mappings":"AAKA,MAAM,OAAO,cAAc;IAChB,UAAU,CAAU;IACrB,MAAM,CAAY;IACT,WAAW,CAAS;IAErC,YAAY,MAAiB,EAAE,OAAgB,EAAE,YAAoB;QACnE,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;QAEhC,yEAAyE;QACzE,MAAM,YAAY,GAAG,GAAG,YAAY,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;QAEvD,IAAI,CAAC,UAAU,GAAG;YAChB,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,OAAO,CAAC,WAAW,IAAI,EAAE;YACtC,WAAW,EAAE,OAAO,CAAC,WAAqC;SAC3D,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,KAA8B,EAAE,SAAyB;QACrE,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;QAEnE,qDAAqD;QACrD,MAAM,WAAW,GAAa,EAAE,CAAC;QACjC,KAAK,MAAM,OAAO,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;YACrC,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;gBAC5B,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YACjC,CAAC;iBAAM,IAAI,OAAO,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;gBACpC,WAAW,CAAC,IAAI,CAAC,WAAW,OAAO,CAAC,IAAI,KAAK,OAAO,CAAC,QAAQ,IAAI,CAAC,CAAC;YACrE,CAAC;iBAAM,IAAI,OAAO,CAAC,IAAI,KAAK,UAAU,EAAE,CAAC;gBACvC,WAAW,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;YACtE,CAAC;iBAAM,CAAC;gBACN,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;YAC5C,CAAC;QACH,CAAC;QAED,MAAM,SAAS,GAAG,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEzC,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;YACnB,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,aAAa,IAAI,CAAC,WAAW,kBAAkB,EAAE,CAAC;QACvF,CAAC;QAED,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;IAC/B,CAAC;CACF"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Transport } from '@modelcontextprotocol/sdk/shared/transport.js';
|
|
2
|
+
import type { MCPConfig } from './types.js';
|
|
3
|
+
/**
|
|
4
|
+
* The SDK merges getDefaultEnvironment() with config.env in its start() method:
|
|
5
|
+
* { ...getDefaultEnvironment(), ...this._serverParams.env }
|
|
6
|
+
*
|
|
7
|
+
* So we can pass config.env directly — the SDK handles the merge.
|
|
8
|
+
* But we need to make sure getDefaultEnvironment is called at the right time
|
|
9
|
+
* (it reads from process.env which may have changed).
|
|
10
|
+
*/
|
|
11
|
+
export declare function createTransport(config: MCPConfig): Promise<Transport>;
|
|
12
|
+
//# sourceMappingURL=transport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../../src/transport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAsB5C;;;;;;;GAOG;AAEH,wBAAsB,eAAe,CAAC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,CAsC3E"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
let _stdioTransport;
|
|
2
|
+
let _sseTransport;
|
|
3
|
+
let _streamableHttpTransport;
|
|
4
|
+
async function lazyLoadTransports() {
|
|
5
|
+
if (!_stdioTransport) {
|
|
6
|
+
const sdk = await import('@modelcontextprotocol/sdk/client/stdio.js');
|
|
7
|
+
_stdioTransport = sdk.StdioClientTransport;
|
|
8
|
+
}
|
|
9
|
+
if (!_sseTransport) {
|
|
10
|
+
const sdk = await import('@modelcontextprotocol/sdk/client/sse.js');
|
|
11
|
+
_sseTransport = sdk.SSEClientTransport;
|
|
12
|
+
}
|
|
13
|
+
if (!_streamableHttpTransport) {
|
|
14
|
+
const sdk = await import('@modelcontextprotocol/sdk/client/streamableHttp.js');
|
|
15
|
+
_streamableHttpTransport = sdk.StreamableHTTPClientTransport;
|
|
16
|
+
}
|
|
17
|
+
return { _stdioTransport, _sseTransport, _streamableHttpTransport };
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* The SDK merges getDefaultEnvironment() with config.env in its start() method:
|
|
21
|
+
* { ...getDefaultEnvironment(), ...this._serverParams.env }
|
|
22
|
+
*
|
|
23
|
+
* So we can pass config.env directly — the SDK handles the merge.
|
|
24
|
+
* But we need to make sure getDefaultEnvironment is called at the right time
|
|
25
|
+
* (it reads from process.env which may have changed).
|
|
26
|
+
*/
|
|
27
|
+
export async function createTransport(config) {
|
|
28
|
+
const { _stdioTransport, _sseTransport, _streamableHttpTransport } = await lazyLoadTransports();
|
|
29
|
+
switch (config.transport) {
|
|
30
|
+
case 'stdio': {
|
|
31
|
+
if (!config.command) {
|
|
32
|
+
throw new Error(`MCP server "${config.id}" requires "command" for stdio transport`);
|
|
33
|
+
}
|
|
34
|
+
// Pass env directly — SDK merges it with getDefaultEnvironment() internally.
|
|
35
|
+
console.error(`[mcp:${config.id}] Creating stdio transport: cmd="${config.command}" args=${JSON.stringify(config.args)} env=${JSON.stringify(config.env)} cwd=${config.cwd}`);
|
|
36
|
+
return new _stdioTransport({
|
|
37
|
+
command: config.command,
|
|
38
|
+
args: config.args ?? [],
|
|
39
|
+
env: config.env,
|
|
40
|
+
cwd: config.cwd,
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
case 'sse':
|
|
44
|
+
if (!config.url) {
|
|
45
|
+
throw new Error(`MCP server "${config.id}" requires "url" for sse transport`);
|
|
46
|
+
}
|
|
47
|
+
return new _sseTransport(new URL(config.url), {
|
|
48
|
+
requestInit: { headers: config.headers },
|
|
49
|
+
});
|
|
50
|
+
case 'streamable-http':
|
|
51
|
+
if (!config.url) {
|
|
52
|
+
throw new Error(`MCP server "${config.id}" requires "url" for streamable-http transport`);
|
|
53
|
+
}
|
|
54
|
+
return new _streamableHttpTransport(new URL(config.url), {
|
|
55
|
+
requestInit: {
|
|
56
|
+
headers: config.headers,
|
|
57
|
+
},
|
|
58
|
+
});
|
|
59
|
+
default: {
|
|
60
|
+
const _exhaustive = config.transport;
|
|
61
|
+
throw new Error(`Unsupported MCP transport: ${_exhaustive}`);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=transport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transport.js","sourceRoot":"","sources":["../../src/transport.ts"],"names":[],"mappings":"AAGA,IAAI,eAAgG,CAAC;AACrG,IAAI,aAA0F,CAAC;AAC/F,IAAI,wBAA2H,CAAC;AAEhI,KAAK,UAAU,kBAAkB;IAC/B,IAAI,CAAC,eAAe,EAAE,CAAC;QACrB,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,2CAA2C,CAAC,CAAC;QACtE,eAAe,GAAG,GAAG,CAAC,oBAAoB,CAAC;IAC7C,CAAC;IACD,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,yCAAyC,CAAC,CAAC;QACpE,aAAa,GAAG,GAAG,CAAC,kBAAkB,CAAC;IACzC,CAAC;IACD,IAAI,CAAC,wBAAwB,EAAE,CAAC;QAC9B,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,oDAAoD,CAAC,CAAC;QAC/E,wBAAwB,GAAG,GAAG,CAAC,6BAA6B,CAAC;IAC/D,CAAC;IACD,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,wBAAwB,EAAE,CAAC;AACtE,CAAC;AAED;;;;;;;GAOG;AAEH,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,MAAiB;IACrD,MAAM,EAAE,eAAe,EAAE,aAAa,EAAE,wBAAwB,EAAE,GAAG,MAAM,kBAAkB,EAAE,CAAC;IAEhG,QAAQ,MAAM,CAAC,SAAS,EAAE,CAAC;QACzB,KAAK,OAAO,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;gBACpB,MAAM,IAAI,KAAK,CAAC,eAAe,MAAM,CAAC,EAAE,0CAA0C,CAAC,CAAC;YACtF,CAAC;YACD,6EAA6E;YAC7E,OAAO,CAAC,KAAK,CAAC,QAAQ,MAAM,CAAC,EAAE,oCAAoC,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,QAAQ,MAAM,CAAC,GAAG,EAAE,CAAC,CAAC;YAC9K,OAAO,IAAI,eAAe,CAAC;gBACzB,OAAO,EAAE,MAAM,CAAC,OAAO;gBACvB,IAAI,EAAE,MAAM,CAAC,IAAI,IAAI,EAAE;gBACvB,GAAG,EAAE,MAAM,CAAC,GAAG;gBACf,GAAG,EAAE,MAAM,CAAC,GAAG;aAChB,CAAC,CAAC;QACL,CAAC;QACD,KAAK,KAAK;YACR,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;gBAChB,MAAM,IAAI,KAAK,CAAC,eAAe,MAAM,CAAC,EAAE,oCAAoC,CAAC,CAAC;YAChF,CAAC;YACD,OAAO,IAAI,aAAa,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;gBAC5C,WAAW,EAAE,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE;aACzC,CAAC,CAAC;QACL,KAAK,iBAAiB;YACpB,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;gBAChB,MAAM,IAAI,KAAK,CAAC,eAAe,MAAM,CAAC,EAAE,gDAAgD,CAAC,CAAC;YAC5F,CAAC;YACD,OAAO,IAAI,wBAAwB,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;gBACvD,WAAW,EAAE;oBACX,OAAO,EAAE,MAAM,CAAC,OAAO;iBACxB;aACF,CAAC,CAAC;QACL,OAAO,CAAC,CAAC,CAAC;YACR,MAAM,WAAW,GAAU,MAAM,CAAC,SAAS,CAAC;YAC5C,MAAM,IAAI,KAAK,CAAC,8BAA8B,WAAW,EAAE,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/** Configuration for a single MCP server connection. */
|
|
2
|
+
export interface MCPConfig {
|
|
3
|
+
/** Unique server identifier, used as prefix for tool names (e.g. "filesystem"). */
|
|
4
|
+
id: string;
|
|
5
|
+
/** Human-readable display name. */
|
|
6
|
+
name: string;
|
|
7
|
+
/** Transport protocol for this connection. */
|
|
8
|
+
transport: 'stdio' | 'sse' | 'streamable-http';
|
|
9
|
+
/** Executable command — required for stdio transport. */
|
|
10
|
+
command?: string;
|
|
11
|
+
/** Arguments to pass to the command — for stdio transport. */
|
|
12
|
+
args?: string[];
|
|
13
|
+
/** Environment variables for the subprocess — for stdio transport. */
|
|
14
|
+
env?: Record<string, string>;
|
|
15
|
+
/** Working directory for the subprocess — for stdio transport. */
|
|
16
|
+
cwd?: string;
|
|
17
|
+
/** Server URL — required for sse and streamable-http transports. */
|
|
18
|
+
url?: string;
|
|
19
|
+
/** Additional HTTP headers — for sse and streamable-http transports. */
|
|
20
|
+
headers?: Record<string, string>;
|
|
21
|
+
/** Per-request timeout in milliseconds (default: 30000). */
|
|
22
|
+
timeoutMs?: number;
|
|
23
|
+
}
|
|
24
|
+
/** Serialized MCP server config map, stored in settings as JSON string. */
|
|
25
|
+
export interface MCPConfigMap {
|
|
26
|
+
[serverId: string]: MCPConfig;
|
|
27
|
+
}
|
|
28
|
+
/** Helper to parse MCP config map from a JSON string. */
|
|
29
|
+
export declare function parseMcpConfigs(raw: string | undefined): MCPConfig[];
|
|
30
|
+
/** Helper to serialize MCP config map to a JSON string for settings storage. */
|
|
31
|
+
export declare function stringifyMcpConfigs(configs: MCPConfig[]): string;
|
|
32
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,MAAM,WAAW,SAAS;IACxB,mFAAmF;IACnF,EAAE,EAAE,MAAM,CAAC;IACX,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,8CAA8C;IAC9C,SAAS,EAAE,OAAO,GAAG,KAAK,GAAG,iBAAiB,CAAC;IAC/C,yDAAyD;IACzD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8DAA8D;IAC9D,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,sEAAsE;IACtE,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,kEAAkE;IAClE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,oEAAoE;IACpE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,wEAAwE;IACxE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,2EAA2E;AAC3E,MAAM,WAAW,YAAY;IAC3B,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B;AAED,yDAAyD;AACzD,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,EAAE,CAQpE;AAED,gFAAgF;AAChF,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,SAAS,EAAE,GAAG,MAAM,CAMhE"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** Helper to parse MCP config map from a JSON string. */
|
|
2
|
+
export function parseMcpConfigs(raw) {
|
|
3
|
+
if (!raw)
|
|
4
|
+
return [];
|
|
5
|
+
try {
|
|
6
|
+
const obj = JSON.parse(raw);
|
|
7
|
+
return Object.values(obj).map((v) => v);
|
|
8
|
+
}
|
|
9
|
+
catch {
|
|
10
|
+
return [];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
/** Helper to serialize MCP config map to a JSON string for settings storage. */
|
|
14
|
+
export function stringifyMcpConfigs(configs) {
|
|
15
|
+
const map = {};
|
|
16
|
+
for (const cfg of configs) {
|
|
17
|
+
map[cfg.id] = cfg;
|
|
18
|
+
}
|
|
19
|
+
return JSON.stringify(map);
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AA6BA,yDAAyD;AACzD,MAAM,UAAU,eAAe,CAAC,GAAuB;IACrD,IAAI,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC;IACpB,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAA4B,CAAC;QACvD,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAc,CAAC,CAAC;IACvD,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC;AAED,gFAAgF;AAChF,MAAM,UAAU,mBAAmB,CAAC,OAAoB;IACtD,MAAM,GAAG,GAA8B,EAAE,CAAC;IAC1C,KAAK,MAAM,GAAG,IAAI,OAAO,EAAE,CAAC;QAC1B,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC;IACpB,CAAC;IACD,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;AAC7B,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@hopper-agent/mcp",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
8
|
+
"main": "./dist/src/index.js",
|
|
9
|
+
"types": "./dist/src/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./dist/src/index.js",
|
|
13
|
+
"types": "./dist/src/index.d.ts"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
18
|
+
"@hopper-agent/tools": "0.1.0",
|
|
19
|
+
"@hopper-agent/core": "0.1.1"
|
|
20
|
+
},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"@types/node": "^22.0.0",
|
|
23
|
+
"typescript": "^5.9.0"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "tsc --project tsconfig.json",
|
|
27
|
+
"dev": "tsc --watch --project tsconfig.json",
|
|
28
|
+
"typecheck": "tsc --noEmit --project tsconfig.json",
|
|
29
|
+
"lint": "eslint src/",
|
|
30
|
+
"test": "vitest run",
|
|
31
|
+
"clean": "npx rimraf dist"
|
|
32
|
+
}
|
|
33
|
+
}
|