@j0hanz/filesystem-context-mcp 1.2.8 → 1.3.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/README.md +125 -19
- package/dist/__tests__/lib/file-operations/compute-checksums.test.d.ts +2 -0
- package/dist/__tests__/lib/file-operations/compute-checksums.test.d.ts.map +1 -0
- package/dist/__tests__/lib/file-operations/compute-checksums.test.js +59 -0
- package/dist/__tests__/lib/file-operations/compute-checksums.test.js.map +1 -0
- package/dist/__tests__/lib/file-operations/get-multiple-file-info.test.d.ts +2 -0
- package/dist/__tests__/lib/file-operations/get-multiple-file-info.test.d.ts.map +1 -0
- package/dist/__tests__/lib/file-operations/get-multiple-file-info.test.js +46 -0
- package/dist/__tests__/lib/file-operations/get-multiple-file-info.test.js.map +1 -0
- package/dist/__tests__/lib/file-operations/read-multiple-files-edge-cases.test.js +21 -0
- package/dist/__tests__/lib/file-operations/read-multiple-files-edge-cases.test.js.map +1 -1
- package/dist/__tests__/lib/file-operations/read-multiple-files.test.js +18 -0
- package/dist/__tests__/lib/file-operations/read-multiple-files.test.js.map +1 -1
- package/dist/__tests__/lib/file-operations/search-definitions.test.d.ts +2 -0
- package/dist/__tests__/lib/file-operations/search-definitions.test.d.ts.map +1 -0
- package/dist/__tests__/lib/file-operations/search-definitions.test.js +274 -0
- package/dist/__tests__/lib/file-operations/search-definitions.test.js.map +1 -0
- package/dist/__tests__/lib/file-operations/sorting.test.d.ts +2 -0
- package/dist/__tests__/lib/file-operations/sorting.test.d.ts.map +1 -0
- package/dist/__tests__/lib/file-operations/sorting.test.js +47 -0
- package/dist/__tests__/lib/file-operations/sorting.test.js.map +1 -0
- package/dist/__tests__/lib/fs-helpers/utf8.test.d.ts +2 -0
- package/dist/__tests__/lib/fs-helpers/utf8.test.d.ts.map +1 -0
- package/dist/__tests__/lib/fs-helpers/utf8.test.js +43 -0
- package/dist/__tests__/lib/fs-helpers/utf8.test.js.map +1 -0
- package/dist/__tests__/lib/path-validation-errors.test.d.ts +2 -0
- package/dist/__tests__/lib/path-validation-errors.test.d.ts.map +1 -0
- package/dist/__tests__/lib/path-validation-errors.test.js +35 -0
- package/dist/__tests__/lib/path-validation-errors.test.js.map +1 -0
- package/dist/__tests__/lib/path-validation-roots.test.d.ts +2 -0
- package/dist/__tests__/lib/path-validation-roots.test.d.ts.map +1 -0
- package/dist/__tests__/lib/path-validation-roots.test.js +42 -0
- package/dist/__tests__/lib/path-validation-roots.test.js.map +1 -0
- package/dist/__tests__/lib/path-validation.test.js +5 -0
- package/dist/__tests__/lib/path-validation.test.js.map +1 -1
- package/dist/__tests__/security/filesystem-boundary.test.js +20 -12
- package/dist/__tests__/security/filesystem-boundary.test.js.map +1 -1
- package/dist/config/types.d.ts +64 -0
- package/dist/config/types.d.ts.map +1 -1
- package/dist/config/types.js.map +1 -1
- package/dist/instructions.md +93 -28
- package/dist/lib/constants.d.ts.map +1 -1
- package/dist/lib/constants.js +17 -1
- package/dist/lib/constants.js.map +1 -1
- package/dist/lib/file-operations/analyze-directory-helpers.d.ts +24 -0
- package/dist/lib/file-operations/analyze-directory-helpers.d.ts.map +1 -0
- package/dist/lib/file-operations/analyze-directory-helpers.js +50 -0
- package/dist/lib/file-operations/analyze-directory-helpers.js.map +1 -0
- package/dist/lib/file-operations/analyze-directory.d.ts +1 -0
- package/dist/lib/file-operations/analyze-directory.d.ts.map +1 -1
- package/dist/lib/file-operations/analyze-directory.js +3 -58
- package/dist/lib/file-operations/analyze-directory.js.map +1 -1
- package/dist/lib/file-operations/batch-results.d.ts +12 -0
- package/dist/lib/file-operations/batch-results.d.ts.map +1 -0
- package/dist/lib/file-operations/batch-results.js +23 -0
- package/dist/lib/file-operations/batch-results.js.map +1 -0
- package/dist/lib/file-operations/compute-checksums.d.ts +9 -0
- package/dist/lib/file-operations/compute-checksums.d.ts.map +1 -0
- package/dist/lib/file-operations/compute-checksums.js +121 -0
- package/dist/lib/file-operations/compute-checksums.js.map +1 -0
- package/dist/lib/file-operations/directory-helpers.d.ts.map +1 -1
- package/dist/lib/file-operations/directory-helpers.js +18 -10
- package/dist/lib/file-operations/directory-helpers.js.map +1 -1
- package/dist/lib/file-operations/directory-tree-helpers.d.ts.map +1 -1
- package/dist/lib/file-operations/directory-tree-helpers.js +8 -1
- package/dist/lib/file-operations/directory-tree-helpers.js.map +1 -1
- package/dist/lib/file-operations/directory-tree.d.ts +1 -0
- package/dist/lib/file-operations/directory-tree.d.ts.map +1 -1
- package/dist/lib/file-operations/directory-tree.js +3 -9
- package/dist/lib/file-operations/directory-tree.js.map +1 -1
- package/dist/lib/file-operations/get-multiple-file-info.d.ts +7 -0
- package/dist/lib/file-operations/get-multiple-file-info.d.ts.map +1 -0
- package/dist/lib/file-operations/get-multiple-file-info.js +59 -0
- package/dist/lib/file-operations/get-multiple-file-info.js.map +1 -0
- package/dist/lib/file-operations/list-directory-entry.d.ts +18 -0
- package/dist/lib/file-operations/list-directory-entry.d.ts.map +1 -0
- package/dist/lib/file-operations/list-directory-entry.js +90 -0
- package/dist/lib/file-operations/list-directory-entry.js.map +1 -0
- package/dist/lib/file-operations/list-directory-helpers.d.ts +2 -0
- package/dist/lib/file-operations/list-directory-helpers.d.ts.map +1 -1
- package/dist/lib/file-operations/list-directory-helpers.js +84 -103
- package/dist/lib/file-operations/list-directory-helpers.js.map +1 -1
- package/dist/lib/file-operations/list-directory.d.ts +2 -0
- package/dist/lib/file-operations/list-directory.d.ts.map +1 -1
- package/dist/lib/file-operations/list-directory.js +5 -8
- package/dist/lib/file-operations/list-directory.js.map +1 -1
- package/dist/lib/file-operations/read-multiple-files.d.ts +2 -0
- package/dist/lib/file-operations/read-multiple-files.d.ts.map +1 -1
- package/dist/lib/file-operations/read-multiple-files.js +44 -11
- package/dist/lib/file-operations/read-multiple-files.js.map +1 -1
- package/dist/lib/file-operations/search/engine-options.d.ts.map +1 -1
- package/dist/lib/file-operations/search/engine-options.js +1 -8
- package/dist/lib/file-operations/search/engine-options.js.map +1 -1
- package/dist/lib/file-operations/search/engine.d.ts +1 -1
- package/dist/lib/file-operations/search/engine.d.ts.map +1 -1
- package/dist/lib/file-operations/search/engine.js +4 -1
- package/dist/lib/file-operations/search/engine.js.map +1 -1
- package/dist/lib/file-operations/search-content.d.ts +1 -0
- package/dist/lib/file-operations/search-content.d.ts.map +1 -1
- package/dist/lib/file-operations/search-content.js +1 -1
- package/dist/lib/file-operations/search-content.js.map +1 -1
- package/dist/lib/file-operations/search-definitions.d.ts +6 -0
- package/dist/lib/file-operations/search-definitions.d.ts.map +1 -0
- package/dist/lib/file-operations/search-definitions.js +247 -0
- package/dist/lib/file-operations/search-definitions.js.map +1 -0
- package/dist/lib/file-operations/search-files-helpers.d.ts +2 -24
- package/dist/lib/file-operations/search-files-helpers.d.ts.map +1 -1
- package/dist/lib/file-operations/search-files-helpers.js +3 -39
- package/dist/lib/file-operations/search-files-helpers.js.map +1 -1
- package/dist/lib/file-operations/search-files-options.d.ts +31 -0
- package/dist/lib/file-operations/search-files-options.d.ts.map +1 -0
- package/dist/lib/file-operations/search-files-options.js +33 -0
- package/dist/lib/file-operations/search-files-options.js.map +1 -0
- package/dist/lib/file-operations/search-files.d.ts +1 -1
- package/dist/lib/file-operations/search-files.d.ts.map +1 -1
- package/dist/lib/file-operations/search-files.js +3 -2
- package/dist/lib/file-operations/search-files.js.map +1 -1
- package/dist/lib/file-operations.d.ts +3 -0
- package/dist/lib/file-operations.d.ts.map +1 -1
- package/dist/lib/file-operations.js +3 -0
- package/dist/lib/file-operations.js.map +1 -1
- package/dist/lib/fs-helpers/binary-detect.d.ts.map +1 -1
- package/dist/lib/fs-helpers/binary-detect.js +13 -16
- package/dist/lib/fs-helpers/binary-detect.js.map +1 -1
- package/dist/lib/fs-helpers/readers/read-file-content.d.ts +29 -0
- package/dist/lib/fs-helpers/readers/read-file-content.d.ts.map +1 -0
- package/dist/lib/fs-helpers/readers/read-file-content.js +25 -0
- package/dist/lib/fs-helpers/readers/read-file-content.js.map +1 -0
- package/dist/lib/fs-helpers/readers/read-file.d.ts +1 -0
- package/dist/lib/fs-helpers/readers/read-file.d.ts.map +1 -1
- package/dist/lib/fs-helpers/readers/read-file.js +29 -29
- package/dist/lib/fs-helpers/readers/read-file.js.map +1 -1
- package/dist/lib/merge-defined.d.ts +2 -0
- package/dist/lib/merge-defined.d.ts.map +1 -0
- package/dist/lib/merge-defined.js +8 -0
- package/dist/lib/merge-defined.js.map +1 -0
- package/dist/lib/path-validation/validators.d.ts.map +1 -1
- package/dist/lib/path-validation/validators.js +8 -0
- package/dist/lib/path-validation/validators.js.map +1 -1
- package/dist/schemas/common.d.ts +2 -2
- package/dist/schemas/index.d.ts +2 -2
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +2 -2
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/inputs/checksums.d.ts +10 -0
- package/dist/schemas/inputs/checksums.d.ts.map +1 -0
- package/dist/schemas/inputs/checksums.js +30 -0
- package/dist/schemas/inputs/checksums.js.map +1 -0
- package/dist/schemas/inputs/directory.d.ts +29 -0
- package/dist/schemas/inputs/directory.d.ts.map +1 -0
- package/dist/schemas/inputs/directory.js +75 -0
- package/dist/schemas/inputs/directory.js.map +1 -0
- package/dist/schemas/inputs/file-info.d.ts +9 -0
- package/dist/schemas/inputs/file-info.d.ts.map +1 -0
- package/dist/schemas/inputs/file-info.js +20 -0
- package/dist/schemas/inputs/file-info.js.map +1 -0
- package/dist/schemas/inputs/read.d.ts +26 -0
- package/dist/schemas/inputs/read.d.ts.map +1 -0
- package/dist/schemas/inputs/read.js +54 -0
- package/dist/schemas/inputs/read.js.map +1 -0
- package/dist/schemas/inputs/search.d.ts +44 -0
- package/dist/schemas/inputs/search.d.ts.map +1 -0
- package/dist/schemas/inputs/search.js +115 -0
- package/dist/schemas/inputs/search.js.map +1 -0
- package/dist/schemas/inputs.d.ts +5 -80
- package/dist/schemas/inputs.d.ts.map +1 -1
- package/dist/schemas/inputs.js +5 -195
- package/dist/schemas/inputs.js.map +1 -1
- package/dist/schemas/outputs/checksums.d.ts +93 -0
- package/dist/schemas/outputs/checksums.d.ts.map +1 -0
- package/dist/schemas/outputs/checksums.js +23 -0
- package/dist/schemas/outputs/checksums.js.map +1 -0
- package/dist/schemas/outputs/directory.d.ts +419 -0
- package/dist/schemas/outputs/directory.d.ts.map +1 -0
- package/dist/schemas/outputs/directory.js +81 -0
- package/dist/schemas/outputs/directory.js.map +1 -0
- package/dist/schemas/outputs/file-info.d.ts +270 -0
- package/dist/schemas/outputs/file-info.d.ts.map +1 -0
- package/dist/schemas/outputs/file-info.js +57 -0
- package/dist/schemas/outputs/file-info.js.map +1 -0
- package/dist/schemas/outputs/read.d.ts +187 -0
- package/dist/schemas/outputs/read.d.ts.map +1 -0
- package/dist/schemas/outputs/read.js +39 -0
- package/dist/schemas/outputs/read.js.map +1 -0
- package/dist/schemas/outputs/search.d.ts +360 -0
- package/dist/schemas/outputs/search.d.ts.map +1 -0
- package/dist/schemas/outputs/search.js +98 -0
- package/dist/schemas/outputs/search.js.map +1 -0
- package/dist/schemas/outputs.d.ts +5 -933
- package/dist/schemas/outputs.d.ts.map +1 -1
- package/dist/schemas/outputs.js +5 -190
- package/dist/schemas/outputs.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +24 -14
- package/dist/server.js.map +1 -1
- package/dist/tools/analyze-directory.d.ts.map +1 -1
- package/dist/tools/analyze-directory.js +2 -2
- package/dist/tools/analyze-directory.js.map +1 -1
- package/dist/tools/compute-checksums.d.ts +3 -0
- package/dist/tools/compute-checksums.d.ts.map +1 -0
- package/dist/tools/compute-checksums.js +77 -0
- package/dist/tools/compute-checksums.js.map +1 -0
- package/dist/tools/directory-tree.d.ts.map +1 -1
- package/dist/tools/directory-tree.js +6 -2
- package/dist/tools/directory-tree.js.map +1 -1
- package/dist/tools/get-multiple-file-info.d.ts +3 -0
- package/dist/tools/get-multiple-file-info.d.ts.map +1 -0
- package/dist/tools/get-multiple-file-info.js +95 -0
- package/dist/tools/get-multiple-file-info.js.map +1 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +6 -0
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/list-allowed-dirs.d.ts.map +1 -1
- package/dist/tools/list-allowed-dirs.js +14 -3
- package/dist/tools/list-allowed-dirs.js.map +1 -1
- package/dist/tools/list-directory.d.ts.map +1 -1
- package/dist/tools/list-directory.js +12 -4
- package/dist/tools/list-directory.js.map +1 -1
- package/dist/tools/read-file.d.ts.map +1 -1
- package/dist/tools/read-file.js +8 -0
- package/dist/tools/read-file.js.map +1 -1
- package/dist/tools/read-multiple-files.d.ts.map +1 -1
- package/dist/tools/read-multiple-files.js +10 -2
- package/dist/tools/read-multiple-files.js.map +1 -1
- package/dist/tools/search-definitions.d.ts +3 -0
- package/dist/tools/search-definitions.d.ts.map +1 -0
- package/dist/tools/search-definitions.js +130 -0
- package/dist/tools/search-definitions.js.map +1 -0
- package/dist/tools/search-files.d.ts.map +1 -1
- package/dist/tools/search-files.js +9 -4
- package/dist/tools/search-files.js.map +1 -1
- package/dist/tools/shared/search-formatting.d.ts.map +1 -1
- package/dist/tools/shared/search-formatting.js +4 -1
- package/dist/tools/shared/search-formatting.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { MAX_MEDIA_FILE_SIZE } from '../../lib/constants.js';
|
|
3
|
+
import { EncodingSchema, HeadLinesSchema, LineEndSchema, LineStartSchema, ReadFileMaxSizeSchema, ReadMultipleFilesMaxSizeSchema, SkipBinarySchema, TailLinesSchema, } from '../input-helpers.js';
|
|
4
|
+
const ReadFileBaseSchema = z.object({
|
|
5
|
+
path: z
|
|
6
|
+
.string()
|
|
7
|
+
.min(1, 'Path cannot be empty')
|
|
8
|
+
.describe('Path to the file to read'),
|
|
9
|
+
encoding: EncodingSchema,
|
|
10
|
+
maxSize: ReadFileMaxSizeSchema,
|
|
11
|
+
lineStart: LineStartSchema,
|
|
12
|
+
lineEnd: LineEndSchema,
|
|
13
|
+
skipBinary: SkipBinarySchema,
|
|
14
|
+
head: HeadLinesSchema.describe('Read only the first N lines of the file (memory efficient for large files)'),
|
|
15
|
+
tail: TailLinesSchema.describe('Read only the last N lines of the file (memory efficient for large files)'),
|
|
16
|
+
});
|
|
17
|
+
export const ReadFileInputSchema = ReadFileBaseSchema.shape;
|
|
18
|
+
const ReadMultipleFilesBaseSchema = z.object({
|
|
19
|
+
paths: z
|
|
20
|
+
.array(z.string().min(1, 'Path cannot be empty'))
|
|
21
|
+
.min(1, 'At least one path is required')
|
|
22
|
+
.max(100, 'Cannot read more than 100 files at once')
|
|
23
|
+
.describe('Array of file paths to read'),
|
|
24
|
+
encoding: EncodingSchema,
|
|
25
|
+
maxSize: ReadMultipleFilesMaxSizeSchema,
|
|
26
|
+
maxTotalSize: z
|
|
27
|
+
.number()
|
|
28
|
+
.int('maxTotalSize must be an integer')
|
|
29
|
+
.min(1, 'maxTotalSize must be at least 1 byte')
|
|
30
|
+
.max(1024 * 1024 * 1024, 'maxTotalSize cannot exceed 1GB')
|
|
31
|
+
.optional()
|
|
32
|
+
.default(100 * 1024 * 1024)
|
|
33
|
+
.describe('Maximum total size in bytes for all files combined (default 100MB)'),
|
|
34
|
+
head: HeadLinesSchema.describe('Read only the first N lines of each file'),
|
|
35
|
+
tail: TailLinesSchema.describe('Read only the last N lines of each file'),
|
|
36
|
+
lineStart: LineStartSchema.describe('Start line (1-indexed) for reading a range from each file'),
|
|
37
|
+
lineEnd: LineEndSchema.describe('End line (inclusive) for reading a range from each file'),
|
|
38
|
+
});
|
|
39
|
+
export const ReadMultipleFilesInputSchema = ReadMultipleFilesBaseSchema.shape;
|
|
40
|
+
export const ReadMediaFileInputSchema = {
|
|
41
|
+
path: z
|
|
42
|
+
.string()
|
|
43
|
+
.min(1, 'Path cannot be empty')
|
|
44
|
+
.describe('Path to the media file to read'),
|
|
45
|
+
maxSize: z
|
|
46
|
+
.number()
|
|
47
|
+
.int('maxSize must be an integer')
|
|
48
|
+
.min(1, 'maxSize must be at least 1 byte')
|
|
49
|
+
.max(500 * 1024 * 1024, 'maxSize cannot exceed 500MB')
|
|
50
|
+
.optional()
|
|
51
|
+
.default(MAX_MEDIA_FILE_SIZE)
|
|
52
|
+
.describe('Maximum file size in bytes (default 50MB)'),
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=read.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"read.js","sourceRoot":"","sources":["../../../src/schemas/inputs/read.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EACL,cAAc,EACd,eAAe,EACf,aAAa,EACb,eAAe,EACf,qBAAqB,EACrB,8BAA8B,EAC9B,gBAAgB,EAChB,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,sBAAsB,CAAC;SAC9B,QAAQ,CAAC,0BAA0B,CAAC;IACvC,QAAQ,EAAE,cAAc;IACxB,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,eAAe;IAC1B,OAAO,EAAE,aAAa;IACtB,UAAU,EAAE,gBAAgB;IAC5B,IAAI,EAAE,eAAe,CAAC,QAAQ,CAC5B,4EAA4E,CAC7E;IACD,IAAI,EAAE,eAAe,CAAC,QAAQ,CAC5B,2EAA2E,CAC5E;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG,kBAAkB,CAAC,KAAK,CAAC;AAE5D,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,KAAK,EAAE,CAAC;SACL,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,sBAAsB,CAAC,CAAC;SAChD,GAAG,CAAC,CAAC,EAAE,+BAA+B,CAAC;SACvC,GAAG,CAAC,GAAG,EAAE,yCAAyC,CAAC;SACnD,QAAQ,CAAC,6BAA6B,CAAC;IAC1C,QAAQ,EAAE,cAAc;IACxB,OAAO,EAAE,8BAA8B;IACvC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,GAAG,CAAC,iCAAiC,CAAC;SACtC,GAAG,CAAC,CAAC,EAAE,sCAAsC,CAAC;SAC9C,GAAG,CAAC,IAAI,GAAG,IAAI,GAAG,IAAI,EAAE,gCAAgC,CAAC;SACzD,QAAQ,EAAE;SACV,OAAO,CAAC,GAAG,GAAG,IAAI,GAAG,IAAI,CAAC;SAC1B,QAAQ,CACP,oEAAoE,CACrE;IACH,IAAI,EAAE,eAAe,CAAC,QAAQ,CAAC,0CAA0C,CAAC;IAC1E,IAAI,EAAE,eAAe,CAAC,QAAQ,CAAC,yCAAyC,CAAC;IACzE,SAAS,EAAE,eAAe,CAAC,QAAQ,CACjC,2DAA2D,CAC5D;IACD,OAAO,EAAE,aAAa,CAAC,QAAQ,CAC7B,yDAAyD,CAC1D;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,4BAA4B,GAAG,2BAA2B,CAAC,KAAK,CAAC;AAE9E,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,sBAAsB,CAAC;SAC9B,QAAQ,CAAC,gCAAgC,CAAC;IAC7C,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,GAAG,CAAC,4BAA4B,CAAC;SACjC,GAAG,CAAC,CAAC,EAAE,iCAAiC,CAAC;SACzC,GAAG,CAAC,GAAG,GAAG,IAAI,GAAG,IAAI,EAAE,6BAA6B,CAAC;SACrD,QAAQ,EAAE;SACV,OAAO,CAAC,mBAAmB,CAAC;SAC5B,QAAQ,CAAC,2CAA2C,CAAC;CACzD,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SearchFilesInputSchema: {
|
|
3
|
+
path: z.ZodString;
|
|
4
|
+
pattern: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
+
excludePatterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>>;
|
|
6
|
+
maxResults: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
7
|
+
sortBy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["name", "size", "modified", "path"]>>>;
|
|
8
|
+
maxDepth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
9
|
+
maxFilesScanned: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
10
|
+
timeoutMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
11
|
+
baseNameMatch: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
12
|
+
skipSymlinks: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
13
|
+
includeHidden: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
14
|
+
};
|
|
15
|
+
export declare const SearchContentInputSchema: {
|
|
16
|
+
path: z.ZodString;
|
|
17
|
+
pattern: z.ZodString;
|
|
18
|
+
filePattern: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, string, string | undefined>;
|
|
19
|
+
excludePatterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>>;
|
|
20
|
+
caseSensitive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
21
|
+
maxResults: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
22
|
+
maxFileSize: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
23
|
+
maxFilesScanned: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
24
|
+
timeoutMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
25
|
+
skipBinary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
26
|
+
includeHidden: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
27
|
+
contextLines: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
28
|
+
wholeWord: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
29
|
+
isLiteral: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
30
|
+
baseNameMatch: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
31
|
+
caseSensitiveFileMatch: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
32
|
+
};
|
|
33
|
+
export declare const DefinitionTypeSchema: z.ZodEnum<["function", "class", "interface", "type", "enum", "variable"]>;
|
|
34
|
+
export declare const SearchDefinitionsInputSchema: {
|
|
35
|
+
path: z.ZodString;
|
|
36
|
+
name: z.ZodOptional<z.ZodString>;
|
|
37
|
+
type: z.ZodOptional<z.ZodEnum<["function", "class", "interface", "type", "enum", "variable"]>>;
|
|
38
|
+
caseSensitive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
39
|
+
maxResults: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
40
|
+
excludePatterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>>;
|
|
41
|
+
includeHidden: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
42
|
+
contextLines: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=search.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../src/schemas/inputs/search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAkBxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;CAmDlC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;CA8DpC,CAAC;AAEF,eAAO,MAAM,oBAAoB,2EAO/B,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;CA8BxC,CAAC"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { BaseNameMatchSchema, CaseSensitiveSchema, ContextLinesSchema, ExcludePatternsSchema, IncludeHiddenSchema, isSafeGlobPattern, MaxDepthSchema, MaxFileSizeSearchSchema, MaxFilesScannedSchema, MaxResultsSchema, SkipBinarySchema, SortByFileSchema, TimeoutMsSchema, } from '../input-helpers.js';
|
|
3
|
+
export const SearchFilesInputSchema = {
|
|
4
|
+
path: z
|
|
5
|
+
.string()
|
|
6
|
+
.min(1, 'Path cannot be empty')
|
|
7
|
+
.describe('Base directory to search from'),
|
|
8
|
+
pattern: z
|
|
9
|
+
.string()
|
|
10
|
+
.min(1, 'Pattern cannot be empty')
|
|
11
|
+
.max(1000, 'Pattern is too long (max 1000 characters)')
|
|
12
|
+
.refine((val) => {
|
|
13
|
+
try {
|
|
14
|
+
if (val.includes('**/**/**')) {
|
|
15
|
+
return false;
|
|
16
|
+
}
|
|
17
|
+
return isSafeGlobPattern(val);
|
|
18
|
+
}
|
|
19
|
+
catch {
|
|
20
|
+
return false;
|
|
21
|
+
}
|
|
22
|
+
}, {
|
|
23
|
+
message: 'Invalid glob pattern syntax or unsafe path (absolute/.. segments not allowed)',
|
|
24
|
+
})
|
|
25
|
+
.describe('Glob pattern to match files. Examples: "**/*.ts" (all TypeScript files), "src/**/*.js" (JS files in src), "*.json" (JSON files in current dir)'),
|
|
26
|
+
excludePatterns: ExcludePatternsSchema.describe('Patterns to exclude'),
|
|
27
|
+
maxResults: MaxResultsSchema.describe('Maximum number of matches to return (prevents huge responses)'),
|
|
28
|
+
sortBy: SortByFileSchema,
|
|
29
|
+
maxDepth: MaxDepthSchema.describe('Maximum directory depth to search (lower values improve performance)'),
|
|
30
|
+
maxFilesScanned: MaxFilesScannedSchema,
|
|
31
|
+
timeoutMs: TimeoutMsSchema.describe('Timeout in milliseconds for the search operation'),
|
|
32
|
+
baseNameMatch: BaseNameMatchSchema.describe('If true, patterns without slashes match against basename of paths. Useful for finding config files like "*.json" in nested directories'),
|
|
33
|
+
skipSymlinks: z
|
|
34
|
+
.boolean()
|
|
35
|
+
.optional()
|
|
36
|
+
.default(true)
|
|
37
|
+
.describe('Skip symbolic links for security and performance'),
|
|
38
|
+
includeHidden: IncludeHiddenSchema.describe('Include hidden files and directories (dotfiles) in the search'),
|
|
39
|
+
};
|
|
40
|
+
export const SearchContentInputSchema = {
|
|
41
|
+
path: z
|
|
42
|
+
.string()
|
|
43
|
+
.min(1, 'Path cannot be empty')
|
|
44
|
+
.describe('Absolute or relative path to the base directory to search within'),
|
|
45
|
+
pattern: z
|
|
46
|
+
.string()
|
|
47
|
+
.min(1, 'Pattern cannot be empty')
|
|
48
|
+
.max(1000, 'Pattern is too long (max 1000 characters)')
|
|
49
|
+
.describe('Regular expression pattern to search for. Examples: "TODO|FIXME" (find todos), "function\\s+\\w+" (find function declarations), "import.*from" (find imports). Use isLiteral=true for exact string matching.'),
|
|
50
|
+
filePattern: z
|
|
51
|
+
.string()
|
|
52
|
+
.min(1, 'File pattern cannot be empty')
|
|
53
|
+
.max(500, 'File pattern is too long')
|
|
54
|
+
.optional()
|
|
55
|
+
.default('**/*')
|
|
56
|
+
.refine(isSafeGlobPattern, {
|
|
57
|
+
message: 'File pattern must be relative to the base path (no absolute or ".." segments)',
|
|
58
|
+
})
|
|
59
|
+
.describe('Glob pattern to filter files'),
|
|
60
|
+
excludePatterns: ExcludePatternsSchema.describe('Glob patterns to exclude (e.g., "node_modules/**")'),
|
|
61
|
+
caseSensitive: CaseSensitiveSchema,
|
|
62
|
+
maxResults: MaxResultsSchema.describe('Maximum number of results'),
|
|
63
|
+
maxFileSize: MaxFileSizeSearchSchema,
|
|
64
|
+
maxFilesScanned: MaxFilesScannedSchema,
|
|
65
|
+
timeoutMs: TimeoutMsSchema.describe('Timeout in milliseconds for the search operation'),
|
|
66
|
+
skipBinary: SkipBinarySchema,
|
|
67
|
+
includeHidden: IncludeHiddenSchema.describe('Include hidden files and directories (dotfiles) in the search'),
|
|
68
|
+
contextLines: ContextLinesSchema,
|
|
69
|
+
wholeWord: z
|
|
70
|
+
.boolean()
|
|
71
|
+
.optional()
|
|
72
|
+
.default(false)
|
|
73
|
+
.describe('Match whole words only by adding \\b word boundaries to pattern. Useful for avoiding partial matches (e.g., searching "test" won\'t match "testing")'),
|
|
74
|
+
isLiteral: z
|
|
75
|
+
.boolean()
|
|
76
|
+
.optional()
|
|
77
|
+
.default(false)
|
|
78
|
+
.describe('Treat pattern as a literal string instead of regex. Special characters like ., *, ? will be escaped automatically. Use this when searching for exact text containing regex metacharacters.'),
|
|
79
|
+
baseNameMatch: BaseNameMatchSchema,
|
|
80
|
+
caseSensitiveFileMatch: z
|
|
81
|
+
.boolean()
|
|
82
|
+
.optional()
|
|
83
|
+
.default(true)
|
|
84
|
+
.describe('Case sensitive file pattern matching. Set to false for case-insensitive filename matching on case-insensitive filesystems'),
|
|
85
|
+
};
|
|
86
|
+
export const DefinitionTypeSchema = z.enum([
|
|
87
|
+
'function',
|
|
88
|
+
'class',
|
|
89
|
+
'interface',
|
|
90
|
+
'type',
|
|
91
|
+
'enum',
|
|
92
|
+
'variable',
|
|
93
|
+
]);
|
|
94
|
+
export const SearchDefinitionsInputSchema = {
|
|
95
|
+
path: z
|
|
96
|
+
.string()
|
|
97
|
+
.min(1, 'Path cannot be empty')
|
|
98
|
+
.describe('Directory to search for definitions'),
|
|
99
|
+
name: z
|
|
100
|
+
.string()
|
|
101
|
+
.max(100, 'Name is too long (max 100 characters)')
|
|
102
|
+
.optional()
|
|
103
|
+
.describe('Symbol name to find (e.g., "UserService", "handleSubmit")'),
|
|
104
|
+
type: DefinitionTypeSchema.optional().describe('Type of definition to find: function, class, interface, type, enum, or variable'),
|
|
105
|
+
caseSensitive: z
|
|
106
|
+
.boolean()
|
|
107
|
+
.optional()
|
|
108
|
+
.default(true)
|
|
109
|
+
.describe('Case sensitive name matching (default: true)'),
|
|
110
|
+
maxResults: MaxResultsSchema.describe('Maximum number of definitions to return'),
|
|
111
|
+
excludePatterns: ExcludePatternsSchema.describe('Glob patterns to exclude (e.g., "node_modules/**", "**/*.test.ts")'),
|
|
112
|
+
includeHidden: IncludeHiddenSchema.describe('Include hidden files and directories in the search'),
|
|
113
|
+
contextLines: ContextLinesSchema.describe('Number of lines to include before and after each definition (0-10)'),
|
|
114
|
+
};
|
|
115
|
+
//# sourceMappingURL=search.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search.js","sourceRoot":"","sources":["../../../src/schemas/inputs/search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EACd,uBAAuB,EACvB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,sBAAsB,CAAC;SAC9B,QAAQ,CAAC,+BAA+B,CAAC;IAC5C,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,yBAAyB,CAAC;SACjC,GAAG,CAAC,IAAI,EAAE,2CAA2C,CAAC;SACtD,MAAM,CACL,CAAC,GAAG,EAAE,EAAE;QACN,IAAI,CAAC;YACH,IAAI,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC;gBAC7B,OAAO,KAAK,CAAC;YACf,CAAC;YACD,OAAO,iBAAiB,CAAC,GAAG,CAAC,CAAC;QAChC,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC,EACD;QACE,OAAO,EACL,+EAA+E;KAClF,CACF;SACA,QAAQ,CACP,gJAAgJ,CACjJ;IACH,eAAe,EAAE,qBAAqB,CAAC,QAAQ,CAAC,qBAAqB,CAAC;IACtE,UAAU,EAAE,gBAAgB,CAAC,QAAQ,CACnC,+DAA+D,CAChE;IACD,MAAM,EAAE,gBAAgB;IACxB,QAAQ,EAAE,cAAc,CAAC,QAAQ,CAC/B,sEAAsE,CACvE;IACD,eAAe,EAAE,qBAAqB;IACtC,SAAS,EAAE,eAAe,CAAC,QAAQ,CACjC,kDAAkD,CACnD;IACD,aAAa,EAAE,mBAAmB,CAAC,QAAQ,CACzC,wIAAwI,CACzI;IACD,YAAY,EAAE,CAAC;SACZ,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,aAAa,EAAE,mBAAmB,CAAC,QAAQ,CACzC,+DAA+D,CAChE;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,sBAAsB,CAAC;SAC9B,QAAQ,CACP,kEAAkE,CACnE;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,yBAAyB,CAAC;SACjC,GAAG,CAAC,IAAI,EAAE,2CAA2C,CAAC;SACtD,QAAQ,CACP,8MAA8M,CAC/M;IACH,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,8BAA8B,CAAC;SACtC,GAAG,CAAC,GAAG,EAAE,0BAA0B,CAAC;SACpC,QAAQ,EAAE;SACV,OAAO,CAAC,MAAM,CAAC;SACf,MAAM,CAAC,iBAAiB,EAAE;QACzB,OAAO,EACL,+EAA+E;KAClF,CAAC;SACD,QAAQ,CAAC,8BAA8B,CAAC;IAC3C,eAAe,EAAE,qBAAqB,CAAC,QAAQ,CAC7C,oDAAoD,CACrD;IACD,aAAa,EAAE,mBAAmB;IAClC,UAAU,EAAE,gBAAgB,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IAClE,WAAW,EAAE,uBAAuB;IACpC,eAAe,EAAE,qBAAqB;IACtC,SAAS,EAAE,eAAe,CAAC,QAAQ,CACjC,kDAAkD,CACnD;IACD,UAAU,EAAE,gBAAgB;IAC5B,aAAa,EAAE,mBAAmB,CAAC,QAAQ,CACzC,+DAA+D,CAChE;IACD,YAAY,EAAE,kBAAkB;IAChC,SAAS,EAAE,CAAC;SACT,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CACP,sJAAsJ,CACvJ;IACH,SAAS,EAAE,CAAC;SACT,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CACP,4LAA4L,CAC7L;IACH,aAAa,EAAE,mBAAmB;IAClC,sBAAsB,EAAE,CAAC;SACtB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CACP,2HAA2H,CAC5H;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,IAAI,CAAC;IACzC,UAAU;IACV,OAAO;IACP,WAAW;IACX,MAAM;IACN,MAAM;IACN,UAAU;CACX,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,sBAAsB,CAAC;SAC9B,QAAQ,CAAC,qCAAqC,CAAC;IAClD,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,GAAG,CAAC,GAAG,EAAE,uCAAuC,CAAC;SACjD,QAAQ,EAAE;SACV,QAAQ,CAAC,2DAA2D,CAAC;IACxE,IAAI,EAAE,oBAAoB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC5C,iFAAiF,CAClF;IACD,aAAa,EAAE,CAAC;SACb,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,UAAU,EAAE,gBAAgB,CAAC,QAAQ,CACnC,yCAAyC,CAC1C;IACD,eAAe,EAAE,qBAAqB,CAAC,QAAQ,CAC7C,oEAAoE,CACrE;IACD,aAAa,EAAE,mBAAmB,CAAC,QAAQ,CACzC,oDAAoD,CACrD;IACD,YAAY,EAAE,kBAAkB,CAAC,QAAQ,CACvC,oEAAoE,CACrE;CACF,CAAC"}
|
package/dist/schemas/inputs.d.ts
CHANGED
|
@@ -1,81 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
maxDepth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
7
|
-
maxEntries: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
8
|
-
sortBy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["name", "size", "modified", "type"]>>>;
|
|
9
|
-
includeSymlinkTargets: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
10
|
-
};
|
|
11
|
-
export declare const SearchFilesInputSchema: {
|
|
12
|
-
path: z.ZodString;
|
|
13
|
-
pattern: z.ZodEffects<z.ZodString, string, string>;
|
|
14
|
-
excludePatterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>>;
|
|
15
|
-
maxResults: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
16
|
-
sortBy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["name", "size", "modified", "path"]>>>;
|
|
17
|
-
maxDepth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
18
|
-
maxFilesScanned: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
19
|
-
timeoutMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
20
|
-
baseNameMatch: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
21
|
-
skipSymlinks: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
22
|
-
};
|
|
23
|
-
export declare const ReadFileInputSchema: {
|
|
24
|
-
path: z.ZodString;
|
|
25
|
-
encoding: z.ZodDefault<z.ZodOptional<z.ZodEnum<["utf-8", "utf8", "ascii", "base64", "hex", "latin1"]>>>;
|
|
26
|
-
maxSize: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
27
|
-
lineStart: z.ZodOptional<z.ZodNumber>;
|
|
28
|
-
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
29
|
-
head: z.ZodOptional<z.ZodNumber>;
|
|
30
|
-
tail: z.ZodOptional<z.ZodNumber>;
|
|
31
|
-
};
|
|
32
|
-
export declare const ReadMultipleFilesInputSchema: {
|
|
33
|
-
paths: z.ZodArray<z.ZodString, "many">;
|
|
34
|
-
encoding: z.ZodDefault<z.ZodOptional<z.ZodEnum<["utf-8", "utf8", "ascii", "base64", "hex", "latin1"]>>>;
|
|
35
|
-
maxSize: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
36
|
-
maxTotalSize: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
37
|
-
head: z.ZodOptional<z.ZodNumber>;
|
|
38
|
-
tail: z.ZodOptional<z.ZodNumber>;
|
|
39
|
-
};
|
|
40
|
-
export declare const GetFileInfoInputSchema: {
|
|
41
|
-
path: z.ZodString;
|
|
42
|
-
};
|
|
43
|
-
export declare const SearchContentInputSchema: {
|
|
44
|
-
path: z.ZodString;
|
|
45
|
-
pattern: z.ZodString;
|
|
46
|
-
filePattern: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, string, string | undefined>;
|
|
47
|
-
excludePatterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>>;
|
|
48
|
-
caseSensitive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
49
|
-
maxResults: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
50
|
-
maxFileSize: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
51
|
-
maxFilesScanned: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
52
|
-
timeoutMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
53
|
-
skipBinary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
54
|
-
includeHidden: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
55
|
-
contextLines: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
56
|
-
wholeWord: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
57
|
-
isLiteral: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
58
|
-
baseNameMatch: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
59
|
-
caseSensitiveFileMatch: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
60
|
-
};
|
|
61
|
-
export declare const AnalyzeDirectoryInputSchema: {
|
|
62
|
-
path: z.ZodString;
|
|
63
|
-
maxDepth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
64
|
-
topN: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
65
|
-
maxEntries: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
66
|
-
excludePatterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
67
|
-
includeHidden: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
68
|
-
};
|
|
69
|
-
export declare const DirectoryTreeInputSchema: {
|
|
70
|
-
path: z.ZodString;
|
|
71
|
-
maxDepth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
72
|
-
excludePatterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
73
|
-
includeHidden: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
74
|
-
includeSize: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
75
|
-
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
76
|
-
};
|
|
77
|
-
export declare const ReadMediaFileInputSchema: {
|
|
78
|
-
path: z.ZodString;
|
|
79
|
-
maxSize: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
80
|
-
};
|
|
1
|
+
export { AnalyzeDirectoryInputSchema, DirectoryTreeInputSchema, ListDirectoryInputSchema, } from './inputs/directory.js';
|
|
2
|
+
export { DefinitionTypeSchema, SearchContentInputSchema, SearchDefinitionsInputSchema, SearchFilesInputSchema, } from './inputs/search.js';
|
|
3
|
+
export { ReadFileInputSchema, ReadMediaFileInputSchema, ReadMultipleFilesInputSchema, } from './inputs/read.js';
|
|
4
|
+
export { GetFileInfoInputSchema, GetMultipleFileInfoInputSchema, } from './inputs/file-info.js';
|
|
5
|
+
export { ChecksumAlgorithmSchema, ChecksumEncodingSchema, ComputeChecksumsInputSchema, } from './inputs/checksums.js';
|
|
81
6
|
//# sourceMappingURL=inputs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../src/schemas/inputs.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../src/schemas/inputs.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,4BAA4B,EAC5B,sBAAsB,GACvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,sBAAsB,EACtB,8BAA8B,GAC/B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,GAC5B,MAAM,uBAAuB,CAAC"}
|
package/dist/schemas/inputs.js
CHANGED
|
@@ -1,196 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
.string()
|
|
7
|
-
.min(1, 'Path cannot be empty')
|
|
8
|
-
.describe('Absolute or relative path to the directory to list'),
|
|
9
|
-
recursive: z
|
|
10
|
-
.boolean()
|
|
11
|
-
.optional()
|
|
12
|
-
.default(false)
|
|
13
|
-
.describe('If true, list contents of subdirectories recursively up to maxDepth'),
|
|
14
|
-
includeHidden: IncludeHiddenSchema,
|
|
15
|
-
maxDepth: MaxDepthSchema.describe('Maximum depth for recursive listing (higher values may impact performance)'),
|
|
16
|
-
maxEntries: MaxEntriesSchema,
|
|
17
|
-
sortBy: SortByDirectorySchema,
|
|
18
|
-
includeSymlinkTargets: z
|
|
19
|
-
.boolean()
|
|
20
|
-
.optional()
|
|
21
|
-
.default(false)
|
|
22
|
-
.describe('Include symlink target paths for symbolic links'),
|
|
23
|
-
};
|
|
24
|
-
export const SearchFilesInputSchema = {
|
|
25
|
-
path: z
|
|
26
|
-
.string()
|
|
27
|
-
.min(1, 'Path cannot be empty')
|
|
28
|
-
.describe('Base directory to search from'),
|
|
29
|
-
pattern: z
|
|
30
|
-
.string()
|
|
31
|
-
.min(1, 'Pattern cannot be empty')
|
|
32
|
-
.max(1000, 'Pattern is too long (max 1000 characters)')
|
|
33
|
-
.refine((val) => {
|
|
34
|
-
// Basic glob pattern validation
|
|
35
|
-
try {
|
|
36
|
-
// Check for potentially problematic patterns
|
|
37
|
-
if (val.includes('**/**/**')) {
|
|
38
|
-
return false; // Excessive nesting
|
|
39
|
-
}
|
|
40
|
-
return isSafeGlobPattern(val);
|
|
41
|
-
}
|
|
42
|
-
catch {
|
|
43
|
-
return false;
|
|
44
|
-
}
|
|
45
|
-
}, {
|
|
46
|
-
message: 'Invalid glob pattern syntax or unsafe path (absolute/.. segments not allowed)',
|
|
47
|
-
})
|
|
48
|
-
.describe('Glob pattern to match files. Examples: "**/*.ts" (all TypeScript files), "src/**/*.js" (JS files in src), "*.json" (JSON files in current dir)'),
|
|
49
|
-
excludePatterns: ExcludePatternsSchema.describe('Patterns to exclude'),
|
|
50
|
-
maxResults: MaxResultsSchema.describe('Maximum number of matches to return (prevents huge responses)'),
|
|
51
|
-
sortBy: SortByFileSchema,
|
|
52
|
-
maxDepth: MaxDepthSchema.describe('Maximum directory depth to search (lower values improve performance)'),
|
|
53
|
-
maxFilesScanned: MaxFilesScannedSchema,
|
|
54
|
-
timeoutMs: TimeoutMsSchema.describe('Timeout in milliseconds for the search operation'),
|
|
55
|
-
baseNameMatch: BaseNameMatchSchema.describe('If true, patterns without slashes match against basename of paths. Useful for finding config files like "*.json" in nested directories'),
|
|
56
|
-
skipSymlinks: z
|
|
57
|
-
.boolean()
|
|
58
|
-
.optional()
|
|
59
|
-
.default(true)
|
|
60
|
-
.describe('Skip symbolic links for security and performance'),
|
|
61
|
-
};
|
|
62
|
-
// Base schema for reading a file with various options.
|
|
63
|
-
const ReadFileBaseSchema = z.object({
|
|
64
|
-
path: z
|
|
65
|
-
.string()
|
|
66
|
-
.min(1, 'Path cannot be empty')
|
|
67
|
-
.describe('Path to the file to read'),
|
|
68
|
-
encoding: EncodingSchema,
|
|
69
|
-
maxSize: ReadFileMaxSizeSchema,
|
|
70
|
-
lineStart: LineStartSchema,
|
|
71
|
-
lineEnd: LineEndSchema,
|
|
72
|
-
head: HeadLinesSchema.describe('Read only the first N lines of the file (memory efficient for large files)'),
|
|
73
|
-
tail: TailLinesSchema.describe('Read only the last N lines of the file (memory efficient for large files)'),
|
|
74
|
-
});
|
|
75
|
-
// Schema for reading a single file.
|
|
76
|
-
export const ReadFileInputSchema = ReadFileBaseSchema.shape;
|
|
77
|
-
// Schema for reading multiple files in one request.
|
|
78
|
-
const ReadMultipleFilesBaseSchema = z.object({
|
|
79
|
-
paths: z
|
|
80
|
-
.array(z.string().min(1, 'Path cannot be empty'))
|
|
81
|
-
.min(1, 'At least one path is required')
|
|
82
|
-
.max(100, 'Cannot read more than 100 files at once')
|
|
83
|
-
.describe('Array of file paths to read'),
|
|
84
|
-
encoding: EncodingSchema,
|
|
85
|
-
maxSize: ReadMultipleFilesMaxSizeSchema,
|
|
86
|
-
maxTotalSize: z
|
|
87
|
-
.number()
|
|
88
|
-
.int('maxTotalSize must be an integer')
|
|
89
|
-
.min(1, 'maxTotalSize must be at least 1 byte')
|
|
90
|
-
.max(1024 * 1024 * 1024, 'maxTotalSize cannot exceed 1GB')
|
|
91
|
-
.optional()
|
|
92
|
-
.default(100 * 1024 * 1024)
|
|
93
|
-
.describe('Maximum total size in bytes for all files combined (default 100MB)'),
|
|
94
|
-
head: HeadLinesSchema.describe('Read only the first N lines of each file'),
|
|
95
|
-
tail: TailLinesSchema.describe('Read only the last N lines of each file'),
|
|
96
|
-
});
|
|
97
|
-
export const ReadMultipleFilesInputSchema = ReadMultipleFilesBaseSchema.shape;
|
|
98
|
-
export const GetFileInfoInputSchema = {
|
|
99
|
-
path: z
|
|
100
|
-
.string()
|
|
101
|
-
.min(1, 'Path cannot be empty')
|
|
102
|
-
.describe('Path to get information about'),
|
|
103
|
-
};
|
|
104
|
-
export const SearchContentInputSchema = {
|
|
105
|
-
path: z
|
|
106
|
-
.string()
|
|
107
|
-
.min(1, 'Path cannot be empty')
|
|
108
|
-
.describe('Absolute or relative path to the base directory to search within'),
|
|
109
|
-
pattern: z
|
|
110
|
-
.string()
|
|
111
|
-
.min(1, 'Pattern cannot be empty')
|
|
112
|
-
.max(1000, 'Pattern is too long (max 1000 characters)')
|
|
113
|
-
.describe('Regular expression pattern to search for. Examples: "TODO|FIXME" (find todos), "function\\s+\\w+" (find function declarations), "import.*from" (find imports). Use isLiteral=true for exact string matching.'),
|
|
114
|
-
filePattern: z
|
|
115
|
-
.string()
|
|
116
|
-
.min(1, 'File pattern cannot be empty')
|
|
117
|
-
.max(500, 'File pattern is too long')
|
|
118
|
-
.optional()
|
|
119
|
-
.default('**/*')
|
|
120
|
-
.refine(isSafeGlobPattern, {
|
|
121
|
-
message: 'File pattern must be relative to the base path (no absolute or ".." segments)',
|
|
122
|
-
})
|
|
123
|
-
.describe('Glob pattern to filter files'),
|
|
124
|
-
excludePatterns: ExcludePatternsSchema.describe('Glob patterns to exclude (e.g., "node_modules/**")'),
|
|
125
|
-
caseSensitive: CaseSensitiveSchema,
|
|
126
|
-
maxResults: MaxResultsSchema.describe('Maximum number of results'),
|
|
127
|
-
maxFileSize: MaxFileSizeSearchSchema,
|
|
128
|
-
maxFilesScanned: MaxFilesScannedSchema,
|
|
129
|
-
timeoutMs: TimeoutMsSchema.describe('Timeout in milliseconds for the search operation'),
|
|
130
|
-
skipBinary: SkipBinarySchema,
|
|
131
|
-
includeHidden: IncludeHiddenSchema.describe('Include hidden files and directories (dotfiles) in the search'),
|
|
132
|
-
contextLines: ContextLinesSchema,
|
|
133
|
-
wholeWord: z
|
|
134
|
-
.boolean()
|
|
135
|
-
.optional()
|
|
136
|
-
.default(false)
|
|
137
|
-
.describe('Match whole words only by adding \\b word boundaries to pattern. Useful for avoiding partial matches (e.g., searching "test" won\'t match "testing")'),
|
|
138
|
-
isLiteral: z
|
|
139
|
-
.boolean()
|
|
140
|
-
.optional()
|
|
141
|
-
.default(false)
|
|
142
|
-
.describe('Treat pattern as a literal string instead of regex. Special characters like ., *, ? will be escaped automatically. Use this when searching for exact text containing regex metacharacters.'),
|
|
143
|
-
baseNameMatch: BaseNameMatchSchema,
|
|
144
|
-
caseSensitiveFileMatch: z
|
|
145
|
-
.boolean()
|
|
146
|
-
.optional()
|
|
147
|
-
.default(true)
|
|
148
|
-
.describe('Case sensitive file pattern matching. Set to false for case-insensitive filename matching on case-insensitive filesystems'),
|
|
149
|
-
};
|
|
150
|
-
export const AnalyzeDirectoryInputSchema = {
|
|
151
|
-
path: z
|
|
152
|
-
.string()
|
|
153
|
-
.min(1, 'Path cannot be empty')
|
|
154
|
-
.describe('Directory to analyze'),
|
|
155
|
-
maxDepth: MaxDepthSchema.describe('Maximum depth to analyze'),
|
|
156
|
-
topN: TopNSchema,
|
|
157
|
-
maxEntries: AnalyzeMaxEntriesSchema.describe('Maximum number of entries (files + directories) to scan'),
|
|
158
|
-
excludePatterns: BasicExcludePatternsSchema.describe('Glob patterns to exclude (e.g., "node_modules", "*.log")'),
|
|
159
|
-
includeHidden: IncludeHiddenSchema,
|
|
160
|
-
};
|
|
161
|
-
export const DirectoryTreeInputSchema = {
|
|
162
|
-
path: z
|
|
163
|
-
.string()
|
|
164
|
-
.min(1, 'Path cannot be empty')
|
|
165
|
-
.describe('Directory path to build tree from'),
|
|
166
|
-
maxDepth: TreeMaxDepthSchema,
|
|
167
|
-
excludePatterns: BasicExcludePatternsSchema.describe('Glob patterns to exclude (e.g., "node_modules", "*.log")'),
|
|
168
|
-
includeHidden: IncludeHiddenSchema,
|
|
169
|
-
includeSize: z
|
|
170
|
-
.boolean()
|
|
171
|
-
.optional()
|
|
172
|
-
.default(false)
|
|
173
|
-
.describe('Include file sizes in the tree'),
|
|
174
|
-
maxFiles: z
|
|
175
|
-
.number()
|
|
176
|
-
.int('maxFiles must be an integer')
|
|
177
|
-
.min(1, 'maxFiles must be at least 1')
|
|
178
|
-
.max(100000, 'maxFiles cannot exceed 100,000')
|
|
179
|
-
.optional()
|
|
180
|
-
.describe('Maximum total number of files to include in the tree'),
|
|
181
|
-
};
|
|
182
|
-
export const ReadMediaFileInputSchema = {
|
|
183
|
-
path: z
|
|
184
|
-
.string()
|
|
185
|
-
.min(1, 'Path cannot be empty')
|
|
186
|
-
.describe('Path to the media file to read'),
|
|
187
|
-
maxSize: z
|
|
188
|
-
.number()
|
|
189
|
-
.int('maxSize must be an integer')
|
|
190
|
-
.min(1, 'maxSize must be at least 1 byte')
|
|
191
|
-
.max(500 * 1024 * 1024, 'maxSize cannot exceed 500MB')
|
|
192
|
-
.optional()
|
|
193
|
-
.default(MAX_MEDIA_FILE_SIZE)
|
|
194
|
-
.describe('Maximum file size in bytes (default 50MB)'),
|
|
195
|
-
};
|
|
1
|
+
export { AnalyzeDirectoryInputSchema, DirectoryTreeInputSchema, ListDirectoryInputSchema, } from './inputs/directory.js';
|
|
2
|
+
export { DefinitionTypeSchema, SearchContentInputSchema, SearchDefinitionsInputSchema, SearchFilesInputSchema, } from './inputs/search.js';
|
|
3
|
+
export { ReadFileInputSchema, ReadMediaFileInputSchema, ReadMultipleFilesInputSchema, } from './inputs/read.js';
|
|
4
|
+
export { GetFileInfoInputSchema, GetMultipleFileInfoInputSchema, } from './inputs/file-info.js';
|
|
5
|
+
export { ChecksumAlgorithmSchema, ChecksumEncodingSchema, ComputeChecksumsInputSchema, } from './inputs/checksums.js';
|
|
196
6
|
//# sourceMappingURL=inputs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputs.js","sourceRoot":"","sources":["../../src/schemas/inputs.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"inputs.js","sourceRoot":"","sources":["../../src/schemas/inputs.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,4BAA4B,EAC5B,sBAAsB,GACvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,sBAAsB,EACtB,8BAA8B,GAC/B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,GAC5B,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ComputeChecksumsOutputSchema: z.ZodObject<{
|
|
3
|
+
ok: z.ZodBoolean;
|
|
4
|
+
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5
|
+
path: z.ZodString;
|
|
6
|
+
checksum: z.ZodOptional<z.ZodString>;
|
|
7
|
+
algorithm: z.ZodString;
|
|
8
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
error: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
path: string;
|
|
12
|
+
algorithm: string;
|
|
13
|
+
error?: string | undefined;
|
|
14
|
+
size?: number | undefined;
|
|
15
|
+
checksum?: string | undefined;
|
|
16
|
+
}, {
|
|
17
|
+
path: string;
|
|
18
|
+
algorithm: string;
|
|
19
|
+
error?: string | undefined;
|
|
20
|
+
size?: number | undefined;
|
|
21
|
+
checksum?: string | undefined;
|
|
22
|
+
}>, "many">>;
|
|
23
|
+
summary: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
total: z.ZodNumber;
|
|
25
|
+
succeeded: z.ZodNumber;
|
|
26
|
+
failed: z.ZodNumber;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
total: number;
|
|
29
|
+
succeeded: number;
|
|
30
|
+
failed: number;
|
|
31
|
+
}, {
|
|
32
|
+
total: number;
|
|
33
|
+
succeeded: number;
|
|
34
|
+
failed: number;
|
|
35
|
+
}>>;
|
|
36
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
37
|
+
code: z.ZodString;
|
|
38
|
+
message: z.ZodString;
|
|
39
|
+
path: z.ZodOptional<z.ZodString>;
|
|
40
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
code: string;
|
|
43
|
+
message: string;
|
|
44
|
+
path?: string | undefined;
|
|
45
|
+
suggestion?: string | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
code: string;
|
|
48
|
+
message: string;
|
|
49
|
+
path?: string | undefined;
|
|
50
|
+
suggestion?: string | undefined;
|
|
51
|
+
}>>;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
ok: boolean;
|
|
54
|
+
results?: {
|
|
55
|
+
path: string;
|
|
56
|
+
algorithm: string;
|
|
57
|
+
error?: string | undefined;
|
|
58
|
+
size?: number | undefined;
|
|
59
|
+
checksum?: string | undefined;
|
|
60
|
+
}[] | undefined;
|
|
61
|
+
error?: {
|
|
62
|
+
code: string;
|
|
63
|
+
message: string;
|
|
64
|
+
path?: string | undefined;
|
|
65
|
+
suggestion?: string | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
summary?: {
|
|
68
|
+
total: number;
|
|
69
|
+
succeeded: number;
|
|
70
|
+
failed: number;
|
|
71
|
+
} | undefined;
|
|
72
|
+
}, {
|
|
73
|
+
ok: boolean;
|
|
74
|
+
results?: {
|
|
75
|
+
path: string;
|
|
76
|
+
algorithm: string;
|
|
77
|
+
error?: string | undefined;
|
|
78
|
+
size?: number | undefined;
|
|
79
|
+
checksum?: string | undefined;
|
|
80
|
+
}[] | undefined;
|
|
81
|
+
error?: {
|
|
82
|
+
code: string;
|
|
83
|
+
message: string;
|
|
84
|
+
path?: string | undefined;
|
|
85
|
+
suggestion?: string | undefined;
|
|
86
|
+
} | undefined;
|
|
87
|
+
summary?: {
|
|
88
|
+
total: number;
|
|
89
|
+
succeeded: number;
|
|
90
|
+
failed: number;
|
|
91
|
+
} | undefined;
|
|
92
|
+
}>;
|
|
93
|
+
//# sourceMappingURL=checksums.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checksums.d.ts","sourceRoot":"","sources":["../../../src/schemas/outputs/checksums.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBvC,CAAC"}
|