refactor(contracts): own CLI command names, catalog identity and schema presentation in contracts (#11425)

* refactor(contracts): move the CLI command name owner into src/contracts

* refactor(contracts): own catalog identity in contracts and server identity in process (#11435)

* refactor(contracts): move catalog identity into contracts and server identity into process

* refactor(contracts): own the advertised MCP schema presentation in contracts

* test(mcp): import the advertised presentation from contracts in toolSchemaValidity

* test(release): expect the catalog identity at its contracts path in the canary

* test(mcp): import the catalog identity from contracts in syntheticContractSurfaces

* refactor(contracts): import CLI command names from contracts in the capability conformance test
This commit is contained in:
morluto authored and GitHub committed 2026-11-16 05:31:37 +08:00
1 parent 204bd2bb49
commit 960a387731
94 files changed
+256 -246

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ import { registerContractCommand } from "./contractCommand.js";
import type { CliInstance } from "./types.js";
import { logCliCommand } from "../cliLogging.js";
import type { Logger } from "pino";
import { CLI_COMMANDS } from "../cliCommandNames.js";
import { CLI_COMMANDS } from "../contracts/cliCommandNames.js";
import { localPathStringSchema } from "../domain/localPath.js";
import { withCommandCancellation } from "./commandCancellation.js";