@vitest-agent/reporter 1.0.0
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/LICENSE +21 -0
- package/LiveInkRenderer.js +119 -0
- package/README.md +61 -0
- package/defaultReporter.js +208 -0
- package/index.d.ts +1010 -0
- package/index.js +18 -0
- package/package.json +72 -0
- package/tsdoc-metadata.json +11 -0
package/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createLiveInk } from "./LiveInkRenderer.js";
|
|
2
|
+
import { DefaultVitestAgentReporter, buildDispatchInputs, renderAgentStringForReport, renderHumanStringForReport, resolveCellOptions } from "./defaultReporter.js";
|
|
3
|
+
|
|
4
|
+
//#region src/index.ts
|
|
5
|
+
/**
|
|
6
|
+
* The version of this package, inlined at build time from
|
|
7
|
+
* package.json#version via rslib-builder's __PACKAGE_VERSION__ substitution.
|
|
8
|
+
* The reporter is consumed through the plugin so it does not run its own
|
|
9
|
+
* init-time drift check, but the constant is exported so the plugin can
|
|
10
|
+
* compare against it. See the root CLAUDE.md "Cross-package version drift"
|
|
11
|
+
* section.
|
|
12
|
+
*
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
const CURRENT_REPORTER_VERSION = "1.0.0";
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { CURRENT_REPORTER_VERSION, DefaultVitestAgentReporter, createLiveInk as _createLiveInk, buildDispatchInputs, renderAgentStringForReport, renderHumanStringForReport, resolveCellOptions };
|
package/package.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vitest-agent/reporter",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Named VitestAgentReporterFactory implementations for the vitest-agent ecosystem.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"vitest",
|
|
8
|
+
"reporter",
|
|
9
|
+
"llm",
|
|
10
|
+
"ai",
|
|
11
|
+
"agent",
|
|
12
|
+
"testing",
|
|
13
|
+
"coverage",
|
|
14
|
+
"markdown",
|
|
15
|
+
"github-actions"
|
|
16
|
+
],
|
|
17
|
+
"homepage": "https://github.com/spencerbeggs/vitest-agent#readme",
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/spencerbeggs/vitest-agent/issues"
|
|
20
|
+
},
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "git+https://github.com/spencerbeggs/vitest-agent.git",
|
|
24
|
+
"directory": "packages/reporter"
|
|
25
|
+
},
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"author": {
|
|
28
|
+
"name": "C. Spencer Beggs",
|
|
29
|
+
"email": "spencer@beggs.codes",
|
|
30
|
+
"url": "https://spencerbeg.gs"
|
|
31
|
+
},
|
|
32
|
+
"type": "module",
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"types": "./index.d.ts",
|
|
36
|
+
"import": "./index.js"
|
|
37
|
+
},
|
|
38
|
+
"./package.json": "./package.json"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@effect/cluster": "^0.59.0",
|
|
42
|
+
"@effect/platform": "^0.96.2",
|
|
43
|
+
"@effect/platform-node": "^0.107.0",
|
|
44
|
+
"@effect/rpc": "^0.75.1",
|
|
45
|
+
"@effect/sql": "^0.51.1",
|
|
46
|
+
"@effect/sql-sqlite-node": "^0.52.0",
|
|
47
|
+
"@vitest-agent/sdk": "1.0.0",
|
|
48
|
+
"@vitest-agent/ui": "1.0.0",
|
|
49
|
+
"effect": "^3.21.4",
|
|
50
|
+
"ink": "^7.1.0",
|
|
51
|
+
"react": "^19.2.7"
|
|
52
|
+
},
|
|
53
|
+
"peerDependencies": {
|
|
54
|
+
"@vitest/coverage-istanbul": "^4.1.0",
|
|
55
|
+
"@vitest/coverage-v8": "^4.1.0",
|
|
56
|
+
"vitest": "^4.1.0"
|
|
57
|
+
},
|
|
58
|
+
"peerDependenciesMeta": {
|
|
59
|
+
"@vitest/coverage-istanbul": {
|
|
60
|
+
"optional": true
|
|
61
|
+
},
|
|
62
|
+
"@vitest/coverage-v8": {
|
|
63
|
+
"optional": true
|
|
64
|
+
},
|
|
65
|
+
"vitest": {
|
|
66
|
+
"optional": false
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"engines": {
|
|
70
|
+
"node": ">=24.11.0"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
+
{
|
|
4
|
+
"tsdocVersion": "0.12",
|
|
5
|
+
"toolPackages": [
|
|
6
|
+
{
|
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
|
8
|
+
"packageVersion": "7.58.9"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|