@wtfalch/chat 0.5.0 → 0.5.1

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.
Files changed (2) hide show
  1. package/README.md +13 -11
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -86,12 +86,14 @@ hears about it changing. `chat.sendTyping(roomId, typing)` sends `m.typing`;
86
86
  return.
87
87
 
88
88
  **Presence is off in production.** Every company's Synapse is generated by
89
- `bootstrap/steps/chat-instance.ts:142` in `wtfalch/app-template`, which
90
- still hardcodes it off, tracked at that project's
91
- [#352](https://github.com/wtfalch/app-template/issues/352). Until that
92
- lands, `presence()` reports `'offline'` for everyone, always -- not because
93
- nobody is online, but because Synapse never says. The test stack turns it
94
- on, so the integration suite proves all four states against a real server.
89
+ foundry's provisioning (the app-template bootstrap step this once cited is
90
+ archived; foundry owns per-company Synapse config generation now), which
91
+ still hardcodes it off, tracked at
92
+ [wtfalch/foundry#41](https://github.com/wtfalch/foundry/issues/41). Until
93
+ that lands, `presence()` reports `'offline'` for everyone, always -- not
94
+ because nobody is online, but because Synapse never says. The test stack
95
+ turns it on, so the integration suite proves all four states against a real
96
+ server.
95
97
  `sendTyping` and `onTypingChanged` are unaffected and work today.
96
98
 
97
99
  **Announcing idleness** ([#20](https://github.com/wtfalch/chat/issues/20)).
@@ -122,7 +124,7 @@ message rather than editing the old one.
122
124
  The room it creates carries `is_direct` and an invite list and nothing else.
123
125
  That is not a style choice: Synapse's `wtfalch_chat_gate` module refuses a
124
126
  member-created room that also carries a name, a topic, `initial_state` or
125
- `creation_content`, because a room dressed as a channel is the manage app's
127
+ `creation_content`, because a room dressed as a channel is Boule's
126
128
  to make (chat plan section 5).
127
129
 
128
130
  `chat.hideDirectMessage(roomId)` takes a direct room out of `rooms()` with a
@@ -401,7 +403,7 @@ read receipt is on that message or a newer one. It leaves out the signed-in
401
403
  person and the message's sender. `onTimelineChanged` fires when a receipt
402
404
  moves, so a view re-reads it then. Only public read receipts count.
403
405
 
404
- ## Administration in Manage
406
+ ## Administration in Boule
405
407
 
406
408
  `@wtfalch/chat/admin` exports `createChatAdmin`, the typed management
407
409
  client, and `hasChatAdminRole` for already-verified identity claims. The admin
@@ -422,16 +424,16 @@ invitations/removals, moderation (`banPerson`, `unbanPerson`, `redactMessage`,
422
424
  refused; tokens never appear in URLs or rendered errors. Service authorization
423
425
  still verifies the token, organisation and Chat project's admin role on every
424
426
  request. Request the Chat project audience and qualified project-role claims
425
- when Manage signs in; a same-named role from another project is insufficient.
427
+ when Boule signs in; a same-named role from another project is insufficient.
426
428
 
427
429
  `@wtfalch/chat/admin/react` exports `ChatAdminPanel` plus its action
428
430
  contracts. Import `@wtfalch/chat/admin/admin.css` after design styles.
429
- The SDK owns the controls; Manage supplies an organisation-scoped `load` and
431
+ The SDK owns the controls; Boule supplies an organisation-scoped `load` and
430
432
  `run` action, its verified gates, and a roster mapping issuer subjects to names.
431
433
  Keep access tokens in server actions. Every action must check both host tenant
432
434
  membership and the Chat project role itself; hiding a menu entry is not a gate.
433
435
  Mail follows the same separation through `@wtfalch/email/postmaster`.
434
436
 
435
437
  The agora is the sole user-facing app and HTTP origin for Mail and Chat. Admin
436
- panels live in Manage; no separate Chat web host is inferred or provisioned.
438
+ panels live in Boule; no separate Chat web host is inferred or provisioned.
437
439
  Deployment and real-identity acceptance remain separate from local checks.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wtfalch/chat",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "A Matrix chat client behind the agora's token exchange.",
5
5
  "license": "MIT",
6
6
  "type": "module",