devbrain-cli 0.1.0 → 0.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.
Files changed (766) hide show
  1. package/README.md +26 -26
  2. package/dist/bin.js +66 -4
  3. package/dist/commands/context.command.d.ts +2 -1
  4. package/dist/commands/context.command.js +42 -4
  5. package/dist/commands/history.command.d.ts +10 -0
  6. package/dist/commands/history.command.js +66 -0
  7. package/dist/commands/hook.command.d.ts +14 -0
  8. package/dist/commands/hook.command.js +40 -0
  9. package/dist/commands/init.command.d.ts +1 -0
  10. package/dist/commands/init.command.js +51 -15
  11. package/dist/commands/learn.command.d.ts +17 -4
  12. package/dist/commands/learn.command.js +266 -44
  13. package/dist/commands/search.command.d.ts +14 -0
  14. package/dist/commands/search.command.js +90 -0
  15. package/dist/commands/status.command.d.ts +12 -0
  16. package/dist/commands/status.command.js +82 -0
  17. package/dist/temp-prefix/devbrain +16 -0
  18. package/dist/temp-prefix/devbrain.cmd +17 -0
  19. package/dist/temp-prefix/devbrain.ps1 +28 -0
  20. package/dist/temp-prefix/node_modules/devbrain-cli/LICENSE +21 -0
  21. package/dist/temp-prefix/node_modules/devbrain-cli/README.md +26 -0
  22. package/dist/temp-prefix/node_modules/devbrain-cli/dist/bin.d.ts +2 -0
  23. package/dist/temp-prefix/node_modules/devbrain-cli/dist/bin.js +110 -0
  24. package/dist/temp-prefix/node_modules/devbrain-cli/dist/commands/context.command.d.ts +17 -0
  25. package/dist/temp-prefix/node_modules/devbrain-cli/dist/commands/context.command.js +74 -0
  26. package/dist/temp-prefix/node_modules/devbrain-cli/dist/commands/history.command.d.ts +10 -0
  27. package/dist/temp-prefix/node_modules/devbrain-cli/dist/commands/history.command.js +66 -0
  28. package/dist/temp-prefix/node_modules/devbrain-cli/dist/commands/hook.command.d.ts +14 -0
  29. package/dist/temp-prefix/node_modules/devbrain-cli/dist/commands/hook.command.js +40 -0
  30. package/dist/temp-prefix/node_modules/devbrain-cli/dist/commands/init.command.d.ts +17 -0
  31. package/dist/temp-prefix/node_modules/devbrain-cli/dist/commands/init.command.js +93 -0
  32. package/dist/temp-prefix/node_modules/devbrain-cli/dist/commands/learn.command.d.ts +30 -0
  33. package/dist/temp-prefix/node_modules/devbrain-cli/dist/commands/learn.command.js +294 -0
  34. package/dist/temp-prefix/node_modules/devbrain-cli/dist/commands/search.command.d.ts +14 -0
  35. package/dist/temp-prefix/node_modules/devbrain-cli/dist/commands/search.command.js +90 -0
  36. package/dist/temp-prefix/node_modules/devbrain-cli/dist/commands/status.command.d.ts +12 -0
  37. package/dist/temp-prefix/node_modules/devbrain-cli/dist/commands/status.command.js +82 -0
  38. package/dist/temp-prefix/node_modules/devbrain-cli/dist/pipeline/command.pipeline.d.ts +28 -0
  39. package/dist/temp-prefix/node_modules/devbrain-cli/dist/pipeline/command.pipeline.js +65 -0
  40. package/dist/temp-prefix/node_modules/devbrain-cli/dist/ui/logger.d.ts +13 -0
  41. package/dist/temp-prefix/node_modules/devbrain-cli/dist/ui/logger.js +31 -0
  42. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/.bin/fxparser +16 -0
  43. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/.bin/fxparser.cmd +17 -0
  44. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/.bin/fxparser.ps1 +28 -0
  45. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzer.interface.d.ts +10 -0
  46. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzer.interface.js +2 -0
  47. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzer.registry.d.ts +20 -0
  48. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzer.registry.js +67 -0
  49. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzers/build-gradle.analyzer.d.ts +14 -0
  50. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzers/build-gradle.analyzer.js +53 -0
  51. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzers/docker.analyzer.d.ts +14 -0
  52. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzers/docker.analyzer.js +38 -0
  53. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzers/git.analyzer.d.ts +14 -0
  54. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzers/git.analyzer.js +54 -0
  55. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzers/package-json.analyzer.d.ts +14 -0
  56. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzers/package-json.analyzer.js +72 -0
  57. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzers/pom-xml.analyzer.d.ts +14 -0
  58. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzers/pom-xml.analyzer.js +70 -0
  59. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzers/readme.analyzer.d.ts +17 -0
  60. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzers/readme.analyzer.js +65 -0
  61. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzers/requirements-txt.analyzer.d.ts +14 -0
  62. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzers/requirements-txt.analyzer.js +62 -0
  63. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzers/source-code.analyzer.d.ts +24 -0
  64. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzers/source-code.analyzer.js +126 -0
  65. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzers/tsconfig.analyzer.d.ts +14 -0
  66. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/analyzers/tsconfig.analyzer.js +47 -0
  67. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/scanner.d.ts +21 -0
  68. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/analysis/scanner.js +81 -0
  69. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/context/context.service.d.ts +16 -0
  70. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/context/context.service.js +158 -0
  71. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/embeddings/EmbeddingProvider.d.ts +4 -0
  72. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/embeddings/EmbeddingProvider.js +2 -0
  73. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/embeddings/TransformersProvider.d.ts +9 -0
  74. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/embeddings/TransformersProvider.js +70 -0
  75. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/engine/dependency.resolver.d.ts +12 -0
  76. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/engine/dependency.resolver.js +101 -0
  77. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/engine/history.manager.d.ts +24 -0
  78. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/engine/history.manager.js +64 -0
  79. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/engine/lock.manager.d.ts +21 -0
  80. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/engine/lock.manager.js +89 -0
  81. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/engine/logger.service.d.ts +16 -0
  82. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/engine/logger.service.js +49 -0
  83. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/engine/memory.engine.d.ts +30 -0
  84. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/engine/memory.engine.js +200 -0
  85. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/filesystem/filesystem.service.d.ts +29 -0
  86. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/filesystem/filesystem.service.js +87 -0
  87. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/git/git.service.d.ts +42 -0
  88. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/git/git.service.js +192 -0
  89. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/index/SQLiteVectorStore.d.ts +19 -0
  90. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/index/SQLiteVectorStore.js +189 -0
  91. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/index/VectorIndexer.d.ts +20 -0
  92. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/index/VectorIndexer.js +169 -0
  93. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/index/VectorStore.d.ts +26 -0
  94. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/index/VectorStore.js +2 -0
  95. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/index.d.ts +29 -0
  96. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/index.js +29 -0
  97. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/memory/memory.service.d.ts +22 -0
  98. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/memory/memory.service.js +338 -0
  99. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/retrieval/ContextBuilder.d.ts +4 -0
  100. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/retrieval/ContextBuilder.js +107 -0
  101. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/retrieval/RankingEngine.d.ts +13 -0
  102. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/retrieval/RankingEngine.js +124 -0
  103. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/retrieval/SemanticRetriever.d.ts +17 -0
  104. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/dist/retrieval/SemanticRetriever.js +48 -0
  105. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/core/package.json +23 -0
  106. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/shared/dist/constants.d.ts +14 -0
  107. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/shared/dist/constants.js +24 -0
  108. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/shared/dist/errors.d.ts +38 -0
  109. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/shared/dist/errors.js +64 -0
  110. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/shared/dist/index.d.ts +3 -0
  111. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/shared/dist/index.js +4 -0
  112. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/shared/dist/types.d.ts +97 -0
  113. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/shared/dist/types.js +2 -0
  114. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@devbrain/shared/package.json +14 -0
  115. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@kwsites/file-exists/CHANGELOG.md +12 -0
  116. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@kwsites/file-exists/LICENSE +20 -0
  117. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@kwsites/file-exists/dist/index.d.ts +1 -0
  118. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@kwsites/file-exists/dist/index.js +7 -0
  119. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@kwsites/file-exists/dist/src/index.d.ts +19 -0
  120. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@kwsites/file-exists/dist/src/index.js +55 -0
  121. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@kwsites/file-exists/dist/test/__mocks__/fs.d.ts +7 -0
  122. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@kwsites/file-exists/dist/test/__mocks__/fs.js +26 -0
  123. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@kwsites/file-exists/dist/test/exists.spec.d.ts +1 -0
  124. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@kwsites/file-exists/dist/test/exists.spec.js +77 -0
  125. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@kwsites/file-exists/package.json +42 -0
  126. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@kwsites/file-exists/readme.md +41 -0
  127. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@kwsites/promise-deferred/LICENSE +21 -0
  128. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@kwsites/promise-deferred/dist/index.d.ts +49 -0
  129. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@kwsites/promise-deferred/dist/index.js +59 -0
  130. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@kwsites/promise-deferred/package.json +43 -0
  131. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodable/entities/README.md +41 -0
  132. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodable/entities/package.json +57 -0
  133. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodable/entities/src/EntityDecoder.js +644 -0
  134. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodable/entities/src/EntityEncoder.js +194 -0
  135. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodable/entities/src/entities.js +1159 -0
  136. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodable/entities/src/entityTries.js +49 -0
  137. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodable/entities/src/index.d.ts +341 -0
  138. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodable/entities/src/index.js +29 -0
  139. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/LICENSE +21 -0
  140. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/README.md +171 -0
  141. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
  142. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +19 -0
  143. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/constants.d.ts +4 -0
  144. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/constants.js +17 -0
  145. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/index.d.ts +12 -0
  146. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/index.js +26 -0
  147. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
  148. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/providers/async.js +104 -0
  149. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +1 -0
  150. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/providers/common.js +13 -0
  151. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +5 -0
  152. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/providers/sync.js +54 -0
  153. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/settings.d.ts +20 -0
  154. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/settings.js +24 -0
  155. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
  156. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/types/index.js +2 -0
  157. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +2 -0
  158. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/utils/fs.js +19 -0
  159. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +2 -0
  160. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/out/utils/index.js +5 -0
  161. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.scandir/package.json +44 -0
  162. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.stat/LICENSE +21 -0
  163. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.stat/README.md +126 -0
  164. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
  165. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.stat/out/adapters/fs.js +17 -0
  166. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.stat/out/index.d.ts +12 -0
  167. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.stat/out/index.js +26 -0
  168. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
  169. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.stat/out/providers/async.js +36 -0
  170. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +3 -0
  171. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.stat/out/providers/sync.js +23 -0
  172. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.stat/out/settings.d.ts +16 -0
  173. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.stat/out/settings.js +16 -0
  174. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.stat/out/types/index.d.ts +4 -0
  175. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.stat/out/types/index.js +2 -0
  176. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.stat/package.json +37 -0
  177. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/LICENSE +21 -0
  178. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/README.md +215 -0
  179. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/index.d.ts +14 -0
  180. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/index.js +34 -0
  181. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
  182. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/providers/async.js +30 -0
  183. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +4 -0
  184. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/providers/index.js +9 -0
  185. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +12 -0
  186. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/providers/stream.js +34 -0
  187. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +10 -0
  188. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/providers/sync.js +14 -0
  189. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
  190. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/readers/async.js +97 -0
  191. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +7 -0
  192. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/readers/common.js +31 -0
  193. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
  194. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/readers/reader.js +11 -0
  195. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +15 -0
  196. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/readers/sync.js +59 -0
  197. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/settings.d.ts +30 -0
  198. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/settings.js +26 -0
  199. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/types/index.d.ts +8 -0
  200. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/out/types/index.js +2 -0
  201. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@nodelib/fs.walk/package.json +44 -0
  202. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/args-pathspec/dist/index.cjs +2 -0
  203. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/args-pathspec/dist/index.d.ts +1 -0
  204. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/args-pathspec/dist/index.mjs +17 -0
  205. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/args-pathspec/dist/src/pathspec.d.ts +8 -0
  206. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/args-pathspec/package.json +32 -0
  207. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/index.cjs +2 -0
  208. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/index.d.ts +5 -0
  209. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/index.mjs +463 -0
  210. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/src/args/parse-argv.d.ts +6 -0
  211. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/src/args/parse-argv.types.d.ts +59 -0
  212. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/src/config/analyse-config.d.ts +3 -0
  213. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/src/config/config-operands.d.ts +4 -0
  214. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/src/config/config.types.d.ts +6 -0
  215. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/src/config/detect-config-action.d.ts +13 -0
  216. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/src/env/parse-env.d.ts +6 -0
  217. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/src/flags/flags.helpers.d.ts +9 -0
  218. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/src/flags/parse-global-flags.d.ts +6 -0
  219. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/src/flags/parse-task-flags.d.ts +8 -0
  220. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/src/tokens/flag-specs.d.ts +9 -0
  221. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/src/tokens/token-expander.d.ts +7 -0
  222. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/detect-vulnerable-config-writes.d.ts +3 -0
  223. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/detect-vulnerable-flags.d.ts +3 -0
  224. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/vulnerability-analysis.d.ts +4 -0
  225. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/vulnerability-check.d.ts +5 -0
  226. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/vulnerability.types.d.ts +104 -0
  227. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/@simple-git/argv-parser/package.json +36 -0
  228. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/ansi-regex/index.d.ts +33 -0
  229. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/ansi-regex/index.js +14 -0
  230. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/ansi-regex/license +9 -0
  231. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/ansi-regex/package.json +61 -0
  232. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/ansi-regex/readme.md +66 -0
  233. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/anynum/LICENSE +21 -0
  234. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/anynum/README.md +142 -0
  235. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/anynum/anynum.js +135 -0
  236. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/anynum/digitTable.js +116 -0
  237. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/anynum/package.json +42 -0
  238. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/braces/LICENSE +21 -0
  239. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/braces/README.md +586 -0
  240. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/braces/index.js +170 -0
  241. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/braces/lib/compile.js +60 -0
  242. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/braces/lib/constants.js +57 -0
  243. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/braces/lib/expand.js +113 -0
  244. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/braces/lib/parse.js +331 -0
  245. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/braces/lib/stringify.js +32 -0
  246. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/braces/lib/utils.js +122 -0
  247. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/braces/package.json +77 -0
  248. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/chalk/license +9 -0
  249. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/chalk/package.json +83 -0
  250. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/chalk/readme.md +297 -0
  251. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/chalk/source/index.d.ts +325 -0
  252. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/chalk/source/index.js +225 -0
  253. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/chalk/source/utilities.js +33 -0
  254. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  255. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  256. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  257. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
  258. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  259. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/chalk/source/vendor/supports-color/index.js +190 -0
  260. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/cli-cursor/index.d.ts +47 -0
  261. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/cli-cursor/index.js +39 -0
  262. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/cli-cursor/license +9 -0
  263. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/cli-cursor/package.json +56 -0
  264. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/cli-cursor/readme.md +39 -0
  265. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/cli-spinners/index.d.ts +128 -0
  266. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/cli-spinners/index.js +15 -0
  267. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/cli-spinners/license +9 -0
  268. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/cli-spinners/package.json +50 -0
  269. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/cli-spinners/readme.md +54 -0
  270. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/cli-spinners/spinners.json +1622 -0
  271. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/commander/LICENSE +22 -0
  272. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/commander/Readme.md +1157 -0
  273. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/commander/esm.mjs +16 -0
  274. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/commander/index.js +24 -0
  275. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/commander/lib/argument.js +149 -0
  276. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/commander/lib/command.js +2509 -0
  277. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/commander/lib/error.js +39 -0
  278. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/commander/lib/help.js +520 -0
  279. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/commander/lib/option.js +330 -0
  280. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/commander/lib/suggestSimilar.js +101 -0
  281. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/commander/package-support.json +16 -0
  282. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/commander/package.json +84 -0
  283. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/commander/typings/esm.d.mts +3 -0
  284. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/commander/typings/index.d.ts +969 -0
  285. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/debug/LICENSE +20 -0
  286. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/debug/README.md +481 -0
  287. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/debug/package.json +64 -0
  288. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/debug/src/browser.js +272 -0
  289. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/debug/src/common.js +292 -0
  290. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/debug/src/index.js +10 -0
  291. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/debug/src/node.js +263 -0
  292. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  293. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/emoji-regex/README.md +107 -0
  294. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/emoji-regex/index.d.ts +3 -0
  295. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/emoji-regex/index.js +4 -0
  296. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/emoji-regex/index.mjs +4 -0
  297. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/emoji-regex/package.json +45 -0
  298. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/LICENSE +21 -0
  299. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/README.md +830 -0
  300. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/index.d.ts +40 -0
  301. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/index.js +102 -0
  302. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/managers/tasks.d.ts +22 -0
  303. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/managers/tasks.js +110 -0
  304. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/async.d.ts +9 -0
  305. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/async.js +23 -0
  306. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/filters/deep.d.ts +16 -0
  307. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/filters/deep.js +62 -0
  308. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/filters/entry.d.ts +17 -0
  309. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/filters/entry.js +85 -0
  310. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/filters/error.d.ts +8 -0
  311. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/filters/error.js +15 -0
  312. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/matchers/matcher.d.ts +33 -0
  313. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/matchers/matcher.js +45 -0
  314. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/matchers/partial.d.ts +4 -0
  315. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/matchers/partial.js +38 -0
  316. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/provider.d.ts +19 -0
  317. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/provider.js +48 -0
  318. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/stream.d.ts +11 -0
  319. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/stream.js +31 -0
  320. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/sync.d.ts +9 -0
  321. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/sync.js +23 -0
  322. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/transformers/entry.d.ts +8 -0
  323. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/providers/transformers/entry.js +26 -0
  324. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/readers/async.d.ts +10 -0
  325. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/readers/async.js +35 -0
  326. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/readers/reader.d.ts +15 -0
  327. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/readers/reader.js +33 -0
  328. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/readers/stream.d.ts +14 -0
  329. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/readers/stream.js +55 -0
  330. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/readers/sync.d.ts +12 -0
  331. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/readers/sync.js +43 -0
  332. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/settings.d.ts +164 -0
  333. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/settings.js +59 -0
  334. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/types/index.d.ts +31 -0
  335. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/types/index.js +2 -0
  336. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/utils/array.d.ts +2 -0
  337. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/utils/array.js +22 -0
  338. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/utils/errno.d.ts +2 -0
  339. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/utils/errno.js +7 -0
  340. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/utils/fs.d.ts +4 -0
  341. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/utils/fs.js +19 -0
  342. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/utils/index.d.ts +8 -0
  343. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/utils/index.js +17 -0
  344. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/utils/path.d.ts +13 -0
  345. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/utils/path.js +68 -0
  346. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/utils/pattern.d.ts +49 -0
  347. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/utils/pattern.js +206 -0
  348. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/utils/stream.d.ts +4 -0
  349. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/utils/stream.js +17 -0
  350. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/utils/string.d.ts +2 -0
  351. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/out/utils/string.js +11 -0
  352. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-glob/package.json +81 -0
  353. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-builder/CHANGELOG.md +40 -0
  354. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-builder/LICENSE +21 -0
  355. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-builder/README.md +74 -0
  356. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-builder/lib/fxb.cjs +1 -0
  357. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-builder/lib/fxb.d.cts +270 -0
  358. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-builder/lib/fxb.min.js +2 -0
  359. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-builder/package.json +81 -0
  360. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-builder/src/fxb.d.ts +270 -0
  361. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-builder/src/fxb.js +599 -0
  362. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-builder/src/ignoreAttributes.js +18 -0
  363. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-builder/src/orderedJs2Xml.js +359 -0
  364. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-builder/src/prettifyJs2Xml.js +0 -0
  365. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-builder/src/util.js +16 -0
  366. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/CHANGELOG.md +852 -0
  367. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/LICENSE +21 -0
  368. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/README.md +200 -0
  369. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
  370. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
  371. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/lib/fxp.d.cts +772 -0
  372. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
  373. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
  374. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/lib/fxvalidator.min.js +2 -0
  375. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/package.json +93 -0
  376. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/cli/cli.js +97 -0
  377. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/cli/man.js +17 -0
  378. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/cli/read.js +43 -0
  379. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/fxp.d.ts +752 -0
  380. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/fxp.js +14 -0
  381. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/ignoreAttributes.js +18 -0
  382. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/util.js +61 -0
  383. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/CharsSymbol.js +16 -0
  384. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +106 -0
  385. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +61 -0
  386. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +69 -0
  387. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +103 -0
  388. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +100 -0
  389. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +154 -0
  390. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +94 -0
  391. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/Report.js +0 -0
  392. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/TagPath.js +81 -0
  393. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js +13 -0
  394. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/XMLParser.js +83 -0
  395. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js +235 -0
  396. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/XmlPartReader.js +210 -0
  397. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js +111 -0
  398. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js +116 -0
  399. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js +121 -0
  400. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +105 -0
  401. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js +22 -0
  402. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js +19 -0
  403. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js +38 -0
  404. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/valueParsers/join.js +13 -0
  405. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/valueParsers/number.js +14 -0
  406. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js +6 -0
  407. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/validator.js +425 -0
  408. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +6 -0
  409. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +411 -0
  410. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +164 -0
  411. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +846 -0
  412. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +71 -0
  413. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/xmlparser/node2json.js +177 -0
  414. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +40 -0
  415. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fastq/LICENSE +13 -0
  416. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fastq/README.md +310 -0
  417. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fastq/SECURITY.md +15 -0
  418. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fastq/bench.js +66 -0
  419. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fastq/eslint.config.js +11 -0
  420. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fastq/example.js +14 -0
  421. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fastq/example.mjs +9 -0
  422. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fastq/index.d.ts +59 -0
  423. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fastq/package.json +49 -0
  424. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fastq/queue.js +346 -0
  425. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fastq/test/example.ts +83 -0
  426. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fastq/test/promise.js +325 -0
  427. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fastq/test/test.js +733 -0
  428. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fastq/test/tsconfig.json +11 -0
  429. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fill-range/LICENSE +21 -0
  430. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fill-range/README.md +237 -0
  431. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fill-range/index.js +248 -0
  432. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/fill-range/package.json +74 -0
  433. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/get-east-asian-width/index.d.ts +60 -0
  434. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/get-east-asian-width/index.js +30 -0
  435. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/get-east-asian-width/license +9 -0
  436. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/get-east-asian-width/lookup-data.js +21 -0
  437. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/get-east-asian-width/lookup.js +138 -0
  438. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/get-east-asian-width/package.json +71 -0
  439. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/get-east-asian-width/readme.md +65 -0
  440. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/get-east-asian-width/utilities.js +24 -0
  441. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/glob-parent/CHANGELOG.md +110 -0
  442. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/glob-parent/LICENSE +15 -0
  443. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/glob-parent/README.md +137 -0
  444. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/glob-parent/index.js +42 -0
  445. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/glob-parent/package.json +48 -0
  446. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-extglob/LICENSE +21 -0
  447. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-extglob/README.md +107 -0
  448. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-extglob/index.js +20 -0
  449. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-extglob/package.json +69 -0
  450. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-glob/LICENSE +21 -0
  451. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-glob/README.md +206 -0
  452. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-glob/index.js +150 -0
  453. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-glob/package.json +81 -0
  454. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-interactive/index.d.ts +25 -0
  455. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-interactive/index.js +7 -0
  456. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-interactive/license +9 -0
  457. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-interactive/package.json +41 -0
  458. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-interactive/readme.md +52 -0
  459. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-number/LICENSE +21 -0
  460. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-number/README.md +187 -0
  461. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-number/index.js +18 -0
  462. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-number/package.json +82 -0
  463. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unicode-supported/index.d.ts +12 -0
  464. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unicode-supported/index.js +21 -0
  465. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unicode-supported/license +9 -0
  466. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unicode-supported/package.json +47 -0
  467. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unicode-supported/readme.md +35 -0
  468. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unsafe/LICENSE +21 -0
  469. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unsafe/README.md +528 -0
  470. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unsafe/package.json +48 -0
  471. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unsafe/src/contexts/html.js +102 -0
  472. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unsafe/src/contexts/log.js +98 -0
  473. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unsafe/src/contexts/nosql.js +114 -0
  474. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unsafe/src/contexts/redos.js +60 -0
  475. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unsafe/src/contexts/shell.js +105 -0
  476. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unsafe/src/contexts/sql-strict.js +47 -0
  477. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unsafe/src/contexts/sql.js +95 -0
  478. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unsafe/src/contexts/svg.js +81 -0
  479. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unsafe/src/contexts/xml.js +78 -0
  480. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unsafe/src/index.cjs +27 -0
  481. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unsafe/src/index.d.ts +28 -0
  482. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unsafe/src/index.js +204 -0
  483. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/is-unsafe/src/registry.js +45 -0
  484. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/log-symbols/browser.js +8 -0
  485. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/log-symbols/index.d.ts +22 -0
  486. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/log-symbols/index.js +20 -0
  487. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/log-symbols/license +9 -0
  488. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/log-symbols/node_modules/is-unicode-supported/index.d.ts +12 -0
  489. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/log-symbols/node_modules/is-unicode-supported/index.js +17 -0
  490. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/log-symbols/node_modules/is-unicode-supported/license +9 -0
  491. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/log-symbols/node_modules/is-unicode-supported/package.json +43 -0
  492. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/log-symbols/node_modules/is-unicode-supported/readme.md +35 -0
  493. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/log-symbols/package.json +57 -0
  494. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/log-symbols/readme.md +39 -0
  495. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/merge2/LICENSE +21 -0
  496. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/merge2/README.md +144 -0
  497. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/merge2/index.js +144 -0
  498. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/merge2/package.json +43 -0
  499. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/micromatch/LICENSE +21 -0
  500. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/micromatch/README.md +1024 -0
  501. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/micromatch/index.js +474 -0
  502. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/micromatch/package.json +119 -0
  503. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/mimic-function/index.d.ts +52 -0
  504. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/mimic-function/index.js +72 -0
  505. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/mimic-function/license +9 -0
  506. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/mimic-function/package.json +49 -0
  507. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/mimic-function/readme.md +80 -0
  508. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/ms/index.js +162 -0
  509. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/ms/license.md +21 -0
  510. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/ms/package.json +38 -0
  511. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/ms/readme.md +59 -0
  512. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/onetime/index.d.ts +59 -0
  513. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/onetime/index.js +41 -0
  514. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/onetime/license +9 -0
  515. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/onetime/package.json +49 -0
  516. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/onetime/readme.md +88 -0
  517. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/ora/index.d.ts +332 -0
  518. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/ora/index.js +424 -0
  519. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/ora/license +9 -0
  520. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/ora/package.json +64 -0
  521. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/ora/readme.md +329 -0
  522. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/path-expression-matcher/LICENSE +21 -0
  523. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/path-expression-matcher/README.md +947 -0
  524. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/path-expression-matcher/lib/pem.cjs +1 -0
  525. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/path-expression-matcher/lib/pem.d.cts +725 -0
  526. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/path-expression-matcher/lib/pem.min.js +2 -0
  527. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/path-expression-matcher/package.json +79 -0
  528. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/path-expression-matcher/src/Expression.js +232 -0
  529. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/path-expression-matcher/src/ExpressionSet.js +225 -0
  530. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/path-expression-matcher/src/Matcher.js +660 -0
  531. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/path-expression-matcher/src/index.d.ts +589 -0
  532. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/path-expression-matcher/src/index.js +30 -0
  533. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/picomatch/LICENSE +21 -0
  534. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/picomatch/README.md +716 -0
  535. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/picomatch/index.js +3 -0
  536. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/picomatch/lib/constants.js +184 -0
  537. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/picomatch/lib/parse.js +1392 -0
  538. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/picomatch/lib/picomatch.js +342 -0
  539. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/picomatch/lib/scan.js +391 -0
  540. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/picomatch/lib/utils.js +64 -0
  541. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/picomatch/package.json +81 -0
  542. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/queue-microtask/LICENSE +20 -0
  543. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/queue-microtask/README.md +90 -0
  544. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/queue-microtask/index.d.ts +2 -0
  545. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/queue-microtask/index.js +9 -0
  546. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/queue-microtask/package.json +55 -0
  547. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/restore-cursor/index.d.ts +15 -0
  548. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/restore-cursor/index.js +15 -0
  549. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/restore-cursor/license +9 -0
  550. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/restore-cursor/package.json +57 -0
  551. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/restore-cursor/readme.md +21 -0
  552. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/reusify/.github/dependabot.yml +7 -0
  553. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/reusify/.github/workflows/ci.yml +96 -0
  554. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/reusify/LICENSE +22 -0
  555. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/reusify/README.md +139 -0
  556. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/reusify/SECURITY.md +15 -0
  557. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/reusify/benchmarks/createNoCodeFunction.js +30 -0
  558. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/reusify/benchmarks/fib.js +13 -0
  559. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/reusify/benchmarks/reuseNoCodeFunction.js +38 -0
  560. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/reusify/eslint.config.js +14 -0
  561. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/reusify/package.json +50 -0
  562. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/reusify/reusify.d.ts +14 -0
  563. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/reusify/reusify.js +33 -0
  564. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/reusify/test.js +66 -0
  565. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/reusify/tsconfig.json +11 -0
  566. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/run-parallel/LICENSE +20 -0
  567. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/run-parallel/README.md +85 -0
  568. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/run-parallel/index.js +51 -0
  569. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/run-parallel/package.json +58 -0
  570. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/signal-exit/LICENSE.txt +16 -0
  571. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/signal-exit/README.md +74 -0
  572. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
  573. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/signal-exit/dist/cjs/browser.js +10 -0
  574. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
  575. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/signal-exit/dist/cjs/index.js +279 -0
  576. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/signal-exit/dist/cjs/package.json +3 -0
  577. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
  578. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/signal-exit/dist/cjs/signals.js +42 -0
  579. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
  580. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/signal-exit/dist/mjs/browser.js +4 -0
  581. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
  582. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/signal-exit/dist/mjs/index.js +275 -0
  583. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/signal-exit/dist/mjs/package.json +3 -0
  584. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
  585. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/signal-exit/dist/mjs/signals.js +39 -0
  586. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/signal-exit/package.json +106 -0
  587. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/cjs/index.js +4898 -0
  588. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/esm/index.js +4745 -0
  589. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/esm/package.json +3 -0
  590. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/api.d.ts +13 -0
  591. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/args/log-format.d.ts +9 -0
  592. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/errors/git-construct-error.d.ts +15 -0
  593. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/errors/git-error.d.ts +30 -0
  594. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/errors/git-plugin-error.d.ts +7 -0
  595. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/errors/git-response-error.d.ts +32 -0
  596. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/errors/task-configuration-error.d.ts +12 -0
  597. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/git-factory.d.ts +15 -0
  598. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/git-logger.d.ts +21 -0
  599. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/parsers/parse-branch-delete.d.ts +5 -0
  600. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/parsers/parse-branch.d.ts +2 -0
  601. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/parsers/parse-commit.d.ts +2 -0
  602. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/parsers/parse-diff-summary.d.ts +3 -0
  603. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/parsers/parse-fetch.d.ts +2 -0
  604. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/parsers/parse-list-log-summary.d.ts +6 -0
  605. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/parsers/parse-merge.d.ts +11 -0
  606. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/parsers/parse-move.d.ts +2 -0
  607. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/parsers/parse-pull.d.ts +6 -0
  608. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/parsers/parse-push.d.ts +4 -0
  609. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/parsers/parse-remote-messages.d.ts +5 -0
  610. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/parsers/parse-remote-objects.d.ts +3 -0
  611. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/plugins/abort-plugin.d.ts +3 -0
  612. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/plugins/block-unsafe-operations-plugin.d.ts +3 -0
  613. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/plugins/command-config-prefixing-plugin.d.ts +2 -0
  614. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/plugins/completion-detection.plugin.d.ts +3 -0
  615. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/plugins/custom-binary.plugin.d.ts +3 -0
  616. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/plugins/error-detection.plugin.d.ts +7 -0
  617. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/plugins/index.d.ts +11 -0
  618. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/plugins/plugin-store.d.ts +11 -0
  619. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/plugins/progress-monitor-plugin.d.ts +3 -0
  620. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/plugins/simple-git-plugin.d.ts +48 -0
  621. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/plugins/spawn-options-plugin.d.ts +3 -0
  622. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/plugins/suffix-paths.plugin.d.ts +2 -0
  623. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/plugins/timout-plugin.d.ts +3 -0
  624. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/responses/BranchDeleteSummary.d.ts +12 -0
  625. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/responses/BranchSummary.d.ts +14 -0
  626. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/responses/CheckIgnore.d.ts +4 -0
  627. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/responses/CleanSummary.d.ts +9 -0
  628. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/responses/ConfigList.d.ts +13 -0
  629. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/responses/DiffSummary.d.ts +10 -0
  630. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/responses/FileStatusSummary.d.ts +9 -0
  631. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/responses/GetRemoteSummary.d.ts +11 -0
  632. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/responses/InitSummary.d.ts +9 -0
  633. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/responses/MergeSummary.d.ts +16 -0
  634. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/responses/PullSummary.d.ts +25 -0
  635. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/responses/StatusSummary.d.ts +19 -0
  636. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/responses/TagList.d.ts +7 -0
  637. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/runners/git-executor-chain.d.ts +25 -0
  638. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/runners/git-executor.d.ts +14 -0
  639. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/runners/promise-wrapped.d.ts +2 -0
  640. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/runners/scheduler.d.ts +11 -0
  641. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/runners/tasks-pending-queue.d.ts +23 -0
  642. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/simple-git-api.d.ts +20 -0
  643. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/task-callback.d.ts +2 -0
  644. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/apply-patch.d.ts +3 -0
  645. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/branch.d.ts +7 -0
  646. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/change-working-directory.d.ts +2 -0
  647. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/check-ignore.d.ts +2 -0
  648. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/check-is-repo.d.ts +9 -0
  649. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/checkout.d.ts +2 -0
  650. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/clean.d.ts +25 -0
  651. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/clone.d.ts +9 -0
  652. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/commit.d.ts +4 -0
  653. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/config.d.ts +8 -0
  654. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/count-objects.d.ts +12 -0
  655. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/diff-name-status.d.ts +12 -0
  656. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/diff.d.ts +5 -0
  657. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/fetch.d.ts +4 -0
  658. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/first-commit.d.ts +2 -0
  659. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/grep.d.ts +12 -0
  660. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/hash-object.d.ts +5 -0
  661. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/init.d.ts +3 -0
  662. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/log.d.ts +32 -0
  663. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/merge.d.ts +4 -0
  664. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/move.d.ts +3 -0
  665. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/pull.d.ts +3 -0
  666. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/push.d.ts +9 -0
  667. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/remote.d.ts +8 -0
  668. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/reset.d.ts +11 -0
  669. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/show.d.ts +2 -0
  670. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/stash-list.d.ts +4 -0
  671. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/status.d.ts +3 -0
  672. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/sub-module.d.ts +5 -0
  673. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/tag.d.ts +18 -0
  674. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/task.d.ts +14 -0
  675. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/tasks/version.d.ts +9 -0
  676. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/types/handlers.d.ts +21 -0
  677. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/types/index.d.ts +136 -0
  678. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/types/tasks.d.ts +19 -0
  679. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/utils/argument-filters.d.ts +14 -0
  680. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/utils/exit-codes.d.ts +10 -0
  681. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/utils/git-output-streams.d.ts +7 -0
  682. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/utils/index.d.ts +8 -0
  683. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/utils/line-parser.d.ts +15 -0
  684. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/utils/simple-git-options.d.ts +2 -0
  685. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/utils/task-options.d.ts +13 -0
  686. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/utils/task-parser.d.ts +5 -0
  687. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/src/lib/utils/util.d.ts +47 -0
  688. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/typings/errors.d.ts +5 -0
  689. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/typings/index.d.ts +14 -0
  690. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/typings/response.d.ts +556 -0
  691. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/typings/simple-git.d.ts +1033 -0
  692. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/dist/typings/types.d.ts +22 -0
  693. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/package.json +51 -0
  694. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/promise.js +17 -0
  695. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/simple-git/readme.md +851 -0
  696. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/stdin-discarder/index.d.ts +13 -0
  697. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/stdin-discarder/index.js +59 -0
  698. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/stdin-discarder/license +9 -0
  699. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/stdin-discarder/package.json +42 -0
  700. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/stdin-discarder/readme.md +37 -0
  701. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/string-width/index.d.ts +39 -0
  702. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/string-width/index.js +82 -0
  703. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/string-width/license +9 -0
  704. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/string-width/package.json +64 -0
  705. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/string-width/readme.md +66 -0
  706. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/strip-ansi/index.d.ts +15 -0
  707. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/strip-ansi/index.js +19 -0
  708. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/strip-ansi/license +9 -0
  709. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/strip-ansi/package.json +59 -0
  710. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/strip-ansi/readme.md +37 -0
  711. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/strnum/CHANGELOG.md +51 -0
  712. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/strnum/LICENSE +21 -0
  713. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/strnum/README.md +113 -0
  714. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/strnum/package.json +36 -0
  715. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/strnum/strnum.js +171 -0
  716. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/to-regex-range/LICENSE +21 -0
  717. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/to-regex-range/README.md +305 -0
  718. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/to-regex-range/index.js +288 -0
  719. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/to-regex-range/package.json +88 -0
  720. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/xml-naming/README.md +189 -0
  721. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/xml-naming/package.json +54 -0
  722. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/xml-naming/src/index.d.ts +74 -0
  723. package/dist/temp-prefix/node_modules/devbrain-cli/node_modules/xml-naming/src/index.js +270 -0
  724. package/dist/temp-prefix/node_modules/devbrain-cli/package.json +66 -0
  725. package/node_modules/@devbrain/core/dist/analysis/analyzers/source-code.analyzer.d.ts +24 -0
  726. package/node_modules/@devbrain/core/dist/analysis/analyzers/source-code.analyzer.js +126 -0
  727. package/node_modules/@devbrain/core/dist/context/context.service.d.ts +6 -7
  728. package/node_modules/@devbrain/core/dist/context/context.service.js +102 -16
  729. package/node_modules/@devbrain/core/dist/embeddings/EmbeddingProvider.d.ts +4 -0
  730. package/node_modules/@devbrain/core/dist/embeddings/EmbeddingProvider.js +2 -0
  731. package/node_modules/@devbrain/core/dist/embeddings/TransformersProvider.d.ts +9 -0
  732. package/node_modules/@devbrain/core/dist/embeddings/TransformersProvider.js +70 -0
  733. package/node_modules/@devbrain/core/dist/engine/dependency.resolver.d.ts +12 -0
  734. package/node_modules/@devbrain/core/dist/engine/dependency.resolver.js +101 -0
  735. package/node_modules/@devbrain/core/dist/engine/history.manager.d.ts +24 -0
  736. package/node_modules/@devbrain/core/dist/engine/history.manager.js +64 -0
  737. package/node_modules/@devbrain/core/dist/engine/lock.manager.d.ts +21 -0
  738. package/node_modules/@devbrain/core/dist/engine/lock.manager.js +89 -0
  739. package/node_modules/@devbrain/core/dist/engine/logger.service.d.ts +16 -0
  740. package/node_modules/@devbrain/core/dist/engine/logger.service.js +49 -0
  741. package/node_modules/@devbrain/core/dist/engine/memory.engine.d.ts +30 -0
  742. package/node_modules/@devbrain/core/dist/engine/memory.engine.js +200 -0
  743. package/node_modules/@devbrain/core/dist/git/git.service.d.ts +42 -0
  744. package/node_modules/@devbrain/core/dist/git/git.service.js +192 -0
  745. package/node_modules/@devbrain/core/dist/index/SQLiteVectorStore.d.ts +19 -0
  746. package/node_modules/@devbrain/core/dist/index/SQLiteVectorStore.js +189 -0
  747. package/node_modules/@devbrain/core/dist/index/VectorIndexer.d.ts +20 -0
  748. package/node_modules/@devbrain/core/dist/index/VectorIndexer.js +169 -0
  749. package/node_modules/@devbrain/core/dist/index/VectorStore.d.ts +26 -0
  750. package/node_modules/@devbrain/core/dist/index/VectorStore.js +2 -0
  751. package/node_modules/@devbrain/core/dist/index.d.ts +15 -0
  752. package/node_modules/@devbrain/core/dist/index.js +13 -0
  753. package/node_modules/@devbrain/core/dist/memory/memory.service.d.ts +6 -3
  754. package/node_modules/@devbrain/core/dist/memory/memory.service.js +186 -6
  755. package/node_modules/@devbrain/core/dist/retrieval/ContextBuilder.d.ts +4 -0
  756. package/node_modules/@devbrain/core/dist/retrieval/ContextBuilder.js +107 -0
  757. package/node_modules/@devbrain/core/dist/retrieval/RankingEngine.d.ts +13 -0
  758. package/node_modules/@devbrain/core/dist/retrieval/RankingEngine.js +124 -0
  759. package/node_modules/@devbrain/core/dist/retrieval/SemanticRetriever.d.ts +17 -0
  760. package/node_modules/@devbrain/core/dist/retrieval/SemanticRetriever.js +48 -0
  761. package/node_modules/@devbrain/core/package.json +23 -22
  762. package/node_modules/@devbrain/shared/dist/constants.d.ts +10 -2
  763. package/node_modules/@devbrain/shared/dist/constants.js +11 -2
  764. package/node_modules/@devbrain/shared/dist/types.d.ts +45 -0
  765. package/node_modules/@devbrain/shared/package.json +14 -14
  766. package/package.json +66 -65
