@kubbisec/ai-win32-x64 0.1.22 → 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 (520) hide show
  1. package/package.json +1 -1
  2. package/bin/kubbisec.exe +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/clarify/clarify-gate-state.d.ts +0 -3
  16. package/bundled/clarify/clarify-gate-state.d.ts.map +0 -1
  17. package/bundled/clarify/clarify-gate-state.js +0 -9
  18. package/bundled/clarify/clarify-gate-state.js.map +0 -1
  19. package/bundled/clarify/clarify-gate.d.ts +0 -35
  20. package/bundled/clarify/clarify-gate.d.ts.map +0 -1
  21. package/bundled/clarify/clarify-gate.js +0 -159
  22. package/bundled/clarify/clarify-gate.js.map +0 -1
  23. package/bundled/clarify/clarify-select-panel.d.ts +0 -21
  24. package/bundled/clarify/clarify-select-panel.d.ts.map +0 -1
  25. package/bundled/clarify/clarify-select-panel.js +0 -80
  26. package/bundled/clarify/clarify-select-panel.js.map +0 -1
  27. package/bundled/clarify/clarify-ui-state.d.ts +0 -23
  28. package/bundled/clarify/clarify-ui-state.d.ts.map +0 -1
  29. package/bundled/clarify/clarify-ui-state.js +0 -48
  30. package/bundled/clarify/clarify-ui-state.js.map +0 -1
  31. package/bundled/clarify/parse-clarify-answer.d.ts +0 -32
  32. package/bundled/clarify/parse-clarify-answer.d.ts.map +0 -1
  33. package/bundled/clarify/parse-clarify-answer.js +0 -51
  34. package/bundled/clarify/parse-clarify-answer.js.map +0 -1
  35. package/bundled/clarify/question-format.d.ts +0 -50
  36. package/bundled/clarify/question-format.d.ts.map +0 -1
  37. package/bundled/clarify/question-format.js +0 -137
  38. package/bundled/clarify/question-format.js.map +0 -1
  39. package/bundled/clarify/questionnaire-tool.d.ts +0 -36
  40. package/bundled/clarify/questionnaire-tool.d.ts.map +0 -1
  41. package/bundled/clarify/questionnaire-tool.js +0 -197
  42. package/bundled/clarify/questionnaire-tool.js.map +0 -1
  43. package/bundled/clarify/scope-discovery.d.ts +0 -12
  44. package/bundled/clarify/scope-discovery.d.ts.map +0 -1
  45. package/bundled/clarify/scope-discovery.js +0 -122
  46. package/bundled/clarify/scope-discovery.js.map +0 -1
  47. package/bundled/clarify/session-questionnaire.d.ts +0 -61
  48. package/bundled/clarify/session-questionnaire.d.ts.map +0 -1
  49. package/bundled/clarify/session-questionnaire.js +0 -364
  50. package/bundled/clarify/session-questionnaire.js.map +0 -1
  51. package/bundled/clarify/session-questionnaire.types.d.ts +0 -49
  52. package/bundled/clarify/session-questionnaire.types.d.ts.map +0 -1
  53. package/bundled/clarify/session-questionnaire.types.js +0 -13
  54. package/bundled/clarify/session-questionnaire.types.js.map +0 -1
  55. package/bundled/components/kubbisec-model-selector.d.ts +0 -57
  56. package/bundled/components/kubbisec-model-selector.d.ts.map +0 -1
  57. package/bundled/components/kubbisec-model-selector.js +0 -208
  58. package/bundled/components/kubbisec-model-selector.js.map +0 -1
  59. package/bundled/config/config.d.ts +0 -14
  60. package/bundled/config/config.d.ts.map +0 -1
  61. package/bundled/config/config.js +0 -69
  62. package/bundled/config/config.js.map +0 -1
  63. package/bundled/config/detect-local-llm-providers.d.ts +0 -43
  64. package/bundled/config/detect-local-llm-providers.d.ts.map +0 -1
  65. package/bundled/config/detect-local-llm-providers.js +0 -160
  66. package/bundled/config/detect-local-llm-providers.js.map +0 -1
  67. package/bundled/config/ensure-kubbisec-project-settings.d.ts +0 -29
  68. package/bundled/config/ensure-kubbisec-project-settings.d.ts.map +0 -1
  69. package/bundled/config/ensure-kubbisec-project-settings.js +0 -79
  70. package/bundled/config/ensure-kubbisec-project-settings.js.map +0 -1
  71. package/bundled/config/extended-context.d.ts +0 -11
  72. package/bundled/config/extended-context.d.ts.map +0 -1
  73. package/bundled/config/extended-context.js +0 -37
  74. package/bundled/config/extended-context.js.map +0 -1
  75. package/bundled/config/feature-flags.d.ts +0 -10
  76. package/bundled/config/feature-flags.d.ts.map +0 -1
  77. package/bundled/config/feature-flags.js +0 -8
  78. package/bundled/config/feature-flags.js.map +0 -1
  79. package/bundled/config/format-kubbisec-footer-status.d.ts +0 -2
  80. package/bundled/config/format-kubbisec-footer-status.d.ts.map +0 -1
  81. package/bundled/config/format-kubbisec-footer-status.js +0 -32
  82. package/bundled/config/format-kubbisec-footer-status.js.map +0 -1
  83. package/bundled/config/kubbisec-extension-manifest.d.ts +0 -23
  84. package/bundled/config/kubbisec-extension-manifest.d.ts.map +0 -1
  85. package/bundled/config/kubbisec-extension-manifest.js +0 -23
  86. package/bundled/config/kubbisec-extension-manifest.js.map +0 -1
  87. package/bundled/config/llm-config-mutations.d.ts +0 -64
  88. package/bundled/config/llm-config-mutations.d.ts.map +0 -1
  89. package/bundled/config/llm-config-mutations.js +0 -198
  90. package/bundled/config/llm-config-mutations.js.map +0 -1
  91. package/bundled/config/llm-config.d.ts +0 -79
  92. package/bundled/config/llm-config.d.ts.map +0 -1
  93. package/bundled/config/llm-config.js +0 -246
  94. package/bundled/config/llm-config.js.map +0 -1
  95. package/bundled/config/llm-provider-catalog.d.ts +0 -25
  96. package/bundled/config/llm-provider-catalog.d.ts.map +0 -1
  97. package/bundled/config/llm-provider-catalog.js +0 -53
  98. package/bundled/config/llm-provider-catalog.js.map +0 -1
  99. package/bundled/config/materialize-kubbisec-pi-resources.d.ts +0 -19
  100. package/bundled/config/materialize-kubbisec-pi-resources.d.ts.map +0 -1
  101. package/bundled/config/materialize-kubbisec-pi-resources.js +0 -234
  102. package/bundled/config/materialize-kubbisec-pi-resources.js.map +0 -1
  103. package/bundled/config/register-custom-llm-providers.d.ts +0 -19
  104. package/bundled/config/register-custom-llm-providers.d.ts.map +0 -1
  105. package/bundled/config/register-custom-llm-providers.js +0 -23
  106. package/bundled/config/register-custom-llm-providers.js.map +0 -1
  107. package/bundled/config/register-kubbisec-llm-provider.d.ts +0 -18
  108. package/bundled/config/register-kubbisec-llm-provider.d.ts.map +0 -1
  109. package/bundled/config/register-kubbisec-llm-provider.js +0 -61
  110. package/bundled/config/register-kubbisec-llm-provider.js.map +0 -1
  111. package/bundled/config/resolve-agents-context-file.d.ts +0 -4
  112. package/bundled/config/resolve-agents-context-file.d.ts.map +0 -1
  113. package/bundled/config/resolve-agents-context-file.js +0 -46
  114. package/bundled/config/resolve-agents-context-file.js.map +0 -1
  115. package/bundled/config/resource-budget.d.ts +0 -17
  116. package/bundled/config/resource-budget.d.ts.map +0 -1
  117. package/bundled/config/resource-budget.js +0 -35
  118. package/bundled/config/resource-budget.js.map +0 -1
  119. package/bundled/config/sync-kubbisec-pi-models.d.ts +0 -15
  120. package/bundled/config/sync-kubbisec-pi-models.d.ts.map +0 -1
  121. package/bundled/config/sync-kubbisec-pi-models.js +0 -81
  122. package/bundled/config/sync-kubbisec-pi-models.js.map +0 -1
  123. package/bundled/copy/cli-reference-index.d.ts +0 -7
  124. package/bundled/copy/cli-reference-index.d.ts.map +0 -1
  125. package/bundled/copy/cli-reference-index.js +0 -62
  126. package/bundled/copy/cli-reference-index.js.map +0 -1
  127. package/bundled/copy/kubbisec-shell-copy.d.ts +0 -26
  128. package/bundled/copy/kubbisec-shell-copy.d.ts.map +0 -1
  129. package/bundled/copy/kubbisec-shell-copy.js +0 -21
  130. package/bundled/copy/kubbisec-shell-copy.js.map +0 -1
  131. package/bundled/edit-format.md +0 -17
  132. package/bundled/extensions/cli-local-shared.d.ts +0 -65
  133. package/bundled/extensions/cli-local-shared.d.ts.map +0 -1
  134. package/bundled/extensions/cli-local-shared.js +0 -158
  135. package/bundled/extensions/cli-local-shared.js.map +0 -1
  136. package/bundled/extensions/kubbisec-aspm-local.extension.d.ts +0 -21
  137. package/bundled/extensions/kubbisec-aspm-local.extension.d.ts.map +0 -1
  138. package/bundled/extensions/kubbisec-aspm-local.extension.js +0 -124
  139. package/bundled/extensions/kubbisec-aspm-local.extension.js.map +0 -1
  140. package/bundled/extensions/kubbisec-brand.extension.d.ts +0 -3
  141. package/bundled/extensions/kubbisec-brand.extension.d.ts.map +0 -1
  142. package/bundled/extensions/kubbisec-brand.extension.js +0 -32
  143. package/bundled/extensions/kubbisec-brand.extension.js.map +0 -1
  144. package/bundled/extensions/kubbisec-byok-provider.extension.d.ts +0 -6
  145. package/bundled/extensions/kubbisec-byok-provider.extension.d.ts.map +0 -1
  146. package/bundled/extensions/kubbisec-byok-provider.extension.js +0 -5
  147. package/bundled/extensions/kubbisec-byok-provider.extension.js.map +0 -1
  148. package/bundled/extensions/kubbisec-clarify.extension.d.ts +0 -79
  149. package/bundled/extensions/kubbisec-clarify.extension.d.ts.map +0 -1
  150. package/bundled/extensions/kubbisec-clarify.extension.js +0 -381
  151. package/bundled/extensions/kubbisec-clarify.extension.js.map +0 -1
  152. package/bundled/extensions/kubbisec-exit.extension.d.ts +0 -6
  153. package/bundled/extensions/kubbisec-exit.extension.d.ts.map +0 -1
  154. package/bundled/extensions/kubbisec-exit.extension.js +0 -38
  155. package/bundled/extensions/kubbisec-exit.extension.js.map +0 -1
  156. package/bundled/extensions/kubbisec-extended-context.extension.d.ts +0 -6
  157. package/bundled/extensions/kubbisec-extended-context.extension.d.ts.map +0 -1
  158. package/bundled/extensions/kubbisec-extended-context.extension.js +0 -63
  159. package/bundled/extensions/kubbisec-extended-context.extension.js.map +0 -1
  160. package/bundled/extensions/kubbisec-footer.extension.d.ts +0 -19
  161. package/bundled/extensions/kubbisec-footer.extension.d.ts.map +0 -1
  162. package/bundled/extensions/kubbisec-footer.extension.js +0 -245
  163. package/bundled/extensions/kubbisec-footer.extension.js.map +0 -1
  164. package/bundled/extensions/kubbisec-github-local.extension.d.ts +0 -34
  165. package/bundled/extensions/kubbisec-github-local.extension.d.ts.map +0 -1
  166. package/bundled/extensions/kubbisec-github-local.extension.js +0 -142
  167. package/bundled/extensions/kubbisec-github-local.extension.js.map +0 -1
  168. package/bundled/extensions/kubbisec-llm-config.extension.d.ts +0 -3
  169. package/bundled/extensions/kubbisec-llm-config.extension.d.ts.map +0 -1
  170. package/bundled/extensions/kubbisec-llm-config.extension.js +0 -230
  171. package/bundled/extensions/kubbisec-llm-config.extension.js.map +0 -1
  172. package/bundled/extensions/kubbisec-memory.extension.d.ts +0 -14
  173. package/bundled/extensions/kubbisec-memory.extension.d.ts.map +0 -1
  174. package/bundled/extensions/kubbisec-memory.extension.js +0 -100
  175. package/bundled/extensions/kubbisec-memory.extension.js.map +0 -1
  176. package/bundled/extensions/kubbisec-naus-local.extension.d.ts +0 -21
  177. package/bundled/extensions/kubbisec-naus-local.extension.d.ts.map +0 -1
  178. package/bundled/extensions/kubbisec-naus-local.extension.js +0 -144
  179. package/bundled/extensions/kubbisec-naus-local.extension.js.map +0 -1
  180. package/bundled/extensions/kubbisec-platform-tools.extension.d.ts +0 -40
  181. package/bundled/extensions/kubbisec-platform-tools.extension.d.ts.map +0 -1
  182. package/bundled/extensions/kubbisec-platform-tools.extension.js +0 -185
  183. package/bundled/extensions/kubbisec-platform-tools.extension.js.map +0 -1
  184. package/bundled/extensions/kubbisec-runtime-status.extension.d.ts +0 -15
  185. package/bundled/extensions/kubbisec-runtime-status.extension.d.ts.map +0 -1
  186. package/bundled/extensions/kubbisec-runtime-status.extension.js +0 -20
  187. package/bundled/extensions/kubbisec-runtime-status.extension.js.map +0 -1
  188. package/bundled/extensions/kubbisec-scope.extension.d.ts +0 -19
  189. package/bundled/extensions/kubbisec-scope.extension.d.ts.map +0 -1
  190. package/bundled/extensions/kubbisec-scope.extension.js +0 -18
  191. package/bundled/extensions/kubbisec-scope.extension.js.map +0 -1
  192. package/bundled/extensions/kubbisec-skill-mentions.extension.d.ts +0 -36
  193. package/bundled/extensions/kubbisec-skill-mentions.extension.d.ts.map +0 -1
  194. package/bundled/extensions/kubbisec-skill-mentions.extension.js +0 -80
  195. package/bundled/extensions/kubbisec-skill-mentions.extension.js.map +0 -1
  196. package/bundled/extensions/kubbisec-skill-telemetry.extension.d.ts +0 -5
  197. package/bundled/extensions/kubbisec-skill-telemetry.extension.d.ts.map +0 -1
  198. package/bundled/extensions/kubbisec-skill-telemetry.extension.js +0 -80
  199. package/bundled/extensions/kubbisec-skill-telemetry.extension.js.map +0 -1
  200. package/bundled/extensions/kubbisec-theme-lock.extension.d.ts +0 -6
  201. package/bundled/extensions/kubbisec-theme-lock.extension.d.ts.map +0 -1
  202. package/bundled/extensions/kubbisec-theme-lock.extension.js +0 -42
  203. package/bundled/extensions/kubbisec-theme-lock.extension.js.map +0 -1
  204. package/bundled/extensions/kubbisec-ui.extension.d.ts +0 -6
  205. package/bundled/extensions/kubbisec-ui.extension.d.ts.map +0 -1
  206. package/bundled/extensions/kubbisec-ui.extension.js +0 -137
  207. package/bundled/extensions/kubbisec-ui.extension.js.map +0 -1
  208. package/bundled/extensions/kubbisec-workflow.extension.d.ts +0 -40
  209. package/bundled/extensions/kubbisec-workflow.extension.d.ts.map +0 -1
  210. package/bundled/extensions/kubbisec-workflow.extension.js +0 -177
  211. package/bundled/extensions/kubbisec-workflow.extension.js.map +0 -1
  212. package/bundled/gate-system.md +0 -27
  213. package/bundled/node_modules/@aspm/shared/dist/ai/evaluation-dataset-50.d.ts +0 -311
  214. package/bundled/node_modules/@aspm/shared/dist/ai/evaluation-dataset-50.d.ts.map +0 -1
  215. package/bundled/node_modules/@aspm/shared/dist/ai/evaluation-dataset-50.js +0 -357
  216. package/bundled/node_modules/@aspm/shared/dist/ai/evaluation-dataset-50.js.map +0 -1
  217. package/bundled/node_modules/@aspm/shared/dist/ai/index.d.ts +0 -2
  218. package/bundled/node_modules/@aspm/shared/dist/ai/index.d.ts.map +0 -1
  219. package/bundled/node_modules/@aspm/shared/dist/ai/index.js +0 -18
  220. package/bundled/node_modules/@aspm/shared/dist/ai/index.js.map +0 -1
  221. package/bundled/node_modules/@aspm/shared/dist/assistant/assistant-session-key.d.ts +0 -20
  222. package/bundled/node_modules/@aspm/shared/dist/assistant/assistant-session-key.d.ts.map +0 -1
  223. package/bundled/node_modules/@aspm/shared/dist/assistant/assistant-session-key.js +0 -33
  224. package/bundled/node_modules/@aspm/shared/dist/assistant/assistant-session-key.js.map +0 -1
  225. package/bundled/node_modules/@aspm/shared/dist/assistant/index.d.ts +0 -2
  226. package/bundled/node_modules/@aspm/shared/dist/assistant/index.d.ts.map +0 -1
  227. package/bundled/node_modules/@aspm/shared/dist/assistant/index.js +0 -18
  228. package/bundled/node_modules/@aspm/shared/dist/assistant/index.js.map +0 -1
  229. package/bundled/node_modules/@aspm/shared/dist/cli-user-error.d.ts +0 -18
  230. package/bundled/node_modules/@aspm/shared/dist/cli-user-error.d.ts.map +0 -1
  231. package/bundled/node_modules/@aspm/shared/dist/cli-user-error.js +0 -92
  232. package/bundled/node_modules/@aspm/shared/dist/cli-user-error.js.map +0 -1
  233. package/bundled/node_modules/@aspm/shared/dist/dto/bulk-import-github-projects.dto.d.ts +0 -25
  234. package/bundled/node_modules/@aspm/shared/dist/dto/bulk-import-github-projects.dto.d.ts.map +0 -1
  235. package/bundled/node_modules/@aspm/shared/dist/dto/bulk-import-github-projects.dto.js +0 -85
  236. package/bundled/node_modules/@aspm/shared/dist/dto/bulk-import-github-projects.dto.js.map +0 -1
  237. package/bundled/node_modules/@aspm/shared/dist/dto/create-bundle-report.dto.d.ts +0 -17
  238. package/bundled/node_modules/@aspm/shared/dist/dto/create-bundle-report.dto.d.ts.map +0 -1
  239. package/bundled/node_modules/@aspm/shared/dist/dto/create-bundle-report.dto.js +0 -98
  240. package/bundled/node_modules/@aspm/shared/dist/dto/create-bundle-report.dto.js.map +0 -1
  241. package/bundled/node_modules/@aspm/shared/dist/dto/create-coverage-report.dto.d.ts +0 -32
  242. package/bundled/node_modules/@aspm/shared/dist/dto/create-coverage-report.dto.d.ts.map +0 -1
  243. package/bundled/node_modules/@aspm/shared/dist/dto/create-coverage-report.dto.js +0 -209
  244. package/bundled/node_modules/@aspm/shared/dist/dto/create-coverage-report.dto.js.map +0 -1
  245. package/bundled/node_modules/@aspm/shared/dist/dto/create-project.dto.d.ts +0 -65
  246. package/bundled/node_modules/@aspm/shared/dist/dto/create-project.dto.d.ts.map +0 -1
  247. package/bundled/node_modules/@aspm/shared/dist/dto/create-project.dto.js +0 -354
  248. package/bundled/node_modules/@aspm/shared/dist/dto/create-project.dto.js.map +0 -1
  249. package/bundled/node_modules/@aspm/shared/dist/dto/create-report.dto.d.ts +0 -26
  250. package/bundled/node_modules/@aspm/shared/dist/dto/create-report.dto.d.ts.map +0 -1
  251. package/bundled/node_modules/@aspm/shared/dist/dto/create-report.dto.js +0 -139
  252. package/bundled/node_modules/@aspm/shared/dist/dto/create-report.dto.js.map +0 -1
  253. package/bundled/node_modules/@aspm/shared/dist/dto/create-scan-target.dto.d.ts +0 -8
  254. package/bundled/node_modules/@aspm/shared/dist/dto/create-scan-target.dto.d.ts.map +0 -1
  255. package/bundled/node_modules/@aspm/shared/dist/dto/create-scan-target.dto.js +0 -51
  256. package/bundled/node_modules/@aspm/shared/dist/dto/create-scan-target.dto.js.map +0 -1
  257. package/bundled/node_modules/@aspm/shared/dist/dto/create-vulnerability.dto.d.ts +0 -34
  258. package/bundled/node_modules/@aspm/shared/dist/dto/create-vulnerability.dto.d.ts.map +0 -1
  259. package/bundled/node_modules/@aspm/shared/dist/dto/create-vulnerability.dto.js +0 -189
  260. package/bundled/node_modules/@aspm/shared/dist/dto/create-vulnerability.dto.js.map +0 -1
  261. package/bundled/node_modules/@aspm/shared/dist/dto/index.d.ts +0 -14
  262. package/bundled/node_modules/@aspm/shared/dist/dto/index.d.ts.map +0 -1
  263. package/bundled/node_modules/@aspm/shared/dist/dto/index.js +0 -45
  264. package/bundled/node_modules/@aspm/shared/dist/dto/index.js.map +0 -1
  265. package/bundled/node_modules/@aspm/shared/dist/dto/metrics.dto.d.ts +0 -203
  266. package/bundled/node_modules/@aspm/shared/dist/dto/metrics.dto.d.ts.map +0 -1
  267. package/bundled/node_modules/@aspm/shared/dist/dto/metrics.dto.js +0 -42
  268. package/bundled/node_modules/@aspm/shared/dist/dto/metrics.dto.js.map +0 -1
  269. package/bundled/node_modules/@aspm/shared/dist/dto/record-gate-result.dto.d.ts +0 -6
  270. package/bundled/node_modules/@aspm/shared/dist/dto/record-gate-result.dto.d.ts.map +0 -1
  271. package/bundled/node_modules/@aspm/shared/dist/dto/record-gate-result.dto.js +0 -31
  272. package/bundled/node_modules/@aspm/shared/dist/dto/record-gate-result.dto.js.map +0 -1
  273. package/bundled/node_modules/@aspm/shared/dist/dto/update-coverage-gate.dto.d.ts +0 -7
  274. package/bundled/node_modules/@aspm/shared/dist/dto/update-coverage-gate.dto.d.ts.map +0 -1
  275. package/bundled/node_modules/@aspm/shared/dist/dto/update-coverage-gate.dto.js +0 -47
  276. package/bundled/node_modules/@aspm/shared/dist/dto/update-coverage-gate.dto.js.map +0 -1
  277. package/bundled/node_modules/@aspm/shared/dist/dto/update-performance-gate.dto.d.ts +0 -6
  278. package/bundled/node_modules/@aspm/shared/dist/dto/update-performance-gate.dto.d.ts.map +0 -1
  279. package/bundled/node_modules/@aspm/shared/dist/dto/update-performance-gate.dto.js +0 -36
  280. package/bundled/node_modules/@aspm/shared/dist/dto/update-performance-gate.dto.js.map +0 -1
  281. package/bundled/node_modules/@aspm/shared/dist/dto/update-security-gate.dto.d.ts +0 -9
  282. package/bundled/node_modules/@aspm/shared/dist/dto/update-security-gate.dto.d.ts.map +0 -1
  283. package/bundled/node_modules/@aspm/shared/dist/dto/update-security-gate.dto.js +0 -58
  284. package/bundled/node_modules/@aspm/shared/dist/dto/update-security-gate.dto.js.map +0 -1
  285. package/bundled/node_modules/@aspm/shared/dist/dto/update-vulnerability.dto.d.ts +0 -6
  286. package/bundled/node_modules/@aspm/shared/dist/dto/update-vulnerability.dto.d.ts.map +0 -1
  287. package/bundled/node_modules/@aspm/shared/dist/dto/update-vulnerability.dto.js +0 -30
  288. package/bundled/node_modules/@aspm/shared/dist/dto/update-vulnerability.dto.js.map +0 -1
  289. package/bundled/node_modules/@aspm/shared/dist/enums.d.ts +0 -86
  290. package/bundled/node_modules/@aspm/shared/dist/enums.d.ts.map +0 -1
  291. package/bundled/node_modules/@aspm/shared/dist/enums.js +0 -132
  292. package/bundled/node_modules/@aspm/shared/dist/enums.js.map +0 -1
  293. package/bundled/node_modules/@aspm/shared/dist/github/kubbisec-github-label.d.ts +0 -6
  294. package/bundled/node_modules/@aspm/shared/dist/github/kubbisec-github-label.d.ts.map +0 -1
  295. package/bundled/node_modules/@aspm/shared/dist/github/kubbisec-github-label.js +0 -9
  296. package/bundled/node_modules/@aspm/shared/dist/github/kubbisec-github-label.js.map +0 -1
  297. package/bundled/node_modules/@aspm/shared/dist/index.d.ts +0 -16
  298. package/bundled/node_modules/@aspm/shared/dist/index.d.ts.map +0 -1
  299. package/bundled/node_modules/@aspm/shared/dist/index.js +0 -32
  300. package/bundled/node_modules/@aspm/shared/dist/index.js.map +0 -1
  301. package/bundled/node_modules/@aspm/shared/dist/project-scanner-summary.d.ts +0 -21
  302. package/bundled/node_modules/@aspm/shared/dist/project-scanner-summary.d.ts.map +0 -1
  303. package/bundled/node_modules/@aspm/shared/dist/project-scanner-summary.js +0 -56
  304. package/bundled/node_modules/@aspm/shared/dist/project-scanner-summary.js.map +0 -1
  305. package/bundled/node_modules/@aspm/shared/dist/rbac/better-auth-org-roles.d.ts +0 -23
  306. package/bundled/node_modules/@aspm/shared/dist/rbac/better-auth-org-roles.d.ts.map +0 -1
  307. package/bundled/node_modules/@aspm/shared/dist/rbac/better-auth-org-roles.js +0 -53
  308. package/bundled/node_modules/@aspm/shared/dist/rbac/better-auth-org-roles.js.map +0 -1
  309. package/bundled/node_modules/@aspm/shared/dist/rbac/index.d.ts +0 -7
  310. package/bundled/node_modules/@aspm/shared/dist/rbac/index.d.ts.map +0 -1
  311. package/bundled/node_modules/@aspm/shared/dist/rbac/index.js +0 -23
  312. package/bundled/node_modules/@aspm/shared/dist/rbac/index.js.map +0 -1
  313. package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permission-descriptions.d.ts +0 -9
  314. package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permission-descriptions.d.ts.map +0 -1
  315. package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permission-descriptions.js +0 -89
  316. package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permission-descriptions.js.map +0 -1
  317. package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permissions.d.ts +0 -12
  318. package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permissions.d.ts.map +0 -1
  319. package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permissions.js +0 -84
  320. package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permissions.js.map +0 -1
  321. package/bundled/node_modules/@aspm/shared/dist/rbac/platform-staff.d.ts +0 -14
  322. package/bundled/node_modules/@aspm/shared/dist/rbac/platform-staff.d.ts.map +0 -1
  323. package/bundled/node_modules/@aspm/shared/dist/rbac/platform-staff.js +0 -56
  324. package/bundled/node_modules/@aspm/shared/dist/rbac/platform-staff.js.map +0 -1
  325. package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-org-permissions.d.ts +0 -10
  326. package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-org-permissions.d.ts.map +0 -1
  327. package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-org-permissions.js +0 -196
  328. package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-org-permissions.js.map +0 -1
  329. package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-platform-permissions.d.ts +0 -7
  330. package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-platform-permissions.d.ts.map +0 -1
  331. package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-platform-permissions.js +0 -23
  332. package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-platform-permissions.js.map +0 -1
  333. package/bundled/node_modules/@aspm/shared/dist/redaction.d.ts +0 -13
  334. package/bundled/node_modules/@aspm/shared/dist/redaction.d.ts.map +0 -1
  335. package/bundled/node_modules/@aspm/shared/dist/redaction.js +0 -250
  336. package/bundled/node_modules/@aspm/shared/dist/redaction.js.map +0 -1
  337. package/bundled/node_modules/@aspm/shared/dist/redaction.test.d.ts +0 -2
  338. package/bundled/node_modules/@aspm/shared/dist/redaction.test.d.ts.map +0 -1
  339. package/bundled/node_modules/@aspm/shared/dist/redaction.test.js +0 -626
  340. package/bundled/node_modules/@aspm/shared/dist/redaction.test.js.map +0 -1
  341. package/bundled/node_modules/@aspm/shared/dist/security/aspm-gate-rules.d.ts +0 -19
  342. package/bundled/node_modules/@aspm/shared/dist/security/aspm-gate-rules.d.ts.map +0 -1
  343. package/bundled/node_modules/@aspm/shared/dist/security/aspm-gate-rules.js +0 -61
  344. package/bundled/node_modules/@aspm/shared/dist/security/aspm-gate-rules.js.map +0 -1
  345. package/bundled/node_modules/@aspm/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.d.ts +0 -3
  346. package/bundled/node_modules/@aspm/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.d.ts.map +0 -1
  347. package/bundled/node_modules/@aspm/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.js +0 -54
  348. package/bundled/node_modules/@aspm/shared/dist/security/build-aspm-security-matrix-pipeline-yaml.js.map +0 -1
  349. package/bundled/node_modules/@aspm/shared/dist/security/build-github-security-workflow-yaml.d.ts +0 -4
  350. package/bundled/node_modules/@aspm/shared/dist/security/build-github-security-workflow-yaml.d.ts.map +0 -1
  351. package/bundled/node_modules/@aspm/shared/dist/security/build-github-security-workflow-yaml.js +0 -72
  352. package/bundled/node_modules/@aspm/shared/dist/security/build-github-security-workflow-yaml.js.map +0 -1
  353. package/bundled/node_modules/@aspm/shared/dist/security/github-workflow-action-pins.d.ts +0 -27
  354. package/bundled/node_modules/@aspm/shared/dist/security/github-workflow-action-pins.d.ts.map +0 -1
  355. package/bundled/node_modules/@aspm/shared/dist/security/github-workflow-action-pins.js +0 -30
  356. package/bundled/node_modules/@aspm/shared/dist/security/github-workflow-action-pins.js.map +0 -1
  357. package/bundled/node_modules/@aspm/shared/dist/security/github-workflow-tool-jobs.d.ts +0 -7
  358. package/bundled/node_modules/@aspm/shared/dist/security/github-workflow-tool-jobs.d.ts.map +0 -1
  359. package/bundled/node_modules/@aspm/shared/dist/security/github-workflow-tool-jobs.js +0 -184
  360. package/bundled/node_modules/@aspm/shared/dist/security/github-workflow-tool-jobs.js.map +0 -1
  361. package/bundled/node_modules/@aspm/shared/dist/security/index.d.ts +0 -7
  362. package/bundled/node_modules/@aspm/shared/dist/security/index.d.ts.map +0 -1
  363. package/bundled/node_modules/@aspm/shared/dist/security/index.js +0 -23
  364. package/bundled/node_modules/@aspm/shared/dist/security/index.js.map +0 -1
  365. package/bundled/node_modules/@aspm/shared/dist/security/security-tool-catalog.d.ts +0 -5
  366. package/bundled/node_modules/@aspm/shared/dist/security/security-tool-catalog.d.ts.map +0 -1
  367. package/bundled/node_modules/@aspm/shared/dist/security/security-tool-catalog.js +0 -74
  368. package/bundled/node_modules/@aspm/shared/dist/security/security-tool-catalog.js.map +0 -1
  369. package/bundled/node_modules/@aspm/shared/dist/security/security-tool.types.d.ts +0 -43
  370. package/bundled/node_modules/@aspm/shared/dist/security/security-tool.types.d.ts.map +0 -1
  371. package/bundled/node_modules/@aspm/shared/dist/security/security-tool.types.js +0 -22
  372. package/bundled/node_modules/@aspm/shared/dist/security/security-tool.types.js.map +0 -1
  373. package/bundled/node_modules/@aspm/shared/dist/severity-map.d.ts +0 -8
  374. package/bundled/node_modules/@aspm/shared/dist/severity-map.d.ts.map +0 -1
  375. package/bundled/node_modules/@aspm/shared/dist/severity-map.js +0 -47
  376. package/bundled/node_modules/@aspm/shared/dist/severity-map.js.map +0 -1
  377. package/bundled/node_modules/@aspm/shared/dist/sonar-safe-string.d.ts +0 -26
  378. package/bundled/node_modules/@aspm/shared/dist/sonar-safe-string.d.ts.map +0 -1
  379. package/bundled/node_modules/@aspm/shared/dist/sonar-safe-string.js +0 -202
  380. package/bundled/node_modules/@aspm/shared/dist/sonar-safe-string.js.map +0 -1
  381. package/bundled/node_modules/@aspm/shared/dist/sort-findings.d.ts +0 -16
  382. package/bundled/node_modules/@aspm/shared/dist/sort-findings.d.ts.map +0 -1
  383. package/bundled/node_modules/@aspm/shared/dist/sort-findings.js +0 -67
  384. package/bundled/node_modules/@aspm/shared/dist/sort-findings.js.map +0 -1
  385. package/bundled/node_modules/@aspm/shared/dist/trusted-path.d.ts +0 -7
  386. package/bundled/node_modules/@aspm/shared/dist/trusted-path.d.ts.map +0 -1
  387. package/bundled/node_modules/@aspm/shared/dist/trusted-path.js +0 -30
  388. package/bundled/node_modules/@aspm/shared/dist/trusted-path.js.map +0 -1
  389. package/bundled/node_modules/@aspm/shared/package.json +0 -51
  390. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.d.ts +0 -20
  391. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.d.ts.map +0 -1
  392. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.js +0 -121
  393. package/bundled/node_modules/@kubbisec/chat-memory/dist/client.js.map +0 -1
  394. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.d.ts +0 -15
  395. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.d.ts.map +0 -1
  396. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.js +0 -34
  397. package/bundled/node_modules/@kubbisec/chat-memory/dist/feature-flags.js.map +0 -1
  398. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.d.ts +0 -12
  399. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.d.ts.map +0 -1
  400. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.js +0 -85
  401. package/bundled/node_modules/@kubbisec/chat-memory/dist/index.js.map +0 -1
  402. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.d.ts +0 -4
  403. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.d.ts.map +0 -1
  404. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.js +0 -89
  405. package/bundled/node_modules/@kubbisec/chat-memory/dist/sanitizer.js.map +0 -1
  406. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.d.ts +0 -2
  407. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.d.ts.map +0 -1
  408. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.js +0 -11
  409. package/bundled/node_modules/@kubbisec/chat-memory/dist/storage-paths.js.map +0 -1
  410. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.d.ts +0 -24
  411. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.d.ts.map +0 -1
  412. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.js +0 -9
  413. package/bundled/node_modules/@kubbisec/chat-memory/dist/types.js.map +0 -1
  414. package/bundled/node_modules/@kubbisec/chat-memory/package.json +0 -32
  415. package/bundled/node_modules/@kubbisec/home/dist/api-url.d.ts +0 -8
  416. package/bundled/node_modules/@kubbisec/home/dist/api-url.d.ts.map +0 -1
  417. package/bundled/node_modules/@kubbisec/home/dist/api-url.js +0 -25
  418. package/bundled/node_modules/@kubbisec/home/dist/api-url.js.map +0 -1
  419. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.d.ts +0 -17
  420. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.d.ts.map +0 -1
  421. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.js +0 -35
  422. package/bundled/node_modules/@kubbisec/home/dist/cli-auth.types.js.map +0 -1
  423. package/bundled/node_modules/@kubbisec/home/dist/index.d.ts +0 -5
  424. package/bundled/node_modules/@kubbisec/home/dist/index.d.ts.map +0 -1
  425. package/bundled/node_modules/@kubbisec/home/dist/index.js +0 -5
  426. package/bundled/node_modules/@kubbisec/home/dist/index.js.map +0 -1
  427. package/bundled/node_modules/@kubbisec/home/dist/migrate.d.ts +0 -10
  428. package/bundled/node_modules/@kubbisec/home/dist/migrate.d.ts.map +0 -1
  429. package/bundled/node_modules/@kubbisec/home/dist/migrate.js +0 -107
  430. package/bundled/node_modules/@kubbisec/home/dist/migrate.js.map +0 -1
  431. package/bundled/node_modules/@kubbisec/home/dist/paths.d.ts +0 -22
  432. package/bundled/node_modules/@kubbisec/home/dist/paths.d.ts.map +0 -1
  433. package/bundled/node_modules/@kubbisec/home/dist/paths.js +0 -69
  434. package/bundled/node_modules/@kubbisec/home/dist/paths.js.map +0 -1
  435. package/bundled/node_modules/@kubbisec/home/package.json +0 -26
  436. package/bundled/reflect-system.md +0 -31
  437. package/bundled/resolve-bundled-dist-root.js +0 -158
  438. package/bundled/resolve-bundled-dist-root.js.map +0 -1
  439. package/bundled/skills/aspm-platform/SKILL.md +0 -93
  440. package/bundled/skills/at-path-mentions.d.ts +0 -7
  441. package/bundled/skills/at-path-mentions.d.ts.map +0 -1
  442. package/bundled/skills/at-path-mentions.js +0 -177
  443. package/bundled/skills/at-path-mentions.js.map +0 -1
  444. package/bundled/skills/at-path-mentions.test.ts +0 -64
  445. package/bundled/skills/at-path-mentions.ts +0 -209
  446. package/bundled/skills/chat-mention-render.d.ts +0 -7
  447. package/bundled/skills/chat-mention-render.d.ts.map +0 -1
  448. package/bundled/skills/chat-mention-render.js +0 -155
  449. package/bundled/skills/chat-mention-render.js.map +0 -1
  450. package/bundled/skills/chat-mention-render.test.ts +0 -70
  451. package/bundled/skills/chat-mention-render.ts +0 -192
  452. package/bundled/skills/chat-mentions.d.ts +0 -37
  453. package/bundled/skills/chat-mentions.d.ts.map +0 -1
  454. package/bundled/skills/chat-mentions.js +0 -108
  455. package/bundled/skills/chat-mentions.js.map +0 -1
  456. package/bundled/skills/chat-mentions.test.ts +0 -39
  457. package/bundled/skills/chat-mentions.ts +0 -133
  458. package/bundled/skills/github-local/SKILL.md +0 -16
  459. package/bundled/skills/list-bundled-skills.d.ts +0 -7
  460. package/bundled/skills/list-bundled-skills.d.ts.map +0 -1
  461. package/bundled/skills/list-bundled-skills.js +0 -42
  462. package/bundled/skills/list-bundled-skills.js.map +0 -1
  463. package/bundled/skills/list-bundled-skills.ts +0 -49
  464. package/bundled/skills/naus-pipelines/SKILL.md +0 -126
  465. package/bundled/skills/remediation/SKILL.md +0 -12
  466. package/bundled/skills/scanner-gitleaks/SKILL.md +0 -10
  467. package/bundled/skills/scanner-nmap/SKILL.md +0 -10
  468. package/bundled/skills/scanner-osv/SKILL.md +0 -10
  469. package/bundled/skills/scanner-semgrep/SKILL.md +0 -10
  470. package/bundled/skills/scanner-skipfish/SKILL.md +0 -10
  471. package/bundled/skills/scanner-sonar/SKILL.md +0 -10
  472. package/bundled/skills/scanner-syft/SKILL.md +0 -10
  473. package/bundled/skills/scanner-trivy/SKILL.md +0 -10
  474. package/bundled/skills/sec-brainstorm/SKILL.md +0 -74
  475. package/bundled/skills/sec-clarify/SKILL.md +0 -53
  476. package/bundled/skills/sec-debug/SKILL.md +0 -94
  477. package/bundled/skills/sec-plan/SKILL.md +0 -101
  478. package/bundled/skills/sec-review/SKILL.md +0 -110
  479. package/bundled/skills/sec-review/code-reviewer-sec.md +0 -176
  480. package/bundled/skills/sec-using-skills/SKILL.md +0 -81
  481. package/bundled/skills/sec-verify/SKILL.md +0 -77
  482. package/bundled/skills/skill-mention.d.ts +0 -11
  483. package/bundled/skills/skill-mention.d.ts.map +0 -1
  484. package/bundled/skills/skill-mention.js +0 -11
  485. package/bundled/skills/skill-mention.js.map +0 -1
  486. package/bundled/skills/skill-mention.test.ts +0 -46
  487. package/bundled/skills/skill-mention.ts +0 -10
  488. package/bundled/theme/clear-terminal.d.ts +0 -3
  489. package/bundled/theme/clear-terminal.d.ts.map +0 -1
  490. package/bundled/theme/clear-terminal.js +0 -6
  491. package/bundled/theme/clear-terminal.js.map +0 -1
  492. package/bundled/theme/footer-render-hook.d.ts +0 -3
  493. package/bundled/theme/footer-render-hook.d.ts.map +0 -1
  494. package/bundled/theme/footer-render-hook.js +0 -8
  495. package/bundled/theme/footer-render-hook.js.map +0 -1
  496. package/bundled/theme/kubbisec-brand-fg.d.ts +0 -4
  497. package/bundled/theme/kubbisec-brand-fg.d.ts.map +0 -1
  498. package/bundled/theme/kubbisec-brand-fg.js +0 -7
  499. package/bundled/theme/kubbisec-brand-fg.js.map +0 -1
  500. package/bundled/theme/kubbisec-menu-themes.d.ts +0 -16
  501. package/bundled/theme/kubbisec-menu-themes.d.ts.map +0 -1
  502. package/bundled/theme/kubbisec-menu-themes.js +0 -46
  503. package/bundled/theme/kubbisec-menu-themes.js.map +0 -1
  504. package/bundled/theme/kubbisec-theme-name.d.ts +0 -2
  505. package/bundled/theme/kubbisec-theme-name.d.ts.map +0 -1
  506. package/bundled/theme/kubbisec-theme-name.js +0 -2
  507. package/bundled/theme/kubbisec-theme-name.js.map +0 -1
  508. package/bundled/theme/kubbisec.json +0 -93
  509. package/bundled/theme/patch-pi-settings-theme.runtime.d.ts +0 -3
  510. package/bundled/theme/patch-pi-settings-theme.runtime.d.ts.map +0 -1
  511. package/bundled/theme/patch-pi-settings-theme.runtime.js +0 -17
  512. package/bundled/theme/patch-pi-settings-theme.runtime.js.map +0 -1
  513. package/bundled/theme/render-compact-header.d.ts +0 -29
  514. package/bundled/theme/render-compact-header.d.ts.map +0 -1
  515. package/bundled/theme/render-compact-header.js +0 -195
  516. package/bundled/theme/render-compact-header.js.map +0 -1
  517. package/bundled/workflow/session-workflow-mode.d.ts +0 -10
  518. package/bundled/workflow/session-workflow-mode.d.ts.map +0 -1
  519. package/bundled/workflow/session-workflow-mode.js +0 -51
  520. package/bundled/workflow/session-workflow-mode.js.map +0 -1
@@ -1,23 +0,0 @@
1
- import { resolveApiKeyValue } from "./llm-config.js";
2
- import { toProviderModelConfig } from "./llm-provider-catalog.js";
3
-
4
- function registerOneProvider(register, provider) {
5
- const apiKey =
6
- resolveApiKeyValue(provider.apiKey) ?? (provider.autodetected ? provider.apiKey : undefined);
7
- register(provider.id, {
8
- name: provider.name?.trim() || provider.id,
9
- baseUrl: provider.baseUrl,
10
- ...(apiKey ? { apiKey } : {}),
11
- api: provider.api ?? "openai-completions",
12
- ...(provider.headers && Object.keys(provider.headers).length > 0
13
- ? { headers: provider.headers }
14
- : {}),
15
- models: provider.models.map(toProviderModelConfig),
16
- });
17
- }
18
- export function registerCustomLlmProviders(register, config) {
19
- for (const provider of config.providers ?? []) {
20
- registerOneProvider(register, provider);
21
- }
22
- }
23
- //# sourceMappingURL=register-custom-llm-providers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"register-custom-llm-providers.js","sourceRoot":"","sources":["../../src/config/register-custom-llm-providers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAclE,SAAS,mBAAmB,CAC1B,QAA2B,EAC3B,QAAmC;IAEnC,MAAM,MAAM,GACV,kBAAkB,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC/F,QAAQ,CAAC,QAAQ,CAAC,EAAE,EAAE;QACpB,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,QAAQ,CAAC,EAAE;QAC1C,OAAO,EAAE,QAAQ,CAAC,OAAO;QACzB,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC7B,GAAG,EAAE,QAAQ,CAAC,GAAG,IAAI,oBAAoB;QACzC,GAAG,CAAC,QAAQ,CAAC,OAAO,IAAI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,MAAM,GAAG,CAAC;YAC9D,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,EAAE;YAC/B,CAAC,CAAC,EAAE,CAAC;QACP,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC;KACnD,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,0BAA0B,CACxC,QAA2B,EAC3B,MAAyB;IAEzB,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,SAAS,IAAI,EAAE,EAAE,CAAC;QAC9C,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAC1C,CAAC;AACH,CAAC"}
@@ -1,18 +0,0 @@
1
- import { toProviderModelConfig } from "./llm-provider-catalog.js";
2
- export type KubbisecLlmProviderPiConfig = {
3
- name?: string;
4
- baseUrl?: string;
5
- headers?: Record<string, string>;
6
- apiKey?: string;
7
- api?: string;
8
- models?: ReturnType<typeof toProviderModelConfig>[];
9
- };
10
- type ProviderRegistrar = (id: string, config: KubbisecLlmProviderPiConfig) => void;
11
- export declare function buildKubbisecLlmProviderConfig(
12
- cwd?: string,
13
- ): KubbisecLlmProviderPiConfig | null;
14
- export declare function registerKubbisecLlmProvider(
15
- register: ProviderRegistrar,
16
- cwd?: string,
17
- ): boolean;
18
- //# sourceMappingURL=register-kubbisec-llm-provider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"register-kubbisec-llm-provider.d.ts","sourceRoot":"","sources":["../../src/config/register-kubbisec-llm-provider.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,qBAAqB,EACtB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,EAAE,CAAC;CACrD,CAAC;AAEF,KAAK,iBAAiB,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,2BAA2B,KAAK,IAAI,CAAC;AA+BnF,wBAAgB,8BAA8B,CAC5C,GAAG,SAAgB,GAClB,2BAA2B,GAAG,IAAI,CAsBpC;AAED,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,iBAAiB,EAC3B,GAAG,SAAgB,GAClB,OAAO,CAMT"}
@@ -1,61 +0,0 @@
1
- import { readLlmConfig } from "./llm-config.js";
2
- import {
3
- KUBBISEC_LLM_PROVIDER_ID,
4
- KUBBISEC_LLM_PROVIDER_NAME,
5
- mergeKubbisecModelCatalog,
6
- toProviderModelConfig,
7
- } from "./llm-provider-catalog.js";
8
-
9
- function resolveLlmBaseUrl() {
10
- return (
11
- process.env.KUBBISEC_AI_LLM_BASE_URL?.trim() ||
12
- process.env.KUBBISEC_PI_LLM_BASE_URL?.trim() ||
13
- process.env.OPENAI_BASE_URL?.trim()
14
- );
15
- }
16
- function resolveModelId(config = readLlmConfig()) {
17
- return (
18
- config.defaultModel?.trim() ||
19
- process.env.KUBBISEC_AI_MODEL_ID?.trim() ||
20
- process.env.KUBBISEC_AI_MODEL?.trim() ||
21
- process.env.KUBBISEC_PI_MODEL?.trim() ||
22
- process.env.NAUS_PI_MODEL?.trim() ||
23
- "gpt-4o"
24
- );
25
- }
26
- function resolveProxyHeaders(token) {
27
- const headers = {
28
- Authorization: `Bearer ${token}`,
29
- "x-api-key": token,
30
- };
31
- const orgId = process.env.KUBBISEC_ORG_ID?.trim();
32
- if (orgId) headers["x-organization-id"] = orgId;
33
- return headers;
34
- }
35
- export function buildKubbisecLlmProviderConfig(cwd = process.cwd()) {
36
- const baseUrl = resolveLlmBaseUrl();
37
- if (!baseUrl) return null;
38
- const token =
39
- process.env.KUBBISEC_JOB_TOKEN?.trim() ||
40
- process.env.KUBBISEC_API_KEY?.trim() ||
41
- process.env.OPENAI_API_KEY?.trim();
42
- const headers = token ? resolveProxyHeaders(token) : {};
43
- const llmConfig = readLlmConfig(cwd);
44
- const defaultModelId = resolveModelId(llmConfig);
45
- const catalog = mergeKubbisecModelCatalog(defaultModelId, llmConfig.kubbisec?.models);
46
- return {
47
- name: KUBBISEC_LLM_PROVIDER_NAME,
48
- baseUrl,
49
- ...(token ? { apiKey: token } : {}),
50
- api: "openai-completions",
51
- ...(Object.keys(headers).length > 0 ? { headers } : {}),
52
- models: catalog.map(toProviderModelConfig),
53
- };
54
- }
55
- export function registerKubbisecLlmProvider(register, cwd = process.cwd()) {
56
- const config = buildKubbisecLlmProviderConfig(cwd);
57
- if (!config) return false;
58
- register(KUBBISEC_LLM_PROVIDER_ID, config);
59
- return true;
60
- }
61
- //# sourceMappingURL=register-kubbisec-llm-provider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"register-kubbisec-llm-provider.js","sourceRoot":"","sources":["../../src/config/register-kubbisec-llm-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EACL,wBAAwB,EACxB,0BAA0B,EAC1B,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,2BAA2B,CAAC;AAanC,SAAS,iBAAiB;IACxB,OAAO,CACL,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE,IAAI,EAAE;QAC5C,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE,IAAI,EAAE;QAC5C,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,IAAI,EAAE,CACpC,CAA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AC,SAAS,CAAC,CAAC;IACjD,MAAM,OAAO,GAAG,yBAAyB,CAAC,cAAc,EAAE,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAEtF,OAAO;QACL,IAAI,EAAE,0BAA0B;QAChC,OAAO;QACP,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACnC,GAAG,EAAE,oBAAoB;QACzB,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACvD,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC;KAC3C,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,2BAA2B,CACzC,QAA2B,EAC3B,GAAG,GAAG,OAAO,CAAC,GAAG,EAAE;IAEnB,MAAM,MAAM,GAAG,8BAA8B,CAAC,GAAG,CAAC,CAAC;IACnD,IAAI,CAAC,MAAM;QAAE,OAAO,KAAK,CAAC;IAE1B,QAAQ,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC;IAC3C,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -1,4 +0,0 @@
1
- export declare function findAgentsContextFile(startDir: string): string | undefined;
2
- export declare function formatAgentsContextLabel(filePath: string, home?: string): string;
3
- export declare function formatKubbisecContextStatus(filePath: string, home?: string): string;
4
- //# sourceMappingURL=resolve-agents-context-file.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolve-agents-context-file.d.ts","sourceRoot":"","sources":["../../src/config/resolve-agents-context-file.ts"],"names":[],"mappings":"AAMA,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAa1E;AAED,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAgBhF;AAWD,wBAAgB,2BAA2B,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAEnF"}
@@ -1,46 +0,0 @@
1
- import * as fs from "node:fs";
2
- import * as path from "node:path";
3
- import { isAbsolute, relative, resolve, sep } from "node:path";
4
-
5
- const CONTEXT_FILENAMES = ["AGENTS.md", "CLAUDE.md"];
6
- export function findAgentsContextFile(startDir) {
7
- let dir = path.resolve(startDir);
8
- while (true) {
9
- for (const name of CONTEXT_FILENAMES) {
10
- const candidate = path.join(dir, name);
11
- if (fs.existsSync(candidate) && fs.statSync(candidate).isFile()) {
12
- return candidate;
13
- }
14
- }
15
- const parent = path.dirname(dir);
16
- if (parent === dir) return undefined;
17
- dir = parent;
18
- }
19
- }
20
- export function formatAgentsContextLabel(filePath, home) {
21
- const base = path.basename(filePath);
22
- const homeDir = home?.trim();
23
- if (!homeDir) return base;
24
- const resolved = resolve(filePath);
25
- const resolvedHome = resolve(homeDir);
26
- const rel = relative(resolvedHome, resolved);
27
- const insideHome =
28
- rel === "" || (rel !== ".." && !rel.startsWith(`..${sep}`) && !isAbsolute(rel));
29
- if (!insideHome) {
30
- return `${base} (${truncatePathMiddle(resolved, 48)})`;
31
- }
32
- const short = rel === "" ? `~/${base}` : `~${sep}${rel}`;
33
- return truncatePathMiddle(short, 56);
34
- }
35
- function truncatePathMiddle(text, maxLen) {
36
- if (text.length <= maxLen) return text;
37
- const ellipsis = "…";
38
- const room = Math.max(4, maxLen - ellipsis.length);
39
- const head = Math.max(2, Math.ceil(room * 0.45));
40
- const tail = Math.max(2, room - head);
41
- return text.slice(0, head) + ellipsis + text.slice(-tail);
42
- }
43
- export function formatKubbisecContextStatus(filePath, home) {
44
- return `ctx ${formatAgentsContextLabel(filePath, home)}`;
45
- }
46
- //# sourceMappingURL=resolve-agents-context-file.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolve-agents-context-file.js","sourceRoot":"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OAAO,wBAAwB,CAAC,QAAQ,EAAE,IAAI,CAAC,EAAE,CAAC;AAC3D,CAAC"}
@@ -1,17 +0,0 @@
1
- export type ResourceBudget = {
2
- lowResource: boolean;
3
- maxActiveSkills: number;
4
- maxSkillsArgv: number;
5
- routerTopK: number;
6
- gateSampleSize: number;
7
- orchestratorParallel: number;
8
- onlineTrainerConcurrency: number;
9
- telemetryMaxStepsPerFlush: number;
10
- mem0AutoCapture: boolean;
11
- clarifyMaxRounds: number;
12
- editBudgetMaxOps: number;
13
- };
14
- export declare const LOW_RESOURCE_DEFAULTS: Omit<ResourceBudget, "lowResource">;
15
- export declare const NORMAL_RESOURCE_DEFAULTS: Omit<ResourceBudget, "lowResource">;
16
- export declare function resolveResourceBudget(env?: NodeJS.ProcessEnv): ResourceBudget;
17
- //# sourceMappingURL=resource-budget.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resource-budget.d.ts","sourceRoot":"","sources":["../../src/config/resource-budget.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,cAAc,GAAG;IAC3B,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,wBAAwB,EAAE,MAAM,CAAC;IACjC,yBAAyB,EAAE,MAAM,CAAC;IAClC,eAAe,EAAE,OAAO,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,IAAI,CAAC,cAAc,EAAE,aAAa,CAWrE,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,IAAI,CAAC,cAAc,EAAE,aAAa,CAWxE,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,cAAc,CAS1F"}
@@ -1,35 +0,0 @@
1
- import { envFlagOn, isMemoryEnabled } from "./feature-flags.js";
2
- export const LOW_RESOURCE_DEFAULTS = {
3
- maxActiveSkills: 2,
4
- maxSkillsArgv: 2,
5
- routerTopK: 2,
6
- gateSampleSize: 2,
7
- orchestratorParallel: 1,
8
- onlineTrainerConcurrency: 1,
9
- telemetryMaxStepsPerFlush: 20,
10
- mem0AutoCapture: false,
11
- clarifyMaxRounds: 1,
12
- editBudgetMaxOps: 6,
13
- };
14
- export const NORMAL_RESOURCE_DEFAULTS = {
15
- maxActiveSkills: 3,
16
- maxSkillsArgv: 3,
17
- routerTopK: 3,
18
- gateSampleSize: 8,
19
- orchestratorParallel: 3,
20
- onlineTrainerConcurrency: 2,
21
- telemetryMaxStepsPerFlush: 50,
22
- mem0AutoCapture: true,
23
- clarifyMaxRounds: 2,
24
- editBudgetMaxOps: 12,
25
- };
26
- export function resolveResourceBudget(env = process.env) {
27
- const lowResource = envFlagOn(env, "KUBBISEC_LOW_RESOURCE");
28
- const defaults = lowResource ? LOW_RESOURCE_DEFAULTS : NORMAL_RESOURCE_DEFAULTS;
29
- return {
30
- lowResource,
31
- ...defaults,
32
- mem0AutoCapture: lowResource ? false : isMemoryEnabled(env),
33
- };
34
- }
35
- //# sourceMappingURL=resource-budget.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resource-budget.js","sourceRoot":"","sources":["../../src/config/resource-budget.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAgBhE,MAAM,CAAC,MAAM,qBAAqB,GAAwC;IACxE,eAAe,EAAE,CAAC;IAClB,aAAa,EAAE,CAAC;IAChB,UAAU,EAAE,CAAC;IACb,cAAc,EAAE,CAAC;IACjB,oBAAoB,EAAE,CAAC;IACvB,wBAAwB,EAAE,CAAC;IAC3B,yBAAyB,EAAE,EAAE;IAC7B,eAAe,EAAE,KAAK;IACtB,gBAAgB,EAAE,CAAC;IACnB,gBAAgB,EAAE,CAAC;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAwC;IAC3E,eAAe,EAAE,CAAC;IAClB,aAAa,EAAE,CAAC;IAChB,UAAU,EAAE,CAAC;IACb,cAAc,EAAE,CAAC;IACjB,oBAAoB,EAAE,CAAC;IACvB,wBAAwB,EAAE,CAAC;IAC3B,yBAAyB,EAAE,EAAE;IAC7B,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,CAAC;IACnB,gBAAgB,EAAE,EAAE;CACrB,CAAC;AAEF,MAAM,UAAU,qBAAqB,CAAC,MAAyB,OAAO,CAAC,GAAG;IACxE,MAAM,WAAW,GAAG,SAAS,CAAC,GAAG,EAAE,uBAAuB,CAAC,CAAC;IAC5D,MAAM,QAAQ,GAAG,WAAW,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,wBAAwB,CAAC;IAEhF,OAAO;QACL,WAAW;QACX,GAAG,QAAQ;QACX,eAAe,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,eAAe,CAAC,GAAG,CAAC;KAC5D,CAAC;AACJ,CAAC"}
@@ -1,15 +0,0 @@
1
- /** Matches Pi `getAgentDir()` when runtime is branded (`piConfig.configDir: ".kubbisec"`). */
2
- export declare const KUBBISEC_PI_AGENT_CONFIG_DIR = ".kubbisec";
3
- export declare function resolvePiAgentModelsJsonPath(): string;
4
- /**
5
- * Pi resolves `--provider` from models.json before extensions load.
6
- * Materialize KubbiSec (and custom BYOK/local) providers into `~/.kubbisec/agent/models.json`
7
- * so chat bootstrap can use `defaultProvider` from `.kubbisec/llm.json`.
8
- */
9
- export declare function syncKubbisecProvidersToPiModelsJson(
10
- cwd?: string,
11
- options?: {
12
- modelsJsonPath?: string;
13
- },
14
- ): boolean;
15
- //# sourceMappingURL=sync-kubbisec-pi-models.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sync-kubbisec-pi-models.d.ts","sourceRoot":"","sources":["../../src/config/sync-kubbisec-pi-models.ts"],"names":[],"mappings":"AAcA,8FAA8F;AAC9F,eAAO,MAAM,4BAA4B,cAAc,CAAC;AAQxD,wBAAgB,4BAA4B,IAAI,MAAM,CAMrD;AAsCD;;;;GAIG;AACH,wBAAgB,mCAAmC,CACjD,GAAG,SAAgB,EACnB,OAAO,CAAC,EAAE;IAAE,cAAc,CAAC,EAAE,MAAM,CAAA;CAAE,GACpC,OAAO,CA4BT"}
@@ -1,81 +0,0 @@
1
- import * as fs from "node:fs";
2
- import * as os from "node:os";
3
- import * as path from "node:path";
4
- import { readLlmConfig, resolveApiKeyValue } from "./llm-config.js";
5
- import { KUBBISEC_LLM_PROVIDER_ID, toProviderModelConfig } from "./llm-provider-catalog.js";
6
- import { buildKubbisecLlmProviderConfig } from "./register-kubbisec-llm-provider.js";
7
- /** Matches Pi `getAgentDir()` when runtime is branded (`piConfig.configDir: ".kubbisec"`). */
8
- export const KUBBISEC_PI_AGENT_CONFIG_DIR = ".kubbisec";
9
- function expandTildePath(filePath) {
10
- if (filePath === "~") return os.homedir();
11
- if (filePath.startsWith("~/")) return path.join(os.homedir(), filePath.slice(2));
12
- return filePath;
13
- }
14
- export function resolvePiAgentModelsJsonPath() {
15
- const envDir = process.env.KUBBISEC_CODING_AGENT_DIR?.trim();
16
- if (envDir) {
17
- return path.join(expandTildePath(envDir), "models.json");
18
- }
19
- return path.join(os.homedir(), KUBBISEC_PI_AGENT_CONFIG_DIR, "agent", "models.json");
20
- }
21
- function readPiModelsJson(filePath) {
22
- try {
23
- const parsed = JSON.parse(fs.readFileSync(filePath, "utf8"));
24
- if (
25
- parsed &&
26
- typeof parsed === "object" &&
27
- !Array.isArray(parsed) &&
28
- typeof parsed.providers === "object" &&
29
- parsed.providers !== null
30
- ) {
31
- return parsed;
32
- }
33
- } catch {
34
- /* missing or invalid */
35
- }
36
- return { providers: {} };
37
- }
38
- function buildCustomProviderPiEntry(provider) {
39
- const apiKey =
40
- resolveApiKeyValue(provider.apiKey) ?? (provider.autodetected ? provider.apiKey : undefined);
41
- return {
42
- name: provider.name?.trim() || provider.id,
43
- baseUrl: provider.baseUrl,
44
- ...(apiKey ? { apiKey } : {}),
45
- api: provider.api ?? "openai-completions",
46
- ...(provider.headers && Object.keys(provider.headers).length > 0
47
- ? { headers: provider.headers }
48
- : {}),
49
- models: provider.models.map(toProviderModelConfig),
50
- };
51
- }
52
- /**
53
- * Pi resolves `--provider` from models.json before extensions load.
54
- * Materialize KubbiSec (and custom BYOK/local) providers into `~/.kubbisec/agent/models.json`
55
- * so chat bootstrap can use `defaultProvider` from `.kubbisec/llm.json`.
56
- */
57
- export function syncKubbisecProvidersToPiModelsJson(cwd = process.cwd(), options) {
58
- const kubbisec = buildKubbisecLlmProviderConfig(cwd);
59
- const customProviders = readLlmConfig(cwd).providers ?? [];
60
- if (!kubbisec && customProviders.length === 0) {
61
- return false;
62
- }
63
- const filePath = options?.modelsJsonPath ?? resolvePiAgentModelsJsonPath();
64
- fs.mkdirSync(path.dirname(filePath), { recursive: true, mode: 0o755 });
65
- const existing = readPiModelsJson(filePath);
66
- const providers = {
67
- ...existing.providers,
68
- };
69
- if (kubbisec) {
70
- providers[KUBBISEC_LLM_PROVIDER_ID] = kubbisec;
71
- }
72
- for (const provider of customProviders) {
73
- providers[provider.id] = buildCustomProviderPiEntry(provider);
74
- }
75
- fs.writeFileSync(filePath, `${JSON.stringify({ providers }, null, 2)}\n`, {
76
- encoding: "utf8",
77
- mode: 0o600,
78
- });
79
- return Boolean(kubbisec);
80
- }
81
- //# sourceMappingURL=sync-kubbisec-pi-models.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sync-kubbisec-pi-models.js","sourceRoot":"","sources":["../../src/config/sync-kubbisec-pi-models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,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IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC9C,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,QAAQ,GAAG,OAAO,EAAE,cAAc,IAAI,4BAA4B,EAAE,CAAC;IAC3E,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;IAEvE,MAAM,QAAQ,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAC5C,MAAM,SAAS,GAAgD;QAC7D,GAAG,QAAQ,CAAC,SAAS;KACtB,CAAC;IAEF,IAAI,QAAQ,EAAE,CAAC;QACb,SAAS,CAAC,wBAAwB,CAAC,GAAG,QAAQ,CAAC;IACjD,CAAC;IACD,KAAK,MAAM,QAAQ,IAAI,eAAe,EAAE,CAAC;QACvC,SAAS,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,0BAA0B,CAAC,QAAQ,CAAC,CAAC;IAChE,CAAC;IAED,EAAE,CAAC,aAAa,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE;QACxE,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,KAAK;KACZ,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC3B,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Compact CLI index preloaded into kubbisec chat system prompt.
3
- * Keep in sync with apps/web/.../aspm-commands.md, naus-commands.md, and ai-commands.md.
4
- */
5
- export declare const KUBBISEC_CLI_REFERENCE_INDEX =
6
- "<cli-reference-index>\nASPM CLI (npm install -g @kubbisec/aspm):\n| Command | Purpose |\n| aspm init | Interactive setup |\n| aspm login | Configure credentials |\n| aspm whoami | Show current config |\n| aspm doctor | Diagnose configuration |\n| aspm scan <file> -s <source> | Local parse only (no API upload) |\n| aspm parse <file> -s <source> | Local dry-run parse |\n| aspm upload <file> -s <source> | Upload security report to API |\n| aspm coverage <file> | Upload coverage (lcov) |\n| aspm parse-coverage <file> | Local coverage parse |\n| aspm gate | Evaluate local reports against inline rules |\n| aspm projects | List org projects |\n| aspm dashboard | Terminal security posture summary |\nGlobal flags: -k/--api-key, -o/--org (org slug, e.g. minha-empresa), -p/--project\nAPI key: Perfil \u2192 API Keys (/profile/api-keys), prefix aspm_\nEnv: KUBBISEC_API_KEY, KUBBISEC_ORG_ID (slug), KUBBISEC_PROJECT (aliases ASPM_API_URL, ASPM_API_KEY, ASPM_ORG_ID)\nScanners (-s): trivy, gitleaks, syft, osv, semgrep, sonar, nmap, skipfish\nReport files: trivy-report.json, gitleaks-report.json, sbom.json, osv-report.json, semgrep-report.json, sonar-report.json, nmap-report.xml, skipfish-report.json\nPer-scanner install (Linux/macOS/Windows): kubbisec://aspm/aspm-scanner-{name} (e.g. aspm-scanner-trivy, aspm-scanner-semgrep)\nCoverage frameworks: kubbisec://aspm/aspm-coverage (Jest, Vitest, pytest, JaCoCo\u2192lcov, PHPUnit/clover, Go)\n\nNAUS CLI (npm install -g @kubbisec/naus):\n| Command | Purpose |\n| naus register [token] [--renew] | Enroll runner (mTLS bootstrap) |\n| naus start [--daemon] [--allow-privileged] | Start runner daemon |\n| naus migrate | Migrate legacy token runner to mTLS |\n| naus validate <file> / naus check <file> | Validate pipeline YAML |\n| naus plan <file> [--format mermaid] | Show dependency waves |\n| naus run <file> | Execute pipeline locally |\n| naus daemon list / naus daemon stop | Background runner sessions |\nDefault pipeline file: .naus.yml\nLocal env: naus run .naus.yml [--env-file .env] [--secret-file .secrets|.secret] (repeatable; defaults .env/.secrets in cwd).\nCloud secrets: Env Packs in KubbiSec UI (not .secrets on remote runner).\nEnv: NAUS_BOOTSTRAP_TOKEN, NAUS_RENEW_RUNNER\n\nKubbiSec AI CLI (npm install -g @kubbisec/ai):\n| Command | Purpose |\n| kubbisec login / logout / whoami | API session |\n| kubbisec doctor | Diagnose CLI setup |\n| kubbisec ls / show <id> | List/show findings |\n| kubbisec fix <id> [-m auto] | AI remediation |\n| kubbisec chat | Interactive terminal chat |\n| kubbisec do [intent] | Orchestrated agent run |\n| kubbisec watch [--logs] | Remediation queue daemon |\n| kubbisec daemon list|logs|stop | Manage watch sessions |\n| kubbisec ap | Trigger Autopilot cycle |\n| kubbisec naus \u2026 / kubbisec aspm \u2026 | CLI hub forwarding |\nAPI key: Perfil \u2192 API Keys (/profile/api-keys), prefix kbs_\nOrg: -o minha-empresa (slug)\nFull docs: kubbisec://ai/README, section ai-commands\n\nNAUS YAML (NOT GitHub Actions): top-level run: (never jobs:); script: + depends_on: (never commands:/needs:); ASPM jobs kind: aspm|aspm_matrix|aspm_gate with tool: (never scanner:).\nFull docs via tools: aspm_docs (section aspm-commands), naus_pipeline_docs (naus-commands, naus-pipeline-overview, naus-aspm-integration), kubbisec://ai/* (KubbiSec AI CLI).\naspm-cicd.md is GitHub Actions only \u2014 do not use for NAUS pipelines.\n</cli-reference-index>";
7
- //# sourceMappingURL=cli-reference-index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cli-reference-index.d.ts","sourceRoot":"","sources":["../../src/copy/cli-reference-index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,4BAA4B,y3GAwDlB,CAAC"}
@@ -1,62 +0,0 @@
1
- /**
2
- * Compact CLI index preloaded into kubbisec chat system prompt.
3
- * Keep in sync with apps/web/.../aspm-commands.md, naus-commands.md, and ai-commands.md.
4
- */
5
- export const KUBBISEC_CLI_REFERENCE_INDEX = `<cli-reference-index>
6
- ASPM CLI (npm install -g @kubbisec/aspm):
7
- | Command | Purpose |
8
- | aspm init | Interactive setup |
9
- | aspm login | Configure credentials |
10
- | aspm whoami | Show current config |
11
- | aspm doctor | Diagnose configuration |
12
- | aspm scan <file> -s <source> | Local parse only (no API upload) |
13
- | aspm parse <file> -s <source> | Local dry-run parse |
14
- | aspm upload <file> -s <source> | Upload security report to API |
15
- | aspm coverage <file> | Upload coverage (lcov) |
16
- | aspm parse-coverage <file> | Local coverage parse |
17
- | aspm gate | Evaluate local reports against inline rules |
18
- | aspm projects | List org projects |
19
- | aspm dashboard | Terminal security posture summary |
20
- Global flags: -k/--api-key, -o/--org (org slug, e.g. minha-empresa), -p/--project
21
- API key: Perfil → API Keys (/profile/api-keys), prefix aspm_
22
- Env: KUBBISEC_API_KEY, KUBBISEC_ORG_ID (slug), KUBBISEC_PROJECT (aliases ASPM_API_URL, ASPM_API_KEY, ASPM_ORG_ID)
23
- Scanners (-s): trivy, gitleaks, syft, osv, semgrep, sonar, nmap, skipfish
24
- Report files: trivy-report.json, gitleaks-report.json, sbom.json, osv-report.json, semgrep-report.json, sonar-report.json, nmap-report.xml, skipfish-report.json
25
- Per-scanner install (Linux/macOS/Windows): kubbisec://aspm/aspm-scanner-{name} (e.g. aspm-scanner-trivy, aspm-scanner-semgrep)
26
- Coverage frameworks: kubbisec://aspm/aspm-coverage (Jest, Vitest, pytest, JaCoCo→lcov, PHPUnit/clover, Go)
27
-
28
- NAUS CLI (npm install -g @kubbisec/naus):
29
- | Command | Purpose |
30
- | naus register [token] [--renew] | Enroll runner (mTLS bootstrap) |
31
- | naus start [--daemon] [--allow-privileged] | Start runner daemon |
32
- | naus migrate | Migrate legacy token runner to mTLS |
33
- | naus validate <file> / naus check <file> | Validate pipeline YAML |
34
- | naus plan <file> [--format mermaid] | Show dependency waves |
35
- | naus run <file> | Execute pipeline locally |
36
- | naus daemon list / naus daemon stop | Background runner sessions |
37
- Default pipeline file: .naus.yml
38
- Local env: naus run .naus.yml [--env-file .env] [--secret-file .secrets|.secret] (repeatable; defaults .env/.secrets in cwd).
39
- Cloud secrets: Env Packs in KubbiSec UI (not .secrets on remote runner).
40
- Env: NAUS_BOOTSTRAP_TOKEN, NAUS_RENEW_RUNNER
41
-
42
- KubbiSec AI CLI (npm install -g @kubbisec/ai):
43
- | Command | Purpose |
44
- | kubbisec login / logout / whoami | API session |
45
- | kubbisec doctor | Diagnose CLI setup |
46
- | kubbisec ls / show <id> | List/show findings |
47
- | kubbisec fix <id> [-m auto] | AI remediation |
48
- | kubbisec chat | Interactive terminal chat |
49
- | kubbisec do [intent] | Orchestrated agent run |
50
- | kubbisec watch [--logs] | Remediation queue daemon |
51
- | kubbisec daemon list|logs|stop | Manage watch sessions |
52
- | kubbisec ap | Trigger Autopilot cycle |
53
- | kubbisec naus … / kubbisec aspm … | CLI hub forwarding |
54
- API key: Perfil → API Keys (/profile/api-keys), prefix kbs_
55
- Org: -o minha-empresa (slug)
56
- Full docs: kubbisec://ai/README, section ai-commands
57
-
58
- NAUS YAML (NOT GitHub Actions): top-level run: (never jobs:); script: + depends_on: (never commands:/needs:); ASPM jobs kind: aspm|aspm_matrix|aspm_gate with tool: (never scanner:).
59
- Full docs via tools: aspm_docs (section aspm-commands), naus_pipeline_docs (naus-commands, naus-pipeline-overview, naus-aspm-integration), kubbisec://ai/* (KubbiSec AI CLI).
60
- aspm-cicd.md is GitHub Actions only — do not use for NAUS pipelines.
61
- </cli-reference-index>`;
62
- //# sourceMappingURL=cli-reference-index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cli-reference-index.js","sourceRoot":"","sources":["../../src/copy/cli-reference-index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAwDrB,CAAC"}
@@ -1,26 +0,0 @@
1
- /** Shared KubbiSec AI TUI copy (CLI extensions). */
2
- export declare const KUBBISEC_PRODUCT_NAME = "KubbiSec Assistant";
3
- export declare const KUBBISEC_SUBTITLE_LINE =
4
- "Assistant \u00B7 ASPM Remediation \u00B7 Naus CI \u00B7 Coding";
5
- export declare const KUBBISEC_COMPACT_HEADER_TAGLINE =
6
- "Assistant \u00B7 ASPM Remediation \u00B7 Naus CI \u00B7 Coding";
7
- export declare const KUBBISEC_WORDMARK = "KUBBISEC";
8
- export declare const KUBBISEC_EDITOR_LABEL = "Coding";
9
- export declare const KUBBISEC_EDITOR_PLACEHOLDER = "Ask anything...";
10
- /** Skill invoke pattern shown in the chat header hints row. */
11
- export declare const KUBBISEC_HEADER_HINTS_SKILL = "@skill name";
12
- export declare const KUBBISEC_EXIT_SLASH_COMMAND = "/exit";
13
- export declare const KUBBISEC_HEADER_HINTS_COMMANDS =
14
- "kubbisec fix \u00B7 kubbisec watch \u00B7 kubbisec ls \u00B7 /help \u00B7 /exit";
15
- /** @deprecated Use KUBBISEC_HEADER_HINTS_SKILL + KUBBISEC_HEADER_HINTS_COMMANDS */
16
- export declare const KUBBISEC_HEADER_HINTS =
17
- "@skill name \u00B7 kubbisec fix \u00B7 kubbisec watch \u00B7 kubbisec ls \u00B7 /help \u00B7 /exit";
18
- /** @deprecated Verbose TUI only (KUBBISEC_TUI_VERBOSE=1) */
19
- export declare const KUBBISEC_RAIL_HINT = "chat \u00B7 org BYOK";
20
- export declare const KUBBISEC_PROVIDER_LABEL = "kubbisec";
21
- /** @deprecated Verbose TUI only */
22
- export declare const KUBBISEC_RAIL_LINE = "KubbiSec Assistant \u00B7 chat \u00B7 org BYOK";
23
- /** @deprecated Verbose TUI only */
24
- export declare const KUBBISEC_HEADER_TAGLINE =
25
- "Assistant \u00B7 ASPM Remediation \u00B7 Naus CI \u00B7 Coding";
26
- //# sourceMappingURL=kubbisec-shell-copy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"kubbisec-shell-copy.d.ts","sourceRoot":"","sources":["../../src/copy/kubbisec-shell-copy.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,eAAO,MAAM,qBAAqB,uBAAuB,CAAC;AAC1D,eAAO,MAAM,sBAAsB,mEAAoD,CAAC;AACxF,eAAO,MAAM,+BAA+B,mEAAyB,CAAC;AACtE,eAAO,MAAM,iBAAiB,aAAa,CAAC;AAC5C,eAAO,MAAM,qBAAqB,WAAW,CAAC;AAC9C,eAAO,MAAM,2BAA2B,oBAAoB,CAAC;AAC7D,+DAA+D;AAC/D,eAAO,MAAM,2BAA2B,gBAAgB,CAAC;AACzD,eAAO,MAAM,2BAA2B,UAAU,CAAC;AACnD,eAAO,MAAM,8BAA8B,oFAAyF,CAAC;AACrI,mFAAmF;AACnF,eAAO,MAAM,qBAAqB,uGAAuE,CAAC;AAC1G,4DAA4D;AAC5D,eAAO,MAAM,kBAAkB,yBAAoB,CAAC;AACpD,eAAO,MAAM,uBAAuB,aAAa,CAAC;AAClD,mCAAmC;AACnC,eAAO,MAAM,kBAAkB,mDAAqD,CAAC;AACrF,mCAAmC;AACnC,eAAO,MAAM,uBAAuB,mEAAyB,CAAC"}
@@ -1,21 +0,0 @@
1
- /** Shared KubbiSec AI TUI copy (CLI extensions). */
2
- export const KUBBISEC_PRODUCT_NAME = "KubbiSec Assistant";
3
- export const KUBBISEC_SUBTITLE_LINE = "Assistant · ASPM Remediation · Naus CI · Coding";
4
- export const KUBBISEC_COMPACT_HEADER_TAGLINE = KUBBISEC_SUBTITLE_LINE;
5
- export const KUBBISEC_WORDMARK = "KUBBISEC";
6
- export const KUBBISEC_EDITOR_LABEL = "Coding";
7
- export const KUBBISEC_EDITOR_PLACEHOLDER = "Ask anything...";
8
- /** Skill invoke pattern shown in the chat header hints row. */
9
- export const KUBBISEC_HEADER_HINTS_SKILL = "@skill name";
10
- export const KUBBISEC_EXIT_SLASH_COMMAND = "/exit";
11
- export const KUBBISEC_HEADER_HINTS_COMMANDS = `kubbisec fix · kubbisec watch · kubbisec ls · /help · ${KUBBISEC_EXIT_SLASH_COMMAND}`;
12
- /** @deprecated Use KUBBISEC_HEADER_HINTS_SKILL + KUBBISEC_HEADER_HINTS_COMMANDS */
13
- export const KUBBISEC_HEADER_HINTS = `${KUBBISEC_HEADER_HINTS_SKILL} · ${KUBBISEC_HEADER_HINTS_COMMANDS}`;
14
- /** @deprecated Verbose TUI only (KUBBISEC_TUI_VERBOSE=1) */
15
- export const KUBBISEC_RAIL_HINT = "chat · org BYOK";
16
- export const KUBBISEC_PROVIDER_LABEL = "kubbisec";
17
- /** @deprecated Verbose TUI only */
18
- export const KUBBISEC_RAIL_LINE = `${KUBBISEC_PRODUCT_NAME} · ${KUBBISEC_RAIL_HINT}`;
19
- /** @deprecated Verbose TUI only */
20
- export const KUBBISEC_HEADER_TAGLINE = KUBBISEC_SUBTITLE_LINE;
21
- //# sourceMappingURL=kubbisec-shell-copy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"kubbisec-shell-copy.js","sourceRoot":"","sources":["../../src/copy/kubbisec-shell-copy.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,MAAM,CAAC,MAAM,qBAAqB,GAAG,oBAAoB,CAAC;AAC1D,MAAM,CAAC,MAAM,sBAAsB,GAAG,iDAAiD,CAAC;AACxF,MAAM,CAAC,MAAM,+BAA+B,GAAG,sBAAsB,CAAC;AACtE,MAAM,CAAC,MAAM,iBAAiB,GAAG,UAAU,CAAC;AAC5C,MAAM,CAAC,MAAM,qBAAqB,GAAG,QAAQ,CAAC;AAC9C,MAAM,CAAC,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;AAC7D,+DAA+D;AAC/D,MAAM,CAAC,MAAM,2BAA2B,GAAG,aAAa,CAAC;AACzD,MAAM,CAAC,MAAM,2BAA2B,GAAG,OAAO,CAAC;AACnD,MAAM,CAAC,MAAM,8BAA8B,GAAG,yDAAyD,2BAA2B,EAAE,CAAC;AACrI,mFAAmF;AACnF,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,2BAA2B,MAAM,8BAA8B,EAAE,CAAC;AAC1G,4DAA4D;AAC5D,MAAM,CAAC,MAAM,kBAAkB,GAAG,iBAAiB,CAAC;AACpD,MAAM,CAAC,MAAM,uBAAuB,GAAG,UAAU,CAAC;AAClD,mCAAmC;AACnC,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,qBAAqB,MAAM,kBAAkB,EAAE,CAAC;AACrF,mCAAmC;AACnC,MAAM,CAAC,MAAM,uBAAuB,GAAG,sBAAsB,CAAC"}
@@ -1,17 +0,0 @@
1
- # Edit format (normative)
2
-
3
- SkillOpt overlay edits use ADD / DEL / REP operations inside a fenced `edits` block.
4
-
5
- ```edits
6
- ADD after "## Usage":
7
- - New guidance line.
8
-
9
- DEL line matching "deprecated step".
10
-
11
- REP "old text" with "new text".
12
- ```
13
-
14
- Rules:
15
- - One operation per block section.
16
- - No frontmatter changes.
17
- - Maximum operations enforced by edit budget.
@@ -1,65 +0,0 @@
1
- export { extendedContextEnabled } from "../config/extended-context.js";
2
- export declare const CLI_LOCAL_MAX_OUTPUT_CHARS = 12000;
3
- export declare const NAUS_LOCAL_RUN_TIMEOUT_MS: number;
4
- export type ExecCaptureResult = {
5
- code: number;
6
- stdout: string;
7
- stderr: string;
8
- };
9
- export type CliToolDetails = {
10
- ok: boolean;
11
- exitCode: number;
12
- userMessage: string;
13
- };
14
- export declare function resolveWorkspace(): string;
15
- export declare function truncateCliOutput(text: string, max?: number): string;
16
- export declare function denyExtendedContextMessage(): {
17
- content: Array<{
18
- type: "text";
19
- text: string;
20
- }>;
21
- };
22
- /** Full subprocess output for model debug (extended context + debug flag). */
23
- export declare function formatExecResultForModel(
24
- bin: string,
25
- args: string[],
26
- cwd: string,
27
- result: ExecCaptureResult,
28
- ): string;
29
- /** @deprecated use formatExecResultForModel */
30
- export declare const formatExecResult: typeof formatExecResultForModel;
31
- export declare function formatExecResultForUser(
32
- bin: string,
33
- result: ExecCaptureResult,
34
- ): CliToolDetails;
35
- export declare function buildCliToolResult(
36
- bin: string,
37
- args: string[],
38
- cwd: string,
39
- result: ExecCaptureResult,
40
- suffix?: string,
41
- ): {
42
- content: Array<{
43
- type: "text";
44
- text: string;
45
- }>;
46
- details: CliToolDetails;
47
- };
48
- export declare function cliToolErrorContent(error: unknown): {
49
- content: Array<{
50
- type: "text";
51
- text: string;
52
- }>;
53
- details: CliToolDetails;
54
- };
55
- export declare function execCapture(
56
- bin: string,
57
- args: string[],
58
- cwd: string,
59
- options?: {
60
- signal?: AbortSignal;
61
- timeoutMs?: number;
62
- },
63
- ): Promise<ExecCaptureResult>;
64
- export declare function resolvePathInWorkspace(relativePath: string, workspace: string): string;
65
- //# sourceMappingURL=cli-local-shared.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cli-local-shared.d.ts","sourceRoot":"","sources":["../../src/extensions/cli-local-shared.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,eAAO,MAAM,0BAA0B,QAAS,CAAC;AACjD,eAAO,MAAM,yBAAyB,QAAiB,CAAC;AAExD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,OAAO,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,wBAAgB,gBAAgB,IAAI,MAAM,CAEzC;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,SAA6B,GAAG,MAAM,CAGxF;AAED,wBAAgB,0BAA0B,IAAI;IAAE,OAAO,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAAE,CAS/F;AAED,8EAA8E;AAC9E,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EAAE,EACd,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,iBAAiB,GACxB,MAAM,CAWR;AAED,+CAA+C;AAC/C,eAAO,MAAM,gBAAgB,iCAA2B,CAAC;AAEzD,wBAAgB,uB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