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

Function managed_context

atomic-agent/src/turn/orchestrator/tests.rs:1316–1326  ·  view source on GitHub ↗
(view: Option<&str>)

Source from the content-addressed store, hash-verified

1314// Managed-run adoption tests
1315
1316fn managed_context(view: Option<&str>) -> ManagedRunContext {
1317 ManagedRunContext {
1318 stamp: crate::turn::session::ManagedRunStamp {
1319 run_id: "run-mng-1".to_string(),
1320 owner_agent: "sherpa".to_string(),
1321 owner_session_id: "sherpa-sess-1".to_string(),
1322 work_item_id: Some("NONA-42".to_string()),
1323 },
1324 view: view.map(|v| v.to_string()),
1325 }
1326}
1327
1328/// Orchestrator rooted at a real initialized repository (recording works).
1329fn make_repo_orchestrator(dir: &TempDir) -> TurnOrchestrator {

Calls

no outgoing calls

Tested by

no test coverage detected