@vitest-agent/ui 6.0.2 → 6.0.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 CHANGED
@@ -1,3 +1,22 @@
1
+ /**
2
+ * @vitest-agent/ui
3
+ *
4
+ * Shared event-sourced renderer for vitest-agent. The reducer projects
5
+ * a {@link RunEvent} stream into a denormalized {@link RenderState};
6
+ * the T6 shape-tailored dispatcher then routes the state to one of
7
+ * twelve cells (eleven live, one documented no-op) and emits the
8
+ * agent-string output.
9
+ *
10
+ * The root never loads React or Ink: the Ink components and the Ink
11
+ * half of the dispatcher matrix live behind the `@vitest-agent/ui/ink`
12
+ * subpath, imported only where an Ink render actually happens.
13
+ *
14
+ * This file is the package entrypoint and is the only file in this
15
+ * package that re-exports across module boundaries. Internal code
16
+ * imports directly from the source file that owns the symbol.
17
+ *
18
+ * @packageDocumentation
19
+ */
1
20
  import { Schema } from "effect";
2
21
  import { CoreStatusName, GlyphSet, Status, Style, TokenName } from "@effected/cli-kit";
3
22
  /**
package/index.js CHANGED
@@ -18,6 +18,6 @@ import { ActionSeverity, CoverageFile, CoverageGap, CoverageMetric, CoverageRend
18
18
  *
19
19
  * @public
20
20
  */
21
- const CURRENT_UI_VERSION = "6.0.2";
21
+ const CURRENT_UI_VERSION = "6.0.4";
22
22
 
23
23
  export { ActionSeverity, CURRENT_UI_VERSION, CoverageFile, CoverageGap, CoverageMetric, CoverageRenderState, FailureRecord, ModuleRecord, RenderState, RenderTotals, RunEvent, SPINNER_FRAMES, SPINNER_FRAME_MS, SUITE_FAILURE_LABEL, SUITE_LOAD_FAILURE_LABEL, SuggestedActionRecord, TestRecord, VitestAgentStatus, VitestAgentTokens, buildFooter, classifyOutcome, classifyRunShape, dispatch, dispatcherTable, dominantClassification, formatDisplayDuration, formatSuggestedActionLines, initialRenderState, inkStyle, reduceRenderState, reduceRenderStateAll, renderAgent, spinnerFrame, statusGlyph, statusInkStyle, synthesizeFromAgentReport, synthesizeRunEvents };
package/ink.d.ts CHANGED
@@ -1,3 +1,16 @@
1
+ /**
2
+ * `@vitest-agent/ui/ink`: the Ink half of vitest-agent's renderer.
3
+ *
4
+ * The React Ink components (`StreamApp`, the live `stream` frame, and the
5
+ * leaf components it composes) and the Ink half of the shape-tailored
6
+ * dispatcher matrix (`inkDispatcherTable`, `dispatchInk`). Everything here
7
+ * loads React and Ink; everything pure — the reducer, `renderAgent`, the
8
+ * agent dispatcher, the synthesizers, the theme tokens, the spinner
9
+ * frames — lives at the package root, which never does. An agent or CI
10
+ * run that imports only the root pays for neither.
11
+ *
12
+ * @packageDocumentation
13
+ */
1
14
  import { Schema } from "effect";
2
15
  import { FC, ReactElement, ReactNode } from "react";
3
16
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitest-agent/ui",
3
- "version": "6.0.2",
3
+ "version": "6.0.4",
4
4
  "private": false,
5
5
  "description": "Shared event-sourced renderer for vitest-agent. React Ink view for humans, plain-string view for agents, both fed by the same reducer over a RunEvent stream.",
6
6
  "keywords": [
@@ -44,16 +44,16 @@
44
44
  "./package.json": "./package.json"
45
45
  },
46
46
  "dependencies": {
47
- "@vitest-agent/sdk": "9.0.3",
48
- "effect": "~4.1.2"
47
+ "@vitest-agent/sdk": "9.0.4",
48
+ "effect": "4.1.3"
49
49
  },
50
50
  "peerDependencies": {
51
- "@effected/cli-kit": "^0.27.1",
52
- "@effected/env": "^0.11.0",
53
- "@effected/glob": "^0.20.0",
54
- "@effected/walker": "^0.26.0",
51
+ "@effected/cli-kit": "^0.28.0",
52
+ "@effected/env": "^0.12.0",
53
+ "@effected/glob": "^0.21.0",
54
+ "@effected/walker": "^0.28.0",
55
55
  "ink": "^8.0.0",
56
- "react": "^19.3.1"
56
+ "react": "^19.3.0"
57
57
  },
58
58
  "peerDependenciesMeta": {
59
59
  "ink": {