@zeliper/zscode-mcp-server 1.0.8 → 2.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.
Files changed (46) hide show
  1. package/dist/state/manager.d.ts +240 -2
  2. package/dist/state/manager.d.ts.map +1 -1
  3. package/dist/state/manager.js +1055 -2
  4. package/dist/state/manager.js.map +1 -1
  5. package/dist/state/schema.d.ts +6535 -545
  6. package/dist/state/schema.d.ts.map +1 -1
  7. package/dist/state/schema.js +340 -0
  8. package/dist/state/schema.js.map +1 -1
  9. package/dist/state/types.d.ts +62 -1
  10. package/dist/state/types.d.ts.map +1 -1
  11. package/dist/state/types.js.map +1 -1
  12. package/dist/templates/index.d.ts +79 -0
  13. package/dist/templates/index.d.ts.map +1 -0
  14. package/dist/templates/index.js +472 -0
  15. package/dist/templates/index.js.map +1 -0
  16. package/dist/tools/bulk.d.ts +6 -0
  17. package/dist/tools/bulk.d.ts.map +1 -0
  18. package/dist/tools/bulk.js +273 -0
  19. package/dist/tools/bulk.js.map +1 -0
  20. package/dist/tools/index.d.ts.map +1 -1
  21. package/dist/tools/index.js +15 -0
  22. package/dist/tools/index.js.map +1 -1
  23. package/dist/tools/navigate.d.ts +6 -0
  24. package/dist/tools/navigate.d.ts.map +1 -0
  25. package/dist/tools/navigate.js +334 -0
  26. package/dist/tools/navigate.js.map +1 -0
  27. package/dist/tools/rollback.d.ts +6 -0
  28. package/dist/tools/rollback.d.ts.map +1 -0
  29. package/dist/tools/rollback.js +278 -0
  30. package/dist/tools/rollback.js.map +1 -0
  31. package/dist/tools/search.d.ts +6 -0
  32. package/dist/tools/search.d.ts.map +1 -0
  33. package/dist/tools/search.js +252 -0
  34. package/dist/tools/search.js.map +1 -0
  35. package/dist/tools/staging.d.ts.map +1 -1
  36. package/dist/tools/staging.js +5 -1
  37. package/dist/tools/staging.js.map +1 -1
  38. package/dist/tools/template.d.ts +6 -0
  39. package/dist/tools/template.d.ts.map +1 -0
  40. package/dist/tools/template.js +348 -0
  41. package/dist/tools/template.js.map +1 -0
  42. package/dist/utils/format.d.ts +173 -0
  43. package/dist/utils/format.d.ts.map +1 -1
  44. package/dist/utils/format.js +336 -0
  45. package/dist/utils/format.js.map +1 -1
  46. package/package.json +1 -1
