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.
gpt-pilot/extensions
Tyler Yust a290f5e50f
fix: persist outbound sends and skip stale cron deliveries (#50092)
* 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
..
acpx fix(plugin-sdk): restore public runtime subpaths 8 months ago
amazon-bedrock fix(plugin-sdk): isolate provider entry surfaces 8 months ago
anthropic refactor: dedupe bundled plugin entrypoints 8 months ago
bluebubbles fix: persist outbound sends and skip stale cron deliveries (#50092) 8 months ago
brave fix: checkpoint gate fixes before rebase 8 months ago
byteplus refactor: dedupe bundled plugin entrypoints 8 months ago
chutes refactor: unify plugin sdk primitives 8 months ago
cloudflare-ai-gateway refactor: dedupe bundled plugin entrypoints 8 months ago
copilot-proxy fix(plugin-sdk): restore public runtime subpaths 8 months ago
device-pair fix(release): isolate config doc surfaces and sdk exports 8 months ago
diagnostics-otel fix(release): isolate config doc surfaces and sdk exports 8 months ago
diffs fix(release): isolate config doc surfaces and sdk exports 8 months ago
discord Discord: enforce strict DM component allowlist auth (#49997) 8 months ago
elevenlabs refactor: dedupe bundled plugin entrypoints 8 months ago
fal Image generation: add fal provider (#49454) 8 months ago
feishu fix(plugin-sdk): restore public runtime subpaths 8 months ago
firecrawl refactor move web search sdk helpers into plugin-sdk 8 months ago
github-copilot Plugin SDK: split provider auth login seam 8 months ago
google fix(plugin-sdk): restore public runtime subpaths 8 months ago
googlechat fix(plugin-sdk): restore public runtime subpaths 8 months ago
huggingface refactor: unify plugin sdk primitives 8 months ago
imessage refactor: tighten plugin sdk channel surfaces 8 months ago
irc fix(plugin-sdk): restore public runtime subpaths 8 months ago
kilocode refactor: converge plugin sdk channel helpers 8 months ago
kimi-coding refactor: unify plugin sdk primitives 8 months ago
line fix(plugin-sdk): restore public runtime subpaths 8 months ago
llm-task fix(release): isolate config doc surfaces and sdk exports 8 months ago
lobster fix(plugin-sdk): restore public runtime subpaths 8 months ago
matrix fix(plugin-sdk): restore public runtime subpaths 8 months ago
mattermost fix(plugin-sdk): restore public runtime subpaths 8 months ago
memory-core refactor: dedupe bundled plugin entrypoints 8 months ago
memory-lancedb fix(release): isolate config doc surfaces and sdk exports 8 months ago
microsoft refactor: dedupe bundled plugin entrypoints 8 months ago
minimax fix(release): isolate config doc surfaces and sdk exports 8 months ago
mistral refactor: unify plugin sdk primitives 8 months ago
modelstudio refactor: unify plugin sdk primitives 8 months ago
moonshot refactor: unify plugin sdk primitives 8 months ago
msteams fix(plugin-sdk): restore public runtime subpaths 8 months ago
nextcloud-talk fix(plugin-sdk): restore public runtime subpaths 8 months ago
nostr fix(plugin-sdk): restore public runtime subpaths 8 months ago
nvidia refactor: dedupe bundled plugin entrypoints 8 months ago
ollama fix: preserve interactive Ollama model selection (#49249) (thanks @BruceMacD) 8 months ago
open-prose fix(plugin-sdk): restore public runtime subpaths 8 months ago
openai fix(auth): lazy-load provider oauth helpers 8 months ago
opencode refactor: unify plugin sdk primitives 8 months ago
opencode-go refactor: unify plugin sdk primitives 8 months ago
openrouter fix(plugin-sdk): isolate provider entry surfaces 8 months ago
openshell Plugin SDK: split setup and sandbox subpaths 8 months ago
perplexity fix: checkpoint gate fixes before rebase 8 months ago
phone-control fix(plugin-sdk): restore public runtime subpaths 8 months ago
qianfan refactor: unify plugin sdk primitives 8 months ago
qwen-portal-auth fix(plugin-sdk): restore public runtime subpaths 8 months ago
sglang refactor: dedupe bundled plugin entrypoints 8 months ago
shared refactor: finalize plugin sdk legacy boundary cleanup 8 months ago
signal fix(plugin-sdk): restore public runtime subpaths 8 months ago
slack fix: persist outbound sends and skip stale cron deliveries (#50092) 8 months ago
synology-chat fix(release): isolate config doc surfaces and sdk exports 8 months ago
synthetic refactor: unify plugin sdk primitives 8 months ago
talk-voice fix(release): isolate config doc surfaces and sdk exports 8 months ago
telegram refactor: tighten plugin sdk channel surfaces 8 months ago
thread-ownership fix(release): isolate config doc surfaces and sdk exports 8 months ago
tlon refactor: tighten plugin sdk channel surfaces 8 months ago
together refactor: unify plugin sdk primitives 8 months ago
twitch refactor: tighten plugin sdk channel surfaces 8 months ago
venice refactor: unify plugin sdk primitives 8 months ago
vercel-ai-gateway refactor: dedupe bundled plugin entrypoints 8 months ago
vllm refactor: dedupe bundled plugin entrypoints 8 months ago
voice-call fix(release): isolate config doc surfaces and sdk exports 8 months ago
volcengine refactor: dedupe bundled plugin entrypoints 8 months ago
whatsapp fix(whatsapp): use globalThis singleton for active-listener Map (#47433) 8 months ago
xai refactor: unify plugin sdk primitives 8 months ago
xiaomi refactor: dedupe bundled plugin entrypoints 8 months ago
zai fix(plugin-sdk): restore public runtime subpaths 8 months ago
zalo fix(plugin-sdk): restore public runtime subpaths 8 months ago
zalouser fix(plugin-sdk): restore public runtime subpaths 8 months ago
.npmignore fix: harden windows npm runtime path 8 months ago