Skip to content

feat(cli): add smart default launcher#3

Merged
tqdat410 merged 1 commit into
mainfrom
feat/smart-default-launch
Apr 25, 2026
Merged

feat(cli): add smart default launcher#3
tqdat410 merged 1 commit into
mainfrom
feat/smart-default-launch

Conversation

@tqdat410

Copy link
Copy Markdown
Owner

Summary

  • make bare cs the smart native Codex launcher with refreshed quota-based account selection
  • add cs auto on|off|status and replace cs ls with cs status
  • remove public cs run, forward Codex flags through bare cs and cs use <account>
  • bump package version to 1.0.9 for manual npm publish

Closes #2

Validation

  • pnpm test
  • pnpm lint
  • pnpm typecheck
  • pnpm build
  • npm pack --dry-run
  • node packages/cli/dist/index.js --help
  • node packages/cli/dist/index.js status --help
  • node packages/cli/dist/index.js auto --help

Review

Pre-landing review found one issue before commit: smart selection originally used cached quota and could reselect the same account immediately after a limit hit. Fixed by syncing live auth before selection and force-refreshing quota for account choice.

Publish Note

Do not publish from CI. Maintainer will run npm publish manually after merge.

Make bare cs select the best account and launch native Codex, replace ls/run with status/auto controls, and forward Codex args through the launcher.

Bump package version to 1.0.9 for manual npm publish.
@tqdat410 tqdat410 merged commit f870479 into main Apr 25, 2026
3 checks passed
@tqdat410 tqdat410 deleted the feat/smart-default-launch branch April 25, 2026 13:05
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.

feat: simplify Codex account retry flow

1 participant