You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* fix(bluebubbles): auto-create chats for new numbers, persist outbound messages to session transcripts
Two fixes for BlueBubbles message tool behavior:
1. **Attachment sends to new phone numbers**: sendBlueBubblesAttachment now
auto-creates a new DM chat (via /api/v1/chat/new) when no existing chat
is found for a handle target, matching the behavior already present in
sendMessageBlueBubbles for text sends. The existing createNewChatWithMessage
is refactored into a reusable createChatForHandle that returns the chatGuid.
2. **Outbound message session persistence**: Ensures outbound messages sent
via the message tool are reliably tracked in session transcripts:
- ensureOutboundSessionEntry now falls back to directly creating a session
store entry when recordSessionMetaFromInbound returns null, guaranteeing
a sessionId exists for the subsequent mirror append.
- appendAssistantMessageToSessionTranscript now normalizes the session key
(lowercased) when looking up the store, preventing case mismatches
between the store keys and the mirror sessionKey.
Tests added for all changes.
* test(slack): verify outbound session tracking and new target sends for Slack
The shared infrastructure changes from the BlueBubbles fix (session key
normalization in transcript.ts and fallback session entry creation in
outbound-session.ts) already cover Slack. Slack's sendMessageSlack uses
conversations.open to auto-create DM channels for new user targets.
Add tests confirming:
- Slack user DM and channel session route resolution (outbound.test.ts)
- Slack session key normalization for transcript append (sessions.test.ts)
- Slack outbound sendText/sendMedia to new user and channel targets (channel.test.ts)
* fix(cron): skip stale delayed deliveries
* fix: prep PR #50092
|
8 months ago | |
|---|---|---|
| .. | ||
| account-resolve.ts | 8 months ago | |
| accounts.test.ts | 9 months ago | |
| accounts.ts | 8 months ago | |
| actions.runtime.ts | 8 months ago | |
| actions.test.ts | 8 months ago | |
| actions.ts | 8 months ago | |
| attachments.test.ts | 8 months ago | |
| attachments.ts | 8 months ago | |
| channel.runtime.ts | 8 months ago | |
| channel.setup.ts | 8 months ago | |
| channel.ts | 8 months ago | |
| chat.test.ts | 8 months ago | |
| chat.ts | 8 months ago | |
| config-apply.ts | 8 months ago | |
| config-schema.test.ts | 9 months ago | |
| config-schema.ts | 8 months ago | |
| group-policy.test.ts | 8 months ago | |
| group-policy.ts | 8 months ago | |
| history.ts | 8 months ago | |
| media-send.test.ts | 8 months ago | |
| media-send.ts | 8 months ago | |
| monitor-debounce.ts | 8 months ago | |
| monitor-normalize.test.ts | 8 months ago | |
| monitor-normalize.ts | 8 months ago | |
| monitor-processing.ts | 8 months ago | |
| monitor-reply-cache.ts | 9 months ago | |
| monitor-self-chat-cache.test.ts | 9 months ago | |
| monitor-self-chat-cache.ts | 9 months ago | |
| monitor-shared.ts | 8 months ago | |
| monitor.test.ts | 8 months ago | |
| monitor.ts | 8 months ago | |
| monitor.webhook-auth.test.ts | 8 months ago | |
| monitor.webhook-route.test.ts | 9 months ago | |
| multipart.ts | 8 months ago | |
| probe.ts | 8 months ago | |
| reactions.test.ts | 8 months ago | |
| reactions.ts | 8 months ago | |
| request-url.ts | 8 months ago | |
| runtime-api.ts | 8 months ago | |
| runtime.ts | 8 months ago | |
| secret-input.ts | 8 months ago | |
| send-helpers.ts | 9 months ago | |
| send.test.ts | 8 months ago | |
| send.ts | 8 months ago | |
| session-route.ts | 8 months ago | |
| setup-core.ts | 8 months ago | |
| setup-surface.test.ts | 8 months ago | |
| setup-surface.ts | 8 months ago | |
| targets.test.ts | 8 months ago | |
| targets.ts | 8 months ago | |
| test-harness.ts | 9 months ago | |
| test-mocks.ts | 9 months ago | |
| types.ts | 8 months ago | |
| webhook-shared.ts | 8 months ago | |