- 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>
19 lines
865 B
Rust
19 lines
865 B
Rust
use std::num::NonZeroUsize;
|
|
|
|
/// Host-supplied configuration used by the skills extension.
|
|
#[derive(Clone, Debug, Eq, PartialEq)]
|
|
pub struct SkillsExtensionConfig {
|
|
/// Whether the available-skills catalog is included in model context.
|
|
pub include_instructions: bool,
|
|
/// Whether skill additions and edits share a cumulative metadata budget until compaction.
|
|
pub catalog_deltas_enabled: bool,
|
|
/// Whether descriptions are omitted from rendered catalogs only.
|
|
pub omit_descriptions: bool,
|
|
/// Optional token budget override for the available-skills catalog.
|
|
pub max_context_tokens: Option<NonZeroUsize>,
|
|
/// Whether bundled skills are eligible for discovery.
|
|
pub bundled_skills_enabled: bool,
|
|
/// Whether cheap skill selectors run in shadow mode without changing prompt contents.
|
|
pub shadow_selection_enabled: bool,
|
|
}
|