tools

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBundle

func NewBundle(config Config) ([]tool.InvokableTool, error)

Types

type Config

type Config struct {
	SessionID  uuid.UUID
	Catalog    *workflows.Catalog
	Registry   runRegistry
	Inputs     inputStore
	Supervisor supervisorControl
	Now        func() time.Time
	NewID      func() (uuid.UUID, error)
	// PrepareRun runs after the workflow and GraphRun IDs are minted but before
	// the durable registry record is created. It is the narrow composition seam
	// for binding product-owned immutable execution metadata without making the
	// neutral bridge aware of application artifacts.
	PrepareRun func(context.Context, workflows.Run) (workflows.Run, error)
}

type PrepareRunIntegrityError

type PrepareRunIntegrityError struct {
	Field string
}

PrepareRunIntegrityError reports a callback attempt to change workflow metadata outside the artifact namespace descriptor allowlist.

func (*PrepareRunIntegrityError) Error

func (e *PrepareRunIntegrityError) Error() string

Jump to

Keyboard shortcuts

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