Chat surface package (packages/chat/) with conversation list, message thread, compose bar, participant sidebar, create conversation dialog, typing indicators, read receipts, message editing, and message deletion. Built on chat-core library with realtime event subscriptions. Fix stale token login deadlock: REST client auth endpoints excluded from 401 retry loop, 8s defensive boot timeout on auth.boot(). Fix bundled package permissions: auto-grant with NULL granted_by and set status active on install. Switch docker-compose to named volume for remote Docker host compat. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
31 lines
715 B
JSON
31 lines
715 B
JSON
{
|
|
"id": "chat",
|
|
"title": "Chat",
|
|
"type": "full",
|
|
"tier": "starlark",
|
|
"route": "/s/chat",
|
|
"auth": "authenticated",
|
|
"layout": "single",
|
|
"version": "0.1.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
|
|
}
|
|
}
|
|
}
|