aKode fase 2b-2: rimosso login ChatGPT e tutti i sottosistemi solo-ChatGPT
- 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>
This commit is contained in:
@@ -3,7 +3,6 @@ use std::pin::Pin;
|
||||
use std::sync::Arc;
|
||||
|
||||
mod executor;
|
||||
mod frozen_cloud;
|
||||
mod host;
|
||||
|
||||
use crate::HostSkillsSnapshot;
|
||||
@@ -23,7 +22,6 @@ use crate::catalog::SkillSearchResult;
|
||||
|
||||
pub use executor::ExecutorSkillProvider;
|
||||
pub(crate) use executor::attribute_executor_plugins;
|
||||
pub use frozen_cloud::FrozenCloudSkillProvider;
|
||||
pub use host::HostSkillProvider;
|
||||
|
||||
pub(crate) const MAX_SKILL_RESOURCE_CONTENT_BYTES: usize = 1024 * 1024;
|
||||
@@ -36,7 +34,6 @@ pub struct SkillListQuery<'a> {
|
||||
pub host_snapshot: Option<Arc<HostSkillsSnapshot>>,
|
||||
pub include_host_skills: bool,
|
||||
pub include_bundled_skills: bool,
|
||||
pub include_cloud_skills: bool,
|
||||
pub mcp_resources: Option<Arc<McpResourceClient>>,
|
||||
/// Present only when the opt-in high-level executor discovery path is selected.
|
||||
pub executor_capability_discovery: Option<ExecutorCapabilityDiscoverySnapshot>,
|
||||
@@ -63,9 +60,6 @@ pub enum SkillReadContext<'a> {
|
||||
Executor {
|
||||
fs: &'a dyn EnvironmentAccess,
|
||||
},
|
||||
Cloud {
|
||||
mcp_resources: Option<Arc<McpResourceClient>>,
|
||||
},
|
||||
Custom {
|
||||
mcp_resources: Option<Arc<McpResourceClient>>,
|
||||
},
|
||||
@@ -87,12 +81,6 @@ pub type SkillProviderFuture<'a, T> =
|
||||
/// provider must be read or searched through the same provider/authority rather
|
||||
/// than converted into an ambient local path.
|
||||
pub trait SkillProvider: Send + Sync {
|
||||
/// Whether Cloud catalog and read caches must follow the live MCP auth/resource scope.
|
||||
/// When all configured Cloud providers opt out, their caches are independent of MCP.
|
||||
fn uses_mcp_resources(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
/// Providers set `is_partial` when listing omits entries; warnings are diagnostic only.
|
||||
fn list<'a>(&'a self, query: SkillListQuery<'a>) -> SkillProviderFuture<'a, SkillCatalog>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user