@vitest-agent/cli 3.2.0 → 3.2.2

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/commands/agent.js CHANGED
@@ -5,7 +5,7 @@ import * as NodeServices from "@effect/platform-node/NodeServices";
5
5
  import { SidecarPlatformLive, endAgentEffect, registerAgentEffect, resolveHookPaths, resolveProjectKeyFromCwd } from "@vitest-agent/engine";
6
6
  import { classifyTestPath, detectNonDefaultDiscoverStrategy, findOwningWorkspace } from "@vitest-agent/sdk";
7
7
  import { Cause, Effect, Option } from "effect";
8
- import { Argument, Command, Flag } from "effect/unstable/cli";
8
+ import { Argument, Command, Flag } from "effect/cli";
9
9
  import { existsSync, readFileSync } from "node:fs";
10
10
  import { dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
11
11
  import { findWorkspaceRootSync, getWorkspacePackagesSync } from "@effected/workspaces";
package/commands/db.js CHANGED
@@ -2,10 +2,10 @@ import { formatDbQuery } from "../lib/format-db-query.js";
2
2
  import * as NodeServices from "@effect/platform-node/NodeServices";
3
3
  import { DataStore, resolveDataPath } from "@vitest-agent/engine";
4
4
  import { Effect, FileSystem } from "effect";
5
- import { Argument, Command, Flag } from "effect/unstable/cli";
5
+ import { Argument, Command, Flag } from "effect/cli";
6
6
  import * as readline from "node:readline";
7
7
  import { layer } from "@effect/sql-sqlite-node/SqliteClient";
8
- import { SqlClient } from "effect/unstable/sql/SqlClient";
8
+ import { SqlClient } from "effect/sql/SqlClient";
9
9
 
10
10
  //#region src/commands/db.ts
11
11
  const pathCommand = Command.make("path", {}, () => Effect.gen(function* () {
@@ -1,7 +1,7 @@
1
1
  import { formatDoctor } from "../lib/format-doctor.js";
2
2
  import { DataReader, resolveDataPath } from "@vitest-agent/engine";
3
3
  import { Effect, Option } from "effect";
4
- import { Command, Flag } from "effect/unstable/cli";
4
+ import { Command, Flag } from "effect/cli";
5
5
 
6
6
  //#region src/commands/doctor.ts
7
7
  const formatOption = Flag.withDefault(Flag.Literals("format", ["markdown", "json"]), "markdown");
@@ -1,6 +1,6 @@
1
1
  import { DataReader, DataStore, dispatchRecordTddArtifactEffect, recordRunWorkspaceChangesEffect, recordSessionEnd, recordSessionStart, recordTurnEffect } from "@vitest-agent/engine";
2
2
  import { Effect, Option } from "effect";
3
- import { Argument, Command, Flag } from "effect/unstable/cli";
3
+ import { Argument, Command, Flag } from "effect/cli";
4
4
 
5
5
  //#region src/commands/record.ts
6
6
  const chatId = Flag.String("chat-id").pipe(Flag.withDescription("Host chat id (`session_id` in the Claude Code hook envelope; equivalent in other clients)"));
@@ -1,6 +1,6 @@
1
1
  import { formatTriageEffect } from "@vitest-agent/engine";
2
2
  import { Effect } from "effect";
3
- import { Command, Flag } from "effect/unstable/cli";
3
+ import { Command, Flag } from "effect/cli";
4
4
 
5
5
  //#region src/commands/triage.ts
6
6
  const formatOption = Flag.withDefault(Flag.Literals("format", [
@@ -1,6 +1,6 @@
1
1
  import { formatWrapupEffect } from "@vitest-agent/engine";
2
2
  import { Effect } from "effect";
3
- import { Command, Flag } from "effect/unstable/cli";
3
+ import { Command, Flag } from "effect/cli";
4
4
 
5
5
  //#region src/commands/wrapup.ts
6
6
  const rowIdOption = Flag.optional(Flag.Int("row-id"));
package/main.js CHANGED
@@ -10,7 +10,7 @@ import { CurrentDistribution } from "@effected/engine";
10
10
  import { PathResolutionLive, PlatformLive, resolveDataPath, resolveLogFile, resolveLogLevel, resolveProjectDir } from "@vitest-agent/engine";
11
11
  import { formatFatalError } from "@vitest-agent/sdk";
12
12
  import { Effect, Layer, Option } from "effect";
13
- import { Command } from "effect/unstable/cli";
13
+ import { Command } from "effect/cli";
14
14
 
15
15
  //#region src/main.ts
16
16
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitest-agent/cli",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
4
4
  "private": false,
5
5
  "description": "On-demand CLI for vitest-agent. Reads cached test data and reports status, overview, coverage, history, trends, and cache health.",
6
6
  "keywords": [
@@ -43,15 +43,17 @@
43
43
  "vitest-agent": "bin/vitest-agent.js"
44
44
  },
45
45
  "dependencies": {
46
- "@effect/platform-node": "4.0.0-rc.117",
47
- "@effect/sql-sqlite-node": "4.0.0-rc.117",
48
- "@effected/cli": "^0.9.0",
49
- "@effected/engine": "^0.1.0",
50
- "@effected/workspaces": "^0.27.0",
51
- "@vitest-agent/engine": "0.2.7",
52
- "@vitest-agent/sdk": "5.1.2",
53
- "@vitest-agent/sidecar": "2.2.2",
54
- "effect": "4.0.0-rc.117"
46
+ "@effect/platform-node": "4.0.0-rc.118",
47
+ "@effect/sql-sqlite-node": "4.0.0-rc.118",
48
+ "@effected/cli": "^0.10.0",
49
+ "@effected/config-file": "^0.13.0",
50
+ "@effected/engine": "^0.2.0",
51
+ "@effected/walker": "^0.13.0",
52
+ "@effected/workspaces": "^0.30.0",
53
+ "@vitest-agent/engine": "0.2.9",
54
+ "@vitest-agent/sdk": "5.1.3",
55
+ "@vitest-agent/sidecar": "2.2.3",
56
+ "effect": "4.0.0-rc.118"
55
57
  },
56
58
  "engines": {
57
59
  "node": ">=24.11.0"
package/version.js CHANGED
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * @public
9
9
  */
10
- const CURRENT_CLI_VERSION = "3.2.0";
10
+ const CURRENT_CLI_VERSION = "3.2.2";
11
11
 
12
12
  //#endregion
13
13
  export { CURRENT_CLI_VERSION };