@vitest-agent/reporter 2.2.3 → 2.2.4
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/index.d.ts +7 -7
- package/index.js +1 -1
- package/package.json +6 -6
package/index.d.ts
CHANGED
|
@@ -904,7 +904,7 @@ type VitestAgentReporterFactory = (kit: ReporterKit) => VitestAgentReporter | Re
|
|
|
904
904
|
*
|
|
905
905
|
* @public
|
|
906
906
|
*/
|
|
907
|
-
declare const buildDispatchInputs: (state: RenderState, input: ReporterRenderInput, overrides?: {
|
|
907
|
+
export declare const buildDispatchInputs: (state: RenderState, input: ReporterRenderInput, overrides?: {
|
|
908
908
|
readonly shape?: RunShape;
|
|
909
909
|
readonly outcome?: RunOutcome;
|
|
910
910
|
readonly runCommand?: string | null;
|
|
@@ -915,7 +915,7 @@ declare const buildDispatchInputs: (state: RenderState, input: ReporterRenderInp
|
|
|
915
915
|
*
|
|
916
916
|
* @public
|
|
917
917
|
*/
|
|
918
|
-
declare const resolveCellOptions: (kit: ReporterKit) => CellOptions;
|
|
918
|
+
export declare const resolveCellOptions: (kit: ReporterKit) => CellOptions;
|
|
919
919
|
/**
|
|
920
920
|
* Convenience helper for one-shot consumers (e.g. a CLI command
|
|
921
921
|
* replaying a stored run). Synthesizes a minimal `ReporterRenderInput`
|
|
@@ -925,7 +925,7 @@ declare const resolveCellOptions: (kit: ReporterKit) => CellOptions;
|
|
|
925
925
|
*
|
|
926
926
|
* @public
|
|
927
927
|
*/
|
|
928
|
-
declare const renderAgentStringForReport: (report: AgentReport) => string;
|
|
928
|
+
export declare const renderAgentStringForReport: (report: AgentReport) => string;
|
|
929
929
|
/**
|
|
930
930
|
* Same as {@link renderAgentStringForReport} but returns the Ink-half
|
|
931
931
|
* rendered to a string via Ink's `renderToString`. ANSI escape
|
|
@@ -935,7 +935,7 @@ declare const renderAgentStringForReport: (report: AgentReport) => string;
|
|
|
935
935
|
*
|
|
936
936
|
* @public
|
|
937
937
|
*/
|
|
938
|
-
declare const renderHumanStringForReport: (report: AgentReport, options?: {
|
|
938
|
+
export declare const renderHumanStringForReport: (report: AgentReport, options?: {
|
|
939
939
|
readonly width?: number;
|
|
940
940
|
}) => Promise<string>;
|
|
941
941
|
/**
|
|
@@ -958,7 +958,7 @@ declare const renderHumanStringForReport: (report: AgentReport, options?: {
|
|
|
958
958
|
*
|
|
959
959
|
* @public
|
|
960
960
|
*/
|
|
961
|
-
declare const DefaultVitestAgentReporter: VitestAgentReporterFactory;
|
|
961
|
+
export declare const DefaultVitestAgentReporter: VitestAgentReporterFactory;
|
|
962
962
|
//#endregion
|
|
963
963
|
//#region src/LiveInkRenderer.d.ts
|
|
964
964
|
/**
|
|
@@ -1018,7 +1018,7 @@ declare const createLiveInk: (options?: CreateLiveInkOptions) => LiveInkRenderer
|
|
|
1018
1018
|
*
|
|
1019
1019
|
* @public
|
|
1020
1020
|
*/
|
|
1021
|
-
declare const CURRENT_REPORTER_VERSION: string;
|
|
1021
|
+
export declare const CURRENT_REPORTER_VERSION: string;
|
|
1022
1022
|
//#endregion
|
|
1023
|
-
export { type AgentReport,
|
|
1023
|
+
export { type AgentReport, type CellOptions, type ConsoleMode, type CreateLiveInkOptions, type DetailLevel, type DispatchInputs, type Environment, type Executor, type FileCoverageReport, type LiveInkRenderer, type OutputFormat, type ProjectSummary, type RenderState, type RenderedOutput, type ReporterKit, type ReporterRenderInput, type ResolvedReporterConfig, type ResolvedThresholds, type RunEvent, type RunOutcome, type RunShape, type TestClassification, type Transport, type TrendSummary, type VitestAgentReporter, type VitestAgentReporterFactory, createLiveInk as _createLiveInk };
|
|
1024
1024
|
//# sourceMappingURL=index.d.ts.map
|
package/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { DefaultVitestAgentReporter, buildDispatchInputs, renderAgentStringForRe
|
|
|
9
9
|
*
|
|
10
10
|
* @public
|
|
11
11
|
*/
|
|
12
|
-
const CURRENT_REPORTER_VERSION = "2.2.
|
|
12
|
+
const CURRENT_REPORTER_VERSION = "2.2.4";
|
|
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": "2.2.
|
|
3
|
+
"version": "2.2.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Named VitestAgentReporterFactory implementations for the vitest-agent ecosystem.",
|
|
6
6
|
"keywords": [
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"./package.json": "./package.json"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@effect/platform-node": "4.0.0-rc.
|
|
43
|
-
"@effect/sql-sqlite-node": "4.0.0-rc.
|
|
44
|
-
"@vitest-agent/sdk": "2.5.
|
|
45
|
-
"@vitest-agent/ui": "2.3.
|
|
46
|
-
"effect": "4.0.0-rc.
|
|
42
|
+
"@effect/platform-node": "4.0.0-rc.112",
|
|
43
|
+
"@effect/sql-sqlite-node": "4.0.0-rc.112",
|
|
44
|
+
"@vitest-agent/sdk": "2.5.1",
|
|
45
|
+
"@vitest-agent/ui": "2.3.1",
|
|
46
|
+
"effect": "4.0.0-rc.112",
|
|
47
47
|
"ink": "^7.1.1",
|
|
48
48
|
"react": "^19.2.8"
|
|
49
49
|
},
|