@x12i/graphenix-plan-format 1.1.0 → 1.1.1
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/test/golden-fixtures.test.d.ts +2 -0
- package/dist/test/golden-fixtures.test.d.ts.map +1 -0
- package/dist/test/golden-fixtures.test.js +31 -0
- package/dist/test/golden-fixtures.test.js.map +1 -0
- package/fixtures/content-pipeline.plan.json +1292 -0
- package/fixtures/nodes/node-audience-insights.plan.json +1 -1
- package/fixtures/nodes/node-execution-strategies.plan.json +1 -1
- package/fixtures/nodes/node-hand-authored-units.plan.json +1 -1
- package/fixtures/nodes/node-input-synthesis-profile.plan.json +105 -0
- package/fixtures/nodes/node-narrative-preprocessor.plan.json +1 -1
- package/fixtures/nodes/node-post-audit.plan.json +106 -0
- package/fixtures/nodes/node-professional-answer-plain.plan.json +1 -1
- package/package.json +4 -2
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nodeId": "node:professional-answer",
|
|
3
|
+
"nodeType": "task",
|
|
4
|
+
"executionClass": "aiTask",
|
|
5
|
+
"skillKey": "professional-answer",
|
|
6
|
+
"selectedCases": {
|
|
7
|
+
"graphModelCaseId": "default"
|
|
8
|
+
},
|
|
9
|
+
"modelSlots": {
|
|
10
|
+
"preActionModel": {
|
|
11
|
+
"selection": {
|
|
12
|
+
"kind": "profileChoice",
|
|
13
|
+
"key": "cheap/default"
|
|
14
|
+
},
|
|
15
|
+
"source": "graphDefault",
|
|
16
|
+
"inherited": true,
|
|
17
|
+
"graphCaseId": "default"
|
|
18
|
+
},
|
|
19
|
+
"skillModel": {
|
|
20
|
+
"selection": {
|
|
21
|
+
"kind": "profileChoice",
|
|
22
|
+
"key": "vol/default"
|
|
23
|
+
},
|
|
24
|
+
"source": "graphDefault",
|
|
25
|
+
"inherited": true,
|
|
26
|
+
"graphCaseId": "default"
|
|
27
|
+
},
|
|
28
|
+
"postActionModel": {
|
|
29
|
+
"selection": {
|
|
30
|
+
"kind": "profileChoice",
|
|
31
|
+
"key": "cheap/default"
|
|
32
|
+
},
|
|
33
|
+
"source": "graphDefault",
|
|
34
|
+
"inherited": true,
|
|
35
|
+
"graphCaseId": "default"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"invokeContract": {
|
|
39
|
+
"pipeline": {
|
|
40
|
+
"executionStrategies": [],
|
|
41
|
+
"aiTaskProfile": {
|
|
42
|
+
"inputSynthesis": {
|
|
43
|
+
"enabled": true
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"executionUnits": [
|
|
49
|
+
{
|
|
50
|
+
"unitId": "unit:node:professional-answer:pipeline:inputSynthesis",
|
|
51
|
+
"nodeId": "node:professional-answer",
|
|
52
|
+
"unitKind": "pipelinePhase",
|
|
53
|
+
"invokeMode": "pipelinePhase",
|
|
54
|
+
"order": 0,
|
|
55
|
+
"strategyKey": "inputSynthesis",
|
|
56
|
+
"modelSlot": "preActionModel",
|
|
57
|
+
"modelSelection": {
|
|
58
|
+
"kind": "profileChoice",
|
|
59
|
+
"key": "cheap/default"
|
|
60
|
+
},
|
|
61
|
+
"modelSource": "graphDefault",
|
|
62
|
+
"invokeContract": {
|
|
63
|
+
"reads": [],
|
|
64
|
+
"writes": [
|
|
65
|
+
{
|
|
66
|
+
"destination": "execution",
|
|
67
|
+
"key": "synthesizedContext",
|
|
68
|
+
"mode": "merge"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"includeContextInPrompt": true
|
|
72
|
+
},
|
|
73
|
+
"sourcePath": "/graph/nodes/0/parameters/taskConfiguration/aiTaskProfile/inputSynthesis"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"unitId": "unit:node:professional-answer:main",
|
|
77
|
+
"nodeId": "node:professional-answer",
|
|
78
|
+
"unitKind": "mainSkill",
|
|
79
|
+
"invokeMode": "mainRunTask",
|
|
80
|
+
"order": 1,
|
|
81
|
+
"skillKey": "professional-answer",
|
|
82
|
+
"modelSlot": "skillModel",
|
|
83
|
+
"modelSelection": {
|
|
84
|
+
"kind": "profileChoice",
|
|
85
|
+
"key": "vol/default"
|
|
86
|
+
},
|
|
87
|
+
"modelSource": "graphDefault",
|
|
88
|
+
"invokeContract": {
|
|
89
|
+
"reads": [],
|
|
90
|
+
"writes": [
|
|
91
|
+
{
|
|
92
|
+
"destination": "response",
|
|
93
|
+
"key": "skillOutput",
|
|
94
|
+
"mode": "replace"
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"sourcePath": "/graph/nodes/0/parameters/skillKey"
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"planVersion": "graphenix.node-plan/v2.1",
|
|
102
|
+
"compiledAt": "2026-06-07T15:07:47.729Z",
|
|
103
|
+
"compilerVersion": "1.1.0",
|
|
104
|
+
"sourcePath": "/graph/nodes/0"
|
|
105
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nodeId": "node:professional-answer",
|
|
3
|
+
"nodeType": "task",
|
|
4
|
+
"executionClass": "aiTask",
|
|
5
|
+
"skillKey": "professional-answer",
|
|
6
|
+
"selectedCases": {
|
|
7
|
+
"graphModelCaseId": "default"
|
|
8
|
+
},
|
|
9
|
+
"modelSlots": {
|
|
10
|
+
"preActionModel": {
|
|
11
|
+
"selection": {
|
|
12
|
+
"kind": "profileChoice",
|
|
13
|
+
"key": "cheap/default"
|
|
14
|
+
},
|
|
15
|
+
"source": "graphDefault",
|
|
16
|
+
"inherited": true,
|
|
17
|
+
"graphCaseId": "default"
|
|
18
|
+
},
|
|
19
|
+
"skillModel": {
|
|
20
|
+
"selection": {
|
|
21
|
+
"kind": "profileChoice",
|
|
22
|
+
"key": "vol/default"
|
|
23
|
+
},
|
|
24
|
+
"source": "graphDefault",
|
|
25
|
+
"inherited": true,
|
|
26
|
+
"graphCaseId": "default"
|
|
27
|
+
},
|
|
28
|
+
"postActionModel": {
|
|
29
|
+
"selection": {
|
|
30
|
+
"kind": "profileChoice",
|
|
31
|
+
"key": "cheap/default"
|
|
32
|
+
},
|
|
33
|
+
"source": "graphDefault",
|
|
34
|
+
"inherited": true,
|
|
35
|
+
"graphCaseId": "default"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"invokeContract": {
|
|
39
|
+
"pipeline": {
|
|
40
|
+
"executionStrategies": [],
|
|
41
|
+
"aiTaskStrategies": {
|
|
42
|
+
"post": "audit"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"executionUnits": [
|
|
47
|
+
{
|
|
48
|
+
"unitId": "unit:node:professional-answer:main",
|
|
49
|
+
"nodeId": "node:professional-answer",
|
|
50
|
+
"unitKind": "mainSkill",
|
|
51
|
+
"invokeMode": "mainRunTask",
|
|
52
|
+
"order": 0,
|
|
53
|
+
"skillKey": "professional-answer",
|
|
54
|
+
"modelSlot": "skillModel",
|
|
55
|
+
"modelSelection": {
|
|
56
|
+
"kind": "profileChoice",
|
|
57
|
+
"key": "vol/default"
|
|
58
|
+
},
|
|
59
|
+
"modelSource": "graphDefault",
|
|
60
|
+
"invokeContract": {
|
|
61
|
+
"reads": [],
|
|
62
|
+
"writes": [
|
|
63
|
+
{
|
|
64
|
+
"destination": "response",
|
|
65
|
+
"key": "skillOutput",
|
|
66
|
+
"mode": "replace"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"sourcePath": "/graph/nodes/0/parameters/skillKey"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"unitId": "unit:node:professional-answer:post:0",
|
|
74
|
+
"nodeId": "node:professional-answer",
|
|
75
|
+
"unitKind": "externalPostUtility",
|
|
76
|
+
"invokeMode": "externalRunTask",
|
|
77
|
+
"order": 1,
|
|
78
|
+
"strategyKey": "audit",
|
|
79
|
+
"actionKey": "audit",
|
|
80
|
+
"modelSlot": "postActionModel",
|
|
81
|
+
"modelSelection": {
|
|
82
|
+
"kind": "profileChoice",
|
|
83
|
+
"key": "cheap/default"
|
|
84
|
+
},
|
|
85
|
+
"modelSource": "graphDefault",
|
|
86
|
+
"invokeContract": {
|
|
87
|
+
"reads": [
|
|
88
|
+
"response.skillOutput",
|
|
89
|
+
"executionMemory.input"
|
|
90
|
+
],
|
|
91
|
+
"writes": [
|
|
92
|
+
{
|
|
93
|
+
"destination": "response",
|
|
94
|
+
"key": "auditedOutput",
|
|
95
|
+
"mode": "replace"
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"sourcePath": "/graph/nodes/0/parameters/taskConfiguration/aiTaskStrategies/post"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"planVersion": "graphenix.node-plan/v2.1",
|
|
103
|
+
"compiledAt": "2026-06-07T15:07:47.722Z",
|
|
104
|
+
"compilerVersion": "1.1.0",
|
|
105
|
+
"sourcePath": "/graph/nodes/0"
|
|
106
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@x12i/graphenix-plan-format",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "ExecutableGraphPlan format: plan schema validation and canonicalization.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "tsc -p tsconfig.json",
|
|
18
|
-
"clean": "rimraf dist"
|
|
18
|
+
"clean": "rimraf dist",
|
|
19
|
+
"test": "npm run build && node --test dist/test/*.test.js"
|
|
19
20
|
},
|
|
20
21
|
"files": [
|
|
21
22
|
"dist",
|
|
@@ -47,6 +48,7 @@
|
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
50
|
"@types/node": "^22.10.1",
|
|
51
|
+
"@x12i/graphenix-plan-compiler": "^1.1.1",
|
|
50
52
|
"rimraf": "^6.0.1",
|
|
51
53
|
"typescript": "^5.6.3"
|
|
52
54
|
}
|