auth: disambiguate api session names as AuthSession · Entire

auth: disambiguate api session names as AuthSession

5da9c13→main·

toothbrush·1mo ago·2 files·

The api package is generic, so its Session/ListSessions/etc. collided conceptually with the repo's agent/checkpoint session domain (strategy.Session). Prefix the auth surface with Auth: api.Session -> AuthSession, file sessions.go -> auth_sessions.go, and the cli-package helpers (newAuthSessionsClient, defaultListAuthSessions, revokeAllAuthSessions, etc.). JSON wire key stays "tokens".

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

Sessions

cae0e9836123View transcript

Changes

2

1

No patch available.

Rcmd/entire/cli/api/auth_sessions.go

1

No patch available.

Rcmd/entire/cli/api/auth_sessions_test.go