@allurereport/plugin-agent 3.16.1 → 3.18.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/plugin.js +3 -6
- package/package.json +4 -4
package/dist/plugin.js
CHANGED
|
@@ -2908,17 +2908,14 @@ export class AgentPlugin {
|
|
|
2908
2908
|
await streamLiveTestUpdates(runtime, trIds);
|
|
2909
2909
|
});
|
|
2910
2910
|
}, { maxTimeout: 0 }));
|
|
2911
|
-
|
|
2912
|
-
await queueRuntimeTask(runtime, async () => {
|
|
2913
|
-
});
|
|
2914
|
-
}));
|
|
2915
|
-
runtime.unsubscribers.push(realtime.onGlobalError(async (error) => {
|
|
2911
|
+
const onGlobalError = async (error) => {
|
|
2916
2912
|
await queueRuntimeTask(runtime, async () => {
|
|
2917
2913
|
await appendRuntimeEvent(runtime, "run_error", {
|
|
2918
2914
|
message: error.message ?? "Captured global error",
|
|
2919
2915
|
});
|
|
2920
2916
|
});
|
|
2921
|
-
}
|
|
2917
|
+
};
|
|
2918
|
+
runtime.unsubscribers.push(realtime.onGlobalError(onGlobalError));
|
|
2922
2919
|
runtime.unsubscribers.push(realtime.onGlobalExitCode(async (payload) => {
|
|
2923
2920
|
await queueRuntimeTask(runtime, async () => {
|
|
2924
2921
|
if ((payload.actual ?? payload.original) !== 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allurereport/plugin-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.18.0",
|
|
4
4
|
"description": "Allure Agent Plugin – AI-friendly markdown report generator",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"lint:fix": "yarn run -T oxlint --import-plugin --fix src test features stories"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@allurereport/core-api": "3.
|
|
35
|
-
"@allurereport/plugin-api": "3.
|
|
34
|
+
"@allurereport/core-api": "3.18.0",
|
|
35
|
+
"@allurereport/plugin-api": "3.18.0",
|
|
36
36
|
"yaml": "^2.8.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@allurereport/reader-api": "3.
|
|
39
|
+
"@allurereport/reader-api": "3.18.0",
|
|
40
40
|
"@types/node": "^20",
|
|
41
41
|
"@vitest/runner": "^2",
|
|
42
42
|
"allure-js-commons": "^3",
|