[IMP] OneCAD rebrand: OneCAD wordmark + direct-to-workspace launch, no splash hold, no external links (docs/GitHub removed, local reports), all visible strings + locales OneCAD
This commit is contained in:
1 parent
ac05e26934
commit
a824c1eb75
33 files changed
+472
-461
No files matched your search
@@ -179,7 +179,7 @@ impl Worker {
|
||||
|
||||
/// One MCP request to the server; its `result`.
|
||||
fn mcp_call(&mut self, method: &str, params: Value) -> Result<Value, String> {
|
||||
let Some(m) = self.mcp.as_ref() else { return Err("no SolidCraft tools in this session".into()) };
|
||||
let Some(m) = self.mcp.as_ref() else { return Err("no OneCAD tools in this session".into()) };
|
||||
self.next += 1;
|
||||
let id = self.next;
|
||||
m.send(&json!({"jsonrpc": "2.0", "id": id, "method": method, "params": params}));
|
||||
@@ -202,9 +202,9 @@ impl Worker {
|
||||
}
|
||||
return Ok(v.get("result").cloned().unwrap_or(Value::Null));
|
||||
}
|
||||
Ok(FromAgent::Exited(_)) => return Err("the SolidCraft tools stopped".into()),
|
||||
Ok(FromAgent::Exited(_)) => return Err("the OneCAD tools stopped".into()),
|
||||
Err(std::sync::mpsc::RecvTimeoutError::Timeout) if std::time::Instant::now() < deadline => {}
|
||||
Err(_) => return Err("the SolidCraft tools did not answer".into()),
|
||||
Err(_) => return Err("the OneCAD tools did not answer".into()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user