Files
sam 54a78175b4 feat(workflow): render a PRD's generated view on the plan approval card
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.
2026-10-25 16:33:04 +11:00

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;