runctx

package
v1.13.0 Latest Latest
Warning

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

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

Documentation

Overview

Package runctx is the public SDK facade over Harbor's internal/runtime/runctx package — the RunContext-population projections a run-loop driver applies between "task spawned" and "planner.Next" (RFC §3.6, §6.2). Alias-based re-exports only: no behavior lives here.

Index

Constants

View Source
const EventTypeInputDispositionResolved = internal.EventTypeInputDispositionResolved

EventTypeInputDispositionResolved is published once per input artifact when the disposition is resolved.

Variables

View Source
var DispositionHints = internal.DispositionHints

DispositionHints converts a task's string-typed per-attachment hint map into the typed map InputArtifactOptions.Hints expects.

View Source
var ExtractAssistantAnswer = internal.ExtractAssistantAnswer

ExtractAssistantAnswer extracts the assistant answer string from a terminal Finish.

View Source
var NewRunContext = internal.NewRunContext

NewRunContext projects stack-derived subsystem handles into a fully-formed planner.RunContext, composing the same memory / skills / artifact / streaming projection helpers the run-loop drivers use. The shared factory a one-call runner or a headless RunSpec builder composes.

View Source
var ProjectMemoryBlocks = internal.ProjectMemoryBlocks

ProjectMemoryBlocks projects a memory LLMContextPatch into the planner's MemoryBlocks view.

View Source
var ProjectSkillsContext = internal.ProjectSkillsContext

ProjectSkillsContext projects ranked skills into the planner's skills-context entries.

View Source
var ProjectSkillsDirectory = internal.ProjectSkillsDirectory

ProjectSkillsDirectory projects the skills Directory view into the planner's skills-context entries (the canonical producer).

View Source
var ResolveInputArtifacts = internal.ResolveInputArtifacts

ResolveInputArtifacts resolves the run's input artifact refs into planner-visible InputArtifactViews, resolving each attachment's disposition (caller hint > agent policy > runtime default) via the planner-homed pure resolver.

View Source
var WithDispositionPolicy = internal.WithDispositionPolicy

WithDispositionPolicy supplies the per-agent disposition policy map (the middle precedence layer).

View Source
var WithInputArtifactDispositions = internal.WithInputArtifactDispositions

WithInputArtifactDispositions supplies the per-attachment disposition hint map (the top precedence layer).

View Source
var WithInputArtifacts = internal.WithInputArtifacts

WithInputArtifacts pre-resolves operator-uploaded artifact IDs into the run's first-turn multimodal inputs.

Functions

This section is empty.

Types

type InputArtifactOptions added in v1.4.0

type InputArtifactOptions = internal.InputArtifactOptions

InputArtifactOptions carries the disposition inputs (hints / policy / catalog / emit) to ResolveInputArtifacts. The zero value reproduces the prior default behaviour exactly.

type InputDispositionResolvedPayload added in v1.4.0

type InputDispositionResolvedPayload = internal.InputDispositionResolvedPayload

InputDispositionResolvedPayload is the `task.input_disposition.resolved` event payload.

type Option added in v1.8.0

type Option = internal.Option

Option configures a NewRunContext call (functional-option shape).

type Sources added in v1.8.0

type Sources = internal.Sources

Sources carries the stack-derived subsystem handles NewRunContext projects into a planner.RunContext. Every field is optional except an identity-complete quadruple.

Jump to

Keyboard shortcuts

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