registry

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package registry maps sandbox.HarnessType to a HarnessAdapter implementation.

adapters/ is the interface package and each adapters/<harness>/ package imports it for Usage / Result / RunContext / HarnessAdapter — so adapters/ itself cannot import the sub-packages without an import cycle. The registry lives one level out (it imports the sub-packages and the interface package) and is consumed by callers that need a harness → adapter mapping in one place: the dispatcher (for Bindings()) and the runner-inner-child (for Run()).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func For

For returns the HarnessAdapter that owns the given HarnessType, or nil if the harness is unknown.

Phase 3-d made the three built-in harnesses (shell / claude / opencode) authoritative; the runner-inner-child rejects an empty / unknown HarnessType because the planner now resolves every job to one of these. The nil return path is kept for forward compatibility (a future harness the caller has not yet wired) but is no longer expected on any live path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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