@kubbisec/ai-win32-x64 0.1.35 → 0.1.36

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 (626) hide show
  1. package/bin/kbs.exe +0 -0
  2. package/bin/kubbisec.exe +0 -0
  3. package/package.json +2 -2
  4. package/bundled/assets/terminal/banner-compact.ansi +0 -7
  5. package/bundled/assets/terminal/banner-wide.ansi +0 -10
  6. package/bundled/assets/terminal/logotipo-compact-fallback.ansi +0 -7
  7. package/bundled/assets/terminal/logotipo-compact.ansi +0 -1
  8. package/bundled/assets/terminal/logotipo-compact.png +0 -0
  9. package/bundled/assets/terminal/logotipo-wide-fallback.ansi +0 -10
  10. package/bundled/assets/terminal/logotipo-wide.ansi +0 -1
  11. package/bundled/assets/terminal/logotipo-wide.png +0 -0
  12. package/bundled/assets/terminal/mark.ansi +0 -7
  13. package/bundled/assets/terminal/wordmark-inline.ansi +0 -1
  14. package/bundled/assets/terminal/wordmark.ansi +0 -4
  15. package/bundled/assets/terminal/wordmark.png +0 -0
  16. package/bundled/components/kubbisec-model-selector.d.ts +0 -44
  17. package/bundled/components/kubbisec-model-selector.d.ts.map +0 -1
  18. package/bundled/components/kubbisec-model-selector.js +0 -198
  19. package/bundled/components/kubbisec-model-selector.js.map +0 -1
  20. package/bundled/config/config.d.ts +0 -14
  21. package/bundled/config/config.d.ts.map +0 -1
  22. package/bundled/config/config.js +0 -67
  23. package/bundled/config/config.js.map +0 -1
  24. package/bundled/config/detect-local-llm-providers.d.ts +0 -33
  25. package/bundled/config/detect-local-llm-providers.d.ts.map +0 -1
  26. package/bundled/config/detect-local-llm-providers.js +0 -172
  27. package/bundled/config/detect-local-llm-providers.js.map +0 -1
  28. package/bundled/config/ensure-kubbisec-project-settings.d.ts +0 -31
  29. package/bundled/config/ensure-kubbisec-project-settings.d.ts.map +0 -1
  30. package/bundled/config/ensure-kubbisec-project-settings.js +0 -107
  31. package/bundled/config/ensure-kubbisec-project-settings.js.map +0 -1
  32. package/bundled/config/extended-context.d.ts +0 -12
  33. package/bundled/config/extended-context.d.ts.map +0 -1
  34. package/bundled/config/extended-context.js +0 -36
  35. package/bundled/config/extended-context.js.map +0 -1
  36. package/bundled/config/feature-flags.d.ts +0 -2
  37. package/bundled/config/feature-flags.d.ts.map +0 -1
  38. package/bundled/config/feature-flags.js +0 -2
  39. package/bundled/config/feature-flags.js.map +0 -1
  40. package/bundled/config/format-kubbisec-footer-status.d.ts +0 -2
  41. package/bundled/config/format-kubbisec-footer-status.d.ts.map +0 -1
  42. package/bundled/config/format-kubbisec-footer-status.js +0 -37
  43. package/bundled/config/format-kubbisec-footer-status.js.map +0 -1
  44. package/bundled/config/kubbisec-extension-manifest.d.ts +0 -3
  45. package/bundled/config/kubbisec-extension-manifest.d.ts.map +0 -1
  46. package/bundled/config/kubbisec-extension-manifest.js +0 -22
  47. package/bundled/config/kubbisec-extension-manifest.js.map +0 -1
  48. package/bundled/config/llm-config-mutations.d.ts +0 -38
  49. package/bundled/config/llm-config-mutations.d.ts.map +0 -1
  50. package/bundled/config/llm-config-mutations.js +0 -207
  51. package/bundled/config/llm-config-mutations.js.map +0 -1
  52. package/bundled/config/llm-config.d.ts +0 -66
  53. package/bundled/config/llm-config.d.ts.map +0 -1
  54. package/bundled/config/llm-config.js +0 -246
  55. package/bundled/config/llm-config.js.map +0 -1
  56. package/bundled/config/llm-provider-catalog.d.ts +0 -22
  57. package/bundled/config/llm-provider-catalog.d.ts.map +0 -1
  58. package/bundled/config/llm-provider-catalog.js +0 -54
  59. package/bundled/config/llm-provider-catalog.js.map +0 -1
  60. package/bundled/config/materialize-kubbisec-pi-resources.d.ts +0 -19
  61. package/bundled/config/materialize-kubbisec-pi-resources.d.ts.map +0 -1
  62. package/bundled/config/materialize-kubbisec-pi-resources.js +0 -242
  63. package/bundled/config/materialize-kubbisec-pi-resources.js.map +0 -1
  64. package/bundled/config/register-custom-llm-providers.d.ts +0 -13
  65. package/bundled/config/register-custom-llm-providers.d.ts.map +0 -1
  66. package/bundled/config/register-custom-llm-providers.js +0 -21
  67. package/bundled/config/register-custom-llm-providers.js.map +0 -1
  68. package/bundled/config/register-kubbisec-llm-provider.d.ts +0 -14
  69. package/bundled/config/register-kubbisec-llm-provider.d.ts.map +0 -1
  70. package/bundled/config/register-kubbisec-llm-provider.js +0 -53
  71. package/bundled/config/register-kubbisec-llm-provider.js.map +0 -1
  72. package/bundled/config/resolve-agents-context-file.d.ts +0 -4
  73. package/bundled/config/resolve-agents-context-file.d.ts.map +0 -1
  74. package/bundled/config/resolve-agents-context-file.js +0 -47
  75. package/bundled/config/resolve-agents-context-file.js.map +0 -1
  76. package/bundled/config/resource-budget.d.ts +0 -17
  77. package/bundled/config/resource-budget.d.ts.map +0 -1
  78. package/bundled/config/resource-budget.js +0 -35
  79. package/bundled/config/resource-budget.js.map +0 -1
  80. package/bundled/config/sync-kubbisec-pi-models.d.ts +0 -12
  81. package/bundled/config/sync-kubbisec-pi-models.d.ts.map +0 -1
  82. package/bundled/config/sync-kubbisec-pi-models.js +0 -81
  83. package/bundled/config/sync-kubbisec-pi-models.js.map +0 -1
  84. package/bundled/copy/cli-reference-index.d.ts +0 -2
  85. package/bundled/copy/cli-reference-index.d.ts.map +0 -1
  86. package/bundled/copy/cli-reference-index.js +0 -2
  87. package/bundled/copy/cli-reference-index.js.map +0 -1
  88. package/bundled/copy/kubbisec-shell-copy.d.ts +0 -21
  89. package/bundled/copy/kubbisec-shell-copy.d.ts.map +0 -1
  90. package/bundled/copy/kubbisec-shell-copy.js +0 -21
  91. package/bundled/copy/kubbisec-shell-copy.js.map +0 -1
  92. package/bundled/edit-format.md +0 -17
  93. package/bundled/extensions/cli-local-shared.d.ts +0 -56
  94. package/bundled/extensions/cli-local-shared.d.ts.map +0 -1
  95. package/bundled/extensions/cli-local-shared.js +0 -159
  96. package/bundled/extensions/cli-local-shared.js.map +0 -1
  97. package/bundled/extensions/kubbisec-aspm-local.extension.d.ts +0 -18
  98. package/bundled/extensions/kubbisec-aspm-local.extension.d.ts.map +0 -1
  99. package/bundled/extensions/kubbisec-aspm-local.extension.js +0 -109
  100. package/bundled/extensions/kubbisec-aspm-local.extension.js.map +0 -1
  101. package/bundled/extensions/kubbisec-brand.extension.d.ts +0 -3
  102. package/bundled/extensions/kubbisec-brand.extension.d.ts.map +0 -1
  103. package/bundled/extensions/kubbisec-brand.extension.js +0 -32
  104. package/bundled/extensions/kubbisec-brand.extension.js.map +0 -1
  105. package/bundled/extensions/kubbisec-byok-provider.extension.d.ts +0 -6
  106. package/bundled/extensions/kubbisec-byok-provider.extension.d.ts.map +0 -1
  107. package/bundled/extensions/kubbisec-byok-provider.extension.js +0 -5
  108. package/bundled/extensions/kubbisec-byok-provider.extension.js.map +0 -1
  109. package/bundled/extensions/kubbisec-exit.extension.d.ts +0 -6
  110. package/bundled/extensions/kubbisec-exit.extension.d.ts.map +0 -1
  111. package/bundled/extensions/kubbisec-exit.extension.js +0 -41
  112. package/bundled/extensions/kubbisec-exit.extension.js.map +0 -1
  113. package/bundled/extensions/kubbisec-extended-context.extension.d.ts +0 -6
  114. package/bundled/extensions/kubbisec-extended-context.extension.d.ts.map +0 -1
  115. package/bundled/extensions/kubbisec-extended-context.extension.js +0 -50
  116. package/bundled/extensions/kubbisec-extended-context.extension.js.map +0 -1
  117. package/bundled/extensions/kubbisec-footer.extension.d.ts +0 -19
  118. package/bundled/extensions/kubbisec-footer.extension.d.ts.map +0 -1
  119. package/bundled/extensions/kubbisec-footer.extension.js +0 -255
  120. package/bundled/extensions/kubbisec-footer.extension.js.map +0 -1
  121. package/bundled/extensions/kubbisec-github-local.extension.d.ts +0 -23
  122. package/bundled/extensions/kubbisec-github-local.extension.d.ts.map +0 -1
  123. package/bundled/extensions/kubbisec-github-local.extension.js +0 -470
  124. package/bundled/extensions/kubbisec-github-local.extension.js.map +0 -1
  125. package/bundled/extensions/kubbisec-llm-config.extension.d.ts +0 -3
  126. package/bundled/extensions/kubbisec-llm-config.extension.d.ts.map +0 -1
  127. package/bundled/extensions/kubbisec-llm-config.extension.js +0 -211
  128. package/bundled/extensions/kubbisec-llm-config.extension.js.map +0 -1
  129. package/bundled/extensions/kubbisec-memory.extension.d.ts +0 -12
  130. package/bundled/extensions/kubbisec-memory.extension.d.ts.map +0 -1
  131. package/bundled/extensions/kubbisec-memory.extension.js +0 -107
  132. package/bundled/extensions/kubbisec-memory.extension.js.map +0 -1
  133. package/bundled/extensions/kubbisec-naus-local.extension.d.ts +0 -18
  134. package/bundled/extensions/kubbisec-naus-local.extension.d.ts.map +0 -1
  135. package/bundled/extensions/kubbisec-naus-local.extension.js +0 -112
  136. package/bundled/extensions/kubbisec-naus-local.extension.js.map +0 -1
  137. package/bundled/extensions/kubbisec-platform-tools.extension.d.ts +0 -30
  138. package/bundled/extensions/kubbisec-platform-tools.extension.d.ts.map +0 -1
  139. package/bundled/extensions/kubbisec-platform-tools.extension.js +0 -185
  140. package/bundled/extensions/kubbisec-platform-tools.extension.js.map +0 -1
  141. package/bundled/extensions/kubbisec-runtime-status.extension.d.ts +0 -13
  142. package/bundled/extensions/kubbisec-runtime-status.extension.d.ts.map +0 -1
  143. package/bundled/extensions/kubbisec-runtime-status.extension.js +0 -18
  144. package/bundled/extensions/kubbisec-runtime-status.extension.js.map +0 -1
  145. package/bundled/extensions/kubbisec-scope.extension.d.ts +0 -14
  146. package/bundled/extensions/kubbisec-scope.extension.d.ts.map +0 -1
  147. package/bundled/extensions/kubbisec-scope.extension.js +0 -18
  148. package/bundled/extensions/kubbisec-scope.extension.js.map +0 -1
  149. package/bundled/extensions/kubbisec-skill-mentions.extension.d.ts +0 -25
  150. package/bundled/extensions/kubbisec-skill-mentions.extension.d.ts.map +0 -1
  151. package/bundled/extensions/kubbisec-skill-mentions.extension.js +0 -71
  152. package/bundled/extensions/kubbisec-skill-mentions.extension.js.map +0 -1
  153. package/bundled/extensions/kubbisec-skill-telemetry.extension.d.ts +0 -6
  154. package/bundled/extensions/kubbisec-skill-telemetry.extension.d.ts.map +0 -1
  155. package/bundled/extensions/kubbisec-skill-telemetry.extension.js +0 -85
  156. package/bundled/extensions/kubbisec-skill-telemetry.extension.js.map +0 -1
  157. package/bundled/extensions/kubbisec-theme-lock.extension.d.ts +0 -6
  158. package/bundled/extensions/kubbisec-theme-lock.extension.d.ts.map +0 -1
  159. package/bundled/extensions/kubbisec-theme-lock.extension.js +0 -43
  160. package/bundled/extensions/kubbisec-theme-lock.extension.js.map +0 -1
  161. package/bundled/extensions/kubbisec-ui.extension.d.ts +0 -6
  162. package/bundled/extensions/kubbisec-ui.extension.d.ts.map +0 -1
  163. package/bundled/extensions/kubbisec-ui.extension.js +0 -143
  164. package/bundled/extensions/kubbisec-ui.extension.js.map +0 -1
  165. package/bundled/extensions/kubbisec-workflow.extension.d.ts +0 -38
  166. package/bundled/extensions/kubbisec-workflow.extension.d.ts.map +0 -1
  167. package/bundled/extensions/kubbisec-workflow.extension.js +0 -179
  168. package/bundled/extensions/kubbisec-workflow.extension.js.map +0 -1
  169. package/bundled/gate-system.md +0 -27
  170. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.d.ts +0 -20
  171. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.d.ts.map +0 -1
  172. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.js +0 -121
  173. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.js.map +0 -1
  174. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.d.ts +0 -15
  175. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.d.ts.map +0 -1
  176. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.js +0 -34
  177. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.js.map +0 -1
  178. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.d.ts +0 -12
  179. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.d.ts.map +0 -1
  180. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.js +0 -85
  181. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.js.map +0 -1
  182. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.d.ts +0 -4
  183. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.d.ts.map +0 -1
  184. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.js +0 -89
  185. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.js.map +0 -1
  186. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.d.ts +0 -2
  187. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.d.ts.map +0 -1
  188. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.js +0 -11
  189. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.js.map +0 -1
  190. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.d.ts +0 -24
  191. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.d.ts.map +0 -1
  192. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.js +0 -9
  193. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.js.map +0 -1
  194. package/bundled/node_modules/@kubbisec/chat-memory/package.json +0 -32
  195. package/bundled/node_modules/@kubbisec/home/dist/api-url.d.ts +0 -8
  196. package/bundled/node_modules/@kubbisec/home/dist/api-url.d.ts.map +0 -1
  197. package/bundled/node_modules/@kubbisec/home/dist/api-url.js +0 -25
  198. package/bundled/node_modules/@kubbisec/home/dist/api-url.js.map +0 -1
  199. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.d.ts +0 -17
  200. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.d.ts.map +0 -1
  201. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.js +0 -35
  202. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.js.map +0 -1
  203. package/bundled/node_modules/@kubbisec/home/dist/index.d.ts +0 -5
  204. package/bundled/node_modules/@kubbisec/home/dist/index.d.ts.map +0 -1
  205. package/bundled/node_modules/@kubbisec/home/dist/index.js +0 -5
  206. package/bundled/node_modules/@kubbisec/home/dist/index.js.map +0 -1
  207. package/bundled/node_modules/@kubbisec/home/dist/migrate.d.ts +0 -10
  208. package/bundled/node_modules/@kubbisec/home/dist/migrate.d.ts.map +0 -1
  209. package/bundled/node_modules/@kubbisec/home/dist/migrate.js +0 -107
  210. package/bundled/node_modules/@kubbisec/home/dist/migrate.js.map +0 -1
  211. package/bundled/node_modules/@kubbisec/home/dist/paths.d.ts +0 -22
  212. package/bundled/node_modules/@kubbisec/home/dist/paths.d.ts.map +0 -1
  213. package/bundled/node_modules/@kubbisec/home/dist/paths.js +0 -69
  214. package/bundled/node_modules/@kubbisec/home/dist/paths.js.map +0 -1
  215. package/bundled/node_modules/@kubbisec/home/package.json +0 -26
  216. package/bundled/node_modules/@kubbisec/shared/dist/ai/evaluation-dataset-50.d.ts +0 -311
  217. package/bundled/node_modules/@kubbisec/shared/dist/ai/evaluation-dataset-50.d.ts.map +0 -1
  218. package/bundled/node_modules/@kubbisec/shared/dist/ai/evaluation-dataset-50.js +0 -357
  219. package/bundled/node_modules/@kubbisec/shared/dist/ai/evaluation-dataset-50.js.map +0 -1
  220. package/bundled/node_modules/@kubbisec/shared/dist/ai/index.d.ts +0 -3
  221. package/bundled/node_modules/@kubbisec/shared/dist/ai/index.d.ts.map +0 -1
  222. package/bundled/node_modules/@kubbisec/shared/dist/ai/index.js +0 -19
  223. package/bundled/node_modules/@kubbisec/shared/dist/ai/index.js.map +0 -1
  224. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-assistant-system-prompt.d.ts +0 -7
  225. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-assistant-system-prompt.d.ts.map +0 -1
  226. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-assistant-system-prompt.js +0 -30
  227. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-assistant-system-prompt.js.map +0 -1
  228. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-chat-system-prompt.d.ts +0 -7
  229. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-chat-system-prompt.d.ts.map +0 -1
  230. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-chat-system-prompt.js +0 -14
  231. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/build-chat-system-prompt.js.map +0 -1
  232. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/cli-reference-index.d.ts +0 -6
  233. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/cli-reference-index.d.ts.map +0 -1
  234. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/cli-reference-index.js +0 -65
  235. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/cli-reference-index.js.map +0 -1
  236. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/format-mcp-knowledge.d.ts +0 -8
  237. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/format-mcp-knowledge.d.ts.map +0 -1
  238. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/format-mcp-knowledge.js +0 -29
  239. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/format-mcp-knowledge.js.map +0 -1
  240. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/index.d.ts +0 -7
  241. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/index.d.ts.map +0 -1
  242. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/index.js +0 -16
  243. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/index.js.map +0 -1
  244. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mcp-instructions.d.ts +0 -2
  245. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mcp-instructions.d.ts.map +0 -1
  246. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mcp-instructions.js +0 -35
  247. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mcp-instructions.js.map +0 -1
  248. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mental-map.d.ts +0 -6
  249. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mental-map.d.ts.map +0 -1
  250. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mental-map.js +0 -32
  251. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mental-map.js.map +0 -1
  252. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-groups.d.ts +0 -12
  253. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-groups.d.ts.map +0 -1
  254. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-groups.js +0 -93
  255. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-groups.js.map +0 -1
  256. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-presets.d.ts +0 -13
  257. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-presets.d.ts.map +0 -1
  258. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-presets.js +0 -79
  259. package/bundled/node_modules/@kubbisec/shared/dist/api-key/api-key-scope-presets.js.map +0 -1
  260. package/bundled/node_modules/@kubbisec/shared/dist/api-key/index.d.ts +0 -4
  261. package/bundled/node_modules/@kubbisec/shared/dist/api-key/index.d.ts.map +0 -1
  262. package/bundled/node_modules/@kubbisec/shared/dist/api-key/index.js +0 -20
  263. package/bundled/node_modules/@kubbisec/shared/dist/api-key/index.js.map +0 -1
  264. package/bundled/node_modules/@kubbisec/shared/dist/api-key/migrate-api-key-metadata.d.ts +0 -20
  265. package/bundled/node_modules/@kubbisec/shared/dist/api-key/migrate-api-key-metadata.d.ts.map +0 -1
  266. package/bundled/node_modules/@kubbisec/shared/dist/api-key/migrate-api-key-metadata.js +0 -78
  267. package/bundled/node_modules/@kubbisec/shared/dist/api-key/migrate-api-key-metadata.js.map +0 -1
  268. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-session-key.d.ts +0 -20
  269. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-session-key.d.ts.map +0 -1
  270. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-session-key.js +0 -33
  271. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-session-key.js.map +0 -1
  272. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-thread.d.ts +0 -19
  273. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-thread.d.ts.map +0 -1
  274. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-thread.js +0 -126
  275. package/bundled/node_modules/@kubbisec/shared/dist/assistant/assistant-thread.js.map +0 -1
  276. package/bundled/node_modules/@kubbisec/shared/dist/assistant/index.d.ts +0 -3
  277. package/bundled/node_modules/@kubbisec/shared/dist/assistant/index.d.ts.map +0 -1
  278. package/bundled/node_modules/@kubbisec/shared/dist/assistant/index.js +0 -19
  279. package/bundled/node_modules/@kubbisec/shared/dist/assistant/index.js.map +0 -1
  280. package/bundled/node_modules/@kubbisec/shared/dist/billing/index.d.ts +0 -2
  281. package/bundled/node_modules/@kubbisec/shared/dist/billing/index.d.ts.map +0 -1
  282. package/bundled/node_modules/@kubbisec/shared/dist/billing/index.js +0 -18
  283. package/bundled/node_modules/@kubbisec/shared/dist/billing/index.js.map +0 -1
  284. package/bundled/node_modules/@kubbisec/shared/dist/billing/plan-limits.d.ts +0 -17
  285. package/bundled/node_modules/@kubbisec/shared/dist/billing/plan-limits.d.ts.map +0 -1
  286. package/bundled/node_modules/@kubbisec/shared/dist/billing/plan-limits.js +0 -30
  287. package/bundled/node_modules/@kubbisec/shared/dist/billing/plan-limits.js.map +0 -1
  288. package/bundled/node_modules/@kubbisec/shared/dist/ci/ci-job-dependencies.d.ts +0 -42
  289. package/bundled/node_modules/@kubbisec/shared/dist/ci/ci-job-dependencies.d.ts.map +0 -1
  290. package/bundled/node_modules/@kubbisec/shared/dist/ci/ci-job-dependencies.js +0 -147
  291. package/bundled/node_modules/@kubbisec/shared/dist/ci/ci-job-dependencies.js.map +0 -1
  292. package/bundled/node_modules/@kubbisec/shared/dist/ci/git-checkout-log-policy.d.ts +0 -12
  293. package/bundled/node_modules/@kubbisec/shared/dist/ci/git-checkout-log-policy.d.ts.map +0 -1
  294. package/bundled/node_modules/@kubbisec/shared/dist/ci/git-checkout-log-policy.js +0 -70
  295. package/bundled/node_modules/@kubbisec/shared/dist/ci/git-checkout-log-policy.js.map +0 -1
  296. package/bundled/node_modules/@kubbisec/shared/dist/ci/index.d.ts +0 -4
  297. package/bundled/node_modules/@kubbisec/shared/dist/ci/index.d.ts.map +0 -1
  298. package/bundled/node_modules/@kubbisec/shared/dist/ci/index.js +0 -20
  299. package/bundled/node_modules/@kubbisec/shared/dist/ci/index.js.map +0 -1
  300. package/bundled/node_modules/@kubbisec/shared/dist/ci/kubbisec-ci-execution-env.d.ts +0 -16
  301. package/bundled/node_modules/@kubbisec/shared/dist/ci/kubbisec-ci-execution-env.d.ts.map +0 -1
  302. package/bundled/node_modules/@kubbisec/shared/dist/ci/kubbisec-ci-execution-env.js +0 -45
  303. package/bundled/node_modules/@kubbisec/shared/dist/ci/kubbisec-ci-execution-env.js.map +0 -1
  304. package/bundled/node_modules/@kubbisec/shared/dist/cli-user-error.d.ts +0 -18
  305. package/bundled/node_modules/@kubbisec/shared/dist/cli-user-error.d.ts.map +0 -1
  306. package/bundled/node_modules/@kubbisec/shared/dist/cli-user-error.js +0 -92
  307. package/bundled/node_modules/@kubbisec/shared/dist/cli-user-error.js.map +0 -1
  308. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-bitbucket-projects.dto.d.ts +0 -15
  309. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-bitbucket-projects.dto.d.ts.map +0 -1
  310. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-bitbucket-projects.dto.js +0 -75
  311. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-bitbucket-projects.dto.js.map +0 -1
  312. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-github-projects.dto.d.ts +0 -25
  313. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-github-projects.dto.d.ts.map +0 -1
  314. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-github-projects.dto.js +0 -85
  315. package/bundled/node_modules/@kubbisec/shared/dist/dto/bulk-import-github-projects.dto.js.map +0 -1
  316. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-bundle-report.dto.d.ts +0 -17
  317. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-bundle-report.dto.d.ts.map +0 -1
  318. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-bundle-report.dto.js +0 -98
  319. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-bundle-report.dto.js.map +0 -1
  320. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-coverage-report.dto.d.ts +0 -32
  321. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-coverage-report.dto.d.ts.map +0 -1
  322. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-coverage-report.dto.js +0 -209
  323. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-coverage-report.dto.js.map +0 -1
  324. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-project.dto.d.ts +0 -65
  325. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-project.dto.d.ts.map +0 -1
  326. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-project.dto.js +0 -354
  327. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-project.dto.js.map +0 -1
  328. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-report.dto.d.ts +0 -28
  329. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-report.dto.d.ts.map +0 -1
  330. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-report.dto.js +0 -148
  331. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-report.dto.js.map +0 -1
  332. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-scan-target.dto.d.ts +0 -8
  333. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-scan-target.dto.d.ts.map +0 -1
  334. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-scan-target.dto.js +0 -51
  335. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-scan-target.dto.js.map +0 -1
  336. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-vulnerability.dto.d.ts +0 -34
  337. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-vulnerability.dto.d.ts.map +0 -1
  338. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-vulnerability.dto.js +0 -189
  339. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-vulnerability.dto.js.map +0 -1
  340. package/bundled/node_modules/@kubbisec/shared/dist/dto/index.d.ts +0 -17
  341. package/bundled/node_modules/@kubbisec/shared/dist/dto/index.d.ts.map +0 -1
  342. package/bundled/node_modules/@kubbisec/shared/dist/dto/index.js +0 -51
  343. package/bundled/node_modules/@kubbisec/shared/dist/dto/index.js.map +0 -1
  344. package/bundled/node_modules/@kubbisec/shared/dist/dto/metrics.dto.d.ts +0 -203
  345. package/bundled/node_modules/@kubbisec/shared/dist/dto/metrics.dto.d.ts.map +0 -1
  346. package/bundled/node_modules/@kubbisec/shared/dist/dto/metrics.dto.js +0 -42
  347. package/bundled/node_modules/@kubbisec/shared/dist/dto/metrics.dto.js.map +0 -1
  348. package/bundled/node_modules/@kubbisec/shared/dist/dto/record-gate-result.dto.d.ts +0 -6
  349. package/bundled/node_modules/@kubbisec/shared/dist/dto/record-gate-result.dto.d.ts.map +0 -1
  350. package/bundled/node_modules/@kubbisec/shared/dist/dto/record-gate-result.dto.js +0 -31
  351. package/bundled/node_modules/@kubbisec/shared/dist/dto/record-gate-result.dto.js.map +0 -1
  352. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-coverage-gate.dto.d.ts +0 -7
  353. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-coverage-gate.dto.d.ts.map +0 -1
  354. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-coverage-gate.dto.js +0 -47
  355. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-coverage-gate.dto.js.map +0 -1
  356. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-performance-gate.dto.d.ts +0 -6
  357. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-performance-gate.dto.d.ts.map +0 -1
  358. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-performance-gate.dto.js +0 -36
  359. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-performance-gate.dto.js.map +0 -1
  360. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-project.dto.d.ts +0 -9
  361. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-project.dto.d.ts.map +0 -1
  362. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-project.dto.js +0 -52
  363. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-project.dto.js.map +0 -1
  364. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-security-gate.dto.d.ts +0 -9
  365. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-security-gate.dto.d.ts.map +0 -1
  366. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-security-gate.dto.js +0 -58
  367. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-security-gate.dto.js.map +0 -1
  368. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-vulnerability.dto.d.ts +0 -6
  369. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-vulnerability.dto.d.ts.map +0 -1
  370. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-vulnerability.dto.js +0 -30
  371. package/bundled/node_modules/@kubbisec/shared/dist/dto/update-vulnerability.dto.js.map +0 -1
  372. package/bundled/node_modules/@kubbisec/shared/dist/enums.d.ts +0 -139
  373. package/bundled/node_modules/@kubbisec/shared/dist/enums.d.ts.map +0 -1
  374. package/bundled/node_modules/@kubbisec/shared/dist/enums.js +0 -187
  375. package/bundled/node_modules/@kubbisec/shared/dist/enums.js.map +0 -1
  376. package/bundled/node_modules/@kubbisec/shared/dist/github/kubbisec-github-label.d.ts +0 -6
  377. package/bundled/node_modules/@kubbisec/shared/dist/github/kubbisec-github-label.d.ts.map +0 -1
  378. package/bundled/node_modules/@kubbisec/shared/dist/github/kubbisec-github-label.js +0 -9
  379. package/bundled/node_modules/@kubbisec/shared/dist/github/kubbisec-github-label.js.map +0 -1
  380. package/bundled/node_modules/@kubbisec/shared/dist/index.d.ts +0 -23
  381. package/bundled/node_modules/@kubbisec/shared/dist/index.d.ts.map +0 -1
  382. package/bundled/node_modules/@kubbisec/shared/dist/index.js +0 -39
  383. package/bundled/node_modules/@kubbisec/shared/dist/index.js.map +0 -1
  384. package/bundled/node_modules/@kubbisec/shared/dist/mcp/constants.d.ts +0 -26
  385. package/bundled/node_modules/@kubbisec/shared/dist/mcp/constants.d.ts.map +0 -1
  386. package/bundled/node_modules/@kubbisec/shared/dist/mcp/constants.js +0 -58
  387. package/bundled/node_modules/@kubbisec/shared/dist/mcp/constants.js.map +0 -1
  388. package/bundled/node_modules/@kubbisec/shared/dist/mcp/oauth-metadata.d.ts +0 -37
  389. package/bundled/node_modules/@kubbisec/shared/dist/mcp/oauth-metadata.d.ts.map +0 -1
  390. package/bundled/node_modules/@kubbisec/shared/dist/mcp/oauth-metadata.js +0 -51
  391. package/bundled/node_modules/@kubbisec/shared/dist/mcp/oauth-metadata.js.map +0 -1
  392. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/ai-docs-bundle.loader.d.ts +0 -6
  393. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/ai-docs-bundle.loader.d.ts.map +0 -1
  394. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/ai-docs-bundle.loader.js +0 -68
  395. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/ai-docs-bundle.loader.js.map +0 -1
  396. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/aspm-docs-bundle.loader.d.ts +0 -8
  397. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/aspm-docs-bundle.loader.d.ts.map +0 -1
  398. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/aspm-docs-bundle.loader.js +0 -115
  399. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/aspm-docs-bundle.loader.js.map +0 -1
  400. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/doc-bundle-utils.d.ts +0 -12
  401. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/doc-bundle-utils.d.ts.map +0 -1
  402. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/doc-bundle-utils.js +0 -86
  403. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/doc-bundle-utils.js.map +0 -1
  404. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/index.d.ts +0 -8
  405. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/index.d.ts.map +0 -1
  406. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/index.js +0 -34
  407. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/index.js.map +0 -1
  408. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/mcp-tools-catalog.d.ts +0 -6
  409. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/mcp-tools-catalog.d.ts.map +0 -1
  410. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/mcp-tools-catalog.js +0 -69
  411. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/mcp-tools-catalog.js.map +0 -1
  412. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/monorepo-root.d.ts +0 -4
  413. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/monorepo-root.d.ts.map +0 -1
  414. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/monorepo-root.js +0 -19
  415. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/monorepo-root.js.map +0 -1
  416. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.d.ts +0 -11
  417. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.d.ts.map +0 -1
  418. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.js +0 -161
  419. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.js.map +0 -1
  420. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.d.ts +0 -2
  421. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.d.ts.map +0 -1
  422. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.js +0 -47
  423. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.js.map +0 -1
  424. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/security-scanner-playbooks.d.ts +0 -49
  425. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/security-scanner-playbooks.d.ts.map +0 -1
  426. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/security-scanner-playbooks.js +0 -600
  427. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/security-scanner-playbooks.js.map +0 -1
  428. package/bundled/node_modules/@kubbisec/shared/dist/project-scanner-summary.d.ts +0 -24
  429. package/bundled/node_modules/@kubbisec/shared/dist/project-scanner-summary.d.ts.map +0 -1
  430. package/bundled/node_modules/@kubbisec/shared/dist/project-scanner-summary.js +0 -64
  431. package/bundled/node_modules/@kubbisec/shared/dist/project-scanner-summary.js.map +0 -1
  432. package/bundled/node_modules/@kubbisec/shared/dist/rbac/better-auth-org-roles.d.ts +0 -23
  433. package/bundled/node_modules/@kubbisec/shared/dist/rbac/better-auth-org-roles.d.ts.map +0 -1
  434. package/bundled/node_modules/@kubbisec/shared/dist/rbac/better-auth-org-roles.js +0 -53
  435. package/bundled/node_modules/@kubbisec/shared/dist/rbac/better-auth-org-roles.js.map +0 -1
  436. package/bundled/node_modules/@kubbisec/shared/dist/rbac/index.d.ts +0 -8
  437. package/bundled/node_modules/@kubbisec/shared/dist/rbac/index.d.ts.map +0 -1
  438. package/bundled/node_modules/@kubbisec/shared/dist/rbac/index.js +0 -24
  439. package/bundled/node_modules/@kubbisec/shared/dist/rbac/index.js.map +0 -1
  440. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permission-descriptions.d.ts +0 -9
  441. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permission-descriptions.d.ts.map +0 -1
  442. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permission-descriptions.js +0 -91
  443. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permission-descriptions.js.map +0 -1
  444. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permissions.d.ts +0 -12
  445. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permissions.d.ts.map +0 -1
  446. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permissions.js +0 -86
  447. package/bundled/node_modules/@kubbisec/shared/dist/rbac/kubbisec-permissions.js.map +0 -1
  448. package/bundled/node_modules/@kubbisec/shared/dist/rbac/member-quota.d.ts +0 -8
  449. package/bundled/node_modules/@kubbisec/shared/dist/rbac/member-quota.d.ts.map +0 -1
  450. package/bundled/node_modules/@kubbisec/shared/dist/rbac/member-quota.js +0 -19
  451. package/bundled/node_modules/@kubbisec/shared/dist/rbac/member-quota.js.map +0 -1
  452. package/bundled/node_modules/@kubbisec/shared/dist/rbac/platform-staff.d.ts +0 -16
  453. package/bundled/node_modules/@kubbisec/shared/dist/rbac/platform-staff.d.ts.map +0 -1
  454. package/bundled/node_modules/@kubbisec/shared/dist/rbac/platform-staff.js +0 -61
  455. package/bundled/node_modules/@kubbisec/shared/dist/rbac/platform-staff.js.map +0 -1
  456. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-org-permissions.d.ts +0 -10
  457. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-org-permissions.d.ts.map +0 -1
  458. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-org-permissions.js +0 -200
  459. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-org-permissions.js.map +0 -1
  460. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-platform-permissions.d.ts +0 -7
  461. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-platform-permissions.d.ts.map +0 -1
  462. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-platform-permissions.js +0 -23
  463. package/bundled/node_modules/@kubbisec/shared/dist/rbac/resolve-platform-permissions.js.map +0 -1
  464. package/bundled/node_modules/@kubbisec/shared/dist/redaction.d.ts +0 -14
  465. package/bundled/node_modules/@kubbisec/shared/dist/redaction.d.ts.map +0 -1
  466. package/bundled/node_modules/@kubbisec/shared/dist/redaction.js +0 -251
  467. package/bundled/node_modules/@kubbisec/shared/dist/redaction.js.map +0 -1
  468. package/bundled/node_modules/@kubbisec/shared/dist/security/aspm-gate-rules.d.ts +0 -19
  469. package/bundled/node_modules/@kubbisec/shared/dist/security/aspm-gate-rules.d.ts.map +0 -1
  470. package/bundled/node_modules/@kubbisec/shared/dist/security/aspm-gate-rules.js +0 -61
  471. package/bundled/node_modules/@kubbisec/shared/dist/security/aspm-gate-rules.js.map +0 -1
  472. package/bundled/node_modules/@kubbisec/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.d.ts +0 -3
  473. package/bundled/node_modules/@kubbisec/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.d.ts.map +0 -1
  474. package/bundled/node_modules/@kubbisec/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.js +0 -54
  475. package/bundled/node_modules/@kubbisec/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.js.map +0 -1
  476. package/bundled/node_modules/@kubbisec/shared/dist/security/build-github-security-workflow-yaml.d.ts +0 -4
  477. package/bundled/node_modules/@kubbisec/shared/dist/security/build-github-security-workflow-yaml.d.ts.map +0 -1
  478. package/bundled/node_modules/@kubbisec/shared/dist/security/build-github-security-workflow-yaml.js +0 -72
  479. package/bundled/node_modules/@kubbisec/shared/dist/security/build-github-security-workflow-yaml.js.map +0 -1
  480. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-action-pins.d.ts +0 -27
  481. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-action-pins.d.ts.map +0 -1
  482. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-action-pins.js +0 -30
  483. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-action-pins.js.map +0 -1
  484. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-tool-jobs.d.ts +0 -7
  485. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-tool-jobs.d.ts.map +0 -1
  486. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-tool-jobs.js +0 -184
  487. package/bundled/node_modules/@kubbisec/shared/dist/security/github-workflow-tool-jobs.js.map +0 -1
  488. package/bundled/node_modules/@kubbisec/shared/dist/security/index.d.ts +0 -8
  489. package/bundled/node_modules/@kubbisec/shared/dist/security/index.d.ts.map +0 -1
  490. package/bundled/node_modules/@kubbisec/shared/dist/security/index.js +0 -24
  491. package/bundled/node_modules/@kubbisec/shared/dist/security/index.js.map +0 -1
  492. package/bundled/node_modules/@kubbisec/shared/dist/security/report-provider-catalog.d.ts +0 -15
  493. package/bundled/node_modules/@kubbisec/shared/dist/security/report-provider-catalog.d.ts.map +0 -1
  494. package/bundled/node_modules/@kubbisec/shared/dist/security/report-provider-catalog.js +0 -185
  495. package/bundled/node_modules/@kubbisec/shared/dist/security/report-provider-catalog.js.map +0 -1
  496. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool-catalog.d.ts +0 -5
  497. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool-catalog.d.ts.map +0 -1
  498. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool-catalog.js +0 -74
  499. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool-catalog.js.map +0 -1
  500. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool.types.d.ts +0 -43
  501. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool.types.d.ts.map +0 -1
  502. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool.types.js +0 -22
  503. package/bundled/node_modules/@kubbisec/shared/dist/security/security-tool.types.js.map +0 -1
  504. package/bundled/node_modules/@kubbisec/shared/dist/server/mcp-sessions.d.ts +0 -30
  505. package/bundled/node_modules/@kubbisec/shared/dist/server/mcp-sessions.d.ts.map +0 -1
  506. package/bundled/node_modules/@kubbisec/shared/dist/server/mcp-sessions.js +0 -99
  507. package/bundled/node_modules/@kubbisec/shared/dist/server/mcp-sessions.js.map +0 -1
  508. package/bundled/node_modules/@kubbisec/shared/dist/severity-map.d.ts +0 -8
  509. package/bundled/node_modules/@kubbisec/shared/dist/severity-map.d.ts.map +0 -1
  510. package/bundled/node_modules/@kubbisec/shared/dist/severity-map.js +0 -47
  511. package/bundled/node_modules/@kubbisec/shared/dist/severity-map.js.map +0 -1
  512. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/constants.d.ts +0 -4
  513. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/constants.d.ts.map +0 -1
  514. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/constants.js +0 -10
  515. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/constants.js.map +0 -1
  516. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/index.d.ts +0 -4
  517. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/index.d.ts.map +0 -1
  518. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/index.js +0 -20
  519. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/index.js.map +0 -1
  520. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/redact-log-lines.d.ts +0 -2
  521. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/redact-log-lines.d.ts.map +0 -1
  522. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/redact-log-lines.js +0 -9
  523. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/redact-log-lines.js.map +0 -1
  524. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/share-prefix.d.ts +0 -3
  525. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/share-prefix.d.ts.map +0 -1
  526. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/share-prefix.js +0 -18
  527. package/bundled/node_modules/@kubbisec/shared/dist/shared-project/share-prefix.js.map +0 -1
  528. package/bundled/node_modules/@kubbisec/shared/dist/sonar-safe-string.d.ts +0 -26
  529. package/bundled/node_modules/@kubbisec/shared/dist/sonar-safe-string.d.ts.map +0 -1
  530. package/bundled/node_modules/@kubbisec/shared/dist/sonar-safe-string.js +0 -202
  531. package/bundled/node_modules/@kubbisec/shared/dist/sonar-safe-string.js.map +0 -1
  532. package/bundled/node_modules/@kubbisec/shared/dist/sort-findings.d.ts +0 -16
  533. package/bundled/node_modules/@kubbisec/shared/dist/sort-findings.d.ts.map +0 -1
  534. package/bundled/node_modules/@kubbisec/shared/dist/sort-findings.js +0 -67
  535. package/bundled/node_modules/@kubbisec/shared/dist/sort-findings.js.map +0 -1
  536. package/bundled/node_modules/@kubbisec/shared/dist/trusted-path.d.ts +0 -7
  537. package/bundled/node_modules/@kubbisec/shared/dist/trusted-path.d.ts.map +0 -1
  538. package/bundled/node_modules/@kubbisec/shared/dist/trusted-path.js +0 -30
  539. package/bundled/node_modules/@kubbisec/shared/dist/trusted-path.js.map +0 -1
  540. package/bundled/node_modules/@kubbisec/shared/package.json +0 -88
  541. package/bundled/reflect-system.md +0 -31
  542. package/bundled/resolve-bundled-dist-root.js +0 -166
  543. package/bundled/resolve-bundled-dist-root.js.map +0 -1
  544. package/bundled/skills/aspm-platform/SKILL.md +0 -95
  545. package/bundled/skills/at-path-mentions.d.ts +0 -7
  546. package/bundled/skills/at-path-mentions.d.ts.map +0 -1
  547. package/bundled/skills/at-path-mentions.js +0 -184
  548. package/bundled/skills/at-path-mentions.js.map +0 -1
  549. package/bundled/skills/at-path-mentions.test.ts +0 -64
  550. package/bundled/skills/at-path-mentions.ts +0 -209
  551. package/bundled/skills/chat-mention-render.d.ts +0 -7
  552. package/bundled/skills/chat-mention-render.d.ts.map +0 -1
  553. package/bundled/skills/chat-mention-render.js +0 -160
  554. package/bundled/skills/chat-mention-render.js.map +0 -1
  555. package/bundled/skills/chat-mention-render.test.ts +0 -70
  556. package/bundled/skills/chat-mention-render.ts +0 -192
  557. package/bundled/skills/chat-mentions.d.ts +0 -28
  558. package/bundled/skills/chat-mentions.d.ts.map +0 -1
  559. package/bundled/skills/chat-mentions.js +0 -108
  560. package/bundled/skills/chat-mentions.js.map +0 -1
  561. package/bundled/skills/chat-mentions.test.ts +0 -39
  562. package/bundled/skills/chat-mentions.ts +0 -133
  563. package/bundled/skills/github-local/SKILL.md +0 -16
  564. package/bundled/skills/kubbisec-resource-router/SKILL.md +0 -3
  565. package/bundled/skills/list-bundled-skills.d.ts +0 -7
  566. package/bundled/skills/list-bundled-skills.d.ts.map +0 -1
  567. package/bundled/skills/list-bundled-skills.js +0 -44
  568. package/bundled/skills/list-bundled-skills.js.map +0 -1
  569. package/bundled/skills/list-bundled-skills.ts +0 -49
  570. package/bundled/skills/naus-pipelines/SKILL.md +0 -127
  571. package/bundled/skills/remediation/SKILL.md +0 -12
  572. package/bundled/skills/scanner-gitleaks/SKILL.md +0 -10
  573. package/bundled/skills/scanner-nmap/SKILL.md +0 -10
  574. package/bundled/skills/scanner-osv/SKILL.md +0 -10
  575. package/bundled/skills/scanner-semgrep/SKILL.md +0 -10
  576. package/bundled/skills/scanner-skipfish/SKILL.md +0 -10
  577. package/bundled/skills/scanner-sonar/SKILL.md +0 -10
  578. package/bundled/skills/scanner-syft/SKILL.md +0 -10
  579. package/bundled/skills/scanner-trivy/SKILL.md +0 -10
  580. package/bundled/skills/sec-brainstorm/SKILL.md +0 -74
  581. package/bundled/skills/sec-clarify/SKILL.md +0 -53
  582. package/bundled/skills/sec-debug/SKILL.md +0 -94
  583. package/bundled/skills/sec-plan/SKILL.md +0 -101
  584. package/bundled/skills/sec-review/SKILL.md +0 -110
  585. package/bundled/skills/sec-review/code-reviewer-sec.md +0 -176
  586. package/bundled/skills/sec-using-skills/SKILL.md +0 -81
  587. package/bundled/skills/sec-verify/SKILL.md +0 -77
  588. package/bundled/skills/skill-mention.d.ts +0 -3
  589. package/bundled/skills/skill-mention.d.ts.map +0 -1
  590. package/bundled/skills/skill-mention.js +0 -3
  591. package/bundled/skills/skill-mention.js.map +0 -1
  592. package/bundled/skills/skill-mention.test.ts +0 -46
  593. package/bundled/skills/skill-mention.ts +0 -10
  594. package/bundled/theme/clear-terminal.d.ts +0 -3
  595. package/bundled/theme/clear-terminal.d.ts.map +0 -1
  596. package/bundled/theme/clear-terminal.js +0 -7
  597. package/bundled/theme/clear-terminal.js.map +0 -1
  598. package/bundled/theme/footer-render-hook.d.ts +0 -3
  599. package/bundled/theme/footer-render-hook.d.ts.map +0 -1
  600. package/bundled/theme/footer-render-hook.js +0 -8
  601. package/bundled/theme/footer-render-hook.js.map +0 -1
  602. package/bundled/theme/kubbisec-brand-fg.d.ts +0 -4
  603. package/bundled/theme/kubbisec-brand-fg.d.ts.map +0 -1
  604. package/bundled/theme/kubbisec-brand-fg.js +0 -7
  605. package/bundled/theme/kubbisec-brand-fg.js.map +0 -1
  606. package/bundled/theme/kubbisec-menu-themes.d.ts +0 -16
  607. package/bundled/theme/kubbisec-menu-themes.d.ts.map +0 -1
  608. package/bundled/theme/kubbisec-menu-themes.js +0 -47
  609. package/bundled/theme/kubbisec-menu-themes.js.map +0 -1
  610. package/bundled/theme/kubbisec-theme-name.d.ts +0 -2
  611. package/bundled/theme/kubbisec-theme-name.d.ts.map +0 -1
  612. package/bundled/theme/kubbisec-theme-name.js +0 -2
  613. package/bundled/theme/kubbisec-theme-name.js.map +0 -1
  614. package/bundled/theme/kubbisec.json +0 -93
  615. package/bundled/theme/patch-pi-settings-theme.runtime.d.ts +0 -3
  616. package/bundled/theme/patch-pi-settings-theme.runtime.d.ts.map +0 -1
  617. package/bundled/theme/patch-pi-settings-theme.runtime.js +0 -16
  618. package/bundled/theme/patch-pi-settings-theme.runtime.js.map +0 -1
  619. package/bundled/theme/render-compact-header.d.ts +0 -21
  620. package/bundled/theme/render-compact-header.d.ts.map +0 -1
  621. package/bundled/theme/render-compact-header.js +0 -197
  622. package/bundled/theme/render-compact-header.js.map +0 -1
  623. package/bundled/workflow/session-workflow-mode.d.ts +0 -10
  624. package/bundled/workflow/session-workflow-mode.d.ts.map +0 -1
  625. package/bundled/workflow/session-workflow-mode.js +0 -51
  626. package/bundled/workflow/session-workflow-mode.js.map +0 -1
