Closed ykeremy closed 2 months ago
Skipped PR review on 43d0d07d59de88905fbad09bfdb6c915c26b8b1d because no changed files had a supported extension. If you think this was in error, please contact us and we'll fix it right away.
Generated with :heart: by ellipsis.dev
Summary:
Added support for handling email and TOTP verification codes by introducing new columns and updating relevant logic in agents and action handlers.
Key points:
verification_url
column toorganizations
table inalembic/versions/2024_07_10_0620-c76ea86fc6bc_add_verification_url_to_organizations_.py
.totp_verification_url
column totasks
,workflows
, andworkflow_runs
tables inalembic/versions/2024_07_12_0321-370cb81c73e7_add_totp_verification_url_to_tasks_.py
.SPECIAL_FIELD_VERIFICATION_CODE
andVERIFICATION_CODE_POLLING_TIMEOUT_MINS
inskyvern/constants.py
.skyvern/forge/agent.py
to handle verification code in_build_navigation_payload
,_build_and_record_step_prompt
,create_task_and_step_from_block
, andcreate_task
.aiohttp_post
function inskyvern/forge/sdk/core/aiohttp_helper.py
for making POST requests.generate_six_digit_number
function inskyvern/forge/sdk/core/security.py
for generating verification codes.OrganizationModel
,TaskModel
,WorkflowModel
, andWorkflowRunModel
inskyvern/forge/sdk/db/models.py
to includeverification_url
andtotp_verification_url
.convert_to_organization
,convert_to_task
,convert_to_workflow
, andconvert_to_workflow_run
inskyvern/forge/sdk/db/utils.py
to handleverification_url
andtotp_verification_url
.Organization
model inskyvern/forge/sdk/models.py
to includeverification_url
.create_task
,create_workflow
, andcreate_workflow_run
inskyvern/forge/sdk/db/client.py
to includetotp_verification_url
.TaskRequest
andWorkflowRequestBody
inskyvern/forge/sdk/schemas/tasks.py
andskyvern/forge/sdk/workflow/models/workflow.py
to includetotp_verification_url
.create_workflow_from_request
andsend_workflow_response
inskyvern/forge/sdk/workflow/service.py
to handletotp_verification_url
.handle_input_text_action
,get_actual_value_of_parameter_if_secret
, andpoll_verification_code
inskyvern/webeye/actions/handler.py
to fetch real verification code fromverification_url
andtotp_verification_url
.Generated with :heart: by ellipsis.dev