Rewrite imports for plugin, blocks, templates, auth, settings, crypto, and rbac packages from git.dev.alexdunmow.com/block/core/* to git.dev.alexdunmow.com/block/pluginsdk/* across all Go files. The captcha package stays on block/core, so the repo keeps both requires. go.mod: add pluginsdk v0.1.0; bump core v0.20.2 -> v0.20.3 (satisfies the check-safety core-version gate); transitive churn pgx v5.9.2 -> v5.10.0 and x/mod v0.34.0 -> v0.37.0 from go mod tidy. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
14 lines
506 B
Go
14 lines
506 B
Go
//go:build wasip1
|
|
|
|
// Package main compiles the Cal.com Booking plugin to a wasip1 reactor-mode
|
|
// wasm guest. `ninja plugin build` produces the .bnp artifact the registry
|
|
// serves; the host runs `_initialize` once per pooled instance, invoking this
|
|
// init (hence wasmguest.Serve) before any ABI hook call. main is never called.
|
|
package main
|
|
|
|
import "git.dev.alexdunmow.com/block/pluginsdk/plugin/wasmguest"
|
|
|
|
func init() { wasmguest.Serve(Registration) }
|
|
|
|
func main() {} // never called — reactor mode
|