feat: create task-center project tasks from native DSH conversations

This commit is contained in:
阿白叔 committed 2026-10-30 14:42:50 +08:00
1 parent e9b77186dc
commit ef40f339cd
23 files changed
+773 -31

No files matched your search

+8
View File
@@ -6,11 +6,16 @@ from dx_productivity.trial_task_center.errors import TaskCenterError
class HarnessView(QWidget):
action_requested = Signal(object)
task_creation_requested = Signal(object)
task_creation_cancelled = Signal(object)
stopped = Signal()
def __init__(self, parent):
super().__init__(parent)
self.starts = 0
self.binds = []
self.creation = {}
self.results = []
def start(self):
self.starts += 1
@@ -22,6 +27,9 @@ class HarnessView(QWidget):
def shutdown(self):
pass
def complete_task_creation(self, value):
self.results.append(value)
def test_direct_navigation_opens_harness_and_returns_without_losing_task(ui, monkeypatch, qtbot):
window = ui.window