@vitest-agent/mcp 5.4.0 → 6.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/README.md +1 -1
- package/index.d.ts +707 -363
- package/index.js +1 -2
- package/main.js +8 -44
- package/package.json +9 -8
- package/replay.js +93 -0
- package/server.js +1 -1
- package/toolkit.js +25 -9
- package/tools/_tdd-error-envelope.js +119 -70
- package/tools/acceptance-metrics.js +1 -1
- package/tools/cache-health.js +1 -1
- package/tools/commit-changes.js +1 -1
- package/tools/configure.js +1 -1
- package/tools/coverage.js +1 -1
- package/tools/errors.js +1 -1
- package/tools/failure-signature-get.js +1 -1
- package/tools/file-coverage.js +1 -1
- package/tools/history.js +1 -1
- package/tools/hypothesis.js +1 -1
- package/tools/inventory.js +1 -1
- package/tools/note.js +1 -1
- package/tools/overview.js +1 -1
- package/tools/register-agent.js +2 -2
- package/tools/run-tests.js +310 -252
- package/tools/settings-list.js +1 -1
- package/tools/status.js +1 -1
- package/tools/tdd-artifact.js +1 -1
- package/tools/tdd-behavior.js +23 -23
- package/tools/tdd-goal.js +22 -24
- package/tools/tdd-phase-transition-request.js +1 -1
- package/tools/tdd-progress-push.js +1 -1
- package/tools/tdd-task.js +1 -1
- package/tools/test.js +1 -1
- package/tools/trends.js +1 -1
- package/tools/triage-brief.js +1 -1
- package/tools/turn-search.js +1 -1
- package/tools/wrapup-prompt.js +1 -1
- package/utils/safe-format-fatal-error.js +1 -1
- package/version.js +1 -1
- package/idempotency.js +0 -123
package/tools/register-agent.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ToolOutputSchema } from "@effected/mcp";
|
|
2
2
|
import { Effect, Option, Schema } from "effect";
|
|
3
|
-
import { DataReader, DataStore, deriveIdempotencyKey } from "@vitest-agent/engine";
|
|
4
3
|
import { Tool } from "effect/ai";
|
|
4
|
+
import { DataReader, DataStore, deriveIdempotencyKey } from "@vitest-agent/engine";
|
|
5
5
|
|
|
6
6
|
// src/tools/register-agent.ts
|
|
7
7
|
/**
|
|
@@ -84,7 +84,7 @@ const RegisterAgentResult = ToolOutputSchema.objectRooted(Schema.Union([Register
|
|
|
84
84
|
/**
|
|
85
85
|
* Handler for {@link registerAgentTool}. Idempotency is the tool's own
|
|
86
86
|
* business rule (the `agents` idempotency key), not the generic
|
|
87
|
-
* `
|
|
87
|
+
* `ToolReplay` wrapper the write tools use (`replay.ts`).
|
|
88
88
|
*
|
|
89
89
|
* @public
|
|
90
90
|
*/
|