childruntime

package
v0.11.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0, MIT Imports: 27 Imported by: 0

Documentation

Overview

Package childruntime builds isolated children using the application's agent loop. It lives above agent, tools, and subagent to avoid dependency cycles.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
	Instructions  instructions.Config
	Workspace     string
	Resolve       Resolver
	Skills        *skills.Registry
	ReadOnly      bool
	AuditReadOnly bool
	Personality   personality.Config
}

func (Factory) Build

Build constructs a fresh provider, history, registry, and receipts per child. Only contained filesystem operations are currently supported. Unsupported tools fail before any provider request or filesystem mutation takes place.

type Resolver

type Resolver func(provider, model string) (providers.Provider, string, error)

Resolver must resolve exactly the requested configured provider/model. It must not silently select another provider after a credentials failure.

Jump to

Keyboard shortcuts

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