@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,79 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.API_KEY_SCOPE_PRESETS = exports.API_KEY_SCOPE_PRESET_LABELS = exports.API_KEY_SCOPE_PRESET_IDS = exports.KUBBISEC_API_KEY_DEFAULT_PREFIX = exports.API_KEY_SCOPES_VERSION = void 0;
4
- exports.isApiKeyScopePresetId = isApiKeyScopePresetId;
5
- exports.resolveApiKeyScopePreset = resolveApiKeyScopePreset;
6
- exports.permissionsToApiKeyStatements = permissionsToApiKeyStatements;
7
- exports.normalizeApiKeyScopeSelection = normalizeApiKeyScopeSelection;
8
- /** Current API key authorization model (GitHub PAT-style scopes). */
9
- exports.API_KEY_SCOPES_VERSION = 2;
10
- exports.KUBBISEC_API_KEY_DEFAULT_PREFIX = "kbsc_";
11
- exports.API_KEY_SCOPE_PRESET_IDS = [
12
- "cli-dev",
13
- "ci-ingest",
14
- "naus-runner",
15
- "aspm-ingest",
16
- "assistant-chat",
17
- ];
18
- const CLI_DEV_SCOPES = [
19
- "kbsc.ai.assistant.use",
20
- "kbsc.finding.read",
21
- "kbsc.finding.remediation.manage",
22
- "kbsc.project.ai-autopilot.run",
23
- "kbsc.ingest.report.create",
24
- "kbsc.scan.read",
25
- "kbsc.scan.trigger",
26
- ];
27
- const CI_INGEST_SCOPES = [
28
- "kbsc.ingest.report.create",
29
- "kbsc.ingest.coverage.create",
30
- ];
31
- const NAUS_RUNNER_SCOPES = [
32
- "kbsc.ci.read",
33
- "kbsc.ci.pipeline.manage",
34
- "kbsc.ci.privileged.run",
35
- "kbsc.ci.runner.manage",
36
- "kbsc.ci.envpack.manage",
37
- "kbsc.ingest.report.create",
38
- "kbsc.ingest.coverage.create",
39
- ];
40
- const ASPM_INGEST_SCOPES = [
41
- "kbsc.ingest.report.create",
42
- "kbsc.ingest.coverage.create",
43
- ];
44
- const ASSISTANT_CHAT_SCOPES = ["kbsc.ai.assistant.use"];
45
- exports.API_KEY_SCOPE_PRESET_LABELS = {
46
- "cli-dev": "KubbiSec CLI (scan, watch, remediation)",
47
- "ci-ingest": "CI ingest (reports + coverage, project-scoped)",
48
- "naus-runner": "Naus runner + CI + ingest",
49
- "aspm-ingest": "ASPM ingest (reports + coverage)",
50
- "assistant-chat": "Assistant chat only (in-app / proxy)",
51
- };
52
- exports.API_KEY_SCOPE_PRESETS = {
53
- "cli-dev": CLI_DEV_SCOPES,
54
- "ci-ingest": CI_INGEST_SCOPES,
55
- "naus-runner": NAUS_RUNNER_SCOPES,
56
- "aspm-ingest": ASPM_INGEST_SCOPES,
57
- "assistant-chat": ASSISTANT_CHAT_SCOPES,
58
- };
59
- function isApiKeyScopePresetId(value) {
60
- return exports.API_KEY_SCOPE_PRESET_IDS.includes(value);
61
- }
62
- function resolveApiKeyScopePreset(id) {
63
- return [...exports.API_KEY_SCOPE_PRESETS[id]];
64
- }
65
- function permissionsToApiKeyStatements(permissions) {
66
- return { kubbisec: [...permissions] };
67
- }
68
- function normalizeApiKeyScopeSelection(permissions) {
69
- const seen = new Set();
70
- const ordered = [];
71
- for (const perm of permissions) {
72
- if (!perm.startsWith("kbsc.") || seen.has(perm))
73
- continue;
74
- seen.add(perm);
75
- ordered.push(perm);
76
- }
77
- return ordered;
78
- }
79
- //# sourceMappingURL=api-key-scope-presets.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api-key-scope-presets.js","sourceRoot":"","sources":["../../src/api-key/api-key-scope-presets.ts"],"names":[],"mappings":";;;AAiEA,sDAEC;AAED,4DAEC;AAED,sEAIC;AAED,sEAWC;AAxFD,qEAAqE;AACxD,QAAA,sBAAsB,GAAG,CAAC,CAAC;AAE3B,QAAA,+BAA+B,GAAG,OAAO,CAAC;AAE1C,QAAA,wBAAwB,GAAG;IACtC,SAAS;IACT,WAAW;IACX,aAAa;IACb,aAAa;IACb,gBAAgB;CACR,CAAC;AAIX,MAAM,cAAc,GAAG;IACrB,uBAAuB;IACvB,mBAAmB;IACnB,iCAAiC;IACjC,+BAA+B;IAC/B,2BAA2B;IAC3B,gBAAgB;IAChB,mBAAmB;CACW,CAAC;AAEjC,MAAM,gBAAgB,GAAG;IACvB,2BAA2B;IAC3B,6BAA6B;CACC,CAAC;AAEjC,MAAM,kBAAkB,GAAG;IACzB,cAAc;IACd,yBAAyB;IACzB,wBAAwB;IACxB,uBAAuB;IACvB,wBAAwB;IACxB,2BAA2B;IAC3B,6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CAAC;AACjB,CAAC"}
@@ -1,4 +0,0 @@
1
- export * from "./api-key-scope-groups";
2
- export * from "./api-key-scope-presets";
3
- export * from "./migrate-api-key-metadata";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api-key/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC"}
@@ -1,20 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./api-key-scope-groups"), exports);
18
- __exportStar(require("./api-key-scope-presets"), exports);
19
- __exportStar(require("./migrate-api-key-metadata"), exports);
20
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api-key/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,0DAAwC;AACxC,6DAA2C"}
@@ -1,20 +0,0 @@
1
- import type { KubbisecPermission } from "../rbac/kubbisec-permissions";
2
- import { type ApiKeyScopePresetId } from "./api-key-scope-presets";
3
- export declare const PROJECT_CI_API_KEY_KIND: "project-ci-aspm-connection";
4
- export declare const KBS_CLI_API_KEY_KIND: "kbs_cli";
5
- export type ApiKeyMetadataRecord = Record<string, unknown>;
6
- export type MigrateApiKeyRowInput = {
7
- metadata: string | null;
8
- permissions: string | null;
9
- prefix: string | null;
10
- };
11
- export type MigrateApiKeyRowResult = {
12
- metadata: ApiKeyMetadataRecord;
13
- permissions: KubbisecPermission[];
14
- scopePreset: ApiKeyScopePresetId | null;
15
- };
16
- /**
17
- * Maps legacy product/kind keys to explicit scope lists (scopes v2).
18
- */
19
- export declare function migrateApiKeyRow(input: MigrateApiKeyRowInput): MigrateApiKeyRowResult;
20
- //# sourceMappingURL=migrate-api-key-metadata.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"migrate-api-key-metadata.d.ts","sourceRoot":"","sources":["../../src/api-key/migrate-api-key-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,OAAO,EAGL,KAAK,mBAAmB,EAGzB,MAAM,yBAAyB,CAAC;AAEjC,eAAO,MAAM,uBAAuB,EAAG,4BAAqC,CAAC;AAC7E,eAAO,MAAM,oBAAoB,EAAG,SAAkB,CAAC;AAEvD,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE3D,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,WAAW,EAAE,kBAAkB,EAAE,CAAC;IAClC,WAAW,EAAE,mBAAmB,GAAG,IAAI,CAAC;CACzC,CAAC;AAmCF;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,GAAG,sBAAsB,CAgCrF"}
@@ -1,78 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.KBS_CLI_API_KEY_KIND = exports.PROJECT_CI_API_KEY_KIND = void 0;
4
- exports.migrateApiKeyRow = migrateApiKeyRow;
5
- const resolve_org_permissions_1 = require("../rbac/resolve-org-permissions");
6
- const api_key_scope_presets_1 = require("./api-key-scope-presets");
7
- exports.PROJECT_CI_API_KEY_KIND = "project-ci-aspm-connection";
8
- exports.KBS_CLI_API_KEY_KIND = "kbs_cli";
9
- function parseMetadata(raw) {
10
- if (!raw)
11
- return {};
12
- try {
13
- const parsed = JSON.parse(raw);
14
- if (typeof parsed === "object" && parsed !== null && !Array.isArray(parsed)) {
15
- return parsed;
16
- }
17
- }
18
- catch {
19
- // ignore
20
- }
21
- return {};
22
- }
23
- function readExistingPermissions(raw) {
24
- if (!raw)
25
- return [];
26
- try {
27
- const json = JSON.parse(raw);
28
- return (0, resolve_org_permissions_1.parseApiKeyPermissionsJson)(json) ?? [];
29
- }
30
- catch {
31
- return [];
32
- }
33
- }
34
- function inferPreset(metadata, prefix) {
35
- if (metadata.kind === exports.PROJECT_CI_API_KEY_KIND)
36
- return "ci-ingest";
37
- if (metadata.kind === exports.KBS_CLI_API_KEY_KIND)
38
- return "cli-dev";
39
- if (metadata.product === "naus")
40
- return "naus-runner";
41
- if (metadata.product === "assistant")
42
- return "cli-dev";
43
- if (metadata.product === "aspm" || prefix === "aspm")
44
- return "aspm-ingest";
45
- if (prefix === "kbs_" || prefix === "kbsc" || prefix === "kbsc_")
46
- return "cli-dev";
47
- return "aspm-ingest";
48
- }
49
- /**
50
- * Maps legacy product/kind keys to explicit scope lists (scopes v2).
51
- */
52
- function migrateApiKeyRow(input) {
53
- const metadata = parseMetadata(input.metadata);
54
- const existing = readExistingPermissions(input.permissions);
55
- const scopePresetFromMeta = typeof metadata.scopePreset === "string" && (0, api_key_scope_presets_1.isApiKeyScopePresetId)(metadata.scopePreset)
56
- ? metadata.scopePreset
57
- : null;
58
- const scopePreset = scopePresetFromMeta ?? inferPreset(metadata, input.prefix);
59
- const presetScopes = [...api_key_scope_presets_1.API_KEY_SCOPE_PRESETS[scopePreset]];
60
- const permissions = existing.length > 0
61
- ? (0, api_key_scope_presets_1.normalizeApiKeyScopeSelection)(existing)
62
- : (0, api_key_scope_presets_1.normalizeApiKeyScopeSelection)(presetScopes);
63
- const nextMetadata = {
64
- ...metadata,
65
- scopesVersion: api_key_scope_presets_1.API_KEY_SCOPES_VERSION,
66
- scopePreset,
67
- };
68
- if (metadata.product != null) {
69
- nextMetadata.legacyProduct = metadata.product;
70
- delete nextMetadata.product;
71
- }
72
- return {
73
- metadata: nextMetadata,
74
- permissions,
75
- scopePreset,
76
- };
77
- }
78
- //# sourceMappingURL=migrate-api-key-metadata.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"migrate-api-key-metadata.js","sourceRoot":"","sources":["../../src/api-key/migrate-api-key-metadata.ts"],"names":[],"mappings":";;;AA+DA,4CAgCC;AA9FD,6EAA6E;AAC7E,mEAMiC;AAEpB,QAAA,uBAAuB,GAAG,4BAAqC,CAAC;AAChE,QAAA,oBAAoB,GAAG,SAAkB,CAAC;AAgBvD,SAAS,aAAa,CAAC,GAAkB;IACvC,IAAI,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC;IACpB,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAY,CAAC;QAC1C,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;YAC5E,OAAO,MAA8B,CAAC;QACxC,CAAC;IACH,CAAC;IAAC,MAAM,CAAC;QACP,SAAS;IACX,CAAC;IACD,OAAO,EAAE,CAAC;AACZ,CAAC;AAED,SAAS,uBAAuB,CAAC,GAAkB;IACjD,IAAI,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC;IACpB,IAAI,CAAC;QACH,MAAM,IAAI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AC,GAAG,6CAAqB,CAAC,WAAW,CAAC,CAAC,CAAC;IAC7D,MAAM,WAAW,GACf,QAAQ,CAAC,MAAM,GAAG,CAAC;QACjB,CAAC,CAAC,IAAA,qDAA6B,EAAC,QAAQ,CAAC;QACzC,CAAC,CAAC,IAAA,qDAA6B,EAAC,YAAY,CAAC,CAAC;IAElD,MAAM,YAAY,GAAyB;QACzC,GAAG,QAAQ;QACX,aAAa,EAAE,8CAAsB;QACrC,WAAW;KACZ,CAAC;IAEF,IAAI,QAAQ,CAAC,OAAO,IAAI,IAAI,EAAE,CAAC;QAC7B,YAAY,CAAC,aAAa,GAAG,QAAQ,CAAC,OAAO,CAAC;QAC9C,OAAO,YAAY,CAAC,OAAO,CAAC;IAC9B,CAAC;IAED,OAAO;QACL,QAAQ,EAAE,YAAY;QACtB,WAAW;QACX,WAAW;KACZ,CAAC;AACJ,CAAC"}
@@ -1,20 +0,0 @@
1
- export declare const ASSISTANT_SESSION_STORAGE_VERSION: 1;
2
- export declare const ASSISTANT_MAX_PERSISTED_MESSAGES = 32;
3
- export declare const ASSISTANT_SESSION_KEY_PREFIX = "assistant:session:v1";
4
- export declare const ASSISTANT_SESSION_ENTITY_ID_PATTERN: RegExp;
5
- export type AssistantSessionMode = "general" | "finding" | "execution" | "pipeline" | "page";
6
- export declare function sanitizeAssistantSessionEntityId(entityId: string): string | null;
7
- export declare function composeAssistantSessionKey(scope: {
8
- organizationId?: string | null;
9
- userId?: string | null;
10
- mode: AssistantSessionMode;
11
- entityId: string;
12
- }): string;
13
- export declare function composeAssistantSessionLocalKey(scope: {
14
- organizationId?: string | null;
15
- userId?: string | null;
16
- mode: AssistantSessionMode;
17
- entityId: string;
18
- }): string;
19
- export declare function defaultEntityIdForMode(mode: AssistantSessionMode): string;
20
- //# sourceMappingURL=assistant-session-key.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"assistant-session-key.d.ts","sourceRoot":"","sources":["../../src/assistant/assistant-session-key.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iCAAiC,EAAG,CAAU,CAAC;AAE5D,eAAO,MAAM,gCAAgC,KAAK,CAAC;AAEnD,eAAO,MAAM,4BAA4B,yBAAyB,CAAC;AAEnE,eAAO,MAAM,mCAAmC,QAA4B,CAAC;AAE7E,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;AAE7F,wBAAgB,gCAAgC,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAMhF;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE;IAChD,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,IAAI,EAAE,oBAAoB,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;CAClB,GAAG,MAAM,CAKT;AAED,wBAAgB,+BAA+B,CAAC,KAAK,EAAE;IACrD,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,IAAI,EAAE,oBAAoB,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;CAClB,GAAG,MAAM,CAET;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,oBAAoB,GAAG,MAAM,CAGzE"}
@@ -1,33 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ASSISTANT_SESSION_ENTITY_ID_PATTERN = exports.ASSISTANT_SESSION_KEY_PREFIX = exports.ASSISTANT_MAX_PERSISTED_MESSAGES = exports.ASSISTANT_SESSION_STORAGE_VERSION = void 0;
4
- exports.sanitizeAssistantSessionEntityId = sanitizeAssistantSessionEntityId;
5
- exports.composeAssistantSessionKey = composeAssistantSessionKey;
6
- exports.composeAssistantSessionLocalKey = composeAssistantSessionLocalKey;
7
- exports.defaultEntityIdForMode = defaultEntityIdForMode;
8
- exports.ASSISTANT_SESSION_STORAGE_VERSION = 1;
9
- exports.ASSISTANT_MAX_PERSISTED_MESSAGES = 32;
10
- exports.ASSISTANT_SESSION_KEY_PREFIX = "assistant:session:v1";
11
- exports.ASSISTANT_SESSION_ENTITY_ID_PATTERN = /^[a-zA-Z0-9:_-]{1,128}$/;
12
- function sanitizeAssistantSessionEntityId(entityId) {
13
- const trimmed = entityId.trim();
14
- if (!trimmed || !exports.ASSISTANT_SESSION_ENTITY_ID_PATTERN.test(trimmed)) {
15
- return null;
16
- }
17
- return trimmed;
18
- }
19
- function composeAssistantSessionKey(scope) {
20
- const orgPart = scope.organizationId?.trim() || "org:anonymous";
21
- const userPart = scope.userId?.trim() || "user:anonymous";
22
- const entityPart = scope.entityId.trim() || "general";
23
- return `${exports.ASSISTANT_SESSION_KEY_PREFIX}:${orgPart}:${userPart}:${scope.mode}:${entityPart}`;
24
- }
25
- function composeAssistantSessionLocalKey(scope) {
26
- return composeAssistantSessionKey(scope);
27
- }
28
- function defaultEntityIdForMode(mode) {
29
- if (mode === "general" || mode === "page")
30
- return "general";
31
- return "unknown";
32
- }
33
- //# sourceMappingURL=assistant-session-key.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"assistant-session-key.js","sourceRoot":"","sources":["../../src/assistant/assistant-session-key.ts"],"names":[],"mappings":";;;AAUA,4EAMC;AAED,gEAUC;AAED,0EAOC;AAED,wDAGC;AA1CY,QAAA,iCAAiC,GAAG,CAAU,CAAC;AAE/C,QAAA,gCAAgC,GAAG,EAAE,CAAC;AAEtC,QAAA,4BAA4B,GAAG,sBAAsB,CAAC;AAEtD,QAAA,mCAAmC,GAAG,yBAAyB,CAAC;AAI7E,SAAgB,gCAAgC,CAAC,QAAgB;IAC/D,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,EAAE,CAAC;IAChC,IAAI,CAAC,OAAO,IAAI,CAAC,2CAAmC,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,SAAgB,0BAA0B,CAAC,KAK1C;IACC,MAAM,OAAO,GAAG,KAAK,CAAC,cAAc,EAAE,IAAI,EAAE,IAAI,eAAe,CAAC;IAChE,MAAM,QAAQ,GAAG,KAAK,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,gBAAgB,CAAC;IAC1D,MAAM,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,SAAS,CAAC;IACtD,OAAO,GAAG,oCAA4B,IAAI,OAAO,IAAI,QAAQ,IAAI,KAAK,CAAC,IAAI,IAAI,UAAU,EAAE,CAAC;AAC9F,CAAC;AAED,SAAgB,+BAA+B,CAAC,KAK/C;IACC,OAAO,0BAA0B,CAAC,KAAK,CAAC,CAAC;AAC3C,CAAC;AAED,SAAgB,sBAAsB,CAAC,IAA0B;IAC/D,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,MAAM;QAAE,OAAO,SAAS,CAAC;IAC5D,OAAO,SAAS,CAAC;AACnB,CAAC"}
@@ -1,19 +0,0 @@
1
- export declare const ASSISTANT_THREAD_STORAGE_VERSION: 2;
2
- export declare const ASSISTANT_MAX_ACTIVE_THREADS = 50;
3
- export declare const ASSISTANT_THREAD_TITLE_MAX = 80;
4
- export declare function deriveAssistantThreadTitle(firstUserMessage: string): string;
5
- /** Extrai texto legível de uma mensagem (content string ou blocks markdown). */
6
- export declare function extractAssistantMessagePlainText(message: unknown): string;
7
- export declare function extractFirstUserMessagePlainText(messages: unknown[]): string;
8
- /** Título amigável para listagens (corrige títulos antigos serializados em JSON). */
9
- export declare function formatAssistantThreadTitleDisplay(title: string): string;
10
- /** Título curto da conversa ativa para o header; null se ainda não há mensagem do utilizador. */
11
- export declare function deriveActiveThreadTitleFromText(text: string): string | null;
12
- export declare function composeAssistantThreadIdbKey(threadId: string): string;
13
- export declare function composeActiveThreadSessionKey(input: {
14
- organizationId: string;
15
- userId: string;
16
- mode: string;
17
- entityId: string;
18
- }): string;
19
- //# sourceMappingURL=assistant-thread.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"assistant-thread.d.ts","sourceRoot":"","sources":["../../src/assistant/assistant-thread.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC,EAAG,CAAU,CAAC;AAC3D,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAC/C,eAAO,MAAM,0BAA0B,KAAK,CAAC;AAE7C,wBAAgB,0BAA0B,CAAC,gBAAgB,EAAE,MAAM,GAAG,MAAM,CAM3E;AAkBD,gFAAgF;AAChF,wBAAgB,gCAAgC,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAUzE;AAED,wBAAgB,gCAAgC,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAG,MAAM,CAS5E;AAmDD,qFAAqF;AACrF,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAMvE;AAED,iGAAiG;AACjG,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAG3E;AAED,wBAAgB,4BAA4B,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAErE;AAED,wBAAgB,6BAA6B,CAAC,KAAK,EAAE;IACnD,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,GAAG,MAAM,CAET"}
@@ -1,126 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ASSISTANT_THREAD_TITLE_MAX = exports.ASSISTANT_MAX_ACTIVE_THREADS = exports.ASSISTANT_THREAD_STORAGE_VERSION = void 0;
4
- exports.deriveAssistantThreadTitle = deriveAssistantThreadTitle;
5
- exports.extractAssistantMessagePlainText = extractAssistantMessagePlainText;
6
- exports.extractFirstUserMessagePlainText = extractFirstUserMessagePlainText;
7
- exports.formatAssistantThreadTitleDisplay = formatAssistantThreadTitleDisplay;
8
- exports.deriveActiveThreadTitleFromText = deriveActiveThreadTitleFromText;
9
- exports.composeAssistantThreadIdbKey = composeAssistantThreadIdbKey;
10
- exports.composeActiveThreadSessionKey = composeActiveThreadSessionKey;
11
- exports.ASSISTANT_THREAD_STORAGE_VERSION = 2;
12
- exports.ASSISTANT_MAX_ACTIVE_THREADS = 50;
13
- exports.ASSISTANT_THREAD_TITLE_MAX = 80;
14
- function deriveAssistantThreadTitle(firstUserMessage) {
15
- const line = firstUserMessage.replace(/\s+/g, " ").trim();
16
- if (!line)
17
- return "Nova conversa";
18
- return line.length <= exports.ASSISTANT_THREAD_TITLE_MAX
19
- ? line
20
- : `${line.slice(0, exports.ASSISTANT_THREAD_TITLE_MAX - 1)}…`;
21
- }
22
- function readPlainTextFromBlocks(blocks) {
23
- const parts = [];
24
- for (const block of blocks) {
25
- if (block == null || typeof block !== "object")
26
- continue;
27
- const entry = block;
28
- if (entry.kind === "markdown" && typeof entry.content === "string") {
29
- parts.push(entry.content);
30
- continue;
31
- }
32
- if (typeof entry.content === "string")
33
- parts.push(entry.content);
34
- else if (typeof entry.title === "string")
35
- parts.push(entry.title);
36
- else if (typeof entry.message === "string")
37
- parts.push(entry.message);
38
- }
39
- return parts.join(" ").replace(/\s+/g, " ").trim();
40
- }
41
- /** Extrai texto legível de uma mensagem (content string ou blocks markdown). */
42
- function extractAssistantMessagePlainText(message) {
43
- if (message == null || typeof message !== "object")
44
- return "";
45
- const record = message;
46
- if (typeof record.content === "string" && record.content.trim()) {
47
- return record.content.replace(/\s+/g, " ").trim();
48
- }
49
- if (Array.isArray(record.blocks)) {
50
- return readPlainTextFromBlocks(record.blocks);
51
- }
52
- return "";
53
- }
54
- function extractFirstUserMessagePlainText(messages) {
55
- const firstUser = messages.find((item) => item != null &&
56
- typeof item === "object" &&
57
- "role" in item &&
58
- item.role === "user");
59
- return firstUser ? extractAssistantMessagePlainText(firstUser) : "";
60
- }
61
- function decodeJsonStringFragment(value) {
62
- try {
63
- return JSON.parse(`"${value}"`).replace(/\s+/g, " ").trim();
64
- }
65
- catch {
66
- return value.replace(/\\n/g, " ").replace(/\\"/g, '"').replace(/\s+/g, " ").trim();
67
- }
68
- }
69
- function stripTitleTruncationEllipsis(value) {
70
- return value.replace(/…$/u, "").trim();
71
- }
72
- function extractPlainTextFromSerializedTitle(title) {
73
- const trimmed = title.trim();
74
- const looksSerialized = trimmed.startsWith("[") ||
75
- trimmed.startsWith("{") ||
76
- trimmed.includes('"kind":"markdown"') ||
77
- trimmed.includes('"kind": "markdown"');
78
- if (!looksSerialized)
79
- return null;
80
- try {
81
- const parsed = JSON.parse(trimmed);
82
- if (Array.isArray(parsed)) {
83
- const text = readPlainTextFromBlocks(parsed);
84
- return text || null;
85
- }
86
- if (parsed && typeof parsed === "object") {
87
- const text = extractAssistantMessagePlainText(parsed);
88
- return text || null;
89
- }
90
- }
91
- catch {
92
- // JSON truncado ou inválido — tenta regex abaixo
93
- }
94
- const closedMatch = trimmed.match(/"content"\s*:\s*"((?:\\.|[^"\\])*)"/);
95
- if (closedMatch?.[1]) {
96
- return decodeJsonStringFragment(closedMatch[1]) || null;
97
- }
98
- const truncatedMatch = trimmed.match(/"content"\s*:\s*"(.+)$/);
99
- if (truncatedMatch?.[1]) {
100
- const text = stripTitleTruncationEllipsis(decodeJsonStringFragment(truncatedMatch[1]));
101
- return text || null;
102
- }
103
- return null;
104
- }
105
- /** Título amigável para listagens (corrige títulos antigos serializados em JSON). */
106
- function formatAssistantThreadTitleDisplay(title) {
107
- const trimmed = title.trim();
108
- if (!trimmed)
109
- return "Nova conversa";
110
- const fromJson = extractPlainTextFromSerializedTitle(trimmed);
111
- if (fromJson)
112
- return deriveAssistantThreadTitle(fromJson);
113
- return trimmed;
114
- }
115
- /** Título curto da conversa ativa para o header; null se ainda não há mensagem do utilizador. */
116
- function deriveActiveThreadTitleFromText(text) {
117
- const title = deriveAssistantThreadTitle(text);
118
- return title === "Nova conversa" ? null : title;
119
- }
120
- function composeAssistantThreadIdbKey(threadId) {
121
- return `assistant:thread:v2:${threadId}`;
122
- }
123
- function composeActiveThreadSessionKey(input) {
124
- return `assistant:active-thread:${input.organizationId}:${input.userId}:${input.mode}:${input.entityId}`;
125
- }
126
- //# sourceMappingURL=assistant-thread.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"assistant-thread.js","sourceRoot":"","sources":["../../src/assistant/assistant-thread.ts"],"names":[],"mappings":";;;AAIA,gEAMC;AAmBD,4EAUC;AAED,4EASC;AAoDD,8EAMC;AAGD,0EAGC;AAED,oEAEC;AAED,sEAOC;AA/HY,QAAA,gCAAgC,GAAG,CAAU,CAAC;AAC9C,QAAA,4BAA4B,GAAG,EAAE,CAAC;AAClC,QAAA,0BAA0B,GAAG,EAAE,CAAC;AAE7C,SAAgB,0BAA0B,CAAC,gBAAwB;IACjE,MAAM,IAAI,GAAG,gBAAgB,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC;IAC1D,IAAI,CAAC,IAAI;QAAE,OAAO,eAAe,CAAC;IAClC,OAAO,IAAI,CAAC,MAAM,IAAI,kCAA0B;QAC9C,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,kCAA0B,GAAG,CAAC,CAAC,GAAG,CAAC;AAC1D,CAAC;AAED,SAAS,uBAAuB,CAAC,MAAiB;IAChD,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,IAAI,KAAK,IAAI,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ;YAAE,SAAS;QACzD,MAAM,KAAK,GAAG,KAAgC,CAAC;QAC/C,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU,IAAI,OAAO,KAAK,CAAC,OAAO,KAAK,QAAQ,EAAE,CAAC;YACn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,CAAC;IAC/C,OAAO,KAAK,KAAK,eAAe,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;AAClD,CAAC;AAED,SAAgB,4BAA4B,CAAC,QAAgB;IAC3D,OAAO,uBAAuB,QAAQ,EAAE,CAAC;AAC3C,CAAC;AAED,SAAgB,6BAA6B,CAAC,KAK7C;IACC,OAAO,2BAA2B,KAAK,CAAC,cAAc,IAAI,KAAK,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;AAC3G,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from "./assistant-session-key";
2
- export * from "./assistant-thread";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/assistant/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC"}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./assistant-session-key"), exports);
18
- __exportStar(require("./assistant-thread"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/assistant/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,qDAAmC"}
@@ -1,2 +0,0 @@
1
- export * from "./plan-limits";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/billing/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./plan-limits"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/billing/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
@@ -1,17 +0,0 @@
1
- import { z } from "zod";
2
- export declare const PLAN_VISIBILITY: readonly ["public", "private", "enterprise"];
3
- export declare const PLAN_BILLING_MODE: readonly ["stripe_checkout", "contract"];
4
- export declare const PLAN_PRICE_INTERVAL: readonly ["month", "year"];
5
- export declare const STRIPE_SYNC_STATUS: readonly ["pending", "synced", "error"];
6
- export declare const planLimitsSchema: z.ZodObject<{
7
- maxWorkspaces: z.ZodOptional<z.ZodNumber>;
8
- maxProjects: z.ZodNumber;
9
- maxMembers: z.ZodNumber;
10
- }, z.core.$strict>;
11
- export declare const planFeaturesSchema: z.ZodObject<{
12
- assistantEnabled: z.ZodDefault<z.ZodBoolean>;
13
- }, z.core.$strict>;
14
- export type PlanLimits = z.infer<typeof planLimitsSchema>;
15
- export type PlanFeatures = z.infer<typeof planFeaturesSchema>;
16
- export declare function assertBillingModeForVisibility(visibility: (typeof PLAN_VISIBILITY)[number], billingMode: (typeof PLAN_BILLING_MODE)[number]): void;
17
- //# sourceMappingURL=plan-limits.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plan-limits.d.ts","sourceRoot":"","sources":["../../src/billing/plan-limits.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe,8CAA+C,CAAC;AAC5E,eAAO,MAAM,iBAAiB,0CAA2C,CAAC;AAC1E,eAAO,MAAM,mBAAmB,4BAA6B,CAAC;AAC9D,eAAO,MAAM,kBAAkB,yCAA0C,CAAC;AAE1E,eAAO,MAAM,gBAAgB;;;;kBAMlB,CAAC;AAEZ,eAAO,MAAM,kBAAkB;;kBAIpB,CAAC;AAEZ,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,EAC5C,WAAW,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,GAC9C,IAAI,CAON"}
@@ -1,30 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.planFeaturesSchema = exports.planLimitsSchema = exports.STRIPE_SYNC_STATUS = exports.PLAN_PRICE_INTERVAL = exports.PLAN_BILLING_MODE = exports.PLAN_VISIBILITY = void 0;
4
- exports.assertBillingModeForVisibility = assertBillingModeForVisibility;
5
- const zod_1 = require("zod");
6
- exports.PLAN_VISIBILITY = ["public", "private", "enterprise"];
7
- exports.PLAN_BILLING_MODE = ["stripe_checkout", "contract"];
8
- exports.PLAN_PRICE_INTERVAL = ["month", "year"];
9
- exports.STRIPE_SYNC_STATUS = ["pending", "synced", "error"];
10
- exports.planLimitsSchema = zod_1.z
11
- .object({
12
- maxWorkspaces: zod_1.z.number().int().min(0).optional(),
13
- maxProjects: zod_1.z.number().int().min(0),
14
- maxMembers: zod_1.z.number().int().min(0),
15
- })
16
- .strict();
17
- exports.planFeaturesSchema = zod_1.z
18
- .object({
19
- assistantEnabled: zod_1.z.boolean().default(false),
20
- })
21
- .strict();
22
- function assertBillingModeForVisibility(visibility, billingMode) {
23
- if (visibility === "enterprise" && billingMode !== "contract") {
24
- throw new Error("enterprise visibility requires billingMode=contract");
25
- }
26
- if (visibility !== "enterprise" && billingMode !== "stripe_checkout") {
27
- throw new Error("public/private visibility requires billingMode=stripe_checkout");
28
- }
29
- }
30
- //# sourceMappingURL=plan-limits.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plan-limits.js","sourceRoot":"","sources":["../../src/billing/plan-limits.ts"],"names":[],"mappings":";;;AAwBA,wEAUC;AAlCD,6BAAwB;AAEX,QAAA,eAAe,GAAG,CAAC,QAAQ,EAAE,SAAS,EAAE,YAAY,CAAU,CAAC;AAC/D,QAAA,iBAAiB,GAAG,CAAC,iBAAiB,EAAE,UAAU,CAAU,CAAC;AAC7D,QAAA,mBAAmB,GAAG,CAAC,OAAO,EAAE,MAAM,CAAU,CAAC;AACjD,QAAA,kBAAkB,GAAG,CAAC,SAAS,EAAE,QAAQ,EAAE,OAAO,CAAU,CAAC;AAE7D,QAAA,gBAAgB,GAAG,OAAC;KAC9B,MAAM,CAAC;IACN,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACjD,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACpC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACpC,CAAC;KACD,MAAM,EAAE,CAAC;AAEC,QAAA,kBAAkB,GAAG,OAAC;KAChC,MAAM,CAAC;IACN,gBAAgB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;CAC7C,CAAC;KACD,MAAM,EAAE,CAAC;AAKZ,SAAgB,8BAA8B,CAC5C,UAA4C,EAC5C,WAA+C;IAE/C,IAAI,UAAU,KAAK,YAAY,IAAI,WAAW,KAAK,UAAU,EAAE,CAAC;QAC9D,MAAM,IAAI,KAAK,CAAC,qDAAqD,CAAC,CAAC;IACzE,CAAC;IACD,IAAI,UAAU,KAAK,YAAY,IAAI,WAAW,KAAK,iBAAiB,EAAE,CAAC;QACrE,MAAM,IAAI,KAAK,CAAC,gEAAgE,CAAC,CAAC;IACpF,CAAC;AACH,CAAC"}
@@ -1,42 +0,0 @@
1
- /**
2
- * Resolução de `depends_on` após expansão de jobs ASPM (matriz fanout, gate, etc.).
3
- * Partilhado entre API (lease mTLS) e web (grafo de execução).
4
- */
5
- export declare const TERMINAL_CI_JOB_STATUSES: Set<string>;
6
- export declare function normalizeDependsOnJson(raw: unknown): string[];
7
- export declare function isTerminalCiJobStatus(status: string): boolean;
8
- export declare function isAspmGateJobName(name: string): boolean;
9
- /**
10
- * Fanout: `kubbisec_security` → [`kubbisec_security__trivy`, `kubbisec_security__semgrep`].
11
- * Chain / job simples: mantém o nome quando existe no run.
12
- */
13
- export declare function resolveExpandedDependencyTargets(depName: string, allJobNamesInRun: readonly string[]): string[];
14
- export declare function buildRunNameStatusIndex(rows: readonly {
15
- runId: string;
16
- name: string;
17
- status: string;
18
- }[]): Map<string, string>;
19
- export declare function isJobLeaseableByDependencySnapshot(job: {
20
- runId: string;
21
- name?: string;
22
- dependsOn?: unknown;
23
- }, statusIndex: Map<string, string>, allJobNamesInRun?: readonly string[]): boolean;
24
- export type CiJobStatusRow = {
25
- runId: string;
26
- name: string;
27
- status: string;
28
- dependsOn?: unknown;
29
- allowFailure?: boolean;
30
- };
31
- /** PENDING com dependências ainda não satisfeitas (ex.: gate à espera da matriz). */
32
- export declare function isCiJobBlockedByDependencies(job: CiJobStatusRow, allJobsInRun: readonly CiJobStatusRow[]): boolean;
33
- /**
34
- * Status efetivo para UI: distingue PENDING bloqueado vs na fila do runner.
35
- */
36
- export declare function resolveCiJobDisplayStatus(job: CiJobStatusRow, allJobsInRun: readonly CiJobStatusRow[]): string;
37
- export type CiRunTerminalStatus = "PENDING" | "RUNNING" | "SUCCESS" | "FAILED" | "CANCELLED";
38
- /**
39
- * Deriva status da run a partir dos jobs (quando o registro da run ficou desatualizado).
40
- */
41
- export declare function deriveCiRunStatusFromJobs(jobs: readonly CiJobStatusRow[]): CiRunTerminalStatus;
42
- //# sourceMappingURL=ci-job-dependencies.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ci-job-dependencies.d.ts","sourceRoot":"","sources":["../../src/ci/ci-job-dependencies.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,eAAO,MAAM,wBAAwB,aAMnC,CAAC;AAEH,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,EAAE,CAK7D;AAED,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAE7D;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAEvD;AAED;;;GAGG;AACH,wBAAgB,gCAAgC,CAC9C,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,SAAS,MAAM,EAAE,GAClC,MAAM,EAAE,CAWV;AAED,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,SAAS;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,E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