@engineeros/connector 1.59.53 → 1.59.55
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/README.md +2 -0
- package/bin/engineeros-connector.mjs +481 -463
- package/bin/node-test-reporter.mjs +15 -0
- package/package.json +2 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Node 22's JUnit reporter drops source locations. Keep the runner's observed
|
|
2
|
+
// identity so baseline failures can be rerun in their actual committed file.
|
|
3
|
+
export default async function* report(events) {
|
|
4
|
+
for await (const { type, data } of events) {
|
|
5
|
+
if (!["test:pass", "test:fail"].includes(type) || data.details?.type === "suite") continue;
|
|
6
|
+
yield `${JSON.stringify({
|
|
7
|
+
name: data.name,
|
|
8
|
+
classname: null,
|
|
9
|
+
file: data.file ?? null,
|
|
10
|
+
status: data.skip || data.todo ? "skipped" : type === "test:pass" ? "passed" : "failed",
|
|
11
|
+
duration_ms: data.details?.duration_ms ?? null,
|
|
12
|
+
message: data.details?.error?.message ?? null,
|
|
13
|
+
})}\n`;
|
|
14
|
+
}
|
|
15
|
+
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@engineeros/connector",
|
|
3
|
-
"version": "1.59.
|
|
3
|
+
"version": "1.59.55",
|
|
4
4
|
"description": "Connect a local coding agent to EngineerOS, using ACP when supported.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
7
7
|
"files": [
|
|
8
8
|
"bin/engineeros-connector.mjs",
|
|
9
|
+
"bin/node-test-reporter.mjs",
|
|
9
10
|
"README.md",
|
|
10
11
|
"LICENSE",
|
|
11
12
|
"grammars"
|