Open a run or pipeline in a new chat

The run and pipeline More menus offer Open in chat: a new chat in the
run's (or the pipeline's latest run's) workspace opens on the Chat tab
with a draft naming the run or pipeline and how to inspect or change it.
This commit is contained in:
2026-11-13 12:38:27 +00:00
parent df0614e2f7
commit e5403ae257
20 changed files with 680 additions and 15 deletions
+4
View File
@@ -96,6 +96,10 @@ class ChatRuntime extends ChangeNotifier {
/// link) resolves the same row without a second list request.
final Map<String, JsonMap> opened = {};
/// Drafts seeded by an external action such as Open in chat. They are
/// consumed by the first composer for that session.
final Map<String, String> pendingDrafts = {};
/// Each row as the list last reported it (without its live `running`), so
/// [adoptRows] adopts only what a re-read changed.
final Map<String, JsonMap> _listed = {};