Skip to content

v1.1.0 - Real-time Chat, Admin Controls & Profile Editing

Choose a tag to compare

@ryotagtagtag-wq ryotagtagtag-wq released this 14 Jul 07:29
· 160 commits to main since this release
4bc3664

🚀 What's New

💬 Real-Time DM Chat

  • New interactive chat mode: kb chat <username>
  • Real-time message delivery via WebSocket with ed25519 signatures
  • See online/offline status of the other user
  • Type /exit or Ctrl+C to quit

🛠️ Admin Controls

  • kb admin users — List all users with stats
  • kb admin user <id> — View detailed user info
  • kb admin delete-user <username> — Permanently delete a user account
  • kb admin grant <username> — Grant admin privileges
  • kb admin revoke <username> — Revoke admin privileges

🛡️ Admin API

  • GET /api/admin/users — List all users
  • GET /api/admin/users/:id — Get user details (with keys, DMs)
  • DELETE /api/admin/users/:id — Delete a user (cascade)
  • PUT /api/admin/users/:id/admin — Toggle admin status

✏️ Profile Editing

  • kb edit-profile --display-name="..." --bio="..." --avatar-url="..."

🔒 Security

  • New requireAdmin middleware
  • ADMIN_USERNAME env var for bootstrapping the first admin
  • Admin self-deletion and self-revocation protection

📖 Documentation

  • README, docs landing page, and full docs updated with all new features
  • API reference includes admin endpoints