- Login: resta solo chiave API (+ header, Bedrock). Rimossi OAuth/browser, device code, refresh/revoke su auth.openai.com, PAT, agent/workload identity, runtime agent instance, backend-client e openapi-models, workspace routing. - Rimossi: generazione immagini (ext + skill imagegen), history notes, plugin remoti (catalogo, sync, share), cyber access program, daybreak, cloud config e requirements (config_server ora fail-closed), attestation, frozen cloud skills, EMA MCP auth, Codex Apps/connettori, ricerca ospitata, header/zstd/ routing/cookie del backend Codex, fallback OPENAI_API_KEY del realtime. - Messaggi d'errore senza link a chatgpt.com. - Chiavi di config legacy accettate e ignorate; feature rimosse = Stage::Removed. - Test: cancellati solo quelli del codice rimosso; test di sicurezza (sandbox estensioni, permessi, redazione, auth storage, requirements) adattati. Restano solo fallimenti d'ambiente (code-mode-host/V8, ~/.agents). - Istruzioni di sistema invariate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
488 B
Rust
18 lines
488 B
Rust
//! Identity of a reusable Responses connection.
|
|
|
|
/// Effective destination and credentials that permit reusing a Responses socket.
|
|
#[derive(Clone, Debug, PartialEq, Eq)]
|
|
pub struct ResponsesConnectionKey {
|
|
base_url: String,
|
|
auth_revision: Option<u64>,
|
|
}
|
|
|
|
impl ResponsesConnectionKey {
|
|
pub fn new(provider: &codex_api::Provider, auth_revision: Option<u64>) -> Self {
|
|
Self {
|
|
base_url: provider.base_url.clone(),
|
|
auth_revision,
|
|
}
|
|
}
|
|
}
|