@mandujs/mcp 0.25.0 → 0.27.1
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/package.json +4 -4
- package/src/tools/ate-context.ts +17 -3
- package/src/tools/ate-mutate.ts +103 -0
- package/src/tools/ate-mutation-report.ts +64 -0
- package/src/tools/ate-oracle-pending.ts +49 -0
- package/src/tools/ate-oracle-replay.ts +44 -0
- package/src/tools/ate-oracle-verdict.ts +70 -0
- package/src/tools/index.ts +58 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mandujs/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.1",
|
|
4
4
|
"description": "Mandu MCP Server - Agent-native interface for Mandu framework operations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@mandujs/core": "^0.
|
|
38
|
-
"@mandujs/ate": "^0.
|
|
39
|
-
"@mandujs/skills": "^
|
|
37
|
+
"@mandujs/core": "^0.40.0",
|
|
38
|
+
"@mandujs/ate": "^0.24.0",
|
|
39
|
+
"@mandujs/skills": "^0.18.0",
|
|
40
40
|
"@modelcontextprotocol/sdk": "^1.25.3"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
package/src/tools/ate-context.ts
CHANGED
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
appendMemoryEvent,
|
|
27
27
|
nowTimestamp,
|
|
28
28
|
readMemoryEvents,
|
|
29
|
+
buildRpcContext,
|
|
29
30
|
} from "@mandujs/ate";
|
|
30
31
|
|
|
31
32
|
export const ateContextToolDefinitions: Tool[] = [
|
|
@@ -56,9 +57,9 @@ export const ateContextToolDefinitions: Tool[] = [
|
|
|
56
57
|
},
|
|
57
58
|
scope: {
|
|
58
59
|
type: "string",
|
|
59
|
-
enum: ["project", "route", "filling", "contract"],
|
|
60
|
+
enum: ["project", "route", "filling", "contract", "rpc"],
|
|
60
61
|
description:
|
|
61
|
-
"project (summary) | route (single route deep view) | filling (handler view) | contract (contract definition view)",
|
|
62
|
+
"project (summary) | route (single route deep view) | filling (handler view) | contract (contract definition view) | rpc (typed RPC procedure view — Phase C.3)",
|
|
62
63
|
},
|
|
63
64
|
id: {
|
|
64
65
|
type: "string",
|
|
@@ -81,7 +82,7 @@ export function ateContextTools(_projectRoot: string) {
|
|
|
81
82
|
mandu_ate_context: async (args: Record<string, unknown>) => {
|
|
82
83
|
const { repoRoot, scope, id, route } = args as {
|
|
83
84
|
repoRoot: string;
|
|
84
|
-
scope: "project" | "route" | "filling" | "contract";
|
|
85
|
+
scope: "project" | "route" | "filling" | "contract" | "rpc";
|
|
85
86
|
id?: string;
|
|
86
87
|
route?: string;
|
|
87
88
|
};
|
|
@@ -94,6 +95,19 @@ export function ateContextTools(_projectRoot: string) {
|
|
|
94
95
|
if (!scope) {
|
|
95
96
|
return { ok: false, error: "scope is required" };
|
|
96
97
|
}
|
|
98
|
+
|
|
99
|
+
// Phase C.3 — `scope: "rpc"` delegates to the RPC extractor + context builder.
|
|
100
|
+
if (scope === "rpc") {
|
|
101
|
+
if (!id) {
|
|
102
|
+
return {
|
|
103
|
+
ok: false,
|
|
104
|
+
error: "scope='rpc' requires `id` (e.g. 'users.signup' or 'signup')",
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
const blob = await buildRpcContext({ repoRoot, id });
|
|
108
|
+
return { ok: true, context: blob };
|
|
109
|
+
}
|
|
110
|
+
|
|
97
111
|
const blob = await ateContext({ repoRoot, scope, id, route });
|
|
98
112
|
|
|
99
113
|
// Phase B.2 — first `mandu_ate_context` call of the day writes a
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `mandu_ate_mutate` — Phase C.2 contract-semantic mutation runner.
|
|
3
|
+
*
|
|
4
|
+
* Runs up to 9 mutation operators on a single target file and executes
|
|
5
|
+
* the repo's test command against each mutation. Classifies results as
|
|
6
|
+
* killed / survived / timeout / error and persists
|
|
7
|
+
* `.mandu/ate-mutations/last-run.json` for `mandu_ate_mutation_report`.
|
|
8
|
+
*
|
|
9
|
+
* Spec: docs/ate/phase-c-spec.md §C.2.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import type { Tool } from "@modelcontextprotocol/sdk/types.js";
|
|
13
|
+
import { runMutations } from "@mandujs/ate";
|
|
14
|
+
|
|
15
|
+
export const ateMutateToolDefinitions: Tool[] = [
|
|
16
|
+
{
|
|
17
|
+
name: "mandu_ate_mutate",
|
|
18
|
+
annotations: {
|
|
19
|
+
readOnlyHint: false,
|
|
20
|
+
},
|
|
21
|
+
description:
|
|
22
|
+
"Phase C.2 — run contract-semantic mutation testing on a target file. " +
|
|
23
|
+
"9 operators: remove_required_field, narrow_type, widen_enum, flip_nullable, " +
|
|
24
|
+
"rename_field, swap_sibling_type, skip_middleware, early_return, bypass_validation. " +
|
|
25
|
+
"Each mutation is written to the target file, the repo's test command runs " +
|
|
26
|
+
"against it, and the result is classified killed / survived / timeout / error. " +
|
|
27
|
+
"Default cap 50 mutations per invocation; pass `--all` or maxMutations to lift. " +
|
|
28
|
+
"The original file is always restored. Persists .mandu/ate-mutations/last-run.json.",
|
|
29
|
+
inputSchema: {
|
|
30
|
+
type: "object",
|
|
31
|
+
properties: {
|
|
32
|
+
repoRoot: {
|
|
33
|
+
type: "string",
|
|
34
|
+
description: "Absolute path to the Mandu project root.",
|
|
35
|
+
},
|
|
36
|
+
targetFile: {
|
|
37
|
+
type: "string",
|
|
38
|
+
description:
|
|
39
|
+
"Absolute or repo-relative path to the file to mutate (contract, handler, or filling).",
|
|
40
|
+
},
|
|
41
|
+
testCommand: {
|
|
42
|
+
type: "array",
|
|
43
|
+
items: { type: "string" },
|
|
44
|
+
description:
|
|
45
|
+
"Optional override for the test command (argv form). Default: resolved from spec-indexer.",
|
|
46
|
+
},
|
|
47
|
+
timeoutMs: {
|
|
48
|
+
type: "number",
|
|
49
|
+
description: "Per-mutation timeout in ms. Default 120000.",
|
|
50
|
+
},
|
|
51
|
+
maxMutations: {
|
|
52
|
+
type: "number",
|
|
53
|
+
description: "Cap on the number of mutations executed. Default 50.",
|
|
54
|
+
},
|
|
55
|
+
operators: {
|
|
56
|
+
type: "array",
|
|
57
|
+
items: { type: "string" },
|
|
58
|
+
description:
|
|
59
|
+
"Optional subset of operator names. Default = all 9. Pass [] to skip execution.",
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
required: ["repoRoot", "targetFile"],
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
];
|
|
66
|
+
|
|
67
|
+
export function ateMutateTools(_projectRoot: string) {
|
|
68
|
+
return {
|
|
69
|
+
mandu_ate_mutate: async (args: Record<string, unknown>) => {
|
|
70
|
+
const repoRoot = args.repoRoot as string | undefined;
|
|
71
|
+
const targetFile = args.targetFile as string | undefined;
|
|
72
|
+
if (!repoRoot || typeof repoRoot !== "string") {
|
|
73
|
+
return { ok: false, error: "repoRoot is required" };
|
|
74
|
+
}
|
|
75
|
+
if (!targetFile || typeof targetFile !== "string") {
|
|
76
|
+
return { ok: false, error: "targetFile is required" };
|
|
77
|
+
}
|
|
78
|
+
try {
|
|
79
|
+
const result = await runMutations({
|
|
80
|
+
repoRoot,
|
|
81
|
+
targetFile,
|
|
82
|
+
...(Array.isArray(args.testCommand) ? { testCommand: args.testCommand as string[] } : {}),
|
|
83
|
+
...(typeof args.timeoutMs === "number" ? { timeoutMs: args.timeoutMs } : {}),
|
|
84
|
+
...(typeof args.maxMutations === "number" ? { maxMutations: args.maxMutations } : {}),
|
|
85
|
+
...(Array.isArray(args.operators) ? { operators: args.operators as never } : {}),
|
|
86
|
+
});
|
|
87
|
+
return {
|
|
88
|
+
ok: true,
|
|
89
|
+
targetFile: result.targetFile,
|
|
90
|
+
totalGenerated: result.totalGenerated,
|
|
91
|
+
totalExecuted: result.totalExecuted,
|
|
92
|
+
reportPath: result.reportPath,
|
|
93
|
+
results: result.results,
|
|
94
|
+
};
|
|
95
|
+
} catch (err) {
|
|
96
|
+
return {
|
|
97
|
+
ok: false,
|
|
98
|
+
error: err instanceof Error ? err.message : String(err),
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `mandu_ate_mutation_report` — Phase C.2.
|
|
3
|
+
*
|
|
4
|
+
* Read the persisted last mutation run and compute an aggregate report:
|
|
5
|
+
* killed / survived / timeout counts, mutationScore, survivors ranked by
|
|
6
|
+
* severity + reason.
|
|
7
|
+
*
|
|
8
|
+
* Read-only. Never spawns a child process.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
import type { Tool } from "@modelcontextprotocol/sdk/types.js";
|
|
12
|
+
import { computeMutationReport, loadLastMutationRun } from "@mandujs/ate";
|
|
13
|
+
|
|
14
|
+
export const ateMutationReportToolDefinitions: Tool[] = [
|
|
15
|
+
{
|
|
16
|
+
name: "mandu_ate_mutation_report",
|
|
17
|
+
annotations: {
|
|
18
|
+
readOnlyHint: true,
|
|
19
|
+
},
|
|
20
|
+
description:
|
|
21
|
+
"Phase C.2 — aggregate the last `mandu_ate_mutate` run into a summary report. " +
|
|
22
|
+
"Returns { totalMutations, killed, survived, timeout, mutationScore, " +
|
|
23
|
+
"survivorsBySeverity, byOperator }. Severity: skip_middleware + " +
|
|
24
|
+
"bypass_validation = high; narrow_type / swap_sibling_type / rename_field = " +
|
|
25
|
+
"medium; everything else = low.",
|
|
26
|
+
inputSchema: {
|
|
27
|
+
type: "object",
|
|
28
|
+
properties: {
|
|
29
|
+
repoRoot: {
|
|
30
|
+
type: "string",
|
|
31
|
+
description: "Absolute path to the Mandu project root.",
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
required: ["repoRoot"],
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
|
|
39
|
+
export function ateMutationReportTools(_projectRoot: string) {
|
|
40
|
+
return {
|
|
41
|
+
mandu_ate_mutation_report: async (args: Record<string, unknown>) => {
|
|
42
|
+
const repoRoot = args.repoRoot as string | undefined;
|
|
43
|
+
if (!repoRoot || typeof repoRoot !== "string") {
|
|
44
|
+
return { ok: false, error: "repoRoot is required" };
|
|
45
|
+
}
|
|
46
|
+
const loaded = loadLastMutationRun(repoRoot);
|
|
47
|
+
if (!loaded) {
|
|
48
|
+
return {
|
|
49
|
+
ok: false,
|
|
50
|
+
error:
|
|
51
|
+
"No mutation run found. Run mandu_ate_mutate first — the persisted report lives at .mandu/ate-mutations/last-run.json.",
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
const report = computeMutationReport(loaded.results);
|
|
55
|
+
return {
|
|
56
|
+
ok: true,
|
|
57
|
+
targetFile: loaded.targetFile,
|
|
58
|
+
generatedAt: loaded.generatedAt,
|
|
59
|
+
totalGenerated: loaded.totalGenerated,
|
|
60
|
+
report,
|
|
61
|
+
};
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `mandu_ate_oracle_pending` — Phase C.4.
|
|
3
|
+
*
|
|
4
|
+
* List pending semantic oracle entries for agent judgment.
|
|
5
|
+
* Read-only.
|
|
6
|
+
*/
|
|
7
|
+
import type { Tool } from "@modelcontextprotocol/sdk/types.js";
|
|
8
|
+
import { findOraclePending } from "@mandujs/ate";
|
|
9
|
+
|
|
10
|
+
export const ateOraclePendingToolDefinitions: Tool[] = [
|
|
11
|
+
{
|
|
12
|
+
name: "mandu_ate_oracle_pending",
|
|
13
|
+
annotations: {
|
|
14
|
+
readOnlyHint: true,
|
|
15
|
+
},
|
|
16
|
+
description:
|
|
17
|
+
"Phase C.4 — list pending semantic oracle entries. Returns the most recent " +
|
|
18
|
+
"`status=pending` entries from `.mandu/ate-oracle-queue.jsonl`. Each entry " +
|
|
19
|
+
"carries an assertionId, the spec path, the claim text, and an artifactPath " +
|
|
20
|
+
"pointing to screenshot / DOM captures. The agent reviews these and issues a " +
|
|
21
|
+
"verdict via `mandu_ate_oracle_verdict`. CI never blocks on these — " +
|
|
22
|
+
"expectSemantic is deterministic-non-blocking by default.",
|
|
23
|
+
inputSchema: {
|
|
24
|
+
type: "object",
|
|
25
|
+
properties: {
|
|
26
|
+
repoRoot: { type: "string", description: "Absolute path to the Mandu project root." },
|
|
27
|
+
limit: { type: "number", description: "Maximum entries to return. Default 20." },
|
|
28
|
+
specPath: { type: "string", description: "Filter to a specific spec file." },
|
|
29
|
+
},
|
|
30
|
+
required: ["repoRoot"],
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
];
|
|
34
|
+
|
|
35
|
+
export function ateOraclePendingTools(_projectRoot: string) {
|
|
36
|
+
return {
|
|
37
|
+
mandu_ate_oracle_pending: async (args: Record<string, unknown>) => {
|
|
38
|
+
const repoRoot = args.repoRoot as string | undefined;
|
|
39
|
+
if (!repoRoot || typeof repoRoot !== "string") {
|
|
40
|
+
return { ok: false, error: "repoRoot is required" };
|
|
41
|
+
}
|
|
42
|
+
const entries = findOraclePending(repoRoot, {
|
|
43
|
+
...(typeof args.limit === "number" ? { limit: args.limit } : {}),
|
|
44
|
+
...(typeof args.specPath === "string" ? { specPath: args.specPath } : {}),
|
|
45
|
+
});
|
|
46
|
+
return { ok: true, count: entries.length, entries };
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `mandu_ate_oracle_replay` — Phase C.4.
|
|
3
|
+
*
|
|
4
|
+
* Read-only. Return every oracle entry (pending + judged) for a spec
|
|
5
|
+
* path — lets agents review the history of semantic claims for a file
|
|
6
|
+
* before re-issuing similar assertions.
|
|
7
|
+
*/
|
|
8
|
+
import type { Tool } from "@modelcontextprotocol/sdk/types.js";
|
|
9
|
+
import { findOracleEntriesForSpec } from "@mandujs/ate";
|
|
10
|
+
|
|
11
|
+
export const ateOracleReplayToolDefinitions: Tool[] = [
|
|
12
|
+
{
|
|
13
|
+
name: "mandu_ate_oracle_replay",
|
|
14
|
+
annotations: {
|
|
15
|
+
readOnlyHint: true,
|
|
16
|
+
},
|
|
17
|
+
description:
|
|
18
|
+
"Phase C.4 — replay every oracle verdict (pending + passed + failed) for a " +
|
|
19
|
+
"given spec. Returns the full audit trail sorted newest → oldest. Useful for " +
|
|
20
|
+
"agents reviewing past `failed` verdicts before re-issuing similar semantic " +
|
|
21
|
+
"claims, or for human auditors walking the queue history.",
|
|
22
|
+
inputSchema: {
|
|
23
|
+
type: "object",
|
|
24
|
+
properties: {
|
|
25
|
+
repoRoot: { type: "string", description: "Absolute path to the Mandu project root." },
|
|
26
|
+
specPath: { type: "string", description: "Spec file path to replay." },
|
|
27
|
+
},
|
|
28
|
+
required: ["repoRoot", "specPath"],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
];
|
|
32
|
+
|
|
33
|
+
export function ateOracleReplayTools(_projectRoot: string) {
|
|
34
|
+
return {
|
|
35
|
+
mandu_ate_oracle_replay: async (args: Record<string, unknown>) => {
|
|
36
|
+
const repoRoot = args.repoRoot as string | undefined;
|
|
37
|
+
const specPath = args.specPath as string | undefined;
|
|
38
|
+
if (!repoRoot) return { ok: false, error: "repoRoot is required" };
|
|
39
|
+
if (!specPath) return { ok: false, error: "specPath is required" };
|
|
40
|
+
const entries = findOracleEntriesForSpec(repoRoot, specPath);
|
|
41
|
+
return { ok: true, count: entries.length, entries };
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `mandu_ate_oracle_verdict` — Phase C.4.
|
|
3
|
+
*
|
|
4
|
+
* Apply an agent / human verdict to a pending oracle entry. Rewrites
|
|
5
|
+
* matching pending rows with `status = passed|failed` + verdict metadata.
|
|
6
|
+
*/
|
|
7
|
+
import type { Tool } from "@modelcontextprotocol/sdk/types.js";
|
|
8
|
+
import { setOracleVerdict } from "@mandujs/ate";
|
|
9
|
+
|
|
10
|
+
export const ateOracleVerdictToolDefinitions: Tool[] = [
|
|
11
|
+
{
|
|
12
|
+
name: "mandu_ate_oracle_verdict",
|
|
13
|
+
annotations: {
|
|
14
|
+
readOnlyHint: false,
|
|
15
|
+
},
|
|
16
|
+
description:
|
|
17
|
+
"Phase C.4 — record an oracle verdict for a pending semantic assertion. " +
|
|
18
|
+
"`verdict: 'pass' | 'fail'`. `judgedBy`: 'agent' (default) or 'human'. " +
|
|
19
|
+
"`reason` is the short free-form justification the agent (or human) provides. " +
|
|
20
|
+
"Every pending queue entry with the matching assertionId transitions to the " +
|
|
21
|
+
"given verdict — subsequent `promoteVerdicts: true` expectSemantic calls will " +
|
|
22
|
+
"see past `failed` verdicts and throw deterministically.",
|
|
23
|
+
inputSchema: {
|
|
24
|
+
type: "object",
|
|
25
|
+
properties: {
|
|
26
|
+
repoRoot: { type: "string", description: "Absolute path to the Mandu project root." },
|
|
27
|
+
assertionId: { type: "string", description: "Stable assertion id returned by expectSemantic." },
|
|
28
|
+
verdict: {
|
|
29
|
+
type: "string",
|
|
30
|
+
enum: ["pass", "fail"],
|
|
31
|
+
description: "Whether the agent judges the claim satisfied.",
|
|
32
|
+
},
|
|
33
|
+
reason: { type: "string", description: "Free-form justification." },
|
|
34
|
+
judgedBy: {
|
|
35
|
+
type: "string",
|
|
36
|
+
enum: ["agent", "human"],
|
|
37
|
+
description: "Source of the verdict. Defaults to 'agent'.",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
required: ["repoRoot", "assertionId", "verdict", "reason"],
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
];
|
|
44
|
+
|
|
45
|
+
export function ateOracleVerdictTools(_projectRoot: string) {
|
|
46
|
+
return {
|
|
47
|
+
mandu_ate_oracle_verdict: async (args: Record<string, unknown>) => {
|
|
48
|
+
const repoRoot = args.repoRoot as string | undefined;
|
|
49
|
+
const assertionId = args.assertionId as string | undefined;
|
|
50
|
+
const verdict = args.verdict as string | undefined;
|
|
51
|
+
const reason = args.reason as string | undefined;
|
|
52
|
+
const judgedBy = args.judgedBy as string | undefined;
|
|
53
|
+
if (!repoRoot) return { ok: false, error: "repoRoot is required" };
|
|
54
|
+
if (!assertionId) return { ok: false, error: "assertionId is required" };
|
|
55
|
+
if (verdict !== "pass" && verdict !== "fail") {
|
|
56
|
+
return { ok: false, error: "verdict must be 'pass' or 'fail'" };
|
|
57
|
+
}
|
|
58
|
+
if (!reason || typeof reason !== "string") {
|
|
59
|
+
return { ok: false, error: "reason is required" };
|
|
60
|
+
}
|
|
61
|
+
const res = setOracleVerdict(repoRoot, {
|
|
62
|
+
assertionId,
|
|
63
|
+
verdict,
|
|
64
|
+
reason,
|
|
65
|
+
...(judgedBy === "agent" || judgedBy === "human" ? { judgedBy } : {}),
|
|
66
|
+
});
|
|
67
|
+
return { ok: true, updated: res.updated, entries: res.entries };
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
}
|
package/src/tools/index.ts
CHANGED
|
@@ -38,6 +38,24 @@ export { ateBoundaryProbeTools, ateBoundaryProbeToolDefinitions } from "./ate-bo
|
|
|
38
38
|
export { ateRecallTools, ateRecallToolDefinitions } from "./ate-recall.js";
|
|
39
39
|
export { ateRememberTools, ateRememberToolDefinitions } from "./ate-remember.js";
|
|
40
40
|
export { ateCoverageTools, ateCoverageToolDefinitions } from "./ate-coverage.js";
|
|
41
|
+
// Phase C tool suite
|
|
42
|
+
export { ateMutateTools, ateMutateToolDefinitions } from "./ate-mutate.js";
|
|
43
|
+
export {
|
|
44
|
+
ateMutationReportTools,
|
|
45
|
+
ateMutationReportToolDefinitions,
|
|
46
|
+
} from "./ate-mutation-report.js";
|
|
47
|
+
export {
|
|
48
|
+
ateOraclePendingTools,
|
|
49
|
+
ateOraclePendingToolDefinitions,
|
|
50
|
+
} from "./ate-oracle-pending.js";
|
|
51
|
+
export {
|
|
52
|
+
ateOracleVerdictTools,
|
|
53
|
+
ateOracleVerdictToolDefinitions,
|
|
54
|
+
} from "./ate-oracle-verdict.js";
|
|
55
|
+
export {
|
|
56
|
+
ateOracleReplayTools,
|
|
57
|
+
ateOracleReplayToolDefinitions,
|
|
58
|
+
} from "./ate-oracle-replay.js";
|
|
41
59
|
export { resourceTools, resourceToolDefinitions } from "./resource.js";
|
|
42
60
|
export { componentTools, componentToolDefinitions } from "./component.js";
|
|
43
61
|
export { kitchenTools, kitchenToolDefinitions } from "./kitchen.js";
|
|
@@ -91,6 +109,24 @@ import {
|
|
|
91
109
|
import { ateRecallTools, ateRecallToolDefinitions } from "./ate-recall.js";
|
|
92
110
|
import { ateRememberTools, ateRememberToolDefinitions } from "./ate-remember.js";
|
|
93
111
|
import { ateCoverageTools, ateCoverageToolDefinitions } from "./ate-coverage.js";
|
|
112
|
+
// Phase C tool suite
|
|
113
|
+
import { ateMutateTools, ateMutateToolDefinitions } from "./ate-mutate.js";
|
|
114
|
+
import {
|
|
115
|
+
ateMutationReportTools,
|
|
116
|
+
ateMutationReportToolDefinitions,
|
|
117
|
+
} from "./ate-mutation-report.js";
|
|
118
|
+
import {
|
|
119
|
+
ateOraclePendingTools,
|
|
120
|
+
ateOraclePendingToolDefinitions,
|
|
121
|
+
} from "./ate-oracle-pending.js";
|
|
122
|
+
import {
|
|
123
|
+
ateOracleVerdictTools,
|
|
124
|
+
ateOracleVerdictToolDefinitions,
|
|
125
|
+
} from "./ate-oracle-verdict.js";
|
|
126
|
+
import {
|
|
127
|
+
ateOracleReplayTools,
|
|
128
|
+
ateOracleReplayToolDefinitions,
|
|
129
|
+
} from "./ate-oracle-replay.js";
|
|
94
130
|
import { resourceTools, resourceToolDefinitions } from "./resource.js";
|
|
95
131
|
import { componentTools, componentToolDefinitions } from "./component.js";
|
|
96
132
|
import { kitchenTools, kitchenToolDefinitions } from "./kitchen.js";
|
|
@@ -167,6 +203,28 @@ const TOOL_MODULES: ToolModule[] = [
|
|
|
167
203
|
definitions: ateCoverageToolDefinitions,
|
|
168
204
|
handlers: ateCoverageTools,
|
|
169
205
|
},
|
|
206
|
+
// Phase C tool suite
|
|
207
|
+
{ category: "ate-mutate", definitions: ateMutateToolDefinitions, handlers: ateMutateTools },
|
|
208
|
+
{
|
|
209
|
+
category: "ate-mutation-report",
|
|
210
|
+
definitions: ateMutationReportToolDefinitions,
|
|
211
|
+
handlers: ateMutationReportTools,
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
category: "ate-oracle-pending",
|
|
215
|
+
definitions: ateOraclePendingToolDefinitions,
|
|
216
|
+
handlers: ateOraclePendingTools,
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
category: "ate-oracle-verdict",
|
|
220
|
+
definitions: ateOracleVerdictToolDefinitions,
|
|
221
|
+
handlers: ateOracleVerdictTools,
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
category: "ate-oracle-replay",
|
|
225
|
+
definitions: ateOracleReplayToolDefinitions,
|
|
226
|
+
handlers: ateOracleReplayTools,
|
|
227
|
+
},
|
|
170
228
|
{ category: "resource", definitions: resourceToolDefinitions, handlers: resourceTools },
|
|
171
229
|
{ category: "component", definitions: componentToolDefinitions, handlers: componentTools },
|
|
172
230
|
{ category: "kitchen", definitions: kitchenToolDefinitions, handlers: kitchenTools },
|