Skip to content

feat(auth): require lifetime on auth bootstrap - #23

Merged
kody-bot merged 1 commit into
mainfrom
cursor/auth-bootstrap-lifetime-4a6e
Oct 6, 2026
Merged

kody-bot merged 1 commit into
mainfrom
cursor/auth-bootstrap-lifetime-4a6e

Conversation

@kody-bot

@kody-bot kody-bot commented Oct 6, 2026

Copy link
Copy Markdown
Owner

Summary

Require a token lifetime on `kody auth bootstrap` and pass it to `POST /v1/tokens/bootstrap/redeem`.

  • `--lifetime short|long` or both `--idle-ttl-seconds` / `--max-lifetime-seconds`
  • `short` = 1h idle / 24h max; `long` = 14d idle / 3mo max
  • Clear error with exact flag syntax when missing (single-task agents: `--lifetime short`)

Pairs with the kody platform change for ADR 0056 (required lifetimes + cap reclaim).

Test plan

  • `npm test` (143 passed locally)

Require --lifetime short|long or both idle/max TTL flags on auth bootstrap, and pass the alias or explicit seconds through to bootstrap redeem (ADR 0056).
@kody-bot
kody-bot merged commit 9730c63 into main Oct 6, 2026
5 checks passed
@kody-bot
kody-bot deleted the cursor/auth-bootstrap-lifetime-4a6e branch October 6, 2026 14:44
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant