Skip to content

[CLI] Surface Terms of Service link in login and version banner - #167

Merged
atokayev merged 3 commits into
mainfrom
atokayev/Terms-of-service-update
Nov 25, 2026
Merged

atokayev merged 3 commits into
mainfrom
atokayev/Terms-of-service-update

Conversation

@atokayev

@atokayev atokayev commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

What

Surfaces the new Terms of Service link in the CLI, matching the Platform UI update (platform#4967, released in v4.42.0).

  • New CENTML_TERMS_OF_SERVICE_URL setting (env-overridable), defaulting to https://app.centml.com/terms-of-service/.
  • centml login prints a "By continuing, you agree to the Terms of Service" notice before the browser prompt. It only shows when a login is actually needed — users with valid stored credentials see nothing extra.
  • The --version banner shows a Terms of Service line.

What this does NOT do

  • No acceptance step. This is informational only — we do not block, prompt for consent, or record acceptance. Acceptance is intentionally out of scope for now.
  • No re-login prompt for existing users; their sessions expire on their own.

Screenshots

centml --version

Screenshot 2026-11-25 at 11 33 34 AM

centml login

Screenshot 2026-11-25 at 11 33 49 AM

Testing

  • Added tests/test_cli_terms.py covering the version banner, the login notice, and that a logged-in user sees no notice.
  • Full suite: 122 passed.

🤖 Generated with Claude Code

Add the Terms of Service URL to the CLI so users can find the terms
without acceptance being required:

- New CENTML_TERMS_OF_SERVICE_URL setting (env-overridable), defaulting
  to https://app.centml.com/terms-of-service/
- login prints a "By continuing, you agree to the Terms of Service"
  notice before the browser prompt (only when a login is needed)
- The --version banner shows a Terms of Service line

No acceptance step is added; this is informational only.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@atokayev
atokayev marked this pull request as ready for review November 25, 2026 17:40
atokayev and others added 2 commits November 25, 2026 11:41
Request the Platform team for review on every pull request.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@atokayev
atokayev requested a review from a team November 25, 2026 17:44
@anandj91
anandj91 requested a review from michaelshin November 25, 2026 17:46
@atokayev
atokayev merged commit 46f75ee into main Nov 25, 2026
6 checks passed
@atokayev
atokayev deleted the atokayev/Terms-of-service-update branch November 25, 2026 18:40
@atokayev atokayev mentioned this pull request Nov 25, 2026
atokayev added a commit that referenced this pull request Nov 25, 2026
Bump version to 0.7.4 to cut a release that includes the Terms of
Service link in the CLI (#167) and other changes merged since 0.7.3.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
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.

2 participants