@@ -0,0 +1,851 @@
1
+ # Simple Git
2
+
3
+ [![NPM version](https://img.shields.io/npm/v/simple-git.svg)](https://www.npmjs.com/package/simple-git)
4
+
5
+ A lightweight interface for running `git` commands in any [node.js](https://nodejs.org) application.
6
+
7
+ # Installation
8
+
9
+ Use your favourite package manager:
10
+
11
+ - [npm](https://npmjs.org): `npm install simple-git`
12
+ - [yarn](https://yarnpkg.com/): `yarn add simple-git`
13
+
14
+ # System Dependencies
15
+
16
+ Requires [git](https://git-scm.com/downloads) to be installed and that it can be called using the command `git`.
17
+
18
+ # Usage
19
+
20
+ Include into your JavaScript app using common js:
21
+
22
+ ```javascript
23
+ // require the library, main export is a function
24
+ const simpleGit = require('simple-git');
25
+ simpleGit().clean(simpleGit.CleanOptions.FORCE);
26
+
27
+ // or use named properties
28
+ const { simpleGit, CleanOptions } = require('simple-git');
29
+ simpleGit().clean(CleanOptions.FORCE);
30
+ ```
31
+
32
+ Include into your JavaScript app as an ES Module:
33
+
34
+ ```javascript
35
+ import { simpleGit, CleanOptions } from 'simple-git';
36
+
37
+ simpleGit().clean(CleanOptions.FORCE);
38
+ ```
39
+
40
+ Include in a TypeScript app using the bundled type definitions:
41
+
42
+ ```typescript
43
+ import { simpleGit, SimpleGit, CleanOptions } from 'simple-git';
44
+
45
+ const git: SimpleGit = simpleGit().clean(CleanOptions.FORCE);
46
+ ```
47
+
48
+ ## Configuration
49
+
50
+ Configure each `simple-git` instance with a properties object passed to the main `simpleGit` function:
51
+
52
+ ```typescript
53
+ import { simpleGit, SimpleGit, SimpleGitOptions } from 'simple-git';
54
+
55
+ const options: Partial<SimpleGitOptions> = {
56
+ baseDir: process.cwd(),
57
+ binary: 'git',
58
+ maxConcurrentProcesses: 6,
59
+ trimmed: false,
60
+ };
61
+
62
+ // when setting all options in a single object
63
+ const git: SimpleGit = simpleGit(options);
64
+
65
+ // or split out the baseDir, supported for backward compatibility
66
+ const git: SimpleGit = simpleGit('/some/path', { binary: 'git' });
67
+ ```
68
+
69
+ The first argument can be either a string (representing the working directory for `git` commands to run in),
70
+ `SimpleGitOptions` object or `undefined`, the second parameter is an optional `SimpleGitOptions` object.
71
+
72
+ All configuration properties are optional, the default values are shown in the example above.
73
+
74
+ ## Per-command Configuration
75
+
76
+ To prefix the commands run by `simple-git` with custom configuration not saved in the git config (ie: using the
77
+ `-c` command) supply a `config` option to the instance builder:
78
+
79
+ ```typescript
80
+ // configure the instance with a custom configuration property
81
+ const git: SimpleGit = simpleGit('/some/path', { config: ['http.proxy=someproxy'] });
82
+
83
+ // any command executed will be prefixed with this config
84
+ // runs: git -c http.proxy=someproxy pull
85
+ await git.pull();
86
+ ```
87
+
88
+ ## Configuring Plugins
89
+
90
+ - [AbortController](https://github.com/steveukx/git-js/blob/main/docs/PLUGIN-ABORT-CONTROLLER.md)
91
+ Terminate pending and future tasks in a `simple-git` instance (requires node >= 16).
92
+
93
+ - [Custom Binary](https://github.com/steveukx/git-js/blob/main/docs/PLUGIN-CUSTOM-BINARY.md)
94
+ Customise the `git` binary `simple-git` uses when spawning `git` child processes.
95
+
96
+ - [Completion Detection](https://github.com/steveukx/git-js/blob/main/docs/PLUGIN-COMPLETION-DETECTION.md)
97
+ Customise how `simple-git` detects the end of a `git` process.
98
+
99
+ - [Error Detection](https://github.com/steveukx/git-js/blob/main/docs/PLUGIN-ERRORS.md)
100
+ Customise the detection of errors from the underlying `git` process.
101
+
102
+ - [Progress Events](https://github.com/steveukx/git-js/blob/main/docs/PLUGIN-PROGRESS-EVENTS.md)
103
+ Receive progress events as `git` works through long-running processes.
104
+
105
+ - [Spawned Process Ownership](https://github.com/steveukx/git-js/blob/main/docs/PLUGIN-SPAWN-OPTIONS.md)
106
+ Configure the system `uid` / `gid` to use for spawned `git` processes.
107
+
108
+ - [Timeout](https://github.com/steveukx/git-js/blob/main/docs/PLUGIN-TIMEOUT.md)
109
+ Automatically kill the wrapped `git` process after a rolling timeout.
110
+
111
+ - [Unsafe](https://github.com/steveukx/git-js/blob/main/docs/PLUGIN-UNSAFE-ACTIONS.md)
112
+ Selectively opt out of `simple-git` safety precautions - for advanced users and use cases.
113
+
114
+ ## Using Task Promises
115
+
116
+ Each task in the API returns the `simpleGit` instance for chaining together multiple tasks, and each
117
+ step in the chain is also a `Promise` that can be `await` ed in an `async` function or returned in a
118
+ `Promise` chain.
119
+
120
+ ```javascript
121
+ const git = simpleGit();
122
+
123
+ // chain together tasks to await final result
124
+ await git.init().addRemote('origin', '...remote.git');
125
+
126
+ // or await each step individually
127
+ await git.init();
128
+ await git.addRemote('origin', '...remote.git');
129
+ ```
130
+
131
+ ### Catching errors in async code
132
+
133
+ To catch errors in async code, either wrap the whole chain in a try/catch:
134
+
135
+ ```javascript
136
+ const git = simpleGit();
137
+ try {
138
+ await git.init();
139
+ await git.addRemote(name, repoUrl);
140
+ } catch (e) {
141
+ /* handle all errors here */
142
+ }
143
+ ```
144
+
145
+ or catch individual steps to permit the main chain to carry on executing rather than
146
+ jumping to the final `catch` on the first error:
147
+
148
+ ```javascript
149
+ const git = simpleGit();
150
+ try {
151
+ await git.init().catch(ignoreError);
152
+ await git.addRemote(name, repoUrl);
153
+ } catch (e) {
154
+ /* handle all errors here */
155
+ }
156
+
157
+ function ignoreError() {}
158
+ ```
159
+
160
+ ## Using Task Callbacks
161
+
162
+ In addition to returning a promise, each method can also be called with a trailing callback argument
163
+ to handle the result of the task.
164
+
165
+ ```javascript
166
+ const git = simpleGit();
167
+ git.init(onInit).addRemote('origin', 'git@github.com:steveukx/git-js.git', onRemoteAdd);
168
+
169
+ function onInit(err, initResult) {}
170
+ function onRemoteAdd(err, addRemoteResult) {}
171
+ ```
172
+
173
+ If any of the steps in the chain result in an error, all pending steps will be cancelled, see the
174
+ [parallel tasks](<(#concurrent--parallel-requests)>) section for more information on how to run tasks in parallel rather than in series .
175
+
176
+ ## Task Responses
177
+
178
+ Whether using a trailing callback or a Promise, tasks either return the raw `string` or `Buffer` response from the
179
+ `git` binary, or where possible a parsed interpretation of the response.
180
+
181
+ For type details of the response for each of the tasks, please see the [TypeScript definitions](https://github.com/steveukx/git-js/blob/main/simple-git/typings/simple-git.d.ts).
182
+
183
+ # Upgrading from Version 2
184
+
185
+ From v3 of `simple-git` you can now import as an ES module, Common JS module or as TypeScript with bundled type
186
+ definitions. Upgrading from v2 will be seamless for any application not relying on APIs that were marked as deprecated
187
+ in v2 (deprecation notices were logged to `stdout` as `console.warn` in v2).
188
+
189
+ # API
190
+
191
+ | API | What it does |
192
+ | ---------------------------------------------------- |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
193
+ | `.add([fileA, ...], handlerFn)` | adds one or more files to be under source control |
194
+ | `.addAnnotatedTag(tagName, tagMessage, handlerFn)` | adds an annotated tag to the head of the current branch |
195
+ | `.addTag(name, handlerFn)` | adds a lightweight tag to the head of the current branch |
196
+ | `.catFile(options, [handlerFn])` | generate `cat-file` detail, `options` should be an array of strings as supported arguments to the [cat-file](https://git-scm.com/docs/git-cat-file) command |
197
+ | `.checkIgnore([filepath, ...], handlerFn)` | checks if filepath excluded by .gitignore rules |
198
+ | `.commit(message, handlerFn)` | commits changes in the current working directory with the supplied message where the message can be either a single string or array of strings to be passed as separate arguments (the `git` command line interface converts these to be separated by double line breaks) |
199
+ | `.commit(message, [fileA, ...], options, handlerFn)` | commits changes on the named files with the supplied message, when supplied, the optional options object can contain any other parameters to pass to the commit command, setting the value of the property to be a string will add `name=value` to the command string, setting any other type of value will result in just the key from the object being passed (ie: just `name`), an example of setting the author is below |
200
+ | `.customBinary(gitPath)` | sets the command to use to reference git, allows for using a git binary not available on the path environment variable [docs](https://github.com/steveukx/git-js/blob/main/docs/PLUGIN-CUSTOM-BINARY.md) |
201
+ | `.env(name, value)` | Set environment variables to be passed to the spawned child processes, [see usage in detail below](#environment-variables). |
202
+ | `.exec(handlerFn)` | calls a simple function in the current step |
203
+ | `.fetch([options, ] handlerFn)` | update the local working copy database with changes from the default remote repo and branch, when supplied the options argument can be a standard [options object](#how-to-specify-options) either an array of string commands as supported by the [git fetch](https://git-scm.com/docs/git-fetch). |
204
+ | `.fetch(remote, branch, handlerFn)` | update the local working copy database with changes from a remote repo |
205
+ | `.fetch(handlerFn)` | update the local working copy database with changes from the default remote repo and branch |
206
+ | `.outputHandler(handlerFn)` | attaches a handler that will be called with the name of the command being run and the `stdout` and `stderr` [readable streams](https://nodejs.org/api/stream.html#stream_class_stream_readable) created by the [child process](https://nodejs.org/api/child_process.html#child_process_class_childprocess) running that command, see [examples](https://github.com/steveukx/git-js/blob/main/examples/git-output-handler.md) |
207
+ | `.raw(args, [handlerFn])` | Execute any arbitrary array of commands supported by the underlying git binary. When the git process returns a non-zero signal on exit and it printed something to `stderr`, the command will be treated as an error, otherwise treated as a success. |
208
+ | `.rebase([options,] handlerFn)` | Rebases the repo, `options` should be supplied as an array of string parameters supported by the [git rebase](https://git-scm.com/docs/git-rebase) command, or an object of options (see details below for option formats). |
209
+ | `.revert(commit , [options , [handlerFn]])` | reverts one or more commits in the working copy. The commit can be any regular commit-ish value (hash, name or offset such as `HEAD~2`) or a range of commits (eg: `master~5..master~2`). When supplied the [options](#how-to-specify-options) argument contain any options accepted by [git-revert](https://git-scm.com/docs/git-revert). |
210
+ | `.rm([fileA, ...], handlerFn)` | removes any number of files from source control |
211
+ | `.rmKeepLocal([fileA, ...], handlerFn)` | removes files from source control but leaves them on disk |
212
+ | `.tag(args[], handlerFn)` | Runs any supported [git tag](https://git-scm.com/docs/git-tag) commands with arguments passed as an array of strings . |
213
+ | `.tags([options, ] handlerFn)` | list all tags, use the optional [options](#how-to-specify-options) object to set any options allows by the [git tag](https://git-scm.com/docs/git-tag) command. Tags will be sorted by semantic version number by default, for git versions 2.7 and above, use the `--sort` option to set a custom sort. |
214
+
215
+ ## git apply
216
+
217
+ - `.applyPatch(patch, [options])` applies a single string patch (as generated by `git diff`), optionally configured with the supplied [options](#how-to-specify-options) to set any arguments supported by the [apply](https://git-scm.com/docs/git-apply) command. Returns the unmodified string response from `stdout` of the `git` binary.
218
+ - `.applyPatch(patches, [options])` applies an array of string patches (as generated by `git diff`), optionally configured with the supplied [options](#how-to-specify-options) to set any arguments supported by the [apply](https://git-scm.com/docs/git-apply) command. Returns the unmodified string response from `stdout` of the `git` binary.
219
+
220
+ ## git branch
221
+
222
+ - `.branch([options])` uses the supplied [options](#how-to-specify-options) to run any arguments supported by the [branch](https://git-scm.com/docs/git-branch) command. Either returns a [BranchSummaryResult](https://github.com/steveukx/git-js/blob/main/simple-git/src/lib/responses/BranchSummary.ts) instance when listing branches, or a [BranchSingleDeleteResult](https://github.com/steveukx/git-js/blob/main/simple-git/typings/response.d.ts) type object when the options included `-d`, `-D` or `--delete` which cause it to delete a named branch rather than list existing branches.
223
+ - `.branchLocal()` gets a list of local branches as a [BranchSummaryResult](https://github.com/steveukx/git-js/blob/main/simple-git/src/lib/responses/BranchSummary.ts) instance
224
+ - `.deleteLocalBranch(branchName)` deletes a local branch - treats a failed attempt as an error
225
+ - `.deleteLocalBranch(branchName, forceDelete)` deletes a local branch, optionally explicitly setting forceDelete to true - treats a failed attempt as an error
226
+ - `.deleteLocalBranches(branchNames)` deletes multiple local branches
227
+ - `.deleteLocalBranches(branchNames, forceDelete)` deletes multiple local branches, optionally explicitly setting forceDelete to true
228
+
229
+ ## git clean
230
+
231
+ - `.clean(mode)` clean the working tree. Mode should be "n" - dry run or "f" - force
232
+ - `.clean(cleanSwitches [,options])` set `cleanSwitches` to a string containing any number of the supported single character options, optionally with a standard [options](#how-to-specify-options) object
233
+
234
+ ## git checkout
235
+
236
+ - `.checkout(checkoutWhat , [options])` - checks out the supplied tag, revision or branch when supplied as a string,
237
+ additional arguments supported by [git checkout](https://git-scm.com/docs/git-checkout) can be supplied as an
238
+ [options](#how-to-specify-options) object/array.
239
+
240
+ - `.checkout(options)` - check out a tag or revision using the supplied [options](#how-to-specify-options)
241
+
242
+ - `.checkoutBranch(branchName, startPoint)` - checks out a new branch from the supplied start point.
243
+
244
+ - `.checkoutLocalBranch(branchName)` - checks out a new local branch
245
+
246
+ ## git clone
247
+
248
+ - `.clone(repoPath, [localPath, [options]])` clone a remote repo at `repoPath` to a local directory at `localPath`, optionally with a standard [options](#how-to-specify-options) object of additional arguments to include between `git clone` and the trailing `repo local` arguments
249
+ - `.clone(repoPath, [options])` clone a remote repo at `repoPath` to a directory in the current working directory with the same name as the repo
250
+
251
+ - `mirror(repoPath, [localPath, [options]])` behaves the same as the `.clone` interface with the [`--mirror` flag](https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---mirror) enabled.
252
+
253
+ Note: as of version 3.33.0, `repoPath` and `localPath` are passed to `git` as "pathspec" arguments so are less open to unexpected unsafe behaviour when passing unsanitised data into the command.
254
+
255
+ ## git config
256
+
257
+ - `.addConfig(key, value, append = false, scope = 'local')` add a local configuration property, when `append` is set to
258
+ `true` the configuration setting is appended to rather than overwritten in the local config. Use the `scope` argument
259
+ to pick where to save the new configuration setting (use the exported `GitConfigScope` enum, or equivalent string
260
+ values - `worktree | local | global | system`).
261
+ - `.getConfig(key)` get the value(s) for a named key as a [ConfigGetResult](https://github.com/steveukx/git-js/blob/main/simple-git/typings/response.d.ts)
262
+ - `.getConfig(key, scope)` get the value(s) for a named key as a [ConfigGetResult](https://github.com/steveukx/git-js/blob/main/simple-git/typings/response.d.ts) but limit the
263
+ scope of the properties searched to a single specified scope (use the exported `GitConfigScope` enum, or equivalent
264
+ string values - `worktree | local | global | system`)
265
+
266
+ - `.listConfig()` reads the current configuration and returns a [ConfigListSummary](https://github.com/steveukx/git-js/blob/main/simple-git/src/lib/responses/ConfigList.ts)
267
+ - `.listConfig(scope: GitConfigScope)` as with `listConfig` but returns only those items in a specified scope (note that configuration values are overlaid on top of each other to build the config `git` will actually use - to resolve the configuration you are using use `(await listConfig()).all` without the scope argument)
268
+
269
+ ## git count-objects
270
+
271
+ - `.countObjects()` queries the pack and disk usage properties of the local repository and returns a [CountObjectsResult](https://github.com/steveukx/git-js/blob/main/simple-git/src/lib/tasks/count-objects.ts). All disk sizes are reported in Kb, see https://git-scm.com/docs/git-count-objects for full description of properties.
272
+
273
+ ## git diff
274
+
275
+ - `.diff([ options ])` get the diff of the current repo compared to the last commit, optionally including
276
+ any number of other arguments supported by [git diff](https://git-scm.com/docs/git-diff) supplied as an
277
+ [options](#how-to-specify-options) object/array. Returns the raw `diff` output as a string.
278
+
279
+ - `.diffSummary([ options ])` creates a [DiffResult](https://github.com/steveukx/git-js/blob/main/simple-git/src/lib/responses/DiffSummary.ts)
280
+ to summarise the diff for files in the repo. Uses the `--stat` format by default which can be overridden
281
+ by passing in any of the log format commands (eg: `--numstat` or `--name-stat`) as part of the optional
282
+ [options](#how-to-specify-options) object/array.
283
+
284
+ ## git grep [examples](https://github.com/steveukx/git-js/blob/main/examples/git-grep.md)
285
+
286
+ - `.grep(searchTerm)` searches for a single search term across all files in the working tree, optionally passing a standard [options](#how-to-specify-options) object of additional arguments
287
+ - `.grep(grepQueryBuilder(...))` use the `grepQueryBuilder` to create a complex query to search for, optionally passing a standard [options](#how-to-specify-options) object of additional arguments
288
+
289
+ ## git hash-object
290
+
291
+ - `.hashObject(filePath, write = false)` computes the object ID value for the contents of the named file (which can be
292
+ outside of the work tree), optionally writing the resulting value to the object database.
293
+
294
+ ## git init
295
+
296
+ - `.init(bare , [options])` initialize a repository using the boolean `bare` parameter to intialise a bare repository.
297
+ Any number of other arguments supported by [git init](https://git-scm.com/docs/git-init) can be supplied as an
298
+ [options](#how-to-specify-options) object/array.
299
+
300
+ - `.init([options])` initialize a repository using any arguments supported by
301
+ [git init](https://git-scm.com/docs/git-init) supplied as an [options](#how-to-specify-options) object/array.
302
+
303
+ ## git log
304
+
305
+ - `.log([options])` list commits between `options.from` and `options.to` tags or branch (if not specified will
306
+ show all history). Use the `options` object to set any [options](#how-to-specify-options) supported by the
307
+ [git log](https://git-scm.com/docs/git-log) command or any of the following:
308
+
309
+ - `options.file` - the path to a file in your repository to only consider this path.
310
+ - `options.format` - custom log format object, keys are the property names used on the returned object, values are the format string from [pretty formats](https://git-scm.com/docs/pretty-formats#Documentation/pretty-formats.txt)
311
+ - `options.from` - sets the oldest commit in the range to return, use along with `options.to` to set a bounded range
312
+ - `options.mailMap` - defaults to true, enables the use of [mail map](https://git-scm.com/docs/gitmailmap) in returned values for email and name from the default format
313
+ - `options.maxCount` - equivalent to setting the `--max-count` option
314
+ - `options.multiLine` - enables multiline body values in the default format (disabled by default)
315
+ - `options.splitter` - the character sequence to use as a delimiter between fields in the log, should be a value that doesn't appear in any log message (defaults to `ò`)
316
+ - `options.strictDate` - switches the authored date value from an ISO 8601-like format to be strict ISO 8601 format
317
+ - `options.symmetric` - defaults to true, enables [symmetric revision range](https://git-scm.com/docs/gitrevisions#_dotted_range_notations) rather than a two-dot range
318
+ - `options.to` - sets the newset commit in the range to return, use along with `options.from` to set a bounded range
319
+
320
+ When only one of `options.from` and `options.to` is supplied, the default value of the omitted option is equivalent to `HEAD`. For any other commit, explicitly supply both from and to commits (for example use `await git.firstCommit()` as the default value of `from` to log since the first commit of the repo).
321
+
322
+ ## git merge
323
+
324
+ - `.merge(options)` runs a merge using any configuration [options](#how-to-specify-options) supported
325
+ by [git merge](https://git-scm.com/docs/git-merge).
326
+ Conflicts during the merge result in an error response, the response is an instance of
327
+ [MergeSummary](https://github.com/steveukx/git-js/blob/main/simple-git/src/lib/responses/MergeSummary.ts) whether it was an error or success.
328
+ When successful, the MergeSummary has all detail from a the [PullSummary](https://github.com/steveukx/git-js/blob/main/simple-git/src/lib/responses/PullSummary.ts)
329
+ along with summary detail for the merge.
330
+ When the merge failed, the MergeSummary contains summary detail for why the merge failed and which files
331
+ prevented the merge.
332
+
333
+ - `.mergeFromTo(remote, branch , [options])` - merge from the specified branch into the currently checked out branch,
334
+ similar to `.merge` but with the `remote` and `branch` supplied as strings separately to any additional
335
+ [options](#how-to-specify-options).
336
+
337
+ ## git mv
338
+
339
+ - `.mv(from, to)` rename or move a single file at `from` to `to`
340
+
341
+ - `.mv(from, to)` move all files in the `from` array to the `to` directory
342
+
343
+ ## git pull
344
+
345
+ - `.pull([options])` pulls all updates from the default tracked remote, any arguments supported by
346
+ [git pull](https://git-scm.com/docs/git-pull) can be supplied as an [options](#how-to-specify-options) object/array.
347
+
348
+ - `.pull(remote, branch, [options])` pulls all updates from the specified remote branch (eg 'origin'/'master') along
349
+ with any custom [options](#how-to-specify-options) object/array
350
+
351
+ ## git push
352
+
353
+ - `.push([options])` pushes to a named remote/branch using any supported [options](#how-to-specify-options)
354
+ from the [git push](https://git-scm.com/docs/git-push) command. Note that `simple-git` enforces the use of
355
+ `--verbose --porcelain` options in order to parse the response. You don't need to supply these options.
356
+
357
+ - `.push(remote, branch, [options])` pushes to a named remote/branch, supports additional
358
+ [options](#how-to-specify-options) from the [git push](https://git-scm.com/docs/git-push) command.
359
+
360
+ - `.pushTags(remote, [options])` pushes local tags to a named remote (equivalent to using `.push([remote, '--tags'])`)
361
+
362
+ ## git remote
363
+
364
+ - `.addRemote(name, repo, [options])` adds a new named remote to be tracked as `name` at the path `repo`, optionally with any supported [options](#how-to-specify-options) for the [git add](https://git-scm.com/docs/git-remote#Documentation/git-remote.txt-emaddem) call.
365
+ - `.getRemotes([verbose])` gets a list of the named remotes, supply the optional `verbose` option as `true` to include the URLs and purpose of each ref
366
+ - `.listRemote([options])` lists remote repositories - there are so many optional arguments in the underlying `git ls-remote` call, just supply any you want to use as the optional [options](#how-to-specify-options) eg: `git.listRemote(['--heads', '--tags'], console.log)`
367
+ - `.remote([options])` runs a `git remote` command with any number of [options](#how-to-specify-options)
368
+ - `.removeRemote(name)` removes the named remote
369
+
370
+ ## git reset
371
+
372
+ - `.reset(resetMode, [resetOptions])` resets the repository, sets the reset mode to one of the supported types (use a constant from
373
+ the exported `ResetMode` enum, or a string equivalent: `mixed`, `soft`, `hard`, `merge`, `keep`). Any number of other arguments
374
+ supported by [git reset](https://git-scm.com/docs/git-reset) can be supplied as an [options](#how-to-specify-options) object/array.
375
+
376
+ - `.reset(resetOptions)` resets the repository with the supplied [options](#how-to-specify-options)
377
+
378
+ - `.reset()` resets the repository in `soft` mode.
379
+
380
+ ## git rev-parse / repo properties
381
+
382
+ - `.revparse([options])` sends the supplied [options](#how-to-specify-options) to [git rev-parse](https://git-scm.com/docs/git-rev-parse) and returns the string response from `git`.
383
+
384
+ - `.checkIsRepo()` gets whether the current working directory is a descendent of a git repository.
385
+ - `.checkIsRepo('bare')` gets whether the current working directory is within a bare git repo (see either [git clone --bare](https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---bare) or [git init --bare](https://git-scm.com/docs/git-init#Documentation/git-init.txt---bare)).
386
+ - `.checkIsRepo('root')` gets whether the current working directory is the root directory for a repo (sub-directories will return false).
387
+
388
+ - `.firstCommit()` gets the commit hash of the first commit made to the current repo.
389
+
390
+ ## git show
391
+
392
+ - `.show(options)` show various types of objects for example the file content at a certain commit. `options` is the single value string or any [options](#how-to-specify-options) supported by the [git show](https://git-scm.com/docs/git-show) command.
393
+ - `.showBuffer(options)` same as the `.show` API, but returns the Buffer content directly to allow for showing binary file content.
394
+
395
+ ## git status
396
+
397
+ - `.status([options])` gets the status of the current repo, resulting in a [StatusResult](https://github.com/steveukx/git-js/blob/main/simple-git/typings/response.d.ts). Additional arguments
398
+ supported by [git status](https://git-scm.com/docs/git-status) can be supplied as an [options](#how-to-specify-options) object/array.
399
+
400
+ ## git submodule
401
+
402
+ - `.subModule(options)` Run a `git submodule` command with on or more arguments passed in as an [options](#how-to-specify-options) array or object
403
+ - `.submoduleAdd(repo, path)` Adds a new sub module
404
+ - `.submoduleInit([options]` Initialises sub modules, the optional [options](#how-to-specify-options) argument can be used to pass extra options to the `git submodule init` command.
405
+ - `.submoduleUpdate(subModuleName, [options])` Updates sub modules, can be called with a sub module name and [options](#how-to-specify-options), just the options or with no arguments
406
+
407
+ ## git stash
408
+
409
+ - `.stash([ options ])` Stash the working directory, optional first argument can be an array of string arguments or [options](#how-to-specify-options) object to pass to the [git stash](https://git-scm.com/docs/git-stash) command.
410
+
411
+ - `.stashList([ options ])` Retrieves the stash list, optional first argument can be an object in the same format as used in [git log](#git-log).
412
+
413
+ ## git version [examples](https://github.com/steveukx/git-js/blob/main/examples/git-version.md)
414
+
415
+ - `.version()` retrieve the major, minor and patch for the currently installed `git`. Use the `.installed` property of the result to determine whether `git` is accessible on the path.
416
+
417
+ ## changing the working directory [examples](https://github.com/steveukx/git-js/blob/main/examples/git-change-working-directory.md)
418
+
419
+ - `.cwd(workingDirectory)` Sets the working directory for all future commands - note, this will change the working for the root instance, any chain created from the root will also be changed.
420
+ - `.cwd({ path, root = false })` Sets the working directory for all future commands either in the current chain of commands (where `root` is omitted or set to `false`) or in the main instance (where `root` is `true`).
421
+
422
+ ## How to Specify Options
423
+
424
+ Where the task accepts custom options (eg: `pull` or `commit`), these can be supplied as an object, the keys of which
425
+ will all be merged as trailing arguments in the command string, or as a simple array of strings.
426
+
427
+ ### Options as an Object
428
+
429
+ When the value of the property in the options object is a `string`, that name value
430
+ pair will be included in the command string as `name=value`. For example:
431
+
432
+ ```javascript
433
+ // results in 'git pull origin master --no-rebase'
434
+ git.pull('origin', 'master', { '--no-rebase': null });
435
+
436
+ // results in 'git pull origin master --rebase=true'
437
+ git.pull('origin', 'master', { '--rebase': 'true' });
438
+ ```
439
+
440
+ When the value of the property is an array of `string`s or `number`s, each element will be
441
+ included as separate `name=value` pairs:
442
+
443
+ ```javascript
444
+ // results in 'git log --grep=bug --grep=fix --grep=feature'
445
+ git.log({ '--grep': ['bug', 'fix', 'feature'] });
446
+ ```
447
+
448
+ ### Options as an Array
449
+
450
+ Options can also be supplied as an array of strings to be merged into the task's commands
451
+ in the same way as when an object is used:
452
+
453
+ ```javascript
454
+ // results in 'git pull origin master --no-rebase'
455
+ git.pull('origin', 'master', ['--no-rebase']);
456
+ ```
457
+
458
+ # Release History
459
+
460
+ Major release 3.x changes the packaging of the library, making it consumable as a CommonJS module, ES module as well as
461
+ with TypeScript (see [usage](#usage) above). The library is now published as a single file, so please ensure your
462
+ application hasn't been making use of non-documented APIs by importing from a sub-directory path.
463
+
464
+ See also:
465
+
466
+ - [release notes v3](https://github.com/steveukx/git-js/blob/main/simple-git/CHANGELOG.md)
467
+ - [release notes v2](https://github.com/steveukx/git-js/blob/main/docs/RELEASE-NOTES-V2.md)
468
+
469
+ # Concurrent / Parallel Requests
470
+
471
+ When the methods of `simple-git` are chained together, they create an execution chain that will run in series, useful
472
+ for when the tasks themselves are order-dependent, eg:
473
+
474
+ ```typescript
475
+ simpleGit().init().addRemote('origin', 'https://some-repo.git').fetch();
476
+ ```
477
+
478
+ Each task requires that the one before it has been run successfully before it is called, any errors in a
479
+ step of the chain should prevent later steps from being attempted.
480
+
481
+ When the methods of `simple-git` are called on the root instance (ie: `git = simpleGit()`) rather than chained
482
+ off another task, it starts a new chain and will not be affected failures in tasks already being run. Useful
483
+ for when the tasks are independent of each other, eg:
484
+
485
+ ```typescript
486
+ const git = simpleGit();
487
+ const results = await Promise.all([
488
+ git.raw('rev-parse', '--show-cdup').catch(swallow),
489
+ git.raw('rev-parse', '--show-prefix').catch(swallow),
490
+ ]);
491
+ function swallow(err) {
492
+ return null;
493
+ }
494
+ ```
495
+
496
+ Each `simple-git` instance limits the number of spawned child processes that can be run simultaneously and
497
+ manages the queue of pending tasks for you. Configure this value by passing an options object to the
498
+ `simpleGit` function, eg:
499
+
500
+ ```typescript
501
+ const git = simpleGit({ maxConcurrentProcesses: 10 });
502
+ ```
503
+
504
+ Treating tasks called on the root instance as the start of separate chains is a change to the behaviour of
505
+ `simple-git` and was added in version `2.11.0`.
506
+
507
+ # Complex Requests
508
+
509
+ When no suitable wrapper exists in the interface for creating a request, run the command directly
510
+ using `git.raw([...], handler)`. The array of commands are passed directly to the `git` binary:
511
+
512
+ ```javascript
513
+ const path = '/path/to/repo';
514
+ const commands = ['config', '--global', 'advice.pushNonFastForward', 'false'];
515
+
516
+ // using an array of commands and node-style callback
517
+ simpleGit(path).raw(commands, (err, result) => {
518
+ // err is null unless this command failed
519
+ // result is the raw output of this command
520
+ });
521
+
522
+ // using a var-args of strings and awaiting rather than using the callback
523
+ const result = await simpleGit(path).raw(...commands);
524
+
525
+ // automatically trim trailing white-space in responses
526
+ const result = await simpleGit(path, { trimmed: true }).raw(...commands);
527
+ ```
528
+
529
+ # Authentication
530
+
531
+ The easiest way to supply a username / password to the remote host is to include it in the URL, for example:
532
+
533
+ ```javascript
534
+ const USER = 'something';
535
+ const PASS = 'somewhere';
536
+ const REPO = 'github.com/username/private-repo';
537
+
538
+ const remote = `https://${USER}:${PASS}@${REPO}`;
539
+
540
+ simpleGit()
541
+ .clone(remote)
542
+ .then(() => console.log('finished'))
543
+ .catch((err) => console.error('failed: ', err));
544
+ ```
545
+
546
+ Be sure to not enable debug logging when using this mechanism for authentication
547
+ to ensure passwords aren't logged to stdout.
548
+
549
+ # Environment Variables
550
+
551
+ Pass one or more environment variables to the child processes spawned by `simple-git` with the `.env` method which
552
+ supports passing either an object of name=value pairs or setting a single variable at a time:
553
+
554
+ ```javascript
555
+ const GIT_SSH_COMMAND = 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no';
556
+
557
+ simpleGit()
558
+ .env('GIT_SSH_COMMAND', GIT_SSH_COMMAND)
559
+ .status((err, status) => {
560
+ /* */
561
+ });
562
+
563
+ simpleGit()
564
+ .env({ ...process.env, GIT_SSH_COMMAND })
565
+ .status()
566
+ .then((status) => {})
567
+ .catch((err) => {});
568
+ ```
569
+
570
+ Note - when passing environment variables into the child process, these will replace the standard `process.env`
571
+ variables, the example above creates a new object based on `process.env` but with the `GIT_SSH_COMMAND` property added.
572
+
573
+ # Exception Handling
574
+
575
+ When the `git` process exits with a non-zero status (or in some cases like `merge` the git process exits with a
576
+ successful zero code but there are conflicts in the merge) the task will reject with a `GitError` when there is no
577
+ available parser to handle the error or a
578
+ `GitResponseError` for when there is.
579
+
580
+ See the `err` property of the callback:
581
+
582
+ ```javascript
583
+ git.merge((err, mergeSummary) => {
584
+ if (err.git) {
585
+ mergeSummary = err.git; // the failed mergeSummary
586
+ }
587
+ });
588
+ ```
589
+
590
+ Catch errors with try/catch in async code:
591
+
592
+ ```javascript
593
+ try {
594
+ const mergeSummary = await git.merge();
595
+ console.log(`Merged ${mergeSummary.merges.length} files`);
596
+ } catch (err) {
597
+ // err.message - the string summary of the error
598
+ // err.stack - some stack trace detail
599
+ // err.git - where a parser was able to run, this is the parsed content
600
+
601
+ console.error(`Merge resulted in ${err.git.conflicts.length} conflicts`);
602
+ }
603
+ ```
604
+
605
+ Catch errors with a `.catch` on the promise:
606
+
607
+ ```javascript
608
+ const mergeSummary = await git.merge().catch((err) => {
609
+ if (err.git) {
610
+ return err.git;
611
+ } // the unsuccessful mergeSummary
612
+ throw err; // some other error, so throw
613
+ });
614
+
615
+ if (mergeSummary.failed) {
616
+ console.error(`Merge resulted in ${mergeSummary.conflicts.length} conflicts`);
617
+ }
618
+ ```
619
+
620
+ With typed errors available in TypeScript
621
+
622
+ ```typescript
623
+ import { simpleGit, MergeSummary, GitResponseError } from 'simple-git';
624
+ try {
625
+ const mergeSummary = await simpleGit().merge();
626
+ console.log(`Merged ${mergeSummary.merges.length} files`);
627
+ } catch (err) {
628
+ // err.message - the string summary of the error
629
+ // err.stack - some stack trace detail
630
+ // err.git - where a parser was able to run, this is the parsed content
631
+ const mergeSummary: MergeSummary = (err as GitResponseError<MergeSummary>).git;
632
+ const conflicts = mergeSummary?.conflicts || [];
633
+
634
+ console.error(`Merge resulted in ${conflicts.length} conflicts`);
635
+ }
636
+ ```
637
+
638
+ # Troubleshooting / FAQ
639
+
640
+ ### Enable logging
641
+
642
+ See the [debug logging guide](https://github.com/steveukx/git-js/blob/main/docs/DEBUG-LOGGING-GUIDE.md) for logging examples and how to
643
+ make use of the [debug](https://www.npmjs.com/package/debug) library's programmatic interface
644
+ in your application.
645
+
646
+ ### Enable Verbose Logging
647
+
648
+ See the [debug logging guide](https://github.com/steveukx/git-js/blob/main/docs/DEBUG-LOGGING-GUIDE.md#verbose-logging-options) for
649
+ the full list of verbose logging options to use with the
650
+ [debug](https://www.npmjs.com/package/debug) library.
651
+
652
+ ### Every command returns ENOENT error message
653
+
654
+ There are a few potential reasons:
655
+
656
+ - `git` isn't available as a binary for the user running the main `node` process, custom paths to the binary can be used
657
+ with the `.customBinary(...)` API option.
658
+
659
+ - the working directory passed in to the main `simple-git` function isn't accessible, check it is read/write accessible
660
+ by the user running the `node` process. This library uses
661
+ [@kwsites/file-exists](https://www.npmjs.com/package/@kwsites/file-exists) to validate the working directory exists,
662
+ to output its logs add `@kwsites/file-exists` to your `DEBUG` environment variable. eg:
663
+
664
+ `DEBUG=@kwsites/file-exists,simple-git node ./your-app.js`
665
+
666
+ ### Log format fails
667
+
668
+ The properties of `git log` are fetched using the `--pretty=format` argument which supports different tokens depending
669
+ on the version of `git` - for example the `%D` token used to show the refs was added in git `2.2.3`, for any version
670
+ before that please ensure you are supplying your own format object with properties supported by the version of git you
671
+ are using.
672
+
673
+ For more details of the supported tokens, please see the
674
+ [official `git log` documentation](https://git-scm.com/docs/git-log#_pretty_formats)
675
+
676
+ ### Log response properties are out of order
677
+
678
+ The properties of `git.log` are fetched using the character sequence `ò` as a delimiter. If your commit messages
679
+ use this sequence, supply a custom `splitter` in the options, for example: `git.log({ splitter: '💻' })`
680
+
681
+ ### Pull / Diff / Merge summary responses don't recognise any files
682
+
683
+ - Enable verbose logs with the environment variable `DEBUG=simple-git:task:*,simple-git:output:*`
684
+ - Check the output (for example: `simple-git:output:diff:1 [stdOut] 1 file changed, 1 insertion(+)`)
685
+ - Check the `stdOut` output is the same as you would expect to see when running the command directly in terminal
686
+ - Check the language used in the response is english locale
687
+
688
+ In some cases `git` will show progress messages or additional detail on error states in the output for
689
+ `stdErr` that will help debug your issue, these messages are also included in the verbose log.
690
+
691
+ ### Legacy Node Versions
692
+
693
+ From `v3.x`, `simple-git` will drop support for `node.js` version 10 or below, to use in a lower version of node will
694
+ result in errors such as:
695
+
696
+ - `Object.fromEntries is not a function`
697
+ - `Object.entries is not a function`
698
+ - `message.flatMap is not a function`
699
+
700
+ To resolve these issues, either upgrade to a newer version of node.js or ensure you are using the necessary polyfills
701
+ from `core-js` - see [Legacy Node Versions](https://github.com/steveukx/git-js/blob/main/docs/LEGACY_NODE_VERSIONS.md).
702
+
703
+ # Examples
704
+
705
+ ### using a pathspec to limit the scope of the task
706
+
707
+ If the `simple-git` API doesn't explicitly limit the scope of the task being run (ie: `git.add()` requires the files to
708
+ be added, but `git.status()` will run against the entire repo), add a `pathspec` to the command using trailing options:
709
+
710
+ ```typescript
711
+ import { simpleGit, pathspec } from "simple-git";
712
+
713
+ const git = simpleGit();
714
+ const wholeRepoStatus = await git.status();
715
+ const subDirStatusUsingOptArray = await git.status([pathspec('sub-dir')]);
716
+ const subDirStatusUsingOptObject = await git.status({ 'sub-dir': pathspec('sub-dir') });
717
+ ```
718
+
719
+ ### async await
720
+
721
+ ```javascript
722
+ async function status(workingDir) {
723
+ let statusSummary = null;
724
+ try {
725
+ statusSummary = await simpleGit(workingDir).status();
726
+ } catch (e) {
727
+ // handle the error
728
+ }
729
+
730
+ return statusSummary;
731
+ }
732
+
733
+ // using the async function
734
+ status(__dirname + '/some-repo').then((status) => console.log(status));
735
+ ```
736
+
737
+ ### Initialise a git repo if necessary
738
+
739
+ ```javascript
740
+ const git = simpleGit(__dirname);
741
+
742
+ git.checkIsRepo()
743
+ .then((isRepo) => !isRepo && initialiseRepo(git))
744
+ .then(() => git.fetch());
745
+
746
+ function initialiseRepo(git) {
747
+ return git.init().then(() => git.addRemote('origin', 'https://some.git.repo'));
748
+ }
749
+ ```
750
+
751
+ ### Update repo and get a list of tags
752
+
753
+ ```javascript
754
+ simpleGit(__dirname + '/some-repo')
755
+ .pull()
756
+ .tags((err, tags) => console.log('Latest available tag: %s', tags.latest));
757
+
758
+ // update repo and when there are changes, restart the app
759
+ simpleGit().pull((err, update) => {
760
+ if (update && update.summary.changes) {
761
+ require('child_process').exec('npm restart');
762
+ }
763
+ });
764
+ ```
765
+
766
+ ### Starting a new repo
767
+
768
+ ```javascript
769
+ simpleGit()
770
+ .init()
771
+ .add('./*')
772
+ .commit('first commit!')
773
+ .addRemote('origin', 'https://github.com/user/repo.git')
774
+ .push('origin', 'master');
775
+ ```
776
+
777
+ ### push with `-u`
778
+
779
+ ```javascript
780
+ simpleGit()
781
+ .add('./*')
782
+ .commit('first commit!')
783
+ .addRemote('origin', 'some-repo-url')
784
+ .push(['-u', 'origin', 'master'], () => console.log('done'));
785
+ ```
786
+
787
+ ### Piping to the console for long-running tasks
788
+
789
+ See [progress events](https://github.com/steveukx/git-js/blob/main/docs/PLUGIN-PROGRESS-EVENTS.md) for more details on
790
+ logging progress updates.
791
+
792
+ ```javascript
793
+ const git = simpleGit({
794
+ progress({ method, stage, progress }) {
795
+ console.log(`git.${method} ${stage} stage ${progress}% complete`);
796
+ },
797
+ });
798
+ git.checkout('https://github.com/user/repo.git');
799
+ ```
800
+
801
+ ### Update repo and print messages when there are changes, restart the app
802
+
803
+ ```javascript
804
+ // when using a chain
805
+ simpleGit()
806
+ .exec(() => console.log('Starting pull...'))
807
+ .pull((err, update) => {
808
+ if (update && update.summary.changes) {
809
+ require('child_process').exec('npm restart');
810
+ }
811
+ })
812
+ .exec(() => console.log('pull done.'));
813
+
814
+ // when using async and optional chaining
815
+ const git = simpleGit();
816
+ console.log('Starting pull...');
817
+ if ((await git.pull())?.summary.changes) {
818
+ require('child_process').exec('npm restart');
819
+ }
820
+ console.log('pull done.');
821
+ ```
822
+
823
+ ### Get a full commits list, and then only between 0.11.0 and 0.12.0 tags
824
+
825
+ ```javascript
826
+ console.log(await simpleGit().log());
827
+ console.log(await simpleGit().log('0.11.0', '0.12.0'));
828
+ ```
829
+
830
+ ### Set the local configuration for author, then author for an individual commit
831
+
832
+ ```javascript
833
+ simpleGit()
834
+ .addConfig('user.name', 'Some One')
835
+ .addConfig('user.email', 'some@one.com')
836
+ .commit('committed as "Some One"', 'file-one')
837
+ .commit('committed as "Another Person"', 'file-two', {
838
+ '--author': '"Another Person <another@person.com>"',
839
+ });
840
+ ```
841
+
842
+ ### Get remote repositories
843
+
844
+ ```javascript
845
+ simpleGit().listRemote(['--get-url'], (err, data) => {
846
+ if (!err) {
847
+ console.log('Remote url for repository at ' + __dirname + ':');
848
+ console.log(data);
849
+ }
850
+ });
851
+ ```