Skip to content

[Feature]: ocx account is missing pause/strategy/sticky verbs that /api/codex-auth already has #2702

Description

@lidge-jun

Area

CLI account pool

What are you trying to accomplish?

Pause/resume Codex pool accounts, pause exhausted accounts, and set pool strategy / sticky limit from the terminal — the dashboard already can.

Current state

Management API exists:

  • POST /api/codex-auth/accounts/pause
  • POST /api/codex-auth/accounts/pause-exhausted
  • pool-strategy + stickyLimit on /api/codex-auth/active

ocx account usage (src/cli/account.ts) is list/current/use/refresh/auto-switch/priority/login/remove/add-key/reset-credits/main. No pause, strategy, or sticky subcommands. auto-switch is threshold on/off only.

Why not existing issues

#2696 is why those APIs 503 on this host. This ticket is the missing CLI verbs even when management is up. #180 shipped list/use/refresh, not pause/strategy.

Version

2.33.0

Activity

  1. added
    enhancementNew feature or request
    account-poolOAuth, credentials, Codex pool, quota, failover, plans
    cliCLI, config inject, packaging flags
    on Aug 26, 2026
  2. lidge-jun commented on Aug 26, 2026

    @lidge-jun
    OwnerAuthor

    리뷰 · 우선순위 52 / 80

    설명

    이 이슈는 대시보드/관리 API 에 이미 있는 Codex 계정 pause·pause-exhausted·pool-strategy·stickyLimit 를 ocx account CLI 가 아직 노출하지 않는 기능 갭입니다. #2696 으로 API 가 503 인 것과 별개로, 관리면이 살아 있어도 CLI 동사가 없습니다. 터미널에서 대시보드와 같은 풀 제어를 하려는 요청입니다.

    current dev 에서 src/cli/account.ts ACCOUNT_USAGE 는 list/current/use/refresh/auto-switch/alias/priority/remove/login 등만 나열하고 pause/strategy/sticky 가 없습니다. 서버는 src/codex/auth-api.ts 에 PUT /api/codex-auth/accounts/pause, pause-exhausted, pool-strategy(stickyLimit 포함) 가 있습니다. auto-switch 는 threshold on/off 수준입니다.

    대시보드 패리티 CLI 작업으로 우선순위는 중간입니다. #180 확장선이며 #2703(표시) 과 같이 가면 계정 CLI 가 한 번에 좋아집니다. types.ts/config.ts 분할로 닫을 대상이 아닙니다. 미리보기 배포는 계획에 없습니다.

    src/cli/account.ts:18 - ACCOUNT_USAGE 에 pause/strategy/sticky 동사가 없습니다
    src/codex/auth-api.ts:1494 - PUT /api/codex-auth/accounts/pause 가 이미 있습니다
    src/codex/auth-api.ts:1569 - pause-exhausted 엔드포인트가 있습니다
    src/codex/auth-api.ts:1676 - pool-strategy + stickyLimit 가 있습니다
    경로/심볼 - #2696 과 무관한 CLI 표면 갭입니다

    메인테이너의 판단이 필요한 지점

    • 동사 이름을 dashboard 와 맞출지(ocx account pause) 정해야 합니다
    • strategy/sticky 를 account 하위 vs 별도 pool 명령으로 둘지 정해야 합니다
    • Anthropic 등 다른 풀에도 같은 동사를 확장할지 정해야 합니다

    너의 추천

    열어 두세요. API 래퍼 + 사용법 + 테스트가 있는 작은 CLI PR 로 처리하세요. #2703 과 같은 계정 CLI 패리티 PR 로 묶어도 됩니다. 미리보기 배포는 계획에 없습니다.

    이 댓글은 grok-bot이 작성했습니다

  3. added a commit that references this issue on Aug 28, 2026
    b68edc0
  4. added a commit that references this issue on Sep 14, 2026
    ab09556
  5. added a commit that references this issue on Sep 17, 2026
    f7a4b2f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    account-poolOAuth, credentials, Codex pool, quota, failover, planscliCLI, config inject, packaging flagsenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions