codewhale_core/ids.rs
1//! `ThreadId` / `SessionId` for the `crates/core` boundary (issue #5261).
2//!
3//! Re-exports the protocol ids so every crate that depends on `core` (the
4//! TUI, CLI, app-server) speaks the same typed ids without depending on
5//! `protocol` directly. The persisted JSON shape stays a plain string
6//! (`"thread-…"` / `"session-…"`) so existing `state.json` / `threads/`
7//! files need no migration.
8
9pub use codewhale_protocol::ids::{SessionId, ThreadId};