mirror of
https://github.com/openai/codex.git
synced 2026-11-07 20:30:33 +00:00
## What changed - Detect executor-owned skill document reads and script executions across native and URI-based working directories. - Match skills only within the active execution environment while preserving host skill detection for local commands. - Emit resource-backed implicit invocation events and deduplicate repeated accesses within a turn. ## Testing - Add unit coverage for document reads, script executions, and environment-scoped matching. - Add an integration test for environment selection, resource-backed analytics, and repeated-access deduplication. GitOrigin-RevId: f78a48c3a4766fe8775bd88926b45a76761f6af8
53 lines
1.4 KiB
Rust
53 lines
1.4 KiB
Rust
mod aliases;
|
|
pub mod catalog;
|
|
mod catalog_prompt;
|
|
mod config;
|
|
mod dynamic_skill_selector;
|
|
mod extension;
|
|
mod fragments;
|
|
mod host_aliases;
|
|
mod host_outcome;
|
|
mod host_prompt;
|
|
mod host_roots;
|
|
mod host_service;
|
|
mod host_snapshot;
|
|
mod invocation;
|
|
mod loader;
|
|
pub mod provider;
|
|
mod render;
|
|
mod render_observability;
|
|
mod selection;
|
|
mod shadow_selection_experiment;
|
|
mod sources;
|
|
mod state;
|
|
mod tools;
|
|
mod warnings;
|
|
mod world_state;
|
|
mod world_state_catalogs;
|
|
|
|
pub use config::SkillsExtensionConfig;
|
|
pub use extension::install;
|
|
pub use extension::install_with_providers;
|
|
pub use extension::install_with_providers_and_metrics;
|
|
pub use host_outcome::SkillLoadOutcome;
|
|
pub use host_prompt::HostSkillPrompts;
|
|
pub use host_prompt::InjectedHostSkillPrompts;
|
|
pub use host_service::HostSkillsLoadInput;
|
|
pub use host_service::HostSkillsRequest;
|
|
pub use host_service::HostSkillsService;
|
|
pub use host_snapshot::HostSkillsSnapshot;
|
|
pub use invocation::detect_implicit_skill_invocation;
|
|
pub use provider::ExecutorSkillProvider;
|
|
pub use provider::HostSkillProvider;
|
|
pub use provider::OrchestratorSkillProvider;
|
|
pub use provider::SkillProvider;
|
|
pub use sources::SkillProviderSource;
|
|
pub use sources::SkillProviders;
|
|
|
|
/// Recognizes persisted explicit skill prompts without exposing their fragment implementation.
|
|
pub fn is_skill_prompt_fragment(text: &str) -> bool {
|
|
<fragments::SkillInstructions as codex_extension_api::ContextualUserFragment>::matches_text(
|
|
text,
|
|
)
|
|
}
|