Skip to content

Restore teams-extensions#548

Merged
rido-min merged 7 commits intomainfrom
feat/restore-teams-extension
Sep 8, 2025
Merged

Restore teams-extensions#548
rido-min merged 7 commits intomainfrom
feat/restore-teams-extension

Conversation

@rido-min
Copy link
Copy Markdown
Member

@rido-min rido-min commented Aug 26, 2025

This pull request introduces the initial implementation of the @microsoft/agents-hosting-extensions-teams package, providing Teams-specific extensions for the Microsoft 365 Agents SDK. The changes include the package manifest, documentation, and a comprehensive set of type definitions and schemas for Teams activities, events, and data structures. The most important changes are grouped below.

Package setup and documentation:

  • Added package.json for @microsoft/agents-hosting-extensions-teams with metadata, dependencies, and configuration for publishing the package.
  • Added a detailed README.md explaining installation, usage, and available Teams-specific features for agent developers.

Core Teams activity and data types:

  • Implemented TypeScript interfaces and Zod schemas for Teams entities such as ChannelInfo, TeamInfo, TenantInfo, NotificationInfo, TeamsMeetingInfo, TeamsChannelData, and related settings, supporting validation and type safety for Teams activity payloads. [1] [2] [3] [4] [5] [6] [7]
  • Added comprehensive exports in src/activity-extensions/index.ts to expose all relevant Teams activity types for external usage.

Teams-specific event types:

  • Defined Teams-specific conversation update events and message events to enable handling of scenarios like channel creation, team renaming, message edits, deletions, and undeletions. [1] [2]

Teams channel account and client interfaces:

  • Added the TeamsChannelAccount interface extending the base channel account with Teams-specific properties.
  • Added initial client exports for Teams connector client interfaces.

@rido-min rido-min changed the title restore teams-extensions. Pending Tests verification Restore teams-extensions Sep 8, 2025
@rido-min rido-min marked this pull request as ready for review September 8, 2025 19:15
Copilot AI review requested due to automatic review settings September 8, 2025 19:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request introduces the initial implementation of the @microsoft/agents-hosting-extensions-teams package, providing comprehensive Teams-specific extensions for the Microsoft 365 Agents SDK. The changes establish a foundation for building Microsoft Teams agents with support for messaging, meetings, extensions, and Teams-specific data structures.

Key changes:

  • Complete Teams extension package structure with TypeScript definitions and Zod schemas
  • Comprehensive Teams activity handlers and event management system
  • Message extensions, task modules, and meeting event support

Reviewed Changes

Copilot reviewed 96 out of 97 changed files in this pull request and generated 7 comments.

File Description
tsconfig.build.json Added build configuration for new Teams extensions package
samples/teams/*.ts Created example implementations demonstrating Teams functionality
packages/agents-hosting-extensions-teams/package.json Package manifest with dependencies and metadata
packages/agents-hosting-extensions-teams/src/* Core Teams functionality including extensions, parsers, and type definitions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread samples/teams/teamsInfoExample.ts
Comment thread packages/agents-hosting-extensions-teams/src/client/teamsConnectorClient.ts Outdated
Comment thread packages/agents-hosting-extensions-teams/src/client/teamsConnectorClient.ts Outdated
@rido-min rido-min enabled auto-merge (squash) September 8, 2025 20:40
@rido-min rido-min merged commit 306a259 into main Sep 8, 2025
7 checks passed
@rido-min rido-min deleted the feat/restore-teams-extension branch September 8, 2025 20:42
rido-min added a commit that referenced this pull request Sep 8, 2025
* restore teams-extensions. Pending Tests verification

* fixes @microsoft/agents-hosting-extensions-teams TeamsInfo.getTeamChannels wrongly typed
Fixes #507

* fix: correct typos in tenantId parameter and test descriptions

---------

Co-authored-by: Rido <nouser@gh.com>
rido-min added a commit that referenced this pull request Sep 8, 2025
* Reorder fileDownloaders execution in agentApplication (#543)

* chore: update dependencies in package.json and package-lock.json (#549)

Co-authored-by: Rido <nouser@gh.com>

* fix: update npm install display name to npm ci and adjust branch filter for pull requests (#557)

* fix: update npm install display name to npm ci and adjust branch filter for pull requests

* fix: update branch filter in CI configuration to include release branches

---------

Co-authored-by: Rido <nouser@gh.com>

* Add citation URL to streaming response metadata (#558)

* citation url

* add streamingResponse tests

---------

Co-authored-by: Rido <nouser@gh.com>

* Restore teams-extensions (#548)

* restore teams-extensions. Pending Tests verification

* fixes @microsoft/agents-hosting-extensions-teams TeamsInfo.getTeamChannels wrongly typed
Fixes #507

* fix: correct typos in tenantId parameter and test descriptions

---------

Co-authored-by: Rido <nouser@gh.com>

* fix lock

* rolback deps

---------

Co-authored-by: Cecilia Avila <44245136+ceciliaavila@users.noreply.github.com>
Co-authored-by: Rido <nouser@gh.com>
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.

@microsoft/agents-hosting-extensions-teams TeamsInfo.getTeamChannels wrongly typed

3 participants