Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artifacts ¶
type Artifacts []string
Artifacts is a slice type that can unmarshal from both string arrays and object arrays
func (Artifacts) MarshalJSON ¶
MarshalJSON implements json.Marshaler for Artifacts
func (*Artifacts) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler for Artifacts It accepts both string arrays and object arrays (for backward compatibility)
type Constraints ¶
type Duration ¶
type Duration string
Duration is a string type that can also unmarshal from a number (for backward compatibility)
func (Duration) MarshalJSON ¶
MarshalJSON implements json.Marshaler for Duration
func (*Duration) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler for Duration It accepts both string ("1.5s") and number (1.5) formats
type HolonManifest ¶
type HolonManifest struct {
Status string `json:"status"`
Outcome string `json:"outcome"` // success, failure, needs_human
Duration Duration `json:"duration"`
Artifacts Artifacts `json:"artifacts"`
Metadata map[string]string `json:"metadata,omitempty"`
}
HolonManifest is generated by the agent at the end of execution.
type HolonSpec ¶
type HolonSpec struct {
Version string `yaml:"version" json:"version"`
Kind string `yaml:"kind" json:"kind"`
Metadata Metadata `yaml:"metadata" json:"metadata"`
Context Context `yaml:"context" json:"context"`
Goal Goal `yaml:"goal" json:"goal"`
Output Output `yaml:"output" json:"output"`
Constraints Constraints `yaml:"constraints" json:"constraints"`
}
HolonSpec defines the standardized task execution unit.
type ManifestArtifact ¶
ManifestArtifact represents a single artifact entry in a manifest (generated by agent)