@vitest-agent/reporter 6.1.11 → 6.1.12
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 +4 -4
- package/fileLinks.js +1 -1
- package/githubLog.js +2 -2
- package/humanReport.js +3 -3
- package/index.js +1 -1
- package/liveView.js +3 -3
- package/package.json +5 -5
package/defaultReporter.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { resolveFileLink } from "./fileLinks.js";
|
|
2
|
-
import { renderGithubLog, strayOutputOf, toDisplayPath } from "./githubLog.js";
|
|
3
|
-
import { LiveViewEnv, startLiveView } from "./liveView.js";
|
|
4
|
-
import { summarizeProject } from "./projectSummary.js";
|
|
5
1
|
import { Doc, Fmt, Render, Status } from "@effected/cli-kit";
|
|
6
2
|
import { RUN_REPORT_FILE_SCHEMA_URL, formatStrayOutputNote } from "@vitest-agent/sdk";
|
|
7
3
|
import { classifyOutcome, classifyRunShape, dispatch, formatSuggestedActionLines, reduceRenderStateAll, synthesizeFromAgentReport } from "@vitest-agent/ui";
|
|
8
4
|
import { Effect } from "effect";
|
|
5
|
+
import { resolveFileLink } from "./fileLinks.js";
|
|
6
|
+
import { renderGithubLog, strayOutputOf, toDisplayPath } from "./githubLog.js";
|
|
7
|
+
import { LiveViewEnv, startLiveView } from "./liveView.js";
|
|
8
|
+
import { summarizeProject } from "./projectSummary.js";
|
|
9
9
|
|
|
10
10
|
// src/defaultReporter.ts
|
|
11
11
|
const collectBelowTarget = (reports) => {
|
package/fileLinks.js
CHANGED
package/githubLog.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { relative, sep } from "node:path";
|
|
2
2
|
import { Doc, Fmt, Render, Status } from "@effected/cli-kit";
|
|
3
3
|
import { formatStrayOutputNote } from "@vitest-agent/sdk";
|
|
4
|
-
import {
|
|
4
|
+
import { summarizeProject } from "./projectSummary.js";
|
|
5
5
|
|
|
6
6
|
// src/githubLog.ts
|
|
7
7
|
/**
|
package/humanReport.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { resolveFileLink } from "./fileLinks.js";
|
|
2
|
-
import { Effect } from "effect";
|
|
3
|
-
import { TerminalEnv } from "@effected/env";
|
|
4
1
|
import { CliUi, UiProvider } from "@effected/cli-kit/ui";
|
|
2
|
+
import { TerminalEnv } from "@effected/env";
|
|
5
3
|
import { FileLinkProvider, dispatchInk } from "@vitest-agent/ui/ink";
|
|
4
|
+
import { Effect } from "effect";
|
|
6
5
|
import { renderToString } from "ink";
|
|
7
6
|
import { createElement } from "react";
|
|
7
|
+
import { resolveFileLink } from "./fileLinks.js";
|
|
8
8
|
|
|
9
9
|
// src/humanReport.ts
|
|
10
10
|
/** The width a report is laid out at when no terminal width is known. */
|
package/index.js
CHANGED
|
@@ -8,6 +8,6 @@ import { DefaultVitestAgentReporter, buildDispatchInputs, renderAgentStringForRe
|
|
|
8
8
|
*
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
|
-
const CURRENT_REPORTER_VERSION = "6.1.
|
|
11
|
+
const CURRENT_REPORTER_VERSION = "6.1.12";
|
|
12
12
|
|
|
13
13
|
export { CURRENT_REPORTER_VERSION, DefaultVitestAgentReporter, buildDispatchInputs, renderAgentStringForReport, renderHumanStringForReport };
|
package/liveView.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as NodeServices from "@effect/platform-node/NodeServices";
|
|
2
2
|
import { CliEnv, Doc } from "@effected/cli-kit";
|
|
3
|
+
import { CliUi } from "@effected/cli-kit/ui";
|
|
3
4
|
import { initialRenderState } from "@vitest-agent/sdk";
|
|
4
5
|
import { SPINNER_FRAME_MS, reduceRenderState, renderAgent } from "@vitest-agent/ui";
|
|
5
6
|
import { Cause, Effect, Exit, Layer } from "effect";
|
|
6
|
-
import
|
|
7
|
-
import { CliUi } from "@effected/cli-kit/ui";
|
|
7
|
+
import { plainFileLink, resolveFileLink } from "./fileLinks.js";
|
|
8
8
|
|
|
9
9
|
// src/liveView.ts
|
|
10
10
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitest-agent/reporter",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.12",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Named VitestAgentReporterFactory implementations for the vitest-agent ecosystem.",
|
|
6
6
|
"keywords": [
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"./package.json": "./package.json"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@effect/platform-node": "4.1.
|
|
43
|
-
"@vitest-agent/sdk": "9.0
|
|
44
|
-
"@vitest-agent/ui": "6.0.
|
|
45
|
-
"effect": "4.1.
|
|
42
|
+
"@effect/platform-node": "4.1.5",
|
|
43
|
+
"@vitest-agent/sdk": "9.1.0",
|
|
44
|
+
"@vitest-agent/ui": "6.0.8",
|
|
45
|
+
"effect": "4.1.5",
|
|
46
46
|
"ink": "^8.0.0",
|
|
47
47
|
"react": "^19.3.1"
|
|
48
48
|
},
|