Update Site source

This commit is contained in:
Meghdad committed 2026-10-12 23:20:56 +03:30
commit 9a4ce930c7
126 files changed
+25723

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
import { WorkerEntrypoint } from "cloudflare:workers";
import binding from "virtual:sites-connector-preview";
// Local-only RPC target. The Site entrypoint scopes it to each request; the Node
// adapter relays each call to the owning agent.
export class ConnectorPreview extends WorkerEntrypoint {
async getContext() {
return binding.getContext?.() ?? { status: "binding_unavailable" };
}
async invoke(connectorId, actionName, args) {
return binding.invoke(connectorId, actionName, args);
}
}
export default { fetch() { return new Response("Not found", { status: 404 }); } };