mcp-twake-chat 0.0.0-stage → 0.4.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/CHANGELOG.md +44 -0
- package/LICENSE +663 -0
- package/README.md +202 -2
- package/SECURITY.md +33 -0
- package/build/attachment.js +32 -0
- package/build/attachment.js.map +1 -0
- package/build/config.js +104 -0
- package/build/config.js.map +1 -0
- package/build/content.js +44 -0
- package/build/content.js.map +1 -0
- package/build/discovery.js +29 -0
- package/build/discovery.js.map +1 -0
- package/build/files.js +58 -0
- package/build/files.js.map +1 -0
- package/build/format.js +148 -0
- package/build/format.js.map +1 -0
- package/build/index.js +120 -0
- package/build/index.js.map +1 -0
- package/build/matrix.js +801 -0
- package/build/matrix.js.map +1 -0
- package/build/search-index.js +144 -0
- package/build/search-index.js.map +1 -0
- package/build/service.js +2 -0
- package/build/service.js.map +1 -0
- package/build/store.js +71 -0
- package/build/store.js.map +1 -0
- package/build/token.js +85 -0
- package/build/token.js.map +1 -0
- package/build/tom.js +105 -0
- package/build/tom.js.map +1 -0
- package/build/tools.js +477 -0
- package/build/tools.js.map +1 -0
- package/package.json +62 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to mcp-twake-chat are documented here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses [Semantic Versioning](https://semver.org/).
|
|
4
|
+
|
|
5
|
+
## [Unreleased]
|
|
6
|
+
|
|
7
|
+
## [0.4.0] - 2026-11-01
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- `MATRIX_SEND_SCOPE=dm`: the write tools (`send_message`, `react`, `edit_message`, `redact_message`, `send_file`) refuse every room that is not a direct message, and say so in their descriptions.
|
|
11
|
+
|
|
12
|
+
## [0.3.0] - 2026-11-01
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
- `search_messages`: full-text search in every room, end-to-end encrypted ones included, through a local SQLite FTS5 index of decrypted messages (live indexing, background backfill of `MATRIX_SEARCH_BACKFILL_DAYS`, catch-up after a restart, deleted messages dropped) combined with the homeserver search for unencrypted rooms. `MATRIX_SEARCH_INDEX=off` disables the index.
|
|
16
|
+
- `list_invitations`; room management acting in the user's name: `create_room` (private, encrypted by default, or a direct message), `invite_user`, `join_room`, `leave_room`.
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
- Node.js >= 22.13 (built-in `node:sqlite`).
|
|
20
|
+
- TypeScript 7, actions/checkout and actions/setup-node v7.
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
- `create_room` returns only once the client knows the new room is encrypted, so a message posted right after it is never sent in clear.
|
|
24
|
+
|
|
25
|
+
## [0.2.0] - 2026-11-01
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
- Write tools, acting in the user's name: `send_message` (Markdown rendered to HTML, replies, threads, mentions), `react`, `edit_message` and `redact_message` (own messages only), `send_file` (encrypted upload in end-to-end encrypted rooms).
|
|
29
|
+
- `download_attachment`: saves the file of a message, decrypting encrypted attachments (authenticated media endpoint, never overwrites a local file); `MATRIX_DOWNLOAD_DIR`.
|
|
30
|
+
- Drafts rendered from Markdown.
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
- A deleted (redacted) encrypted message is reported as deleted, not undecryptable, and its earlier edits no longer bring its text back.
|
|
34
|
+
|
|
35
|
+
## [0.1.0] - 2026-11-01
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
- 11 tools: `whoami`, `list_rooms`, `get_room_info`, `list_room_members`, `get_messages`, `get_thread`, `get_unread`, `get_mentions`, `search_users`, `get_user_profile`, `create_draft`.
|
|
39
|
+
- End-to-end encryption with the Rust crypto of matrix-js-sdk and a persistent, encrypted store; recovery key from the Twake ToM vault or a file; cross-signing import and device signing; key backup restore.
|
|
40
|
+
- Unread messages from read receipts and read markers; mentions found client-side in encrypted rooms.
|
|
41
|
+
- Drafts posted only in a private drafts room.
|
|
42
|
+
- Authentication through an external token broker (`MATRIX_TOKEN_COMMAND`, with device id).
|
|
43
|
+
- Discovery of the homeserver and ToM server from `.well-known/matrix/client`.
|
|
44
|
+
- stdio and HTTP (loopback, bearer token) transports; exclusive lock on the device store; `check` command.
|