@exellix/ai-tasks 9.0.6 → 9.1.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/CHANGELOG.md +7 -0
- package/README.md +3 -3
- package/dist/node-execution/resolveUnitModelSelection.d.ts.map +1 -1
- package/dist/node-execution/resolveUnitModelSelection.js +10 -1
- package/dist/node-execution/resolveUnitModelSelection.js.map +1 -1
- package/dist/observability/graphExecutionRunLogContract.d.ts +1 -1
- package/dist/observability/graphExecutionRunLogContract.js +1 -1
- package/documenations/schemas/v1/run-task-request.json +1 -1
- package/package.json +13 -17
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ All notable changes to `@exellix/ai-tasks` are documented here.
|
|
|
4
4
|
|
|
5
5
|
The published **npm version** always matches **`version`** in [`package.json`](package.json). If this file skips a semver, treat [`BREAKING-CHANGES.md`](BREAKING-CHANGES.md) and [`RUNTASK_REQUEST.md`](RUNTASK_REQUEST.md) as the source of truth for cross-version upgrades.
|
|
6
6
|
|
|
7
|
+
## [9.1.0] - 2026-06-09
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- **Graphenix 2.1.0 alignment:** Accept parent plan format `"executable-plan"` (v2) and trace format `"execution-trace"` (v2).
|
|
12
|
+
- **Snapshot isolation:** `overlayUnitModelOnRequest` ignores concrete wire ids in `resolvedInvocationSnapshot.modelId`, preferring authored `modelSelection` (CR-1.3).
|
|
13
|
+
|
|
7
14
|
## [9.0.5] - 2026-06-08
|
|
8
15
|
|
|
9
16
|
### Changed
|
package/README.md
CHANGED
|
@@ -1108,7 +1108,7 @@ await runTask({
|
|
|
1108
1108
|
modelConfig: {
|
|
1109
1109
|
preActionModel: "cheap/default", // PRE synthesis (xynthesis)
|
|
1110
1110
|
postActionModel: "cheap/default", // POST audit/polish (xynthesis)
|
|
1111
|
-
skillModel: "
|
|
1111
|
+
skillModel: "openai/gpt-5", // MAIN skill (ai-skills → ai-gateway)
|
|
1112
1112
|
},
|
|
1113
1113
|
});
|
|
1114
1114
|
```
|
|
@@ -1132,7 +1132,7 @@ import { resolveInvocationPlan } from "@exellix/ai-tasks";
|
|
|
1132
1132
|
const plan = await resolveInvocationPlan({
|
|
1133
1133
|
profiles: {
|
|
1134
1134
|
preActionModel: "cheap/default",
|
|
1135
|
-
skillModel: "
|
|
1135
|
+
skillModel: "openai/gpt-5",
|
|
1136
1136
|
postActionModel: "cheap/default",
|
|
1137
1137
|
},
|
|
1138
1138
|
policy: {
|
|
@@ -1302,7 +1302,7 @@ const result = await runTask({
|
|
|
1302
1302
|
modelConfig: {
|
|
1303
1303
|
preActionModel: "cheap/default",
|
|
1304
1304
|
postActionModel: "cheap/default",
|
|
1305
|
-
skillModel: "
|
|
1305
|
+
skillModel: "openai/gpt-5",
|
|
1306
1306
|
},
|
|
1307
1307
|
input: { assetId: "a-123" },
|
|
1308
1308
|
executionMode: "trace",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveUnitModelSelection.d.ts","sourceRoot":"","sources":["../../src/node-execution/resolveUnitModelSelection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,mBAAmB,EACpB,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"resolveUnitModelSelection.d.ts","sourceRoot":"","sources":["../../src/node-execution/resolveUnitModelSelection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,mBAAmB,EACpB,MAAM,sCAAsC,CAAC;AAI9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AA2B7D,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE,mBAAmB,GACxB,cAAc,CAgDhB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { isConcreteModelId } from "../utils/concreteModelId.js";
|
|
1
2
|
function selectionToWireValue(selection) {
|
|
2
3
|
if (selection.kind === "profileChoice")
|
|
3
4
|
return selection.key;
|
|
@@ -37,7 +38,15 @@ export function overlayUnitModelOnRequest(request, unit) {
|
|
|
37
38
|
}
|
|
38
39
|
let wireValue;
|
|
39
40
|
if (snapshot && typeof snapshot.modelId === "string" && snapshot.modelId.trim()) {
|
|
40
|
-
|
|
41
|
+
if (isConcreteModelId(snapshot.modelId)) {
|
|
42
|
+
// CR-1.3: ignore concrete wire ids in snapshots; prefer authored selection
|
|
43
|
+
if (selection) {
|
|
44
|
+
wireValue = selectionToWireValue(selection);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
wireValue = snapshot.modelId;
|
|
49
|
+
}
|
|
41
50
|
}
|
|
42
51
|
else if (selection) {
|
|
43
52
|
wireValue = selectionToWireValue(selection);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveUnitModelSelection.js","sourceRoot":"","sources":["../../src/node-execution/resolveUnitModelSelection.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resolveUnitModelSelection.js","sourceRoot":"","sources":["../../src/node-execution/resolveUnitModelSelection.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAKhE,SAAS,oBAAoB,CAAC,SAA2B;IACvD,IAAI,SAAS,CAAC,IAAI,KAAK,eAAe;QAAE,OAAO,SAAS,CAAC,GAAG,CAAC;IAC7D,IAAI,SAAS,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;QACjC,MAAM,MAAM,GAAG,SAAS,CAAC,MAAM,IAAI,SAAS,CAAC;QAC7C,OAAO,GAAG,SAAS,CAAC,OAAO,IAAI,MAAM,EAAE,CAAC;IAC1C,CAAC;IACD,MAAM,OAAO,GAAG,SAAS,CAAC,OAAO,IAAI,SAAS,CAAC,KAAK,CAAC;IACrD,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;IAC/D,CAAC;IACD,OAAO,OAAO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a,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE;QAC5E,CAAC,CAAC,aAAa,CAAC;IAEpB,OAAO;QACL,GAAG,OAAO;QACV,WAAW;QACX,GAAG,CAAC,OAAO,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACnE,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Contract hints for graph-engine / worox-graph (implemented downstream, not here).
|
|
3
3
|
*
|
|
4
|
-
* **Authoritative trace:**
|
|
4
|
+
* **Authoritative trace:** "execution-trace" v2 on `RunTaskRequest.executionTrace`
|
|
5
5
|
* (append via `@x12i/graphenix-trace-format` during node unit loop).
|
|
6
6
|
*
|
|
7
7
|
* Legacy `debugTrace` from `executionMode: "trace"` is deprecated for graph runs.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Contract hints for graph-engine / worox-graph (implemented downstream, not here).
|
|
3
3
|
*
|
|
4
|
-
* **Authoritative trace:**
|
|
4
|
+
* **Authoritative trace:** "execution-trace" v2 on `RunTaskRequest.executionTrace`
|
|
5
5
|
* (append via `@x12i/graphenix-trace-format` during node unit loop).
|
|
6
6
|
*
|
|
7
7
|
* Legacy `debugTrace` from `executionMode: "trace"` is deprecated for graph runs.
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"executionTrace": {
|
|
16
16
|
"type": "object",
|
|
17
|
-
"description": "Optional mutable
|
|
17
|
+
"description": "Optional mutable execution-trace v2 handle; executor appends unit.* and model.invocation.* events.",
|
|
18
18
|
"additionalProperties": true
|
|
19
19
|
},
|
|
20
20
|
"skillKey": { "type": "string", "minLength": 1 },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exellix/ai-tasks",
|
|
3
|
-
"version": "9.0
|
|
3
|
+
"version": "9.1.0",
|
|
4
4
|
"description": "Task orchestration for the Exellix stack: runTask() with local handlers or LLM-backed execution, task-scoped memory/context enrichment, and executor dispatch via @exellix/ai-skills. ERC-compliant.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"license": "exellix-license",
|
|
51
51
|
"repository": {
|
|
52
52
|
"type": "git",
|
|
53
|
-
"url": "git+ssh://git@github.com
|
|
53
|
+
"url": "git+ssh://git@github.com/exellix/ai-tasks.git"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -59,12 +59,8 @@
|
|
|
59
59
|
"engines": {
|
|
60
60
|
"node": ">=20"
|
|
61
61
|
},
|
|
62
|
-
"overrides": {
|
|
63
|
-
"@x12i/ai-tools": "^3.3.3",
|
|
64
|
-
"@x12i/ai-profiles": "^3.4.0"
|
|
65
|
-
},
|
|
66
62
|
"dependencies": {
|
|
67
|
-
"@exellix/ai-skills": "^6.
|
|
63
|
+
"@exellix/ai-skills": "^6.9.0",
|
|
68
64
|
"@exellix/memorix-narrix-adapter": "^2.0.0",
|
|
69
65
|
"@exellix/narrix-adapter-chat": "^2.0.0",
|
|
70
66
|
"@exellix/narrix-adapter-docs": "^2.0.0",
|
|
@@ -76,18 +72,18 @@
|
|
|
76
72
|
"@exellix/narrix-ingest": "^2.0.0",
|
|
77
73
|
"@exellix/narrix-runner": "^2.0.0",
|
|
78
74
|
"@exellix/narrix-web-scoper": "^2.0.0",
|
|
79
|
-
"@exellix/xynthesis": "^4.
|
|
80
|
-
"@x12i/activix": "^8.6.
|
|
75
|
+
"@exellix/xynthesis": "^4.8.0",
|
|
76
|
+
"@x12i/activix": "^8.6.3",
|
|
81
77
|
"@x12i/ai-profiles": "^3.4.0",
|
|
82
|
-
"@x12i/
|
|
83
|
-
"@x12i/catalox": "^5.1.3",
|
|
78
|
+
"@x12i/catalox": "^5.2.0",
|
|
84
79
|
"@x12i/env": "^4.0.1",
|
|
85
80
|
"@x12i/execution-memory-manager": "^1.2.0",
|
|
86
|
-
"@x12i/
|
|
87
|
-
"@x12i/graphenix-
|
|
88
|
-
"@x12i/graphenix-
|
|
81
|
+
"@x12i/funcx": "^4.9.6",
|
|
82
|
+
"@x12i/graphenix-executable-contracts": "^2.0.0",
|
|
83
|
+
"@x12i/graphenix-plan-format": "^2.0.0",
|
|
84
|
+
"@x12i/graphenix-trace-format": "^2.0.0",
|
|
89
85
|
"@x12i/logxer": "^4.6.0",
|
|
90
|
-
"@x12i/optimixer": "^3.5.
|
|
86
|
+
"@x12i/optimixer": "^3.5.2",
|
|
91
87
|
"@x12i/rendrix": "^4.3.0",
|
|
92
88
|
"@x12i/search-adapter": "^1.5.1",
|
|
93
89
|
"handlebars": "^4.7.8",
|
|
@@ -95,8 +91,8 @@
|
|
|
95
91
|
},
|
|
96
92
|
"devDependencies": {
|
|
97
93
|
"@types/node": "^18.0.0 || ^20.0.0",
|
|
98
|
-
"@x12i/graphenix-authoring-format": "^
|
|
99
|
-
"@x12i/graphenix-plan-compiler": "^
|
|
94
|
+
"@x12i/graphenix-authoring-format": "^2.0.0",
|
|
95
|
+
"@x12i/graphenix-plan-compiler": "^2.0.0",
|
|
100
96
|
"dotenv": "^16.0.0",
|
|
101
97
|
"ts-node": "^10.9.0",
|
|
102
98
|
"tsx": "^4.0.0",
|