Riapplica la fase 5 di aKode (86e7c72e) sulla base ripulita:
- crate codex-* -> akode-*, codex-rs -> akode-rs, codex-cli -> akode-cli, binario e ausiliari akode;
- ~/.codex -> ~/.akode, CODEX_HOME -> AKODE_HOME, variabili CODEX_* -> AKODE_*, .codex/ -> .akode/ di progetto;
nessun fallback a ~/.codex o a CODEX_*;
- testi per l'utente "Codex" -> "aKode"; testi verso il modello e istruzioni di sistema invariati;
- snapshot insta rinominati (non ancora rigenerati).
I conflitti con la base ripulita sono stati risolti riapplicando la rinomina ai file senza le
funzioni di imeAI (script di mappa dei token per file).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
103 lines
4.0 KiB
Rust
103 lines
4.0 KiB
Rust
mod artifact_operation;
|
|
mod catalog;
|
|
mod command_migration;
|
|
mod discoverable;
|
|
mod executor_catalog;
|
|
mod executor_hooks;
|
|
mod executor_provider;
|
|
mod git_policy;
|
|
pub mod installed_marketplaces;
|
|
mod loaded_cache_metrics;
|
|
pub mod loader;
|
|
mod manager;
|
|
pub mod manifest;
|
|
pub mod marketplace;
|
|
pub mod marketplace_add;
|
|
mod marketplace_policy;
|
|
pub mod marketplace_remove;
|
|
mod marketplace_staging;
|
|
pub mod marketplace_upgrade;
|
|
mod npm_source;
|
|
mod plugin_bundle_archive;
|
|
mod provider;
|
|
mod script_attribution;
|
|
mod skill_snapshots;
|
|
pub mod startup_sync;
|
|
pub mod store;
|
|
#[cfg(test)]
|
|
mod test_support;
|
|
pub mod toggles;
|
|
mod tool_suggest_metadata;
|
|
|
|
pub(crate) use git_policy::PluginGitMode;
|
|
pub(crate) use git_policy::configure_trusted_git_repository;
|
|
|
|
pub const OPENAI_CURATED_MARKETPLACE_NAME: &str = "openai-curated";
|
|
pub const OPENAI_API_CURATED_MARKETPLACE_NAME: &str = "openai-api-curated";
|
|
pub const OPENAI_BUNDLED_MARKETPLACE_NAME: &str = "openai-bundled";
|
|
pub(crate) const OPENAI_BUNDLED_ALPHA_MARKETPLACE_NAME: &str = "openai-bundled-alpha";
|
|
pub(crate) const OPENAI_PRIMARY_RUNTIME_MARKETPLACE_NAME: &str = "openai-primary-runtime";
|
|
|
|
pub fn is_openai_curated_marketplace_name(marketplace_name: &str) -> bool {
|
|
marketplace_name == OPENAI_CURATED_MARKETPLACE_NAME
|
|
|| marketplace_name == OPENAI_API_CURATED_MARKETPLACE_NAME
|
|
}
|
|
|
|
pub type LoadedPlugin = akode_plugin::LoadedPlugin<akode_config::McpServerConfig>;
|
|
pub type PluginLoadOutcome = akode_plugin::PluginLoadOutcome<akode_config::McpServerConfig>;
|
|
|
|
pub use artifact_operation::ArtifactOperation;
|
|
pub use artifact_operation::recognize_artifact_operation;
|
|
pub use catalog::PluginCatalog;
|
|
pub use catalog::PluginCatalogEntry;
|
|
pub use catalog::PluginSourceLocation;
|
|
pub use catalog::merge_catalogs;
|
|
pub use akode_core_plugin_common::PluginIdentity;
|
|
pub use command_migration::CommandDescriptionMode;
|
|
pub use command_migration::CommandMigrationProfile;
|
|
pub use command_migration::RewriteProfile as CommandRewriteProfile;
|
|
pub use command_migration::count_missing_commands_with_profile;
|
|
pub use command_migration::import_commands_with_profile;
|
|
pub use command_migration::missing_command_names_with_profile;
|
|
pub use discoverable::ToolSuggestDiscoverablePlugin;
|
|
pub use discoverable::ToolSuggestPluginDiscoveryInput;
|
|
pub use executor_catalog::catalog_from_snapshots;
|
|
pub use executor_hooks::executor_plugin_hook_sources;
|
|
pub use executor_hooks::executor_plugin_hook_sources_v2;
|
|
pub use executor_provider::ExecutorPluginProvider;
|
|
pub use executor_provider::ExecutorPluginProviderError;
|
|
pub use executor_provider::PluginRootOwnership;
|
|
pub use executor_provider::ResolvedExecutorPlugin;
|
|
pub use loader::PluginHookLoadOutcome;
|
|
pub use manager::ConfiguredMarketplace;
|
|
pub use manager::ConfiguredMarketplaceListOutcome;
|
|
pub use manager::ConfiguredMarketplacePlugin;
|
|
pub use manager::EffectivePluginsChange;
|
|
pub use manager::PluginDetail;
|
|
pub use manager::PluginDetailsUnavailableReason;
|
|
pub use manager::PluginInstallError;
|
|
pub use manager::PluginInstallOutcome;
|
|
pub use manager::PluginInstallRequest;
|
|
pub use manager::PluginListBackgroundTaskOptions;
|
|
pub use manager::PluginMarketplaceContext;
|
|
pub use manager::PluginMarketplaceScope;
|
|
pub use manager::PluginReadOutcome;
|
|
pub use manager::PluginReadRequest;
|
|
pub use manager::PluginUninstallError;
|
|
pub use manager::PluginsConfigInput;
|
|
pub use manager::PluginsManager;
|
|
pub use marketplace_policy::allowed_configured_marketplace_names;
|
|
pub use marketplace_upgrade::ConfigLayerReload;
|
|
pub use marketplace_upgrade::ConfiguredMarketplaceUpgradeError as PluginMarketplaceUpgradeError;
|
|
pub use marketplace_upgrade::ConfiguredMarketplaceUpgradeOutcome as PluginMarketplaceUpgradeOutcome;
|
|
pub use provider::PluginListQuery;
|
|
pub use provider::PluginProvider;
|
|
pub use provider::PluginProviderError;
|
|
pub use provider::PluginProviderFuture;
|
|
pub use provider::PluginProviderResult;
|
|
pub use script_attribution::PluginCommandAttribution;
|
|
pub use script_attribution::TrustedPluginRoots;
|
|
pub use script_attribution::command_script_arguments;
|
|
|
|
pub use marketplace_policy::configured_plugins_from_stack;
|