From 207747a00a0d072d4054e6c886aae7b9548d25db Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 29 May 2026 10:47:26 +0000 Subject: [PATCH] docs: update package specifications for cli, console, constants, agentdrain - constants: add AntigravityEngine to EngineName type table and engine constants code block; update AgenticEngines slice comment to include antigravity - cli: add missing gh aw env, gh aw env pull/push, gh aw view commands to command group table Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- pkg/cli/README.md | 4 ++++ pkg/constants/README.md | 21 +++++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/pkg/cli/README.md b/pkg/cli/README.md index 4a6023a89af..e832ce72f9a 100644 --- a/pkg/cli/README.md +++ b/pkg/cli/README.md @@ -49,6 +49,10 @@ All diagnostic output MUST go to `stderr` using `console` formatting helpers. St | `gh aw secrets` | `NewSecretsCommand` | Manage workflow secrets | | `gh aw secrets set` | (secret_set_command.go) | Create or update a repository secret | | `gh aw secrets bootstrap` | (secret_set_command.go) | Validate and configure all required secrets for workflows | +| `gh aw env` | `NewEnvCommand` | Manage compiler defaults as GitHub variables | +| `gh aw env pull` | (env_command.go) | Download compiler defaults into a YAML file | +| `gh aw env push` | (env_command.go) | Upload compiler defaults from a YAML file | +| `gh aw view` | `NewViewCommand` | Render unified timeline and safe outputs for a workflow run | | `gh aw lint` | `NewLintCommand` | Lint existing `.lock.yml` workflows with actionlint | | `gh aw experiments` | `NewExperimentsCommand` | Explore ongoing A/B experiments in the repository (hidden) | | `gh aw experiments list` | `NewExperimentsListSubcommand` | List all experiment workflow branches | diff --git a/pkg/constants/README.md b/pkg/constants/README.md index 39a6d0f97b7..1f7ab6c8075 100644 --- a/pkg/constants/README.md +++ b/pkg/constants/README.md @@ -24,7 +24,7 @@ The package uses typed aliases to prevent mixing unrelated string or integer val | Type | Description | Example constant | |------|-------------|-----------------| -| `EngineName` | AI engine identifier | `CopilotEngine`, `ClaudeEngine`, `CodexEngine`, `GeminiEngine`, `OpenCodeEngine`, `CrushEngine`, `PiEngine` | +| `EngineName` | AI engine identifier | `CopilotEngine`, `ClaudeEngine`, `CodexEngine`, `GeminiEngine`, `AntigravityEngine`, `OpenCodeEngine`, `CrushEngine`, `PiEngine` | | `FeatureFlag` | Feature flag identifier | `MCPGatewayFeatureFlag`, `MCPScriptsFeatureFlag` | | `JobName` | GitHub Actions job name | `AgentJobName`, `ActivationJobName` | | `StepID` | GitHub Actions step identifier | `CheckMembershipStepID`, `CheckRateLimitStepID` | @@ -45,17 +45,18 @@ All semantic types implement `String() string` and `IsValid() bool` methods. import "github.com/github/gh-aw/pkg/constants" // Engine names -constants.CopilotEngine // "copilot" -constants.ClaudeEngine // "claude" -constants.CodexEngine // "codex" -constants.GeminiEngine // "gemini" -constants.OpenCodeEngine // "opencode" -constants.CrushEngine // "crush" -constants.PiEngine // "pi" (experimental) -constants.DefaultEngine // "copilot" +constants.CopilotEngine // "copilot" +constants.ClaudeEngine // "claude" +constants.CodexEngine // "codex" +constants.GeminiEngine // "gemini" +constants.AntigravityEngine // "antigravity" +constants.OpenCodeEngine // "opencode" +constants.CrushEngine // "crush" +constants.PiEngine // "pi" (experimental) +constants.DefaultEngine // "copilot" // All supported engine names -constants.AgenticEngines // []string{"claude", "codex", "copilot", "gemini", "opencode", "crush", "pi"} +constants.AgenticEngines // []string{"claude", "codex", "copilot", "gemini", "antigravity", "opencode", "crush", "pi"} // Get engine metadata opt := constants.GetEngineOption("copilot")