feat: replace draft output bind with general bind

This commit is contained in:
lda
2026-06-28 00:38:42 +07:00 Verified
parent b96ba0f7d1
commit 955c43d808
25 changed files with 1246 additions and 138 deletions
+3 -3
View File
@@ -724,13 +724,13 @@ async def test_rpc_draft_workspace_focused_edit_methods(tmp_path) -> None:
)
state_bound = await _rpc(
client,
"workflow.draft_workspaces.bind_output_to_state",
"workflow.draft_workspaces.bind",
{
"workspace_id": "focused_ws",
"revision": 7,
"step_id": "call",
"output_field": "value",
"state_path": "state.extra_value",
"source_path": "local.value",
"target_path": "state.extra_value",
},
)
fetched = await _rpc(
+3 -3
View File
@@ -501,12 +501,12 @@ async def test_rpc_client_draft_workspace_focused_edit_methods(tmp_path) -> None
output_map={"extra": "state.extra"},
merge=True,
)
state_bound = await client.bind_output_to_state(
state_bound = await client.bind_draft(
workspace_id="client_focused_ws",
revision=7,
step_id="call",
output_field="value",
state_path="state.extra_value",
source_path="local.value",
target_path="state.extra_value",
)
assert named["revision"] == 2