AgentSkillsCN

agentuity-cli-cloud-deployment-rollback

回滚到上一个部署。需要认证。用于 Agentuity 云平台操作

SKILL.md
--- frontmatter
name: agentuity-cli-cloud-deployment-rollback
description: Rollback the latest to the previous deployment. Requires authentication. Use for Agentuity cloud platform operations
version: "0.1.2"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
metadata:
  command: "agentuity cloud deployment rollback"
  tags: "destructive deletes-resource updates-resource slow api-intensive requires-auth requires-deployment"

Cloud Deployment Rollback

Rollback the latest to the previous deployment

Prerequisites

  • Authenticated with agentuity auth login
  • cloud deploy

Usage

bash
agentuity cloud deployment rollback [options]

Options

OptionTypeRequiredDefaultDescription
--project-idstringYes-Project ID

Examples

Rollback to previous deployment:

bash
bunx @agentuity/cli cloud deployment rollback

Rollback specific project:

bash
bunx @agentuity/cli cloud deployment rollback --project-id=proj_abc123xyz

Output

Returns JSON object:

json
{
  "success": "boolean",
  "projectId": "string",
  "targetDeploymentId": "string"
}
FieldTypeDescription
successbooleanWhether the rollback succeeded
projectIdstringProject ID
targetDeploymentIdstringDeployment ID that was rolled back to