@elench/testkit 0.1.92 → 0.1.93
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/lib/cli/agents/providers/claude.mjs +1 -0
- package/lib/cli/agents/providers/codex.mjs +4 -0
- package/lib/cli/agents/providers/shared.mjs +2 -1
- package/node_modules/@elench/next-analysis/package.json +1 -1
- package/node_modules/@elench/testkit-bridge/package.json +2 -2
- package/node_modules/@elench/testkit-protocol/package.json +1 -1
- package/node_modules/@elench/ts-analysis/package.json +1 -1
- package/package.json +6 -6
|
@@ -36,6 +36,7 @@ export function startCodexHostedSession({
|
|
|
36
36
|
|
|
37
37
|
const child = execa(command, args, {
|
|
38
38
|
cwd,
|
|
39
|
+
stdin: "ignore",
|
|
39
40
|
stdout: "pipe",
|
|
40
41
|
stderr: "pipe",
|
|
41
42
|
reject: false,
|
|
@@ -46,6 +47,9 @@ export function startCodexHostedSession({
|
|
|
46
47
|
child,
|
|
47
48
|
onEvent,
|
|
48
49
|
parsePayload: parseCodexPayload,
|
|
50
|
+
shouldIgnoreStatus(message) {
|
|
51
|
+
return String(message || "").trim() === "Reading additional input from stdin...";
|
|
52
|
+
},
|
|
49
53
|
readFinalText(result) {
|
|
50
54
|
return readTextFileIfPresent(outputFile) || result.stdout || null;
|
|
51
55
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import fs from "fs";
|
|
2
2
|
import readline from "readline";
|
|
3
3
|
|
|
4
|
-
export function createHostedSessionRunner({ provider, child, onEvent, parsePayload, readFinalText } = {}) {
|
|
4
|
+
export function createHostedSessionRunner({ provider, child, onEvent, parsePayload, readFinalText, shouldIgnoreStatus } = {}) {
|
|
5
5
|
let cancelled = false;
|
|
6
6
|
let settled = false;
|
|
7
7
|
let assistantText = "";
|
|
@@ -29,6 +29,7 @@ export function createHostedSessionRunner({ provider, child, onEvent, parsePaylo
|
|
|
29
29
|
|
|
30
30
|
const stderrReader = readline.createInterface({ input: child.stderr });
|
|
31
31
|
stderrReader.on("line", (line) => {
|
|
32
|
+
if (shouldIgnoreStatus?.(line)) return;
|
|
32
33
|
emit({ type: "status", message: line });
|
|
33
34
|
});
|
|
34
35
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elench/testkit-bridge",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.93",
|
|
4
4
|
"description": "Browser bridge helpers for testkit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@elench/testkit-protocol": "0.1.
|
|
25
|
+
"@elench/testkit-protocol": "0.1.93"
|
|
26
26
|
},
|
|
27
27
|
"private": false
|
|
28
28
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elench/testkit",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "CLI for
|
|
3
|
+
"version": "0.1.93",
|
|
4
|
+
"description": "Assistant-first CLI for running, inspecting, and debugging local testkit suites",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"workspaces": [
|
|
7
7
|
"packages/*"
|
|
@@ -82,10 +82,10 @@
|
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
84
|
"@babel/code-frame": "^7.29.0",
|
|
85
|
-
"@elench/next-analysis": "0.1.
|
|
86
|
-
"@elench/testkit-bridge": "0.1.
|
|
87
|
-
"@elench/testkit-protocol": "0.1.
|
|
88
|
-
"@elench/ts-analysis": "0.1.
|
|
85
|
+
"@elench/next-analysis": "0.1.93",
|
|
86
|
+
"@elench/testkit-bridge": "0.1.93",
|
|
87
|
+
"@elench/testkit-protocol": "0.1.93",
|
|
88
|
+
"@elench/ts-analysis": "0.1.93",
|
|
89
89
|
"@oclif/core": "^4.10.6",
|
|
90
90
|
"esbuild": "^0.25.11",
|
|
91
91
|
"execa": "^9.5.0",
|