@ai-dev-tools/csharp-copilot-core 0.0.30 → 0.0.31

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 (303) hide show
  1. package/package.json +1 -1
  2. package/out/analyze/cecil.d.ts +0 -1
  3. package/out/analyze/cecil.js +0 -42
  4. package/out/analyze/cecil.js.map +0 -1
  5. package/out/analyze/checkCodeSyntax.d.ts +0 -7
  6. package/out/analyze/checkCodeSyntax.js +0 -67
  7. package/out/analyze/checkCodeSyntax.js.map +0 -1
  8. package/out/analyze/generateCodeDependency.d.ts +0 -6
  9. package/out/analyze/generateCodeDependency.js +0 -126
  10. package/out/analyze/generateCodeDependency.js.map +0 -1
  11. package/out/analyze/installAnalyzerTool.d.ts +0 -1
  12. package/out/analyze/installAnalyzerTool.js +0 -82
  13. package/out/analyze/installAnalyzerTool.js.map +0 -1
  14. package/out/batch/generateCodeTests.d.ts +0 -6
  15. package/out/batch/generateCodeTests.js +0 -147
  16. package/out/batch/generateCodeTests.js.map +0 -1
  17. package/out/batch/getFolderCodeFile.d.ts +0 -1
  18. package/out/batch/getFolderCodeFile.js +0 -19
  19. package/out/batch/getFolderCodeFile.js.map +0 -1
  20. package/out/batch/getProjectCodeFile.d.ts +0 -4
  21. package/out/batch/getProjectCodeFile.js +0 -86
  22. package/out/batch/getProjectCodeFile.js.map +0 -1
  23. package/out/batch/getSolutionCodeFile.d.ts +0 -8
  24. package/out/batch/getSolutionCodeFile.js +0 -70
  25. package/out/batch/getSolutionCodeFile.js.map +0 -1
  26. package/out/benchmark/formatToMarkdown.d.ts +0 -2
  27. package/out/benchmark/formatToMarkdown.js +0 -101
  28. package/out/benchmark/formatToMarkdown.js.map +0 -1
  29. package/out/benchmark/generateBenchmarkReport.d.ts +0 -1
  30. package/out/benchmark/generateBenchmarkReport.js +0 -82
  31. package/out/benchmark/generateBenchmarkReport.js.map +0 -1
  32. package/out/codeCoverage/codeCoverage.d.ts +0 -6
  33. package/out/codeCoverage/codeCoverage.js +0 -39
  34. package/out/codeCoverage/codeCoverage.js.map +0 -1
  35. package/out/codeCoverage/codeCoverageReport.d.ts +0 -6
  36. package/out/codeCoverage/codeCoverageReport.js +0 -76
  37. package/out/codeCoverage/codeCoverageReport.js.map +0 -1
  38. package/out/codeCoverage/extractCodeCoverageInfo.d.ts +0 -2
  39. package/out/codeCoverage/extractCodeCoverageInfo.js +0 -80
  40. package/out/codeCoverage/extractCodeCoverageInfo.js.map +0 -1
  41. package/out/codeCoverage/extractCoverageReportPath.d.ts +0 -1
  42. package/out/codeCoverage/extractCoverageReportPath.js +0 -24
  43. package/out/codeCoverage/extractCoverageReportPath.js.map +0 -1
  44. package/out/codeCoverage/generateCodeCoverageReport.d.ts +0 -1
  45. package/out/codeCoverage/generateCodeCoverageReport.js +0 -30
  46. package/out/codeCoverage/generateCodeCoverageReport.js.map +0 -1
  47. package/out/codeCoverage/getCodeCoverageSetting.d.ts +0 -1
  48. package/out/codeCoverage/getCodeCoverageSetting.js +0 -58
  49. package/out/codeCoverage/getCodeCoverageSetting.js.map +0 -1
  50. package/out/codeCoverage/reportTool.d.ts +0 -2
  51. package/out/codeCoverage/reportTool.js +0 -22
  52. package/out/codeCoverage/reportTool.js.map +0 -1
  53. package/out/codeCoverage/simplifyCoverageXml.d.ts +0 -2
  54. package/out/codeCoverage/simplifyCoverageXml.js +0 -117
  55. package/out/codeCoverage/simplifyCoverageXml.js.map +0 -1
  56. package/out/codebk/250804prompt/buildAfGuidelines.liquid +0 -15
  57. package/out/codebk/250804prompt/general/generalBuildAutofixGuidelines.liquid +0 -13
  58. package/out/codebk/250804prompt/general/generalUtGuidelines.liquid +0 -18
  59. package/out/codebk/250804prompt/generateUtAutoFix.liquid +0 -19
  60. package/out/codebk/250804prompt/generateUtGuidelines.liquid +0 -13
  61. package/out/codebk/250804prompt/generateUtSystem.liquid +0 -5
  62. package/out/codebk/250804prompt/generateUtUserInput.liquid +0 -27
  63. package/out/codebk/250804prompt/testAfGuidelines.liquid +0 -6
  64. package/out/codebk/250804prompt/xap/xapBuildAutofixGuidelines.liquid +0 -13
  65. package/out/codebk/250804prompt/xap/xapCodeCodeDependency.liquid +0 -0
  66. package/out/codebk/250804prompt/xap/xapCodeSample.liquid +0 -38
  67. package/out/codebk/250804prompt/xap/xapUtGuideline-240804.liquid +0 -36
  68. package/out/codebk/250804prompt/xap/xapUtGuideline.liquid +0 -36
  69. package/out/codebk/childProcessManager.d.ts +0 -1
  70. package/out/codebk/childProcessManager.js +0 -50
  71. package/out/codebk/childProcessManager.js.map +0 -1
  72. package/out/codebk/msBuidSpawn.d.ts +0 -1
  73. package/out/codebk/msBuidSpawn.js +0 -58
  74. package/out/codebk/msBuidSpawn.js.map +0 -1
  75. package/out/codebk/msBuild.d.ts +0 -1
  76. package/out/codebk/msBuild.js +0 -123
  77. package/out/codebk/msBuild.js.map +0 -1
  78. package/out/codebk/old/generateXapTestAutoFix.liquid +0 -12
  79. package/out/codebk/old/generateXapTestGuidelines-fm.liquid +0 -68
  80. package/out/codebk/old/generateXapTestGuidelines.liquid +0 -28
  81. package/out/codebk/old/xapGuideline-fm.liquid +0 -149
  82. package/out/codebk/old/xapGuideline.liquid +0 -37
  83. package/out/codebk/oldExec/checkCodeSyntax.d.ts +0 -1
  84. package/out/codebk/oldExec/checkCodeSyntax.js +0 -81
  85. package/out/codebk/oldExec/checkCodeSyntax.js.map +0 -1
  86. package/out/codebk/oldExec/codeCoverage.d.ts +0 -1
  87. package/out/codebk/oldExec/codeCoverage.js +0 -54
  88. package/out/codebk/oldExec/codeCoverage.js.map +0 -1
  89. package/out/codebk/oldExec/codeCoverageReport.d.ts +0 -1
  90. package/out/codebk/oldExec/codeCoverageReport.js +0 -64
  91. package/out/codebk/oldExec/codeCoverageReport.js.map +0 -1
  92. package/out/codebk/oldExec/containsMethods.d.ts +0 -1
  93. package/out/codebk/oldExec/containsMethods.js +0 -74
  94. package/out/codebk/oldExec/containsMethods.js.map +0 -1
  95. package/out/codebk/oldExec/generateCodeDependency.d.ts +0 -1
  96. package/out/codebk/oldExec/generateCodeDependency.js +0 -95
  97. package/out/codebk/oldExec/generateCodeDependency.js.map +0 -1
  98. package/out/codebk/oldExec/msBuild.d.ts +0 -1
  99. package/out/codebk/oldExec/msBuild.js +0 -53
  100. package/out/codebk/oldExec/msBuild.js.map +0 -1
  101. package/out/codebk/oldExec/vsTest.d.ts +0 -1
  102. package/out/codebk/oldExec/vsTest.js +0 -71
  103. package/out/codebk/oldExec/vsTest.js.map +0 -1
  104. package/out/codebk/prompts/general/generalUnitTestGuidelines-20250702.liquid +0 -56
  105. package/out/codebk/prompts/generateXapTestGuidelines-20250704.liquid +0 -21
  106. package/out/codebk/prompts/generateXapTestGuidelines-o.liquid +0 -29
  107. package/out/codebk/prompts/xap/xapGuideline-o.liquid +0 -45
  108. package/out/codebk/testbuildkill.d.ts +0 -1
  109. package/out/codebk/testbuildkill.js +0 -37
  110. package/out/codebk/testbuildkill.js.map +0 -1
  111. package/out/command/index.d.ts +0 -2
  112. package/out/command/index.js +0 -94
  113. package/out/command/index.js.map +0 -1
  114. package/out/command/utGenWrapper.d.ts +0 -4
  115. package/out/command/utGenWrapper.js +0 -46
  116. package/out/command/utGenWrapper.js.map +0 -1
  117. package/out/exit/childProcessManager.d.ts +0 -2
  118. package/out/exit/childProcessManager.js +0 -43
  119. package/out/exit/childProcessManager.js.map +0 -1
  120. package/out/exit/setupProcessSignalHandler.d.ts +0 -1
  121. package/out/exit/setupProcessSignalHandler.js +0 -18
  122. package/out/exit/setupProcessSignalHandler.js.map +0 -1
  123. package/out/gen/autoFix.d.ts +0 -4
  124. package/out/gen/autoFix.js +0 -125
  125. package/out/gen/autoFix.js.map +0 -1
  126. package/out/gen/csharpUtGen.d.ts +0 -2
  127. package/out/gen/csharpUtGen.js +0 -125
  128. package/out/gen/csharpUtGen.js.map +0 -1
  129. package/out/gen/ensureValidLLMResponse.d.ts +0 -1
  130. package/out/gen/ensureValidLLMResponse.js +0 -19
  131. package/out/gen/ensureValidLLMResponse.js.map +0 -1
  132. package/out/gen/postGen/extractCodeFromResponse.d.ts +0 -1
  133. package/out/gen/postGen/extractCodeFromResponse.js +0 -37
  134. package/out/gen/postGen/extractCodeFromResponse.js.map +0 -1
  135. package/out/gen/postGen/postGenProcess.d.ts +0 -1
  136. package/out/gen/postGen/postGenProcess.js +0 -37
  137. package/out/gen/postGen/postGenProcess.js.map +0 -1
  138. package/out/gen/postGen/removeComments.d.ts +0 -1
  139. package/out/gen/postGen/removeComments.js +0 -92
  140. package/out/gen/postGen/removeComments.js.map +0 -1
  141. package/out/gen/postGen/removeSingleLines.d.ts +0 -1
  142. package/out/gen/postGen/removeSingleLines.js +0 -28
  143. package/out/gen/postGen/removeSingleLines.js.map +0 -1
  144. package/out/gen/postGen/repairRequiredNameSpaces.d.ts +0 -2
  145. package/out/gen/postGen/repairRequiredNameSpaces.js +0 -141
  146. package/out/gen/postGen/repairRequiredNameSpaces.js.map +0 -1
  147. package/out/gen/postGen/validateTestCode.d.ts +0 -1
  148. package/out/gen/postGen/validateTestCode.js +0 -14
  149. package/out/gen/postGen/validateTestCode.js.map +0 -1
  150. package/out/gen/preGen/excludeFileName.d.ts +0 -1
  151. package/out/gen/preGen/excludeFileName.js +0 -49
  152. package/out/gen/preGen/excludeFileName.js.map +0 -1
  153. package/out/gen/preGen/excludeSpecificTag.d.ts +0 -1
  154. package/out/gen/preGen/excludeSpecificTag.js +0 -18
  155. package/out/gen/preGen/excludeSpecificTag.js.map +0 -1
  156. package/out/gen/preGen/preGenProcess.d.ts +0 -1
  157. package/out/gen/preGen/preGenProcess.js +0 -22
  158. package/out/gen/preGen/preGenProcess.js.map +0 -1
  159. package/out/gen/preGen/validateCode.d.ts +0 -3
  160. package/out/gen/preGen/validateCode.js +0 -62
  161. package/out/gen/preGen/validateCode.js.map +0 -1
  162. package/out/index.d.ts +0 -3
  163. package/out/index.js +0 -10
  164. package/out/index.js.map +0 -1
  165. package/out/llm/model/Gpt.d.ts +0 -1
  166. package/out/llm/model/Gpt.js +0 -93
  167. package/out/llm/model/Gpt.js.map +0 -1
  168. package/out/llm/preparePrompt.d.ts +0 -2
  169. package/out/llm/preparePrompt.js +0 -135
  170. package/out/llm/preparePrompt.js.map +0 -1
  171. package/out/llm/prompt/buildAfGuidelines.liquid +0 -15
  172. package/out/llm/prompt/general/generalBuildAutofixGuidelines.liquid +0 -13
  173. package/out/llm/prompt/general/generalUtGuidelines.liquid +0 -16
  174. package/out/llm/prompt/generateUtAutoFix.liquid +0 -23
  175. package/out/llm/prompt/generateUtDependency.liquid +0 -3
  176. package/out/llm/prompt/generateUtSystem.liquid +0 -5
  177. package/out/llm/prompt/generateUtTemplate.liquid +0 -32
  178. package/out/llm/prompt/generateUtUserInput.liquid +0 -4
  179. package/out/llm/prompt/xap/xapBuildAutofixGuidelines.liquid +0 -13
  180. package/out/llm/prompt/xap/xapCodeCodeDependency.liquid +0 -0
  181. package/out/llm/prompt/xap/xapCodeSample.liquid +0 -38
  182. package/out/llm/prompt/xap/xapUtGuideline.liquid +0 -37
  183. package/out/llm/sendRequestToLLM.d.ts +0 -4
  184. package/out/llm/sendRequestToLLM.js +0 -9
  185. package/out/llm/sendRequestToLLM.js.map +0 -1
  186. package/out/llm/sendRequestToSelfHostLLM.d.ts +0 -4
  187. package/out/llm/sendRequestToSelfHostLLM.js +0 -41
  188. package/out/llm/sendRequestToSelfHostLLM.js.map +0 -1
  189. package/out/metrics/appInsightTelemetry.d.ts +0 -6
  190. package/out/metrics/appInsightTelemetry.js +0 -77
  191. package/out/metrics/appInsightTelemetry.js.map +0 -1
  192. package/out/metrics/machineId.d.ts +0 -11
  193. package/out/metrics/machineId.js +0 -85
  194. package/out/metrics/machineId.js.map +0 -1
  195. package/out/setup/setup.d.ts +0 -1
  196. package/out/setup/setup.js +0 -10
  197. package/out/setup/setup.js.map +0 -1
  198. package/out/setup/setupConsole.d.ts +0 -1
  199. package/out/setup/setupConsole.js +0 -23
  200. package/out/setup/setupConsole.js.map +0 -1
  201. package/out/setup/setupLLMRequest.d.ts +0 -2
  202. package/out/setup/setupLLMRequest.js +0 -10
  203. package/out/setup/setupLLMRequest.js.map +0 -1
  204. package/out/tools/devenvcom.cmd +0 -13
  205. package/out/tools/devenvexe.cmd +0 -13
  206. package/out/tools/msbuildexe.cmd +0 -13
  207. package/out/tools/vstestexe.cmd +0 -13
  208. package/out/types/benchmark.d.ts +0 -11
  209. package/out/types/benchmark.js +0 -3
  210. package/out/types/benchmark.js.map +0 -1
  211. package/out/types/buildResult.d.ts +0 -8
  212. package/out/types/buildResult.js +0 -3
  213. package/out/types/buildResult.js.map +0 -1
  214. package/out/types/constants.d.ts +0 -6
  215. package/out/types/constants.js +0 -10
  216. package/out/types/constants.js.map +0 -1
  217. package/out/types/genResult.d.ts +0 -10
  218. package/out/types/genResult.js +0 -3
  219. package/out/types/genResult.js.map +0 -1
  220. package/out/types/testResult.d.ts +0 -12
  221. package/out/types/testResult.js +0 -3
  222. package/out/types/testResult.js.map +0 -1
  223. package/out/types/verifyResult.d.ts +0 -8
  224. package/out/types/verifyResult.js +0 -3
  225. package/out/types/verifyResult.js.map +0 -1
  226. package/out/utils/checkTestProject.d.ts +0 -2
  227. package/out/utils/checkTestProject.js +0 -79
  228. package/out/utils/checkTestProject.js.map +0 -1
  229. package/out/utils/checkXapCode.d.ts +0 -2
  230. package/out/utils/checkXapCode.js +0 -59
  231. package/out/utils/checkXapCode.js.map +0 -1
  232. package/out/utils/delay.d.ts +0 -1
  233. package/out/utils/delay.js +0 -7
  234. package/out/utils/delay.js.map +0 -1
  235. package/out/utils/detectTestFramework.d.ts +0 -1
  236. package/out/utils/detectTestFramework.js +0 -33
  237. package/out/utils/detectTestFramework.js.map +0 -1
  238. package/out/utils/fileUtils.d.ts +0 -2
  239. package/out/utils/fileUtils.js +0 -42
  240. package/out/utils/fileUtils.js.map +0 -1
  241. package/out/utils/generateCodeSha256.d.ts +0 -1
  242. package/out/utils/generateCodeSha256.js +0 -46
  243. package/out/utils/generateCodeSha256.js.map +0 -1
  244. package/out/utils/getCodeStructurePath.d.ts +0 -5
  245. package/out/utils/getCodeStructurePath.js +0 -155
  246. package/out/utils/getCodeStructurePath.js.map +0 -1
  247. package/out/utils/getOrCreateDir.d.ts +0 -2
  248. package/out/utils/getOrCreateDir.js +0 -63
  249. package/out/utils/getOrCreateDir.js.map +0 -1
  250. package/out/utils/getTestCodeInfo.d.ts +0 -2
  251. package/out/utils/getTestCodeInfo.js +0 -121
  252. package/out/utils/getTestCodeInfo.js.map +0 -1
  253. package/out/utils/getTestFile.d.ts +0 -13
  254. package/out/utils/getTestFile.js +0 -295
  255. package/out/utils/getTestFile.js.map +0 -1
  256. package/out/utils/parseBuildResult.d.ts +0 -3
  257. package/out/utils/parseBuildResult.js +0 -44
  258. package/out/utils/parseBuildResult.js.map +0 -1
  259. package/out/utils/parseSyntaxCheckResult.d.ts +0 -2
  260. package/out/utils/parseSyntaxCheckResult.js +0 -38
  261. package/out/utils/parseSyntaxCheckResult.js.map +0 -1
  262. package/out/utils/parseVstestResult.d.ts +0 -3
  263. package/out/utils/parseVstestResult.js +0 -61
  264. package/out/utils/parseVstestResult.js.map +0 -1
  265. package/out/utils/removeFailedTestMethods.d.ts +0 -3
  266. package/out/utils/removeFailedTestMethods.js +0 -207
  267. package/out/utils/removeFailedTestMethods.js.map +0 -1
  268. package/out/utils/runCommand.d.ts +0 -1
  269. package/out/utils/runCommand.js +0 -14
  270. package/out/utils/runCommand.js.map +0 -1
  271. package/out/utils/spawnExec.d.ts +0 -1
  272. package/out/utils/spawnExec.js +0 -80
  273. package/out/utils/spawnExec.js.map +0 -1
  274. package/out/utils/verifyBuildErrorCausedFile.d.ts +0 -1
  275. package/out/utils/verifyBuildErrorCausedFile.js +0 -60
  276. package/out/utils/verifyBuildErrorCausedFile.js.map +0 -1
  277. package/out/utils/verifyTestCode.d.ts +0 -2
  278. package/out/utils/verifyTestCode.js +0 -25
  279. package/out/utils/verifyTestCode.js.map +0 -1
  280. package/out/utils/writeGenCode.d.ts +0 -1
  281. package/out/utils/writeGenCode.js +0 -50
  282. package/out/utils/writeGenCode.js.map +0 -1
  283. package/out/vs/msBuild.d.ts +0 -13
  284. package/out/vs/msBuild.js +0 -49
  285. package/out/vs/msBuild.js.map +0 -1
  286. package/out/vs/vsTest.d.ts +0 -15
  287. package/out/vs/vsTest.js +0 -75
  288. package/out/vs/vsTest.js.map +0 -1
  289. package/out/vs/vsTools.d.ts +0 -7
  290. package/out/vs/vsTools.js +0 -177
  291. package/out/vs/vsTools.js.map +0 -1
  292. package/out/vsPlugin/getVsPluginVerifyResult.d.ts +0 -2
  293. package/out/vsPlugin/getVsPluginVerifyResult.js +0 -41
  294. package/out/vsPlugin/getVsPluginVerifyResult.js.map +0 -1
  295. package/out/vsPlugin/interactionConstants.d.ts +0 -2
  296. package/out/vsPlugin/interactionConstants.js +0 -10
  297. package/out/vsPlugin/interactionConstants.js.map +0 -1
  298. package/out/vsPlugin/sendStdToVsPlugin.d.ts +0 -1
  299. package/out/vsPlugin/sendStdToVsPlugin.js +0 -12
  300. package/out/vsPlugin/sendStdToVsPlugin.js.map +0 -1
  301. package/out/vsPlugin/stdListener.d.ts +0 -3
  302. package/out/vsPlugin/stdListener.js +0 -57
  303. package/out/vsPlugin/stdListener.js.map +0 -1
