af-agent 0.2.0

Stable Agent model, tool, inbox, and trusted-plugin contracts.
Documentation
//! Stable Agent extension contracts: model, tools, inbox, and trusted plugins.
//! The single executable loop lives in `af-agent-runtime`.

pub mod context;
pub mod inbox;
pub mod model;
pub mod plugin;
pub mod prompt;
pub mod tool;

pub use af_agent_session::InteractionResolution;
pub use af_context::RequestContext;
pub use context::{ContextAuthority, ContextContribution, ContextContributor, ContextRequest};
pub use inbox::{Inbox, InboxError, InboxItem};
pub use model::ChatModel;
pub use plugin::{
    mount_plugins, resolve_plugin_order, AgentPlugin, AgentRegistrar, Hook, HookDecision,
    MountedPlugins, PluginCatalog, PluginError, PluginLease, PluginManifest, PluginMountContext,
    PluginPermission, ToolExecutionFuture,
};
pub use prompt::{PromptAuthority, PromptRegistry, PromptSection};
pub use tool::{
    model_tool_name, support as tool_support, validate_json_schema,
    validate_json_schema_definition, validate_json_schema_value, CancellationToken, Tool,
    ToolConcurrency, ToolExecutionContext, ToolMeta, ToolRegistry, ToolSurface,
};