omp

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package omp implements the oh-my-pi agent harness. It spawns the bridge subprocess and manages JSON-line I/O.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateReadiness

func ValidateReadiness(cfg config.OhMyPiConfig) error

ValidateReadiness verifies that the oh-my-pi bridge can run with the configured runtime prerequisites.

Types

type OhMyPiHarness

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

OhMyPiHarness implements adapter.AgentHarness for oh-my-pi.

func NewHarness

func NewHarness(cfg config.OhMyPiConfig, workspaceRoot string) *OhMyPiHarness

NewHarness creates a new oh-my-pi harness.

func (*OhMyPiHarness) Capabilities

func (h *OhMyPiHarness) Capabilities() adapter.HarnessCapabilities

Capabilities returns the harness capabilities.

func (*OhMyPiHarness) Name

func (h *OhMyPiHarness) Name() string

Name returns the harness identifier.

func (*OhMyPiHarness) RunAction

func (*OhMyPiHarness) StartSession

func (h *OhMyPiHarness) StartSession(ctx context.Context, opts adapter.SessionOpts) (adapter.AgentSession, error)

StartSession spawns a new agent session with the given options.

func (*OhMyPiHarness) SupportsCompact

func (h *OhMyPiHarness) SupportsCompact() bool

Jump to

Keyboard shortcuts

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