Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type BlobWriter ¶
type BlobWriter struct {
// contains filtered or unexported fields
}
func NewBlobWriter ¶
func NewBlobWriter(provider storage.Provider, org string) *BlobWriter
func (*BlobWriter) Begin ¶
func (writer *BlobWriter) Begin(ctx context.Context, trigger Trigger) error
func (*BlobWriter) Close ¶
func (writer *BlobWriter) Close(ctx context.Context, runID string, outcome RunOutcome) error
type EntryKind ¶
type EntryKind string
const ( EntryTrigger EntryKind = "trigger" EntryTurn EntryKind = "turn" EntryToolCall EntryKind = "tool_call" EntryEvidence EntryKind = "evidence" EntryDecision EntryKind = "decision" EntryApproval EntryKind = "approval" EntryActionProposed EntryKind = "action_proposed" EntryActionExecuted EntryKind = "action_executed" EntryActionVerified EntryKind = "action_verified" EntryGuideIssued EntryKind = "guide_issued" EntryRunClosed EntryKind = "run_closed" EntryOutcome EntryKind = "outcome" )
type LedgeredTool ¶
func (LedgeredTool) ArgsSchema ¶
func (tool LedgeredTool) ArgsSchema() map[string]any
func (LedgeredTool) Description ¶
func (tool LedgeredTool) Description() string
func (LedgeredTool) Invoke ¶
func (tool LedgeredTool) Invoke(ctx context.Context, args json.RawMessage) (*core.ToolResult, error)
func (LedgeredTool) Name ¶
func (tool LedgeredTool) Name() string
type RunOutcome ¶
type Trigger ¶
type Trigger struct {
TriggerID string `json:"trigger_id"`
RunID string `json:"run_id"`
ParentRunID string `json:"parent_run_id,omitempty"`
Kind TriggerKind `json:"kind"`
Principal string `json:"principal"`
Org string `json:"org"`
Surface string `json:"surface"`
ClientVersion string `json:"client_version,omitempty"`
Subject Subject `json:"subject,omitempty"`
PolicyVersion string `json:"policy_version"`
ModelVersion string `json:"model_version,omitempty"`
DeciderVersion string `json:"decider_version,omitempty"`
SkillVersions []string `json:"skill_versions,omitempty"`
At time.Time `json:"at"`
}
type TriggerKind ¶
type TriggerKind string
const ( TriggerUser TriggerKind = "user" TriggerIncident TriggerKind = "incident" TriggerSchedule TriggerKind = "schedule" TriggerCI TriggerKind = "ci" TriggerMCP TriggerKind = "mcp" TriggerSubagent TriggerKind = "subagent" )
Click to show internal directories.
Click to hide internal directories.