@vitest-agent/reporter 1.0.3 → 1.0.5
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/defaultReporter.js +2 -1
- package/index.js +1 -1
- package/package.json +3 -3
package/defaultReporter.js
CHANGED
|
@@ -192,7 +192,8 @@ const DefaultVitestAgentReporter = (kit) => {
|
|
|
192
192
|
return { render(input, renderKit) {
|
|
193
193
|
const out = [];
|
|
194
194
|
if (shouldRenderForMode(renderKit.config.consoleMode)) {
|
|
195
|
-
const
|
|
195
|
+
const state = reduceRenderStateAll(input.reports.flatMap((r) => synthesizeFromAgentReport(r)));
|
|
196
|
+
const content = dispatch(buildDispatchInputs(state, input, { runCommand: renderKit.config.runCommand ?? null }), resolveCellOptions(renderKit));
|
|
196
197
|
if (content.length > 0) out.push({
|
|
197
198
|
target: "stdout",
|
|
198
199
|
content,
|
package/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { DefaultVitestAgentReporter, buildDispatchInputs, renderAgentStringForRe
|
|
|
9
9
|
*
|
|
10
10
|
* @public
|
|
11
11
|
*/
|
|
12
|
-
const CURRENT_REPORTER_VERSION = "1.0.
|
|
12
|
+
const CURRENT_REPORTER_VERSION = "1.0.5";
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
15
|
export { CURRENT_REPORTER_VERSION, DefaultVitestAgentReporter, createLiveInk as _createLiveInk, buildDispatchInputs, renderAgentStringForReport, renderHumanStringForReport, resolveCellOptions };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitest-agent/reporter",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Named VitestAgentReporterFactory implementations for the vitest-agent ecosystem.",
|
|
6
6
|
"keywords": [
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"@effect/rpc": "^0.75.1",
|
|
45
45
|
"@effect/sql": "^0.51.1",
|
|
46
46
|
"@effect/sql-sqlite-node": "^0.52.0",
|
|
47
|
-
"@vitest-agent/sdk": "1.
|
|
48
|
-
"@vitest-agent/ui": "1.0.
|
|
47
|
+
"@vitest-agent/sdk": "1.3.1",
|
|
48
|
+
"@vitest-agent/ui": "1.0.5",
|
|
49
49
|
"effect": "^3.21.4",
|
|
50
50
|
"ink": "^7.1.0",
|
|
51
51
|
"react": "^19.2.7"
|