Problem
Right now the PR-URL is not persisted in the state, but this is required for the "Open-PR" button to be displayed.
Solution
Make sure the PR-URL is persisted. This could be done by moving the PR creation into the post_prompt_commands and add a save_ post_prompt_commands_output_to_state: true that tells the orchestrator that the post_prompt_commands returns a json object and all properties of the json object should be persisted to the state, overwriting existing values.
This could then be used so the post_prompt_commands returns { "PRURL": "..." } and the orchestrator then updates the state from that.
Same functionality should also be added to the pre_prompt_commands.
Problem
Right now the PR-URL is not persisted in the state, but this is required for the "Open-PR" button to be displayed.
Solution
Make sure the PR-URL is persisted. This could be done by moving the PR creation into the
post_prompt_commandsand add asave_ post_prompt_commands_output_to_state: truethat tells the orchestrator that thepost_prompt_commandsreturns a json object and all properties of the json object should be persisted to the state, overwriting existing values.This could then be used so the
post_prompt_commandsreturns{ "PRURL": "..." }and the orchestrator then updates the state from that.Same functionality should also be added to the
pre_prompt_commands.