fix(worker,ui): clean up three review leftovers from the list-handler run
Remove the redundant TaskUpdated broadcast in TaskRunner.ContinueAsync's queue-claim path, consolidate InteractiveLaunchSpecService's seven MCP_TOOL_TIMEOUT literals into one constant (fixing the merge-helper handoff spec's stale 200000ms value), and surface OpenQuickClaudeSession's two failure cases via ErrorReported/footer instead of a silent no-op, with a less ambiguous icon.
This commit is contained in:
@@ -88,7 +88,16 @@ public sealed partial class TasksIslandViewModel : ViewModelBase, IDisposable
|
||||
private void OpenQuickClaudeSession()
|
||||
{
|
||||
var dir = _currentList?.WorkingDir;
|
||||
if (string.IsNullOrWhiteSpace(dir) || !System.IO.Directory.Exists(dir)) return;
|
||||
if (string.IsNullOrWhiteSpace(dir))
|
||||
{
|
||||
ErrorReported?.Invoke(Loc.T("vm.tasksIsland.quickClaudeNoWorkingDir"));
|
||||
return;
|
||||
}
|
||||
if (!System.IO.Directory.Exists(dir))
|
||||
{
|
||||
ErrorReported?.Invoke(Loc.T("vm.tasksIsland.quickClaudeDirMissing", dir));
|
||||
return;
|
||||
}
|
||||
OpenQuickClaudeSessionRequested?.Invoke(dir);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user