Base: codex-main originale (prima del fork aKode)

This commit is contained in:
Andrea
2026-11-09 10:37:42 +01:00
commit 7874033c81
10166 changed files with 2728937 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
use crate::ExtensionData;
/// Input supplied when the host or an extension observes one skill invocation.
pub struct SkillInvocationInput<'a> {
/// Store scoped to the host session runtime.
pub session_store: &'a ExtensionData,
/// Store scoped to this thread runtime.
pub thread_store: &'a ExtensionData,
/// Store scoped to this turn runtime.
pub turn_store: &'a ExtensionData,
/// Current turn submission id.
pub turn_id: &'a str,
/// Main prompt path or opaque resource id for the invoked skill.
pub skill_resource: &'a str,
/// How the skill invocation was initiated.
pub kind: SkillInvocationKind,
}
/// How an observed skill invocation was initiated.
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum SkillInvocationKind {
/// The user explicitly mentioned the skill.
Explicit,
/// The model read the skill instructions or ran one of its scripts.
Implicit,
}