Commit Graph

76 Commits

Author SHA1 Message Date
Cameron
2b8499a220 Fix WhatsApp self-chat bypassing pairing check (#27)
Self-chat messages were incorrectly triggering pairing requests because
the access check didn't skip for self-chat messages.

Added `&& !isSelfChat` to the access check condition so self-chat
messages bypass pairing entirely.

Written by Cameron ◯ Letta Code

"The simplest solution is usually the correct one." - Occam
2026-01-29 16:37:02 -08:00
Cameron
14b1d82e72 Clarify WhatsApp self-chat mode in onboarding (#23)
* Improve Discord onboarding with detailed setup instructions

- Add step-by-step instructions for creating Discord bot
- Include guidance on enabling Message Content Intent
- Show OAuth2 URL Generator steps with required permissions
- Auto-generate invite URL after user enters bot token
  (extracts application ID from token and builds URL with correct permissions)

🐙 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta <noreply@letta.com>

* Clarify WhatsApp and Signal self-chat mode in onboarding

Changed confusing yes/no prompts to clearer selects:

WhatsApp:
- "Dedicated bot number" - Responds to all incoming messages
- "My personal number" - Only responds to "Message Yourself" chat

Signal (new):
- "Dedicated bot number" - Responds to all incoming messages
- "My personal number" - Only responds to "Note to Self" chat

This makes it clear what each option actually does.

Written by Cameron ◯ Letta Code

"The question is not what you look at, but what you see." - Thoreau

---------

Co-authored-by: Letta <noreply@letta.com>
2026-01-29 15:41:04 -08:00
Jason Carreira
d420e5d3b5 Add reactions CLI for Telegram/Slack/Discord (#20)
* Add lettabot-react CLI and message IDs

* Expose message IDs for reactions

---------

Co-authored-by: Jason Carreira <jason@visotrust.com>
2026-01-29 15:40:50 -08:00
Cameron
ccc13f4242 Improve Discord onboarding with detailed setup instructions (#22)
- Add step-by-step instructions for creating Discord bot
- Include guidance on enabling Message Content Intent
- Show OAuth2 URL Generator steps with required permissions
- Auto-generate invite URL after user enters bot token
  (extracts application ID from token and builds URL with correct permissions)

🐙 Generated with [Letta Code](https://letta.com)

Co-authored-by: Letta <noreply@letta.com>
2026-01-29 15:31:24 -08:00
Cameron
46ba1a26cc Fix onboarding to preserve existing channel selections (#21)
- Pre-select channels that are already enabled when re-running onboarding
- Improves Discord setup instructions with step-by-step guide
- Better placeholder text for Discord bot token

Previously, re-running onboarding would wipe existing channel configs.

🐙 Generated with [Letta Code](https://letta.com)

Co-authored-by: Letta <noreply@letta.com>
2026-01-29 15:09:28 -08:00
Cameron
c3a19584ce Add Home Assistant documentation to README (#18)
Documents how to install and enable the homeassistant skill from ClawdHub.
The skill sync workflow already supports this - just needed documentation.

🐙 Generated with [Letta Code](https://letta.com)

Co-authored-by: Letta <noreply@letta.com>
2026-01-29 14:43:29 -08:00
Jason Carreira
0f68b9b52f Add Discord channel support (#16)
* Add Discord channel support and pairing (#15)

* Address Discord adapter review feedback

* Fix stream counter after merge

* Remove stream count logging

---------

Co-authored-by: Jason Carreira <jason@visotrust.com>
2026-01-29 14:11:50 -08:00
Cameron
0804367d4b Merge pull request #17 from letta-ai/fix/remove-debug-logs
Remove debug stream logging
2026-01-29 13:14:12 -08:00
Cameron
fa8b2f0311 Remove debug stream logging from bot.ts
These console.logs were useful during development but are noisy in production.

🐙 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta <noreply@letta.com>
2026-01-29 13:13:41 -08:00
Charles Packer
487a735530 Merge pull request #12 from letta-ai/caren/add-slack-setup-wizard
feat: add interactive Slack setup wizard
2026-01-29 12:02:30 -08:00
Charles Packer
5e3c0840a2 Merge pull request #11 from letta-ai/fix/format-hints
Re-add format hints to message envelope
2026-01-29 12:02:20 -08:00
Charles Packer
3c730c9f43 Merge pull request #10 from letta-ai/fix/npx-instructions
Fix CLI instructions to use npx prefix
2026-01-29 12:02:12 -08:00
Caren Thomas
1747347036 feat: add interactive Slack setup wizard
- Step-by-step guided setup through all 7 Slack configuration steps
- Opens browser automatically to api.slack.com/apps
- Clear instructions for each screen (app creation, Socket Mode, scopes, events, App Home, install)
- Token validation with Slack API auth.test endpoint
- Shows bot username and workspace after validation
- Input validation for xapp- and xoxb- token formats
- Option to use wizard or fall back to manual token entry
- Wizard is opt-in during onboarding (defaults yes for new setups)

Improves UX over static docs link - users now get guided through the full process with validation at each step.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta <noreply@letta.com>
2026-01-29 11:47:08 -08:00
Cameron
732e4826a5 Re-add format hints to message envelope
Shows agent what formatting syntax each channel supports:
- Slack: *bold* _italic_ `code`
- Telegram: *bold* _italic_ `code` [links](url)
- WhatsApp: *bold* _italic_ `code`
- Signal: ONLY *bold* _italic_ `code`

This helps the agent use appropriate formatting for each channel.

🐙 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta <noreply@letta.com>
2026-01-29 11:22:17 -08:00
Cameron
9d135f160c Fix CLI instructions to use npx prefix
Changed "lettabot server" to "npx lettabot server" in:
- Onboarding completion message
- Logout completion message

🐙 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta <noreply@letta.com>
2026-01-29 10:55:04 -08:00
Sarah Wooders
9a4f104d4e Merge pull request #8 from letta-ai/sarahwooders-patch-3
Update README.md
2026-01-29 10:48:55 -08:00
Sarah Wooders
cb057cc806 Merge pull request #9 from letta-ai/feat/yaml-config-and-skills
cleanup `lettabot skills`
2026-01-29 10:48:37 -08:00
Sarah Wooders
4df4bc7311 Fix: Discover skills in order clawdhub → vercel → builtin (first source wins) 2026-01-29 10:48:03 -08:00
Sarah Wooders
a90ee728b9 Fix: ClawdHub skills dir is ~/clawd/skills 2026-01-29 10:48:03 -08:00
Sarah Wooders
4730b220c7 Reorder skills: ClawdHub, Vercel, Built-in 2026-01-29 10:48:03 -08:00
Sarah Wooders
6c64520694 Fix: ClawdHub skills dir is ~/.letta/skills 2026-01-29 10:48:03 -08:00
Sarah Wooders
cc7d5bedfe Segment skills dropdown by source (builtin, ClawdHub, Vercel) 2026-01-29 10:48:03 -08:00
Sarah Wooders
51c59e4265 Remove format hints from message envelope 2026-01-29 10:48:03 -08:00
Sarah Wooders
8ceb572ae2 Update README.md 2026-01-29 10:29:40 -08:00
Sarah Wooders
9b590d4eb7 Fix: Discover skills in order clawdhub → vercel → builtin (first source wins) 2026-01-29 10:19:36 -08:00
Sarah Wooders
9caade05e3 Fix: ClawdHub skills dir is ~/clawd/skills 2026-01-29 10:09:36 -08:00
Sarah Wooders
3d0025d080 Reorder skills: ClawdHub, Vercel, Built-in 2026-01-29 10:06:29 -08:00
Sarah Wooders
a6b9470218 Fix: ClawdHub skills dir is ~/.letta/skills 2026-01-29 10:05:17 -08:00
Sarah Wooders
f8d4aec60a Update README.md 2026-01-29 09:55:41 -08:00
Sarah Wooders
dc1a6d2a72 Update README.md 2026-01-29 09:54:24 -08:00
Sarah Wooders
4e9a3b2bc1 Segment skills dropdown by source (builtin, ClawdHub, Vercel) 2026-01-29 09:52:51 -08:00
Sarah Wooders
50a3d3ce5e Update README.md 2026-01-29 09:46:38 -08:00
Sarah Wooders
83cf35a88e Merge pull request #7 from letta-ai/sarahwooders-patch-2
Update README.md
2026-01-28 23:59:57 -08:00
Sarah Wooders
2db97d84ac Update README.md 2026-01-28 23:59:49 -08:00
Sarah Wooders
e77d549d51 Update README.md 2026-01-28 23:56:37 -08:00
Sarah Wooders
694c3cf0c2 Update README.md 2026-01-28 23:54:29 -08:00
Sarah Wooders
cf63d1d62b Merge pull request #6 from letta-ai/sarahwooders-patch-1
Update README.md
2026-01-28 23:50:55 -08:00
Sarah Wooders
bb2bc99030 Merge pull request #5 from letta-ai/feat/selfhosted-onboard-option
Add self-hosted server option to onboard wizard along  and refactor to use config YAML
2026-01-28 23:50:21 -08:00
Sarah Wooders
3260120d03 Remove format hints from message envelope 2026-01-28 23:50:19 -08:00
Sarah Wooders
49d75ead9a Cache API key and other config values in onboard wizard 2026-01-28 23:41:46 -08:00
Sarah Wooders
7c573b479e Pre-populate onboard wizard from existing lettabot.yaml 2026-01-28 23:37:24 -08:00
Sarah Wooders
2bcfda46c5 Add debug logging for session init, increase timeout to 30s 2026-01-28 23:30:43 -08:00
Sarah Wooders
074bc49a9c Fix: Check for lettabot.yaml instead of .env on startup 2026-01-28 23:20:38 -08:00
Sarah Wooders
7a0be1cb33 Remove all .env usage, use lettabot.yaml only 2026-01-28 23:16:29 -08:00
Sarah Wooders
b97b287462 YAML config takes priority over .env 2026-01-28 23:10:47 -08:00
Sarah Wooders
5e41fac3e0 Stop writing to .env, use lettabot.yaml only 2026-01-28 23:07:15 -08:00
Sarah Wooders
31feea3c80 Update onboard to save lettabot.yaml, change Custom model to Other 2026-01-28 23:03:52 -08:00
Sarah Wooders
75f53b24b6 Add example config file, gitignore secrets 2026-01-28 22:53:11 -08:00
Sarah Wooders
612c7f70fe Use YAML config on startup, sync BYOK providers 2026-01-28 22:52:14 -08:00
Sarah Wooders
b72150c193 Add YAML config system (types and io) 2026-01-28 22:50:49 -08:00