}
function invalidParams(path: string, expected: string, value: unknown): ProtocolError {
agentHostSchema.ts
return new ProtocolError(JsonRpcErrorCodes.InvalidParams, `Invalid value at '${path || '<root>'}': expected ${expected}, got ${safeStringify(value)}`);
}
function joinPath(parent: string, key: string): string {