phone_flow_publish
Publishes a verified iPhone automation flow to the official registry by updating or forking a repo, rebuilding index.json, pushing a branch, and opening a public PR only after user confirmation.
Instructions
Publish a working flow to the official registry through the user's GitHub CLI login: forks if needed, writes the flow and any new app.json, rebuilds index.json, pushes a branch and opens a public pull request. Requires confirm=true only after the user agrees to that publication. First create a draft with phone_flow_draft and prove it with phone_flow_run; use phone_flow_report to report an existing flow problem. Put device/iOS/date in verified_on; unverified flows open a draft PR. source is a local file or installed flow id; aliases are foreground-app labels by language. Returns id, repo, branch, head and pr_url; inspect the URL before retrying a failed publication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Registry id to publish as, `<app>/<flow>` lowercase slugs. | |
| note | No | What was verified, where, and anything a reviewer should know. | |
| source | Yes | Flow file path, or an id installed with `flow add`. | |
| aliases | No | Foreground-app labels per language (e.g. ["Health","健康"]). | |
| confirm | No | Must be true; set only after the user agreed to open a public PR. | |
| app_name | No | Human app name, used only when the app is new to the registry. | |
| instance | No | Installed local instance name, such as i13 or default. Omit to use the configured daemon. No fallback on failure. |