mirror of
https://github.com/qwibitai/nanoclaw.git
synced 2026-07-09 18:57:08 +08:00
66b0dbd5c7
Same move as Slack/Discord: after the app install, open the bot<->owner 1:1 proactively with the bot credentials. The owner is the Teams-CLI account that created the bot (teams status --json -> username + AAD object id); the conversation-members fetch converts that to the 29: id inbound senders carry and doubles as an identity cross-check; the platform id is composed exactly as the adapter encodes thread ids. An operator note names who gets wired. runChannelSkill gains wireIfResolved: a fresh create wires + welcomes like any channel, a drop-through re-run resolves nothing and keeps the deferred ending. Logout is now the operator's choice (yes/no prompt) instead of automatic, and runs after the identity resolve. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>