runpack

package
v1.2.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IntentRecord

type IntentRecord struct {
	SchemaID        string         `json:"schema_id"`
	SchemaVersion   string         `json:"schema_version"`
	CreatedAt       time.Time      `json:"created_at"`
	ProducerVersion string         `json:"producer_version"`
	RunID           string         `json:"run_id"`
	IntentID        string         `json:"intent_id"`
	ToolName        string         `json:"tool_name"`
	ArgsDigest      string         `json:"args_digest"`
	Args            map[string]any `json:"args,omitempty"`
}

type Manifest

type Manifest struct {
	SchemaID        string         `json:"schema_id"`
	SchemaVersion   string         `json:"schema_version"`
	CreatedAt       time.Time      `json:"created_at"`
	ProducerVersion string         `json:"producer_version"`
	RunID           string         `json:"run_id"`
	CaptureMode     string         `json:"capture_mode"`
	Files           []ManifestFile `json:"files"`
	ManifestDigest  string         `json:"manifest_digest"`
	Signatures      []Signature    `json:"signatures,omitempty"`
}

type ManifestFile

type ManifestFile struct {
	Path   string `json:"path"`
	SHA256 string `json:"sha256"`
}

type RefReceipt

type RefReceipt struct {
	RefID               string         `json:"ref_id"`
	SourceType          string         `json:"source_type"`
	SourceLocator       string         `json:"source_locator"`
	QueryDigest         string         `json:"query_digest"`
	ContentDigest       string         `json:"content_digest"`
	RetrievedAt         time.Time      `json:"retrieved_at"`
	RedactionMode       string         `json:"redaction_mode"`
	Immutability        string         `json:"immutability,omitempty"`
	FreshnessSLASeconds int64          `json:"freshness_sla_seconds,omitempty"`
	SensitivityLabel    string         `json:"sensitivity_label,omitempty"`
	RetrievalParams     map[string]any `json:"retrieval_params,omitempty"`
}

type Refs

type Refs struct {
	SchemaID            string       `json:"schema_id"`
	SchemaVersion       string       `json:"schema_version"`
	CreatedAt           time.Time    `json:"created_at"`
	ProducerVersion     string       `json:"producer_version"`
	RunID               string       `json:"run_id"`
	ContextSetDigest    string       `json:"context_set_digest,omitempty"`
	ContextEvidenceMode string       `json:"context_evidence_mode,omitempty"`
	ContextRefCount     int          `json:"context_ref_count,omitempty"`
	Receipts            []RefReceipt `json:"receipts"`
}

type ResultRecord

type ResultRecord struct {
	SchemaID        string         `json:"schema_id"`
	SchemaVersion   string         `json:"schema_version"`
	CreatedAt       time.Time      `json:"created_at"`
	ProducerVersion string         `json:"producer_version"`
	RunID           string         `json:"run_id"`
	IntentID        string         `json:"intent_id"`
	Status          string         `json:"status"`
	ResultDigest    string         `json:"result_digest"`
	Result          map[string]any `json:"result,omitempty"`
}

type Run

type Run struct {
	SchemaID        string        `json:"schema_id"`
	SchemaVersion   string        `json:"schema_version"`
	CreatedAt       time.Time     `json:"created_at"`
	ProducerVersion string        `json:"producer_version"`
	RunID           string        `json:"run_id"`
	Env             RunEnv        `json:"env"`
	Timeline        []TimelineEvt `json:"timeline"`
}

type RunEnv

type RunEnv struct {
	OS      string `json:"os"`
	Arch    string `json:"arch"`
	Runtime string `json:"runtime"`
}

type SessionChain

type SessionChain struct {
	SchemaID        string              `json:"schema_id"`
	SchemaVersion   string              `json:"schema_version"`
	CreatedAt       time.Time           `json:"created_at"`
	ProducerVersion string              `json:"producer_version"`
	SessionID       string              `json:"session_id"`
	RunID           string              `json:"run_id"`
	Checkpoints     []SessionCheckpoint `json:"checkpoints"`
}

type SessionCheckpoint

type SessionCheckpoint struct {
	SchemaID             string    `json:"schema_id"`
	SchemaVersion        string    `json:"schema_version"`
	CreatedAt            time.Time `json:"created_at"`
	ProducerVersion      string    `json:"producer_version"`
	SessionID            string    `json:"session_id"`
	RunID                string    `json:"run_id"`
	CheckpointIndex      int       `json:"checkpoint_index"`
	SequenceStart        int64     `json:"sequence_start"`
	SequenceEnd          int64     `json:"sequence_end"`
	RunpackPath          string    `json:"runpack_path"`
	ManifestDigest       string    `json:"manifest_digest"`
	PrevCheckpointDigest string    `json:"prev_checkpoint_digest,omitempty"`
	CheckpointDigest     string    `json:"checkpoint_digest"`
}

type SessionEvent

type SessionEvent struct {
	SchemaID        string    `json:"schema_id"`
	SchemaVersion   string    `json:"schema_version"`
	CreatedAt       time.Time `json:"created_at"`
	ProducerVersion string    `json:"producer_version"`
	SessionID       string    `json:"session_id"`
	RunID           string    `json:"run_id"`
	Sequence        int64     `json:"sequence"`
	IntentID        string    `json:"intent_id,omitempty"`
	ToolName        string    `json:"tool_name,omitempty"`
	IntentDigest    string    `json:"intent_digest,omitempty"`
	PolicyDigest    string    `json:"policy_digest,omitempty"`
	TraceID         string    `json:"trace_id,omitempty"`
	TracePath       string    `json:"trace_path,omitempty"`
	Verdict         string    `json:"verdict,omitempty"`
	ReasonCodes     []string  `json:"reason_codes,omitempty"`
	Violations      []string  `json:"violations,omitempty"`
}

type SessionJournal

type SessionJournal struct {
	SchemaID        string              `json:"schema_id"`
	SchemaVersion   string              `json:"schema_version"`
	CreatedAt       time.Time           `json:"created_at"`
	ProducerVersion string              `json:"producer_version"`
	SessionID       string              `json:"session_id"`
	RunID           string              `json:"run_id"`
	StartedAt       time.Time           `json:"started_at"`
	Events          []SessionEvent      `json:"events"`
	Checkpoints     []SessionCheckpoint `json:"checkpoints,omitempty"`
}

type Signature

type Signature struct {
	Alg          string `json:"alg"`
	KeyID        string `json:"key_id"`
	Sig          string `json:"sig"`
	SignedDigest string `json:"signed_digest,omitempty"`
}

type TimelineEvt

type TimelineEvt struct {
	Event string    `json:"event"`
	TS    time.Time `json:"ts"`
	Ref   string    `json:"ref,omitempty"`
}

Jump to

Keyboard shortcuts

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