-
Notifications
You must be signed in to change notification settings - Fork 355
[spec-extractor] Update package specifications for constants, cli (run 1) #26841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,6 +42,8 @@ All diagnostic output MUST go to `stderr` using `console` formatting helpers. St | |
| | `gh aw project` | `NewProjectCommand` | Project management helpers | | ||
| | `gh aw remove` | `NewRemoveCommand` | Remove workflow files from the repository | | ||
| | `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 | | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| | `gh aw trial` | `NewTrialCommand` | Run trial workflow executions | | ||
| | `gh aw deps` | (deps_*.go) | Dependency inspection and security advisories | | ||
| | `gh aw completion` | `NewCompletionCommand` | Generate shell completion scripts | | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,10 +47,11 @@ constants.CopilotEngine // "copilot" | |
| constants.ClaudeEngine // "claude" | ||
| constants.CodexEngine // "codex" | ||
| constants.GeminiEngine // "gemini" | ||
| constants.CrushEngine // "crush" | ||
| constants.DefaultEngine // "copilot" | ||
|
|
||
| // All supported engine names | ||
| constants.AgenticEngines // []string{"claude", "codex", "copilot", "gemini"} | ||
| constants.AgenticEngines // []string{"claude", "codex", "copilot", "gemini", "crush"} | ||
|
|
||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The existing |
||
| // Get engine metadata | ||
| opt := constants.GetEngineOption("copilot") | ||
|
|
@@ -93,16 +94,19 @@ constants.EnvVarModelAgentClaude // "GH_AW_MODEL_AGENT_CLAUDE" | |
| constants.EnvVarModelAgentCodex // "GH_AW_MODEL_AGENT_CODEX" | ||
| constants.EnvVarModelAgentCustom // "GH_AW_MODEL_AGENT_CUSTOM" | ||
| constants.EnvVarModelAgentGemini // "GH_AW_MODEL_AGENT_GEMINI" | ||
| constants.EnvVarModelAgentCrush // "GH_AW_MODEL_AGENT_CRUSH" | ||
| constants.EnvVarModelDetectionCopilot// "GH_AW_MODEL_DETECTION_COPILOT" | ||
| constants.EnvVarModelDetectionClaude // "GH_AW_MODEL_DETECTION_CLAUDE" | ||
| constants.EnvVarModelDetectionCodex // "GH_AW_MODEL_DETECTION_CODEX" | ||
| constants.EnvVarModelDetectionGemini // "GH_AW_MODEL_DETECTION_GEMINI" | ||
| constants.EnvVarModelDetectionCrush // "GH_AW_MODEL_DETECTION_CRUSH" | ||
|
|
||
| // Native CLI model env vars (passed directly to the engine CLI) | ||
| constants.CopilotCLIModelEnvVar // "COPILOT_MODEL" | ||
| constants.CopilotCLIIntegrationIDEnvVar // "GITHUB_COPILOT_INTEGRATION_ID" | ||
| constants.ClaudeCLIModelEnvVar // "ANTHROPIC_MODEL" | ||
| constants.GeminiCLIModelEnvVar // "GEMINI_MODEL" | ||
| constants.CrushCLIModelEnvVar // "CRUSH_MODEL" | ||
|
|
||
| // gh-aw runtime env vars | ||
| constants.EnvVarPrompt // "GH_AW_PROMPT" | ||
|
|
@@ -127,7 +131,10 @@ constants.DisableXPIAPromptFeatureFlag // "disable-xpia-prompt" | |
| constants.CopilotRequestsFeatureFlag // "copilot-requests" | ||
| constants.DIFCProxyFeatureFlag // "difc-proxy" (deprecated — use tools.github.integrity-proxy) | ||
| constants.CliProxyFeatureFlag // "cli-proxy" | ||
| constants.AwfDiagnosticLogsFeatureFlag // "awf-diagnostic-logs" | ||
| constants.ByokCopilotFeatureFlag // "byok-copilot" | ||
| constants.IntegrityReactionsFeatureFlag // "integrity-reactions" | ||
| constants.MCPCLIFeatureFlag // "mcp-cli" | ||
| ``` | ||
|
|
||
| ## Job and Step Constants | ||
|
|
@@ -230,6 +237,7 @@ constants.DefaultCopilotVersion // Copilot CLI version (e.g. "1.0.21") | |
| constants.DefaultClaudeCodeVersion // Claude Code CLI version | ||
| constants.DefaultCodexVersion // OpenAI Codex CLI version | ||
| constants.DefaultGeminiVersion // Google Gemini CLI version | ||
| constants.DefaultCrushVersion // Crush CLI version | ||
|
|
||
| // Infrastructure | ||
| constants.DefaultGitHubMCPServerVersion // GitHub MCP server Docker image version | ||
|
|
@@ -396,6 +404,7 @@ constants.ClaudeLLMGatewayPort // 10000 | |
| constants.CodexLLMGatewayPort // 10001 | ||
| constants.CopilotLLMGatewayPort // 10002 | ||
| constants.GeminiLLMGatewayPort // 10003 | ||
| constants.CrushLLMGatewayPort // 10004 | ||
| ``` | ||
|
|
||
| ## Tool Lists | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new rows break the table's established convention for the middle column. Every other entry uses a Go constructor name (e.g.
NewSecretsCommand,NewProjectCommand). The new entries use parenthesized file names like(secret_set_command.go)instead. If the extractor cannot determine the constructor name it should use a consistent placeholder (e.g.N/A) or leave the cell blank, not switch to a different identifier format mid-table.