@kubbisec/ai-linux-x64 0.1.23 → 0.1.24

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 (589) hide show
  1. package/package.json +1 -1
  2. package/bin/kubbisec +0 -0
  3. package/bundled/assets/terminal/banner-compact.ansi +0 -7
  4. package/bundled/assets/terminal/banner-wide.ansi +0 -10
  5. package/bundled/assets/terminal/logotipo-compact-fallback.ansi +0 -7
  6. package/bundled/assets/terminal/logotipo-compact.ansi +0 -1
  7. package/bundled/assets/terminal/logotipo-compact.png +0 -0
  8. package/bundled/assets/terminal/logotipo-wide-fallback.ansi +0 -10
  9. package/bundled/assets/terminal/logotipo-wide.ansi +0 -1
  10. package/bundled/assets/terminal/logotipo-wide.png +0 -0
  11. package/bundled/assets/terminal/mark.ansi +0 -7
  12. package/bundled/assets/terminal/wordmark-inline.ansi +0 -1
  13. package/bundled/assets/terminal/wordmark.ansi +0 -4
  14. package/bundled/assets/terminal/wordmark.png +0 -0
  15. package/bundled/components/kubbisec-model-selector.d.ts +0 -57
  16. package/bundled/components/kubbisec-model-selector.d.ts.map +0 -1
  17. package/bundled/components/kubbisec-model-selector.js +0 -208
  18. package/bundled/components/kubbisec-model-selector.js.map +0 -1
  19. package/bundled/config/config.d.ts +0 -14
  20. package/bundled/config/config.d.ts.map +0 -1
  21. package/bundled/config/config.js +0 -69
  22. package/bundled/config/config.js.map +0 -1
  23. package/bundled/config/detect-local-llm-providers.d.ts +0 -43
  24. package/bundled/config/detect-local-llm-providers.d.ts.map +0 -1
  25. package/bundled/config/detect-local-llm-providers.js +0 -160
  26. package/bundled/config/detect-local-llm-providers.js.map +0 -1
  27. package/bundled/config/ensure-kbs-project-settings.d.ts +0 -20
  28. package/bundled/config/ensure-kbs-project-settings.d.ts.map +0 -1
  29. package/bundled/config/ensure-kbs-project-settings.js +0 -45
  30. package/bundled/config/ensure-kbs-project-settings.js.map +0 -1
  31. package/bundled/config/ensure-kubbisec-project-settings.d.ts +0 -31
  32. package/bundled/config/ensure-kubbisec-project-settings.d.ts.map +0 -1
  33. package/bundled/config/ensure-kubbisec-project-settings.js +0 -102
  34. package/bundled/config/ensure-kubbisec-project-settings.js.map +0 -1
  35. package/bundled/config/extended-context.d.ts +0 -11
  36. package/bundled/config/extended-context.d.ts.map +0 -1
  37. package/bundled/config/extended-context.js +0 -37
  38. package/bundled/config/extended-context.js.map +0 -1
  39. package/bundled/config/feature-flags.d.ts +0 -10
  40. package/bundled/config/feature-flags.d.ts.map +0 -1
  41. package/bundled/config/feature-flags.js +0 -8
  42. package/bundled/config/feature-flags.js.map +0 -1
  43. package/bundled/config/format-kubbisec-footer-status.d.ts +0 -2
  44. package/bundled/config/format-kubbisec-footer-status.d.ts.map +0 -1
  45. package/bundled/config/format-kubbisec-footer-status.js +0 -32
  46. package/bundled/config/format-kubbisec-footer-status.js.map +0 -1
  47. package/bundled/config/kubbisec-extension-manifest.d.ts +0 -22
  48. package/bundled/config/kubbisec-extension-manifest.d.ts.map +0 -1
  49. package/bundled/config/kubbisec-extension-manifest.js +0 -22
  50. package/bundled/config/kubbisec-extension-manifest.js.map +0 -1
  51. package/bundled/config/llm-config-mutations.d.ts +0 -64
  52. package/bundled/config/llm-config-mutations.d.ts.map +0 -1
  53. package/bundled/config/llm-config-mutations.js +0 -198
  54. package/bundled/config/llm-config-mutations.js.map +0 -1
  55. package/bundled/config/llm-config.d.ts +0 -79
  56. package/bundled/config/llm-config.d.ts.map +0 -1
  57. package/bundled/config/llm-config.js +0 -246
  58. package/bundled/config/llm-config.js.map +0 -1
  59. package/bundled/config/llm-provider-catalog.d.ts +0 -25
  60. package/bundled/config/llm-provider-catalog.d.ts.map +0 -1
  61. package/bundled/config/llm-provider-catalog.js +0 -53
  62. package/bundled/config/llm-provider-catalog.js.map +0 -1
  63. package/bundled/config/materialize-kubbisec-pi-resources.d.ts +0 -19
  64. package/bundled/config/materialize-kubbisec-pi-resources.d.ts.map +0 -1
  65. package/bundled/config/materialize-kubbisec-pi-resources.js +0 -233
  66. package/bundled/config/materialize-kubbisec-pi-resources.js.map +0 -1
  67. package/bundled/config/register-custom-llm-providers.d.ts +0 -19
  68. package/bundled/config/register-custom-llm-providers.d.ts.map +0 -1
  69. package/bundled/config/register-custom-llm-providers.js +0 -23
  70. package/bundled/config/register-custom-llm-providers.js.map +0 -1
  71. package/bundled/config/register-kubbisec-llm-provider.d.ts +0 -18
  72. package/bundled/config/register-kubbisec-llm-provider.d.ts.map +0 -1
  73. package/bundled/config/register-kubbisec-llm-provider.js +0 -61
  74. package/bundled/config/register-kubbisec-llm-provider.js.map +0 -1
  75. package/bundled/config/resolve-agents-context-file.d.ts +0 -4
  76. package/bundled/config/resolve-agents-context-file.d.ts.map +0 -1
  77. package/bundled/config/resolve-agents-context-file.js +0 -46
  78. package/bundled/config/resolve-agents-context-file.js.map +0 -1
  79. package/bundled/config/resource-budget.d.ts +0 -17
  80. package/bundled/config/resource-budget.d.ts.map +0 -1
  81. package/bundled/config/resource-budget.js +0 -35
  82. package/bundled/config/resource-budget.js.map +0 -1
  83. package/bundled/config/sync-kubbisec-pi-models.d.ts +0 -15
  84. package/bundled/config/sync-kubbisec-pi-models.d.ts.map +0 -1
  85. package/bundled/config/sync-kubbisec-pi-models.js +0 -81
  86. package/bundled/config/sync-kubbisec-pi-models.js.map +0 -1
  87. package/bundled/copy/cli-reference-index.d.ts +0 -2
  88. package/bundled/copy/cli-reference-index.d.ts.map +0 -1
  89. package/bundled/copy/cli-reference-index.js +0 -2
  90. package/bundled/copy/cli-reference-index.js.map +0 -1
  91. package/bundled/copy/kubbisec-shell-copy.d.ts +0 -26
  92. package/bundled/copy/kubbisec-shell-copy.d.ts.map +0 -1
  93. package/bundled/copy/kubbisec-shell-copy.js +0 -21
  94. package/bundled/copy/kubbisec-shell-copy.js.map +0 -1
  95. package/bundled/edit-format.md +0 -17
  96. package/bundled/extensions/cli-local-shared.d.ts +0 -80
  97. package/bundled/extensions/cli-local-shared.d.ts.map +0 -1
  98. package/bundled/extensions/cli-local-shared.js +0 -169
  99. package/bundled/extensions/cli-local-shared.js.map +0 -1
  100. package/bundled/extensions/kubbisec-aspm-local.extension.d.ts +0 -21
  101. package/bundled/extensions/kubbisec-aspm-local.extension.d.ts.map +0 -1
  102. package/bundled/extensions/kubbisec-aspm-local.extension.js +0 -112
  103. package/bundled/extensions/kubbisec-aspm-local.extension.js.map +0 -1
  104. package/bundled/extensions/kubbisec-brand.extension.d.ts +0 -3
  105. package/bundled/extensions/kubbisec-brand.extension.d.ts.map +0 -1
  106. package/bundled/extensions/kubbisec-brand.extension.js +0 -32
  107. package/bundled/extensions/kubbisec-brand.extension.js.map +0 -1
  108. package/bundled/extensions/kubbisec-byok-provider.extension.d.ts +0 -6
  109. package/bundled/extensions/kubbisec-byok-provider.extension.d.ts.map +0 -1
  110. package/bundled/extensions/kubbisec-byok-provider.extension.js +0 -5
  111. package/bundled/extensions/kubbisec-byok-provider.extension.js.map +0 -1
  112. package/bundled/extensions/kubbisec-clarify.extension.d.ts +0 -79
  113. package/bundled/extensions/kubbisec-clarify.extension.d.ts.map +0 -1
  114. package/bundled/extensions/kubbisec-clarify.extension.js +0 -381
  115. package/bundled/extensions/kubbisec-clarify.extension.js.map +0 -1
  116. package/bundled/extensions/kubbisec-exit.extension.d.ts +0 -6
  117. package/bundled/extensions/kubbisec-exit.extension.d.ts.map +0 -1
  118. package/bundled/extensions/kubbisec-exit.extension.js +0 -38
  119. package/bundled/extensions/kubbisec-exit.extension.js.map +0 -1
  120. package/bundled/extensions/kubbisec-extended-context.extension.d.ts +0 -6
  121. package/bundled/extensions/kubbisec-extended-context.extension.d.ts.map +0 -1
  122. package/bundled/extensions/kubbisec-extended-context.extension.js +0 -63
  123. package/bundled/extensions/kubbisec-extended-context.extension.js.map +0 -1
  124. package/bundled/extensions/kubbisec-footer.extension.d.ts +0 -19
  125. package/bundled/extensions/kubbisec-footer.extension.d.ts.map +0 -1
  126. package/bundled/extensions/kubbisec-footer.extension.js +0 -245
  127. package/bundled/extensions/kubbisec-footer.extension.js.map +0 -1
  128. package/bundled/extensions/kubbisec-github-local.extension.d.ts +0 -31
  129. package/bundled/extensions/kubbisec-github-local.extension.d.ts.map +0 -1
  130. package/bundled/extensions/kubbisec-github-local.extension.js +0 -483
  131. package/bundled/extensions/kubbisec-github-local.extension.js.map +0 -1
  132. package/bundled/extensions/kubbisec-llm-config.extension.d.ts +0 -3
  133. package/bundled/extensions/kubbisec-llm-config.extension.d.ts.map +0 -1
  134. package/bundled/extensions/kubbisec-llm-config.extension.js +0 -230
  135. package/bundled/extensions/kubbisec-llm-config.extension.js.map +0 -1
  136. package/bundled/extensions/kubbisec-memory.extension.d.ts +0 -14
  137. package/bundled/extensions/kubbisec-memory.extension.d.ts.map +0 -1
  138. package/bundled/extensions/kubbisec-memory.extension.js +0 -100
  139. package/bundled/extensions/kubbisec-memory.extension.js.map +0 -1
  140. package/bundled/extensions/kubbisec-naus-local.extension.d.ts +0 -21
  141. package/bundled/extensions/kubbisec-naus-local.extension.d.ts.map +0 -1
  142. package/bundled/extensions/kubbisec-naus-local.extension.js +0 -132
  143. package/bundled/extensions/kubbisec-naus-local.extension.js.map +0 -1
  144. package/bundled/extensions/kubbisec-platform-tools.extension.d.ts +0 -40
  145. package/bundled/extensions/kubbisec-platform-tools.extension.d.ts.map +0 -1
  146. package/bundled/extensions/kubbisec-platform-tools.extension.js +0 -185
  147. package/bundled/extensions/kubbisec-platform-tools.extension.js.map +0 -1
  148. package/bundled/extensions/kubbisec-runtime-status.extension.d.ts +0 -15
  149. package/bundled/extensions/kubbisec-runtime-status.extension.d.ts.map +0 -1
  150. package/bundled/extensions/kubbisec-runtime-status.extension.js +0 -20
  151. package/bundled/extensions/kubbisec-runtime-status.extension.js.map +0 -1
  152. package/bundled/extensions/kubbisec-scope.extension.d.ts +0 -19
  153. package/bundled/extensions/kubbisec-scope.extension.d.ts.map +0 -1
  154. package/bundled/extensions/kubbisec-scope.extension.js +0 -18
  155. package/bundled/extensions/kubbisec-scope.extension.js.map +0 -1
  156. package/bundled/extensions/kubbisec-skill-mentions.extension.d.ts +0 -36
  157. package/bundled/extensions/kubbisec-skill-mentions.extension.d.ts.map +0 -1
  158. package/bundled/extensions/kubbisec-skill-mentions.extension.js +0 -81
  159. package/bundled/extensions/kubbisec-skill-mentions.extension.js.map +0 -1
  160. package/bundled/extensions/kubbisec-skill-telemetry.extension.d.ts +0 -5
  161. package/bundled/extensions/kubbisec-skill-telemetry.extension.d.ts.map +0 -1
  162. package/bundled/extensions/kubbisec-skill-telemetry.extension.js +0 -80
  163. package/bundled/extensions/kubbisec-skill-telemetry.extension.js.map +0 -1
  164. package/bundled/extensions/kubbisec-theme-lock.extension.d.ts +0 -6
  165. package/bundled/extensions/kubbisec-theme-lock.extension.d.ts.map +0 -1
  166. package/bundled/extensions/kubbisec-theme-lock.extension.js +0 -42
  167. package/bundled/extensions/kubbisec-theme-lock.extension.js.map +0 -1
  168. package/bundled/extensions/kubbisec-ui.extension.d.ts +0 -6
  169. package/bundled/extensions/kubbisec-ui.extension.d.ts.map +0 -1
  170. package/bundled/extensions/kubbisec-ui.extension.js +0 -141
  171. package/bundled/extensions/kubbisec-ui.extension.js.map +0 -1
  172. package/bundled/extensions/kubbisec-workflow.extension.d.ts +0 -40
  173. package/bundled/extensions/kubbisec-workflow.extension.d.ts.map +0 -1
  174. package/bundled/extensions/kubbisec-workflow.extension.js +0 -177
  175. package/bundled/extensions/kubbisec-workflow.extension.js.map +0 -1
  176. package/bundled/gate-system.md +0 -27
  177. package/bundled/node_modules/@aspm/shared/dist/ai/evaluation-dataset-50.d.ts +0 -311
  178. package/bundled/node_modules/@aspm/shared/dist/ai/evaluation-dataset-50.d.ts.map +0 -1
  179. package/bundled/node_modules/@aspm/shared/dist/ai/evaluation-dataset-50.js +0 -357
  180. package/bundled/node_modules/@aspm/shared/dist/ai/evaluation-dataset-50.js.map +0 -1
  181. package/bundled/node_modules/@aspm/shared/dist/ai/index.d.ts +0 -3
  182. package/bundled/node_modules/@aspm/shared/dist/ai/index.d.ts.map +0 -1
  183. package/bundled/node_modules/@aspm/shared/dist/ai/index.js +0 -19
  184. package/bundled/node_modules/@aspm/shared/dist/ai/index.js.map +0 -1
  185. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/build-assistant-system-prompt.d.ts +0 -7
  186. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/build-assistant-system-prompt.d.ts.map +0 -1
  187. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/build-assistant-system-prompt.js +0 -30
  188. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/build-assistant-system-prompt.js.map +0 -1
  189. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/build-chat-system-prompt.d.ts +0 -7
  190. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/build-chat-system-prompt.d.ts.map +0 -1
  191. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/build-chat-system-prompt.js +0 -14
  192. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/build-chat-system-prompt.js.map +0 -1
  193. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/cli-reference-index.d.ts +0 -6
  194. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/cli-reference-index.d.ts.map +0 -1
  195. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/cli-reference-index.js +0 -65
  196. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/cli-reference-index.js.map +0 -1
  197. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/format-mcp-knowledge.d.ts +0 -8
  198. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/format-mcp-knowledge.d.ts.map +0 -1
  199. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/format-mcp-knowledge.js +0 -29
  200. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/format-mcp-knowledge.js.map +0 -1
  201. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/index.d.ts +0 -7
  202. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/index.d.ts.map +0 -1
  203. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/index.js +0 -16
  204. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/index.js.map +0 -1
  205. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/mcp-instructions.d.ts +0 -2
  206. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/mcp-instructions.d.ts.map +0 -1
  207. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/mcp-instructions.js +0 -36
  208. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/mcp-instructions.js.map +0 -1
  209. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/mental-map.d.ts +0 -6
  210. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/mental-map.d.ts.map +0 -1
  211. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/mental-map.js +0 -32
  212. package/bundled/node_modules/@aspm/shared/dist/ai/product-knowledge/mental-map.js.map +0 -1
  213. package/bundled/node_modules/@aspm/shared/dist/api-key/api-key-scope-groups.d.ts +0 -12
  214. package/bundled/node_modules/@aspm/shared/dist/api-key/api-key-scope-groups.d.ts.map +0 -1
  215. package/bundled/node_modules/@aspm/shared/dist/api-key/api-key-scope-groups.js +0 -93
  216. package/bundled/node_modules/@aspm/shared/dist/api-key/api-key-scope-groups.js.map +0 -1
  217. package/bundled/node_modules/@aspm/shared/dist/api-key/api-key-scope-presets.d.ts +0 -13
  218. package/bundled/node_modules/@aspm/shared/dist/api-key/api-key-scope-presets.d.ts.map +0 -1
  219. package/bundled/node_modules/@aspm/shared/dist/api-key/api-key-scope-presets.js +0 -79
  220. package/bundled/node_modules/@aspm/shared/dist/api-key/api-key-scope-presets.js.map +0 -1
  221. package/bundled/node_modules/@aspm/shared/dist/api-key/index.d.ts +0 -4
  222. package/bundled/node_modules/@aspm/shared/dist/api-key/index.d.ts.map +0 -1
  223. package/bundled/node_modules/@aspm/shared/dist/api-key/index.js +0 -20
  224. package/bundled/node_modules/@aspm/shared/dist/api-key/index.js.map +0 -1
  225. package/bundled/node_modules/@aspm/shared/dist/api-key/migrate-api-key-metadata.d.ts +0 -20
  226. package/bundled/node_modules/@aspm/shared/dist/api-key/migrate-api-key-metadata.d.ts.map +0 -1
  227. package/bundled/node_modules/@aspm/shared/dist/api-key/migrate-api-key-metadata.js +0 -78
  228. package/bundled/node_modules/@aspm/shared/dist/api-key/migrate-api-key-metadata.js.map +0 -1
  229. package/bundled/node_modules/@aspm/shared/dist/assistant/assistant-session-key.d.ts +0 -20
  230. package/bundled/node_modules/@aspm/shared/dist/assistant/assistant-session-key.d.ts.map +0 -1
  231. package/bundled/node_modules/@aspm/shared/dist/assistant/assistant-session-key.js +0 -33
  232. package/bundled/node_modules/@aspm/shared/dist/assistant/assistant-session-key.js.map +0 -1
  233. package/bundled/node_modules/@aspm/shared/dist/assistant/assistant-thread.d.ts +0 -19
  234. package/bundled/node_modules/@aspm/shared/dist/assistant/assistant-thread.d.ts.map +0 -1
  235. package/bundled/node_modules/@aspm/shared/dist/assistant/assistant-thread.js +0 -126
  236. package/bundled/node_modules/@aspm/shared/dist/assistant/assistant-thread.js.map +0 -1
  237. package/bundled/node_modules/@aspm/shared/dist/assistant/index.d.ts +0 -3
  238. package/bundled/node_modules/@aspm/shared/dist/assistant/index.d.ts.map +0 -1
  239. package/bundled/node_modules/@aspm/shared/dist/assistant/index.js +0 -19
  240. package/bundled/node_modules/@aspm/shared/dist/assistant/index.js.map +0 -1
  241. package/bundled/node_modules/@aspm/shared/dist/billing/index.d.ts +0 -2
  242. package/bundled/node_modules/@aspm/shared/dist/billing/index.d.ts.map +0 -1
  243. package/bundled/node_modules/@aspm/shared/dist/billing/index.js +0 -18
  244. package/bundled/node_modules/@aspm/shared/dist/billing/index.js.map +0 -1
  245. package/bundled/node_modules/@aspm/shared/dist/billing/plan-limits.d.ts +0 -17
  246. package/bundled/node_modules/@aspm/shared/dist/billing/plan-limits.d.ts.map +0 -1
  247. package/bundled/node_modules/@aspm/shared/dist/billing/plan-limits.js +0 -30
  248. package/bundled/node_modules/@aspm/shared/dist/billing/plan-limits.js.map +0 -1
  249. package/bundled/node_modules/@aspm/shared/dist/ci/ci-job-dependencies.d.ts +0 -42
  250. package/bundled/node_modules/@aspm/shared/dist/ci/ci-job-dependencies.d.ts.map +0 -1
  251. package/bundled/node_modules/@aspm/shared/dist/ci/ci-job-dependencies.js +0 -147
  252. package/bundled/node_modules/@aspm/shared/dist/ci/ci-job-dependencies.js.map +0 -1
  253. package/bundled/node_modules/@aspm/shared/dist/ci/git-checkout-log-policy.d.ts +0 -12
  254. package/bundled/node_modules/@aspm/shared/dist/ci/git-checkout-log-policy.d.ts.map +0 -1
  255. package/bundled/node_modules/@aspm/shared/dist/ci/git-checkout-log-policy.js +0 -70
  256. package/bundled/node_modules/@aspm/shared/dist/ci/git-checkout-log-policy.js.map +0 -1
  257. package/bundled/node_modules/@aspm/shared/dist/ci/index.d.ts +0 -4
  258. package/bundled/node_modules/@aspm/shared/dist/ci/index.d.ts.map +0 -1
  259. package/bundled/node_modules/@aspm/shared/dist/ci/index.js +0 -20
  260. package/bundled/node_modules/@aspm/shared/dist/ci/index.js.map +0 -1
  261. package/bundled/node_modules/@aspm/shared/dist/ci/kubbisec-ci-execution-env.d.ts +0 -16
  262. package/bundled/node_modules/@aspm/shared/dist/ci/kubbisec-ci-execution-env.d.ts.map +0 -1
  263. package/bundled/node_modules/@aspm/shared/dist/ci/kubbisec-ci-execution-env.js +0 -45
  264. package/bundled/node_modules/@aspm/shared/dist/ci/kubbisec-ci-execution-env.js.map +0 -1
  265. package/bundled/node_modules/@aspm/shared/dist/cli-user-error.d.ts +0 -18
  266. package/bundled/node_modules/@aspm/shared/dist/cli-user-error.d.ts.map +0 -1
  267. package/bundled/node_modules/@aspm/shared/dist/cli-user-error.js +0 -92
  268. package/bundled/node_modules/@aspm/shared/dist/cli-user-error.js.map +0 -1
  269. package/bundled/node_modules/@aspm/shared/dist/dto/bulk-import-github-projects.dto.d.ts +0 -25
  270. package/bundled/node_modules/@aspm/shared/dist/dto/bulk-import-github-projects.dto.d.ts.map +0 -1
  271. package/bundled/node_modules/@aspm/shared/dist/dto/bulk-import-github-projects.dto.js +0 -85
  272. package/bundled/node_modules/@aspm/shared/dist/dto/bulk-import-github-projects.dto.js.map +0 -1
  273. package/bundled/node_modules/@aspm/shared/dist/dto/create-bundle-report.dto.d.ts +0 -17
  274. package/bundled/node_modules/@aspm/shared/dist/dto/create-bundle-report.dto.d.ts.map +0 -1
  275. package/bundled/node_modules/@aspm/shared/dist/dto/create-bundle-report.dto.js +0 -98
  276. package/bundled/node_modules/@aspm/shared/dist/dto/create-bundle-report.dto.js.map +0 -1
  277. package/bundled/node_modules/@aspm/shared/dist/dto/create-coverage-report.dto.d.ts +0 -32
  278. package/bundled/node_modules/@aspm/shared/dist/dto/create-coverage-report.dto.d.ts.map +0 -1
  279. package/bundled/node_modules/@aspm/shared/dist/dto/create-coverage-report.dto.js +0 -209
  280. package/bundled/node_modules/@aspm/shared/dist/dto/create-coverage-report.dto.js.map +0 -1
  281. package/bundled/node_modules/@aspm/shared/dist/dto/create-project.dto.d.ts +0 -65
  282. package/bundled/node_modules/@aspm/shared/dist/dto/create-project.dto.d.ts.map +0 -1
  283. package/bundled/node_modules/@aspm/shared/dist/dto/create-project.dto.js +0 -354
  284. package/bundled/node_modules/@aspm/shared/dist/dto/create-project.dto.js.map +0 -1
  285. package/bundled/node_modules/@aspm/shared/dist/dto/create-report.dto.d.ts +0 -27
  286. package/bundled/node_modules/@aspm/shared/dist/dto/create-report.dto.d.ts.map +0 -1
  287. package/bundled/node_modules/@aspm/shared/dist/dto/create-report.dto.js +0 -145
  288. package/bundled/node_modules/@aspm/shared/dist/dto/create-report.dto.js.map +0 -1
  289. package/bundled/node_modules/@aspm/shared/dist/dto/create-scan-target.dto.d.ts +0 -8
  290. package/bundled/node_modules/@aspm/shared/dist/dto/create-scan-target.dto.d.ts.map +0 -1
  291. package/bundled/node_modules/@aspm/shared/dist/dto/create-scan-target.dto.js +0 -51
  292. package/bundled/node_modules/@aspm/shared/dist/dto/create-scan-target.dto.js.map +0 -1
  293. package/bundled/node_modules/@aspm/shared/dist/dto/create-vulnerability.dto.d.ts +0 -34
  294. package/bundled/node_modules/@aspm/shared/dist/dto/create-vulnerability.dto.d.ts.map +0 -1
  295. package/bundled/node_modules/@aspm/shared/dist/dto/create-vulnerability.dto.js +0 -189
  296. package/bundled/node_modules/@aspm/shared/dist/dto/create-vulnerability.dto.js.map +0 -1
  297. package/bundled/node_modules/@aspm/shared/dist/dto/index.d.ts +0 -16
  298. package/bundled/node_modules/@aspm/shared/dist/dto/index.d.ts.map +0 -1
  299. package/bundled/node_modules/@aspm/shared/dist/dto/index.js +0 -47
  300. package/bundled/node_modules/@aspm/shared/dist/dto/index.js.map +0 -1
  301. package/bundled/node_modules/@aspm/shared/dist/dto/metrics.dto.d.ts +0 -203
  302. package/bundled/node_modules/@aspm/shared/dist/dto/metrics.dto.d.ts.map +0 -1
  303. package/bundled/node_modules/@aspm/shared/dist/dto/metrics.dto.js +0 -42
  304. package/bundled/node_modules/@aspm/shared/dist/dto/metrics.dto.js.map +0 -1
  305. package/bundled/node_modules/@aspm/shared/dist/dto/record-gate-result.dto.d.ts +0 -6
  306. package/bundled/node_modules/@aspm/shared/dist/dto/record-gate-result.dto.d.ts.map +0 -1
  307. package/bundled/node_modules/@aspm/shared/dist/dto/record-gate-result.dto.js +0 -31
  308. package/bundled/node_modules/@aspm/shared/dist/dto/record-gate-result.dto.js.map +0 -1
  309. package/bundled/node_modules/@aspm/shared/dist/dto/update-coverage-gate.dto.d.ts +0 -7
  310. package/bundled/node_modules/@aspm/shared/dist/dto/update-coverage-gate.dto.d.ts.map +0 -1
  311. package/bundled/node_modules/@aspm/shared/dist/dto/update-coverage-gate.dto.js +0 -47
  312. package/bundled/node_modules/@aspm/shared/dist/dto/update-coverage-gate.dto.js.map +0 -1
  313. package/bundled/node_modules/@aspm/shared/dist/dto/update-performance-gate.dto.d.ts +0 -6
  314. package/bundled/node_modules/@aspm/shared/dist/dto/update-performance-gate.dto.d.ts.map +0 -1
  315. package/bundled/node_modules/@aspm/shared/dist/dto/update-performance-gate.dto.js +0 -36
  316. package/bundled/node_modules/@aspm/shared/dist/dto/update-performance-gate.dto.js.map +0 -1
  317. package/bundled/node_modules/@aspm/shared/dist/dto/update-project.dto.d.ts +0 -9
  318. package/bundled/node_modules/@aspm/shared/dist/dto/update-project.dto.d.ts.map +0 -1
  319. package/bundled/node_modules/@aspm/shared/dist/dto/update-project.dto.js +0 -52
  320. package/bundled/node_modules/@aspm/shared/dist/dto/update-project.dto.js.map +0 -1
  321. package/bundled/node_modules/@aspm/shared/dist/dto/update-security-gate.dto.d.ts +0 -9
  322. package/bundled/node_modules/@aspm/shared/dist/dto/update-security-gate.dto.d.ts.map +0 -1
  323. package/bundled/node_modules/@aspm/shared/dist/dto/update-security-gate.dto.js +0 -58
  324. package/bundled/node_modules/@aspm/shared/dist/dto/update-security-gate.dto.js.map +0 -1
  325. package/bundled/node_modules/@aspm/shared/dist/dto/update-vulnerability.dto.d.ts +0 -6
  326. package/bundled/node_modules/@aspm/shared/dist/dto/update-vulnerability.dto.d.ts.map +0 -1
  327. package/bundled/node_modules/@aspm/shared/dist/dto/update-vulnerability.dto.js +0 -30
  328. package/bundled/node_modules/@aspm/shared/dist/dto/update-vulnerability.dto.js.map +0 -1
  329. package/bundled/node_modules/@aspm/shared/dist/enums.d.ts +0 -88
  330. package/bundled/node_modules/@aspm/shared/dist/enums.d.ts.map +0 -1
  331. package/bundled/node_modules/@aspm/shared/dist/enums.js +0 -136
  332. package/bundled/node_modules/@aspm/shared/dist/enums.js.map +0 -1
  333. package/bundled/node_modules/@aspm/shared/dist/github/kubbisec-github-label.d.ts +0 -6
  334. package/bundled/node_modules/@aspm/shared/dist/github/kubbisec-github-label.d.ts.map +0 -1
  335. package/bundled/node_modules/@aspm/shared/dist/github/kubbisec-github-label.js +0 -9
  336. package/bundled/node_modules/@aspm/shared/dist/github/kubbisec-github-label.js.map +0 -1
  337. package/bundled/node_modules/@aspm/shared/dist/index.d.ts +0 -22
  338. package/bundled/node_modules/@aspm/shared/dist/index.d.ts.map +0 -1
  339. package/bundled/node_modules/@aspm/shared/dist/index.js +0 -38
  340. package/bundled/node_modules/@aspm/shared/dist/index.js.map +0 -1
  341. package/bundled/node_modules/@aspm/shared/dist/mcp/constants.d.ts +0 -22
  342. package/bundled/node_modules/@aspm/shared/dist/mcp/constants.d.ts.map +0 -1
  343. package/bundled/node_modules/@aspm/shared/dist/mcp/constants.js +0 -52
  344. package/bundled/node_modules/@aspm/shared/dist/mcp/constants.js.map +0 -1
  345. package/bundled/node_modules/@aspm/shared/dist/mcp/oauth-metadata.d.ts +0 -37
  346. package/bundled/node_modules/@aspm/shared/dist/mcp/oauth-metadata.d.ts.map +0 -1
  347. package/bundled/node_modules/@aspm/shared/dist/mcp/oauth-metadata.js +0 -54
  348. package/bundled/node_modules/@aspm/shared/dist/mcp/oauth-metadata.js.map +0 -1
  349. package/bundled/node_modules/@aspm/shared/dist/project-scanner-summary.d.ts +0 -24
  350. package/bundled/node_modules/@aspm/shared/dist/project-scanner-summary.d.ts.map +0 -1
  351. package/bundled/node_modules/@aspm/shared/dist/project-scanner-summary.js +0 -64
  352. package/bundled/node_modules/@aspm/shared/dist/project-scanner-summary.js.map +0 -1
  353. package/bundled/node_modules/@aspm/shared/dist/rbac/better-auth-org-roles.d.ts +0 -23
  354. package/bundled/node_modules/@aspm/shared/dist/rbac/better-auth-org-roles.d.ts.map +0 -1
  355. package/bundled/node_modules/@aspm/shared/dist/rbac/better-auth-org-roles.js +0 -53
  356. package/bundled/node_modules/@aspm/shared/dist/rbac/better-auth-org-roles.js.map +0 -1
  357. package/bundled/node_modules/@aspm/shared/dist/rbac/index.d.ts +0 -8
  358. package/bundled/node_modules/@aspm/shared/dist/rbac/index.d.ts.map +0 -1
  359. package/bundled/node_modules/@aspm/shared/dist/rbac/index.js +0 -24
  360. package/bundled/node_modules/@aspm/shared/dist/rbac/index.js.map +0 -1
  361. package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permission-descriptions.d.ts +0 -9
  362. package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permission-descriptions.d.ts.map +0 -1
  363. package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permission-descriptions.js +0 -91
  364. package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permission-descriptions.js.map +0 -1
  365. package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permissions.d.ts +0 -12
  366. package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permissions.d.ts.map +0 -1
  367. package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permissions.js +0 -86
  368. package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permissions.js.map +0 -1
  369. package/bundled/node_modules/@aspm/shared/dist/rbac/member-quota.d.ts +0 -8
  370. package/bundled/node_modules/@aspm/shared/dist/rbac/member-quota.d.ts.map +0 -1
  371. package/bundled/node_modules/@aspm/shared/dist/rbac/member-quota.js +0 -19
  372. package/bundled/node_modules/@aspm/shared/dist/rbac/member-quota.js.map +0 -1
  373. package/bundled/node_modules/@aspm/shared/dist/rbac/platform-staff.d.ts +0 -14
  374. package/bundled/node_modules/@aspm/shared/dist/rbac/platform-staff.d.ts.map +0 -1
  375. package/bundled/node_modules/@aspm/shared/dist/rbac/platform-staff.js +0 -56
  376. package/bundled/node_modules/@aspm/shared/dist/rbac/platform-staff.js.map +0 -1
  377. package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-org-permissions.d.ts +0 -10
  378. package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-org-permissions.d.ts.map +0 -1
  379. package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-org-permissions.js +0 -200
  380. package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-org-permissions.js.map +0 -1
  381. package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-platform-permissions.d.ts +0 -7
  382. package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-platform-permissions.d.ts.map +0 -1
  383. package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-platform-permissions.js +0 -23
  384. package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-platform-permissions.js.map +0 -1
  385. package/bundled/node_modules/@aspm/shared/dist/redaction.d.ts +0 -14
  386. package/bundled/node_modules/@aspm/shared/dist/redaction.d.ts.map +0 -1
  387. package/bundled/node_modules/@aspm/shared/dist/redaction.js +0 -251
  388. package/bundled/node_modules/@aspm/shared/dist/redaction.js.map +0 -1
  389. package/bundled/node_modules/@aspm/shared/dist/redaction.test.d.ts +0 -2
  390. package/bundled/node_modules/@aspm/shared/dist/redaction.test.d.ts.map +0 -1
  391. package/bundled/node_modules/@aspm/shared/dist/redaction.test.js +0 -626
  392. package/bundled/node_modules/@aspm/shared/dist/redaction.test.js.map +0 -1
  393. package/bundled/node_modules/@aspm/shared/dist/security/aspm-gate-rules.d.ts +0 -19
  394. package/bundled/node_modules/@aspm/shared/dist/security/aspm-gate-rules.d.ts.map +0 -1
  395. package/bundled/node_modules/@aspm/shared/dist/security/aspm-gate-rules.js +0 -61
  396. package/bundled/node_modules/@aspm/shared/dist/security/aspm-gate-rules.js.map +0 -1
  397. package/bundled/node_modules/@aspm/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.d.ts +0 -3
  398. package/bundled/node_modules/@aspm/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.d.ts.map +0 -1
  399. package/bundled/node_modules/@aspm/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.js +0 -54
  400. package/bundled/node_modules/@aspm/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.js.map +0 -1
  401. package/bundled/node_modules/@aspm/shared/dist/security/build-github-security-workflow-yaml.d.ts +0 -4
  402. package/bundled/node_modules/@aspm/shared/dist/security/build-github-security-workflow-yaml.d.ts.map +0 -1
  403. package/bundled/node_modules/@aspm/shared/dist/security/build-github-security-workflow-yaml.js +0 -72
  404. package/bundled/node_modules/@aspm/shared/dist/security/build-github-security-workflow-yaml.js.map +0 -1
  405. package/bundled/node_modules/@aspm/shared/dist/security/github-workflow-action-pins.d.ts +0 -27
  406. package/bundled/node_modules/@aspm/shared/dist/security/github-workflow-action-pins.d.ts.map +0 -1
  407. package/bundled/node_modules/@aspm/shared/dist/security/github-workflow-action-pins.js +0 -30
  408. package/bundled/node_modules/@aspm/shared/dist/security/github-workflow-action-pins.js.map +0 -1
  409. package/bundled/node_modules/@aspm/shared/dist/security/github-workflow-tool-jobs.d.ts +0 -7
  410. package/bundled/node_modules/@aspm/shared/dist/security/github-workflow-tool-jobs.d.ts.map +0 -1
  411. package/bundled/node_modules/@aspm/shared/dist/security/github-workflow-tool-jobs.js +0 -184
  412. package/bundled/node_modules/@aspm/shared/dist/security/github-workflow-tool-jobs.js.map +0 -1
  413. package/bundled/node_modules/@aspm/shared/dist/security/index.d.ts +0 -7
  414. package/bundled/node_modules/@aspm/shared/dist/security/index.d.ts.map +0 -1
  415. package/bundled/node_modules/@aspm/shared/dist/security/index.js +0 -23
  416. package/bundled/node_modules/@aspm/shared/dist/security/index.js.map +0 -1
  417. package/bundled/node_modules/@aspm/shared/dist/security/security-tool-catalog.d.ts +0 -5
  418. package/bundled/node_modules/@aspm/shared/dist/security/security-tool-catalog.d.ts.map +0 -1
  419. package/bundled/node_modules/@aspm/shared/dist/security/security-tool-catalog.js +0 -74
  420. package/bundled/node_modules/@aspm/shared/dist/security/security-tool-catalog.js.map +0 -1
  421. package/bundled/node_modules/@aspm/shared/dist/security/security-tool.types.d.ts +0 -43
  422. package/bundled/node_modules/@aspm/shared/dist/security/security-tool.types.d.ts.map +0 -1
  423. package/bundled/node_modules/@aspm/shared/dist/security/security-tool.types.js +0 -22
  424. package/bundled/node_modules/@aspm/shared/dist/security/security-tool.types.js.map +0 -1
  425. package/bundled/node_modules/@aspm/shared/dist/severity-map.d.ts +0 -8
  426. package/bundled/node_modules/@aspm/shared/dist/severity-map.d.ts.map +0 -1
  427. package/bundled/node_modules/@aspm/shared/dist/severity-map.js +0 -47
  428. package/bundled/node_modules/@aspm/shared/dist/severity-map.js.map +0 -1
  429. package/bundled/node_modules/@aspm/shared/dist/shared-project/constants.d.ts +0 -4
  430. package/bundled/node_modules/@aspm/shared/dist/shared-project/constants.d.ts.map +0 -1
  431. package/bundled/node_modules/@aspm/shared/dist/shared-project/constants.js +0 -10
  432. package/bundled/node_modules/@aspm/shared/dist/shared-project/constants.js.map +0 -1
  433. package/bundled/node_modules/@aspm/shared/dist/shared-project/index.d.ts +0 -4
  434. package/bundled/node_modules/@aspm/shared/dist/shared-project/index.d.ts.map +0 -1
  435. package/bundled/node_modules/@aspm/shared/dist/shared-project/index.js +0 -20
  436. package/bundled/node_modules/@aspm/shared/dist/shared-project/index.js.map +0 -1
  437. package/bundled/node_modules/@aspm/shared/dist/shared-project/redact-log-lines.d.ts +0 -2
  438. package/bundled/node_modules/@aspm/shared/dist/shared-project/redact-log-lines.d.ts.map +0 -1
  439. package/bundled/node_modules/@aspm/shared/dist/shared-project/redact-log-lines.js +0 -9
  440. package/bundled/node_modules/@aspm/shared/dist/shared-project/redact-log-lines.js.map +0 -1
  441. package/bundled/node_modules/@aspm/shared/dist/shared-project/share-prefix.d.ts +0 -3
  442. package/bundled/node_modules/@aspm/shared/dist/shared-project/share-prefix.d.ts.map +0 -1
  443. package/bundled/node_modules/@aspm/shared/dist/shared-project/share-prefix.js +0 -18
  444. package/bundled/node_modules/@aspm/shared/dist/shared-project/share-prefix.js.map +0 -1
  445. package/bundled/node_modules/@aspm/shared/dist/sonar-safe-string.d.ts +0 -26
  446. package/bundled/node_modules/@aspm/shared/dist/sonar-safe-string.d.ts.map +0 -1
  447. package/bundled/node_modules/@aspm/shared/dist/sonar-safe-string.js +0 -202
  448. package/bundled/node_modules/@aspm/shared/dist/sonar-safe-string.js.map +0 -1
  449. package/bundled/node_modules/@aspm/shared/dist/sort-findings.d.ts +0 -16
  450. package/bundled/node_modules/@aspm/shared/dist/sort-findings.d.ts.map +0 -1
  451. package/bundled/node_modules/@aspm/shared/dist/sort-findings.js +0 -67
  452. package/bundled/node_modules/@aspm/shared/dist/sort-findings.js.map +0 -1
  453. package/bundled/node_modules/@aspm/shared/dist/trusted-path.d.ts +0 -7
  454. package/bundled/node_modules/@aspm/shared/dist/trusted-path.d.ts.map +0 -1
  455. package/bundled/node_modules/@aspm/shared/dist/trusted-path.js +0 -30
  456. package/bundled/node_modules/@aspm/shared/dist/trusted-path.js.map +0 -1
  457. package/bundled/node_modules/@aspm/shared/package.json +0 -73
  458. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.d.ts +0 -20
  459. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.d.ts.map +0 -1
  460. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.js +0 -121
  461. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.js.map +0 -1
  462. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.d.ts +0 -15
  463. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.d.ts.map +0 -1
  464. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.js +0 -34
  465. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.js.map +0 -1
  466. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.d.ts +0 -12
  467. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.d.ts.map +0 -1
  468. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.js +0 -85
  469. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.js.map +0 -1
  470. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.d.ts +0 -4
  471. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.d.ts.map +0 -1
  472. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.js +0 -89
  473. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.js.map +0 -1
  474. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.d.ts +0 -2
  475. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.d.ts.map +0 -1
  476. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.js +0 -11
  477. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.js.map +0 -1
  478. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.d.ts +0 -24
  479. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.d.ts.map +0 -1
  480. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.js +0 -9
  481. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.js.map +0 -1
  482. package/bundled/node_modules/@kubbisec/chat-memory/package.json +0 -32
  483. package/bundled/node_modules/@kubbisec/home/dist/api-url.d.ts +0 -8
  484. package/bundled/node_modules/@kubbisec/home/dist/api-url.d.ts.map +0 -1
  485. package/bundled/node_modules/@kubbisec/home/dist/api-url.js +0 -25
  486. package/bundled/node_modules/@kubbisec/home/dist/api-url.js.map +0 -1
  487. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.d.ts +0 -17
  488. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.d.ts.map +0 -1
  489. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.js +0 -35
  490. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.js.map +0 -1
  491. package/bundled/node_modules/@kubbisec/home/dist/index.d.ts +0 -5
  492. package/bundled/node_modules/@kubbisec/home/dist/index.d.ts.map +0 -1
  493. package/bundled/node_modules/@kubbisec/home/dist/index.js +0 -5
  494. package/bundled/node_modules/@kubbisec/home/dist/index.js.map +0 -1
  495. package/bundled/node_modules/@kubbisec/home/dist/migrate.d.ts +0 -10
  496. package/bundled/node_modules/@kubbisec/home/dist/migrate.d.ts.map +0 -1
  497. package/bundled/node_modules/@kubbisec/home/dist/migrate.js +0 -107
  498. package/bundled/node_modules/@kubbisec/home/dist/migrate.js.map +0 -1
  499. package/bundled/node_modules/@kubbisec/home/dist/paths.d.ts +0 -22
  500. package/bundled/node_modules/@kubbisec/home/dist/paths.d.ts.map +0 -1
  501. package/bundled/node_modules/@kubbisec/home/dist/paths.js +0 -69
  502. package/bundled/node_modules/@kubbisec/home/dist/paths.js.map +0 -1
  503. package/bundled/node_modules/@kubbisec/home/package.json +0 -26
  504. package/bundled/reflect-system.md +0 -31
  505. package/bundled/resolve-bundled-dist-root.js +0 -157
  506. package/bundled/resolve-bundled-dist-root.js.map +0 -1
  507. package/bundled/skills/aspm-platform/SKILL.md +0 -95
  508. package/bundled/skills/at-path-mentions.d.ts +0 -7
  509. package/bundled/skills/at-path-mentions.d.ts.map +0 -1
  510. package/bundled/skills/at-path-mentions.js +0 -177
  511. package/bundled/skills/at-path-mentions.js.map +0 -1
  512. package/bundled/skills/at-path-mentions.test.ts +0 -64
  513. package/bundled/skills/at-path-mentions.ts +0 -209
  514. package/bundled/skills/chat-mention-render.d.ts +0 -7
  515. package/bundled/skills/chat-mention-render.d.ts.map +0 -1
  516. package/bundled/skills/chat-mention-render.js +0 -155
  517. package/bundled/skills/chat-mention-render.js.map +0 -1
  518. package/bundled/skills/chat-mention-render.test.ts +0 -70
  519. package/bundled/skills/chat-mention-render.ts +0 -192
  520. package/bundled/skills/chat-mentions.d.ts +0 -37
  521. package/bundled/skills/chat-mentions.d.ts.map +0 -1
  522. package/bundled/skills/chat-mentions.js +0 -108
  523. package/bundled/skills/chat-mentions.js.map +0 -1
  524. package/bundled/skills/chat-mentions.test.ts +0 -39
  525. package/bundled/skills/chat-mentions.ts +0 -133
  526. package/bundled/skills/github-local/SKILL.md +0 -16
  527. package/bundled/skills/kubbisec-resource-router/SKILL.md +0 -3
  528. package/bundled/skills/list-bundled-skills.d.ts +0 -7
  529. package/bundled/skills/list-bundled-skills.d.ts.map +0 -1
  530. package/bundled/skills/list-bundled-skills.js +0 -42
  531. package/bundled/skills/list-bundled-skills.js.map +0 -1
  532. package/bundled/skills/list-bundled-skills.ts +0 -49
  533. package/bundled/skills/naus-pipelines/SKILL.md +0 -127
  534. package/bundled/skills/remediation/SKILL.md +0 -12
  535. package/bundled/skills/scanner-gitleaks/SKILL.md +0 -10
  536. package/bundled/skills/scanner-nmap/SKILL.md +0 -10
  537. package/bundled/skills/scanner-osv/SKILL.md +0 -10
  538. package/bundled/skills/scanner-semgrep/SKILL.md +0 -10
  539. package/bundled/skills/scanner-skipfish/SKILL.md +0 -10
  540. package/bundled/skills/scanner-sonar/SKILL.md +0 -10
  541. package/bundled/skills/scanner-syft/SKILL.md +0 -10
  542. package/bundled/skills/scanner-trivy/SKILL.md +0 -10
  543. package/bundled/skills/sec-brainstorm/SKILL.md +0 -74
  544. package/bundled/skills/sec-clarify/SKILL.md +0 -53
  545. package/bundled/skills/sec-debug/SKILL.md +0 -94
  546. package/bundled/skills/sec-plan/SKILL.md +0 -101
  547. package/bundled/skills/sec-review/SKILL.md +0 -110
  548. package/bundled/skills/sec-review/code-reviewer-sec.md +0 -176
  549. package/bundled/skills/sec-using-skills/SKILL.md +0 -81
  550. package/bundled/skills/sec-verify/SKILL.md +0 -77
  551. package/bundled/skills/skill-mention.d.ts +0 -11
  552. package/bundled/skills/skill-mention.d.ts.map +0 -1
  553. package/bundled/skills/skill-mention.js +0 -11
  554. package/bundled/skills/skill-mention.js.map +0 -1
  555. package/bundled/skills/skill-mention.test.ts +0 -46
  556. package/bundled/skills/skill-mention.ts +0 -10
  557. package/bundled/theme/clear-terminal.d.ts +0 -3
  558. package/bundled/theme/clear-terminal.d.ts.map +0 -1
  559. package/bundled/theme/clear-terminal.js +0 -6
  560. package/bundled/theme/clear-terminal.js.map +0 -1
  561. package/bundled/theme/footer-render-hook.d.ts +0 -3
  562. package/bundled/theme/footer-render-hook.d.ts.map +0 -1
  563. package/bundled/theme/footer-render-hook.js +0 -8
  564. package/bundled/theme/footer-render-hook.js.map +0 -1
  565. package/bundled/theme/kubbisec-brand-fg.d.ts +0 -4
  566. package/bundled/theme/kubbisec-brand-fg.d.ts.map +0 -1
  567. package/bundled/theme/kubbisec-brand-fg.js +0 -7
  568. package/bundled/theme/kubbisec-brand-fg.js.map +0 -1
  569. package/bundled/theme/kubbisec-menu-themes.d.ts +0 -16
  570. package/bundled/theme/kubbisec-menu-themes.d.ts.map +0 -1
  571. package/bundled/theme/kubbisec-menu-themes.js +0 -46
  572. package/bundled/theme/kubbisec-menu-themes.js.map +0 -1
  573. package/bundled/theme/kubbisec-theme-name.d.ts +0 -2
  574. package/bundled/theme/kubbisec-theme-name.d.ts.map +0 -1
  575. package/bundled/theme/kubbisec-theme-name.js +0 -2
  576. package/bundled/theme/kubbisec-theme-name.js.map +0 -1
  577. package/bundled/theme/kubbisec.json +0 -93
  578. package/bundled/theme/patch-pi-settings-theme.runtime.d.ts +0 -3
  579. package/bundled/theme/patch-pi-settings-theme.runtime.d.ts.map +0 -1
  580. package/bundled/theme/patch-pi-settings-theme.runtime.js +0 -17
  581. package/bundled/theme/patch-pi-settings-theme.runtime.js.map +0 -1
  582. package/bundled/theme/render-compact-header.d.ts +0 -29
  583. package/bundled/theme/render-compact-header.d.ts.map +0 -1
  584. package/bundled/theme/render-compact-header.js +0 -195
  585. package/bundled/theme/render-compact-header.js.map +0 -1
  586. package/bundled/workflow/session-workflow-mode.d.ts +0 -10
  587. package/bundled/workflow/session-workflow-mode.d.ts.map +0 -1
  588. package/bundled/workflow/session-workflow-mode.js +0 -51
  589. package/bundled/workflow/session-workflow-mode.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-mentions.d.ts","sourceRoot":"","sources":["../../src/skills/chat-mentions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAEnE,eAAO,MAAM,mBAAmB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ION_TOKEN = "@skill";
