MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / AgentSource

Class AgentSource

crates/opencode-session/src/message_v2.rs:75–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73
74#[derive(Debug, Clone, Serialize, Deserialize)]
75pub struct AgentSource {
76 pub value: String,
77 pub start: i32,
78 pub end: i32,
79}
80
81#[derive(Debug, Clone, Serialize, Deserialize)]
82pub struct CompactionPart {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected