Documentation
¶
Index ¶
Constants ¶
View Source
const ( TypeAction = "ACTION" RiskLow = "LOW" RiskMedium = "MEDIUM" RiskHigh = "HIGH" Allow = "ALLOW" AskUser = "ASK_USER" Block = "BLOCK" )
View Source
const Protocol = "athena.agent.v3"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Action ¶
type Action struct {
Protocol string `json:"protocol"`
Type string `json:"type"`
TaskID string `json:"task_id"`
ActionID string `json:"action_id"`
SessionID string `json:"session_id,omitempty"`
Sequence int64 `json:"sequence"`
IdempotencyKey string `json:"idempotency_key"`
Deadline time.Time `json:"deadline"`
Capability string `json:"capability"`
Arguments map[string]any `json:"arguments,omitempty"`
Policy Policy `json:"policy"`
}
Click to show internal directories.
Click to hide internal directories.