返回 CodeWhale
ids.rs
根目录 / crates / core / src / 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
9 pub use codewhale_protocol::ids::{SessionId, ThreadId};
10
10 lines RUST