Skip to content

Personal AI, On Personal Devices

Python

fix: make Slack App Token required, fix CLI prompt label

Jon Saad-Falconbfcc90866cad
diff --git a/frontend/src/pages/AgentsPage.tsx b/frontend/src/pages/AgentsPage.tsx
index eb0bf45b..1aed3525 100644
--- a/frontend/src/pages/AgentsPage.tsx
+++ b/frontend/src/pages/AgentsPage.tsx
@@ -1795,7 +1795,7 @@ const MESSAGING_CHANNELS: MessagingChannelConfig[] = [
],
fields: [
{ key: 'bot_token', label: 'Bot Token', placeholder: 'xoxb-...', type: 'password', required: true },
- { key: 'app_token', label: 'App Token (optional \u2014 enables receiving DMs)', placeholder: 'xapp-...', type: 'password' },
+ { key: 'app_token', label: 'App Token (required for receiving DMs)', placeholder: 'xapp-...', type: 'password', required: true },
],
activeLabel: () => 'Connected to Slack',
howToUse: () => 'Open Slack and DM @Jarvis to talk to your agent.',
diff --git a/src/openjarvis/channels/__init__.py b/src/openjarvis/channels/__init__.py
index 4dc37062..80550e44 100644
--- a/src/openjarvis/channels/__init__.py
+++ b/src/openjarvis/channels/__init__.py
@@ -39,6 +39,7 @@ _CHANNEL_MODULES = [
"twitch_channel",
"nostr_channel",
"twilio_sms",
+ "sendblue",
"twitter",
"gmail",
]
diff --git a/src/openjarvis/cli/deep_research_setup_cmd.py b/src/openjarvis/cli/deep_research_setup_cmd.py
index e9ae7165..c1388780 100644
--- a/src/openjarvis/cli/deep_research_setup_cmd.py
+++ b/src/openjarvis/cli/deep_research_setup_cmd.py
@@ -108,7 +108,7 @@ _TOKEN_SOURCES = [
"connector_id": "slack",
"display_name": "Slack",
"creds_file": "slack.json",
- "prompt_label": "Bot token (xoxb-... or xoxe-...)",
+ "prompt_label": "Bot token (xoxb-...)",
},
{
"connector_id": "notion",
diff --git a/src/openjarvis/server/app.py b/src/openjarvis/server/app.py
index 857832c8..e6b0d2b7 100644
--- a/src/openjarvis/server/app.py
+++ b/src/openjarvis/server/app.py
@@ -130,6 +130,9 @@ def create_app(
app.include_router(create_connectors_router())
include_all_routes(app)
+ # Restore SendBlue channel bindings from database on startup
+ _restore_sendblue_bindings(app)
+
# Add security headers middleware
try:
from openjarvis.server.middleware import create_security_middleware