@suss/extractor 0.33.1 → 0.34.0
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.
- package/README.md +3 -3
- package/dist/index.cjs +664 -193
- package/dist/index.d.cts +1114 -933
- package/dist/index.d.ts +1114 -933
- package/dist/index.js +641 -180
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Part of [suss](https://github.com/nimbuscloud-ai/suss), which reads both sides of every call in a repository and says where the two disagree.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The assembly engine that turns raw language-adapter output into a `BehavioralSummary`.
|
|
6
6
|
|
|
7
7
|
## What this package is
|
|
8
8
|
|
|
9
|
-
`@suss/extractor` is the core assembly layer of the suss pipeline. Language adapters
|
|
9
|
+
`@suss/extractor` is the core assembly layer of the suss pipeline. Language adapters such as `@suss/adapter-typescript` parse source code and produce a `RawCodeStructure`, a normalized intermediate form that each adapter fills in its own way. The extractor's `assembleSummary` function converts that structure into the final `BehavioralSummary` IR. Along the way it handles condition polarity, terminal mapping, gap detection and confidence assessment, and passes `expectedInput` through for client field tracking. The package also exports the `RawCodeStructure` type, the `PatternPack` interface, and the related raw types, so every adapter shares one contract.
|
|
10
10
|
|
|
11
11
|
## Where it fits in suss
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ It imports `@suss/behavioral-ir` for the IR types it produces. `@suss/adapter-ty
|
|
|
14
14
|
|
|
15
15
|
## Status
|
|
16
16
|
|
|
17
|
-
Stable. `assembleSummary`, `detectGaps`, and `assessConfidence` are the public API.
|
|
17
|
+
Stable. `assembleSummary`, `detectGaps`, and `assessConfidence` are the public API. Language adapters and framework packs implement against the `RawCodeStructure` and `PatternPack` interfaces.
|
|
18
18
|
|
|
19
19
|
## Minimal usage
|
|
20
20
|
|