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:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user