runctx

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 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; D-204/D-195). 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 (Phase 84b — D-189).

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 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, D-201).

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 (Phase 84b — D-189).

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 pre-84b behaviour exactly.

type InputDispositionResolvedPayload added in v1.4.0

type InputDispositionResolvedPayload = internal.InputDispositionResolvedPayload

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

Jump to

Keyboard shortcuts

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