Expand description
Shared, dependency-light primitives for the Gestura workspace.
gestura-core-foundation exists so domain crates can share core models and
policies without depending on the larger gestura-core facade. This crate is
intended to stay small, stable, and broadly reusable across the workspace.
§What belongs here
- cross-cutting error and result types
- execution-mode and permission primitives
- shared event, telemetry, platform, and interaction models
- context analysis data structures reused by higher-level crates
§What does not belong here
- protocol implementations
- tool implementations
- pipeline orchestration
- GUI or CLI presentation concerns
Most application code should still import through gestura_core::*, while
domain crates may depend on this crate directly when they need a lightweight
shared foundation.
Re-exports§
pub use context::ContextCategory;pub use context::EntityType;pub use context::ExtractedEntity;pub use context::FileContext;pub use context::RequestAnalysis;pub use context::ResolvedContext;pub use context::ToolContext;pub use error::AppError;pub use error::Result;pub use execution_mode::ExecutionMode;pub use execution_mode::ModeConfig;pub use execution_mode::ModeManager;pub use execution_mode::ToolCategory;pub use execution_mode::ToolExecutionCheck;pub use execution_mode::ToolPermission;pub use outcomes::OutcomeSignal;pub use outcomes::OutcomeSignalKind;pub use permissions::PermissionLevel;
Modules§
- context
- Context data types shared across domain crates.
- error
- Application error types for Gestura.
- events
- Typed event system for real-time UI updates
- execution_
mode - Execution mode support for agent pipeline
- interaction
- Unified agent interaction model for gesture/tap/tilt + haptics
- model_
display - Model name display formatting utilities.
- outcomes
- permissions
- Permission primitives shared across Gestura core.
- platform
- Platform detection utilities.
- secrets
- Secret (API key) retrieval abstractions.
- stream_
error - Streaming Error Types
- stream_
health - Stream Health Monitoring
- stream_
reconnect - Stream Reconnection Logic
- telemetry
- Telemetry and metrics collection for Gestura.app.