Wires the ported Tasks screen + core task subsystem through App.tsx: sticky Clear Completed, cancel/refresh error toasts, core-side per-task progress correlation, Run-as-task on the Tools screen (gated on server support), per-server Task TTL, and live task-status toasts.
This commit is contained in:
parent
8923a9bbf9
commit
ed6eda7492
1 changed files with 1192 additions and 40 deletions
|
|
@ -114,6 +114,13 @@ export interface InspectorClientEventMap {
|
|||
error?: McpError;
|
||||
};
|
||||
taskCancelled: { taskId: string };
|
||||
/**
|
||||
* Fired from callToolStream when a progress notification arrives for a
|
||||
* task-augmented tool call, tagged with the taskId callToolStream owns so
|
||||
* consumers can correlate progress → task (the generic progressNotification
|
||||
* event carries only the caller's progressToken, not the taskId).
|
||||
*/
|
||||
requestorTaskProgress: { taskId: string; progress: Progress };
|
||||
tasksChange: Task[];
|
||||
// Signal events (no payload)
|
||||
connect: void;
|
||||
|
|
|
|||
Loading…
Reference in a new issue