mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 20:32:20 +03:00
- Add CliCatalogEntrySchema (Zod) + CliCatalogEntry type + CliCatalogSchema in src/shared/schemas/cliCatalog.ts - Add ToolBatchStatus + ToolBatchStatusMap interfaces in src/shared/types/cliBatchStatus.ts - Re-export cliBatchStatus from src/shared/types/index.ts - Extend all CLI_TOOLS entries with 4 new fields: category, vendor, acpSpawnable, baseUrlSupport - Add 13 new entries: roo, jcode, deepseek-tui, smelt, pi (code), aider, forge, gemini-cli, cursor-cli (code), goose, interpreter, warp, agent-deck (agent) - Remove windsurf and amp (MITM backlog plan 11, D17) - Result: 19 visible code entries + 6 agent entries (D15 cardinality) - Add 5 new unit tests: cli-catalog-schema, cli-catalog-counts, cli-catalog-newentries, cli-catalog-removed, cli-catalog-acpspawnable - Update existing tests to align with removed entries
46 lines
1.5 KiB
TypeScript
46 lines
1.5 KiB
TypeScript
/**
|
|
* F1: cli-catalog-removed.test.ts
|
|
* Assert that MITM-backlog entries are removed from CLI_TOOLS per plan 14 D17.
|
|
*/
|
|
import test from "node:test";
|
|
import assert from "node:assert/strict";
|
|
|
|
const { CLI_TOOLS } = await import("../../src/shared/constants/cliTools.ts");
|
|
|
|
test("CLI_TOOLS.windsurf is undefined (removed per D17 — MITM backlog plan 11)", () => {
|
|
// windsurf (Codeium) was removed from CLI_TOOLS because it has no generic
|
|
// custom base URL support. It remains as an OAuth provider in src/lib/oauth/.
|
|
assert.equal(
|
|
(CLI_TOOLS as Record<string, unknown>)["windsurf"],
|
|
undefined,
|
|
"windsurf must be removed from CLI_TOOLS"
|
|
);
|
|
});
|
|
|
|
test("CLI_TOOLS.amp is undefined (removed per D17 — MITM backlog plan 11)", () => {
|
|
// amp (Sourcegraph) was removed from CLI_TOOLS because it has a closed ecosystem.
|
|
assert.equal(
|
|
(CLI_TOOLS as Record<string, unknown>)["amp"],
|
|
undefined,
|
|
"amp must be removed from CLI_TOOLS"
|
|
);
|
|
});
|
|
|
|
// amazon-q and cowork were NOT present in CLI_TOOLS before plan 14.
|
|
// They are documented here for completeness.
|
|
test("CLI_TOOLS['amazon-q'] is undefined (was never added — MITM backlog plan 11)", () => {
|
|
assert.equal(
|
|
(CLI_TOOLS as Record<string, unknown>)["amazon-q"],
|
|
undefined,
|
|
"amazon-q must not exist in CLI_TOOLS"
|
|
);
|
|
});
|
|
|
|
test("CLI_TOOLS.cowork is undefined (was never added — MITM backlog plan 11)", () => {
|
|
assert.equal(
|
|
(CLI_TOOLS as Record<string, unknown>)["cowork"],
|
|
undefined,
|
|
"cowork must not exist in CLI_TOOLS"
|
|
);
|
|
});
|