Documentation
¶
Overview ¶
Package agent_trace is deprecated: trace types and adapter registration moved into agent/event (traceview, traceparse, summary, codex_types).
This package remains a thin backward-compatible wrapper. New code should import the event packages directly instead of relying on these aliases.
Migration:
- AgentTraceMetadata, AgentTraceMessage, Message, … → agent/event/traceview
- FileChange → agent/event/types or agent/event/traceview
- Adapter registration → blank import agent/event/traceparse
Deprecated: the generic trace adapter is implemented in agent/event/traceparse. This file is an empty stub kept so existing blank imports of agent_trace still compile.
Migration: blank-import agent/event/traceparse to register all provider adapters (codex, cursor, opencode, pi, generic).
Deprecated: ParseMessages lives in agent/event/traceview.
Migration:
import traceview "github.com/xhd2015/agent-pro/agent/event/traceview" messages := traceview.ParseMessages(lines, createdAt)
Index ¶
- func ParseMessages(lines []string, createdAt string) []types.Message
- type AgentTraceActivity
- type AgentTraceChild
- type AgentTraceDetail
- type AgentTraceFileChange
- type AgentTraceMessage
- type AgentTraceMetadata
- type AgentTraceSummary
- type AgentTraceUpdate
- type FileChange
- type Message
- type ToolCallEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentTraceActivity ¶
type AgentTraceActivity = traceview.AgentTraceActivity
type AgentTraceChild ¶ added in v0.0.10
type AgentTraceChild = traceview.AgentTraceChild
type AgentTraceDetail ¶
type AgentTraceDetail = traceview.AgentTraceDetail
type AgentTraceFileChange ¶
type AgentTraceFileChange = traceview.AgentTraceFileChange
type AgentTraceMessage ¶
type AgentTraceMessage = traceview.AgentTraceMessage
type AgentTraceMetadata ¶
type AgentTraceMetadata = traceview.AgentTraceMetadata
type AgentTraceSummary ¶
type AgentTraceSummary = traceview.AgentTraceSummary
type AgentTraceUpdate ¶
type AgentTraceUpdate = traceview.AgentTraceUpdate
type FileChange ¶
type FileChange = types.FileChange
type Message ¶
type Message = traceview.AgentTraceMessage
type ToolCallEvent ¶
type ToolCallEvent = traceview.AgentTraceActivity
Directories
¶
| Path | Synopsis |
|---|---|
|
Package codex is deprecated: the Codex trace adapter moved to agent/event/traceparse.
|
Package codex is deprecated: the Codex trace adapter moved to agent/event/traceparse. |
|
Package cursor is deprecated: the Cursor trace adapter moved to agent/event/traceparse.
|
Package cursor is deprecated: the Cursor trace adapter moved to agent/event/traceparse. |
|
Package opencode is deprecated: the Opencode trace adapter moved to agent/event/traceparse.
|
Package opencode is deprecated: the Opencode trace adapter moved to agent/event/traceparse. |
|
Package pi is deprecated: the Pi trace adapter moved to agent/event/traceparse.
|
Package pi is deprecated: the Pi trace adapter moved to agent/event/traceparse. |
|
Package types is deprecated: all symbols are aliases or delegates to agent/event.
|
Package types is deprecated: all symbols are aliases or delegates to agent/event. |