@kubbisec/ai-linux-x64 0.1.25 → 0.1.28

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 (625) hide show
  1. package/bin/kubbisec +0 -0
  2. package/bundled/assets/terminal/banner-compact.ansi +7 -0
  3. package/bundled/assets/terminal/banner-wide.ansi +10 -0
  4. package/bundled/assets/terminal/logotipo-compact-fallback.ansi +7 -0
  5. package/bundled/assets/terminal/logotipo-compact.ansi +1 -0
  6. package/bundled/assets/terminal/logotipo-compact.png +0 -0
  7. package/bundled/assets/terminal/logotipo-wide-fallback.ansi +10 -0
  8. package/bundled/assets/terminal/logotipo-wide.ansi +1 -0
  9. package/bundled/assets/terminal/logotipo-wide.png +0 -0
  10. package/bundled/assets/terminal/mark.ansi +7 -0
  11. package/bundled/assets/terminal/wordmark-inline.ansi +1 -0
  12. package/bundled/assets/terminal/wordmark.ansi +4 -0
  13. package/bundled/assets/terminal/wordmark.png +0 -0
  14. package/bundled/components/kubbisec-model-selector.d.ts +44 -0
  15. package/bundled/components/kubbisec-model-selector.d.ts.map +1 -0
  16. package/bundled/components/kubbisec-model-selector.js +198 -0
  17. package/bundled/components/kubbisec-model-selector.js.map +1 -0
  18. package/bundled/config/config.d.ts +14 -0
  19. package/bundled/config/config.d.ts.map +1 -0
  20. package/bundled/config/config.js +67 -0
  21. package/bundled/config/config.js.map +1 -0
  22. package/bundled/config/detect-local-llm-providers.d.ts +33 -0
  23. package/bundled/config/detect-local-llm-providers.d.ts.map +1 -0
  24. package/bundled/config/detect-local-llm-providers.js +172 -0
  25. package/bundled/config/detect-local-llm-providers.js.map +1 -0
  26. package/bundled/config/ensure-kbs-project-settings.d.ts +20 -0
  27. package/bundled/config/ensure-kbs-project-settings.d.ts.map +1 -0
  28. package/bundled/config/ensure-kbs-project-settings.js +46 -0
  29. package/bundled/config/ensure-kbs-project-settings.js.map +1 -0
  30. package/bundled/config/ensure-kubbisec-project-settings.d.ts +31 -0
  31. package/bundled/config/ensure-kubbisec-project-settings.d.ts.map +1 -0
  32. package/bundled/config/ensure-kubbisec-project-settings.js +107 -0
  33. package/bundled/config/ensure-kubbisec-project-settings.js.map +1 -0
  34. package/bundled/config/extended-context.d.ts +12 -0
  35. package/bundled/config/extended-context.d.ts.map +1 -0
  36. package/bundled/config/extended-context.js +36 -0
  37. package/bundled/config/extended-context.js.map +1 -0
  38. package/bundled/config/feature-flags.d.ts +2 -0
  39. package/bundled/config/feature-flags.d.ts.map +1 -0
  40. package/bundled/config/feature-flags.js +2 -0
  41. package/bundled/config/feature-flags.js.map +1 -0
  42. package/bundled/config/format-kubbisec-footer-status.d.ts +2 -0
  43. package/bundled/config/format-kubbisec-footer-status.d.ts.map +1 -0
  44. package/bundled/config/format-kubbisec-footer-status.js +37 -0
  45. package/bundled/config/format-kubbisec-footer-status.js.map +1 -0
  46. package/bundled/config/kubbisec-extension-manifest.d.ts +3 -0
  47. package/bundled/config/kubbisec-extension-manifest.d.ts.map +1 -0
  48. package/bundled/config/kubbisec-extension-manifest.js +22 -0
  49. package/bundled/config/kubbisec-extension-manifest.js.map +1 -0
  50. package/bundled/config/llm-config-mutations.d.ts +38 -0
  51. package/bundled/config/llm-config-mutations.d.ts.map +1 -0
  52. package/bundled/config/llm-config-mutations.js +207 -0
  53. package/bundled/config/llm-config-mutations.js.map +1 -0
  54. package/bundled/config/llm-config.d.ts +66 -0
  55. package/bundled/config/llm-config.d.ts.map +1 -0
  56. package/bundled/config/llm-config.js +246 -0
  57. package/bundled/config/llm-config.js.map +1 -0
  58. package/bundled/config/llm-provider-catalog.d.ts +22 -0
  59. package/bundled/config/llm-provider-catalog.d.ts.map +1 -0
  60. package/bundled/config/llm-provider-catalog.js +54 -0
  61. package/bundled/config/llm-provider-catalog.js.map +1 -0
  62. package/bundled/config/materialize-kubbisec-pi-resources.d.ts +19 -0
  63. package/bundled/config/materialize-kubbisec-pi-resources.d.ts.map +1 -0
  64. package/bundled/config/materialize-kubbisec-pi-resources.js +242 -0
  65. package/bundled/config/materialize-kubbisec-pi-resources.js.map +1 -0
  66. package/bundled/config/register-custom-llm-providers.d.ts +13 -0
  67. package/bundled/config/register-custom-llm-providers.d.ts.map +1 -0
  68. package/bundled/config/register-custom-llm-providers.js +21 -0
  69. package/bundled/config/register-custom-llm-providers.js.map +1 -0
  70. package/bundled/config/register-kubbisec-llm-provider.d.ts +14 -0
  71. package/bundled/config/register-kubbisec-llm-provider.d.ts.map +1 -0
  72. package/bundled/config/register-kubbisec-llm-provider.js +53 -0
  73. package/bundled/config/register-kubbisec-llm-provider.js.map +1 -0
  74. package/bundled/config/resolve-agents-context-file.d.ts +4 -0
  75. package/bundled/config/resolve-agents-context-file.d.ts.map +1 -0
  76. package/bundled/config/resolve-agents-context-file.js +47 -0
  77. package/bundled/config/resolve-agents-context-file.js.map +1 -0
  78. package/bundled/config/resource-budget.d.ts +17 -0
  79. package/bundled/config/resource-budget.d.ts.map +1 -0
  80. package/bundled/config/resource-budget.js +35 -0
  81. package/bundled/config/resource-budget.js.map +1 -0
  82. package/bundled/config/sync-kubbisec-pi-models.d.ts +12 -0
  83. package/bundled/config/sync-kubbisec-pi-models.d.ts.map +1 -0
  84. package/bundled/config/sync-kubbisec-pi-models.js +81 -0
  85. package/bundled/config/sync-kubbisec-pi-models.js.map +1 -0
  86. package/bundled/copy/cli-reference-index.d.ts +2 -0
  87. package/bundled/copy/cli-reference-index.d.ts.map +1 -0
  88. package/bundled/copy/cli-reference-index.js +2 -0
  89. package/bundled/copy/cli-reference-index.js.map +1 -0
  90. package/bundled/copy/kubbisec-shell-copy.d.ts +21 -0
  91. package/bundled/copy/kubbisec-shell-copy.d.ts.map +1 -0
  92. package/bundled/copy/kubbisec-shell-copy.js +21 -0
  93. package/bundled/copy/kubbisec-shell-copy.js.map +1 -0
  94. package/bundled/edit-format.md +17 -0
  95. package/bundled/extensions/cli-local-shared.d.ts +56 -0
  96. package/bundled/extensions/cli-local-shared.d.ts.map +1 -0
  97. package/bundled/extensions/cli-local-shared.js +159 -0
  98. package/bundled/extensions/cli-local-shared.js.map +1 -0
  99. package/bundled/extensions/kubbisec-aspm-local.extension.d.ts +18 -0
  100. package/bundled/extensions/kubbisec-aspm-local.extension.d.ts.map +1 -0
  101. package/bundled/extensions/kubbisec-aspm-local.extension.js +109 -0
  102. package/bundled/extensions/kubbisec-aspm-local.extension.js.map +1 -0
  103. package/bundled/extensions/kubbisec-brand.extension.d.ts +3 -0
  104. package/bundled/extensions/kubbisec-brand.extension.d.ts.map +1 -0
  105. package/bundled/extensions/kubbisec-brand.extension.js +32 -0
  106. package/bundled/extensions/kubbisec-brand.extension.js.map +1 -0
  107. package/bundled/extensions/kubbisec-byok-provider.extension.d.ts +6 -0
  108. package/bundled/extensions/kubbisec-byok-provider.extension.d.ts.map +1 -0
  109. package/bundled/extensions/kubbisec-byok-provider.extension.js +5 -0
  110. package/bundled/extensions/kubbisec-byok-provider.extension.js.map +1 -0
  111. package/bundled/extensions/kubbisec-clarify.extension.d.ts +50 -0
  112. package/bundled/extensions/kubbisec-clarify.extension.d.ts.map +1 -0
  113. package/bundled/extensions/kubbisec-clarify.extension.js +363 -0
  114. package/bundled/extensions/kubbisec-clarify.extension.js.map +1 -0
  115. package/bundled/extensions/kubbisec-exit.extension.d.ts +6 -0
  116. package/bundled/extensions/kubbisec-exit.extension.d.ts.map +1 -0
  117. package/bundled/extensions/kubbisec-exit.extension.js +41 -0
  118. package/bundled/extensions/kubbisec-exit.extension.js.map +1 -0
  119. package/bundled/extensions/kubbisec-extended-context.extension.d.ts +6 -0
  120. package/bundled/extensions/kubbisec-extended-context.extension.d.ts.map +1 -0
  121. package/bundled/extensions/kubbisec-extended-context.extension.js +50 -0
  122. package/bundled/extensions/kubbisec-extended-context.extension.js.map +1 -0
  123. package/bundled/extensions/kubbisec-footer.extension.d.ts +19 -0
  124. package/bundled/extensions/kubbisec-footer.extension.d.ts.map +1 -0
  125. package/bundled/extensions/kubbisec-footer.extension.js +255 -0
  126. package/bundled/extensions/kubbisec-footer.extension.js.map +1 -0
  127. package/bundled/extensions/kubbisec-github-local.extension.d.ts +23 -0
  128. package/bundled/extensions/kubbisec-github-local.extension.d.ts.map +1 -0
  129. package/bundled/extensions/kubbisec-github-local.extension.js +470 -0
  130. package/bundled/extensions/kubbisec-github-local.extension.js.map +1 -0
  131. package/bundled/extensions/kubbisec-llm-config.extension.d.ts +3 -0
  132. package/bundled/extensions/kubbisec-llm-config.extension.d.ts.map +1 -0
  133. package/bundled/extensions/kubbisec-llm-config.extension.js +211 -0
  134. package/bundled/extensions/kubbisec-llm-config.extension.js.map +1 -0
  135. package/bundled/extensions/kubbisec-memory.extension.d.ts +12 -0
  136. package/bundled/extensions/kubbisec-memory.extension.d.ts.map +1 -0
  137. package/bundled/extensions/kubbisec-memory.extension.js +107 -0
  138. package/bundled/extensions/kubbisec-memory.extension.js.map +1 -0
  139. package/bundled/extensions/kubbisec-naus-local.extension.d.ts +18 -0
  140. package/bundled/extensions/kubbisec-naus-local.extension.d.ts.map +1 -0
  141. package/bundled/extensions/kubbisec-naus-local.extension.js +112 -0
  142. package/bundled/extensions/kubbisec-naus-local.extension.js.map +1 -0
  143. package/bundled/extensions/kubbisec-platform-tools.extension.d.ts +30 -0
  144. package/bundled/extensions/kubbisec-platform-tools.extension.d.ts.map +1 -0
  145. package/bundled/extensions/kubbisec-platform-tools.extension.js +185 -0
  146. package/bundled/extensions/kubbisec-platform-tools.extension.js.map +1 -0
  147. package/bundled/extensions/kubbisec-runtime-status.extension.d.ts +13 -0
  148. package/bundled/extensions/kubbisec-runtime-status.extension.d.ts.map +1 -0
  149. package/bundled/extensions/kubbisec-runtime-status.extension.js +18 -0
  150. package/bundled/extensions/kubbisec-runtime-status.extension.js.map +1 -0
  151. package/bundled/extensions/kubbisec-scope.extension.d.ts +14 -0
  152. package/bundled/extensions/kubbisec-scope.extension.d.ts.map +1 -0
  153. package/bundled/extensions/kubbisec-scope.extension.js +18 -0
  154. package/bundled/extensions/kubbisec-scope.extension.js.map +1 -0
  155. package/bundled/extensions/kubbisec-skill-mentions.extension.d.ts +25 -0
  156. package/bundled/extensions/kubbisec-skill-mentions.extension.d.ts.map +1 -0
  157. package/bundled/extensions/kubbisec-skill-mentions.extension.js +71 -0
  158. package/bundled/extensions/kubbisec-skill-mentions.extension.js.map +1 -0
  159. package/bundled/extensions/kubbisec-skill-telemetry.extension.d.ts +6 -0
  160. package/bundled/extensions/kubbisec-skill-telemetry.extension.d.ts.map +1 -0
  161. package/bundled/extensions/kubbisec-skill-telemetry.extension.js +85 -0
  162. package/bundled/extensions/kubbisec-skill-telemetry.extension.js.map +1 -0
  163. package/bundled/extensions/kubbisec-theme-lock.extension.d.ts +6 -0
  164. package/bundled/extensions/kubbisec-theme-lock.extension.d.ts.map +1 -0
  165. package/bundled/extensions/kubbisec-theme-lock.extension.js +43 -0
  166. package/bundled/extensions/kubbisec-theme-lock.extension.js.map +1 -0
  167. package/bundled/extensions/kubbisec-ui.extension.d.ts +6 -0
  168. package/bundled/extensions/kubbisec-ui.extension.d.ts.map +1 -0
  169. package/bundled/extensions/kubbisec-ui.extension.js +143 -0
  170. package/bundled/extensions/kubbisec-ui.extension.js.map +1 -0
  171. package/bundled/extensions/kubbisec-workflow.extension.d.ts +38 -0
  172. package/bundled/extensions/kubbisec-workflow.extension.d.ts.map +1 -0
  173. package/bundled/extensions/kubbisec-workflow.extension.js +179 -0
  174. package/bundled/extensions/kubbisec-workflow.extension.js.map +1 -0
  175. package/bundled/gate-system.md +27 -0
  176. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.d.ts +20 -0
  177. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.d.ts.map +1 -0
  178. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.js +121 -0
  179. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.js.map +1 -0
  180. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.d.ts +15 -0
  181. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.d.ts.map +1 -0
  182. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.js +34 -0
  183. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.js.map +1 -0
  184. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.d.ts +12 -0
  185. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.d.ts.map +1 -0
  186. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.js +85 -0
  187. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.js.map +1 -0
  188. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.d.ts +4 -0
  189. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.d.ts.map +1 -0
  190. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.js +89 -0
  191. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.js.map +1 -0
  192. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.d.ts +2 -0
  193. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.d.ts.map +1 -0
  194. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.js +11 -0
  195. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.js.map +1 -0
  196. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.d.ts +24 -0
  197. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.d.ts.map +1 -0
  198. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.js +9 -0
  199. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.js.map +1 -0
  200. package/bundled/node_modules/@kubbisec/chat-memory/package.json +32 -0
  201. package/bundled/node_modules/@kubbisec/home/dist/api-url.d.ts +8 -0
  202. package/bundled/node_modules/@kubbisec/home/dist/api-url.d.ts.map +1 -0
  203. package/bundled/node_modules/@kubbisec/home/dist/api-url.js +25 -0
  204. package/bundled/node_modules/@kubbisec/home/dist/api-url.js.map +1 -0
  205. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.d.ts +17 -0
  206. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.d.ts.map +1 -0
  207. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.js +35 -0
  208. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.js.map +1 -0
  209. package/bundled/node_modules/@kubbisec/home/dist/index.d.ts +5 -0
  210. package/bundled/node_modules/@kubbisec/home/dist/index.d.ts.map +1 -0
  211. package/bundled/node_modules/@kubbisec/home/dist/index.js +5 -0
  212. package/bundled/node_modules/@kubbisec/home/dist/index.js.map +1 -0
  213. package/bundled/node_modules/@kubbisec/home/dist/migrate.d.ts +10 -0
  214. package/bundled/node_modules/@kubbisec/home/dist/migrate.d.ts.map +1 -0
  215. package/bundled/node_modules/@kubbisec/home/dist/migrate.js +107 -0
  216. package/bundled/node_modules/@kubbisec/home/dist/migrate.js.map +1 -0
  217. package/bundled/node_modules/@kubbisec/home/dist/paths.d.ts +22 -0
  218. package/bundled/node_modules/@kubbisec/home/dist/paths.d.ts.map +1 -0
  219. package/bundled/node_modules/@kubbisec/home/dist/paths.js +69 -0
  220. package/bundled/node_modules/@kubbisec/home/dist/paths.js.map +1 -0
  221. package/bundled/node_modules/@kubbisec/home/package.json +26 -0
  222. package/bundled/node_modules/@kubbisec/shared/dist/ai/evaluation-dataset-50.d.ts +311 -0
  223. package/bundled/node_modules/@kubbisec/shared/dist/ai/evaluation-dataset-50.d.ts.map +1 -0
  224. package/bundled/node_modules/@kubbisec/shared/dist/ai/evaluation-dataset-50.js +357 -0
  225. package/bundled/node_modules/@kubbisec/shared/dist/ai/evaluation-dataset-50.js.map +1 -0
  226. package/bundled/node_modules/@kubbisec/shared/dist/ai/index.d.ts +3 -0
  227. package/bundled/node_modules/@kubbisec/shared/dist/ai/index.d.ts.map +1 -0
  228. package/bundled/node_modules/@kubbisec/shared/dist/ai/index.js +19 -0
  229. package/bundled/node_modules/@kubbisec/shared/dist/ai/index.js.map +1 -0
  230. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-assistant-system-prompt.d.ts +7 -0
  231. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-assistant-system-prompt.d.ts.map +1 -0
  232. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-assistant-system-prompt.js +30 -0
  233. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-assistant-system-prompt.js.map +1 -0
  234. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-chat-system-prompt.d.ts +7 -0
  235. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-chat-system-prompt.d.ts.map +1 -0
  236. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-chat-system-prompt.js +14 -0
  237. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-chat-system-prompt.js.map +1 -0
  238. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/cli-reference-index.d.ts +6 -0
  239. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/cli-reference-index.d.ts.map +1 -0
  240. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/cli-reference-index.js +65 -0
  241. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/cli-reference-index.js.map +1 -0
  242. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/format-mcp-knowledge.d.ts +8 -0
  243. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/format-mcp-knowledge.d.ts.map +1 -0
  244. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/format-mcp-knowledge.js +29 -0
  245. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/format-mcp-knowledge.js.map +1 -0
  246. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/index.d.ts +7 -0
  247. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/index.d.ts.map +1 -0
  248. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/index.js +16 -0
  249. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/index.js.map +1 -0
  250. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mcp-instructions.d.ts +2 -0
  251. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mcp-instructions.d.ts.map +1 -0
  252. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mcp-instructions.js +35 -0
  253. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mcp-instructions.js.map +1 -0
  254. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mental-map.d.ts +6 -0
  255. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mental-map.d.ts.map +1 -0
  256. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mental-map.js +32 -0
  257. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mental-map.js.map +1 -0
  258. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-groups.d.ts +12 -0
  259. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-groups.d.ts.map +1 -0
  260. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-groups.js +93 -0
  261. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-groups.js.map +1 -0
  262. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-presets.d.ts +13 -0
  263. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-presets.d.ts.map +1 -0
  264. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-presets.js +79 -0
  265. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-presets.js.map +1 -0
  266. package/bundled/node_modules/@kubbisec/shared/dist/api-key/index.d.ts +4 -0
  267. package/bundled/node_modules/@kubbisec/shared/dist/api-key/index.d.ts.map +1 -0
  268. package/bundled/node_modules/@kubbisec/shared/dist/api-key/index.js +20 -0
  269. package/bundled/node_modules/@kubbisec/shared/dist/api-key/index.js.map +1 -0
  270. package/bundled/node_modules/@kubbisec/shared/dist/api-key/migrate-api-key-metadata.d.ts +20 -0
  271. package/bundled/node_modules/@kubbisec/shared/dist/api-key/migrate-api-key-metadata.d.ts.map +1 -0
  272. package/bundled/node_modules/@kubbisec/shared/dist/api-key/migrate-api-key-metadata.js +78 -0
  273. package/bundled/node_modules/@kubbisec/shared/dist/api-key/migrate-api-key-metadata.js.map +1 -0
  274. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-session-key.d.ts +20 -0
  275. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-session-key.d.ts.map +1 -0
  276. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-session-key.js +33 -0
  277. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-session-key.js.map +1 -0
  278. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-thread.d.ts +19 -0
  279. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-thread.d.ts.map +1 -0
  280. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-thread.js +126 -0
  281. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-thread.js.map +1 -0
  282. package/bundled/node_modules/@kubbisec/shared/dist/assistant/index.d.ts +3 -0
  283. package/bundled/node_modules/@kubbisec/shared/dist/assistant/index.d.ts.map +1 -0
  284. package/bundled/node_modules/@kubbisec/shared/dist/assistant/index.js +19 -0
  285. package/bundled/node_modules/@kubbisec/shared/dist/assistant/index.js.map +1 -0
  286. package/bundled/node_modules/@kubbisec/shared/dist/billing/index.d.ts +2 -0
  287. package/bundled/node_modules/@kubbisec/shared/dist/billing/index.d.ts.map +1 -0
  288. package/bundled/node_modules/@kubbisec/shared/dist/billing/index.js +18 -0
  289. package/bundled/node_modules/@kubbisec/shared/dist/billing/index.js.map +1 -0
  290. package/bundled/node_modules/@kubbisec/shared/dist/billing/plan-limits.d.ts +17 -0
  291. package/bundled/node_modules/@kubbisec/shared/dist/billing/plan-limits.d.ts.map +1 -0
  292. package/bundled/node_modules/@kubbisec/shared/dist/billing/plan-limits.js +30 -0
  293. package/bundled/node_modules/@kubbisec/shared/dist/billing/plan-limits.js.map +1 -0
  294. package/bundled/node_modules/@kubbisec/shared/dist/ci/ci-job-dependencies.d.ts +42 -0
  295. package/bundled/node_modules/@kubbisec/shared/dist/ci/ci-job-dependencies.d.ts.map +1 -0
  296. package/bundled/node_modules/@kubbisec/shared/dist/ci/ci-job-dependencies.js +147 -0
  297. package/bundled/node_modules/@kubbisec/shared/dist/ci/ci-job-dependencies.js.map +1 -0
  298. package/bundled/node_modules/@kubbisec/shared/dist/ci/git-checkout-log-policy.d.ts +12 -0
  299. package/bundled/node_modules/@kubbisec/shared/dist/ci/git-checkout-log-policy.d.ts.map +1 -0
  300. package/bundled/node_modules/@kubbisec/shared/dist/ci/git-checkout-log-policy.js +70 -0
  301. package/bundled/node_modules/@kubbisec/shared/dist/ci/git-checkout-log-policy.js.map +1 -0
  302. package/bundled/node_modules/@kubbisec/shared/dist/ci/index.d.ts +4 -0
  303. package/bundled/node_modules/@kubbisec/shared/dist/ci/index.d.ts.map +1 -0
  304. package/bundled/node_modules/@kubbisec/shared/dist/ci/index.js +20 -0
  305. package/bundled/node_modules/@kubbisec/shared/dist/ci/index.js.map +1 -0
  306. package/bundled/node_modules/@kubbisec/shared/dist/ci/kubbisec-ci-execution-env.d.ts +16 -0
  307. package/bundled/node_modules/@kubbisec/shared/dist/ci/kubbisec-ci-execution-env.d.ts.map +1 -0
  308. package/bundled/node_modules/@kubbisec/shared/dist/ci/kubbisec-ci-execution-env.js +45 -0
  309. package/bundled/node_modules/@kubbisec/shared/dist/ci/kubbisec-ci-execution-env.js.map +1 -0
  310. package/bundled/node_modules/@kubbisec/shared/dist/cli-user-error.d.ts +18 -0
  311. package/bundled/node_modules/@kubbisec/shared/dist/cli-user-error.d.ts.map +1 -0
  312. package/bundled/node_modules/@kubbisec/shared/dist/cli-user-error.js +92 -0
  313. package/bundled/node_modules/@kubbisec/shared/dist/cli-user-error.js.map +1 -0
  314. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-bitbucket-projects.dto.d.ts +15 -0
  315. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-bitbucket-projects.dto.d.ts.map +1 -0
  316. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-bitbucket-projects.dto.js +75 -0
  317. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-bitbucket-projects.dto.js.map +1 -0
  318. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-github-projects.dto.d.ts +25 -0
  319. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-github-projects.dto.d.ts.map +1 -0
  320. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-github-projects.dto.js +85 -0
  321. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-github-projects.dto.js.map +1 -0
  322. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-bundle-report.dto.d.ts +17 -0
  323. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-bundle-report.dto.d.ts.map +1 -0
  324. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-bundle-report.dto.js +98 -0
  325. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-bundle-report.dto.js.map +1 -0
  326. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-coverage-report.dto.d.ts +32 -0
  327. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-coverage-report.dto.d.ts.map +1 -0
  328. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-coverage-report.dto.js +209 -0
  329. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-coverage-report.dto.js.map +1 -0
  330. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-project.dto.d.ts +65 -0
  331. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-project.dto.d.ts.map +1 -0
  332. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-project.dto.js +354 -0
  333. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-project.dto.js.map +1 -0
  334. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-report.dto.d.ts +27 -0
  335. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-report.dto.d.ts.map +1 -0
  336. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-report.dto.js +145 -0
  337. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-report.dto.js.map +1 -0
  338. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-scan-target.dto.d.ts +8 -0
  339. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-scan-target.dto.d.ts.map +1 -0
  340. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-scan-target.dto.js +51 -0
  341. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-scan-target.dto.js.map +1 -0
  342. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-vulnerability.dto.d.ts +34 -0
  343. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-vulnerability.dto.d.ts.map +1 -0
  344. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-vulnerability.dto.js +189 -0
  345. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-vulnerability.dto.js.map +1 -0
  346. package/bundled/node_modules/@kubbisec/shared/dist/dto/index.d.ts +17 -0
  347. package/bundled/node_modules/@kubbisec/shared/dist/dto/index.d.ts.map +1 -0
  348. package/bundled/node_modules/@kubbisec/shared/dist/dto/index.js +51 -0
  349. package/bundled/node_modules/@kubbisec/shared/dist/dto/index.js.map +1 -0
  350. package/bundled/node_modules/@kubbisec/shared/dist/dto/metrics.dto.d.ts +203 -0
  351. package/bundled/node_modules/@kubbisec/shared/dist/dto/metrics.dto.d.ts.map +1 -0
  352. package/bundled/node_modules/@kubbisec/shared/dist/dto/metrics.dto.js +42 -0
  353. package/bundled/node_modules/@kubbisec/shared/dist/dto/metrics.dto.js.map +1 -0
  354. package/bundled/node_modules/@kubbisec/shared/dist/dto/record-gate-result.dto.d.ts +6 -0
  355. package/bundled/node_modules/@kubbisec/shared/dist/dto/record-gate-result.dto.d.ts.map +1 -0
  356. package/bundled/node_modules/@kubbisec/shared/dist/dto/record-gate-result.dto.js +31 -0
  357. package/bundled/node_modules/@kubbisec/shared/dist/dto/record-gate-result.dto.js.map +1 -0
  358. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-coverage-gate.dto.d.ts +7 -0
  359. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-coverage-gate.dto.d.ts.map +1 -0
  360. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-coverage-gate.dto.js +47 -0
  361. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-coverage-gate.dto.js.map +1 -0
  362. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-performance-gate.dto.d.ts +6 -0
  363. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-performance-gate.dto.d.ts.map +1 -0
  364. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-performance-gate.dto.js +36 -0
  365. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-performance-gate.dto.js.map +1 -0
  366. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-project.dto.d.ts +9 -0
  367. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-project.dto.d.ts.map +1 -0
  368. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-project.dto.js +52 -0
  369. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-project.dto.js.map +1 -0
  370. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-security-gate.dto.d.ts +9 -0
  371. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-security-gate.dto.d.ts.map +1 -0
  372. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-security-gate.dto.js +58 -0
  373. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-security-gate.dto.js.map +1 -0
  374. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-vulnerability.dto.d.ts +6 -0
  375. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-vulnerability.dto.d.ts.map +1 -0
  376. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-vulnerability.dto.js +30 -0
  377. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-vulnerability.dto.js.map +1 -0
  378. package/bundled/node_modules/@kubbisec/shared/dist/enums.d.ts +88 -0
  379. package/bundled/node_modules/@kubbisec/shared/dist/enums.d.ts.map +1 -0
  380. package/bundled/node_modules/@kubbisec/shared/dist/enums.js +136 -0
  381. package/bundled/node_modules/@kubbisec/shared/dist/enums.js.map +1 -0
  382. package/bundled/node_modules/@kubbisec/shared/dist/github/kubbisec-github-label.d.ts +6 -0
  383. package/bundled/node_modules/@kubbisec/shared/dist/github/kubbisec-github-label.d.ts.map +1 -0
  384. package/bundled/node_modules/@kubbisec/shared/dist/github/kubbisec-github-label.js +9 -0
  385. package/bundled/node_modules/@kubbisec/shared/dist/github/kubbisec-github-label.js.map +1 -0
  386. package/bundled/node_modules/@kubbisec/shared/dist/index.d.ts +23 -0
  387. package/bundled/node_modules/@kubbisec/shared/dist/index.d.ts.map +1 -0
  388. package/bundled/node_modules/@kubbisec/shared/dist/index.js +39 -0
  389. package/bundled/node_modules/@kubbisec/shared/dist/index.js.map +1 -0
  390. package/bundled/node_modules/@kubbisec/shared/dist/mcp/constants.d.ts +22 -0
  391. package/bundled/node_modules/@kubbisec/shared/dist/mcp/constants.d.ts.map +1 -0
  392. package/bundled/node_modules/@kubbisec/shared/dist/mcp/constants.js +52 -0
  393. package/bundled/node_modules/@kubbisec/shared/dist/mcp/constants.js.map +1 -0
  394. package/bundled/node_modules/@kubbisec/shared/dist/mcp/oauth-metadata.d.ts +37 -0
  395. package/bundled/node_modules/@kubbisec/shared/dist/mcp/oauth-metadata.d.ts.map +1 -0
  396. package/bundled/node_modules/@kubbisec/shared/dist/mcp/oauth-metadata.js +51 -0
  397. package/bundled/node_modules/@kubbisec/shared/dist/mcp/oauth-metadata.js.map +1 -0
  398. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/ai-docs-bundle.loader.d.ts +6 -0
  399. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/ai-docs-bundle.loader.d.ts.map +1 -0
  400. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/ai-docs-bundle.loader.js +68 -0
  401. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/ai-docs-bundle.loader.js.map +1 -0
  402. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/aspm-docs-bundle.loader.d.ts +8 -0
  403. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/aspm-docs-bundle.loader.d.ts.map +1 -0
  404. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/aspm-docs-bundle.loader.js +115 -0
  405. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/aspm-docs-bundle.loader.js.map +1 -0
  406. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/doc-bundle-utils.d.ts +12 -0
  407. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/doc-bundle-utils.d.ts.map +1 -0
  408. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/doc-bundle-utils.js +86 -0
  409. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/doc-bundle-utils.js.map +1 -0
  410. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/index.d.ts +8 -0
  411. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/index.d.ts.map +1 -0
  412. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/index.js +33 -0
  413. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/index.js.map +1 -0
  414. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/mcp-tools-catalog.d.ts +4 -0
  415. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/mcp-tools-catalog.d.ts.map +1 -0
  416. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/mcp-tools-catalog.js +23 -0
  417. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/mcp-tools-catalog.js.map +1 -0
  418. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/monorepo-root.d.ts +4 -0
  419. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/monorepo-root.d.ts.map +1 -0
  420. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/monorepo-root.js +19 -0
  421. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/monorepo-root.js.map +1 -0
  422. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.d.ts +11 -0
  423. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.d.ts.map +1 -0
  424. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.js +148 -0
  425. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.js.map +1 -0
  426. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.d.ts +2 -0
  427. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.d.ts.map +1 -0
  428. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.js +36 -0
  429. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.js.map +1 -0
  430. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/security-scanner-playbooks.d.ts +49 -0
  431. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/security-scanner-playbooks.d.ts.map +1 -0
  432. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/security-scanner-playbooks.js +600 -0
  433. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/security-scanner-playbooks.js.map +1 -0
  434. package/bundled/node_modules/@kubbisec/shared/dist/project-scanner-summary.d.ts +24 -0
  435. package/bundled/node_modules/@kubbisec/shared/dist/project-scanner-summary.d.ts.map +1 -0
  436. package/bundled/node_modules/@kubbisec/shared/dist/project-scanner-summary.js +64 -0
  437. package/bundled/node_modules/@kubbisec/shared/dist/project-scanner-summary.js.map +1 -0
  438. package/bundled/node_modules/@kubbisec/shared/dist/rbac/better-auth-org-roles.d.ts +23 -0
  439. package/bundled/node_modules/@kubbisec/shared/dist/rbac/better-auth-org-roles.d.ts.map +1 -0
  440. package/bundled/node_modules/@kubbisec/shared/dist/rbac/better-auth-org-roles.js +53 -0
  441. package/bundled/node_modules/@kubbisec/shared/dist/rbac/better-auth-org-roles.js.map +1 -0
  442. package/bundled/node_modules/@kubbisec/shared/dist/rbac/index.d.ts +8 -0
  443. package/bundled/node_modules/@kubbisec/shared/dist/rbac/index.d.ts.map +1 -0
  444. package/bundled/node_modules/@kubbisec/shared/dist/rbac/index.js +24 -0
  445. package/bundled/node_modules/@kubbisec/shared/dist/rbac/index.js.map +1 -0
  446. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permission-descriptions.d.ts +9 -0
  447. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permission-descriptions.d.ts.map +1 -0
  448. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permission-descriptions.js +91 -0
  449. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permission-descriptions.js.map +1 -0
  450. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permissions.d.ts +12 -0
  451. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permissions.d.ts.map +1 -0
  452. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permissions.js +86 -0
  453. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permissions.js.map +1 -0
  454. package/bundled/node_modules/@kubbisec/shared/dist/rbac/member-quota.d.ts +8 -0
  455. package/bundled/node_modules/@kubbisec/shared/dist/rbac/member-quota.d.ts.map +1 -0
  456. package/bundled/node_modules/@kubbisec/shared/dist/rbac/member-quota.js +19 -0
  457. package/bundled/node_modules/@kubbisec/shared/dist/rbac/member-quota.js.map +1 -0
  458. package/bundled/node_modules/@kubbisec/shared/dist/rbac/platform-staff.d.ts +16 -0
  459. package/bundled/node_modules/@kubbisec/shared/dist/rbac/platform-staff.d.ts.map +1 -0
  460. package/bundled/node_modules/@kubbisec/shared/dist/rbac/platform-staff.js +61 -0
  461. package/bundled/node_modules/@kubbisec/shared/dist/rbac/platform-staff.js.map +1 -0
  462. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-org-permissions.d.ts +10 -0
  463. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-org-permissions.d.ts.map +1 -0
  464. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-org-permissions.js +200 -0
  465. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-org-permissions.js.map +1 -0
  466. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-platform-permissions.d.ts +7 -0
  467. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-platform-permissions.d.ts.map +1 -0
  468. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-platform-permissions.js +23 -0
  469. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-platform-permissions.js.map +1 -0
  470. package/bundled/node_modules/@kubbisec/shared/dist/redaction.d.ts +14 -0
  471. package/bundled/node_modules/@kubbisec/shared/dist/redaction.d.ts.map +1 -0
  472. package/bundled/node_modules/@kubbisec/shared/dist/redaction.js +251 -0
  473. package/bundled/node_modules/@kubbisec/shared/dist/redaction.js.map +1 -0
  474. package/bundled/node_modules/@kubbisec/shared/dist/security/aspm-gate-rules.d.ts +19 -0
  475. package/bundled/node_modules/@kubbisec/shared/dist/security/aspm-gate-rules.d.ts.map +1 -0
  476. package/bundled/node_modules/@kubbisec/shared/dist/security/aspm-gate-rules.js +61 -0
  477. package/bundled/node_modules/@kubbisec/shared/dist/security/aspm-gate-rules.js.map +1 -0
  478. package/bundled/node_modules/@kubbisec/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.d.ts +3 -0
  479. package/bundled/node_modules/@kubbisec/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.d.ts.map +1 -0
  480. package/bundled/node_modules/@kubbisec/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.js +54 -0
  481. package/bundled/node_modules/@kubbisec/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.js.map +1 -0
  482. package/bundled/node_modules/@kubbisec/shared/dist/security/build-github-security-workflow-yaml.d.ts +4 -0
  483. package/bundled/node_modules/@kubbisec/shared/dist/security/build-github-security-workflow-yaml.d.ts.map +1 -0
  484. package/bundled/node_modules/@kubbisec/shared/dist/security/build-github-security-workflow-yaml.js +72 -0
  485. package/bundled/node_modules/@kubbisec/shared/dist/security/build-github-security-workflow-yaml.js.map +1 -0
  486. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-action-pins.d.ts +27 -0
  487. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-action-pins.d.ts.map +1 -0
  488. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-action-pins.js +30 -0
  489. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-action-pins.js.map +1 -0
  490. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-tool-jobs.d.ts +7 -0
  491. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-tool-jobs.d.ts.map +1 -0
  492. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-tool-jobs.js +184 -0
  493. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-tool-jobs.js.map +1 -0
  494. package/bundled/node_modules/@kubbisec/shared/dist/security/index.d.ts +7 -0
  495. package/bundled/node_modules/@kubbisec/shared/dist/security/index.d.ts.map +1 -0
  496. package/bundled/node_modules/@kubbisec/shared/dist/security/index.js +23 -0
  497. package/bundled/node_modules/@kubbisec/shared/dist/security/index.js.map +1 -0
  498. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool-catalog.d.ts +5 -0
  499. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool-catalog.d.ts.map +1 -0
  500. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool-catalog.js +74 -0
  501. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool-catalog.js.map +1 -0
  502. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool.types.d.ts +43 -0
  503. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool.types.d.ts.map +1 -0
  504. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool.types.js +22 -0
  505. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool.types.js.map +1 -0
  506. package/bundled/node_modules/@kubbisec/shared/dist/severity-map.d.ts +8 -0
  507. package/bundled/node_modules/@kubbisec/shared/dist/severity-map.d.ts.map +1 -0
  508. package/bundled/node_modules/@kubbisec/shared/dist/severity-map.js +47 -0
  509. package/bundled/node_modules/@kubbisec/shared/dist/severity-map.js.map +1 -0
  510. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/constants.d.ts +4 -0
  511. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/constants.d.ts.map +1 -0
  512. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/constants.js +10 -0
  513. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/constants.js.map +1 -0
  514. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/index.d.ts +4 -0
  515. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/index.d.ts.map +1 -0
  516. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/index.js +20 -0
  517. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/index.js.map +1 -0
  518. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/redact-log-lines.d.ts +2 -0
  519. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/redact-log-lines.d.ts.map +1 -0
  520. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/redact-log-lines.js +9 -0
  521. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/redact-log-lines.js.map +1 -0
  522. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/share-prefix.d.ts +3 -0
  523. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/share-prefix.d.ts.map +1 -0
  524. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/share-prefix.js +18 -0
  525. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/share-prefix.js.map +1 -0
  526. package/bundled/node_modules/@kubbisec/shared/dist/sonar-safe-string.d.ts +26 -0
  527. package/bundled/node_modules/@kubbisec/shared/dist/sonar-safe-string.d.ts.map +1 -0
  528. package/bundled/node_modules/@kubbisec/shared/dist/sonar-safe-string.js +202 -0
  529. package/bundled/node_modules/@kubbisec/shared/dist/sonar-safe-string.js.map +1 -0
  530. package/bundled/node_modules/@kubbisec/shared/dist/sort-findings.d.ts +16 -0
  531. package/bundled/node_modules/@kubbisec/shared/dist/sort-findings.d.ts.map +1 -0
  532. package/bundled/node_modules/@kubbisec/shared/dist/sort-findings.js +67 -0
  533. package/bundled/node_modules/@kubbisec/shared/dist/sort-findings.js.map +1 -0
  534. package/bundled/node_modules/@kubbisec/shared/dist/trusted-path.d.ts +7 -0
  535. package/bundled/node_modules/@kubbisec/shared/dist/trusted-path.d.ts.map +1 -0
  536. package/bundled/node_modules/@kubbisec/shared/dist/trusted-path.js +30 -0
  537. package/bundled/node_modules/@kubbisec/shared/dist/trusted-path.js.map +1 -0
  538. package/bundled/node_modules/@kubbisec/shared/package.json +77 -0
  539. package/bundled/reflect-system.md +31 -0
  540. package/bundled/resolve-bundled-dist-root.js +166 -0
  541. package/bundled/resolve-bundled-dist-root.js.map +1 -0
  542. package/bundled/skills/aspm-platform/SKILL.md +95 -0
  543. package/bundled/skills/at-path-mentions.d.ts +7 -0
  544. package/bundled/skills/at-path-mentions.d.ts.map +1 -0
  545. package/bundled/skills/at-path-mentions.js +184 -0
  546. package/bundled/skills/at-path-mentions.js.map +1 -0
  547. package/bundled/skills/at-path-mentions.test.ts +64 -0
  548. package/bundled/skills/at-path-mentions.ts +209 -0
  549. package/bundled/skills/chat-mention-render.d.ts +7 -0
  550. package/bundled/skills/chat-mention-render.d.ts.map +1 -0
  551. package/bundled/skills/chat-mention-render.js +160 -0
  552. package/bundled/skills/chat-mention-render.js.map +1 -0
  553. package/bundled/skills/chat-mention-render.test.ts +70 -0
  554. package/bundled/skills/chat-mention-render.ts +192 -0
  555. package/bundled/skills/chat-mentions.d.ts +28 -0
  556. package/bundled/skills/chat-mentions.d.ts.map +1 -0
  557. package/bundled/skills/chat-mentions.js +108 -0
  558. package/bundled/skills/chat-mentions.js.map +1 -0
  559. package/bundled/skills/chat-mentions.test.ts +39 -0
  560. package/bundled/skills/chat-mentions.ts +133 -0
  561. package/bundled/skills/github-local/SKILL.md +16 -0
  562. package/bundled/skills/kubbisec-resource-router/SKILL.md +3 -0
  563. package/bundled/skills/list-bundled-skills.d.ts +7 -0
  564. package/bundled/skills/list-bundled-skills.d.ts.map +1 -0
  565. package/bundled/skills/list-bundled-skills.js +44 -0
  566. package/bundled/skills/list-bundled-skills.js.map +1 -0
  567. package/bundled/skills/list-bundled-skills.ts +49 -0
  568. package/bundled/skills/naus-pipelines/SKILL.md +127 -0
  569. package/bundled/skills/remediation/SKILL.md +12 -0
  570. package/bundled/skills/scanner-gitleaks/SKILL.md +10 -0
  571. package/bundled/skills/scanner-nmap/SKILL.md +10 -0
  572. package/bundled/skills/scanner-osv/SKILL.md +10 -0
  573. package/bundled/skills/scanner-semgrep/SKILL.md +10 -0
  574. package/bundled/skills/scanner-skipfish/SKILL.md +10 -0
  575. package/bundled/skills/scanner-sonar/SKILL.md +10 -0
  576. package/bundled/skills/scanner-syft/SKILL.md +10 -0
  577. package/bundled/skills/scanner-trivy/SKILL.md +10 -0
  578. package/bundled/skills/sec-brainstorm/SKILL.md +74 -0
  579. package/bundled/skills/sec-clarify/SKILL.md +53 -0
  580. package/bundled/skills/sec-debug/SKILL.md +94 -0
  581. package/bundled/skills/sec-plan/SKILL.md +101 -0
  582. package/bundled/skills/sec-review/SKILL.md +110 -0
  583. package/bundled/skills/sec-review/code-reviewer-sec.md +176 -0
  584. package/bundled/skills/sec-using-skills/SKILL.md +81 -0
  585. package/bundled/skills/sec-verify/SKILL.md +77 -0
  586. package/bundled/skills/skill-mention.d.ts +3 -0
  587. package/bundled/skills/skill-mention.d.ts.map +1 -0
  588. package/bundled/skills/skill-mention.js +3 -0
  589. package/bundled/skills/skill-mention.js.map +1 -0
  590. package/bundled/skills/skill-mention.test.ts +46 -0
  591. package/bundled/skills/skill-mention.ts +10 -0
  592. package/bundled/theme/clear-terminal.d.ts +3 -0
  593. package/bundled/theme/clear-terminal.d.ts.map +1 -0
  594. package/bundled/theme/clear-terminal.js +7 -0
  595. package/bundled/theme/clear-terminal.js.map +1 -0
  596. package/bundled/theme/footer-render-hook.d.ts +3 -0
  597. package/bundled/theme/footer-render-hook.d.ts.map +1 -0
  598. package/bundled/theme/footer-render-hook.js +8 -0
  599. package/bundled/theme/footer-render-hook.js.map +1 -0
  600. package/bundled/theme/kubbisec-brand-fg.d.ts +4 -0
  601. package/bundled/theme/kubbisec-brand-fg.d.ts.map +1 -0
  602. package/bundled/theme/kubbisec-brand-fg.js +7 -0
  603. package/bundled/theme/kubbisec-brand-fg.js.map +1 -0
  604. package/bundled/theme/kubbisec-menu-themes.d.ts +16 -0
  605. package/bundled/theme/kubbisec-menu-themes.d.ts.map +1 -0
  606. package/bundled/theme/kubbisec-menu-themes.js +47 -0
  607. package/bundled/theme/kubbisec-menu-themes.js.map +1 -0
  608. package/bundled/theme/kubbisec-theme-name.d.ts +2 -0
  609. package/bundled/theme/kubbisec-theme-name.d.ts.map +1 -0
  610. package/bundled/theme/kubbisec-theme-name.js +2 -0
  611. package/bundled/theme/kubbisec-theme-name.js.map +1 -0
  612. package/bundled/theme/kubbisec.json +93 -0
  613. package/bundled/theme/patch-pi-settings-theme.runtime.d.ts +3 -0
  614. package/bundled/theme/patch-pi-settings-theme.runtime.d.ts.map +1 -0
  615. package/bundled/theme/patch-pi-settings-theme.runtime.js +16 -0
  616. package/bundled/theme/patch-pi-settings-theme.runtime.js.map +1 -0
  617. package/bundled/theme/render-compact-header.d.ts +21 -0
  618. package/bundled/theme/render-compact-header.d.ts.map +1 -0
  619. package/bundled/theme/render-compact-header.js +197 -0
  620. package/bundled/theme/render-compact-header.js.map +1 -0
  621. package/bundled/workflow/session-workflow-mode.d.ts +10 -0
  622. package/bundled/workflow/session-workflow-mode.d.ts.map +1 -0
  623. package/bundled/workflow/session-workflow-mode.js +51 -0
  624. package/bundled/workflow/session-workflow-mode.js.map +1 -0
  625. package/package.json +1 -1
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KUBBISEC_CI_EXECUTION_ENV = void 0;
4
+ exports.buildKubbisecCiExecutionEnv = buildKubbisecCiExecutionEnv;
5
+ exports.formatExecutionTriggerLabel = formatExecutionTriggerLabel;
6
+ exports.KUBBISEC_CI_EXECUTION_ENV = {
7
+ NAUS: "NAUS",
8
+ RUN_ID: "KUBBISEC_CI_RUN_ID",
9
+ PIPELINE_ID: "KUBBISEC_CI_PIPELINE_ID",
10
+ TRIGGER: "KUBBISEC_CI_TRIGGER",
11
+ PROVIDER: "KUBBISEC_CI_PROVIDER",
12
+ };
13
+ /** Variáveis públicas (não sensíveis) injetadas nos jobs Naus/KubbiSec CI para proveniência ASPM. */
14
+ function buildKubbisecCiExecutionEnv(input) {
15
+ const env = {
16
+ [exports.KUBBISEC_CI_EXECUTION_ENV.NAUS]: "true",
17
+ [exports.KUBBISEC_CI_EXECUTION_ENV.PROVIDER]: "naus",
18
+ };
19
+ const runId = input.runId?.trim();
20
+ const pipelineId = input.pipelineId?.trim();
21
+ const trigger = input.trigger?.trim();
22
+ if (runId)
23
+ env[exports.KUBBISEC_CI_EXECUTION_ENV.RUN_ID] = runId;
24
+ if (pipelineId)
25
+ env[exports.KUBBISEC_CI_EXECUTION_ENV.PIPELINE_ID] = pipelineId;
26
+ if (trigger)
27
+ env[exports.KUBBISEC_CI_EXECUTION_ENV.TRIGGER] = trigger;
28
+ return env;
29
+ }
30
+ function formatExecutionTriggerLabel(trigger) {
31
+ if (!trigger?.trim())
32
+ return "—";
33
+ const normalized = trigger.trim().toLowerCase();
34
+ const labels = {
35
+ webhook: "Webhook",
36
+ manual: "Manual",
37
+ scheduled: "Agendado",
38
+ pipeline: "Pipeline CI",
39
+ local: "Local",
40
+ pull_request: "Pull request",
41
+ push: "Push",
42
+ };
43
+ return labels[normalized] ?? trigger;
44
+ }
45
+ //# sourceMappingURL=kubbisec-ci-execution-env.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kubbisec-ci-execution-env.js","sourceRoot":"","sources":["../../src/ci/kubbisec-ci-execution-env.ts"],"names":[],"mappings":";;;AAeA,kEAiBC;AAED,kEAaC;AA/CY,QAAA,yBAAyB,GAAG;IACvC,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,oBAAoB;IAC5B,WAAW,EAAE,yBAAyB;IACtC,OAAO,EAAE,qBAAqB;IAC9B,QAAQ,EAAE,sBAAsB;CACxB,CAAC;AAQX,qGAAqG;AACrG,SAAgB,2BAA2B,CACzC,KAAkC;IAElC,MAAM,GAAG,GAA2B;QAClC,CAAC,iCAAyB,CAAC,IAAI,CAAC,EAAE,MAAM;QACxC,CAAC,iCAAyB,CAAC,QAAQ,CAAC,EAAE,MAAM;KAC7C,CAAC;IAEF,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC;IAClC,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,EAAE,IAAI,EAAE,CAAC;IAC5C,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC;IAEtC,IAAI,KAAK;QAAE,GAAG,CAAC,iCAAyB,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC;IACzD,IAAI,UAAU;QAAE,GAAG,CAAC,iCAAyB,CAAC,WAAW,CAAC,GAAG,UAAU,CAAC;IACxE,IAAI,OAAO;QAAE,GAAG,CAAC,iCAAyB,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;IAE9D,OAAO,GAAG,CAAC;AACb,CAAC;AAED,SAAgB,2BAA2B,CAAC,OAAkC;IAC5E,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE;QAAE,OAAO,GAAG,CAAC;IACjC,MAAM,UAAU,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAChD,MAAM,MAAM,GAA2B;QACrC,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,QAAQ;QAChB,SAAS,EAAE,UAAU;QACrB,QAAQ,EAAE,aAAa;QACvB,KAAK,EAAE,OAAO;QACd,YAAY,EAAE,cAAc;QAC5B,IAAI,EAAE,MAAM;KACb,CAAC;IACF,OAAO,MAAM,CAAC,UAAU,CAAC,IAAI,OAAO,CAAC;AACvC,CAAC"}
@@ -0,0 +1,18 @@
1
+ export type UserErrorShape = {
2
+ title: string;
3
+ detail: string;
4
+ suggestion?: string;
5
+ };
6
+ export declare function isCliDebugMode(): boolean;
7
+ export declare function toUserError(error: unknown, fallbackTitle?: string): UserErrorShape;
8
+ export type SubprocessFailureInput = {
9
+ bin?: string;
10
+ code: number;
11
+ stderr?: string;
12
+ stdout?: string;
13
+ signal?: string;
14
+ };
15
+ export declare function summarizeSubprocessFailure(input: SubprocessFailureInput): string;
16
+ export declare function sanitizeCliOutput(text: string): string;
17
+ export declare function formatUserErrorBlock(title: string, detail: string, suggestion?: string): string;
18
+ //# sourceMappingURL=cli-user-error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli-user-error.d.ts","sourceRoot":"","sources":["../src/cli-user-error.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,wBAAgB,cAAc,IAAI,OAAO,CAMxC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,EAAE,aAAa,SAAoB,GAAG,cAAc,CAS7F;AAgBD,MAAM,MAAM,sBAAsB,GAAG;IACnC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,sBAAsB,GAAG,MAAM,CA6BhF;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAoBtD;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAM/F"}
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isCliDebugMode = isCliDebugMode;
4
+ exports.toUserError = toUserError;
5
+ exports.summarizeSubprocessFailure = summarizeSubprocessFailure;
6
+ exports.sanitizeCliOutput = sanitizeCliOutput;
7
+ exports.formatUserErrorBlock = formatUserErrorBlock;
8
+ function isCliDebugMode() {
9
+ return (process.env.NAUS_DEBUG === "1" ||
10
+ process.env.KUBBISEC_DEBUG === "1" ||
11
+ process.env.ASPM_DEBUG === "1");
12
+ }
13
+ function toUserError(error, fallbackTitle = "Erro inesperado") {
14
+ if (error instanceof Error) {
15
+ const detail = error.message.trim() || fallbackTitle;
16
+ return { title: fallbackTitle, detail };
17
+ }
18
+ if (typeof error === "string" && error.trim()) {
19
+ return { title: fallbackTitle, detail: error.trim() };
20
+ }
21
+ return { title: fallbackTitle, detail: "Ocorreu um erro. Tente novamente." };
22
+ }
23
+ const STACK_LINE_RE = /^\s*at\s+/;
24
+ const INTERNAL_NODE_RE = /node:internal/i;
25
+ function firstUsefulLine(text) {
26
+ for (const line of text.split(/\r?\n/)) {
27
+ const trimmed = line.trim();
28
+ if (!trimmed)
29
+ continue;
30
+ if (STACK_LINE_RE.test(trimmed))
31
+ continue;
32
+ if (INTERNAL_NODE_RE.test(trimmed))
33
+ continue;
34
+ return trimmed;
35
+ }
36
+ return undefined;
37
+ }
38
+ function summarizeSubprocessFailure(input) {
39
+ const bin = input.bin?.trim() || "comando";
40
+ if (input.signal) {
41
+ return `${bin} foi interrompido (${input.signal}).`;
42
+ }
43
+ if (input.code === 127) {
44
+ return `${bin} não está instalado ou não foi encontrado no PATH.`;
45
+ }
46
+ if (input.code === 126) {
47
+ return `${bin} não pode ser executado (permissões ou formato inválido).`;
48
+ }
49
+ if (input.code === 130) {
50
+ return `${bin} foi cancelado.`;
51
+ }
52
+ if (input.code === 124) {
53
+ return `${bin} excedeu o tempo limite.`;
54
+ }
55
+ const raw = [input.stderr, input.stdout].filter(Boolean).join("\n");
56
+ const line = firstUsefulLine(sanitizeCliOutput(raw));
57
+ if (line) {
58
+ const clipped = line.length > 200 ? `${line.slice(0, 197)}…` : line;
59
+ return `${bin} falhou: ${clipped}`;
60
+ }
61
+ if (input.code === 0) {
62
+ return `${bin} concluiu sem saída.`;
63
+ }
64
+ return `${bin} falhou (código ${input.code}).`;
65
+ }
66
+ function sanitizeCliOutput(text) {
67
+ let out = text;
68
+ out = out.replace(/Bearer\s+[A-Za-z0-9\-._~+/]+=*/gi, "Bearer [REDACTED_TOKEN]");
69
+ out = out.replace(/eyJ[A-Za-z0-9\-._~+/]*=*\.eyJ[A-Za-z0-9\-._~+/]*=*\.[A-Za-z0-9\-._~+/]*=*/g, "[REDACTED_JWT]");
70
+ out = out.replace(/AKIA[0-9A-Z]{16}/g, "[REDACTED_AWS_KEY]");
71
+ out = out.replace(/-----BEGIN [A-Z ]+-----[\s\S]*?-----END [A-Z ]+-----/g, "[REDACTED_PEM]");
72
+ out = out.replace(/(mongodb|mysql|postgres(?:ql)?|redis):\/\/[^\s]+/gi, "[REDACTED_CONN_STRING]");
73
+ const lines = out.split(/\r?\n/).filter((line) => {
74
+ const trimmed = line.trim();
75
+ if (!trimmed)
76
+ return true;
77
+ if (STACK_LINE_RE.test(trimmed))
78
+ return false;
79
+ if (INTERNAL_NODE_RE.test(trimmed))
80
+ return false;
81
+ return true;
82
+ });
83
+ return lines.join("\n").trim();
84
+ }
85
+ function formatUserErrorBlock(title, detail, suggestion) {
86
+ const lines = [`Error: ${title}`, detail];
87
+ if (suggestion?.trim()) {
88
+ lines.push("", `Suggestion: ${suggestion.trim()}`);
89
+ }
90
+ return lines.join("\n");
91
+ }
92
+ //# sourceMappingURL=cli-user-error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli-user-error.js","sourceRoot":"","sources":["../src/cli-user-error.ts"],"names":[],"mappings":";;AAMA,wCAMC;AAED,kCASC;AAwBD,gEA6BC;AAED,8CAoBC;AAED,oDAMC;AApGD,SAAgB,cAAc;IAC5B,OAAO,CACL,OAAO,CAAC,GAAG,CAAC,UAAU,KAAK,GAAG;QAC9B,OAAO,CAAC,GAAG,CAAC,cAAc,KAAK,GAAG;QAClC,OAAO,CAAC,GAAG,CAAC,UAAU,KAAK,GAAG,CAC/B,CAAC;AACJ,CAAC;AAED,SAAgB,WAAW,CAAC,KAAc,EAAE,aAAa,GAAG,iBAAiB;IAC3E,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;QAC3B,MAAM,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,aAAa,CAAC;QACrD,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,CAAC;IAC1C,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC;QAC9C,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC;IACxD,CAAC;IACD,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,mCAAmC,EAAE,CAAC;AAC/E,CAAC;AAED,MAAM,aAAa,GAAG,WAAW,CAAC;AAClC,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;AAE1C,SAAS,eAAe,CAAC,IAAY;IACnC,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC;QACvC,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;QAC5B,IAAI,CAAC,OAAO;YAAE,SAAS;QACvB,IAAI,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC;YAAE,SAAS;QAC1C,IAAI,gBAAgB,CAAC,IAAI,CAAC,OAAO,CAAC;YAAE,SAAS;QAC7C,OAAO,OAAO,CAAC;IACjB,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAUD,SAAgB,0BAA0B,CAAC,KAA6B;IACtE,MAAM,GAAG,GAAG,KAAK,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,SAAS,CAAC;IAC3C,IAAI,KAAK,CAAC,MAAM,EAAE,CAAC;QACjB,OAAO,GAAG,GAAG,sBAAsB,KAAK,CAAC,MAAM,IAAI,CAAC;IACtD,CAAC;IACD,IAAI,KAAK,CAAC,IAAI,KAAK,GAAG,EAAE,CAAC;QACvB,OAAO,GAAG,GAAG,oDAAoD,CAAC;IACpE,CAAC;IACD,IAAI,KAAK,CAAC,IAAI,KAAK,GAAG,EAAE,CAAC;QACvB,OAAO,GAAG,GAAG,2DAA2D,CAAC;IAC3E,CAAC;IACD,IAAI,KAAK,CAAC,IAAI,KAAK,GAAG,EAAE,CAAC;QACvB,OAAO,GAAG,GAAG,iBAAiB,CAAC;IACjC,CAAC;IACD,IAAI,KAAK,CAAC,IAAI,KAAK,GAAG,EAAE,CAAC;QACvB,OAAO,GAAG,GAAG,0BAA0B,CAAC;IAC1C,CAAC;IAED,MAAM,GAAG,GAAG,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpE,MAAM,IAAI,GAAG,eAAe,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC;IACrD,IAAI,IAAI,EAAE,CAAC;QACT,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC;QACpE,OAAO,GAAG,GAAG,YAAY,OAAO,EAAE,CAAC;IACrC,CAAC;IAED,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,EAAE,CAAC;QACrB,OAAO,GAAG,GAAG,sBAAsB,CAAC;IACtC,CAAC;IACD,OAAO,GAAG,GAAG,mBAAmB,KAAK,CAAC,IAAI,IAAI,CAAC;AACjD,CAAC;AAED,SAAgB,iBAAiB,CAAC,IAAY;IAC5C,IAAI,GAAG,GAAG,IAAI,CAAC;IACf,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,kCAAkC,EAAE,yBAAyB,CAAC,CAAC;IACjF,GAAG,GAAG,GAAG,CAAC,OAAO,CACf,4EAA4E,EAC5E,gBAAgB,CACjB,CAAC;IACF,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,mBAAmB,EAAE,oBAAoB,CAAC,CAAC;IAC7D,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,uDAAuD,EAAE,gBAAgB,CAAC,CAAC;IAC7F,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,oDAAoD,EAAE,wBAAwB,CAAC,CAAC;IAElG,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE;QAC/C,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;QAC5B,IAAI,CAAC,OAAO;YAAE,OAAO,IAAI,CAAC;QAC1B,IAAI,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC;YAAE,OAAO,KAAK,CAAC;QAC9C,IAAI,gBAAgB,CAAC,IAAI,CAAC,OAAO,CAAC;YAAE,OAAO,KAAK,CAAC;QACjD,OAAO,IAAI,CAAC;IACd,CAAC,CAAC,CAAC;IAEH,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;AACjC,CAAC;AAED,SAAgB,oBAAoB,CAAC,KAAa,EAAE,MAAc,EAAE,UAAmB;IACrF,MAAM,KAAK,GAAG,CAAC,UAAU,KAAK,EAAE,EAAE,MAAM,CAAC,CAAC;IAC1C,IAAI,UAAU,EAAE,IAAI,EAAE,EAAE,CAAC;QACvB,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,eAAe,UAAU,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IACrD,CAAC;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { CreateProjectDto } from "./create-project.dto";
2
+ export declare const BULK_IMPORT_BITBUCKET_PIPELINE_MODES: readonly ["none", "ai", "ai_migrate", "template", "secure_baseline"];
3
+ export type BulkImportBitbucketPipelineMode = (typeof BULK_IMPORT_BITBUCKET_PIPELINE_MODES)[number];
4
+ export declare class BulkImportBitbucketProjectRowDto extends CreateProjectDto {
5
+ pipelineMode?: BulkImportBitbucketPipelineMode;
6
+ templateKey?: string;
7
+ pipelinePaths?: string[];
8
+ }
9
+ export declare class BulkImportBitbucketProjectsDto {
10
+ projects: BulkImportBitbucketProjectRowDto[];
11
+ pipelineMode?: BulkImportBitbucketPipelineMode;
12
+ templateKey?: string;
13
+ }
14
+ export declare const BULK_IMPORT_BITBUCKET_PROJECTS_MAX = 50;
15
+ //# sourceMappingURL=bulk-import-bitbucket-projects.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bulk-import-bitbucket-projects.dto.d.ts","sourceRoot":"","sources":["../../src/dto/bulk-import-bitbucket-projects.dto.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAIxD,eAAO,MAAM,oCAAoC,sEAMvC,CAAC;AAEX,MAAM,MAAM,+BAA+B,GAAG,CAAC,OAAO,oCAAoC,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpG,qBAAa,gCAAiC,SAAQ,gBAAgB;IAGpE,YAAY,CAAC,EAAE,+BAA+B,CAAC;IAK/C,WAAW,CAAC,EAAE,MAAM,CAAC;IAOrB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED,qBAAa,8BAA8B;IAMzC,QAAQ,EAAG,gCAAgC,EAAE,CAAC;IAI9C,YAAY,CAAC,EAAE,+BAA+B,CAAC;IAK/C,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,kCAAkC,KAA2B,CAAC"}
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.BULK_IMPORT_BITBUCKET_PROJECTS_MAX = exports.BulkImportBitbucketProjectsDto = exports.BulkImportBitbucketProjectRowDto = exports.BULK_IMPORT_BITBUCKET_PIPELINE_MODES = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const create_project_dto_1 = require("./create-project.dto");
16
+ const BULK_IMPORT_MAX_PROJECTS = 50;
17
+ exports.BULK_IMPORT_BITBUCKET_PIPELINE_MODES = [
18
+ "none",
19
+ "ai",
20
+ "ai_migrate",
21
+ "template",
22
+ "secure_baseline",
23
+ ];
24
+ class BulkImportBitbucketProjectRowDto extends create_project_dto_1.CreateProjectDto {
25
+ pipelineMode;
26
+ templateKey;
27
+ pipelinePaths;
28
+ }
29
+ exports.BulkImportBitbucketProjectRowDto = BulkImportBitbucketProjectRowDto;
30
+ __decorate([
31
+ (0, class_validator_1.IsOptional)(),
32
+ (0, class_validator_1.IsIn)(exports.BULK_IMPORT_BITBUCKET_PIPELINE_MODES),
33
+ __metadata("design:type", String)
34
+ ], BulkImportBitbucketProjectRowDto.prototype, "pipelineMode", void 0);
35
+ __decorate([
36
+ (0, class_validator_1.IsOptional)(),
37
+ (0, class_validator_1.IsString)(),
38
+ (0, class_validator_1.MaxLength)(64),
39
+ __metadata("design:type", String)
40
+ ], BulkImportBitbucketProjectRowDto.prototype, "templateKey", void 0);
41
+ __decorate([
42
+ (0, class_validator_1.IsOptional)(),
43
+ (0, class_validator_1.IsArray)(),
44
+ (0, class_validator_1.ArrayMaxSize)(30),
45
+ (0, class_validator_1.IsString)({ each: true }),
46
+ (0, class_validator_1.MaxLength)(260, { each: true }),
47
+ __metadata("design:type", Array)
48
+ ], BulkImportBitbucketProjectRowDto.prototype, "pipelinePaths", void 0);
49
+ class BulkImportBitbucketProjectsDto {
50
+ projects;
51
+ pipelineMode;
52
+ templateKey;
53
+ }
54
+ exports.BulkImportBitbucketProjectsDto = BulkImportBitbucketProjectsDto;
55
+ __decorate([
56
+ (0, class_validator_1.IsArray)(),
57
+ (0, class_validator_1.ArrayMinSize)(1, { message: "bulkImport.projectsMin" }),
58
+ (0, class_validator_1.ArrayMaxSize)(BULK_IMPORT_MAX_PROJECTS, { message: "bulkImport.projectsMax" }),
59
+ (0, class_validator_1.ValidateNested)({ each: true }),
60
+ (0, class_transformer_1.Type)(() => BulkImportBitbucketProjectRowDto),
61
+ __metadata("design:type", Array)
62
+ ], BulkImportBitbucketProjectsDto.prototype, "projects", void 0);
63
+ __decorate([
64
+ (0, class_validator_1.IsOptional)(),
65
+ (0, class_validator_1.IsIn)(exports.BULK_IMPORT_BITBUCKET_PIPELINE_MODES),
66
+ __metadata("design:type", String)
67
+ ], BulkImportBitbucketProjectsDto.prototype, "pipelineMode", void 0);
68
+ __decorate([
69
+ (0, class_validator_1.IsOptional)(),
70
+ (0, class_validator_1.IsString)(),
71
+ (0, class_validator_1.MaxLength)(64),
72
+ __metadata("design:type", String)
73
+ ], BulkImportBitbucketProjectsDto.prototype, "templateKey", void 0);
74
+ exports.BULK_IMPORT_BITBUCKET_PROJECTS_MAX = BULK_IMPORT_MAX_PROJECTS;
75
+ //# sourceMappingURL=bulk-import-bitbucket-projects.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bulk-import-bitbucket-projects.dto.js","sourceRoot":"","sources":["../../src/dto/bulk-import-bitbucket-projects.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDASyB;AACzB,6DAAwD;AAExD,MAAM,wBAAwB,GAAG,EAAE,CAAC;AAEvB,QAAA,oCAAoC,GAAG;IAClD,MAAM;IACN,IAAI;IACJ,YAAY;IACZ,UAAU;IACV,iBAAiB;CACT,CAAC;AAIX,MAAa,gCAAiC,SAAQ,qCAAgB;IAGpE,YAAY,CAAmC;IAK/C,WAAW,CAAU;IAOrB,aAAa,CAAY;CAC1B;AAhBD,4EAgBC;AAbC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,4CAAoC,CAAC;;sEACI;AAK/C;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,EAAE,CAAC;;qEACO;AAOrB;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,EAAE,CAAC;IAChB,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,2BAAS,EAAC,GAAG,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;uEACN;AAG3B,MAAa,8BAA8B;IAMzC,QAAQ,CAAsC;IAI9C,YAAY,CAAmC;IAK/C,WAAW,CAAU;CACtB;AAhBD,wEAgBC;AAVC;IALC,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,EAAE,EAAE,OAAO,EAAE,wBAAwB,EAAE,CAAC;IACtD,IAAA,8BAAY,EAAC,wBAAwB,EAAE,EAAE,OAAO,EAAE,wBAAwB,EAAE,CAAC;IAC7E,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAgC,CAAC;;gEACC;AAI9C;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,4CAAoC,CAAC;;oEACI;AAK/C;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,EAAE,CAAC;;mEACO;AAGV,QAAA,kCAAkC,GAAG,wBAAwB,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { CreateProjectDto } from "./create-project.dto";
2
+ /**
3
+ * Legacy values accepted temporarily for old clients. Asset import ignores them: pipeline creation
4
+ * now belongs exclusively to the Pipelines flow.
5
+ */
6
+ export declare const BULK_IMPORT_PIPELINE_MODES: readonly ["none", "ai", "ai_migrate", "template", "secure_baseline"];
7
+ export type BulkImportPipelineMode = (typeof BULK_IMPORT_PIPELINE_MODES)[number];
8
+ /** Uma linha de importação em massa: campos de criação de projeto + metadados readonly. */
9
+ export declare class BulkImportGithubProjectRowDto extends CreateProjectDto {
10
+ /** @deprecated Ignorado. Pipelines são criados somente no fluxo de Pipelines. */
11
+ pipelineMode?: BulkImportPipelineMode;
12
+ /** @deprecated Ignorado. Templates pertencem ao fluxo de Pipelines. */
13
+ templateKey?: string;
14
+ /** @deprecated Use `workflowPaths`. Mantido apenas para compatibilidade e tratado como metadado readonly. */
15
+ ghaWorkflowPaths?: string[];
16
+ }
17
+ export declare class BulkImportGithubProjectsDto {
18
+ projects: BulkImportGithubProjectRowDto[];
19
+ /** @deprecated Ignorado. Pipelines são criados somente no fluxo de Pipelines. */
20
+ pipelineMode?: BulkImportPipelineMode;
21
+ /** @deprecated Ignorado. Templates pertencem ao fluxo de Pipelines. */
22
+ templateKey?: string;
23
+ }
24
+ export declare const BULK_IMPORT_GITHUB_PROJECTS_MAX = 50;
25
+ //# sourceMappingURL=bulk-import-github-projects.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bulk-import-github-projects.dto.d.ts","sourceRoot":"","sources":["../../src/dto/bulk-import-github-projects.dto.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAGxD;;;GAGG;AACH,eAAO,MAAM,0BAA0B,sEAM7B,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjF,2FAA2F;AAC3F,qBAAa,6BAA8B,SAAQ,gBAAgB;IACjE,iFAAiF;IAGjF,YAAY,CAAC,EAAE,sBAAsB,CAAC;IAEtC,uEAAuE;IAIvE,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,6GAA6G;IAM7G,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B;AAED,qBAAa,2BAA2B;IAMtC,QAAQ,EAAG,6BAA6B,EAAE,CAAC;IAE3C,iFAAiF;IAGjF,YAAY,CAAC,EAAE,sBAAsB,CAAC;IAEtC,uEAAuE;IAIvE,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,+BAA+B,KAA2B,CAAC"}
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.BULK_IMPORT_GITHUB_PROJECTS_MAX = exports.BulkImportGithubProjectsDto = exports.BulkImportGithubProjectRowDto = exports.BULK_IMPORT_PIPELINE_MODES = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const create_project_dto_1 = require("./create-project.dto");
16
+ const BULK_IMPORT_MAX_PROJECTS = 50;
17
+ /**
18
+ * Legacy values accepted temporarily for old clients. Asset import ignores them: pipeline creation
19
+ * now belongs exclusively to the Pipelines flow.
20
+ */
21
+ exports.BULK_IMPORT_PIPELINE_MODES = [
22
+ "none",
23
+ "ai",
24
+ "ai_migrate",
25
+ "template",
26
+ "secure_baseline",
27
+ ];
28
+ /** Uma linha de importação em massa: campos de criação de projeto + metadados readonly. */
29
+ class BulkImportGithubProjectRowDto extends create_project_dto_1.CreateProjectDto {
30
+ /** @deprecated Ignorado. Pipelines são criados somente no fluxo de Pipelines. */
31
+ pipelineMode;
32
+ /** @deprecated Ignorado. Templates pertencem ao fluxo de Pipelines. */
33
+ templateKey;
34
+ /** @deprecated Use `workflowPaths`. Mantido apenas para compatibilidade e tratado como metadado readonly. */
35
+ ghaWorkflowPaths;
36
+ }
37
+ exports.BulkImportGithubProjectRowDto = BulkImportGithubProjectRowDto;
38
+ __decorate([
39
+ (0, class_validator_1.IsOptional)(),
40
+ (0, class_validator_1.IsIn)(exports.BULK_IMPORT_PIPELINE_MODES),
41
+ __metadata("design:type", String)
42
+ ], BulkImportGithubProjectRowDto.prototype, "pipelineMode", void 0);
43
+ __decorate([
44
+ (0, class_validator_1.IsOptional)(),
45
+ (0, class_validator_1.IsString)(),
46
+ (0, class_validator_1.MaxLength)(64),
47
+ __metadata("design:type", String)
48
+ ], BulkImportGithubProjectRowDto.prototype, "templateKey", void 0);
49
+ __decorate([
50
+ (0, class_validator_1.IsOptional)(),
51
+ (0, class_validator_1.IsArray)(),
52
+ (0, class_validator_1.ArrayMaxSize)(30),
53
+ (0, class_validator_1.IsString)({ each: true }),
54
+ (0, class_validator_1.MaxLength)(260, { each: true }),
55
+ __metadata("design:type", Array)
56
+ ], BulkImportGithubProjectRowDto.prototype, "ghaWorkflowPaths", void 0);
57
+ class BulkImportGithubProjectsDto {
58
+ projects;
59
+ /** @deprecated Ignorado. Pipelines são criados somente no fluxo de Pipelines. */
60
+ pipelineMode;
61
+ /** @deprecated Ignorado. Templates pertencem ao fluxo de Pipelines. */
62
+ templateKey;
63
+ }
64
+ exports.BulkImportGithubProjectsDto = BulkImportGithubProjectsDto;
65
+ __decorate([
66
+ (0, class_validator_1.IsArray)(),
67
+ (0, class_validator_1.ArrayMinSize)(1, { message: "bulkImport.projectsMin" }),
68
+ (0, class_validator_1.ArrayMaxSize)(BULK_IMPORT_MAX_PROJECTS, { message: "bulkImport.projectsMax" }),
69
+ (0, class_validator_1.ValidateNested)({ each: true }),
70
+ (0, class_transformer_1.Type)(() => BulkImportGithubProjectRowDto),
71
+ __metadata("design:type", Array)
72
+ ], BulkImportGithubProjectsDto.prototype, "projects", void 0);
73
+ __decorate([
74
+ (0, class_validator_1.IsOptional)(),
75
+ (0, class_validator_1.IsIn)(exports.BULK_IMPORT_PIPELINE_MODES),
76
+ __metadata("design:type", String)
77
+ ], BulkImportGithubProjectsDto.prototype, "pipelineMode", void 0);
78
+ __decorate([
79
+ (0, class_validator_1.IsOptional)(),
80
+ (0, class_validator_1.IsString)(),
81
+ (0, class_validator_1.MaxLength)(64),
82
+ __metadata("design:type", String)
83
+ ], BulkImportGithubProjectsDto.prototype, "templateKey", void 0);
84
+ exports.BULK_IMPORT_GITHUB_PROJECTS_MAX = BULK_IMPORT_MAX_PROJECTS;
85
+ //# sourceMappingURL=bulk-import-github-projects.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bulk-import-github-projects.dto.js","sourceRoot":"","sources":["../../src/dto/bulk-import-github-projects.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDASyB;AACzB,6DAAwD;AAExD,MAAM,wBAAwB,GAAG,EAAE,CAAC;AACpC;;;GAGG;AACU,QAAA,0BAA0B,GAAG;IACxC,MAAM;IACN,IAAI;IACJ,YAAY;IACZ,UAAU;IACV,iBAAiB;CACT,CAAC;AAIX,2FAA2F;AAC3F,MAAa,6BAA8B,SAAQ,qCAAgB;IACjE,iFAAiF;IAGjF,YAAY,CAA0B;IAEtC,uEAAuE;IAIvE,WAAW,CAAU;IAErB,6GAA6G;IAM7G,gBAAgB,CAAY;CAC7B;AAnBD,sEAmBC;AAfC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,kCAA0B,CAAC;;mEACK;AAMtC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,EAAE,CAAC;;kEACO;AAQrB;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,EAAE,CAAC;IAChB,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,2BAAS,EAAC,GAAG,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;uEACH;AAG9B,MAAa,2BAA2B;IAMtC,QAAQ,CAAmC;IAE3C,iFAAiF;IAGjF,YAAY,CAA0B;IAEtC,uEAAuE;IAIvE,WAAW,CAAU;CACtB;AAlBD,kEAkBC;AAZC;IALC,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,EAAE,EAAE,OAAO,EAAE,wBAAwB,EAAE,CAAC;IACtD,IAAA,8BAAY,EAAC,wBAAwB,EAAE,EAAE,OAAO,EAAE,wBAAwB,EAAE,CAAC;IAC7E,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAA6B,CAAC;;6DACC;AAK3C;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,kCAA0B,CAAC;;iEACK;AAMtC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,EAAE,CAAC;;gEACO;AAGV,QAAA,+BAA+B,GAAG,wBAAwB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { ExecutionContextDto } from "./create-report.dto";
2
+ export declare class BundleEntryDto {
3
+ name: string;
4
+ sizeBytes: number;
5
+ path: string;
6
+ }
7
+ export declare class CreateBundleReportDto {
8
+ buildTarget: string;
9
+ totalSizeBytes: number;
10
+ bundles?: BundleEntryDto[];
11
+ moduleSnapshot?: Record<string, unknown>;
12
+ metadata?: Record<string, unknown>;
13
+ rawFileName?: string;
14
+ target?: string;
15
+ execution?: ExecutionContextDto;
16
+ }
17
+ //# sourceMappingURL=create-bundle-report.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-bundle-report.dto.d.ts","sourceRoot":"","sources":["../../src/dto/create-bundle-report.dto.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,qBAAa,cAAc;IAIzB,IAAI,EAAG,MAAM,CAAC;IAKd,SAAS,EAAG,MAAM,CAAC;IAKnB,IAAI,EAAG,MAAM,CAAC;CACf;AAED,qBAAa,qBAAqB;IAIhC,WAAW,EAAG,MAAM,CAAC;IAKrB,cAAc,EAAG,MAAM,CAAC;IAMxB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;IAI3B,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAIzC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAKnC,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,SAAS,CAAC,EAAE,mBAAmB,CAAC;CACjC"}
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.CreateBundleReportDto = exports.BundleEntryDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const create_report_dto_1 = require("./create-report.dto");
16
+ class BundleEntryDto {
17
+ name;
18
+ sizeBytes;
19
+ path;
20
+ }
21
+ exports.BundleEntryDto = BundleEntryDto;
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ (0, class_validator_1.MaxLength)(500),
26
+ __metadata("design:type", String)
27
+ ], BundleEntryDto.prototype, "name", void 0);
28
+ __decorate([
29
+ (0, class_validator_1.IsNumber)(),
30
+ (0, class_transformer_1.Type)(() => Number),
31
+ (0, class_validator_1.Min)(0),
32
+ __metadata("design:type", Number)
33
+ ], BundleEntryDto.prototype, "sizeBytes", void 0);
34
+ __decorate([
35
+ (0, class_validator_1.IsString)(),
36
+ (0, class_validator_1.IsNotEmpty)(),
37
+ (0, class_validator_1.MaxLength)(2000),
38
+ __metadata("design:type", String)
39
+ ], BundleEntryDto.prototype, "path", void 0);
40
+ class CreateBundleReportDto {
41
+ buildTarget; // production, staging, etc.
42
+ totalSizeBytes;
43
+ bundles;
44
+ moduleSnapshot;
45
+ metadata;
46
+ rawFileName;
47
+ target; // branch, commit, etc.
48
+ execution;
49
+ }
50
+ exports.CreateBundleReportDto = CreateBundleReportDto;
51
+ __decorate([
52
+ (0, class_validator_1.IsString)(),
53
+ (0, class_validator_1.IsNotEmpty)(),
54
+ (0, class_validator_1.MaxLength)(100),
55
+ __metadata("design:type", String)
56
+ ], CreateBundleReportDto.prototype, "buildTarget", void 0);
57
+ __decorate([
58
+ (0, class_validator_1.IsNumber)(),
59
+ (0, class_transformer_1.Type)(() => Number),
60
+ (0, class_validator_1.Min)(0),
61
+ __metadata("design:type", Number)
62
+ ], CreateBundleReportDto.prototype, "totalSizeBytes", void 0);
63
+ __decorate([
64
+ (0, class_validator_1.IsArray)(),
65
+ (0, class_validator_1.IsOptional)(),
66
+ (0, class_validator_1.ValidateNested)({ each: true }),
67
+ (0, class_transformer_1.Type)(() => BundleEntryDto),
68
+ __metadata("design:type", Array)
69
+ ], CreateBundleReportDto.prototype, "bundles", void 0);
70
+ __decorate([
71
+ (0, class_validator_1.IsObject)(),
72
+ (0, class_validator_1.IsOptional)(),
73
+ __metadata("design:type", Object)
74
+ ], CreateBundleReportDto.prototype, "moduleSnapshot", void 0);
75
+ __decorate([
76
+ (0, class_validator_1.IsObject)(),
77
+ (0, class_validator_1.IsOptional)(),
78
+ __metadata("design:type", Object)
79
+ ], CreateBundleReportDto.prototype, "metadata", void 0);
80
+ __decorate([
81
+ (0, class_validator_1.IsString)(),
82
+ (0, class_validator_1.IsOptional)(),
83
+ (0, class_validator_1.MaxLength)(255),
84
+ __metadata("design:type", String)
85
+ ], CreateBundleReportDto.prototype, "rawFileName", void 0);
86
+ __decorate([
87
+ (0, class_validator_1.IsString)(),
88
+ (0, class_validator_1.IsOptional)(),
89
+ (0, class_validator_1.MaxLength)(500),
90
+ __metadata("design:type", String)
91
+ ], CreateBundleReportDto.prototype, "target", void 0);
92
+ __decorate([
93
+ (0, class_validator_1.IsOptional)(),
94
+ (0, class_validator_1.ValidateNested)(),
95
+ (0, class_transformer_1.Type)(() => create_report_dto_1.ExecutionContextDto),
96
+ __metadata("design:type", create_report_dto_1.ExecutionContextDto)
97
+ ], CreateBundleReportDto.prototype, "execution", void 0);
98
+ //# sourceMappingURL=create-bundle-report.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-bundle-report.dto.js","sourceRoot":"","sources":["../../src/dto/create-bundle-report.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAUyB;AACzB,2DAA0D;AAE1D,MAAa,cAAc;IAIzB,IAAI,CAAU;IAKd,SAAS,CAAU;IAKnB,IAAI,CAAU;CACf;AAfD,wCAeC;AAXC;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;4CACD;AAKd;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,qBAAG,EAAC,CAAC,CAAC;;iDACY;AAKnB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,IAAI,CAAC;;4CACF;AAGhB,MAAa,qBAAqB;IAIhC,WAAW,CAAU,CAAC,4BAA4B;IAKlD,cAAc,CAAU;IAMxB,OAAO,CAAoB;IAI3B,cAAc,CAA2B;IAIzC,QAAQ,CAA2B;IAKnC,WAAW,CAAU;IAKrB,MAAM,CAAU,CAAC,uBAAuB;IAKxC,SAAS,CAAuB;CACjC;AAvCD,sDAuCC;AAnCC;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;0DACM;AAKrB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,qBAAG,EAAC,CAAC,CAAC;;6DACiB;AAMxB;IAJC,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,cAAc,CAAC;;sDACA;AAI3B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DAC4B;AAIzC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACsB;AAKnC;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;0DACM;AAKrB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;qDACC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;IAChB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uCAAmB,CAAC;8BACpB,uCAAmB;wDAAC"}
@@ -0,0 +1,32 @@
1
+ import { ExecutionContextDto } from "./create-report.dto";
2
+ export declare class CoverageFileDetailDto {
3
+ path: string;
4
+ lineCoveragePct: number;
5
+ branchCoveragePct: number;
6
+ functionCoveragePct: number;
7
+ linesFound: number;
8
+ linesHit: number;
9
+ branchesFound: number;
10
+ branchesHit: number;
11
+ functionsFound: number;
12
+ functionsHit: number;
13
+ }
14
+ export declare class CreateCoverageReportDto {
15
+ format: string;
16
+ rawFileName?: string;
17
+ target?: string;
18
+ lineCoveragePct: number;
19
+ branchCoveragePct: number;
20
+ functionCoveragePct: number;
21
+ linesFound: number;
22
+ linesHit: number;
23
+ branchesFound: number;
24
+ branchesHit: number;
25
+ functionsFound: number;
26
+ functionsHit: number;
27
+ fileDetails?: CoverageFileDetailDto[];
28
+ metadata?: Record<string, unknown>;
29
+ reportUrl?: string;
30
+ execution?: ExecutionContextDto;
31
+ }
32
+ //# sourceMappingURL=create-coverage-report.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-coverage-report.dto.d.ts","sourceRoot":"","sources":["../../src/dto/create-coverage-report.dto.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,qBAAa,qBAAqB;IAGhC,IAAI,EAAG,MAAM,CAAC;IAMd,eAAe,EAAG,MAAM,CAAC;IAMzB,iBAAiB,EAAG,MAAM,CAAC;IAM3B,mBAAmB,EAAG,MAAM,CAAC;IAK7B,UAAU,EAAG,MAAM,CAAC;IAKpB,QAAQ,EAAG,MAAM,CAAC;IAKlB,aAAa,EAAG,MAAM,CAAC;IAKvB,WAAW,EAAG,MAAM,CAAC;IAKrB,cAAc,EAAG,MAAM,CAAC;IAKxB,YAAY,EAAG,MAAM,CAAC;CACvB;AAED,qBAAa,uBAAuB;IAIlC,MAAM,EAAG,MAAM,CAAC;IAKhB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,eAAe,EAAG,MAAM,CAAC;IAMzB,iBAAiB,EAAG,MAAM,CAAC;IAM3B,mBAAmB,EAAG,MAAM,CAAC;IAK7B,UAAU,EAAG,MAAM,CAAC;IAKpB,QAAQ,EAAG,MAAM,CAAC;IAKlB,aAAa,EAAG,MAAM,CAAC;IAKvB,WAAW,EAAG,MAAM,CAAC;IAKrB,cAAc,EAAG,MAAM,CAAC;IAKxB,YAAY,EAAG,MAAM,CAAC;IAMtB,WAAW,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAItC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAKnC,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,SAAS,CAAC,EAAE,mBAAmB,CAAC;CACjC"}