@socketsecurity/cli-with-sentry 1.1.131 → 1.1.132

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 (55) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/cli.js +1227 -144
  3. package/dist/cli.js.map +1 -1
  4. package/dist/constants.js +4 -4
  5. package/dist/constants.js.map +1 -1
  6. package/dist/manifest-scripts/maven-extension/coana-maven-extension.jar +0 -0
  7. package/dist/manifest-scripts/socket-facts.init.gradle +479 -0
  8. package/dist/manifest-scripts/socket-facts.plugin.scala +444 -0
  9. package/dist/tsconfig.dts.tsbuildinfo +1 -1
  10. package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts.map +1 -1
  11. package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts.map +1 -1
  12. package/dist/types/commands/manifest/cmd-manifest-maven.d.mts.map +1 -1
  13. package/dist/types/commands/manifest/convert-gradle-to-facts.d.mts +5 -6
  14. package/dist/types/commands/manifest/convert-gradle-to-facts.d.mts.map +1 -1
  15. package/dist/types/commands/manifest/convert-maven-to-facts.d.mts +5 -6
  16. package/dist/types/commands/manifest/convert-maven-to-facts.d.mts.map +1 -1
  17. package/dist/types/commands/manifest/convert-sbt-to-facts.d.mts +7 -8
  18. package/dist/types/commands/manifest/convert-sbt-to-facts.d.mts.map +1 -1
  19. package/dist/types/commands/manifest/generate_auto_manifest.d.mts +8 -1
  20. package/dist/types/commands/manifest/generate_auto_manifest.d.mts.map +1 -1
  21. package/dist/types/commands/manifest/run-manifest-facts.d.mts +20 -0
  22. package/dist/types/commands/manifest/run-manifest-facts.d.mts.map +1 -0
  23. package/dist/types/commands/manifest/scripts/assemble.d.mts +16 -0
  24. package/dist/types/commands/manifest/scripts/assemble.d.mts.map +1 -0
  25. package/dist/types/commands/manifest/scripts/build-tool.d.mts +3 -0
  26. package/dist/types/commands/manifest/scripts/build-tool.d.mts.map +1 -0
  27. package/dist/types/commands/manifest/scripts/facts.d.mts +46 -0
  28. package/dist/types/commands/manifest/scripts/facts.d.mts.map +1 -0
  29. package/dist/types/commands/manifest/scripts/records.d.mts +64 -0
  30. package/dist/types/commands/manifest/scripts/records.d.mts.map +1 -0
  31. package/dist/types/commands/manifest/scripts/resolution-report-gradle.d.mts +10 -0
  32. package/dist/types/commands/manifest/scripts/resolution-report-gradle.d.mts.map +1 -0
  33. package/dist/types/commands/manifest/scripts/resolution-report-ivy.d.mts +7 -0
  34. package/dist/types/commands/manifest/scripts/resolution-report-ivy.d.mts.map +1 -0
  35. package/dist/types/commands/manifest/scripts/resolution-report-maven.d.mts +8 -0
  36. package/dist/types/commands/manifest/scripts/resolution-report-maven.d.mts.map +1 -0
  37. package/dist/types/commands/manifest/scripts/resolution-report-render.d.mts +41 -0
  38. package/dist/types/commands/manifest/scripts/resolution-report-render.d.mts.map +1 -0
  39. package/dist/types/commands/manifest/scripts/resolution-report.d.mts +12 -0
  40. package/dist/types/commands/manifest/scripts/resolution-report.d.mts.map +1 -0
  41. package/dist/types/commands/manifest/scripts/run.d.mts +28 -0
  42. package/dist/types/commands/manifest/scripts/run.d.mts.map +1 -0
  43. package/dist/types/commands/manifest/scripts/sidecar.d.mts +27 -0
  44. package/dist/types/commands/manifest/scripts/sidecar.d.mts.map +1 -0
  45. package/dist/types/commands/scan/cmd-scan-create.d.mts.map +1 -1
  46. package/dist/types/commands/scan/handle-create-new-scan.d.mts.map +1 -1
  47. package/dist/types/commands/scan/perform-reachability-analysis.d.mts +4 -2
  48. package/dist/types/commands/scan/perform-reachability-analysis.d.mts.map +1 -1
  49. package/dist/utils.js +1 -78
  50. package/dist/utils.js.map +1 -1
  51. package/package.json +3 -2
  52. package/dist/types/commands/manifest/coana-manifest-facts.d.mts +0 -27
  53. package/dist/types/commands/manifest/coana-manifest-facts.d.mts.map +0 -1
  54. package/dist/types/utils/auto-manifest-config.d.mts +0 -55
  55. package/dist/types/utils/auto-manifest-config.d.mts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"cmd-manifest-gradle.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/cmd-manifest-gradle.mts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,uCAAuC,CAAA;AAqF9C,eAAO,MAAM,iBAAiB;;;;CAI7B,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE,iBAAiB,GAChC,OAAO,CAAC,IAAI,CAAC,CA8Lf"}
