feat(infra): injection sandbox des handles managed temp résolus dans les sessions agents — #190

This commit is contained in:
2026-08-13 14:08:36 +02:00
parent 1b7ff56419
commit 4e9b205b40
9 changed files with 335 additions and 33 deletions

View File

@ -40,9 +40,9 @@ use crate::memory::HarvestMemoryFromTurn;
use crate::agent::{
drain_with_readiness_and_announcements_outcome, AnnouncementPublisher, CreateAgentFromScratch,
CreateAgentInput, LaunchAgent, LaunchAgentInput, ListAgents, ListAgentsInput, McpRuntime,
ReattachDecision, SessionLimitService, TurnOutcome, UpdateAgentContext,
UpdateAgentContextInput, CODEX_SUBMIT_DELAY_MS,
CreateAgentInput, LaunchAgent, LaunchAgentInput, ListAgents, ListAgentsInput,
ManagedTempExposureRequest, McpRuntime, ReattachDecision, SessionLimitService, TurnOutcome,
UpdateAgentContext, UpdateAgentContextInput, CODEX_SUBMIT_DELAY_MS,
};
use crate::background::{SpawnBackgroundCommand, SpawnBackgroundCommandInput};
use crate::error::AppError;
@ -1734,6 +1734,7 @@ impl OrchestratorService {
allow_structured_alongside_pty: false,
require_structured: false,
fresh_start: false,
managed_temp_exposure: ManagedTempExposureRequest::default(),
})
.await?;
@ -2513,6 +2514,7 @@ impl OrchestratorService {
allow_structured_alongside_pty: false,
require_structured: false,
fresh_start: false,
managed_temp_exposure: ManagedTempExposureRequest::default(),
})
.await?;
@ -2595,6 +2597,7 @@ impl OrchestratorService {
allow_structured_alongside_pty: true,
require_structured: true,
fresh_start: false,
managed_temp_exposure: ManagedTempExposureRequest::default(),
})
.await?;