@peer-agent/runtime-sdk 0.1.0-rc.13 → 0.1.0-rc.15
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/pipeline.js +2 -1
- package/package.json +3 -3
package/dist/pipeline.js
CHANGED
|
@@ -167,8 +167,9 @@ export function createRuntimePipeline(options) {
|
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
state = await options.model.applyToolResults(state, executions, currentContext);
|
|
170
|
-
|
|
170
|
+
// Completed results remain durable even when cancellation arrived during execution.
|
|
171
171
|
await options.model.checkpoint?.(state, executions, currentContext);
|
|
172
|
+
throwIfAborted(signal);
|
|
172
173
|
try {
|
|
173
174
|
await options.lifecycle?.toolResultsApplied?.(state, executions, currentContext);
|
|
174
175
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peer-agent/runtime-sdk",
|
|
3
|
-
"version": "0.1.0-rc.
|
|
3
|
+
"version": "0.1.0-rc.15",
|
|
4
4
|
"description": "Public host-neutral orchestration SDK for Peer Agent runtimes.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"LICENSE"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@peer-agent/protocol": "^0.1.0-rc.
|
|
38
|
-
"@peer-agent/runtime-core": "^0.1.0-rc.
|
|
37
|
+
"@peer-agent/protocol": "^0.1.0-rc.15",
|
|
38
|
+
"@peer-agent/runtime-core": "^0.1.0-rc.15"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"typescript": "^5.9.3"
|