Commit Graph

6007 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 6c845913ff Merge branch 'nd/bot' of https://github.com/simplex-chat/simplex-chat into nd/bot 2026-04-10 11:01:50 +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 d590df4629 apps: support bot code & tests 2026-04-10 10:32:48 +00:00
Narasimha-sc baa567e854 Relocate plans 2026-04-10 10:32:48 +00:00
Narasimha-sc 204d2ae12e plans: Update 20260207-support-bot-implementation.md 2026-04-10 10:32:48 +00:00
Narasimha-sc 4e460388d3 plans: 20260207-support-bot-implementation.md 2026-04-10 10:32:47 +00:00
Narasimha-sc 36b8d9b4e4 Update 20260207-support-bot.md 2026-04-10 10:32:47 +00:00
Narasimha-sc cb2fdcf8f1 plans: 20260207-support-bot.md 2026-04-10 10:32:47 +00:00
Narasimha-sc e2ecff7215 simplex-chat-nodejs: add member contact API methods (#6763)
* simplex-chat-nodejs: add apiCreateMemberContact and apiSendMemberContactInvitation

* simplex-chat-nodejs: add integration test for apiCreateMemberContact and apiSendMemberContactInvitation

Test creates a 3-user group with direct messages enabled, then verifies:
- apiCreateMemberContact creates a DM contact between group members
- apiSendMemberContactInvitation sends an invitation that the recipient receives

* simplex-chat-nodejs: bump @simplex-chat/types to ^0.4.0
2026-04-10 09:37:37 +01:00
Evgeny Poberezkin e6dde90c40 core: 6.5.0.14 2026-04-10 09:31:26 +01:00
spaced4ndy 24435f5b74 ui: fix edit channel profile texts (#6766) 2026-04-09 18:44:23 +00:00
sh 6583aafbdd core: bump @simplex-chat/types (#6765) 2026-04-09 15:25:57 +01:00
Narasimha-sc e3003fd1f5 simplex-chat-nodejs: fix userChatRelay type error in apiCreateActiveUser (#6764)
The @simplex-chat/types package (auto-generated from Haskell types) added
a required `userChatRelay: boolean` field to the NewUser interface, but
apiCreateActiveUser was never updated to pass it, causing a TypeScript
compilation error.

Set userChatRelay to false, which preserves the pre-existing behavior
(no chat relay provisioned for the new user profile).
2026-04-09 12:37:21 +01:00
spaced4ndy 7194755f8d core: fix channel profile updates breaking link (#6762) 2026-04-09 10:23:46 +00:00
Narasimha-sc 5f1c232ff3 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-08 21:58:30 +00:00
Narasimha-sc e1fc556f9c support-bot: update implementation plan 2026-04-06 11:25:53 +00:00
Narasimha-sc 4d55dd2a88 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-06 11:25:53 +00:00
Narasimha-sc fb61529702 support-bot: review and refine product spec 2026-04-06 11:25:53 +00:00
Narasimha-sc 877cb183de support-bot: update plan 2026-04-06 11:25:53 +00:00
Narasimha-sc e95acb2834 simplex-support-bot: update product design plan 2026-04-06 11:25:53 +00:00
Narasimha-sc b1613b14b7 simplex-support-bot: Update support plan to reflect current flow 2026-04-06 11:25:53 +00:00
Narasimha-sc e17ee7745a Further usability improvements 2026-04-06 11:25:53 +00:00
Narasimha-sc ef688d2d7b apps: simplex-support-bot: Change Grok logo 2026-04-06 11:25:53 +00:00
Narasimha-sc 29d0fef9fc apps: support-bot /add command & fixes 2026-04-06 11:25:53 +00:00
Narasimha-sc 0e53798ced support-bot: Fix basic functionality 2026-04-06 11:25:53 +00:00
Narasimha-sc 5e37641818 apps: support bot relocate 2026-04-06 11:25:53 +00:00
Narasimha-sc 008bb0cfc7 apps: support bot code & tests 2026-04-06 11:25:52 +00:00
Narasimha-sc d5da097af9 Relocate plans 2026-04-06 11:25:52 +00:00
Narasimha-sc bcaa2add9c plans: Update 20260207-support-bot-implementation.md 2026-04-06 11:25:52 +00:00
Narasimha-sc 891658d57e plans: 20260207-support-bot-implementation.md 2026-04-06 11:25:52 +00:00
Narasimha-sc 02123ba1ee Update 20260207-support-bot.md 2026-04-06 11:25:52 +00:00
Narasimha-sc 46581fac63 plans: 20260207-support-bot.md 2026-04-06 11:25:52 +00:00
Evgeny Poberezkin 312e99b61d fix tests 2026-04-05 08:47:04 +01:00
Evgeny Poberezkin 281eb22f27 cli: fix build v6.5.0-beta.7.1 2026-04-04 23:05:40 +01:00
Evgeny Poberezkin 4d267b6ca1 6.5-beta.7: android 339, desktop 134 v6.5.0-beta.7 2026-04-04 21:28:09 +01:00
Evgeny Poberezkin de09eca6ab ios: 6.5-beta.7 (build 324) 2026-04-04 20:32:23 +01:00
Evgeny Poberezkin 825a63d3d2 ios: update core library 2026-04-04 19:38:44 +01:00
Evgeny Poberezkin 515b0f56cc core: 6.5.0.12 (simplexmq 6.5.0.14) 2026-04-04 19:07:34 +01:00