@harness-engineering/intelligence 0.1.4 → 0.2.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/dist/index.d.mts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -605,6 +605,14 @@ declare class IntelligencePipeline {
|
|
|
605
605
|
private readonly outcomeConnector;
|
|
606
606
|
constructor(provider: AnalysisProvider, store: GraphStore, options?: {
|
|
607
607
|
peslModel?: string;
|
|
608
|
+
/**
|
|
609
|
+
* Optional distinct provider for the PESL layer. Defaults to
|
|
610
|
+
* `provider` (current behavior — sel and pesl share a session).
|
|
611
|
+
* Spec 2 SC35: when `routing.intelligence.sel !== routing.intelligence.pesl`,
|
|
612
|
+
* the orchestrator passes a second `AnalysisProvider` here so PESL
|
|
613
|
+
* runs against a different backend than SEL.
|
|
614
|
+
*/
|
|
615
|
+
peslProvider?: AnalysisProvider;
|
|
608
616
|
});
|
|
609
617
|
/**
|
|
610
618
|
* Enrich a raw work item into an EnrichedSpec via LLM + graph validation.
|
package/dist/index.d.ts
CHANGED
|
@@ -605,6 +605,14 @@ declare class IntelligencePipeline {
|
|
|
605
605
|
private readonly outcomeConnector;
|
|
606
606
|
constructor(provider: AnalysisProvider, store: GraphStore, options?: {
|
|
607
607
|
peslModel?: string;
|
|
608
|
+
/**
|
|
609
|
+
* Optional distinct provider for the PESL layer. Defaults to
|
|
610
|
+
* `provider` (current behavior — sel and pesl share a session).
|
|
611
|
+
* Spec 2 SC35: when `routing.intelligence.sel !== routing.intelligence.pesl`,
|
|
612
|
+
* the orchestrator passes a second `AnalysisProvider` here so PESL
|
|
613
|
+
* runs against a different backend than SEL.
|
|
614
|
+
*/
|
|
615
|
+
peslProvider?: AnalysisProvider;
|
|
608
616
|
});
|
|
609
617
|
/**
|
|
610
618
|
* Enrich a raw work item into an EnrichedSpec via LLM + graph validation.
|
package/dist/index.js
CHANGED
|
@@ -1121,7 +1121,7 @@ var IntelligencePipeline = class {
|
|
|
1121
1121
|
this.provider = provider;
|
|
1122
1122
|
this.store = store;
|
|
1123
1123
|
this.graphValidator = new GraphValidator(store);
|
|
1124
|
-
this.simulator = new PeslSimulator(provider, store, {
|
|
1124
|
+
this.simulator = new PeslSimulator(options?.peslProvider ?? provider, store, {
|
|
1125
1125
|
...options?.peslModel !== void 0 && { model: options.peslModel }
|
|
1126
1126
|
});
|
|
1127
1127
|
this.outcomeConnector = new ExecutionOutcomeConnector(store);
|
package/dist/index.mjs
CHANGED
|
@@ -1054,7 +1054,7 @@ var IntelligencePipeline = class {
|
|
|
1054
1054
|
this.provider = provider;
|
|
1055
1055
|
this.store = store;
|
|
1056
1056
|
this.graphValidator = new GraphValidator(store);
|
|
1057
|
-
this.simulator = new PeslSimulator(provider, store, {
|
|
1057
|
+
this.simulator = new PeslSimulator(options?.peslProvider ?? provider, store, {
|
|
1058
1058
|
...options?.peslModel !== void 0 && { model: options.peslModel }
|
|
1059
1059
|
});
|
|
1060
1060
|
this.outcomeConnector = new ExecutionOutcomeConnector(store);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harness-engineering/intelligence",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Intelligence pipeline for spec enrichment, complexity modeling, and pre-execution simulation",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"@anthropic-ai/sdk": "^0.91.0",
|
|
41
41
|
"openai": "^6.0.0",
|
|
42
42
|
"zod": "^3.25.76",
|
|
43
|
-
"@harness-engineering/graph": "0.7.
|
|
44
|
-
"@harness-engineering/types": "0.
|
|
43
|
+
"@harness-engineering/graph": "0.7.1",
|
|
44
|
+
"@harness-engineering/types": "0.11.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/node": "^22.19.15",
|