Skip to content

fix(ci): sync CLI version with v1.41.0 - #100

Closed
cvsz wants to merge 2 commits into
mainfrom
fix/ci-version-1.41.0
Closed

fix(ci): sync CLI version with v1.41.0#100
cvsz wants to merge 2 commits into
mainfrom
fix/ci-version-1.41.0

Conversation

@cvsz

@cvsz cvsz commented Aug 22, 2026

Copy link
Copy Markdown
Owner

Superseded by current main.

The intended version fix is already present on main (VERSION = "1.41.0"), and the later CLI wiring regression reported by this PR's stale CI is also already fixed on current main: cmd_spend_limit_requests_list is wired through zcoder.main.

This branch diverged from current main, so merging it would reintroduce stale code/conflicts. Closing instead of bypassing CI or merging an outdated head.

Current main baseline: 786579a048574dbf52d4807d3bc1c7923b08a27a.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c9f3be5d46

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/zcoder/main.py
Comment on lines 78 to 80
g.add_argument(
"--tui",
action="store_true",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P0 Badge Restore the truncated CLI module

Every CLI invocation and every import of zcoder.main now fails immediately because this g.add_argument( call is left unclosed and the remaining 4,102 lines—including main()—were deleted. I confirmed python -m py_compile src/zcoder/main.py raises SyntaxError: '(' was never closed, while pyproject.toml still maps the zcoder executable to zcoder.main:main; restore the deleted body while retaining the intended version update.

Useful? React with 👍 / 👎.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d3f25a5fb9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/zcoder/main.py
return
if args.spend_limit_requests_list:
from zcoder.claude.enterprise.admin_api import cmd_spend_limit_requests_list
from zcoder.claude.enterprise.admin_api import cmd_spend_limits_requests_list

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore the actual spend-limit request helper name

When a user runs zcoder --spend-limit-requests-list, this import raises ImportError before making any API request because admin_api.py defines cmd_spend_limit_requests_list (singular limit), not cmd_spend_limits_requests_list. I reproduced the failure with an admin key argument; keep the existing helper name here so this CLI command remains usable.

Useful? React with 👍 / 👎.

@cvsz cvsz closed this Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant