Commit Graph

14 Commits

Author SHA1 Message Date
Narasimha-sc a9bd27a92f support-bot: use apiCreateMemberContact and apiSendMemberContactInvitation instead of raw commands
Replace sendChatCmd("/_create member contact ...") and sendChatCmd("/_invite member contact ...")
with the typed API methods added in simplex-chat-nodejs. Update plans and build script accordingly.
2026-04-10 12:10:54 +00:00
Narasimha-sc 24afe6444f support-bot: implement stateless bot with cards, Grok, team flow, hardening
Complete rewrite of the support bot to stateless architecture:
- State derived from group composition + chat history (survives restarts)
- Card dashboard in team group with live status, preview, /join commands
- Two-profile architecture (main + Grok) with profileMutex serialization
- Grok join race condition fix via bufferedGrokInvitations
- Card preview: newest-first truncation, newline sanitization, sender prefixes
- Best-effort startup (invite link, group profile update)
- Team group preferences: directMessages, fullDelete, commands
- 122 tests across 27 suites

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 10:32:48 +00:00
Narasimha-sc bcafd829e5 support-bot: update implementation plan 2026-04-10 10:32:48 +00:00
Narasimha-sc 3a5808f6b4 support-bot: update product spec — complete state, /join team-only, card debouncing
- Group preferences applied once at creation, not on every startup
- /join restricted to team group only
- Team/Grok reply or reaction auto-completes conversation ()
- Customer message reverts to incomplete
- Card updates debounced globally with 15-minute batch flush
2026-04-10 10:32:48 +00:00
Narasimha-sc c3bd36b205 support-bot: review and refine product spec 2026-04-10 10:32:48 +00:00
Narasimha-sc 8d76f4c65b support-bot: update plan 2026-04-10 10:32:48 +00:00
Narasimha-sc 98bea97d8e simplex-support-bot: update product design plan 2026-04-10 10:32:48 +00:00
Narasimha-sc 4408f335a9 simplex-support-bot: Update support plan to reflect current flow 2026-04-10 10:32:48 +00:00
Narasimha-sc 5711cb5a83 Further usability improvements 2026-04-10 10:32:48 +00:00
Narasimha-sc dcbb499f0c apps: simplex-support-bot: Change Grok logo 2026-04-10 10:32:48 +00:00
Narasimha-sc f25f5cbf0a apps: support-bot /add command & fixes 2026-04-10 10:32:48 +00:00
Narasimha-sc ce9dba8ee1 support-bot: Fix basic functionality 2026-04-10 10:32:48 +00:00
Narasimha-sc 0d290eb7b0 apps: support bot relocate 2026-04-10 10:32:48 +00:00
Narasimha-sc baa567e854 Relocate plans 2026-04-10 10:32:48 +00:00