pub mod agent_identity;
pub mod agentic;
pub mod agents;
pub mod answer_authz;
pub mod api_surface;
pub mod artifact;
pub mod backend_probe;
pub mod caveats;
pub mod classifiers;
pub mod config;
pub mod conversation;
pub mod credential_registry;
pub mod denial_journal;
pub mod dgx;
pub mod drift_cache;
pub mod enrollment;
pub mod error;
pub mod ffi_manifest;
pub mod ffi_surface;
pub mod flight_recorder;
pub mod git_caveats;
pub mod kit;
pub mod lazy_emission;
pub mod mcp;
pub mod mcp_catalog;
pub mod mcp_probe;
pub mod memory;
pub mod metrics;
pub mod model_card;
pub mod model_id;
pub mod navigator;
pub mod notes;
pub mod notes_scan;
pub mod nudger;
pub mod ocap;
pub mod ocap_propose;
pub mod ocap_store;
pub mod permission_challenge;
pub mod plan;
pub mod pricing;
pub mod project_map;
pub mod project_model;
pub mod prompt;
pub mod prune;
pub mod reasoning;
pub mod retry;
pub mod roadmap_eval;
pub mod roadmap_file;
pub mod role_profile;
pub mod router;
pub mod sas_confirm;
pub mod sas_transcript;
pub mod scope_grounding;
pub mod scratch;
pub mod session;
pub mod settings;
pub mod shell_env;
pub mod ssh_caveats;
pub mod store;
pub mod symbols;
pub mod templates;
pub mod tenacity;
pub mod tokens;
pub mod tooling;
pub mod tty;
pub mod tuning;
pub mod verify_gate;
pub mod where_is;
mod wire_framing;
pub mod workflows;
pub mod workspace_key;
#[cfg(feature = "pyo3")]
pub mod pyo3_module;
pub use agent_bridle::maybe_dispatch;
pub use agent_identity::{
AgentIdentity, GithubApp, IdentitySource, Secret, SecretRef, AGENT_IDENTITY_FILENAME,
DEFAULT_AGENT_EMAIL, DEFAULT_AGENT_NAME, GITHUB_APP_BOT_EMAIL, GITHUB_APP_BOT_NAME,
};
pub use agent_mesh_protocol::{Caveats, CountBound, Scope};
pub use agentic::wrap_untrusted;
pub use agentic::{
append_denial, chat_complete, chat_complete_with_prompt, compress_user_initiated,
compress_user_initiated_for_task, execute_tool, experience_block, format_index_status,
format_search_hits, format_search_model, format_search_preview, format_search_rejects,
gather_code_files, gather_with_manifest, index_files, load_denials,
memory_fetch_tool_definition, openai_chat_complete, openai_chat_complete_with_prompt,
openai_responses_complete, openai_responses_complete_with_prompt, plan_block,
render_code_evidence, retrieve_evidence, retrieve_evidence_steered, retrieve_ranked,
set_spill_lines, transcript_lines, transcript_lines_styled, trim_for_summary, widen_caveats,
ChatCtx, CodeSearch, CompressCounters, CompressState, DenialKind, Embedder, EmbeddingsClient,
EvidenceKind, ExperienceStore, ExposureSettings, GatherCaps, GatherManifest,
HeadlessCodeSearch, IndexStatus, LiveToolOutput, ManualCompressOutcome, McpTools, MemAddr,
MemPayload, MemorySource, NoMcp, NoteNudge, NoteSink, PermissionDecision, PermissionGate,
PermissionRecord, PermissionRequest, PlanModeControl, PlanSnapshot, RankedHit, RecallSource,
RejectReason, RetrievalResult, RetrievalSteer, RoundObservation, ScratchpadStore,
SemanticIndex, SessionExperienceStore, SessionScratchpadStore, SessionSemanticIndex,
SessionSpillStore, SessionStepLedger, ShellObservation, SpillStore, Step, StepLedger,
StepStatus, StoreMemorySource, StoreRecallSource, SummarizeFn, SummarizeFuture, Summarizer,
ToolOutputStream, TranscriptLine, TranscriptRole, TranscriptStyle, TurnDriver,
TurnDriverConfig, TurnDriverError, TurnOutcome, TurnStatus, EXPERIENCE_TOP_K,
};
pub use agents::AgentsProvider;
pub use api_surface::{resolve_surface_budget, ApiSurfaceProvider};
pub use artifact::{
ArtifactId, ArtifactKind, ArtifactRelation, NewPromptArtifact, PromptArtifact,
MAX_ARTIFACT_BODY_BYTES, MAX_ARTIFACT_LOCATOR_BYTES, MAX_ARTIFACT_METADATA_BYTES,
};
pub use caveats::{CaveatsExt, CountBoundExt, ScopeExt};
pub use classifiers::{
classifier_config_dir, NudgeClass, NudgeClassification, NudgeClassifier, NudgeClassifierConfig,
};
pub use config::{
confined_default_engine, derive_serving, full_access_default_engine, mcp_stdio_env_passthrough,
ocap_l3_backend, resolve_shell_engine, resolve_shell_engine_choice, resolved_confined_default,
shell_env_passthrough_default, write_backend_dropin, writeback_probed_backend, AgentsConfig,
BackendConfig, BackendKind, BundleConfig, ChatStyle, ColorMode, CompactionTriggerPolicy,
Config, ContextConfig, ContextFeature, ContextFeatureSet, ContextFeatures, ContextManager,
ConversationsConfig, CrewPolicyConfig, EditMode, ExposureProfile, FooterMode, IntakeConfig,
Loadout, LoadoutSettings, LogConfig, MarkdownMode, MemoryConfig, MemoryDisclosure,
MemoryProviderKind, OnEmbedFailure, OpenAiApi, PermissionPreset, PickVia, PlanConfig,
PlanPruneConfig, ProfilePick, ProviderConfig, ScratchConfig, SemanticConfig, Serving,
ShellConfig, ShellEngine, SkillsConfig, SummarizerConfig, ThinkingMode, ToolExposureConfig,
ToolPermissions, TuiConfig,
};
pub use conversation::{
new_conversation_id, session_plan_dir, session_plan_path, ConversationRecord,
ConversationSummary, ConversationTurn, PhantomReach, PhantomResolution, ToolEvent,
};
pub use ffi_surface::FfiSurfaceProvider;
pub use navigator::{
compare_ledgers, compare_semantic_lexical, execute_nav_tool, export_ledger_json,
export_ledger_markdown, find_callees, find_callers, find_hierarchy, find_implementations,
find_references, find_tests, format_ledger_diff, format_ledger_human, format_ledger_model,
goto_definition, hash_context, impact_analysis, inspect_type, project_map_nav, text_search,
GotoDefinitionArgs, GraphIndex, ImpactReport, NavHit, NavResult, NavToolCtx, NavigatorSession,
RetrievalLedger, TurnRetrieval, UsageIndex, UsageSite, NAV_TOOL_NAMES,
};
pub use project_map::ProjectMapProvider;
pub use tenacity::Tenacity;
pub use where_is::{
build_where_is_index, build_where_is_index_from_workspace, execute_where_is,
where_is_tool_definition, LookupVerdict, WhereIsIndex, Witness,
};
pub use kit::{Axis, MountKind, RegistryEntry, COMPONENT_REGISTRY};
pub use dgx::{DgxConfig, DgxFormation, DgxNode, DgxNotConfigured, EndpointKind};
pub use error::NewtError;
pub use memory::{
MemMessage, MemoryIndex, MemoryManager, MemoryProvider, NoteStore, NotesUnsupported, Role,
RollingWindow, SessionContext, SoulProvider, SoulSource, Summarizing, TokenBudget, COACH_SOUL,
DEFAULT_CONTEXT_TOKENS, DEFAULT_SOUL, MEMORY_INDEX_BUDGET,
};
pub use metrics::{TokenUsage, TurnEndReason, TurnMetrics};
pub use model_id::ModelId;
pub use pricing::{ModelRate, PricingConfig};
pub use prompt::{
ActivePrompt, NewPrompt, PromptId, PromptOrigin, PromptReceipt, TurnPromptContext,
};
pub use reasoning::{split_reasoning, ThinkFilter};
pub use role_profile::{
Altitude, CaveatProfile, NamedPermissionPreset, RoleProfile, ScopeKeyword, ScopeSpec,
};
pub use router::{Router, Tier};
pub use session::SessionId;
pub use store::{
sanitize_fts5_query, AnswerOutcome, ClaimOutcome, ConversationStore, InjectOutcome,
InjectedPrompt, LivenessFn, PendingPermission, Roadmap, RoadmapSummary, SearchHit, StoredOwner,
Verdict,
};
pub use tokens::TokenEstimation;
pub use workflows::{
builtin_workflows, load_workflows_from_dir, merge_workflows, workflow_config_dir,
WorkflowClassifierConfig, WorkflowConfig, WorkflowSteerer, WorkflowStep,
};
pub use workspace_key::workspace_key_v2;