22 lines
652 B
Plaintext
22 lines
652 B
Plaintext
import { t as CfWorkerJsonSchemaValidator } from "./cfWorkerProvider-p3WaZPqB.mjs";
|
|
|
|
//#region src/shimsBrowser.ts
|
|
/**
|
|
* Stub process object for non-Node.js environments.
|
|
* StdioServerTransport is not supported in Cloudflare Workers/browser environments.
|
|
*/
|
|
function notSupported() {
|
|
throw new Error("StdioServerTransport is not supported in this environment. Use StreamableHTTPServerTransport instead.");
|
|
}
|
|
const process = {
|
|
get stdin() {
|
|
return notSupported();
|
|
},
|
|
get stdout() {
|
|
return notSupported();
|
|
}
|
|
};
|
|
|
|
//#endregion
|
|
export { CfWorkerJsonSchemaValidator as DefaultJsonSchemaValidator, process };
|
|
//# sourceMappingURL=shimsBrowser.mjs.map |