@kubbisec/ai-win32-x64 0.1.32 → 0.1.34

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 (42) hide show
  1. package/bin/kubbisec.exe +0 -0
  2. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mcp-instructions.d.ts +1 -1
  3. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mcp-instructions.d.ts.map +1 -1
  4. package/bundled/node_modules/@kubbisec/shared/dist/ai/product-knowledge/mcp-instructions.js +4 -4
  5. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-report.dto.d.ts +3 -2
  6. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-report.dto.d.ts.map +1 -1
  7. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-report.dto.js +4 -1
  8. package/bundled/node_modules/@kubbisec/shared/dist/dto/create-report.dto.js.map +1 -1
  9. package/bundled/node_modules/@kubbisec/shared/dist/enums.d.ts +52 -1
  10. package/bundled/node_modules/@kubbisec/shared/dist/enums.d.ts.map +1 -1
  11. package/bundled/node_modules/@kubbisec/shared/dist/enums.js +52 -1
  12. package/bundled/node_modules/@kubbisec/shared/dist/enums.js.map +1 -1
  13. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/index.d.ts +1 -1
  14. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/index.d.ts.map +1 -1
  15. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/index.js +2 -1
  16. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/index.js.map +1 -1
  17. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/mcp-tools-catalog.d.ts +4 -2
  18. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/mcp-tools-catalog.d.ts.map +1 -1
  19. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/mcp-tools-catalog.js +49 -3
  20. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/mcp-tools-catalog.js.map +1 -1
  21. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.d.ts +2 -2
  22. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.d.ts.map +1 -1
  23. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.js +25 -12
  24. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-pipeline-docs-bundle.loader.js.map +1 -1
  25. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.d.ts +1 -1
  26. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.d.ts.map +1 -1
  27. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.js +15 -4
  28. package/bundled/node_modules/@kubbisec/shared/dist/product-docs/naus-schema-overview.js.map +1 -1
  29. package/bundled/node_modules/@kubbisec/shared/dist/security/index.d.ts +1 -0
  30. package/bundled/node_modules/@kubbisec/shared/dist/security/index.d.ts.map +1 -1
  31. package/bundled/node_modules/@kubbisec/shared/dist/security/index.js +1 -0
  32. package/bundled/node_modules/@kubbisec/shared/dist/security/index.js.map +1 -1
  33. package/bundled/node_modules/@kubbisec/shared/dist/security/report-provider-catalog.d.ts +15 -0
  34. package/bundled/node_modules/@kubbisec/shared/dist/security/report-provider-catalog.d.ts.map +1 -0
  35. package/bundled/node_modules/@kubbisec/shared/dist/security/report-provider-catalog.js +185 -0
  36. package/bundled/node_modules/@kubbisec/shared/dist/security/report-provider-catalog.js.map +1 -0
  37. package/bundled/node_modules/@kubbisec/shared/dist/server/mcp-sessions.d.ts +30 -0
  38. package/bundled/node_modules/@kubbisec/shared/dist/server/mcp-sessions.d.ts.map +1 -0
  39. package/bundled/node_modules/@kubbisec/shared/dist/server/mcp-sessions.js +99 -0
  40. package/bundled/node_modules/@kubbisec/shared/dist/server/mcp-sessions.js.map +1 -0
  41. package/bundled/node_modules/@kubbisec/shared/package.json +11 -0
  42. package/package.json +1 -1
package/bin/kubbisec.exe CHANGED
Binary file
@@ -1,2 +1,2 @@
1
- export declare const KUBBISEC_MCP_INSTRUCTIONS = "<kubbisec-mcp-instructions>\n<kubbisec-product-knowledge>\n <products>\n <product id=\"naus\" npm=\"@kubbisec/naus\" bin=\"naus\">KubbiSec CI engine: .naus.yml pipelines, runners, validate/plan/run. Cloud CI uses Env Packs; local run uses --env-file / --secret-file.</product>\n <product id=\"aspm\" npm=\"@kubbisec/aspm\" bin=\"aspm\">Security CLI: parse/upload scanner reports (trivy, gitleaks, syft, osv, semgrep, sonar, nmap, skipfish), coverage, gate.</product>\n <product id=\"ai\" npm=\"@kubbisec/ai\" bin=\"kubbisec\">CLI hub: login, findings (ls/show), fix/watch/chat, optional naus/aspm forwarding when binaries are on PATH.</product>\n </products>\n <boundaries>\n <boundary>NAUS YAML is NOT GitHub Actions: top-level run: (never jobs:); script: + depends_on: (never commands:/needs:/steps:); ASPM jobs use kind: aspm|aspm_matrix|aspm_gate with tool: (never scanner:).</boundary>\n <boundary>aspm-cicd.md / aspm_docs section aspm-cicd describe GitHub Actions only. For KubbiSec native CI use naus_pipeline_docs (naus-aspm-integration, naus-aspm-preset, naus-aspm-matrix, naus-aspm-gate).</boundary>\n <boundary>Do not mix CLIs: naus for pipelines/runners; aspm for scan upload/parse; kubbisec for AI remediation/chat. Org flag -o uses organization slug.</boundary>\n </boundaries>\n <anti-hallucination>\n <rule>HARD-GATE: never invent CLI flags or full command lines \u2014 call naus_pipeline_docs (naus-commands), aspm_docs (aspm-commands), ai_docs (ai-commands), or security_scanner_playbook first.</rule>\n <rule>HARD-GATE: never output fenced NAUS pipeline YAML unless naus_validate_yaml (or naus_local_validate) returned ok in this session.</rule>\n <rule>HARD-GATE: never claim a tool/action succeeded without a successful tool_result in this turn.</rule>\n </anti-hallucination>\n <tool-routing>\n <route intent=\"platform-knowledge\">kubbisec_mcp_knowledge (start of naus/aspm/ai product questions)</route>\n <route intent=\"naus-docs-yaml\">naus_pipeline_docs \u2192 naus_schema_overview \u2192 validate_naus_pipeline_yaml</route>\n <route intent=\"aspm-docs\">aspm_docs; scanners: security_scanners_catalog \u2192 security_scanner_playbook</route>\n <route intent=\"ai-cli-docs\">ai_docs (ai-commands, ai-watch, mcp-login, scan, scan-watch)</route>\n <route intent=\"local-clis\">naus_local_* / aspm_local_* / github_local_* always available in chat (no --extended-context); github uses host-first auth; missing naus/aspm auto-install @kubbisec/naus|aspm</route>\n </tool-routing>\n</kubbisec-product-knowledge>\n\n<flows>\n <flow id=\"findings\">Recommended flow: use resolve_project_by_repository with repository_url or repositoryUrl (Git URL or org/repo), then list_vulnerabilities with the same repository fields or project_id/projectId. Tools accept snake_case and camelCase interchangeably. To act on a finding, use get_vulnerability (MCP) or get_finding_summary / list_findings (assistant CLI), then generate_remediation_plan and, if you want automation, start_ai_remediation_run followed by get_ai_remediation_run_status/get_ai_remediation_run_logs (run_id or runId). Pass vulnerabilityId (or vulnerability_id) in tool arguments when using kbs chat \u2014 there is no separate set_active_finding tool.</flow>\n <flow id=\"naus-cloud\">Naus CI YAML in MCP: call validate_naus_pipeline_yaml before proposing or persisting YAML. Pipeline IDE flows (set_editor_yaml, trigger_run) are Platform Assistant only.</flow>\n <flow id=\"naus-aspm-local\">Naus / ASPM / git on the developer machine (kbs or kubbisec chat; no --extended-context required): naus_local_validate | naus_local_plan | naus_local_run; aspm_local_scan | aspm_local_upload | aspm_local_doctor; github_local_* uses host-first gh/git auth (platform token only as remediation fallback). Missing naus/aspm binaries auto-install @kubbisec/naus and @kubbisec/aspm globally via npm/pnpm (allowlist). Local naus run/plan: default .secrets and .env in cwd, or --env-file / --secret-file; naus_local_run and naus_local_plan accept envFiles/secretFiles arrays. Cloud runners use Env Packs instead. Runner enrollment: naus register / naus start \u2014 do not spawn long-lived daemons from MCP chat.</flow>\n <flow id=\"kubbisec-scan\">Hybrid local scan: MCP cannot run Pi/Superpowers on the host. (1) resolve_project_by_repository with repository_url or repositoryUrl (Git URL or org/repo), or project_id/projectId. (2) trigger_kubbisec_scan with profile quick|full|ci (default full), upload (default true), require_scanners/requireScanners optional. (3) get_kubbisec_scan_status with task_id/taskId until status is done, failed, or cancelled; list_kubbisec_scan_tasks or cancel_kubbisec_scan_task as needed. Requires kubbisec watch or kubbisec scan --watch on a developer machine with repo checkout \u2014 task stays pending until claimed. Findings upload with source=KUBBISEC_AI; filter via list_vulnerabilities source=KUBBISEC_AI. For immediate local scan without queue, user runs kubbisec scan in terminal (not an MCP tool).</flow>\n</flows>\n\n<intent-matrix>\n| Intent | Cloud (API/MCP) | Local (host CLI) |\n| Validate YAML | validate_naus_pipeline_yaml | naus_local_validate |\n| Run pipeline | trigger_run (assistant) | naus_local_run |\n| Dependency graph | \u2014 | naus_local_plan |\n| Upload scan report | CI / findings API | aspm_local_upload |\n| ASPM CLI health | \u2014 | aspm_local_doctor |\n| Hybrid AI scan | trigger_kubbisec_scan | kubbisec scan |\n| Scan status | get_kubbisec_scan_status | stdout / .kubbisec/scan/&lt;runId&gt;/ |\n| Filter AI findings | list_vulnerabilities + source=KUBBISEC_AI | \u2014 |\n| MCP auth | hosted OAuth / device login | kubbisec mcp login |\n| Product docs | Platform Assistant / kubbisec chat | \u2014 |\n</intent-matrix>\n\n<rules>\n <rule id=\"superpowers-mcp\">MCP agents must NOT invoke Pi/Superpowers skills or spawn kubbisec chat for scan orchestration. MCP has no documentation tools \u2014 use validate_naus_pipeline_yaml for YAML. Scan = trigger_kubbisec_scan; remediation = start_ai_remediation_run.</rule>\n <rule id=\"hosted-mcp\">Hosted MCP endpoint: https://mcp.kubbisec.com/mcp (OAuth2 for cloud IDEs). Local stdio: set KUBBISEC_ORGANIZATION_SLUG (preferred, e.g. minha-empresa) and KUBBISEC_API_KEY, or run kubbisec mcp login for device flow. Legacy KUBBISEC_ORGANIZATION_ID remains supported.</rule>\n</rules>\n</kubbisec-mcp-instructions>";
1
+ export declare const KUBBISEC_MCP_INSTRUCTIONS = "<kubbisec-mcp-instructions>\n<kubbisec-product-knowledge>\n <products>\n <product id=\"naus\" npm=\"@kubbisec/naus\" bin=\"naus\">KubbiSec CI engine: .naus.yml pipelines, runners, validate/plan/run. Cloud CI uses Env Packs; local run uses --env-file / --secret-file.</product>\n <product id=\"aspm\" npm=\"@kubbisec/aspm\" bin=\"aspm\">Security CLI: parse/upload scanner reports (trivy, gitleaks, syft, osv, semgrep, sonar, nmap, skipfish), coverage, gate.</product>\n <product id=\"ai\" npm=\"@kubbisec/ai\" bin=\"kubbisec\">CLI hub: login, findings (ls/show), fix/watch/chat, optional naus/aspm forwarding when binaries are on PATH.</product>\n </products>\n <boundaries>\n <boundary>NAUS YAML is NOT GitHub Actions: top-level run: (never jobs:); script: + depends_on: (never commands:/needs:/steps:); ASPM jobs use kind: aspm|aspm_matrix|aspm_gate with tool: (never scanner:).</boundary>\n <boundary>aspm-cicd.md / aspm_docs section aspm-cicd describe GitHub Actions only. For KubbiSec native CI use naus_pipeline_docs (naus-aspm-integration, naus-aspm-preset, naus-aspm-matrix, naus-aspm-gate).</boundary>\n <boundary>Do not mix CLIs: naus for pipelines/runners; aspm for scan upload/parse; kubbisec for AI remediation/chat. Org flag -o uses organization slug.</boundary>\n </boundaries>\n <anti-hallucination>\n <rule>HARD-GATE: never invent CLI flags or full command lines \u2014 call naus_pipeline_docs (naus-commands), aspm_docs (aspm-commands), ai_docs (ai-commands), or security_scanner_playbook first.</rule>\n <rule>HARD-GATE: never output fenced NAUS pipeline YAML unless naus_validate_yaml (or naus_local_validate) returned ok in this session.</rule>\n <rule>HARD-GATE: never claim a tool/action succeeded without a successful tool_result in this turn.</rule>\n </anti-hallucination>\n <tool-routing>\n <route intent=\"platform-knowledge\">kubbisec_mcp_knowledge (start of naus/aspm/ai product questions)</route>\n <route intent=\"naus-docs-yaml\">naus_pipeline_docs \u2192 naus_schema_overview \u2192 validate_naus_pipeline_yaml</route>\n <route intent=\"aspm-docs\">aspm_docs; scanners: security_scanners_catalog \u2192 security_scanner_playbook</route>\n <route intent=\"ai-cli-docs\">ai_docs (ai-commands, ai-watch, mcp-login, scan, scan-watch)</route>\n <route intent=\"local-clis\">naus_local_* / aspm_local_* / github_local_* always available in chat (no --extended-context); github uses host-first auth; missing naus/aspm auto-install @kubbisec/naus|aspm</route>\n </tool-routing>\n</kubbisec-product-knowledge>\n\n<flows>\n <flow id=\"findings\">Recommended flow: use resolve_project_by_repository with repository_url or repositoryUrl (Git URL or org/repo), then list_vulnerabilities with the same repository fields or project_id/projectId. Tools accept snake_case and camelCase interchangeably. To act on a finding, use get_vulnerability (MCP) or get_finding_summary / list_findings (assistant CLI), then generate_remediation_plan and, if you want automation, start_ai_remediation_run followed by get_ai_remediation_run_status/get_ai_remediation_run_logs (run_id or runId). Pass vulnerabilityId (or vulnerability_id) in tool arguments when using kbs chat \u2014 there is no separate set_active_finding tool.</flow>\n <flow id=\"naus-cloud\">Naus CI YAML in MCP: call validate_naus_pipeline_yaml or naus_validate_yaml before proposing or persisting YAML. The platform MCP exposes the same assistant functions via the API, including set_pipeline_yaml, trigger_run, naus_pipeline_docs and aspm_docs.</flow>\n <flow id=\"naus-aspm-local\">Naus / ASPM / git on the developer machine (kbs or kubbisec chat; no --extended-context required): naus_local_validate | naus_local_plan | naus_local_run; aspm_local_scan | aspm_local_upload | aspm_local_doctor; github_local_* uses host-first gh/git auth (platform token only as remediation fallback). Missing naus/aspm binaries auto-install @kubbisec/naus and @kubbisec/aspm globally via npm/pnpm (allowlist). Local naus run/plan: default .secrets and .env in cwd, or --env-file / --secret-file; naus_local_run and naus_local_plan accept envFiles/secretFiles arrays. Cloud runners use Env Packs instead. Runner enrollment: naus register / naus start \u2014 do not spawn long-lived daemons from MCP chat.</flow>\n <flow id=\"kubbisec-scan\">Hybrid local scan: MCP cannot run Pi/Superpowers on the host. (1) resolve_project_by_repository with repository_url or repositoryUrl (Git URL or org/repo), or project_id/projectId. (2) trigger_kubbisec_scan with profile quick|full|ci (default full), upload (default true), require_scanners/requireScanners optional. (3) get_kubbisec_scan_status with task_id/taskId until status is done, failed, or cancelled; list_kubbisec_scan_tasks or cancel_kubbisec_scan_task as needed. Requires kubbisec watch or kubbisec scan --watch on a developer machine with repo checkout \u2014 task stays pending until claimed. Findings upload with source=KUBBISEC_AI; filter via list_vulnerabilities source=KUBBISEC_AI. For immediate local scan without queue, user runs kubbisec scan in terminal (not an MCP tool).</flow>\n</flows>\n\n<intent-matrix>\n| Intent | Cloud (API/MCP) | Local (host CLI) |\n| Validate YAML | validate_naus_pipeline_yaml | naus_local_validate |\n| Run pipeline | trigger_run | naus_local_run |\n| Dependency graph | \u2014 | naus_local_plan |\n| Upload scan report | CI / findings API | aspm_local_upload |\n| ASPM CLI health | \u2014 | aspm_local_doctor |\n| Hybrid AI scan | trigger_kubbisec_scan | kubbisec scan |\n| Scan status | get_kubbisec_scan_status | stdout / .kubbisec/scan/&lt;runId&gt;/ |\n| Filter AI findings | list_vulnerabilities + source=KUBBISEC_AI | \u2014 |\n| MCP auth | hosted OAuth / device login | kubbisec mcp login |\n| Product docs | aspm_docs / naus_pipeline_docs (API) | \u2014 |\n</intent-matrix>\n\n<rules>\n <rule id=\"superpowers-mcp\">MCP agents must NOT invoke Pi/Superpowers skills or spawn kubbisec chat for scan orchestration. Documentation and pipeline tools are the same as the KubbiSec assistant and run through the API (aspm_docs, naus_pipeline_docs, naus_validate_yaml, trigger_run). Scan = trigger_kubbisec_scan; remediation = start_ai_remediation_run.</rule>\n <rule id=\"hosted-mcp\">Hosted MCP endpoint: https://mcp.kubbisec.com/mcp (OAuth2 for cloud IDEs). Local stdio: set KUBBISEC_ORGANIZATION_SLUG (preferred, e.g. minha-empresa) and KUBBISEC_API_KEY, or run kubbisec mcp login for device flow. Legacy KUBBISEC_ORGANIZATION_ID remains supported.</rule>\n</rules>\n</kubbisec-mcp-instructions>";
2
2
  //# sourceMappingURL=mcp-instructions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-instructions.d.ts","sourceRoot":"","sources":["../../../src/ai/product-knowledge/mcp-instructions.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,yBAAyB,ozMA4BT,CAAC"}
1
+ {"version":3,"file":"mcp-instructions.d.ts","sourceRoot":"","sources":["../../../src/ai/product-knowledge/mcp-instructions.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,yBAAyB,k9MA4BT,CAAC"}
@@ -8,7 +8,7 @@ ${mental_map_1.KUBBISEC_PRODUCT_MENTAL_MAP_XML}
8
8
 
9
9
  <flows>
10
10
  <flow id="findings">Recommended flow: use resolve_project_by_repository with repository_url or repositoryUrl (Git URL or org/repo), then list_vulnerabilities with the same repository fields or project_id/projectId. Tools accept snake_case and camelCase interchangeably. To act on a finding, use get_vulnerability (MCP) or get_finding_summary / list_findings (assistant CLI), then generate_remediation_plan and, if you want automation, start_ai_remediation_run followed by get_ai_remediation_run_status/get_ai_remediation_run_logs (run_id or runId). Pass vulnerabilityId (or vulnerability_id) in tool arguments when using kbs chat — there is no separate set_active_finding tool.</flow>
11
- <flow id="naus-cloud">Naus CI YAML in MCP: call validate_naus_pipeline_yaml before proposing or persisting YAML. Pipeline IDE flows (set_editor_yaml, trigger_run) are Platform Assistant only.</flow>
11
+ <flow id="naus-cloud">Naus CI YAML in MCP: call validate_naus_pipeline_yaml or naus_validate_yaml before proposing or persisting YAML. The platform MCP exposes the same assistant functions via the API, including set_pipeline_yaml, trigger_run, naus_pipeline_docs and aspm_docs.</flow>
12
12
  <flow id="naus-aspm-local">Naus / ASPM / git on the developer machine (kbs or kubbisec chat; no --extended-context required): naus_local_validate | naus_local_plan | naus_local_run; aspm_local_scan | aspm_local_upload | aspm_local_doctor; github_local_* uses host-first gh/git auth (platform token only as remediation fallback). Missing naus/aspm binaries auto-install @kubbisec/naus and @kubbisec/aspm globally via npm/pnpm (allowlist). Local naus run/plan: default .secrets and .env in cwd, or --env-file / --secret-file; naus_local_run and naus_local_plan accept envFiles/secretFiles arrays. Cloud runners use Env Packs instead. Runner enrollment: naus register / naus start — do not spawn long-lived daemons from MCP chat.</flow>
13
13
  <flow id="kubbisec-scan">Hybrid local scan: MCP cannot run Pi/Superpowers on the host. (1) resolve_project_by_repository with repository_url or repositoryUrl (Git URL or org/repo), or project_id/projectId. (2) trigger_kubbisec_scan with profile quick|full|ci (default full), upload (default true), require_scanners/requireScanners optional. (3) get_kubbisec_scan_status with task_id/taskId until status is done, failed, or cancelled; list_kubbisec_scan_tasks or cancel_kubbisec_scan_task as needed. Requires kubbisec watch or kubbisec scan --watch on a developer machine with repo checkout — task stays pending until claimed. Findings upload with source=KUBBISEC_AI; filter via list_vulnerabilities source=KUBBISEC_AI. For immediate local scan without queue, user runs kubbisec scan in terminal (not an MCP tool).</flow>
14
14
  </flows>
@@ -16,7 +16,7 @@ ${mental_map_1.KUBBISEC_PRODUCT_MENTAL_MAP_XML}
16
16
  <intent-matrix>
17
17
  | Intent | Cloud (API/MCP) | Local (host CLI) |
18
18
  | Validate YAML | validate_naus_pipeline_yaml | naus_local_validate |
19
- | Run pipeline | trigger_run (assistant) | naus_local_run |
19
+ | Run pipeline | trigger_run | naus_local_run |
20
20
  | Dependency graph | — | naus_local_plan |
21
21
  | Upload scan report | CI / findings API | aspm_local_upload |
22
22
  | ASPM CLI health | — | aspm_local_doctor |
@@ -24,11 +24,11 @@ ${mental_map_1.KUBBISEC_PRODUCT_MENTAL_MAP_XML}
24
24
  | Scan status | get_kubbisec_scan_status | stdout / .kubbisec/scan/&lt;runId&gt;/ |
25
25
  | Filter AI findings | list_vulnerabilities + source=KUBBISEC_AI | — |
26
26
  | MCP auth | hosted OAuth / device login | kubbisec mcp login |
27
- | Product docs | Platform Assistant / kubbisec chat | — |
27
+ | Product docs | aspm_docs / naus_pipeline_docs (API) | — |
28
28
  </intent-matrix>
29
29
 
30
30
  <rules>
31
- <rule id="superpowers-mcp">MCP agents must NOT invoke Pi/Superpowers skills or spawn kubbisec chat for scan orchestration. MCP has no documentation tools — use validate_naus_pipeline_yaml for YAML. Scan = trigger_kubbisec_scan; remediation = start_ai_remediation_run.</rule>
31
+ <rule id="superpowers-mcp">MCP agents must NOT invoke Pi/Superpowers skills or spawn kubbisec chat for scan orchestration. Documentation and pipeline tools are the same as the KubbiSec assistant and run through the API (aspm_docs, naus_pipeline_docs, naus_validate_yaml, trigger_run). Scan = trigger_kubbisec_scan; remediation = start_ai_remediation_run.</rule>
32
32
  <rule id="hosted-mcp">Hosted MCP endpoint: ${constants_1.KUBBISEC_HOSTED_MCP_URL} (OAuth2 for cloud IDEs). Local stdio: set KUBBISEC_ORGANIZATION_SLUG (preferred, e.g. minha-empresa) and KUBBISEC_API_KEY, or run kubbisec mcp login for device flow. Legacy KUBBISEC_ORGANIZATION_ID remains supported.</rule>
33
33
  </rules>
34
34
  </kubbisec-mcp-instructions>`;
@@ -1,4 +1,4 @@
1
- import { ScanSource, ScanType } from "../enums";
1
+ import { ScanType } from "../enums";
2
2
  import { CreateVulnerabilityDto } from "./create-vulnerability.dto";
3
3
  export declare class ExecutionContextDto {
4
4
  trigger?: string;
@@ -15,7 +15,8 @@ export declare class ExecutionContextDto {
15
15
  ciPipelineRunId?: string;
16
16
  }
17
17
  export declare class CreateReportDto {
18
- source: ScanSource;
18
+ /** Scanner id or document provider (`TRIVY`, `CodeQL`, `generic-sarif`). Column is varchar(20). */
19
+ source: string;
19
20
  scanType: ScanType;
20
21
  target: string;
21
22
  rawFileName?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"create-report.dto.d.ts","sourceRoot":"","sources":["../../src/dto/create-report.dto.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,qBAAa,mBAAmB;IAG9B,OAAO,CAAC,EAAE,MAAM,CAAC;IAIjB,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,aAAa,CAAC,EAAE,MAAM,CAAC;IAIvB,gBAAgB,CAAC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U,CAAC,EAAE,MAAM,CAAC;IAIpB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,eAAe;IAC1B,mGAAmG;IAInG,MAAM,EAAG,MAAM,CAAC;IAGhB,QAAQ,EAAG,QAAQ,CAAC;IAKpB,MAAM,EAAG,MAAM,CAAC;IAKhB,WAAW,CAAC,EAAE,MAAM,CAAC;IAIrB,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAKnC,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAKhC,eAAe,EAAG,sBAAsB,EAAE,CAAC;CAC5C"}
@@ -90,6 +90,7 @@ __decorate([
90
90
  __metadata("design:type", String)
91
91
  ], ExecutionContextDto.prototype, "ciPipelineRunId", void 0);
92
92
  class CreateReportDto {
93
+ /** Scanner id or document provider (`TRIVY`, `CodeQL`, `generic-sarif`). Column is varchar(20). */
93
94
  source;
94
95
  scanType;
95
96
  target;
@@ -101,7 +102,9 @@ class CreateReportDto {
101
102
  }
102
103
  exports.CreateReportDto = CreateReportDto;
103
104
  __decorate([
104
- (0, class_validator_1.IsEnum)(enums_1.ScanSource),
105
+ (0, class_validator_1.IsString)(),
106
+ (0, class_validator_1.IsNotEmpty)(),
107
+ (0, class_validator_1.MaxLength)(20),
105
108
  __metadata("design:type", String)
106
109
  ], CreateReportDto.prototype, "source", void 0);
107
110
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"create-report.dto.js","sourceRoot":"","sources":["../../src/dto/create-report.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAUyB;AACzB,oCAAgD;AAChD,yEAAoE;AAEpE,MAAa,mBAAmB;IAG9B,OAAO,CAAU;IAIjB,SAAS,CAAU;IAInB,MAAM,CAAU;IAIhB,aAAa,CAAU;IAIvB,gBAAgB,CAAU;IAI1B,iBAAiB,CAAU;IAI3B,QAAQ,CAAU;I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BAAU,GAAE;;kDACM;AAInB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACsB;AAKnC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;IAChB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mBAAmB,CAAC;8BACpB,mBAAmB;kDAAC;AAKhC;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iDAAsB,CAAC;;wDACQ"}
@@ -17,7 +17,58 @@ export declare enum ScanType {
17
17
  WEB = "WEB",
18
18
  DEPENDENCIES = "DEPENDENCIES",
19
19
  SECRETS = "SECRETS",
20
- SBOM = "SBOM"
20
+ SBOM = "SBOM",
21
+ /** Category ids accepted alongside the legacy values above. */
22
+ sast = "sast",
23
+ sca = "sca",
24
+ secrets = "secrets",
25
+ dast = "dast",
26
+ iac = "iac",
27
+ container = "container",
28
+ sbom = "sbom",
29
+ api_security = "api_security",
30
+ k8s_manifest = "k8s_manifest",
31
+ k8s_runtime = "k8s_runtime",
32
+ cspm = "cspm",
33
+ cwpp = "cwpp",
34
+ cnapp = "cnapp",
35
+ host_vuln = "host_vuln",
36
+ network_vuln = "network_vuln",
37
+ attack_surface = "attack_surface",
38
+ port_scanning = "port_scanning",
39
+ web_vuln = "web_vuln",
40
+ cve = "cve",
41
+ malware = "malware",
42
+ supply_chain = "supply_chain",
43
+ dependency_confusion = "dependency_confusion",
44
+ typosquatting = "typosquatting",
45
+ license = "license",
46
+ binary = "binary",
47
+ firmware = "firmware",
48
+ mobile = "mobile",
49
+ android = "android",
50
+ ios = "ios",
51
+ infra_compliance = "infra_compliance",
52
+ k8s_compliance = "k8s_compliance",
53
+ docker_compliance = "docker_compliance",
54
+ cloud_compliance = "cloud_compliance",
55
+ policy_as_code = "policy_as_code",
56
+ cicd_security = "cicd_security",
57
+ github_posture = "github_posture",
58
+ gitlab_security = "gitlab_security",
59
+ repository_security = "repository_security",
60
+ artifact_registry = "artifact_registry",
61
+ package_registry = "package_registry",
62
+ pentest = "pentest",
63
+ bug_bounty = "bug_bounty",
64
+ red_team = "red_team",
65
+ bas = "bas",
66
+ threat_model = "threat_model",
67
+ threat_intel = "threat_intel",
68
+ exploit_intel = "exploit_intel",
69
+ epss = "epss",
70
+ llm_security = "llm_security",
71
+ mcp_agent = "mcp_agent"
21
72
  }
22
73
  export declare enum Severity {
23
74
  CRITICAL = "CRITICAL",
@@ -1 +1 @@
1
- {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../src/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,GAAG,QAAQ;IACX,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,WAAW,gBAAgB;CAC5B;AAED,oBAAY,QAAQ;IAClB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,GAAG,QAAQ;IACX,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,IAAI,SAAS;CACd;AAED,oBAAY,QAAQ;IAClB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,IAAI,SAAS;CACd;AAED,oBAAY,mBAAmB;IAC7B,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,cAAc,mBAAmB;IACjC,oHAAoH;IACpH,oBAAoB,yBAAyB;IAC7C,KAAK,UAAU;IACf,QAAQ,aAAa;CACtB;AAED,eAAO,MAAM,6BAA6B,4IAKhC,CAAC;AAEX,gFAAgF;AAChF,eAAO,MAAM,4BAA4B,mEAG/B,CAAC;AAEX,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,4BAA4B,CAAC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26
26
  ScanType["SBOM"] = "SBOM";
27
+ /** Category ids accepted alongside the legacy values above. */
28
+ ScanType["sast"] = "sast";
29
+ ScanType["sca"] = "sca";
30
+ ScanType["secrets"] = "secrets";
31
+ ScanType["dast"] = "dast";
32
+ ScanType["iac"] = "iac";
33
+ ScanType["container"] = "container";
34
+ ScanType["sbom"] = "sbom";
35
+ ScanType["api_security"] = "api_security";
36
+ ScanType["k8s_manifest"] = "k8s_manifest";
37
+ ScanType["k8s_runtime"] = "k8s_runtime";
38
+ ScanType["cspm"] = "cspm";
39
+ ScanType["cwpp"] = "cwpp";
40
+ ScanType["cnapp"] = "cnapp";
41
+ ScanType["host_vuln"] = "host_vuln";
42
+ ScanType["network_vuln"] = "network_vuln";
43
+ ScanType["attack_surface"] = "attack_surface";
44
+ ScanType["port_scanning"] = "port_scanning";
45
+ ScanType["web_vuln"] = "web_vuln";
46
+ ScanType["cve"] = "cve";
47
+ ScanType["malware"] = "malware";
48
+ ScanType["supply_chain"] = "supply_chain";
49
+ ScanType["dependency_confusion"] = "dependency_confusion";
50
+ ScanType["typosquatting"] = "typosquatting";
51
+ ScanType["license"] = "license";
52
+ ScanType["binary"] = "binary";
53
+ ScanType["firmware"] = "firmware";
54
+ ScanType["mobile"] = "mobile";
55
+ ScanType["android"] = "android";
56
+ ScanType["ios"] = "ios";
57
+ ScanType["infra_compliance"] = "infra_compliance";
58
+ ScanType["k8s_compliance"] = "k8s_compliance";
59
+ ScanType["docker_compliance"] = "docker_compliance";
60
+ ScanType["cloud_compliance"] = "cloud_compliance";
61
+ ScanType["policy_as_code"] = "policy_as_code";
62
+ ScanType["cicd_security"] = "cicd_security";
63
+ ScanType["github_posture"] = "github_posture";
64
+ ScanType["gitlab_security"] = "gitlab_security";
65
+ ScanType["repository_security"] = "repository_security";
66
+ ScanType["artifact_registry"] = "artifact_registry";
67
+ ScanType["package_registry"] = "package_registry";
68
+ ScanType["pentest"] = "pentest";
69
+ ScanType["bug_bounty"] = "bug_bounty";
70
+ ScanType["red_team"] = "red_team";
71
+ ScanType["bas"] = "bas";
72
+ ScanType["threat_model"] = "threat_model";
73
+ ScanType["threat_intel"] = "threat_intel";
74
+ ScanType["exploit_intel"] = "exploit_intel";
75
+ ScanType["epss"] = "epss";
76
+ ScanType["llm_security"] = "llm_security";
77
+ ScanType["mcp_agent"] = "mcp_agent";
27
78
  })(ScanType || (exports.ScanType = ScanType = {}));
28
79
  var Severity;
29
80
  (function (Severity) {
@@ -127,7 +178,7 @@ exports.SOURCE_SCAN_TYPE_MAP = {
127
178
  [ScanSource.SEMGREP]: ScanType.SAST,
128
179
  [ScanSource.NMAP]: ScanType.NETWORK,
129
180
  [ScanSource.SKIPFISH]: ScanType.WEB,
130
- [ScanSource.OSV]: ScanType.DEPENDENCIES,
181
+ [ScanSource.OSV]: ScanType.sca,
131
182
  [ScanSource.GITLEAKS]: ScanType.SECRETS,
132
183
  [ScanSource.SYFT]: ScanType.SBOM,
133
184
  [ScanSource.VULNDB]: ScanType.DEPENDENCIES,
@@ -1 +1 @@
1
- {"version":3,"file":"enums.js","sourceRoot":"","sources":["../src/enums.ts"],"names":[],"mappings":";;;AAyDA,8DAEC;AA3DD,IAAY,UAWX;AAXD,WAAY,UAAU;IACpB,6BAAe,CAAA;IACf,6BAAe,CAAA;IACf,iCAAmB,CAAA;IACnB,2BAAa,CAAA;IACb,mCAAqB,CAAA;IACrB,yBAAW,CAAA;IACX,mCAAqB,CAAA;IACrB,2BAAa,CAAA;IACb,+BAAiB,CAAA;IACjB,yCAA2B,CAAA;AAC7B,CAAC,EAXW,UAAU,0BAAV,UAAU,QAWrB;AAED,IAAY,QAQX;AARD,WAAY,QAAQ;IAClB,mCAAuB,CAAA;IACvB,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,uBAAW,CAAA;IACX,yCAA6B,CAAA;IAC7B,+BAAmB,CAAA;IACnB,yBAAa,CAAA;AACf,CAAC,EARW,QAAQ,wBAAR,QAAQ,QAQnB;AAED,IAAY,QAMX;A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,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,6CAAuB,CAAA;AACzB,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B;AAED,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,yCAAqB,CAAA;IACrB,mCAAe,CAAA;IACf,qCAAiB,CAAA;AACnB,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAEY,QAAA,oBAAoB,GAAiC;IAChE,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,SAAS;IACtC,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,IAAI;IACjC,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,IAAI;IACnC,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,OAAO;IACnC,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,GAAG;IACnC,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,GAAG;IAC9B,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,OAAO;IACvC,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,IAAI;IAChC,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC,YAAY;IAC1C,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC,IAAI;CACxC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  export { loadAiDocsBundleFromDisk } from "./ai-docs-bundle.loader.js";
2
2
  export { ASPM_DOC_FILES, loadAspmDocsBundleFromDisk } from "./aspm-docs-bundle.loader.js";
3
3
  export { buildDocSectionIndex, listDocSectionIds, type ParsedDocSection, parseDocBundle, pickDocSection, sectionIdFromHeading, } from "./doc-bundle-utils.js";
4
- export { KUBBISEC_MCP_ACTION_TOOLS, KUBBISEC_MCP_TOOLS, } from "./mcp-tools-catalog.js";
4
+ export { KUBBISEC_ASSISTANT_PARITY_TOOLS, KUBBISEC_MCP_ACTION_TOOLS, KUBBISEC_MCP_TOOLS, } from "./mcp-tools-catalog.js";
5
5
  export { loadNausPipelineDocsBundleFromDisk, NAUS_WEB_DOC_IDS, } from "./naus-pipeline-docs-bundle.loader.js";
6
6
  export { NAUS_SCHEMA_OVERVIEW } from "./naus-schema-overview.js";
7
7
  export { buildSecurityScannerPlaybookPayload, buildSecurityScannersCatalogPayload, isSecurityScannerId, listPlaybookNausKindAspmSnippets, PLAYBOOK_ASPM_MATRIX_EXAMPLE, type PlaybookTopic, parseSecurityScannerPlaybookArgs, SCANNER_META, type ScannerPlatform, type ScannerPlaybookEntry, SECURITY_SCANNER_IDS, type SecurityScannerId, wrapPlaybookSnippetAsPipelineYaml, } from "./security-scanner-playbooks.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/product-docs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1F,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,KAAK,gBAAgB,EACrB,cAAc,EACd,cAAc,EACd,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,yBAAyB,EACzB,kBAAkB,GACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,kCAAkC,EAClC,gBAAgB,GACjB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EACL,mCAAmC,EACnC,mCAAmC,EACnC,mBAAmB,EACnB,gCAAgC,EAChC,4BAA4B,EAC5B,KAAK,aAAa,EAClB,gCAAgC,EAChC,YAAY,EACZ,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,oBAAoB,EACpB,KAAK,iBAAiB,EACtB,iCAAiC,GAClC,MAAM,iCAAiC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/product-docs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1F,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,KAAK,gBAAgB,EACrB,cAAc,EACd,cAAc,EACd,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,EACzB,kBAAkB,GACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,kCAAkC,EAClC,gBAAgB,GACjB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EACL,mCAAmC,EACnC,mCAAmC,EACnC,mBAAmB,EACnB,gCAAgC,EAChC,4BAA4B,EAC5B,KAAK,aAAa,EAClB,gCAAgC,EAChC,YAAY,EACZ,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,oBAAoB,EACpB,KAAK,iBAAiB,EACtB,iCAAiC,GAClC,MAAM,iCAAiC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.wrapPlaybookSnippetAsPipelineYaml = exports.SECURITY_SCANNER_IDS = exports.SCANNER_META = exports.parseSecurityScannerPlaybookArgs = exports.PLAYBOOK_ASPM_MATRIX_EXAMPLE = exports.listPlaybookNausKindAspmSnippets = exports.isSecurityScannerId = exports.buildSecurityScannersCatalogPayload = exports.buildSecurityScannerPlaybookPayload = exports.NAUS_SCHEMA_OVERVIEW = exports.NAUS_WEB_DOC_IDS = exports.loadNausPipelineDocsBundleFromDisk = exports.KUBBISEC_MCP_TOOLS = exports.KUBBISEC_MCP_ACTION_TOOLS = exports.sectionIdFromHeading = exports.pickDocSection = exports.parseDocBundle = exports.listDocSectionIds = exports.buildDocSectionIndex = exports.loadAspmDocsBundleFromDisk = exports.ASPM_DOC_FILES = exports.loadAiDocsBundleFromDisk = void 0;
3
+ exports.wrapPlaybookSnippetAsPipelineYaml = exports.SECURITY_SCANNER_IDS = exports.SCANNER_META = exports.parseSecurityScannerPlaybookArgs = exports.PLAYBOOK_ASPM_MATRIX_EXAMPLE = exports.listPlaybookNausKindAspmSnippets = exports.isSecurityScannerId = exports.buildSecurityScannersCatalogPayload = exports.buildSecurityScannerPlaybookPayload = exports.NAUS_SCHEMA_OVERVIEW = exports.NAUS_WEB_DOC_IDS = exports.loadNausPipelineDocsBundleFromDisk = exports.KUBBISEC_MCP_TOOLS = exports.KUBBISEC_MCP_ACTION_TOOLS = exports.KUBBISEC_ASSISTANT_PARITY_TOOLS = exports.sectionIdFromHeading = exports.pickDocSection = exports.parseDocBundle = exports.listDocSectionIds = exports.buildDocSectionIndex = exports.loadAspmDocsBundleFromDisk = exports.ASPM_DOC_FILES = exports.loadAiDocsBundleFromDisk = void 0;
4
4
  var ai_docs_bundle_loader_js_1 = require("./ai-docs-bundle.loader.js");
5
5
  Object.defineProperty(exports, "loadAiDocsBundleFromDisk", { enumerable: true, get: function () { return ai_docs_bundle_loader_js_1.loadAiDocsBundleFromDisk; } });
6
6
  var aspm_docs_bundle_loader_js_1 = require("./aspm-docs-bundle.loader.js");
@@ -13,6 +13,7 @@ Object.defineProperty(exports, "parseDocBundle", { enumerable: true, get: functi
13
13
  Object.defineProperty(exports, "pickDocSection", { enumerable: true, get: function () { return doc_bundle_utils_js_1.pickDocSection; } });
14
14
  Object.defineProperty(exports, "sectionIdFromHeading", { enumerable: true, get: function () { return doc_bundle_utils_js_1.sectionIdFromHeading; } });
15
15
  var mcp_tools_catalog_js_1 = require("./mcp-tools-catalog.js");
16
+ Object.defineProperty(exports, "KUBBISEC_ASSISTANT_PARITY_TOOLS", { enumerable: true, get: function () { return mcp_tools_catalog_js_1.KUBBISEC_ASSISTANT_PARITY_TOOLS; } });
16
17
  Object.defineProperty(exports, "KUBBISEC_MCP_ACTION_TOOLS", { enumerable: true, get: function () { return mcp_tools_catalog_js_1.KUBBISEC_MCP_ACTION_TOOLS; } });
17
18
  Object.defineProperty(exports, "KUBBISEC_MCP_TOOLS", { enumerable: true, get: function () { return mcp_tools_catalog_js_1.KUBBISEC_MCP_TOOLS; } });
18
19
  var naus_pipeline_docs_bundle_loader_js_1 = require("./naus-pipeline-docs-bundle.loader.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/product-docs/index.ts"],"names":[],"mappings":";;;AAAA,uEAAsE;AAA7D,oIAAA,wBAAwB,OAAA;AACjC,2EAA0F;AAAjF,4HAAA,cAAc,OAAA;AAAE,wIAAA,0BAA0B,OAAA;AACnD,6DAO+B;AAN7B,2HAAA,oBAAoB,OAAA;AACpB,wHAAA,iBAAiB,OAAA;AAEjB,qHAAA,cAAc,OAAA;AACd,qHAAA,cAAc,OAAA;AACd,2HAAA,oBAAoB,OAAA;AAEtB,+DAGgC;AAF9B,iIAAA,yBAAyB,OAAA;AACzB,0HAAA,kBAAkB,OAAA;AAEpB,6FAG+C;AAF7C,yJAAA,kCAAkC,OAAA;AAClC,uIAAA,gBAAgB,OAAA;AAElB,qEAAiE;AAAxD,+HAAA,oBAAoB,OAAA;AAC7B,iFAcyC;AAbvC,oJAAA,mCAAmC,OAAA;AACnC,oJAAA,mCAAmC,OAAA;AACnC,oIAAA,mBAAmB,OAAA;AACnB,iJAAA,gCAAgC,OAAA;AAChC,6IAAA,4BAA4B,OAAA;AAE5B,iJAAA,gCAAgC,OAAA;AAChC,6HAAA,YAAY,OAAA;AAGZ,qIAAA,oBAAoB,OAAA;AAEpB,kJAAA,iCAAiC,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/product-docs/index.ts"],"names":[],"mappings":";;;AAAA,uEAAsE;AAA7D,oIAAA,wBAAwB,OAAA;AACjC,2EAA0F;AAAjF,4HAAA,cAAc,OAAA;AAAE,wIAAA,0BAA0B,OAAA;AACnD,6DAO+B;AAN7B,2HAAA,oBAAoB,OAAA;AACpB,wHAAA,iBAAiB,OAAA;AAEjB,qHAAA,cAAc,OAAA;AACd,qHAAA,cAAc,OAAA;AACd,2HAAA,oBAAoB,OAAA;AAEtB,+DAIgC;AAH9B,uIAAA,+BAA+B,OAAA;AAC/B,iIAAA,yBAAyB,OAAA;AACzB,0HAAA,kBAAkB,OAAA;AAEpB,6FAG+C;AAF7C,yJAAA,kCAAkC,OAAA;AAClC,uIAAA,gBAAgB,OAAA;AAElB,qEAAiE;AAAxD,+HAAA,oBAAoB,OAAA;AAC7B,iFAcyC;AAbvC,oJAAA,mCAAmC,OAAA;AACnC,oJAAA,mCAAmC,OAAA;AACnC,oIAAA,mBAAmB,OAAA;AACnB,iJAAA,gCAAgC,OAAA;AAChC,6IAAA,4BAA4B,OAAA;AAE5B,iJAAA,gCAAgC,OAAA;AAChC,6HAAA,YAAY,OAAA;AAGZ,qIAAA,oBAAoB,OAAA;AAEpB,kJAAA,iCAAiC,OAAA"}
@@ -1,4 +1,6 @@
1
- /** Action tools exposed by @kubbisec/mcp (no documentation tools). */
1
+ /** Tools the platform MCP registers itself (REST). Assistant-parity tools are added from the API catalog. */
2
2
  export declare const KUBBISEC_MCP_ACTION_TOOLS: readonly ["resolve_project_by_repository", "list_project_by_repository_candidates", "list_vulnerabilities", "get_vulnerability", "trigger_kubbisec_scan", "get_kubbisec_scan_status", "list_kubbisec_scan_tasks", "cancel_kubbisec_scan_task", "generate_remediation_plan", "generate_issue_draft_for_vulnerability", "start_ai_remediation_run", "get_ai_remediation_run_status", "get_ai_remediation_run_logs", "validate_naus_pipeline_yaml", "list_pipeline_generation_jobs"];
3
- export declare const KUBBISEC_MCP_TOOLS: readonly ["resolve_project_by_repository", "list_project_by_repository_candidates", "list_vulnerabilities", "get_vulnerability", "trigger_kubbisec_scan", "get_kubbisec_scan_status", "list_kubbisec_scan_tasks", "cancel_kubbisec_scan_task", "generate_remediation_plan", "generate_issue_draft_for_vulnerability", "start_ai_remediation_run", "get_ai_remediation_run_status", "get_ai_remediation_run_logs", "validate_naus_pipeline_yaml", "list_pipeline_generation_jobs"];
3
+ /** Same function names as the KubbiSec assistant tool catalog, executed via the API. */
4
+ export declare const KUBBISEC_ASSISTANT_PARITY_TOOLS: readonly ["kubbisec_mcp_knowledge", "aspm_docs", "security_scanners_catalog", "security_scanner_playbook", "kubsec_github_repository", "github_extended_context_policy", "explain_vulnerability", "explain_follow_up", "get_finding_summary", "list_findings", "get_ci_run_status", "get_ci_run_detail", "get_ci_run_logs_excerpt", "pause_ci_job", "resume_ci_job", "replay_run", "list_run_artifacts", "create_pipeline", "naus_pipeline_docs", "naus_schema_overview", "naus_validate_yaml", "kubsec_list_projects", "kubsec_get_project", "get_ci_tree", "get_recent_runs", "get_run_logs_excerpt", "get_pipeline_schedules", "get_pipeline_env_packs", "get_pipeline_env_preview", "update_pipeline_fields", "trigger_run", "cancel_run", "create_pipeline_schedule", "update_pipeline_schedule", "delete_pipeline_schedule", "attach_env_pack", "detach_env_pack", "replace_editor_yaml_range", "set_pipeline_yaml", "set_editor_yaml"];
5
+ export declare const KUBBISEC_MCP_TOOLS: readonly ["resolve_project_by_repository", "list_project_by_repository_candidates", "list_vulnerabilities", "get_vulnerability", "trigger_kubbisec_scan", "get_kubbisec_scan_status", "list_kubbisec_scan_tasks", "cancel_kubbisec_scan_task", "generate_remediation_plan", "generate_issue_draft_for_vulnerability", "start_ai_remediation_run", "get_ai_remediation_run_status", "get_ai_remediation_run_logs", "validate_naus_pipeline_yaml", "list_pipeline_generation_jobs", "kubbisec_mcp_knowledge", "aspm_docs", "security_scanners_catalog", "security_scanner_playbook", "kubsec_github_repository", "github_extended_context_policy", "explain_vulnerability", "explain_follow_up", "get_finding_summary", "list_findings", "get_ci_run_status", "get_ci_run_detail", "get_ci_run_logs_excerpt", "pause_ci_job", "resume_ci_job", "replay_run", "list_run_artifacts", "create_pipeline", "naus_pipeline_docs", "naus_schema_overview", "naus_validate_yaml", "kubsec_list_projects", "kubsec_get_project", "get_ci_tree", "get_recent_runs", "get_run_logs_excerpt", "get_pipeline_schedules", "get_pipeline_env_packs", "get_pipeline_env_preview", "update_pipeline_fields", "trigger_run", "cancel_run", "create_pipeline_schedule", "update_pipeline_schedule", "delete_pipeline_schedule", "attach_env_pack", "detach_env_pack", "replace_editor_yaml_range", "set_pipeline_yaml", "set_editor_yaml"];
4
6
  //# sourceMappingURL=mcp-tools-catalog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-tools-catalog.d.ts","sourceRoot":"","sources":["../../src/product-docs/mcp-tools-catalog.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,eAAO,MAAM,yBAAyB,mdAgB5B,CAAC;AAEX,eAAO,MAAM,kBAAkB,mdAA0C,CAAC"}
1
+ {"version":3,"file":"mcp-tools-catalog.d.ts","sourceRoot":"","sources":["../../src/product-docs/mcp-tools-catalog.ts"],"names":[],"mappings":"AAAA,6GAA6G;AAC7G,eAAO,MAAM,yBAAyB,mdAgB5B,CAAC;AAEX,wFAAwF;AACxF,eAAO,MAAM,+BAA+B,+4BAyClC,CAAC;AAEX,eAAO,MAAM,kBAAkB,u1CAGrB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.KUBBISEC_MCP_TOOLS = exports.KUBBISEC_MCP_ACTION_TOOLS = void 0;
4
- /** Action tools exposed by @kubbisec/mcp (no documentation tools). */
3
+ exports.KUBBISEC_MCP_TOOLS = exports.KUBBISEC_ASSISTANT_PARITY_TOOLS = exports.KUBBISEC_MCP_ACTION_TOOLS = void 0;
4
+ /** Tools the platform MCP registers itself (REST). Assistant-parity tools are added from the API catalog. */
5
5
  exports.KUBBISEC_MCP_ACTION_TOOLS = [
6
6
  "resolve_project_by_repository",
7
7
  "list_project_by_repository_candidates",
@@ -19,5 +19,51 @@ exports.KUBBISEC_MCP_ACTION_TOOLS = [
19
19
  "validate_naus_pipeline_yaml",
20
20
  "list_pipeline_generation_jobs",
21
21
  ];
22
- exports.KUBBISEC_MCP_TOOLS = [...exports.KUBBISEC_MCP_ACTION_TOOLS];
22
+ /** Same function names as the KubbiSec assistant tool catalog, executed via the API. */
23
+ exports.KUBBISEC_ASSISTANT_PARITY_TOOLS = [
24
+ "kubbisec_mcp_knowledge",
25
+ "aspm_docs",
26
+ "security_scanners_catalog",
27
+ "security_scanner_playbook",
28
+ "kubsec_github_repository",
29
+ "github_extended_context_policy",
30
+ "explain_vulnerability",
31
+ "explain_follow_up",
32
+ "get_finding_summary",
33
+ "list_findings",
34
+ "get_ci_run_status",
35
+ "get_ci_run_detail",
36
+ "get_ci_run_logs_excerpt",
37
+ "pause_ci_job",
38
+ "resume_ci_job",
39
+ "replay_run",
40
+ "list_run_artifacts",
41
+ "create_pipeline",
42
+ "naus_pipeline_docs",
43
+ "naus_schema_overview",
44
+ "naus_validate_yaml",
45
+ "kubsec_list_projects",
46
+ "kubsec_get_project",
47
+ "get_ci_tree",
48
+ "get_recent_runs",
49
+ "get_run_logs_excerpt",
50
+ "get_pipeline_schedules",
51
+ "get_pipeline_env_packs",
52
+ "get_pipeline_env_preview",
53
+ "update_pipeline_fields",
54
+ "trigger_run",
55
+ "cancel_run",
56
+ "create_pipeline_schedule",
57
+ "update_pipeline_schedule",
58
+ "delete_pipeline_schedule",
59
+ "attach_env_pack",
60
+ "detach_env_pack",
61
+ "replace_editor_yaml_range",
62
+ "set_pipeline_yaml",
63
+ "set_editor_yaml",
64
+ ];
65
+ exports.KUBBISEC_MCP_TOOLS = [
66
+ ...exports.KUBBISEC_MCP_ACTION_TOOLS,
67
+ ...exports.KUBBISEC_ASSISTANT_PARITY_TOOLS,
68
+ ];
23
69
  //# sourceMappingURL=mcp-tools-catalog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-tools-catalog.js","sourceRoot":"","sources":["../../src/product-docs/mcp-tools-catalog.ts"],"names":[],"mappings":";;;AAAA,sEAAsE;AACzD,QAAA,yBAAyB,GAAG;IACvC,+BAA+B;IAC/B,uCAAuC;IACvC,sBAAsB;IACtB,mBAAmB;IACnB,uBAAuB;IACvB,0BAA0B;IAC1B,0BAA0B;IAC1B,2BAA2B;IAC3B,2BAA2B;IAC3B,wCAAwC;IACxC,0BAA0B;IAC1B,+BAA+B;IAC/B,6BAA6B;IAC7B,6BAA6B;IAC7B,+BAA+B;CACvB,CAAC;AAEE,QAAA,kBAAkB,GAAG,CAAC,GAAG,iCAAyB,CAAU,CAAC"}
1
+ {"version":3,"file":"mcp-tools-catalog.js","sourceRoot":"","sources":["../../src/product-docs/mcp-tools-catalog.ts"],"names":[],"mappings":";;;AAAA,6GAA6G;AAChG,QAAA,yBAAyB,GAAG;IACvC,+BAA+B;IAC/B,uCAAuC;IACvC,sBAAsB;IACtB,mBAAmB;IACnB,uBAAuB;IACvB,0BAA0B;IAC1B,0BAA0B;IAC1B,2BAA2B;IAC3B,2BAA2B;IAC3B,wCAAwC;IACxC,0BAA0B;IAC1B,+BAA+B;IAC/B,6BAA6B;IAC7B,6BAA6B;IAC7B,+BAA+B;CACvB,CAAC;AAEX,wFAAwF;AAC3E,QAAA,+BAA+B,GAAG;IAC7C,wBAAwB;IACxB,WAAW;IACX,2BAA2B;IAC3B,2BAA2B;IAC3B,0BAA0B;IAC1B,gCAAgC;IAChC,uBAAuB;IACvB,mBAAmB;IACnB,qBAAqB;IACrB,eAAe;IACf,mBAAmB;IACnB,mBAAmB;IACnB,yBAAyB;IACzB,cAAc;IACd,eAAe;IACf,YAAY;IACZ,oBAAoB;IACpB,iBAAiB;IACjB,oBAAoB;IACpB,sBAAsB;IACtB,oBAAoB;IACpB,sBAAsB;IACtB,oBAAoB;IACpB,aAAa;IACb,iBAAiB;IACjB,sBAAsB;IACtB,wBAAwB;IACxB,wBAAwB;IACxB,0BAA0B;IAC1B,wBAAwB;IACxB,aAAa;IACb,YAAY;IACZ,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,iBAAiB;IACjB,iBAAiB;IACjB,2BAA2B;IAC3B,mBAAmB;IACnB,iBAAiB;CACT,CAAC;AAEE,QAAA,kBAAkB,GAAG;IAChC,GAAG,iCAAyB;IAC5B,GAAG,uCAA+B;CAC1B,CAAC"}
@@ -1,5 +1,5 @@
1
- /** Web internal docs. Order matters for readability. */
2
- export declare const NAUS_WEB_DOC_IDS: readonly ["naus-quickstart", "naus-commands", "naus-runners", "naus-security", "naus-pipeline-overview", "naus-pipeline-only", "naus-pipeline-run", "naus-pipeline-depends", "naus-pipeline-anchors", "naus-pipeline-variables", "naus-pipeline-volumes", "naus-pipeline-script", "naus-pipeline-repository", "naus-pipeline-image", "naus-pipeline-docker-preset", "naus-pipeline-examples", "naus-aspm-integration", "naus-aspm-preset", "naus-aspm-matrix", "naus-aspm-gate"];
1
+ /** Web internal docs. Order matches apps/web/.../naus-docs-meta.ts sidebar. */
2
+ export declare const NAUS_WEB_DOC_IDS: readonly ["naus-quickstart", "naus-commands", "naus-pipeline-overview", "naus-pipeline-run", "naus-pipeline-image", "naus-pipeline-script", "naus-pipeline-before-script", "naus-pipeline-after-script", "naus-pipeline-when", "naus-pipeline-cache", "naus-pipeline-depends", "naus-pipeline-variables", "naus-pipeline-volumes", "naus-pipeline-repository", "naus-pipeline-only", "naus-pipeline-artifacts", "naus-pipeline-anchors", "naus-pipeline-examples", "naus-pipeline-docker-preset", "naus-pipeline-special-values", "naus-pipeline-platform", "naus-pipeline-helm-kubectl", "naus-aspm-integration", "naus-aspm-preset", "naus-aspm-matrix", "naus-aspm-gate", "naus-security", "naus-runners"];
3
3
  /**
4
4
  * Reads NAUS markdown: web content/naus, legacy docs/naus extras, @kubbisec/naus-validation README.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"naus-pipeline-docs-bundle.loader.d.ts","sourceRoot":"","sources":["../../src/product-docs/naus-pipeline-docs-bundle.loader.ts"],"names":[],"mappings":"AAKA,wDAAwD;AACxD,eAAO,MAAM,gBAAgB,kdAqBnB,CAAC;AA2EX;;GAEG;AACH,wBAAsB,kCAAkC,IAAI,OAAO,CAAC;IAClE,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC,CA8CD"}
1
+ {"version":3,"file":"naus-pipeline-docs-bundle.loader.d.ts","sourceRoot":"","sources":["../../src/product-docs/naus-pipeline-docs-bundle.loader.ts"],"names":[],"mappings":"AAKA,+EAA+E;AAC/E,eAAO,MAAM,gBAAgB,+qBA6BnB,CAAC;AA2EX;;GAEG;AACH,wBAAsB,kCAAkC,IAAI,OAAO,CAAC;IAClE,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC,CAmDD"}
@@ -6,28 +6,36 @@ const node_fs_1 = require("node:fs");
6
6
  const promises_1 = require("node:fs/promises");
7
7
  const node_path_1 = require("node:path");
8
8
  const monorepo_root_js_1 = require("./monorepo-root.js");
9
- /** Web internal docs. Order matters for readability. */
9
+ /** Web internal docs. Order matches apps/web/.../naus-docs-meta.ts sidebar. */
10
10
  exports.NAUS_WEB_DOC_IDS = [
11
11
  "naus-quickstart",
12
12
  "naus-commands",
13
- "naus-runners",
14
- "naus-security",
15
13
  "naus-pipeline-overview",
16
- "naus-pipeline-only",
17
14
  "naus-pipeline-run",
15
+ "naus-pipeline-image",
16
+ "naus-pipeline-script",
17
+ "naus-pipeline-before-script",
18
+ "naus-pipeline-after-script",
19
+ "naus-pipeline-when",
20
+ "naus-pipeline-cache",
18
21
  "naus-pipeline-depends",
19
- "naus-pipeline-anchors",
20
22
  "naus-pipeline-variables",
21
23
  "naus-pipeline-volumes",
22
- "naus-pipeline-script",
23
24
  "naus-pipeline-repository",
24
- "naus-pipeline-image",
25
- "naus-pipeline-docker-preset",
25
+ "naus-pipeline-only",
26
+ "naus-pipeline-artifacts",
27
+ "naus-pipeline-anchors",
26
28
  "naus-pipeline-examples",
29
+ "naus-pipeline-docker-preset",
30
+ "naus-pipeline-special-values",
31
+ "naus-pipeline-platform",
32
+ "naus-pipeline-helm-kubectl",
27
33
  "naus-aspm-integration",
28
34
  "naus-aspm-preset",
29
35
  "naus-aspm-matrix",
30
36
  "naus-aspm-gate",
37
+ "naus-security",
38
+ "naus-runners",
31
39
  ];
32
40
  /** Extra markdown only under docs/naus/ (not duplicated in web tree). */
33
41
  const NAUS_LEGACY_DOC_FILES = [
@@ -103,6 +111,8 @@ async function loadNausPipelineDocsBundleFromDisk() {
103
111
  const triedPaths = [...webCandidates, ...legacyCandidates, ...listValidationReadmeCandidates()];
104
112
  const chunks = [];
105
113
  let sourceDir = null;
114
+ let bestWebChunks = [];
115
+ let bestWebDir = null;
106
116
  for (const dir of webCandidates) {
107
117
  if (!(0, node_fs_1.existsSync)(dir))
108
118
  continue;
@@ -113,12 +123,15 @@ async function loadNausPipelineDocsBundleFromDisk() {
113
123
  if (chunk)
114
124
  webChunks.push(chunk);
115
125
  }
116
- if (webChunks.length > 0) {
117
- chunks.push(...webChunks);
118
- sourceDir = dir;
119
- break;
126
+ if (webChunks.length > bestWebChunks.length) {
127
+ bestWebChunks = webChunks;
128
+ bestWebDir = dir;
120
129
  }
121
130
  }
131
+ if (bestWebChunks.length > 0) {
132
+ chunks.push(...bestWebChunks);
133
+ sourceDir = bestWebDir;
134
+ }
122
135
  for (const dir of legacyCandidates) {
123
136
  if (!(0, node_fs_1.existsSync)(dir))
124
137
  continue;
@@ -1 +1 @@
1
- {"version":3,"file":"naus-pipeline-docs-bundle.loader.js","sourceRoot":"","sources":["../../src/product-docs/naus-pipeline-docs-bundle.loader.ts"],"names":[],"mappings":";;;AAyGA,gFAkDC;AA3JD,qCAAqC;AACr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C1B,SAAS,GAAG,GAAG,CAAC;YAChB,MAAM;QACR,CAAC;IACH,CAAC;IAED,KAAK,MAAM,GAAG,IAAI,gBAAgB,EAAE,CAAC;QACnC,IAAI,CAAC,IAAA,oBAAU,EAAC,GAAG,CAAC;YAAE,SAAS;QAC/B,KAAK,MAAM,IAAI,IAAI,qBAAqB,EAAE,CAAC;YACzC,MAAM,EAAE,GAAG,IAAA,gBAAI,EAAC,GAAG,EAAE,IAAI,CAAC,CAAC;YAC3B,MAAM,KAAK,GAAG,MAAM,iBAAiB,CAAC,EAAE,EAAE,gBAAgB,IAAI,EAAE,CAAC,CAAC;YAClE,IAAI,KAAK;gBAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAChC,CAAC;QACD,IAAI,CAAC,SAAS,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC;YAAE,SAAS,GAAG,GAAG,CAAC;QACrD,MAAM;IACR,CAAC;IAED,KAAK,MAAM,EAAE,IAAI,8BAA8B,EAAE,EAAE,CAAC;QAClD,MAAM,KAAK,GAAG,MAAM,iBAAiB,CAAC,EAAE,EAAE,oBAAoB,CAAC,CAAC;QAChE,IAAI,KAAK,EAAE,CAAC;YACV,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,MAAM;QACR,CAAC;IACH,CAAC;IAED,OAAO;QACL,MAAM,EAAE,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE;QACzD,SAAS;QACT,UAAU;KACX,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"naus-pipeline-docs-bundle.loader.js","sourceRoot":"","sources":["../../src/product-docs/naus-pipeline-docs-bundle.loader.ts"],"names":[],"mappings":";;;AAiHA,gFAuDC;AAxKD,qCAAqC;AACrC,+CAA4C;AAC5C,yCAAiC;AACjC,yDAAkE;AAElE,+EAA+E;AAClE,QAAA,gBAAgB,GAAG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AC;AACJ,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const NAUS_SCHEMA_OVERVIEW = "NAUS pipeline YAML (cheat sheet \u2014 authoritative prose: naus_pipeline_docs, docs/naus/pipeline-reference.md):\n\nTOP-LEVEL (not GitHub Actions):\n- Required: run: (array of single-key job objects OR map job_id \u2192 config)\n- Optional: name, description, local, stages[], variables (map or KEY=value list), volumes[], repository, only[]\n- NEVER use top-level jobs:, env: (use variables:), needs:, commands:, steps:, or scanner:\n\nCONTAINER JOB (default kind: container):\n- image: + script: [string, ...] (required for container)\n- depends_on: [job_ids] (not needs:)\n- display_name, stage, variables|environment (one only), artifacts.paths[], only[], privileged\n\nASPM JOBS (declarative \u2014 no manual trivy/aspm CLI in script):\n- kind: aspm + tool: (trivy|gitleaks|syft|osv|semgrep|sonar|nmap|skipfish) + mode: scan|upload|scan-and-upload\n- kind: aspm_matrix + parallel: [{ tool: ... }, ...] + matrix_strategy: chain|fanout\n- kind: aspm_gate + rules: { vulnerabilities, coverage, risk_score, ... }\n- kind: aspm_preset + preset: kubbisec/default-security\n- kind: docker \u2014 build/registry preset (registry.server, tags; optional aspm.tool + aspm.gate.rules)\n\nMINIMAL EXAMPLE:\nname: ci\nrun:\n - build:\n image: node:20-alpine\n script: [npm ci, npm run build --if-present]\n - security:\n kind: aspm\n tool: trivy\n mode: scan-and-upload\n depends_on: [build]\n\nAlways call validate_naus_pipeline_yaml before persisting. privileged: true needs kbsc.ci.privileged.run.";
1
+ export declare const NAUS_SCHEMA_OVERVIEW = "NAUS pipeline YAML (cheat sheet \u2014 authoritative prose: naus_pipeline_docs, docs/naus/pipeline-reference.md):\n\nTOP-LEVEL (not GitHub Actions):\n- Required: run: (array of single-key job objects OR map job_id \u2192 config)\n- Optional: name, description, local, stages[], variables (map or KEY=value list), volumes[], repository, only[]\n- Optional infra: kubernetes (namespace, aws, kubeconfig), helm (default values), registry (aws_ecr), npm (userconfig), services (sidecars map)\n- NEVER use top-level jobs:, env: (use variables:), needs:, commands:, steps:, or scanner:\n\nCONTAINER JOB (default kind: container):\n- image: + script: [string or {run, when}, ...] (script required for container)\n- before_script / after_script: merged into script on expand\n- depends_on: [job_ids] (not needs:)\n- display_name, stage, variables|environment (one only), artifacts.paths[], only[], privileged, cache, npm: inherit|true, when, services[]\n\nASPM JOBS (declarative \u2014 no manual trivy/aspm CLI in script):\n- kind: aspm + tool: (trivy|gitleaks|syft|osv|semgrep|sonar|nmap|skipfish) + mode: scan|upload|scan-and-upload\n- kind: aspm_matrix + parallel: [{ tool: ... }, ...] + matrix_strategy: chain|fanout\n- kind: aspm_gate + rules: { vulnerabilities, coverage, risk_score, ... }\n- kind: aspm_preset + preset: kubbisec/default-security\n- kind: docker \u2014 build/registry preset (registry.server, tags; optional aspm.tool + aspm.gate.rules; executor for DinD)\n\nK8S PRESETS:\n- kind: helm + action: lint|template|upgrade; chart required; release required for upgrade; executor.image only (alpine/helm)\n- kind: kubectl + action: rollout_status|apply|wait; resource/files/condition per action\n- pipeline kubernetes: / helm.values: / registry.provider: aws_ecr for ECR+deploy flows\n\nWHEN (job or script step):\n- when.env.VAR: equals|not_equals|in|not_in|exists|empty\n- when.path_exists / path_not_exists: workspace-relative paths\n\nMINIMAL EXAMPLE:\nname: ci\nrun:\n - build:\n image: node:20-alpine\n script: [npm ci, npm run build --if-present]\n - security:\n kind: aspm\n tool: trivy\n mode: scan-and-upload\n depends_on: [build]\n\nAlways call validate_naus_pipeline_yaml before persisting. privileged: true (docker executor) needs kbsc.ci.privileged.run. helm/kubectl executor accepts image only, not privileged/variables.";
2
2
  //# sourceMappingURL=naus-schema-overview.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"naus-schema-overview.d.ts","sourceRoot":"","sources":["../../src/product-docs/naus-schema-overview.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,y/CA+ByE,CAAC"}
1
+ {"version":3,"file":"naus-schema-overview.d.ts","sourceRoot":"","sources":["../../src/product-docs/naus-schema-overview.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,60EA0C+J,CAAC"}
@@ -6,19 +6,30 @@ exports.NAUS_SCHEMA_OVERVIEW = `NAUS pipeline YAML (cheat sheet — authoritativ
6
6
  TOP-LEVEL (not GitHub Actions):
7
7
  - Required: run: (array of single-key job objects OR map job_id → config)
8
8
  - Optional: name, description, local, stages[], variables (map or KEY=value list), volumes[], repository, only[]
9
+ - Optional infra: kubernetes (namespace, aws, kubeconfig), helm (default values), registry (aws_ecr), npm (userconfig), services (sidecars map)
9
10
  - NEVER use top-level jobs:, env: (use variables:), needs:, commands:, steps:, or scanner:
10
11
 
11
12
  CONTAINER JOB (default kind: container):
12
- - image: + script: [string, ...] (required for container)
13
+ - image: + script: [string or {run, when}, ...] (script required for container)
14
+ - before_script / after_script: merged into script on expand
13
15
  - depends_on: [job_ids] (not needs:)
14
- - display_name, stage, variables|environment (one only), artifacts.paths[], only[], privileged
16
+ - display_name, stage, variables|environment (one only), artifacts.paths[], only[], privileged, cache, npm: inherit|true, when, services[]
15
17
 
16
18
  ASPM JOBS (declarative — no manual trivy/aspm CLI in script):
17
19
  - kind: aspm + tool: (trivy|gitleaks|syft|osv|semgrep|sonar|nmap|skipfish) + mode: scan|upload|scan-and-upload
18
20
  - kind: aspm_matrix + parallel: [{ tool: ... }, ...] + matrix_strategy: chain|fanout
19
21
  - kind: aspm_gate + rules: { vulnerabilities, coverage, risk_score, ... }
20
22
  - kind: aspm_preset + preset: kubbisec/default-security
21
- - kind: docker — build/registry preset (registry.server, tags; optional aspm.tool + aspm.gate.rules)
23
+ - kind: docker — build/registry preset (registry.server, tags; optional aspm.tool + aspm.gate.rules; executor for DinD)
24
+
25
+ K8S PRESETS:
26
+ - kind: helm + action: lint|template|upgrade; chart required; release required for upgrade; executor.image only (alpine/helm)
27
+ - kind: kubectl + action: rollout_status|apply|wait; resource/files/condition per action
28
+ - pipeline kubernetes: / helm.values: / registry.provider: aws_ecr for ECR+deploy flows
29
+
30
+ WHEN (job or script step):
31
+ - when.env.VAR: equals|not_equals|in|not_in|exists|empty
32
+ - when.path_exists / path_not_exists: workspace-relative paths
22
33
 
23
34
  MINIMAL EXAMPLE:
24
35
  name: ci
@@ -32,5 +43,5 @@ run:
32
43
  mode: scan-and-upload
33
44
  depends_on: [build]
34
45
 
35
- Always call validate_naus_pipeline_yaml before persisting. privileged: true needs kbsc.ci.privileged.run.`;
46
+ Always call validate_naus_pipeline_yaml before persisting. privileged: true (docker executor) needs kbsc.ci.privileged.run. helm/kubectl executor accepts image only, not privileged/variables.`;
36
47
  //# sourceMappingURL=naus-schema-overview.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"naus-schema-overview.js","sourceRoot":"","sources":["../../src/product-docs/naus-schema-overview.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0GA+BsE,CAAC"}
1
+ {"version":3,"file":"naus-schema-overview.js","sourceRoot":"","sources":["../../src/product-docs/naus-schema-overview.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gMA0C4J,CAAC"}
@@ -2,6 +2,7 @@ export * from "./aspm-gate-rules";
2
2
  export * from "./build-aspm-security-matrix-pipeline-yaml";
3
3
  export * from "./build-github-security-workflow-yaml";
4
4
  export * from "./github-workflow-action-pins";
5
+ export * from "./report-provider-catalog";
5
6
  export * from "./security-tool.types";
6
7
  export * from "./security-tool-catalog";
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/security/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,uCAAuC,CAAC;AACtD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/security/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,uCAAuC,CAAC;AACtD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC"}
@@ -18,6 +18,7 @@ __exportStar(require("./aspm-gate-rules"), exports);
18
18
  __exportStar(require("./build-aspm-security-matrix-pipeline-yaml"), exports);
19
19
  __exportStar(require("./build-github-security-workflow-yaml"), exports);
20
20
  __exportStar(require("./github-workflow-action-pins"), exports);
21
+ __exportStar(require("./report-provider-catalog"), exports);
21
22
  __exportStar(require("./security-tool.types"), exports);
22
23
  __exportStar(require("./security-tool-catalog"), exports);
23
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/security/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,6EAA2D;AAC3D,wEAAsD;AACtD,gEAA8C;AAC9C,wDAAsC;AACtC,0DAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/security/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,6EAA2D;AAC3D,wEAAsD;AACtD,gEAA8C;AAC9C,4DAA0C;AAC1C,wDAAsC;AACtC,0DAAwC"}
@@ -0,0 +1,15 @@
1
+ /** Stable ingestion categories. Distinct from the Naus CI tool catalog. */
2
+ export declare const REPORT_CATEGORY_IDS: readonly ["sast", "sca", "secrets", "dast", "iac", "container", "sbom", "api_security", "k8s_manifest", "k8s_runtime", "cspm", "cwpp", "cnapp", "host_vuln", "network_vuln", "attack_surface", "port_scanning", "web_vuln", "cve", "malware", "supply_chain", "dependency_confusion", "typosquatting", "license", "binary", "firmware", "mobile", "android", "ios", "infra_compliance", "k8s_compliance", "docker_compliance", "cloud_compliance", "policy_as_code", "cicd_security", "github_posture", "gitlab_security", "repository_security", "artifact_registry", "package_registry", "pentest", "bug_bounty", "red_team", "bas", "threat_model", "threat_intel", "exploit_intel", "epss", "llm_security", "mcp_agent"];
3
+ export type ReportCategoryId = (typeof REPORT_CATEGORY_IDS)[number];
4
+ /** Legacy aliases stored on scan reports before category ids existed. */
5
+ export type ReportProviderCategory = ReportCategoryId | "network" | "web";
6
+ export type ReportProviderCatalogEntry = {
7
+ provider: string;
8
+ categories: readonly ReportProviderCategory[];
9
+ formats: readonly string[];
10
+ };
11
+ export declare const REPORT_PROVIDER_CATALOG: readonly ReportProviderCatalogEntry[];
12
+ export declare function isReportCategoryId(value: string): value is ReportCategoryId;
13
+ /** Legacy families keep the historical scan type strings (`container` → CONTAINER, `network` → NETWORK). */
14
+ export declare function scanTypeForReportCategory(category: string): string;
15
+ //# sourceMappingURL=report-provider-catalog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report-provider-catalog.d.ts","sourceRoot":"","sources":["../../src/security/report-provider-catalog.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,eAAO,MAAM,mBAAmB,8rBAmDtB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpE,yEAAyE;AACzE,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,GAAG,SAAS,GAAG,KAAK,CAAC;AAE1E,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,SAAS,sBAAsB,EAAE,CAAC;IAC9C,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,SAAS,0BAA0B,EAmGxE,CAAC;AAIF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAE3E;AAED,4GAA4G;AAC5G,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAoBlE"}
@@ -0,0 +1,185 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.REPORT_PROVIDER_CATALOG = exports.REPORT_CATEGORY_IDS = void 0;
4
+ exports.isReportCategoryId = isReportCategoryId;
5
+ exports.scanTypeForReportCategory = scanTypeForReportCategory;
6
+ /** Stable ingestion categories. Distinct from the Naus CI tool catalog. */
7
+ exports.REPORT_CATEGORY_IDS = [
8
+ "sast",
9
+ "sca",
10
+ "secrets",
11
+ "dast",
12
+ "iac",
13
+ "container",
14
+ "sbom",
15
+ "api_security",
16
+ "k8s_manifest",
17
+ "k8s_runtime",
18
+ "cspm",
19
+ "cwpp",
20
+ "cnapp",
21
+ "host_vuln",
22
+ "network_vuln",
23
+ "attack_surface",
24
+ "port_scanning",
25
+ "web_vuln",
26
+ "cve",
27
+ "malware",
28
+ "supply_chain",
29
+ "dependency_confusion",
30
+ "typosquatting",
31
+ "license",
32
+ "binary",
33
+ "firmware",
34
+ "mobile",
35
+ "android",
36
+ "ios",
37
+ "infra_compliance",
38
+ "k8s_compliance",
39
+ "docker_compliance",
40
+ "cloud_compliance",
41
+ "policy_as_code",
42
+ "cicd_security",
43
+ "github_posture",
44
+ "gitlab_security",
45
+ "repository_security",
46
+ "artifact_registry",
47
+ "package_registry",
48
+ "pentest",
49
+ "bug_bounty",
50
+ "red_team",
51
+ "bas",
52
+ "threat_model",
53
+ "threat_intel",
54
+ "exploit_intel",
55
+ "epss",
56
+ "llm_security",
57
+ "mcp_agent",
58
+ ];
59
+ exports.REPORT_PROVIDER_CATALOG = [
60
+ {
61
+ provider: "trivy",
62
+ categories: ["sca", "container", "iac", "secrets"],
63
+ formats: ["trivy-json", "sarif", "cyclonedx", "spdx"],
64
+ },
65
+ {
66
+ provider: "semgrep",
67
+ categories: ["sast", "secrets"],
68
+ formats: ["semgrep-json", "sarif"],
69
+ },
70
+ {
71
+ provider: "syft",
72
+ categories: ["sbom"],
73
+ formats: ["syft-json", "cyclonedx", "spdx"],
74
+ },
75
+ {
76
+ provider: "gitleaks",
77
+ categories: ["secrets"],
78
+ formats: ["gitleaks-json", "sarif"],
79
+ },
80
+ {
81
+ provider: "osv",
82
+ categories: ["sca"],
83
+ formats: ["osv-json"],
84
+ },
85
+ {
86
+ provider: "sonar",
87
+ categories: ["sast"],
88
+ formats: ["sonar-json"],
89
+ },
90
+ {
91
+ provider: "nmap",
92
+ categories: ["port_scanning", "network"],
93
+ formats: ["nmap-xml"],
94
+ },
95
+ {
96
+ provider: "skipfish",
97
+ categories: ["dast", "web"],
98
+ formats: ["skipfish-json"],
99
+ },
100
+ {
101
+ provider: "generic-sarif",
102
+ categories: ["sast", "secrets", "iac"],
103
+ formats: ["sarif"],
104
+ },
105
+ {
106
+ provider: "generic-cyclonedx",
107
+ categories: ["sbom", "sca", "container"],
108
+ formats: ["cyclonedx"],
109
+ },
110
+ {
111
+ provider: "generic-spdx",
112
+ categories: ["sbom", "sca"],
113
+ formats: ["spdx"],
114
+ },
115
+ {
116
+ provider: "generic-gitlab",
117
+ categories: ["sast", "sca", "container", "secrets", "dast", "iac"],
118
+ formats: ["gitlab-security"],
119
+ },
120
+ {
121
+ provider: "generic-ocsf",
122
+ categories: ["cspm", "cnapp", "host_vuln", "cloud_compliance", "k8s_runtime", "container"],
123
+ formats: ["ocsf"],
124
+ },
125
+ {
126
+ provider: "generic-asff",
127
+ categories: ["cspm", "host_vuln", "container"],
128
+ formats: ["asff"],
129
+ },
130
+ {
131
+ provider: "generic-csaf",
132
+ categories: ["cve", "sca"],
133
+ formats: ["csaf"],
134
+ },
135
+ {
136
+ provider: "generic-openvex",
137
+ categories: ["sca", "cve"],
138
+ formats: ["openvex"],
139
+ },
140
+ {
141
+ provider: "generic-osv",
142
+ categories: ["sca", "cve"],
143
+ formats: ["osv"],
144
+ },
145
+ {
146
+ provider: "generic-epss",
147
+ categories: ["epss"],
148
+ formats: ["epss"],
149
+ },
150
+ { provider: "nuclei", categories: ["dast", "network_vuln", "sast"], formats: ["nuclei-json"] },
151
+ { provider: "zap", categories: ["dast", "web"], formats: ["zap-json", "zap-xml"] },
152
+ { provider: "prowler", categories: ["cspm", "k8s_compliance"], formats: ["prowler-json"] },
153
+ { provider: "nessus", categories: ["host_vuln"], formats: ["nessus-json", "nessus-xml"] },
154
+ { provider: "mobsf", categories: ["mobile", "android", "ios"], formats: ["mobsf-json"] },
155
+ { provider: "burp", categories: ["dast", "web"], formats: ["burp-json", "burp-xml"] },
156
+ { provider: "qualys", categories: ["host_vuln"], formats: ["qualys-json", "qualys-xml"] },
157
+ { provider: "rapid7", categories: ["host_vuln"], formats: ["rapid7-json", "rapid7-xml"] },
158
+ ];
159
+ const REPORT_CATEGORY_ID_SET = new Set(exports.REPORT_CATEGORY_IDS);
160
+ function isReportCategoryId(value) {
161
+ return REPORT_CATEGORY_ID_SET.has(value);
162
+ }
163
+ /** Legacy families keep the historical scan type strings (`container` → CONTAINER, `network` → NETWORK). */
164
+ function scanTypeForReportCategory(category) {
165
+ switch (category) {
166
+ case "container":
167
+ return "CONTAINER";
168
+ case "sast":
169
+ return "SAST";
170
+ case "secrets":
171
+ return "SECRETS";
172
+ case "sbom":
173
+ return "SBOM";
174
+ case "network":
175
+ case "network_vuln":
176
+ case "port_scanning":
177
+ return "NETWORK";
178
+ case "web":
179
+ case "web_vuln":
180
+ return "WEB";
181
+ default:
182
+ return isReportCategoryId(category) ? category : "SAST";
183
+ }
184
+ }
185
+ //# sourceMappingURL=report-provider-catalog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report-provider-catalog.js","sourceRoot":"","sources":["../../src/security/report-provider-catalog.ts"],"names":[],"mappings":";;;AAwKA,gDAEC;AAGD,8DAoBC;AAjMD,2EAA2E;AAC9D,QAAA,mBAAmB,GAAG;IACjC,MAAM;IACN,KAAK;IACL,SAAS;IACT,MAAM;IACN,KAAK;IACL,WAAW;IACX,MAAM;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EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,aAAa,EAAE,YAAY,CAAC,EAAE;IACzF,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,aAAa,EAAE,YAAY,CAAC,EAAE;CAC1F,CAAC;AAEF,MAAM,sBAAsB,GAAG,IAAI,GAAG,CAAS,2BAAmB,CAAC,CAAC;AAEpE,SAAgB,kBAAkB,CAAC,KAAa;IAC9C,OAAO,sBAAsB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AAC3C,CAAC;AAED,4GAA4G;AAC5G,SAAgB,yBAAyB,CAAC,QAAgB;IACxD,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,WAAW;YACd,OAAO,WAAW,CAAC;QACrB,KAAK,MAAM;YACT,OAAO,MAAM,CAAC;QAChB,KAAK,SAAS;YACZ,OAAO,SAAS,CAAC;QACnB,KAAK,MAAM;YACT,OAAO,MAAM,CAAC;QAChB,KAAK,SAAS,CAAC;QACf,KAAK,cAAc,CAAC;QACpB,KAAK,eAAe;YAClB,OAAO,SAAS,CAAC;QACnB,KAAK,KAAK,CAAC;QACX,KAAK,UAAU;YACb,OAAO,KAAK,CAAC;QACf;YACE,OAAO,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5D,CAAC;AACH,CAAC"}
@@ -0,0 +1,30 @@
1
+ export declare function mcpSessionOwner(kind: string, context: {
2
+ apiBase: string;
3
+ apiKey: string;
4
+ organizationId: string;
5
+ organizationSlug: string;
6
+ }): string;
7
+ export declare function mcpPositiveLimit(value: string | undefined, fallback: number): number;
8
+ /** Reserves capacity before async initialization; credentials bind every subsequent request. */
9
+ export declare class McpSessionStore<T> {
10
+ private readonly closeValue;
11
+ private readonly entries;
12
+ private readonly timer;
13
+ private readonly ttlMs;
14
+ private readonly maxSessions;
15
+ private readonly maxPerOwner;
16
+ private readonly maxPerTenant;
17
+ constructor(closeValue: (value: T) => Promise<void>, options?: {
18
+ ttlMs?: number;
19
+ maxSessions?: number;
20
+ maxPerOwner?: number;
21
+ maxPerTenant?: number;
22
+ });
23
+ reserve(owner: string, tenant: string): string | undefined;
24
+ commit(reservation: string, sessionId: string, value: T): boolean;
25
+ get(sessionId: string, owner: string): T | undefined;
26
+ delete(sessionId: string): Promise<void>;
27
+ close(): Promise<void>;
28
+ private prune;
29
+ }
30
+ //# sourceMappingURL=mcp-sessions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp-sessions.d.ts","sourceRoot":"","sources":["../../src/server/mcp-sessions.ts"],"names":[],"mappings":"AAEA,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE;IACP,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,GACA,MAAM,CAYR;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAGpF;AAID,gGAAgG;AAChG,qBAAa,eAAe,CAAC,CAAC;IAS1B,OAAO,CAAC,QAAQ,CAAC,UAAU;IAR7B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAuC;IAC/D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAiC;IACvD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAS;IAC/B,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;IACrC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;IACrC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAS;gBAGnB,UAAU,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,EACxD,OAAO,GAAE;QACP,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,YAAY,CAAC,EAAE,MAAM,CAAC;KAClB;IAeR,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAe1D,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO;IAQjE,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS;IAQ9C,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAMxC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAM5B,OAAO,CAAC,KAAK;CAMd"}
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.McpSessionStore = void 0;
4
+ exports.mcpSessionOwner = mcpSessionOwner;
5
+ exports.mcpPositiveLimit = mcpPositiveLimit;
6
+ const node_crypto_1 = require("node:crypto");
7
+ function mcpSessionOwner(kind, context) {
8
+ return (0, node_crypto_1.createHash)("sha256")
9
+ .update(JSON.stringify([
10
+ kind,
11
+ context.apiBase,
12
+ context.apiKey,
13
+ context.organizationId,
14
+ context.organizationSlug,
15
+ ]))
16
+ .digest("hex");
17
+ }
18
+ function mcpPositiveLimit(value, fallback) {
19
+ const number = Number(value);
20
+ return Number.isSafeInteger(number) && number > 0 ? number : fallback;
21
+ }
22
+ /** Reserves capacity before async initialization; credentials bind every subsequent request. */
23
+ class McpSessionStore {
24
+ closeValue;
25
+ entries = new Map();
26
+ timer;
27
+ ttlMs;
28
+ maxSessions;
29
+ maxPerOwner;
30
+ maxPerTenant;
31
+ constructor(closeValue, options = {}) {
32
+ this.closeValue = closeValue;
33
+ this.ttlMs =
34
+ options.ttlMs ?? mcpPositiveLimit(process.env.KUBBISEC_MCP_SESSION_TTL_MS, 30 * 60_000);
35
+ this.maxSessions =
36
+ options.maxSessions ?? mcpPositiveLimit(process.env.KUBBISEC_MCP_MAX_SESSIONS, 256);
37
+ this.maxPerOwner =
38
+ options.maxPerOwner ?? mcpPositiveLimit(process.env.KUBBISEC_MCP_MAX_SESSIONS_PER_OWNER, 16);
39
+ this.maxPerTenant =
40
+ options.maxPerTenant ??
41
+ mcpPositiveLimit(process.env.KUBBISEC_MCP_MAX_SESSIONS_PER_TENANT, 32);
42
+ this.timer = setInterval(() => this.prune(), Math.min(this.ttlMs, 60_000));
43
+ this.timer.unref();
44
+ }
45
+ reserve(owner, tenant) {
46
+ this.prune();
47
+ if (this.entries.size >= this.maxSessions)
48
+ return undefined;
49
+ let byOwner = 0;
50
+ let byTenant = 0;
51
+ for (const entry of this.entries.values()) {
52
+ if (entry.owner === owner)
53
+ byOwner++;
54
+ if (entry.tenant === tenant)
55
+ byTenant++;
56
+ }
57
+ if (byOwner >= this.maxPerOwner || byTenant >= this.maxPerTenant)
58
+ return undefined;
59
+ const reservation = `pending:${(0, node_crypto_1.randomUUID)()}`;
60
+ this.entries.set(reservation, { owner, tenant, touchedAt: Date.now() });
61
+ return reservation;
62
+ }
63
+ commit(reservation, sessionId, value) {
64
+ const record = this.entries.get(reservation);
65
+ if (!record || this.entries.has(sessionId))
66
+ return false;
67
+ this.entries.delete(reservation);
68
+ this.entries.set(sessionId, { ...record, value, touchedAt: Date.now() });
69
+ return true;
70
+ }
71
+ get(sessionId, owner) {
72
+ this.prune();
73
+ const record = this.entries.get(sessionId);
74
+ if (!record || record.owner !== owner || record.value === undefined)
75
+ return undefined;
76
+ record.touchedAt = Date.now();
77
+ return record.value;
78
+ }
79
+ async delete(sessionId) {
80
+ const record = this.entries.get(sessionId);
81
+ this.entries.delete(sessionId);
82
+ if (record?.value !== undefined)
83
+ await this.closeValue(record.value);
84
+ }
85
+ async close() {
86
+ clearInterval(this.timer);
87
+ const ids = [...this.entries.keys()];
88
+ await Promise.allSettled(ids.map((id) => this.delete(id)));
89
+ }
90
+ prune() {
91
+ const cutoff = Date.now() - this.ttlMs;
92
+ for (const [id, record] of this.entries) {
93
+ if (record.touchedAt <= cutoff)
94
+ void this.delete(id).catch(() => { });
95
+ }
96
+ }
97
+ }
98
+ exports.McpSessionStore = McpSessionStore;
99
+ //# sourceMappingURL=mcp-sessions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp-sessions.js","sourceRoot":"","sources":["../../src/server/mcp-sessions.ts"],"names":[],"mappings":";;;AAEA,0CAoBC;AAED,4CAGC;AA3BD,6CAAqD;AAErD,SAAgB,eAAe,CAC7B,IAAY,EACZ,OAKC;IAED,OAAO,IAAA,wBAAU,EAAC,QAAQ,CAAC;SACxB,MAAM,CACL,IAAI,CAAC,SAAS,CAAC;QACb,IAAI;QACJ,OAAO,CAAC,OAAO;QACf,OAAO,CAAC,MAAM;QACd,OAAO,CAAC,cAAc;QACtB,OAAO,CAAC,gBAAgB;KACzB,CAAC,CACH;SACA,MAAM,CAAC,KAAK,CAAC,CAAC;AACnB,CAAC;AAED,SAAgB,gBAAgB,CAAC,KAAyB,EAAE,QAAgB;IAC1E,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAC7B,OAAO,MAAM,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC;AACxE,CAAC;AAID,gGAAgG;AAChG,MAAa,eAAe;IASP;IARF,OAAO,GAAG,IAAI,GAAG,EAA4B,CAAC;IAC9C,KAAK,CAAiC;IACtC,KAAK,CAAS;IACd,WAAW,CAAS;IACpB,WAAW,CAAS;IACpB,YAAY,CAAS;IAEtC,YACmB,UAAuC,EACxD,UAKI,EAAE;QANW,eAAU,GAAV,UAAU,CAA6B;QAQxD,IAAI,CAAC,KAAK;YACR,OAAO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,CAAC;QAC3C,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;QAC/B,IAAI,MAAM,EAAE,KAAK,KAAK,SAAS;YAAE,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvE,CAAC;IAED,KAAK,CAAC,KAAK;QACT,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC1B,MAAM,GAAG,GAAG,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;QACrC,MAAM,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAC7D,CAAC;IAEO,KAAK;QACX,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;QACvC,KAAK,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACxC,IAAI,MAAM,CAAC,SAAS,IAAI,MAAM;gBAAE,KAAK,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC;QACvE,CAAC;IACH,CAAC;CACF;AA/ED,0CA+EC"}
@@ -4,7 +4,18 @@
4
4
  "private": true,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
+ "typesVersions": {
8
+ "*": {
9
+ "server/mcp-sessions": [
10
+ "dist/server/mcp-sessions.d.ts"
11
+ ]
12
+ }
13
+ },
7
14
  "exports": {
15
+ "./server/mcp-sessions": {
16
+ "types": "./dist/server/mcp-sessions.d.ts",
17
+ "default": "./dist/server/mcp-sessions.js"
18
+ },
8
19
  ".": {
9
20
  "types": "./dist/index.d.ts",
10
21
  "default": "./dist/index.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubbisec/ai-win32-x64",
3
- "version": "0.1.32",
3
+ "version": "0.1.34",
4
4
  "description": "KubbiSec CLI — Windows x64 binary",
5
5
  "license": "UNLICENSED",
6
6
  "os": [