docs: 明确工作流灰度节点环境互斥规则
说明每个企业的工作流只对应标准 Piper 或测试 Piper 之一,并同步更新 Skill、CLI 帮助、工作流文档和路由注释。保留 --is-test 显式选择,不根据企业标记推断,也不自动切换环境。
This commit is contained in:
1 parent
e58841e164
commit
c8adf0e051
6 files changed
+13
-6
No files matched your search
@@ -286,7 +286,7 @@ export const COMMAND_METADATA: Record<string, CliCommandMetadata> = {
|
||||
"--parent=<executionId> 展开循环/分支子节点",
|
||||
"--logs=<executionId> 查看节点执行日志",
|
||||
"--dry-run 只预览写操作",
|
||||
"--is-test 使用测试 Piper 环境",
|
||||
"--is-test 选择测试 Piper;每个企业的工作流只在标准/测试环境之一,不会自动回退",
|
||||
"--yes/--confirm 确认写操作"
|
||||
],
|
||||
"aliases": [
|
||||
|
||||
@@ -89,13 +89,13 @@ export async function handleNodeCommand(
|
||||
"",
|
||||
"子命令 (企业灰度节点级别):",
|
||||
" nodes [list] [--all] 列出当前企业已开通的节点字典 (别名: probe, catalog)",
|
||||
" nodes grant <type...> [--is-test] 为当前企业开通灰度节点",
|
||||
" nodes grant <type...> [--is-test] 为当前企业开通灰度节点(标准/测试 Piper 二选一)",
|
||||
"",
|
||||
"示例:",
|
||||
" hose-use workflow nodes",
|
||||
" hose-use workflow nodes --all",
|
||||
" hose-use workflow nodes grant code-js2",
|
||||
" hose-use workflow nodes grant code-js2 --is-test",
|
||||
" hose-use workflow nodes grant code-js2 --is-test # 仅用于工作流位于测试 Piper 的企业",
|
||||
" hose-use workflow node list 896398895352487950",
|
||||
].join("\n") + "\n",
|
||||
exitCode: 1,
|
||||
|
||||
Reference in new issue
Block a user