deterministic

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 deterministic is the public SDK facade over Harbor's internal/planner/deterministic package — the decision-tree planner concrete that drives the same Runtime as the LLM-driven ReAct planner through the identical Planner seam (RFC §3.6, §6.2; D-204). The concrete is constructor-configured (an ordered DecisionTreeStep slice), not registry-resolved. Alias-based re-exports only: no behavior lives here.

Index

Constants

View Source
const DefaultName = internal.DefaultName

DefaultName is the planner Name when WithName is not supplied.

Variables

View Source
var (
	// WithName overrides the planner's reported name.
	WithName = internal.WithName
	// WithRegistry supplies the TaskRegistry group-aware steps need.
	WithRegistry = internal.WithRegistry
	// WithSteps supplies the ordered decision-tree step set.
	WithSteps = internal.WithSteps
)

Constructor options (see internal/planner/deterministic Option docs).

View Source
var NewDeterministicPlanner = internal.NewDeterministicPlanner

NewDeterministicPlanner constructs the planner from its step set (fail-loud at construction on an empty/nil step set).

Functions

This section is empty.

Types

type CallToolStep

type CallToolStep = internal.CallToolStep

CallToolStep dispatches one tool when its guard matches.

type DecisionTreeStep

type DecisionTreeStep = internal.DecisionTreeStep

DecisionTreeStep is the operator-configurable step abstraction.

type DeterministicPlanner

type DeterministicPlanner = internal.DeterministicPlanner

DeterministicPlanner is the decision-tree planner concrete.

type FinishStep

type FinishStep = internal.FinishStep

FinishStep returns the terminal decision when its guard matches.

type Option

type Option = internal.Option

Option customises NewDeterministicPlanner.

type PauseStep

type PauseStep = internal.PauseStep

PauseStep parks the run on the unified pause primitive.

type SpawnAndAwaitStep

type SpawnAndAwaitStep = internal.SpawnAndAwaitStep

SpawnAndAwaitStep spawns a background group then polls its join.

type WatchGroupStep

type WatchGroupStep = internal.WatchGroupStep

WatchGroupStep polls an existing task group's resolution.

Jump to

Keyboard shortcuts

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