Remove REA permission grants, scope ceilings, approval confirmations, and inert settings. Preserve selected local evidence, accept caller-chosen commands and paths, and report actual runtime failures. Harden provider results, schema serialization, snapshot evidence binding, archive paths, source maps, native screenshots, managed EH parsing, and cancellation cleanup. Regenerate tool metadata and document direct invocation. BREAKING CHANGE: Removed permission configuration and policy commands, approval fields, filesystem scope inputs, and fixed confirmation options. Process capture inherits the host environment and accepts command names; callers must refresh tool schemas and migrate removed fields.
13 lines
570 B
TypeScript
13 lines
570 B
TypeScript
export interface RuntimeDependencies {
|
|
readonly env: NodeJS.ProcessEnv;
|
|
readonly serve: typeof import("@modelcontextprotocol/server/stdio").serveStdio;
|
|
readonly writeStderr: (text: string) => void;
|
|
readonly setExitCode: (code: number) => void;
|
|
readonly registerShutdown: (handler: () => void) => () => void;
|
|
readonly registerReload?: (handler: () => void) => () => void;
|
|
readonly createServer?: typeof import("../server/createServer.js").createServer;
|
|
readonly loadOptionalProviders?: () => Promise<
|
|
import("./transport.js").OptionalProviders
|
|
>;
|
|
}
|