Commit Graph

4200 Commits

Author SHA1 Message Date
Onur
212455c9ef MS Teams: fix top-level replies (agent reference) 2026-01-09 11:06:39 +01:00
Onur
605b89a119 Tests: stabilize file watchers 2026-01-09 11:06:39 +01:00
Onur
db9b0f92e7 MS Teams: refactor provider + replyStyle + reliability 2026-01-09 11:06:38 +01:00
Onur
4211846624 feat(msteams): add replyStyle config for thread vs top-level replies
- Add replyStyle config at global, team, and channel levels
- "thread" replies to the original message (for Posts layout channels)
- "top-level" posts as a new message (for Threads layout channels)
- Default based on requireMention: false → top-level, true → thread
- DMs always use thread style (direct reply)
2026-01-09 11:06:28 +01:00
Onur
dec75cfeb9 feat(msteams): add outbound sends and fix reply delivery
- Add sendMessageMSTeams for proactive messaging via CLI/gateway
- Wire msteams into outbound delivery, heartbeat targets, and gateway send
- Fix reply delivery to use SDK's getConversationReference() for proper
  bot info, avoiding "Activity Recipient undefined" errors
- Use proactive messaging for replies to post as top-level messages
  (not threaded) by omitting activityId from conversation reference
- Add lazy logger in send.ts to avoid test initialization issues
2026-01-09 11:06:14 +01:00
Onur
c790cfa32a feat(msteams): add per-channel requireMention config
- Add teams/channels config structure to MSTeamsConfig
- Implement requireMention check in monitor.ts
  - Resolution order: channel > team > global > default (true)
- Update zod schema for validation
- Document RSC permissions for receiving all messages without @mention
- Document Graph API Proxy pattern for historical message access
- Document private channel limitations
- Document team/channel ID format (use URL path, not groupId)
2026-01-09 11:05:46 +01:00
Onur
b023339290 add notes [skip ci] 2026-01-09 11:05:34 +01:00
Onur
acd12be518 feat(msteams): add config reload, DM policy, proper shutdown
- Add msteams to config-reload.ts (ProviderKind, ReloadAction, rules)
- Add msteams to PairingProvider for pairing code support
- Create conversation-store.ts for storing ConversationReference
- Implement DM policy check (disabled/pairing/open/allowlist)
- Fix WasMentioned to check actual bot mentions via entities
- Fix server shutdown by using custom Express server with httpServer.close()
- Pass authConfig to CloudAdapter for outbound call authentication
- Improve error logging with JSON serialization
2026-01-09 11:05:34 +01:00
Onur
d2496b6a32 feat(msteams): wire agent integration for Teams messages
- Integrate dispatchReplyFromConfig() for full agent routing
- Add msteams to TextChunkProvider and OriginatingChannelType
- Add msteams case to route-reply (proactive not yet supported)
- Strip @mention HTML tags from Teams messages
- Fix session key to exclude messageid suffix
- Add typing indicator support
- Add proper logging for debugging
2026-01-09 11:05:34 +01:00
Onur
ac1e3eb62f wip [skip ci] 2026-01-09 11:05:34 +01:00
Onur
c907a16e94 feat(msteams): add MS Teams provider skeleton
- Add Microsoft 365 Agents SDK packages (@microsoft/agents-hosting,
  @microsoft/agents-hosting-express, @microsoft/agents-hosting-extensions-teams)
- Add MSTeamsConfig type and zod schema
- Create src/msteams/ provider with monitor, token, send, probe
- Wire provider into gateway (server-providers.ts, server.ts)
- Add msteams to all provider type unions (hooks, queue, cron, etc.)
- Update implementation guide with new SDK and progress
2026-01-09 11:05:34 +01:00
Onur
4195a12c59 docs: add detailed Azure Bot creation fields [skip ci]
- Direct link to Azure Bot creation page
- Field-by-field table for Project details
- Pricing tier options
- Microsoft App ID settings (Single Tenant, Create new)
- Note about SDK version requirement
2026-01-09 11:03:32 +01:00
Onur
61ac1323b6 docs: add useful links to Azure setup section [skip ci] 2026-01-09 11:03:32 +01:00
Onur
1f7733db14 docs: add Azure Bot setup instructions
Added section 2.5 with step-by-step Azure setup:
- Create Azure Bot (single-tenant)
- Get credentials (appId, appPassword, tenantId)
- Configure messaging endpoint
- Enable Teams channel
- Local dev tunnel options (ngrok, Tailscale)
- Teams App manifest template
- Config example
2026-01-09 11:03:32 +01:00
Onur
7a744bcc80 docs: rename to msteams-implementation-guide.md 2026-01-09 11:03:32 +01:00
Onur
2319ac8339 docs: rewrite MS Teams research as implementation guide
Codex (gpt-5.2 xhigh) rewrote the doc:

