AI desktop path: plain-HTML Review and Cost tabs over the Qt bridge, gate in Python
ai_sections.html pastes into the no-AI dashboard.html; ai_bridge.py adds one ai_request slot that hands every AI contract request (incl. GET /roi) to the review backend's dispatch(). Desktop page check reruns the web review and cost cases plus a tampered-page gate case. Eval fixture e-pyqt-ai added. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
128f153f84
commit
d89dce3c33
13 files changed
+203
-14
No files matched your search
@@ -63,7 +63,7 @@ def site(tmp_path_factory):
|
||||
sections = (AI / "desktop" / "ai_sections.html").read_text(encoding="utf-8")
|
||||
out = tmp_path_factory.mktemp("desktop")
|
||||
(out / "dashboard.html").write_text(html.replace("</body>", sections + "\n</body>"), encoding="utf-8")
|
||||
for f in ["server_stub.py", "bands.py"]:
|
||||
for f in ["server_stub.py", "bands.py", "pricing.py"]:
|
||||
(out / f).write_bytes((AI / "web" / f).read_bytes())
|
||||
return out
|
||||
|
||||
|
||||
Reference in new issue
Block a user