@pitcheye/mcp 0.0.0-stage → 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 +21 -0
- package/dist/.tsbuildinfo +1 -0
- package/dist/__tests__/mcp.test.d.ts +2 -0
- package/dist/__tests__/mcp.test.d.ts.map +1 -0
- package/dist/__tests__/mcp.test.js +205 -0
- package/dist/__tests__/mcp.test.js.map +1 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +147 -0
- package/dist/index.js.map +1 -0
- package/dist/tools.d.ts +57 -0
- package/dist/tools.d.ts.map +1 -0
- package/dist/tools.js +206 -0
- package/dist/tools.js.map +1 -0
- package/package.json +29 -3
- package/README.md +0 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 PitchEye LLC
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -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.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/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.32.2_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/cjs/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.32.2_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responsemessage.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/cjs/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.32.2_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.d.ts","../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.d.ts","../../core/dist/types.d.ts","../../core/dist/engine.d.ts","../../core/dist/registry.d.ts","../../core/dist/serializer.d.ts","../../core/dist/rules/db.d.ts","../../core/dist/index.d.ts","../src/tools.ts","../src/index.ts","../../../node_modules/.pnpm/@vitest+pretty-format@2.1.9/node_modules/@vitest/pretty-format/dist/index.d.ts","../../../node_modules/.pnpm/@vitest+utils@2.1.9/node_modules/@vitest/utils/dist/types.d.ts","../../../node_modules/.pnpm/@vitest+utils@2.1.9/node_modules/@vitest/utils/dist/helpers.d.ts","../../../node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/index-c1cfc5e9.d.ts","../../../node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/node.d.ts","../../../node_modules/.pnpm/@vitest+utils@2.1.9/node_modules/@vitest/utils/dist/index.d.ts","../../../node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/tasks-3znpj1lr.d.ts","../../../node_modules/.pnpm/@vitest+utils@2.1.9/node_modules/@vitest/utils/dist/types-bxe-2udy.d.ts","../../../node_modules/.pnpm/@vitest+utils@2.1.9/node_modules/@vitest/utils/dist/diff.d.ts","../../../node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/types.d.ts","../../../node_modules/.pnpm/@vitest+utils@2.1.9/node_modules/@vitest/utils/dist/error.d.ts","../../../node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/chunks/environment.looobwuu.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/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.20.7/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/web-globals/streams.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/index.d.ts","../../../node_modules/.pnpm/@types+estree@1.0.11/node_modules/@types/estree/index.d.ts","../../../node_modules/.pnpm/rollup@4.69.2/node_modules/rollup/dist/rollup.d.ts","../../../node_modules/.pnpm/rollup@4.69.2/node_modules/rollup/dist/parseast.d.ts","../../../node_modules/.pnpm/vite@5.4.21_@types+node@22.20.7/node_modules/vite/types/hmrpayload.d.ts","../../../node_modules/.pnpm/vite@5.4.21_@types+node@22.20.7/node_modules/vite/types/customevent.d.ts","../../../node_modules/.pnpm/vite@5.4.21_@types+node@22.20.7/node_modules/vite/types/hot.d.ts","../../../node_modules/.pnpm/vite@5.4.21_@types+node@22.20.7/node_modules/vite/dist/node/types.d-agj9qkwt.d.ts","../../../node_modules/.pnpm/esbuild@0.21.5/node_modules/esbuild/lib/main.d.ts","../../../node_modules/.pnpm/source-map-js@1.3.0/node_modules/source-map-js/source-map.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/previous-map.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/input.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/css-syntax-error.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/declaration.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/root.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/warning.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/lazy-result.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/no-work-result.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/processor.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/result.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/document.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/rule.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/node.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/comment.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/container.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/at-rule.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/list.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/postcss.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/postcss.d.mts","../../../node_modules/.pnpm/vite@5.4.21_@types+node@22.20.7/node_modules/vite/dist/node/runtime.d.ts","../../../node_modules/.pnpm/vite@5.4.21_@types+node@22.20.7/node_modules/vite/types/importglob.d.ts","../../../node_modules/.pnpm/vite@5.4.21_@types+node@22.20.7/node_modules/vite/types/metadata.d.ts","../../../node_modules/.pnpm/vite@5.4.21_@types+node@22.20.7/node_modules/vite/dist/node/index.d.ts","../../../node_modules/.pnpm/@vitest+snapshot@2.1.9/node_modules/@vitest/snapshot/dist/environment-ddx0edty.d.ts","../../../node_modules/.pnpm/@vitest+snapshot@2.1.9/node_modules/@vitest/snapshot/dist/rawsnapshot-cpnkto81.d.ts","../../../node_modules/.pnpm/@vitest+snapshot@2.1.9/node_modules/@vitest/snapshot/dist/index.d.ts","../../../node_modules/.pnpm/@vitest+snapshot@2.1.9/node_modules/@vitest/snapshot/dist/environment.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/chunks/config.cy0c388z.d.ts","../../../node_modules/.pnpm/vite-node@2.1.9_@types+node@22.20.7/node_modules/vite-node/dist/trace-mapping.d-dlvdeqop.d.ts","../../../node_modules/.pnpm/vite-node@2.1.9_@types+node@22.20.7/node_modules/vite-node/dist/index-z0r8hvru.d.ts","../../../node_modules/.pnpm/vite-node@2.1.9_@types+node@22.20.7/node_modules/vite-node/dist/index.d.ts","../../../node_modules/.pnpm/@vitest+utils@2.1.9/node_modules/@vitest/utils/dist/source-map.d.ts","../../../node_modules/.pnpm/vite-node@2.1.9_@types+node@22.20.7/node_modules/vite-node/dist/client.d.ts","../../../node_modules/.pnpm/vite-node@2.1.9_@types+node@22.20.7/node_modules/vite-node/dist/server.d.ts","../../../node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/utils.d.ts","../../../node_modules/.pnpm/tinybench@2.9.0/node_modules/tinybench/dist/index.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/chunks/benchmark.geerunq4.d.ts","../../../node_modules/.pnpm/@vitest+snapshot@2.1.9/node_modules/@vitest/snapshot/dist/manager.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/chunks/reporters.nr4dxcka.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/chunks/worker.tn5kgiih.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/chunks/worker.b9fxpcac.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/chunks/vite.czkp4x9w.d.ts","../../../node_modules/.pnpm/@vitest+expect@2.1.9/node_modules/@vitest/expect/dist/chai.d.cts","../../../node_modules/.pnpm/@vitest+expect@2.1.9/node_modules/@vitest/expect/dist/index.d.ts","../../../node_modules/.pnpm/@vitest+expect@2.1.9/node_modules/@vitest/expect/index.d.ts","../../../node_modules/.pnpm/@vitest+spy@2.1.9/node_modules/@vitest/spy/dist/index.d.ts","../../../node_modules/.pnpm/@vitest+mocker@2.1.9_vite@5.4.21_@types+node@22.20.7_/node_modules/@vitest/mocker/dist/types-dzoqtgin.d.ts","../../../node_modules/.pnpm/@vitest+mocker@2.1.9_vite@5.4.21_@types+node@22.20.7_/node_modules/@vitest/mocker/dist/index.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/chunks/mocker.crtm890j.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/chunks/suite.b2jumifp.d.ts","../../../node_modules/.pnpm/expect-type@1.4.0/node_modules/expect-type/dist/utils.d.ts","../../../node_modules/.pnpm/expect-type@1.4.0/node_modules/expect-type/dist/overloads.d.ts","../../../node_modules/.pnpm/expect-type@1.4.0/node_modules/expect-type/dist/branding.d.ts","../../../node_modules/.pnpm/expect-type@1.4.0/node_modules/expect-type/dist/messages.d.ts","../../../node_modules/.pnpm/expect-type@1.4.0/node_modules/expect-type/dist/index.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/index.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/index.d.cts","../src/__tests__/mcp.test.ts"],"fileIdsList":[[127,139,141,144,176,225,242,243],[127,139,143,144,148,176,225,242,243],[139,176,225,242,243],[176,225,242,243],[127,139,144,146,147,176,225,242,243],[139,140,176,225,242,243,257],[70,126,176,225,242,243],[127,138,139,140,142,143,176,225,242,243],[137,138,176,225,242,243],[145,176,225,242,243],[176,222,223,225,242,243],[176,224,225,242,243],[225,242,243],[176,225,230,242,243,260],[176,225,226,231,236,242,243,245,257,268],[176,225,226,227,236,242,243,245],[171,172,173,176,225,242,243],[176,225,228,242,243,269],[176,225,229,230,237,242,243,246],[176,225,230,242,243,257,265],[176,225,231,233,236,242,243,245],[176,224,225,232,242,243],[176,225,233,234,242,243],[176,225,235,236,242,243],[176,224,225,236,242,243],[176,225,236,237,238,242,243,257,268],[176,225,236,237,238,242,243,252,257,260],[176,217,225,233,236,239,242,243,245,257,268],[176,225,236,237,239,240,242,243,245,257,265,268],[176,225,239,241,242,243,257,265,268],[174,175,176,177,178,179,180,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,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],[176,225,236,242,243],[176,225,242,243,244,268],[176,225,233,236,242,243,245,257],[176,225,242,243,246],[176,225,242,243,247],[176,224,225,242,243,248],[176,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,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],[176,225,242,243,250],[176,225,242,243,251],[176,225,236,242,243,252,253],[176,225,242,243,252,254,269,271],[176,225,237,242,243],[176,225,236,242,243,257,258,260],[176,225,242,243,259,260],[176,225,242,243,257,258],[176,225,242,243,260],[176,225,242,243,261],[176,222,225,242,243,257,262,268],[176,225,236,242,243,263,264],[176,225,242,243,263,264],[176,225,230,242,243,245,257,265],[176,225,242,243,266],[176,225,242,243,245,267],[176,225,239,242,243,251,268],[176,225,230,242,243,269],[176,225,242,243,257,270],[176,225,242,243,244,271],[176,225,242,243,272],[176,217,225,242,243],[176,217,225,236,238,242,243,248,257,260,268,270,271,273],[176,225,242,243,257,274],[162,163,166,176,225,242,243],[176,225,242,243,328],[176,225,242,243,331],[163,164,166,167,168,176,225,242,243],[163,176,225,242,243],[163,164,166,176,225,242,243],[163,164,176,225,242,243],[176,225,242,243,308],[158,176,225,242,243,308,309],[158,176,225,242,243,308],[158,165,176,225,242,243],[159,176,225,242,243],[158,159,160,162,176,225,242,243],[158,176,225,242,243],[176,225,242,243,335,336],[176,225,242,243,335,336,337,338],[176,225,242,243,335,337],[176,225,242,243,335],[176,225,242,243,299],[176,225,242,243,297,299],[176,225,242,243,288,296,297,298,300,302],[176,225,242,243,286],[176,225,242,243,289,294,299,302],[176,225,242,243,285,302],[176,225,242,243,289,290,293,294,295,302],[176,225,242,243,289,290,291,293,294,302],[176,225,242,243,286,287,288,289,290,294,295,296,298,299,300,302],[176,225,242,243,302],[176,225,242,243,284,286,287,288,289,290,291,293,294,295,296,297,298,299,300,301],[176,225,242,243,284,302],[176,225,242,243,289,291,292,294,295,302],[176,225,242,243,293,302],[176,225,242,243,294,295,299,302],[176,225,242,243,287,297],[176,225,242,243,277,306],[176,225,242,243,276,277],[161,176,225,242,243],[176,189,193,225,242,243,268],[176,189,225,242,243,257,268],[176,184,225,242,243],[176,186,189,225,242,243,265,268],[176,225,242,243,245,265],[176,225,242,243,275],[176,184,225,242,243,275],[176,186,189,225,242,243,245,268],[176,181,182,185,188,225,236,242,243,257,268],[176,189,196,225,242,243],[176,181,187,225,242,243],[176,189,210,211,225,242,243],[176,185,189,225,242,243,260,268,275],[176,210,225,242,243,275],[176,183,184,225,242,243,275],[176,189,225,242,243],[176,183,184,185,186,187,188,189,190,191,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,211,212,213,214,215,216,225,242,243],[176,189,204,225,242,243],[176,189,196,197,225,242,243],[176,187,189,197,198,225,242,243],[176,188,225,242,243],[176,181,184,189,225,242,243],[176,189,193,197,198,225,242,243],[176,193,225,242,243],[176,187,189,192,225,242,243,268],[176,181,186,189,196,225,242,243],[176,225,242,243,257],[176,184,189,210,225,242,243,273,275],[176,225,242,243,313,314],[176,225,242,243,313],[176,225,242,243,307,313,314,326],[176,225,236,237,239,240,241,242,243,245,257,265,268,274,275,277,278,279,280,281,282,283,303,304,305,306],[176,225,242,243,279,280,281,282],[176,225,242,243,279,280,281],[176,225,242,243,279],[176,225,242,243,280],[176,225,242,243,277],[169,176,225,242,243,319,320,340],[158,169,176,225,242,243,310,311,340],[176,225,242,243,332],[158,163,169,170,176,225,237,242,243,257,307,310,312,315,316,317,318,321,322,326,327,340],[169,176,225,242,243,319,320,321,340],[176,225,242,243,307,323],[176,225,242,243,273,324],[169,170,176,225,242,243,310,312,315,340],[158,163,166,169,170,176,225,237,242,243,257,273,307,310,311,312,315,316,317,318,319,320,321,322,323,324,325,326,327,329,330,332,333,334,339,340],[176,225,242,243,340],[60,61,176,225,242,243],[58,59,60,62,63,68,176,225,242,243],[59,60,176,225,242,243],[68,176,225,242,243],[69,176,225,242,243],[60,176,225,242,243],[58,59,60,63,64,65,66,67,176,225,242,243],[58,59,70,176,225,242,243],[126,176,225,242,243],[126,130,176,225,242,243],[119,126,128,129,130,131,132,133,134,176,225,242,243],[135,176,225,242,243],[126,128,176,225,242,243],[126,129,176,225,242,243],[72,74,75,76,77,176,225,242,243],[72,74,76,77,176,225,242,243],[72,74,76,176,225,242,243],[72,74,75,77,176,225,242,243],[72,74,77,176,225,242,243],[72,73,74,75,76,77,78,79,119,120,121,122,123,124,125,176,225,242,243],[74,77,176,225,242,243],[71,72,73,75,76,77,176,225,242,243],[74,120,124,176,225,242,243],[74,75,76,77,176,225,242,243],[136,176,225,242,243],[76,176,225,242,243],[80,81,82,83,84,85,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,176,225,242,243],[150,176,225,242,243],[150,151,152,153,154,176,225,242,243],[156,157,176,225,226,237,242,243,247,341],[139,148,149,155,156,176,225,242,243],[155,176,225,226,242,243,247]],"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":"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":"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":1},{"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":1},{"version":"b1067ccb56b38af060dc3299ea7c4c6362cad4f07d0d454325a74808204fc801","impliedFormat":1},{"version":"3315dbac8f60921dd2939d872097f94e8b9a94c5a4856b0cf2a1c62a807b2302","impliedFormat":1},{"version":"ba678532514244768286bdfdc82b33f072d5de4e9d281a75bcccdba9970788d7","impliedFormat":1},{"version":"46a1409698484e8e79c99cf8c6dccf24243bfc6c42e739473ce80e9335e4c1a4","impliedFormat":1},{"version":"5993793a23b298afd20c2e1cd2bf8468cc7e9415d314d0771e93dd8b2e389d28","impliedFormat":1},{"version":"43bba4583a338a796b93309b1ef48edd67850349f942de43ca7d380ba45ed950","impliedFormat":1},{"version":"104fae9b53b5eaa040d9ce626e1bf0b3e6e27d269a899a98a4a28358cdcbc155","impliedFormat":99},{"version":"50a6aa665f3a2e769a4d683f9f74cd15164d0947fb957d8016331b170ab8b643","impliedFormat":1},{"version":"6b83491ca98ce7dc82ec0c54f1456705c9ea08f5a39fa8cea17134b28e2a73d7","impliedFormat":1},{"version":"33aa2f336bb0bc598652ddd1ad3095ef7a14e4dbed9cf829fa9357e989fff31a","impliedFormat":1},{"version":"e8b1b4448f077d5a459acb418b7122bfb2f48fec26d59b5586778e1b3def2d2c","impliedFormat":1},{"version":"3d0a3c62c2c815d209413eec47bfc5bf6f709b7382e81c5e0a7904ea64242b8e","impliedFormat":1},{"version":"bfa5edd33340cbd9db2fa9ec46979816970f217a5d56743dd84c6a98f2468e47","impliedFormat":1},{"version":"95c02ab506a6dbe8ba8ef41bc275d3a89b4312dbd1156e2867ed65c622c0a609","impliedFormat":1},{"version":"14603d54ab92b720dc6bbf35f8eee56297270f8b6c13f9a5b6ae0e3f13af4cff","impliedFormat":1},{"version":"1041d175d9e1b4d13f1822c672b1d59c3679f99fe49daf9a6779e64c02df6233","impliedFormat":1},{"version":"db724e76946babaaa028c013594f48229efd6c3e87ab4f7c3a826cb747cbb3c3","impliedFormat":1},{"version":"1ad1a5289f2457544aaa91af406a379161339868a9f503e3a73beecd1752899c","signature":"cd1a65d961a30feac8f0b61c0663689e728c25d4ace5a84813fd46664596a713","impliedFormat":1},{"version":"2d45002b3fdbf89f6d10d33d6e419370263cbd46b88e5904d5cfe1cd0ba8a074","signature":"63b27e9f686f962628faaf01c5e8d4b8d22fbd8594bcb2c19b748b0a44aec20a","impliedFormat":1},{"version":"d2e64a6f25013b099e83bfadb2c388d7bef3e8f3fdb25528225bbc841e7e7e3a","impliedFormat":99},{"version":"369ba5259e66ca8c7d35e3234f7a2a0863a770fdb8266505747c65cf346a0804","impliedFormat":99},{"version":"64d984f55025daf604f670b7dfd090ea765f2098aee871174ef2ee3e94479098","impliedFormat":99},{"version":"f147b6710441cf3ec3234adf63b0593ce5e8c9b692959d21d3babc8454bcf743","impliedFormat":99},{"version":"e96d5373a66c2cfbbc7e6642cf274055aa2c7ff6bd37be7480c66faf9804db6d","impliedFormat":99},{"version":"02bcdd7a76c5c1c485cbf05626d24c86ac8f9a1d8dc31f8924108bbaa4cf3ba9","impliedFormat":99},{"version":"c874ab6feac6e0fdf9142727c9a876065777a5392f14b0bbcf869b1e69eb46b5","impliedFormat":99},{"version":"7c553fc9e34773ddbaabe0fa1367d4b109101d0868a008f11042bee24b5a925d","impliedFormat":99},{"version":"9962ce696fbdce2421d883ca4b062a54f982496625437ae4d3633376c5ad4a80","impliedFormat":99},{"version":"e3ea467c4a7f743f3548c9ed61300591965b1d12c08c8bb9aaff8a002ba95fce","impliedFormat":99},{"version":"4c17183a07a63bea2653fbfc0a942b027160ddbee823024789a415f9589de327","impliedFormat":99},{"version":"3e2203c892297ea44b87470fde51b3d48cfe3eeb6901995de429539462894464","impliedFormat":99},{"version":"c84bf7a4abc5e7fdf45971a71b25b0e0d34ccd5e720a866dd78bb71d60d41a3f","impliedFormat":99},{"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":"d97fb21da858fb18b8ae72c314e9743fd52f73ebe2764e12af1db32fc03f853f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0fa06ada475b910e2106c98c68b10483dc8811d0c14a8a8dd36efb2672485b29","impliedFormat":1},{"version":"33e5e9aba62c3193d10d1d33ae1fa75c46a1171cf76fef750777377d53b0303f","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"6a0cd27e5dc2cfbe039e731cf879d12b0e2dded06d1b1dedad07f7712de0d7f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"913be43dad2a40e500104700aa26cfb5c51a976114bedf19624de43fdae7474f","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":"78dbea00e90d2df8ea3dbef0cc379d95b8be9b71cd6bde4c28728f306811803b","impliedFormat":1},{"version":"4d631b81fa2f07a0e63a9a143d6a82c25c5f051298651a9b69176ba28930756d","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"41670ee38943d9cbb4924e436f56fc19ee94232bc96108562de1a734af20dc2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e1e46d0a9837ee058c100501080c920fa98081ea3956af0374308ba6f22a33e","impliedFormat":1},{"version":"272ca407e0c9068bdc5152552d876e68037ceae3de62e529306403e973dec8e1","impliedFormat":1},{"version":"fa7834c715d5357e4540cee40ce96c3250ddb67a7b879a6b7fa0e86d6696f121","impliedFormat":1},{"version":"22dfb07a7ab15b66ac043829056fe70124844636ae719551812ac631ba04985b","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":"e7fcccb7463007c1a6e877709650c26cd297ef1b2679d0173157ee874bf16517","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":"0cb167c371eaa8c869f8a7656a7296f2e4fae43b4d8b803a680236b24794e5f9","impliedFormat":1},{"version":"0a839dba0287cc0481ad4beedd48a1c64acf1e212ae865d1315f7007ca215161","impliedFormat":1},{"version":"38dc4655376cd1a4bd6bb3763d92949233e33d38d3dd3cbea7bbf218175a38ef","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"208a6a0bfb227bdf8fb964799d0a206c75cf03ccd72e63bf5495c9331354c6d6","affectsGlobalScope":true,"impliedFormat":1},{"version":"18fd40412d102c5564136f29735e5d1c3b455b8a37f920da79561f1fde068208","impliedFormat":1},{"version":"48a679952eefe4cb776d5a0e1ccba2d3eb53b57448bbb7abc1fcebcbd5440188","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"2d14da6ecb49bf828d83948765ec2d3a579d476bbb9645e749610baa6ec880ca","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"5b7aa3c4c1a5d81b411e8cb302b45507fea9358d3569196b27eb1a27ae3a90ef","affectsGlobalScope":true,"impliedFormat":1},{"version":"33f03c0429f2c638069fc1186e2eccd96370c91fb9d8d7a69c5241bb31fc3d46","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea08a0345023ade2b47fbff5a76d0d0ed8bff10bc9d22b83f40858a8e941501c","impliedFormat":1},{"version":"0aef708fb4c7a6b915e8305cbfac40cd207b032dbaabe9a01889a5fff3254681","impliedFormat":1},{"version":"ae062ce7d9510060c5d7e7952ae379224fb3f8f2dd74e88959878af2057c143b","impliedFormat":1},{"version":"ad9bdafb4e7abf14cc53ce7970486a84c87831e62891e5dfe798ddcd55e84701","affectsGlobalScope":true,"impliedFormat":1},{"version":"45479f65af737a3e5c26d8772bd8ab1aa8bebbd09c1a808c2b3faddb9b84afbb","impliedFormat":1},{"version":"71d3ae6a5e73ca4130762560425e00984ebaff64d5353a3333d1bb7eb86ef336","impliedFormat":1},{"version":"2e8efcf17c471819d4b5ea941ec7bf3743f53704aab9be9a60459c0b3b75cd66","impliedFormat":1},{"version":"3e49c34e3ff1defbcc3c869db68532b5cb3f0cf7cc3011779fa40a380a0aacce","affectsGlobalScope":true,"impliedFormat":1},{"version":"a660aa95476042d3fdcc1343cf6bb8fdf24772d31712b1db321c5a4dcc325434","impliedFormat":1},{"version":"282f98006ed7fa9bb2cd9bdbe2524595cfc4bcd58a0bb3232e4519f2138df811","impliedFormat":1},{"version":"6222e987b58abfe92597e1273ad7233626285bc2d78409d4a7b113d81a83496b","impliedFormat":1},{"version":"cbe726263ae9a7bf32352380f7e8ab66ee25b3457137e316929269c19e18a2be","impliedFormat":1},{"version":"8b96046bf5fb0a815cba6b0880d9f97b7f3a93cf187e8dcfe8e2792e97f38f87","impliedFormat":99},{"version":"bacf2c84cf448b2cd02c717ad46c3d7fd530e0c91282888c923ad64810a4d511","affectsGlobalScope":true,"impliedFormat":1},{"version":"22cbed154d169ae6d1daacd949ccbad99c0f4dd1dfbef01c6fc82046e66dfa56","impliedFormat":1},{"version":"52dcc257df5119fb66d864625112ce5033ac51a4c2afe376a0b299d2f7f76e4a","impliedFormat":1},{"version":"e5bab5f871ef708d52d47b3e5d0aa72a08ee7a152f33931d9a60809711a2a9a3","impliedFormat":1},{"version":"e16dc2a81595736024a206c7d5c8a39bfe2e6039208ef29981d0d95434ba8fcf","impliedFormat":1},{"version":"9d02496b4a77aa462aead8d76c22b391b841e758e4e149a6cd05680b62a08ca4","impliedFormat":1},{"version":"19ee8416e6473ed6c7adb868fa796b5653cf0fa2a337658e677eaa0d134388c3","impliedFormat":1},{"version":"1328ab4e442614b28cdb3d4b414cf68325c0da0dca07287a338d0654b7a00261","impliedFormat":1},{"version":"a039dc21f045919f3cbee2ec13812cc6cc3eebc99dae4be00973230f468d19a6","impliedFormat":1},{"version":"3fbe57af01460e49dcd29df55d6931e1672bc6f1be0fb073d11410bc16f9037d","impliedFormat":1},{"version":"f760be449e8562ec5c09bb5187e8e1eabf3c113c0c58cddda53ef8c69f3e2131","impliedFormat":1},{"version":"44325ed13294fce6ab825b82947bbeed2611db7dad9d9135260192f375e5a189","impliedFormat":1},{"version":"e392e8fb5b514eafc585601c1d781485aa6dd6a320e75daf1064a4c6918a1b45","impliedFormat":1},{"version":"46e4a36e8ddbdfb4e7330e11c81c970dc8b218611df9183d39c41c5f8c653b55","impliedFormat":1},{"version":"60a00bb61a9415e039b7a036b27e78ed415a4ae061be02b53de79a98b86e27bd","impliedFormat":1},{"version":"6332f565867cf4a740a70e30f31cefba37ef7cebcf74f22eab8d744fde6d193e","impliedFormat":1},{"version":"9a195d8476f48523446ece812e5450b5b1ec8c3b6abf99efb8ee2479524f6f56","impliedFormat":1},{"version":"17f2922d41ddd032830a91371c948cd9ce903b35c95adca72271a54584f19b0b","impliedFormat":1},{"version":"3eed76ede2a1a14d7c9bb0a642041282dcc264811139d3dd275c9fe14efc9840","impliedFormat":1},{"version":"354a7f8e1287d9d6b7561bc97fdd8cbc2f7c1dd79e4cb37b942e8a5cfaff1085","impliedFormat":1},{"version":"8d369483f0c2b9ee388129cfdb6a43bc8112b377e86a41884bd06e19ce04f4c1","impliedFormat":99},{"version":"82e687ebd99518bc63ea04b0c3810fb6e50aa6942decd0ca6f7a56d9b9a212a6","impliedFormat":99},{"version":"7f698624bbbb060ece7c0e51b7236520ebada74b747d7523c7df376453ed6fea","impliedFormat":1},{"version":"8f07f2b6514744ac96e51d7cb8518c0f4de319471237ea10cf688b8d0e9d0225","impliedFormat":1},{"version":"257b83faa134d971c738a6b9e4c47e59bb7b23274719d92197580dd662bfafc3","impliedFormat":99},{"version":"e01ea380015ed698c3c0e2ccd0db72f3fc3ef1abc4519f122aa1c1a8d419a505","impliedFormat":99},{"version":"5ada1f8a9580c0f7478fe03ae3e07e958f0b79bdfb9dd50eeb98c1324f40011b","impliedFormat":99},{"version":"a8301dc90b4bd9fba333226ee0f1681aeeff1bd90233a8f647e687cb4b7d3521","impliedFormat":99},{"version":"e3225dc0bec183183509d290f641786245e6652bc3dce755f7ef404060693c35","impliedFormat":99},{"version":"09a03870ed8c55d7453bc9ad684df88965f2f770f987481ca71b8a09be5205bc","impliedFormat":99},{"version":"e6233e1c976265e85aa8ad76c3881febe6264cb06ae3136f0257e1eab4a6cc5a","impliedFormat":99},{"version":"2cdd50ddc49e2d608ee848fc4ab0db9a2716624fabb4209c7c683d87e54d79c5","impliedFormat":99},{"version":"e431d664338b8470abb1750d699c7dfcebb1a25434559ef85bb96f1e82de5972","impliedFormat":99},{"version":"2c4254139d037c3caca66ce291c1308c1b5092cfcb151eb25980db932dd3b01a","impliedFormat":99},{"version":"970ae00ed018cb96352dc3f37355ef9c2d9f8aa94d7174ccd6d0ed855e462097","impliedFormat":99},{"version":"d2f8dee457ef7660b604226d471d55d927c3051766bdd80353553837492635c3","impliedFormat":99},{"version":"110a503289a2ef76141ffff3ffceb9a1c3662c32748eb9f6777a2bd0866d6fb1","impliedFormat":99},{"version":"69bf2422313487956e4dacf049f30cb91b34968912058d244cb19e4baa24da97","impliedFormat":99},{"version":"310e6b62c493ce991624169a1c1904015769d947be88dc67e00adc7ebebcfa87","impliedFormat":99},{"version":"62fefda288160bf6e435b21cc03d3fbac11193d8d3bd0e82d86623cca7691c29","impliedFormat":99},{"version":"fcc46a8bcbf9bef21023bba1995160a25f0bc590ca3563ec44c315b4f4c1b18a","impliedFormat":99},{"version":"0309a01650023994ed96edbd675ea4fdc3779a823ce716ad876cc77afb792b62","impliedFormat":99},{"version":"f13d7beeea58e219daef3a40e0dc4f2bd7d9581ac04cedec236102a12dfd2090","impliedFormat":99},{"version":"669573548930fb7d0a0761b827e203dc623581e21febf0be80fb02414f217d74","impliedFormat":99},{"version":"48c411efce1848d1ed55de41d7deb93cbf7c04080912fd87aa517ed25ef42639","affectsGlobalScope":true,"impliedFormat":1},{"version":"a094636c05f3e75cb072684dd42cd25a4c1324bec4a866706c85c04cecd49613","affectsGlobalScope":true,"impliedFormat":99},{"version":"fe2d63fcfdde197391b6b70daf7be8c02a60afa90754a5f4a04bdc367f62793d","impliedFormat":99},{"version":"9a3e2c85ec1ab7a0874a19814cc73c691b716282cb727914093089c5a8475955","impliedFormat":99},{"version":"cbdc781d2429935c9c42acd680f2a53a9f633e8de03290ec6ea818e4f7bff19a","impliedFormat":99},{"version":"9f6d9f5dd710922f82f69abf9a324e28122b5f31ae6f6ce78427716db30a377e","impliedFormat":99},{"version":"ac2414a284bdecfd6ab7b87578744ab056cd04dd574b17853cd76830ef5b72f2","impliedFormat":99},{"version":"c3f921bbc9d2e65bd503a56fbc66da910e68467baedb0b9db0cc939e1876c0d7","impliedFormat":99},{"version":"dd51e53752b310bd20c9b1a87bbf12b1fe2be7fe40f505b43199496481096275","impliedFormat":1},{"version":"a87be4662442b3feeffc331ecafe6b36cafd08727e2d7f2425a5099577e7fd18","impliedFormat":1},{"version":"cd4cd9220a1ba793bc935e76d8e5481c110a90d9868ae7866a182ee71cdb6abb","impliedFormat":1},{"version":"0a7fb8619b10bc05fd933ca9ac1c8b2ab2220be7a57b57565c3ac158595494ef","impliedFormat":1},{"version":"c4a5f91feb9c5a6b2a91089d959c38391b79a961db3b9cc73b8877d57ad7dcdc","impliedFormat":1},{"version":"0cc99fbb161d78729d71fad66c6c363e3095862d6277160f29fa960744b785c6","affectsGlobalScope":true,"impliedFormat":99},{"version":"db8e26b83e6708b250200435440c326d84dd9f07114c72b33775569486bebd0b","impliedFormat":1},{"version":"ea02b1757ac9d175cd56aa156582860080ec2590de3cc7c34199499f9b1340f3","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":1}],"root":[156,157,342],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":false,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo"},"referencedMap":[[142,1],[147,2],[141,3],[138,4],[148,5],[149,6],[127,7],[144,8],[143,3],[140,3],[139,9],[146,10],[276,4],[222,11],[223,11],[224,12],[176,13],[225,14],[226,15],[227,16],[171,4],[174,17],[172,4],[173,4],[228,18],[229,19],[230,20],[231,21],[232,22],[233,23],[234,23],[235,24],[236,25],[237,26],[238,27],[177,4],[175,4],[239,28],[240,29],[241,30],[275,31],[242,32],[243,4],[244,33],[245,34],[246,35],[247,36],[248,37],[249,38],[250,39],[251,40],[252,41],[253,41],[254,42],[255,4],[256,43],[257,44],[259,45],[258,46],[260,47],[261,48],[262,49],[263,50],[264,51],[265,52],[266,53],[267,54],[268,55],[269,56],[270,57],[271,58],[272,59],[178,4],[179,4],[180,4],[218,60],[219,4],[220,4],[221,47],[273,61],[274,62],[327,4],[328,63],[329,64],[332,65],[331,4],[158,4],[169,66],[164,67],[167,68],[319,69],[308,4],[311,70],[310,71],[322,71],[309,72],[330,4],[166,73],[168,73],[160,74],[163,75],[316,74],[165,76],[159,4],[283,4],[337,77],[339,78],[338,79],[336,80],[335,4],[145,4],[300,81],[298,82],[299,83],[287,84],[288,82],[295,85],[286,86],[291,87],[301,4],[292,88],[297,89],[303,90],[302,91],[285,92],[293,93],[294,94],[289,95],[296,81],[290,96],[278,97],[277,98],[284,4],[320,4],[161,4],[162,99],[56,4],[57,4],[11,4],[10,4],[2,4],[12,4],[13,4],[14,4],[15,4],[16,4],[17,4],[18,4],[19,4],[3,4],[20,4],[21,4],[4,4],[22,4],[26,4],[23,4],[24,4],[25,4],[27,4],[28,4],[29,4],[5,4],[30,4],[31,4],[32,4],[33,4],[6,4],[37,4],[34,4],[35,4],[36,4],[38,4],[7,4],[39,4],[44,4],[45,4],[40,4],[41,4],[42,4],[43,4],[8,4],[49,4],[46,4],[47,4],[48,4],[50,4],[9,4],[51,4],[52,4],[53,4],[55,4],[54,4],[1,4],[196,100],[206,101],[195,100],[216,102],[187,103],[186,104],[215,105],[209,106],[214,107],[189,108],[203,109],[188,110],[212,111],[184,112],[183,105],[213,113],[185,114],[190,115],[191,4],[194,115],[181,4],[217,116],[207,117],[198,118],[199,119],[201,120],[197,121],[200,122],[210,105],[192,123],[193,124],[202,125],[182,126],[205,117],[204,115],[208,4],[211,127],[317,128],[314,129],[315,128],[318,130],[313,4],[307,131],[304,132],[282,133],[280,134],[279,4],[281,135],[305,4],[306,136],[321,137],[312,138],[170,4],[333,139],[323,140],[334,141],[326,142],[325,143],[324,144],[340,145],[341,146],[62,147],[69,148],[64,4],[65,4],[63,149],[66,150],[58,4],[59,4],[70,151],[61,152],[67,4],[68,153],[60,154],[131,155],[134,156],[132,156],[128,155],[135,157],[136,158],[133,156],[129,159],[130,160],[123,161],[75,162],[77,163],[121,4],[76,164],[122,165],[126,166],[124,4],[78,162],[79,4],[120,167],[74,168],[71,4],[125,169],[72,170],[73,4],[137,171],[80,172],[81,172],[82,172],[83,172],[84,172],[85,172],[86,172],[87,172],[88,172],[89,172],[90,172],[92,172],[91,172],[93,172],[94,172],[95,172],[119,173],[96,172],[97,172],[98,172],[99,172],[100,172],[101,172],[102,172],[103,172],[104,172],[106,172],[105,172],[107,172],[108,172],[109,172],[110,172],[111,172],[112,172],[113,172],[114,172],[115,172],[116,172],[117,172],[118,172],[151,174],[155,175],[152,174],[154,174],[153,174],[150,4],[342,176],[157,177],[156,178]],"latestChangedDtsFile":"./tools.d.ts","version":"5.9.3"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/mcp.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/**
|
|
4
|
+
* MCP surface tests.
|
|
5
|
+
*
|
|
6
|
+
* Two layers, because they fail differently:
|
|
7
|
+
* 1. the tool handlers, exercised against the REAL `fixtures/` tree — that is
|
|
8
|
+
* where correctness lives (do the four tools answer the questions an agent
|
|
9
|
+
* asks?);
|
|
10
|
+
* 2. a live stdio round-trip against the built binary — that is where the
|
|
11
|
+
* packaging lives (does `npx @pitcheye/mcp` actually speak MCP?). A handler
|
|
12
|
+
* can be perfect while the transport writes a log line to stdout and the
|
|
13
|
+
* client disconnects.
|
|
14
|
+
*/
|
|
15
|
+
const vitest_1 = require("vitest");
|
|
16
|
+
const node_child_process_1 = require("node:child_process");
|
|
17
|
+
const node_fs_1 = require("node:fs");
|
|
18
|
+
const node_path_1 = require("node:path");
|
|
19
|
+
const tools_js_1 = require("../tools.js");
|
|
20
|
+
const index_js_1 = require("../index.js");
|
|
21
|
+
const HERE = __dirname;
|
|
22
|
+
const REPO_ROOT = (0, node_path_1.resolve)(HERE, '../../../..');
|
|
23
|
+
const FIXTURES = (0, node_path_1.resolve)(REPO_ROOT, 'fixtures');
|
|
24
|
+
(0, vitest_1.describe)('check_repo', () => {
|
|
25
|
+
(0, vitest_1.it)('runs all 30 rules against the fixture tree and reports the catalog findings', async () => {
|
|
26
|
+
const res = await (0, tools_js_1.checkRepo)({ path: FIXTURES });
|
|
27
|
+
const report = res.data;
|
|
28
|
+
(0, vitest_1.expect)(report.summary.total).toBeGreaterThan(30);
|
|
29
|
+
(0, vitest_1.expect)(report.summary.error).toBeGreaterThan(0);
|
|
30
|
+
(0, vitest_1.expect)(report.summary.failed).toBe(true);
|
|
31
|
+
(0, vitest_1.expect)(report.summary.filesScanned).toBeGreaterThan(60);
|
|
32
|
+
// content and data must agree: the agent reads `content`, tests read `data`
|
|
33
|
+
(0, vitest_1.expect)(JSON.parse(res.content[0]?.text ?? '{}')).toMatchObject({ summary: report.summary });
|
|
34
|
+
});
|
|
35
|
+
(0, vitest_1.it)('honours a pack filter', async () => {
|
|
36
|
+
const res = await (0, tools_js_1.checkRepo)({ path: FIXTURES, packs: ['inngest'] });
|
|
37
|
+
const report = res.data;
|
|
38
|
+
(0, vitest_1.expect)(report.findings.length).toBeGreaterThan(0);
|
|
39
|
+
(0, vitest_1.expect)(new Set(report.findings.map((f) => f.ruleId.split('/')[0]))).toEqual(new Set(['inngest']));
|
|
40
|
+
});
|
|
41
|
+
(0, vitest_1.it)('rejects an unknown pack instead of silently running the defaults', async () => {
|
|
42
|
+
const res = await (0, tools_js_1.checkRepo)({ path: FIXTURES, packs: ['clerck'] });
|
|
43
|
+
(0, vitest_1.expect)(res.isError).toBe(true);
|
|
44
|
+
(0, vitest_1.expect)(res.data.error).toContain('unknown pack');
|
|
45
|
+
});
|
|
46
|
+
(0, vitest_1.it)('errors on a missing path argument', async () => {
|
|
47
|
+
const res = await (0, tools_js_1.checkRepo)({ path: '' });
|
|
48
|
+
(0, vitest_1.expect)(res.isError).toBe(true);
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
(0, vitest_1.describe)('check_diff', () => {
|
|
52
|
+
(0, vitest_1.it)('reports which files it considered, and is clean-or-findings for them', async () => {
|
|
53
|
+
const res = await (0, tools_js_1.checkDiff)({ path: REPO_ROOT });
|
|
54
|
+
const report = res.data;
|
|
55
|
+
(0, vitest_1.expect)(report.baseRef).toBe('HEAD');
|
|
56
|
+
(0, vitest_1.expect)(Array.isArray(report.changedFiles)).toBe(true);
|
|
57
|
+
// Every finding must belong to a file the diff actually contained.
|
|
58
|
+
const changed = new Set(report.changedFiles);
|
|
59
|
+
for (const f of report.findings)
|
|
60
|
+
(0, vitest_1.expect)(changed.has(f.file)).toBe(true);
|
|
61
|
+
});
|
|
62
|
+
(0, vitest_1.it)('scopes to a pack while still reporting the changed file list', async () => {
|
|
63
|
+
const res = await (0, tools_js_1.checkDiff)({ path: REPO_ROOT, packs: ['db'] });
|
|
64
|
+
const report = res.data;
|
|
65
|
+
for (const f of report.findings)
|
|
66
|
+
(0, vitest_1.expect)(f.ruleId.startsWith('db/')).toBe(true);
|
|
67
|
+
});
|
|
68
|
+
(0, vitest_1.it)('fails loudly outside a git repository rather than reporting a clean gate', async () => {
|
|
69
|
+
const res = await (0, tools_js_1.checkDiff)({ path: '/tmp' });
|
|
70
|
+
(0, vitest_1.expect)(res.isError).toBe(true);
|
|
71
|
+
(0, vitest_1.expect)(res.data.error).toContain('git');
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
(0, vitest_1.describe)('explain_rule', () => {
|
|
75
|
+
(0, vitest_1.it)('explains one rule with the failure mode, a bad/good pair and a docs link', async () => {
|
|
76
|
+
const res = await (0, tools_js_1.explainRule)({ ruleId: 'db/per-request-client' });
|
|
77
|
+
const rule = res.data;
|
|
78
|
+
(0, vitest_1.expect)(rule.pack).toBe('db');
|
|
79
|
+
(0, vitest_1.expect)(rule.severity).toBe('error');
|
|
80
|
+
(0, vitest_1.expect)((rule.whyItBreaks ?? '').length).toBeGreaterThan(40);
|
|
81
|
+
(0, vitest_1.expect)((rule.suggestedFix ?? '').length).toBeGreaterThan(20);
|
|
82
|
+
(0, vitest_1.expect)(rule.docsUrl).toContain('pitcheye.dev');
|
|
83
|
+
(0, vitest_1.expect)(rule.bad).toBeTruthy();
|
|
84
|
+
(0, vitest_1.expect)(rule.good).toBeTruthy();
|
|
85
|
+
(0, vitest_1.expect)(rule.bad).not.toBe(rule.good);
|
|
86
|
+
});
|
|
87
|
+
(0, vitest_1.it)('resolves a rule whose id namespace differs from its pack', async () => {
|
|
88
|
+
const res = await (0, tools_js_1.explainRule)({ ruleId: 'nextjs/client-secret-leak' });
|
|
89
|
+
(0, vitest_1.expect)(res.data.pack).toBe('vercel');
|
|
90
|
+
});
|
|
91
|
+
(0, vitest_1.it)('returns the full catalogue when no ruleId is given, and filters by pack', async () => {
|
|
92
|
+
const all = (await (0, tools_js_1.explainRule)({})).data;
|
|
93
|
+
(0, vitest_1.expect)(all.count).toBe(30);
|
|
94
|
+
(0, vitest_1.expect)(all.rules.length).toBe(30);
|
|
95
|
+
const inngest = (await (0, tools_js_1.explainRule)({ pack: 'inngest' })).data;
|
|
96
|
+
(0, vitest_1.expect)(inngest.count).toBe(4);
|
|
97
|
+
});
|
|
98
|
+
(0, vitest_1.it)('lists the known ids when the rule does not exist', async () => {
|
|
99
|
+
const res = await (0, tools_js_1.explainRule)({ ruleId: 'db/nope' });
|
|
100
|
+
(0, vitest_1.expect)(res.isError).toBe(true);
|
|
101
|
+
(0, vitest_1.expect)(res.data.error).toContain('db/per-request-client');
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
(0, vitest_1.describe)('verify_fix', () => {
|
|
105
|
+
(0, vitest_1.it)('passes when the named rule no longer fires anywhere in the repo', async () => {
|
|
106
|
+
// `db/shared-client-max-one` has no positive case in the parts we scan here
|
|
107
|
+
// once we point at a CLEAN fixture file's parent: use the whole fixture tree
|
|
108
|
+
// and a rule that only fires inside `.sql`.
|
|
109
|
+
const res = await (0, tools_js_1.verifyFix)({ path: FIXTURES, ruleIds: ['vercel/hobby-cron-violation'] });
|
|
110
|
+
const out = res.data;
|
|
111
|
+
// The fixture tree DOES contain the bad vercel.json, so it must NOT pass —
|
|
112
|
+
// this is the honest assertion: the tool reports the failure it can see.
|
|
113
|
+
(0, vitest_1.expect)(out.passed).toBe(false);
|
|
114
|
+
(0, vitest_1.expect)(out.remaining.map((f) => f.ruleId)).toEqual(['vercel/hobby-cron-violation']);
|
|
115
|
+
});
|
|
116
|
+
(0, vitest_1.it)('passes on a directory where the rule cannot fire', async () => {
|
|
117
|
+
const res = await (0, tools_js_1.verifyFix)({
|
|
118
|
+
path: (0, node_path_1.resolve)(FIXTURES, 'db/supabase-rls-missing'),
|
|
119
|
+
ruleIds: ['vercel/hobby-cron-violation'],
|
|
120
|
+
});
|
|
121
|
+
const out = res.data;
|
|
122
|
+
(0, vitest_1.expect)(out.passed).toBe(true);
|
|
123
|
+
(0, vitest_1.expect)(out.remaining).toEqual([]);
|
|
124
|
+
});
|
|
125
|
+
(0, vitest_1.it)('rejects unknown rule ids', async () => {
|
|
126
|
+
const res = await (0, tools_js_1.verifyFix)({ path: FIXTURES, ruleIds: ['db/made-up'] });
|
|
127
|
+
(0, vitest_1.expect)(res.isError).toBe(true);
|
|
128
|
+
(0, vitest_1.expect)(res.data.error).toContain('unknown ruleId');
|
|
129
|
+
});
|
|
130
|
+
(0, vitest_1.it)('requires a non-empty ruleIds array', async () => {
|
|
131
|
+
const res = await (0, tools_js_1.verifyFix)({ path: FIXTURES, ruleIds: [] });
|
|
132
|
+
(0, vitest_1.expect)(res.isError).toBe(true);
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
(0, vitest_1.describe)('transport', () => {
|
|
136
|
+
(0, vitest_1.it)('advertises all four tools with input schemas', () => {
|
|
137
|
+
(0, vitest_1.expect)(index_js_1.TOOL_DEFINITIONS.map((t) => t.name).sort()).toEqual([
|
|
138
|
+
'check_diff',
|
|
139
|
+
'check_repo',
|
|
140
|
+
'explain_rule',
|
|
141
|
+
'verify_fix',
|
|
142
|
+
]);
|
|
143
|
+
for (const tool of index_js_1.TOOL_DEFINITIONS) {
|
|
144
|
+
(0, vitest_1.expect)(tool.description.length).toBeGreaterThan(40);
|
|
145
|
+
(0, vitest_1.expect)(tool.inputSchema.type).toBe('object');
|
|
146
|
+
(0, vitest_1.expect)(tool.inputSchema.properties).toBeTruthy();
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
(0, vitest_1.it)('callTool dispatches by name and errors on an unknown tool', async () => {
|
|
150
|
+
const okRes = await (0, index_js_1.callTool)('explain_rule', { ruleId: 'clerk/unprotected-mutation' });
|
|
151
|
+
(0, vitest_1.expect)(okRes.isError).toBeFalsy();
|
|
152
|
+
const bad = await (0, index_js_1.callTool)('nope', {});
|
|
153
|
+
(0, vitest_1.expect)(bad.isError).toBe(true);
|
|
154
|
+
});
|
|
155
|
+
vitest_1.it.skipIf(!(0, node_fs_1.existsSync)((0, node_path_1.resolve)(REPO_ROOT, 'packages/mcp/dist/index.js')))('speaks real JSON-RPC over stdio (initialize -> tools/list -> tools/call)', () => {
|
|
156
|
+
const bin = (0, node_path_1.resolve)(REPO_ROOT, 'packages/mcp/dist/index.js');
|
|
157
|
+
const requests = [
|
|
158
|
+
{
|
|
159
|
+
jsonrpc: '2.0',
|
|
160
|
+
id: 1,
|
|
161
|
+
method: 'initialize',
|
|
162
|
+
params: {
|
|
163
|
+
protocolVersion: '2024-11-05',
|
|
164
|
+
capabilities: {},
|
|
165
|
+
clientInfo: { name: 'pitcheye-test', version: '0.0.0' },
|
|
166
|
+
},
|
|
167
|
+
},
|
|
168
|
+
{ jsonrpc: '2.0', method: 'notifications/initialized' },
|
|
169
|
+
{ jsonrpc: '2.0', id: 2, method: 'tools/list', params: {} },
|
|
170
|
+
{
|
|
171
|
+
jsonrpc: '2.0',
|
|
172
|
+
id: 3,
|
|
173
|
+
method: 'tools/call',
|
|
174
|
+
params: { name: 'explain_rule', arguments: { ruleId: 'inngest/nested-step-run' } },
|
|
175
|
+
},
|
|
176
|
+
];
|
|
177
|
+
const stdin = `${requests.map((r) => JSON.stringify(r)).join('\n')}\n`;
|
|
178
|
+
// Feed the whole session at once and close stdin: the server answers each
|
|
179
|
+
// request in order, so the output is deterministic.
|
|
180
|
+
const stdout = (0, node_child_process_1.execFileSync)('node', [bin], {
|
|
181
|
+
input: stdin,
|
|
182
|
+
encoding: 'utf8',
|
|
183
|
+
timeout: 30_000,
|
|
184
|
+
stdio: ['pipe', 'pipe', 'pipe'],
|
|
185
|
+
});
|
|
186
|
+
const messages = stdout
|
|
187
|
+
.split('\n')
|
|
188
|
+
.filter((l) => l.trim().startsWith('{'))
|
|
189
|
+
.map((l) => JSON.parse(l));
|
|
190
|
+
const init = messages.find((m) => m.id === 1);
|
|
191
|
+
(0, vitest_1.expect)(init.result.serverInfo.name).toBe('pitcheye');
|
|
192
|
+
(0, vitest_1.expect)(init.result.capabilities.tools).toBeDefined();
|
|
193
|
+
const list = messages.find((m) => m.id === 2);
|
|
194
|
+
(0, vitest_1.expect)(list.result.tools.length).toBe(4);
|
|
195
|
+
const call = messages.find((m) => m.id === 3);
|
|
196
|
+
(0, vitest_1.expect)(call.result.isError).toBeFalsy();
|
|
197
|
+
const payload = JSON.parse(call.result.content[0]?.text ?? '{}');
|
|
198
|
+
(0, vitest_1.expect)(payload.ruleId).toBe('inngest/nested-step-run');
|
|
199
|
+
}, 40_000);
|
|
200
|
+
});
|
|
201
|
+
(0, vitest_1.beforeAll)(() => {
|
|
202
|
+
if (!(0, node_fs_1.existsSync)(FIXTURES))
|
|
203
|
+
throw new Error(`fixtures missing at ${FIXTURES}`);
|
|
204
|
+
});
|
|
205
|
+
//# sourceMappingURL=mcp.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp.test.js","sourceRoot":"","sources":["../../src/__tests__/mcp.test.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;GAWG;AACH,mCAAyD;AACzD,2DAAkD;AAClD,qCA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AAA,eAAM,EAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAEzC,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAE3C,CAAC;QACF,IAAA,eAAM,EAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,CAAC;QACxC,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,IAAI,IAAI,CAAuB,CAAC;QACvF,IAAA,eAAM,EAAC,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;IACzD,CAAC,EACD,MAAM,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,IAAA,kBAAS,EAAC,GAAG,EAAE;IACb,IAAI,CAAC,IAAA,oBAAU,EAAC,QAAQ,CAAC;QAAE,MAAM,IAAI,KAAK,CAAC,uBAAuB,QAAQ,EAAE,CAAC,CAAC;AAChF,CAAC,CAAC,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* The stdio MCP server.
|
|
4
|
+
*
|
|
5
|
+
* Transport is `@modelcontextprotocol/sdk`'s stdio pair — the same one Claude
|
|
6
|
+
* Code, Codex, Cursor and Hermes speak. Every tool delegates to `tools.ts`, so
|
|
7
|
+
* the server has no logic of its own beyond schema binding.
|
|
8
|
+
*
|
|
9
|
+
* stdout is the PROTOCOL. Anything diagnostic goes to stderr, or it corrupts the
|
|
10
|
+
* JSON-RPC stream and the client disconnects mid-session.
|
|
11
|
+
*/
|
|
12
|
+
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
13
|
+
import { type ToolResult } from './tools.js';
|
|
14
|
+
export type ToolDefinition = {
|
|
15
|
+
name: string;
|
|
16
|
+
description: string;
|
|
17
|
+
inputSchema: Record<string, unknown>;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Schemas are hand-written rather than derived from zod: MCP clients display
|
|
21
|
+
* `inputSchema` verbatim, so the descriptions are part of the user interface.
|
|
22
|
+
*/
|
|
23
|
+
export declare const TOOL_DEFINITIONS: ToolDefinition[];
|
|
24
|
+
/** Dispatch one tool call. Exported so tests need no transport. */
|
|
25
|
+
export declare function callTool(name: string, args: Record<string, unknown>): Promise<ToolResult<unknown>>;
|
|
26
|
+
export declare function createServer(): Server;
|
|
27
|
+
export declare function main(): Promise<void>;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;;;;;;GASG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAOnE,OAAO,EAAgD,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAE3F,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,cAAc,EAoE5C,CAAC;AAWF,mEAAmE;AACnE,wBAAsB,QAAQ,CAC5B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC5B,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAU9B;AAED,wBAAgB,YAAY,IAAI,MAAM,CAkBrC;AAED,wBAAsB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAM1C"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.TOOL_DEFINITIONS = void 0;
|
|
5
|
+
exports.callTool = callTool;
|
|
6
|
+
exports.createServer = createServer;
|
|
7
|
+
exports.main = main;
|
|
8
|
+
/**
|
|
9
|
+
* The stdio MCP server.
|
|
10
|
+
*
|
|
11
|
+
* Transport is `@modelcontextprotocol/sdk`'s stdio pair — the same one Claude
|
|
12
|
+
* Code, Codex, Cursor and Hermes speak. Every tool delegates to `tools.ts`, so
|
|
13
|
+
* the server has no logic of its own beyond schema binding.
|
|
14
|
+
*
|
|
15
|
+
* stdout is the PROTOCOL. Anything diagnostic goes to stderr, or it corrupts the
|
|
16
|
+
* JSON-RPC stream and the client disconnects mid-session.
|
|
17
|
+
*/
|
|
18
|
+
const index_js_1 = require("@modelcontextprotocol/sdk/server/index.js");
|
|
19
|
+
const stdio_js_1 = require("@modelcontextprotocol/sdk/server/stdio.js");
|
|
20
|
+
const types_js_1 = require("@modelcontextprotocol/sdk/types.js");
|
|
21
|
+
const core_1 = require("@pitcheye/core");
|
|
22
|
+
const tools_js_1 = require("./tools.js");
|
|
23
|
+
/**
|
|
24
|
+
* Schemas are hand-written rather than derived from zod: MCP clients display
|
|
25
|
+
* `inputSchema` verbatim, so the descriptions are part of the user interface.
|
|
26
|
+
*/
|
|
27
|
+
exports.TOOL_DEFINITIONS = [
|
|
28
|
+
{
|
|
29
|
+
name: 'check_repo',
|
|
30
|
+
description: 'Run PitchEye rules over a repository (or a subtree) and return structured findings. Use before claiming a change is complete. Findings include whyItBreaks and suggestedFix so you can repair them without reading the docs.',
|
|
31
|
+
inputSchema: {
|
|
32
|
+
type: 'object',
|
|
33
|
+
properties: {
|
|
34
|
+
path: { type: 'string', description: 'Absolute or relative path to the repository root.' },
|
|
35
|
+
packs: {
|
|
36
|
+
type: 'array',
|
|
37
|
+
items: {
|
|
38
|
+
type: 'string',
|
|
39
|
+
enum: ['clerk', 'supabase-auth', 'db', 'vercel', 'webhooks', 'inngest'],
|
|
40
|
+
},
|
|
41
|
+
description: 'Restrict to these packs. Omit to run all 30 rules.',
|
|
42
|
+
},
|
|
43
|
+
changedOnly: {
|
|
44
|
+
type: 'boolean',
|
|
45
|
+
description: 'Only analyse files changed vs HEAD (plus untracked files).',
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
required: ['path'],
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: 'check_diff',
|
|
53
|
+
description: 'Run PitchEye rules over only the files that differ from a base ref (default HEAD). This is the PR gate: fast, scoped, and it reports which files it considered.',
|
|
54
|
+
inputSchema: {
|
|
55
|
+
type: 'object',
|
|
56
|
+
properties: {
|
|
57
|
+
path: { type: 'string', description: 'Path to the repository root.' },
|
|
58
|
+
baseRef: { type: 'string', description: 'Git ref to diff against (default: HEAD).' },
|
|
59
|
+
packs: { type: 'array', items: { type: 'string' }, description: 'Restrict to these packs.' },
|
|
60
|
+
},
|
|
61
|
+
required: ['path'],
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
name: 'explain_rule',
|
|
66
|
+
description: 'Explain one rule: the production failure it prevents, a bad/good code pair, and the docs link. With no ruleId, returns the full 30-rule catalogue (optionally filtered by pack).',
|
|
67
|
+
inputSchema: {
|
|
68
|
+
type: 'object',
|
|
69
|
+
properties: {
|
|
70
|
+
ruleId: { type: 'string', description: 'e.g. "db/per-request-client". Omit for the catalogue.' },
|
|
71
|
+
pack: { type: 'string', description: 'Filter the catalogue by pack.' },
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: 'verify_fix',
|
|
77
|
+
description: 'Re-run only the named rules and return { passed }. Call this after applying a fix, before committing: it answers "are the rules that were failing now clear?" in one boolean.',
|
|
78
|
+
inputSchema: {
|
|
79
|
+
type: 'object',
|
|
80
|
+
properties: {
|
|
81
|
+
path: { type: 'string', description: 'Path to the repository root.' },
|
|
82
|
+
ruleIds: {
|
|
83
|
+
type: 'array',
|
|
84
|
+
items: { type: 'string' },
|
|
85
|
+
description: 'The rule ids that were previously failing.',
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
required: ['path', 'ruleIds'],
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
];
|
|
92
|
+
const HANDLERS = {
|
|
93
|
+
check_repo: (args) => (0, tools_js_1.checkRepo)(args),
|
|
94
|
+
check_diff: (args) => (0, tools_js_1.checkDiff)(args),
|
|
95
|
+
explain_rule: (args) => (0, tools_js_1.explainRule)(args),
|
|
96
|
+
verify_fix: (args) => (0, tools_js_1.verifyFix)(args),
|
|
97
|
+
};
|
|
98
|
+
/** Dispatch one tool call. Exported so tests need no transport. */
|
|
99
|
+
async function callTool(name, args) {
|
|
100
|
+
const handler = HANDLERS[name];
|
|
101
|
+
if (!handler) {
|
|
102
|
+
return {
|
|
103
|
+
content: [{ type: 'text', text: JSON.stringify({ error: `unknown tool: ${name}` }) }],
|
|
104
|
+
data: { error: `unknown tool: ${name}` },
|
|
105
|
+
isError: true,
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
return handler(args ?? {});
|
|
109
|
+
}
|
|
110
|
+
function createServer() {
|
|
111
|
+
const server = new index_js_1.Server({ name: 'pitcheye', version: core_1.TOOL_VERSION }, { capabilities: { tools: {} } });
|
|
112
|
+
server.setRequestHandler(types_js_1.ListToolsRequestSchema, async () => ({ tools: exports.TOOL_DEFINITIONS }));
|
|
113
|
+
server.setRequestHandler(types_js_1.CallToolRequestSchema, async (request) => {
|
|
114
|
+
const { name, arguments: args } = request.params;
|
|
115
|
+
const result = await callTool(name, (args ?? {}));
|
|
116
|
+
return {
|
|
117
|
+
content: result.content,
|
|
118
|
+
...(result.isError ? { isError: true } : {}),
|
|
119
|
+
};
|
|
120
|
+
});
|
|
121
|
+
return server;
|
|
122
|
+
}
|
|
123
|
+
async function main() {
|
|
124
|
+
const server = createServer();
|
|
125
|
+
const transport = new stdio_js_1.StdioServerTransport();
|
|
126
|
+
await server.connect(transport);
|
|
127
|
+
// stderr only: stdout carries the JSON-RPC stream.
|
|
128
|
+
process.stderr.write('pitcheye-mcp: ready (30 rules, 6 packs)\n');
|
|
129
|
+
}
|
|
130
|
+
function invokedDirectly() {
|
|
131
|
+
const entry = process.argv[1];
|
|
132
|
+
if (!entry)
|
|
133
|
+
return false;
|
|
134
|
+
try {
|
|
135
|
+
return /(^|\/)index\.(js|ts)$/.test(entry);
|
|
136
|
+
}
|
|
137
|
+
catch {
|
|
138
|
+
return false;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
if (invokedDirectly()) {
|
|
142
|
+
main().catch((err) => {
|
|
143
|
+
process.stderr.write(`pitcheye-mcp: ${err.message}\n`);
|
|
144
|
+
process.exitCode = 1;
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AA8GA,4BAaC;AAED,oCAkBC;AAED,oBAMC;AAtJD;;;;;;;;;GASG;AACH,wEAAmE;AACnE,wEAAiF;AACjF,iEAG4C;AAC5C,yCAA8C;AAC9C,yCAA2F;AAQ3F;;;GAGG;AACU,QAAA,gBAAgB,GAAqB;IAChD;QACE,IAAI,EAAE,YAAY;QAClB,WAAW,EACT,8NAA8N;QAChO,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,mDAAmD,EAAE;gBAC1F,KAAK,EAAE;oBACL,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE;wBACL,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,CAAC,OAAO,EAAE,eAAe,EA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iBAAkB,GAAa,CAAC,OAAO,IAAI,CAAC,CAAC;QAClE,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;IACvB,CAAC,CAAC,CAAC;AACL,CAAC"}
|
package/dist/tools.d.ts
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { type Finding } from '@pitcheye/core';
|
|
2
|
+
export type ToolResult<T> = {
|
|
3
|
+
/** MCP `content` payloads, already JSON-encoded for the agent. */
|
|
4
|
+
content: Array<{
|
|
5
|
+
type: 'text';
|
|
6
|
+
text: string;
|
|
7
|
+
}>;
|
|
8
|
+
/** Also returned structurally, so tests and future typed clients need no parse. */
|
|
9
|
+
data: T;
|
|
10
|
+
isError?: boolean;
|
|
11
|
+
};
|
|
12
|
+
/** The compact finding shape an agent reads: no duplicated metadata prose. */
|
|
13
|
+
export type CompactFinding = Finding;
|
|
14
|
+
export type CheckSummary = {
|
|
15
|
+
filesScanned: number;
|
|
16
|
+
durationMs: number;
|
|
17
|
+
error: number;
|
|
18
|
+
warn: number;
|
|
19
|
+
info: number;
|
|
20
|
+
total: number;
|
|
21
|
+
failed: boolean;
|
|
22
|
+
};
|
|
23
|
+
export type CheckRepoInput = {
|
|
24
|
+
path: string;
|
|
25
|
+
packs?: string[];
|
|
26
|
+
changedOnly?: boolean;
|
|
27
|
+
};
|
|
28
|
+
export declare function checkRepo(input: CheckRepoInput): Promise<ToolResult<unknown>>;
|
|
29
|
+
/** `git diff --name-only HEAD` + untracked, repo-relative POSIX. */
|
|
30
|
+
export declare function changedFiles(root: string): string[];
|
|
31
|
+
export type CheckDiffInput = {
|
|
32
|
+
path: string;
|
|
33
|
+
baseRef?: string;
|
|
34
|
+
packs?: string[];
|
|
35
|
+
};
|
|
36
|
+
export declare function checkDiff(input: CheckDiffInput): Promise<ToolResult<unknown>>;
|
|
37
|
+
/** Files changed against a base ref (committed + uncommitted + untracked). */
|
|
38
|
+
export declare function diffFiles(root: string, baseRef: string): string[];
|
|
39
|
+
export type ExplainRuleInput = {
|
|
40
|
+
ruleId?: string;
|
|
41
|
+
pack?: string;
|
|
42
|
+
};
|
|
43
|
+
export declare function explainRule(input: ExplainRuleInput): Promise<ToolResult<unknown>>;
|
|
44
|
+
export type VerifyFixInput = {
|
|
45
|
+
path: string;
|
|
46
|
+
ruleIds: string[];
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Re-run ONLY the named rules and report whether they are clear.
|
|
50
|
+
*
|
|
51
|
+
* This is the loop-closer: an agent that just applied a fix asks "is my change
|
|
52
|
+
* actually clean for the rules that were failing" and gets a boolean it can
|
|
53
|
+
* gate a commit on — without re-reading the whole report.
|
|
54
|
+
*/
|
|
55
|
+
export declare function verifyFix(input: VerifyFixInput): Promise<ToolResult<unknown>>;
|
|
56
|
+
export declare const TOOL_NAMES: readonly ["check_repo", "check_diff", "explain_rule", "verify_fix"];
|
|
57
|
+
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAaA,OAAO,EAKL,KAAK,OAAO,EAGb,MAAM,gBAAgB,CAAC;AAIxB,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI;IAC1B,kEAAkE;IAClE,OAAO,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/C,mFAAmF;IACnF,IAAI,EAAE,CAAC,CAAC;IACR,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAWF,8EAA8E;AAC9E,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC;AAErC,MAAM,MAAM,YAAY,GAAG;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAA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sE,CAAC"}
|
package/dist/tools.js
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TOOL_NAMES = void 0;
|
|
4
|
+
exports.checkRepo = checkRepo;
|
|
5
|
+
exports.changedFiles = changedFiles;
|
|
6
|
+
exports.checkDiff = checkDiff;
|
|
7
|
+
exports.diffFiles = diffFiles;
|
|
8
|
+
exports.explainRule = explainRule;
|
|
9
|
+
exports.verifyFix = verifyFix;
|
|
10
|
+
/**
|
|
11
|
+
* `@pitcheye/mcp` — the agent surface.
|
|
12
|
+
*
|
|
13
|
+
* Four tools, one engine. Nothing here re-implements a rule: every tool is a
|
|
14
|
+
* thin, typed projection of `@pitcheye/core`, which is what keeps the CLI, the
|
|
15
|
+
* GitHub Check and this server from drifting apart.
|
|
16
|
+
*
|
|
17
|
+
* The tool layer is exported as plain functions (`checkRepo`, `checkDiff`,
|
|
18
|
+
* `explainRule`, `verifyFix`) so it can be unit-tested without a transport —
|
|
19
|
+
* the stdio server below is the only part that needs a live client.
|
|
20
|
+
*/
|
|
21
|
+
const node_child_process_1 = require("node:child_process");
|
|
22
|
+
const node_path_1 = require("node:path");
|
|
23
|
+
const core_1 = require("@pitcheye/core");
|
|
24
|
+
function ok(data) {
|
|
25
|
+
return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }], data };
|
|
26
|
+
}
|
|
27
|
+
function fail(message) {
|
|
28
|
+
const data = { error: message };
|
|
29
|
+
return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }], data, isError: true };
|
|
30
|
+
}
|
|
31
|
+
function summarize(result) {
|
|
32
|
+
return { filesScanned: result.filesScanned, durationMs: result.durationMs, ...result.summary };
|
|
33
|
+
}
|
|
34
|
+
function normalizePacks(packs) {
|
|
35
|
+
if (packs === undefined || packs === null)
|
|
36
|
+
return undefined;
|
|
37
|
+
if (!Array.isArray(packs))
|
|
38
|
+
throw new Error('packs must be an array of pack ids');
|
|
39
|
+
const known = new Set((0, core_1.allRules)().map((r) => r.meta.pack));
|
|
40
|
+
const out = [];
|
|
41
|
+
for (const p of packs) {
|
|
42
|
+
if (typeof p !== 'string')
|
|
43
|
+
throw new Error('packs must be strings');
|
|
44
|
+
if (!known.has(p)) {
|
|
45
|
+
throw new Error(`unknown pack "${p}" — known packs: ${[...known].join(', ')}`);
|
|
46
|
+
}
|
|
47
|
+
out.push(p);
|
|
48
|
+
}
|
|
49
|
+
return out.length > 0 ? out : undefined;
|
|
50
|
+
}
|
|
51
|
+
async function checkRepo(input) {
|
|
52
|
+
if (typeof input?.path !== 'string' || input.path.length === 0)
|
|
53
|
+
return fail('`path` is required');
|
|
54
|
+
const root = (0, node_path_1.resolve)(input.path);
|
|
55
|
+
try {
|
|
56
|
+
const packs = normalizePacks(input.packs);
|
|
57
|
+
const onlyFiles = input.changedOnly ? changedFiles(root) : undefined;
|
|
58
|
+
const result = await (0, core_1.scan)({ root, packs, onlyFiles });
|
|
59
|
+
return ok({
|
|
60
|
+
root,
|
|
61
|
+
summary: summarize(result),
|
|
62
|
+
findings: result.findings,
|
|
63
|
+
changedOnly: Boolean(input.changedOnly),
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
catch (err) {
|
|
67
|
+
return fail(err.message);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
/** `git diff --name-only HEAD` + untracked, repo-relative POSIX. */
|
|
71
|
+
function changedFiles(root) {
|
|
72
|
+
const git = (args) => {
|
|
73
|
+
try {
|
|
74
|
+
return (0, node_child_process_1.execFileSync)('git', args, { cwd: root, encoding: 'utf8', stdio: ['ignore', 'pipe', 'ignore'] });
|
|
75
|
+
}
|
|
76
|
+
catch {
|
|
77
|
+
throw new Error(`${root} is not a git repository (git ${args[0]} failed)`);
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
const tracked = git(['diff', '--name-only', '--diff-filter=ACMR', 'HEAD']);
|
|
81
|
+
const untracked = git(['ls-files', '--others', '--exclude-standard']);
|
|
82
|
+
const files = new Set();
|
|
83
|
+
for (const line of `${tracked}\n${untracked}`.split('\n')) {
|
|
84
|
+
const t = line.trim();
|
|
85
|
+
if (t.length > 0)
|
|
86
|
+
files.add(t);
|
|
87
|
+
}
|
|
88
|
+
return [...files];
|
|
89
|
+
}
|
|
90
|
+
async function checkDiff(input) {
|
|
91
|
+
if (typeof input?.path !== 'string' || input.path.length === 0)
|
|
92
|
+
return fail('`path` is required');
|
|
93
|
+
const root = (0, node_path_1.resolve)(input.path);
|
|
94
|
+
const base = input.baseRef ?? 'HEAD';
|
|
95
|
+
try {
|
|
96
|
+
const packs = normalizePacks(input.packs);
|
|
97
|
+
const files = diffFiles(root, base);
|
|
98
|
+
if (files.length === 0) {
|
|
99
|
+
// Nothing changed is a clean gate, and a distinct field says so — an empty
|
|
100
|
+
// finding list alone is indistinguishable from "the scan was skipped".
|
|
101
|
+
return ok({
|
|
102
|
+
root,
|
|
103
|
+
baseRef: base,
|
|
104
|
+
changedFiles: [],
|
|
105
|
+
summary: { filesScanned: 0, durationMs: 0, error: 0, warn: 0, info: 0, total: 0, failed: false },
|
|
106
|
+
findings: [],
|
|
107
|
+
message: 'no files differ from the base ref',
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
const result = await (0, core_1.scan)({ root, packs, onlyFiles: files });
|
|
111
|
+
return ok({
|
|
112
|
+
root,
|
|
113
|
+
baseRef: base,
|
|
114
|
+
changedFiles: files,
|
|
115
|
+
summary: summarize(result),
|
|
116
|
+
findings: result.findings,
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
catch (err) {
|
|
120
|
+
return fail(err.message);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
/** Files changed against a base ref (committed + uncommitted + untracked). */
|
|
124
|
+
function diffFiles(root, baseRef) {
|
|
125
|
+
const git = (args) => {
|
|
126
|
+
try {
|
|
127
|
+
return (0, node_child_process_1.execFileSync)('git', args, { cwd: root, encoding: 'utf8', stdio: ['ignore', 'pipe', 'ignore'] });
|
|
128
|
+
}
|
|
129
|
+
catch {
|
|
130
|
+
throw new Error(`${root} is not a git repository (git ${args[0]} failed)`);
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
const tracked = git(['diff', '--name-only', '--diff-filter=ACMR', baseRef]);
|
|
134
|
+
const untracked = git(['ls-files', '--others', '--exclude-standard']);
|
|
135
|
+
const files = new Set();
|
|
136
|
+
for (const line of `${tracked}\n${untracked}`.split('\n')) {
|
|
137
|
+
const t = line.trim();
|
|
138
|
+
if (t.length > 0)
|
|
139
|
+
files.add(t);
|
|
140
|
+
}
|
|
141
|
+
return [...files];
|
|
142
|
+
}
|
|
143
|
+
async function explainRule(input) {
|
|
144
|
+
if (input?.ruleId) {
|
|
145
|
+
const rule = (0, core_1.ruleById)(input.ruleId);
|
|
146
|
+
if (!rule) {
|
|
147
|
+
const known = (0, core_1.allRules)().map((r) => r.meta.ruleId);
|
|
148
|
+
return fail(`unknown ruleId "${input.ruleId}". Known rules: ${known.join(', ')}`);
|
|
149
|
+
}
|
|
150
|
+
return ok({
|
|
151
|
+
ruleId: rule.meta.ruleId,
|
|
152
|
+
pack: rule.meta.pack,
|
|
153
|
+
severity: rule.meta.severity,
|
|
154
|
+
title: rule.meta.title,
|
|
155
|
+
signal: rule.meta.signal,
|
|
156
|
+
whyItBreaks: rule.meta.whyItBreaks,
|
|
157
|
+
suggestedFix: rule.meta.suggestedFix,
|
|
158
|
+
docsUrl: rule.meta.docsUrl,
|
|
159
|
+
bad: rule.meta.exampleBad,
|
|
160
|
+
good: rule.meta.exampleGood,
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
// No ruleId: the catalogue, optionally filtered by pack. An agent asked to
|
|
164
|
+
// "explain the rules" wants the index, not an error.
|
|
165
|
+
const all = (0, core_1.catalog)();
|
|
166
|
+
const filtered = input?.pack ? all.filter((r) => r.pack === input.pack) : all;
|
|
167
|
+
return ok({ count: filtered.length, rules: filtered });
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Re-run ONLY the named rules and report whether they are clear.
|
|
171
|
+
*
|
|
172
|
+
* This is the loop-closer: an agent that just applied a fix asks "is my change
|
|
173
|
+
* actually clean for the rules that were failing" and gets a boolean it can
|
|
174
|
+
* gate a commit on — without re-reading the whole report.
|
|
175
|
+
*/
|
|
176
|
+
async function verifyFix(input) {
|
|
177
|
+
if (typeof input?.path !== 'string' || input.path.length === 0)
|
|
178
|
+
return fail('`path` is required');
|
|
179
|
+
if (!Array.isArray(input.ruleIds) || input.ruleIds.length === 0) {
|
|
180
|
+
return fail('`ruleIds` must be a non-empty array');
|
|
181
|
+
}
|
|
182
|
+
const root = (0, node_path_1.resolve)(input.path);
|
|
183
|
+
const unknown = input.ruleIds.filter((id) => !(0, core_1.ruleById)(id));
|
|
184
|
+
if (unknown.length > 0) {
|
|
185
|
+
return fail(`unknown ruleId(s): ${unknown.join(', ')}`);
|
|
186
|
+
}
|
|
187
|
+
try {
|
|
188
|
+
const packs = [...new Set(input.ruleIds.map((id) => (0, core_1.ruleById)(id)?.meta.pack))].filter((p) => p !== undefined);
|
|
189
|
+
const result = await (0, core_1.scan)({ root, packs });
|
|
190
|
+
const still = result.findings.filter((f) => input.ruleIds.includes(f.ruleId));
|
|
191
|
+
return ok({
|
|
192
|
+
root,
|
|
193
|
+
ruleIds: input.ruleIds,
|
|
194
|
+
scannedFiles: result.filesScanned,
|
|
195
|
+
passed: still.length === 0,
|
|
196
|
+
remaining: still,
|
|
197
|
+
summary: summarize(result),
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
catch (err) {
|
|
201
|
+
return fail(err.message);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
/* ---------------------------------------------------------------- catalog --- */
|
|
205
|
+
exports.TOOL_NAMES = ['check_repo', 'check_diff', 'explain_rule', 'verify_fix'];
|
|
206
|
+
//# sourceMappingURL=tools.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1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K,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;QAC9E,OAAO,EAAE,CAAC;YACR,IAAI;YACJ,OAAO,EAAE,KAAK,CAAC,OAAO;YACtB,YAAY,EAAE,MAAM,CAAC,YAAY;YACjC,MAAM,EAAE,KAAK,CAAC,MAAM,KAAK,CAAC;YAC1B,SAAS,EAAE,KAAK;YAChB,OAAO,EAAE,SAAS,CAAC,MAAM,CAAC;SAC3B,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO,IAAI,CAAE,GAAa,CAAC,OAAO,CAAC,CAAC;IACtC,CAAC;AACH,CAAC;AAED,kFAAkF;AAErE,QAAA,UAAU,GAAG,CAAC,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,YAAY,CAAU,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pitcheye/mcp",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "PitchEye MCP server — check_repo, check_diff, explain_rule, verify_fix over stdio.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"bin": {
|
|
9
|
+
"pitcheye-mcp": "dist/index.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
16
|
+
"zod": "^3.24.1",
|
|
17
|
+
"@pitcheye/core": "0.1.0"
|
|
18
|
+
},
|
|
19
|
+
"publishConfig": {
|
|
20
|
+
"access": "public"
|
|
21
|
+
},
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "https://github.com/travisbiegun/pitcheye.git",
|
|
25
|
+
"directory": "packages/mcp"
|
|
26
|
+
},
|
|
27
|
+
"homepage": "https://pitcheye.dev",
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "tsc -b",
|
|
30
|
+
"typecheck": "tsc -b --force"
|
|
31
|
+
}
|
|
6
32
|
}
|
package/README.md
DELETED