- Added MVP scope definition
- Verified repo conventions against actual codebase
- Added 2025/2026 Microsoft guidance (CloudAdapter, single-tenant default)
- Concrete code examples (monitor, send, webhook, adapter)
- Detailed integration checklist (all files to modify)
- 9 MS Teams gotchas to plan for
- 12 actionable implementation steps
- Current references (2026-01)
2026-01-09 11:03:32 +01:00
Onur
cadbf62acc docs: add MS Teams provider research document
Initial research and implementation guide for adding msteams as a new
messaging provider. Includes:

- Provider structure patterns from existing implementations
- Gateway integration requirements
- Config types and validation schemas
- Onboarding flow patterns
- MS Teams Bot Framework SDK considerations
- Files to create/modify checklist

This is exploratory work - implementation plan to follow.
2026-01-09 11:03:32 +01:00
Peter Steinberger
d456a62807 fix(config): allow gateway.remote ssh fields 2026-01-09 10:50:19 +01:00
Peter Steinberger
f34aaf46fe feat: add gateway dev config options 2026-01-09 10:39:00 +01:00
Peter Steinberger
8c8df4699a style: sort configure imports 2026-01-09 10:03:52 +01:00
Peter Steinberger
d4fcbc26b2 chore: bump versions to 2026.1.9 2026-01-09 10:02:15 +01:00
Peter Steinberger
5d0f2e07cd feat: improve auth setup flows 2026-01-09 09:59:58 +01:00
Peter Steinberger
7d76fafc9a fix: repair typing for thinking promotion 2026-01-09 08:37:38 +00:00
Peter Steinberger
3893707e9c fix: normalize <think> reasoning blocks 2026-01-09 08:30:05 +00:00
Peter Steinberger
e707e47699 feat(cli): improve gateway status output 2026-01-09 09:27:42 +01:00
Peter Steinberger
3f71f7ef22 chore(lint): biome import order 2026-01-09 09:27:42 +01:00
Peter Steinberger
09f809e097 docs: add message examples to cli index 2026-01-09 09:14:31 +01:00
Peter Steinberger
481d94c1a2 docs: summarize message subcommands 2026-01-09 09:08:55 +01:00
Peter Steinberger
7caf70175d feat: apply lobster palette to prompts 2026-01-09 09:05:24 +01:00
Peter Steinberger
8dddb5070a feat: switch message cli to subcommands 2026-01-09 09:00:41 +01:00
Peter Steinberger
d5dbdc6ba2 fix(cli): clear lint warnings 2026-01-09 08:51:22 +01:00
Peter Steinberger
4ee7e16de1 docs(changelog): mention gateway discover 2026-01-09 08:46:50 +01:00
Peter Steinberger
6e17ce5bb9 style: format control ui assets log 2026-01-09 08:32:15 +01:00
Peter Steinberger
aa19fa704d feat: unify message cli and tools 2026-01-09 08:30:24 +01:00
Peter Steinberger
2aa9da3dc6 feat: update token auth flow 2026-01-09 08:13:05 +01:00
Peter Steinberger
26a9efa89c fix: import outbound delivery types 2026-01-09 08:13:04 +01:00
Peter Steinberger
2d8545b4f8 fix: map CLI deps for outbound sends 2026-01-09 08:13:04 +01:00
Peter Steinberger
a87682c619 style: fix lint formatting 2026-01-09 08:13:04 +01:00
Peter Steinberger
b476f3c513 feat: support token auth profiles 2026-01-09 08:13:04 +01:00
Peter Steinberger
3bde559374 feat: add models auth commands 2026-01-09 08:13:04 +01:00
Peter Steinberger
7fd7de3639 chore: add lobster CLI banner art 2026-01-09 08:13:04 +01:00
Peter Steinberger
5c3f219975 docs: add gateway CLI doc 2026-01-09 08:13:04 +01:00
Peter Steinberger
e414ca7087 feat(gateway): discover on local + wide-area DNS-SD 2026-01-09 08:13:04 +01:00
Peter Steinberger
88ecdf0b87 chore: add configure section hints 2026-01-09 08:13:04 +01:00
Peter Steinberger
bc766d8f0f chore: clarify multi-agent reporting 2026-01-09 08:13:04 +01:00
Peter Steinberger
cd3fce2543 chore: log gateway reload and signals 2026-01-09 08:13:04 +01:00
Peter Steinberger
c860458dec docs: add special thanks for OAuth fix
Co-authored-by: Andrew Ting <andrewtingnyc@gmail.com>
2026-01-09 08:13:04 +01:00
Peter Steinberger
7ba23cf0a6 fix: improve web media fetch errors 2026-01-09 07:09:15 +00:00
Peter Steinberger
64d6b2cefb fix: drop explicit ui:install step 2026-01-09 07:02:42 +00:00
Shadow
d7f8598277 fix: remove incorrect discord limited warning 2026-01-08 23:59:40 -06:00