feat: enhance human input handling by adding filled data support

This commit is contained in:
twwu
2026-01-04 11:31:09 +08:00
parent d478822fe1
commit 9ec127ea8f
11 changed files with 119 additions and 19 deletions

View File

@ -331,6 +331,20 @@ export type HumanInputRequiredResponse = {
data: HumanInputFormData
}
export type HumanInputFormFilledData = {
node_id: string
rendered_content: string
action_id: string
action_text: string
}
export type HumanInputFormFilledResponse = {
task_id: string
workflow_run_id: string
event: string
data: HumanInputFormFilledData
}
export type WorkflowRunHistory = {
id: string
version: string