8c41d23a9c
refactor: migrate to ES modules
...
package.json type=module, tsconfig module/moduleResolution=NodeNext,
target es2022, explicit .js on all relative imports. Center: jsonwebtoken
& bcryptjs switched to default imports (ESM/CJS interop). Verified:
builds, boots, full auth + plugin round-trip work under ESM.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-15 18:47:36 +01:00
6b993522cf
feat(guild): wake_mapping, per-recipient wakeup, discuss/work turn engine, channel join/leave
...
- wake_mapping table; triage onDuty (auto-added member) / custom listeners
- per-recipient wakeup metadata on message.created (one message-id; added
only at push). Rules: author=false; triage/custom=wake_mapping only;
general=all; report=none
- discuss/work rotation: channel_turn_state (order/currentSpeaker/round
events/cross-round no-reply streak); null activation, queue-jump,
/no-reply pass, all-/no-reply pause, end-of-round shuffle (trailing
no-reply run to tail, head shuffled, first != last normal speaker)
- slash-command registry (/no-reply, /force-proceed); registered commands
intercepted and never delivered; guild-authored /ack persisted
- POST /channels/:id/join|leave; leave cleans channel_members, wake_mapping
and turn-state order
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-15 14:51:09 +01:00