cookie_agent_config/
lib.rs1mod agent_document;
4mod agents;
5mod cache;
6mod error;
7mod loader;
8mod mcp_store;
9mod runtime;
10mod secure_fs;
11mod skills;
12mod toml_values;
13mod wildcard;
14
15pub use agent_document::{AgentDocument, AgentDocumentSource};
16pub use agents::{
17 AgentFrontmatter, AgentLimits, AgentMaterializationInput, AgentMode, AgentModelFallback,
18 AgentModelRef, AgentRegistry, BUILT_IN_APPROVAL_AGENT_ID, BUILT_IN_COMPACTION_AGENT_ID,
19 BUILT_IN_DEFAULT_AGENT_ID, BUILT_IN_TITLE_AGENT_ID, PARENT_MODEL_EXPRESSION, PermissionAction,
20 PermissionEffect, PermissionRule, PermissionValue,
21};
22pub use cache::{
23 AnthropicCacheConfig, BedrockCacheConfig, CacheConfig, CacheTtl, OpenAiCacheConfig,
24 OpenAiCacheMode, OpenAiPromptCacheRetention, OpenAiPromptCacheTtl, RollingCacheTtl,
25};
26pub use error::ConfigError;
27pub use loader::{ConfigLayerPaths, LoadedConfiguration, load, load_from_roots};
28pub use loader::{LoadedMcpServer, McpServerSource};
29pub use mcp_store::write_mcp_server;
30pub use runtime::{
31 AgentMdConfig, ApprovalConfig, ContextCompactionConfig, ContextCompactionTrigger,
32 DelegationConfig, EngineConfig, McpConfig, McpOAuthConfig, McpOAuthSettings, McpServerConfig,
33 MessagingConfig, ModelPricing, ModelRetryConfig, PicoUsdPerMillion, PluginConfig,
34 PluginsConfig, PricingConfig, ServerConfig, SessionTitleConfig, ToolOutputConfig,
35};
36pub use skills::{
37 SkillAllowedTool, SkillContext, SkillDiagnostic, SkillDiscovery, SkillDocument,
38 SkillFrontmatter, SkillRegistry, load_skill_roots, load_skills, render_available_skills,
39};
40pub use wildcard::simple_wildcard_match;