@@ -0,0 +1,79 @@
1
+ /**
2
+ * Built-in Templates
3
+ * Pre-defined plan templates for common development workflows
4
+ */
5
+ import type { TemplateCategory } from "../state/types.js";
6
+ interface TemplateTaskDefInput {
7
+ title: string;
8
+ description?: string;
9
+ priority: "high" | "medium" | "low";
10
+ execution_mode: "parallel" | "sequential";
11
+ model?: "opus" | "sonnet" | "haiku";
12
+ depends_on_index?: number[];
13
+ memory_tags?: string[];
14
+ }
15
+ interface TemplateStagingDefInput {
16
+ name: string;
17
+ description?: string;
18
+ execution_type: "parallel" | "sequential";
19
+ default_model?: "opus" | "sonnet" | "haiku";
20
+ session_budget?: "minimal" | "standard" | "extensive";
21
+ recommended_sessions?: number;
22
+ tasks: TemplateTaskDefInput[];
23
+ }
24
+ export interface BuiltInTemplate {
25
+ name: string;
26
+ description: string;
27
+ category: TemplateCategory;
28
+ tags: string[];
29
+ stagings: TemplateStagingDefInput[];
30
+ variables: Array<{
31
+ name: string;
32
+ description?: string;
33
+ defaultValue?: string;
34
+ required: boolean;
35
+ }>;
36
+ }
37
+ export declare const featureTemplate: BuiltInTemplate;
38
+ export declare const bugfixTemplate: BuiltInTemplate;
39
+ export declare const refactoringTemplate: BuiltInTemplate;
40
+ export declare const reviewTemplate: BuiltInTemplate;
41
+ export declare const builtInTemplates: BuiltInTemplate[];
42
+ /**
43
+ * Get all built-in templates with normalized task definitions
44
+ */
45
+ export declare function getBuiltInTemplates(): {
46
+ stagings: {
47
+ tasks: {
48
+ title: string;
49
+ priority: "high" | "medium" | "low";
50
+ execution_mode: "parallel" | "sequential";
51
+ memory_tags: string[];
52
+ depends_on_index: number[];
53
+ description?: string;
54
+ model?: "opus" | "sonnet" | "haiku";
55
+ }[];
56
+ name: string;
57
+ description?: string;
58
+ execution_type: "parallel" | "sequential";
59
+ default_model?: "opus" | "sonnet" | "haiku";
60
+ session_budget?: "minimal" | "standard" | "extensive";
61
+ recommended_sessions?: number;
62
+ }[];
63
+ name: string;
64
+ description: string;
65
+ category: TemplateCategory;
66
+ tags: string[];
67
+ variables: Array<{
68
+ name: string;
69
+ description?: string;
70
+ defaultValue?: string;
71
+ required: boolean;
72
+ }>;
73
+ }[];
74
+ /**
75
+ * Get a specific built-in template by name
76
+ */
77
+ export declare function getBuiltInTemplate(name: string): BuiltInTemplate | undefined;
78
+ export {};
79
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/templates/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAG1D,UAAU,oBAAoB;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;IACpC,cAAc,EAAE,UAAU,GAAG,YAAY,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,UAAU,uBAAuB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,UAAU,GAAG,YAAY,CAAC;IAC1C,aAAa,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC5C,cAAc,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,WAAW,CAAC;IACtD,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,KAAK,EAAE,oBAAoB,EAAE,CAAC;CAC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AAI,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAE5E"}
@@ -0,0 +1,472 @@
1
+ /**
2
+ * Built-in Templates
3
+ * Pre-defined plan templates for common development workflows
4
+ */
5
+ // Helper to add default values to tasks
6
+ function normalizeTask(task) {
7
+ return {
8
+ title: task.title,
9
+ priority: task.priority,
10
+ execution_mode: task.execution_mode,
11
+ memory_tags: task.memory_tags ?? [],
12
+ depends_on_index: task.depends_on_index ?? [],
13
+ description: task.description,
14
+ model: task.model,
15
+ };
16
+ }
17
+ // ============ Feature Development Template ============
18
+ export const featureTemplate = {
19
+ name: "Feature Development",
20
+ description: "Standard workflow for implementing new features with analysis, implementation, testing, and documentation phases.",
21
+ category: "feature",
22
+ tags: ["feature", "development", "standard"],
23
+ variables: [
24
+ {
25
+ name: "FEATURE_NAME",
26
+ description: "Name of the feature to implement",
27
+ required: true,
28
+ },
29
+ {
30
+ name: "COMPONENT",
31
+ description: "Component or module where the feature will be added",
32
+ defaultValue: "core",
33
+ required: false,
34
+ },
35
+ ],
36
+ stagings: [
37
+ {
38
+ name: "Phase 1: Analysis & Design",
39
+ description: "Analyze requirements and design the solution",
40
+ execution_type: "sequential",
41
+ default_model: "opus",
42
+ session_budget: "minimal",
43
+ tasks: [
44
+ {
45
+ title: "Analyze requirements for {{FEATURE_NAME}}",
46
+ description: "Understand the feature requirements and acceptance criteria",
47
+ priority: "high",
48
+ execution_mode: "sequential",
49
+ model: "opus",
50
+ },
51
+ {
52
+ title: "Design solution architecture",
53
+ description: "Design the technical approach and identify components to modify",
54
+ priority: "high",
55
+ execution_mode: "sequential",
56
+ model: "opus",
57
+ },
58
+ {
59
+ title: "Identify affected files and dependencies",
60
+ description: "List all files that need modification and potential conflicts",
61
+ priority: "medium",
62
+ execution_mode: "sequential",
63
+ },
64
+ ],
65
+ },
66
+ {
67
+ name: "Phase 2: Implementation",
68
+ description: "Implement the feature code",
69
+ execution_type: "parallel",
70
+ default_model: "opus",
71
+ session_budget: "extensive",
72
+ tasks: [
73
+ {
74
+ title: "Implement core functionality",
75
+ description: "Write the main feature code in {{COMPONENT}}",
76
+ priority: "high",
77
+ execution_mode: "parallel",
78
+ model: "opus",
79
+ },
80
+ {
81
+ title: "Add type definitions",
82
+ description: "Create or update TypeScript types and interfaces",
83
+ priority: "medium",
84
+ execution_mode: "parallel",
85
+ },
86
+ {
87
+ title: "Implement error handling",
88
+ description: "Add proper error handling and validation",
89
+ priority: "medium",
90
+ execution_mode: "parallel",
91
+ },
92
+ ],
93
+ },
94
+ {
95
+ name: "Phase 3: Testing",
96
+ description: "Write and run tests",
97
+ execution_type: "sequential",
98
+ default_model: "sonnet",
99
+ session_budget: "standard",
100
+ tasks: [
101
+ {
102
+ title: "Write unit tests",
103
+ description: "Create unit tests for the new functionality",
104
+ priority: "high",
105
+ execution_mode: "sequential",
106
+ },
107
+ {
108
+ title: "Write integration tests",
109
+ description: "Create integration tests if applicable",
110
+ priority: "medium",
111
+ execution_mode: "sequential",
112
+ },
113
+ {
114
+ title: "Run all tests and fix failures",
115
+ description: "Execute test suite and address any failures",
116
+ priority: "high",
117
+ execution_mode: "sequential",
118
+ },
119
+ ],
120
+ },
121
+ {
122
+ name: "Phase 4: Documentation & Cleanup",
123
+ description: "Finalize documentation and code cleanup",
124
+ execution_type: "parallel",
125
+ default_model: "haiku",
126
+ session_budget: "minimal",
127
+ tasks: [
128
+ {
129
+ title: "Update documentation",
130
+ description: "Add or update relevant documentation",
131
+ priority: "medium",
132
+ execution_mode: "parallel",
133
+ },
134
+ {
135
+ title: "Code review preparation",
136
+ description: "Self-review and clean up code, add comments",
137
+ priority: "medium",
138
+ execution_mode: "parallel",
139
+ },
140
+ ],
141
+ },
142
+ ],
143
+ };
144
+ // ============ Bug Fix Template ============
145
+ export const bugfixTemplate = {
146
+ name: "Bug Fix",
147
+ description: "Structured workflow for investigating and fixing bugs with root cause analysis.",
148
+ category: "bugfix",
149
+ tags: ["bug", "fix", "debug"],
150
+ variables: [
151
+ {
152
+ name: "BUG_DESCRIPTION",
153
+ description: "Brief description of the bug",
154
+ required: true,
155
+ },
156
+ {
157
+ name: "ISSUE_ID",
158
+ description: "Issue/ticket ID (if any)",
159
+ required: false,
160
+ },
161
+ ],
162
+ stagings: [
163
+ {
164
+ name: "Phase 1: Investigation",
165
+ description: "Reproduce and understand the bug",
166
+ execution_type: "sequential",
167
+ default_model: "opus",
168
+ session_budget: "standard",
169
+ tasks: [
170
+ {
171
+ title: "Reproduce the bug",
172
+ description: "Confirm the bug can be reproduced: {{BUG_DESCRIPTION}}",
173
+ priority: "high",
174
+ execution_mode: "sequential",
175
+ model: "opus",
176
+ },
177
+ {
178
+ title: "Root cause analysis",
179
+ description: "Identify the root cause of the bug",
180
+ priority: "high",
181
+ execution_mode: "sequential",
182
+ model: "opus",
183
+ },
184
+ {
185
+ title: "Identify scope of impact",
186
+ description: "Determine what else might be affected by this bug or the fix",
187
+ priority: "medium",
188
+ execution_mode: "sequential",
189
+ },
190
+ ],
191
+ },
192
+ {
193
+ name: "Phase 2: Fix Implementation",
194
+ description: "Implement the bug fix",
195
+ execution_type: "sequential",
196
+ default_model: "opus",
197
+ session_budget: "standard",
198
+ tasks: [
199
+ {
200
+ title: "Implement the fix",
201
+ description: "Write code to fix the root cause",
202
+ priority: "high",
203
+ execution_mode: "sequential",
204
+ model: "opus",
205
+ },
206
+ {
207
+ title: "Add regression test",
208
+ description: "Create test case that catches this bug",
209
+ priority: "high",
210
+ execution_mode: "sequential",
211
+ },
212
+ ],
213
+ },
214
+ {
215
+ name: "Phase 3: Verification",
216
+ description: "Verify the fix works correctly",
217
+ execution_type: "sequential",
218
+ default_model: "sonnet",
219
+ session_budget: "minimal",
220
+ tasks: [
221
+ {
222
+ title: "Verify bug is fixed",
223
+ description: "Confirm the original bug no longer occurs",
224
+ priority: "high",
225
+ execution_mode: "sequential",
226
+ },
227
+ {
228
+ title: "Run full test suite",
229
+ description: "Ensure no regressions were introduced",
230
+ priority: "high",
231
+ execution_mode: "sequential",
232
+ },
233
+ {
234
+ title: "Test edge cases",
235
+ description: "Test related edge cases and scenarios",
236
+ priority: "medium",
237
+ execution_mode: "sequential",
238
+ },
239
+ ],
240
+ },
241
+ ],
242
+ };
243
+ // ============ Refactoring Template ============
244
+ export const refactoringTemplate = {
245
+ name: "Code Refactoring",
246
+ description: "Safe refactoring workflow with comprehensive testing at each step.",
247
+ category: "refactoring",
248
+ tags: ["refactor", "cleanup", "improvement"],
249
+ variables: [
250
+ {
251
+ name: "TARGET_CODE",
252
+ description: "Code area to refactor (file, module, function)",
253
+ required: true,
254
+ },
255
+ {
256
+ name: "GOAL",
257
+ description: "Goal of the refactoring",
258
+ defaultValue: "improve code quality",
259
+ required: false,
260
+ },
261
+ ],
262
+ stagings: [
263
+ {
264
+ name: "Phase 1: Preparation",
265
+ description: "Ensure test coverage before refactoring",
266
+ execution_type: "sequential",
267
+ default_model: "sonnet",
268
+ session_budget: "standard",
269
+ tasks: [
270
+ {
271
+ title: "Review current code structure",
272
+ description: "Understand current implementation of {{TARGET_CODE}}",
273
+ priority: "high",
274
+ execution_mode: "sequential",
275
+ model: "opus",
276
+ },
277
+ {
278
+ title: "Ensure test coverage",
279
+ description: "Add tests if current coverage is insufficient",
280
+ priority: "high",
281
+ execution_mode: "sequential",
282
+ },
283
+ {
284
+ title: "Run baseline tests",
285
+ description: "Verify all tests pass before refactoring",
286
+ priority: "high",
287
+ execution_mode: "sequential",
288
+ },
289
+ ],
290
+ },
291
+ {
292
+ name: "Phase 2: Refactoring",
293
+ description: "Apply refactoring changes incrementally",
294
+ execution_type: "sequential",
295
+ default_model: "opus",
296
+ session_budget: "extensive",
297
+ tasks: [
298
+ {
299
+ title: "Apply first refactoring step",
300
+ description: "Make first incremental change towards {{GOAL}}",
301
+ priority: "high",
302
+ execution_mode: "sequential",
303
+ model: "opus",
304
+ },
305
+ {
306
+ title: "Run tests after first step",
307
+ description: "Verify tests still pass",
308
+ priority: "high",
309
+ execution_mode: "sequential",
310
+ },
311
+ {
312
+ title: "Apply remaining refactoring",
313
+ description: "Continue with incremental improvements",
314
+ priority: "high",
315
+ execution_mode: "sequential",
316
+ model: "opus",
317
+ },
318
+ {
319
+ title: "Run tests after completion",
320
+ description: "Verify all tests pass after refactoring",
321
+ priority: "high",
322
+ execution_mode: "sequential",
323
+ },
324
+ ],
325
+ },
326
+ {
327
+ name: "Phase 3: Cleanup",
328
+ description: "Final cleanup and documentation",
329
+ execution_type: "parallel",
330
+ default_model: "haiku",
331
+ session_budget: "minimal",
332
+ tasks: [
333
+ {
334
+ title: "Remove dead code",
335
+ description: "Clean up any unused code artifacts",
336
+ priority: "medium",
337
+ execution_mode: "parallel",
338
+ },
339
+ {
340
+ title: "Update comments and docs",
341
+ description: "Update documentation to reflect changes",
342
+ priority: "low",
343
+ execution_mode: "parallel",
344
+ },
345
+ ],
346
+ },
347
+ ],
348
+ };
349
+ // ============ Code Review Template ============
350
+ export const reviewTemplate = {
351
+ name: "Code Review",
352
+ description: "Systematic code review process covering functionality, security, and quality.",
353
+ category: "review",
354
+ tags: ["review", "pr", "code-review"],
355
+ variables: [
356
+ {
357
+ name: "PR_ID",
358
+ description: "Pull request ID or branch name",
359
+ required: true,
360
+ },
361
+ {
362
+ name: "FOCUS_AREA",
363
+ description: "Specific area to focus on (optional)",
364
+ required: false,
365
+ },
366
+ ],
367
+ stagings: [
368
+ {
369
+ name: "Phase 1: Overview",
370
+ description: "Understand the scope of changes",
371
+ execution_type: "sequential",
372
+ default_model: "opus",
373
+ session_budget: "minimal",
374
+ tasks: [
375
+ {
376
+ title: "Review PR description and context",
377
+ description: "Understand the purpose of {{PR_ID}}",
378
+ priority: "high",
379
+ execution_mode: "sequential",
380
+ },
381
+ {
382
+ title: "Review changed files list",
383
+ description: "Get overview of all changed files",
384
+ priority: "high",
385
+ execution_mode: "sequential",
386
+ },
387
+ ],
388
+ },
389
+ {
390
+ name: "Phase 2: Detailed Review",
391
+ description: "Review code in detail",
392
+ execution_type: "parallel",
393
+ default_model: "opus",
394
+ session_budget: "standard",
395
+ tasks: [
396
+ {
397
+ title: "Review functionality",
398
+ description: "Verify code does what it claims to do",
399
+ priority: "high",
400
+ execution_mode: "parallel",
401
+ model: "opus",
402
+ },
403
+ {
404
+ title: "Review code quality",
405
+ description: "Check code style, patterns, and maintainability",
406
+ priority: "medium",
407
+ execution_mode: "parallel",
408
+ },
409
+ {
410
+ title: "Review security",
411
+ description: "Check for security vulnerabilities and data handling",
412
+ priority: "high",
413
+ execution_mode: "parallel",
414
+ model: "opus",
415
+ },
416
+ {
417
+ title: "Review tests",
418
+ description: "Verify test coverage and quality",
419
+ priority: "medium",
420
+ execution_mode: "parallel",
421
+ },
422
+ ],
423
+ },
424
+ {
425
+ name: "Phase 3: Feedback",
426
+ description: "Compile and provide feedback",
427
+ execution_type: "sequential",
428
+ default_model: "sonnet",
429
+ session_budget: "minimal",
430
+ tasks: [
431
+ {
432
+ title: "Compile review findings",
433
+ description: "Summarize all review comments and suggestions",
434
+ priority: "high",
435
+ execution_mode: "sequential",
436
+ },
437
+ {
438
+ title: "Provide feedback",
439
+ description: "Submit review with actionable feedback",
440
+ priority: "high",
441
+ execution_mode: "sequential",
442
+ },
443
+ ],
444
+ },
445
+ ],
446
+ };
447
+ // ============ All Built-in Templates ============
448
+ export const builtInTemplates = [
449
+ featureTemplate,
450
+ bugfixTemplate,
451
+ refactoringTemplate,
452
+ reviewTemplate,
453
+ ];
454
+ /**
455
+ * Get all built-in templates with normalized task definitions
456
+ */
457
+ export function getBuiltInTemplates() {
458
+ return builtInTemplates.map(template => ({
459
+ ...template,
460
+ stagings: template.stagings.map(staging => ({
461
+ ...staging,
462
+ tasks: staging.tasks.map(normalizeTask),
463
+ })),
464
+ }));
465
+ }
466
+ /**
467
+ * Get a specific built-in template by name
468
+ */
469
+ export function getBuiltInTemplate(name) {
470
+ return builtInTemplates.find(t => t.name.toLowerCase() === name.toLowerCase());
471
+ }
472
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file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ACE,KAAK,EAAE,yBAAyB;oBAChC,WAAW,EAAE,+CAA+C;oBAC5D,QAAQ,EAAE,MAAM;oBAChB,cAAc,EAAE,YAAY;iBAC7B;gBACD;oBACE,KAAK,EAAE,kBAAkB;oBACzB,WAAW,EAAE,wCAAwC;oBACrD,QAAQ,EAAE,MAAM;oBAChB,cAAc,EAAE,YAAY;iBAC7B;aACF;SACF;KACF;CACF,CAAC;AAEF,mDAAmD;AACnD,MAAM,CAAC,MAAM,gBAAgB,GAAsB;IACjD,eAAe;IACf,cAAc;IACd,mBAAmB;IACnB,cAAc;CACf,CAAC;AAEF;;GAEG;AACH,MAAM,UAAU,mBAAmB;IACjC,OAAO,gBAAgB,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;QACvC,GAAG,QAAQ;QACX,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;YAC1C,GAAG,OAAO;YACV,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC;SACxC,CAAC,CAAC;KACJ,CAAC,CAAC,CAAC;AACN,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAAC,IAAY;IAC7C,OAAO,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;AACjF,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
2
+ /**
3
+ * Register bulk operation tools
4
+ */
5
+ export declare function registerBulkTools(server: McpServer): void;
6
+ //# sourceMappingURL=bulk.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bulk.d.ts","sourceRoot":"","sources":["../../src/tools/bulk.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAoEpE;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CA0RzD"}