mirror of
https://github.com/affaan-m/ECC.git
synced 2026-09-08 07:37:48 +02:00
test(ito-compute): assert the four-tool MCP boundary including ito_accept
The exact-boundary test pinned the three-tool description. Runtime ito-compute-cli now exposes ito_accept (Ito-Markets/ito-cloud-runtime#1453), so the template boundary assertion moves to four tools.
This commit is contained in:
@@ -45,7 +45,7 @@ function main() {
|
||||
assert.match(skill, new RegExp(command.replace(" ", "\\s+")));
|
||||
}
|
||||
assert.doesNotMatch(skill, /^\s*ito (?:auth|find|status|evals)\b/m);
|
||||
for (const tool of ["ito_auth", "ito_find", "ito_status"]) {
|
||||
for (const tool of ["ito_auth", "ito_find", "ito_status", "ito_accept"]) {
|
||||
assert.match(skill, new RegExp(`\\b${tool}\\b`));
|
||||
}
|
||||
assert.doesNotMatch(
|
||||
@@ -142,7 +142,7 @@ function main() {
|
||||
"/absolute/path/to/ito-cloud-runtime/cli/ito-compute-cli/dist/bin/ito-mcp.js",
|
||||
]);
|
||||
assert.doesNotMatch(JSON.stringify(server), /npx|ito_lock|ito_run|paper|simulat/i);
|
||||
assert.match(server.description, /ito_auth, ito_find, and ito_status/);
|
||||
assert.match(server.description, /ito_auth, ito_find, ito_status, and ito_accept/);
|
||||
assert.match(server.description, /unpublished/i);
|
||||
assert.match(server.description, /ito_auth.*validat/i);
|
||||
assert.match(server.description, /macOS Keychain/i);
|
||||
|
||||
Reference in New Issue
Block a user