MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / sample_input

Function sample_input

atomic-canonical/src/prov.rs:220–237  ·  view source on GitHub ↗
(person_did: &str)

Source from the content-addressed store, hash-verified

218 }
219
220 fn sample_input(person_did: &str) -> ProvActivityInput {
221 ProvActivityInput {
222 change_id_base32: "CHANGEBASE32".into(),
223 activity_id: "session-123".into(),
224 started_at: None,
225 ended_at: None,
226 agent_slug: "claude".into(),
227 agent_display_name: "Claude Code".into(),
228 agent_vendor: Some("anthropic".into()),
229 person_did: person_did.into(),
230 generated: vec![change_urn("CHANGEBASE32")],
231 used: vec![
232 "urn:atomic:intent:019efe85".into(),
233 "urn:atomic:memory:01J8ZC4R8T".into(),
234 ],
235 turn_parent: Some(activity_urn("session-000")),
236 }
237 }
238
239 fn graph_nodes(value: &Value) -> &Vec<Value> {
240 value

Calls 1

activity_urnFunction · 0.85