@getcirrus/pds 0.11.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -221,6 +221,34 @@ Lists all registered passkeys with their names, IDs, and last used timestamps.
221
221
 
222
222
  Interactively select and remove a passkey from the account.
223
223
 
224
+ ### `pds app-password`
225
+
226
+ Manage app passwords for third-party client access.
227
+
228
+ ```bash
229
+ pds app-password create # Create a new app password
230
+ pds app-password list # List app passwords
231
+ pds app-password revoke # Revoke an app password
232
+ ```
233
+
234
+ All app-password commands support:
235
+
236
+ - `--dev` – Target the local development server instead of production
237
+
238
+ #### `pds app-password create`
239
+
240
+ Creates a new app password. Prompts for a name (for example, "Graysky" or "Skeet client"), generates a secure password in `xxxx-xxxx-xxxx-xxxx` format, and displays it once. The password cannot be retrieved after creation.
241
+
242
+ App passwords grant the same access as the account password but are designed for use in third-party clients. They can be individually revoked without changing the account password.
243
+
244
+ #### `pds app-password list`
245
+
246
+ Lists all app passwords with their names and creation dates. Passwords themselves are never shown — only the names.
247
+
248
+ #### `pds app-password revoke`
249
+
250
+ Interactively select and revoke an app password. Use `-y` to skip the confirmation prompt. Sessions created with a revoked app password continue to work until the access token expires, but no new sessions can be created.
251
+
224
252
  ### `pds secret`
225
253
 
226
254
  Manage individual secrets.
@@ -424,6 +452,9 @@ See [Cloudflare's data location documentation](https://developers.cloudflare.com
424
452
  | `POST /xrpc/com.atproto.server.createSession` | No | Login with password, get JWT |
425
453
  | `POST /xrpc/com.atproto.server.refreshSession` | Yes | Refresh JWT tokens |
426
454
  | `GET /xrpc/com.atproto.server.getSession` | Yes | Get current session info |
455
+ | `POST /xrpc/com.atproto.server.createAppPassword` | Yes | Create an app password |
456
+ | `GET /xrpc/com.atproto.server.listAppPasswords` | Yes | List app passwords |
457
+ | `POST /xrpc/com.atproto.server.revokeAppPassword` | Yes | Revoke an app password |
427
458
  | `POST /xrpc/com.atproto.server.deleteSession` | Yes | Logout |
428
459
  | `GET /xrpc/com.atproto.server.getServiceAuth` | Yes | Get JWT for external services |
429
460
  | `GET /xrpc/com.atproto.server.getAccountStatus` | Yes | Account status (active/deactivated) |