factory

package
v0.21.5 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package factory constructs runtime.Provider instances by backend name.

Supported backends:

  • opencode-acp: spawns opencode acp subprocess, owns lifecycle.
  • opencode-http: talks to a running opencode serve instance over HTTP/SSE.
  • codex-app-server: spawns Codex app-server subprocess via JSON-RPC over stdio.
  • gemini-acp: spawns gemini --acp subprocess, owns lifecycle.
  • cursor-acp: spawns agent acp subprocess, owns lifecycle.
  • pi: spawns pi --mode rpc subprocess, owns lifecycle.
  • pony: test/stub backend.
  • claude: channel-less Claude Code backend; PTY by default, AVENOR_CLAUDE_TERMINAL=tmux for tmux.
  • claude-channel: broker-channel Claude Code backend; requires tmux; uses --dangerously-load-development-channels.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProvider

func NewProvider(startOpts runtime.StartOptions, backend string) (runtime.Provider, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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