@vitest-agent/cli 2.2.14 → 2.2.15
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 +1 -1
- package/index.d.ts +11 -11
- package/index.js +1 -1
- package/package.json +7 -7
package/commands/agent.js
CHANGED
|
@@ -23,7 +23,7 @@ import { resolveSidecarBinaryPath } from "@vitest-agent/sidecar";
|
|
|
23
23
|
* Commands intended for agents and hook scripts — humans typically do
|
|
24
24
|
* not invoke these directly. The group composes the hook-driven
|
|
25
25
|
* utilities (triage, wrapup, record) with the sidecar invocations
|
|
26
|
-
* called by
|
|
26
|
+
* called by plugins/claude-code/hooks/*.sh scripts (register-agent, end-agent,
|
|
27
27
|
* inject-env).
|
|
28
28
|
*
|
|
29
29
|
* The sidecar subcommands return plain text on stdout that the bash
|
package/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import { DataReader, DataStore, PerClientSessionMapWriter, ProjectIdentityNotRes
|
|
|
16
16
|
* @param logFile - optional path for structured log output
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
19
|
-
declare const CliLive: (dbPath: string, logLevel?: LogLevel.LogLevel, logFile?: string) => Layer.Layer<import("@vitest-agent/sdk").DataReader | import("@vitest-agent/sdk").DataStore | import("@vitest-agent/sdk").DetailResolver | import("@vitest-agent/sdk").EnvironmentDetector | import("@vitest-agent/sdk").ExecutorResolver | import("@vitest-agent/sdk").FormatSelector | import("@vitest-agent/sdk").HistoryTracker | import("@vitest-agent/sdk").OutputRenderer | import("@vitest-agent/sdk").ProjectDiscovery | import("effect/unstable/sql/SqlClient").SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient | NodeServices.NodeServices, SqliteMigrator.MigrationError | import("effect/unstable/sql/SqlError").SqlError, never>;
|
|
19
|
+
export declare const CliLive: (dbPath: string, logLevel?: LogLevel.LogLevel, logFile?: string) => Layer.Layer<import("@vitest-agent/sdk").DataReader | import("@vitest-agent/sdk").DataStore | import("@vitest-agent/sdk").DetailResolver | import("@vitest-agent/sdk").EnvironmentDetector | import("@vitest-agent/sdk").ExecutorResolver | import("@vitest-agent/sdk").FormatSelector | import("@vitest-agent/sdk").HistoryTracker | import("@vitest-agent/sdk").OutputRenderer | import("@vitest-agent/sdk").ProjectDiscovery | import("effect/unstable/sql/SqlClient").SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient | NodeServices.NodeServices, SqliteMigrator.MigrationError | import("effect/unstable/sql/SqlError").SqlError, never>;
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/layers/SidecarLive.d.ts
|
|
22
22
|
/**
|
|
@@ -42,7 +42,7 @@ interface SidecarPaths {
|
|
|
42
42
|
* @param paths - the three SQLite database paths to open
|
|
43
43
|
* @public
|
|
44
44
|
*/
|
|
45
|
-
declare const SidecarLive: (paths: SidecarPaths) => Layer.Layer<import("@vitest-agent/sdk").DataReader | import("@vitest-agent/sdk").DataStore | import("@vitest-agent/sdk").DiscoveryRegistry | import("@vitest-agent/sdk").PerClientSessionMapReader | import("@vitest-agent/sdk").PerClientSessionMapWriter | import("@vitest-agent/sdk").RunContext$ | NodeServices.NodeServices, SqliteMigrator.MigrationError | import("effect/unstable/sql/SqlError").SqlError, never>;
|
|
45
|
+
export declare const SidecarLive: (paths: SidecarPaths) => Layer.Layer<import("@vitest-agent/sdk").DataReader | import("@vitest-agent/sdk").DataStore | import("@vitest-agent/sdk").DiscoveryRegistry | import("@vitest-agent/sdk").PerClientSessionMapReader | import("@vitest-agent/sdk").PerClientSessionMapWriter | import("@vitest-agent/sdk").RunContext$ | NodeServices.NodeServices, SqliteMigrator.MigrationError | import("effect/unstable/sql/SqlError").SqlError, never>;
|
|
46
46
|
//#endregion
|
|
47
47
|
//#region src/lib/internal-register-agent.d.ts
|
|
48
48
|
/**
|
|
@@ -95,7 +95,7 @@ interface RegisterAgentOutput {
|
|
|
95
95
|
* @returns an Effect resolving to `RegisterAgentOutput`
|
|
96
96
|
* @public
|
|
97
97
|
*/
|
|
98
|
-
declare const registerAgentEffect: (input: RegisterAgentInput) => Effect.Effect<{
|
|
98
|
+
export declare const registerAgentEffect: (input: RegisterAgentInput) => Effect.Effect<{
|
|
99
99
|
agentId: string;
|
|
100
100
|
conversationId: string;
|
|
101
101
|
mainAgentId: string;
|
|
@@ -109,19 +109,19 @@ declare const registerAgentEffect: (input: RegisterAgentInput) => Effect.Effect<
|
|
|
109
109
|
*
|
|
110
110
|
* @public
|
|
111
111
|
*/
|
|
112
|
-
declare const DATA_DB_FILENAME = "data.db";
|
|
112
|
+
export declare const DATA_DB_FILENAME = "data.db";
|
|
113
113
|
/**
|
|
114
114
|
* Filename of the per-client session-map SQLite database.
|
|
115
115
|
*
|
|
116
116
|
* @public
|
|
117
117
|
*/
|
|
118
|
-
declare const SESSIONS_DB_FILENAME = "sessions.db";
|
|
118
|
+
export declare const SESSIONS_DB_FILENAME = "sessions.db";
|
|
119
119
|
/**
|
|
120
120
|
* Filename of the global discovery-registry SQLite database.
|
|
121
121
|
*
|
|
122
122
|
* @public
|
|
123
123
|
*/
|
|
124
|
-
declare const REGISTRY_DB_FILENAME = "registry.db";
|
|
124
|
+
export declare const REGISTRY_DB_FILENAME = "registry.db";
|
|
125
125
|
/**
|
|
126
126
|
* Resolve (and create) the per-project data directory for the supplied
|
|
127
127
|
* normalized `projectKey`. Returns the directory; callers join
|
|
@@ -131,7 +131,7 @@ declare const REGISTRY_DB_FILENAME = "registry.db";
|
|
|
131
131
|
* @returns absolute path to the resolved (and created) data directory
|
|
132
132
|
* @public
|
|
133
133
|
*/
|
|
134
|
-
declare const resolveProjectDataDir: (projectKey: string) => string;
|
|
134
|
+
export declare const resolveProjectDataDir: (projectKey: string) => string;
|
|
135
135
|
/**
|
|
136
136
|
* Resolve (and create) the directory holding the global `registry.db`.
|
|
137
137
|
* Callers join {@link REGISTRY_DB_FILENAME} onto it.
|
|
@@ -139,7 +139,7 @@ declare const resolveProjectDataDir: (projectKey: string) => string;
|
|
|
139
139
|
* @returns absolute path to the resolved (and created) registry directory
|
|
140
140
|
* @public
|
|
141
141
|
*/
|
|
142
|
-
declare const resolveRegistryDir: () => string;
|
|
142
|
+
export declare const resolveRegistryDir: () => string;
|
|
143
143
|
/**
|
|
144
144
|
* Resolve the per-client `sessions.db` path.
|
|
145
145
|
*
|
|
@@ -151,7 +151,7 @@ declare const resolveRegistryDir: () => string;
|
|
|
151
151
|
* @returns an Effect resolving to the absolute `sessions.db` path
|
|
152
152
|
* @public
|
|
153
153
|
*/
|
|
154
|
-
declare const resolveSessionMapPath: () => Effect.Effect<string, ProjectIdentityNotResolvableError>;
|
|
154
|
+
export declare const resolveSessionMapPath: () => Effect.Effect<string, ProjectIdentityNotResolvableError>;
|
|
155
155
|
//#endregion
|
|
156
156
|
//#region src/index.d.ts
|
|
157
157
|
/**
|
|
@@ -161,7 +161,7 @@ declare const resolveSessionMapPath: () => Effect.Effect<string, ProjectIdentity
|
|
|
161
161
|
*
|
|
162
162
|
* @public
|
|
163
163
|
*/
|
|
164
|
-
declare const CURRENT_CLI_VERSION: string;
|
|
164
|
+
export declare const CURRENT_CLI_VERSION: string;
|
|
165
165
|
//#endregion
|
|
166
|
-
export {
|
|
166
|
+
export type { RegisterAgentInput, RegisterAgentOutput, SidecarPaths };
|
|
167
167
|
//# sourceMappingURL=index.d.ts.map
|
package/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { DATA_DB_FILENAME, REGISTRY_DB_FILENAME, SESSIONS_DB_FILENAME, resolvePr
|
|
|
11
11
|
*
|
|
12
12
|
* @public
|
|
13
13
|
*/
|
|
14
|
-
const CURRENT_CLI_VERSION = "2.2.
|
|
14
|
+
const CURRENT_CLI_VERSION = "2.2.15";
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
17
17
|
export { CURRENT_CLI_VERSION, CliLive, DATA_DB_FILENAME, REGISTRY_DB_FILENAME, SESSIONS_DB_FILENAME, SidecarLive, registerAgentEffect, resolveProjectDataDir, resolveRegistryDir, resolveSessionMapPath };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitest-agent/cli",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.15",
|
|
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": [
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"vitest-agent": "bin/vitest-agent.js"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@effect/platform-node": "4.0.0-rc.
|
|
42
|
-
"@effect/sql-sqlite-node": "4.0.0-rc.
|
|
43
|
-
"@effected/workspaces": "^0.
|
|
44
|
-
"@vitest-agent/sdk": "2.5.
|
|
45
|
-
"@vitest-agent/sidecar": "2.1.
|
|
46
|
-
"effect": "4.0.0-rc.
|
|
41
|
+
"@effect/platform-node": "4.0.0-rc.112",
|
|
42
|
+
"@effect/sql-sqlite-node": "4.0.0-rc.112",
|
|
43
|
+
"@effected/workspaces": "^0.20.0",
|
|
44
|
+
"@vitest-agent/sdk": "2.5.1",
|
|
45
|
+
"@vitest-agent/sidecar": "2.1.15",
|
|
46
|
+
"effect": "4.0.0-rc.112"
|
|
47
47
|
},
|
|
48
48
|
"engines": {
|
|
49
49
|
"node": ">=24.11.0"
|