agent.run gains views: the agent may return an OpenUI Lang view of its answer through an optional view tool, read as steps.<id>.view. human.approve stores it as the task's plan_view, and the approval card renders it with the dashboard's own components, falling back to the plan text when there is no view or it does not parse. The feasibility prd step uses it.
8 lines
208 B
SQL
8 lines
208 B
SQL
-- An OpenUI Lang view of a task's plan, rendered on the approval card.
|
|
|
|
-- +goose Up
|
|
ALTER TABLE tasks ADD COLUMN plan_view text NOT NULL DEFAULT '';
|
|
|
|
-- +goose Down
|
|
ALTER TABLE tasks DROP COLUMN plan_view;
|