Agentuity云部署CLI工具 agentuity-cli-cloud-deploy

这是一个用于将项目部署到Agentuity云平台的命令行工具。它支持通过CI/CD集成进行自动化部署,提供详细的部署选项和日志输出。主要功能包括:云平台部署、CI/CD集成、标签管理、部署监控。适用于DevOps工程师、云平台管理员和开发人员,用于简化云原生应用的部署流程。

CI/CD 0 次安装 0 次浏览 更新于 2/28/2026

name: agentuity-cli-cloud-deploy description: 将项目部署到Agentuity云平台。需要身份验证。用于Agentuity云平台操作 version: “0.0.103” license: Apache-2.0 allowed-tools: “Bash(agentuity:*)” metadata: command: “agentuity cloud deploy” tags: “mutating creates-resource slow api-intensive requires-auth requires-project”

云部署

将项目部署到Agentuity云平台

先决条件

  • 已通过 agentuity auth login 完成身份验证
  • 需要项目上下文(从项目目录运行或使用 --project-id
  • 身份验证登录

使用方法

agentuity cloud deploy [选项]

选项

选项 类型 是否必需 默认值 描述
--tag 数组 ["latest"] 要添加到部署的一个或多个标签
--logsUrl 字符串 - CI构建日志的URL
--trigger 字符串 "cli" 触发构建的原因
--commitUrl 字符串 - CI提交的URL
--message 字符串 - 与此部署关联的消息
--provider 字符串 - CI提供程序名称(尝试自动检测)
--event 字符串 "manual" 触发部署的事件
--pullRequestNumber 数字 - 拉取请求编号
--pullRequestCommentId 字符串 - 拉取请求评论ID
--pullRequestURL 字符串 - 拉取请求URL

示例

部署当前项目:

bunx @agentuity/cli cloud deploy

使用详细输出进行部署:

bunx @agentuity/cli cloud deploy --log-level=debug

使用特定标签进行部署:

bunx @agentuity/cli cloud deploy --tag a --tag b

输出

返回JSON对象:

{
  "success": "boolean",
  "deploymentId": "string",
  "projectId": "string",
  "logs": "array",
  "urls": "object"
}
字段 类型 描述
success boolean 部署是否成功
deploymentId string 部署ID
projectId string 项目ID
logs array 部署启动日志
urls object 部署URL