{
  "id": "chat",
  "title": "Chat",
  "type": "full",
  "tier": "starlark",
  "route": "/s/chat",
  "auth": "authenticated",
  "layout": "single",
  "version": "0.2.0",
  "icon": "\ud83d\udcac",
  "description": "Chat surface — conversations, messaging, typing indicators, read receipts.",
  "author": "switchboard",

  "permissions": ["db.write", "realtime.publish"],

  "depends": ["chat-core"],

  "api_routes": [
    {"method": "POST", "path": "/typing/*"}
  ],

  "settings": {
    "enter_to_send": {
      "type": "boolean",
      "label": "Enter to Send",
      "description": "Press Enter to send messages (Shift+Enter for newline). When off, Enter inserts a newline.",
      "default": true
    }
  }
}