3
- export const PLAN_MENTION_ALIASES = ["@plan", "@planejar"];
4
- const PLAN_MENTION_TOKENS_LONGEST_FIRST = [...PLAN_MENTION_ALIASES].sort(
5
- (a, b) => b.length - a.length,
6
- );
7
- const PATH_DELIMITERS = new Set([" ", "\t", '"', "'", "="]);
8
- function findLastDelimiter(text) {
9
- for (let i = text.length - 1; i >= 0; i -= 1) {
10
- if (PATH_DELIMITERS.has(text[i] ?? "")) {
11
- return i;
12
- }
13
- }
14
- return -1;
15
- }
16
- /** Same token rules as Pi CombinedAutocompleteProvider.extractAtPrefix. */
17
- export function extractAtPrefix(textBeforeCursor) {
18
- const lastDelimiterIndex = findLastDelimiter(textBeforeCursor);
19
- const tokenStart = lastDelimiterIndex === -1 ? 0 : lastDelimiterIndex + 1;
20
- if (textBeforeCursor[tokenStart] === "@") {
21
- return textBeforeCursor.slice(tokenStart);
22
- }
23
- return null;
24
- }
25
- /** KubbiSec: `@skill` may include a space and partial name (not only the last @ token). */
26
- export function extractSkillMentionPrefix(textBeforeCursor) {
27
- const idx = textBeforeCursor.lastIndexOf(SKILL_MENTION_TOKEN);
28
- if (idx === -1) return null;
29
- if (idx > 0 && !PATH_DELIMITERS.has(textBeforeCursor[idx - 1] ?? "")) {
30
- return null;
31
- }
32
- const slice = textBeforeCursor.slice(idx);
33
- if (!parseSkillMentionPrefix(slice)) return null;
34
- return slice;
35
- }
36
- export function parseSkillMentionPrefix(atPrefix) {
37
- if (!atPrefix?.startsWith(SKILL_MENTION_TOKEN)) return null;
38
- const tail = atPrefix.slice(SKILL_MENTION_TOKEN.length);
39
- if (tail.length > 0 && !tail.startsWith(" ")) return null;
40
- return { query: tail.startsWith(" ") ? tail.trimStart() : "" };
41
- }
42
- export function parsePlanMentionPrefix(atPrefix) {
43
- if (!atPrefix) return null;
44
- for (const token of PLAN_MENTION_TOKENS_LONGEST_FIRST) {
45
- if (!atPrefix.startsWith(token)) continue;
46
- const tail = atPrefix.slice(token.length);
47
- if (tail.length > 0 && !tail.startsWith(" ")) continue;
48
- return { query: tail.startsWith(" ") ? tail.trimStart() : "" };
49
- }
50
- return null;
51
- }
52
- export function filterSkillSuggestions(skills, query) {
53
- const items = skills.map((skill) => ({
54
- value: skill.name,
55
- label: skill.name,
56
- description: skill.description,
57
- }));
58
- if (!query) return items;
59
- return fuzzyFilter(items, query, (item) => `${item.label} ${item.description ?? ""}`).map(
60
- (item) => ({
61
- value: item.value,
62
- label: item.label,
63
- description: item.description,
64
- }),
65
- );
66
- }
67
- /** Pi expands `/skill:name` — map `@skill name` before submit. */
68
- export function transformAtSkillMentions(text) {
69
- return text.replace(/@skill\s+([^\s@/]+)/g, "/skill:$1");
70
- }
71
- /** Legacy: map `@plan` / `@planejar` to `/mode:plan` (prefer session state + visible @plan). */
72
- export function transformAtPlanMentions(text) {
73
- const tokenPattern = PLAN_MENTION_TOKENS_LONGEST_FIRST.map((t) =>
74
- t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"),
75
- ).join("|");
76
- const pattern = new RegExp(`(^|[\\s"'=])(${tokenPattern})(\\s[\\s\\S]*)?`, "g");
77
- return text.replace(pattern, (_match, delim, _token, tail) => {
78
- const query = tail ? tail.trimStart() : "";
79
- return `${delim}/mode:plan${query ? ` ${query}` : ""}`;
80
- });
81
- }
82
- /** Apply @skill → /skill:name only. @plan stays visible; plan mode is set via session state. */
83
- export function transformChatMentions(text) {
84
- return transformAtSkillMentions(text);
85
- }
86
- export function messageActivatesPlanMode(text) {
87
- const trimmed = text.trim();
88
- return (
89
- trimmed.startsWith("/mode:plan") || /^@plan\b/i.test(trimmed) || /^@planejar\b/i.test(trimmed)
90
- );
91
- }
92
- export function applySkillMentionCompletion(lines, cursorLine, cursorCol, item, prefix) {
93
- const currentLine = lines[cursorLine] ?? "";
94
- const beforePrefix = currentLine.slice(0, cursorCol - prefix.length);
95
- const afterCursor = currentLine.slice(cursorCol);
96
- const atIndex = beforePrefix.lastIndexOf(SKILL_MENTION_TOKEN);
97
- const head = atIndex >= 0 ? beforePrefix.slice(0, atIndex) : beforePrefix;
98
- const insertion = `${SKILL_MENTION_TOKEN} ${item.value} `;
99
- const newLine = `${head}${insertion}${afterCursor}`;
100
- const newLines = [...lines];
101
- newLines[cursorLine] = newLine;
102
- return {
103
- lines: newLines,
104
- cursorLine,
105
- cursorCol: head.length + insertion.length,
106
- };
107
- }
108
- //# sourceMappingURL=chat-mentions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-mentions.js","sourceRoot":"","sources":["../../src/skills/chat-mentions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAGrD,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC;AAE5C,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,OAAO,EAAE,WAAW,CAAU,CAAC;AAEpE,MAAM,iCAAiC,GAAG,CAAC,GAAG,oBAAoB,CAAC,CAAC,IAAI,CACtE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,MAAM,CAC9B,CAAC;AAEF,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;AAE5D,SAAS,iBAAiB,CAAC,IAAY;IACrC,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;QAC7C,IAAI,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC;YACvC,OAAO,CAAC,CAAC;QACX,CAAC;IACH,CAAC;IACD,OAAO,CAAC,CAAC,CAAC;AACZ,CAAC;AAED,2EAA2E;AAC3E,MAAM,UAAU,eAAe,CAAC,gBAAwB;IACtD,MAAM,kBAAkB,GAAG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IAAI,CAAC,OAAO,CAAC,CAC/F,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,2BAA2B,CACzC,KAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,IAAsB,EACtB,MAAc;IAEd,MAAM,WAAW,GAAG,KAAK,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;IAC5C,MAAM,YAAY,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;IACrE,MAAM,WAAW,GAAG,WAAW,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IACjD,MAAM,OAAO,GAAG,YAAY,CAAC,WAAW,CAAC,mBAAmB,CAAC,CAAC;IAC9D,MAAM,IAAI,GAAG,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC;IAC1E,MAAM,SAAS,GAAG,GAAG,mBAAmB,IAAI,IAAI,CAAC,KAAK,GAAG,CAAC;IAC1D,MAAM,OAAO,GAAG,GAAG,IAAI,GAAG,SAAS,GAAG,WAAW,EAAE,CAAC;IACpD,MAAM,QAAQ,GAAG,CAAC,GAAG,KAAK,CAAC,CAAC;IAC5B,QAAQ,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC;IAC/B,OAAO;QACL,KAAK,EAAE,QAAQ;QACf,UAAU;QACV,SAAS,EAAE,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC,MAAM;KAC1C,CAAC;AACJ,CAAC"}
@@ -1,39 +0,0 @@
1
- import { describe, expect, it } from "vitest";
2
- import {
3
- messageActivatesPlanMode,
4
- PLAN_MENTION_ALIASES,
5
- parsePlanMentionPrefix,
6
- transformAtPlanMentions,
7
- transformChatMentions,
8
- } from "./chat-mentions.js";
9
-
10
- describe("chat-mentions", () => {
11
- it("exports plan mention aliases", () => {
12
- expect(PLAN_MENTION_ALIASES).toEqual(["@plan", "@planejar"]);
13
- });
14
-
15
- it("parses @plan and @planejar prefixes", () => {
16
- expect(parsePlanMentionPrefix("@plan")).toEqual({ query: "" });
17
- expect(parsePlanMentionPrefix("@plan fix HIGH")).toEqual({ query: "fix HIGH" });
18
- expect(parsePlanMentionPrefix("@planejar scope")).toEqual({ query: "scope" });
19
- expect(parsePlanMentionPrefix("@planful")).toBeNull();
20
- });
21
-
22
- it("transformAtPlanMentions still maps legacy @plan to /mode:plan", () => {
23
- expect(transformAtPlanMentions("@plan fix HIGH SCA")).toBe("/mode:plan fix HIGH SCA");
24
- expect(transformAtPlanMentions("@planejar foo")).toBe("/mode:plan foo");
25
- expect(transformAtPlanMentions("x@plan fix")).toBe("x@plan fix");
26
- });
27
-
28
- it("transformChatMentions keeps @plan visible (plan mode via session state)", () => {
29
- expect(transformChatMentions("@plan fix HIGH SCA")).toBe("@plan fix HIGH SCA");
30
- expect(transformChatMentions("@planejar x")).toBe("@planejar x");
31
- expect(transformChatMentions("@skill naus @plan fix")).toBe("/skill:naus @plan fix");
32
- });
33
-
34
- it("messageActivatesPlanMode detects plan prefixes", () => {
35
- expect(messageActivatesPlanMode("@plan scope")).toBe(true);
36
- expect(messageActivatesPlanMode("/mode:plan scope")).toBe(true);
37
- expect(messageActivatesPlanMode("hello")).toBe(false);
38
- });
39
- });
@@ -1,133 +0,0 @@
1
- import type { AutocompleteItem } from "@earendil-works/pi-tui";
2
- import { fuzzyFilter } from "@earendil-works/pi-tui";
3
- import type { KubbisecSkillEntry } from "./list-bundled-skills.js";
4
-
5
- export const SKILL_MENTION_TOKEN = "@skill";
6
-
7
- export const PLAN_MENTION_ALIASES = ["@plan", "@planejar"] as const;
8
-
9
- const PLAN_MENTION_TOKENS_LONGEST_FIRST = [...PLAN_MENTION_ALIASES].sort(
10
- (a, b) => b.length - a.length,
11
- );
12
-
13
- const PATH_DELIMITERS = new Set([" ", "\t", '"', "'", "="]);
14
-
15
- function findLastDelimiter(text: string): number {
16
- for (let i = text.length - 1; i >= 0; i -= 1) {
17
- if (PATH_DELIMITERS.has(text[i] ?? "")) {
18
- return i;
19
- }
20
- }
21
- return -1;
22
- }
23
-
24
- /** Same token rules as Pi CombinedAutocompleteProvider.extractAtPrefix. */
25
- export function extractAtPrefix(textBeforeCursor: string): string | null {
26
- const lastDelimiterIndex = findLastDelimiter(textBeforeCursor);
27
- const tokenStart = lastDelimiterIndex === -1 ? 0 : lastDelimiterIndex + 1;
28
- if (textBeforeCursor[tokenStart] === "@") {
29
- return textBeforeCursor.slice(tokenStart);
30
- }
31
- return null;
32
- }
33
-
34
- /** KubbiSec: `@skill` may include a space and partial name (not only the last @ token). */
35
- export function extractSkillMentionPrefix(textBeforeCursor: string): string | null {
36
- const idx = textBeforeCursor.lastIndexOf(SKILL_MENTION_TOKEN);
37
- if (idx === -1) return null;
38
- if (idx > 0 && !PATH_DELIMITERS.has(textBeforeCursor[idx - 1] ?? "")) {
39
- return null;
40
- }
41
- const slice = textBeforeCursor.slice(idx);
42
- if (!parseSkillMentionPrefix(slice)) return null;
43
- return slice;
44
- }
45
-
46
- export function parseSkillMentionPrefix(atPrefix: string | null): { query: string } | null {
47
- if (!atPrefix?.startsWith(SKILL_MENTION_TOKEN)) return null;
48
- const tail = atPrefix.slice(SKILL_MENTION_TOKEN.length);
49
- if (tail.length > 0 && !tail.startsWith(" ")) return null;
50
- return { query: tail.startsWith(" ") ? tail.trimStart() : "" };
51
- }
52
-
53
- export function parsePlanMentionPrefix(atPrefix: string | null): { query: string } | null {
54
- if (!atPrefix) return null;
55
- for (const token of PLAN_MENTION_TOKENS_LONGEST_FIRST) {
56
- if (!atPrefix.startsWith(token)) continue;
57
- const tail = atPrefix.slice(token.length);
58
- if (tail.length > 0 && !tail.startsWith(" ")) continue;
59
- return { query: tail.startsWith(" ") ? tail.trimStart() : "" };
60
- }
61
- return null;
62
- }
63
-
64
- export function filterSkillSuggestions(
65
- skills: KubbisecSkillEntry[],
66
- query: string,
67
- ): AutocompleteItem[] {
68
- const items = skills.map((skill) => ({
69
- value: skill.name,
70
- label: skill.name,
71
- description: skill.description,
72
- }));
73
- if (!query) return items;
74
- return fuzzyFilter(items, query, (item) => `${item.label} ${item.description ?? ""}`).map(
75
- (item) => ({
76
- value: item.value,
77
- label: item.label,
78
- description: item.description,
79
- }),
80
- );
81
- }
82
-
83
- /** Pi expands `/skill:name` — map `@skill name` before submit. */
84
- export function transformAtSkillMentions(text: string): string {
85
- return text.replace(/@skill\s+([^\s@/]+)/g, "/skill:$1");
86
- }
87
-
88
- /** Legacy: map `@plan` / `@planejar` to `/mode:plan` (prefer session state + visible @plan). */
89
- export function transformAtPlanMentions(text: string): string {
90
- const tokenPattern = PLAN_MENTION_TOKENS_LONGEST_FIRST.map((t) =>
91
- t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"),
92
- ).join("|");
93
- const pattern = new RegExp(`(^|[\\s"'=])(${tokenPattern})(\\s[\\s\\S]*)?`, "g");
94
- return text.replace(pattern, (_match, delim: string, _token: string, tail?: string) => {
95
- const query = tail ? tail.trimStart() : "";
96
- return `${delim}/mode:plan${query ? ` ${query}` : ""}`;
97
- });
98
- }
99
-
100
- /** Apply @skill → /skill:name only. @plan stays visible; plan mode is set via session state. */
101
- export function transformChatMentions(text: string): string {
102
- return transformAtSkillMentions(text);
103
- }
104
-
105
- export function messageActivatesPlanMode(text: string): boolean {
106
- const trimmed = text.trim();
107
- return (
108
- trimmed.startsWith("/mode:plan") || /^@plan\b/i.test(trimmed) || /^@planejar\b/i.test(trimmed)
109
- );
110
- }
111
-
112
- export function applySkillMentionCompletion(
113
- lines: string[],
114
- cursorLine: number,
115
- cursorCol: number,
116
- item: AutocompleteItem,
117
- prefix: string,
118
- ): { lines: string[]; cursorLine: number; cursorCol: number } {
119
- const currentLine = lines[cursorLine] ?? "";
120
- const beforePrefix = currentLine.slice(0, cursorCol - prefix.length);
121
- const afterCursor = currentLine.slice(cursorCol);
122
- const atIndex = beforePrefix.lastIndexOf(SKILL_MENTION_TOKEN);
123
- const head = atIndex >= 0 ? beforePrefix.slice(0, atIndex) : beforePrefix;
124
- const insertion = `${SKILL_MENTION_TOKEN} ${item.value} `;
125
- const newLine = `${head}${insertion}${afterCursor}`;
126
- const newLines = [...lines];
127
- newLines[cursorLine] = newLine;
128
- return {
129
- lines: newLines,
130
- cursorLine,
131
- cursorCol: head.length + insertion.length,
132
- };
133
- }
@@ -1,16 +0,0 @@
1
- ---
2
- name: github-local
3
- description: Local gh/git, naus, and aspm on the machine running kbs chat with host-first auth support.
4
- ---
5
-
6
- GitHub local tools are available in chat without `--extended-context`.
7
-
8
- ## Tools
9
-
10
- - **GitHub:** `github_local_status`, `github_local_repo_summary`, `github_local_clone`, `github_local_fetch`, `github_local_commit`, `github_local_push`, `github_local_pr_create`
11
- - Uses host `gh`/`git` auth first; local push/PR/clone retry once with the platform/env token when native auth is rejected.
12
- - Always available in chat (no `--extended-context` required).
13
- - **NAUS:** `naus_local_status`, `naus_local_validate`, `naus_local_plan`, `naus_local_run`
14
- - **ASPM:** `aspm_local_status`, `aspm_local_doctor`, `aspm_local_scan`, `aspm_local_upload`
15
-
16
- Cloud equivalents remain on the API (e.g. `trigger_run`, `naus_validate_yaml`, platform upload via CI).
@@ -1,3 +0,0 @@
1
- # kubbisec-resource-router
2
-
3
- This skill routes incoming tasks to appropriate resources and modes.
@@ -1,7 +0,0 @@
1
- export type KubbisecSkillEntry = {
2
- name: string;
3
- description: string;
4
- };
5
- /** Skills shipped under dist/skills (same dirs passed as Pi --skill). */
6
- export declare function listBundledKubbisecSkills(): KubbisecSkillEntry[];
7
- //# sourceMappingURL=list-bundled-skills.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"list-bundled-skills.d.ts","sourceRoot":"","sources":["../../src/skills/list-bundled-skills.ts"],"names":[],"mappings":"AAOA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAoBF,yEAAyE;AACzE,wBAAgB,yBAAyB,IAAI,kBAAkB,EAAE,CAiBhE"}
@@ -1,42 +0,0 @@
1
- import * as fs from "node:fs";
2
- import * as path from "node:path";
3
- import {
4
- resolveBundledDistRoot,
5
- resolveSnapshotBundledDistDir,
6
- } from "../resolve-bundled-dist-root.js";
7
-
8
- function parseSkillFrontmatter(raw) {
9
- const match = raw.match(/^---\r?\n([\s\S]*?)\r?\n---/);
10
- if (!match) return {};
11
- const block = match[1];
12
- const name = block.match(/^name:\s*(.+)$/m)?.[1]?.trim();
13
- const description = block.match(/^description:\s*(.+)$/m)?.[1]?.trim();
14
- return { name, description };
15
- }
16
- function resolveSkillsDir() {
17
- const distDir = path.join(resolveBundledDistRoot(), "skills");
18
- if (fs.existsSync(distDir)) return distDir;
19
- const entryDir = path.dirname(resolveSnapshotBundledDistDir());
20
- const srcDir = path.join(entryDir, "src/skills");
21
- if (fs.existsSync(srcDir)) return srcDir;
22
- return null;
23
- }
24
- /** Skills shipped under dist/skills (same dirs passed as Pi --skill). */
25
- export function listBundledKubbisecSkills() {
26
- const skillsDir = resolveSkillsDir();
27
- if (!skillsDir) return [];
28
- const entries = [];
29
- for (const dir of fs.readdirSync(skillsDir, { withFileTypes: true })) {
30
- if (!dir.isDirectory()) continue;
31
- const skillMd = path.join(skillsDir, dir.name, "SKILL.md");
32
- if (!fs.existsSync(skillMd)) continue;
33
- const raw = fs.readFileSync(skillMd, "utf8");
34
- const meta = parseSkillFrontmatter(raw);
35
- entries.push({
36
- name: meta.name?.trim() || dir.name,
37
- description: meta.description?.trim() || dir.name,
38
- });
39
- }
40
- return entries.sort((a, b) => a.name.localeCompare(b.name));
41
- }
42
- //# sourceMappingURL=list-bundled-skills.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"list-bundled-skills.js","sourceRoot":"","sources":["../../src/skills/list-bundled-skills.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CA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S,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;QACrE,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE;YAAE,SAAS;QACjC,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,GAAG,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC3D,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC;YAAE,SAAS;QACtC,MAAM,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;QAC7C,MAAM,IAAI,GAAG,qBAAqB,CAAC,GAAG,CAAC,CAAC;QACxC,OAAO,CAAC,IAAI,CAAC;YACX,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,GAAG,CAAC,IAAI;YACnC,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,GAAG,CAAC,IAAI;SAClD,CAAC,CAAC;IACL,CAAC;IACD,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9D,CAAC"}
@@ -1,49 +0,0 @@
1
- import * as fs from "node:fs";
2
- import * as path from "node:path";
3
- import {
4
- resolveBundledDistRoot,
5
- resolveSnapshotBundledDistDir,
6
- } from "../resolve-bundled-dist-root.js";
7
-
8
- export type KubbisecSkillEntry = {
9
- name: string;
10
- description: string;
11
- };
12
-
13
- function parseSkillFrontmatter(raw: string): { name?: string; description?: string } {
14
- const match = raw.match(/^---\r?\n([\s\S]*?)\r?\n---/);
15
- if (!match) return {};
16
- const block = match[1];
17
- const name = block.match(/^name:\s*(.+)$/m)?.[1]?.trim();
18
- const description = block.match(/^description:\s*(.+)$/m)?.[1]?.trim();
19
- return { name, description };
20
- }
21
-
22
- function resolveSkillsDir(): string | null {
23
- const distDir = path.join(resolveBundledDistRoot(), "skills");
24
- if (fs.existsSync(distDir)) return distDir;
25
- const entryDir = path.dirname(resolveSnapshotBundledDistDir());
26
- const srcDir = path.join(entryDir, "src/skills");
27
- if (fs.existsSync(srcDir)) return srcDir;
28
- return null;
29
- }
30
-
31
- /** Skills shipped under dist/skills (same dirs passed as Pi --skill). */
32
- export function listBundledKubbisecSkills(): KubbisecSkillEntry[] {
33
- const skillsDir = resolveSkillsDir();
34
- if (!skillsDir) return [];
35
-
36
- const entries: KubbisecSkillEntry[] = [];
37
- for (const dir of fs.readdirSync(skillsDir, { withFileTypes: true })) {
38
- if (!dir.isDirectory()) continue;
39
- const skillMd = path.join(skillsDir, dir.name, "SKILL.md");
40
- if (!fs.existsSync(skillMd)) continue;
41
- const raw = fs.readFileSync(skillMd, "utf8");
42
- const meta = parseSkillFrontmatter(raw);
43
- entries.push({
44
- name: meta.name?.trim() || dir.name,
45
- description: meta.description?.trim() || dir.name,
46
- });
47
- }
48
- return entries.sort((a, b) => a.name.localeCompare(b.name));
49
- }
@@ -1,127 +0,0 @@
1
- ---
2
- name: naus-pipelines
3
- description: NAUS CI/CD — YAML, validação @naus/validation, runners e jobs ASPM no KubbiSec.
4
- ---
5
-
6
- ## Estrutura YAML (obrigatório — não é GitHub Actions)
7
-
8
- | Correto (NAUS) | Errado (não usar) |
9
- |----------------|-------------------|
10
- | `run:` (top-level) | `jobs:` |
11
- | `script:` (array de strings) | `commands:`, `steps:` |
12
- | `depends_on:` | `needs:` |
13
- | `variables:` | `env:` no root |
14
- | `kind: aspm` + `tool: trivy` | `scanner: trivy` + script manual `trivy fs` |
15
- | `$VAR` / Env Pack | `${{ secrets.* }}`, `${{ vars.* }}` |
16
-
17
- Top-level: `name`, `description`, `local`, `stages`, `variables`, `volumes`, `repository`, `only`, `run` (obrigatório).
18
-
19
- **HARD-GATE:** antes de mostrar YAML final → `naus_pipeline_docs` + `naus_validate_yaml` (ou `naus_local_validate` no workspace).
20
-
21
- ## NAUS CLI (`npm install -g @kubbisec/naus`)
22
-
23
- Ficheiro por omissão: `.naus.yml`. **Docs:** `naus_pipeline_docs` secção `naus-commands`.
24
-
25
- | Comando | Descrição |
26
- |---------|-----------|
27
- | `naus register [token] [--renew]` | Registar runner (bootstrap mTLS) |
28
- | `naus start` | Iniciar runner e aceitar jobs |
29
- | `naus migrate` | Migrar runner token legado → certificado |
30
- | `naus validate <file>` / `naus check <file>` | Validar YAML |
31
- | `naus plan <file> [--format mermaid]` | Ondas de dependências |
32
- | `naus run <file>` | Executar pipeline localmente |
33
- | `naus daemon list` / `naus daemon stop` | Sessões background |
34
- | `naus runner start` | Modo legado (token, sem mTLS) |
35
- | `naus tools install` | Ferramentas auxiliares |
36
-
37
- **Variáveis:** `NAUS_BOOTSTRAP_TOKEN`, `NAUS_RENEW_RUNNER=1` (equivale `--renew`).
38
-
39
- **Chat:** não invocar `register`, `start`, `daemon` — processos persistentes; documentar apenas.
40
-
41
- ## Exemplo canónico (container + ASPM matrix + gate)
42
-
43
- ```yaml
44
- name: exemplo-simples
45
- stages: [build, security]
46
-
47
- run:
48
- - build:
49
- stage: build
50
- image: node:20-alpine
51
- script:
52
- - npm ci
53
- - npm run build --if-present
54
-
55
- - kubbisec_scan:
56
- stage: security
57
- kind: kubbisec_scan
58
- profile: full
59
- depends_on: [build]
60
-
61
- - kubbisec_gate:
62
- kind: aspm_gate
63
- depends_on: [kubbisec_scan]
64
- rules:
65
- vulnerabilities:
66
- max_by_severity:
67
- CRITICAL: 0
68
- ```
69
-
70
- Jobs `kind: aspm` e `kind: kubbisec_scan` **não** precisam de `script:` — o NAUS expande para a CLI correspondente.
71
-
72
- ### Hybrid Scan (`kind: kubbisec_scan`)
73
- Executa uma varredura híbrida (scanners tradicionais + passes semânticos de IA) e faz o upload automático para o ASPM. É o sucessor moderno do `kind: aspm_matrix` para segurança geral do repositório.
74
-
75
- ## Kinds de job
76
-
77
- | Kind | Campos principais |
78
- |------|-------------------|
79
- | `container` (default) | `image:`, `script:`, `depends_on:` |
80
- | `kubbisec_scan` | `profile:` full \| quick \| ai-only \| scanners-only |
81
- | `aspm` | `tool:`, `mode:` scan \| upload \| scan-and-upload |
82
- | `aspm_matrix` | `parallel: [{ tool: ... }]`, `matrix_strategy:` chain \| fanout |
83
- | `aspm_gate` | `rules:` (vulnerabilities, coverage, risk_score) |
84
- | `aspm_preset` | `preset: kubbisec/default-security` |
85
- | `docker` | `registry:`, `tags:`; opcional `aspm.tool` + `aspm.gate` |
86
-
87
- ## Fluxo na plataforma (cloud)
88
-
89
- 1. `naus_pipeline_docs` — secções web (`naus-commands`, `naus-pipeline-overview`, `naus-aspm-integration`, …).
90
- 2. `naus_schema_overview` — cheat sheet de campos.
91
- 3. `naus_validate_yaml` — **sempre** validar antes de persistir.
92
- 4. `set_editor_yaml` (preview) → `set_pipeline_yaml` (bound) → `trigger_run` → `get_run_logs_excerpt`.
93
-
94
- ## Secrets e variáveis
95
-
96
- | Contexto | Onde definir valores sensíveis |
97
- |----------|-------------------------------|
98
- | **`naus run` / `naus plan` local** | Por omissão: **`.secrets`** e **`.env`** no cwd. Ou caminhos explícitos: `naus run .naus.yml --env-file .env --secret-file .secrets` (qualquer nome, ex. `.secret`). Flags repetíveis. |
99
- | **Runner na cloud (KubbiSec)** | **Env Packs** no painel (CI/CD → Env Packs) associados ao pipeline — não usar `.secrets` no runner remoto. |
100
-
101
- No YAML, referencie apenas `$VAR` — nunca o valor em claro. Chaves em `.secrets` são ofuscadas nos logs locais. **Não commitar** `.secrets`.
102
-
103
- **Anti-padrões (secrets):**
104
- - Local `naus run` → criar `.secrets` no repo; **não** inventar `kubsec_set_secret`, `naus set_env_pack` ou `attach_env_pack` para execução local.
105
- - Cloud → Env Packs na UI; `.secrets` só existe na máquina onde corres `naus run`.
106
-
107
- ## Fluxo local (`kbs chat -w <repo>`)
108
-
109
- Ferramentas `naus_local_*` disponíveis sem `--extended-context`. Se `naus` não estiver no PATH, o chat instala `@kubbisec/naus` globalmente (allowlist) antes de executar.
110
-
111
- | Tool | Comando |
112
- |------|---------|
113
- | `naus_local_status` | `naus` no PATH |
114
- | `naus_local_validate` | `naus validate <path>` |
115
- | `naus_local_plan` | `naus plan <path>` (lê `.env` / `.secrets` como `naus run`) |
116
- | `naus_local_run` | `naus run <path>` (até 15 min; lê `.secrets` por omissão) |
117
-
118
- ## Runner enrollment (documentar, não executar no chat)
119
-
120
- 1. Obter bootstrap token `bt_...` na UI (Runners).
121
- 2. `naus register <token>` → grava `~/.kubbisec/naus/config.json` + certificados mTLS.
122
- 3. `naus start` — runner aceita jobs da cloud.
123
- 4. Re-registo do mesmo runner: token de re-registo na UI ou `naus migrate` (token legado `nau_...`).
124
-
125
- ## Scanners locais (fora do pipeline)
126
-
127
- Para `aspm scan` / `aspm upload` no host → skill `aspm-platform` e `aspm_local_*`.
@@ -1,12 +0,0 @@
1
- ---
2
- name: remediation
3
- description: Apply minimal security fixes from KubbiSec findings; clone via API credentials (EnvPack GITHUB_TOKEN + org GitHub); auto mode opens PR with gh+git non-interactive.
4
- ---
5
-
6
- Fix the finding using the cloned repository workspace.
7
-
8
- 1. Resolve repo: `kubsec_github_repository` (token from EnvPack `GITHUB_TOKEN` / `GH_TOKEN` overrides org app token when set).
9
- 2. Apply minimal code changes from real evidence only — no invented CVEs or paths.
10
- 3. Auto-PR (`kbs fix --mode auto`): commit, `git push`, `gh pr create` with `GIT_TERMINAL_PROMPT=0` and `GH_PROMPT_DISABLED=1`.
11
-
12
- For local git/gh in chat, use `github_local_*` tools (always available; host-first auth). See @skill github-local.
@@ -1,10 +0,0 @@
1
- ---
2
- name: scanner-gitleaks
3
- description: Gitleaks — deteção de secrets em repositórios Git.
4
- ---
5
-
6
- Chame `security_scanner_playbook(scanner="gitleaks", platform?, topic?)`.
7
-
8
- Relatório: `gitleaks-report.json`. Upload: `-s gitleaks`.
9
-
10
- NAUS: `kind: aspm` com `tool: gitleaks` ou entrada em `aspm_matrix.parallel`.
@@ -1,10 +0,0 @@
1
- ---
2
- name: scanner-nmap
3
- description: Nmap — scan de rede e portas (XML para ASPM).
4
- ---
5
-
6
- Chame `security_scanner_playbook(scanner="nmap", platform?, topic?)`.
7
-
8
- Relatório: `nmap-report.xml` (`-oX`). Upload: `-s nmap`.
9
-
10
- NAUS: `kind: aspm` com `tool: nmap` e `target` da rede/host.
@@ -1,10 +0,0 @@
1
- ---
2
- name: scanner-osv
3
- description: OSV-Scanner — advisories em dependências e lockfiles.
4
- ---
5
-
6
- Chame `security_scanner_playbook(scanner="osv", platform?, topic?)`.
7
-
8
- Relatório: `osv-report.json`. Upload: `-s osv`.
9
-
10
- NAUS: `kind: aspm` com `tool: osv`.
@@ -1,10 +0,0 @@
1
- ---
2
- name: scanner-semgrep
3
- description: Semgrep — SAST com regras e políticas customizadas.
4
- ---
5
-
6
- Chame `security_scanner_playbook(scanner="semgrep", platform?, topic?)`.
7
-
8
- Relatório: `semgrep-report.json`. Upload: `-s semgrep`.
9
-
10
- NAUS: `kind: aspm` com `tool: semgrep`; imagem padrão `semgrep/semgrep:latest`.
@@ -1,10 +0,0 @@
1
- ---
2
- name: scanner-skipfish
3
- description: Skipfish — DAST web (crawling/fuzzing).
4
- ---
5
-
6
- Chame `security_scanner_playbook(scanner="skipfish", platform?, topic?)`.
7
-
8
- Relatório: `skipfish-report.json`. Upload: `-s skipfish`.
9
-
10
- NAUS: `kind: aspm` com `tool: skipfish` e URL em `target`.
@@ -1,10 +0,0 @@
1
- ---
2
- name: scanner-sonar
3
- description: SonarQube — SAST via export JSON da API Sonar.
4
- ---
5
-
6
- Chame `security_scanner_playbook(scanner="sonar", platform?, topic?)`.
7
-
8
- Relatório: `sonar-report.json` (export API). Upload: `-s sonar`.
9
-
10
- NAUS: `kind: aspm` com `tool: sonar`, frequentemente `mode: upload` após export.
@@ -1,10 +0,0 @@
1
- ---
2
- name: scanner-syft
3
- description: Syft — geração de SBOM (CycloneDX/SPDX) para ASPM.
4
- ---
5
-
6
- Chame `security_scanner_playbook(scanner="syft", platform?, topic?)`.
7
-
8
- Relatório: `sbom.json` (cyclonedx-json). Upload: `-s syft`.
9
-
10
- NAUS: `kind: aspm` com `tool: syft`; matrix com `format: cyclonedx-json`.