feat(core): Add error types, config, and data model for items and events.

This commit is contained in:
2026-03-13 21:55:11 -04:00
parent de0431778f
commit 9ed8e898a5
7 changed files with 324 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
//! Core engine for pikl-menu. Handles filtering, navigation,
//! hooks, and the menu event loop. No rendering or terminal
//! deps. Frontends are separate crates that talk to this
//! through channels.
mod model;
mod query;
mod runtime;
pub mod script;
pub mod error;
// Re-export submodules at crate root so the public API stays flat.
pub use model::event;
pub use model::item;
pub use model::traits;
pub use query::filter;
pub use query::navigation;
pub use runtime::hook;
pub use runtime::input;
pub use runtime::json_menu;
pub use runtime::menu;