Add text features: trusted triggers, context cache, response policy, MCP config tools

This commit is contained in:
Fisto
2026-09-11 15:31:23 +02:00
parent 23a1a8e593
commit 82f78bb2b4
20 changed files with 841 additions and 88 deletions
+14 -8
View File
@@ -4,10 +4,12 @@ Veskslop controls Discord user accounts without a visible client window. It runs
client and drives it through a small, validated capability layer. All logic lives in the external
daemon.
**Read the docs first:** [docs/INDEX.md](docs/INDEX.md) and [CURRENT.md](CURRENT.md).
**Read the docs first:** [docs/INDEX.md](docs/INDEX.md), [CURRENT.md](CURRENT.md), and
[TODO.md](TODO.md).
`CURRENT.md` tracks the work state: the current focus, the completed work, the current task, and the
next steps. Read it before you start. Update it before you stop.
next steps. `TODO.md` holds the ordered backlog. Read both before you start. Update `CURRENT.md`
before you stop.
- [architecture.md](docs/architecture.md) — system parts and boundaries
- [core-bridge.md](docs/core-bridge.md) — the Vesktop-side capability layer
@@ -35,6 +37,7 @@ next steps. Read it before you start. Update it before you stop.
- Never commit tokens, credentials, or `.env` files.
- Do not hardcode Discord limits from memory. Make the limits configurable.
- All outbound actions go through the paced queue.
- Triggers come from trusted users only: one-to-one DMs and direct mentions.
- Test with throwaway accounts and private test guilds only.
- Live send tests: only DMs to user **zzib** (`177117296140091393`).
- Run `pnpm testTypes` and `pnpm lint` before you report done. Run `pnpm build` to compile.
@@ -47,19 +50,22 @@ next steps. Read it before you start. Update it before you stop.
| Main bridge, event push, hooks | Implemented |
| Daemon on the core-bridge transport | Implemented and verified live |
| QR login, pacing, trigger log | Implemented |
| Trusted-only triggers and context cache | Implemented |
| Response policy (channel or DM) | Implemented |
| Auth persistence in the core | Implemented and verified live |
| CDP transport | Kept as a development fallback |
| Notification parsing, persistent log | Not started |
| Voice, audio, video | Not started |
## Work items
See [CURRENT.md](CURRENT.md) for the live list. The main items are:
See [CURRENT.md](CURRENT.md) and [TODO.md](TODO.md) for the live list. The main items are:
1. Voice join and leave actions.
2. Audio in and out with PipeWire.
3. Video streaming.
4. Fetch-based message read.
5. Client lightening and the web debug UI.
1. Notification parsing: edits, deletes, reactions, and replies.
2. Persistent trigger log with rotation.
3. Per-user rate limit and command cooldowns.
4. MCP event delivery for agents.
5. Later: voice, audio, video, client lightening, web debug UI.
## Dev commands