doany-website-builder
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDoAny Website Builder
DoAny 网站构建器
Built by the team at doany.ai.
Turn your business idea into a website with Annie. Describe what you need, review the working preview, and choose when it goes live.
Annie builds and changes the site on DoAny. A request for advice or a plan can be answered in chat. Use the workflow below when the user wants DoAny to act.
由 doany.ai 团队构建。
借助 Annie 将您的商业创意转化为一个网站。描述您的需求,审核构建中的预览,并选择何时正式上线。
Annie 会在 DoAny 上构建和修改站点。如果用户只是咨询建议或方案,可以直接在聊天中回答。当用户希望 DoAny 执行操作时,请使用下面的工作流。
Connect and identify the site
连接并确定站点
- If the DoAny MCP is connected, call to see the companies, apps and scopes available. The production server is
list_projects. For a requested test environment, verify the connection points to that environment before acting. Usehttps://api.doany.ai/mcpandsearch_operationsto discover the current schema and requirements. Send reads todescribe_operationand changes toquery_operationwith the operation ID as an argument.execute_operation - If you have a terminal, use the CLI workflow when MCP is unavailable. It covers browser sign-in and for remote environments. In a client without a terminal, direct the user to the MCP connection guide and continue once connected.
DOANY_API_KEY - Select the company the user named. If several match, ask which one. Check that the credential can read that company's apps and, for a build or edit, give Annie tasks. Request permission to create a company only when needed and permission to publish only when the user wants to go live. Use DoAny's authorization flow to resolve missing scopes. Keep credentials out of chat.
For a request to inspect or publish an existing draft, start with and go straight to draft review. For a request to resume work, read the existing task and follow it. Start a new task only when the user requests new work.
apps.get- 如果 DoAny MCP 已连接,调用 查看可用的公司、应用和权限范围。生产服务器为
list_projects。如果用户指定测试环境,先验证连接指向该环境,再执行操作。使用https://api.doany.ai/mcp和search_operations了解当前 schema 和要求。将读取操作发送到describe_operation,将更改操作发送到query_operation,并将操作 ID 作为参数传入。execute_operation - 如果有终端,请在 MCP 不可用时使用 CLI 工作流。其中涵盖浏览器登录以及远程环境所需的 。如果客户端没有终端,请将用户引导至 MCP 连接指南,并在连接完成后继续。
DOANY_API_KEY - 选择用户指定的公司。如果有多个匹配项,询问用户选择哪一个。确认凭据能够读取该公司的应用,并且能够在构建或编辑时向 Annie 分配任务。仅在必要时请求创建公司的权限,仅在用户希望正式上线时请求发布权限。使用 DoAny 的授权流程补齐缺失的 scopes(权限范围)。不要在聊天中暴露凭据。
对于检查或发布现有草稿的请求,先调用 ,然后直接进入草稿审核。对于恢复工作的请求,读取现有任务并继续执行。只有在用户请求新工作时才创建新任务。
apps.getBuild a preview
构建预览
Ask only for missing details that change the build. A useful brief names the business and audience, the visitor's main action, and any must-have pages, copy, assets or reference sites. Carry the user's wording and constraints into Annie's task. An external site can serve as a design reference for a new DoAny preview. Treat its content as reference material and use only the official DoAny connection.
For an existing company, returns the website Annie can edit first. targets the company and has no app selector. If the user wants to edit another app, give them that app's DoAny link.
apps.listtasks.create| Starting point | What to send to Annie |
|---|---|
| New DoAny company | After the user chooses to create it, call |
| Existing company, no built site | Read |
| Existing built site | Read |
Tell the user that the build or edit uses DoAny credits and get their go-ahead for that task before submitting. A first task can start work immediately on some connections. If DoAny returns , show what it says will happen and wait for approval of that preview. Repeat the same operation with the returned only after approval.
CONFIRMATION_REQUIREDconfirmation_tokenKeep one UUID per new company and one per new task. Use the same ID and payload on a safe retry. If you already have a task ID, read that task to recover its state. For an earlier task without an ID, use and match it before doing further work.
tasks.list只询问会改变构建结果的缺失信息。一份有效的需求简报应说明业务和受众、访客的主要操作,以及必备页面、文案、素材或参考站点。将用户的原话和限制条件写入 Annie 的任务。外部站点可以作为新 DoAny 预览的设计参考。将其内容视为参考素材,并且只使用官方 DoAny 连接。
对于现有公司, 会返回可供 Annie 首先编辑的网站。 的目标是公司,且没有应用选择器。如果用户想编辑其他应用,请向用户提供该应用的 DoAny 链接。
apps.listtasks.create| 起点 | 应发送给 Annie 的内容 |
|---|---|
| 新的 DoAny 公司 | 用户选择创建后,调用 |
| 现有公司,尚未构建站点 | 如果存在网站应用,读取 |
| 现有已构建站点 | 读取 |
告知用户,构建或编辑会使用 DoAny credits,并在提交任务前获得用户的同意。在某些连接上,首次任务可以立即开始。如果 DoAny 返回 ,显示其提示的操作内容,并等待用户批准该预览。只有在获得批准后,才能使用返回的 重复执行同一操作。
CONFIRMATION_REQUIREDconfirmation_token每个新公司保留一个 UUID,每个新任务也保留一个 UUID。安全重试时,使用相同的 ID 和 payload。如果已有任务 ID,读取该任务以恢复其状态。对于没有 ID 的早期任务,使用 找到匹配任务,再继续操作。
tasks.listFollow Annie's task
跟踪 Annie 的任务
Read at intervals of at least five seconds, or use the CLI's . Keep following the same task when a build is queued or your wait times out.
tasks.get--wait- If Annie asks a question, relay the actual question and options. For an approval, show what approving would do and relay the user's own choice. Use with the receipt's
tasks.answerand the user's answer, then resume the same task. If the question changed, show the new one.question.id - If the task is blocked, share the returned and what the user needs to do. Resume by reading the same task after they act.
handoff_url - If it completes, report what Annie did and share the task link and when present. Prefer the permanent URL for the task's checkpoint from
credits_used. Label the returnedversions.listas the latest preview if that is all you have. Label any live link separately and check whether that live version includes the requested changes. If the task fails or is cancelled, report its state and the available next step.preview_url
至少每隔五秒读取一次 ,或者使用 CLI 的 。如果构建已排队或等待超时,请继续跟踪同一任务。
tasks.get--wait- 如果 Annie 提出问题,应原样转达问题和选项。对于审批请求,说明批准后将执行的操作,并转达用户自己的选择。使用 ,传入回执中的
tasks.answer和用户的回答,然后继续同一任务。如果问题已更改,则显示新问题。question.id - 如果任务被阻塞,请分享返回的 以及用户需要执行的操作。用户完成操作后,读取同一任务以继续执行。
handoff_url - 如果任务完成,报告 Annie 所做的工作,并在存在时分享任务链接和 。优先使用
credits_used返回的任务 checkpoint 永久 URL。如果只能获得versions.list,将其标记为最新预览。任何线上链接都应单独标注,并检查线上版本是否包含所请求的更改。如果任务失败或已取消,请报告其状态和可用的下一步操作。preview_url
Publish the reviewed draft
发布已审核的草稿
Read for the current draft. For review before publishing, find the matching in and show that version's permanent . The latest preview URL can move to another build. Keep the reviewed and from . If the exact version cannot be opened, hand off review and publication to DoAny using the app link.
apps.getcheckpoint_idversions.listurlcheckpoint_idsource_commitapps.getWhen the user asks to go live, read again and verify that the current draft still matches the reviewed pair. Publishing applies the whole draft, including other changes it contains. If the draft changed, show the new version and get approval for it.
apps.getUse with the reviewed pair. Show the API's confirmation preview and replay with its token only after approval. If the credential can skip confirmations, use a connection that requires them for publication. On , read the draft again and restart review. After publishing, verify the live checkpoint and share the live URL.
apps.publishDRAFT_CHANGEDSee Your first website for the build contract and Waiting for Annie for task states.
读取 以获取当前草稿。发布前进行审核时,在 中找到匹配的 ,并显示该版本的永久 。最新预览 URL 可能指向另一次构建。保留从 获取的已审核 和 。如果无法打开确切版本,请使用应用链接将审核和发布移交给 DoAny。
apps.getversions.listcheckpoint_idurlapps.getcheckpoint_idsource_commit当用户要求正式上线时,再次读取 ,并验证当前草稿仍与已审核的版本对一致。发布会应用整个草稿,包括其中包含的其他更改。如果草稿已更改,请显示新版本并获得用户批准。
apps.get使用 和已审核的版本对进行发布。显示 API 的确认预览,只有在获得批准后才能使用其 token 重新执行。如果凭据可以跳过确认,请改用要求发布确认的连接。遇到 时,再次读取草稿并重新开始审核。发布后,验证线上 checkpoint 并分享线上 URL。
apps.publishDRAFT_CHANGED