refactor!: simplify runtime tools and remove replay engines (#572)
* fix(hopper): report unavailable procedure body coverage * refactor!: simplify runtime tools and remove replay engines Keep direct inspection, capture, and comparison tools. Bind handlers to named contracts and let agents compose experiments with commands and local fixture servers. BREAKING CHANGE: Remove controlled replay, Node characterization, finite replay-machine, managed runtime planning, and redundant string-tracing tools. Retire process replay, shims, reactive scenarios, custom checkpoints, and active browser replay and origin-scope inputs.
This commit is contained in:
@@ -7,7 +7,6 @@ import {
|
||||
type CreateServerOptions,
|
||||
} from "../server/createServer.js";
|
||||
import type { RuntimeDependencies } from "./types.js";
|
||||
import type { RuntimeState } from "./state.js";
|
||||
import {
|
||||
MCP_CONNECTION_LOST,
|
||||
MCP_CONNECTION_START_FAILED,
|
||||
@@ -27,7 +26,6 @@ interface ServerContext {
|
||||
readonly logger: Logger;
|
||||
readonly serverLogger: Logger;
|
||||
readonly loadOptionalProviders: () => Promise<OptionalProviders>;
|
||||
readonly runtimeState: RuntimeState;
|
||||
}
|
||||
|
||||
export const startMcpTransport = async (
|
||||
@@ -57,12 +55,6 @@ export const startMcpTransport = async (
|
||||
(dependencies.createServer ?? createServer)(session, session, {
|
||||
logger: serverContext.logger,
|
||||
...optionalProviders,
|
||||
javascriptReplayConfiguration: () =>
|
||||
serverContext.runtimeState.currentConfig
|
||||
.javascriptReplayConfiguration,
|
||||
managedRuntimeConfiguration: () =>
|
||||
serverContext.runtimeState.currentConfig
|
||||
.managedRuntimeConfiguration,
|
||||
}),
|
||||
{
|
||||
onerror: () => {
|
||||
|
||||
Reference in New Issue
Block a user