Help us shape the future of Go! Take the 2026 Go Developer Survey

browser

package
v0.19.8 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package browser assembles Orb's engine with an isolated, in-memory workspace. It has no JavaScript, DOM, terminal, native storage, or process-host dependency.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Providers

func Providers() *api.Registry

Providers is the light registry the Wasm runtime links: OpenAI Completions (which OpenRouter also rides) and Anthropic Messages.

Types

type Config

type Config struct {
	API     string `json:"api"`
	Model   string `json:"model"`
	BaseURL string `json:"baseURL"`
	APIKey  string `json:"apiKey"`
}

type Session

type Session struct {
	Agent     *engine.Agent
	Workspace *memory.FileSystem
}

func New

func New(config Config) (*Session, error)

Jump to

Keyboard shortcuts

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