Skip to content

feat: add trial_end_timestamp to UserInfo - #64

Closed
claude[bot] wants to merge 1 commit into
mainfrom
feat/trial-end-timestamp
Closed

feat: add trial_end_timestamp to UserInfo#64
claude[bot] wants to merge 1 commit into
mainfrom
feat/trial-end-timestamp

Conversation

@claude

@claude claude Bot commented Apr 6, 2026

Copy link
Copy Markdown

Summary

  • Adds TrialEndTimestamp *int64 (nullable) to the UserInfo struct in internal/api/client.go to track the new upstream field
  • Updates sl account status table output to show a human-readable trial end date (e.g. active (ends 2026-05-01)) when in_trial is true and the timestamp is non-nil

Test plan

  • make build && make test passes
  • sl account status shows trial end date for accounts in trial

Closes #63

🤖 Generated with Claude Code

Upstream added trial_end_timestamp (nullable Unix int64) to GET /api/user_info.
- Add TrialEndTimestamp *int64 field to the UserInfo struct
- Show human-readable trial end date in `sl account status` when in_trial is true

Closes #63

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@claude
claude Bot requested a review from mexcool as a code owner April 6, 2026 17:12
@mexcool mexcool closed this Apr 6, 2026
@mexcool
mexcool deleted the feat/trial-end-timestamp branch April 6, 2026 17:17
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.

upstream: GET /api/user_info now returns trial_end_timestamp

1 participant