taubyte-orchestrator
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTaubyte Orchestrator
Taubyte Orchestrator
When to Use
适用场景
Use for any Taubyte request before running resource-specific operations.
适用于任何Taubyte请求,在运行资源特定操作之前执行。
Mandatory gate order
强制门执行顺序
- (hard gate: Node.js and Docker — install/start when possible, else prompt;
taubyte-cli-prereqs/@taubyte/cli; auth via@taubyte/dreambefore GitHub-backed repo work)taubyte-auth-and-profile - (profiles,
taubyte-auth-and-profile, switches — complements Step 1 login)tau login --new taubyte-execution-modestaubyte-core-constraintstaubyte-cloud-selectiontaubyte-scope-routingtaubyte-project-and-applicationtaubyte-context-logtaubyte-resource-creation- (for Go function code paths)
taubyte-go-sdk-constraints - (if server-side vars/config/build logic is needed)
taubyte-build-runtime-config taubyte-push-build-verify- or
taubyte-dream-local-operationstaubyte-remote-cloud-operations - on failure
taubyte-debugging-and-recovery
- (硬性检查项:Node.js 和 Docker —— 尽可能自动安装/启动,否则提示用户;需安装**
taubyte-cli-prereqs** /@taubyte/cli;在处理基于GitHub的仓库工作前,需通过**@taubyte/dream**完成认证)taubyte-auth-and-profile - (配置文件、
taubyte-auth-and-profile命令、切换配置文件 —— 补充步骤1中的登录操作)tau login --new taubyte-execution-modestaubyte-core-constraintstaubyte-cloud-selectiontaubyte-scope-routingtaubyte-project-and-applicationtaubyte-context-logtaubyte-resource-creation- (针对Go函数代码路径)
taubyte-go-sdk-constraints - (若需要服务器端变量/配置/构建逻辑)
taubyte-build-runtime-config taubyte-push-build-verify- 或
taubyte-dream-local-operationstaubyte-remote-cloud-operations - 执行失败时触发
taubyte-debugging-and-recovery
Optional local host access gates (Dream)
可选本地主机访问检查项(Dream)
- when
taubyte-hosts-file-editorresources must open by hostname..localtau - to validate/launch website or API URLs using FQDN + port.
taubyte-local-host-launch
- 当资源需要通过主机名访问时,执行
.localtau。taubyte-hosts-file-editor - 执行以验证/启动使用FQDN+端口的网站或API URL。
taubyte-local-host-launch
Auto-execution policy for local runtime checks
本地运行时检查的自动执行策略
- When user asks to "execute locally", "open URL", "run function", or "test website/function", do this automatically after push/deploy:
- run (attempt automatic hosts update first),
taubyte-hosts-file-editor - run (hostname-based curl/browser-ready URLs),
taubyte-local-host-launch - return concrete URLs and curl commands.
- run
- If hosts elevation fails, provide exact manual hosts lines and continue verification with .
curl --resolve - If Docker is unavailable on Dream path, stop runtime claims and report the blocker explicitly.
- 当用户要求“本地执行”、“打开URL”、“运行函数”或“测试网站/函数”时,在推送/部署后自动执行以下操作:
- 运行(先尝试自动更新主机文件),
taubyte-hosts-file-editor - 运行(生成基于主机名的curl命令或可直接在浏览器打开的URL),
taubyte-local-host-launch - 返回具体的URL和curl命令。
- 运行
- 如果主机文件提权更新失败,提供精确的手动主机文件添加内容,并使用继续验证。
curl --resolve - 如果Dream路径下Docker不可用,停止运行时相关操作并明确报告阻塞问题。
Rules
规则
- Applications: do not create or select an application by default. Follow and
taubyte-scope-routing: use project-only context for simple website or function (and global resources) unless the user wants multiple contexts/applications or the task is application-scoped.taubyte-project-and-application - Do not skip or reorder gates.
- If fails (missing Node or Docker / daemon not running, missing
taubyte-cli-prereqswhen GitHub is needed, or missingtau login/tau), stop immediately.dream - Default to non-interactive mode.
- Use JSON verification () after context changes.
tau --json current - Keep commands sequential when selection/context can change.
- Load when additional command/topic depth is needed.
taubyte-reference-index - Load only for cloud deployment/self-hosting requests.
taubyte-spore-drive-sdk
- 应用程序: 默认不创建或选择应用程序。遵循**和
taubyte-scope-routing的规则:对于简单的网站或函数**(以及全局资源),仅使用项目级上下文,除非用户需要多上下文/多应用程序或任务是应用程序范围的。taubyte-project-and-application - 不得跳过或重新排序检查项。
- 如果检查失败(缺少Node或Docker/守护进程未运行,处理GitHub相关工作时未完成
taubyte-cli-prereqs,或缺少tau login/tau工具),立即停止操作。dream - 默认使用非交互模式。
- 上下文变更后使用JSON验证()。
tau --json current - 当选择/上下文可能发生变化时,保持命令按顺序执行。
- 当需要更深入的命令/主题信息时,加载。
taubyte-reference-index - 仅在云部署/自托管请求时加载。
taubyte-spore-drive-sdk