Skip to content

Commit a9a0d6c

Browse files
committed
Reference the right repo
1 parent a897d4c commit a9a0d6c

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/update-cli-coverage.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ jobs:
102102
env:
103103
GH_TOKEN: ${{ steps.app-token.outputs.token }}
104104
run: |
105-
gh repo clone kernel/cli /tmp/kernel-cli
106-
cd /tmp/kernel-cli
105+
gh repo clone kernel/hypeman-cli /tmp/hypeman-cli
106+
cd /tmp/hypeman-cli
107107
108108
# Try to fetch the cli-coverage-update branch from remote
109109
if git fetch origin cli-coverage-update 2>/dev/null; then
@@ -150,7 +150,7 @@ jobs:
150150
run: |
151151
cursor-agent -p "You are a CLI updater that implements missing CLI commands based on SDK updates.
152152
153-
The GitHub CLI is available as \`gh\` and authenticated via GH_TOKEN. Git is available. You have write access to the CLI repository (kernel/cli).
153+
The GitHub CLI is available as \`gh\` and authenticated via GH_TOKEN. Git is available. You have write access to the CLI repository (kernel/hypeman-cli).
154154
155155
# Context
156156
- SDK Repo: ${{ github.repository }} (current directory)
@@ -160,23 +160,23 @@ jobs:
160160
- Commit Author: ${{ steps.sdk-version.outputs.author }}
161161
- Trigger: ${{ github.event_name }} ${{ inputs.pr_number && format('(PR #{0})', inputs.pr_number) || '' }}
162162
- API Repo Location: /tmp/hypeman-api
163-
- CLI Repo Location: /tmp/kernel-cli
163+
- CLI Repo Location: /tmp/hypeman-cli
164164
- Update Branch Prefix: cli-coverage-update
165165
166166
# Background
167-
The Go SDK (this repo) was just updated by Stainless, and may contain new API methods. The CLI (kernel/cli) needs to be updated to expose these new methods as CLI commands.
167+
The Go SDK (this repo) was just updated by Stainless, and may contain new API methods. The CLI (kernel/hypeman-cli) needs to be updated to expose these new methods as CLI commands.
168168
169169
# Source Files
170170
- SDK api.md: Current directory - READ THIS FILE FIRST. This is the authoritative list of all SDK methods and their signatures.
171171
- SDK *.go files: Current directory - Contains param structs (e.g., InstanceNewParams, ImageNewParams) with all available options/fields.
172172
- API Spec: /tmp/hypeman-api/packages/api/stainless.yaml - SDK configuration with resources and methods
173173
- API Spec: /tmp/hypeman-api/packages/api/openapi.yaml - Full OpenAPI specification. CHECK for x-cli-skip: true on endpoints - skip those from CLI coverage.
174-
- CLI: /tmp/kernel-cli - Existing CLI commands
174+
- CLI: /tmp/hypeman-cli - Existing CLI commands
175175
176176
# Task
177177
178178
## Step 1: Update SDK Version (ALWAYS DO THIS FIRST)
179-
- Go to /tmp/kernel-cli
179+
- Go to /tmp/hypeman-cli
180180
- Update go.mod to require the latest SDK: ${{ steps.sdk-version.outputs.module }}@${{ steps.sdk-version.outputs.version }}
181181
- Run: go get ${{ steps.sdk-version.outputs.module }}@${{ steps.sdk-version.outputs.version }}
182182
- Run: go mod tidy
@@ -245,7 +245,7 @@ jobs:
245245
- Commit with message describing SDK version bump and any new commands/flags
246246
- IMPORTANT: Do NOT force push! Use regular \`git push origin cli-coverage-update\` to preserve existing work on the branch
247247
- If push fails due to divergence, pull and rebase first: \`git pull --rebase origin cli-coverage-update\`
248-
- Create or update the PR in kernel/cli
248+
- Create or update the PR in kernel/hypeman-cli
249249
250250
# SDK Method -> CLI Command Mapping Guide
251251
- client.Resource.New() -> kernel resource create
@@ -263,7 +263,7 @@ jobs:
263263
- Nested structs: VolumeMount.Path -> --volume-mount-path or separate flags
264264
265265
# Implementation Guidelines
266-
- Follow the existing CLI code patterns in /tmp/kernel-cli
266+
- Follow the existing CLI code patterns in /tmp/hypeman-cli
267267
- Use cobra for command definitions
268268
- Use the Hypeman Go SDK (this repo) for API calls
269269
- Include proper flag definitions with descriptions matching SDK field comments
@@ -275,7 +275,7 @@ jobs:
275275
After pushing changes, create or update an evergreen PR using gh:
276276
277277
1. Check if a PR already exists for the cli-coverage-update branch:
278-
gh pr list --repo kernel/cli --head cli-coverage-update --json number
278+
gh pr list --repo kernel/hypeman-cli --head cli-coverage-update --json number
279279
280280
2. If PR exists, update it. If not, create a new one.
281281

0 commit comments

Comments
 (0)