Add MCP tools for session lifecycle management: - session_start: Begin work session with realm context detection - session_stop: End session with duration and activity summary Session state stored in .blue/session file tracks: - Session ID, realm, repo - Active RFC being worked on - Active domains (auto-detected from bindings) - Contracts being modified (exports) and watched (imports) Implementation details: - SessionState struct with save/load/delete methods - Automatic domain and contract detection from realm bindings - Duration calculation on session stop - 6 new tests for session functionality Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
23 lines
543 B
TOML
23 lines
543 B
TOML
[package]
|
|
name = "blue-mcp"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "MCP server - Blue's voice"
|
|
|
|
[dependencies]
|
|
blue-core.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
serde_yaml.workspace = true
|
|
thiserror.workspace = true
|
|
anyhow.workspace = true
|
|
tokio.workspace = true
|
|
tracing.workspace = true
|
|
chrono.workspace = true
|
|
git2.workspace = true
|
|
regex.workspace = true
|
|
|
|
[dev-dependencies]
|
|
blue-core = { workspace = true, features = ["test-helpers"] }
|
|
tempfile.workspace = true
|