executioncontract

package
v0.1.59 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Prefix = "hct:v1:"

Variables

This section is empty.

Functions

func AgentHash

func AgentHash(input Agent) (string, error)

func Valid

func Valid(value string) bool

func WorkflowHash

func WorkflowHash(input Workflow) (string, error)

Types

type Agent

type Agent struct {
	ID                string
	ConnectionMode    string
	EndpointURL       string
	MCPToolName       string
	CapabilityVersion int32
	InputSchema       map[string]interface{}
	OutputSchema      map[string]interface{}
}

type Workflow

type Workflow struct {
	ID    string
	Edges []map[string]interface{}
	Nodes []WorkflowNode
}

type WorkflowNode

type WorkflowNode struct {
	ID                string
	Key               string
	Type              string
	AgentID           string
	Config            map[string]interface{}
	Position          int32
	AgentContractHash string
}

Jump to

Keyboard shortcuts

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