# auth: disambiguate api session names as AuthSession

`144be12`·

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

- cmd/entire/cli/api
  
  - Rauth_sessions.go
  
  - Rauth_sessions_test.go

```
1

No patch available.
```

Rcmd/entire/cli/api/auth_sessions.go

```
1

No patch available.
```

Rcmd/entire/cli/api/auth_sessions_test.go