1
+ {"version":3,"file":"cmd-manifest-gradle.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/cmd-manifest-gradle.mts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,uCAAuC,CAAA;AAsF9C,eAAO,MAAM,iBAAiB;;;;CAI7B,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE,iBAAiB,GAChC,OAAO,CAAC,IAAI,CAAC,CA+Lf"}
@@ -1 +1 @@
1
- {"version":3,"file":"cmd-manifest-kotlin.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/cmd-manifest-kotlin.mts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,uCAAuC,CAAA;AA0F9C,eAAO,MAAM,iBAAiB;;;;CAI7B,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE,iBAAiB,GAChC,OAAO,CAAC,IAAI,CAAC,CA4Lf"}
1
+ {"version":3,"file":"cmd-manifest-kotlin.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/cmd-manifest-kotlin.mts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,uCAAuC,CAAA;AA2F9C,eAAO,MAAM,iBAAiB;;;;CAI7B,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE,iBAAiB,GAChC,OAAO,CAAC,IAAI,CAAC,CA6Lf"}
@@ -1 +1 @@
1
- {"version":3,"file":"cmd-manifest-maven.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/cmd-manifest-maven.mts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,uCAAuC,CAAA;AAmE9C,eAAO,MAAM,gBAAgB;;;;CAI5B,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE,iBAAiB,GAChC,OAAO,CAAC,IAAI,CAAC,CAyIf"}
1
+ {"version":3,"file":"cmd-manifest-maven.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/cmd-manifest-maven.mts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,uCAAuC,CAAA;AAoE9C,eAAO,MAAM,gBAAgB;;;;CAI5B,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE,iBAAiB,GAChC,OAAO,CAAC,IAAI,CAAC,CA0If"}
@@ -1,15 +1,14 @@
1
- // Generates a `.socket.facts.json` for a Gradle project by delegating to the
2
- // Coana CLI's `manifest gradle` command (which owns the Gradle init script that
3
- // resolves the dependency graph). socket-cli no longer runs gradle itself; an
4
- // explicit `bin` is forwarded as `--bin`, otherwise Coana defaults to
5
- // `./gradlew`.
6
- export declare function convertGradleToFacts({ bin, cwd, excludeConfigs, gradleOpts, ignoreUnresolved, includeConfigs, verbose }: {
1
+ import type { SidecarAccumulator } from './scripts/sidecar.mts';
2
+ // Generates `.socket.facts.json` for a Gradle project via the bundled init script.
3
+ export declare function convertGradleToFacts({ bin, cwd, excludeConfigs, gradleOpts, ignoreUnresolved, includeConfigs, sidecarAcc, verbose, withFiles }: {
7
4
  bin: string;
8
5
  cwd: string;
9
6
  excludeConfigs: string;
10
7
  gradleOpts: string[];
11
8
  ignoreUnresolved: boolean;
12
9
  includeConfigs: string;
10
+ sidecarAcc?: SidecarAccumulator | undefined;
13
11
  verbose: boolean;
12
+ withFiles?: boolean | undefined;
14
13
  }): Promise<void>;
15
14
  //# sourceMappingURL=convert-gradle-to-facts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"convert-gradle-to-facts.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/convert-gradle-to-facts.mts"],"names":[],"mappings":"AAEA,6EAA6E;AAC7E,gFAAgF;AAChF,8EAA8E;AAC9E,sEAAsE;AACtE,eAAe;AACf,wBAAsB,oBAAoB,CAAC,EACzC,GAAG,EACH,GAAG,EACH,cAAc,EACd,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,OAAO,EACR,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,gBAAgB,EAAE,OAAO,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE,OAAO,CAAA;CACjB,GAAG,OAAO,CAAC,IAAI,CAAC,CAYhB"}
1
+ {"version":3,"file":"convert-gradle-to-facts.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/convert-gradle-to-facts.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE/D,mFAAmF;AACnF,wBAAsB,oBAAoB,CAAC,EACzC,GAAG,EACH,GAAG,EACH,cAAc,EACd,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,OAAO,EACP,SAAS,EACV,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,gBAAgB,EAAE,OAAO,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAA;IAC3C,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAChC,GAAG,OAAO,CAAC,IAAI,CAAC,CAahB"}
@@ -1,15 +1,14 @@
1
- // Generates a `.socket.facts.json` for a Maven project by delegating to the
2
- // Coana CLI's `manifest maven` command (which owns the Maven plugin that
3
- // resolves the dependency graph). socket-cli no longer runs maven itself; an
4
- // explicit `bin` is forwarded as `--bin`, otherwise Coana defaults to `mvn` on
5
- // PATH.
6
- export declare function convertMavenToFacts({ bin, cwd, excludeConfigs, ignoreUnresolved, includeConfigs, mavenOpts, verbose }: {
1
+ import type { SidecarAccumulator } from './scripts/sidecar.mts';
2
+ // Generates `.socket.facts.json` for a Maven project via the bundled extension.
3
+ export declare function convertMavenToFacts({ bin, cwd, excludeConfigs, ignoreUnresolved, includeConfigs, mavenOpts, sidecarAcc, verbose, withFiles }: {
7
4
  bin: string;
8
5
  cwd: string;
9
6
  excludeConfigs: string;
10
7
  ignoreUnresolved: boolean;
11
8
  includeConfigs: string;
12
9
  mavenOpts: string[];
10
+ sidecarAcc?: SidecarAccumulator | undefined;
13
11
  verbose: boolean;
12
+ withFiles?: boolean | undefined;
14
13
  }): Promise<void>;
15
14
  //# sourceMappingURL=convert-maven-to-facts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"convert-maven-to-facts.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/convert-maven-to-facts.mts"],"names":[],"mappings":"AAEA,4EAA4E;AAC5E,yEAAyE;AACzE,6EAA6E;AAC7E,+EAA+E;AAC/E,QAAQ;AACR,wBAAsB,mBAAmB,CAAC,EACxC,GAAG,EACH,GAAG,EACH,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,SAAS,EACT,OAAO,EACR,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,cAAc,EAAE,MAAM,CAAA;IACtB,gBAAgB,EAAE,OAAO,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,OAAO,EAAE,OAAO,CAAA;CACjB,GAAG,OAAO,CAAC,IAAI,CAAC,CAYhB"}
1
+ {"version":3,"file":"convert-maven-to-facts.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/convert-maven-to-facts.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE/D,gFAAgF;AAChF,wBAAsB,mBAAmB,CAAC,EACxC,GAAG,EACH,GAAG,EACH,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,SAAS,EACT,UAAU,EACV,OAAO,EACP,SAAS,EACV,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,cAAc,EAAE,MAAM,CAAA;IACtB,gBAAgB,EAAE,OAAO,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,UAAU,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAA;IAC3C,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAChC,GAAG,OAAO,CAAC,IAAI,CAAC,CAahB"}
@@ -1,17 +1,16 @@
1
- // Generates a `.socket.facts.json` for an sbt project by delegating to the
2
- // Coana CLI's `manifest sbt` command (which owns the sbt plugin that resolves
3
- // the dependency graph). socket-cli no longer runs sbt itself; an explicit
4
- // `bin` is forwarded as `--bin`, otherwise Coana defaults to `sbt` on PATH.
5
- // JDK-compatibility guidance (sbt 0.13/early 1.x cannot run on modern JDKs) is
6
- // handled by Coana; pass a compatible JDK via `--sbt-opts "--java-home <path>"`
7
- // or `JAVA_HOME`.
8
- export declare function convertSbtToFacts({ bin, cwd, excludeConfigs, ignoreUnresolved, includeConfigs, sbtOpts, verbose }: {
1
+ import type { SidecarAccumulator } from './scripts/sidecar.mts';
2
+ // Generates `.socket.facts.json` for an sbt project via the bundled sbt plugin.
3
+ // sbt 0.13/early 1.x can't run on modern JDKs pass a compatible JDK via
4
+ // `--sbt-opts "--java-home <path>"` or `JAVA_HOME`.
5
+ export declare function convertSbtToFacts({ bin, cwd, excludeConfigs, ignoreUnresolved, includeConfigs, sbtOpts, sidecarAcc, verbose, withFiles }: {
9
6
  bin: string;
10
7
  cwd: string;
11
8
  excludeConfigs: string;
12
9
  ignoreUnresolved: boolean;
13
10
  includeConfigs: string;
14
11
  sbtOpts: string[];
12
+ sidecarAcc?: SidecarAccumulator | undefined;
15
13
  verbose: boolean;
14
+ withFiles?: boolean | undefined;
16
15
  }): Promise<void>;
17
16
  //# sourceMappingURL=convert-sbt-to-facts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"convert-sbt-to-facts.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/convert-sbt-to-facts.mts"],"names":[],"mappings":"AAEA,2EAA2E;AAC3E,8EAA8E;AAC9E,2EAA2E;AAC3E,4EAA4E;AAC5E,+EAA+E;AAC/E,gFAAgF;AAChF,kBAAkB;AAClB,wBAAsB,iBAAiB,CAAC,EACtC,GAAG,EACH,GAAG,EACH,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,OAAO,EACP,OAAO,EACR,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,cAAc,EAAE,MAAM,CAAA;IACtB,gBAAgB,EAAE,OAAO,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,OAAO,EAAE,OAAO,CAAA;CACjB,GAAG,OAAO,CAAC,IAAI,CAAC,CAYhB"}
1
+ {"version":3,"file":"convert-sbt-to-facts.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/convert-sbt-to-facts.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE/D,gFAAgF;AAChF,4EAA0E;AAC1E,oDAAoD;AACpD,wBAAsB,iBAAiB,CAAC,EACtC,GAAG,EACH,GAAG,EACH,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,OAAO,EACP,UAAU,EACV,OAAO,EACP,SAAS,EACV,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,cAAc,EAAE,MAAM,CAAA;IACtB,gBAAgB,EAAE,OAAO,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,UAAU,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAA;IAC3C,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAChC,GAAG,OAAO,CAAC,IAAI,CAAC,CAahB"}
@@ -1,12 +1,19 @@
1
1
  import type { GeneratableManifests } from './detect-manifest-actions.mts';
2
+ import type { ResolvedPathsSidecar } from './scripts/sidecar.mts';
2
3
  import type { OutputKind } from '../../types.mts';
3
4
  export type GenerateAutoManifestResult = {
4
5
  generatedFiles: string[];
6
+ // Reachability path only: resolved on-disk paths from the build-tool run.
7
+ resolvedPathsSidecar?: ResolvedPathsSidecar | undefined;
5
8
  };
6
- export declare function generateAutoManifest({ cwd, detected, outputKind, verbose }: {
9
+ export declare function generateAutoManifest({ computeArtifactsSidecar, cwd, detected, outputKind, reachContinueOnInstallErrors, verbose }: {
10
+ // Reachability path: run build tools with files to emit the sidecar.
11
+ computeArtifactsSidecar?: boolean | undefined;
7
12
  detected: GeneratableManifests;
8
13
  cwd: string;
9
14
  outputKind: OutputKind;
15
+ // Reachability install-error gate: tolerate a blocking resolution failure.
16
+ reachContinueOnInstallErrors?: boolean | undefined;
10
17
  verbose: boolean;
11
18
  }): Promise<GenerateAutoManifestResult>;
12
19
  //# sourceMappingURL=generate_auto_manifest.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generate_auto_manifest.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/generate_auto_manifest.mts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAA;AACzE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,MAAM,MAAM,0BAA0B,GAAG;IACvC,cAAc,EAAE,MAAM,EAAE,CAAA;CACzB,CAAA;AAED,wBAAsB,oBAAoB,CAAC,EACzC,GAAG,EACH,QAAQ,EACR,UAAU,EACV,OAAO,EACR,EAAE;IACD,QAAQ,EAAE,oBAAoB,CAAA;IAC9B,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,OAAO,CAAA;CACjB,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAoKtC"}
1
+ {"version":3,"file":"generate_auto_manifest.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/generate_auto_manifest.mts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAA;AACzE,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,MAAM,MAAM,0BAA0B,GAAG;IACvC,cAAc,EAAE,MAAM,EAAE,CAAA;IACxB,0EAA0E;IAC1E,oBAAoB,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAA;CACxD,CAAA;AAED,wBAAsB,oBAAoB,CAAC,EACzC,uBAAuB,EACvB,GAAG,EACH,QAAQ,EACR,UAAU,EACV,4BAA4B,EAC5B,OAAO,EACR,EAAE;IACD,qEAAqE;IACrE,uBAAuB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7C,QAAQ,EAAE,oBAAoB,CAAA;IAC9B,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,UAAU,CAAA;IACtB,2EAA2E;IAC3E,4BAA4B,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAClD,OAAO,EAAE,OAAO,CAAA;CACjB,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAwLtC"}
@@ -0,0 +1,20 @@
1
+ import type { BuildTool } from './scripts/build-tool.mts';
2
+ import type { SidecarAccumulator } from './scripts/sidecar.mts';
3
+ // Runs the bundled build-tool resolution script for a JVM project and writes
4
+ // `.socket.facts.json`. `withFiles` (reachability only) additionally folds
5
+ // resolved artifact paths into `sidecarAcc`. A blocking resolution failure — or
6
+ // a build that crashes without emitting any facts — throws unless
7
+ // `ignoreUnresolved`.
8
+ export declare function runManifestFacts({ bin, buildOpts, cwd, ecosystem, excludeConfigs, ignoreUnresolved, includeConfigs, sidecarAcc, verbose, withFiles }: {
9
+ bin: string;
10
+ buildOpts: string[];
11
+ cwd: string;
12
+ ecosystem: BuildTool;
13
+ excludeConfigs: string;
14
+ ignoreUnresolved: boolean;
15
+ includeConfigs: string;
16
+ sidecarAcc?: SidecarAccumulator | undefined;
17
+ verbose: boolean;
18
+ withFiles?: boolean | undefined;
19
+ }): Promise<void>;
20
+ //# sourceMappingURL=run-manifest-facts.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-manifest-facts.d.mts","sourceRoot":"","sources":["../../../../src/commands/manifest/run-manifest-facts.mts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE/D,6EAA6E;AAC7E,2EAA2E;AAC3E,kFAAgF;AAChF,oEAAkE;AAClE,sBAAsB;AACtB,wBAAsB,gBAAgB,CAAC,EACrC,GAAG,EACH,SAAS,EACT,GAAG,EACH,SAAS,EACT,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,OAAO,EACP,SAAS,EACV,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,SAAS,CAAA;IACpB,cAAc,EAAE,MAAM,CAAA;IACtB,gBAAgB,EAAE,OAAO,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAA;IAC3C,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAChC,GAAG,OAAO,CAAC,IAAI,CAAC,CAgFhB"}
@@ -0,0 +1,16 @@
1
+ import { type ResolvedArtifactPaths, type SocketFactsSbom } from './facts.mts';
2
+ import type { ParsedRecords } from './records.mts';
3
+ import type { ResolutionReport } from './resolution-report.mts';
4
+ export type AssembleResult = {
5
+ facts: SocketFactsSbom;
6
+ report: ResolutionReport;
7
+ artifactPaths: ResolvedArtifactPaths;
8
+ };
9
+ export type AssembleOptions = {
10
+ emitProjects?: boolean | undefined;
11
+ // Injectable for tests; an uncompiled module's output dir is dropped (module
12
+ // stays resolvable via its sources).
13
+ fileExists?: ((path: string) => boolean) | undefined;
14
+ };
15
+ export declare function assembleFacts(parsed: ParsedRecords, opts?: AssembleOptions): AssembleResult;
16
+ //# sourceMappingURL=assemble.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assemble.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/assemble.mts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EAKrB,MAAM,aAAa,CAAA;AAEpB,OAAO,KAAK,EAAE,aAAa,EAAwB,MAAM,eAAe,CAAA;AACxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAI/D,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,eAAe,CAAA;IACtB,MAAM,EAAE,gBAAgB,CAAA;IACxB,aAAa,EAAE,qBAAqB,CAAA;CACrC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAClC,6EAA6E;IAC7E,qCAAqC;IACrC,UAAU,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,GAAG,SAAS,CAAA;CACrD,CAAA;AAmBD,wBAAgB,aAAa,CAC3B,MAAM,EAAE,aAAa,EACrB,IAAI,GAAE,eAAoB,GACzB,cAAc,CAgChB"}
@@ -0,0 +1,3 @@
1
+ export type BuildTool = 'gradle' | 'maven' | 'sbt';
2
+ export declare function resolveBuildToolBin(tool: BuildTool, projectDir: string, bin?: string | undefined): string;
3
+ //# sourceMappingURL=build-tool.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build-tool.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/build-tool.mts"],"names":[],"mappings":"AAGA,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAA;AAkBlD,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,SAAS,EACf,UAAU,EAAE,MAAM,EAClB,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,GACvB,MAAM,CASR"}
@@ -0,0 +1,46 @@
1
+ export type AnyPURL = {
2
+ type: string;
3
+ namespace?: string | undefined;
4
+ name: string;
5
+ version?: string | undefined;
6
+ qualifiers?: Record<string, string> | undefined;
7
+ };
8
+ // No sources/targets here: those are local absolute paths, returned in-memory
9
+ // as ResolvedArtifactPaths, never serialized into the SBOM.
10
+ export type SocketFactsSbom = {
11
+ metadata?: SocketFactsSbomMetadata | undefined;
12
+ projects?: SocketFactsSbomProject[] | undefined;
13
+ components: SocketFactsSbomComponent[];
14
+ };
15
+ export type SocketFactsSbomMetadata = {
16
+ format: 'socket-facts-sbom';
17
+ tool: 'gradle' | 'maven' | 'sbt';
18
+ toolVersion: string;
19
+ javaVersion?: string | undefined;
20
+ };
21
+ export type SocketFactsSbomComponent = AnyPURL & {
22
+ id: string;
23
+ direct?: boolean | undefined;
24
+ dev?: boolean | undefined;
25
+ dependencies?: string[] | undefined;
26
+ };
27
+ export type SocketFactsSbomProject = AnyPURL & {
28
+ subprojectDir: string;
29
+ dependencies: string[];
30
+ resolvedAs: string[];
31
+ };
32
+ // Resolved on-disk paths for a --with-files run, keyed by coordinate. `targets`
33
+ // = classpath entries (jars / module output dirs); `sources` = module source
34
+ // roots.
35
+ export type ResolvedArtifactPaths = {
36
+ targetsByCoord: Map<string, string[]>;
37
+ // ext/classifier-agnostic, to recover the variant when an ingested ext is
38
+ // untrustworthy (Gradle lockfile / version-catalog hardcode ext=jar).
39
+ targetsByGav: Map<string, string[]>;
40
+ sourcesByCoord: Map<string, string[]>;
41
+ coords: Set<string>;
42
+ };
43
+ // Coordinate-based (not `id`-based) so it also matches foreign SBOMs like
44
+ // CycloneDX. Empty segments dropped.
45
+ export declare function mavenCoordinateKey(groupId: string | undefined, artifactId: string | undefined, type: string | undefined, classifier: string | undefined, version: string | undefined): string;
46
+ //# sourceMappingURL=facts.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"facts.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/facts.mts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAA;CAChD,CAAA;AAED,8EAA8E;AAC9E,4DAA4D;AAC5D,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAA;IAC9C,QAAQ,CAAC,EAAE,sBAAsB,EAAE,GAAG,SAAS,CAAA;IAC/C,UAAU,EAAE,wBAAwB,EAAE,CAAA;CACvC,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,mBAAmB,CAAA;IAC3B,IAAI,EAAE,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAA;IAChC,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACjC,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,OAAO,GAAG;IAC/C,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC5B,GAAG,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IACzB,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;CACpC,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,OAAO,GAAG;IAC7C,aAAa,EAAE,MAAM,CAAA;IACrB,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,UAAU,EAAE,MAAM,EAAE,CAAA;CACrB,CAAA;AAED,gFAAgF;AAChF,6EAA6E;AAC7E,SAAS;AACT,MAAM,MAAM,qBAAqB,GAAG;IAClC,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;IACrC,0EAA0E;IAC1E,sEAAsE;IACtE,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;IACnC,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;IACrC,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CACpB,CAAA;AAED,0EAA0E;AAC1E,qCAAqC;AACrC,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,OAAO,EAAE,MAAM,GAAG,SAAS,GAC1B,MAAM,CAIR"}
@@ -0,0 +1,64 @@
1
+ import type { ResolutionFailure } from './resolution-report.mts';
2
+ // Line-protocol the build-tool scripts emit to a records file (NOT stdout — sbt
3
+ // prints unsilenceable resolution noise there). One record per line, fields
4
+ // backslash-escaped (\\, \t, \n, \r) so a value can't break framing:
5
+ //
6
+ // <tag>\t<field>\t<field>...
7
+ //
8
+ // meta tool toolVersion javaVersion
9
+ // project projectKey group name version dir
10
+ // projectSrc projectKey path (--with-files only)
11
+ // projectTgt projectKey path (--with-files only)
12
+ // root rootId projectKey config prod(0|1)
13
+ // node rootId coordId group name version ext classifier direct(0|1)
14
+ // edge rootId parentCoordId childCoordId
15
+ // file rootId coordId path (--with-files only)
16
+ // scanned config
17
+ // failure coord detail config
18
+ //
19
+ // A `root` is one (subproject, configuration) resolution root; `coordId` is the
20
+ // coordinate key (`group:name:ext:classifier:version`, empty segments dropped),
21
+ // used opaquely as the per-root node key. Unknown tags are ignored.
22
+ export type RawCoord = {
23
+ group: string;
24
+ name: string;
25
+ version: string;
26
+ ext: string;
27
+ classifier: string;
28
+ };
29
+ export type RawNode = {
30
+ coordId: string;
31
+ coord: RawCoord;
32
+ direct: boolean;
33
+ // --with-files only.
34
+ targets: string[];
35
+ };
36
+ export type RawRoot = {
37
+ rootId: string;
38
+ projectKey: string;
39
+ config: string;
40
+ prod: boolean;
41
+ nodes: Map<string, RawNode>;
42
+ edges: Array<[string, string]>;
43
+ };
44
+ export type RawProject = {
45
+ projectKey: string;
46
+ group: string;
47
+ name: string;
48
+ version: string;
49
+ dir: string;
50
+ sources: string[];
51
+ targets: string[];
52
+ };
53
+ export type ParsedRecords = {
54
+ tool: string;
55
+ toolVersion: string;
56
+ javaVersion: string;
57
+ projects: Map<string, RawProject>;
58
+ roots: Map<string, RawRoot>;
59
+ scannedConfigs: string[];
60
+ failures: ResolutionFailure[];
61
+ };
62
+ export declare function unescapeField(s: string): string;
63
+ export declare function parseRecords(text: string): ParsedRecords;
64
+ //# sourceMappingURL=records.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"records.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/records.mts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAEhE,kFAAgF;AAChF,4EAA4E;AAC5E,qEAAqE;AACrE,EAAE;AACF,+BAA+B;AAC/B,EAAE;AACF,+CAA+C;AAC/C,sDAAsD;AACtD,6EAA6E;AAC7E,6EAA6E;AAC7E,sDAAsD;AACtD,oFAAoF;AACpF,oDAAoD;AACpD,6EAA6E;AAC7E,uBAAuB;AACvB,sCAAsC;AACtC,EAAE;AACF,gFAAgF;AAChF,gFAAgF;AAChF,oEAAoE;AAEpE,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,OAAO,GAAG;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,QAAQ,CAAA;IACf,MAAM,EAAE,OAAO,CAAA;IACf,qBAAqB;IACrB,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,OAAO,GAAG;IACpB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,OAAO,CAAA;IACb,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC3B,KAAK,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;IACjC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC3B,cAAc,EAAE,MAAM,EAAE,CAAA;IACxB,QAAQ,EAAE,iBAAiB,EAAE,CAAA;CAC9B,CAAA;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAe/C;AAMD,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,CAoIxD"}
@@ -0,0 +1,10 @@
1
+ import type { FailureCategory, ResolutionDialect } from './resolution-report-render.mts';
2
+ // Gradle's variant-aware resolver: distinct exceptions give mutually-exclusive
3
+ // phrasing, so most-specific-first substring checks classify reliably.
4
+ export declare function classifyGradleFailure(detail: string): FailureCategory;
5
+ // Every kind blocks except variant-ambiguity: the module demonstrably exists
6
+ // and is almost always captured via another configuration, so it's benign for
7
+ // the SBOM (non-blocking, count only). A module that resolves in NO config
8
+ // surfaces as not-found / no-matching-variant, which stay blocking.
9
+ export declare const GRADLE_DIALECT: ResolutionDialect;
10
+ //# sourceMappingURL=resolution-report-gradle.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolution-report-gradle.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/resolution-report-gradle.mts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AAEvC,+EAA+E;AAC/E,uEAAuE;AACvE,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,eAAe,CA8BrE;AAED,6EAA6E;AAC7E,8EAA8E;AAC9E,2EAA2E;AAC3E,oEAAoE;AACpE,eAAO,MAAM,cAAc,EAAE,iBA+C5B,CAAA"}
@@ -0,0 +1,7 @@
1
+ import type { FailureCategory, ResolutionDialect } from './resolution-report-render.mts';
2
+ // Ivy/sbt resolver: no attribute-based variants, so no variant categories
3
+ // (Gradle-only). Ivy degrades transport failures to "not found".
4
+ export declare function classifyIvyFailure(detail: string): FailureCategory;
5
+ // Every kind blocks; no non-blocking kind because Ivy has no variant ambiguity.
6
+ export declare const SBT_DIALECT: ResolutionDialect;
7
+ //# sourceMappingURL=resolution-report-ivy.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolution-report-ivy.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/resolution-report-ivy.mts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AAEvC,0EAA0E;AAC1E,iEAAiE;AACjE,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,eAAe,CAsBlE;AAED,gFAAgF;AAChF,eAAO,MAAM,WAAW,EAAE,iBA4BzB,CAAA"}
@@ -0,0 +1,8 @@
1
+ import type { FailureCategory, ResolutionDialect } from './resolution-report-render.mts';
2
+ // Maven's resolver (Aether/maven-resolver): no attribute-based variants. Two
3
+ // failure shapes (artifact-resolution miss with config = scope, dependency-graph
4
+ // build failure with config = "graph") both classify off the root-cause message.
5
+ export declare function classifyMavenFailure(detail: string): FailureCategory;
6
+ // Every kind blocks; no non-blocking kind because Maven has no variant ambiguity.
7
+ export declare const MAVEN_DIALECT: ResolutionDialect;
8
+ //# sourceMappingURL=resolution-report-maven.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolution-report-maven.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/resolution-report-maven.mts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AAEvC,6EAA6E;AAC7E,iFAAiF;AACjF,iFAAiF;AACjF,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,eAAe,CAmCpE;AAED,kFAAkF;AAClF,eAAO,MAAM,aAAa,EAAE,iBA4B3B,CAAA"}
@@ -0,0 +1,41 @@
1
+ import type { BuildTool } from './build-tool.mts';
2
+ import type { ResolutionFailure } from './resolution-report.mts';
3
+ // Recognized from the build tool's message; drives wording AND whether the kind
4
+ // is blocking. An unrecognized message degrades to 'other' (blocking) — safe.
5
+ export type FailureCategory = 'not-found' | 'no-matching-variant' | 'capability-conflict' | 'variant-ambiguity' | 'repository-or-network' | 'config-problem' | 'other';
6
+ export type FailureCategorySpec = {
7
+ key: FailureCategory;
8
+ // Whether failures of this kind fail the run (fail-closed unless
9
+ // --ignore-unresolved). A non-blocking kind never affects the exit code and
10
+ // is surfaced only as a one-line `notice`.
11
+ blocking: boolean;
12
+ header?: ((toolLabel: string) => string) | undefined;
13
+ showReason?: boolean | undefined;
14
+ notice?: ((toolLabel: string, depCount: number, configCount: number) => string) | undefined;
15
+ };
16
+ // Per-resolver classify + render/score policy.
17
+ export type ResolutionDialect = {
18
+ label: string;
19
+ classify: (detail: string) => FailureCategory;
20
+ categories: FailureCategorySpec[];
21
+ };
22
+ export type RenderedResolutionReport = {
23
+ // Failure report for blocking kinds; empty when nothing blocks.
24
+ summary: string;
25
+ // Build tool's own full messages for all kinds; surfaced at --verbose.
26
+ details: string;
27
+ // Caller fails the run iff this is true and not --ignore-unresolved.
28
+ hasBlockingFailures: boolean;
29
+ // One-liner(s) for non-blocking kinds; empty when none.
30
+ nonBlockingNotice: string;
31
+ };
32
+ // Severity is per-kind; the exit-code decision lives in the caller. We do NOT
33
+ // cross-reference what resolved elsewhere: the failed selector carries no
34
+ // classifier/type, so relating a failed and a succeeded dep is unsound.
35
+ export declare function renderResolutionReport(failures: ResolutionFailure[], scannedConfigs: string[], dialect: ResolutionDialect, opts?: {
36
+ ignoreUnresolved?: boolean | undefined;
37
+ }): RenderedResolutionReport;
38
+ export declare function renderResolutionErrorReport(failures: ResolutionFailure[], scannedConfigs?: string[], tool?: BuildTool, opts?: {
39
+ ignoreUnresolved?: boolean | undefined;
40
+ }): RenderedResolutionReport;
41
+ //# sourceMappingURL=resolution-report-render.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolution-report-render.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/resolution-report-render.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAEhE,gFAAgF;AAChF,gFAA8E;AAC9E,MAAM,MAAM,eAAe,GACvB,WAAW,GACX,qBAAqB,GACrB,qBAAqB,GACrB,mBAAmB,GACnB,uBAAuB,GACvB,gBAAgB,GAChB,OAAO,CAAA;AAEX,MAAM,MAAM,mBAAmB,GAAG;IAChC,GAAG,EAAE,eAAe,CAAA;IACpB,iEAAiE;IACjE,4EAA4E;IAC5E,2CAA2C;IAC3C,QAAQ,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,CAAC,CAAC,SAAS,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,SAAS,CAAA;IACpD,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAChC,MAAM,CAAC,EACH,CAAC,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,MAAM,CAAC,GACtE,SAAS,CAAA;CACd,CAAA;AAED,+CAA+C;AAC/C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,eAAe,CAAA;IAC7C,UAAU,EAAE,mBAAmB,EAAE,CAAA;CAClC,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,gEAAgE;IAChE,OAAO,EAAE,MAAM,CAAA;IACf,uEAAuE;IACvE,OAAO,EAAE,MAAM,CAAA;IACf,qEAAqE;IACrE,mBAAmB,EAAE,OAAO,CAAA;IAC5B,wDAAwD;IACxD,iBAAiB,EAAE,MAAM,CAAA;CAC1B,CAAA;AAmCD,8EAA8E;AAC9E,0EAA0E;AAC1E,wEAAwE;AACxE,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,iBAAiB,EAAE,EAC7B,cAAc,EAAE,MAAM,EAAE,EACxB,OAAO,EAAE,iBAAiB,EAC1B,IAAI,GAAE;IAAE,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAO,GACpD,wBAAwB,CA4H1B;AAaD,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,iBAAiB,EAAE,EAC7B,cAAc,GAAE,MAAM,EAAO,EAC7B,IAAI,GAAE,SAAoB,EAC1B,IAAI,GAAE;IAAE,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAO,GACpD,wBAAwB,CAO1B"}
@@ -0,0 +1,12 @@
1
+ export type ResolutionFailure = {
2
+ coord: string;
3
+ // Build tool's own failure message (deepest cause; may be multi-line).
4
+ // Classified on; first line shown by default, whole thing at --verbose.
5
+ detail: string;
6
+ config: string;
7
+ };
8
+ export type ResolutionReport = {
9
+ failures: ResolutionFailure[];
10
+ scannedConfigs: string[];
11
+ };
12
+ //# sourceMappingURL=resolution-report.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolution-report.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/resolution-report.mts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,uEAAuE;IACvE,wEAAwE;IACxE,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,iBAAiB,EAAE,CAAA;IAC7B,cAAc,EAAE,MAAM,EAAE,CAAA;CACzB,CAAA"}
@@ -0,0 +1,28 @@
1
+ import type { BuildTool } from './build-tool.mts';
2
+ import type { ResolvedArtifactPaths, SocketFactsSbom } from './facts.mts';
3
+ import type { ResolutionReport } from './resolution-report.mts';
4
+ export type ManifestScriptOptions = {
5
+ projectDir: string;
6
+ // Unset ⇒ resolved to the project wrapper, else PATH (resolveBuildToolBin).
7
+ bin?: string | undefined;
8
+ // Reachability-only: also materialize resolved artifact paths (artifactPaths).
9
+ withFiles?: boolean | undefined;
10
+ // Newline-delimited GAV file scoping withFiles materialization; absent ⇒ all.
11
+ populateFilesFor?: string | undefined;
12
+ includeConfigs?: string | undefined;
13
+ excludeConfigs?: string | undefined;
14
+ toolOpts?: string[] | undefined;
15
+ stdio?: 'inherit' | 'pipe' | undefined;
16
+ env?: NodeJS.ProcessEnv | undefined;
17
+ signal?: AbortSignal | undefined;
18
+ };
19
+ export type ManifestRunResult = {
20
+ code: number;
21
+ facts: SocketFactsSbom;
22
+ report: ResolutionReport;
23
+ artifactPaths: ResolvedArtifactPaths;
24
+ };
25
+ // Runs the build-tool script (which emits a records file) and assembles it.
26
+ // Writes no files; the caller persists facts or consumes artifactPaths.
27
+ export declare function runManifestScript(tool: BuildTool, opts: ManifestScriptOptions): Promise<ManifestRunResult>;
28
+ //# sourceMappingURL=run.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/run.mts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AACzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAE/D,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAA;IAClB,8EAA4E;IAC5E,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,+EAA+E;IAC/E,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC/B,gFAA8E;IAC9E,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACrC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACnC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACnC,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;IAC/B,KAAK,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAAA;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,GAAG,SAAS,CAAA;IACnC,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;CACjC,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,eAAe,CAAA;IACtB,MAAM,EAAE,gBAAgB,CAAA;IACxB,aAAa,EAAE,qBAAqB,CAAA;CACrC,CAAA;AAwFD,4EAA4E;AAC5E,wEAAwE;AACxE,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,SAAS,EACf,IAAI,EAAE,qBAAqB,GAC1B,OAAO,CAAC,iBAAiB,CAAC,CAS5B"}
@@ -0,0 +1,27 @@
1
+ import type { ResolvedArtifactPaths, SocketFactsSbom } from './facts.mts';
2
+ // Frozen contract with `coana run --compute-artifacts-sidecar`; change only in
3
+ // sync with the coana consumer. Per coordinate: targets/sources present →
4
+ // resolved (coana uses the paths); both empty → resolved with no artifact
5
+ // (pom/BOM), not a failure; absent → coana degrades that vuln to precomputed.
6
+ export type ResolvedComponent = {
7
+ group: string;
8
+ name: string;
9
+ version: string;
10
+ ext: string;
11
+ classifier: string | null;
12
+ // Classpath entries (jars / first-party output dirs).
13
+ targets: string[];
14
+ // First-party source roots; [] for external deps.
15
+ sources: string[];
16
+ };
17
+ // Bare array, no schema version: socket-cli pins the coana version, so producer
18
+ // and consumer never drift.
19
+ export type ResolvedPathsSidecar = ResolvedComponent[];
20
+ // Keyed by full coordinate; unions paths so multiple build roots merge into one.
21
+ export type SidecarAccumulator = Map<string, ResolvedComponent>;
22
+ // Emit an entry for every SBOM component AND every first-party project: a
23
+ // top-level module is a project, not a dependency component, yet its source
24
+ // roots are where reachability starts, so the sidecar must carry them.
25
+ export declare function accumulateSidecar(acc: SidecarAccumulator, facts: SocketFactsSbom, artifactPaths: ResolvedArtifactPaths): void;
26
+ export declare function serializeSidecar(acc: SidecarAccumulator): ResolvedPathsSidecar;
27
+ //# sourceMappingURL=sidecar.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidecar.d.mts","sourceRoot":"","sources":["../../../../../src/commands/manifest/scripts/sidecar.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAEzE,+EAA+E;AAC/E,4EAA0E;AAC1E,4EAA0E;AAC1E,gFAA8E;AAC9E,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,sDAAsD;IACtD,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,kDAAkD;IAClD,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAA;AAED,gFAAgF;AAChF,4BAA4B;AAC5B,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,EAAE,CAAA;AAEtD,iFAAiF;AACjF,MAAM,MAAM,kBAAkB,GAAG,GAAG,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAA;AAsC/D,0EAA0E;AAC1E,4EAA4E;AAC5E,uEAAuE;AACvE,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,kBAAkB,EACvB,KAAK,EAAE,eAAe,EACtB,aAAa,EAAE,qBAAqB,GACnC,IAAI,CAwBN;AAED,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,kBAAkB,GACtB,oBAAoB,CAYtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"cmd-scan-create.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-create.mts"],"names":[],"mappings":"AA2CA,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,uCAAuC,CAAA;AAE9C,eAAO,MAAM,QAAQ,WAAW,CAAA;AAmHhC,eAAO,MAAM,aAAa;;;;CAIzB,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE,iBAAiB,GAChC,OAAO,CAAC,IAAI,CAAC,CAwff"}
1
+ {"version":3,"file":"cmd-scan-create.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-create.mts"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,uCAAuC,CAAA;AAE9C,eAAO,MAAM,QAAQ,WAAW,CAAA;AAmHhC,eAAO,MAAM,aAAa;;;;CAIzB,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE,iBAAiB,GAChC,OAAO,CAAC,IAAI,CAAC,CA+ef"}
@@ -1 +1 @@
1
- {"version":3,"file":"handle-create-new-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-create-new-scan.mts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAA;AAC9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAA;AA+BjE,MAAM,MAAM,yBAAyB,GAAG;IACtC,YAAY,EAAE,OAAO,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,GAAG,EAAE,MAAM,CAAA;IACX,aAAa,EAAE,OAAO,CAAA;IACtB,WAAW,EAAE,OAAO,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,UAAU,CAAA;IACtB,KAAK,EAAE,KAAK,CACV,mBAAmB,GAAG;QACpB,uBAAuB,EAAE,OAAO,CAAA;KACjC,CACF,CAAA;IACD,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,OAAO,CAAA;IACf,WAAW,EAAE,YAAY,CAAA;IACzB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,GAAG,EAAE,OAAO,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC/B,CAAA;AAED,wBAAsB,mBAAmB,CAAC,EACxC,YAAY,EACZ,UAAU,EACV,UAAU,EACV,aAAa,EACb,UAAU,EACV,GAAG,EACH,aAAa,EACb,WAAW,EACX,OAAO,EACP,UAAU,EACV,WAAW,EACX,WAAW,EACX,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,WAAW,EACX,OAAO,EACP,GAAG,EACH,SAAS,EACV,EAAE,yBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC,CA2R3C"}
1
+ {"version":3,"file":"handle-create-new-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-create-new-scan.mts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAA;AAC9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAA;AA+BjE,MAAM,MAAM,yBAAyB,GAAG;IACtC,YAAY,EAAE,OAAO,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,GAAG,EAAE,MAAM,CAAA;IACX,aAAa,EAAE,OAAO,CAAA;IACtB,WAAW,EAAE,OAAO,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,UAAU,CAAA;IACtB,KAAK,EAAE,KAAK,CACV,mBAAmB,GAAG;QACpB,uBAAuB,EAAE,OAAO,CAAA;KACjC,CACF,CAAA;IACD,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,OAAO,CAAA;IACf,WAAW,EAAE,YAAY,CAAA;IACzB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,GAAG,EAAE,OAAO,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC/B,CAAA;AAED,wBAAsB,mBAAmB,CAAC,EACxC,YAAY,EACZ,UAAU,EACV,UAAU,EACV,aAAa,EACb,UAAU,EACV,GAAG,EACH,aAAa,EACb,WAAW,EACX,OAAO,EACP,UAAU,EACV,WAAW,EACX,WAAW,EACX,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,WAAW,EACX,OAAO,EACP,GAAG,EACH,SAAS,EACV,EAAE,yBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC,CAiS3C"}
@@ -1,9 +1,8 @@
1
1
  import type { CResult, OutputKind } from '../../types.mts';
2
- import type { AutoManifestConfig } from '../../utils/auto-manifest-config.mts';
3
2
  import type { PURL_Type } from '../../utils/ecosystem.mts';
3
+ import type { ResolvedPathsSidecar } from '../manifest/scripts/sidecar.mts';
4
4
  import type { Spinner } from '@socketsecurity/registry/lib/spinner';
5
5
  export type ReachabilityOptions = {
6
- autoManifestConfig?: AutoManifestConfig | undefined;
7
6
  excludePaths: string[];
8
7
  reachAnalysisMemoryLimit: string;
9
8
  reachAnalysisTimeout: string;
@@ -33,6 +32,9 @@ export type ReachabilityAnalysisOptions = {
33
32
  outputPath?: string | undefined;
34
33
  packagePaths?: string[] | undefined;
35
34
  reachabilityOptions: ReachabilityOptions;
35
+ // Resolved-paths sidecar from the auto-manifest run; passed to coana so it
36
+ // reuses these paths instead of re-resolving the build.
37
+ resolvedPathsSidecar?: ResolvedPathsSidecar | undefined;
36
38
  repoName?: string | undefined;
37
39
  spinner?: Spinner | undefined;
38
40
  target: string;
@@ -1 +1 @@
1
- {"version":3,"file":"perform-reachability-analysis.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/perform-reachability-analysis.mts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAA;AAC9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAA;AAGnE,MAAM,MAAM,mBAAmB,GAAG;IAChC,kBAAkB,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAA;IACnD,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,wBAAwB,EAAE,MAAM,CAAA;IAChC,oBAAoB,EAAE,MAAM,CAAA;IAC5B,gBAAgB,EAAE,MAAM,CAAA;IACxB,6BAA6B,EAAE,OAAO,CAAA;IACtC,4BAA4B,EAAE,OAAO,CAAA;IACrC,+BAA+B,EAAE,OAAO,CAAA;IACxC,4BAA4B,EAAE,OAAO,CAAA;IACrC,UAAU,EAAE,OAAO,CAAA;IACnB,4BAA4B,EAAE,OAAO,CAAA;IACrC,8BAA8B,EAAE,OAAO,CAAA;IACvC,qBAAqB,EAAE,OAAO,CAAA;IAC9B,eAAe,EAAE,SAAS,EAAE,CAAA;IAC5B,4BAA4B,EAAE,OAAO,CAAA;IACrC,iBAAiB,EAAE,MAAM,EAAE,CAAA;IAC3B,aAAa,EAAE,OAAO,CAAA;IACtB,oBAAoB,EAAE,OAAO,CAAA;IAC7B,cAAc,EAAE,OAAO,CAAA;IACvB,6BAA6B,EAAE,OAAO,CAAA;IACtC,YAAY,EAAE,MAAM,GAAG,SAAS,CAAA;CACjC,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG;IACxC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAA;IACnC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;IACnC,mBAAmB,EAAE,mBAAmB,CAAA;IACxC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,MAAM,EAAE,MAAM,CAAA;IACd,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CACtC,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG;IACvC,kBAAkB,EAAE,MAAM,CAAA;IAC1B,uBAAuB,EAAE,MAAM,GAAG,SAAS,CAAA;CAC5C,CAAA;AAED,wBAAsB,2BAA2B,CAC/C,OAAO,CAAC,EAAE,2BAA2B,GAAG,SAAS,GAChD,OAAO,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC,CA+Q9C"}
1
+ {"version":3,"file":"perform-reachability-analysis.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/perform-reachability-analysis.mts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAA;AAC3E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAA;AAGnE,MAAM,MAAM,mBAAmB,GAAG;IAChC,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,wBAAwB,EAAE,MAAM,CAAA;IAChC,oBAAoB,EAAE,MAAM,CAAA;IAC5B,gBAAgB,EAAE,MAAM,CAAA;IACxB,6BAA6B,EAAE,OAAO,CAAA;IACtC,4BAA4B,EAAE,OAAO,CAAA;IACrC,+BAA+B,EAAE,OAAO,CAAA;IACxC,4BAA4B,EAAE,OAAO,CAAA;IACrC,UAAU,EAAE,OAAO,CAAA;IACnB,4BAA4B,EAAE,OAAO,CAAA;IACrC,8BAA8B,EAAE,OAAO,CAAA;IACvC,qBAAqB,EAAE,OAAO,CAAA;IAC9B,eAAe,EAAE,SAAS,EAAE,CAAA;IAC5B,4BAA4B,EAAE,OAAO,CAAA;IACrC,iBAAiB,EAAE,MAAM,EAAE,CAAA;IAC3B,aAAa,EAAE,OAAO,CAAA;IACtB,oBAAoB,EAAE,OAAO,CAAA;IAC7B,cAAc,EAAE,OAAO,CAAA;IACvB,6BAA6B,EAAE,OAAO,CAAA;IACtC,YAAY,EAAE,MAAM,GAAG,SAAS,CAAA;CACjC,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG;IACxC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAA;IACnC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;IACnC,mBAAmB,EAAE,mBAAmB,CAAA;IACxC,2EAA2E;IAC3E,wDAAwD;IACxD,oBAAoB,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAA;IACvD,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,MAAM,EAAE,MAAM,CAAA;IACd,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CACtC,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG;IACvC,kBAAkB,EAAE,MAAM,CAAA;IAC1B,uBAAuB,EAAE,MAAM,GAAG,SAAS,CAAA;CAC5C,CAAA;AAED,wBAAsB,2BAA2B,CAC/C,OAAO,CAAC,EAAE,2BAA2B,GAAG,SAAS,GAChD,OAAO,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC,CA2Q9C"}