setup

package
v1.5.26 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 5 Imported by: 1 module, 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

Overview

Package setup defines the small operator-only setup event stream. It is not an MCP extension and intentionally has no token, executable or browser socket.

Index

Constants

View Source
const MaxLine = 16 << 10
View Source
const Version = 1

Variables

This section is empty.

Functions

func AuthorizationURL

func AuthorizationURL(raw string, origins []string) error

AuthorizationURL requires a reviewed exact HTTPS origin. URL text, including a verification code, is only for the operator UI, never a model tool result.

Types

type Event

type Event struct {
	Version         int       `json:"v"`
	Type            string    `json:"type"`
	Service         string    `json:"service,omitempty"`
	Message         string    `json:"message,omitempty"`
	VerificationURL string    `json:"verification_url,omitempty"`
	ExpiresAt       time.Time `json:"expires_at,omitempty"`
	Authenticated   bool      `json:"authenticated,omitempty"`
}

Jump to

Keyboard shortcuts

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