@@ -1,85 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.execAsync = execAsync;
7
- exports.removeFile = removeFile;
8
- exports.sleep = sleep;
9
- exports.getMachineId = getMachineId;
10
- const crypto_1 = __importDefault(require("crypto"));
11
- const child_process_1 = require("child_process");
12
- const fs_1 = __importDefault(require("fs"));
13
- const os_1 = __importDefault(require("os"));
14
- function execAsync(command, params, options) {
15
- return new Promise((resolve) => {
16
- let execData = {
17
- process: undefined,
18
- };
19
- const abortListener = () => {
20
- if (execData.process) {
21
- execData.process.kill();
22
- execData.process = undefined;
23
- }
24
- };
25
- execData.process = (0, child_process_1.execFile)(command, params, {
26
- shell: true,
27
- ...options
28
- }, (error, stdout, stderr) => {
29
- if (options?.abortSignal) {
30
- options.abortSignal.removeEventListener('abort', abortListener);
31
- }
32
- resolve({
33
- error,
34
- stdout,
35
- stderr
36
- });
37
- });
38
- console.log(`PID: ${execData.process.pid}`);
39
- if (options?.abortSignal) {
40
- options.abortSignal.addEventListener('abort', abortListener);
41
- }
42
- });
43
- }
44
- function removeFile(filePath) {
45
- try {
46
- if (fs_1.default.existsSync(filePath)) {
47
- fs_1.default.unlinkSync(filePath);
48
- }
49
- }
50
- catch (error) {
51
- console.log(`Remove file error: ${error}`);
52
- }
53
- }
54
- function sleep(ms) {
55
- return new Promise((resolve) => setTimeout(resolve, ms));
56
- }
57
- function getMacAddress() {
58
- const interfaces = os_1.default.networkInterfaces();
59
- for (const name of Object.keys(interfaces)) {
60
- for (const net of interfaces[name]) {
61
- if (net.family === 'IPv4' &&
62
- !net.internal &&
63
- net.mac &&
64
- net.mac !== '00:00:00:00:00:00') {
65
- return net.mac;
66
- }
67
- }
68
- }
69
- return 'unknown';
70
- }
71
- let _cachedMachineId = null;
72
- function getMachineId() {
73
- if (_cachedMachineId) {
74
- return _cachedMachineId;
75
- }
76
- const mac = getMacAddress();
77
- const hostname = os_1.default.hostname();
78
- const user = os_1.default.userInfo().username;
79
- _cachedMachineId = crypto_1.default
80
- .createHash('sha256')
81
- .update(`${mac}-${hostname}-${user}`)
82
- .digest('hex');
83
- return _cachedMachineId;
84
- }
85
- //# sourceMappingURL=machineId.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"machineId.js","sourceRoot":"","sources":["../../src/metrics/machineId.ts"],"names":[],"mappings":";;;;;AAKA,8BAsCC;AAED,gCAQC;AAED,sBAEC;AAsBD,oCAaC;AA5FD,oDAA4B;AAC5B,iDAAyC;AACzC,4CAAoB;AACpB,4CAAoB;AAEpB,SAAgB,SAAS,CAAC,OAAe,EAAE,MAAgB,EAAE,OAAqD;IAK9G,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC3B,IAAI,QAAQ,GAAG;YACX,OAAO,EAAE,SAAS;SACrB,CAAC;QACF,MAAM,aAAa,GAAG,GAAG,EAAE;YACvB,IAAI,QAAQ,CAAC,OAAO,EAAE,CAAC;gBACnB,QAAQ,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;gBACxB,QAAQ,CAAC,OAAO,GAAG,SAAS,CAAC;YACjC,CAAC;QACL,CAAC,CAAC;QACF,QAAQ,CAAC,OAAO,GAAG,IAAA,wBAAQ,EACvB,OAAO,EACP,MAAM,EACN;YACI,KAAK,EAAE,IAAI;YACX,GAAG,OAAO;SACb,EACD,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE;YACtB,IAAI,OAAO,EAAE,WAAW,EAAE,CAAC;gBACvB,OAAO,CAAC,WAAW,CAAC,mBAAmB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;YACpE,CAAC;YACD,OAAO,CAAC;gBACJ,KAAK;gBACL,MAAM;gBACN,MAAM;aACT,CAAC,CAAC;QACP,CAAC,CACJ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,QAAQ,QAAQ,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;QAC5C,IAAI,OAAO,EAAE,WAAW,EAAE,CAAC;YACvB,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;QACjE,CAAC;IACL,CAAC,CAAC,CAAC;AACP,CAAC;AAED,SAAgB,UAAU,CAAC,QAAgB;IACvC,IAAI,CAAC;QACD,IAAI,YAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC1B,YAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;QAC5B,CAAC;IACL,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,OAAO,CAAC,GAAG,CAAC,sBAAsB,KAAK,EAAE,CAAC,CAAC;IAC/C,CAAC;AACL,CAAC;AAED,SAAgB,KAAK,CAAC,EAAU;IAC5B,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;AAC7D,CAAC;AAED,SAAS,aAAa;IAClB,MAAM,UAAU,GAAG,YAAE,CAAC,iBAAiB,EAAE,CAAC;IAE1C,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;QACzC,KAAK,MAAM,GAAG,IAAI,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC;YACjC,IACI,GAAG,CAAC,MAAM,KAAK,MAAM;gBACrB,CAAC,GAAG,CAAC,QAAQ;gBACb,GAAG,CAAC,GAAG;gBACP,GAAG,CAAC,GAAG,KAAK,mBAAmB,EACjC,CAAC;gBACC,OAAO,GAAG,CAAC,GAAG,CAAC;YACnB,CAAC;QACL,CAAC;IACL,CAAC;IAED,OAAO,SAAS,CAAC;AACrB,CAAC;AAED,IAAI,gBAAgB,GAAkB,IAAI,CAAC;AAC3C,SAAgB,YAAY;IACxB,IAAI,gBAAgB,EAAE,CAAC;QACnB,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IACD,MAAM,GAAG,GAAG,aAAa,EAAE,CAAC;IAC5B,MAAM,QAAQ,GAAG,YAAE,CAAC,QAAQ,EAAE,CAAC;IAC/B,MAAM,IAAI,GAAG,YAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;IAEpC,gBAAgB,GAAG,gBAAM;SACpB,UAAU,CAAC,QAAQ,CAAC;SACpB,MAAM,CAAC,GAAG,GAAG,IAAI,QAAQ,IAAI,IAAI,EAAE,CAAC;SACpC,MAAM,CAAC,KAAK,CAAC,CAAC;IACnB,OAAO,gBAAgB,CAAC;AAC5B,CAAC","sourcesContent":["import crypto from 'crypto';\r\nimport { execFile } from 'child_process';\r\nimport fs from 'fs';\r\nimport os from 'os';\r\n\r\nexport function execAsync(command: string, params: string[], options?: { cwd?: string, abortSignal?: AbortSignal }): Promise<{\r\n error: Error | null;\r\n stdout: string;\r\n stderr: string;\r\n}> {\r\n return new Promise((resolve) => {\r\n let execData = {\r\n process: undefined,\r\n };\r\n const abortListener = () => {\r\n if (execData.process) {\r\n execData.process.kill();\r\n execData.process = undefined;\r\n }\r\n };\r\n execData.process = execFile(\r\n command,\r\n params,\r\n {\r\n shell: true,\r\n ...options\r\n },\r\n (error, stdout, stderr) => {\r\n if (options?.abortSignal) {\r\n options.abortSignal.removeEventListener('abort', abortListener);\r\n }\r\n resolve({\r\n error,\r\n stdout,\r\n stderr\r\n });\r\n }\r\n );\r\n console.log(`PID: ${execData.process.pid}`);\r\n if (options?.abortSignal) {\r\n options.abortSignal.addEventListener('abort', abortListener);\r\n }\r\n });\r\n}\r\n\r\nexport function removeFile(filePath: string) {\r\n try {\r\n if (fs.existsSync(filePath)) {\r\n fs.unlinkSync(filePath);\r\n }\r\n } catch (error) {\r\n console.log(`Remove file error: ${error}`);\r\n }\r\n}\r\n\r\nexport function sleep(ms: number) {\r\n return new Promise((resolve) => setTimeout(resolve, ms));\r\n}\r\n\r\nfunction getMacAddress() {\r\n const interfaces = os.networkInterfaces();\r\n\r\n for (const name of Object.keys(interfaces)) {\r\n for (const net of interfaces[name]) {\r\n if (\r\n net.family === 'IPv4' &&\r\n !net.internal &&\r\n net.mac &&\r\n net.mac !== '00:00:00:00:00:00'\r\n ) {\r\n return net.mac;\r\n }\r\n }\r\n }\r\n\r\n return 'unknown';\r\n}\r\n\r\nlet _cachedMachineId: string | null = null;\r\nexport function getMachineId() {\r\n if (_cachedMachineId) {\r\n return _cachedMachineId;\r\n }\r\n const mac = getMacAddress();\r\n const hostname = os.hostname();\r\n const user = os.userInfo().username;\r\n\r\n _cachedMachineId = crypto\r\n .createHash('sha256')\r\n .update(`${mac}-${hostname}-${user}`)\r\n .digest('hex');\r\n return _cachedMachineId;\r\n}"]}
@@ -1 +0,0 @@
1
- export declare function setup(config: any): void;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.setup = setup;
4
- const setupConsole_1 = require("./setupConsole");
5
- const setupLLMRequest_1 = require("./setupLLMRequest");
6
- function setup(config) {
7
- (0, setupLLMRequest_1.setupSendRequestToLLMFunc)(config.getLLMResponse);
8
- config.getConsole && (0, setupConsole_1.setupConsole)(config.getConsole);
9
- }
10
- //# sourceMappingURL=setup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setup.js","sourceRoot":"","sources":["../../src/setup/setup.ts"],"names":[],"mappings":";;AAGA,sBAGC;AAND,iDAA8C;AAC9C,uDAA8D;AAE9D,SAAgB,KAAK,CAAC,MAAM;IACxB,IAAA,2CAAyB,EAAC,MAAM,CAAC,cAAc,CAAC,CAAC;IACjD,MAAM,CAAC,UAAU,IAAI,IAAA,2BAAY,EAAC,MAAM,CAAC,UAAU,CAAC,CAAC;AACzD,CAAC","sourcesContent":["import { setupConsole } from \"./setupConsole\";\r\nimport { setupSendRequestToLLMFunc } from \"./setupLLMRequest\";\r\n\r\nexport function setup(config) {\r\n setupSendRequestToLLMFunc(config.getLLMResponse);\r\n config.getConsole && setupConsole(config.getConsole);\r\n}\r\n"]}
@@ -1 +0,0 @@
1
- export declare function setupConsole(consoleLogger: any): void;
@@ -1,23 +0,0 @@
1
- "use strict";
2
- // keep original console functions
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.setupConsole = setupConsole;
5
- function setupConsole(consoleLogger) {
6
- if (!consoleLogger) {
7
- return;
8
- }
9
- const originalConsole = global.console;
10
- const customConsole = {
11
- ...originalConsole, // 保留其他方法,如 console.info/warn
12
- log: (...args) => {
13
- consoleLogger.log(...args);
14
- originalConsole.log(...args);
15
- },
16
- error: (...args) => {
17
- consoleLogger.error(...args);
18
- originalConsole.error(...args);
19
- }
20
- };
21
- global.console = customConsole;
22
- }
23
- //# sourceMappingURL=setupConsole.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setupConsole.js","sourceRoot":"","sources":["../../src/setup/setupConsole.ts"],"names":[],"mappings":";AACA,kCAAkC;;AAElC,oCAoBC;AApBD,SAAgB,YAAY,CAAC,aAAa;IACtC,IAAI,CAAC,aAAa,EAAE,CAAC;QACjB,OAAO;IACX,CAAC;IAED,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,CAAC;IAEvC,MAAM,aAAa,GAAY;QAC3B,GAAG,eAAe,EAAE,6BAA6B;QACjD,GAAG,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE;YACpB,aAAa,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;YAC3B,eAAe,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;QACjC,CAAC;QACD,KAAK,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE;YACtB,aAAa,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;YAC7B,eAAe,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;QACnC,CAAC;KACJ,CAAC;IAEF,MAAM,CAAC,OAAO,GAAG,aAAa,CAAC;AACnC,CAAC","sourcesContent":["\r\n// keep original console functions\r\n\r\nexport function setupConsole(consoleLogger) {\r\n if (!consoleLogger) {\r\n return;\r\n }\r\n\r\n const originalConsole = global.console;\r\n\r\n const customConsole: Console = {\r\n ...originalConsole, // 保留其他方法,如 console.info/warn\r\n log: (...args: any[]) => {\r\n consoleLogger.log(...args);\r\n originalConsole.log(...args);\r\n },\r\n error: (...args: any[]) => {\r\n consoleLogger.error(...args);\r\n originalConsole.error(...args);\r\n }\r\n };\r\n\r\n global.console = customConsole;\r\n}"]}
@@ -1,2 +0,0 @@
1
- export declare let _sendRequestToLLM: any;
2
- export declare function setupSendRequestToLLMFunc(sendRequestToLLMFunc: any): void;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports._sendRequestToLLM = void 0;
4
- exports.setupSendRequestToLLMFunc = setupSendRequestToLLMFunc;
5
- const sendRequestToSelfHostLLM_1 = require("../llm/sendRequestToSelfHostLLM");
6
- exports._sendRequestToLLM = sendRequestToSelfHostLLM_1.sendRequestToSelfHostLLM;
7
- function setupSendRequestToLLMFunc(sendRequestToLLMFunc) {
8
- exports._sendRequestToLLM = sendRequestToLLMFunc;
9
- }
10
- //# sourceMappingURL=setupLLMRequest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setupLLMRequest.js","sourceRoot":"","sources":["../../src/setup/setupLLMRequest.ts"],"names":[],"mappings":";;;AAGA,8DAEC;AALD,8EAA2E;AAEhE,QAAA,iBAAiB,GAAQ,mDAAwB,CAAC;AAC7D,SAAgB,yBAAyB,CAAC,oBAAyB;IAC/D,yBAAiB,GAAG,oBAAoB,CAAC;AAC7C,CAAC","sourcesContent":["import { sendRequestToSelfHostLLM } from \"../llm/sendRequestToSelfHostLLM\";\r\n\r\nexport let _sendRequestToLLM: any = sendRequestToSelfHostLLM;\r\nexport function setupSendRequestToLLMFunc(sendRequestToLLMFunc: any) {\r\n _sendRequestToLLM = sendRequestToLLMFunc;\r\n}\r\n"]}
@@ -1,13 +0,0 @@
1
- @echo OFF
2
-
3
- IF EXIST "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\devenv.com" (
4
- SET DEVENVCOM="C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\devenv.com"
5
- ) ELSE IF EXIST "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\devenv.com" (
6
- SET DEVENVCOM="C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\devenv.com"
7
- ) ELSE IF EXIST "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.com" (
8
- SET DEVENVCOM="C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.com"
9
- ) ELSE (
10
- SET DEVENVCOM="devenv.com"
11
- )
12
-
13
- %DEVENVCOM% %*
@@ -1,13 +0,0 @@
1
- @echo OFF
2
-
3
- IF EXIST "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\devenv.exe" (
4
- SET DEVENVEXE="C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\devenv.exe"
5
- ) ELSE IF EXIST "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\devenv.exe" (
6
- SET DEVENVEXE="C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\devenv.exe"
7
- ) ELSE IF EXIST "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe" (
8
- SET DEVENVEXE="C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe"
9
- ) ELSE (
10
- SET DEVENVEXE="devenv.exe"
11
- )
12
-
13
- %DEVENVEXE% %*
@@ -1,13 +0,0 @@
1
- @echo OFF
2
-
3
- IF EXIST "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\MSbuild.exe" (
4
- SET MSBUILDEXE="C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\MSbuild.exe"
5
- ) ELSE IF EXIST "C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSbuild.exe" (
6
- SET MSBUILDEXE="C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSbuild.exe"
7
- ) ELSE IF EXIST "C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\MSbuild.exe" (
8
- SET MSBUILDEXE="C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\MSbuild.exe"
9
- ) ELSE (
10
- SET MSBUILDEXE="msbuild.exe"
11
- )
12
-
13
- %MSBUILDEXE% %*
@@ -1,13 +0,0 @@
1
- @echo OFF
2
-
3
- IF EXIST "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\Extensions\TestPlatform\vstest.console.exe" (
4
- SET VSTESTEXE="C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\Extensions\TestPlatform\vstest.console.exe"
5
- ) ELSE IF EXIST "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\vstest.console.exe" (
6
- SET VSTESTEXE="C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\vstest.console.exe"
7
- ) ELSE IF EXIST "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\Extensions\TestPlatform\vstest.console.exe" (
8
- SET VSTESTEXE="C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\Extensions\TestPlatform\vstest.console.exe"
9
- ) ELSE (
10
- SET VSTESTEXE="vstest.console.exe"
11
- )
12
-
13
- %VSTESTEXE% %*
@@ -1,11 +0,0 @@
1
- import { BuildResult } from "./buildResult";
2
- import { TestResult } from "./testResult";
3
- export interface BenchmarkRow {
4
- solutionPath: string;
5
- projectPath: string;
6
- codeFilePath: string;
7
- testFilePath: string;
8
- success: boolean;
9
- buildResult?: BuildResult;
10
- testResult?: TestResult;
11
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=benchmark.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"benchmark.js","sourceRoot":"","sources":["../../src/types/benchmark.ts"],"names":[],"mappings":"","sourcesContent":["import { BuildResult } from \"./buildResult\";\r\nimport { TestResult } from \"./testResult\";\r\n\r\nexport interface BenchmarkRow {\r\n solutionPath: string;\r\n projectPath: string;\r\n codeFilePath: string;\r\n testFilePath: string;\r\n success: boolean;\r\n buildResult?: BuildResult;\r\n testResult?: TestResult;\r\n}"]}
@@ -1,8 +0,0 @@
1
- export interface BuildResult {
2
- file: string;
3
- line: number;
4
- column: number;
5
- errorCode: string;
6
- message: string;
7
- project: string;
8
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=buildResult.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buildResult.js","sourceRoot":"","sources":["../../src/types/buildResult.ts"],"names":[],"mappings":"","sourcesContent":["export interface BuildResult {\r\n file: string;\r\n line: number;\r\n column: number;\r\n errorCode: string;\r\n message: string;\r\n project: string;\r\n}\r\n"]}
@@ -1,6 +0,0 @@
1
- export declare const CSVSPLUGIN = "csvsplugin";
2
- export declare const CSHARPUTGEN = "csharpUtGen";
3
- export declare const CSVSCODEPLUGIN = "csVsCodePlugin";
4
- export declare const MSTESTFRAMEWORK = "MSTest";
5
- export declare const NUNITTESTFRAMEWORK = "NUnit";
6
- export declare const XUNITTESTFRAMEWORK = "xUnit";
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.XUNITTESTFRAMEWORK = exports.NUNITTESTFRAMEWORK = exports.MSTESTFRAMEWORK = exports.CSVSCODEPLUGIN = exports.CSHARPUTGEN = exports.CSVSPLUGIN = void 0;
4
- exports.CSVSPLUGIN = 'csvsplugin';
5
- exports.CSHARPUTGEN = 'csharpUtGen';
6
- exports.CSVSCODEPLUGIN = 'csVsCodePlugin';
7
- exports.MSTESTFRAMEWORK = 'MSTest';
8
- exports.NUNITTESTFRAMEWORK = 'NUnit';
9
- exports.XUNITTESTFRAMEWORK = 'xUnit';
10
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/types/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG,YAAY,CAAC;AAC1B,QAAA,WAAW,GAAG,aAAa,CAAC;AAC5B,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAClC,QAAA,eAAe,GAAG,QAAQ,CAAC;AAC3B,QAAA,kBAAkB,GAAG,OAAO,CAAC;AAC7B,QAAA,kBAAkB,GAAG,OAAO,CAAC","sourcesContent":["export const CSVSPLUGIN = 'csvsplugin';\r\nexport const CSHARPUTGEN = 'csharpUtGen';\r\nexport const CSVSCODEPLUGIN = 'csVsCodePlugin';\r\nexport const MSTESTFRAMEWORK = 'MSTest';\r\nexport const NUNITTESTFRAMEWORK = 'NUnit';\r\nexport const XUNITTESTFRAMEWORK = 'xUnit';"]}
@@ -1,10 +0,0 @@
1
- import { BuildResult } from "./buildResult";
2
- import { TestResult } from "./testResult";
3
- export interface GenResult {
4
- testFilePath: string;
5
- testProjectPath: string;
6
- codeFilePath: string;
7
- success: boolean;
8
- buildResult?: BuildResult;
9
- testResult?: TestResult;
10
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=genResult.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"genResult.js","sourceRoot":"","sources":["../../src/types/genResult.ts"],"names":[],"mappings":"","sourcesContent":["import { BuildResult } from \"./buildResult\";\r\nimport { TestResult } from \"./testResult\";\r\n\r\nexport interface GenResult {\r\n testFilePath: string;\r\n testProjectPath: string;\r\n codeFilePath: string;\r\n success: boolean;\r\n buildResult?: BuildResult;\r\n testResult?: TestResult;\r\n}\r\n"]}
@@ -1,12 +0,0 @@
1
- export interface FailedTest {
2
- name: string;
3
- errorMessage: string;
4
- stackTrace: string;
5
- }
6
- export interface TestResult {
7
- passedTests: string[];
8
- failedTests: FailedTest[];
9
- totalTests?: number;
10
- passed?: number;
11
- failed?: number;
12
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=testResult.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"testResult.js","sourceRoot":"","sources":["../../src/types/testResult.ts"],"names":[],"mappings":"","sourcesContent":["export interface FailedTest {\r\n name: string;\r\n errorMessage: string;\r\n stackTrace: string;\r\n}\r\n\r\nexport interface TestResult {\r\n passedTests: string[];\r\n failedTests: FailedTest[];\r\n totalTests?: number;\r\n passed?: number;\r\n failed?: number;\r\n}\r\n"]}
@@ -1,8 +0,0 @@
1
- import { BuildResult } from "./buildResult";
2
- import { TestResult } from "./testResult";
3
- export interface VerifyResult {
4
- success: boolean;
5
- message: string;
6
- buildErrors: BuildResult[];
7
- testResult: TestResult;
8
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=verifyResult.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"verifyResult.js","sourceRoot":"","sources":["../../src/types/verifyResult.ts"],"names":[],"mappings":"","sourcesContent":["import { BuildResult } from \"./buildResult\";\r\nimport { TestResult } from \"./testResult\";\r\n\r\nexport interface VerifyResult {\r\n success: boolean;\r\n message: string;\r\n buildErrors: BuildResult[];\r\n testResult: TestResult;\r\n}\r\n"]}
@@ -1,2 +0,0 @@
1
- export declare function isTestProject(csprojPath: string): boolean;
2
- export declare function checkTestProject(csprojPath: string): boolean;
@@ -1,79 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.isTestProject = isTestProject;
37
- exports.checkTestProject = checkTestProject;
38
- const fs = __importStar(require("fs"));
39
- const path = __importStar(require("path"));
40
- const fast_xml_parser_1 = require("fast-xml-parser");
41
- function isTestProject(csprojPath) {
42
- const xml = fs.readFileSync(csprojPath, 'utf-8');
43
- const parser = new fast_xml_parser_1.XMLParser({ ignoreAttributes: false, attributeNamePrefix: '' });
44
- const parsed = parser.parse(xml);
45
- const itemGroups = parsed.Project?.ItemGroup ?? [];
46
- const groups = Array.isArray(itemGroups) ? itemGroups : [itemGroups];
47
- const testFrameworks = [
48
- 'Microsoft.NET.Test.Sdk',
49
- 'xunit',
50
- 'nunit',
51
- 'MSTest.TestAdapter',
52
- 'MSTest.TestFramework',
53
- 'NUnit3TestAdapter',
54
- ];
55
- for (const group of groups) {
56
- const packages = group.PackageReference;
57
- if (!packages)
58
- continue;
59
- const packageArray = Array.isArray(packages) ? packages : [packages];
60
- for (const pkg of packageArray) {
61
- const pkgName = pkg.Include;
62
- if (pkgName && testFrameworks.some(name => pkgName.toLowerCase().includes(name.toLowerCase()))) {
63
- return true;
64
- }
65
- }
66
- }
67
- return false;
68
- }
69
- function checkTestProject(csprojPath) {
70
- try {
71
- const isPathLikelyTest = /[/\\](test|tests)[/\\]?/i.test(csprojPath) || /test/i.test(path.basename(csprojPath));
72
- return isTestProject(csprojPath) && isPathLikelyTest;
73
- }
74
- catch (error) {
75
- console.error(`Error checking test project for ${csprojPath}:`, error);
76
- return false;
77
- }
78
- }
79
- //# sourceMappingURL=checkTestProject.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkTestProject.js","sourceRoot":"","sources":["../../src/utils/checkTestProject.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,sCAgCC;AAED,4CAQC;AA/CD,uCAAyB;AACzB,2CAA6B;AAE7B,qDAA4C;AAE5C,SAAgB,aAAa,CAAC,UAAkB;IAC5C,MAAM,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IACjD,MAAM,MAAM,GAAG,IAAI,2BAAS,CAAC,EAAE,gBAAgB,EAAE,KAAK,EAAE,mBAAmB,EAAE,EAAE,EAAE,CAAC,CAAC;IACnF,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAEjC,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,EAAE,SAAS,IAAI,EAAE,CAAC;IACnD,MAAM,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;IAErE,MAAM,cAAc,GAAG;QACnB,wBAAwB;QACxB,OAAO;QACP,OAAO;QACP,oBAAoB;QACpB,sBAAsB;QACtB,mBAAmB;KACtB,CAAC;IAEF,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QACzB,MAAM,QAAQ,GAAG,KAAK,CAAC,gBAAgB,CAAC;QACxC,IAAI,CAAC,QAAQ;YAAE,SAAS;QAExB,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;QAErE,KAAK,MAAM,GAAG,IAAI,YAAY,EAAE,CAAC;YAC7B,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;YAC5B,IAAI,OAAO,IAAI,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC;gBAC7F,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IAED,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,gBAAgB,CAAC,UAAkB;IAC/C,IAAI,CAAC;QACD,MAAM,gBAAgB,GAAG,0BAA0B,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC;QAChH,OAAO,aAAa,CAAC,UAAU,CAAC,IAAI,gBAAgB,CAAC;IACzD,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,OAAO,CAAC,KAAK,CAAC,mCAAmC,UAAU,GAAG,EAAE,KAAK,CAAC,CAAC;QACvE,OAAO,KAAK,CAAC;IACjB,CAAC;AACL,CAAC","sourcesContent":["import * as fs from 'fs';\r\nimport * as path from 'path';\r\n\r\nimport { XMLParser } from 'fast-xml-parser';\r\n\r\nexport function isTestProject(csprojPath: string): boolean {\r\n const xml = fs.readFileSync(csprojPath, 'utf-8');\r\n const parser = new XMLParser({ ignoreAttributes: false, attributeNamePrefix: '' });\r\n const parsed = parser.parse(xml);\r\n\r\n const itemGroups = parsed.Project?.ItemGroup ?? [];\r\n const groups = Array.isArray(itemGroups) ? itemGroups : [itemGroups];\r\n\r\n const testFrameworks = [\r\n 'Microsoft.NET.Test.Sdk',\r\n 'xunit',\r\n 'nunit',\r\n 'MSTest.TestAdapter',\r\n 'MSTest.TestFramework',\r\n 'NUnit3TestAdapter',\r\n ];\r\n\r\n for (const group of groups) {\r\n const packages = group.PackageReference;\r\n if (!packages) continue;\r\n\r\n const packageArray = Array.isArray(packages) ? packages : [packages];\r\n\r\n for (const pkg of packageArray) {\r\n const pkgName = pkg.Include;\r\n if (pkgName && testFrameworks.some(name => pkgName.toLowerCase().includes(name.toLowerCase()))) {\r\n return true;\r\n }\r\n }\r\n }\r\n\r\n return false;\r\n}\r\n\r\nexport function checkTestProject(csprojPath: string): boolean {\r\n try {\r\n const isPathLikelyTest = /[/\\\\](test|tests)[/\\\\]?/i.test(csprojPath) || /test/i.test(path.basename(csprojPath));\r\n return isTestProject(csprojPath) && isPathLikelyTest;\r\n } catch (error) {\r\n console.error(`Error checking test project for ${csprojPath}:`, error);\r\n return false;\r\n }\r\n}"]}
@@ -1,2 +0,0 @@
1
- export declare function checkXapCodeInterface(codePath: string): boolean;
2
- export declare function checkXapCode(code: string): boolean;
@@ -1,59 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.checkXapCodeInterface = checkXapCodeInterface;
37
- exports.checkXapCode = checkXapCode;
38
- const fs = __importStar(require("fs"));
39
- const XapInterfaces = [
40
- "IPlugin",
41
- "IConditionPlugin",
42
- "Workflow",
43
- "IExperiment",
44
- "IPluginDataStore",
45
- "IAsyncPlugin"
46
- ];
47
- function checkXapCodeInterface(codePath) {
48
- try {
49
- const content = fs.readFileSync(codePath, 'utf-8');
50
- return XapInterfaces.some(iface => content.includes(`:${iface}`) || content.includes(`: ${iface}`));
51
- }
52
- catch (err) {
53
- return false;
54
- }
55
- }
56
- function checkXapCode(code) {
57
- return code.includes('using Xap.PluginFramework;');
58
- }
59
- //# sourceMappingURL=checkXapCode.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkXapCode.js","sourceRoot":"","sources":["../../src/utils/checkXapCode.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,sDAOC;AAED,oCAEC;AAtBD,uCAAyB;AAEzB,MAAM,aAAa,GAAG;IAClB,SAAS;IACT,kBAAkB;IAClB,UAAU;IACV,aAAa;IACb,kBAAkB;IAClB,cAAc;CACjB,CAAC;AAEF,SAAgB,qBAAqB,CAAC,QAAgB;IAClD,IAAI,CAAC;QACD,MAAM,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACnD,OAAO,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,IAAI,OAAO,CAAC,QAAQ,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC;IACxG,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACX,OAAO,KAAK,CAAC;IACjB,CAAC;AACL,CAAC;AAED,SAAgB,YAAY,CAAC,IAAY;IACrC,OAAO,IAAI,CAAC,QAAQ,CAAC,4BAA4B,CAAC,CAAC;AACvD,CAAC","sourcesContent":["import * as fs from 'fs';\r\n\r\nconst XapInterfaces = [\r\n \"IPlugin\",\r\n \"IConditionPlugin\",\r\n \"Workflow\",\r\n \"IExperiment\",\r\n \"IPluginDataStore\",\r\n \"IAsyncPlugin\"\r\n];\r\n\r\nexport function checkXapCodeInterface(codePath: string): boolean {\r\n try {\r\n const content = fs.readFileSync(codePath, 'utf-8');\r\n return XapInterfaces.some(iface => content.includes(`:${iface}`) || content.includes(`: ${iface}`));\r\n } catch (err) {\r\n return false;\r\n }\r\n}\r\n\r\nexport function checkXapCode(code: string): boolean {\r\n return code.includes('using Xap.PluginFramework;');\r\n}"]}
@@ -1 +0,0 @@
1
- export declare function delay(ms: number): Promise<unknown>;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.delay = delay;
4
- function delay(ms) {
5
- return new Promise(resolve => setTimeout(resolve, ms));
6
- }
7
- //# sourceMappingURL=delay.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"delay.js","sourceRoot":"","sources":["../../src/utils/delay.ts"],"names":[],"mappings":";;AAAA,sBAEC;AAFD,SAAgB,KAAK,CAAC,EAAU;IAC5B,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;AAC3D,CAAC","sourcesContent":["export function delay(ms: number) {\r\n return new Promise(resolve => setTimeout(resolve, ms));\r\n}"]}
@@ -1 +0,0 @@
1
- export declare function detectTestFramework(csprojPath: string): string;
@@ -1,33 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.detectTestFramework = detectTestFramework;
7
- const fs_1 = __importDefault(require("fs"));
8
- const constants_1 = require("../types/constants");
9
- function detectTestFramework(csprojPath) {
10
- const frameworks = [];
11
- const csprojXml = fs_1.default.readFileSync(csprojPath, "utf-8");
12
- if (/PackageReference.+Include\s*=\s*["']MSTest\.TestFramework["']/i.test(csprojXml) ||
13
- /PackageReference.+Include\s*=\s*["']MSTest\.TestAdapter["']/i.test(csprojXml)) {
14
- return constants_1.MSTESTFRAMEWORK;
15
- }
16
- if (/PackageReference.+Include\s*=\s*["']NUnit["']/i.test(csprojXml) ||
17
- /PackageReference.+Include\s*=\s*["']NUnit3TestAdapter["']/i.test(csprojXml)) {
18
- return constants_1.NUNITTESTFRAMEWORK;
19
- }
20
- if (/PackageReference.+Include\s*=\s*["']xunit["']/i.test(csprojXml)) {
21
- return constants_1.XUNITTESTFRAMEWORK;
22
- }
23
- if (frameworks.length === 0) {
24
- console.error(`No recognized test framework found in ${csprojPath}. Defaulting to 'MSTest'.`);
25
- }
26
- return constants_1.MSTESTFRAMEWORK;
27
- }
28
- // detectTestFramework("D:\\code\\AIUnitTestExample\\test\\ToListinator.Tests\\ToListinator.Tests.csproj").forEach(framework => {
29
- // console.log(`Detected test framework: ${framework}`);
30
- // });
31
- // const test = detectTestFramework("D:\\code\\CS.Service.Fundamental\\SharedSegments\\SharedSegments\\SharedSegments.Plugins\\SharedSegments.Plugins.csproj");
32
- // console.log(`Detected test framework: ${test}`);
33
- //# sourceMappingURL=detectTestFramework.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"detectTestFramework.js","sourceRoot":"","sources":["../../src/utils/detectTestFramework.ts"],"names":[],"mappings":";;;;;AAGA,kDAuBC;AA1BD,4CAAoB;AACpB,kDAA6F;AAE7F,SAAgB,mBAAmB,CAAC,UAAkB;IACrD,MAAM,UAAU,GAAa,EAAE,CAAC;IAChC,MAAM,SAAS,GAAG,YAAE,CAAC,YAAY,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAEvD,IAAI,gEAAgE,CAAC,IAAI,CAAC,SAAS,CAAC;QACnF,8DAA8D,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;QACjF,OAAO,2BAAe,CAAC;IACxB,CAAC;IAED,IAAI,gDAAgD,CAAC,IAAI,CAAC,SAAS,CAAC;QACnE,4DAA4D,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;QAC/E,OAAO,8BAAkB,CAAC;IAC3B,CAAC;IAED,IAAI,gDAAgD,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;QACtE,OAAO,8BAAkB,CAAC;IAC3B,CAAC;IAED,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC7B,OAAO,CAAC,KAAK,CAAC,yCAAyC,UAAU,2BAA2B,CAAC,CAAC;IAC/F,CAAC;IAED,OAAO,2BAAe,CAAC;AACxB,CAAC;AAED,iIAAiI;AACjI,0DAA0D;AAC1D,MAAM;AAEN,+JAA+J;AAC/J,mDAAmD","sourcesContent":["import fs from 'fs';\r\nimport { MSTESTFRAMEWORK, NUNITTESTFRAMEWORK, XUNITTESTFRAMEWORK } from '../types/constants';\r\n\r\nexport function detectTestFramework(csprojPath: string): string {\r\n\tconst frameworks: string[] = [];\r\n\tconst csprojXml = fs.readFileSync(csprojPath, \"utf-8\");\r\n\r\n\tif (/PackageReference.+Include\\s*=\\s*[\"']MSTest\\.TestFramework[\"']/i.test(csprojXml) ||\r\n\t\t/PackageReference.+Include\\s*=\\s*[\"']MSTest\\.TestAdapter[\"']/i.test(csprojXml)) {\r\n\t\treturn MSTESTFRAMEWORK;\r\n\t}\r\n\r\n\tif (/PackageReference.+Include\\s*=\\s*[\"']NUnit[\"']/i.test(csprojXml) ||\r\n\t\t/PackageReference.+Include\\s*=\\s*[\"']NUnit3TestAdapter[\"']/i.test(csprojXml)) {\r\n\t\treturn NUNITTESTFRAMEWORK;\r\n\t}\r\n\r\n\tif (/PackageReference.+Include\\s*=\\s*[\"']xunit[\"']/i.test(csprojXml)) {\r\n\t\treturn XUNITTESTFRAMEWORK;\r\n\t}\r\n\r\n\tif (frameworks.length === 0) {\r\n\t\tconsole.error(`No recognized test framework found in ${csprojPath}. Defaulting to 'MSTest'.`);\r\n\t}\r\n\r\n\treturn MSTESTFRAMEWORK;\r\n}\r\n\r\n// detectTestFramework(\"D:\\\\code\\\\AIUnitTestExample\\\\test\\\\ToListinator.Tests\\\\ToListinator.Tests.csproj\").forEach(framework => {\r\n// console.log(`Detected test framework: ${framework}`);\r\n// });\r\n\r\n// const test = detectTestFramework(\"D:\\\\code\\\\CS.Service.Fundamental\\\\SharedSegments\\\\SharedSegments\\\\SharedSegments.Plugins\\\\SharedSegments.Plugins.csproj\");\r\n// console.log(`Detected test framework: ${test}`);"]}
@@ -1,2 +0,0 @@
1
- export declare function writeTestCode(testCode: string, testFilePath: string): void;
2
- export declare function deleteTestFileIfExists(testFilePath: string): void;
@@ -1,42 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.writeTestCode = writeTestCode;
7
- exports.deleteTestFileIfExists = deleteTestFileIfExists;
8
- const fs_1 = __importDefault(require("fs"));
9
- // split test file path detection out to a separate function
10
- function writeTestCode(testCode, testFilePath) {
11
- const validTestCode = !!testCode ? testCode : '';
12
- // Write the test code to the specified file
13
- try {
14
- fs_1.default.writeFileSync(testFilePath, validTestCode, 'utf8');
15
- }
16
- catch (error) {
17
- console.error(`Failed to write test code: ${error.message}`);
18
- // categorize the error based on its code
19
- if (error.code === 'EACCES') {
20
- console.error('can not write to the file, permission denied.');
21
- }
22
- else if (error.code === 'ENOENT') {
23
- console.error(`can not write to the file, file or directory does not exist: ${testFilePath}`);
24
- }
25
- else {
26
- console.error('unknown error:', error.message);
27
- }
28
- }
29
- }
30
- function deleteTestFileIfExists(testFilePath) {
31
- if (fs_1.default.existsSync(testFilePath)) {
32
- fs_1.default.unlink(testFilePath, (err) => {
33
- if (err) {
34
- console.error(`Failed to delete test file: ${err.message}`);
35
- }
36
- else {
37
- console.log(`Deleted test file: ${testFilePath}`);
38
- }
39
- });
40
- }
41
- }
42
- //# sourceMappingURL=fileUtils.js.map