Clients take a flow's id or key: one resolver in the SDK, id first, explicit id:/key:, a warning for reads and a refusal for changes when a name means two flows, deleted flows found by their last key; sync creates by POST, retries a create race through the drift checks and reports the id; MCP gets create_flow and resolves every flow argument with the caller's token; displays show flow_name; an engine from before ids is named as such

This commit is contained in:
2026-11-02 19:39:14 +01:00
parent fd637e0f1e
commit 53916d869b
20 changed files with 816 additions and 147 deletions
+1 -1
View File
@@ -657,7 +657,7 @@ class ServeApp(App[int]):
"·" if run_id in self.picked else " ",
run_id[-8:],
str(row.get("status", "")),
str(row.get("flow", "")),
str(row.get("flow_name") or row.get("flow", "")),
_dur(row.get("duration_ms")),
params.ljust(room) if len(params) <= room else params[: room - 1] + "…",
key=run_id,
+1 -1
View File
@@ -163,7 +163,7 @@ class CompareScreen(Screen[None]):
def show_table(self, rows: list[dict[str, Any]], names: list[str]) -> None:
self.names = names
flow = str(rows[0].get("flow", "")) if rows else ""
flow = str(rows[0].get("flow_name") or rows[0].get("flow", "")) if rows else ""
drawn = (
f" {MAX_SERIES} of {len(self.ids)} drawn"
if len(self.ids) > MAX_SERIES