Status LEDs, image model selection, backup restore, provider test, monthly versions
- Sidebar: three status LEDs (server, models, MCP) with an overview popover (/api/status) - Images: preview stage, purpose-based model choice and reference images (Nano Banana Pro edit refines the chosen preview) - Settings: restore a stored or uploaded backup (staged, applied on restart) - Provider form: test connection; saving or reloading re-checks the status at once - opencode Zen/Go: send x-opencode-session with a stable id per conversation - Releases are named vYYYYMM-NNNNN; scripts/release.sh numbers, tags, builds and publishes - Fix: backups made in the same second no longer overwrite each other Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
49d404eec7
commit
1f69d63b09
35 files changed
+1156
-88
No files matched your search
+6
-1
@@ -160,7 +160,7 @@ impl McpServer {
|
||||
json!({
|
||||
"protocolVersion": PROTOCOL_VERSION,
|
||||
"capabilities": {"elicitation": {}, "roots": {"listChanged": false}},
|
||||
"clientInfo": {"name": "codecraft", "version": env!("CARGO_PKG_VERSION")}
|
||||
"clientInfo": {"name": "codecraft", "version": codecraft_core::version::VERSION}
|
||||
}),
|
||||
)
|
||||
.await?;
|
||||
@@ -452,6 +452,11 @@ pub struct McpManager {
|
||||
}
|
||||
|
||||
impl McpManager {
|
||||
/// Connection state per server (for the status overlay).
|
||||
pub fn states(&self) -> BTreeMap<String, McpState> {
|
||||
self.states.lock().unwrap().clone()
|
||||
}
|
||||
|
||||
pub fn status_json(&self) -> Value {
|
||||
let states = self.states.lock().unwrap();
|
||||
let servers = self.servers.lock().unwrap();
|
||||
|
||||
Reference in new issue
Block a user