feat: prepare 2.2.0 with UI and execution fixes
Add dark theme, richer Markdown and readable plugin results. Improve Android input evidence, response integrity and diagnostics. Unify lifecycle, guidance receipts and evidence sources across clients. Keep direct action dispatch without an added AI quota approval layer. Align version metadata at 2.2.0 and bundle Helper 1.2.2. Validation: 3063 backend tests before the version bump; 44 after. Frontend: 317 tests and production build passed.
This commit is contained in:
1 parent
83bcfd54d5
commit
fac4ccb760
146 files changed
+5689
-2033
No files matched your search
@@ -1018,6 +1018,7 @@ class DataEngine:
|
||||
status: str = "success",
|
||||
duration: float | None = None,
|
||||
trace_id: UUID | None = None,
|
||||
durable: bool = False,
|
||||
) -> UUID:
|
||||
"""Record a trace (agent, tool, or log), non-blocking."""
|
||||
if not self.current_session_id:
|
||||
@@ -1046,7 +1047,12 @@ class DataEngine:
|
||||
payload=payload,
|
||||
)
|
||||
|
||||
self._run_in_background(self.storage.create_trace, trace)
|
||||
if durable:
|
||||
# Execution budgets must be committed before the device receives
|
||||
# an input. Reuse the trace database and normal event publication.
|
||||
self.storage.create_trace(trace)
|
||||
else:
|
||||
self._run_in_background(self.storage.create_trace, trace)
|
||||
|
||||
# Publish event
|
||||
trace_dict = trace.model_dump()
|
||||
|
||||
Reference in new issue
Block a user