Skip to content

[WIP] Build support for Microsoft Teams integration in CRISP package#107

Closed
Copilot wants to merge 1 commit intodevelopfrom
copilot/add-ms-teams-integration
Closed

[WIP] Build support for Microsoft Teams integration in CRISP package#107
Copilot wants to merge 1 commit intodevelopfrom
copilot/add-ms-teams-integration

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 22, 2026

  • Understand existing codebase (UI server, MCP server, CLI structure, dependencies)
  • Create src/crisp_t/integration/ package with Microsoft Teams bot
    • __init__.py - Package init
    • teams_bot.py - Bot activity handler (parses messages, executes CRISP commands via subprocess, optional Copilot SDK NLP)
    • server.py - aiohttp web server with /api/messages webhook endpoint
    • cli.py - CLI entry point (crisp-teams command)
  • Update pyproject.toml:
    • Add [teams] optional dependency group with botbuilder-core, botbuilder-integration-aiohttp, botbuilder-schema, aiohttp>=3.13.3
    • Add crisp-teams CLI script entry point
  • Add tests in tests/integration/
  • Create docs/integration.md
  • Create notes/integration.md
  • Update README.md with Microsoft Teams integration section
Original prompt

This section details on the original issue you should resolve

<issue_title>Build support for Microsoft Teams integration in CRISP package using the new CHAT-SDK</issue_title>
<issue_description># Build support for Microsoft Teams integration in the CRISP-T package using the new CHAT-SDK

Description

  • You recently added support for a web UI for the CRISP package using the new COPILOT-SDK. Use a subagent to read and deeply internalize what copilot-sdk does from this repository: https://github.com/github/copilot-sdk
  • Next, read your previous work from this pull request: Add web UI for CRISP-T with GitHub Copilot SDK integration #87
  • Then read and understand your web ui inplmementation in the ui directory of the CRISP package.
  • Your task is to build support for Microsoft Teams integration in the CRISP package using the new CHAT-SDK. This will allow users to interact with the CRISP package through Microsoft Teams, enabling them to execute commands and receive responses directly within the Teams interface.
  • Create a new directory in the src/crisp_t folder named integration. You should do your work inside this directory.
  • Use the chat-sdk skill to understand the best practices from: npx skills add vercel/chat (Add this skill to your agent and read the code to understand how to use the chat-sdk for Microsoft Teams integration.)
  • Ensure that vercel/chat skill is added to your workspace with npx skills add vercel/chat and that you understand how to use it for Microsoft Teams bot development.
  • Create a detailed plan to build:
    • A Microsoft Teams bot that can be added to a Teams workspace and can receive messages from users.
    • The bot should be able to parse incoming messages and determine if they are commands intended for the CRISP package.
    • If a message is identified as a command for CRISP, the bot should use the copilot-sdk to execute the command and retrieve the response.
    • The bot should then send the response back to the user in the Teams chat interface.
  • Implement the Microsoft Teams bot using the chat-sdk and any necessary libraries for Microsoft Teams bot development.
  • Ensure that the bot can handle various types of commands and provide appropriate responses based on the capabilities of the CRISP package.
  • Implement proper error handling and user feedback in case of failures (e.g., unable to execute CRISP commands, issues with the copilot-sdk, etc.).
  • Test the Microsoft Teams bot thoroughly to ensure it works as expected and can successfully interact with the CRISP package through the copilot-sdk.
  • Provide brief instructions on how to set up the Microsoft Teams bot and add it to a Teams workspace section in the README.md file.
  • Add comprehensive instructions to docs/integration.md on how to use the Microsoft Teams integration, including examples of interactions with the bot and CRISP commands. Additional notes and future plans should go into notes/integration.md.
  • Do a final pass to ensure code quality, readability, and maintainability and add comments where necessary.</issue_description>

Comments on the Issue (you are @copilot in this section)


⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.

Copilot AI requested a review from dermatologist March 22, 2026 22:25
Copilot stopped work on behalf of dermatologist due to an error March 22, 2026 22:25
@dermatologist dermatologist deleted the copilot/add-ms-teams-integration branch March 22, 2026 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build support for Microsoft Teams integration in CRISP package using the new CHAT-SDK

2 participants