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

Function create_opts

atomic-repository/src/repository/vault_intent.rs:1143–1152  ·  view source on GitHub ↗

Helper to build IntentCreateOptions with session info for tests.

(title: &str)

Source from the content-addressed store, hash-verified

1141
1142 /// Helper to build IntentCreateOptions with session info for tests.
1143 fn create_opts(title: &str) -> IntentCreateOptions {
1144 IntentCreateOptions {
1145 title: title.to_string(),
1146 priority: None,
1147 assignee: None,
1148 labels: vec![],
1149 session_id: Some("test-session".to_string()),
1150 turn_id: Some(1),
1151 }
1152 }
1153
1154 /// Helper to build IntentCreateOptions for a specific session/turn.
1155 fn create_opts_with_session(

Calls

no outgoing calls