Ask the ActivitySmith account owner for a decision or a choice before you act. Sends a Time Sensitive Push Notification to their iPhone; tapping it opens a review screen in the ActivitySmith app that shows everything you include, where they approve, reject, or type a reply. Waits up to 45 seconds. If the result is pending, call wait_for_approval repeatedly with the returned approval ID, which stays valid across client timeouts and reconnects. The result status is approved, rejected, replied, chosen, timed_out (after 30 minutes), or cancelled. When it is replied, read the reply text and act on it; do not run the operation unless the reply says to. When it is chosen, do what selected_option says. Give the user what they need to decide: execution_context and scope for a command or tool call, changes for file edits, links to a pull request, preview, docs, or anything else that helps them check the work, and screenshots (upload them first with prepare_screenshot_upload). To let the user pick between alternatives, send 2 to 4 options instead of approve and reject. Otherwise choose action-specific approve_label and reject_label values, such as Send and Cancel or Deploy and Hold.
ConnectorOAuth