browser

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package browser defines the opt-in agent-browser CLI contract.

Index

Constants

View Source
const MaxInput = 1 << 20

Variables

This section is empty.

Functions

func Schema

func Schema() map[string]any

Types

type Request

type Request struct {
	Session string   `json:"session,omitempty"`
	Args    []string `json:"args"`
	Stdin   *string  `json:"stdin,omitempty"`
}

Request forwards non-secret input to the installed CLI without a shell.

func Decode

func Decode(raw json.RawMessage) (Request, error)

Decode reports value-free errors, including for unknown fields and NUL input.

Jump to

Keyboard shortcuts

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