Documentation
¶
Overview ¶
Package webreview exposes the comments review model as a local, browser-based human review surface. It deliberately delegates all document mutations to pkg/comment so the TUI, CLI, MCP server, and browser share one sidecar format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is an http.Handler for one file or one directory review workspace.
func New ¶
New creates a review server. A directory includes Markdown documents that already have sidecars; an explicit Markdown file is always included.
func (*Server) AllowHost ¶
AllowHost adds a Host accepted by the handler. It is primarily useful to mount the handler under httptest without weakening production checks.
func (*Server) BootstrapURL ¶
BootstrapURL is the local URL the user opens once to establish the session.
func (*Server) ConfigureListener ¶
ConfigureListener records the exact Host values accepted by the handler. Call it before serving to prevent DNS rebinding against the loopback server.