Agentuity云部署命令行工具Skill agentuity-cli-cloud-deploy

这是一个用于将项目部署到Agentuity云平台的命令行工具。它支持通过CI/CD流程自动化部署,提供标签管理、日志追踪、部署状态监控等功能。关键词:Agentuity云部署、CI/CD自动化、命令行工具、云平台部署、DevOps工具、项目部署、部署管理、云服务集成。

DevOps 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
  • auth login

使用方法

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 布尔值 部署是否成功
deploymentId 字符串 部署ID
projectId 字符串 项目ID
logs 数组 部署启动日志
urls 对象 部署URL