dispatch

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package dispatch is the public SDK facade over Harbor's internal/runtime/dispatch package — the production ToolExecutor that dispatches the planner's CallTool / CallParallel / SpawnTask / AwaitTask decisions against the catalog with the D-026 heavy-result→artifact promotion (RFC §3.6, §6.10; D-204). Alias-based re-exports only: no behavior lives here. Truncation summary helpers are deliberately private.

Index

Constants

This section is empty.

Variables

View Source
var (
	// WithHeavyThreshold overrides the heavy-result promotion threshold.
	WithHeavyThreshold = internal.WithHeavyThreshold
	// WithLogger threads a logger into the executor.
	WithLogger = internal.WithLogger
	// WithMaxSpawnDepth caps the SpawnTask recursion depth.
	WithMaxSpawnDepth = internal.WithMaxSpawnDepth
)

Constructor options (see internal/runtime/dispatch Option docs).

View Source
var NewToolExecutor = internal.NewToolExecutor

NewToolExecutor binds the catalog + artifact store + task registry into the steering.ToolExecutor the run loop dispatches against. Construct once per stack and share across runs (D-025).

Functions

This section is empty.

Types

type Option

type Option = internal.Option

Option customises NewToolExecutor.

Jump to

Keyboard shortcuts

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