approvalspike

package
v0.0.0-...-c5ded03 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2026 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(server *mcp.Server)

Register exposes only a bounded approval transport experiment. Enable it explicitly; UI visibility is not authentication, possession of _meta token is.

Types

type DecisionInput

type DecisionInput struct {
	ApprovalID string `json:"approval_id"`
	Token      string `json:"token"`
	Decision   string `json:"decision"`
	Scope      string `json:"scope"`
}

type DecisionOutput

type DecisionOutput struct {
	ApprovalID   string `json:"approval_id"`
	Status       string `json:"status"`
	Scope        string `json:"scope"`
	GrantCreated bool   `json:"grant_created"`
}

type Probe

type Probe struct {
	// contains filtered or unexported fields
}

type RequestInput

type RequestInput struct{}

type RequestOutput

type RequestOutput struct {
	ApprovalID string `json:"approval_id"`
	Verb       string `json:"verb"`
	Status     string `json:"status"`
	ExpiresAt  string `json:"expires_at"`
}

type SignalInput

type SignalInput struct {
	ApprovalID string `json:"approval_id"`
	Token      string `json:"token"`
	SDP        string `json:"sdp"`
}

type SignalOutput

type SignalOutput struct {
	SDP string `json:"sdp"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL