mirror of
https://github.com/actionbook/actionbook.git
synced 2026-09-19 03:28:06 +08:00
abc2d56e39
* [packages/cli-v2]feat: session ID format change SLOCAL-N/SCLOUD-N/SEXT-N (#189) - SessionId.is_valid() now accepts SLOCAL-N, SCLOUD-N, SEXT-N (uppercase prefix + digits) - auto_generate(mode, n) replaces old auto_generate(n); generates mode-prefixed IDs - from_profile() updated to pass mode to auto_generate fallback - SessionRegistry drops next_auto_id counter; generates IDs via per-prefix max active N scan - generate_session_id() takes Mode instead of profile; profile no longer affects ID - Wrap at 10000, skip occupied (active) slots Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * [packages/cli-v2]chore: cargo fmt Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>