ae-automation

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

AE Automation

AE 自动化

See command risks. Read the command contract before writing or executing an automation. Use
ae-cli automation --help
and leaf help to discover flags.
  1. Resolve the host and space. A local user signs in with
    ae-cli auth login
    ; a sandbox uses its injected credentials. Pass
    --agent-space-id
    when the user identifies a space. Without a space, the server uses a bound sandbox space or the personal default. Show the resolved space when it matters.
  2. Discover the automation with
    automation list
    and inspect
    automation get
    . Use the returned IDs; names are not unique.
  3. For creation, select an Agent or team through the corresponding discovery commands. Match configuration to the target type. Preview writes with
    --dry-run
    when useful; the CLI shows a redacted request and asks the server to validate authentication, space, permissions, target state, fields, and idempotency without applying the operation.
  4. Execute the requested operation. Deleting an automation or stopping an execution requires confirmation; use
    --yes
    only when the user already authorized that action. In a non-interactive shell, these operations fail immediately unless global
    --yes
    is present.
  5. Read the returned run ID, then
    automation runs result
    . Report acceptance separately from completion. Use
    --wait
    only when the user needs the final outcome now.
Results are read from the server and work outside the sandbox. This skill does not read complete conversations or continue a chat. Never infer an output from a different execution sharing the same conversation.
请查看命令风险。编写或执行自动化任务前,请阅读命令约定。使用
ae-cli automation --help
和子命令帮助发现可用参数。
  1. 确定主机和空间。本地用户使用
    ae-cli auth login
    登录;sandbox 使用注入的凭据。当用户指定空间时,传入
    --agent-space-id
    。未指定空间时,服务器会使用已绑定的 sandbox 空间或个人默认空间。在相关场景下,应明确显示最终确定的空间。
  2. 使用
    automation list
    查找自动化任务,并通过
    automation get
    查看详情。使用返回的 ID;名称并不唯一。
  3. 创建时,通过相应的发现命令选择 Agent 或团队。根据目标类型匹配配置。必要时可使用
    --dry-run
    预览写操作;CLI 会显示已脱敏的请求,并让服务器验证身份认证、空间、权限、目标状态、字段和幂等性,而不会实际应用操作。
  4. 执行请求的操作。删除自动化任务或停止执行需要确认;仅当用户已授权相应操作时使用
    --yes
    。在非交互式 shell 中,除非提供全局
    --yes
    ,否则这些操作会立即失败。
  5. 读取返回的 run ID,然后运行
    automation runs result
    。应分别报告任务是否已被接受以及是否执行完成。仅当用户需要立即获取最终结果时使用
    --wait
    。
结果从服务器读取,且可在 sandbox 之外使用。此 skill 不会读取完整对话,也不会继续聊天。绝不能根据共享同一对话的其他执行结果推断当前执行的输出。