Crate agtrace_types

Crate agtrace_types 

Source

Re-exports§

pub use models::*;

Modules§

models

Structs§

AgentPolicy
Agent control policy and constraints
GitContext
Git repository context
RunContext
Execution environment context
SessionSummary
Session summary for listing
Source
Source of the agent log (provider-agnostic identifier)

Enums§

ToolStatus
Tool execution status (used in Span API)

Functions§

discover_project_root
Discover project root based on priority:
is_64_char_hex
Check if string is 64-character hexadecimal
normalize_path
Normalize a path for comparison (resolve to absolute, canonicalize if possible)
paths_equal
Check if two paths are equivalent after normalization
project_hash_from_root
Calculate project_hash from project_root using SHA256
resolve_effective_project_hash
Resolve effective project hash based on explicit hash or all_projects flag
truncate
Truncate a string to a maximum length