@@ -1,185 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.REPORT_PROVIDER_CATALOG = exports.REPORT_CATEGORY_IDS = void 0;
4
- exports.isReportCategoryId = isReportCategoryId;
5
- exports.scanTypeForReportCategory = scanTypeForReportCategory;
6
- /** Stable ingestion categories. Distinct from the Naus CI tool catalog. */
7
- exports.REPORT_CATEGORY_IDS = [
8
- "sast",
9
- "sca",
10
- "secrets",
11
- "dast",
12
- "iac",
13
- "container",
14
- "sbom",
15
- "api_security",
16
- "k8s_manifest",
17
- "k8s_runtime",
18
- "cspm",
19
- "cwpp",
20
- "cnapp",
21
- "host_vuln",
22
- "network_vuln",
23
- "attack_surface",
24
- "port_scanning",
25
- "web_vuln",
26
- "cve",
27
- "malware",
28
- "supply_chain",
29
- "dependency_confusion",
30
- "typosquatting",
31
- "license",
32
- "binary",
33
- "firmware",
34
- "mobile",
35
- "android",
36
- "ios",
37
- "infra_compliance",
38
- "k8s_compliance",
39
- "docker_compliance",
40
- "cloud_compliance",
41
- "policy_as_code",
42
- "cicd_security",
43
- "github_posture",
44
- "gitlab_security",
45
- "repository_security",
46
- "artifact_registry",
47
- "package_registry",
48
- "pentest",
49
- "bug_bounty",
50
- "red_team",
51
- "bas",
52
- "threat_model",
53
- "threat_intel",
54
- "exploit_intel",
55
- "epss",
56
- "llm_security",
57
- "mcp_agent",
58
- ];
59
- exports.REPORT_PROVIDER_CATALOG = [
60
- {
61
- provider: "trivy",
62
- categories: ["sca", "container", "iac", "secrets"],
63
- formats: ["trivy-json", "sarif", "cyclonedx", "spdx"],
64
- },
65
- {
66
- provider: "semgrep",
67
- categories: ["sast", "secrets"],
68
- formats: ["semgrep-json", "sarif"],
69
- },
70
- {
71
- provider: "syft",
72
- categories: ["sbom"],
73
- formats: ["syft-json", "cyclonedx", "spdx"],
74
- },
75
- {
76
- provider: "gitleaks",
77
- categories: ["secrets"],
78
- formats: ["gitleaks-json", "sarif"],
79
- },
80
- {
81
- provider: "osv",
82
- categories: ["sca"],
83
- formats: ["osv-json"],
84
- },
85
- {
86
- provider: "sonar",
87
- categories: ["sast"],
88
- formats: ["sonar-json"],
89
- },
90
- {
91
- provider: "nmap",
92
- categories: ["port_scanning", "network"],
93
- formats: ["nmap-xml"],
94
- },
95
- {
96
- provider: "skipfish",
97
- categories: ["dast", "web"],
98
- formats: ["skipfish-json"],
99
- },
100
- {
101
- provider: "generic-sarif",
102
- categories: ["sast", "secrets", "iac"],
103
- formats: ["sarif"],
104
- },
105
- {
106
- provider: "generic-cyclonedx",
107
- categories: ["sbom", "sca", "container"],
108
- formats: ["cyclonedx"],
109
- },
110
- {
111
- provider: "generic-spdx",
112
- categories: ["sbom", "sca"],
113
- formats: ["spdx"],
114
- },
115
- {
116
- provider: "generic-gitlab",
117
- categories: ["sast", "sca", "container", "secrets", "dast", "iac"],
118
- formats: ["gitlab-security"],
119
- },
120
- {
121
- provider: "generic-ocsf",
122
- categories: ["cspm", "cnapp", "host_vuln", "cloud_compliance", "k8s_runtime", "container"],
123
- formats: ["ocsf"],
124
- },
125
- {
126
- provider: "generic-asff",
127
- categories: ["cspm", "host_vuln", "container"],
128
- formats: ["asff"],
129
- },
130
- {
131
- provider: "generic-csaf",
132
- categories: ["cve", "sca"],
133
- formats: ["csaf"],
134
- },
135
- {
136
- provider: "generic-openvex",
137
- categories: ["sca", "cve"],
138
- formats: ["openvex"],
139
- },
140
- {
141
- provider: "generic-osv",
142
- categories: ["sca", "cve"],
143
- formats: ["osv"],
144
- },
145
- {
146
- provider: "generic-epss",
147
- categories: ["epss"],
148
- formats: ["epss"],
149
- },
150
- { provider: "nuclei", categories: ["dast", "network_vuln", "sast"], formats: ["nuclei-json"] },
151
- { provider: "zap", categories: ["dast", "web"], formats: ["zap-json", "zap-xml"] },
152
- { provider: "prowler", categories: ["cspm", "k8s_compliance"], formats: ["prowler-json"] },
153
- { provider: "nessus", categories: ["host_vuln"], formats: ["nessus-json", "nessus-xml"] },
154
- { provider: "mobsf", categories: ["mobile", "android", "ios"], formats: ["mobsf-json"] },
155
- { provider: "burp", categories: ["dast", "web"], formats: ["burp-json", "burp-xml"] },
156
- { provider: "qualys", categories: ["host_vuln"], formats: ["qualys-json", "qualys-xml"] },
157
- { provider: "rapid7", categories: ["host_vuln"], formats: ["rapid7-json", "rapid7-xml"] },
158
- ];
159
- const REPORT_CATEGORY_ID_SET = new Set(exports.REPORT_CATEGORY_IDS);
160
- function isReportCategoryId(value) {
161
- return REPORT_CATEGORY_ID_SET.has(value);
162
- }
163
- /** Legacy families keep the historical scan type strings (`container` → CONTAINER, `network` → NETWORK). */
164
- function scanTypeForReportCategory(category) {
165
- switch (category) {
166
- case "container":
167
- return "CONTAINER";
168
- case "sast":
169
- return "SAST";
170
- case "secrets":
171
- return "SECRETS";
172
- case "sbom":
173
- return "SBOM";
174
- case "network":
175
- case "network_vuln":
176
- case "port_scanning":
177
- return "NETWORK";
178
- case "web":
179
- case "web_vuln":
180
- return "WEB";
181
- default:
182
- return isReportCategoryId(category) ? category : "SAST";
183
- }
184
- }
185
- //# sourceMappingURL=report-provider-catalog.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"report-provider-catalog.js","sourceRoot":"","sources":["../../src/security/report-provider-catalog.ts"],"names":[],"mappings":";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CAAC,EAAE;IACxF,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE;IACrF,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,aAAa,EAAE,YAAY,CAAC,EAAE;IACzF,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,aAAa,EAAE,YAAY,CAAC,EAAE;CAC1F,CAAC;AAEF,MAAM,sBAAsB,GAAG,IAAI,GAAG,CAAS,2BAAmB,CAAC,CAAC;AAEpE,SAAgB,kBAAkB,CAAC,KAAa;IAC9C,OAAO,sBAAsB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AAC3C,CAAC;AAED,4GAA4G;AAC5G,SAAgB,yBAAyB,CAAC,QAAgB;IACxD,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,WAAW;YACd,OAAO,WAAW,CAAC;QACrB,KAAK,MAAM;YACT,OAAO,MAAM,CAAC;QAChB,KAAK,SAAS;YACZ,OAAO,SAAS,CAAC;QACnB,KAAK,MAAM;YACT,OAAO,MAAM,CAAC;QAChB,KAAK,SAAS,CAAC;QACf,KAAK,cAAc,CAAC;QACpB,KAAK,eAAe;YAClB,OAAO,SAAS,CAAC;QACnB,KAAK,KAAK,CAAC;QACX,KAAK,UAAU;YACb,OAAO,KAAK,CAAC;QACf;YACE,OAAO,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5D,CAAC;AACH,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { SecurityToolCatalogEntry } from "./security-tool.types";
2
- export declare const SECURITY_TOOL_CATALOG: readonly SecurityToolCatalogEntry[];
3
- export declare function isSecurityToolId(value: string): value is SecurityToolCatalogEntry["id"];
4
- export declare function normalizeSecurityTools(tools: readonly string[] | undefined | null): SecurityToolCatalogEntry["id"][];
5
- //# sourceMappingURL=security-tool-catalog.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"security-tool-catalog.d.ts","sourceRoot":"","sources":["../../src/security/security-tool-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEtE,eAAO,MAAM,qBAAqB,EAAE,SAAS,wBAAwB,EAiD3D,CAAC;AAEX,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wBAAwB,CAAC,IAAI,CAAC,CAEvF;AAED,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,GAAG,IAAI,GAC1C,wBAAwB,CAAC,IAAI,CAAC,EAAE,CAalC"}
@@ -1,74 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SECURITY_TOOL_CATALOG = void 0;
4
- exports.isSecurityToolId = isSecurityToolId;
5
- exports.normalizeSecurityTools = normalizeSecurityTools;
6
- exports.SECURITY_TOOL_CATALOG = [
7
- {
8
- id: "osv",
9
- label: "OSV Scanner",
10
- category: "sca",
11
- description: "Open Source Vulnerabilities em lockfiles e dependências.",
12
- },
13
- {
14
- id: "gitleaks",
15
- label: "Gitleaks",
16
- category: "secrets",
17
- description: "Detecção de segredos no histórico Git.",
18
- },
19
- {
20
- id: "syft",
21
- label: "Syft",
22
- category: "sbom",
23
- description: "Geração de SBOM CycloneDX.",
24
- },
25
- {
26
- id: "trivy",
27
- label: "Trivy",
28
- category: "sca",
29
- description: "CVEs em filesystem, containers e IaC.",
30
- },
31
- {
32
- id: "semgrep",
33
- label: "Semgrep",
34
- category: "sast",
35
- description: "Análise estática com regras auto.",
36
- },
37
- {
38
- id: "sonar",
39
- label: "SonarQube",
40
- category: "quality",
41
- description: "Qualidade e issues via Sonar (requer SONAR_*).",
42
- },
43
- {
44
- id: "nmap",
45
- label: "Nmap",
46
- category: "network",
47
- description: "Varredura de rede (upload manual do relatório).",
48
- },
49
- {
50
- id: "skipfish",
51
- label: "Skipfish",
52
- category: "dast",
53
- description: "DAST web (upload manual do relatório).",
54
- },
55
- ];
56
- function isSecurityToolId(value) {
57
- return exports.SECURITY_TOOL_CATALOG.some((entry) => entry.id === value);
58
- }
59
- function normalizeSecurityTools(tools) {
60
- if (!tools?.length) {
61
- return ["osv", "gitleaks", "syft", "trivy", "semgrep"];
62
- }
63
- const seen = new Set();
64
- const normalized = [];
65
- for (const raw of tools) {
66
- const id = raw.trim().toLowerCase();
67
- if (!isSecurityToolId(id) || seen.has(id))
68
- continue;
69
- seen.add(id);
70
- normalized.push(id);
71
- }
72
- return normalized.length > 0 ? normalized : ["osv", "gitleaks", "syft", "trivy", "semgrep"];
73
- }
74
- //# sourceMappingURL=security-tool-catalog.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"security-tool-catalog.js","sourceRoot":"","sources":["../../src/security/security-tool-catalog.ts"],"names":[],"mappings":";;;AAqDA,4CAEC;AAED,wDAeC;AAtEY,QAAA,qBAAqB,GAAwC;IACxE;QACE,EAAE,EAAE,KAAK;QACT,KAAK,EAAE,aAAa;QACpB,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,0DAA0D;KACxE;IACD;QACE,EAAE,EAAE,UAAU;QACd,KAAK,EAAE,UAAU;QACjB,QAAQ,EAAE,SAAS;QACnB,WAAW,EAAE,wCAAwC;KACtD;IACD;QACE,EAAE,EAAE,MAAM;QACV,KAAK,EAAE,MAAM;QACb,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,4BAA4B;KAC1C;IACD;QACE,EAAE,EAAE,OAAO;QACX,KAAK,EAAE,OAAO;QACd,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,uCAAuC;KACrD;IACD;QACE,EAAE,EAAE,SAAS;QACb,KAAK,EAA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C,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;AAC9F,CAAC"}
@@ -1,43 +0,0 @@
1
- /** Naus `aspm_matrix` tool ids — must match @kubbisec/naus-validation `aspmToolIdSchema`. */
2
- export declare const SECURITY_TOOL_IDS: readonly ["osv", "gitleaks", "syft", "trivy", "semgrep", "sonar", "nmap", "skipfish"];
3
- export type SecurityToolId = (typeof SECURITY_TOOL_IDS)[number];
4
- export declare const DEFAULT_SECURITY_TOOLS: SecurityToolId[];
5
- export type SecurityToolCategory = "sca" | "sast" | "secrets" | "sbom" | "network" | "dast" | "quality";
6
- export type SecurityToolCatalogEntry = {
7
- id: SecurityToolId;
8
- label: string;
9
- category: SecurityToolCategory;
10
- description: string;
11
- };
12
- export type GithubWorkflowTriggerEvents = {
13
- push: boolean;
14
- pushBranches: string[];
15
- pullRequest: boolean;
16
- workflowDispatch: boolean;
17
- schedule: boolean;
18
- scheduleCron: string;
19
- };
20
- /** KubbiSec vars inlined in generated workflows (API URL omitted — ASPM CLI uses cloud default). */
21
- export type GithubWorkflowInlineEnv = {
22
- orgId: string;
23
- projectId: string;
24
- };
25
- export type BuildGithubSecurityWorkflowOptions = {
26
- workflowName: string;
27
- tools: SecurityToolId[];
28
- events: GithubWorkflowTriggerEvents;
29
- inlineEnv?: GithubWorkflowInlineEnv;
30
- };
31
- export type BuildAspmSecurityMatrixPipelineOptions = {
32
- pipelineName?: string;
33
- matrixStrategy?: "chain" | "fanout";
34
- gateRules?: {
35
- vulnerabilities?: {
36
- max_by_severity: Record<string, number>;
37
- };
38
- coverage?: {
39
- min_line_pct: number;
40
- };
41
- };
42
- };
43
- //# sourceMappingURL=security-tool.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"security-tool.types.d.ts","sourceRoot":"","sources":["../../src/security/security-tool.types.ts"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F,eAAO,MAAM,iBAAiB,uFASpB,CAAC;AAEX,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AA;SAAE,CAAC;KACrC,CAAC;CACH,CAAC"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_SECURITY_TOOLS = exports.SECURITY_TOOL_IDS = void 0;
4
- /** Naus `aspm_matrix` tool ids — must match @kubbisec/naus-validation `aspmToolIdSchema`. */
5
- exports.SECURITY_TOOL_IDS = [
6
- "osv",
7
- "gitleaks",
8
- "syft",
9
- "trivy",
10
- "semgrep",
11
- "sonar",
12
- "nmap",
13
- "skipfish",
14
- ];
15
- exports.DEFAULT_SECURITY_TOOLS = [
16
- "osv",
17
- "gitleaks",
18
- "syft",
19
- "trivy",
20
- "semgrep",
21
- ];
22
- //# sourceMappingURL=security-tool.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"security-tool.types.js","sourceRoot":"","sources":["../../src/security/security-tool.types.ts"],"names":[],"mappings":";;;AAAA,6FAA6F;AAChF,QAAA,iBAAiB,GAAG;IAC/B,KAAK;IACL,UAAU;IACV,MAAM;IACN,OAAO;IACP,SAAS;IACT,OAAO;IACP,MAAM;IACN,UAAU;CACF,CAAC;AAIE,QAAA,sBAAsB,GAAqB;IACtD,KAAK;IACL,UAAU;IACV,MAAM;IACN,OAAO;IACP,SAAS;CACV,CAAC"}
@@ -1,30 +0,0 @@
1
- export declare function mcpSessionOwner(kind: string, context: {
2
- apiBase: string;
3
- apiKey: string;
4
- organizationId: string;
5
- organizationSlug: string;
6
- }): string;
7
- export declare function mcpPositiveLimit(value: string | undefined, fallback: number): number;
8
- /** Reserves capacity before async initialization; credentials bind every subsequent request. */
9
- export declare class McpSessionStore<T> {
10
- private readonly closeValue;
11
- private readonly entries;
12
- private readonly timer;
13
- private readonly ttlMs;
14
- private readonly maxSessions;
15
- private readonly maxPerOwner;
16
- private readonly maxPerTenant;
17
- constructor(closeValue: (value: T) => Promise<void>, options?: {
18
- ttlMs?: number;
19
- maxSessions?: number;
20
- maxPerOwner?: number;
21
- maxPerTenant?: number;
22
- });
23
- reserve(owner: string, tenant: string): string | undefined;
24
- commit(reservation: string, sessionId: string, value: T): boolean;
25
- get(sessionId: string, owner: string): T | undefined;
26
- delete(sessionId: string): Promise<void>;
27
- close(): Promise<void>;
28
- private prune;
29
- }
30
- //# sourceMappingURL=mcp-sessions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mcp-sessions.d.ts","sourceRoot":"","sources":["../../src/server/mcp-sessions.ts"],"names":[],"mappings":"AAEA,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE;IACP,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,GACA,MAAM,CAYR;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAGpF;AAID,gGAAgG;AAChG,qBAAa,eAAe,CAAC,CAAC;IAS1B,OAAO,CAAC,QAAQ,CAAC,UAAU;IAR7B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAuC;IAC/D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAiC;IACvD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAS;IAC/B,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;IACrC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;IACrC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAS;gBAGnB,UAAU,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,EACxD,OAAO,GAAE;QACP,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,YAAY,CAAC,EAAE,MAAM,CAAC;KAClB;IAeR,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAe1D,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO;IAQjE,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS;IAQ9C,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAMxC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAM5B,OAAO,CAAC,KAAK;CAMd"}
@@ -1,99 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.McpSessionStore = void 0;
4
- exports.mcpSessionOwner = mcpSessionOwner;
5
- exports.mcpPositiveLimit = mcpPositiveLimit;
6
- const node_crypto_1 = require("node:crypto");
7
- function mcpSessionOwner(kind, context) {
8
- return (0, node_crypto_1.createHash)("sha256")
9
- .update(JSON.stringify([
10
- kind,
11
- context.apiBase,
12
- context.apiKey,
13
- context.organizationId,
14
- context.organizationSlug,
15
- ]))
16
- .digest("hex");
17
- }
18
- function mcpPositiveLimit(value, fallback) {
19
- const number = Number(value);
20
- return Number.isSafeInteger(number) && number > 0 ? number : fallback;
21
- }
22
- /** Reserves capacity before async initialization; credentials bind every subsequent request. */
23
- class McpSessionStore {
24
- closeValue;
25
- entries = new Map();
26
- timer;
27
- ttlMs;
28
- maxSessions;
29
- maxPerOwner;
30
- maxPerTenant;
31
- constructor(closeValue, options = {}) {
32
- this.closeValue = closeValue;
33
- this.ttlMs =
34
- options.ttlMs ?? mcpPositiveLimit(process.env.KUBBISEC_MCP_SESSION_TTL_MS, 30 * 60_000);
35
- this.maxSessions =
36
- options.maxSessions ?? mcpPositiveLimit(process.env.KUBBISEC_MCP_MAX_SESSIONS, 256);
37
- this.maxPerOwner =
38
- options.maxPerOwner ?? mcpPositiveLimit(process.env.KUBBISEC_MCP_MAX_SESSIONS_PER_OWNER, 16);
39
- this.maxPerTenant =
40
- options.maxPerTenant ??
41
- mcpPositiveLimit(process.env.KUBBISEC_MCP_MAX_SESSIONS_PER_TENANT, 32);
42
- this.timer = setInterval(() => this.prune(), Math.min(this.ttlMs, 60_000));
43
- this.timer.unref();
44
- }
45
- reserve(owner, tenant) {
46
- this.prune();
47
- if (this.entries.size >= this.maxSessions)
48
- return undefined;
49
- let byOwner = 0;
50
- let byTenant = 0;
51
- for (const entry of this.entries.values()) {
52
- if (entry.owner === owner)
53
- byOwner++;
54
- if (entry.tenant === tenant)
55
- byTenant++;
56
- }
57
- if (byOwner >= this.maxPerOwner || byTenant >= this.maxPerTenant)
58
- return undefined;
59
- const reservation = `pending:${(0, node_crypto_1.randomUUID)()}`;
60
- this.entries.set(reservation, { owner, tenant, touchedAt: Date.now() });
61
- return reservation;
62
- }
63
- commit(reservation, sessionId, value) {
64
- const record = this.entries.get(reservation);
65
- if (!record || this.entries.has(sessionId))
66
- return false;
67
- this.entries.delete(reservation);
68
- this.entries.set(sessionId, { ...record, value, touchedAt: Date.now() });
69
- return true;
70
- }
71
- get(sessionId, owner) {
72
- this.prune();
73
- const record = this.entries.get(sessionId);
74
- if (!record || record.owner !== owner || record.value === undefined)
75
- return undefined;
76
- record.touchedAt = Date.now();
77
- return record.value;
78
- }
79
- async delete(sessionId) {
80
- const record = this.entries.get(sessionId);
81
- this.entries.delete(sessionId);
82
- if (record?.value !== undefined)
83
- await this.closeValue(record.value);
84
- }
85
- async close() {
86
- clearInterval(this.timer);
87
- const ids = [...this.entries.keys()];
88
- await Promise.allSettled(ids.map((id) => this.delete(id)));
89
- }
90
- prune() {
91
- const cutoff = Date.now() - this.ttlMs;
92
- for (const [id, record] of this.entries) {
93
- if (record.touchedAt <= cutoff)
94
- void this.delete(id).catch(() => { });
95
- }
96
- }
97
- }
98
- exports.McpSessionStore = McpSessionStore;
99
- //# sourceMappingURL=mcp-sessions.js.map
@@ -1 +0,0 @@
1
- {"version":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,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;QACrC,MAAM,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAC7D,CAAC;IAEO,KAAK;QACX,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;QACvC,KAAK,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACxC,IAAI,MAAM,CAAC,SAAS,IAAI,MAAM;gBAAE,KAAK,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC;QACvE,CAAC;IACH,CAAC;CACF;AA/ED,0CA+EC"}
@@ -1,8 +0,0 @@
1
- import { Severity } from "./enums";
2
- export declare const TRIVY_SEVERITY_MAP: Record<string, Severity>;
3
- export declare const SONAR_SEVERITY_MAP: Record<string, Severity>;
4
- /** Semgrep CLI JSON: extra.severity */
5
- export declare const SEMGREP_SEVERITY_MAP: Record<string, Severity>;
6
- export declare const SKIPFISH_SEVERITY_MAP: Record<number, Severity>;
7
- export declare function mapNmapSeverity(port: number, service: string): Severity;
8
- //# sourceMappingURL=severity-map.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"severity-map.d.ts","sourceRoot":"","sources":["../src/severity-map.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAMvD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAMvD,CAAC;AAEF,uCAAuC;AACvC,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAKzD,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAM1D,CAAC;AAEF,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,QAAQ,CAavE"}
@@ -1,47 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SKIPFISH_SEVERITY_MAP = exports.SEMGREP_SEVERITY_MAP = exports.SONAR_SEVERITY_MAP = exports.TRIVY_SEVERITY_MAP = void 0;
4
- exports.mapNmapSeverity = mapNmapSeverity;
5
- const enums_1 = require("./enums");
6
- exports.TRIVY_SEVERITY_MAP = {
7
- CRITICAL: enums_1.Severity.CRITICAL,
8
- HIGH: enums_1.Severity.HIGH,
9
- MEDIUM: enums_1.Severity.MEDIUM,
10
- LOW: enums_1.Severity.LOW,
11
- UNKNOWN: enums_1.Severity.INFO,
12
- };
13
- exports.SONAR_SEVERITY_MAP = {
14
- BLOCKER: enums_1.Severity.CRITICAL,
15
- CRITICAL: enums_1.Severity.HIGH,
16
- MAJOR: enums_1.Severity.MEDIUM,
17
- MINOR: enums_1.Severity.LOW,
18
- INFO: enums_1.Severity.INFO,
19
- };
20
- /** Semgrep CLI JSON: extra.severity */
21
- exports.SEMGREP_SEVERITY_MAP = {
22
- ERROR: enums_1.Severity.HIGH,
23
- WARNING: enums_1.Severity.MEDIUM,
24
- INFO: enums_1.Severity.LOW,
25
- INVENTORY: enums_1.Severity.INFO,
26
- };
27
- exports.SKIPFISH_SEVERITY_MAP = {
28
- 5: enums_1.Severity.HIGH,
29
- 4: enums_1.Severity.MEDIUM,
30
- 3: enums_1.Severity.LOW,
31
- 2: enums_1.Severity.LOW,
32
- 1: enums_1.Severity.INFO,
33
- };
34
- function mapNmapSeverity(port, service) {
35
- const criticalPorts = [21, 23, 445, 3389, 5900];
36
- const highPorts = [22, 25, 53, 110, 143, 389, 636, 1433, 3306, 5432, 6379, 27017];
37
- if (criticalPorts.includes(port))
38
- return enums_1.Severity.HIGH;
39
- if (highPorts.includes(port))
40
- return enums_1.Severity.MEDIUM;
41
- const riskyServices = ["telnet", "ftp", "vnc", "rdp", "smb"];
42
- if (riskyServices.some((s) => service.toLowerCase().includes(s))) {
43
- return enums_1.Severity.HIGH;
44
- }
45
- return enums_1.Severity.LOW;
46
- }
47
- //# sourceMappingURL=severity-map.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"severity-map.js","sourceRoot":"","sources":["../src/severity-map.ts"],"names":[],"mappings":";;;AAkCA,0CAaC;AA/CD,mCAAmC;AAEtB,QAAA,kBAAkB,GAA6B;IAC1D,QAAQ,EAAE,gBAAQ,CAAC,QAAQ;IAC3B,IAAI,EAAE,gBAAQ,CAAC,IAAI;IACnB,MAAM,EAAE,gBAAQ,CAAC,MAAM;IACvB,GAAG,EAAE,gBAAQ,CAAC,GAAG;IACjB,OAAO,EAAE,gBAAQ,CAAC,IAAI;CACvB,CAAC;AAEW,QAAA,kBAAkB,GAA6B;IAC1D,OAAO,EAAE,gBAAQ,CAAC,QAAQ;IAC1B,QAAQ,EAAE,gBAAQ,CAAC,IAAI;IACvB,KAAK,EAAE,gBAAQ,CAAC,MAAM;IACtB,KAAK,EAAE,gBAAQ,CAAC,GAAG;IACnB,IAAI,EAAE,gBAAQ,CAAC,IAAI;CACpB,CAAC;AAEF,uCAAuC;AAC1B,QAAA,oBAAoB,GAA6B;IAC5D,KAAK,EAAE,gBAAQ,CAAC,IAAI;IACpB,OAAO,EAAE,gBAAQ,CAAC,MAAM;IACxB,IAAI,EAAE,gBAAQ,CAAC,GAAG;IAClB,SAAS,EAAE,gBAAQ,CAAC,IAAI;CACzB,CAAC;AAEW,QAAA,qBAAqB,GAA6B;IAC7D,CAAC,EAAE,gBAAQ,CAAC,IAAI;IAChB,CAAC,EAAE,gBAAQ,CAAC,MAAM;IAClB,CAAC,EAAE,gBAAQ,CAAC,GAAG;IACf,CAAC,EAAE,gBAAQ,CAAC,GAAG;IACf,CAAC,EAAE,gBAAQ,CAAC,IAAI;CACjB,CAAC;AAEF,SAAgB,eAAe,CAAC,IAAY,EAAE,OAAe;IAC3D,MAAM,aAAa,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAChD,MAAM,SAAS,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;IAElF,IAAI,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC;QAAE,OAAO,gBAAQ,CAAC,IAAI,CAAC;IACvD,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC;QAAE,OAAO,gBAAQ,CAAC,MAAM,CAAC;IAErD,MAAM,aAAa,GAAG,CAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAC7D,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACjE,OAAO,gBAAQ,CAAC,IAAI,CAAC;IACvB,CAAC;IAED,OAAO,gBAAQ,CAAC,GAAG,CAAC;AACtB,CAAC"}
@@ -1,4 +0,0 @@
1
- export declare const KUBBISEC_SHARED_PROJECT_BASE_URL = "https://shared.kubbisec.com";
2
- export declare const KUBBISEC_SHARED_PROJECT_HOST = "shared.kubbisec.com";
3
- export declare function buildSharedProjectUrl(sharePrefix: string, shortId: string): string;
4
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/shared-project/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC,gCAAgC,CAAC;AAC9E,eAAO,MAAM,4BAA4B,wBAAwB,CAAC;AAElE,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAElF"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.KUBBISEC_SHARED_PROJECT_HOST = exports.KUBBISEC_SHARED_PROJECT_BASE_URL = void 0;
4
- exports.buildSharedProjectUrl = buildSharedProjectUrl;
5
- exports.KUBBISEC_SHARED_PROJECT_BASE_URL = "https://shared.kubbisec.com";
6
- exports.KUBBISEC_SHARED_PROJECT_HOST = "shared.kubbisec.com";
7
- function buildSharedProjectUrl(sharePrefix, shortId) {
8
- return `${exports.KUBBISEC_SHARED_PROJECT_BASE_URL}/${sharePrefix}/${shortId}`;
9
- }
10
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/shared-project/constants.ts"],"names":[],"mappings":";;;AAGA,sDAEC;AALY,QAAA,gCAAgC,GAAG,6BAA6B,CAAC;AACjE,QAAA,4BAA4B,GAAG,qBAAqB,CAAC;AAElE,SAAgB,qBAAqB,CAAC,WAAmB,EAAE,OAAe;IACxE,OAAO,GAAG,wCAAgC,IAAI,WAAW,IAAI,OAAO,EAAE,CAAC;AACzE,CAAC"}
@@ -1,4 +0,0 @@
1
- export * from "./constants";
2
- export * from "./redact-log-lines";
3
- export * from "./share-prefix";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/shared-project/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC"}
@@ -1,20 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./constants"), exports);
18
- __exportStar(require("./redact-log-lines"), exports);
19
- __exportStar(require("./share-prefix"), exports);
20
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/shared-project/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,qDAAmC;AACnC,iDAA+B"}
@@ -1,2 +0,0 @@
1
- export declare function redactLogLines(lines: string[]): string[];
2
- //# sourceMappingURL=redact-log-lines.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"redact-log-lines.d.ts","sourceRoot":"","sources":["../../src/shared-project/redact-log-lines.ts"],"names":[],"mappings":"AAIA,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAExD"}